Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xf86-video-openchrome 0.6.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='xf86-video-openchrome'
    573 PACKAGE_TARNAME='xf86-video-openchrome'
    574 PACKAGE_VERSION='0.6.0'
    575 PACKAGE_STRING='xf86-video-openchrome 0.6.0'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 MAN_SUBSTS
    621 XORG_MAN_PAGE
    622 ADMIN_MAN_DIR
    623 DRIVER_MAN_DIR
    624 MISC_MAN_DIR
    625 FILE_MAN_DIR
    626 LIB_MAN_DIR
    627 APP_MAN_DIR
    628 ADMIN_MAN_SUFFIX
    629 MISC_MAN_SUFFIX
    630 FILE_MAN_SUFFIX
    631 LIB_MAN_SUFFIX
    632 APP_MAN_SUFFIX
    633 DRIVER_MAN_SUFFIX
    634 DRIVER_NAME
    635 moduledir
    636 TOOLS_FALSE
    637 TOOLS_TRUE
    638 XV_DEBUG_FALSE
    639 XV_DEBUG_TRUE
    640 DEBUG_FALSE
    641 DEBUG_TRUE
    642 XVMC_FALSE
    643 XVMC_TRUE
    644 XVMC_LIBS
    645 XVMC_CFLAGS
    646 LIBUDEV_LIBS
    647 LIBUDEV_CFLAGS
    648 DRI_FALSE
    649 DRI_TRUE
    650 DRI_LIBS
    651 DRI_CFLAGS
    652 PCIACCESS_LIBS
    653 PCIACCESS_CFLAGS
    654 HAVE_XEXTPROTO_71_FALSE
    655 HAVE_XEXTPROTO_71_TRUE
    656 XEXT_LIBS
    657 XEXT_CFLAGS
    658 XORG_LIBS
    659 XORG_CFLAGS
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CPP
    664 OTOOL64
    665 OTOOL
    666 LIPO
    667 NMEDIT
    668 DSYMUTIL
    669 MANIFEST_TOOL
    670 RANLIB
    671 ac_ct_AR
    672 AR
    673 DLLTOOL
    674 OBJDUMP
    675 LN_S
    676 NM
    677 ac_ct_DUMPBIN
    678 DUMPBIN
    679 LD
    680 FGREP
    681 EGREP
    682 GREP
    683 SED
    684 am__fastdepCC_FALSE
    685 am__fastdepCC_TRUE
    686 CCDEPMODE
    687 am__nodep
    688 AMDEPBACKSLASH
    689 AMDEP_FALSE
    690 AMDEP_TRUE
    691 am__quote
    692 am__include
    693 DEPDIR
    694 OBJEXT
    695 EXEEXT
    696 ac_ct_CC
    697 CPPFLAGS
    698 LDFLAGS
    699 CFLAGS
    700 CC
    701 host_os
    702 host_vendor
    703 host_cpu
    704 host
    705 build_os
    706 build_vendor
    707 build_cpu
    708 build
    709 LIBTOOL
    710 MAINT
    711 MAINTAINER_MODE_FALSE
    712 MAINTAINER_MODE_TRUE
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 localstatedir
    756 sharedstatedir
    757 sysconfdir
    758 datadir
    759 datarootdir
    760 libexecdir
    761 sbindir
    762 bindir
    763 program_transform_name
    764 prefix
    765 exec_prefix
    766 PACKAGE_URL
    767 PACKAGE_BUGREPORT
    768 PACKAGE_STRING
    769 PACKAGE_VERSION
    770 PACKAGE_TARNAME
    771 PACKAGE_NAME
    772 PATH_SEPARATOR
    773 SHELL'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_maintainer_mode
    778 enable_static
    779 enable_shared
    780 with_pic
    781 enable_fast_install
    782 enable_dependency_tracking
    783 with_gnu_ld
    784 with_sysroot
    785 enable_libtool_lock
    786 enable_largefile
    787 with_xorg_module_dir
    788 enable_debug
    789 enable_xv_debug
    790 enable_viaregtool
    791 with_release_version
    792 '
    793       ac_precious_vars='build_alias
    794 host_alias
    795 target_alias
    796 CC
    797 CFLAGS
    798 LDFLAGS
    799 LIBS
    800 CPPFLAGS
    801 CPP
    802 PKG_CONFIG
    803 PKG_CONFIG_PATH
    804 PKG_CONFIG_LIBDIR
    805 XORG_CFLAGS
    806 XORG_LIBS
    807 XEXT_CFLAGS
    808 XEXT_LIBS
    809 PCIACCESS_CFLAGS
    810 PCIACCESS_LIBS
    811 DRI_CFLAGS
    812 DRI_LIBS
    813 LIBUDEV_CFLAGS
    814 LIBUDEV_LIBS
    815 XVMC_CFLAGS
    816 XVMC_LIBS'
    817 
    818 
    819 # Initialize some variables set by options.
    820 ac_init_help=
    821 ac_init_version=false
    822 ac_unrecognized_opts=
    823 ac_unrecognized_sep=
    824 # The variables have the same names as the options, with
    825 # dashes changed to underlines.
    826 cache_file=/dev/null
    827 exec_prefix=NONE
    828 no_create=
    829 no_recursion=
    830 prefix=NONE
    831 program_prefix=NONE
    832 program_suffix=NONE
    833 program_transform_name=s,x,x,
    834 silent=
    835 site=
    836 srcdir=
    837 verbose=
    838 x_includes=NONE
    839 x_libraries=NONE
    840 
    841 # Installation directory options.
    842 # These are left unexpanded so users can "make install exec_prefix=/foo"
    843 # and all the variables that are supposed to be based on exec_prefix
    844 # by default will actually change.
    845 # Use braces instead of parens because sh, perl, etc. also accept them.
    846 # (The list follows the same order as the GNU Coding Standards.)
    847 bindir='${exec_prefix}/bin'
    848 sbindir='${exec_prefix}/sbin'
    849 libexecdir='${exec_prefix}/libexec'
    850 datarootdir='${prefix}/share'
    851 datadir='${datarootdir}'
    852 sysconfdir='${prefix}/etc'
    853 sharedstatedir='${prefix}/com'
    854 localstatedir='${prefix}/var'
    855 includedir='${prefix}/include'
    856 oldincludedir='/usr/include'
    857 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    858 infodir='${datarootdir}/info'
    859 htmldir='${docdir}'
    860 dvidir='${docdir}'
    861 pdfdir='${docdir}'
    862 psdir='${docdir}'
    863 libdir='${exec_prefix}/lib'
    864 localedir='${datarootdir}/locale'
    865 mandir='${datarootdir}/man'
    866 
    867 ac_prev=
    868 ac_dashdash=
    869 for ac_option
    870 do
    871   # If the previous option needs an argument, assign it.
    872   if test -n "$ac_prev"; then
    873     eval $ac_prev=\$ac_option
    874     ac_prev=
    875     continue
    876   fi
    877 
    878   case $ac_option in
    879   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    880   *=)   ac_optarg= ;;
    881   *)    ac_optarg=yes ;;
    882   esac
    883 
    884   # Accept the important Cygnus configure options, so we can diagnose typos.
    885 
    886   case $ac_dashdash$ac_option in
    887   --)
    888     ac_dashdash=yes ;;
    889 
    890   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    891     ac_prev=bindir ;;
    892   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    893     bindir=$ac_optarg ;;
    894 
    895   -build | --build | --buil | --bui | --bu)
    896     ac_prev=build_alias ;;
    897   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    898     build_alias=$ac_optarg ;;
    899 
    900   -cache-file | --cache-file | --cache-fil | --cache-fi \
    901   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    902     ac_prev=cache_file ;;
    903   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    904   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    905     cache_file=$ac_optarg ;;
    906 
    907   --config-cache | -C)
    908     cache_file=config.cache ;;
    909 
    910   -datadir | --datadir | --datadi | --datad)
    911     ac_prev=datadir ;;
    912   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    913     datadir=$ac_optarg ;;
    914 
    915   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    916   | --dataroo | --dataro | --datar)
    917     ac_prev=datarootdir ;;
    918   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    919   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    920     datarootdir=$ac_optarg ;;
    921 
    922   -disable-* | --disable-*)
    923     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    924     # Reject names that are not valid shell variable names.
    925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    926       as_fn_error $? "invalid feature name: $ac_useropt"
    927     ac_useropt_orig=$ac_useropt
    928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    929     case $ac_user_opts in
    930       *"
    931 "enable_$ac_useropt"
    932 "*) ;;
    933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    934 	 ac_unrecognized_sep=', ';;
    935     esac
    936     eval enable_$ac_useropt=no ;;
    937 
    938   -docdir | --docdir | --docdi | --doc | --do)
    939     ac_prev=docdir ;;
    940   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    941     docdir=$ac_optarg ;;
    942 
    943   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    944     ac_prev=dvidir ;;
    945   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    946     dvidir=$ac_optarg ;;
    947 
    948   -enable-* | --enable-*)
    949     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    950     # Reject names that are not valid shell variable names.
    951     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    952       as_fn_error $? "invalid feature name: $ac_useropt"
    953     ac_useropt_orig=$ac_useropt
    954     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    955     case $ac_user_opts in
    956       *"
    957 "enable_$ac_useropt"
    958 "*) ;;
    959       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    960 	 ac_unrecognized_sep=', ';;
    961     esac
    962     eval enable_$ac_useropt=\$ac_optarg ;;
    963 
    964   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    965   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    966   | --exec | --exe | --ex)
    967     ac_prev=exec_prefix ;;
    968   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    969   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    970   | --exec=* | --exe=* | --ex=*)
    971     exec_prefix=$ac_optarg ;;
    972 
    973   -gas | --gas | --ga | --g)
    974     # Obsolete; use --with-gas.
    975     with_gas=yes ;;
    976 
    977   -help | --help | --hel | --he | -h)
    978     ac_init_help=long ;;
    979   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    980     ac_init_help=recursive ;;
    981   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    982     ac_init_help=short ;;
    983 
    984   -host | --host | --hos | --ho)
    985     ac_prev=host_alias ;;
    986   -host=* | --host=* | --hos=* | --ho=*)
    987     host_alias=$ac_optarg ;;
    988 
    989   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    990     ac_prev=htmldir ;;
    991   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    992   | --ht=*)
    993     htmldir=$ac_optarg ;;
    994 
    995   -includedir | --includedir | --includedi | --included | --include \
    996   | --includ | --inclu | --incl | --inc)
    997     ac_prev=includedir ;;
    998   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    999   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1000     includedir=$ac_optarg ;;
   1001 
   1002   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1003     ac_prev=infodir ;;
   1004   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1005     infodir=$ac_optarg ;;
   1006 
   1007   -libdir | --libdir | --libdi | --libd)
   1008     ac_prev=libdir ;;
   1009   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1010     libdir=$ac_optarg ;;
   1011 
   1012   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1013   | --libexe | --libex | --libe)
   1014     ac_prev=libexecdir ;;
   1015   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1016   | --libexe=* | --libex=* | --libe=*)
   1017     libexecdir=$ac_optarg ;;
   1018 
   1019   -localedir | --localedir | --localedi | --localed | --locale)
   1020     ac_prev=localedir ;;
   1021   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1022     localedir=$ac_optarg ;;
   1023 
   1024   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1025   | --localstate | --localstat | --localsta | --localst | --locals)
   1026     ac_prev=localstatedir ;;
   1027   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1028   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1029     localstatedir=$ac_optarg ;;
   1030 
   1031   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1032     ac_prev=mandir ;;
   1033   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1034     mandir=$ac_optarg ;;
   1035 
   1036   -nfp | --nfp | --nf)
   1037     # Obsolete; use --without-fp.
   1038     with_fp=no ;;
   1039 
   1040   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1041   | --no-cr | --no-c | -n)
   1042     no_create=yes ;;
   1043 
   1044   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1045   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1046     no_recursion=yes ;;
   1047 
   1048   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1049   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1050   | --oldin | --oldi | --old | --ol | --o)
   1051     ac_prev=oldincludedir ;;
   1052   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1053   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1054   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1055     oldincludedir=$ac_optarg ;;
   1056 
   1057   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1058     ac_prev=prefix ;;
   1059   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1060     prefix=$ac_optarg ;;
   1061 
   1062   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1063   | --program-pre | --program-pr | --program-p)
   1064     ac_prev=program_prefix ;;
   1065   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1066   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1067     program_prefix=$ac_optarg ;;
   1068 
   1069   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1070   | --program-suf | --program-su | --program-s)
   1071     ac_prev=program_suffix ;;
   1072   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1073   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1074     program_suffix=$ac_optarg ;;
   1075 
   1076   -program-transform-name | --program-transform-name \
   1077   | --program-transform-nam | --program-transform-na \
   1078   | --program-transform-n | --program-transform- \
   1079   | --program-transform | --program-transfor \
   1080   | --program-transfo | --program-transf \
   1081   | --program-trans | --program-tran \
   1082   | --progr-tra | --program-tr | --program-t)
   1083     ac_prev=program_transform_name ;;
   1084   -program-transform-name=* | --program-transform-name=* \
   1085   | --program-transform-nam=* | --program-transform-na=* \
   1086   | --program-transform-n=* | --program-transform-=* \
   1087   | --program-transform=* | --program-transfor=* \
   1088   | --program-transfo=* | --program-transf=* \
   1089   | --program-trans=* | --program-tran=* \
   1090   | --progr-tra=* | --program-tr=* | --program-t=*)
   1091     program_transform_name=$ac_optarg ;;
   1092 
   1093   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1094     ac_prev=pdfdir ;;
   1095   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1096     pdfdir=$ac_optarg ;;
   1097 
   1098   -psdir | --psdir | --psdi | --psd | --ps)
   1099     ac_prev=psdir ;;
   1100   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1101     psdir=$ac_optarg ;;
   1102 
   1103   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1104   | -silent | --silent | --silen | --sile | --sil)
   1105     silent=yes ;;
   1106 
   1107   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1108     ac_prev=sbindir ;;
   1109   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1110   | --sbi=* | --sb=*)
   1111     sbindir=$ac_optarg ;;
   1112 
   1113   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1114   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1115   | --sharedst | --shareds | --shared | --share | --shar \
   1116   | --sha | --sh)
   1117     ac_prev=sharedstatedir ;;
   1118   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1119   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1120   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1121   | --sha=* | --sh=*)
   1122     sharedstatedir=$ac_optarg ;;
   1123 
   1124   -site | --site | --sit)
   1125     ac_prev=site ;;
   1126   -site=* | --site=* | --sit=*)
   1127     site=$ac_optarg ;;
   1128 
   1129   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1130     ac_prev=srcdir ;;
   1131   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1132     srcdir=$ac_optarg ;;
   1133 
   1134   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1135   | --syscon | --sysco | --sysc | --sys | --sy)
   1136     ac_prev=sysconfdir ;;
   1137   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1138   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1139     sysconfdir=$ac_optarg ;;
   1140 
   1141   -target | --target | --targe | --targ | --tar | --ta | --t)
   1142     ac_prev=target_alias ;;
   1143   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1144     target_alias=$ac_optarg ;;
   1145 
   1146   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1147     verbose=yes ;;
   1148 
   1149   -version | --version | --versio | --versi | --vers | -V)
   1150     ac_init_version=: ;;
   1151 
   1152   -with-* | --with-*)
   1153     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1154     # Reject names that are not valid shell variable names.
   1155     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1156       as_fn_error $? "invalid package name: $ac_useropt"
   1157     ac_useropt_orig=$ac_useropt
   1158     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1159     case $ac_user_opts in
   1160       *"
   1161 "with_$ac_useropt"
   1162 "*) ;;
   1163       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1164 	 ac_unrecognized_sep=', ';;
   1165     esac
   1166     eval with_$ac_useropt=\$ac_optarg ;;
   1167 
   1168   -without-* | --without-*)
   1169     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1170     # Reject names that are not valid shell variable names.
   1171     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1172       as_fn_error $? "invalid package name: $ac_useropt"
   1173     ac_useropt_orig=$ac_useropt
   1174     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1175     case $ac_user_opts in
   1176       *"
   1177 "with_$ac_useropt"
   1178 "*) ;;
   1179       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1180 	 ac_unrecognized_sep=', ';;
   1181     esac
   1182     eval with_$ac_useropt=no ;;
   1183 
   1184   --x)
   1185     # Obsolete; use --with-x.
   1186     with_x=yes ;;
   1187 
   1188   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1189   | --x-incl | --x-inc | --x-in | --x-i)
   1190     ac_prev=x_includes ;;
   1191   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1192   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1193     x_includes=$ac_optarg ;;
   1194 
   1195   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1196   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1197     ac_prev=x_libraries ;;
   1198   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1199   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1200     x_libraries=$ac_optarg ;;
   1201 
   1202   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1203 Try \`$0 --help' for more information"
   1204     ;;
   1205 
   1206   *=*)
   1207     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1208     # Reject names that are not valid shell variable names.
   1209     case $ac_envvar in #(
   1210       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1211       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1212     esac
   1213     eval $ac_envvar=\$ac_optarg
   1214     export $ac_envvar ;;
   1215 
   1216   *)
   1217     # FIXME: should be removed in autoconf 3.0.
   1218     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1219     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1220       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1221     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1222     ;;
   1223 
   1224   esac
   1225 done
   1226 
   1227 if test -n "$ac_prev"; then
   1228   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1229   as_fn_error $? "missing argument to $ac_option"
   1230 fi
   1231 
   1232 if test -n "$ac_unrecognized_opts"; then
   1233   case $enable_option_checking in
   1234     no) ;;
   1235     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1236     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1237   esac
   1238 fi
   1239 
   1240 # Check all directory arguments for consistency.
   1241 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1242 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1243 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1244 		libdir localedir mandir
   1245 do
   1246   eval ac_val=\$$ac_var
   1247   # Remove trailing slashes.
   1248   case $ac_val in
   1249     */ )
   1250       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1251       eval $ac_var=\$ac_val;;
   1252   esac
   1253   # Be sure to have absolute directory names.
   1254   case $ac_val in
   1255     [\\/$]* | ?:[\\/]* )  continue;;
   1256     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1257   esac
   1258   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1259 done
   1260 
   1261 # There might be people who depend on the old broken behavior: `$host'
   1262 # used to hold the argument of --host etc.
   1263 # FIXME: To remove some day.
   1264 build=$build_alias
   1265 host=$host_alias
   1266 target=$target_alias
   1267 
   1268 # FIXME: To remove some day.
   1269 if test "x$host_alias" != x; then
   1270   if test "x$build_alias" = x; then
   1271     cross_compiling=maybe
   1272     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1273     If a cross compiler is detected then cross compile mode will be used" >&2
   1274   elif test "x$build_alias" != "x$host_alias"; then
   1275     cross_compiling=yes
   1276   fi
   1277 fi
   1278 
   1279 ac_tool_prefix=
   1280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1281 
   1282 test "$silent" = yes && exec 6>/dev/null
   1283 
   1284 
   1285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1286 ac_ls_di=`ls -di .` &&
   1287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1288   as_fn_error $? "working directory cannot be determined"
   1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1290   as_fn_error $? "pwd does not report name of working directory"
   1291 
   1292 
   1293 # Find the source files, if location was not specified.
   1294 if test -z "$srcdir"; then
   1295   ac_srcdir_defaulted=yes
   1296   # Try the directory containing this script, then the parent directory.
   1297   ac_confdir=`$as_dirname -- "$as_myself" ||
   1298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1299 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1300 	 X"$as_myself" : 'X\(//\)$' \| \
   1301 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1302 $as_echo X"$as_myself" |
   1303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)[^/].*/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\/\)$/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  /^X\(\/\).*/{
   1316 	    s//\1/
   1317 	    q
   1318 	  }
   1319 	  s/.*/./; q'`
   1320   srcdir=$ac_confdir
   1321   if test ! -r "$srcdir/$ac_unique_file"; then
   1322     srcdir=..
   1323   fi
   1324 else
   1325   ac_srcdir_defaulted=no
   1326 fi
   1327 if test ! -r "$srcdir/$ac_unique_file"; then
   1328   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1329   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1330 fi
   1331 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1332 ac_abs_confdir=`(
   1333 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1334 	pwd)`
   1335 # When building in place, set srcdir=.
   1336 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1337   srcdir=.
   1338 fi
   1339 # Remove unnecessary trailing slashes from srcdir.
   1340 # Double slashes in file names in object file debugging info
   1341 # mess up M-x gdb in Emacs.
   1342 case $srcdir in
   1343 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1344 esac
   1345 for ac_var in $ac_precious_vars; do
   1346   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1347   eval ac_env_${ac_var}_value=\$${ac_var}
   1348   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1349   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1350 done
   1351 
   1352 #
   1353 # Report the --help message.
   1354 #
   1355 if test "$ac_init_help" = "long"; then
   1356   # Omit some internal or obsolete options to make the list less imposing.
   1357   # This message is too long to be a string in the A/UX 3.1 sh.
   1358   cat <<_ACEOF
   1359 \`configure' configures xf86-video-openchrome 0.6.0 to adapt to many kinds of systems.
   1360 
   1361 Usage: $0 [OPTION]... [VAR=VALUE]...
   1362 
   1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1364 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1365 
   1366 Defaults for the options are specified in brackets.
   1367 
   1368 Configuration:
   1369   -h, --help              display this help and exit
   1370       --help=short        display options specific to this package
   1371       --help=recursive    display the short help of all the included packages
   1372   -V, --version           display version information and exit
   1373   -q, --quiet, --silent   do not print \`checking ...' messages
   1374       --cache-file=FILE   cache test results in FILE [disabled]
   1375   -C, --config-cache      alias for \`--cache-file=config.cache'
   1376   -n, --no-create         do not create output files
   1377       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1378 
   1379 Installation directories:
   1380   --prefix=PREFIX         install architecture-independent files in PREFIX
   1381                           [$ac_default_prefix]
   1382   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1383                           [PREFIX]
   1384 
   1385 By default, \`make install' will install all the files in
   1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1388 for instance \`--prefix=\$HOME'.
   1389 
   1390 For better control, use the options below.
   1391 
   1392 Fine tuning of the installation directories:
   1393   --bindir=DIR            user executables [EPREFIX/bin]
   1394   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1395   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1396   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1397   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1398   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1399   --libdir=DIR            object code libraries [EPREFIX/lib]
   1400   --includedir=DIR        C header files [PREFIX/include]
   1401   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1402   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1403   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1404   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1405   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1406   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1407   --docdir=DIR            documentation root
   1408                           [DATAROOTDIR/doc/xf86-video-openchrome]
   1409   --htmldir=DIR           html documentation [DOCDIR]
   1410   --dvidir=DIR            dvi documentation [DOCDIR]
   1411   --pdfdir=DIR            pdf documentation [DOCDIR]
   1412   --psdir=DIR             ps documentation [DOCDIR]
   1413 _ACEOF
   1414 
   1415   cat <<\_ACEOF
   1416 
   1417 Program names:
   1418   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1419   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1420   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1421 
   1422 System types:
   1423   --build=BUILD     configure for building on BUILD [guessed]
   1424   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1425 _ACEOF
   1426 fi
   1427 
   1428 if test -n "$ac_init_help"; then
   1429   case $ac_init_help in
   1430      short | recursive ) echo "Configuration of xf86-video-openchrome 0.6.0:";;
   1431    esac
   1432   cat <<\_ACEOF
   1433 
   1434 Optional Features:
   1435   --disable-option-checking  ignore unrecognized --enable/--with options
   1436   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1437   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1438   --enable-maintainer-mode  enable make rules and dependencies not useful
   1439 			  (and sometimes confusing) to the casual installer
   1440   --enable-static[=PKGS]  build static libraries [default=no]
   1441   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1442   --enable-fast-install[=PKGS]
   1443                           optimize for fast installation [default=yes]
   1444   --disable-dependency-tracking  speeds up one-time build
   1445   --enable-dependency-tracking   do not reject slow dependency extractors
   1446   --disable-libtool-lock  avoid locking (might break parallel builds)
   1447   --disable-largefile     omit support for large files
   1448   --enable-debug          Enable debugging support [[default=no]]
   1449   --enable-xv-debug       Enable XVideo debugging support [[default=no]]
   1450   --enable-viaregtool     Enable build of registers dumper tool [[default=no]]
   1451 
   1452 Optional Packages:
   1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1455   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1456                           both]
   1457   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1458   --with-sysroot=DIR Search for dependent libraries within DIR
   1459                         (or the compiler's sysroot if not specified).
   1460   --with-xorg-module-dir=DIR
   1461                           Default xorg module directory
   1462                           [[default=$libdir/xorg/modules]]
   1463   --with-release-version=STRING
   1464                           Use release version string in package name
   1465 
   1466 Some influential environment variables:
   1467   CC          C compiler command
   1468   CFLAGS      C compiler flags
   1469   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1470               nonstandard directory <lib dir>
   1471   LIBS        libraries to pass to the linker, e.g. -l<library>
   1472   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1473               you have headers in a nonstandard directory <include dir>
   1474   CPP         C preprocessor
   1475   PKG_CONFIG  path to pkg-config utility
   1476   PKG_CONFIG_PATH
   1477               directories to add to pkg-config's search path
   1478   PKG_CONFIG_LIBDIR
   1479               path overriding pkg-config's built-in search path
   1480   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1481   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1482   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1483   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1484   PCIACCESS_CFLAGS
   1485               C compiler flags for PCIACCESS, overriding pkg-config
   1486   PCIACCESS_LIBS
   1487               linker flags for PCIACCESS, overriding pkg-config
   1488   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1489   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1490   LIBUDEV_CFLAGS
   1491               C compiler flags for LIBUDEV, overriding pkg-config
   1492   LIBUDEV_LIBS
   1493               linker flags for LIBUDEV, overriding pkg-config
   1494   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1495   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1496 
   1497 Use these variables to override the choices made by `configure' or to help
   1498 it to find libraries and programs with nonstandard names/locations.
   1499 
   1500 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome>.
   1501 _ACEOF
   1502 ac_status=$?
   1503 fi
   1504 
   1505 if test "$ac_init_help" = "recursive"; then
   1506   # If there are subdirs, report their specific --help.
   1507   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1508     test -d "$ac_dir" ||
   1509       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1510       continue
   1511     ac_builddir=.
   1512 
   1513 case "$ac_dir" in
   1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1515 *)
   1516   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1517   # A ".." for each directory in $ac_dir_suffix.
   1518   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1519   case $ac_top_builddir_sub in
   1520   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1521   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1522   esac ;;
   1523 esac
   1524 ac_abs_top_builddir=$ac_pwd
   1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1526 # for backward compatibility:
   1527 ac_top_builddir=$ac_top_build_prefix
   1528 
   1529 case $srcdir in
   1530   .)  # We are building in place.
   1531     ac_srcdir=.
   1532     ac_top_srcdir=$ac_top_builddir_sub
   1533     ac_abs_top_srcdir=$ac_pwd ;;
   1534   [\\/]* | ?:[\\/]* )  # Absolute name.
   1535     ac_srcdir=$srcdir$ac_dir_suffix;
   1536     ac_top_srcdir=$srcdir
   1537     ac_abs_top_srcdir=$srcdir ;;
   1538   *) # Relative name.
   1539     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1540     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1541     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1542 esac
   1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1544 
   1545     cd "$ac_dir" || { ac_status=$?; continue; }
   1546     # Check for guested configure.
   1547     if test -f "$ac_srcdir/configure.gnu"; then
   1548       echo &&
   1549       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1550     elif test -f "$ac_srcdir/configure"; then
   1551       echo &&
   1552       $SHELL "$ac_srcdir/configure" --help=recursive
   1553     else
   1554       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1555     fi || ac_status=$?
   1556     cd "$ac_pwd" || { ac_status=$?; break; }
   1557   done
   1558 fi
   1559 
   1560 test -n "$ac_init_help" && exit $ac_status
   1561 if $ac_init_version; then
   1562   cat <<\_ACEOF
   1563 xf86-video-openchrome configure 0.6.0
   1564 generated by GNU Autoconf 2.68
   1565 
   1566 Copyright (C) 2010 Free Software Foundation, Inc.
   1567 This configure script is free software; the Free Software Foundation
   1568 gives unlimited permission to copy, distribute and modify it.
   1569 _ACEOF
   1570   exit
   1571 fi
   1572 
   1573 ## ------------------------ ##
   1574 ## Autoconf initialization. ##
   1575 ## ------------------------ ##
   1576 
   1577 # ac_fn_c_try_compile LINENO
   1578 # --------------------------
   1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1580 ac_fn_c_try_compile ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   rm -f conftest.$ac_objext
   1584   if { { ac_try="$ac_compile"
   1585 case "(($ac_try" in
   1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1587   *) ac_try_echo=$ac_try;;
   1588 esac
   1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1590 $as_echo "$ac_try_echo"; } >&5
   1591   (eval "$ac_compile") 2>conftest.err
   1592   ac_status=$?
   1593   if test -s conftest.err; then
   1594     grep -v '^ *+' conftest.err >conftest.er1
   1595     cat conftest.er1 >&5
   1596     mv -f conftest.er1 conftest.err
   1597   fi
   1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1599   test $ac_status = 0; } && {
   1600 	 test -z "$ac_c_werror_flag" ||
   1601 	 test ! -s conftest.err
   1602        } && test -s conftest.$ac_objext; then :
   1603   ac_retval=0
   1604 else
   1605   $as_echo "$as_me: failed program was:" >&5
   1606 sed 's/^/| /' conftest.$ac_ext >&5
   1607 
   1608 	ac_retval=1
   1609 fi
   1610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1611   as_fn_set_status $ac_retval
   1612 
   1613 } # ac_fn_c_try_compile
   1614 
   1615 # ac_fn_c_try_link LINENO
   1616 # -----------------------
   1617 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1618 ac_fn_c_try_link ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   rm -f conftest.$ac_objext conftest$ac_exeext
   1622   if { { ac_try="$ac_link"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_link") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } && {
   1638 	 test -z "$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        } && test -s conftest$ac_exeext && {
   1641 	 test "$cross_compiling" = yes ||
   1642 	 $as_test_x conftest$ac_exeext
   1643        }; then :
   1644   ac_retval=0
   1645 else
   1646   $as_echo "$as_me: failed program was:" >&5
   1647 sed 's/^/| /' conftest.$ac_ext >&5
   1648 
   1649 	ac_retval=1
   1650 fi
   1651   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1652   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1653   # interfere with the next link command; also delete a directory that is
   1654   # left behind by Apple's compiler.  We do this before executing the actions.
   1655   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_link
   1660 
   1661 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists and can be compiled using the include files in
   1664 # INCLUDES, setting the cache variable VAR accordingly.
   1665 ac_fn_c_check_header_compile ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1674 /* end confdefs.h.  */
   1675 $4
   1676 #include <$2>
   1677 _ACEOF
   1678 if ac_fn_c_try_compile "$LINENO"; then :
   1679   eval "$3=yes"
   1680 else
   1681   eval "$3=no"
   1682 fi
   1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1684 fi
   1685 eval ac_res=\$$3
   1686 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1687 $as_echo "$ac_res" >&6; }
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689 
   1690 } # ac_fn_c_check_header_compile
   1691 
   1692 # ac_fn_c_try_cpp LINENO
   1693 # ----------------------
   1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1695 ac_fn_c_try_cpp ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1706   ac_status=$?
   1707   if test -s conftest.err; then
   1708     grep -v '^ *+' conftest.err >conftest.er1
   1709     cat conftest.er1 >&5
   1710     mv -f conftest.er1 conftest.err
   1711   fi
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; } > conftest.i && {
   1714 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1715 	 test ! -s conftest.err
   1716        }; then :
   1717   ac_retval=0
   1718 else
   1719   $as_echo "$as_me: failed program was:" >&5
   1720 sed 's/^/| /' conftest.$ac_ext >&5
   1721 
   1722     ac_retval=1
   1723 fi
   1724   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1725   as_fn_set_status $ac_retval
   1726 
   1727 } # ac_fn_c_try_cpp
   1728 
   1729 # ac_fn_c_try_run LINENO
   1730 # ----------------------
   1731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1732 # that executables *can* be run.
   1733 ac_fn_c_try_run ()
   1734 {
   1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1736   if { { ac_try="$ac_link"
   1737 case "(($ac_try" in
   1738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1739   *) ac_try_echo=$ac_try;;
   1740 esac
   1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1742 $as_echo "$ac_try_echo"; } >&5
   1743   (eval "$ac_link") 2>&5
   1744   ac_status=$?
   1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1746   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1747   { { case "(($ac_try" in
   1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1749   *) ac_try_echo=$ac_try;;
   1750 esac
   1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1752 $as_echo "$ac_try_echo"; } >&5
   1753   (eval "$ac_try") 2>&5
   1754   ac_status=$?
   1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1756   test $ac_status = 0; }; }; then :
   1757   ac_retval=0
   1758 else
   1759   $as_echo "$as_me: program exited with status $ac_status" >&5
   1760        $as_echo "$as_me: failed program was:" >&5
   1761 sed 's/^/| /' conftest.$ac_ext >&5
   1762 
   1763        ac_retval=$ac_status
   1764 fi
   1765   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767   as_fn_set_status $ac_retval
   1768 
   1769 } # ac_fn_c_try_run
   1770 
   1771 # ac_fn_c_check_func LINENO FUNC VAR
   1772 # ----------------------------------
   1773 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1774 ac_fn_c_check_func ()
   1775 {
   1776   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1778 $as_echo_n "checking for $2... " >&6; }
   1779 if eval \${$3+:} false; then :
   1780   $as_echo_n "(cached) " >&6
   1781 else
   1782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1783 /* end confdefs.h.  */
   1784 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1786 #define $2 innocuous_$2
   1787 
   1788 /* System header to define __stub macros and hopefully few prototypes,
   1789     which can conflict with char $2 (); below.
   1790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1791     <limits.h> exists even on freestanding compilers.  */
   1792 
   1793 #ifdef __STDC__
   1794 # include <limits.h>
   1795 #else
   1796 # include <assert.h>
   1797 #endif
   1798 
   1799 #undef $2
   1800 
   1801 /* Override any GCC internal prototype to avoid an error.
   1802    Use char because int might match the return type of a GCC
   1803    builtin and then its argument prototype would still apply.  */
   1804 #ifdef __cplusplus
   1805 extern "C"
   1806 #endif
   1807 char $2 ();
   1808 /* The GNU C library defines this for functions which it implements
   1809     to always fail with ENOSYS.  Some functions are actually named
   1810     something starting with __ and the normal name is an alias.  */
   1811 #if defined __stub_$2 || defined __stub___$2
   1812 choke me
   1813 #endif
   1814 
   1815 int
   1816 main ()
   1817 {
   1818 return $2 ();
   1819   ;
   1820   return 0;
   1821 }
   1822 _ACEOF
   1823 if ac_fn_c_try_link "$LINENO"; then :
   1824   eval "$3=yes"
   1825 else
   1826   eval "$3=no"
   1827 fi
   1828 rm -f core conftest.err conftest.$ac_objext \
   1829     conftest$ac_exeext conftest.$ac_ext
   1830 fi
   1831 eval ac_res=\$$3
   1832 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1833 $as_echo "$ac_res" >&6; }
   1834   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1835 
   1836 } # ac_fn_c_check_func
   1837 
   1838 # ac_fn_c_check_header_preproc LINENO HEADER VAR
   1839 # ----------------------------------------------
   1840 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
   1841 ac_fn_c_check_header_preproc ()
   1842 {
   1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1845 $as_echo_n "checking for $2... " >&6; }
   1846 if eval \${$3+:} false; then :
   1847   $as_echo_n "(cached) " >&6
   1848 else
   1849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1850 /* end confdefs.h.  */
   1851 #include <$2>
   1852 _ACEOF
   1853 if ac_fn_c_try_cpp "$LINENO"; then :
   1854   eval "$3=yes"
   1855 else
   1856   eval "$3=no"
   1857 fi
   1858 rm -f conftest.err conftest.i conftest.$ac_ext
   1859 fi
   1860 eval ac_res=\$$3
   1861 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1862 $as_echo "$ac_res" >&6; }
   1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1864 
   1865 } # ac_fn_c_check_header_preproc
   1866 
   1867 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1868 # -------------------------------------------------------
   1869 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1870 # the include files in INCLUDES and setting the cache variable VAR
   1871 # accordingly.
   1872 ac_fn_c_check_header_mongrel ()
   1873 {
   1874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1875   if eval \${$3+:} false; then :
   1876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1877 $as_echo_n "checking for $2... " >&6; }
   1878 if eval \${$3+:} false; then :
   1879   $as_echo_n "(cached) " >&6
   1880 fi
   1881 eval ac_res=\$$3
   1882 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1883 $as_echo "$ac_res" >&6; }
   1884 else
   1885   # Is the header compilable?
   1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1887 $as_echo_n "checking $2 usability... " >&6; }
   1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1889 /* end confdefs.h.  */
   1890 $4
   1891 #include <$2>
   1892 _ACEOF
   1893 if ac_fn_c_try_compile "$LINENO"; then :
   1894   ac_header_compiler=yes
   1895 else
   1896   ac_header_compiler=no
   1897 fi
   1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1900 $as_echo "$ac_header_compiler" >&6; }
   1901 
   1902 # Is the header present?
   1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1904 $as_echo_n "checking $2 presence... " >&6; }
   1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1906 /* end confdefs.h.  */
   1907 #include <$2>
   1908 _ACEOF
   1909 if ac_fn_c_try_cpp "$LINENO"; then :
   1910   ac_header_preproc=yes
   1911 else
   1912   ac_header_preproc=no
   1913 fi
   1914 rm -f conftest.err conftest.i conftest.$ac_ext
   1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1916 $as_echo "$ac_header_preproc" >&6; }
   1917 
   1918 # So?  What about this header?
   1919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1920   yes:no: )
   1921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1922 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1923     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1925     ;;
   1926   no:yes:* )
   1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1928 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1930 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1932 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1934 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1937 ( $as_echo "## -------------------------------------------------------------------------------------------------- ##
   1938 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome ##
   1939 ## -------------------------------------------------------------------------------------------------- ##"
   1940      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1941     ;;
   1942 esac
   1943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1944 $as_echo_n "checking for $2... " >&6; }
   1945 if eval \${$3+:} false; then :
   1946   $as_echo_n "(cached) " >&6
   1947 else
   1948   eval "$3=\$ac_header_compiler"
   1949 fi
   1950 eval ac_res=\$$3
   1951 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1952 $as_echo "$ac_res" >&6; }
   1953 fi
   1954   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1955 
   1956 } # ac_fn_c_check_header_mongrel
   1957 cat >config.log <<_ACEOF
   1958 This file contains any messages produced by compilers while
   1959 running configure, to aid debugging if configure makes a mistake.
   1960 
   1961 It was created by xf86-video-openchrome $as_me 0.6.0, which was
   1962 generated by GNU Autoconf 2.68.  Invocation command line was
   1963 
   1964   $ $0 $@
   1965 
   1966 _ACEOF
   1967 exec 5>>config.log
   1968 {
   1969 cat <<_ASUNAME
   1970 ## --------- ##
   1971 ## Platform. ##
   1972 ## --------- ##
   1973 
   1974 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1975 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1976 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1977 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1978 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1979 
   1980 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1981 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1982 
   1983 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1984 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1985 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1986 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1987 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1988 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1989 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1990 
   1991 _ASUNAME
   1992 
   1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1994 for as_dir in $PATH
   1995 do
   1996   IFS=$as_save_IFS
   1997   test -z "$as_dir" && as_dir=.
   1998     $as_echo "PATH: $as_dir"
   1999   done
   2000 IFS=$as_save_IFS
   2001 
   2002 } >&5
   2003 
   2004 cat >&5 <<_ACEOF
   2005 
   2006 
   2007 ## ----------- ##
   2008 ## Core tests. ##
   2009 ## ----------- ##
   2010 
   2011 _ACEOF
   2012 
   2013 
   2014 # Keep a trace of the command line.
   2015 # Strip out --no-create and --no-recursion so they do not pile up.
   2016 # Strip out --silent because we don't want to record it for future runs.
   2017 # Also quote any args containing shell meta-characters.
   2018 # Make two passes to allow for proper duplicate-argument suppression.
   2019 ac_configure_args=
   2020 ac_configure_args0=
   2021 ac_configure_args1=
   2022 ac_must_keep_next=false
   2023 for ac_pass in 1 2
   2024 do
   2025   for ac_arg
   2026   do
   2027     case $ac_arg in
   2028     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2029     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2030     | -silent | --silent | --silen | --sile | --sil)
   2031       continue ;;
   2032     *\'*)
   2033       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2034     esac
   2035     case $ac_pass in
   2036     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2037     2)
   2038       as_fn_append ac_configure_args1 " '$ac_arg'"
   2039       if test $ac_must_keep_next = true; then
   2040 	ac_must_keep_next=false # Got value, back to normal.
   2041       else
   2042 	case $ac_arg in
   2043 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2044 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2045 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2046 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2047 	    case "$ac_configure_args0 " in
   2048 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2049 	    esac
   2050 	    ;;
   2051 	  -* ) ac_must_keep_next=true ;;
   2052 	esac
   2053       fi
   2054       as_fn_append ac_configure_args " '$ac_arg'"
   2055       ;;
   2056     esac
   2057   done
   2058 done
   2059 { ac_configure_args0=; unset ac_configure_args0;}
   2060 { ac_configure_args1=; unset ac_configure_args1;}
   2061 
   2062 # When interrupted or exit'd, cleanup temporary files, and complete
   2063 # config.log.  We remove comments because anyway the quotes in there
   2064 # would cause problems or look ugly.
   2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2067 trap 'exit_status=$?
   2068   # Save into config.log some information that might help in debugging.
   2069   {
   2070     echo
   2071 
   2072     $as_echo "## ---------------- ##
   2073 ## Cache variables. ##
   2074 ## ---------------- ##"
   2075     echo
   2076     # The following way of writing the cache mishandles newlines in values,
   2077 (
   2078   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2079     eval ac_val=\$$ac_var
   2080     case $ac_val in #(
   2081     *${as_nl}*)
   2082       case $ac_var in #(
   2083       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2084 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2085       esac
   2086       case $ac_var in #(
   2087       _ | IFS | as_nl) ;; #(
   2088       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2089       *) { eval $ac_var=; unset $ac_var;} ;;
   2090       esac ;;
   2091     esac
   2092   done
   2093   (set) 2>&1 |
   2094     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2095     *${as_nl}ac_space=\ *)
   2096       sed -n \
   2097 	"s/'\''/'\''\\\\'\'''\''/g;
   2098 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2099       ;; #(
   2100     *)
   2101       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2102       ;;
   2103     esac |
   2104     sort
   2105 )
   2106     echo
   2107 
   2108     $as_echo "## ----------------- ##
   2109 ## Output variables. ##
   2110 ## ----------------- ##"
   2111     echo
   2112     for ac_var in $ac_subst_vars
   2113     do
   2114       eval ac_val=\$$ac_var
   2115       case $ac_val in
   2116       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2117       esac
   2118       $as_echo "$ac_var='\''$ac_val'\''"
   2119     done | sort
   2120     echo
   2121 
   2122     if test -n "$ac_subst_files"; then
   2123       $as_echo "## ------------------- ##
   2124 ## File substitutions. ##
   2125 ## ------------------- ##"
   2126       echo
   2127       for ac_var in $ac_subst_files
   2128       do
   2129 	eval ac_val=\$$ac_var
   2130 	case $ac_val in
   2131 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2132 	esac
   2133 	$as_echo "$ac_var='\''$ac_val'\''"
   2134       done | sort
   2135       echo
   2136     fi
   2137 
   2138     if test -s confdefs.h; then
   2139       $as_echo "## ----------- ##
   2140 ## confdefs.h. ##
   2141 ## ----------- ##"
   2142       echo
   2143       cat confdefs.h
   2144       echo
   2145     fi
   2146     test "$ac_signal" != 0 &&
   2147       $as_echo "$as_me: caught signal $ac_signal"
   2148     $as_echo "$as_me: exit $exit_status"
   2149   } >&5
   2150   rm -f core *.core core.conftest.* &&
   2151     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2152     exit $exit_status
   2153 ' 0
   2154 for ac_signal in 1 2 13 15; do
   2155   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2156 done
   2157 ac_signal=0
   2158 
   2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2160 rm -f -r conftest* confdefs.h
   2161 
   2162 $as_echo "/* confdefs.h */" > confdefs.h
   2163 
   2164 # Predefined preprocessor variables.
   2165 
   2166 cat >>confdefs.h <<_ACEOF
   2167 #define PACKAGE_NAME "$PACKAGE_NAME"
   2168 _ACEOF
   2169 
   2170 cat >>confdefs.h <<_ACEOF
   2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2172 _ACEOF
   2173 
   2174 cat >>confdefs.h <<_ACEOF
   2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2176 _ACEOF
   2177 
   2178 cat >>confdefs.h <<_ACEOF
   2179 #define PACKAGE_STRING "$PACKAGE_STRING"
   2180 _ACEOF
   2181 
   2182 cat >>confdefs.h <<_ACEOF
   2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2184 _ACEOF
   2185 
   2186 cat >>confdefs.h <<_ACEOF
   2187 #define PACKAGE_URL "$PACKAGE_URL"
   2188 _ACEOF
   2189 
   2190 
   2191 # Let the site file select an alternate cache file if it wants to.
   2192 # Prefer an explicitly selected file to automatically selected ones.
   2193 ac_site_file1=NONE
   2194 ac_site_file2=NONE
   2195 if test -n "$CONFIG_SITE"; then
   2196   # We do not want a PATH search for config.site.
   2197   case $CONFIG_SITE in #((
   2198     -*)  ac_site_file1=./$CONFIG_SITE;;
   2199     */*) ac_site_file1=$CONFIG_SITE;;
   2200     *)   ac_site_file1=./$CONFIG_SITE;;
   2201   esac
   2202 elif test "x$prefix" != xNONE; then
   2203   ac_site_file1=$prefix/share/config.site
   2204   ac_site_file2=$prefix/etc/config.site
   2205 else
   2206   ac_site_file1=$ac_default_prefix/share/config.site
   2207   ac_site_file2=$ac_default_prefix/etc/config.site
   2208 fi
   2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2210 do
   2211   test "x$ac_site_file" = xNONE && continue
   2212   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2213     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2215     sed 's/^/| /' "$ac_site_file" >&5
   2216     . "$ac_site_file" \
   2217       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2219 as_fn_error $? "failed to load site script $ac_site_file
   2220 See \`config.log' for more details" "$LINENO" 5; }
   2221   fi
   2222 done
   2223 
   2224 if test -r "$cache_file"; then
   2225   # Some versions of bash will fail to source /dev/null (special files
   2226   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2227   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2228     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2229 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2230     case $cache_file in
   2231       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2232       *)                      . "./$cache_file";;
   2233     esac
   2234   fi
   2235 else
   2236   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2237 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2238   >$cache_file
   2239 fi
   2240 
   2241 # Check that the precious variables saved in the cache have kept the same
   2242 # value.
   2243 ac_cache_corrupted=false
   2244 for ac_var in $ac_precious_vars; do
   2245   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2246   eval ac_new_set=\$ac_env_${ac_var}_set
   2247   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2248   eval ac_new_val=\$ac_env_${ac_var}_value
   2249   case $ac_old_set,$ac_new_set in
   2250     set,)
   2251       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2252 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2253       ac_cache_corrupted=: ;;
   2254     ,set)
   2255       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2256 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2257       ac_cache_corrupted=: ;;
   2258     ,);;
   2259     *)
   2260       if test "x$ac_old_val" != "x$ac_new_val"; then
   2261 	# differences in whitespace do not lead to failure.
   2262 	ac_old_val_w=`echo x $ac_old_val`
   2263 	ac_new_val_w=`echo x $ac_new_val`
   2264 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2265 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2266 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2267 	  ac_cache_corrupted=:
   2268 	else
   2269 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2270 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2271 	  eval $ac_var=\$ac_old_val
   2272 	fi
   2273 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2274 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2275 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2276 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2277       fi;;
   2278   esac
   2279   # Pass precious variables to config.status.
   2280   if test "$ac_new_set" = set; then
   2281     case $ac_new_val in
   2282     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2283     *) ac_arg=$ac_var=$ac_new_val ;;
   2284     esac
   2285     case " $ac_configure_args " in
   2286       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2287       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2288     esac
   2289   fi
   2290 done
   2291 if $ac_cache_corrupted; then
   2292   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2294   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2295 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2296   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2297 fi
   2298 ## -------------------- ##
   2299 ## Main body of script. ##
   2300 ## -------------------- ##
   2301 
   2302 ac_ext=c
   2303 ac_cpp='$CPP $CPPFLAGS'
   2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2307 
   2308 
   2309 
   2310 
   2311 cat >>confdefs.h <<_ACEOF
   2312 #define VIA_MAJOR_VERSION $(echo $PACKAGE_VERSION | sed -e 's/^\([0-9]*\)\.[0-9]*\.[0-9]*/\1/')
   2313 _ACEOF
   2314 
   2315 
   2316 cat >>confdefs.h <<_ACEOF
   2317 #define VIA_MINOR_VERSION $(echo $PACKAGE_VERSION | sed -e 's/^[0-9]*\.\([0-9]*\)\.[0-9]*/\1/')
   2318 _ACEOF
   2319 
   2320 
   2321 cat >>confdefs.h <<_ACEOF
   2322 #define VIA_PATCHLEVEL $(echo $PACKAGE_VERSION | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)/\1/')
   2323 _ACEOF
   2324 
   2325 
   2326 
   2327 ac_config_headers="$ac_config_headers config.h"
   2328 
   2329 ac_aux_dir=
   2330 for ac_dir in . "$srcdir"/.; do
   2331   if test -f "$ac_dir/install-sh"; then
   2332     ac_aux_dir=$ac_dir
   2333     ac_install_sh="$ac_aux_dir/install-sh -c"
   2334     break
   2335   elif test -f "$ac_dir/install.sh"; then
   2336     ac_aux_dir=$ac_dir
   2337     ac_install_sh="$ac_aux_dir/install.sh -c"
   2338     break
   2339   elif test -f "$ac_dir/shtool"; then
   2340     ac_aux_dir=$ac_dir
   2341     ac_install_sh="$ac_aux_dir/shtool install -c"
   2342     break
   2343   fi
   2344 done
   2345 if test -z "$ac_aux_dir"; then
   2346   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2347 fi
   2348 
   2349 # These three variables are undocumented and unsupported,
   2350 # and are intended to be withdrawn in a future Autoconf release.
   2351 # They can cause serious problems if a builder's source tree is in a directory
   2352 # whose full name contains unusual characters.
   2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2355 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2356 
   2357 
   2358 
   2359 am__api_version='1.11'
   2360 
   2361 # Find a good install program.  We prefer a C program (faster),
   2362 # so one script is as good as another.  But avoid the broken or
   2363 # incompatible versions:
   2364 # SysV /etc/install, /usr/sbin/install
   2365 # SunOS /usr/etc/install
   2366 # IRIX /sbin/install
   2367 # AIX /bin/install
   2368 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2372 # OS/2's system install, which has a completely different semantic
   2373 # ./install, which can be erroneously created by make from ./install.sh.
   2374 # Reject install programs that cannot install multiple files.
   2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2376 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2377 if test -z "$INSTALL"; then
   2378 if ${ac_cv_path_install+:} false; then :
   2379   $as_echo_n "(cached) " >&6
   2380 else
   2381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386     # Account for people who put trailing slashes in PATH elements.
   2387 case $as_dir/ in #((
   2388   ./ | .// | /[cC]/* | \
   2389   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2390   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2391   /usr/ucb/* ) ;;
   2392   *)
   2393     # OSF1 and SCO ODT 3.0 have their own names for install.
   2394     # Don't use installbsd from OSF since it installs stuff as root
   2395     # by default.
   2396     for ac_prog in ginstall scoinst install; do
   2397       for ac_exec_ext in '' $ac_executable_extensions; do
   2398 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2399 	  if test $ac_prog = install &&
   2400 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2401 	    # AIX install.  It has an incompatible calling convention.
   2402 	    :
   2403 	  elif test $ac_prog = install &&
   2404 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2405 	    # program-specific install script used by HP pwplus--don't use.
   2406 	    :
   2407 	  else
   2408 	    rm -rf conftest.one conftest.two conftest.dir
   2409 	    echo one > conftest.one
   2410 	    echo two > conftest.two
   2411 	    mkdir conftest.dir
   2412 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2413 	      test -s conftest.one && test -s conftest.two &&
   2414 	      test -s conftest.dir/conftest.one &&
   2415 	      test -s conftest.dir/conftest.two
   2416 	    then
   2417 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2418 	      break 3
   2419 	    fi
   2420 	  fi
   2421 	fi
   2422       done
   2423     done
   2424     ;;
   2425 esac
   2426 
   2427   done
   2428 IFS=$as_save_IFS
   2429 
   2430 rm -rf conftest.one conftest.two conftest.dir
   2431 
   2432 fi
   2433   if test "${ac_cv_path_install+set}" = set; then
   2434     INSTALL=$ac_cv_path_install
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for INSTALL within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     INSTALL=$ac_install_sh
   2441   fi
   2442 fi
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2444 $as_echo "$INSTALL" >&6; }
   2445 
   2446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2447 # It thinks the first close brace ends the variable substitution.
   2448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2449 
   2450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2451 
   2452 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2453 
   2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2455 $as_echo_n "checking whether build environment is sane... " >&6; }
   2456 # Just in case
   2457 sleep 1
   2458 echo timestamp > conftest.file
   2459 # Reject unsafe characters in $srcdir or the absolute working directory
   2460 # name.  Accept space and tab only in the latter.
   2461 am_lf='
   2462 '
   2463 case `pwd` in
   2464   *[\\\"\#\$\&\'\`$am_lf]*)
   2465     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2466 esac
   2467 case $srcdir in
   2468   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2469     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2470 esac
   2471 
   2472 # Do `set' in a subshell so we don't clobber the current shell's
   2473 # arguments.  Must try -L first in case configure is actually a
   2474 # symlink; some systems play weird games with the mod time of symlinks
   2475 # (eg FreeBSD returns the mod time of the symlink's containing
   2476 # directory).
   2477 if (
   2478    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2479    if test "$*" = "X"; then
   2480       # -L didn't work.
   2481       set X `ls -t "$srcdir/configure" conftest.file`
   2482    fi
   2483    rm -f conftest.file
   2484    if test "$*" != "X $srcdir/configure conftest.file" \
   2485       && test "$*" != "X conftest.file $srcdir/configure"; then
   2486 
   2487       # If neither matched, then we have a broken ls.  This can happen
   2488       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2489       # broken ls alias from the environment.  This has actually
   2490       # happened.  Such a system could not be considered "sane".
   2491       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2492 alias in your environment" "$LINENO" 5
   2493    fi
   2494 
   2495    test "$2" = conftest.file
   2496    )
   2497 then
   2498    # Ok.
   2499    :
   2500 else
   2501    as_fn_error $? "newly created file is older than distributed files!
   2502 Check your system clock" "$LINENO" 5
   2503 fi
   2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2505 $as_echo "yes" >&6; }
   2506 test "$program_prefix" != NONE &&
   2507   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2508 # Use a double $ so make ignores it.
   2509 test "$program_suffix" != NONE &&
   2510   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2511 # Double any \ or $.
   2512 # By default was `s,x,x', remove it if useless.
   2513 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2514 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2515 
   2516 # expand $ac_aux_dir to an absolute path
   2517 am_aux_dir=`cd $ac_aux_dir && pwd`
   2518 
   2519 if test x"${MISSING+set}" != xset; then
   2520   case $am_aux_dir in
   2521   *\ * | *\	*)
   2522     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2523   *)
   2524     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2525   esac
   2526 fi
   2527 # Use eval to expand $SHELL
   2528 if eval "$MISSING --run true"; then
   2529   am_missing_run="$MISSING --run "
   2530 else
   2531   am_missing_run=
   2532   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2533 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2534 fi
   2535 
   2536 if test x"${install_sh}" != xset; then
   2537   case $am_aux_dir in
   2538   *\ * | *\	*)
   2539     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2540   *)
   2541     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2542   esac
   2543 fi
   2544 
   2545 # Installed binaries are usually stripped using `strip' when the user
   2546 # run `make install-strip'.  However `strip' might not be the right
   2547 # tool to use in cross-compilation environments, therefore Automake
   2548 # will honor the `STRIP' environment variable to overrule this program.
   2549 if test "$cross_compiling" != no; then
   2550   if test -n "$ac_tool_prefix"; then
   2551   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2552 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2554 $as_echo_n "checking for $ac_word... " >&6; }
   2555 if ${ac_cv_prog_STRIP+:} false; then :
   2556   $as_echo_n "(cached) " >&6
   2557 else
   2558   if test -n "$STRIP"; then
   2559   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2560 else
   2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2562 for as_dir in $PATH
   2563 do
   2564   IFS=$as_save_IFS
   2565   test -z "$as_dir" && as_dir=.
   2566     for ac_exec_ext in '' $ac_executable_extensions; do
   2567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2568     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2570     break 2
   2571   fi
   2572 done
   2573   done
   2574 IFS=$as_save_IFS
   2575 
   2576 fi
   2577 fi
   2578 STRIP=$ac_cv_prog_STRIP
   2579 if test -n "$STRIP"; then
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2581 $as_echo "$STRIP" >&6; }
   2582 else
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2584 $as_echo "no" >&6; }
   2585 fi
   2586 
   2587 
   2588 fi
   2589 if test -z "$ac_cv_prog_STRIP"; then
   2590   ac_ct_STRIP=$STRIP
   2591   # Extract the first word of "strip", so it can be a program name with args.
   2592 set dummy strip; ac_word=$2
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2594 $as_echo_n "checking for $ac_word... " >&6; }
   2595 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   if test -n "$ac_ct_STRIP"; then
   2599   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2600 else
   2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2602 for as_dir in $PATH
   2603 do
   2604   IFS=$as_save_IFS
   2605   test -z "$as_dir" && as_dir=.
   2606     for ac_exec_ext in '' $ac_executable_extensions; do
   2607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2608     ac_cv_prog_ac_ct_STRIP="strip"
   2609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2610     break 2
   2611   fi
   2612 done
   2613   done
   2614 IFS=$as_save_IFS
   2615 
   2616 fi
   2617 fi
   2618 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2619 if test -n "$ac_ct_STRIP"; then
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2621 $as_echo "$ac_ct_STRIP" >&6; }
   2622 else
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2624 $as_echo "no" >&6; }
   2625 fi
   2626 
   2627   if test "x$ac_ct_STRIP" = x; then
   2628     STRIP=":"
   2629   else
   2630     case $cross_compiling:$ac_tool_warned in
   2631 yes:)
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2634 ac_tool_warned=yes ;;
   2635 esac
   2636     STRIP=$ac_ct_STRIP
   2637   fi
   2638 else
   2639   STRIP="$ac_cv_prog_STRIP"
   2640 fi
   2641 
   2642 fi
   2643 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2644 
   2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2646 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2647 if test -z "$MKDIR_P"; then
   2648   if ${ac_cv_path_mkdir+:} false; then :
   2649   $as_echo_n "(cached) " >&6
   2650 else
   2651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2652 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2653 do
   2654   IFS=$as_save_IFS
   2655   test -z "$as_dir" && as_dir=.
   2656     for ac_prog in mkdir gmkdir; do
   2657 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2658 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2659 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2660 	     'mkdir (GNU coreutils) '* | \
   2661 	     'mkdir (coreutils) '* | \
   2662 	     'mkdir (fileutils) '4.1*)
   2663 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2664 	       break 3;;
   2665 	   esac
   2666 	 done
   2667        done
   2668   done
   2669 IFS=$as_save_IFS
   2670 
   2671 fi
   2672 
   2673   test -d ./--version && rmdir ./--version
   2674   if test "${ac_cv_path_mkdir+set}" = set; then
   2675     MKDIR_P="$ac_cv_path_mkdir -p"
   2676   else
   2677     # As a last resort, use the slow shell script.  Don't cache a
   2678     # value for MKDIR_P within a source directory, because that will
   2679     # break other packages using the cache if that directory is
   2680     # removed, or if the value is a relative name.
   2681     MKDIR_P="$ac_install_sh -d"
   2682   fi
   2683 fi
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2685 $as_echo "$MKDIR_P" >&6; }
   2686 
   2687 mkdir_p="$MKDIR_P"
   2688 case $mkdir_p in
   2689   [\\/$]* | ?:[\\/]*) ;;
   2690   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2691 esac
   2692 
   2693 for ac_prog in gawk mawk nawk awk
   2694 do
   2695   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2696 set dummy $ac_prog; ac_word=$2
   2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2698 $as_echo_n "checking for $ac_word... " >&6; }
   2699 if ${ac_cv_prog_AWK+:} false; then :
   2700   $as_echo_n "(cached) " >&6
   2701 else
   2702   if test -n "$AWK"; then
   2703   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2704 else
   2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2706 for as_dir in $PATH
   2707 do
   2708   IFS=$as_save_IFS
   2709   test -z "$as_dir" && as_dir=.
   2710     for ac_exec_ext in '' $ac_executable_extensions; do
   2711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2712     ac_cv_prog_AWK="$ac_prog"
   2713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2714     break 2
   2715   fi
   2716 done
   2717   done
   2718 IFS=$as_save_IFS
   2719 
   2720 fi
   2721 fi
   2722 AWK=$ac_cv_prog_AWK
   2723 if test -n "$AWK"; then
   2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2725 $as_echo "$AWK" >&6; }
   2726 else
   2727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2728 $as_echo "no" >&6; }
   2729 fi
   2730 
   2731 
   2732   test -n "$AWK" && break
   2733 done
   2734 
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2736 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2737 set x ${MAKE-make}
   2738 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2739 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2740   $as_echo_n "(cached) " >&6
   2741 else
   2742   cat >conftest.make <<\_ACEOF
   2743 SHELL = /bin/sh
   2744 all:
   2745 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2746 _ACEOF
   2747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2749   *@@@%%%=?*=@@@%%%*)
   2750     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2751   *)
   2752     eval ac_cv_prog_make_${ac_make}_set=no;;
   2753 esac
   2754 rm -f conftest.make
   2755 fi
   2756 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2758 $as_echo "yes" >&6; }
   2759   SET_MAKE=
   2760 else
   2761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2762 $as_echo "no" >&6; }
   2763   SET_MAKE="MAKE=${MAKE-make}"
   2764 fi
   2765 
   2766 rm -rf .tst 2>/dev/null
   2767 mkdir .tst 2>/dev/null
   2768 if test -d .tst; then
   2769   am__leading_dot=.
   2770 else
   2771   am__leading_dot=_
   2772 fi
   2773 rmdir .tst 2>/dev/null
   2774 
   2775 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2776   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2777   # is not polluted with repeated "-I."
   2778   am__isrc=' -I$(srcdir)'
   2779   # test to see if srcdir already configured
   2780   if test -f $srcdir/config.status; then
   2781     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2782   fi
   2783 fi
   2784 
   2785 # test whether we have cygpath
   2786 if test -z "$CYGPATH_W"; then
   2787   if (cygpath --version) >/dev/null 2>/dev/null; then
   2788     CYGPATH_W='cygpath -w'
   2789   else
   2790     CYGPATH_W=echo
   2791   fi
   2792 fi
   2793 
   2794 
   2795 # Define the identity of the package.
   2796  PACKAGE='xf86-video-openchrome'
   2797  VERSION='0.6.0'
   2798 
   2799 
   2800 cat >>confdefs.h <<_ACEOF
   2801 #define PACKAGE "$PACKAGE"
   2802 _ACEOF
   2803 
   2804 
   2805 cat >>confdefs.h <<_ACEOF
   2806 #define VERSION "$VERSION"
   2807 _ACEOF
   2808 
   2809 # Some tools Automake needs.
   2810 
   2811 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2812 
   2813 
   2814 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2815 
   2816 
   2817 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2818 
   2819 
   2820 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2821 
   2822 
   2823 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2824 
   2825 # We need awk for the "check" target.  The system "awk" is bad on
   2826 # some platforms.
   2827 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2828 # in the wild :-(  We should find a proper way to deprecate it ...
   2829 AMTAR='$${TAR-tar}'
   2830 
   2831 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 
   2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2839 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2840     # Check whether --enable-maintainer-mode was given.
   2841 if test "${enable_maintainer_mode+set}" = set; then :
   2842   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2843 else
   2844   USE_MAINTAINER_MODE=no
   2845 fi
   2846 
   2847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2848 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2849    if test $USE_MAINTAINER_MODE = yes; then
   2850   MAINTAINER_MODE_TRUE=
   2851   MAINTAINER_MODE_FALSE='#'
   2852 else
   2853   MAINTAINER_MODE_TRUE='#'
   2854   MAINTAINER_MODE_FALSE=
   2855 fi
   2856 
   2857   MAINT=$MAINTAINER_MODE_TRUE
   2858 
   2859 
   2860 
   2861 # Initialize libtool
   2862 # Check whether --enable-static was given.
   2863 if test "${enable_static+set}" = set; then :
   2864   enableval=$enable_static; p=${PACKAGE-default}
   2865     case $enableval in
   2866     yes) enable_static=yes ;;
   2867     no) enable_static=no ;;
   2868     *)
   2869      enable_static=no
   2870       # Look at the argument we got.  We use all the common list separators.
   2871       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2872       for pkg in $enableval; do
   2873 	IFS="$lt_save_ifs"
   2874 	if test "X$pkg" = "X$p"; then
   2875 	  enable_static=yes
   2876 	fi
   2877       done
   2878       IFS="$lt_save_ifs"
   2879       ;;
   2880     esac
   2881 else
   2882   enable_static=no
   2883 fi
   2884 
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 case `pwd` in
   2894   *\ * | *\	*)
   2895     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2896 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2897 esac
   2898 
   2899 
   2900 
   2901 macro_version='2.4.2'
   2902 macro_revision='1.3337'
   2903 
   2904 
   2905 
   2906 
   2907 
   2908 
   2909 
   2910 
   2911 
   2912 
   2913 
   2914 
   2915 
   2916 ltmain="$ac_aux_dir/ltmain.sh"
   2917 
   2918 # Make sure we can run config.sub.
   2919 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2920   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2921 
   2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2923 $as_echo_n "checking build system type... " >&6; }
   2924 if ${ac_cv_build+:} false; then :
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   ac_build_alias=$build_alias
   2928 test "x$ac_build_alias" = x &&
   2929   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2930 test "x$ac_build_alias" = x &&
   2931   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2932 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2933   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2934 
   2935 fi
   2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2937 $as_echo "$ac_cv_build" >&6; }
   2938 case $ac_cv_build in
   2939 *-*-*) ;;
   2940 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2941 esac
   2942 build=$ac_cv_build
   2943 ac_save_IFS=$IFS; IFS='-'
   2944 set x $ac_cv_build
   2945 shift
   2946 build_cpu=$1
   2947 build_vendor=$2
   2948 shift; shift
   2949 # Remember, the first character of IFS is used to create $*,
   2950 # except with old shells:
   2951 build_os=$*
   2952 IFS=$ac_save_IFS
   2953 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2954 
   2955 
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2957 $as_echo_n "checking host system type... " >&6; }
   2958 if ${ac_cv_host+:} false; then :
   2959   $as_echo_n "(cached) " >&6
   2960 else
   2961   if test "x$host_alias" = x; then
   2962   ac_cv_host=$ac_cv_build
   2963 else
   2964   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2965     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2966 fi
   2967 
   2968 fi
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2970 $as_echo "$ac_cv_host" >&6; }
   2971 case $ac_cv_host in
   2972 *-*-*) ;;
   2973 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2974 esac
   2975 host=$ac_cv_host
   2976 ac_save_IFS=$IFS; IFS='-'
   2977 set x $ac_cv_host
   2978 shift
   2979 host_cpu=$1
   2980 host_vendor=$2
   2981 shift; shift
   2982 # Remember, the first character of IFS is used to create $*,
   2983 # except with old shells:
   2984 host_os=$*
   2985 IFS=$ac_save_IFS
   2986 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2987 
   2988 
   2989 # Backslashify metacharacters that are still active within
   2990 # double-quoted strings.
   2991 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2992 
   2993 # Same as above, but do not quote variable references.
   2994 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2995 
   2996 # Sed substitution to delay expansion of an escaped shell variable in a
   2997 # double_quote_subst'ed string.
   2998 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2999 
   3000 # Sed substitution to delay expansion of an escaped single quote.
   3001 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3002 
   3003 # Sed substitution to avoid accidental globbing in evaled expressions
   3004 no_glob_subst='s/\*/\\\*/g'
   3005 
   3006 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3007 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3008 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3009 
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3011 $as_echo_n "checking how to print strings... " >&6; }
   3012 # Test print first, because it will be a builtin if present.
   3013 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3014    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3015   ECHO='print -r --'
   3016 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3017   ECHO='printf %s\n'
   3018 else
   3019   # Use this function as a fallback that always works.
   3020   func_fallback_echo ()
   3021   {
   3022     eval 'cat <<_LTECHO_EOF
   3023 $1
   3024 _LTECHO_EOF'
   3025   }
   3026   ECHO='func_fallback_echo'
   3027 fi
   3028 
   3029 # func_echo_all arg...
   3030 # Invoke $ECHO with all args, space-separated.
   3031 func_echo_all ()
   3032 {
   3033     $ECHO ""
   3034 }
   3035 
   3036 case "$ECHO" in
   3037   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3038 $as_echo "printf" >&6; } ;;
   3039   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3040 $as_echo "print -r" >&6; } ;;
   3041   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3042 $as_echo "cat" >&6; } ;;
   3043 esac
   3044 
   3045 
   3046 
   3047 
   3048 
   3049 
   3050 
   3051 
   3052 
   3053 
   3054 
   3055 
   3056 
   3057 
   3058 DEPDIR="${am__leading_dot}deps"
   3059 
   3060 ac_config_commands="$ac_config_commands depfiles"
   3061 
   3062 
   3063 am_make=${MAKE-make}
   3064 cat > confinc << 'END'
   3065 am__doit:
   3066 	@echo this is the am__doit target
   3067 .PHONY: am__doit
   3068 END
   3069 # If we don't find an include directive, just comment out the code.
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3071 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3072 am__include="#"
   3073 am__quote=
   3074 _am_result=none
   3075 # First try GNU make style include.
   3076 echo "include confinc" > confmf
   3077 # Ignore all kinds of additional output from `make'.
   3078 case `$am_make -s -f confmf 2> /dev/null` in #(
   3079 *the\ am__doit\ target*)
   3080   am__include=include
   3081   am__quote=
   3082   _am_result=GNU
   3083   ;;
   3084 esac
   3085 # Now try BSD make style include.
   3086 if test "$am__include" = "#"; then
   3087    echo '.include "confinc"' > confmf
   3088    case `$am_make -s -f confmf 2> /dev/null` in #(
   3089    *the\ am__doit\ target*)
   3090      am__include=.include
   3091      am__quote="\""
   3092      _am_result=BSD
   3093      ;;
   3094    esac
   3095 fi
   3096 
   3097 
   3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3099 $as_echo "$_am_result" >&6; }
   3100 rm -f confinc confmf
   3101 
   3102 # Check whether --enable-dependency-tracking was given.
   3103 if test "${enable_dependency_tracking+set}" = set; then :
   3104   enableval=$enable_dependency_tracking;
   3105 fi
   3106 
   3107 if test "x$enable_dependency_tracking" != xno; then
   3108   am_depcomp="$ac_aux_dir/depcomp"
   3109   AMDEPBACKSLASH='\'
   3110   am__nodep='_no'
   3111 fi
   3112  if test "x$enable_dependency_tracking" != xno; then
   3113   AMDEP_TRUE=
   3114   AMDEP_FALSE='#'
   3115 else
   3116   AMDEP_TRUE='#'
   3117   AMDEP_FALSE=
   3118 fi
   3119 
   3120 
   3121 ac_ext=c
   3122 ac_cpp='$CPP $CPPFLAGS'
   3123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3126 if test -n "$ac_tool_prefix"; then
   3127   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3128 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 $as_echo_n "checking for $ac_word... " >&6; }
   3131 if ${ac_cv_prog_CC+:} false; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   if test -n "$CC"; then
   3135   ac_cv_prog_CC="$CC" # Let the user override the test.
   3136 else
   3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   test -z "$as_dir" && as_dir=.
   3142     for ac_exec_ext in '' $ac_executable_extensions; do
   3143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3144     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3146     break 2
   3147   fi
   3148 done
   3149   done
   3150 IFS=$as_save_IFS
   3151 
   3152 fi
   3153 fi
   3154 CC=$ac_cv_prog_CC
   3155 if test -n "$CC"; then
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3157 $as_echo "$CC" >&6; }
   3158 else
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 $as_echo "no" >&6; }
   3161 fi
   3162 
   3163 
   3164 fi
   3165 if test -z "$ac_cv_prog_CC"; then
   3166   ac_ct_CC=$CC
   3167   # Extract the first word of "gcc", so it can be a program name with args.
   3168 set dummy gcc; ac_word=$2
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3170 $as_echo_n "checking for $ac_word... " >&6; }
   3171 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3172   $as_echo_n "(cached) " >&6
   3173 else
   3174   if test -n "$ac_ct_CC"; then
   3175   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3176 else
   3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3178 for as_dir in $PATH
   3179 do
   3180   IFS=$as_save_IFS
   3181   test -z "$as_dir" && as_dir=.
   3182     for ac_exec_ext in '' $ac_executable_extensions; do
   3183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3184     ac_cv_prog_ac_ct_CC="gcc"
   3185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3186     break 2
   3187   fi
   3188 done
   3189   done
   3190 IFS=$as_save_IFS
   3191 
   3192 fi
   3193 fi
   3194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3195 if test -n "$ac_ct_CC"; then
   3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3197 $as_echo "$ac_ct_CC" >&6; }
   3198 else
   3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3200 $as_echo "no" >&6; }
   3201 fi
   3202 
   3203   if test "x$ac_ct_CC" = x; then
   3204     CC=""
   3205   else
   3206     case $cross_compiling:$ac_tool_warned in
   3207 yes:)
   3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3210 ac_tool_warned=yes ;;
   3211 esac
   3212     CC=$ac_ct_CC
   3213   fi
   3214 else
   3215   CC="$ac_cv_prog_CC"
   3216 fi
   3217 
   3218 if test -z "$CC"; then
   3219           if test -n "$ac_tool_prefix"; then
   3220     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3221 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3223 $as_echo_n "checking for $ac_word... " >&6; }
   3224 if ${ac_cv_prog_CC+:} false; then :
   3225   $as_echo_n "(cached) " >&6
   3226 else
   3227   if test -n "$CC"; then
   3228   ac_cv_prog_CC="$CC" # Let the user override the test.
   3229 else
   3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3231 for as_dir in $PATH
   3232 do
   3233   IFS=$as_save_IFS
   3234   test -z "$as_dir" && as_dir=.
   3235     for ac_exec_ext in '' $ac_executable_extensions; do
   3236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3237     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3239     break 2
   3240   fi
   3241 done
   3242   done
   3243 IFS=$as_save_IFS
   3244 
   3245 fi
   3246 fi
   3247 CC=$ac_cv_prog_CC
   3248 if test -n "$CC"; then
   3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3250 $as_echo "$CC" >&6; }
   3251 else
   3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3253 $as_echo "no" >&6; }
   3254 fi
   3255 
   3256 
   3257   fi
   3258 fi
   3259 if test -z "$CC"; then
   3260   # Extract the first word of "cc", so it can be a program name with args.
   3261 set dummy cc; ac_word=$2
   3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3263 $as_echo_n "checking for $ac_word... " >&6; }
   3264 if ${ac_cv_prog_CC+:} false; then :
   3265   $as_echo_n "(cached) " >&6
   3266 else
   3267   if test -n "$CC"; then
   3268   ac_cv_prog_CC="$CC" # Let the user override the test.
   3269 else
   3270   ac_prog_rejected=no
   3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3272 for as_dir in $PATH
   3273 do
   3274   IFS=$as_save_IFS
   3275   test -z "$as_dir" && as_dir=.
   3276     for ac_exec_ext in '' $ac_executable_extensions; do
   3277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3278     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3279        ac_prog_rejected=yes
   3280        continue
   3281      fi
   3282     ac_cv_prog_CC="cc"
   3283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3284     break 2
   3285   fi
   3286 done
   3287   done
   3288 IFS=$as_save_IFS
   3289 
   3290 if test $ac_prog_rejected = yes; then
   3291   # We found a bogon in the path, so make sure we never use it.
   3292   set dummy $ac_cv_prog_CC
   3293   shift
   3294   if test $# != 0; then
   3295     # We chose a different compiler from the bogus one.
   3296     # However, it has the same basename, so the bogon will be chosen
   3297     # first if we set CC to just the basename; use the full file name.
   3298     shift
   3299     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3300   fi
   3301 fi
   3302 fi
   3303 fi
   3304 CC=$ac_cv_prog_CC
   3305 if test -n "$CC"; then
   3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3307 $as_echo "$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 fi
   3315 if test -z "$CC"; then
   3316   if test -n "$ac_tool_prefix"; then
   3317   for ac_prog in cl.exe
   3318   do
   3319     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3320 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3322 $as_echo_n "checking for $ac_word... " >&6; }
   3323 if ${ac_cv_prog_CC+:} false; then :
   3324   $as_echo_n "(cached) " >&6
   3325 else
   3326   if test -n "$CC"; then
   3327   ac_cv_prog_CC="$CC" # Let the user override the test.
   3328 else
   3329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3330 for as_dir in $PATH
   3331 do
   3332   IFS=$as_save_IFS
   3333   test -z "$as_dir" && as_dir=.
   3334     for ac_exec_ext in '' $ac_executable_extensions; do
   3335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3336     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3338     break 2
   3339   fi
   3340 done
   3341   done
   3342 IFS=$as_save_IFS
   3343 
   3344 fi
   3345 fi
   3346 CC=$ac_cv_prog_CC
   3347 if test -n "$CC"; then
   3348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3349 $as_echo "$CC" >&6; }
   3350 else
   3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3352 $as_echo "no" >&6; }
   3353 fi
   3354 
   3355 
   3356     test -n "$CC" && break
   3357   done
   3358 fi
   3359 if test -z "$CC"; then
   3360   ac_ct_CC=$CC
   3361   for ac_prog in cl.exe
   3362 do
   3363   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3364 set dummy $ac_prog; ac_word=$2
   3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3366 $as_echo_n "checking for $ac_word... " >&6; }
   3367 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3368   $as_echo_n "(cached) " >&6
   3369 else
   3370   if test -n "$ac_ct_CC"; then
   3371   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3372 else
   3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3374 for as_dir in $PATH
   3375 do
   3376   IFS=$as_save_IFS
   3377   test -z "$as_dir" && as_dir=.
   3378     for ac_exec_ext in '' $ac_executable_extensions; do
   3379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3380     ac_cv_prog_ac_ct_CC="$ac_prog"
   3381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3382     break 2
   3383   fi
   3384 done
   3385   done
   3386 IFS=$as_save_IFS
   3387 
   3388 fi
   3389 fi
   3390 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3391 if test -n "$ac_ct_CC"; then
   3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3393 $as_echo "$ac_ct_CC" >&6; }
   3394 else
   3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3396 $as_echo "no" >&6; }
   3397 fi
   3398 
   3399 
   3400   test -n "$ac_ct_CC" && break
   3401 done
   3402 
   3403   if test "x$ac_ct_CC" = x; then
   3404     CC=""
   3405   else
   3406     case $cross_compiling:$ac_tool_warned in
   3407 yes:)
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3410 ac_tool_warned=yes ;;
   3411 esac
   3412     CC=$ac_ct_CC
   3413   fi
   3414 fi
   3415 
   3416 fi
   3417 
   3418 
   3419 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3421 as_fn_error $? "no acceptable C compiler found in \$PATH
   3422 See \`config.log' for more details" "$LINENO" 5; }
   3423 
   3424 # Provide some information about the compiler.
   3425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3426 set X $ac_compile
   3427 ac_compiler=$2
   3428 for ac_option in --version -v -V -qversion; do
   3429   { { ac_try="$ac_compiler $ac_option >&5"
   3430 case "(($ac_try" in
   3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3432   *) ac_try_echo=$ac_try;;
   3433 esac
   3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3435 $as_echo "$ac_try_echo"; } >&5
   3436   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3437   ac_status=$?
   3438   if test -s conftest.err; then
   3439     sed '10a\
   3440 ... rest of stderr output deleted ...
   3441          10q' conftest.err >conftest.er1
   3442     cat conftest.er1 >&5
   3443   fi
   3444   rm -f conftest.er1 conftest.err
   3445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3446   test $ac_status = 0; }
   3447 done
   3448 
   3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3450 /* end confdefs.h.  */
   3451 
   3452 int
   3453 main ()
   3454 {
   3455 
   3456   ;
   3457   return 0;
   3458 }
   3459 _ACEOF
   3460 ac_clean_files_save=$ac_clean_files
   3461 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3462 # Try to create an executable without -o first, disregard a.out.
   3463 # It will help us diagnose broken compilers, and finding out an intuition
   3464 # of exeext.
   3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3466 $as_echo_n "checking whether the C compiler works... " >&6; }
   3467 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3468 
   3469 # The possible output files:
   3470 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3471 
   3472 ac_rmfiles=
   3473 for ac_file in $ac_files
   3474 do
   3475   case $ac_file in
   3476     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3477     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3478   esac
   3479 done
   3480 rm -f $ac_rmfiles
   3481 
   3482 if { { ac_try="$ac_link_default"
   3483 case "(($ac_try" in
   3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3485   *) ac_try_echo=$ac_try;;
   3486 esac
   3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3488 $as_echo "$ac_try_echo"; } >&5
   3489   (eval "$ac_link_default") 2>&5
   3490   ac_status=$?
   3491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3492   test $ac_status = 0; }; then :
   3493   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3495 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3496 # so that the user can short-circuit this test for compilers unknown to
   3497 # Autoconf.
   3498 for ac_file in $ac_files ''
   3499 do
   3500   test -f "$ac_file" || continue
   3501   case $ac_file in
   3502     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3503 	;;
   3504     [ab].out )
   3505 	# We found the default executable, but exeext='' is most
   3506 	# certainly right.
   3507 	break;;
   3508     *.* )
   3509 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3510 	then :; else
   3511 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3512 	fi
   3513 	# We set ac_cv_exeext here because the later test for it is not
   3514 	# safe: cross compilers may not add the suffix if given an `-o'
   3515 	# argument, so we may need to know it at that point already.
   3516 	# Even if this section looks crufty: it has the advantage of
   3517 	# actually working.
   3518 	break;;
   3519     * )
   3520 	break;;
   3521   esac
   3522 done
   3523 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3524 
   3525 else
   3526   ac_file=''
   3527 fi
   3528 if test -z "$ac_file"; then :
   3529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3530 $as_echo "no" >&6; }
   3531 $as_echo "$as_me: failed program was:" >&5
   3532 sed 's/^/| /' conftest.$ac_ext >&5
   3533 
   3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3536 as_fn_error 77 "C compiler cannot create executables
   3537 See \`config.log' for more details" "$LINENO" 5; }
   3538 else
   3539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3540 $as_echo "yes" >&6; }
   3541 fi
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3543 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3545 $as_echo "$ac_file" >&6; }
   3546 ac_exeext=$ac_cv_exeext
   3547 
   3548 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3549 ac_clean_files=$ac_clean_files_save
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3551 $as_echo_n "checking for suffix of executables... " >&6; }
   3552 if { { ac_try="$ac_link"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo"; } >&5
   3559   (eval "$ac_link") 2>&5
   3560   ac_status=$?
   3561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3562   test $ac_status = 0; }; then :
   3563   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3564 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3565 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3566 # `rm'.
   3567 for ac_file in conftest.exe conftest conftest.*; do
   3568   test -f "$ac_file" || continue
   3569   case $ac_file in
   3570     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3571     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3572 	  break;;
   3573     * ) break;;
   3574   esac
   3575 done
   3576 else
   3577   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3579 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3580 See \`config.log' for more details" "$LINENO" 5; }
   3581 fi
   3582 rm -f conftest conftest$ac_cv_exeext
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3584 $as_echo "$ac_cv_exeext" >&6; }
   3585 
   3586 rm -f conftest.$ac_ext
   3587 EXEEXT=$ac_cv_exeext
   3588 ac_exeext=$EXEEXT
   3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3590 /* end confdefs.h.  */
   3591 #include <stdio.h>
   3592 int
   3593 main ()
   3594 {
   3595 FILE *f = fopen ("conftest.out", "w");
   3596  return ferror (f) || fclose (f) != 0;
   3597 
   3598   ;
   3599   return 0;
   3600 }
   3601 _ACEOF
   3602 ac_clean_files="$ac_clean_files conftest.out"
   3603 # Check that the compiler produces executables we can run.  If not, either
   3604 # the compiler is broken, or we cross compile.
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3606 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3607 if test "$cross_compiling" != yes; then
   3608   { { ac_try="$ac_link"
   3609 case "(($ac_try" in
   3610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3611   *) ac_try_echo=$ac_try;;
   3612 esac
   3613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3614 $as_echo "$ac_try_echo"; } >&5
   3615   (eval "$ac_link") 2>&5
   3616   ac_status=$?
   3617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3618   test $ac_status = 0; }
   3619   if { ac_try='./conftest$ac_cv_exeext'
   3620   { { case "(($ac_try" in
   3621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3622   *) ac_try_echo=$ac_try;;
   3623 esac
   3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3625 $as_echo "$ac_try_echo"; } >&5
   3626   (eval "$ac_try") 2>&5
   3627   ac_status=$?
   3628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3629   test $ac_status = 0; }; }; then
   3630     cross_compiling=no
   3631   else
   3632     if test "$cross_compiling" = maybe; then
   3633 	cross_compiling=yes
   3634     else
   3635 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3637 as_fn_error $? "cannot run C compiled programs.
   3638 If you meant to cross compile, use \`--host'.
   3639 See \`config.log' for more details" "$LINENO" 5; }
   3640     fi
   3641   fi
   3642 fi
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3644 $as_echo "$cross_compiling" >&6; }
   3645 
   3646 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3647 ac_clean_files=$ac_clean_files_save
   3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3649 $as_echo_n "checking for suffix of object files... " >&6; }
   3650 if ${ac_cv_objext+:} false; then :
   3651   $as_echo_n "(cached) " >&6
   3652 else
   3653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 
   3656 int
   3657 main ()
   3658 {
   3659 
   3660   ;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 rm -f conftest.o conftest.obj
   3665 if { { ac_try="$ac_compile"
   3666 case "(($ac_try" in
   3667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3668   *) ac_try_echo=$ac_try;;
   3669 esac
   3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3671 $as_echo "$ac_try_echo"; } >&5
   3672   (eval "$ac_compile") 2>&5
   3673   ac_status=$?
   3674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3675   test $ac_status = 0; }; then :
   3676   for ac_file in conftest.o conftest.obj conftest.*; do
   3677   test -f "$ac_file" || continue;
   3678   case $ac_file in
   3679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3680     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3681        break;;
   3682   esac
   3683 done
   3684 else
   3685   $as_echo "$as_me: failed program was:" >&5
   3686 sed 's/^/| /' conftest.$ac_ext >&5
   3687 
   3688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3690 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3691 See \`config.log' for more details" "$LINENO" 5; }
   3692 fi
   3693 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3694 fi
   3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3696 $as_echo "$ac_cv_objext" >&6; }
   3697 OBJEXT=$ac_cv_objext
   3698 ac_objext=$OBJEXT
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3701 if ${ac_cv_c_compiler_gnu+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3705 /* end confdefs.h.  */
   3706 
   3707 int
   3708 main ()
   3709 {
   3710 #ifndef __GNUC__
   3711        choke me
   3712 #endif
   3713 
   3714   ;
   3715   return 0;
   3716 }
   3717 _ACEOF
   3718 if ac_fn_c_try_compile "$LINENO"; then :
   3719   ac_compiler_gnu=yes
   3720 else
   3721   ac_compiler_gnu=no
   3722 fi
   3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3725 
   3726 fi
   3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3728 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3729 if test $ac_compiler_gnu = yes; then
   3730   GCC=yes
   3731 else
   3732   GCC=
   3733 fi
   3734 ac_test_CFLAGS=${CFLAGS+set}
   3735 ac_save_CFLAGS=$CFLAGS
   3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3737 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3738 if ${ac_cv_prog_cc_g+:} false; then :
   3739   $as_echo_n "(cached) " >&6
   3740 else
   3741   ac_save_c_werror_flag=$ac_c_werror_flag
   3742    ac_c_werror_flag=yes
   3743    ac_cv_prog_cc_g=no
   3744    CFLAGS="-g"
   3745    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3746 /* end confdefs.h.  */
   3747 
   3748 int
   3749 main ()
   3750 {
   3751 
   3752   ;
   3753   return 0;
   3754 }
   3755 _ACEOF
   3756 if ac_fn_c_try_compile "$LINENO"; then :
   3757   ac_cv_prog_cc_g=yes
   3758 else
   3759   CFLAGS=""
   3760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3761 /* end confdefs.h.  */
   3762 
   3763 int
   3764 main ()
   3765 {
   3766 
   3767   ;
   3768   return 0;
   3769 }
   3770 _ACEOF
   3771 if ac_fn_c_try_compile "$LINENO"; then :
   3772 
   3773 else
   3774   ac_c_werror_flag=$ac_save_c_werror_flag
   3775 	 CFLAGS="-g"
   3776 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 
   3779 int
   3780 main ()
   3781 {
   3782 
   3783   ;
   3784   return 0;
   3785 }
   3786 _ACEOF
   3787 if ac_fn_c_try_compile "$LINENO"; then :
   3788   ac_cv_prog_cc_g=yes
   3789 fi
   3790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3791 fi
   3792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3793 fi
   3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3795    ac_c_werror_flag=$ac_save_c_werror_flag
   3796 fi
   3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3798 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3799 if test "$ac_test_CFLAGS" = set; then
   3800   CFLAGS=$ac_save_CFLAGS
   3801 elif test $ac_cv_prog_cc_g = yes; then
   3802   if test "$GCC" = yes; then
   3803     CFLAGS="-g -O2"
   3804   else
   3805     CFLAGS="-g"
   3806   fi
   3807 else
   3808   if test "$GCC" = yes; then
   3809     CFLAGS="-O2"
   3810   else
   3811     CFLAGS=
   3812   fi
   3813 fi
   3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3815 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3816 if ${ac_cv_prog_cc_c89+:} false; then :
   3817   $as_echo_n "(cached) " >&6
   3818 else
   3819   ac_cv_prog_cc_c89=no
   3820 ac_save_CC=$CC
   3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3822 /* end confdefs.h.  */
   3823 #include <stdarg.h>
   3824 #include <stdio.h>
   3825 #include <sys/types.h>
   3826 #include <sys/stat.h>
   3827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3828 struct buf { int x; };
   3829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3830 static char *e (p, i)
   3831      char **p;
   3832      int i;
   3833 {
   3834   return p[i];
   3835 }
   3836 static char *f (char * (*g) (char **, int), char **p, ...)
   3837 {
   3838   char *s;
   3839   va_list v;
   3840   va_start (v,p);
   3841   s = g (p, va_arg (v,int));
   3842   va_end (v);
   3843   return s;
   3844 }
   3845 
   3846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3847    function prototypes and stuff, but not '\xHH' hex character constants.
   3848    These don't provoke an error unfortunately, instead are silently treated
   3849    as 'x'.  The following induces an error, until -std is added to get
   3850    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3851    array size at least.  It's necessary to write '\x00'==0 to get something
   3852    that's true only with -std.  */
   3853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3854 
   3855 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3856    inside strings and character constants.  */
   3857 #define FOO(x) 'x'
   3858 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3859 
   3860 int test (int i, double x);
   3861 struct s1 {int (*f) (int a);};
   3862 struct s2 {int (*f) (double a);};
   3863 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3864 int argc;
   3865 char **argv;
   3866 int
   3867 main ()
   3868 {
   3869 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3870   ;
   3871   return 0;
   3872 }
   3873 _ACEOF
   3874 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3875 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3876 do
   3877   CC="$ac_save_CC $ac_arg"
   3878   if ac_fn_c_try_compile "$LINENO"; then :
   3879   ac_cv_prog_cc_c89=$ac_arg
   3880 fi
   3881 rm -f core conftest.err conftest.$ac_objext
   3882   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3883 done
   3884 rm -f conftest.$ac_ext
   3885 CC=$ac_save_CC
   3886 
   3887 fi
   3888 # AC_CACHE_VAL
   3889 case "x$ac_cv_prog_cc_c89" in
   3890   x)
   3891     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3892 $as_echo "none needed" >&6; } ;;
   3893   xno)
   3894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3895 $as_echo "unsupported" >&6; } ;;
   3896   *)
   3897     CC="$CC $ac_cv_prog_cc_c89"
   3898     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3899 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3900 esac
   3901 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3902 
   3903 fi
   3904 
   3905 ac_ext=c
   3906 ac_cpp='$CPP $CPPFLAGS'
   3907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3910 
   3911 depcc="$CC"   am_compiler_list=
   3912 
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3914 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3915 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3916   $as_echo_n "(cached) " >&6
   3917 else
   3918   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3919   # We make a subdir and do the tests there.  Otherwise we can end up
   3920   # making bogus files that we don't know about and never remove.  For
   3921   # instance it was reported that on HP-UX the gcc test will end up
   3922   # making a dummy file named `D' -- because `-MD' means `put the output
   3923   # in D'.
   3924   rm -rf conftest.dir
   3925   mkdir conftest.dir
   3926   # Copy depcomp to subdir because otherwise we won't find it if we're
   3927   # using a relative directory.
   3928   cp "$am_depcomp" conftest.dir
   3929   cd conftest.dir
   3930   # We will build objects and dependencies in a subdirectory because
   3931   # it helps to detect inapplicable dependency modes.  For instance
   3932   # both Tru64's cc and ICC support -MD to output dependencies as a
   3933   # side effect of compilation, but ICC will put the dependencies in
   3934   # the current directory while Tru64 will put them in the object
   3935   # directory.
   3936   mkdir sub
   3937 
   3938   am_cv_CC_dependencies_compiler_type=none
   3939   if test "$am_compiler_list" = ""; then
   3940      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3941   fi
   3942   am__universal=false
   3943   case " $depcc " in #(
   3944      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3945      esac
   3946 
   3947   for depmode in $am_compiler_list; do
   3948     # Setup a source with many dependencies, because some compilers
   3949     # like to wrap large dependency lists on column 80 (with \), and
   3950     # we should not choose a depcomp mode which is confused by this.
   3951     #
   3952     # We need to recreate these files for each test, as the compiler may
   3953     # overwrite some of them when testing with obscure command lines.
   3954     # This happens at least with the AIX C compiler.
   3955     : > sub/conftest.c
   3956     for i in 1 2 3 4 5 6; do
   3957       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3958       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3959       # Solaris 8's {/usr,}/bin/sh.
   3960       touch sub/conftst$i.h
   3961     done
   3962     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3963 
   3964     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3965     # mode.  It turns out that the SunPro C++ compiler does not properly
   3966     # handle `-M -o', and we need to detect this.  Also, some Intel
   3967     # versions had trouble with output in subdirs
   3968     am__obj=sub/conftest.${OBJEXT-o}
   3969     am__minus_obj="-o $am__obj"
   3970     case $depmode in
   3971     gcc)
   3972       # This depmode causes a compiler race in universal mode.
   3973       test "$am__universal" = false || continue
   3974       ;;
   3975     nosideeffect)
   3976       # after this tag, mechanisms are not by side-effect, so they'll
   3977       # only be used when explicitly requested
   3978       if test "x$enable_dependency_tracking" = xyes; then
   3979 	continue
   3980       else
   3981 	break
   3982       fi
   3983       ;;
   3984     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3985       # This compiler won't grok `-c -o', but also, the minuso test has
   3986       # not run yet.  These depmodes are late enough in the game, and
   3987       # so weak that their functioning should not be impacted.
   3988       am__obj=conftest.${OBJEXT-o}
   3989       am__minus_obj=
   3990       ;;
   3991     none) break ;;
   3992     esac
   3993     if depmode=$depmode \
   3994        source=sub/conftest.c object=$am__obj \
   3995        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3996        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3997          >/dev/null 2>conftest.err &&
   3998        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3999        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4000        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4001        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4002       # icc doesn't choke on unknown options, it will just issue warnings
   4003       # or remarks (even with -Werror).  So we grep stderr for any message
   4004       # that says an option was ignored or not supported.
   4005       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4006       #   icc: Command line warning: ignoring option '-M'; no argument required
   4007       # The diagnosis changed in icc 8.0:
   4008       #   icc: Command line remark: option '-MP' not supported
   4009       if (grep 'ignoring option' conftest.err ||
   4010           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4011         am_cv_CC_dependencies_compiler_type=$depmode
   4012         break
   4013       fi
   4014     fi
   4015   done
   4016 
   4017   cd ..
   4018   rm -rf conftest.dir
   4019 else
   4020   am_cv_CC_dependencies_compiler_type=none
   4021 fi
   4022 
   4023 fi
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4025 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4026 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4027 
   4028  if
   4029   test "x$enable_dependency_tracking" != xno \
   4030   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4031   am__fastdepCC_TRUE=
   4032   am__fastdepCC_FALSE='#'
   4033 else
   4034   am__fastdepCC_TRUE='#'
   4035   am__fastdepCC_FALSE=
   4036 fi
   4037 
   4038 
   4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4041 if ${ac_cv_path_SED+:} false; then :
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4045      for ac_i in 1 2 3 4 5 6 7; do
   4046        ac_script="$ac_script$as_nl$ac_script"
   4047      done
   4048      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4049      { ac_script=; unset ac_script;}
   4050      if test -z "$SED"; then
   4051   ac_path_SED_found=false
   4052   # Loop through the user's path and test for each of PROGNAME-LIST
   4053   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4054 for as_dir in $PATH
   4055 do
   4056   IFS=$as_save_IFS
   4057   test -z "$as_dir" && as_dir=.
   4058     for ac_prog in sed gsed; do
   4059     for ac_exec_ext in '' $ac_executable_extensions; do
   4060       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4061       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4062 # Check for GNU ac_path_SED and select it if it is found.
   4063   # Check for GNU $ac_path_SED
   4064 case `"$ac_path_SED" --version 2>&1` in
   4065 *GNU*)
   4066   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4067 *)
   4068   ac_count=0
   4069   $as_echo_n 0123456789 >"conftest.in"
   4070   while :
   4071   do
   4072     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4073     mv "conftest.tmp" "conftest.in"
   4074     cp "conftest.in" "conftest.nl"
   4075     $as_echo '' >> "conftest.nl"
   4076     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4077     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4078     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4079     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4080       # Best one so far, save it but keep looking for a better one
   4081       ac_cv_path_SED="$ac_path_SED"
   4082       ac_path_SED_max=$ac_count
   4083     fi
   4084     # 10*(2^10) chars as input seems more than enough
   4085     test $ac_count -gt 10 && break
   4086   done
   4087   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4088 esac
   4089 
   4090       $ac_path_SED_found && break 3
   4091     done
   4092   done
   4093   done
   4094 IFS=$as_save_IFS
   4095   if test -z "$ac_cv_path_SED"; then
   4096     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4097   fi
   4098 else
   4099   ac_cv_path_SED=$SED
   4100 fi
   4101 
   4102 fi
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4104 $as_echo "$ac_cv_path_SED" >&6; }
   4105  SED="$ac_cv_path_SED"
   4106   rm -f conftest.sed
   4107 
   4108 test -z "$SED" && SED=sed
   4109 Xsed="$SED -e 1s/^X//"
   4110 
   4111 
   4112 
   4113 
   4114 
   4115 
   4116 
   4117 
   4118 
   4119 
   4120 
   4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4122 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4123 if ${ac_cv_path_GREP+:} false; then :
   4124   $as_echo_n "(cached) " >&6
   4125 else
   4126   if test -z "$GREP"; then
   4127   ac_path_GREP_found=false
   4128   # Loop through the user's path and test for each of PROGNAME-LIST
   4129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4131 do
   4132   IFS=$as_save_IFS
   4133   test -z "$as_dir" && as_dir=.
   4134     for ac_prog in grep ggrep; do
   4135     for ac_exec_ext in '' $ac_executable_extensions; do
   4136       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4137       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4138 # Check for GNU ac_path_GREP and select it if it is found.
   4139   # Check for GNU $ac_path_GREP
   4140 case `"$ac_path_GREP" --version 2>&1` in
   4141 *GNU*)
   4142   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4143 *)
   4144   ac_count=0
   4145   $as_echo_n 0123456789 >"conftest.in"
   4146   while :
   4147   do
   4148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4149     mv "conftest.tmp" "conftest.in"
   4150     cp "conftest.in" "conftest.nl"
   4151     $as_echo 'GREP' >> "conftest.nl"
   4152     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4155     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4156       # Best one so far, save it but keep looking for a better one
   4157       ac_cv_path_GREP="$ac_path_GREP"
   4158       ac_path_GREP_max=$ac_count
   4159     fi
   4160     # 10*(2^10) chars as input seems more than enough
   4161     test $ac_count -gt 10 && break
   4162   done
   4163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4164 esac
   4165 
   4166       $ac_path_GREP_found && break 3
   4167     done
   4168   done
   4169   done
   4170 IFS=$as_save_IFS
   4171   if test -z "$ac_cv_path_GREP"; then
   4172     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4173   fi
   4174 else
   4175   ac_cv_path_GREP=$GREP
   4176 fi
   4177 
   4178 fi
   4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4180 $as_echo "$ac_cv_path_GREP" >&6; }
   4181  GREP="$ac_cv_path_GREP"
   4182 
   4183 
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4185 $as_echo_n "checking for egrep... " >&6; }
   4186 if ${ac_cv_path_EGREP+:} false; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4190    then ac_cv_path_EGREP="$GREP -E"
   4191    else
   4192      if test -z "$EGREP"; then
   4193   ac_path_EGREP_found=false
   4194   # Loop through the user's path and test for each of PROGNAME-LIST
   4195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4197 do
   4198   IFS=$as_save_IFS
   4199   test -z "$as_dir" && as_dir=.
   4200     for ac_prog in egrep; do
   4201     for ac_exec_ext in '' $ac_executable_extensions; do
   4202       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4203       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4204 # Check for GNU ac_path_EGREP and select it if it is found.
   4205   # Check for GNU $ac_path_EGREP
   4206 case `"$ac_path_EGREP" --version 2>&1` in
   4207 *GNU*)
   4208   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4209 *)
   4210   ac_count=0
   4211   $as_echo_n 0123456789 >"conftest.in"
   4212   while :
   4213   do
   4214     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4215     mv "conftest.tmp" "conftest.in"
   4216     cp "conftest.in" "conftest.nl"
   4217     $as_echo 'EGREP' >> "conftest.nl"
   4218     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4219     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4220     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4221     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4222       # Best one so far, save it but keep looking for a better one
   4223       ac_cv_path_EGREP="$ac_path_EGREP"
   4224       ac_path_EGREP_max=$ac_count
   4225     fi
   4226     # 10*(2^10) chars as input seems more than enough
   4227     test $ac_count -gt 10 && break
   4228   done
   4229   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4230 esac
   4231 
   4232       $ac_path_EGREP_found && break 3
   4233     done
   4234   done
   4235   done
   4236 IFS=$as_save_IFS
   4237   if test -z "$ac_cv_path_EGREP"; then
   4238     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4239   fi
   4240 else
   4241   ac_cv_path_EGREP=$EGREP
   4242 fi
   4243 
   4244    fi
   4245 fi
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4247 $as_echo "$ac_cv_path_EGREP" >&6; }
   4248  EGREP="$ac_cv_path_EGREP"
   4249 
   4250 
   4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4252 $as_echo_n "checking for fgrep... " >&6; }
   4253 if ${ac_cv_path_FGREP+:} false; then :
   4254   $as_echo_n "(cached) " >&6
   4255 else
   4256   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4257    then ac_cv_path_FGREP="$GREP -F"
   4258    else
   4259      if test -z "$FGREP"; then
   4260   ac_path_FGREP_found=false
   4261   # Loop through the user's path and test for each of PROGNAME-LIST
   4262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4263 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4264 do
   4265   IFS=$as_save_IFS
   4266   test -z "$as_dir" && as_dir=.
   4267     for ac_prog in fgrep; do
   4268     for ac_exec_ext in '' $ac_executable_extensions; do
   4269       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4270       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4271 # Check for GNU ac_path_FGREP and select it if it is found.
   4272   # Check for GNU $ac_path_FGREP
   4273 case `"$ac_path_FGREP" --version 2>&1` in
   4274 *GNU*)
   4275   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4276 *)
   4277   ac_count=0
   4278   $as_echo_n 0123456789 >"conftest.in"
   4279   while :
   4280   do
   4281     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4282     mv "conftest.tmp" "conftest.in"
   4283     cp "conftest.in" "conftest.nl"
   4284     $as_echo 'FGREP' >> "conftest.nl"
   4285     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4286     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4287     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4288     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4289       # Best one so far, save it but keep looking for a better one
   4290       ac_cv_path_FGREP="$ac_path_FGREP"
   4291       ac_path_FGREP_max=$ac_count
   4292     fi
   4293     # 10*(2^10) chars as input seems more than enough
   4294     test $ac_count -gt 10 && break
   4295   done
   4296   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4297 esac
   4298 
   4299       $ac_path_FGREP_found && break 3
   4300     done
   4301   done
   4302   done
   4303 IFS=$as_save_IFS
   4304   if test -z "$ac_cv_path_FGREP"; then
   4305     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4306   fi
   4307 else
   4308   ac_cv_path_FGREP=$FGREP
   4309 fi
   4310 
   4311    fi
   4312 fi
   4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4314 $as_echo "$ac_cv_path_FGREP" >&6; }
   4315  FGREP="$ac_cv_path_FGREP"
   4316 
   4317 
   4318 test -z "$GREP" && GREP=grep
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 
   4338 # Check whether --with-gnu-ld was given.
   4339 if test "${with_gnu_ld+set}" = set; then :
   4340   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4341 else
   4342   with_gnu_ld=no
   4343 fi
   4344 
   4345 ac_prog=ld
   4346 if test "$GCC" = yes; then
   4347   # Check if gcc -print-prog-name=ld gives a path.
   4348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4349 $as_echo_n "checking for ld used by $CC... " >&6; }
   4350   case $host in
   4351   *-*-mingw*)
   4352     # gcc leaves a trailing carriage return which upsets mingw
   4353     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4354   *)
   4355     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4356   esac
   4357   case $ac_prog in
   4358     # Accept absolute paths.
   4359     [\\/]* | ?:[\\/]*)
   4360       re_direlt='/[^/][^/]*/\.\./'
   4361       # Canonicalize the pathname of ld
   4362       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4363       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4364 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4365       done
   4366       test -z "$LD" && LD="$ac_prog"
   4367       ;;
   4368   "")
   4369     # If it fails, then pretend we aren't using GCC.
   4370     ac_prog=ld
   4371     ;;
   4372   *)
   4373     # If it is relative, then search for the first ld in PATH.
   4374     with_gnu_ld=unknown
   4375     ;;
   4376   esac
   4377 elif test "$with_gnu_ld" = yes; then
   4378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4379 $as_echo_n "checking for GNU ld... " >&6; }
   4380 else
   4381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4382 $as_echo_n "checking for non-GNU ld... " >&6; }
   4383 fi
   4384 if ${lt_cv_path_LD+:} false; then :
   4385   $as_echo_n "(cached) " >&6
   4386 else
   4387   if test -z "$LD"; then
   4388   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4389   for ac_dir in $PATH; do
   4390     IFS="$lt_save_ifs"
   4391     test -z "$ac_dir" && ac_dir=.
   4392     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4393       lt_cv_path_LD="$ac_dir/$ac_prog"
   4394       # Check to see if the program is GNU ld.  I'd rather use --version,
   4395       # but apparently some variants of GNU ld only accept -v.
   4396       # Break only if it was the GNU/non-GNU ld that we prefer.
   4397       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4398       *GNU* | *'with BFD'*)
   4399 	test "$with_gnu_ld" != no && break
   4400 	;;
   4401       *)
   4402 	test "$with_gnu_ld" != yes && break
   4403 	;;
   4404       esac
   4405     fi
   4406   done
   4407   IFS="$lt_save_ifs"
   4408 else
   4409   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4410 fi
   4411 fi
   4412 
   4413 LD="$lt_cv_path_LD"
   4414 if test -n "$LD"; then
   4415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4416 $as_echo "$LD" >&6; }
   4417 else
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4419 $as_echo "no" >&6; }
   4420 fi
   4421 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4423 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4424 if ${lt_cv_prog_gnu_ld+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4428 case `$LD -v 2>&1 </dev/null` in
   4429 *GNU* | *'with BFD'*)
   4430   lt_cv_prog_gnu_ld=yes
   4431   ;;
   4432 *)
   4433   lt_cv_prog_gnu_ld=no
   4434   ;;
   4435 esac
   4436 fi
   4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4438 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4439 with_gnu_ld=$lt_cv_prog_gnu_ld
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4450 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4451 if ${lt_cv_path_NM+:} false; then :
   4452   $as_echo_n "(cached) " >&6
   4453 else
   4454   if test -n "$NM"; then
   4455   # Let the user override the test.
   4456   lt_cv_path_NM="$NM"
   4457 else
   4458   lt_nm_to_check="${ac_tool_prefix}nm"
   4459   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4460     lt_nm_to_check="$lt_nm_to_check nm"
   4461   fi
   4462   for lt_tmp_nm in $lt_nm_to_check; do
   4463     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4464     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4465       IFS="$lt_save_ifs"
   4466       test -z "$ac_dir" && ac_dir=.
   4467       tmp_nm="$ac_dir/$lt_tmp_nm"
   4468       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4469 	# Check to see if the nm accepts a BSD-compat flag.
   4470 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4471 	#   nm: unknown option "B" ignored
   4472 	# Tru64's nm complains that /dev/null is an invalid object file
   4473 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4474 	*/dev/null* | *'Invalid file or object type'*)
   4475 	  lt_cv_path_NM="$tmp_nm -B"
   4476 	  break
   4477 	  ;;
   4478 	*)
   4479 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4480 	  */dev/null*)
   4481 	    lt_cv_path_NM="$tmp_nm -p"
   4482 	    break
   4483 	    ;;
   4484 	  *)
   4485 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4486 	    continue # so that we can try to find one that supports BSD flags
   4487 	    ;;
   4488 	  esac
   4489 	  ;;
   4490 	esac
   4491       fi
   4492     done
   4493     IFS="$lt_save_ifs"
   4494   done
   4495   : ${lt_cv_path_NM=no}
   4496 fi
   4497 fi
   4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4499 $as_echo "$lt_cv_path_NM" >&6; }
   4500 if test "$lt_cv_path_NM" != "no"; then
   4501   NM="$lt_cv_path_NM"
   4502 else
   4503   # Didn't find any BSD compatible name lister, look for dumpbin.
   4504   if test -n "$DUMPBIN"; then :
   4505     # Let the user override the test.
   4506   else
   4507     if test -n "$ac_tool_prefix"; then
   4508   for ac_prog in dumpbin "link -dump"
   4509   do
   4510     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4513 $as_echo_n "checking for $ac_word... " >&6; }
   4514 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4515   $as_echo_n "(cached) " >&6
   4516 else
   4517   if test -n "$DUMPBIN"; then
   4518   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4519 else
   4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4521 for as_dir in $PATH
   4522 do
   4523   IFS=$as_save_IFS
   4524   test -z "$as_dir" && as_dir=.
   4525     for ac_exec_ext in '' $ac_executable_extensions; do
   4526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4527     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4529     break 2
   4530   fi
   4531 done
   4532   done
   4533 IFS=$as_save_IFS
   4534 
   4535 fi
   4536 fi
   4537 DUMPBIN=$ac_cv_prog_DUMPBIN
   4538 if test -n "$DUMPBIN"; then
   4539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4540 $as_echo "$DUMPBIN" >&6; }
   4541 else
   4542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4543 $as_echo "no" >&6; }
   4544 fi
   4545 
   4546 
   4547     test -n "$DUMPBIN" && break
   4548   done
   4549 fi
   4550 if test -z "$DUMPBIN"; then
   4551   ac_ct_DUMPBIN=$DUMPBIN
   4552   for ac_prog in dumpbin "link -dump"
   4553 do
   4554   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4555 set dummy $ac_prog; ac_word=$2
   4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4557 $as_echo_n "checking for $ac_word... " >&6; }
   4558 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4559   $as_echo_n "(cached) " >&6
   4560 else
   4561   if test -n "$ac_ct_DUMPBIN"; then
   4562   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4563 else
   4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4565 for as_dir in $PATH
   4566 do
   4567   IFS=$as_save_IFS
   4568   test -z "$as_dir" && as_dir=.
   4569     for ac_exec_ext in '' $ac_executable_extensions; do
   4570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4571     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4573     break 2
   4574   fi
   4575 done
   4576   done
   4577 IFS=$as_save_IFS
   4578 
   4579 fi
   4580 fi
   4581 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4582 if test -n "$ac_ct_DUMPBIN"; then
   4583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4584 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4585 else
   4586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4587 $as_echo "no" >&6; }
   4588 fi
   4589 
   4590 
   4591   test -n "$ac_ct_DUMPBIN" && break
   4592 done
   4593 
   4594   if test "x$ac_ct_DUMPBIN" = x; then
   4595     DUMPBIN=":"
   4596   else
   4597     case $cross_compiling:$ac_tool_warned in
   4598 yes:)
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4601 ac_tool_warned=yes ;;
   4602 esac
   4603     DUMPBIN=$ac_ct_DUMPBIN
   4604   fi
   4605 fi
   4606 
   4607     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4608     *COFF*)
   4609       DUMPBIN="$DUMPBIN -symbols"
   4610       ;;
   4611     *)
   4612       DUMPBIN=:
   4613       ;;
   4614     esac
   4615   fi
   4616 
   4617   if test "$DUMPBIN" != ":"; then
   4618     NM="$DUMPBIN"
   4619   fi
   4620 fi
   4621 test -z "$NM" && NM=nm
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4629 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4630 if ${lt_cv_nm_interface+:} false; then :
   4631   $as_echo_n "(cached) " >&6
   4632 else
   4633   lt_cv_nm_interface="BSD nm"
   4634   echo "int some_variable = 0;" > conftest.$ac_ext
   4635   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4636   (eval "$ac_compile" 2>conftest.err)
   4637   cat conftest.err >&5
   4638   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4639   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4640   cat conftest.err >&5
   4641   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4642   cat conftest.out >&5
   4643   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4644     lt_cv_nm_interface="MS dumpbin"
   4645   fi
   4646   rm -f conftest*
   4647 fi
   4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4649 $as_echo "$lt_cv_nm_interface" >&6; }
   4650 
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4652 $as_echo_n "checking whether ln -s works... " >&6; }
   4653 LN_S=$as_ln_s
   4654 if test "$LN_S" = "ln -s"; then
   4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4656 $as_echo "yes" >&6; }
   4657 else
   4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4659 $as_echo "no, using $LN_S" >&6; }
   4660 fi
   4661 
   4662 # find the maximum length of command line arguments
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4664 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4665 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4666   $as_echo_n "(cached) " >&6
   4667 else
   4668     i=0
   4669   teststring="ABCD"
   4670 
   4671   case $build_os in
   4672   msdosdjgpp*)
   4673     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4674     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4675     # during glob expansion).  Even if it were fixed, the result of this
   4676     # check would be larger than it should be.
   4677     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4678     ;;
   4679 
   4680   gnu*)
   4681     # Under GNU Hurd, this test is not required because there is
   4682     # no limit to the length of command line arguments.
   4683     # Libtool will interpret -1 as no limit whatsoever
   4684     lt_cv_sys_max_cmd_len=-1;
   4685     ;;
   4686 
   4687   cygwin* | mingw* | cegcc*)
   4688     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4689     # about 5 minutes as the teststring grows exponentially.
   4690     # Worse, since 9x/ME are not pre-emptively multitasking,
   4691     # you end up with a "frozen" computer, even though with patience
   4692     # the test eventually succeeds (with a max line length of 256k).
   4693     # Instead, let's just punt: use the minimum linelength reported by
   4694     # all of the supported platforms: 8192 (on NT/2K/XP).
   4695     lt_cv_sys_max_cmd_len=8192;
   4696     ;;
   4697 
   4698   mint*)
   4699     # On MiNT this can take a long time and run out of memory.
   4700     lt_cv_sys_max_cmd_len=8192;
   4701     ;;
   4702 
   4703   amigaos*)
   4704     # On AmigaOS with pdksh, this test takes hours, literally.
   4705     # So we just punt and use a minimum line length of 8192.
   4706     lt_cv_sys_max_cmd_len=8192;
   4707     ;;
   4708 
   4709   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4710     # This has been around since 386BSD, at least.  Likely further.
   4711     if test -x /sbin/sysctl; then
   4712       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4713     elif test -x /usr/sbin/sysctl; then
   4714       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4715     else
   4716       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4717     fi
   4718     # And add a safety zone
   4719     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4720     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4721     ;;
   4722 
   4723   interix*)
   4724     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4725     lt_cv_sys_max_cmd_len=196608
   4726     ;;
   4727 
   4728   os2*)
   4729     # The test takes a long time on OS/2.
   4730     lt_cv_sys_max_cmd_len=8192
   4731     ;;
   4732 
   4733   osf*)
   4734     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4735     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4736     # nice to cause kernel panics so lets avoid the loop below.
   4737     # First set a reasonable default.
   4738     lt_cv_sys_max_cmd_len=16384
   4739     #
   4740     if test -x /sbin/sysconfig; then
   4741       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4742         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4743       esac
   4744     fi
   4745     ;;
   4746   sco3.2v5*)
   4747     lt_cv_sys_max_cmd_len=102400
   4748     ;;
   4749   sysv5* | sco5v6* | sysv4.2uw2*)
   4750     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4751     if test -n "$kargmax"; then
   4752       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4753     else
   4754       lt_cv_sys_max_cmd_len=32768
   4755     fi
   4756     ;;
   4757   *)
   4758     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4759     if test -n "$lt_cv_sys_max_cmd_len"; then
   4760       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4761       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4762     else
   4763       # Make teststring a little bigger before we do anything with it.
   4764       # a 1K string should be a reasonable start.
   4765       for i in 1 2 3 4 5 6 7 8 ; do
   4766         teststring=$teststring$teststring
   4767       done
   4768       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4769       # If test is not a shell built-in, we'll probably end up computing a
   4770       # maximum length that is only half of the actual maximum length, but
   4771       # we can't tell.
   4772       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4773 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4774 	      test $i != 17 # 1/2 MB should be enough
   4775       do
   4776         i=`expr $i + 1`
   4777         teststring=$teststring$teststring
   4778       done
   4779       # Only check the string length outside the loop.
   4780       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4781       teststring=
   4782       # Add a significant safety factor because C++ compilers can tack on
   4783       # massive amounts of additional arguments before passing them to the
   4784       # linker.  It appears as though 1/2 is a usable value.
   4785       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4786     fi
   4787     ;;
   4788   esac
   4789 
   4790 fi
   4791 
   4792 if test -n $lt_cv_sys_max_cmd_len ; then
   4793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4794 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4795 else
   4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4797 $as_echo "none" >&6; }
   4798 fi
   4799 max_cmd_len=$lt_cv_sys_max_cmd_len
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 : ${CP="cp -f"}
   4807 : ${MV="mv -f"}
   4808 : ${RM="rm -f"}
   4809 
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4811 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4812 # Try some XSI features
   4813 xsi_shell=no
   4814 ( _lt_dummy="a/b/c"
   4815   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4816       = c,a/b,b/c, \
   4817     && eval 'test $(( 1 + 1 )) -eq 2 \
   4818     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4819   && xsi_shell=yes
   4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4821 $as_echo "$xsi_shell" >&6; }
   4822 
   4823 
   4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4825 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4826 lt_shell_append=no
   4827 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4828     >/dev/null 2>&1 \
   4829   && lt_shell_append=yes
   4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4831 $as_echo "$lt_shell_append" >&6; }
   4832 
   4833 
   4834 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4835   lt_unset=unset
   4836 else
   4837   lt_unset=false
   4838 fi
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 # test EBCDIC or ASCII
   4845 case `echo X|tr X '\101'` in
   4846  A) # ASCII based system
   4847     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4848   lt_SP2NL='tr \040 \012'
   4849   lt_NL2SP='tr \015\012 \040\040'
   4850   ;;
   4851  *) # EBCDIC based system
   4852   lt_SP2NL='tr \100 \n'
   4853   lt_NL2SP='tr \r\n \100\100'
   4854   ;;
   4855 esac
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4866 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4867 if ${lt_cv_to_host_file_cmd+:} false; then :
   4868   $as_echo_n "(cached) " >&6
   4869 else
   4870   case $host in
   4871   *-*-mingw* )
   4872     case $build in
   4873       *-*-mingw* ) # actually msys
   4874         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4875         ;;
   4876       *-*-cygwin* )
   4877         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4878         ;;
   4879       * ) # otherwise, assume *nix
   4880         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4881         ;;
   4882     esac
   4883     ;;
   4884   *-*-cygwin* )
   4885     case $build in
   4886       *-*-mingw* ) # actually msys
   4887         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4888         ;;
   4889       *-*-cygwin* )
   4890         lt_cv_to_host_file_cmd=func_convert_file_noop
   4891         ;;
   4892       * ) # otherwise, assume *nix
   4893         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4894         ;;
   4895     esac
   4896     ;;
   4897   * ) # unhandled hosts (and "normal" native builds)
   4898     lt_cv_to_host_file_cmd=func_convert_file_noop
   4899     ;;
   4900 esac
   4901 
   4902 fi
   4903 
   4904 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4906 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4913 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4914 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4915   $as_echo_n "(cached) " >&6
   4916 else
   4917   #assume ordinary cross tools, or native build.
   4918 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4919 case $host in
   4920   *-*-mingw* )
   4921     case $build in
   4922       *-*-mingw* ) # actually msys
   4923         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4924         ;;
   4925     esac
   4926     ;;
   4927 esac
   4928 
   4929 fi
   4930 
   4931 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4933 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4940 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4941 if ${lt_cv_ld_reload_flag+:} false; then :
   4942   $as_echo_n "(cached) " >&6
   4943 else
   4944   lt_cv_ld_reload_flag='-r'
   4945 fi
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4947 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4948 reload_flag=$lt_cv_ld_reload_flag
   4949 case $reload_flag in
   4950 "" | " "*) ;;
   4951 *) reload_flag=" $reload_flag" ;;
   4952 esac
   4953 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4954 case $host_os in
   4955   cygwin* | mingw* | pw32* | cegcc*)
   4956     if test "$GCC" != yes; then
   4957       reload_cmds=false
   4958     fi
   4959     ;;
   4960   darwin*)
   4961     if test "$GCC" = yes; then
   4962       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4963     else
   4964       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4965     fi
   4966     ;;
   4967 esac
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 if test -n "$ac_tool_prefix"; then
   4978   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4979 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4981 $as_echo_n "checking for $ac_word... " >&6; }
   4982 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4983   $as_echo_n "(cached) " >&6
   4984 else
   4985   if test -n "$OBJDUMP"; then
   4986   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4987 else
   4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4989 for as_dir in $PATH
   4990 do
   4991   IFS=$as_save_IFS
   4992   test -z "$as_dir" && as_dir=.
   4993     for ac_exec_ext in '' $ac_executable_extensions; do
   4994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4995     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4997     break 2
   4998   fi
   4999 done
   5000   done
   5001 IFS=$as_save_IFS
   5002 
   5003 fi
   5004 fi
   5005 OBJDUMP=$ac_cv_prog_OBJDUMP
   5006 if test -n "$OBJDUMP"; then
   5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5008 $as_echo "$OBJDUMP" >&6; }
   5009 else
   5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5011 $as_echo "no" >&6; }
   5012 fi
   5013 
   5014 
   5015 fi
   5016 if test -z "$ac_cv_prog_OBJDUMP"; then
   5017   ac_ct_OBJDUMP=$OBJDUMP
   5018   # Extract the first word of "objdump", so it can be a program name with args.
   5019 set dummy objdump; ac_word=$2
   5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5021 $as_echo_n "checking for $ac_word... " >&6; }
   5022 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5023   $as_echo_n "(cached) " >&6
   5024 else
   5025   if test -n "$ac_ct_OBJDUMP"; then
   5026   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5027 else
   5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5029 for as_dir in $PATH
   5030 do
   5031   IFS=$as_save_IFS
   5032   test -z "$as_dir" && as_dir=.
   5033     for ac_exec_ext in '' $ac_executable_extensions; do
   5034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5035     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5037     break 2
   5038   fi
   5039 done
   5040   done
   5041 IFS=$as_save_IFS
   5042 
   5043 fi
   5044 fi
   5045 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5046 if test -n "$ac_ct_OBJDUMP"; then
   5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5048 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5049 else
   5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5051 $as_echo "no" >&6; }
   5052 fi
   5053 
   5054   if test "x$ac_ct_OBJDUMP" = x; then
   5055     OBJDUMP="false"
   5056   else
   5057     case $cross_compiling:$ac_tool_warned in
   5058 yes:)
   5059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5061 ac_tool_warned=yes ;;
   5062 esac
   5063     OBJDUMP=$ac_ct_OBJDUMP
   5064   fi
   5065 else
   5066   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5067 fi
   5068 
   5069 test -z "$OBJDUMP" && OBJDUMP=objdump
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5080 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5081 if ${lt_cv_deplibs_check_method+:} false; then :
   5082   $as_echo_n "(cached) " >&6
   5083 else
   5084   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5085 lt_cv_file_magic_test_file=
   5086 lt_cv_deplibs_check_method='unknown'
   5087 # Need to set the preceding variable on all platforms that support
   5088 # interlibrary dependencies.
   5089 # 'none' -- dependencies not supported.
   5090 # `unknown' -- same as none, but documents that we really don't know.
   5091 # 'pass_all' -- all dependencies passed with no checks.
   5092 # 'test_compile' -- check by making test program.
   5093 # 'file_magic [[regex]]' -- check by looking for files in library path
   5094 # which responds to the $file_magic_cmd with a given extended regex.
   5095 # If you have `file' or equivalent on your system and you're not sure
   5096 # whether `pass_all' will *always* work, you probably want this one.
   5097 
   5098 case $host_os in
   5099 aix[4-9]*)
   5100   lt_cv_deplibs_check_method=pass_all
   5101   ;;
   5102 
   5103 beos*)
   5104   lt_cv_deplibs_check_method=pass_all
   5105   ;;
   5106 
   5107 bsdi[45]*)
   5108   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5109   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5110   lt_cv_file_magic_test_file=/shlib/libc.so
   5111   ;;
   5112 
   5113 cygwin*)
   5114   # func_win32_libid is a shell function defined in ltmain.sh
   5115   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5116   lt_cv_file_magic_cmd='func_win32_libid'
   5117   ;;
   5118 
   5119 mingw* | pw32*)
   5120   # Base MSYS/MinGW do not provide the 'file' command needed by
   5121   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5122   # unless we find 'file', for example because we are cross-compiling.
   5123   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5124   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5125     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5126     lt_cv_file_magic_cmd='func_win32_libid'
   5127   else
   5128     # Keep this pattern in sync with the one in func_win32_libid.
   5129     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5130     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5131   fi
   5132   ;;
   5133 
   5134 cegcc*)
   5135   # use the weaker test based on 'objdump'. See mingw*.
   5136   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5137   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5138   ;;
   5139 
   5140 darwin* | rhapsody*)
   5141   lt_cv_deplibs_check_method=pass_all
   5142   ;;
   5143 
   5144 freebsd* | dragonfly*)
   5145   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5146     case $host_cpu in
   5147     i*86 )
   5148       # Not sure whether the presence of OpenBSD here was a mistake.
   5149       # Let's accept both of them until this is cleared up.
   5150       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5151       lt_cv_file_magic_cmd=/usr/bin/file
   5152       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5153       ;;
   5154     esac
   5155   else
   5156     lt_cv_deplibs_check_method=pass_all
   5157   fi
   5158   ;;
   5159 
   5160 gnu*)
   5161   lt_cv_deplibs_check_method=pass_all
   5162   ;;
   5163 
   5164 haiku*)
   5165   lt_cv_deplibs_check_method=pass_all
   5166   ;;
   5167 
   5168 hpux10.20* | hpux11*)
   5169   lt_cv_file_magic_cmd=/usr/bin/file
   5170   case $host_cpu in
   5171   ia64*)
   5172     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5173     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5174     ;;
   5175   hppa*64*)
   5176     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]'
   5177     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5178     ;;
   5179   *)
   5180     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5181     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5182     ;;
   5183   esac
   5184   ;;
   5185 
   5186 interix[3-9]*)
   5187   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5188   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5189   ;;
   5190 
   5191 irix5* | irix6* | nonstopux*)
   5192   case $LD in
   5193   *-32|*"-32 ") libmagic=32-bit;;
   5194   *-n32|*"-n32 ") libmagic=N32;;
   5195   *-64|*"-64 ") libmagic=64-bit;;
   5196   *) libmagic=never-match;;
   5197   esac
   5198   lt_cv_deplibs_check_method=pass_all
   5199   ;;
   5200 
   5201 # This must be glibc/ELF.
   5202 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5203   lt_cv_deplibs_check_method=pass_all
   5204   ;;
   5205 
   5206 netbsd* | netbsdelf*-gnu)
   5207   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5208     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5209   else
   5210     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5211   fi
   5212   ;;
   5213 
   5214 newos6*)
   5215   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5216   lt_cv_file_magic_cmd=/usr/bin/file
   5217   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5218   ;;
   5219 
   5220 *nto* | *qnx*)
   5221   lt_cv_deplibs_check_method=pass_all
   5222   ;;
   5223 
   5224 openbsd*)
   5225   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5226     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5227   else
   5228     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5229   fi
   5230   ;;
   5231 
   5232 osf3* | osf4* | osf5*)
   5233   lt_cv_deplibs_check_method=pass_all
   5234   ;;
   5235 
   5236 rdos*)
   5237   lt_cv_deplibs_check_method=pass_all
   5238   ;;
   5239 
   5240 solaris*)
   5241   lt_cv_deplibs_check_method=pass_all
   5242   ;;
   5243 
   5244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5245   lt_cv_deplibs_check_method=pass_all
   5246   ;;
   5247 
   5248 sysv4 | sysv4.3*)
   5249   case $host_vendor in
   5250   motorola)
   5251     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]'
   5252     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5253     ;;
   5254   ncr)
   5255     lt_cv_deplibs_check_method=pass_all
   5256     ;;
   5257   sequent)
   5258     lt_cv_file_magic_cmd='/bin/file'
   5259     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5260     ;;
   5261   sni)
   5262     lt_cv_file_magic_cmd='/bin/file'
   5263     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5264     lt_cv_file_magic_test_file=/lib/libc.so
   5265     ;;
   5266   siemens)
   5267     lt_cv_deplibs_check_method=pass_all
   5268     ;;
   5269   pc)
   5270     lt_cv_deplibs_check_method=pass_all
   5271     ;;
   5272   esac
   5273   ;;
   5274 
   5275 tpf*)
   5276   lt_cv_deplibs_check_method=pass_all
   5277   ;;
   5278 esac
   5279 
   5280 fi
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5282 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5283 
   5284 file_magic_glob=
   5285 want_nocaseglob=no
   5286 if test "$build" = "$host"; then
   5287   case $host_os in
   5288   mingw* | pw32*)
   5289     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5290       want_nocaseglob=yes
   5291     else
   5292       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5293     fi
   5294     ;;
   5295   esac
   5296 fi
   5297 
   5298 file_magic_cmd=$lt_cv_file_magic_cmd
   5299 deplibs_check_method=$lt_cv_deplibs_check_method
   5300 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 if test -n "$ac_tool_prefix"; then
   5324   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5325 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5327 $as_echo_n "checking for $ac_word... " >&6; }
   5328 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5329   $as_echo_n "(cached) " >&6
   5330 else
   5331   if test -n "$DLLTOOL"; then
   5332   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5333 else
   5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5335 for as_dir in $PATH
   5336 do
   5337   IFS=$as_save_IFS
   5338   test -z "$as_dir" && as_dir=.
   5339     for ac_exec_ext in '' $ac_executable_extensions; do
   5340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5341     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5343     break 2
   5344   fi
   5345 done
   5346   done
   5347 IFS=$as_save_IFS
   5348 
   5349 fi
   5350 fi
   5351 DLLTOOL=$ac_cv_prog_DLLTOOL
   5352 if test -n "$DLLTOOL"; then
   5353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5354 $as_echo "$DLLTOOL" >&6; }
   5355 else
   5356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5357 $as_echo "no" >&6; }
   5358 fi
   5359 
   5360 
   5361 fi
   5362 if test -z "$ac_cv_prog_DLLTOOL"; then
   5363   ac_ct_DLLTOOL=$DLLTOOL
   5364   # Extract the first word of "dlltool", so it can be a program name with args.
   5365 set dummy dlltool; ac_word=$2
   5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5367 $as_echo_n "checking for $ac_word... " >&6; }
   5368 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5369   $as_echo_n "(cached) " >&6
   5370 else
   5371   if test -n "$ac_ct_DLLTOOL"; then
   5372   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5373 else
   5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5375 for as_dir in $PATH
   5376 do
   5377   IFS=$as_save_IFS
   5378   test -z "$as_dir" && as_dir=.
   5379     for ac_exec_ext in '' $ac_executable_extensions; do
   5380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5381     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5383     break 2
   5384   fi
   5385 done
   5386   done
   5387 IFS=$as_save_IFS
   5388 
   5389 fi
   5390 fi
   5391 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5392 if test -n "$ac_ct_DLLTOOL"; then
   5393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5394 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5395 else
   5396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5397 $as_echo "no" >&6; }
   5398 fi
   5399 
   5400   if test "x$ac_ct_DLLTOOL" = x; then
   5401     DLLTOOL="false"
   5402   else
   5403     case $cross_compiling:$ac_tool_warned in
   5404 yes:)
   5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5407 ac_tool_warned=yes ;;
   5408 esac
   5409     DLLTOOL=$ac_ct_DLLTOOL
   5410   fi
   5411 else
   5412   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5413 fi
   5414 
   5415 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5427 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5428 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5429   $as_echo_n "(cached) " >&6
   5430 else
   5431   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5432 
   5433 case $host_os in
   5434 cygwin* | mingw* | pw32* | cegcc*)
   5435   # two different shell functions defined in ltmain.sh
   5436   # decide which to use based on capabilities of $DLLTOOL
   5437   case `$DLLTOOL --help 2>&1` in
   5438   *--identify-strict*)
   5439     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5440     ;;
   5441   *)
   5442     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5443     ;;
   5444   esac
   5445   ;;
   5446 *)
   5447   # fallback: assume linklib IS sharedlib
   5448   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5449   ;;
   5450 esac
   5451 
   5452 fi
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5454 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5455 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5456 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 if test -n "$ac_tool_prefix"; then
   5466   for ac_prog in ar
   5467   do
   5468     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5471 $as_echo_n "checking for $ac_word... " >&6; }
   5472 if ${ac_cv_prog_AR+:} false; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   if test -n "$AR"; then
   5476   ac_cv_prog_AR="$AR" # Let the user override the test.
   5477 else
   5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5479 for as_dir in $PATH
   5480 do
   5481   IFS=$as_save_IFS
   5482   test -z "$as_dir" && as_dir=.
   5483     for ac_exec_ext in '' $ac_executable_extensions; do
   5484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5485     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5487     break 2
   5488   fi
   5489 done
   5490   done
   5491 IFS=$as_save_IFS
   5492 
   5493 fi
   5494 fi
   5495 AR=$ac_cv_prog_AR
   5496 if test -n "$AR"; then
   5497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5498 $as_echo "$AR" >&6; }
   5499 else
   5500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5501 $as_echo "no" >&6; }
   5502 fi
   5503 
   5504 
   5505     test -n "$AR" && break
   5506   done
   5507 fi
   5508 if test -z "$AR"; then
   5509   ac_ct_AR=$AR
   5510   for ac_prog in ar
   5511 do
   5512   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5513 set dummy $ac_prog; ac_word=$2
   5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5515 $as_echo_n "checking for $ac_word... " >&6; }
   5516 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5517   $as_echo_n "(cached) " >&6
   5518 else
   5519   if test -n "$ac_ct_AR"; then
   5520   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5521 else
   5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5523 for as_dir in $PATH
   5524 do
   5525   IFS=$as_save_IFS
   5526   test -z "$as_dir" && as_dir=.
   5527     for ac_exec_ext in '' $ac_executable_extensions; do
   5528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5529     ac_cv_prog_ac_ct_AR="$ac_prog"
   5530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5531     break 2
   5532   fi
   5533 done
   5534   done
   5535 IFS=$as_save_IFS
   5536 
   5537 fi
   5538 fi
   5539 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5540 if test -n "$ac_ct_AR"; then
   5541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5542 $as_echo "$ac_ct_AR" >&6; }
   5543 else
   5544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5545 $as_echo "no" >&6; }
   5546 fi
   5547 
   5548 
   5549   test -n "$ac_ct_AR" && break
   5550 done
   5551 
   5552   if test "x$ac_ct_AR" = x; then
   5553     AR="false"
   5554   else
   5555     case $cross_compiling:$ac_tool_warned in
   5556 yes:)
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5559 ac_tool_warned=yes ;;
   5560 esac
   5561     AR=$ac_ct_AR
   5562   fi
   5563 fi
   5564 
   5565 : ${AR=ar}
   5566 : ${AR_FLAGS=cru}
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5579 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5580 if ${lt_cv_ar_at_file+:} false; then :
   5581   $as_echo_n "(cached) " >&6
   5582 else
   5583   lt_cv_ar_at_file=no
   5584    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 
   5587 int
   5588 main ()
   5589 {
   5590 
   5591   ;
   5592   return 0;
   5593 }
   5594 _ACEOF
   5595 if ac_fn_c_try_compile "$LINENO"; then :
   5596   echo conftest.$ac_objext > conftest.lst
   5597       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5598       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5599   (eval $lt_ar_try) 2>&5
   5600   ac_status=$?
   5601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5602   test $ac_status = 0; }
   5603       if test "$ac_status" -eq 0; then
   5604 	# Ensure the archiver fails upon bogus file names.
   5605 	rm -f conftest.$ac_objext libconftest.a
   5606 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5607   (eval $lt_ar_try) 2>&5
   5608   ac_status=$?
   5609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5610   test $ac_status = 0; }
   5611 	if test "$ac_status" -ne 0; then
   5612           lt_cv_ar_at_file=@
   5613         fi
   5614       fi
   5615       rm -f conftest.* libconftest.a
   5616 
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5619 
   5620 fi
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5622 $as_echo "$lt_cv_ar_at_file" >&6; }
   5623 
   5624 if test "x$lt_cv_ar_at_file" = xno; then
   5625   archiver_list_spec=
   5626 else
   5627   archiver_list_spec=$lt_cv_ar_at_file
   5628 fi
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 if test -n "$ac_tool_prefix"; then
   5637   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5638 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5640 $as_echo_n "checking for $ac_word... " >&6; }
   5641 if ${ac_cv_prog_STRIP+:} false; then :
   5642   $as_echo_n "(cached) " >&6
   5643 else
   5644   if test -n "$STRIP"; then
   5645   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5646 else
   5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5648 for as_dir in $PATH
   5649 do
   5650   IFS=$as_save_IFS
   5651   test -z "$as_dir" && as_dir=.
   5652     for ac_exec_ext in '' $ac_executable_extensions; do
   5653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5654     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5656     break 2
   5657   fi
   5658 done
   5659   done
   5660 IFS=$as_save_IFS
   5661 
   5662 fi
   5663 fi
   5664 STRIP=$ac_cv_prog_STRIP
   5665 if test -n "$STRIP"; then
   5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5667 $as_echo "$STRIP" >&6; }
   5668 else
   5669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5670 $as_echo "no" >&6; }
   5671 fi
   5672 
   5673 
   5674 fi
   5675 if test -z "$ac_cv_prog_STRIP"; then
   5676   ac_ct_STRIP=$STRIP
   5677   # Extract the first word of "strip", so it can be a program name with args.
   5678 set dummy strip; ac_word=$2
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5680 $as_echo_n "checking for $ac_word... " >&6; }
   5681 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5682   $as_echo_n "(cached) " >&6
   5683 else
   5684   if test -n "$ac_ct_STRIP"; then
   5685   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5686 else
   5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5688 for as_dir in $PATH
   5689 do
   5690   IFS=$as_save_IFS
   5691   test -z "$as_dir" && as_dir=.
   5692     for ac_exec_ext in '' $ac_executable_extensions; do
   5693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5694     ac_cv_prog_ac_ct_STRIP="strip"
   5695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5696     break 2
   5697   fi
   5698 done
   5699   done
   5700 IFS=$as_save_IFS
   5701 
   5702 fi
   5703 fi
   5704 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5705 if test -n "$ac_ct_STRIP"; then
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5707 $as_echo "$ac_ct_STRIP" >&6; }
   5708 else
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5710 $as_echo "no" >&6; }
   5711 fi
   5712 
   5713   if test "x$ac_ct_STRIP" = x; then
   5714     STRIP=":"
   5715   else
   5716     case $cross_compiling:$ac_tool_warned in
   5717 yes:)
   5718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5720 ac_tool_warned=yes ;;
   5721 esac
   5722     STRIP=$ac_ct_STRIP
   5723   fi
   5724 else
   5725   STRIP="$ac_cv_prog_STRIP"
   5726 fi
   5727 
   5728 test -z "$STRIP" && STRIP=:
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 if test -n "$ac_tool_prefix"; then
   5736   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5737 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5739 $as_echo_n "checking for $ac_word... " >&6; }
   5740 if ${ac_cv_prog_RANLIB+:} false; then :
   5741   $as_echo_n "(cached) " >&6
   5742 else
   5743   if test -n "$RANLIB"; then
   5744   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5745 else
   5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5747 for as_dir in $PATH
   5748 do
   5749   IFS=$as_save_IFS
   5750   test -z "$as_dir" && as_dir=.
   5751     for ac_exec_ext in '' $ac_executable_extensions; do
   5752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5753     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5755     break 2
   5756   fi
   5757 done
   5758   done
   5759 IFS=$as_save_IFS
   5760 
   5761 fi
   5762 fi
   5763 RANLIB=$ac_cv_prog_RANLIB
   5764 if test -n "$RANLIB"; then
   5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5766 $as_echo "$RANLIB" >&6; }
   5767 else
   5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5769 $as_echo "no" >&6; }
   5770 fi
   5771 
   5772 
   5773 fi
   5774 if test -z "$ac_cv_prog_RANLIB"; then
   5775   ac_ct_RANLIB=$RANLIB
   5776   # Extract the first word of "ranlib", so it can be a program name with args.
   5777 set dummy ranlib; ac_word=$2
   5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5779 $as_echo_n "checking for $ac_word... " >&6; }
   5780 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5781   $as_echo_n "(cached) " >&6
   5782 else
   5783   if test -n "$ac_ct_RANLIB"; then
   5784   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5785 else
   5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5787 for as_dir in $PATH
   5788 do
   5789   IFS=$as_save_IFS
   5790   test -z "$as_dir" && as_dir=.
   5791     for ac_exec_ext in '' $ac_executable_extensions; do
   5792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5793     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5795     break 2
   5796   fi
   5797 done
   5798   done
   5799 IFS=$as_save_IFS
   5800 
   5801 fi
   5802 fi
   5803 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5804 if test -n "$ac_ct_RANLIB"; then
   5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5806 $as_echo "$ac_ct_RANLIB" >&6; }
   5807 else
   5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5809 $as_echo "no" >&6; }
   5810 fi
   5811 
   5812   if test "x$ac_ct_RANLIB" = x; then
   5813     RANLIB=":"
   5814   else
   5815     case $cross_compiling:$ac_tool_warned in
   5816 yes:)
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5819 ac_tool_warned=yes ;;
   5820 esac
   5821     RANLIB=$ac_ct_RANLIB
   5822   fi
   5823 else
   5824   RANLIB="$ac_cv_prog_RANLIB"
   5825 fi
   5826 
   5827 test -z "$RANLIB" && RANLIB=:
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 # Determine commands to create old-style static archives.
   5835 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5836 old_postinstall_cmds='chmod 644 $oldlib'
   5837 old_postuninstall_cmds=
   5838 
   5839 if test -n "$RANLIB"; then
   5840   case $host_os in
   5841   openbsd*)
   5842     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5843     ;;
   5844   *)
   5845     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5846     ;;
   5847   esac
   5848   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5849 fi
   5850 
   5851 case $host_os in
   5852   darwin*)
   5853     lock_old_archive_extraction=yes ;;
   5854   *)
   5855     lock_old_archive_extraction=no ;;
   5856 esac
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 # If no C compiler was specified, use CC.
   5897 LTCC=${LTCC-"$CC"}
   5898 
   5899 # If no C compiler flags were specified, use CFLAGS.
   5900 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5901 
   5902 # Allow CC to be a program name with arguments.
   5903 compiler=$CC
   5904 
   5905 
   5906 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5908 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5909 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5910   $as_echo_n "(cached) " >&6
   5911 else
   5912 
   5913 # These are sane defaults that work on at least a few old systems.
   5914 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5915 
   5916 # Character class describing NM global symbol codes.
   5917 symcode='[BCDEGRST]'
   5918 
   5919 # Regexp to match symbols that can be accessed directly from C.
   5920 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5921 
   5922 # Define system-specific variables.
   5923 case $host_os in
   5924 aix*)
   5925   symcode='[BCDT]'
   5926   ;;
   5927 cygwin* | mingw* | pw32* | cegcc*)
   5928   symcode='[ABCDGISTW]'
   5929   ;;
   5930 hpux*)
   5931   if test "$host_cpu" = ia64; then
   5932     symcode='[ABCDEGRST]'
   5933   fi
   5934   ;;
   5935 irix* | nonstopux*)
   5936   symcode='[BCDEGRST]'
   5937   ;;
   5938 osf*)
   5939   symcode='[BCDEGQRST]'
   5940   ;;
   5941 solaris*)
   5942   symcode='[BDRT]'
   5943   ;;
   5944 sco3.2v5*)
   5945   symcode='[DT]'
   5946   ;;
   5947 sysv4.2uw2*)
   5948   symcode='[DT]'
   5949   ;;
   5950 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5951   symcode='[ABDT]'
   5952   ;;
   5953 sysv4)
   5954   symcode='[DFNSTU]'
   5955   ;;
   5956 esac
   5957 
   5958 # If we're using GNU nm, then use its standard symbol codes.
   5959 case `$NM -V 2>&1` in
   5960 *GNU* | *'with BFD'*)
   5961   symcode='[ABCDGIRSTW]' ;;
   5962 esac
   5963 
   5964 # Transform an extracted symbol line into a proper C declaration.
   5965 # Some systems (esp. on ia64) link data and code symbols differently,
   5966 # so use this general approach.
   5967 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5968 
   5969 # Transform an extracted symbol line into symbol name and symbol address
   5970 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5971 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5972 
   5973 # Handle CRLF in mingw tool chain
   5974 opt_cr=
   5975 case $build_os in
   5976 mingw*)
   5977   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5978   ;;
   5979 esac
   5980 
   5981 # Try without a prefix underscore, then with it.
   5982 for ac_symprfx in "" "_"; do
   5983 
   5984   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5985   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5986 
   5987   # Write the raw and C identifiers.
   5988   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5989     # Fake it for dumpbin and say T for any non-static function
   5990     # and D for any global variable.
   5991     # Also find C++ and __fastcall symbols from MSVC++,
   5992     # which start with @ or ?.
   5993     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5994 "     {last_section=section; section=\$ 3};"\
   5995 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5996 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5997 "     \$ 0!~/External *\|/{next};"\
   5998 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5999 "     {if(hide[section]) next};"\
   6000 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6001 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6002 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6003 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6004 "     ' prfx=^$ac_symprfx"
   6005   else
   6006     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6007   fi
   6008   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6009 
   6010   # Check to see that the pipe works correctly.
   6011   pipe_works=no
   6012 
   6013   rm -f conftest*
   6014   cat > conftest.$ac_ext <<_LT_EOF
   6015 #ifdef __cplusplus
   6016 extern "C" {
   6017 #endif
   6018 char nm_test_var;
   6019 void nm_test_func(void);
   6020 void nm_test_func(void){}
   6021 #ifdef __cplusplus
   6022 }
   6023 #endif
   6024 int main(){nm_test_var='a';nm_test_func();return(0);}
   6025 _LT_EOF
   6026 
   6027   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6028   (eval $ac_compile) 2>&5
   6029   ac_status=$?
   6030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6031   test $ac_status = 0; }; then
   6032     # Now try to grab the symbols.
   6033     nlist=conftest.nm
   6034     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6035   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6036   ac_status=$?
   6037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6038   test $ac_status = 0; } && test -s "$nlist"; then
   6039       # Try sorting and uniquifying the output.
   6040       if sort "$nlist" | uniq > "$nlist"T; then
   6041 	mv -f "$nlist"T "$nlist"
   6042       else
   6043 	rm -f "$nlist"T
   6044       fi
   6045 
   6046       # Make sure that we snagged all the symbols we need.
   6047       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6048 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6049 	  cat <<_LT_EOF > conftest.$ac_ext
   6050 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6051 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6052 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6053    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6054 # define LT_DLSYM_CONST
   6055 #elif defined(__osf__)
   6056 /* This system does not cope well with relocations in const data.  */
   6057 # define LT_DLSYM_CONST
   6058 #else
   6059 # define LT_DLSYM_CONST const
   6060 #endif
   6061 
   6062 #ifdef __cplusplus
   6063 extern "C" {
   6064 #endif
   6065 
   6066 _LT_EOF
   6067 	  # Now generate the symbol file.
   6068 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6069 
   6070 	  cat <<_LT_EOF >> conftest.$ac_ext
   6071 
   6072 /* The mapping between symbol names and symbols.  */
   6073 LT_DLSYM_CONST struct {
   6074   const char *name;
   6075   void       *address;
   6076 }
   6077 lt__PROGRAM__LTX_preloaded_symbols[] =
   6078 {
   6079   { "@PROGRAM@", (void *) 0 },
   6080 _LT_EOF
   6081 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6082 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6083   {0, (void *) 0}
   6084 };
   6085 
   6086 /* This works around a problem in FreeBSD linker */
   6087 #ifdef FREEBSD_WORKAROUND
   6088 static const void *lt_preloaded_setup() {
   6089   return lt__PROGRAM__LTX_preloaded_symbols;
   6090 }
   6091 #endif
   6092 
   6093 #ifdef __cplusplus
   6094 }
   6095 #endif
   6096 _LT_EOF
   6097 	  # Now try linking the two files.
   6098 	  mv conftest.$ac_objext conftstm.$ac_objext
   6099 	  lt_globsym_save_LIBS=$LIBS
   6100 	  lt_globsym_save_CFLAGS=$CFLAGS
   6101 	  LIBS="conftstm.$ac_objext"
   6102 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6103 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6104   (eval $ac_link) 2>&5
   6105   ac_status=$?
   6106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6107   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6108 	    pipe_works=yes
   6109 	  fi
   6110 	  LIBS=$lt_globsym_save_LIBS
   6111 	  CFLAGS=$lt_globsym_save_CFLAGS
   6112 	else
   6113 	  echo "cannot find nm_test_func in $nlist" >&5
   6114 	fi
   6115       else
   6116 	echo "cannot find nm_test_var in $nlist" >&5
   6117       fi
   6118     else
   6119       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6120     fi
   6121   else
   6122     echo "$progname: failed program was:" >&5
   6123     cat conftest.$ac_ext >&5
   6124   fi
   6125   rm -rf conftest* conftst*
   6126 
   6127   # Do not use the global_symbol_pipe unless it works.
   6128   if test "$pipe_works" = yes; then
   6129     break
   6130   else
   6131     lt_cv_sys_global_symbol_pipe=
   6132   fi
   6133 done
   6134 
   6135 fi
   6136 
   6137 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6138   lt_cv_sys_global_symbol_to_cdecl=
   6139 fi
   6140 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6142 $as_echo "failed" >&6; }
   6143 else
   6144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6145 $as_echo "ok" >&6; }
   6146 fi
   6147 
   6148 # Response file support.
   6149 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6150   nm_file_list_spec='@'
   6151 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6152   nm_file_list_spec='@'
   6153 fi
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6182 $as_echo_n "checking for sysroot... " >&6; }
   6183 
   6184 # Check whether --with-sysroot was given.
   6185 if test "${with_sysroot+set}" = set; then :
   6186   withval=$with_sysroot;
   6187 else
   6188   with_sysroot=no
   6189 fi
   6190 
   6191 
   6192 lt_sysroot=
   6193 case ${with_sysroot} in #(
   6194  yes)
   6195    if test "$GCC" = yes; then
   6196      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6197    fi
   6198    ;; #(
   6199  /*)
   6200    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6201    ;; #(
   6202  no|'')
   6203    ;; #(
   6204  *)
   6205    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6206 $as_echo "${with_sysroot}" >&6; }
   6207    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6208    ;;
   6209 esac
   6210 
   6211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6212 $as_echo "${lt_sysroot:-no}" >&6; }
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 # Check whether --enable-libtool-lock was given.
   6219 if test "${enable_libtool_lock+set}" = set; then :
   6220   enableval=$enable_libtool_lock;
   6221 fi
   6222 
   6223 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6224 
   6225 # Some flags need to be propagated to the compiler or linker for good
   6226 # libtool support.
   6227 case $host in
   6228 ia64-*-hpux*)
   6229   # Find out which ABI we are using.
   6230   echo 'int i;' > conftest.$ac_ext
   6231   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6232   (eval $ac_compile) 2>&5
   6233   ac_status=$?
   6234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6235   test $ac_status = 0; }; then
   6236     case `/usr/bin/file conftest.$ac_objext` in
   6237       *ELF-32*)
   6238 	HPUX_IA64_MODE="32"
   6239 	;;
   6240       *ELF-64*)
   6241 	HPUX_IA64_MODE="64"
   6242 	;;
   6243     esac
   6244   fi
   6245   rm -rf conftest*
   6246   ;;
   6247 *-*-irix6*)
   6248   # Find out which ABI we are using.
   6249   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6250   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6251   (eval $ac_compile) 2>&5
   6252   ac_status=$?
   6253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6254   test $ac_status = 0; }; then
   6255     if test "$lt_cv_prog_gnu_ld" = yes; then
   6256       case `/usr/bin/file conftest.$ac_objext` in
   6257 	*32-bit*)
   6258 	  LD="${LD-ld} -melf32bsmip"
   6259 	  ;;
   6260 	*N32*)
   6261 	  LD="${LD-ld} -melf32bmipn32"
   6262 	  ;;
   6263 	*64-bit*)
   6264 	  LD="${LD-ld} -melf64bmip"
   6265 	;;
   6266       esac
   6267     else
   6268       case `/usr/bin/file conftest.$ac_objext` in
   6269 	*32-bit*)
   6270 	  LD="${LD-ld} -32"
   6271 	  ;;
   6272 	*N32*)
   6273 	  LD="${LD-ld} -n32"
   6274 	  ;;
   6275 	*64-bit*)
   6276 	  LD="${LD-ld} -64"
   6277 	  ;;
   6278       esac
   6279     fi
   6280   fi
   6281   rm -rf conftest*
   6282   ;;
   6283 
   6284 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6285 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6286   # Find out which ABI we are using.
   6287   echo 'int i;' > conftest.$ac_ext
   6288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6289   (eval $ac_compile) 2>&5
   6290   ac_status=$?
   6291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6292   test $ac_status = 0; }; then
   6293     case `/usr/bin/file conftest.o` in
   6294       *32-bit*)
   6295 	case $host in
   6296 	  x86_64-*kfreebsd*-gnu)
   6297 	    LD="${LD-ld} -m elf_i386_fbsd"
   6298 	    ;;
   6299 	  x86_64-*linux*)
   6300 	    LD="${LD-ld} -m elf_i386"
   6301 	    ;;
   6302 	  ppc64-*linux*|powerpc64-*linux*)
   6303 	    LD="${LD-ld} -m elf32ppclinux"
   6304 	    ;;
   6305 	  s390x-*linux*)
   6306 	    LD="${LD-ld} -m elf_s390"
   6307 	    ;;
   6308 	  sparc64-*linux*)
   6309 	    LD="${LD-ld} -m elf32_sparc"
   6310 	    ;;
   6311 	esac
   6312 	;;
   6313       *64-bit*)
   6314 	case $host in
   6315 	  x86_64-*kfreebsd*-gnu)
   6316 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6317 	    ;;
   6318 	  x86_64-*linux*)
   6319 	    LD="${LD-ld} -m elf_x86_64"
   6320 	    ;;
   6321 	  ppc*-*linux*|powerpc*-*linux*)
   6322 	    LD="${LD-ld} -m elf64ppc"
   6323 	    ;;
   6324 	  s390*-*linux*|s390*-*tpf*)
   6325 	    LD="${LD-ld} -m elf64_s390"
   6326 	    ;;
   6327 	  sparc*-*linux*)
   6328 	    LD="${LD-ld} -m elf64_sparc"
   6329 	    ;;
   6330 	esac
   6331 	;;
   6332     esac
   6333   fi
   6334   rm -rf conftest*
   6335   ;;
   6336 
   6337 *-*-sco3.2v5*)
   6338   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6339   SAVE_CFLAGS="$CFLAGS"
   6340   CFLAGS="$CFLAGS -belf"
   6341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6342 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6343 if ${lt_cv_cc_needs_belf+:} false; then :
   6344   $as_echo_n "(cached) " >&6
   6345 else
   6346   ac_ext=c
   6347 ac_cpp='$CPP $CPPFLAGS'
   6348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6351 
   6352      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6353 /* end confdefs.h.  */
   6354 
   6355 int
   6356 main ()
   6357 {
   6358 
   6359   ;
   6360   return 0;
   6361 }
   6362 _ACEOF
   6363 if ac_fn_c_try_link "$LINENO"; then :
   6364   lt_cv_cc_needs_belf=yes
   6365 else
   6366   lt_cv_cc_needs_belf=no
   6367 fi
   6368 rm -f core conftest.err conftest.$ac_objext \
   6369     conftest$ac_exeext conftest.$ac_ext
   6370      ac_ext=c
   6371 ac_cpp='$CPP $CPPFLAGS'
   6372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6375 
   6376 fi
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6378 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6379   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6380     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6381     CFLAGS="$SAVE_CFLAGS"
   6382   fi
   6383   ;;
   6384 *-*solaris*)
   6385   # Find out which ABI we are using.
   6386   echo 'int i;' > conftest.$ac_ext
   6387   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6388   (eval $ac_compile) 2>&5
   6389   ac_status=$?
   6390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6391   test $ac_status = 0; }; then
   6392     case `/usr/bin/file conftest.o` in
   6393     *64-bit*)
   6394       case $lt_cv_prog_gnu_ld in
   6395       yes*)
   6396         case $host in
   6397         i?86-*-solaris*)
   6398           LD="${LD-ld} -m elf_x86_64"
   6399           ;;
   6400         sparc*-*-solaris*)
   6401           LD="${LD-ld} -m elf64_sparc"
   6402           ;;
   6403         esac
   6404         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6405         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6406           LD="${LD-ld}_sol2"
   6407         fi
   6408         ;;
   6409       *)
   6410 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6411 	  LD="${LD-ld} -64"
   6412 	fi
   6413 	;;
   6414       esac
   6415       ;;
   6416     esac
   6417   fi
   6418   rm -rf conftest*
   6419   ;;
   6420 esac
   6421 
   6422 need_locks="$enable_libtool_lock"
   6423 
   6424 if test -n "$ac_tool_prefix"; then
   6425   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6426 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6428 $as_echo_n "checking for $ac_word... " >&6; }
   6429 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6430   $as_echo_n "(cached) " >&6
   6431 else
   6432   if test -n "$MANIFEST_TOOL"; then
   6433   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6434 else
   6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6436 for as_dir in $PATH
   6437 do
   6438   IFS=$as_save_IFS
   6439   test -z "$as_dir" && as_dir=.
   6440     for ac_exec_ext in '' $ac_executable_extensions; do
   6441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6442     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6444     break 2
   6445   fi
   6446 done
   6447   done
   6448 IFS=$as_save_IFS
   6449 
   6450 fi
   6451 fi
   6452 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6453 if test -n "$MANIFEST_TOOL"; then
   6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6455 $as_echo "$MANIFEST_TOOL" >&6; }
   6456 else
   6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6458 $as_echo "no" >&6; }
   6459 fi
   6460 
   6461 
   6462 fi
   6463 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6464   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6465   # Extract the first word of "mt", so it can be a program name with args.
   6466 set dummy mt; ac_word=$2
   6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6468 $as_echo_n "checking for $ac_word... " >&6; }
   6469 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6470   $as_echo_n "(cached) " >&6
   6471 else
   6472   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6473   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6474 else
   6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6476 for as_dir in $PATH
   6477 do
   6478   IFS=$as_save_IFS
   6479   test -z "$as_dir" && as_dir=.
   6480     for ac_exec_ext in '' $ac_executable_extensions; do
   6481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6482     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6484     break 2
   6485   fi
   6486 done
   6487   done
   6488 IFS=$as_save_IFS
   6489 
   6490 fi
   6491 fi
   6492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6493 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6495 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6496 else
   6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6498 $as_echo "no" >&6; }
   6499 fi
   6500 
   6501   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6502     MANIFEST_TOOL=":"
   6503   else
   6504     case $cross_compiling:$ac_tool_warned in
   6505 yes:)
   6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6508 ac_tool_warned=yes ;;
   6509 esac
   6510     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6511   fi
   6512 else
   6513   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6514 fi
   6515 
   6516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6518 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6519 if ${lt_cv_path_mainfest_tool+:} false; then :
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522   lt_cv_path_mainfest_tool=no
   6523   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6524   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6525   cat conftest.err >&5
   6526   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6527     lt_cv_path_mainfest_tool=yes
   6528   fi
   6529   rm -f conftest*
   6530 fi
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6532 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6533 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6534   MANIFEST_TOOL=:
   6535 fi
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542   case $host_os in
   6543     rhapsody* | darwin*)
   6544     if test -n "$ac_tool_prefix"; then
   6545   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6546 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6548 $as_echo_n "checking for $ac_word... " >&6; }
   6549 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6550   $as_echo_n "(cached) " >&6
   6551 else
   6552   if test -n "$DSYMUTIL"; then
   6553   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6554 else
   6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6556 for as_dir in $PATH
   6557 do
   6558   IFS=$as_save_IFS
   6559   test -z "$as_dir" && as_dir=.
   6560     for ac_exec_ext in '' $ac_executable_extensions; do
   6561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6562     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6564     break 2
   6565   fi
   6566 done
   6567   done
   6568 IFS=$as_save_IFS
   6569 
   6570 fi
   6571 fi
   6572 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6573 if test -n "$DSYMUTIL"; then
   6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6575 $as_echo "$DSYMUTIL" >&6; }
   6576 else
   6577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6578 $as_echo "no" >&6; }
   6579 fi
   6580 
   6581 
   6582 fi
   6583 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6584   ac_ct_DSYMUTIL=$DSYMUTIL
   6585   # Extract the first word of "dsymutil", so it can be a program name with args.
   6586 set dummy dsymutil; ac_word=$2
   6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6588 $as_echo_n "checking for $ac_word... " >&6; }
   6589 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6590   $as_echo_n "(cached) " >&6
   6591 else
   6592   if test -n "$ac_ct_DSYMUTIL"; then
   6593   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6594 else
   6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6596 for as_dir in $PATH
   6597 do
   6598   IFS=$as_save_IFS
   6599   test -z "$as_dir" && as_dir=.
   6600     for ac_exec_ext in '' $ac_executable_extensions; do
   6601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6602     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6604     break 2
   6605   fi
   6606 done
   6607   done
   6608 IFS=$as_save_IFS
   6609 
   6610 fi
   6611 fi
   6612 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6613 if test -n "$ac_ct_DSYMUTIL"; then
   6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6615 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6616 else
   6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6618 $as_echo "no" >&6; }
   6619 fi
   6620 
   6621   if test "x$ac_ct_DSYMUTIL" = x; then
   6622     DSYMUTIL=":"
   6623   else
   6624     case $cross_compiling:$ac_tool_warned in
   6625 yes:)
   6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6628 ac_tool_warned=yes ;;
   6629 esac
   6630     DSYMUTIL=$ac_ct_DSYMUTIL
   6631   fi
   6632 else
   6633   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6634 fi
   6635 
   6636     if test -n "$ac_tool_prefix"; then
   6637   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6638 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6640 $as_echo_n "checking for $ac_word... " >&6; }
   6641 if ${ac_cv_prog_NMEDIT+:} false; then :
   6642   $as_echo_n "(cached) " >&6
   6643 else
   6644   if test -n "$NMEDIT"; then
   6645   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6646 else
   6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6648 for as_dir in $PATH
   6649 do
   6650   IFS=$as_save_IFS
   6651   test -z "$as_dir" && as_dir=.
   6652     for ac_exec_ext in '' $ac_executable_extensions; do
   6653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6654     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6656     break 2
   6657   fi
   6658 done
   6659   done
   6660 IFS=$as_save_IFS
   6661 
   6662 fi
   6663 fi
   6664 NMEDIT=$ac_cv_prog_NMEDIT
   6665 if test -n "$NMEDIT"; then
   6666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6667 $as_echo "$NMEDIT" >&6; }
   6668 else
   6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6670 $as_echo "no" >&6; }
   6671 fi
   6672 
   6673 
   6674 fi
   6675 if test -z "$ac_cv_prog_NMEDIT"; then
   6676   ac_ct_NMEDIT=$NMEDIT
   6677   # Extract the first word of "nmedit", so it can be a program name with args.
   6678 set dummy nmedit; ac_word=$2
   6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6680 $as_echo_n "checking for $ac_word... " >&6; }
   6681 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6682   $as_echo_n "(cached) " >&6
   6683 else
   6684   if test -n "$ac_ct_NMEDIT"; then
   6685   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6686 else
   6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6688 for as_dir in $PATH
   6689 do
   6690   IFS=$as_save_IFS
   6691   test -z "$as_dir" && as_dir=.
   6692     for ac_exec_ext in '' $ac_executable_extensions; do
   6693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6694     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6696     break 2
   6697   fi
   6698 done
   6699   done
   6700 IFS=$as_save_IFS
   6701 
   6702 fi
   6703 fi
   6704 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6705 if test -n "$ac_ct_NMEDIT"; then
   6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6707 $as_echo "$ac_ct_NMEDIT" >&6; }
   6708 else
   6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6710 $as_echo "no" >&6; }
   6711 fi
   6712 
   6713   if test "x$ac_ct_NMEDIT" = x; then
   6714     NMEDIT=":"
   6715   else
   6716     case $cross_compiling:$ac_tool_warned in
   6717 yes:)
   6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6720 ac_tool_warned=yes ;;
   6721 esac
   6722     NMEDIT=$ac_ct_NMEDIT
   6723   fi
   6724 else
   6725   NMEDIT="$ac_cv_prog_NMEDIT"
   6726 fi
   6727 
   6728     if test -n "$ac_tool_prefix"; then
   6729   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6730 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6732 $as_echo_n "checking for $ac_word... " >&6; }
   6733 if ${ac_cv_prog_LIPO+:} false; then :
   6734   $as_echo_n "(cached) " >&6
   6735 else
   6736   if test -n "$LIPO"; then
   6737   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6738 else
   6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6740 for as_dir in $PATH
   6741 do
   6742   IFS=$as_save_IFS
   6743   test -z "$as_dir" && as_dir=.
   6744     for ac_exec_ext in '' $ac_executable_extensions; do
   6745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6746     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6748     break 2
   6749   fi
   6750 done
   6751   done
   6752 IFS=$as_save_IFS
   6753 
   6754 fi
   6755 fi
   6756 LIPO=$ac_cv_prog_LIPO
   6757 if test -n "$LIPO"; then
   6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6759 $as_echo "$LIPO" >&6; }
   6760 else
   6761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6762 $as_echo "no" >&6; }
   6763 fi
   6764 
   6765 
   6766 fi
   6767 if test -z "$ac_cv_prog_LIPO"; then
   6768   ac_ct_LIPO=$LIPO
   6769   # Extract the first word of "lipo", so it can be a program name with args.
   6770 set dummy lipo; ac_word=$2
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6772 $as_echo_n "checking for $ac_word... " >&6; }
   6773 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6774   $as_echo_n "(cached) " >&6
   6775 else
   6776   if test -n "$ac_ct_LIPO"; then
   6777   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6778 else
   6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6780 for as_dir in $PATH
   6781 do
   6782   IFS=$as_save_IFS
   6783   test -z "$as_dir" && as_dir=.
   6784     for ac_exec_ext in '' $ac_executable_extensions; do
   6785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6786     ac_cv_prog_ac_ct_LIPO="lipo"
   6787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6788     break 2
   6789   fi
   6790 done
   6791   done
   6792 IFS=$as_save_IFS
   6793 
   6794 fi
   6795 fi
   6796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6797 if test -n "$ac_ct_LIPO"; then
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6799 $as_echo "$ac_ct_LIPO" >&6; }
   6800 else
   6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6802 $as_echo "no" >&6; }
   6803 fi
   6804 
   6805   if test "x$ac_ct_LIPO" = x; then
   6806     LIPO=":"
   6807   else
   6808     case $cross_compiling:$ac_tool_warned in
   6809 yes:)
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6812 ac_tool_warned=yes ;;
   6813 esac
   6814     LIPO=$ac_ct_LIPO
   6815   fi
   6816 else
   6817   LIPO="$ac_cv_prog_LIPO"
   6818 fi
   6819 
   6820     if test -n "$ac_tool_prefix"; then
   6821   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6822 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6824 $as_echo_n "checking for $ac_word... " >&6; }
   6825 if ${ac_cv_prog_OTOOL+:} false; then :
   6826   $as_echo_n "(cached) " >&6
   6827 else
   6828   if test -n "$OTOOL"; then
   6829   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6830 else
   6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6832 for as_dir in $PATH
   6833 do
   6834   IFS=$as_save_IFS
   6835   test -z "$as_dir" && as_dir=.
   6836     for ac_exec_ext in '' $ac_executable_extensions; do
   6837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6838     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6840     break 2
   6841   fi
   6842 done
   6843   done
   6844 IFS=$as_save_IFS
   6845 
   6846 fi
   6847 fi
   6848 OTOOL=$ac_cv_prog_OTOOL
   6849 if test -n "$OTOOL"; then
   6850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6851 $as_echo "$OTOOL" >&6; }
   6852 else
   6853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6854 $as_echo "no" >&6; }
   6855 fi
   6856 
   6857 
   6858 fi
   6859 if test -z "$ac_cv_prog_OTOOL"; then
   6860   ac_ct_OTOOL=$OTOOL
   6861   # Extract the first word of "otool", so it can be a program name with args.
   6862 set dummy otool; ac_word=$2
   6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6864 $as_echo_n "checking for $ac_word... " >&6; }
   6865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6866   $as_echo_n "(cached) " >&6
   6867 else
   6868   if test -n "$ac_ct_OTOOL"; then
   6869   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6870 else
   6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6872 for as_dir in $PATH
   6873 do
   6874   IFS=$as_save_IFS
   6875   test -z "$as_dir" && as_dir=.
   6876     for ac_exec_ext in '' $ac_executable_extensions; do
   6877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6878     ac_cv_prog_ac_ct_OTOOL="otool"
   6879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6880     break 2
   6881   fi
   6882 done
   6883   done
   6884 IFS=$as_save_IFS
   6885 
   6886 fi
   6887 fi
   6888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6889 if test -n "$ac_ct_OTOOL"; then
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6891 $as_echo "$ac_ct_OTOOL" >&6; }
   6892 else
   6893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6894 $as_echo "no" >&6; }
   6895 fi
   6896 
   6897   if test "x$ac_ct_OTOOL" = x; then
   6898     OTOOL=":"
   6899   else
   6900     case $cross_compiling:$ac_tool_warned in
   6901 yes:)
   6902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6904 ac_tool_warned=yes ;;
   6905 esac
   6906     OTOOL=$ac_ct_OTOOL
   6907   fi
   6908 else
   6909   OTOOL="$ac_cv_prog_OTOOL"
   6910 fi
   6911 
   6912     if test -n "$ac_tool_prefix"; then
   6913   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6914 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6916 $as_echo_n "checking for $ac_word... " >&6; }
   6917 if ${ac_cv_prog_OTOOL64+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   if test -n "$OTOOL64"; then
   6921   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6922 else
   6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6924 for as_dir in $PATH
   6925 do
   6926   IFS=$as_save_IFS
   6927   test -z "$as_dir" && as_dir=.
   6928     for ac_exec_ext in '' $ac_executable_extensions; do
   6929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6930     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6932     break 2
   6933   fi
   6934 done
   6935   done
   6936 IFS=$as_save_IFS
   6937 
   6938 fi
   6939 fi
   6940 OTOOL64=$ac_cv_prog_OTOOL64
   6941 if test -n "$OTOOL64"; then
   6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6943 $as_echo "$OTOOL64" >&6; }
   6944 else
   6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6946 $as_echo "no" >&6; }
   6947 fi
   6948 
   6949 
   6950 fi
   6951 if test -z "$ac_cv_prog_OTOOL64"; then
   6952   ac_ct_OTOOL64=$OTOOL64
   6953   # Extract the first word of "otool64", so it can be a program name with args.
   6954 set dummy otool64; ac_word=$2
   6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6956 $as_echo_n "checking for $ac_word... " >&6; }
   6957 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6958   $as_echo_n "(cached) " >&6
   6959 else
   6960   if test -n "$ac_ct_OTOOL64"; then
   6961   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6962 else
   6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6964 for as_dir in $PATH
   6965 do
   6966   IFS=$as_save_IFS
   6967   test -z "$as_dir" && as_dir=.
   6968     for ac_exec_ext in '' $ac_executable_extensions; do
   6969   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6970     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6972     break 2
   6973   fi
   6974 done
   6975   done
   6976 IFS=$as_save_IFS
   6977 
   6978 fi
   6979 fi
   6980 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6981 if test -n "$ac_ct_OTOOL64"; then
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6983 $as_echo "$ac_ct_OTOOL64" >&6; }
   6984 else
   6985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6986 $as_echo "no" >&6; }
   6987 fi
   6988 
   6989   if test "x$ac_ct_OTOOL64" = x; then
   6990     OTOOL64=":"
   6991   else
   6992     case $cross_compiling:$ac_tool_warned in
   6993 yes:)
   6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6996 ac_tool_warned=yes ;;
   6997 esac
   6998     OTOOL64=$ac_ct_OTOOL64
   6999   fi
   7000 else
   7001   OTOOL64="$ac_cv_prog_OTOOL64"
   7002 fi
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7031 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7032 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7033   $as_echo_n "(cached) " >&6
   7034 else
   7035   lt_cv_apple_cc_single_mod=no
   7036       if test -z "${LT_MULTI_MODULE}"; then
   7037 	# By default we will add the -single_module flag. You can override
   7038 	# by either setting the environment variable LT_MULTI_MODULE
   7039 	# non-empty at configure time, or by adding -multi_module to the
   7040 	# link flags.
   7041 	rm -rf libconftest.dylib*
   7042 	echo "int foo(void){return 1;}" > conftest.c
   7043 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7044 -dynamiclib -Wl,-single_module conftest.c" >&5
   7045 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7046 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7047         _lt_result=$?
   7048 	# If there is a non-empty error log, and "single_module"
   7049 	# appears in it, assume the flag caused a linker warning
   7050         if test -s conftest.err && $GREP single_module conftest.err; then
   7051 	  cat conftest.err >&5
   7052 	# Otherwise, if the output was created with a 0 exit code from
   7053 	# the compiler, it worked.
   7054 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7055 	  lt_cv_apple_cc_single_mod=yes
   7056 	else
   7057 	  cat conftest.err >&5
   7058 	fi
   7059 	rm -rf libconftest.dylib*
   7060 	rm -f conftest.*
   7061       fi
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7065 
   7066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7069   $as_echo_n "(cached) " >&6
   7070 else
   7071   lt_cv_ld_exported_symbols_list=no
   7072       save_LDFLAGS=$LDFLAGS
   7073       echo "_main" > conftest.sym
   7074       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7076 /* end confdefs.h.  */
   7077 
   7078 int
   7079 main ()
   7080 {
   7081 
   7082   ;
   7083   return 0;
   7084 }
   7085 _ACEOF
   7086 if ac_fn_c_try_link "$LINENO"; then :
   7087   lt_cv_ld_exported_symbols_list=yes
   7088 else
   7089   lt_cv_ld_exported_symbols_list=no
   7090 fi
   7091 rm -f core conftest.err conftest.$ac_objext \
   7092     conftest$ac_exeext conftest.$ac_ext
   7093 	LDFLAGS="$save_LDFLAGS"
   7094 
   7095 fi
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7098 
   7099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7100 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7101 if ${lt_cv_ld_force_load+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   lt_cv_ld_force_load=no
   7105       cat > conftest.c << _LT_EOF
   7106 int forced_loaded() { return 2;}
   7107 _LT_EOF
   7108       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7109       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7110       echo "$AR cru libconftest.a conftest.o" >&5
   7111       $AR cru libconftest.a conftest.o 2>&5
   7112       echo "$RANLIB libconftest.a" >&5
   7113       $RANLIB libconftest.a 2>&5
   7114       cat > conftest.c << _LT_EOF
   7115 int main() { return 0;}
   7116 _LT_EOF
   7117       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7118       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7119       _lt_result=$?
   7120       if test -s conftest.err && $GREP force_load conftest.err; then
   7121 	cat conftest.err >&5
   7122       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7123 	lt_cv_ld_force_load=yes
   7124       else
   7125 	cat conftest.err >&5
   7126       fi
   7127         rm -f conftest.err libconftest.a conftest conftest.c
   7128         rm -rf conftest.dSYM
   7129 
   7130 fi
   7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7132 $as_echo "$lt_cv_ld_force_load" >&6; }
   7133     case $host_os in
   7134     rhapsody* | darwin1.[012])
   7135       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7136     darwin1.*)
   7137       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7138     darwin*) # darwin 5.x on
   7139       # if running on 10.5 or later, the deployment target defaults
   7140       # to the OS version, if on x86, and 10.4, the deployment
   7141       # target defaults to 10.4. Don't you love it?
   7142       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7143 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7144 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7145 	10.[012]*)
   7146 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7147 	10.*)
   7148 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7149       esac
   7150     ;;
   7151   esac
   7152     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7153       _lt_dar_single_mod='$single_module'
   7154     fi
   7155     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7156       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7157     else
   7158       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7159     fi
   7160     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7161       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7162     else
   7163       _lt_dsymutil=
   7164     fi
   7165     ;;
   7166   esac
   7167 
   7168 ac_ext=c
   7169 ac_cpp='$CPP $CPPFLAGS'
   7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7174 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7175 # On Suns, sometimes $CPP names a directory.
   7176 if test -n "$CPP" && test -d "$CPP"; then
   7177   CPP=
   7178 fi
   7179 if test -z "$CPP"; then
   7180   if ${ac_cv_prog_CPP+:} false; then :
   7181   $as_echo_n "(cached) " >&6
   7182 else
   7183       # Double quotes because CPP needs to be expanded
   7184     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7185     do
   7186       ac_preproc_ok=false
   7187 for ac_c_preproc_warn_flag in '' yes
   7188 do
   7189   # Use a header file that comes with gcc, so configuring glibc
   7190   # with a fresh cross-compiler works.
   7191   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7192   # <limits.h> exists even on freestanding compilers.
   7193   # On the NeXT, cc -E runs the code through the compiler's parser,
   7194   # not just through cpp. "Syntax error" is here to catch this case.
   7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7196 /* end confdefs.h.  */
   7197 #ifdef __STDC__
   7198 # include <limits.h>
   7199 #else
   7200 # include <assert.h>
   7201 #endif
   7202 		     Syntax error
   7203 _ACEOF
   7204 if ac_fn_c_try_cpp "$LINENO"; then :
   7205 
   7206 else
   7207   # Broken: fails on valid input.
   7208 continue
   7209 fi
   7210 rm -f conftest.err conftest.i conftest.$ac_ext
   7211 
   7212   # OK, works on sane cases.  Now check whether nonexistent headers
   7213   # can be detected and how.
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 #include <ac_nonexistent.h>
   7217 _ACEOF
   7218 if ac_fn_c_try_cpp "$LINENO"; then :
   7219   # Broken: success on invalid input.
   7220 continue
   7221 else
   7222   # Passes both tests.
   7223 ac_preproc_ok=:
   7224 break
   7225 fi
   7226 rm -f conftest.err conftest.i conftest.$ac_ext
   7227 
   7228 done
   7229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7230 rm -f conftest.i conftest.err conftest.$ac_ext
   7231 if $ac_preproc_ok; then :
   7232   break
   7233 fi
   7234 
   7235     done
   7236     ac_cv_prog_CPP=$CPP
   7237 
   7238 fi
   7239   CPP=$ac_cv_prog_CPP
   7240 else
   7241   ac_cv_prog_CPP=$CPP
   7242 fi
   7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7244 $as_echo "$CPP" >&6; }
   7245 ac_preproc_ok=false
   7246 for ac_c_preproc_warn_flag in '' yes
   7247 do
   7248   # Use a header file that comes with gcc, so configuring glibc
   7249   # with a fresh cross-compiler works.
   7250   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7251   # <limits.h> exists even on freestanding compilers.
   7252   # On the NeXT, cc -E runs the code through the compiler's parser,
   7253   # not just through cpp. "Syntax error" is here to catch this case.
   7254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7255 /* end confdefs.h.  */
   7256 #ifdef __STDC__
   7257 # include <limits.h>
   7258 #else
   7259 # include <assert.h>
   7260 #endif
   7261 		     Syntax error
   7262 _ACEOF
   7263 if ac_fn_c_try_cpp "$LINENO"; then :
   7264 
   7265 else
   7266   # Broken: fails on valid input.
   7267 continue
   7268 fi
   7269 rm -f conftest.err conftest.i conftest.$ac_ext
   7270 
   7271   # OK, works on sane cases.  Now check whether nonexistent headers
   7272   # can be detected and how.
   7273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7274 /* end confdefs.h.  */
   7275 #include <ac_nonexistent.h>
   7276 _ACEOF
   7277 if ac_fn_c_try_cpp "$LINENO"; then :
   7278   # Broken: success on invalid input.
   7279 continue
   7280 else
   7281   # Passes both tests.
   7282 ac_preproc_ok=:
   7283 break
   7284 fi
   7285 rm -f conftest.err conftest.i conftest.$ac_ext
   7286 
   7287 done
   7288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7289 rm -f conftest.i conftest.err conftest.$ac_ext
   7290 if $ac_preproc_ok; then :
   7291 
   7292 else
   7293   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7295 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7296 See \`config.log' for more details" "$LINENO" 5; }
   7297 fi
   7298 
   7299 ac_ext=c
   7300 ac_cpp='$CPP $CPPFLAGS'
   7301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7304 
   7305 
   7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7307 $as_echo_n "checking for ANSI C header files... " >&6; }
   7308 if ${ac_cv_header_stdc+:} false; then :
   7309   $as_echo_n "(cached) " >&6
   7310 else
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 #include <stdlib.h>
   7314 #include <stdarg.h>
   7315 #include <string.h>
   7316 #include <float.h>
   7317 
   7318 int
   7319 main ()
   7320 {
   7321 
   7322   ;
   7323   return 0;
   7324 }
   7325 _ACEOF
   7326 if ac_fn_c_try_compile "$LINENO"; then :
   7327   ac_cv_header_stdc=yes
   7328 else
   7329   ac_cv_header_stdc=no
   7330 fi
   7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7332 
   7333 if test $ac_cv_header_stdc = yes; then
   7334   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7336 /* end confdefs.h.  */
   7337 #include <string.h>
   7338 
   7339 _ACEOF
   7340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7341   $EGREP "memchr" >/dev/null 2>&1; then :
   7342 
   7343 else
   7344   ac_cv_header_stdc=no
   7345 fi
   7346 rm -f conftest*
   7347 
   7348 fi
   7349 
   7350 if test $ac_cv_header_stdc = yes; then
   7351   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 #include <stdlib.h>
   7355 
   7356 _ACEOF
   7357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7358   $EGREP "free" >/dev/null 2>&1; then :
   7359 
   7360 else
   7361   ac_cv_header_stdc=no
   7362 fi
   7363 rm -f conftest*
   7364 
   7365 fi
   7366 
   7367 if test $ac_cv_header_stdc = yes; then
   7368   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7369   if test "$cross_compiling" = yes; then :
   7370   :
   7371 else
   7372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7373 /* end confdefs.h.  */
   7374 #include <ctype.h>
   7375 #include <stdlib.h>
   7376 #if ((' ' & 0x0FF) == 0x020)
   7377 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7378 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7379 #else
   7380 # define ISLOWER(c) \
   7381 		   (('a' <= (c) && (c) <= 'i') \
   7382 		     || ('j' <= (c) && (c) <= 'r') \
   7383 		     || ('s' <= (c) && (c) <= 'z'))
   7384 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7385 #endif
   7386 
   7387 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7388 int
   7389 main ()
   7390 {
   7391   int i;
   7392   for (i = 0; i < 256; i++)
   7393     if (XOR (islower (i), ISLOWER (i))
   7394 	|| toupper (i) != TOUPPER (i))
   7395       return 2;
   7396   return 0;
   7397 }
   7398 _ACEOF
   7399 if ac_fn_c_try_run "$LINENO"; then :
   7400 
   7401 else
   7402   ac_cv_header_stdc=no
   7403 fi
   7404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7405   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7406 fi
   7407 
   7408 fi
   7409 fi
   7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7411 $as_echo "$ac_cv_header_stdc" >&6; }
   7412 if test $ac_cv_header_stdc = yes; then
   7413 
   7414 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7415 
   7416 fi
   7417 
   7418 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7419 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7420 		  inttypes.h stdint.h unistd.h
   7421 do :
   7422   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7423 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7424 "
   7425 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7426   cat >>confdefs.h <<_ACEOF
   7427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7428 _ACEOF
   7429 
   7430 fi
   7431 
   7432 done
   7433 
   7434 
   7435 for ac_header in dlfcn.h
   7436 do :
   7437   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7438 "
   7439 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7440   cat >>confdefs.h <<_ACEOF
   7441 #define HAVE_DLFCN_H 1
   7442 _ACEOF
   7443 
   7444 fi
   7445 
   7446 done
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 # Set options
   7453 
   7454 
   7455 
   7456         enable_dlopen=no
   7457 
   7458 
   7459   enable_win32_dll=no
   7460 
   7461 
   7462             # Check whether --enable-shared was given.
   7463 if test "${enable_shared+set}" = set; then :
   7464   enableval=$enable_shared; p=${PACKAGE-default}
   7465     case $enableval in
   7466     yes) enable_shared=yes ;;
   7467     no) enable_shared=no ;;
   7468     *)
   7469       enable_shared=no
   7470       # Look at the argument we got.  We use all the common list separators.
   7471       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7472       for pkg in $enableval; do
   7473 	IFS="$lt_save_ifs"
   7474 	if test "X$pkg" = "X$p"; then
   7475 	  enable_shared=yes
   7476 	fi
   7477       done
   7478       IFS="$lt_save_ifs"
   7479       ;;
   7480     esac
   7481 else
   7482   enable_shared=yes
   7483 fi
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 # Check whether --with-pic was given.
   7496 if test "${with_pic+set}" = set; then :
   7497   withval=$with_pic; lt_p=${PACKAGE-default}
   7498     case $withval in
   7499     yes|no) pic_mode=$withval ;;
   7500     *)
   7501       pic_mode=default
   7502       # Look at the argument we got.  We use all the common list separators.
   7503       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7504       for lt_pkg in $withval; do
   7505 	IFS="$lt_save_ifs"
   7506 	if test "X$lt_pkg" = "X$lt_p"; then
   7507 	  pic_mode=yes
   7508 	fi
   7509       done
   7510       IFS="$lt_save_ifs"
   7511       ;;
   7512     esac
   7513 else
   7514   pic_mode=default
   7515 fi
   7516 
   7517 
   7518 test -z "$pic_mode" && pic_mode=default
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526   # Check whether --enable-fast-install was given.
   7527 if test "${enable_fast_install+set}" = set; then :
   7528   enableval=$enable_fast_install; p=${PACKAGE-default}
   7529     case $enableval in
   7530     yes) enable_fast_install=yes ;;
   7531     no) enable_fast_install=no ;;
   7532     *)
   7533       enable_fast_install=no
   7534       # Look at the argument we got.  We use all the common list separators.
   7535       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7536       for pkg in $enableval; do
   7537 	IFS="$lt_save_ifs"
   7538 	if test "X$pkg" = "X$p"; then
   7539 	  enable_fast_install=yes
   7540 	fi
   7541       done
   7542       IFS="$lt_save_ifs"
   7543       ;;
   7544     esac
   7545 else
   7546   enable_fast_install=yes
   7547 fi
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 # This can be used to rebuild libtool when needed
   7560 LIBTOOL_DEPS="$ltmain"
   7561 
   7562 # Always use our own libtool.
   7563 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 test -z "$LN_S" && LN_S="ln -s"
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 if test -n "${ZSH_VERSION+set}" ; then
   7610    setopt NO_GLOB_SUBST
   7611 fi
   7612 
   7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7614 $as_echo_n "checking for objdir... " >&6; }
   7615 if ${lt_cv_objdir+:} false; then :
   7616   $as_echo_n "(cached) " >&6
   7617 else
   7618   rm -f .libs 2>/dev/null
   7619 mkdir .libs 2>/dev/null
   7620 if test -d .libs; then
   7621   lt_cv_objdir=.libs
   7622 else
   7623   # MS-DOS does not allow filenames that begin with a dot.
   7624   lt_cv_objdir=_libs
   7625 fi
   7626 rmdir .libs 2>/dev/null
   7627 fi
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7629 $as_echo "$lt_cv_objdir" >&6; }
   7630 objdir=$lt_cv_objdir
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 cat >>confdefs.h <<_ACEOF
   7637 #define LT_OBJDIR "$lt_cv_objdir/"
   7638 _ACEOF
   7639 
   7640 
   7641 
   7642 
   7643 case $host_os in
   7644 aix3*)
   7645   # AIX sometimes has problems with the GCC collect2 program.  For some
   7646   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7647   # vanish in a puff of smoke.
   7648   if test "X${COLLECT_NAMES+set}" != Xset; then
   7649     COLLECT_NAMES=
   7650     export COLLECT_NAMES
   7651   fi
   7652   ;;
   7653 esac
   7654 
   7655 # Global variables:
   7656 ofile=libtool
   7657 can_build_shared=yes
   7658 
   7659 # All known linkers require a `.a' archive for static linking (except MSVC,
   7660 # which needs '.lib').
   7661 libext=a
   7662 
   7663 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7664 
   7665 old_CC="$CC"
   7666 old_CFLAGS="$CFLAGS"
   7667 
   7668 # Set sane defaults for various variables
   7669 test -z "$CC" && CC=cc
   7670 test -z "$LTCC" && LTCC=$CC
   7671 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7672 test -z "$LD" && LD=ld
   7673 test -z "$ac_objext" && ac_objext=o
   7674 
   7675 for cc_temp in $compiler""; do
   7676   case $cc_temp in
   7677     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7678     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7679     \-*) ;;
   7680     *) break;;
   7681   esac
   7682 done
   7683 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7684 
   7685 
   7686 # Only perform the check for file, if the check method requires it
   7687 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7688 case $deplibs_check_method in
   7689 file_magic*)
   7690   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7692 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7693 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7694   $as_echo_n "(cached) " >&6
   7695 else
   7696   case $MAGIC_CMD in
   7697 [\\/*] |  ?:[\\/]*)
   7698   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7699   ;;
   7700 *)
   7701   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7702   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7703   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7704   for ac_dir in $ac_dummy; do
   7705     IFS="$lt_save_ifs"
   7706     test -z "$ac_dir" && ac_dir=.
   7707     if test -f $ac_dir/${ac_tool_prefix}file; then
   7708       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7709       if test -n "$file_magic_test_file"; then
   7710 	case $deplibs_check_method in
   7711 	"file_magic "*)
   7712 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7713 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7714 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7715 	    $EGREP "$file_magic_regex" > /dev/null; then
   7716 	    :
   7717 	  else
   7718 	    cat <<_LT_EOF 1>&2
   7719 
   7720 *** Warning: the command libtool uses to detect shared libraries,
   7721 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7722 *** The result is that libtool may fail to recognize shared libraries
   7723 *** as such.  This will affect the creation of libtool libraries that
   7724 *** depend on shared libraries, but programs linked with such libtool
   7725 *** libraries will work regardless of this problem.  Nevertheless, you
   7726 *** may want to report the problem to your system manager and/or to
   7727 *** bug-libtool@gnu.org
   7728 
   7729 _LT_EOF
   7730 	  fi ;;
   7731 	esac
   7732       fi
   7733       break
   7734     fi
   7735   done
   7736   IFS="$lt_save_ifs"
   7737   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7738   ;;
   7739 esac
   7740 fi
   7741 
   7742 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7743 if test -n "$MAGIC_CMD"; then
   7744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7745 $as_echo "$MAGIC_CMD" >&6; }
   7746 else
   7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7748 $as_echo "no" >&6; }
   7749 fi
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7756   if test -n "$ac_tool_prefix"; then
   7757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7758 $as_echo_n "checking for file... " >&6; }
   7759 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7760   $as_echo_n "(cached) " >&6
   7761 else
   7762   case $MAGIC_CMD in
   7763 [\\/*] |  ?:[\\/]*)
   7764   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7765   ;;
   7766 *)
   7767   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7768   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7769   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7770   for ac_dir in $ac_dummy; do
   7771     IFS="$lt_save_ifs"
   7772     test -z "$ac_dir" && ac_dir=.
   7773     if test -f $ac_dir/file; then
   7774       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7775       if test -n "$file_magic_test_file"; then
   7776 	case $deplibs_check_method in
   7777 	"file_magic "*)
   7778 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7779 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7780 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7781 	    $EGREP "$file_magic_regex" > /dev/null; then
   7782 	    :
   7783 	  else
   7784 	    cat <<_LT_EOF 1>&2
   7785 
   7786 *** Warning: the command libtool uses to detect shared libraries,
   7787 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7788 *** The result is that libtool may fail to recognize shared libraries
   7789 *** as such.  This will affect the creation of libtool libraries that
   7790 *** depend on shared libraries, but programs linked with such libtool
   7791 *** libraries will work regardless of this problem.  Nevertheless, you
   7792 *** may want to report the problem to your system manager and/or to
   7793 *** bug-libtool@gnu.org
   7794 
   7795 _LT_EOF
   7796 	  fi ;;
   7797 	esac
   7798       fi
   7799       break
   7800     fi
   7801   done
   7802   IFS="$lt_save_ifs"
   7803   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7804   ;;
   7805 esac
   7806 fi
   7807 
   7808 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7809 if test -n "$MAGIC_CMD"; then
   7810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7811 $as_echo "$MAGIC_CMD" >&6; }
   7812 else
   7813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7814 $as_echo "no" >&6; }
   7815 fi
   7816 
   7817 
   7818   else
   7819     MAGIC_CMD=:
   7820   fi
   7821 fi
   7822 
   7823   fi
   7824   ;;
   7825 esac
   7826 
   7827 # Use C for the default configuration in the libtool script
   7828 
   7829 lt_save_CC="$CC"
   7830 ac_ext=c
   7831 ac_cpp='$CPP $CPPFLAGS'
   7832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7835 
   7836 
   7837 # Source file extension for C test sources.
   7838 ac_ext=c
   7839 
   7840 # Object file extension for compiled C test sources.
   7841 objext=o
   7842 objext=$objext
   7843 
   7844 # Code to be used in simple compile tests
   7845 lt_simple_compile_test_code="int some_variable = 0;"
   7846 
   7847 # Code to be used in simple link tests
   7848 lt_simple_link_test_code='int main(){return(0);}'
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 # If no C compiler was specified, use CC.
   7857 LTCC=${LTCC-"$CC"}
   7858 
   7859 # If no C compiler flags were specified, use CFLAGS.
   7860 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7861 
   7862 # Allow CC to be a program name with arguments.
   7863 compiler=$CC
   7864 
   7865 # Save the default compiler, since it gets overwritten when the other
   7866 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7867 compiler_DEFAULT=$CC
   7868 
   7869 # save warnings/boilerplate of simple test code
   7870 ac_outfile=conftest.$ac_objext
   7871 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7872 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7873 _lt_compiler_boilerplate=`cat conftest.err`
   7874 $RM conftest*
   7875 
   7876 ac_outfile=conftest.$ac_objext
   7877 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7878 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7879 _lt_linker_boilerplate=`cat conftest.err`
   7880 $RM -r conftest*
   7881 
   7882 
   7883 if test -n "$compiler"; then
   7884 
   7885 lt_prog_compiler_no_builtin_flag=
   7886 
   7887 if test "$GCC" = yes; then
   7888   case $cc_basename in
   7889   nvcc*)
   7890     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7891   *)
   7892     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7893   esac
   7894 
   7895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7896 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7897 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7898   $as_echo_n "(cached) " >&6
   7899 else
   7900   lt_cv_prog_compiler_rtti_exceptions=no
   7901    ac_outfile=conftest.$ac_objext
   7902    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7903    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7904    # Insert the option either (1) after the last *FLAGS variable, or
   7905    # (2) before a word containing "conftest.", or (3) at the end.
   7906    # Note that $ac_compile itself does not contain backslashes and begins
   7907    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7908    # The option is referenced via a variable to avoid confusing sed.
   7909    lt_compile=`echo "$ac_compile" | $SED \
   7910    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7911    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7912    -e 's:$: $lt_compiler_flag:'`
   7913    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7914    (eval "$lt_compile" 2>conftest.err)
   7915    ac_status=$?
   7916    cat conftest.err >&5
   7917    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7918    if (exit $ac_status) && test -s "$ac_outfile"; then
   7919      # The compiler can only warn and ignore the option if not recognized
   7920      # So say no if there are warnings other than the usual output.
   7921      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7922      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7923      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7924        lt_cv_prog_compiler_rtti_exceptions=yes
   7925      fi
   7926    fi
   7927    $RM conftest*
   7928 
   7929 fi
   7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7931 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7932 
   7933 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7934     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7935 else
   7936     :
   7937 fi
   7938 
   7939 fi
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946   lt_prog_compiler_wl=
   7947 lt_prog_compiler_pic=
   7948 lt_prog_compiler_static=
   7949 
   7950 
   7951   if test "$GCC" = yes; then
   7952     lt_prog_compiler_wl='-Wl,'
   7953     lt_prog_compiler_static='-static'
   7954 
   7955     case $host_os in
   7956       aix*)
   7957       # All AIX code is PIC.
   7958       if test "$host_cpu" = ia64; then
   7959 	# AIX 5 now supports IA64 processor
   7960 	lt_prog_compiler_static='-Bstatic'
   7961       fi
   7962       ;;
   7963 
   7964     amigaos*)
   7965       case $host_cpu in
   7966       powerpc)
   7967             # see comment about AmigaOS4 .so support
   7968             lt_prog_compiler_pic='-fPIC'
   7969         ;;
   7970       m68k)
   7971             # FIXME: we need at least 68020 code to build shared libraries, but
   7972             # adding the `-m68020' flag to GCC prevents building anything better,
   7973             # like `-m68040'.
   7974             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7975         ;;
   7976       esac
   7977       ;;
   7978 
   7979     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7980       # PIC is the default for these OSes.
   7981       ;;
   7982 
   7983     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7984       # This hack is so that the source file can tell whether it is being
   7985       # built for inclusion in a dll (and should export symbols for example).
   7986       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7987       # (--disable-auto-import) libraries
   7988       lt_prog_compiler_pic='-DDLL_EXPORT'
   7989       ;;
   7990 
   7991     darwin* | rhapsody*)
   7992       # PIC is the default on this platform
   7993       # Common symbols not allowed in MH_DYLIB files
   7994       lt_prog_compiler_pic='-fno-common'
   7995       ;;
   7996 
   7997     haiku*)
   7998       # PIC is the default for Haiku.
   7999       # The "-static" flag exists, but is broken.
   8000       lt_prog_compiler_static=
   8001       ;;
   8002 
   8003     hpux*)
   8004       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8005       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8006       # sets the default TLS model and affects inlining.
   8007       case $host_cpu in
   8008       hppa*64*)
   8009 	# +Z the default
   8010 	;;
   8011       *)
   8012 	lt_prog_compiler_pic='-fPIC'
   8013 	;;
   8014       esac
   8015       ;;
   8016 
   8017     interix[3-9]*)
   8018       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8019       # Instead, we relocate shared libraries at runtime.
   8020       ;;
   8021 
   8022     msdosdjgpp*)
   8023       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8024       # on systems that don't support them.
   8025       lt_prog_compiler_can_build_shared=no
   8026       enable_shared=no
   8027       ;;
   8028 
   8029     *nto* | *qnx*)
   8030       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8031       # it will coredump.
   8032       lt_prog_compiler_pic='-fPIC -shared'
   8033       ;;
   8034 
   8035     sysv4*MP*)
   8036       if test -d /usr/nec; then
   8037 	lt_prog_compiler_pic=-Kconform_pic
   8038       fi
   8039       ;;
   8040 
   8041     *)
   8042       lt_prog_compiler_pic='-fPIC'
   8043       ;;
   8044     esac
   8045 
   8046     case $cc_basename in
   8047     nvcc*) # Cuda Compiler Driver 2.2
   8048       lt_prog_compiler_wl='-Xlinker '
   8049       if test -n "$lt_prog_compiler_pic"; then
   8050         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8051       fi
   8052       ;;
   8053     esac
   8054   else
   8055     # PORTME Check for flag to pass linker flags through the system compiler.
   8056     case $host_os in
   8057     aix*)
   8058       lt_prog_compiler_wl='-Wl,'
   8059       if test "$host_cpu" = ia64; then
   8060 	# AIX 5 now supports IA64 processor
   8061 	lt_prog_compiler_static='-Bstatic'
   8062       else
   8063 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8064       fi
   8065       ;;
   8066 
   8067     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8068       # This hack is so that the source file can tell whether it is being
   8069       # built for inclusion in a dll (and should export symbols for example).
   8070       lt_prog_compiler_pic='-DDLL_EXPORT'
   8071       ;;
   8072 
   8073     hpux9* | hpux10* | hpux11*)
   8074       lt_prog_compiler_wl='-Wl,'
   8075       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8076       # not for PA HP-UX.
   8077       case $host_cpu in
   8078       hppa*64*|ia64*)
   8079 	# +Z the default
   8080 	;;
   8081       *)
   8082 	lt_prog_compiler_pic='+Z'
   8083 	;;
   8084       esac
   8085       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8086       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8087       ;;
   8088 
   8089     irix5* | irix6* | nonstopux*)
   8090       lt_prog_compiler_wl='-Wl,'
   8091       # PIC (with -KPIC) is the default.
   8092       lt_prog_compiler_static='-non_shared'
   8093       ;;
   8094 
   8095     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8096       case $cc_basename in
   8097       # old Intel for x86_64 which still supported -KPIC.
   8098       ecc*)
   8099 	lt_prog_compiler_wl='-Wl,'
   8100 	lt_prog_compiler_pic='-KPIC'
   8101 	lt_prog_compiler_static='-static'
   8102         ;;
   8103       # icc used to be incompatible with GCC.
   8104       # ICC 10 doesn't accept -KPIC any more.
   8105       icc* | ifort*)
   8106 	lt_prog_compiler_wl='-Wl,'
   8107 	lt_prog_compiler_pic='-fPIC'
   8108 	lt_prog_compiler_static='-static'
   8109         ;;
   8110       # Lahey Fortran 8.1.
   8111       lf95*)
   8112 	lt_prog_compiler_wl='-Wl,'
   8113 	lt_prog_compiler_pic='--shared'
   8114 	lt_prog_compiler_static='--static'
   8115 	;;
   8116       nagfor*)
   8117 	# NAG Fortran compiler
   8118 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8119 	lt_prog_compiler_pic='-PIC'
   8120 	lt_prog_compiler_static='-Bstatic'
   8121 	;;
   8122       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8123         # Portland Group compilers (*not* the Pentium gcc compiler,
   8124 	# which looks to be a dead project)
   8125 	lt_prog_compiler_wl='-Wl,'
   8126 	lt_prog_compiler_pic='-fpic'
   8127 	lt_prog_compiler_static='-Bstatic'
   8128         ;;
   8129       ccc*)
   8130         lt_prog_compiler_wl='-Wl,'
   8131         # All Alpha code is PIC.
   8132         lt_prog_compiler_static='-non_shared'
   8133         ;;
   8134       xl* | bgxl* | bgf* | mpixl*)
   8135 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8136 	lt_prog_compiler_wl='-Wl,'
   8137 	lt_prog_compiler_pic='-qpic'
   8138 	lt_prog_compiler_static='-qstaticlink'
   8139 	;;
   8140       *)
   8141 	case `$CC -V 2>&1 | sed 5q` in
   8142 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8143 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8144 	  lt_prog_compiler_pic='-KPIC'
   8145 	  lt_prog_compiler_static='-Bstatic'
   8146 	  lt_prog_compiler_wl=''
   8147 	  ;;
   8148 	*Sun\ F* | *Sun*Fortran*)
   8149 	  lt_prog_compiler_pic='-KPIC'
   8150 	  lt_prog_compiler_static='-Bstatic'
   8151 	  lt_prog_compiler_wl='-Qoption ld '
   8152 	  ;;
   8153 	*Sun\ C*)
   8154 	  # Sun C 5.9
   8155 	  lt_prog_compiler_pic='-KPIC'
   8156 	  lt_prog_compiler_static='-Bstatic'
   8157 	  lt_prog_compiler_wl='-Wl,'
   8158 	  ;;
   8159         *Intel*\ [CF]*Compiler*)
   8160 	  lt_prog_compiler_wl='-Wl,'
   8161 	  lt_prog_compiler_pic='-fPIC'
   8162 	  lt_prog_compiler_static='-static'
   8163 	  ;;
   8164 	*Portland\ Group*)
   8165 	  lt_prog_compiler_wl='-Wl,'
   8166 	  lt_prog_compiler_pic='-fpic'
   8167 	  lt_prog_compiler_static='-Bstatic'
   8168 	  ;;
   8169 	esac
   8170 	;;
   8171       esac
   8172       ;;
   8173 
   8174     newsos6)
   8175       lt_prog_compiler_pic='-KPIC'
   8176       lt_prog_compiler_static='-Bstatic'
   8177       ;;
   8178 
   8179     *nto* | *qnx*)
   8180       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8181       # it will coredump.
   8182       lt_prog_compiler_pic='-fPIC -shared'
   8183       ;;
   8184 
   8185     osf3* | osf4* | osf5*)
   8186       lt_prog_compiler_wl='-Wl,'
   8187       # All OSF/1 code is PIC.
   8188       lt_prog_compiler_static='-non_shared'
   8189       ;;
   8190 
   8191     rdos*)
   8192       lt_prog_compiler_static='-non_shared'
   8193       ;;
   8194 
   8195     solaris*)
   8196       lt_prog_compiler_pic='-KPIC'
   8197       lt_prog_compiler_static='-Bstatic'
   8198       case $cc_basename in
   8199       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8200 	lt_prog_compiler_wl='-Qoption ld ';;
   8201       *)
   8202 	lt_prog_compiler_wl='-Wl,';;
   8203       esac
   8204       ;;
   8205 
   8206     sunos4*)
   8207       lt_prog_compiler_wl='-Qoption ld '
   8208       lt_prog_compiler_pic='-PIC'
   8209       lt_prog_compiler_static='-Bstatic'
   8210       ;;
   8211 
   8212     sysv4 | sysv4.2uw2* | sysv4.3*)
   8213       lt_prog_compiler_wl='-Wl,'
   8214       lt_prog_compiler_pic='-KPIC'
   8215       lt_prog_compiler_static='-Bstatic'
   8216       ;;
   8217 
   8218     sysv4*MP*)
   8219       if test -d /usr/nec ;then
   8220 	lt_prog_compiler_pic='-Kconform_pic'
   8221 	lt_prog_compiler_static='-Bstatic'
   8222       fi
   8223       ;;
   8224 
   8225     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8226       lt_prog_compiler_wl='-Wl,'
   8227       lt_prog_compiler_pic='-KPIC'
   8228       lt_prog_compiler_static='-Bstatic'
   8229       ;;
   8230 
   8231     unicos*)
   8232       lt_prog_compiler_wl='-Wl,'
   8233       lt_prog_compiler_can_build_shared=no
   8234       ;;
   8235 
   8236     uts4*)
   8237       lt_prog_compiler_pic='-pic'
   8238       lt_prog_compiler_static='-Bstatic'
   8239       ;;
   8240 
   8241     *)
   8242       lt_prog_compiler_can_build_shared=no
   8243       ;;
   8244     esac
   8245   fi
   8246 
   8247 case $host_os in
   8248   # For platforms which do not support PIC, -DPIC is meaningless:
   8249   *djgpp*)
   8250     lt_prog_compiler_pic=
   8251     ;;
   8252   *)
   8253     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8254     ;;
   8255 esac
   8256 
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8258 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8259 if ${lt_cv_prog_compiler_pic+:} false; then :
   8260   $as_echo_n "(cached) " >&6
   8261 else
   8262   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8263 fi
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8265 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8266 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8267 
   8268 #
   8269 # Check to make sure the PIC flag actually works.
   8270 #
   8271 if test -n "$lt_prog_compiler_pic"; then
   8272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8273 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8274 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   lt_cv_prog_compiler_pic_works=no
   8278    ac_outfile=conftest.$ac_objext
   8279    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8280    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8281    # Insert the option either (1) after the last *FLAGS variable, or
   8282    # (2) before a word containing "conftest.", or (3) at the end.
   8283    # Note that $ac_compile itself does not contain backslashes and begins
   8284    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8285    # The option is referenced via a variable to avoid confusing sed.
   8286    lt_compile=`echo "$ac_compile" | $SED \
   8287    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8288    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8289    -e 's:$: $lt_compiler_flag:'`
   8290    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8291    (eval "$lt_compile" 2>conftest.err)
   8292    ac_status=$?
   8293    cat conftest.err >&5
   8294    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8295    if (exit $ac_status) && test -s "$ac_outfile"; then
   8296      # The compiler can only warn and ignore the option if not recognized
   8297      # So say no if there are warnings other than the usual output.
   8298      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8299      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8300      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8301        lt_cv_prog_compiler_pic_works=yes
   8302      fi
   8303    fi
   8304    $RM conftest*
   8305 
   8306 fi
   8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8308 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8309 
   8310 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8311     case $lt_prog_compiler_pic in
   8312      "" | " "*) ;;
   8313      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8314      esac
   8315 else
   8316     lt_prog_compiler_pic=
   8317      lt_prog_compiler_can_build_shared=no
   8318 fi
   8319 
   8320 fi
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 #
   8333 # Check to make sure the static flag actually works.
   8334 #
   8335 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8337 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8338 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8339   $as_echo_n "(cached) " >&6
   8340 else
   8341   lt_cv_prog_compiler_static_works=no
   8342    save_LDFLAGS="$LDFLAGS"
   8343    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8344    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8345    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8346      # The linker can only warn and ignore the option if not recognized
   8347      # So say no if there are warnings
   8348      if test -s conftest.err; then
   8349        # Append any errors to the config.log.
   8350        cat conftest.err 1>&5
   8351        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8352        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8353        if diff conftest.exp conftest.er2 >/dev/null; then
   8354          lt_cv_prog_compiler_static_works=yes
   8355        fi
   8356      else
   8357        lt_cv_prog_compiler_static_works=yes
   8358      fi
   8359    fi
   8360    $RM -r conftest*
   8361    LDFLAGS="$save_LDFLAGS"
   8362 
   8363 fi
   8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8365 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8366 
   8367 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8368     :
   8369 else
   8370     lt_prog_compiler_static=
   8371 fi
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8380 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8381 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8382   $as_echo_n "(cached) " >&6
   8383 else
   8384   lt_cv_prog_compiler_c_o=no
   8385    $RM -r conftest 2>/dev/null
   8386    mkdir conftest
   8387    cd conftest
   8388    mkdir out
   8389    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8390 
   8391    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8392    # Insert the option either (1) after the last *FLAGS variable, or
   8393    # (2) before a word containing "conftest.", or (3) at the end.
   8394    # Note that $ac_compile itself does not contain backslashes and begins
   8395    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8396    lt_compile=`echo "$ac_compile" | $SED \
   8397    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8398    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8399    -e 's:$: $lt_compiler_flag:'`
   8400    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8401    (eval "$lt_compile" 2>out/conftest.err)
   8402    ac_status=$?
   8403    cat out/conftest.err >&5
   8404    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8405    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8406    then
   8407      # The compiler can only warn and ignore the option if not recognized
   8408      # So say no if there are warnings
   8409      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8410      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8411      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8412        lt_cv_prog_compiler_c_o=yes
   8413      fi
   8414    fi
   8415    chmod u+w . 2>&5
   8416    $RM conftest*
   8417    # SGI C++ compiler will create directory out/ii_files/ for
   8418    # template instantiation
   8419    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8420    $RM out/* && rmdir out
   8421    cd ..
   8422    $RM -r conftest
   8423    $RM conftest*
   8424 
   8425 fi
   8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8427 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8435 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8436 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8437   $as_echo_n "(cached) " >&6
   8438 else
   8439   lt_cv_prog_compiler_c_o=no
   8440    $RM -r conftest 2>/dev/null
   8441    mkdir conftest
   8442    cd conftest
   8443    mkdir out
   8444    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8445 
   8446    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8447    # Insert the option either (1) after the last *FLAGS variable, or
   8448    # (2) before a word containing "conftest.", or (3) at the end.
   8449    # Note that $ac_compile itself does not contain backslashes and begins
   8450    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8451    lt_compile=`echo "$ac_compile" | $SED \
   8452    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8453    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8454    -e 's:$: $lt_compiler_flag:'`
   8455    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8456    (eval "$lt_compile" 2>out/conftest.err)
   8457    ac_status=$?
   8458    cat out/conftest.err >&5
   8459    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8460    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8461    then
   8462      # The compiler can only warn and ignore the option if not recognized
   8463      # So say no if there are warnings
   8464      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8465      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8466      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8467        lt_cv_prog_compiler_c_o=yes
   8468      fi
   8469    fi
   8470    chmod u+w . 2>&5
   8471    $RM conftest*
   8472    # SGI C++ compiler will create directory out/ii_files/ for
   8473    # template instantiation
   8474    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8475    $RM out/* && rmdir out
   8476    cd ..
   8477    $RM -r conftest
   8478    $RM conftest*
   8479 
   8480 fi
   8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8482 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8483 
   8484 
   8485 
   8486 
   8487 hard_links="nottested"
   8488 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8489   # do not overwrite the value of need_locks provided by the user
   8490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8491 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8492   hard_links=yes
   8493   $RM conftest*
   8494   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8495   touch conftest.a
   8496   ln conftest.a conftest.b 2>&5 || hard_links=no
   8497   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8499 $as_echo "$hard_links" >&6; }
   8500   if test "$hard_links" = no; then
   8501     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8502 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8503     need_locks=warn
   8504   fi
   8505 else
   8506   need_locks=no
   8507 fi
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8515 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8516 
   8517   runpath_var=
   8518   allow_undefined_flag=
   8519   always_export_symbols=no
   8520   archive_cmds=
   8521   archive_expsym_cmds=
   8522   compiler_needs_object=no
   8523   enable_shared_with_static_runtimes=no
   8524   export_dynamic_flag_spec=
   8525   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8526   hardcode_automatic=no
   8527   hardcode_direct=no
   8528   hardcode_direct_absolute=no
   8529   hardcode_libdir_flag_spec=
   8530   hardcode_libdir_separator=
   8531   hardcode_minus_L=no
   8532   hardcode_shlibpath_var=unsupported
   8533   inherit_rpath=no
   8534   link_all_deplibs=unknown
   8535   module_cmds=
   8536   module_expsym_cmds=
   8537   old_archive_from_new_cmds=
   8538   old_archive_from_expsyms_cmds=
   8539   thread_safe_flag_spec=
   8540   whole_archive_flag_spec=
   8541   # include_expsyms should be a list of space-separated symbols to be *always*
   8542   # included in the symbol list
   8543   include_expsyms=
   8544   # exclude_expsyms can be an extended regexp of symbols to exclude
   8545   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8546   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8547   # as well as any symbol that contains `d'.
   8548   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8549   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8550   # platforms (ab)use it in PIC code, but their linkers get confused if
   8551   # the symbol is explicitly referenced.  Since portable code cannot
   8552   # rely on this symbol name, it's probably fine to never include it in
   8553   # preloaded symbol tables.
   8554   # Exclude shared library initialization/finalization symbols.
   8555   extract_expsyms_cmds=
   8556 
   8557   case $host_os in
   8558   cygwin* | mingw* | pw32* | cegcc*)
   8559     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8560     # When not using gcc, we currently assume that we are using
   8561     # Microsoft Visual C++.
   8562     if test "$GCC" != yes; then
   8563       with_gnu_ld=no
   8564     fi
   8565     ;;
   8566   interix*)
   8567     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8568     with_gnu_ld=yes
   8569     ;;
   8570   openbsd*)
   8571     with_gnu_ld=no
   8572     ;;
   8573   linux* | k*bsd*-gnu | gnu*)
   8574     link_all_deplibs=no
   8575     ;;
   8576   esac
   8577 
   8578   ld_shlibs=yes
   8579 
   8580   # On some targets, GNU ld is compatible enough with the native linker
   8581   # that we're better off using the native interface for both.
   8582   lt_use_gnu_ld_interface=no
   8583   if test "$with_gnu_ld" = yes; then
   8584     case $host_os in
   8585       aix*)
   8586 	# The AIX port of GNU ld has always aspired to compatibility
   8587 	# with the native linker.  However, as the warning in the GNU ld
   8588 	# block says, versions before 2.19.5* couldn't really create working
   8589 	# shared libraries, regardless of the interface used.
   8590 	case `$LD -v 2>&1` in
   8591 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8592 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8593 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8594 	  *)
   8595 	    lt_use_gnu_ld_interface=yes
   8596 	    ;;
   8597 	esac
   8598 	;;
   8599       *)
   8600 	lt_use_gnu_ld_interface=yes
   8601 	;;
   8602     esac
   8603   fi
   8604 
   8605   if test "$lt_use_gnu_ld_interface" = yes; then
   8606     # If archive_cmds runs LD, not CC, wlarc should be empty
   8607     wlarc='${wl}'
   8608 
   8609     # Set some defaults for GNU ld with shared library support. These
   8610     # are reset later if shared libraries are not supported. Putting them
   8611     # here allows them to be overridden if necessary.
   8612     runpath_var=LD_RUN_PATH
   8613     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8614     export_dynamic_flag_spec='${wl}--export-dynamic'
   8615     # ancient GNU ld didn't support --whole-archive et. al.
   8616     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8617       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8618     else
   8619       whole_archive_flag_spec=
   8620     fi
   8621     supports_anon_versioning=no
   8622     case `$LD -v 2>&1` in
   8623       *GNU\ gold*) supports_anon_versioning=yes ;;
   8624       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8625       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8626       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8627       *\ 2.11.*) ;; # other 2.11 versions
   8628       *) supports_anon_versioning=yes ;;
   8629     esac
   8630 
   8631     # See if GNU ld supports shared libraries.
   8632     case $host_os in
   8633     aix[3-9]*)
   8634       # On AIX/PPC, the GNU linker is very broken
   8635       if test "$host_cpu" != ia64; then
   8636 	ld_shlibs=no
   8637 	cat <<_LT_EOF 1>&2
   8638 
   8639 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8640 *** to be unable to reliably create shared libraries on AIX.
   8641 *** Therefore, libtool is disabling shared libraries support.  If you
   8642 *** really care for shared libraries, you may want to install binutils
   8643 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8644 *** You will then need to restart the configuration process.
   8645 
   8646 _LT_EOF
   8647       fi
   8648       ;;
   8649 
   8650     amigaos*)
   8651       case $host_cpu in
   8652       powerpc)
   8653             # see comment about AmigaOS4 .so support
   8654             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8655             archive_expsym_cmds=''
   8656         ;;
   8657       m68k)
   8658             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)'
   8659             hardcode_libdir_flag_spec='-L$libdir'
   8660             hardcode_minus_L=yes
   8661         ;;
   8662       esac
   8663       ;;
   8664 
   8665     beos*)
   8666       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8667 	allow_undefined_flag=unsupported
   8668 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8669 	# support --undefined.  This deserves some investigation.  FIXME
   8670 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8671       else
   8672 	ld_shlibs=no
   8673       fi
   8674       ;;
   8675 
   8676     cygwin* | mingw* | pw32* | cegcc*)
   8677       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8678       # as there is no search path for DLLs.
   8679       hardcode_libdir_flag_spec='-L$libdir'
   8680       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8681       allow_undefined_flag=unsupported
   8682       always_export_symbols=no
   8683       enable_shared_with_static_runtimes=yes
   8684       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'
   8685       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8686 
   8687       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8688         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8689 	# If the export-symbols file already is a .def file (1st line
   8690 	# is EXPORTS), use it as is; otherwise, prepend...
   8691 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8692 	  cp $export_symbols $output_objdir/$soname.def;
   8693 	else
   8694 	  echo EXPORTS > $output_objdir/$soname.def;
   8695 	  cat $export_symbols >> $output_objdir/$soname.def;
   8696 	fi~
   8697 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8698       else
   8699 	ld_shlibs=no
   8700       fi
   8701       ;;
   8702 
   8703     haiku*)
   8704       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8705       link_all_deplibs=yes
   8706       ;;
   8707 
   8708     interix[3-9]*)
   8709       hardcode_direct=no
   8710       hardcode_shlibpath_var=no
   8711       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8712       export_dynamic_flag_spec='${wl}-E'
   8713       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8714       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8715       # default) and relocated if they conflict, which is a slow very memory
   8716       # consuming and fragmenting process.  To avoid this, we pick a random,
   8717       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8718       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8719       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8720       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'
   8721       ;;
   8722 
   8723     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8724       tmp_diet=no
   8725       if test "$host_os" = linux-dietlibc; then
   8726 	case $cc_basename in
   8727 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8728 	esac
   8729       fi
   8730       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8731 	 && test "$tmp_diet" = no
   8732       then
   8733 	tmp_addflag=' $pic_flag'
   8734 	tmp_sharedflag='-shared'
   8735 	case $cc_basename,$host_cpu in
   8736         pgcc*)				# Portland Group C compiler
   8737 	  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'
   8738 	  tmp_addflag=' $pic_flag'
   8739 	  ;;
   8740 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8741 					# Portland Group f77 and f90 compilers
   8742 	  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'
   8743 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8744 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8745 	  tmp_addflag=' -i_dynamic' ;;
   8746 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8747 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8748 	ifc* | ifort*)			# Intel Fortran compiler
   8749 	  tmp_addflag=' -nofor_main' ;;
   8750 	lf95*)				# Lahey Fortran 8.1
   8751 	  whole_archive_flag_spec=
   8752 	  tmp_sharedflag='--shared' ;;
   8753 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8754 	  tmp_sharedflag='-qmkshrobj'
   8755 	  tmp_addflag= ;;
   8756 	nvcc*)	# Cuda Compiler Driver 2.2
   8757 	  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'
   8758 	  compiler_needs_object=yes
   8759 	  ;;
   8760 	esac
   8761 	case `$CC -V 2>&1 | sed 5q` in
   8762 	*Sun\ C*)			# Sun C 5.9
   8763 	  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'
   8764 	  compiler_needs_object=yes
   8765 	  tmp_sharedflag='-G' ;;
   8766 	*Sun\ F*)			# Sun Fortran 8.3
   8767 	  tmp_sharedflag='-G' ;;
   8768 	esac
   8769 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8770 
   8771         if test "x$supports_anon_versioning" = xyes; then
   8772           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8773 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8774 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8775 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8776         fi
   8777 
   8778 	case $cc_basename in
   8779 	xlf* | bgf* | bgxlf* | mpixlf*)
   8780 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8781 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8782 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8783 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8784 	  if test "x$supports_anon_versioning" = xyes; then
   8785 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8786 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8787 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8788 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8789 	  fi
   8790 	  ;;
   8791 	esac
   8792       else
   8793         ld_shlibs=no
   8794       fi
   8795       ;;
   8796 
   8797     netbsd* | netbsdelf*-gnu)
   8798       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8799 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8800 	wlarc=
   8801       else
   8802 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8803 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8804       fi
   8805       ;;
   8806 
   8807     solaris*)
   8808       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8809 	ld_shlibs=no
   8810 	cat <<_LT_EOF 1>&2
   8811 
   8812 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8813 *** create shared libraries on Solaris systems.  Therefore, libtool
   8814 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8815 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8816 *** your PATH or compiler configuration so that the native linker is
   8817 *** used, and then restart.
   8818 
   8819 _LT_EOF
   8820       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8821 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8822 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8823       else
   8824 	ld_shlibs=no
   8825       fi
   8826       ;;
   8827 
   8828     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8829       case `$LD -v 2>&1` in
   8830         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8831 	ld_shlibs=no
   8832 	cat <<_LT_EOF 1>&2
   8833 
   8834 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8835 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8836 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8837 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8838 *** your PATH or compiler configuration so that the native linker is
   8839 *** used, and then restart.
   8840 
   8841 _LT_EOF
   8842 	;;
   8843 	*)
   8844 	  # For security reasons, it is highly recommended that you always
   8845 	  # use absolute paths for naming shared libraries, and exclude the
   8846 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8847 	  # requires that you compile everything twice, which is a pain.
   8848 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8849 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8850 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8851 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8852 	  else
   8853 	    ld_shlibs=no
   8854 	  fi
   8855 	;;
   8856       esac
   8857       ;;
   8858 
   8859     sunos4*)
   8860       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8861       wlarc=
   8862       hardcode_direct=yes
   8863       hardcode_shlibpath_var=no
   8864       ;;
   8865 
   8866     *)
   8867       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8868 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8869 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8870       else
   8871 	ld_shlibs=no
   8872       fi
   8873       ;;
   8874     esac
   8875 
   8876     if test "$ld_shlibs" = no; then
   8877       runpath_var=
   8878       hardcode_libdir_flag_spec=
   8879       export_dynamic_flag_spec=
   8880       whole_archive_flag_spec=
   8881     fi
   8882   else
   8883     # PORTME fill in a description of your system's linker (not GNU ld)
   8884     case $host_os in
   8885     aix3*)
   8886       allow_undefined_flag=unsupported
   8887       always_export_symbols=yes
   8888       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'
   8889       # Note: this linker hardcodes the directories in LIBPATH if there
   8890       # are no directories specified by -L.
   8891       hardcode_minus_L=yes
   8892       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8893 	# Neither direct hardcoding nor static linking is supported with a
   8894 	# broken collect2.
   8895 	hardcode_direct=unsupported
   8896       fi
   8897       ;;
   8898 
   8899     aix[4-9]*)
   8900       if test "$host_cpu" = ia64; then
   8901 	# On IA64, the linker does run time linking by default, so we don't
   8902 	# have to do anything special.
   8903 	aix_use_runtimelinking=no
   8904 	exp_sym_flag='-Bexport'
   8905 	no_entry_flag=""
   8906       else
   8907 	# If we're using GNU nm, then we don't want the "-C" option.
   8908 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8909 	# Also, AIX nm treats weak defined symbols like other global
   8910 	# defined symbols, whereas GNU nm marks them as "W".
   8911 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8912 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8913 	else
   8914 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8915 	fi
   8916 	aix_use_runtimelinking=no
   8917 
   8918 	# Test if we are trying to use run time linking or normal
   8919 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8920 	# need to do runtime linking.
   8921 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8922 	  for ld_flag in $LDFLAGS; do
   8923 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8924 	    aix_use_runtimelinking=yes
   8925 	    break
   8926 	  fi
   8927 	  done
   8928 	  ;;
   8929 	esac
   8930 
   8931 	exp_sym_flag='-bexport'
   8932 	no_entry_flag='-bnoentry'
   8933       fi
   8934 
   8935       # When large executables or shared objects are built, AIX ld can
   8936       # have problems creating the table of contents.  If linking a library
   8937       # or program results in "error TOC overflow" add -mminimal-toc to
   8938       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8939       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8940 
   8941       archive_cmds=''
   8942       hardcode_direct=yes
   8943       hardcode_direct_absolute=yes
   8944       hardcode_libdir_separator=':'
   8945       link_all_deplibs=yes
   8946       file_list_spec='${wl}-f,'
   8947 
   8948       if test "$GCC" = yes; then
   8949 	case $host_os in aix4.[012]|aix4.[012].*)
   8950 	# We only want to do this on AIX 4.2 and lower, the check
   8951 	# below for broken collect2 doesn't work under 4.3+
   8952 	  collect2name=`${CC} -print-prog-name=collect2`
   8953 	  if test -f "$collect2name" &&
   8954 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8955 	  then
   8956 	  # We have reworked collect2
   8957 	  :
   8958 	  else
   8959 	  # We have old collect2
   8960 	  hardcode_direct=unsupported
   8961 	  # It fails to find uninstalled libraries when the uninstalled
   8962 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8963 	  # to unsupported forces relinking
   8964 	  hardcode_minus_L=yes
   8965 	  hardcode_libdir_flag_spec='-L$libdir'
   8966 	  hardcode_libdir_separator=
   8967 	  fi
   8968 	  ;;
   8969 	esac
   8970 	shared_flag='-shared'
   8971 	if test "$aix_use_runtimelinking" = yes; then
   8972 	  shared_flag="$shared_flag "'${wl}-G'
   8973 	fi
   8974 	link_all_deplibs=no
   8975       else
   8976 	# not using gcc
   8977 	if test "$host_cpu" = ia64; then
   8978 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8979 	# chokes on -Wl,-G. The following line is correct:
   8980 	  shared_flag='-G'
   8981 	else
   8982 	  if test "$aix_use_runtimelinking" = yes; then
   8983 	    shared_flag='${wl}-G'
   8984 	  else
   8985 	    shared_flag='${wl}-bM:SRE'
   8986 	  fi
   8987 	fi
   8988       fi
   8989 
   8990       export_dynamic_flag_spec='${wl}-bexpall'
   8991       # It seems that -bexpall does not export symbols beginning with
   8992       # underscore (_), so it is better to generate a list of symbols to export.
   8993       always_export_symbols=yes
   8994       if test "$aix_use_runtimelinking" = yes; then
   8995 	# Warning - without using the other runtime loading flags (-brtl),
   8996 	# -berok will link without error, but may produce a broken library.
   8997 	allow_undefined_flag='-berok'
   8998         # Determine the default libpath from the value encoded in an
   8999         # empty executable.
   9000         if test "${lt_cv_aix_libpath+set}" = set; then
   9001   aix_libpath=$lt_cv_aix_libpath
   9002 else
   9003   if ${lt_cv_aix_libpath_+:} false; then :
   9004   $as_echo_n "(cached) " >&6
   9005 else
   9006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9007 /* end confdefs.h.  */
   9008 
   9009 int
   9010 main ()
   9011 {
   9012 
   9013   ;
   9014   return 0;
   9015 }
   9016 _ACEOF
   9017 if ac_fn_c_try_link "$LINENO"; then :
   9018 
   9019   lt_aix_libpath_sed='
   9020       /Import File Strings/,/^$/ {
   9021 	  /^0/ {
   9022 	      s/^0  *\([^ ]*\) *$/\1/
   9023 	      p
   9024 	  }
   9025       }'
   9026   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9027   # Check for a 64-bit object if we didn't find anything.
   9028   if test -z "$lt_cv_aix_libpath_"; then
   9029     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9030   fi
   9031 fi
   9032 rm -f core conftest.err conftest.$ac_objext \
   9033     conftest$ac_exeext conftest.$ac_ext
   9034   if test -z "$lt_cv_aix_libpath_"; then
   9035     lt_cv_aix_libpath_="/usr/lib:/lib"
   9036   fi
   9037 
   9038 fi
   9039 
   9040   aix_libpath=$lt_cv_aix_libpath_
   9041 fi
   9042 
   9043         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9044         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9045       else
   9046 	if test "$host_cpu" = ia64; then
   9047 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9048 	  allow_undefined_flag="-z nodefs"
   9049 	  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"
   9050 	else
   9051 	 # Determine the default libpath from the value encoded in an
   9052 	 # empty executable.
   9053 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9054   aix_libpath=$lt_cv_aix_libpath
   9055 else
   9056   if ${lt_cv_aix_libpath_+:} false; then :
   9057   $as_echo_n "(cached) " >&6
   9058 else
   9059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9060 /* end confdefs.h.  */
   9061 
   9062 int
   9063 main ()
   9064 {
   9065 
   9066   ;
   9067   return 0;
   9068 }
   9069 _ACEOF
   9070 if ac_fn_c_try_link "$LINENO"; then :
   9071 
   9072   lt_aix_libpath_sed='
   9073       /Import File Strings/,/^$/ {
   9074 	  /^0/ {
   9075 	      s/^0  *\([^ ]*\) *$/\1/
   9076 	      p
   9077 	  }
   9078       }'
   9079   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9080   # Check for a 64-bit object if we didn't find anything.
   9081   if test -z "$lt_cv_aix_libpath_"; then
   9082     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9083   fi
   9084 fi
   9085 rm -f core conftest.err conftest.$ac_objext \
   9086     conftest$ac_exeext conftest.$ac_ext
   9087   if test -z "$lt_cv_aix_libpath_"; then
   9088     lt_cv_aix_libpath_="/usr/lib:/lib"
   9089   fi
   9090 
   9091 fi
   9092 
   9093   aix_libpath=$lt_cv_aix_libpath_
   9094 fi
   9095 
   9096 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9097 	  # Warning - without using the other run time loading flags,
   9098 	  # -berok will link without error, but may produce a broken library.
   9099 	  no_undefined_flag=' ${wl}-bernotok'
   9100 	  allow_undefined_flag=' ${wl}-berok'
   9101 	  if test "$with_gnu_ld" = yes; then
   9102 	    # We only use this code for GNU lds that support --whole-archive.
   9103 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9104 	  else
   9105 	    # Exported symbols can be pulled into shared objects from archives
   9106 	    whole_archive_flag_spec='$convenience'
   9107 	  fi
   9108 	  archive_cmds_need_lc=yes
   9109 	  # This is similar to how AIX traditionally builds its shared libraries.
   9110 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9111 	fi
   9112       fi
   9113       ;;
   9114 
   9115     amigaos*)
   9116       case $host_cpu in
   9117       powerpc)
   9118             # see comment about AmigaOS4 .so support
   9119             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9120             archive_expsym_cmds=''
   9121         ;;
   9122       m68k)
   9123             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)'
   9124             hardcode_libdir_flag_spec='-L$libdir'
   9125             hardcode_minus_L=yes
   9126         ;;
   9127       esac
   9128       ;;
   9129 
   9130     bsdi[45]*)
   9131       export_dynamic_flag_spec=-rdynamic
   9132       ;;
   9133 
   9134     cygwin* | mingw* | pw32* | cegcc*)
   9135       # When not using gcc, we currently assume that we are using
   9136       # Microsoft Visual C++.
   9137       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9138       # no search path for DLLs.
   9139       case $cc_basename in
   9140       cl*)
   9141 	# Native MSVC
   9142 	hardcode_libdir_flag_spec=' '
   9143 	allow_undefined_flag=unsupported
   9144 	always_export_symbols=yes
   9145 	file_list_spec='@'
   9146 	# Tell ltmain to make .lib files, not .a files.
   9147 	libext=lib
   9148 	# Tell ltmain to make .dll files, not .so files.
   9149 	shrext_cmds=".dll"
   9150 	# FIXME: Setting linknames here is a bad hack.
   9151 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9152 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9153 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9154 	  else
   9155 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9156 	  fi~
   9157 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9158 	  linknames='
   9159 	# The linker will not automatically build a static lib if we build a DLL.
   9160 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9161 	enable_shared_with_static_runtimes=yes
   9162 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9163 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9164 	# Don't use ranlib
   9165 	old_postinstall_cmds='chmod 644 $oldlib'
   9166 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9167 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9168 	  case $lt_outputfile in
   9169 	    *.exe|*.EXE) ;;
   9170 	    *)
   9171 	      lt_outputfile="$lt_outputfile.exe"
   9172 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9173 	      ;;
   9174 	  esac~
   9175 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9176 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9177 	    $RM "$lt_outputfile.manifest";
   9178 	  fi'
   9179 	;;
   9180       *)
   9181 	# Assume MSVC wrapper
   9182 	hardcode_libdir_flag_spec=' '
   9183 	allow_undefined_flag=unsupported
   9184 	# Tell ltmain to make .lib files, not .a files.
   9185 	libext=lib
   9186 	# Tell ltmain to make .dll files, not .so files.
   9187 	shrext_cmds=".dll"
   9188 	# FIXME: Setting linknames here is a bad hack.
   9189 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9190 	# The linker will automatically build a .lib file if we build a DLL.
   9191 	old_archive_from_new_cmds='true'
   9192 	# FIXME: Should let the user specify the lib program.
   9193 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9194 	enable_shared_with_static_runtimes=yes
   9195 	;;
   9196       esac
   9197       ;;
   9198 
   9199     darwin* | rhapsody*)
   9200 
   9201 
   9202   archive_cmds_need_lc=no
   9203   hardcode_direct=no
   9204   hardcode_automatic=yes
   9205   hardcode_shlibpath_var=unsupported
   9206   if test "$lt_cv_ld_force_load" = "yes"; then
   9207     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\"`'
   9208 
   9209   else
   9210     whole_archive_flag_spec=''
   9211   fi
   9212   link_all_deplibs=yes
   9213   allow_undefined_flag="$_lt_dar_allow_undefined"
   9214   case $cc_basename in
   9215      ifort*) _lt_dar_can_shared=yes ;;
   9216      *) _lt_dar_can_shared=$GCC ;;
   9217   esac
   9218   if test "$_lt_dar_can_shared" = "yes"; then
   9219     output_verbose_link_cmd=func_echo_all
   9220     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9221     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9222     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}"
   9223     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}"
   9224 
   9225   else
   9226   ld_shlibs=no
   9227   fi
   9228 
   9229       ;;
   9230 
   9231     dgux*)
   9232       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9233       hardcode_libdir_flag_spec='-L$libdir'
   9234       hardcode_shlibpath_var=no
   9235       ;;
   9236 
   9237     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9238     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9239     # does not break anything, and helps significantly (at the cost of a little
   9240     # extra space).
   9241     freebsd2.2*)
   9242       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9243       hardcode_libdir_flag_spec='-R$libdir'
   9244       hardcode_direct=yes
   9245       hardcode_shlibpath_var=no
   9246       ;;
   9247 
   9248     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9249     freebsd2.*)
   9250       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9251       hardcode_direct=yes
   9252       hardcode_minus_L=yes
   9253       hardcode_shlibpath_var=no
   9254       ;;
   9255 
   9256     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9257     freebsd* | dragonfly*)
   9258       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9259       hardcode_libdir_flag_spec='-R$libdir'
   9260       hardcode_direct=yes
   9261       hardcode_shlibpath_var=no
   9262       ;;
   9263 
   9264     hpux9*)
   9265       if test "$GCC" = yes; then
   9266 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9267       else
   9268 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9269       fi
   9270       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9271       hardcode_libdir_separator=:
   9272       hardcode_direct=yes
   9273 
   9274       # hardcode_minus_L: Not really in the search PATH,
   9275       # but as the default location of the library.
   9276       hardcode_minus_L=yes
   9277       export_dynamic_flag_spec='${wl}-E'
   9278       ;;
   9279 
   9280     hpux10*)
   9281       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9282 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9283       else
   9284 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9285       fi
   9286       if test "$with_gnu_ld" = no; then
   9287 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9288 	hardcode_libdir_separator=:
   9289 	hardcode_direct=yes
   9290 	hardcode_direct_absolute=yes
   9291 	export_dynamic_flag_spec='${wl}-E'
   9292 	# hardcode_minus_L: Not really in the search PATH,
   9293 	# but as the default location of the library.
   9294 	hardcode_minus_L=yes
   9295       fi
   9296       ;;
   9297 
   9298     hpux11*)
   9299       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9300 	case $host_cpu in
   9301 	hppa*64*)
   9302 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9303 	  ;;
   9304 	ia64*)
   9305 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9306 	  ;;
   9307 	*)
   9308 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9309 	  ;;
   9310 	esac
   9311       else
   9312 	case $host_cpu in
   9313 	hppa*64*)
   9314 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9315 	  ;;
   9316 	ia64*)
   9317 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9318 	  ;;
   9319 	*)
   9320 
   9321 	  # Older versions of the 11.00 compiler do not understand -b yet
   9322 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9323 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9324 $as_echo_n "checking if $CC understands -b... " >&6; }
   9325 if ${lt_cv_prog_compiler__b+:} false; then :
   9326   $as_echo_n "(cached) " >&6
   9327 else
   9328   lt_cv_prog_compiler__b=no
   9329    save_LDFLAGS="$LDFLAGS"
   9330    LDFLAGS="$LDFLAGS -b"
   9331    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9332    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9333      # The linker can only warn and ignore the option if not recognized
   9334      # So say no if there are warnings
   9335      if test -s conftest.err; then
   9336        # Append any errors to the config.log.
   9337        cat conftest.err 1>&5
   9338        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9339        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9340        if diff conftest.exp conftest.er2 >/dev/null; then
   9341          lt_cv_prog_compiler__b=yes
   9342        fi
   9343      else
   9344        lt_cv_prog_compiler__b=yes
   9345      fi
   9346    fi
   9347    $RM -r conftest*
   9348    LDFLAGS="$save_LDFLAGS"
   9349 
   9350 fi
   9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9352 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9353 
   9354 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9355     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9356 else
   9357     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9358 fi
   9359 
   9360 	  ;;
   9361 	esac
   9362       fi
   9363       if test "$with_gnu_ld" = no; then
   9364 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9365 	hardcode_libdir_separator=:
   9366 
   9367 	case $host_cpu in
   9368 	hppa*64*|ia64*)
   9369 	  hardcode_direct=no
   9370 	  hardcode_shlibpath_var=no
   9371 	  ;;
   9372 	*)
   9373 	  hardcode_direct=yes
   9374 	  hardcode_direct_absolute=yes
   9375 	  export_dynamic_flag_spec='${wl}-E'
   9376 
   9377 	  # hardcode_minus_L: Not really in the search PATH,
   9378 	  # but as the default location of the library.
   9379 	  hardcode_minus_L=yes
   9380 	  ;;
   9381 	esac
   9382       fi
   9383       ;;
   9384 
   9385     irix5* | irix6* | nonstopux*)
   9386       if test "$GCC" = yes; then
   9387 	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'
   9388 	# Try to use the -exported_symbol ld option, if it does not
   9389 	# work, assume that -exports_file does not work either and
   9390 	# implicitly export all symbols.
   9391 	# This should be the same for all languages, so no per-tag cache variable.
   9392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9393 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9394 if ${lt_cv_irix_exported_symbol+:} false; then :
   9395   $as_echo_n "(cached) " >&6
   9396 else
   9397   save_LDFLAGS="$LDFLAGS"
   9398 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9399 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9400 /* end confdefs.h.  */
   9401 int foo (void) { return 0; }
   9402 _ACEOF
   9403 if ac_fn_c_try_link "$LINENO"; then :
   9404   lt_cv_irix_exported_symbol=yes
   9405 else
   9406   lt_cv_irix_exported_symbol=no
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext \
   9409     conftest$ac_exeext conftest.$ac_ext
   9410            LDFLAGS="$save_LDFLAGS"
   9411 fi
   9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9413 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9414 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9415           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'
   9416 	fi
   9417       else
   9418 	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'
   9419 	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'
   9420       fi
   9421       archive_cmds_need_lc='no'
   9422       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9423       hardcode_libdir_separator=:
   9424       inherit_rpath=yes
   9425       link_all_deplibs=yes
   9426       ;;
   9427 
   9428     netbsd* | netbsdelf*-gnu)
   9429       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9430 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9431       else
   9432 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9433       fi
   9434       hardcode_libdir_flag_spec='-R$libdir'
   9435       hardcode_direct=yes
   9436       hardcode_shlibpath_var=no
   9437       ;;
   9438 
   9439     newsos6)
   9440       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9441       hardcode_direct=yes
   9442       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9443       hardcode_libdir_separator=:
   9444       hardcode_shlibpath_var=no
   9445       ;;
   9446 
   9447     *nto* | *qnx*)
   9448       ;;
   9449 
   9450     openbsd*)
   9451       if test -f /usr/libexec/ld.so; then
   9452 	hardcode_direct=yes
   9453 	hardcode_shlibpath_var=no
   9454 	hardcode_direct_absolute=yes
   9455 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9456 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9457 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9458 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9459 	  export_dynamic_flag_spec='${wl}-E'
   9460 	else
   9461 	  case $host_os in
   9462 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9463 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9464 	     hardcode_libdir_flag_spec='-R$libdir'
   9465 	     ;;
   9466 	   *)
   9467 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9468 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9469 	     ;;
   9470 	  esac
   9471 	fi
   9472       else
   9473 	ld_shlibs=no
   9474       fi
   9475       ;;
   9476 
   9477     os2*)
   9478       hardcode_libdir_flag_spec='-L$libdir'
   9479       hardcode_minus_L=yes
   9480       allow_undefined_flag=unsupported
   9481       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9482       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9483       ;;
   9484 
   9485     osf3*)
   9486       if test "$GCC" = yes; then
   9487 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9488 	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'
   9489       else
   9490 	allow_undefined_flag=' -expect_unresolved \*'
   9491 	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'
   9492       fi
   9493       archive_cmds_need_lc='no'
   9494       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9495       hardcode_libdir_separator=:
   9496       ;;
   9497 
   9498     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9499       if test "$GCC" = yes; then
   9500 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9501 	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'
   9502 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9503       else
   9504 	allow_undefined_flag=' -expect_unresolved \*'
   9505 	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'
   9506 	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~
   9507 	$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'
   9508 
   9509 	# Both c and cxx compiler support -rpath directly
   9510 	hardcode_libdir_flag_spec='-rpath $libdir'
   9511       fi
   9512       archive_cmds_need_lc='no'
   9513       hardcode_libdir_separator=:
   9514       ;;
   9515 
   9516     solaris*)
   9517       no_undefined_flag=' -z defs'
   9518       if test "$GCC" = yes; then
   9519 	wlarc='${wl}'
   9520 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9521 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9522 	  $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'
   9523       else
   9524 	case `$CC -V 2>&1` in
   9525 	*"Compilers 5.0"*)
   9526 	  wlarc=''
   9527 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9528 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9529 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9530 	  ;;
   9531 	*)
   9532 	  wlarc='${wl}'
   9533 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9534 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9535 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9536 	  ;;
   9537 	esac
   9538       fi
   9539       hardcode_libdir_flag_spec='-R$libdir'
   9540       hardcode_shlibpath_var=no
   9541       case $host_os in
   9542       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9543       *)
   9544 	# The compiler driver will combine and reorder linker options,
   9545 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9546 	# but is careful enough not to reorder.
   9547 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9548 	if test "$GCC" = yes; then
   9549 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9550 	else
   9551 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9552 	fi
   9553 	;;
   9554       esac
   9555       link_all_deplibs=yes
   9556       ;;
   9557 
   9558     sunos4*)
   9559       if test "x$host_vendor" = xsequent; then
   9560 	# Use $CC to link under sequent, because it throws in some extra .o
   9561 	# files that make .init and .fini sections work.
   9562 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9563       else
   9564 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9565       fi
   9566       hardcode_libdir_flag_spec='-L$libdir'
   9567       hardcode_direct=yes
   9568       hardcode_minus_L=yes
   9569       hardcode_shlibpath_var=no
   9570       ;;
   9571 
   9572     sysv4)
   9573       case $host_vendor in
   9574 	sni)
   9575 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9576 	  hardcode_direct=yes # is this really true???
   9577 	;;
   9578 	siemens)
   9579 	  ## LD is ld it makes a PLAMLIB
   9580 	  ## CC just makes a GrossModule.
   9581 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9582 	  reload_cmds='$CC -r -o $output$reload_objs'
   9583 	  hardcode_direct=no
   9584         ;;
   9585 	motorola)
   9586 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9587 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9588 	;;
   9589       esac
   9590       runpath_var='LD_RUN_PATH'
   9591       hardcode_shlibpath_var=no
   9592       ;;
   9593 
   9594     sysv4.3*)
   9595       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9596       hardcode_shlibpath_var=no
   9597       export_dynamic_flag_spec='-Bexport'
   9598       ;;
   9599 
   9600     sysv4*MP*)
   9601       if test -d /usr/nec; then
   9602 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9603 	hardcode_shlibpath_var=no
   9604 	runpath_var=LD_RUN_PATH
   9605 	hardcode_runpath_var=yes
   9606 	ld_shlibs=yes
   9607       fi
   9608       ;;
   9609 
   9610     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9611       no_undefined_flag='${wl}-z,text'
   9612       archive_cmds_need_lc=no
   9613       hardcode_shlibpath_var=no
   9614       runpath_var='LD_RUN_PATH'
   9615 
   9616       if test "$GCC" = yes; then
   9617 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9618 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9619       else
   9620 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9621 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9622       fi
   9623       ;;
   9624 
   9625     sysv5* | sco3.2v5* | sco5v6*)
   9626       # Note: We can NOT use -z defs as we might desire, because we do not
   9627       # link with -lc, and that would cause any symbols used from libc to
   9628       # always be unresolved, which means just about no library would
   9629       # ever link correctly.  If we're not using GNU ld we use -z text
   9630       # though, which does catch some bad symbols but isn't as heavy-handed
   9631       # as -z defs.
   9632       no_undefined_flag='${wl}-z,text'
   9633       allow_undefined_flag='${wl}-z,nodefs'
   9634       archive_cmds_need_lc=no
   9635       hardcode_shlibpath_var=no
   9636       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9637       hardcode_libdir_separator=':'
   9638       link_all_deplibs=yes
   9639       export_dynamic_flag_spec='${wl}-Bexport'
   9640       runpath_var='LD_RUN_PATH'
   9641 
   9642       if test "$GCC" = yes; then
   9643 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9644 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9645       else
   9646 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9647 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648       fi
   9649       ;;
   9650 
   9651     uts4*)
   9652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9653       hardcode_libdir_flag_spec='-L$libdir'
   9654       hardcode_shlibpath_var=no
   9655       ;;
   9656 
   9657     *)
   9658       ld_shlibs=no
   9659       ;;
   9660     esac
   9661 
   9662     if test x$host_vendor = xsni; then
   9663       case $host in
   9664       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9665 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9666 	;;
   9667       esac
   9668     fi
   9669   fi
   9670 
   9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9672 $as_echo "$ld_shlibs" >&6; }
   9673 test "$ld_shlibs" = no && can_build_shared=no
   9674 
   9675 with_gnu_ld=$with_gnu_ld
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 #
   9692 # Do we need to explicitly link libc?
   9693 #
   9694 case "x$archive_cmds_need_lc" in
   9695 x|xyes)
   9696   # Assume -lc should be added
   9697   archive_cmds_need_lc=yes
   9698 
   9699   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9700     case $archive_cmds in
   9701     *'~'*)
   9702       # FIXME: we may have to deal with multi-command sequences.
   9703       ;;
   9704     '$CC '*)
   9705       # Test whether the compiler implicitly links with -lc since on some
   9706       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9707       # to ld, don't add -lc before -lgcc.
   9708       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9709 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9710 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9711   $as_echo_n "(cached) " >&6
   9712 else
   9713   $RM conftest*
   9714 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9715 
   9716 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9717   (eval $ac_compile) 2>&5
   9718   ac_status=$?
   9719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9720   test $ac_status = 0; } 2>conftest.err; then
   9721 	  soname=conftest
   9722 	  lib=conftest
   9723 	  libobjs=conftest.$ac_objext
   9724 	  deplibs=
   9725 	  wl=$lt_prog_compiler_wl
   9726 	  pic_flag=$lt_prog_compiler_pic
   9727 	  compiler_flags=-v
   9728 	  linker_flags=-v
   9729 	  verstring=
   9730 	  output_objdir=.
   9731 	  libname=conftest
   9732 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9733 	  allow_undefined_flag=
   9734 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9735   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9736   ac_status=$?
   9737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9738   test $ac_status = 0; }
   9739 	  then
   9740 	    lt_cv_archive_cmds_need_lc=no
   9741 	  else
   9742 	    lt_cv_archive_cmds_need_lc=yes
   9743 	  fi
   9744 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9745 	else
   9746 	  cat conftest.err 1>&5
   9747 	fi
   9748 	$RM conftest*
   9749 
   9750 fi
   9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9752 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9753       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9754       ;;
   9755     esac
   9756   fi
   9757   ;;
   9758 esac
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9912 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9913 
   9914 if test "$GCC" = yes; then
   9915   case $host_os in
   9916     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9917     *) lt_awk_arg="/^libraries:/" ;;
   9918   esac
   9919   case $host_os in
   9920     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9921     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9922   esac
   9923   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9924   case $lt_search_path_spec in
   9925   *\;*)
   9926     # if the path contains ";" then we assume it to be the separator
   9927     # otherwise default to the standard path separator (i.e. ":") - it is
   9928     # assumed that no part of a normal pathname contains ";" but that should
   9929     # okay in the real world where ";" in dirpaths is itself problematic.
   9930     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9931     ;;
   9932   *)
   9933     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9934     ;;
   9935   esac
   9936   # Ok, now we have the path, separated by spaces, we can step through it
   9937   # and add multilib dir if necessary.
   9938   lt_tmp_lt_search_path_spec=
   9939   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9940   for lt_sys_path in $lt_search_path_spec; do
   9941     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9942       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9943     else
   9944       test -d "$lt_sys_path" && \
   9945 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9946     fi
   9947   done
   9948   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9949 BEGIN {RS=" "; FS="/|\n";} {
   9950   lt_foo="";
   9951   lt_count=0;
   9952   for (lt_i = NF; lt_i > 0; lt_i--) {
   9953     if ($lt_i != "" && $lt_i != ".") {
   9954       if ($lt_i == "..") {
   9955         lt_count++;
   9956       } else {
   9957         if (lt_count == 0) {
   9958           lt_foo="/" $lt_i lt_foo;
   9959         } else {
   9960           lt_count--;
   9961         }
   9962       }
   9963     }
   9964   }
   9965   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9966   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9967 }'`
   9968   # AWK program above erroneously prepends '/' to C:/dos/paths
   9969   # for these hosts.
   9970   case $host_os in
   9971     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9972       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9973   esac
   9974   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9975 else
   9976   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9977 fi
   9978 library_names_spec=
   9979 libname_spec='lib$name'
   9980 soname_spec=
   9981 shrext_cmds=".so"
   9982 postinstall_cmds=
   9983 postuninstall_cmds=
   9984 finish_cmds=
   9985 finish_eval=
   9986 shlibpath_var=
   9987 shlibpath_overrides_runpath=unknown
   9988 version_type=none
   9989 dynamic_linker="$host_os ld.so"
   9990 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9991 need_lib_prefix=unknown
   9992 hardcode_into_libs=no
   9993 
   9994 # when you set need_version to no, make sure it does not cause -set_version
   9995 # flags to be left without arguments
   9996 need_version=unknown
   9997 
   9998 case $host_os in
   9999 aix3*)
   10000   version_type=linux # correct to gnu/linux during the next big refactor
   10001   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10002   shlibpath_var=LIBPATH
   10003 
   10004   # AIX 3 has no versioning support, so we append a major version to the name.
   10005   soname_spec='${libname}${release}${shared_ext}$major'
   10006   ;;
   10007 
   10008 aix[4-9]*)
   10009   version_type=linux # correct to gnu/linux during the next big refactor
   10010   need_lib_prefix=no
   10011   need_version=no
   10012   hardcode_into_libs=yes
   10013   if test "$host_cpu" = ia64; then
   10014     # AIX 5 supports IA64
   10015     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10016     shlibpath_var=LD_LIBRARY_PATH
   10017   else
   10018     # With GCC up to 2.95.x, collect2 would create an import file
   10019     # for dependence libraries.  The import file would start with
   10020     # the line `#! .'.  This would cause the generated library to
   10021     # depend on `.', always an invalid library.  This was fixed in
   10022     # development snapshots of GCC prior to 3.0.
   10023     case $host_os in
   10024       aix4 | aix4.[01] | aix4.[01].*)
   10025       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10026 	   echo ' yes '
   10027 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10028 	:
   10029       else
   10030 	can_build_shared=no
   10031       fi
   10032       ;;
   10033     esac
   10034     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10035     # soname into executable. Probably we can add versioning support to
   10036     # collect2, so additional links can be useful in future.
   10037     if test "$aix_use_runtimelinking" = yes; then
   10038       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10039       # instead of lib<name>.a to let people know that these are not
   10040       # typical AIX shared libraries.
   10041       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10042     else
   10043       # We preserve .a as extension for shared libraries through AIX4.2
   10044       # and later when we are not doing run time linking.
   10045       library_names_spec='${libname}${release}.a $libname.a'
   10046       soname_spec='${libname}${release}${shared_ext}$major'
   10047     fi
   10048     shlibpath_var=LIBPATH
   10049   fi
   10050   ;;
   10051 
   10052 amigaos*)
   10053   case $host_cpu in
   10054   powerpc)
   10055     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10056     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10057     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10058     ;;
   10059   m68k)
   10060     library_names_spec='$libname.ixlibrary $libname.a'
   10061     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10062     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10063     ;;
   10064   esac
   10065   ;;
   10066 
   10067 beos*)
   10068   library_names_spec='${libname}${shared_ext}'
   10069   dynamic_linker="$host_os ld.so"
   10070   shlibpath_var=LIBRARY_PATH
   10071   ;;
   10072 
   10073 bsdi[45]*)
   10074   version_type=linux # correct to gnu/linux during the next big refactor
   10075   need_version=no
   10076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10077   soname_spec='${libname}${release}${shared_ext}$major'
   10078   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10079   shlibpath_var=LD_LIBRARY_PATH
   10080   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10081   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10082   # the default ld.so.conf also contains /usr/contrib/lib and
   10083   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10084   # libtool to hard-code these into programs
   10085   ;;
   10086 
   10087 cygwin* | mingw* | pw32* | cegcc*)
   10088   version_type=windows
   10089   shrext_cmds=".dll"
   10090   need_version=no
   10091   need_lib_prefix=no
   10092 
   10093   case $GCC,$cc_basename in
   10094   yes,*)
   10095     # gcc
   10096     library_names_spec='$libname.dll.a'
   10097     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10098     postinstall_cmds='base_file=`basename \${file}`~
   10099       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10100       dldir=$destdir/`dirname \$dlpath`~
   10101       test -d \$dldir || mkdir -p \$dldir~
   10102       $install_prog $dir/$dlname \$dldir/$dlname~
   10103       chmod a+x \$dldir/$dlname~
   10104       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10105         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10106       fi'
   10107     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10108       dlpath=$dir/\$dldll~
   10109        $RM \$dlpath'
   10110     shlibpath_overrides_runpath=yes
   10111 
   10112     case $host_os in
   10113     cygwin*)
   10114       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10115       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10116 
   10117       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10118       ;;
   10119     mingw* | cegcc*)
   10120       # MinGW DLLs use traditional 'lib' prefix
   10121       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10122       ;;
   10123     pw32*)
   10124       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10125       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10126       ;;
   10127     esac
   10128     dynamic_linker='Win32 ld.exe'
   10129     ;;
   10130 
   10131   *,cl*)
   10132     # Native MSVC
   10133     libname_spec='$name'
   10134     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10135     library_names_spec='${libname}.dll.lib'
   10136 
   10137     case $build_os in
   10138     mingw*)
   10139       sys_lib_search_path_spec=
   10140       lt_save_ifs=$IFS
   10141       IFS=';'
   10142       for lt_path in $LIB
   10143       do
   10144         IFS=$lt_save_ifs
   10145         # Let DOS variable expansion print the short 8.3 style file name.
   10146         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10147         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10148       done
   10149       IFS=$lt_save_ifs
   10150       # Convert to MSYS style.
   10151       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10152       ;;
   10153     cygwin*)
   10154       # Convert to unix form, then to dos form, then back to unix form
   10155       # but this time dos style (no spaces!) so that the unix form looks
   10156       # like /cygdrive/c/PROGRA~1:/cygdr...
   10157       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10158       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10159       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10160       ;;
   10161     *)
   10162       sys_lib_search_path_spec="$LIB"
   10163       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10164         # It is most probably a Windows format PATH.
   10165         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10166       else
   10167         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10168       fi
   10169       # FIXME: find the short name or the path components, as spaces are
   10170       # common. (e.g. "Program Files" -> "PROGRA~1")
   10171       ;;
   10172     esac
   10173 
   10174     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10175     postinstall_cmds='base_file=`basename \${file}`~
   10176       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10177       dldir=$destdir/`dirname \$dlpath`~
   10178       test -d \$dldir || mkdir -p \$dldir~
   10179       $install_prog $dir/$dlname \$dldir/$dlname'
   10180     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10181       dlpath=$dir/\$dldll~
   10182        $RM \$dlpath'
   10183     shlibpath_overrides_runpath=yes
   10184     dynamic_linker='Win32 link.exe'
   10185     ;;
   10186 
   10187   *)
   10188     # Assume MSVC wrapper
   10189     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10190     dynamic_linker='Win32 ld.exe'
   10191     ;;
   10192   esac
   10193   # FIXME: first we should search . and the directory the executable is in
   10194   shlibpath_var=PATH
   10195   ;;
   10196 
   10197 darwin* | rhapsody*)
   10198   dynamic_linker="$host_os dyld"
   10199   version_type=darwin
   10200   need_lib_prefix=no
   10201   need_version=no
   10202   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10203   soname_spec='${libname}${release}${major}$shared_ext'
   10204   shlibpath_overrides_runpath=yes
   10205   shlibpath_var=DYLD_LIBRARY_PATH
   10206   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10207 
   10208   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10209   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10210   ;;
   10211 
   10212 dgux*)
   10213   version_type=linux # correct to gnu/linux during the next big refactor
   10214   need_lib_prefix=no
   10215   need_version=no
   10216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10217   soname_spec='${libname}${release}${shared_ext}$major'
   10218   shlibpath_var=LD_LIBRARY_PATH
   10219   ;;
   10220 
   10221 freebsd* | dragonfly*)
   10222   # DragonFly does not have aout.  When/if they implement a new
   10223   # versioning mechanism, adjust this.
   10224   if test -x /usr/bin/objformat; then
   10225     objformat=`/usr/bin/objformat`
   10226   else
   10227     case $host_os in
   10228     freebsd[23].*) objformat=aout ;;
   10229     *) objformat=elf ;;
   10230     esac
   10231   fi
   10232   version_type=freebsd-$objformat
   10233   case $version_type in
   10234     freebsd-elf*)
   10235       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10236       need_version=no
   10237       need_lib_prefix=no
   10238       ;;
   10239     freebsd-*)
   10240       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10241       need_version=yes
   10242       ;;
   10243   esac
   10244   shlibpath_var=LD_LIBRARY_PATH
   10245   case $host_os in
   10246   freebsd2.*)
   10247     shlibpath_overrides_runpath=yes
   10248     ;;
   10249   freebsd3.[01]* | freebsdelf3.[01]*)
   10250     shlibpath_overrides_runpath=yes
   10251     hardcode_into_libs=yes
   10252     ;;
   10253   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10254   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10255     shlibpath_overrides_runpath=no
   10256     hardcode_into_libs=yes
   10257     ;;
   10258   *) # from 4.6 on, and DragonFly
   10259     shlibpath_overrides_runpath=yes
   10260     hardcode_into_libs=yes
   10261     ;;
   10262   esac
   10263   ;;
   10264 
   10265 gnu*)
   10266   version_type=linux # correct to gnu/linux during the next big refactor
   10267   need_lib_prefix=no
   10268   need_version=no
   10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10270   soname_spec='${libname}${release}${shared_ext}$major'
   10271   shlibpath_var=LD_LIBRARY_PATH
   10272   shlibpath_overrides_runpath=no
   10273   hardcode_into_libs=yes
   10274   ;;
   10275 
   10276 haiku*)
   10277   version_type=linux # correct to gnu/linux during the next big refactor
   10278   need_lib_prefix=no
   10279   need_version=no
   10280   dynamic_linker="$host_os runtime_loader"
   10281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10282   soname_spec='${libname}${release}${shared_ext}$major'
   10283   shlibpath_var=LIBRARY_PATH
   10284   shlibpath_overrides_runpath=yes
   10285   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10286   hardcode_into_libs=yes
   10287   ;;
   10288 
   10289 hpux9* | hpux10* | hpux11*)
   10290   # Give a soname corresponding to the major version so that dld.sl refuses to
   10291   # link against other versions.
   10292   version_type=sunos
   10293   need_lib_prefix=no
   10294   need_version=no
   10295   case $host_cpu in
   10296   ia64*)
   10297     shrext_cmds='.so'
   10298     hardcode_into_libs=yes
   10299     dynamic_linker="$host_os dld.so"
   10300     shlibpath_var=LD_LIBRARY_PATH
   10301     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10302     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10303     soname_spec='${libname}${release}${shared_ext}$major'
   10304     if test "X$HPUX_IA64_MODE" = X32; then
   10305       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10306     else
   10307       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10308     fi
   10309     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10310     ;;
   10311   hppa*64*)
   10312     shrext_cmds='.sl'
   10313     hardcode_into_libs=yes
   10314     dynamic_linker="$host_os dld.sl"
   10315     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10316     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10317     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10318     soname_spec='${libname}${release}${shared_ext}$major'
   10319     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10320     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10321     ;;
   10322   *)
   10323     shrext_cmds='.sl'
   10324     dynamic_linker="$host_os dld.sl"
   10325     shlibpath_var=SHLIB_PATH
   10326     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10327     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10328     soname_spec='${libname}${release}${shared_ext}$major'
   10329     ;;
   10330   esac
   10331   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10332   postinstall_cmds='chmod 555 $lib'
   10333   # or fails outright, so override atomically:
   10334   install_override_mode=555
   10335   ;;
   10336 
   10337 interix[3-9]*)
   10338   version_type=linux # correct to gnu/linux during the next big refactor
   10339   need_lib_prefix=no
   10340   need_version=no
   10341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10342   soname_spec='${libname}${release}${shared_ext}$major'
   10343   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10344   shlibpath_var=LD_LIBRARY_PATH
   10345   shlibpath_overrides_runpath=no
   10346   hardcode_into_libs=yes
   10347   ;;
   10348 
   10349 irix5* | irix6* | nonstopux*)
   10350   case $host_os in
   10351     nonstopux*) version_type=nonstopux ;;
   10352     *)
   10353 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10354 		version_type=linux # correct to gnu/linux during the next big refactor
   10355 	else
   10356 		version_type=irix
   10357 	fi ;;
   10358   esac
   10359   need_lib_prefix=no
   10360   need_version=no
   10361   soname_spec='${libname}${release}${shared_ext}$major'
   10362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10363   case $host_os in
   10364   irix5* | nonstopux*)
   10365     libsuff= shlibsuff=
   10366     ;;
   10367   *)
   10368     case $LD in # libtool.m4 will add one of these switches to LD
   10369     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10370       libsuff= shlibsuff= libmagic=32-bit;;
   10371     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10372       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10373     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10374       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10375     *) libsuff= shlibsuff= libmagic=never-match;;
   10376     esac
   10377     ;;
   10378   esac
   10379   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10380   shlibpath_overrides_runpath=no
   10381   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10382   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10383   hardcode_into_libs=yes
   10384   ;;
   10385 
   10386 # No shared lib support for Linux oldld, aout, or coff.
   10387 linux*oldld* | linux*aout* | linux*coff*)
   10388   dynamic_linker=no
   10389   ;;
   10390 
   10391 # This must be glibc/ELF.
   10392 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10393   version_type=linux # correct to gnu/linux during the next big refactor
   10394   need_lib_prefix=no
   10395   need_version=no
   10396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10397   soname_spec='${libname}${release}${shared_ext}$major'
   10398   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10399   shlibpath_var=LD_LIBRARY_PATH
   10400   shlibpath_overrides_runpath=no
   10401 
   10402   # Some binutils ld are patched to set DT_RUNPATH
   10403   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10404   $as_echo_n "(cached) " >&6
   10405 else
   10406   lt_cv_shlibpath_overrides_runpath=no
   10407     save_LDFLAGS=$LDFLAGS
   10408     save_libdir=$libdir
   10409     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10410 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10411     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 
   10414 int
   10415 main ()
   10416 {
   10417 
   10418   ;
   10419   return 0;
   10420 }
   10421 _ACEOF
   10422 if ac_fn_c_try_link "$LINENO"; then :
   10423   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10424   lt_cv_shlibpath_overrides_runpath=yes
   10425 fi
   10426 fi
   10427 rm -f core conftest.err conftest.$ac_objext \
   10428     conftest$ac_exeext conftest.$ac_ext
   10429     LDFLAGS=$save_LDFLAGS
   10430     libdir=$save_libdir
   10431 
   10432 fi
   10433 
   10434   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10435 
   10436   # This implies no fast_install, which is unacceptable.
   10437   # Some rework will be needed to allow for fast_install
   10438   # before this can be enabled.
   10439   hardcode_into_libs=yes
   10440 
   10441   # Append ld.so.conf contents to the search path
   10442   if test -f /etc/ld.so.conf; then
   10443     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' ' '`
   10444     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10445   fi
   10446 
   10447   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10448   # powerpc, because MkLinux only supported shared libraries with the
   10449   # GNU dynamic linker.  Since this was broken with cross compilers,
   10450   # most powerpc-linux boxes support dynamic linking these days and
   10451   # people can always --disable-shared, the test was removed, and we
   10452   # assume the GNU/Linux dynamic linker is in use.
   10453   dynamic_linker='GNU/Linux ld.so'
   10454   ;;
   10455 
   10456 netbsdelf*-gnu)
   10457   version_type=linux
   10458   need_lib_prefix=no
   10459   need_version=no
   10460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10461   soname_spec='${libname}${release}${shared_ext}$major'
   10462   shlibpath_var=LD_LIBRARY_PATH
   10463   shlibpath_overrides_runpath=no
   10464   hardcode_into_libs=yes
   10465   dynamic_linker='NetBSD ld.elf_so'
   10466   ;;
   10467 
   10468 netbsd*)
   10469   version_type=sunos
   10470   need_lib_prefix=no
   10471   need_version=no
   10472   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10474     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10475     dynamic_linker='NetBSD (a.out) ld.so'
   10476   else
   10477     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10478     soname_spec='${libname}${release}${shared_ext}$major'
   10479     dynamic_linker='NetBSD ld.elf_so'
   10480   fi
   10481   shlibpath_var=LD_LIBRARY_PATH
   10482   shlibpath_overrides_runpath=yes
   10483   hardcode_into_libs=yes
   10484   ;;
   10485 
   10486 newsos6)
   10487   version_type=linux # correct to gnu/linux during the next big refactor
   10488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10489   shlibpath_var=LD_LIBRARY_PATH
   10490   shlibpath_overrides_runpath=yes
   10491   ;;
   10492 
   10493 *nto* | *qnx*)
   10494   version_type=qnx
   10495   need_lib_prefix=no
   10496   need_version=no
   10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10498   soname_spec='${libname}${release}${shared_ext}$major'
   10499   shlibpath_var=LD_LIBRARY_PATH
   10500   shlibpath_overrides_runpath=no
   10501   hardcode_into_libs=yes
   10502   dynamic_linker='ldqnx.so'
   10503   ;;
   10504 
   10505 openbsd*)
   10506   version_type=sunos
   10507   sys_lib_dlsearch_path_spec="/usr/lib"
   10508   need_lib_prefix=no
   10509   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10510   case $host_os in
   10511     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10512     *)				need_version=no  ;;
   10513   esac
   10514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10515   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10516   shlibpath_var=LD_LIBRARY_PATH
   10517   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10518     case $host_os in
   10519       openbsd2.[89] | openbsd2.[89].*)
   10520 	shlibpath_overrides_runpath=no
   10521 	;;
   10522       *)
   10523 	shlibpath_overrides_runpath=yes
   10524 	;;
   10525       esac
   10526   else
   10527     shlibpath_overrides_runpath=yes
   10528   fi
   10529   ;;
   10530 
   10531 os2*)
   10532   libname_spec='$name'
   10533   shrext_cmds=".dll"
   10534   need_lib_prefix=no
   10535   library_names_spec='$libname${shared_ext} $libname.a'
   10536   dynamic_linker='OS/2 ld.exe'
   10537   shlibpath_var=LIBPATH
   10538   ;;
   10539 
   10540 osf3* | osf4* | osf5*)
   10541   version_type=osf
   10542   need_lib_prefix=no
   10543   need_version=no
   10544   soname_spec='${libname}${release}${shared_ext}$major'
   10545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10546   shlibpath_var=LD_LIBRARY_PATH
   10547   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10548   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10549   ;;
   10550 
   10551 rdos*)
   10552   dynamic_linker=no
   10553   ;;
   10554 
   10555 solaris*)
   10556   version_type=linux # correct to gnu/linux during the next big refactor
   10557   need_lib_prefix=no
   10558   need_version=no
   10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10560   soname_spec='${libname}${release}${shared_ext}$major'
   10561   shlibpath_var=LD_LIBRARY_PATH
   10562   shlibpath_overrides_runpath=yes
   10563   hardcode_into_libs=yes
   10564   # ldd complains unless libraries are executable
   10565   postinstall_cmds='chmod +x $lib'
   10566   ;;
   10567 
   10568 sunos4*)
   10569   version_type=sunos
   10570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10571   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10572   shlibpath_var=LD_LIBRARY_PATH
   10573   shlibpath_overrides_runpath=yes
   10574   if test "$with_gnu_ld" = yes; then
   10575     need_lib_prefix=no
   10576   fi
   10577   need_version=yes
   10578   ;;
   10579 
   10580 sysv4 | sysv4.3*)
   10581   version_type=linux # correct to gnu/linux during the next big refactor
   10582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10583   soname_spec='${libname}${release}${shared_ext}$major'
   10584   shlibpath_var=LD_LIBRARY_PATH
   10585   case $host_vendor in
   10586     sni)
   10587       shlibpath_overrides_runpath=no
   10588       need_lib_prefix=no
   10589       runpath_var=LD_RUN_PATH
   10590       ;;
   10591     siemens)
   10592       need_lib_prefix=no
   10593       ;;
   10594     motorola)
   10595       need_lib_prefix=no
   10596       need_version=no
   10597       shlibpath_overrides_runpath=no
   10598       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10599       ;;
   10600   esac
   10601   ;;
   10602 
   10603 sysv4*MP*)
   10604   if test -d /usr/nec ;then
   10605     version_type=linux # correct to gnu/linux during the next big refactor
   10606     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10607     soname_spec='$libname${shared_ext}.$major'
   10608     shlibpath_var=LD_LIBRARY_PATH
   10609   fi
   10610   ;;
   10611 
   10612 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10613   version_type=freebsd-elf
   10614   need_lib_prefix=no
   10615   need_version=no
   10616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10617   soname_spec='${libname}${release}${shared_ext}$major'
   10618   shlibpath_var=LD_LIBRARY_PATH
   10619   shlibpath_overrides_runpath=yes
   10620   hardcode_into_libs=yes
   10621   if test "$with_gnu_ld" = yes; then
   10622     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10623   else
   10624     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10625     case $host_os in
   10626       sco3.2v5*)
   10627         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10628 	;;
   10629     esac
   10630   fi
   10631   sys_lib_dlsearch_path_spec='/usr/lib'
   10632   ;;
   10633 
   10634 tpf*)
   10635   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10636   version_type=linux # correct to gnu/linux during the next big refactor
   10637   need_lib_prefix=no
   10638   need_version=no
   10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10640   shlibpath_var=LD_LIBRARY_PATH
   10641   shlibpath_overrides_runpath=no
   10642   hardcode_into_libs=yes
   10643   ;;
   10644 
   10645 uts4*)
   10646   version_type=linux # correct to gnu/linux during the next big refactor
   10647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10648   soname_spec='${libname}${release}${shared_ext}$major'
   10649   shlibpath_var=LD_LIBRARY_PATH
   10650   ;;
   10651 
   10652 *)
   10653   dynamic_linker=no
   10654   ;;
   10655 esac
   10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10657 $as_echo "$dynamic_linker" >&6; }
   10658 test "$dynamic_linker" = no && can_build_shared=no
   10659 
   10660 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10661 if test "$GCC" = yes; then
   10662   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10663 fi
   10664 
   10665 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10666   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10667 fi
   10668 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10669   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10670 fi
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10764 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10765 hardcode_action=
   10766 if test -n "$hardcode_libdir_flag_spec" ||
   10767    test -n "$runpath_var" ||
   10768    test "X$hardcode_automatic" = "Xyes" ; then
   10769 
   10770   # We can hardcode non-existent directories.
   10771   if test "$hardcode_direct" != no &&
   10772      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10773      # have to relink, otherwise we might link with an installed library
   10774      # when we should be linking with a yet-to-be-installed one
   10775      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10776      test "$hardcode_minus_L" != no; then
   10777     # Linking always hardcodes the temporary library directory.
   10778     hardcode_action=relink
   10779   else
   10780     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10781     hardcode_action=immediate
   10782   fi
   10783 else
   10784   # We cannot hardcode anything, or else we can only hardcode existing
   10785   # directories.
   10786   hardcode_action=unsupported
   10787 fi
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10789 $as_echo "$hardcode_action" >&6; }
   10790 
   10791 if test "$hardcode_action" = relink ||
   10792    test "$inherit_rpath" = yes; then
   10793   # Fast installation is not supported
   10794   enable_fast_install=no
   10795 elif test "$shlibpath_overrides_runpath" = yes ||
   10796      test "$enable_shared" = no; then
   10797   # Fast installation is not necessary
   10798   enable_fast_install=needless
   10799 fi
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806   if test "x$enable_dlopen" != xyes; then
   10807   enable_dlopen=unknown
   10808   enable_dlopen_self=unknown
   10809   enable_dlopen_self_static=unknown
   10810 else
   10811   lt_cv_dlopen=no
   10812   lt_cv_dlopen_libs=
   10813 
   10814   case $host_os in
   10815   beos*)
   10816     lt_cv_dlopen="load_add_on"
   10817     lt_cv_dlopen_libs=
   10818     lt_cv_dlopen_self=yes
   10819     ;;
   10820 
   10821   mingw* | pw32* | cegcc*)
   10822     lt_cv_dlopen="LoadLibrary"
   10823     lt_cv_dlopen_libs=
   10824     ;;
   10825 
   10826   cygwin*)
   10827     lt_cv_dlopen="dlopen"
   10828     lt_cv_dlopen_libs=
   10829     ;;
   10830 
   10831   darwin*)
   10832   # if libdl is installed we need to link against it
   10833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10834 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10835 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10836   $as_echo_n "(cached) " >&6
   10837 else
   10838   ac_check_lib_save_LIBS=$LIBS
   10839 LIBS="-ldl  $LIBS"
   10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10841 /* end confdefs.h.  */
   10842 
   10843 /* Override any GCC internal prototype to avoid an error.
   10844    Use char because int might match the return type of a GCC
   10845    builtin and then its argument prototype would still apply.  */
   10846 #ifdef __cplusplus
   10847 extern "C"
   10848 #endif
   10849 char dlopen ();
   10850 int
   10851 main ()
   10852 {
   10853 return dlopen ();
   10854   ;
   10855   return 0;
   10856 }
   10857 _ACEOF
   10858 if ac_fn_c_try_link "$LINENO"; then :
   10859   ac_cv_lib_dl_dlopen=yes
   10860 else
   10861   ac_cv_lib_dl_dlopen=no
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext \
   10864     conftest$ac_exeext conftest.$ac_ext
   10865 LIBS=$ac_check_lib_save_LIBS
   10866 fi
   10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10868 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10869 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10870   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10871 else
   10872 
   10873     lt_cv_dlopen="dyld"
   10874     lt_cv_dlopen_libs=
   10875     lt_cv_dlopen_self=yes
   10876 
   10877 fi
   10878 
   10879     ;;
   10880 
   10881   *)
   10882     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10883 if test "x$ac_cv_func_shl_load" = xyes; then :
   10884   lt_cv_dlopen="shl_load"
   10885 else
   10886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10887 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10888 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10889   $as_echo_n "(cached) " >&6
   10890 else
   10891   ac_check_lib_save_LIBS=$LIBS
   10892 LIBS="-ldld  $LIBS"
   10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10894 /* end confdefs.h.  */
   10895 
   10896 /* Override any GCC internal prototype to avoid an error.
   10897    Use char because int might match the return type of a GCC
   10898    builtin and then its argument prototype would still apply.  */
   10899 #ifdef __cplusplus
   10900 extern "C"
   10901 #endif
   10902 char shl_load ();
   10903 int
   10904 main ()
   10905 {
   10906 return shl_load ();
   10907   ;
   10908   return 0;
   10909 }
   10910 _ACEOF
   10911 if ac_fn_c_try_link "$LINENO"; then :
   10912   ac_cv_lib_dld_shl_load=yes
   10913 else
   10914   ac_cv_lib_dld_shl_load=no
   10915 fi
   10916 rm -f core conftest.err conftest.$ac_objext \
   10917     conftest$ac_exeext conftest.$ac_ext
   10918 LIBS=$ac_check_lib_save_LIBS
   10919 fi
   10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10921 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10922 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10923   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10924 else
   10925   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10926 if test "x$ac_cv_func_dlopen" = xyes; then :
   10927   lt_cv_dlopen="dlopen"
   10928 else
   10929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10930 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10931 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10932   $as_echo_n "(cached) " >&6
   10933 else
   10934   ac_check_lib_save_LIBS=$LIBS
   10935 LIBS="-ldl  $LIBS"
   10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10937 /* end confdefs.h.  */
   10938 
   10939 /* Override any GCC internal prototype to avoid an error.
   10940    Use char because int might match the return type of a GCC
   10941    builtin and then its argument prototype would still apply.  */
   10942 #ifdef __cplusplus
   10943 extern "C"
   10944 #endif
   10945 char dlopen ();
   10946 int
   10947 main ()
   10948 {
   10949 return dlopen ();
   10950   ;
   10951   return 0;
   10952 }
   10953 _ACEOF
   10954 if ac_fn_c_try_link "$LINENO"; then :
   10955   ac_cv_lib_dl_dlopen=yes
   10956 else
   10957   ac_cv_lib_dl_dlopen=no
   10958 fi
   10959 rm -f core conftest.err conftest.$ac_objext \
   10960     conftest$ac_exeext conftest.$ac_ext
   10961 LIBS=$ac_check_lib_save_LIBS
   10962 fi
   10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10964 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10965 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10966   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10967 else
   10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10969 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10970 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10971   $as_echo_n "(cached) " >&6
   10972 else
   10973   ac_check_lib_save_LIBS=$LIBS
   10974 LIBS="-lsvld  $LIBS"
   10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10976 /* end confdefs.h.  */
   10977 
   10978 /* Override any GCC internal prototype to avoid an error.
   10979    Use char because int might match the return type of a GCC
   10980    builtin and then its argument prototype would still apply.  */
   10981 #ifdef __cplusplus
   10982 extern "C"
   10983 #endif
   10984 char dlopen ();
   10985 int
   10986 main ()
   10987 {
   10988 return dlopen ();
   10989   ;
   10990   return 0;
   10991 }
   10992 _ACEOF
   10993 if ac_fn_c_try_link "$LINENO"; then :
   10994   ac_cv_lib_svld_dlopen=yes
   10995 else
   10996   ac_cv_lib_svld_dlopen=no
   10997 fi
   10998 rm -f core conftest.err conftest.$ac_objext \
   10999     conftest$ac_exeext conftest.$ac_ext
   11000 LIBS=$ac_check_lib_save_LIBS
   11001 fi
   11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11003 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11004 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11005   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11006 else
   11007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11008 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11009 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11010   $as_echo_n "(cached) " >&6
   11011 else
   11012   ac_check_lib_save_LIBS=$LIBS
   11013 LIBS="-ldld  $LIBS"
   11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11015 /* end confdefs.h.  */
   11016 
   11017 /* Override any GCC internal prototype to avoid an error.
   11018    Use char because int might match the return type of a GCC
   11019    builtin and then its argument prototype would still apply.  */
   11020 #ifdef __cplusplus
   11021 extern "C"
   11022 #endif
   11023 char dld_link ();
   11024 int
   11025 main ()
   11026 {
   11027 return dld_link ();
   11028   ;
   11029   return 0;
   11030 }
   11031 _ACEOF
   11032 if ac_fn_c_try_link "$LINENO"; then :
   11033   ac_cv_lib_dld_dld_link=yes
   11034 else
   11035   ac_cv_lib_dld_dld_link=no
   11036 fi
   11037 rm -f core conftest.err conftest.$ac_objext \
   11038     conftest$ac_exeext conftest.$ac_ext
   11039 LIBS=$ac_check_lib_save_LIBS
   11040 fi
   11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11042 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11043 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11044   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11045 fi
   11046 
   11047 
   11048 fi
   11049 
   11050 
   11051 fi
   11052 
   11053 
   11054 fi
   11055 
   11056 
   11057 fi
   11058 
   11059 
   11060 fi
   11061 
   11062     ;;
   11063   esac
   11064 
   11065   if test "x$lt_cv_dlopen" != xno; then
   11066     enable_dlopen=yes
   11067   else
   11068     enable_dlopen=no
   11069   fi
   11070 
   11071   case $lt_cv_dlopen in
   11072   dlopen)
   11073     save_CPPFLAGS="$CPPFLAGS"
   11074     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11075 
   11076     save_LDFLAGS="$LDFLAGS"
   11077     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11078 
   11079     save_LIBS="$LIBS"
   11080     LIBS="$lt_cv_dlopen_libs $LIBS"
   11081 
   11082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11083 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11084 if ${lt_cv_dlopen_self+:} false; then :
   11085   $as_echo_n "(cached) " >&6
   11086 else
   11087   	  if test "$cross_compiling" = yes; then :
   11088   lt_cv_dlopen_self=cross
   11089 else
   11090   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11091   lt_status=$lt_dlunknown
   11092   cat > conftest.$ac_ext <<_LT_EOF
   11093 #line $LINENO "configure"
   11094 #include "confdefs.h"
   11095 
   11096 #if HAVE_DLFCN_H
   11097 #include <dlfcn.h>
   11098 #endif
   11099 
   11100 #include <stdio.h>
   11101 
   11102 #ifdef RTLD_GLOBAL
   11103 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11104 #else
   11105 #  ifdef DL_GLOBAL
   11106 #    define LT_DLGLOBAL		DL_GLOBAL
   11107 #  else
   11108 #    define LT_DLGLOBAL		0
   11109 #  endif
   11110 #endif
   11111 
   11112 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11113    find out it does not work in some platform. */
   11114 #ifndef LT_DLLAZY_OR_NOW
   11115 #  ifdef RTLD_LAZY
   11116 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11117 #  else
   11118 #    ifdef DL_LAZY
   11119 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11120 #    else
   11121 #      ifdef RTLD_NOW
   11122 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11123 #      else
   11124 #        ifdef DL_NOW
   11125 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11126 #        else
   11127 #          define LT_DLLAZY_OR_NOW	0
   11128 #        endif
   11129 #      endif
   11130 #    endif
   11131 #  endif
   11132 #endif
   11133 
   11134 /* When -fvisbility=hidden is used, assume the code has been annotated
   11135    correspondingly for the symbols needed.  */
   11136 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11137 int fnord () __attribute__((visibility("default")));
   11138 #endif
   11139 
   11140 int fnord () { return 42; }
   11141 int main ()
   11142 {
   11143   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11144   int status = $lt_dlunknown;
   11145 
   11146   if (self)
   11147     {
   11148       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11149       else
   11150         {
   11151 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11152           else puts (dlerror ());
   11153 	}
   11154       /* dlclose (self); */
   11155     }
   11156   else
   11157     puts (dlerror ());
   11158 
   11159   return status;
   11160 }
   11161 _LT_EOF
   11162   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11163   (eval $ac_link) 2>&5
   11164   ac_status=$?
   11165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11166   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11167     (./conftest; exit; ) >&5 2>/dev/null
   11168     lt_status=$?
   11169     case x$lt_status in
   11170       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11171       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11172       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11173     esac
   11174   else :
   11175     # compilation failed
   11176     lt_cv_dlopen_self=no
   11177   fi
   11178 fi
   11179 rm -fr conftest*
   11180 
   11181 
   11182 fi
   11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11184 $as_echo "$lt_cv_dlopen_self" >&6; }
   11185 
   11186     if test "x$lt_cv_dlopen_self" = xyes; then
   11187       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11188       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11189 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11190 if ${lt_cv_dlopen_self_static+:} false; then :
   11191   $as_echo_n "(cached) " >&6
   11192 else
   11193   	  if test "$cross_compiling" = yes; then :
   11194   lt_cv_dlopen_self_static=cross
   11195 else
   11196   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11197   lt_status=$lt_dlunknown
   11198   cat > conftest.$ac_ext <<_LT_EOF
   11199 #line $LINENO "configure"
   11200 #include "confdefs.h"
   11201 
   11202 #if HAVE_DLFCN_H
   11203 #include <dlfcn.h>
   11204 #endif
   11205 
   11206 #include <stdio.h>
   11207 
   11208 #ifdef RTLD_GLOBAL
   11209 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11210 #else
   11211 #  ifdef DL_GLOBAL
   11212 #    define LT_DLGLOBAL		DL_GLOBAL
   11213 #  else
   11214 #    define LT_DLGLOBAL		0
   11215 #  endif
   11216 #endif
   11217 
   11218 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11219    find out it does not work in some platform. */
   11220 #ifndef LT_DLLAZY_OR_NOW
   11221 #  ifdef RTLD_LAZY
   11222 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11223 #  else
   11224 #    ifdef DL_LAZY
   11225 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11226 #    else
   11227 #      ifdef RTLD_NOW
   11228 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11229 #      else
   11230 #        ifdef DL_NOW
   11231 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11232 #        else
   11233 #          define LT_DLLAZY_OR_NOW	0
   11234 #        endif
   11235 #      endif
   11236 #    endif
   11237 #  endif
   11238 #endif
   11239 
   11240 /* When -fvisbility=hidden is used, assume the code has been annotated
   11241    correspondingly for the symbols needed.  */
   11242 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11243 int fnord () __attribute__((visibility("default")));
   11244 #endif
   11245 
   11246 int fnord () { return 42; }
   11247 int main ()
   11248 {
   11249   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11250   int status = $lt_dlunknown;
   11251 
   11252   if (self)
   11253     {
   11254       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11255       else
   11256         {
   11257 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11258           else puts (dlerror ());
   11259 	}
   11260       /* dlclose (self); */
   11261     }
   11262   else
   11263     puts (dlerror ());
   11264 
   11265   return status;
   11266 }
   11267 _LT_EOF
   11268   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11269   (eval $ac_link) 2>&5
   11270   ac_status=$?
   11271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11272   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11273     (./conftest; exit; ) >&5 2>/dev/null
   11274     lt_status=$?
   11275     case x$lt_status in
   11276       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11277       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11278       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11279     esac
   11280   else :
   11281     # compilation failed
   11282     lt_cv_dlopen_self_static=no
   11283   fi
   11284 fi
   11285 rm -fr conftest*
   11286 
   11287 
   11288 fi
   11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11290 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11291     fi
   11292 
   11293     CPPFLAGS="$save_CPPFLAGS"
   11294     LDFLAGS="$save_LDFLAGS"
   11295     LIBS="$save_LIBS"
   11296     ;;
   11297   esac
   11298 
   11299   case $lt_cv_dlopen_self in
   11300   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11301   *) enable_dlopen_self=unknown ;;
   11302   esac
   11303 
   11304   case $lt_cv_dlopen_self_static in
   11305   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11306   *) enable_dlopen_self_static=unknown ;;
   11307   esac
   11308 fi
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 striplib=
   11327 old_striplib=
   11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11329 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11330 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11331   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11332   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11334 $as_echo "yes" >&6; }
   11335 else
   11336 # FIXME - insert some real tests, host_os isn't really good enough
   11337   case $host_os in
   11338   darwin*)
   11339     if test -n "$STRIP" ; then
   11340       striplib="$STRIP -x"
   11341       old_striplib="$STRIP -S"
   11342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11343 $as_echo "yes" >&6; }
   11344     else
   11345       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11346 $as_echo "no" >&6; }
   11347     fi
   11348     ;;
   11349   *)
   11350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11351 $as_echo "no" >&6; }
   11352     ;;
   11353   esac
   11354 fi
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367   # Report which library types will actually be built
   11368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11369 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11371 $as_echo "$can_build_shared" >&6; }
   11372 
   11373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11374 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11375   test "$can_build_shared" = "no" && enable_shared=no
   11376 
   11377   # On AIX, shared libraries and static libraries use the same namespace, and
   11378   # are all built from PIC.
   11379   case $host_os in
   11380   aix3*)
   11381     test "$enable_shared" = yes && enable_static=no
   11382     if test -n "$RANLIB"; then
   11383       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11384       postinstall_cmds='$RANLIB $lib'
   11385     fi
   11386     ;;
   11387 
   11388   aix[4-9]*)
   11389     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11390       test "$enable_shared" = yes && enable_static=no
   11391     fi
   11392     ;;
   11393   esac
   11394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11395 $as_echo "$enable_shared" >&6; }
   11396 
   11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11398 $as_echo_n "checking whether to build static libraries... " >&6; }
   11399   # Make sure either enable_shared or enable_static is yes.
   11400   test "$enable_shared" = yes || enable_static=yes
   11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11402 $as_echo "$enable_static" >&6; }
   11403 
   11404 
   11405 
   11406 
   11407 fi
   11408 ac_ext=c
   11409 ac_cpp='$CPP $CPPFLAGS'
   11410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11413 
   11414 CC="$lt_save_CC"
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430         ac_config_commands="$ac_config_commands libtool"
   11431 
   11432 
   11433 
   11434 
   11435 # Only expand once:
   11436 
   11437 
   11438 # Check whether --enable-largefile was given.
   11439 if test "${enable_largefile+set}" = set; then :
   11440   enableval=$enable_largefile;
   11441 fi
   11442 
   11443 if test "$enable_largefile" != no; then
   11444 
   11445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11446 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11447 if ${ac_cv_sys_largefile_CC+:} false; then :
   11448   $as_echo_n "(cached) " >&6
   11449 else
   11450   ac_cv_sys_largefile_CC=no
   11451      if test "$GCC" != yes; then
   11452        ac_save_CC=$CC
   11453        while :; do
   11454 	 # IRIX 6.2 and later do not support large files by default,
   11455 	 # so use the C compiler's -n32 option if that helps.
   11456 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11457 /* end confdefs.h.  */
   11458 #include <sys/types.h>
   11459  /* Check that off_t can represent 2**63 - 1 correctly.
   11460     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11461     since some C++ compilers masquerading as C compilers
   11462     incorrectly reject 9223372036854775807.  */
   11463 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11464   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11465 		       && LARGE_OFF_T % 2147483647 == 1)
   11466 		      ? 1 : -1];
   11467 int
   11468 main ()
   11469 {
   11470 
   11471   ;
   11472   return 0;
   11473 }
   11474 _ACEOF
   11475 	 if ac_fn_c_try_compile "$LINENO"; then :
   11476   break
   11477 fi
   11478 rm -f core conftest.err conftest.$ac_objext
   11479 	 CC="$CC -n32"
   11480 	 if ac_fn_c_try_compile "$LINENO"; then :
   11481   ac_cv_sys_largefile_CC=' -n32'; break
   11482 fi
   11483 rm -f core conftest.err conftest.$ac_objext
   11484 	 break
   11485        done
   11486        CC=$ac_save_CC
   11487        rm -f conftest.$ac_ext
   11488     fi
   11489 fi
   11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11491 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11492   if test "$ac_cv_sys_largefile_CC" != no; then
   11493     CC=$CC$ac_cv_sys_largefile_CC
   11494   fi
   11495 
   11496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11497 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11498 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11499   $as_echo_n "(cached) " >&6
   11500 else
   11501   while :; do
   11502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11503 /* end confdefs.h.  */
   11504 #include <sys/types.h>
   11505  /* Check that off_t can represent 2**63 - 1 correctly.
   11506     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11507     since some C++ compilers masquerading as C compilers
   11508     incorrectly reject 9223372036854775807.  */
   11509 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11510   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11511 		       && LARGE_OFF_T % 2147483647 == 1)
   11512 		      ? 1 : -1];
   11513 int
   11514 main ()
   11515 {
   11516 
   11517   ;
   11518   return 0;
   11519 }
   11520 _ACEOF
   11521 if ac_fn_c_try_compile "$LINENO"; then :
   11522   ac_cv_sys_file_offset_bits=no; break
   11523 fi
   11524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11526 /* end confdefs.h.  */
   11527 #define _FILE_OFFSET_BITS 64
   11528 #include <sys/types.h>
   11529  /* Check that off_t can represent 2**63 - 1 correctly.
   11530     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11531     since some C++ compilers masquerading as C compilers
   11532     incorrectly reject 9223372036854775807.  */
   11533 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11534   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11535 		       && LARGE_OFF_T % 2147483647 == 1)
   11536 		      ? 1 : -1];
   11537 int
   11538 main ()
   11539 {
   11540 
   11541   ;
   11542   return 0;
   11543 }
   11544 _ACEOF
   11545 if ac_fn_c_try_compile "$LINENO"; then :
   11546   ac_cv_sys_file_offset_bits=64; break
   11547 fi
   11548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11549   ac_cv_sys_file_offset_bits=unknown
   11550   break
   11551 done
   11552 fi
   11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11554 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11555 case $ac_cv_sys_file_offset_bits in #(
   11556   no | unknown) ;;
   11557   *)
   11558 cat >>confdefs.h <<_ACEOF
   11559 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11560 _ACEOF
   11561 ;;
   11562 esac
   11563 rm -rf conftest*
   11564   if test $ac_cv_sys_file_offset_bits = unknown; then
   11565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11566 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11567 if ${ac_cv_sys_large_files+:} false; then :
   11568   $as_echo_n "(cached) " >&6
   11569 else
   11570   while :; do
   11571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11572 /* end confdefs.h.  */
   11573 #include <sys/types.h>
   11574  /* Check that off_t can represent 2**63 - 1 correctly.
   11575     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11576     since some C++ compilers masquerading as C compilers
   11577     incorrectly reject 9223372036854775807.  */
   11578 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11579   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11580 		       && LARGE_OFF_T % 2147483647 == 1)
   11581 		      ? 1 : -1];
   11582 int
   11583 main ()
   11584 {
   11585 
   11586   ;
   11587   return 0;
   11588 }
   11589 _ACEOF
   11590 if ac_fn_c_try_compile "$LINENO"; then :
   11591   ac_cv_sys_large_files=no; break
   11592 fi
   11593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11595 /* end confdefs.h.  */
   11596 #define _LARGE_FILES 1
   11597 #include <sys/types.h>
   11598  /* Check that off_t can represent 2**63 - 1 correctly.
   11599     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11600     since some C++ compilers masquerading as C compilers
   11601     incorrectly reject 9223372036854775807.  */
   11602 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11603   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11604 		       && LARGE_OFF_T % 2147483647 == 1)
   11605 		      ? 1 : -1];
   11606 int
   11607 main ()
   11608 {
   11609 
   11610   ;
   11611   return 0;
   11612 }
   11613 _ACEOF
   11614 if ac_fn_c_try_compile "$LINENO"; then :
   11615   ac_cv_sys_large_files=1; break
   11616 fi
   11617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11618   ac_cv_sys_large_files=unknown
   11619   break
   11620 done
   11621 fi
   11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11623 $as_echo "$ac_cv_sys_large_files" >&6; }
   11624 case $ac_cv_sys_large_files in #(
   11625   no | unknown) ;;
   11626   *)
   11627 cat >>confdefs.h <<_ACEOF
   11628 #define _LARGE_FILES $ac_cv_sys_large_files
   11629 _ACEOF
   11630 ;;
   11631 esac
   11632 rm -rf conftest*
   11633   fi
   11634 fi
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 # Check whether --with-xorg-module-dir was given.
   11641 if test "${with_xorg_module_dir+set}" = set; then :
   11642   withval=$with_xorg_module_dir; moduledir="$withval"
   11643 else
   11644   moduledir="$libdir/xorg/modules"
   11645 fi
   11646 
   11647 
   11648 # Check whether --enable-debug was given.
   11649 if test "${enable_debug+set}" = set; then :
   11650   enableval=$enable_debug; DEBUG="$enableval"
   11651 else
   11652   DEBUG=no
   11653 fi
   11654 
   11655 
   11656 # Check whether --enable-xv-debug was given.
   11657 if test "${enable_xv_debug+set}" = set; then :
   11658   enableval=$enable_xv_debug; XV_DEBUG="$enableval"
   11659 else
   11660   XV_DEBUG=no
   11661 fi
   11662 
   11663 
   11664 # Check whether --enable-viaregtool was given.
   11665 if test "${enable_viaregtool+set}" = set; then :
   11666   enableval=$enable_viaregtool; TOOLS="$enableval"
   11667 else
   11668   TOOLS=no
   11669 fi
   11670 
   11671 
   11672 # Checks for extensions
   11673 
   11674 	SAVE_CFLAGS="$CFLAGS"
   11675 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11676 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11677 /* end confdefs.h.  */
   11678 
   11679 #include "xorg-server.h"
   11680 #if !defined RANDR
   11681 #error RANDR not defined
   11682 #endif
   11683 
   11684 int
   11685 main ()
   11686 {
   11687 
   11688   ;
   11689   return 0;
   11690 }
   11691 _ACEOF
   11692 if ac_fn_c_try_compile "$LINENO"; then :
   11693   _EXT_CHECK=yes
   11694 else
   11695   _EXT_CHECK=no
   11696 fi
   11697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11698 	CFLAGS="$SAVE_CFLAGS"
   11699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11700 $as_echo_n "checking if RANDR is defined... " >&6; }
   11701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11702 $as_echo "$_EXT_CHECK" >&6; }
   11703 	if test "$_EXT_CHECK" != no; then
   11704 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11705 	fi
   11706 
   11707 
   11708 	SAVE_CFLAGS="$CFLAGS"
   11709 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11710 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11711 /* end confdefs.h.  */
   11712 
   11713 #include "xorg-server.h"
   11714 #if !defined RENDER
   11715 #error RENDER not defined
   11716 #endif
   11717 
   11718 int
   11719 main ()
   11720 {
   11721 
   11722   ;
   11723   return 0;
   11724 }
   11725 _ACEOF
   11726 if ac_fn_c_try_compile "$LINENO"; then :
   11727   _EXT_CHECK=yes
   11728 else
   11729   _EXT_CHECK=no
   11730 fi
   11731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11732 	CFLAGS="$SAVE_CFLAGS"
   11733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   11734 $as_echo_n "checking if RENDER is defined... " >&6; }
   11735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11736 $as_echo "$_EXT_CHECK" >&6; }
   11737 	if test "$_EXT_CHECK" != no; then
   11738 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11739 	fi
   11740 
   11741 
   11742 	SAVE_CFLAGS="$CFLAGS"
   11743 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11744 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11745 /* end confdefs.h.  */
   11746 
   11747 #include "xorg-server.h"
   11748 #if !defined XV
   11749 #error XV not defined
   11750 #endif
   11751 
   11752 int
   11753 main ()
   11754 {
   11755 
   11756   ;
   11757   return 0;
   11758 }
   11759 _ACEOF
   11760 if ac_fn_c_try_compile "$LINENO"; then :
   11761   _EXT_CHECK=yes
   11762 else
   11763   _EXT_CHECK=no
   11764 fi
   11765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11766 	CFLAGS="$SAVE_CFLAGS"
   11767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   11768 $as_echo_n "checking if XV is defined... " >&6; }
   11769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11770 $as_echo "$_EXT_CHECK" >&6; }
   11771 	if test "$_EXT_CHECK" != no; then
   11772 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   11773 	fi
   11774 
   11775 
   11776 	SAVE_CFLAGS="$CFLAGS"
   11777 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11778 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11779 /* end confdefs.h.  */
   11780 
   11781 #include "xorg-server.h"
   11782 #if !defined XF86DRI
   11783 #error XF86DRI not defined
   11784 #endif
   11785 
   11786 int
   11787 main ()
   11788 {
   11789 
   11790   ;
   11791   return 0;
   11792 }
   11793 _ACEOF
   11794 if ac_fn_c_try_compile "$LINENO"; then :
   11795   _EXT_CHECK=yes
   11796 else
   11797   _EXT_CHECK=no
   11798 fi
   11799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11800 	CFLAGS="$SAVE_CFLAGS"
   11801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XF86DRI is defined" >&5
   11802 $as_echo_n "checking if XF86DRI is defined... " >&6; }
   11803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11804 $as_echo "$_EXT_CHECK" >&6; }
   11805 	if test "$_EXT_CHECK" != no; then
   11806 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto x11"
   11807 	fi
   11808 
   11809 
   11810 	SAVE_CFLAGS="$CFLAGS"
   11811 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11812 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11813 /* end confdefs.h.  */
   11814 
   11815 #include "xorg-server.h"
   11816 #if !defined DPMSExtension
   11817 #error DPMSExtension not defined
   11818 #endif
   11819 
   11820 int
   11821 main ()
   11822 {
   11823 
   11824   ;
   11825   return 0;
   11826 }
   11827 _ACEOF
   11828 if ac_fn_c_try_compile "$LINENO"; then :
   11829   _EXT_CHECK=yes
   11830 else
   11831   _EXT_CHECK=no
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11834 	CFLAGS="$SAVE_CFLAGS"
   11835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   11836 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   11837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11838 $as_echo "$_EXT_CHECK" >&6; }
   11839 	if test "$_EXT_CHECK" != no; then
   11840 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   11841 	fi
   11842 
   11843 
   11844 # Checks for pkg-config packages
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11853 	if test -n "$ac_tool_prefix"; then
   11854   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11855 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11857 $as_echo_n "checking for $ac_word... " >&6; }
   11858 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11859   $as_echo_n "(cached) " >&6
   11860 else
   11861   case $PKG_CONFIG in
   11862   [\\/]* | ?:[\\/]*)
   11863   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11864   ;;
   11865   *)
   11866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11867 for as_dir in $PATH
   11868 do
   11869   IFS=$as_save_IFS
   11870   test -z "$as_dir" && as_dir=.
   11871     for ac_exec_ext in '' $ac_executable_extensions; do
   11872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11873     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11875     break 2
   11876   fi
   11877 done
   11878   done
   11879 IFS=$as_save_IFS
   11880 
   11881   ;;
   11882 esac
   11883 fi
   11884 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11885 if test -n "$PKG_CONFIG"; then
   11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11887 $as_echo "$PKG_CONFIG" >&6; }
   11888 else
   11889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11890 $as_echo "no" >&6; }
   11891 fi
   11892 
   11893 
   11894 fi
   11895 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11896   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11897   # Extract the first word of "pkg-config", so it can be a program name with args.
   11898 set dummy pkg-config; ac_word=$2
   11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11900 $as_echo_n "checking for $ac_word... " >&6; }
   11901 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11902   $as_echo_n "(cached) " >&6
   11903 else
   11904   case $ac_pt_PKG_CONFIG in
   11905   [\\/]* | ?:[\\/]*)
   11906   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11907   ;;
   11908   *)
   11909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11910 for as_dir in $PATH
   11911 do
   11912   IFS=$as_save_IFS
   11913   test -z "$as_dir" && as_dir=.
   11914     for ac_exec_ext in '' $ac_executable_extensions; do
   11915   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11916     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11918     break 2
   11919   fi
   11920 done
   11921   done
   11922 IFS=$as_save_IFS
   11923 
   11924   ;;
   11925 esac
   11926 fi
   11927 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11928 if test -n "$ac_pt_PKG_CONFIG"; then
   11929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11930 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11931 else
   11932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11933 $as_echo "no" >&6; }
   11934 fi
   11935 
   11936   if test "x$ac_pt_PKG_CONFIG" = x; then
   11937     PKG_CONFIG=""
   11938   else
   11939     case $cross_compiling:$ac_tool_warned in
   11940 yes:)
   11941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11943 ac_tool_warned=yes ;;
   11944 esac
   11945     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11946   fi
   11947 else
   11948   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11949 fi
   11950 
   11951 fi
   11952 if test -n "$PKG_CONFIG"; then
   11953 	_pkg_min_version=0.9.0
   11954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11955 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11956 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11958 $as_echo "yes" >&6; }
   11959 	else
   11960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11961 $as_echo "no" >&6; }
   11962 		PKG_CONFIG=""
   11963 	fi
   11964 fi
   11965 
   11966 pkg_failed=no
   11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11968 $as_echo_n "checking for XORG... " >&6; }
   11969 
   11970 if test -n "$XORG_CFLAGS"; then
   11971     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11972  elif test -n "$PKG_CONFIG"; then
   11973     if test -n "$PKG_CONFIG" && \
   11974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto glproto \$REQUIRED_MODULES\""; } >&5
   11975   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto glproto $REQUIRED_MODULES") 2>&5
   11976   ac_status=$?
   11977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11978   test $ac_status = 0; }; then
   11979   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto glproto $REQUIRED_MODULES" 2>/dev/null`
   11980 		      test "x$?" != "x0" && pkg_failed=yes
   11981 else
   11982   pkg_failed=yes
   11983 fi
   11984  else
   11985     pkg_failed=untried
   11986 fi
   11987 if test -n "$XORG_LIBS"; then
   11988     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11989  elif test -n "$PKG_CONFIG"; then
   11990     if test -n "$PKG_CONFIG" && \
   11991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto glproto \$REQUIRED_MODULES\""; } >&5
   11992   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto glproto $REQUIRED_MODULES") 2>&5
   11993   ac_status=$?
   11994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11995   test $ac_status = 0; }; then
   11996   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto glproto $REQUIRED_MODULES" 2>/dev/null`
   11997 		      test "x$?" != "x0" && pkg_failed=yes
   11998 else
   11999   pkg_failed=yes
   12000 fi
   12001  else
   12002     pkg_failed=untried
   12003 fi
   12004 
   12005 
   12006 
   12007 if test $pkg_failed = yes; then
   12008    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12009 $as_echo "no" >&6; }
   12010 
   12011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12012         _pkg_short_errors_supported=yes
   12013 else
   12014         _pkg_short_errors_supported=no
   12015 fi
   12016         if test $_pkg_short_errors_supported = yes; then
   12017 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server xproto fontsproto glproto $REQUIRED_MODULES" 2>&1`
   12018         else
   12019 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server xproto fontsproto glproto $REQUIRED_MODULES" 2>&1`
   12020         fi
   12021 	# Put the nasty error message in config.log where it belongs
   12022 	echo "$XORG_PKG_ERRORS" >&5
   12023 
   12024 	as_fn_error $? "Package requirements (xorg-server xproto fontsproto glproto $REQUIRED_MODULES) were not met:
   12025 
   12026 $XORG_PKG_ERRORS
   12027 
   12028 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12029 installed software in a non-standard prefix.
   12030 
   12031 Alternatively, you may set the environment variables XORG_CFLAGS
   12032 and XORG_LIBS to avoid the need to call pkg-config.
   12033 See the pkg-config man page for more details." "$LINENO" 5
   12034 elif test $pkg_failed = untried; then
   12035      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12036 $as_echo "no" >&6; }
   12037 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12039 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12040 is in your PATH or set the PKG_CONFIG environment variable to the full
   12041 path to pkg-config.
   12042 
   12043 Alternatively, you may set the environment variables XORG_CFLAGS
   12044 and XORG_LIBS to avoid the need to call pkg-config.
   12045 See the pkg-config man page for more details.
   12046 
   12047 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12048 See \`config.log' for more details" "$LINENO" 5; }
   12049 else
   12050 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12051 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12053 $as_echo "yes" >&6; }
   12054 
   12055 fi
   12056 
   12057 pkg_failed=no
   12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   12059 $as_echo_n "checking for XEXT... " >&6; }
   12060 
   12061 if test -n "$XEXT_CFLAGS"; then
   12062     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   12063  elif test -n "$PKG_CONFIG"; then
   12064     if test -n "$PKG_CONFIG" && \
   12065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   12066   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   12067   ac_status=$?
   12068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12069   test $ac_status = 0; }; then
   12070   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   12071 		      test "x$?" != "x0" && pkg_failed=yes
   12072 else
   12073   pkg_failed=yes
   12074 fi
   12075  else
   12076     pkg_failed=untried
   12077 fi
   12078 if test -n "$XEXT_LIBS"; then
   12079     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   12080  elif test -n "$PKG_CONFIG"; then
   12081     if test -n "$PKG_CONFIG" && \
   12082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   12083   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   12084   ac_status=$?
   12085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12086   test $ac_status = 0; }; then
   12087   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   12088 		      test "x$?" != "x0" && pkg_failed=yes
   12089 else
   12090   pkg_failed=yes
   12091 fi
   12092  else
   12093     pkg_failed=untried
   12094 fi
   12095 
   12096 
   12097 
   12098 if test $pkg_failed = yes; then
   12099    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12100 $as_echo "no" >&6; }
   12101 
   12102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12103         _pkg_short_errors_supported=yes
   12104 else
   12105         _pkg_short_errors_supported=no
   12106 fi
   12107         if test $_pkg_short_errors_supported = yes; then
   12108 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   12109         else
   12110 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   12111         fi
   12112 	# Put the nasty error message in config.log where it belongs
   12113 	echo "$XEXT_PKG_ERRORS" >&5
   12114 
   12115 	HAVE_XEXTPROTO_71="no"
   12116 elif test $pkg_failed = untried; then
   12117      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12118 $as_echo "no" >&6; }
   12119 	HAVE_XEXTPROTO_71="no"
   12120 else
   12121 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   12122 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   12123         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12124 $as_echo "yes" >&6; }
   12125 	HAVE_XEXTPROTO_71="yes";
   12126 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   12127 
   12128 fi
   12129  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   12130   HAVE_XEXTPROTO_71_TRUE=
   12131   HAVE_XEXTPROTO_71_FALSE='#'
   12132 else
   12133   HAVE_XEXTPROTO_71_TRUE='#'
   12134   HAVE_XEXTPROTO_71_FALSE=
   12135 fi
   12136 
   12137 
   12138 # Checks for libraries.
   12139 
   12140 # Checks for header files.
   12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   12142 $as_echo_n "checking for ANSI C header files... " >&6; }
   12143 if ${ac_cv_header_stdc+:} false; then :
   12144   $as_echo_n "(cached) " >&6
   12145 else
   12146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12147 /* end confdefs.h.  */
   12148 #include <stdlib.h>
   12149 #include <stdarg.h>
   12150 #include <string.h>
   12151 #include <float.h>
   12152 
   12153 int
   12154 main ()
   12155 {
   12156 
   12157   ;
   12158   return 0;
   12159 }
   12160 _ACEOF
   12161 if ac_fn_c_try_compile "$LINENO"; then :
   12162   ac_cv_header_stdc=yes
   12163 else
   12164   ac_cv_header_stdc=no
   12165 fi
   12166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12167 
   12168 if test $ac_cv_header_stdc = yes; then
   12169   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12171 /* end confdefs.h.  */
   12172 #include <string.h>
   12173 
   12174 _ACEOF
   12175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12176   $EGREP "memchr" >/dev/null 2>&1; then :
   12177 
   12178 else
   12179   ac_cv_header_stdc=no
   12180 fi
   12181 rm -f conftest*
   12182 
   12183 fi
   12184 
   12185 if test $ac_cv_header_stdc = yes; then
   12186   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12188 /* end confdefs.h.  */
   12189 #include <stdlib.h>
   12190 
   12191 _ACEOF
   12192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12193   $EGREP "free" >/dev/null 2>&1; then :
   12194 
   12195 else
   12196   ac_cv_header_stdc=no
   12197 fi
   12198 rm -f conftest*
   12199 
   12200 fi
   12201 
   12202 if test $ac_cv_header_stdc = yes; then
   12203   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12204   if test "$cross_compiling" = yes; then :
   12205   :
   12206 else
   12207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12208 /* end confdefs.h.  */
   12209 #include <ctype.h>
   12210 #include <stdlib.h>
   12211 #if ((' ' & 0x0FF) == 0x020)
   12212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12214 #else
   12215 # define ISLOWER(c) \
   12216 		   (('a' <= (c) && (c) <= 'i') \
   12217 		     || ('j' <= (c) && (c) <= 'r') \
   12218 		     || ('s' <= (c) && (c) <= 'z'))
   12219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12220 #endif
   12221 
   12222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12223 int
   12224 main ()
   12225 {
   12226   int i;
   12227   for (i = 0; i < 256; i++)
   12228     if (XOR (islower (i), ISLOWER (i))
   12229 	|| toupper (i) != TOUPPER (i))
   12230       return 2;
   12231   return 0;
   12232 }
   12233 _ACEOF
   12234 if ac_fn_c_try_run "$LINENO"; then :
   12235 
   12236 else
   12237   ac_cv_header_stdc=no
   12238 fi
   12239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12240   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12241 fi
   12242 
   12243 fi
   12244 fi
   12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12246 $as_echo "$ac_cv_header_stdc" >&6; }
   12247 if test $ac_cv_header_stdc = yes; then
   12248 
   12249 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12250 
   12251 fi
   12252 
   12253 
   12254 save_CPPFLAGS="$CPPFLAGS"
   12255 CPPFLAGS="$XORG_CFLAGS $CPPFLAGS"
   12256 ac_fn_c_check_header_compile "$LINENO" "xf86Modes.h" "ac_cv_header_xf86Modes_h" "#include \"xorg-server.h\"
   12257 "
   12258 if test "x$ac_cv_header_xf86Modes_h" = xyes; then :
   12259   XMODES=yes
   12260 else
   12261   XMODES=no
   12262 fi
   12263 
   12264 
   12265 
   12266 pkg_failed=no
   12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   12268 $as_echo_n "checking for PCIACCESS... " >&6; }
   12269 
   12270 if test -n "$PCIACCESS_CFLAGS"; then
   12271     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12272  elif test -n "$PKG_CONFIG"; then
   12273     if test -n "$PKG_CONFIG" && \
   12274     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.11.0\""; } >&5
   12275   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.11.0") 2>&5
   12276   ac_status=$?
   12277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12278   test $ac_status = 0; }; then
   12279   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.11.0" 2>/dev/null`
   12280 		      test "x$?" != "x0" && pkg_failed=yes
   12281 else
   12282   pkg_failed=yes
   12283 fi
   12284  else
   12285     pkg_failed=untried
   12286 fi
   12287 if test -n "$PCIACCESS_LIBS"; then
   12288     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12289  elif test -n "$PKG_CONFIG"; then
   12290     if test -n "$PKG_CONFIG" && \
   12291     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.11.0\""; } >&5
   12292   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.11.0") 2>&5
   12293   ac_status=$?
   12294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12295   test $ac_status = 0; }; then
   12296   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.11.0" 2>/dev/null`
   12297 		      test "x$?" != "x0" && pkg_failed=yes
   12298 else
   12299   pkg_failed=yes
   12300 fi
   12301  else
   12302     pkg_failed=untried
   12303 fi
   12304 
   12305 
   12306 
   12307 if test $pkg_failed = yes; then
   12308    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12309 $as_echo "no" >&6; }
   12310 
   12311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12312         _pkg_short_errors_supported=yes
   12313 else
   12314         _pkg_short_errors_supported=no
   12315 fi
   12316         if test $_pkg_short_errors_supported = yes; then
   12317 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.11.0" 2>&1`
   12318         else
   12319 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.11.0" 2>&1`
   12320         fi
   12321 	# Put the nasty error message in config.log where it belongs
   12322 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12323 
   12324 	HAVE_PCIACCESS="no"
   12325 elif test $pkg_failed = untried; then
   12326      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12327 $as_echo "no" >&6; }
   12328 	HAVE_PCIACCESS="no"
   12329 else
   12330 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12331 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12332         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12333 $as_echo "yes" >&6; }
   12334 	HAVE_PCIACCESS="yes";
   12335 $as_echo "#define HAVE_PCIACCESS 1" >>confdefs.h
   12336 
   12337 fi
   12338 
   12339 
   12340 
   12341 
   12342 pkg_failed=no
   12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   12344 $as_echo_n "checking for DRI... " >&6; }
   12345 
   12346 if test -n "$DRI_CFLAGS"; then
   12347     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   12348  elif test -n "$PKG_CONFIG"; then
   12349     if test -n "$PKG_CONFIG" && \
   12350     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.4 xf86driproto\""; } >&5
   12351   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.4 xf86driproto") 2>&5
   12352   ac_status=$?
   12353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12354   test $ac_status = 0; }; then
   12355   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.4 xf86driproto" 2>/dev/null`
   12356 		      test "x$?" != "x0" && pkg_failed=yes
   12357 else
   12358   pkg_failed=yes
   12359 fi
   12360  else
   12361     pkg_failed=untried
   12362 fi
   12363 if test -n "$DRI_LIBS"; then
   12364     pkg_cv_DRI_LIBS="$DRI_LIBS"
   12365  elif test -n "$PKG_CONFIG"; then
   12366     if test -n "$PKG_CONFIG" && \
   12367     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.4 xf86driproto\""; } >&5
   12368   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.4 xf86driproto") 2>&5
   12369   ac_status=$?
   12370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12371   test $ac_status = 0; }; then
   12372   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.4 xf86driproto" 2>/dev/null`
   12373 		      test "x$?" != "x0" && pkg_failed=yes
   12374 else
   12375   pkg_failed=yes
   12376 fi
   12377  else
   12378     pkg_failed=untried
   12379 fi
   12380 
   12381 
   12382 
   12383 if test $pkg_failed = yes; then
   12384    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12385 $as_echo "no" >&6; }
   12386 
   12387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12388         _pkg_short_errors_supported=yes
   12389 else
   12390         _pkg_short_errors_supported=no
   12391 fi
   12392         if test $_pkg_short_errors_supported = yes; then
   12393 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.4 xf86driproto" 2>&1`
   12394         else
   12395 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.4 xf86driproto" 2>&1`
   12396         fi
   12397 	# Put the nasty error message in config.log where it belongs
   12398 	echo "$DRI_PKG_ERRORS" >&5
   12399 
   12400 	DRI="no"
   12401 elif test $pkg_failed = untried; then
   12402      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12403 $as_echo "no" >&6; }
   12404 	DRI="no"
   12405 else
   12406 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   12407 	DRI_LIBS=$pkg_cv_DRI_LIBS
   12408         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12409 $as_echo "yes" >&6; }
   12410 	DRI="yes";
   12411 $as_echo "#define HAVE_DRI 1" >>confdefs.h
   12412 
   12413 fi
   12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build KMS support" >&5
   12415 $as_echo_n "checking whether to build KMS support... " >&6; }
   12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   12417 $as_echo "$DRI" >&6; }
   12418 
   12419  if test x$DRI = xyes; then
   12420   DRI_TRUE=
   12421   DRI_FALSE='#'
   12422 else
   12423   DRI_TRUE='#'
   12424   DRI_FALSE=
   12425 fi
   12426 
   12427 if test "$DRI" = yes; then
   12428 
   12429 $as_echo "#define XF86DRI 1" >>confdefs.h
   12430 
   12431 
   12432 	ac_fn_c_check_header_preproc "$LINENO" "damage.h" "ac_cv_header_damage_h"
   12433 if test "x$ac_cv_header_damage_h" = xyes; then :
   12434   have_damage_h="yes"
   12435 else
   12436   have_damage_h="no"
   12437 fi
   12438 
   12439 
   12440         if test "$have_damage_h" = yes; then
   12441 
   12442 $as_echo "#define DAMAGE 1" >>confdefs.h
   12443 
   12444         fi
   12445 
   12446 
   12447 pkg_failed=no
   12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   12449 $as_echo_n "checking for LIBUDEV... " >&6; }
   12450 
   12451 if test -n "$LIBUDEV_CFLAGS"; then
   12452     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   12453  elif test -n "$PKG_CONFIG"; then
   12454     if test -n "$PKG_CONFIG" && \
   12455     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   12456   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   12457   ac_status=$?
   12458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12459   test $ac_status = 0; }; then
   12460   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   12461 		      test "x$?" != "x0" && pkg_failed=yes
   12462 else
   12463   pkg_failed=yes
   12464 fi
   12465  else
   12466     pkg_failed=untried
   12467 fi
   12468 if test -n "$LIBUDEV_LIBS"; then
   12469     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   12470  elif test -n "$PKG_CONFIG"; then
   12471     if test -n "$PKG_CONFIG" && \
   12472     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   12473   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   12474   ac_status=$?
   12475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12476   test $ac_status = 0; }; then
   12477   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   12478 		      test "x$?" != "x0" && pkg_failed=yes
   12479 else
   12480   pkg_failed=yes
   12481 fi
   12482  else
   12483     pkg_failed=untried
   12484 fi
   12485 
   12486 
   12487 
   12488 if test $pkg_failed = yes; then
   12489    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12490 $as_echo "no" >&6; }
   12491 
   12492 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12493         _pkg_short_errors_supported=yes
   12494 else
   12495         _pkg_short_errors_supported=no
   12496 fi
   12497         if test $_pkg_short_errors_supported = yes; then
   12498 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   12499         else
   12500 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   12501         fi
   12502 	# Put the nasty error message in config.log where it belongs
   12503 	echo "$LIBUDEV_PKG_ERRORS" >&5
   12504 
   12505 	LIBUDEV=no
   12506 elif test $pkg_failed = untried; then
   12507      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12508 $as_echo "no" >&6; }
   12509 	LIBUDEV=no
   12510 else
   12511 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   12512 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   12513         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12514 $as_echo "yes" >&6; }
   12515 	LIBUDEV=yes
   12516 fi
   12517         if test "x$LIBUDEV" = xyes; then
   12518 
   12519 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   12520 
   12521         fi
   12522 
   12523         case "$host_cpu" in
   12524             i*86)
   12525                 XVMC=yes ;;
   12526             amd64*|x86_64*)
   12527                 XVMC=yes ;;
   12528             *)
   12529                 XVMC=no ;;
   12530         esac
   12531 else
   12532         XVMC="no"
   12533 fi
   12534 
   12535 if test "x$XVMC" = xyes; then
   12536 	for ac_header in pthread.h sys/ioctl.h sys/time.h time.h
   12537 do :
   12538   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   12540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   12541   cat >>confdefs.h <<_ACEOF
   12542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12543 _ACEOF
   12544 
   12545 else
   12546   XVMC="no"; break
   12547 fi
   12548 
   12549 done
   12550 
   12551 
   12552 pkg_failed=no
   12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5
   12554 $as_echo_n "checking for XVMC... " >&6; }
   12555 
   12556 if test -n "$XVMC_CFLAGS"; then
   12557     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   12558  elif test -n "$PKG_CONFIG"; then
   12559     if test -n "$PKG_CONFIG" && \
   12560     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xvmc\""; } >&5
   12561   ($PKG_CONFIG --exists --print-errors "x11 xext xvmc") 2>&5
   12562   ac_status=$?
   12563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12564   test $ac_status = 0; }; then
   12565   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xvmc" 2>/dev/null`
   12566 		      test "x$?" != "x0" && pkg_failed=yes
   12567 else
   12568   pkg_failed=yes
   12569 fi
   12570  else
   12571     pkg_failed=untried
   12572 fi
   12573 if test -n "$XVMC_LIBS"; then
   12574     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   12575  elif test -n "$PKG_CONFIG"; then
   12576     if test -n "$PKG_CONFIG" && \
   12577     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xvmc\""; } >&5
   12578   ($PKG_CONFIG --exists --print-errors "x11 xext xvmc") 2>&5
   12579   ac_status=$?
   12580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12581   test $ac_status = 0; }; then
   12582   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 xext xvmc" 2>/dev/null`
   12583 		      test "x$?" != "x0" && pkg_failed=yes
   12584 else
   12585   pkg_failed=yes
   12586 fi
   12587  else
   12588     pkg_failed=untried
   12589 fi
   12590 
   12591 
   12592 
   12593 if test $pkg_failed = yes; then
   12594    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12595 $as_echo "no" >&6; }
   12596 
   12597 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12598         _pkg_short_errors_supported=yes
   12599 else
   12600         _pkg_short_errors_supported=no
   12601 fi
   12602         if test $_pkg_short_errors_supported = yes; then
   12603 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext xvmc" 2>&1`
   12604         else
   12605 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext xvmc" 2>&1`
   12606         fi
   12607 	# Put the nasty error message in config.log where it belongs
   12608 	echo "$XVMC_PKG_ERRORS" >&5
   12609 
   12610 	as_fn_error $? "Package requirements (x11 xext xvmc) were not met:
   12611 
   12612 $XVMC_PKG_ERRORS
   12613 
   12614 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12615 installed software in a non-standard prefix.
   12616 
   12617 Alternatively, you may set the environment variables XVMC_CFLAGS
   12618 and XVMC_LIBS to avoid the need to call pkg-config.
   12619 See the pkg-config man page for more details." "$LINENO" 5
   12620 elif test $pkg_failed = untried; then
   12621      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12622 $as_echo "no" >&6; }
   12623 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12625 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12626 is in your PATH or set the PKG_CONFIG environment variable to the full
   12627 path to pkg-config.
   12628 
   12629 Alternatively, you may set the environment variables XVMC_CFLAGS
   12630 and XVMC_LIBS to avoid the need to call pkg-config.
   12631 See the pkg-config man page for more details.
   12632 
   12633 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12634 See \`config.log' for more details" "$LINENO" 5; }
   12635 else
   12636 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   12637 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   12638         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12639 $as_echo "yes" >&6; }
   12640 
   12641 fi
   12642 fi
   12643 
   12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build XvMC driver support" >&5
   12645 $as_echo_n "checking whether to build XvMC driver support... " >&6; }
   12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XVMC" >&5
   12647 $as_echo "$XVMC" >&6; }
   12648 
   12649  if test x$XVMC = xyes; then
   12650   XVMC_TRUE=
   12651   XVMC_FALSE='#'
   12652 else
   12653   XVMC_TRUE='#'
   12654   XVMC_FALSE=
   12655 fi
   12656 
   12657 
   12658  if test x$DEBUG = xyes; then
   12659   DEBUG_TRUE=
   12660   DEBUG_FALSE='#'
   12661 else
   12662   DEBUG_TRUE='#'
   12663   DEBUG_FALSE=
   12664 fi
   12665 
   12666 if test "$DEBUG" = yes; then
   12667 
   12668 $as_echo "#define HAVE_DEBUG 1" >>confdefs.h
   12669 
   12670 fi
   12671 
   12672  if test x$XV_DEBUG = xyes; then
   12673   XV_DEBUG_TRUE=
   12674   XV_DEBUG_FALSE='#'
   12675 else
   12676   XV_DEBUG_TRUE='#'
   12677   XV_DEBUG_FALSE=
   12678 fi
   12679 
   12680 if test "$XV_DEBUG" = yes; then
   12681 
   12682 $as_echo "#define XV_DEBUG 1" >>confdefs.h
   12683 
   12684 fi
   12685 
   12686  if test x$TOOLS = xyes; then
   12687   TOOLS_TRUE=
   12688   TOOLS_FALSE='#'
   12689 else
   12690   TOOLS_TRUE='#'
   12691   TOOLS_FALSE=
   12692 fi
   12693 
   12694 if test "$TOOLS" = yes; then
   12695 
   12696 $as_echo "#define TOOLS 1" >>confdefs.h
   12697 
   12698 fi
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 DRIVER_NAME=openchrome
   12705 
   12706 
   12707 
   12708 $as_echo "#define X_USE_LINEARFB 1" >>confdefs.h
   12709 
   12710 
   12711 $as_echo "#define X_USE_REGION_NULL 1" >>confdefs.h
   12712 
   12713 
   12714 $as_echo "#define X_HAVE_XAAGETROP 1" >>confdefs.h
   12715 
   12716 
   12717 $as_echo "#define X_NEED_I2CSTART 1" >>confdefs.h
   12718 
   12719 
   12720 DRIVER_MAN_SUFFIX="4"
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 if test x$APP_MAN_SUFFIX = x    ; then
   12728     APP_MAN_SUFFIX=1
   12729 fi
   12730 if test x$APP_MAN_DIR = x    ; then
   12731     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   12732 fi
   12733 
   12734 if test x$LIB_MAN_SUFFIX = x    ; then
   12735     LIB_MAN_SUFFIX=3
   12736 fi
   12737 if test x$LIB_MAN_DIR = x    ; then
   12738     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   12739 fi
   12740 
   12741 if test x$FILE_MAN_SUFFIX = x    ; then
   12742     case $host_os in
   12743 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   12744 	*)		FILE_MAN_SUFFIX=5  ;;
   12745     esac
   12746 fi
   12747 if test x$FILE_MAN_DIR = x    ; then
   12748     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   12749 fi
   12750 
   12751 if test x$MISC_MAN_SUFFIX = x    ; then
   12752     case $host_os in
   12753 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   12754 	*)		MISC_MAN_SUFFIX=7  ;;
   12755     esac
   12756 fi
   12757 if test x$MISC_MAN_DIR = x    ; then
   12758     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   12759 fi
   12760 
   12761 if test x$DRIVER_MAN_SUFFIX = x    ; then
   12762     case $host_os in
   12763 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   12764 	*)		DRIVER_MAN_SUFFIX=4  ;;
   12765     esac
   12766 fi
   12767 if test x$DRIVER_MAN_DIR = x    ; then
   12768     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   12769 fi
   12770 
   12771 if test x$ADMIN_MAN_SUFFIX = x    ; then
   12772     case $host_os in
   12773 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   12774 	*)		ADMIN_MAN_SUFFIX=8  ;;
   12775     esac
   12776 fi
   12777 if test x$ADMIN_MAN_DIR = x    ; then
   12778     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   12779 fi
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 XORG_MAN_PAGE="X Version 11"
   12796 
   12797 MAN_SUBSTS="\
   12798 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   12799 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   12800 	-e 's|__xservername__|Xorg|g' \
   12801 	-e 's|__xconfigfile__|xorg.conf|g' \
   12802 	-e 's|__projectroot__|\$(prefix)|g' \
   12803 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   12804 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   12805 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   12806 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   12807 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   12808 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   12809 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 # Check whether --with-release-version was given.
   12816 if test "${with_release_version+set}" = set; then :
   12817   withval=$with_release_version; RELEASE_VERSION="$withval"
   12818 else
   12819   RELEASE_VERSION=""
   12820 fi
   12821 
   12822 	if test "x$RELEASE_VERSION" != "x"; then
   12823 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   12824 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   12825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
   12826 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   12827 	fi
   12828 
   12829 
   12830 ac_config_files="$ac_config_files Makefile src/xvmc/Makefile src/Makefile man/Makefile tools/Makefile"
   12831 
   12832 cat >confcache <<\_ACEOF
   12833 # This file is a shell script that caches the results of configure
   12834 # tests run on this system so they can be shared between configure
   12835 # scripts and configure runs, see configure's option --config-cache.
   12836 # It is not useful on other systems.  If it contains results you don't
   12837 # want to keep, you may remove or edit it.
   12838 #
   12839 # config.status only pays attention to the cache file if you give it
   12840 # the --recheck option to rerun configure.
   12841 #
   12842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12844 # following values.
   12845 
   12846 _ACEOF
   12847 
   12848 # The following way of writing the cache mishandles newlines in values,
   12849 # but we know of no workaround that is simple, portable, and efficient.
   12850 # So, we kill variables containing newlines.
   12851 # Ultrix sh set writes to stderr and can't be redirected directly,
   12852 # and sets the high bit in the cache file unless we assign to the vars.
   12853 (
   12854   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12855     eval ac_val=\$$ac_var
   12856     case $ac_val in #(
   12857     *${as_nl}*)
   12858       case $ac_var in #(
   12859       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12861       esac
   12862       case $ac_var in #(
   12863       _ | IFS | as_nl) ;; #(
   12864       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12865       *) { eval $ac_var=; unset $ac_var;} ;;
   12866       esac ;;
   12867     esac
   12868   done
   12869 
   12870   (set) 2>&1 |
   12871     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12872     *${as_nl}ac_space=\ *)
   12873       # `set' does not quote correctly, so add quotes: double-quote
   12874       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12875       sed -n \
   12876 	"s/'/'\\\\''/g;
   12877 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12878       ;; #(
   12879     *)
   12880       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12881       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12882       ;;
   12883     esac |
   12884     sort
   12885 ) |
   12886   sed '
   12887      /^ac_cv_env_/b end
   12888      t clear
   12889      :clear
   12890      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12891      t end
   12892      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12893      :end' >>confcache
   12894 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12895   if test -w "$cache_file"; then
   12896     if test "x$cache_file" != "x/dev/null"; then
   12897       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12898 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12899       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12900 	cat confcache >"$cache_file"
   12901       else
   12902         case $cache_file in #(
   12903         */* | ?:*)
   12904 	  mv -f confcache "$cache_file"$$ &&
   12905 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12906         *)
   12907 	  mv -f confcache "$cache_file" ;;
   12908 	esac
   12909       fi
   12910     fi
   12911   else
   12912     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12913 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12914   fi
   12915 fi
   12916 rm -f confcache
   12917 
   12918 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12919 # Let make expand exec_prefix.
   12920 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12921 
   12922 DEFS=-DHAVE_CONFIG_H
   12923 
   12924 ac_libobjs=
   12925 ac_ltlibobjs=
   12926 U=
   12927 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12928   # 1. Remove the extension, and $U if already installed.
   12929   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12930   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12931   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12932   #    will be set to the directory where LIBOBJS objects are built.
   12933   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12934   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12935 done
   12936 LIBOBJS=$ac_libobjs
   12937 
   12938 LTLIBOBJS=$ac_ltlibobjs
   12939 
   12940 
   12941  if test -n "$EXEEXT"; then
   12942   am__EXEEXT_TRUE=
   12943   am__EXEEXT_FALSE='#'
   12944 else
   12945   am__EXEEXT_TRUE='#'
   12946   am__EXEEXT_FALSE=
   12947 fi
   12948 
   12949 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12950   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   12951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12952 fi
   12953 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12954   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12956 fi
   12957 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12958   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12960 fi
   12961 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   12962   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   12963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12964 fi
   12965 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   12966   as_fn_error $? "conditional \"DRI\" was never defined.
   12967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12968 fi
   12969 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
   12970   as_fn_error $? "conditional \"XVMC\" was never defined.
   12971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12972 fi
   12973 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
   12974   as_fn_error $? "conditional \"DEBUG\" was never defined.
   12975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12976 fi
   12977 if test -z "${XV_DEBUG_TRUE}" && test -z "${XV_DEBUG_FALSE}"; then
   12978   as_fn_error $? "conditional \"XV_DEBUG\" was never defined.
   12979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12980 fi
   12981 if test -z "${TOOLS_TRUE}" && test -z "${TOOLS_FALSE}"; then
   12982   as_fn_error $? "conditional \"TOOLS\" was never defined.
   12983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12984 fi
   12985 
   12986 : "${CONFIG_STATUS=./config.status}"
   12987 ac_write_fail=0
   12988 ac_clean_files_save=$ac_clean_files
   12989 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12990 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12991 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12992 as_write_fail=0
   12993 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12994 #! $SHELL
   12995 # Generated by $as_me.
   12996 # Run this file to recreate the current configuration.
   12997 # Compiler output produced by configure, useful for debugging
   12998 # configure, is in config.log if it exists.
   12999 
   13000 debug=false
   13001 ac_cs_recheck=false
   13002 ac_cs_silent=false
   13003 
   13004 SHELL=\${CONFIG_SHELL-$SHELL}
   13005 export SHELL
   13006 _ASEOF
   13007 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13008 ## -------------------- ##
   13009 ## M4sh Initialization. ##
   13010 ## -------------------- ##
   13011 
   13012 # Be more Bourne compatible
   13013 DUALCASE=1; export DUALCASE # for MKS sh
   13014 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   13015   emulate sh
   13016   NULLCMD=:
   13017   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13018   # is contrary to our usage.  Disable this feature.
   13019   alias -g '${1+"$@"}'='"$@"'
   13020   setopt NO_GLOB_SUBST
   13021 else
   13022   case `(set -o) 2>/dev/null` in #(
   13023   *posix*) :
   13024     set -o posix ;; #(
   13025   *) :
   13026      ;;
   13027 esac
   13028 fi
   13029 
   13030 
   13031 as_nl='
   13032 '
   13033 export as_nl
   13034 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13035 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13036 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13038 # Prefer a ksh shell builtin over an external printf program on Solaris,
   13039 # but without wasting forks for bash or zsh.
   13040 if test -z "$BASH_VERSION$ZSH_VERSION" \
   13041     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   13042   as_echo='print -r --'
   13043   as_echo_n='print -rn --'
   13044 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13045   as_echo='printf %s\n'
   13046   as_echo_n='printf %s'
   13047 else
   13048   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13049     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13050     as_echo_n='/usr/ucb/echo -n'
   13051   else
   13052     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13053     as_echo_n_body='eval
   13054       arg=$1;
   13055       case $arg in #(
   13056       *"$as_nl"*)
   13057 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13058 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13059       esac;
   13060       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13061     '
   13062     export as_echo_n_body
   13063     as_echo_n='sh -c $as_echo_n_body as_echo'
   13064   fi
   13065   export as_echo_body
   13066   as_echo='sh -c $as_echo_body as_echo'
   13067 fi
   13068 
   13069 # The user is always right.
   13070 if test "${PATH_SEPARATOR+set}" != set; then
   13071   PATH_SEPARATOR=:
   13072   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13073     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13074       PATH_SEPARATOR=';'
   13075   }
   13076 fi
   13077 
   13078 
   13079 # IFS
   13080 # We need space, tab and new line, in precisely that order.  Quoting is
   13081 # there to prevent editors from complaining about space-tab.
   13082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13083 # splitting by setting IFS to empty value.)
   13084 IFS=" ""	$as_nl"
   13085 
   13086 # Find who we are.  Look in the path if we contain no directory separator.
   13087 as_myself=
   13088 case $0 in #((
   13089   *[\\/]* ) as_myself=$0 ;;
   13090   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13091 for as_dir in $PATH
   13092 do
   13093   IFS=$as_save_IFS
   13094   test -z "$as_dir" && as_dir=.
   13095     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13096   done
   13097 IFS=$as_save_IFS
   13098 
   13099      ;;
   13100 esac
   13101 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13102 # in which case we are not to be found in the path.
   13103 if test "x$as_myself" = x; then
   13104   as_myself=$0
   13105 fi
   13106 if test ! -f "$as_myself"; then
   13107   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13108   exit 1
   13109 fi
   13110 
   13111 # Unset variables that we do not need and which cause bugs (e.g. in
   13112 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   13113 # suppresses any "Segmentation fault" message there.  '((' could
   13114 # trigger a bug in pdksh 5.2.14.
   13115 for as_var in BASH_ENV ENV MAIL MAILPATH
   13116 do eval test x\${$as_var+set} = xset \
   13117   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   13118 done
   13119 PS1='$ '
   13120 PS2='> '
   13121 PS4='+ '
   13122 
   13123 # NLS nuisances.
   13124 LC_ALL=C
   13125 export LC_ALL
   13126 LANGUAGE=C
   13127 export LANGUAGE
   13128 
   13129 # CDPATH.
   13130 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13131 
   13132 
   13133 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   13134 # ----------------------------------------
   13135 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13136 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13137 # script with STATUS, using 1 if that was 0.
   13138 as_fn_error ()
   13139 {
   13140   as_status=$1; test $as_status -eq 0 && as_status=1
   13141   if test "$4"; then
   13142     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13143     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   13144   fi
   13145   $as_echo "$as_me: error: $2" >&2
   13146   as_fn_exit $as_status
   13147 } # as_fn_error
   13148 
   13149 
   13150 # as_fn_set_status STATUS
   13151 # -----------------------
   13152 # Set $? to STATUS, without forking.
   13153 as_fn_set_status ()
   13154 {
   13155   return $1
   13156 } # as_fn_set_status
   13157 
   13158 # as_fn_exit STATUS
   13159 # -----------------
   13160 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13161 as_fn_exit ()
   13162 {
   13163   set +e
   13164   as_fn_set_status $1
   13165   exit $1
   13166 } # as_fn_exit
   13167 
   13168 # as_fn_unset VAR
   13169 # ---------------
   13170 # Portably unset VAR.
   13171 as_fn_unset ()
   13172 {
   13173   { eval $1=; unset $1;}
   13174 }
   13175 as_unset=as_fn_unset
   13176 # as_fn_append VAR VALUE
   13177 # ----------------------
   13178 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13179 # advantage of any shell optimizations that allow amortized linear growth over
   13180 # repeated appends, instead of the typical quadratic growth present in naive
   13181 # implementations.
   13182 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   13183   eval 'as_fn_append ()
   13184   {
   13185     eval $1+=\$2
   13186   }'
   13187 else
   13188   as_fn_append ()
   13189   {
   13190     eval $1=\$$1\$2
   13191   }
   13192 fi # as_fn_append
   13193 
   13194 # as_fn_arith ARG...
   13195 # ------------------
   13196 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13197 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13198 # must be portable across $(()) and expr.
   13199 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   13200   eval 'as_fn_arith ()
   13201   {
   13202     as_val=$(( $* ))
   13203   }'
   13204 else
   13205   as_fn_arith ()
   13206   {
   13207     as_val=`expr "$@" || test $? -eq 1`
   13208   }
   13209 fi # as_fn_arith
   13210 
   13211 
   13212 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13213    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13214   as_expr=expr
   13215 else
   13216   as_expr=false
   13217 fi
   13218 
   13219 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13220   as_basename=basename
   13221 else
   13222   as_basename=false
   13223 fi
   13224 
   13225 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13226   as_dirname=dirname
   13227 else
   13228   as_dirname=false
   13229 fi
   13230 
   13231 as_me=`$as_basename -- "$0" ||
   13232 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13233 	 X"$0" : 'X\(//\)$' \| \
   13234 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13235 $as_echo X/"$0" |
   13236     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13237 	    s//\1/
   13238 	    q
   13239 	  }
   13240 	  /^X\/\(\/\/\)$/{
   13241 	    s//\1/
   13242 	    q
   13243 	  }
   13244 	  /^X\/\(\/\).*/{
   13245 	    s//\1/
   13246 	    q
   13247 	  }
   13248 	  s/.*/./; q'`
   13249 
   13250 # Avoid depending upon Character Ranges.
   13251 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13252 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13253 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13254 as_cr_digits='0123456789'
   13255 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13256 
   13257 ECHO_C= ECHO_N= ECHO_T=
   13258 case `echo -n x` in #(((((
   13259 -n*)
   13260   case `echo 'xy\c'` in
   13261   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13262   xy)  ECHO_C='\c';;
   13263   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13264        ECHO_T='	';;
   13265   esac;;
   13266 *)
   13267   ECHO_N='-n';;
   13268 esac
   13269 
   13270 rm -f conf$$ conf$$.exe conf$$.file
   13271 if test -d conf$$.dir; then
   13272   rm -f conf$$.dir/conf$$.file
   13273 else
   13274   rm -f conf$$.dir
   13275   mkdir conf$$.dir 2>/dev/null
   13276 fi
   13277 if (echo >conf$$.file) 2>/dev/null; then
   13278   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13279     as_ln_s='ln -s'
   13280     # ... but there are two gotchas:
   13281     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13282     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13283     # In both cases, we have to default to `cp -p'.
   13284     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13285       as_ln_s='cp -p'
   13286   elif ln conf$$.file conf$$ 2>/dev/null; then
   13287     as_ln_s=ln
   13288   else
   13289     as_ln_s='cp -p'
   13290   fi
   13291 else
   13292   as_ln_s='cp -p'
   13293 fi
   13294 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13295 rmdir conf$$.dir 2>/dev/null
   13296 
   13297 
   13298 # as_fn_mkdir_p
   13299 # -------------
   13300 # Create "$as_dir" as a directory, including parents if necessary.
   13301 as_fn_mkdir_p ()
   13302 {
   13303 
   13304   case $as_dir in #(
   13305   -*) as_dir=./$as_dir;;
   13306   esac
   13307   test -d "$as_dir" || eval $as_mkdir_p || {
   13308     as_dirs=
   13309     while :; do
   13310       case $as_dir in #(
   13311       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13312       *) as_qdir=$as_dir;;
   13313       esac
   13314       as_dirs="'$as_qdir' $as_dirs"
   13315       as_dir=`$as_dirname -- "$as_dir" ||
   13316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13317 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13318 	 X"$as_dir" : 'X\(//\)$' \| \
   13319 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13320 $as_echo X"$as_dir" |
   13321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13322 	    s//\1/
   13323 	    q
   13324 	  }
   13325 	  /^X\(\/\/\)[^/].*/{
   13326 	    s//\1/
   13327 	    q
   13328 	  }
   13329 	  /^X\(\/\/\)$/{
   13330 	    s//\1/
   13331 	    q
   13332 	  }
   13333 	  /^X\(\/\).*/{
   13334 	    s//\1/
   13335 	    q
   13336 	  }
   13337 	  s/.*/./; q'`
   13338       test -d "$as_dir" && break
   13339     done
   13340     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13341   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13342 
   13343 
   13344 } # as_fn_mkdir_p
   13345 if mkdir -p . 2>/dev/null; then
   13346   as_mkdir_p='mkdir -p "$as_dir"'
   13347 else
   13348   test -d ./-p && rmdir ./-p
   13349   as_mkdir_p=false
   13350 fi
   13351 
   13352 if test -x / >/dev/null 2>&1; then
   13353   as_test_x='test -x'
   13354 else
   13355   if ls -dL / >/dev/null 2>&1; then
   13356     as_ls_L_option=L
   13357   else
   13358     as_ls_L_option=
   13359   fi
   13360   as_test_x='
   13361     eval sh -c '\''
   13362       if test -d "$1"; then
   13363 	test -d "$1/.";
   13364       else
   13365 	case $1 in #(
   13366 	-*)set "./$1";;
   13367 	esac;
   13368 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13369 	???[sx]*):;;*)false;;esac;fi
   13370     '\'' sh
   13371   '
   13372 fi
   13373 as_executable_p=$as_test_x
   13374 
   13375 # Sed expression to map a string onto a valid CPP name.
   13376 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13377 
   13378 # Sed expression to map a string onto a valid variable name.
   13379 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13380 
   13381 
   13382 exec 6>&1
   13383 ## ----------------------------------- ##
   13384 ## Main body of $CONFIG_STATUS script. ##
   13385 ## ----------------------------------- ##
   13386 _ASEOF
   13387 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13388 
   13389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13390 # Save the log message, to keep $0 and so on meaningful, and to
   13391 # report actual input values of CONFIG_FILES etc. instead of their
   13392 # values after options handling.
   13393 ac_log="
   13394 This file was extended by xf86-video-openchrome $as_me 0.6.0, which was
   13395 generated by GNU Autoconf 2.68.  Invocation command line was
   13396 
   13397   CONFIG_FILES    = $CONFIG_FILES
   13398   CONFIG_HEADERS  = $CONFIG_HEADERS
   13399   CONFIG_LINKS    = $CONFIG_LINKS
   13400   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13401   $ $0 $@
   13402 
   13403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13404 "
   13405 
   13406 _ACEOF
   13407 
   13408 case $ac_config_files in *"
   13409 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13410 esac
   13411 
   13412 case $ac_config_headers in *"
   13413 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13414 esac
   13415 
   13416 
   13417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13418 # Files that config.status was made for.
   13419 config_files="$ac_config_files"
   13420 config_headers="$ac_config_headers"
   13421 config_commands="$ac_config_commands"
   13422 
   13423 _ACEOF
   13424 
   13425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13426 ac_cs_usage="\
   13427 \`$as_me' instantiates files and other configuration actions
   13428 from templates according to the current configuration.  Unless the files
   13429 and actions are specified as TAGs, all are instantiated by default.
   13430 
   13431 Usage: $0 [OPTION]... [TAG]...
   13432 
   13433   -h, --help       print this help, then exit
   13434   -V, --version    print version number and configuration settings, then exit
   13435       --config     print configuration, then exit
   13436   -q, --quiet, --silent
   13437                    do not print progress messages
   13438   -d, --debug      don't remove temporary files
   13439       --recheck    update $as_me by reconfiguring in the same conditions
   13440       --file=FILE[:TEMPLATE]
   13441                    instantiate the configuration file FILE
   13442       --header=FILE[:TEMPLATE]
   13443                    instantiate the configuration header FILE
   13444 
   13445 Configuration files:
   13446 $config_files
   13447 
   13448 Configuration headers:
   13449 $config_headers
   13450 
   13451 Configuration commands:
   13452 $config_commands
   13453 
   13454 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome>."
   13455 
   13456 _ACEOF
   13457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13458 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   13459 ac_cs_version="\\
   13460 xf86-video-openchrome config.status 0.6.0
   13461 configured by $0, generated by GNU Autoconf 2.68,
   13462   with options \\"\$ac_cs_config\\"
   13463 
   13464 Copyright (C) 2010 Free Software Foundation, Inc.
   13465 This config.status script is free software; the Free Software Foundation
   13466 gives unlimited permission to copy, distribute and modify it."
   13467 
   13468 ac_pwd='$ac_pwd'
   13469 srcdir='$srcdir'
   13470 INSTALL='$INSTALL'
   13471 MKDIR_P='$MKDIR_P'
   13472 AWK='$AWK'
   13473 test -n "\$AWK" || AWK=awk
   13474 _ACEOF
   13475 
   13476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13477 # The default lists apply if the user does not specify any file.
   13478 ac_need_defaults=:
   13479 while test $# != 0
   13480 do
   13481   case $1 in
   13482   --*=?*)
   13483     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13484     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13485     ac_shift=:
   13486     ;;
   13487   --*=)
   13488     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13489     ac_optarg=
   13490     ac_shift=:
   13491     ;;
   13492   *)
   13493     ac_option=$1
   13494     ac_optarg=$2
   13495     ac_shift=shift
   13496     ;;
   13497   esac
   13498 
   13499   case $ac_option in
   13500   # Handling of the options.
   13501   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13502     ac_cs_recheck=: ;;
   13503   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13504     $as_echo "$ac_cs_version"; exit ;;
   13505   --config | --confi | --conf | --con | --co | --c )
   13506     $as_echo "$ac_cs_config"; exit ;;
   13507   --debug | --debu | --deb | --de | --d | -d )
   13508     debug=: ;;
   13509   --file | --fil | --fi | --f )
   13510     $ac_shift
   13511     case $ac_optarg in
   13512     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13513     '') as_fn_error $? "missing file argument" ;;
   13514     esac
   13515     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13516     ac_need_defaults=false;;
   13517   --header | --heade | --head | --hea )
   13518     $ac_shift
   13519     case $ac_optarg in
   13520     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13521     esac
   13522     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13523     ac_need_defaults=false;;
   13524   --he | --h)
   13525     # Conflict between --help and --header
   13526     as_fn_error $? "ambiguous option: \`$1'
   13527 Try \`$0 --help' for more information.";;
   13528   --help | --hel | -h )
   13529     $as_echo "$ac_cs_usage"; exit ;;
   13530   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13531   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13532     ac_cs_silent=: ;;
   13533 
   13534   # This is an error.
   13535   -*) as_fn_error $? "unrecognized option: \`$1'
   13536 Try \`$0 --help' for more information." ;;
   13537 
   13538   *) as_fn_append ac_config_targets " $1"
   13539      ac_need_defaults=false ;;
   13540 
   13541   esac
   13542   shift
   13543 done
   13544 
   13545 ac_configure_extra_args=
   13546 
   13547 if $ac_cs_silent; then
   13548   exec 6>/dev/null
   13549   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13550 fi
   13551 
   13552 _ACEOF
   13553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13554 if \$ac_cs_recheck; then
   13555   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13556   shift
   13557   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13558   CONFIG_SHELL='$SHELL'
   13559   export CONFIG_SHELL
   13560   exec "\$@"
   13561 fi
   13562 
   13563 _ACEOF
   13564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13565 exec 5>>config.log
   13566 {
   13567   echo
   13568   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13569 ## Running $as_me. ##
   13570 _ASBOX
   13571   $as_echo "$ac_log"
   13572 } >&5
   13573 
   13574 _ACEOF
   13575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13576 #
   13577 # INIT-COMMANDS
   13578 #
   13579 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13580 
   13581 
   13582 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13583 # if CDPATH is set.
   13584 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13585 
   13586 sed_quote_subst='$sed_quote_subst'
   13587 double_quote_subst='$double_quote_subst'
   13588 delay_variable_subst='$delay_variable_subst'
   13589 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   13590 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   13591 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   13592 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   13593 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   13594 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   13595 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   13596 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   13597 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   13598 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   13599 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   13600 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   13601 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   13602 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   13603 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   13604 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   13605 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   13606 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   13607 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   13608 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   13609 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   13610 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   13611 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   13612 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   13613 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   13614 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   13615 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   13616 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   13617 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   13618 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   13619 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   13620 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   13621 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   13622 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   13623 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   13624 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   13625 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   13626 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   13627 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   13628 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   13629 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   13630 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   13631 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   13632 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   13633 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   13634 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13635 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13636 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   13637 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   13638 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   13639 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   13640 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   13641 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   13642 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   13643 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   13644 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   13645 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"`'
   13646 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   13647 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   13648 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   13649 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   13650 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   13651 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   13652 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   13653 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   13654 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   13655 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   13656 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   13657 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   13658 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   13659 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   13660 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   13661 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   13662 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   13663 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   13664 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13665 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   13666 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   13667 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   13668 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   13669 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   13670 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   13671 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13672 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   13673 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13674 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   13675 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13676 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   13677 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13678 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13679 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   13680 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   13681 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   13682 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   13683 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   13684 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13685 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   13686 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   13687 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   13688 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   13689 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   13690 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   13691 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   13692 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   13693 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   13694 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   13695 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   13696 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   13697 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   13698 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   13699 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   13700 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13701 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   13702 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   13703 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   13704 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   13705 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   13706 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13707 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13708 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   13709 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   13710 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   13711 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   13712 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   13713 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   13714 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   13715 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   13716 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   13717 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   13718 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   13719 
   13720 LTCC='$LTCC'
   13721 LTCFLAGS='$LTCFLAGS'
   13722 compiler='$compiler_DEFAULT'
   13723 
   13724 # A function that is used when there is no print builtin or printf.
   13725 func_fallback_echo ()
   13726 {
   13727   eval 'cat <<_LTECHO_EOF
   13728 \$1
   13729 _LTECHO_EOF'
   13730 }
   13731 
   13732 # Quote evaled strings.
   13733 for var in SHELL \
   13734 ECHO \
   13735 PATH_SEPARATOR \
   13736 SED \
   13737 GREP \
   13738 EGREP \
   13739 FGREP \
   13740 LD \
   13741 NM \
   13742 LN_S \
   13743 lt_SP2NL \
   13744 lt_NL2SP \
   13745 reload_flag \
   13746 OBJDUMP \
   13747 deplibs_check_method \
   13748 file_magic_cmd \
   13749 file_magic_glob \
   13750 want_nocaseglob \
   13751 DLLTOOL \
   13752 sharedlib_from_linklib_cmd \
   13753 AR \
   13754 AR_FLAGS \
   13755 archiver_list_spec \
   13756 STRIP \
   13757 RANLIB \
   13758 CC \
   13759 CFLAGS \
   13760 compiler \
   13761 lt_cv_sys_global_symbol_pipe \
   13762 lt_cv_sys_global_symbol_to_cdecl \
   13763 lt_cv_sys_global_symbol_to_c_name_address \
   13764 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13765 nm_file_list_spec \
   13766 lt_prog_compiler_no_builtin_flag \
   13767 lt_prog_compiler_pic \
   13768 lt_prog_compiler_wl \
   13769 lt_prog_compiler_static \
   13770 lt_cv_prog_compiler_c_o \
   13771 need_locks \
   13772 MANIFEST_TOOL \
   13773 DSYMUTIL \
   13774 NMEDIT \
   13775 LIPO \
   13776 OTOOL \
   13777 OTOOL64 \
   13778 shrext_cmds \
   13779 export_dynamic_flag_spec \
   13780 whole_archive_flag_spec \
   13781 compiler_needs_object \
   13782 with_gnu_ld \
   13783 allow_undefined_flag \
   13784 no_undefined_flag \
   13785 hardcode_libdir_flag_spec \
   13786 hardcode_libdir_separator \
   13787 exclude_expsyms \
   13788 include_expsyms \
   13789 file_list_spec \
   13790 variables_saved_for_relink \
   13791 libname_spec \
   13792 library_names_spec \
   13793 soname_spec \
   13794 install_override_mode \
   13795 finish_eval \
   13796 old_striplib \
   13797 striplib; do
   13798     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13799     *[\\\\\\\`\\"\\\$]*)
   13800       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13801       ;;
   13802     *)
   13803       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13804       ;;
   13805     esac
   13806 done
   13807 
   13808 # Double-quote double-evaled strings.
   13809 for var in reload_cmds \
   13810 old_postinstall_cmds \
   13811 old_postuninstall_cmds \
   13812 old_archive_cmds \
   13813 extract_expsyms_cmds \
   13814 old_archive_from_new_cmds \
   13815 old_archive_from_expsyms_cmds \
   13816 archive_cmds \
   13817 archive_expsym_cmds \
   13818 module_cmds \
   13819 module_expsym_cmds \
   13820 export_symbols_cmds \
   13821 prelink_cmds \
   13822 postlink_cmds \
   13823 postinstall_cmds \
   13824 postuninstall_cmds \
   13825 finish_cmds \
   13826 sys_lib_search_path_spec \
   13827 sys_lib_dlsearch_path_spec; do
   13828     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13829     *[\\\\\\\`\\"\\\$]*)
   13830       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13831       ;;
   13832     *)
   13833       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13834       ;;
   13835     esac
   13836 done
   13837 
   13838 ac_aux_dir='$ac_aux_dir'
   13839 xsi_shell='$xsi_shell'
   13840 lt_shell_append='$lt_shell_append'
   13841 
   13842 # See if we are running on zsh, and set the options which allow our
   13843 # commands through without removal of \ escapes INIT.
   13844 if test -n "\${ZSH_VERSION+set}" ; then
   13845    setopt NO_GLOB_SUBST
   13846 fi
   13847 
   13848 
   13849     PACKAGE='$PACKAGE'
   13850     VERSION='$VERSION'
   13851     TIMESTAMP='$TIMESTAMP'
   13852     RM='$RM'
   13853     ofile='$ofile'
   13854 
   13855 
   13856 
   13857 
   13858 _ACEOF
   13859 
   13860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13861 
   13862 # Handling of arguments.
   13863 for ac_config_target in $ac_config_targets
   13864 do
   13865   case $ac_config_target in
   13866     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13867     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13868     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13869     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13870     "src/xvmc/Makefile") CONFIG_FILES="$CONFIG_FILES src/xvmc/Makefile" ;;
   13871     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13872     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13873     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   13874 
   13875   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13876   esac
   13877 done
   13878 
   13879 
   13880 # If the user did not use the arguments to specify the items to instantiate,
   13881 # then the envvar interface is used.  Set only those that are not.
   13882 # We use the long form for the default assignment because of an extremely
   13883 # bizarre bug on SunOS 4.1.3.
   13884 if $ac_need_defaults; then
   13885   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13886   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13887   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13888 fi
   13889 
   13890 # Have a temporary directory for convenience.  Make it in the build tree
   13891 # simply because there is no reason against having it here, and in addition,
   13892 # creating and moving files from /tmp can sometimes cause problems.
   13893 # Hook for its removal unless debugging.
   13894 # Note that there is a small window in which the directory will not be cleaned:
   13895 # after its creation but before its name has been assigned to `$tmp'.
   13896 $debug ||
   13897 {
   13898   tmp= ac_tmp=
   13899   trap 'exit_status=$?
   13900   : "${ac_tmp:=$tmp}"
   13901   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13902 ' 0
   13903   trap 'as_fn_exit 1' 1 2 13 15
   13904 }
   13905 # Create a (secure) tmp directory for tmp files.
   13906 
   13907 {
   13908   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13909   test -d "$tmp"
   13910 }  ||
   13911 {
   13912   tmp=./conf$$-$RANDOM
   13913   (umask 077 && mkdir "$tmp")
   13914 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13915 ac_tmp=$tmp
   13916 
   13917 # Set up the scripts for CONFIG_FILES section.
   13918 # No need to generate them if there are no CONFIG_FILES.
   13919 # This happens for instance with `./config.status config.h'.
   13920 if test -n "$CONFIG_FILES"; then
   13921 
   13922 
   13923 ac_cr=`echo X | tr X '\015'`
   13924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13925 # But we know of no other shell where ac_cr would be empty at this
   13926 # point, so we can use a bashism as a fallback.
   13927 if test "x$ac_cr" = x; then
   13928   eval ac_cr=\$\'\\r\'
   13929 fi
   13930 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13932   ac_cs_awk_cr='\\r'
   13933 else
   13934   ac_cs_awk_cr=$ac_cr
   13935 fi
   13936 
   13937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13938 _ACEOF
   13939 
   13940 
   13941 {
   13942   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13943   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13944   echo "_ACEOF"
   13945 } >conf$$subs.sh ||
   13946   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13948 ac_delim='%!_!# '
   13949 for ac_last_try in false false false false false :; do
   13950   . ./conf$$subs.sh ||
   13951     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13952 
   13953   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13954   if test $ac_delim_n = $ac_delim_num; then
   13955     break
   13956   elif $ac_last_try; then
   13957     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13958   else
   13959     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13960   fi
   13961 done
   13962 rm -f conf$$subs.sh
   13963 
   13964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13965 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13966 _ACEOF
   13967 sed -n '
   13968 h
   13969 s/^/S["/; s/!.*/"]=/
   13970 p
   13971 g
   13972 s/^[^!]*!//
   13973 :repl
   13974 t repl
   13975 s/'"$ac_delim"'$//
   13976 t delim
   13977 :nl
   13978 h
   13979 s/\(.\{148\}\)..*/\1/
   13980 t more1
   13981 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13982 p
   13983 n
   13984 b repl
   13985 :more1
   13986 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13987 p
   13988 g
   13989 s/.\{148\}//
   13990 t nl
   13991 :delim
   13992 h
   13993 s/\(.\{148\}\)..*/\1/
   13994 t more2
   13995 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13996 p
   13997 b
   13998 :more2
   13999 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14000 p
   14001 g
   14002 s/.\{148\}//
   14003 t delim
   14004 ' <conf$$subs.awk | sed '
   14005 /^[^""]/{
   14006   N
   14007   s/\n//
   14008 }
   14009 ' >>$CONFIG_STATUS || ac_write_fail=1
   14010 rm -f conf$$subs.awk
   14011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14012 _ACAWK
   14013 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   14014   for (key in S) S_is_set[key] = 1
   14015   FS = ""
   14016 
   14017 }
   14018 {
   14019   line = $ 0
   14020   nfields = split(line, field, "@")
   14021   substed = 0
   14022   len = length(field[1])
   14023   for (i = 2; i < nfields; i++) {
   14024     key = field[i]
   14025     keylen = length(key)
   14026     if (S_is_set[key]) {
   14027       value = S[key]
   14028       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14029       len += length(value) + length(field[++i])
   14030       substed = 1
   14031     } else
   14032       len += 1 + keylen
   14033   }
   14034 
   14035   print line
   14036 }
   14037 
   14038 _ACAWK
   14039 _ACEOF
   14040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14041 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14042   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14043 else
   14044   cat
   14045 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   14046   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   14047 _ACEOF
   14048 
   14049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   14050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   14051 # trailing colons and then remove the whole line if VPATH becomes empty
   14052 # (actually we leave an empty line to preserve line numbers).
   14053 if test "x$srcdir" = x.; then
   14054   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   14055 h
   14056 s///
   14057 s/^/:/
   14058 s/[	 ]*$/:/
   14059 s/:\$(srcdir):/:/g
   14060 s/:\${srcdir}:/:/g
   14061 s/:@srcdir@:/:/g
   14062 s/^:*//
   14063 s/:*$//
   14064 x
   14065 s/\(=[	 ]*\).*/\1/
   14066 G
   14067 s/\n//
   14068 s/^[^=]*=[	 ]*$//
   14069 }'
   14070 fi
   14071 
   14072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14073 fi # test -n "$CONFIG_FILES"
   14074 
   14075 # Set up the scripts for CONFIG_HEADERS section.
   14076 # No need to generate them if there are no CONFIG_HEADERS.
   14077 # This happens for instance with `./config.status Makefile'.
   14078 if test -n "$CONFIG_HEADERS"; then
   14079 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   14080 BEGIN {
   14081 _ACEOF
   14082 
   14083 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14084 # here-document in config.status, that substitutes the proper values into
   14085 # config.h.in to produce config.h.
   14086 
   14087 # Create a delimiter string that does not exist in confdefs.h, to ease
   14088 # handling of long lines.
   14089 ac_delim='%!_!# '
   14090 for ac_last_try in false false :; do
   14091   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   14092   if test -z "$ac_tt"; then
   14093     break
   14094   elif $ac_last_try; then
   14095     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   14096   else
   14097     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14098   fi
   14099 done
   14100 
   14101 # For the awk script, D is an array of macro values keyed by name,
   14102 # likewise P contains macro parameters if any.  Preserve backslash
   14103 # newline sequences.
   14104 
   14105 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14106 sed -n '
   14107 s/.\{148\}/&'"$ac_delim"'/g
   14108 t rset
   14109 :rset
   14110 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14111 t def
   14112 d
   14113 :def
   14114 s/\\$//
   14115 t bsnl
   14116 s/["\\]/\\&/g
   14117 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14118 D["\1"]=" \3"/p
   14119 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14120 d
   14121 :bsnl
   14122 s/["\\]/\\&/g
   14123 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14124 D["\1"]=" \3\\\\\\n"\\/p
   14125 t cont
   14126 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14127 t cont
   14128 d
   14129 :cont
   14130 n
   14131 s/.\{148\}/&'"$ac_delim"'/g
   14132 t clear
   14133 :clear
   14134 s/\\$//
   14135 t bsnlc
   14136 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14137 d
   14138 :bsnlc
   14139 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14140 b cont
   14141 ' <confdefs.h | sed '
   14142 s/'"$ac_delim"'/"\\\
   14143 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14144 
   14145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14146   for (key in D) D_is_set[key] = 1
   14147   FS = ""
   14148 }
   14149 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14150   line = \$ 0
   14151   split(line, arg, " ")
   14152   if (arg[1] == "#") {
   14153     defundef = arg[2]
   14154     mac1 = arg[3]
   14155   } else {
   14156     defundef = substr(arg[1], 2)
   14157     mac1 = arg[2]
   14158   }
   14159   split(mac1, mac2, "(") #)
   14160   macro = mac2[1]
   14161   prefix = substr(line, 1, index(line, defundef) - 1)
   14162   if (D_is_set[macro]) {
   14163     # Preserve the white space surrounding the "#".
   14164     print prefix "define", macro P[macro] D[macro]
   14165     next
   14166   } else {
   14167     # Replace #undef with comments.  This is necessary, for example,
   14168     # in the case of _POSIX_SOURCE, which is predefined and required
   14169     # on some systems where configure will not decide to define it.
   14170     if (defundef == "undef") {
   14171       print "/*", prefix defundef, macro, "*/"
   14172       next
   14173     }
   14174   }
   14175 }
   14176 { print }
   14177 _ACAWK
   14178 _ACEOF
   14179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14180   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   14181 fi # test -n "$CONFIG_HEADERS"
   14182 
   14183 
   14184 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14185 shift
   14186 for ac_tag
   14187 do
   14188   case $ac_tag in
   14189   :[FHLC]) ac_mode=$ac_tag; continue;;
   14190   esac
   14191   case $ac_mode$ac_tag in
   14192   :[FHL]*:*);;
   14193   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14194   :[FH]-) ac_tag=-:-;;
   14195   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14196   esac
   14197   ac_save_IFS=$IFS
   14198   IFS=:
   14199   set x $ac_tag
   14200   IFS=$ac_save_IFS
   14201   shift
   14202   ac_file=$1
   14203   shift
   14204 
   14205   case $ac_mode in
   14206   :L) ac_source=$1;;
   14207   :[FH])
   14208     ac_file_inputs=
   14209     for ac_f
   14210     do
   14211       case $ac_f in
   14212       -) ac_f="$ac_tmp/stdin";;
   14213       *) # Look for the file first in the build tree, then in the source tree
   14214 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14215 	 # because $ac_f cannot contain `:'.
   14216 	 test -f "$ac_f" ||
   14217 	   case $ac_f in
   14218 	   [\\/$]*) false;;
   14219 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14220 	   esac ||
   14221 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14222       esac
   14223       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14224       as_fn_append ac_file_inputs " '$ac_f'"
   14225     done
   14226 
   14227     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14228     # use $as_me), people would be surprised to read:
   14229     #    /* config.h.  Generated by config.status.  */
   14230     configure_input='Generated from '`
   14231 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14232 	`' by configure.'
   14233     if test x"$ac_file" != x-; then
   14234       configure_input="$ac_file.  $configure_input"
   14235       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14236 $as_echo "$as_me: creating $ac_file" >&6;}
   14237     fi
   14238     # Neutralize special characters interpreted by sed in replacement strings.
   14239     case $configure_input in #(
   14240     *\&* | *\|* | *\\* )
   14241        ac_sed_conf_input=`$as_echo "$configure_input" |
   14242        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14243     *) ac_sed_conf_input=$configure_input;;
   14244     esac
   14245 
   14246     case $ac_tag in
   14247     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   14248       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   14249     esac
   14250     ;;
   14251   esac
   14252 
   14253   ac_dir=`$as_dirname -- "$ac_file" ||
   14254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14255 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14256 	 X"$ac_file" : 'X\(//\)$' \| \
   14257 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14258 $as_echo X"$ac_file" |
   14259     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14260 	    s//\1/
   14261 	    q
   14262 	  }
   14263 	  /^X\(\/\/\)[^/].*/{
   14264 	    s//\1/
   14265 	    q
   14266 	  }
   14267 	  /^X\(\/\/\)$/{
   14268 	    s//\1/
   14269 	    q
   14270 	  }
   14271 	  /^X\(\/\).*/{
   14272 	    s//\1/
   14273 	    q
   14274 	  }
   14275 	  s/.*/./; q'`
   14276   as_dir="$ac_dir"; as_fn_mkdir_p
   14277   ac_builddir=.
   14278 
   14279 case "$ac_dir" in
   14280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14281 *)
   14282   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14283   # A ".." for each directory in $ac_dir_suffix.
   14284   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14285   case $ac_top_builddir_sub in
   14286   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14287   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14288   esac ;;
   14289 esac
   14290 ac_abs_top_builddir=$ac_pwd
   14291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14292 # for backward compatibility:
   14293 ac_top_builddir=$ac_top_build_prefix
   14294 
   14295 case $srcdir in
   14296   .)  # We are building in place.
   14297     ac_srcdir=.
   14298     ac_top_srcdir=$ac_top_builddir_sub
   14299     ac_abs_top_srcdir=$ac_pwd ;;
   14300   [\\/]* | ?:[\\/]* )  # Absolute name.
   14301     ac_srcdir=$srcdir$ac_dir_suffix;
   14302     ac_top_srcdir=$srcdir
   14303     ac_abs_top_srcdir=$srcdir ;;
   14304   *) # Relative name.
   14305     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14306     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14307     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14308 esac
   14309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14310 
   14311 
   14312   case $ac_mode in
   14313   :F)
   14314   #
   14315   # CONFIG_FILE
   14316   #
   14317 
   14318   case $INSTALL in
   14319   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14320   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14321   esac
   14322   ac_MKDIR_P=$MKDIR_P
   14323   case $MKDIR_P in
   14324   [\\/$]* | ?:[\\/]* ) ;;
   14325   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14326   esac
   14327 _ACEOF
   14328 
   14329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14330 # If the template does not know about datarootdir, expand it.
   14331 # FIXME: This hack should be removed a few years after 2.60.
   14332 ac_datarootdir_hack=; ac_datarootdir_seen=
   14333 ac_sed_dataroot='
   14334 /datarootdir/ {
   14335   p
   14336   q
   14337 }
   14338 /@datadir@/p
   14339 /@docdir@/p
   14340 /@infodir@/p
   14341 /@localedir@/p
   14342 /@mandir@/p'
   14343 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14344 *datarootdir*) ac_datarootdir_seen=yes;;
   14345 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14346   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14347 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14348 _ACEOF
   14349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14350   ac_datarootdir_hack='
   14351   s&@datadir@&$datadir&g
   14352   s&@docdir@&$docdir&g
   14353   s&@infodir@&$infodir&g
   14354   s&@localedir@&$localedir&g
   14355   s&@mandir@&$mandir&g
   14356   s&\\\${datarootdir}&$datarootdir&g' ;;
   14357 esac
   14358 _ACEOF
   14359 
   14360 # Neutralize VPATH when `$srcdir' = `.'.
   14361 # Shell code in configure.ac might set extrasub.
   14362 # FIXME: do we really want to maintain this feature?
   14363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14364 ac_sed_extra="$ac_vpsub
   14365 $extrasub
   14366 _ACEOF
   14367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14368 :t
   14369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14370 s|@configure_input@|$ac_sed_conf_input|;t t
   14371 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14372 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14373 s&@srcdir@&$ac_srcdir&;t t
   14374 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14375 s&@top_srcdir@&$ac_top_srcdir&;t t
   14376 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14377 s&@builddir@&$ac_builddir&;t t
   14378 s&@abs_builddir@&$ac_abs_builddir&;t t
   14379 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14380 s&@INSTALL@&$ac_INSTALL&;t t
   14381 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14382 $ac_datarootdir_hack
   14383 "
   14384 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14385   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14386 
   14387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14388   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14389   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14390       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14391   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14392 which seems to be undefined.  Please make sure it is defined" >&5
   14393 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14394 which seems to be undefined.  Please make sure it is defined" >&2;}
   14395 
   14396   rm -f "$ac_tmp/stdin"
   14397   case $ac_file in
   14398   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14399   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14400   esac \
   14401   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14402  ;;
   14403   :H)
   14404   #
   14405   # CONFIG_HEADER
   14406   #
   14407   if test x"$ac_file" != x-; then
   14408     {
   14409       $as_echo "/* $configure_input  */" \
   14410       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   14411     } >"$ac_tmp/config.h" \
   14412       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14413     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   14414       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14415 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14416     else
   14417       rm -f "$ac_file"
   14418       mv "$ac_tmp/config.h" "$ac_file" \
   14419 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14420     fi
   14421   else
   14422     $as_echo "/* $configure_input  */" \
   14423       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   14424       || as_fn_error $? "could not create -" "$LINENO" 5
   14425   fi
   14426 # Compute "$ac_file"'s index in $config_headers.
   14427 _am_arg="$ac_file"
   14428 _am_stamp_count=1
   14429 for _am_header in $config_headers :; do
   14430   case $_am_header in
   14431     $_am_arg | $_am_arg:* )
   14432       break ;;
   14433     * )
   14434       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14435   esac
   14436 done
   14437 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14438 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14439 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14440 	 X"$_am_arg" : 'X\(//\)$' \| \
   14441 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14442 $as_echo X"$_am_arg" |
   14443     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14444 	    s//\1/
   14445 	    q
   14446 	  }
   14447 	  /^X\(\/\/\)[^/].*/{
   14448 	    s//\1/
   14449 	    q
   14450 	  }
   14451 	  /^X\(\/\/\)$/{
   14452 	    s//\1/
   14453 	    q
   14454 	  }
   14455 	  /^X\(\/\).*/{
   14456 	    s//\1/
   14457 	    q
   14458 	  }
   14459 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14460  ;;
   14461 
   14462   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14463 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14464  ;;
   14465   esac
   14466 
   14467 
   14468   case $ac_file$ac_mode in
   14469     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14470   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14471   # are listed without --file.  Let's play safe and only enable the eval
   14472   # if we detect the quoting.
   14473   case $CONFIG_FILES in
   14474   *\'*) eval set x "$CONFIG_FILES" ;;
   14475   *)   set x $CONFIG_FILES ;;
   14476   esac
   14477   shift
   14478   for mf
   14479   do
   14480     # Strip MF so we end up with the name of the file.
   14481     mf=`echo "$mf" | sed -e 's/:.*$//'`
   14482     # Check whether this is an Automake generated Makefile or not.
   14483     # We used to match only the files named `Makefile.in', but
   14484     # some people rename them; so instead we look at the file content.
   14485     # Grep'ing the first line is not enough: some people post-process
   14486     # each Makefile.in and add a new line on top of each file to say so.
   14487     # Grep'ing the whole file is not good either: AIX grep has a line
   14488     # limit of 2048, but all sed's we know have understand at least 4000.
   14489     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14490       dirpart=`$as_dirname -- "$mf" ||
   14491 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14492 	 X"$mf" : 'X\(//\)[^/]' \| \
   14493 	 X"$mf" : 'X\(//\)$' \| \
   14494 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14495 $as_echo X"$mf" |
   14496     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14497 	    s//\1/
   14498 	    q
   14499 	  }
   14500 	  /^X\(\/\/\)[^/].*/{
   14501 	    s//\1/
   14502 	    q
   14503 	  }
   14504 	  /^X\(\/\/\)$/{
   14505 	    s//\1/
   14506 	    q
   14507 	  }
   14508 	  /^X\(\/\).*/{
   14509 	    s//\1/
   14510 	    q
   14511 	  }
   14512 	  s/.*/./; q'`
   14513     else
   14514       continue
   14515     fi
   14516     # Extract the definition of DEPDIR, am__include, and am__quote
   14517     # from the Makefile without running `make'.
   14518     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14519     test -z "$DEPDIR" && continue
   14520     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14521     test -z "am__include" && continue
   14522     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14523     # When using ansi2knr, U may be empty or an underscore; expand it
   14524     U=`sed -n 's/^U = //p' < "$mf"`
   14525     # Find all dependency output files, they are included files with
   14526     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14527     # simplest approach to changing $(DEPDIR) to its actual value in the
   14528     # expansion.
   14529     for file in `sed -n "
   14530       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14531 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14532       # Make sure the directory exists.
   14533       test -f "$dirpart/$file" && continue
   14534       fdir=`$as_dirname -- "$file" ||
   14535 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14536 	 X"$file" : 'X\(//\)[^/]' \| \
   14537 	 X"$file" : 'X\(//\)$' \| \
   14538 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14539 $as_echo X"$file" |
   14540     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14541 	    s//\1/
   14542 	    q
   14543 	  }
   14544 	  /^X\(\/\/\)[^/].*/{
   14545 	    s//\1/
   14546 	    q
   14547 	  }
   14548 	  /^X\(\/\/\)$/{
   14549 	    s//\1/
   14550 	    q
   14551 	  }
   14552 	  /^X\(\/\).*/{
   14553 	    s//\1/
   14554 	    q
   14555 	  }
   14556 	  s/.*/./; q'`
   14557       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   14558       # echo "creating $dirpart/$file"
   14559       echo '# dummy' > "$dirpart/$file"
   14560     done
   14561   done
   14562 }
   14563  ;;
   14564     "libtool":C)
   14565 
   14566     # See if we are running on zsh, and set the options which allow our
   14567     # commands through without removal of \ escapes.
   14568     if test -n "${ZSH_VERSION+set}" ; then
   14569       setopt NO_GLOB_SUBST
   14570     fi
   14571 
   14572     cfgfile="${ofile}T"
   14573     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14574     $RM "$cfgfile"
   14575 
   14576     cat <<_LT_EOF >> "$cfgfile"
   14577 #! $SHELL
   14578 
   14579 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14580 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14581 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14582 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14583 #
   14584 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14585 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   14586 #                 Foundation, Inc.
   14587 #   Written by Gordon Matzigkeit, 1996
   14588 #
   14589 #   This file is part of GNU Libtool.
   14590 #
   14591 # GNU Libtool is free software; you can redistribute it and/or
   14592 # modify it under the terms of the GNU General Public License as
   14593 # published by the Free Software Foundation; either version 2 of
   14594 # the License, or (at your option) any later version.
   14595 #
   14596 # As a special exception to the GNU General Public License,
   14597 # if you distribute this file as part of a program or library that
   14598 # is built using GNU Libtool, you may include this file under the
   14599 # same distribution terms that you use for the rest of that program.
   14600 #
   14601 # GNU Libtool is distributed in the hope that it will be useful,
   14602 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14604 # GNU General Public License for more details.
   14605 #
   14606 # You should have received a copy of the GNU General Public License
   14607 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14608 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14609 # obtained by writing to the Free Software Foundation, Inc.,
   14610 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14611 
   14612 
   14613 # The names of the tagged configurations supported by this script.
   14614 available_tags=""
   14615 
   14616 # ### BEGIN LIBTOOL CONFIG
   14617 
   14618 # Whether or not to build static libraries.
   14619 build_old_libs=$enable_static
   14620 
   14621 # Which release of libtool.m4 was used?
   14622 macro_version=$macro_version
   14623 macro_revision=$macro_revision
   14624 
   14625 # Whether or not to build shared libraries.
   14626 build_libtool_libs=$enable_shared
   14627 
   14628 # What type of objects to build.
   14629 pic_mode=$pic_mode
   14630 
   14631 # Whether or not to optimize for fast installation.
   14632 fast_install=$enable_fast_install
   14633 
   14634 # Shell to use when invoking shell scripts.
   14635 SHELL=$lt_SHELL
   14636 
   14637 # An echo program that protects backslashes.
   14638 ECHO=$lt_ECHO
   14639 
   14640 # The PATH separator for the build system.
   14641 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   14642 
   14643 # The host system.
   14644 host_alias=$host_alias
   14645 host=$host
   14646 host_os=$host_os
   14647 
   14648 # The build system.
   14649 build_alias=$build_alias
   14650 build=$build
   14651 build_os=$build_os
   14652 
   14653 # A sed program that does not truncate output.
   14654 SED=$lt_SED
   14655 
   14656 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14657 Xsed="\$SED -e 1s/^X//"
   14658 
   14659 # A grep program that handles long lines.
   14660 GREP=$lt_GREP
   14661 
   14662 # An ERE matcher.
   14663 EGREP=$lt_EGREP
   14664 
   14665 # A literal string matcher.
   14666 FGREP=$lt_FGREP
   14667 
   14668 # A BSD- or MS-compatible name lister.
   14669 NM=$lt_NM
   14670 
   14671 # Whether we need soft or hard links.
   14672 LN_S=$lt_LN_S
   14673 
   14674 # What is the maximum length of a command?
   14675 max_cmd_len=$max_cmd_len
   14676 
   14677 # Object file suffix (normally "o").
   14678 objext=$ac_objext
   14679 
   14680 # Executable file suffix (normally "").
   14681 exeext=$exeext
   14682 
   14683 # whether the shell understands "unset".
   14684 lt_unset=$lt_unset
   14685 
   14686 # turn spaces into newlines.
   14687 SP2NL=$lt_lt_SP2NL
   14688 
   14689 # turn newlines into spaces.
   14690 NL2SP=$lt_lt_NL2SP
   14691 
   14692 # convert \$build file names to \$host format.
   14693 to_host_file_cmd=$lt_cv_to_host_file_cmd
   14694 
   14695 # convert \$build files to toolchain format.
   14696 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   14697 
   14698 # An object symbol dumper.
   14699 OBJDUMP=$lt_OBJDUMP
   14700 
   14701 # Method to check whether dependent libraries are shared objects.
   14702 deplibs_check_method=$lt_deplibs_check_method
   14703 
   14704 # Command to use when deplibs_check_method = "file_magic".
   14705 file_magic_cmd=$lt_file_magic_cmd
   14706 
   14707 # How to find potential files when deplibs_check_method = "file_magic".
   14708 file_magic_glob=$lt_file_magic_glob
   14709 
   14710 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   14711 want_nocaseglob=$lt_want_nocaseglob
   14712 
   14713 # DLL creation program.
   14714 DLLTOOL=$lt_DLLTOOL
   14715 
   14716 # Command to associate shared and link libraries.
   14717 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   14718 
   14719 # The archiver.
   14720 AR=$lt_AR
   14721 
   14722 # Flags to create an archive.
   14723 AR_FLAGS=$lt_AR_FLAGS
   14724 
   14725 # How to feed a file listing to the archiver.
   14726 archiver_list_spec=$lt_archiver_list_spec
   14727 
   14728 # A symbol stripping program.
   14729 STRIP=$lt_STRIP
   14730 
   14731 # Commands used to install an old-style archive.
   14732 RANLIB=$lt_RANLIB
   14733 old_postinstall_cmds=$lt_old_postinstall_cmds
   14734 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14735 
   14736 # Whether to use a lock for old archive extraction.
   14737 lock_old_archive_extraction=$lock_old_archive_extraction
   14738 
   14739 # A C compiler.
   14740 LTCC=$lt_CC
   14741 
   14742 # LTCC compiler flags.
   14743 LTCFLAGS=$lt_CFLAGS
   14744 
   14745 # Take the output of nm and produce a listing of raw symbols and C names.
   14746 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14747 
   14748 # Transform the output of nm in a proper C declaration.
   14749 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14750 
   14751 # Transform the output of nm in a C name address pair.
   14752 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14753 
   14754 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14755 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14756 
   14757 # Specify filename containing input files for \$NM.
   14758 nm_file_list_spec=$lt_nm_file_list_spec
   14759 
   14760 # The root where to search for dependent libraries,and in which our libraries should be installed.
   14761 lt_sysroot=$lt_sysroot
   14762 
   14763 # The name of the directory that contains temporary libtool files.
   14764 objdir=$objdir
   14765 
   14766 # Used to examine libraries when file_magic_cmd begins with "file".
   14767 MAGIC_CMD=$MAGIC_CMD
   14768 
   14769 # Must we lock files when doing compilation?
   14770 need_locks=$lt_need_locks
   14771 
   14772 # Manifest tool.
   14773 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   14774 
   14775 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14776 DSYMUTIL=$lt_DSYMUTIL
   14777 
   14778 # Tool to change global to local symbols on Mac OS X.
   14779 NMEDIT=$lt_NMEDIT
   14780 
   14781 # Tool to manipulate fat objects and archives on Mac OS X.
   14782 LIPO=$lt_LIPO
   14783 
   14784 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14785 OTOOL=$lt_OTOOL
   14786 
   14787 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14788 OTOOL64=$lt_OTOOL64
   14789 
   14790 # Old archive suffix (normally "a").
   14791 libext=$libext
   14792 
   14793 # Shared library suffix (normally ".so").
   14794 shrext_cmds=$lt_shrext_cmds
   14795 
   14796 # The commands to extract the exported symbol list from a shared archive.
   14797 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14798 
   14799 # Variables whose values should be saved in libtool wrapper scripts and
   14800 # restored at link time.
   14801 variables_saved_for_relink=$lt_variables_saved_for_relink
   14802 
   14803 # Do we need the "lib" prefix for modules?
   14804 need_lib_prefix=$need_lib_prefix
   14805 
   14806 # Do we need a version for libraries?
   14807 need_version=$need_version
   14808 
   14809 # Library versioning type.
   14810 version_type=$version_type
   14811 
   14812 # Shared library runtime path variable.
   14813 runpath_var=$runpath_var
   14814 
   14815 # Shared library path variable.
   14816 shlibpath_var=$shlibpath_var
   14817 
   14818 # Is shlibpath searched before the hard-coded library search path?
   14819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14820 
   14821 # Format of library name prefix.
   14822 libname_spec=$lt_libname_spec
   14823 
   14824 # List of archive names.  First name is the real one, the rest are links.
   14825 # The last name is the one that the linker finds with -lNAME
   14826 library_names_spec=$lt_library_names_spec
   14827 
   14828 # The coded name of the library, if different from the real name.
   14829 soname_spec=$lt_soname_spec
   14830 
   14831 # Permission mode override for installation of shared libraries.
   14832 install_override_mode=$lt_install_override_mode
   14833 
   14834 # Command to use after installation of a shared archive.
   14835 postinstall_cmds=$lt_postinstall_cmds
   14836 
   14837 # Command to use after uninstallation of a shared archive.
   14838 postuninstall_cmds=$lt_postuninstall_cmds
   14839 
   14840 # Commands used to finish a libtool library installation in a directory.
   14841 finish_cmds=$lt_finish_cmds
   14842 
   14843 # As "finish_cmds", except a single script fragment to be evaled but
   14844 # not shown.
   14845 finish_eval=$lt_finish_eval
   14846 
   14847 # Whether we should hardcode library paths into libraries.
   14848 hardcode_into_libs=$hardcode_into_libs
   14849 
   14850 # Compile-time system search path for libraries.
   14851 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14852 
   14853 # Run-time system search path for libraries.
   14854 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14855 
   14856 # Whether dlopen is supported.
   14857 dlopen_support=$enable_dlopen
   14858 
   14859 # Whether dlopen of programs is supported.
   14860 dlopen_self=$enable_dlopen_self
   14861 
   14862 # Whether dlopen of statically linked programs is supported.
   14863 dlopen_self_static=$enable_dlopen_self_static
   14864 
   14865 # Commands to strip libraries.
   14866 old_striplib=$lt_old_striplib
   14867 striplib=$lt_striplib
   14868 
   14869 
   14870 # The linker used to build libraries.
   14871 LD=$lt_LD
   14872 
   14873 # How to create reloadable object files.
   14874 reload_flag=$lt_reload_flag
   14875 reload_cmds=$lt_reload_cmds
   14876 
   14877 # Commands used to build an old-style archive.
   14878 old_archive_cmds=$lt_old_archive_cmds
   14879 
   14880 # A language specific compiler.
   14881 CC=$lt_compiler
   14882 
   14883 # Is the compiler the GNU compiler?
   14884 with_gcc=$GCC
   14885 
   14886 # Compiler flag to turn off builtin functions.
   14887 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14888 
   14889 # Additional compiler flags for building library objects.
   14890 pic_flag=$lt_lt_prog_compiler_pic
   14891 
   14892 # How to pass a linker flag through the compiler.
   14893 wl=$lt_lt_prog_compiler_wl
   14894 
   14895 # Compiler flag to prevent dynamic linking.
   14896 link_static_flag=$lt_lt_prog_compiler_static
   14897 
   14898 # Does compiler simultaneously support -c and -o options?
   14899 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14900 
   14901 # Whether or not to add -lc for building shared libraries.
   14902 build_libtool_need_lc=$archive_cmds_need_lc
   14903 
   14904 # Whether or not to disallow shared libs when runtime libs are static.
   14905 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14906 
   14907 # Compiler flag to allow reflexive dlopens.
   14908 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14909 
   14910 # Compiler flag to generate shared objects directly from archives.
   14911 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14912 
   14913 # Whether the compiler copes with passing no objects directly.
   14914 compiler_needs_object=$lt_compiler_needs_object
   14915 
   14916 # Create an old-style archive from a shared archive.
   14917 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14918 
   14919 # Create a temporary old-style archive to link instead of a shared archive.
   14920 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14921 
   14922 # Commands used to build a shared archive.
   14923 archive_cmds=$lt_archive_cmds
   14924 archive_expsym_cmds=$lt_archive_expsym_cmds
   14925 
   14926 # Commands used to build a loadable module if different from building
   14927 # a shared archive.
   14928 module_cmds=$lt_module_cmds
   14929 module_expsym_cmds=$lt_module_expsym_cmds
   14930 
   14931 # Whether we are building with GNU ld or not.
   14932 with_gnu_ld=$lt_with_gnu_ld
   14933 
   14934 # Flag that allows shared libraries with undefined symbols to be built.
   14935 allow_undefined_flag=$lt_allow_undefined_flag
   14936 
   14937 # Flag that enforces no undefined symbols.
   14938 no_undefined_flag=$lt_no_undefined_flag
   14939 
   14940 # Flag to hardcode \$libdir into a binary during linking.
   14941 # This must work even if \$libdir does not exist
   14942 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14943 
   14944 # Whether we need a single "-rpath" flag with a separated argument.
   14945 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14946 
   14947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14948 # DIR into the resulting binary.
   14949 hardcode_direct=$hardcode_direct
   14950 
   14951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14952 # DIR into the resulting binary and the resulting library dependency is
   14953 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14954 # library is relocated.
   14955 hardcode_direct_absolute=$hardcode_direct_absolute
   14956 
   14957 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14958 # into the resulting binary.
   14959 hardcode_minus_L=$hardcode_minus_L
   14960 
   14961 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14962 # into the resulting binary.
   14963 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14964 
   14965 # Set to "yes" if building a shared library automatically hardcodes DIR
   14966 # into the library and all subsequent libraries and executables linked
   14967 # against it.
   14968 hardcode_automatic=$hardcode_automatic
   14969 
   14970 # Set to yes if linker adds runtime paths of dependent libraries
   14971 # to runtime path list.
   14972 inherit_rpath=$inherit_rpath
   14973 
   14974 # Whether libtool must link a program against all its dependency libraries.
   14975 link_all_deplibs=$link_all_deplibs
   14976 
   14977 # Set to "yes" if exported symbols are required.
   14978 always_export_symbols=$always_export_symbols
   14979 
   14980 # The commands to list exported symbols.
   14981 export_symbols_cmds=$lt_export_symbols_cmds
   14982 
   14983 # Symbols that should not be listed in the preloaded symbols.
   14984 exclude_expsyms=$lt_exclude_expsyms
   14985 
   14986 # Symbols that must always be exported.
   14987 include_expsyms=$lt_include_expsyms
   14988 
   14989 # Commands necessary for linking programs (against libraries) with templates.
   14990 prelink_cmds=$lt_prelink_cmds
   14991 
   14992 # Commands necessary for finishing linking programs.
   14993 postlink_cmds=$lt_postlink_cmds
   14994 
   14995 # Specify filename containing input files.
   14996 file_list_spec=$lt_file_list_spec
   14997 
   14998 # How to hardcode a shared library path into an executable.
   14999 hardcode_action=$hardcode_action
   15000 
   15001 # ### END LIBTOOL CONFIG
   15002 
   15003 _LT_EOF
   15004 
   15005   case $host_os in
   15006   aix3*)
   15007     cat <<\_LT_EOF >> "$cfgfile"
   15008 # AIX sometimes has problems with the GCC collect2 program.  For some
   15009 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15010 # vanish in a puff of smoke.
   15011 if test "X${COLLECT_NAMES+set}" != Xset; then
   15012   COLLECT_NAMES=
   15013   export COLLECT_NAMES
   15014 fi
   15015 _LT_EOF
   15016     ;;
   15017   esac
   15018 
   15019 
   15020 ltmain="$ac_aux_dir/ltmain.sh"
   15021 
   15022 
   15023   # We use sed instead of cat because bash on DJGPP gets confused if
   15024   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15025   # text mode, it properly converts lines to CR/LF.  This bash problem
   15026   # is reportedly fixed, but why not run on old versions too?
   15027   sed '$q' "$ltmain" >> "$cfgfile" \
   15028      || (rm -f "$cfgfile"; exit 1)
   15029 
   15030   if test x"$xsi_shell" = xyes; then
   15031   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   15032 func_dirname ()\
   15033 {\
   15034 \    case ${1} in\
   15035 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   15036 \      *  ) func_dirname_result="${3}" ;;\
   15037 \    esac\
   15038 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   15039   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15040     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15041 test 0 -eq $? || _lt_function_replace_fail=:
   15042 
   15043 
   15044   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   15045 func_basename ()\
   15046 {\
   15047 \    func_basename_result="${1##*/}"\
   15048 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   15049   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15050     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15051 test 0 -eq $? || _lt_function_replace_fail=:
   15052 
   15053 
   15054   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   15055 func_dirname_and_basename ()\
   15056 {\
   15057 \    case ${1} in\
   15058 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   15059 \      *  ) func_dirname_result="${3}" ;;\
   15060 \    esac\
   15061 \    func_basename_result="${1##*/}"\
   15062 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   15063   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15064     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15065 test 0 -eq $? || _lt_function_replace_fail=:
   15066 
   15067 
   15068   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   15069 func_stripname ()\
   15070 {\
   15071 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   15072 \    # positional parameters, so assign one to ordinary parameter first.\
   15073 \    func_stripname_result=${3}\
   15074 \    func_stripname_result=${func_stripname_result#"${1}"}\
   15075 \    func_stripname_result=${func_stripname_result%"${2}"}\
   15076 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   15077   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15078     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15079 test 0 -eq $? || _lt_function_replace_fail=:
   15080 
   15081 
   15082   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   15083 func_split_long_opt ()\
   15084 {\
   15085 \    func_split_long_opt_name=${1%%=*}\
   15086 \    func_split_long_opt_arg=${1#*=}\
   15087 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   15088   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15089     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15090 test 0 -eq $? || _lt_function_replace_fail=:
   15091 
   15092 
   15093   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   15094 func_split_short_opt ()\
   15095 {\
   15096 \    func_split_short_opt_arg=${1#??}\
   15097 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   15098 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   15099   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15100     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15101 test 0 -eq $? || _lt_function_replace_fail=:
   15102 
   15103 
   15104   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   15105 func_lo2o ()\
   15106 {\
   15107 \    case ${1} in\
   15108 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   15109 \      *)    func_lo2o_result=${1} ;;\
   15110 \    esac\
   15111 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   15112   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15113     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15114 test 0 -eq $? || _lt_function_replace_fail=:
   15115 
   15116 
   15117   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   15118 func_xform ()\
   15119 {\
   15120     func_xform_result=${1%.*}.lo\
   15121 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   15122   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15123     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15124 test 0 -eq $? || _lt_function_replace_fail=:
   15125 
   15126 
   15127   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   15128 func_arith ()\
   15129 {\
   15130     func_arith_result=$(( $* ))\
   15131 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   15132   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15133     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15134 test 0 -eq $? || _lt_function_replace_fail=:
   15135 
   15136 
   15137   sed -e '/^func_len ()$/,/^} # func_len /c\
   15138 func_len ()\
   15139 {\
   15140     func_len_result=${#1}\
   15141 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   15142   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15143     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15144 test 0 -eq $? || _lt_function_replace_fail=:
   15145 
   15146 fi
   15147 
   15148 if test x"$lt_shell_append" = xyes; then
   15149   sed -e '/^func_append ()$/,/^} # func_append /c\
   15150 func_append ()\
   15151 {\
   15152     eval "${1}+=\\${2}"\
   15153 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   15154   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15156 test 0 -eq $? || _lt_function_replace_fail=:
   15157 
   15158 
   15159   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   15160 func_append_quoted ()\
   15161 {\
   15162 \    func_quote_for_eval "${2}"\
   15163 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   15164 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   15165   && mv -f "$cfgfile.tmp" "$cfgfile" \
   15166     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15167 test 0 -eq $? || _lt_function_replace_fail=:
   15168 
   15169 
   15170   # Save a `func_append' function call where possible by direct use of '+='
   15171   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   15172     && mv -f "$cfgfile.tmp" "$cfgfile" \
   15173       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15174   test 0 -eq $? || _lt_function_replace_fail=:
   15175 else
   15176   # Save a `func_append' function call even when '+=' is not available
   15177   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   15178     && mv -f "$cfgfile.tmp" "$cfgfile" \
   15179       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   15180   test 0 -eq $? || _lt_function_replace_fail=:
   15181 fi
   15182 
   15183 if test x"$_lt_function_replace_fail" = x":"; then
   15184   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   15185 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   15186 fi
   15187 
   15188 
   15189    mv -f "$cfgfile" "$ofile" ||
   15190     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15191   chmod +x "$ofile"
   15192 
   15193  ;;
   15194 
   15195   esac
   15196 done # for ac_tag
   15197 
   15198 
   15199 as_fn_exit 0
   15200 _ACEOF
   15201 ac_clean_files=$ac_clean_files_save
   15202 
   15203 test $ac_write_fail = 0 ||
   15204   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15205 
   15206 
   15207 # configure is writing to config.log, and then calls config.status.
   15208 # config.status does its own redirection, appending to config.log.
   15209 # Unfortunately, on DOS this fails, as config.log is still kept open
   15210 # by configure, so config.status won't be able to write to it; its
   15211 # output is simply discarded.  So we exec the FD to /dev/null,
   15212 # effectively closing config.log, so it can be properly (re)opened and
   15213 # appended to by config.status.  When coming back to configure, we
   15214 # need to make the FD available again.
   15215 if test "$no_create" != yes; then
   15216   ac_cs_success=:
   15217   ac_config_status_args=
   15218   test "$silent" = yes &&
   15219     ac_config_status_args="$ac_config_status_args --quiet"
   15220   exec 5>/dev/null
   15221   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15222   exec 5>>config.log
   15223   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15224   # would make configure fail if this is the last instruction.
   15225   $ac_cs_success || as_fn_exit 1
   15226 fi
   15227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15228   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15230 fi
   15231 
   15232