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.69 for libvdpau 1.2.
      4 #
      5 # Report bugs to <vdpau (at] lists.freedesktop.org>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: vdpau (at] lists.freedesktop.org about your system,
    279 $0: including any error possibly output before this
    280 $0: message. Then install a modern shell, or manually run
    281 $0: the script under such a shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } # as_fn_set_status
    312 
    313 # as_fn_exit STATUS
    314 # -----------------
    315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } # as_fn_exit
    322 
    323 # as_fn_mkdir_p
    324 # -------------
    325 # Create "$as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } # as_fn_mkdir_p
    370 
    371 # as_fn_executable_p FILE
    372 # -----------------------
    373 # Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } # as_fn_executable_p
    378 # as_fn_append VAR VALUE
    379 # ----------------------
    380 # Append the text in VALUE to the end of the definition contained in VAR. Take
    381 # advantage of any shell optimizations that allow amortized linear growth over
    382 # repeated appends, instead of the typical quadratic growth present in naive
    383 # implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 # as_fn_arith ARG...
    397 # ------------------
    398 # Perform arithmetic evaluation on the ARGs, and store the result in the
    399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400 # must be portable across $(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 # ----------------------------------------
    416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 # script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } # as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in #(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='libvdpau'
    592 PACKAGE_TARNAME='libvdpau'
    593 PACKAGE_VERSION='1.2'
    594 PACKAGE_STRING='libvdpau 1.2'
    595 PACKAGE_BUGREPORT='vdpau (at] lists.freedesktop.org'
    596 PACKAGE_URL=''
    597 
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stdio.h>
    601 #ifdef HAVE_SYS_TYPES_H
    602 # include <sys/types.h>
    603 #endif
    604 #ifdef HAVE_SYS_STAT_H
    605 # include <sys/stat.h>
    606 #endif
    607 #ifdef STDC_HEADERS
    608 # include <stdlib.h>
    609 # include <stddef.h>
    610 #else
    611 # ifdef HAVE_STDLIB_H
    612 #  include <stdlib.h>
    613 # endif
    614 #endif
    615 #ifdef HAVE_STRING_H
    616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    617 #  include <memory.h>
    618 # endif
    619 # include <string.h>
    620 #endif
    621 #ifdef HAVE_STRINGS_H
    622 # include <strings.h>
    623 #endif
    624 #ifdef HAVE_INTTYPES_H
    625 # include <inttypes.h>
    626 #endif
    627 #ifdef HAVE_STDINT_H
    628 # include <stdint.h>
    629 #endif
    630 #ifdef HAVE_UNISTD_H
    631 # include <unistd.h>
    632 #endif"
    633 
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIBOBJS
    638 distcleancheck_listfiles
    639 CHANGELOG_CMD
    640 moduledir
    641 ENABLE_DOCS_FALSE
    642 ENABLE_DOCS_TRUE
    643 DOT
    644 DOXYGEN
    645 PTHREAD_LIBS
    646 DLOPEN_LIBS
    647 DRI2_FALSE
    648 DRI2_TRUE
    649 XEXT_LIBS
    650 XEXT_CFLAGS
    651 dri2proto_LIBS
    652 dri2proto_CFLAGS
    653 X11_LIBS
    654 X11_CFLAGS
    655 PKG_CONFIG_LIBDIR
    656 PKG_CONFIG_PATH
    657 PKG_CONFIG
    658 CXXCPP
    659 LT_SYS_LIBRARY_PATH
    660 OTOOL64
    661 OTOOL
    662 LIPO
    663 NMEDIT
    664 DSYMUTIL
    665 MANIFEST_TOOL
    666 RANLIB
    667 ac_ct_AR
    668 AR
    669 DLLTOOL
    670 OBJDUMP
    671 LN_S
    672 NM
    673 ac_ct_DUMPBIN
    674 DUMPBIN
    675 LD
    676 FGREP
    677 SED
    678 host_os
    679 host_vendor
    680 host_cpu
    681 host
    682 build_os
    683 build_vendor
    684 build_cpu
    685 build
    686 LIBTOOL
    687 am__fastdepCXX_FALSE
    688 am__fastdepCXX_TRUE
    689 CXXDEPMODE
    690 ac_ct_CXX
    691 CXXFLAGS
    692 CXX
    693 EGREP
    694 GREP
    695 CPP
    696 am__fastdepCC_FALSE
    697 am__fastdepCC_TRUE
    698 CCDEPMODE
    699 am__nodep
    700 AMDEPBACKSLASH
    701 AMDEP_FALSE
    702 AMDEP_TRUE
    703 am__include
    704 DEPDIR
    705 OBJEXT
    706 EXEEXT
    707 ac_ct_CC
    708 CPPFLAGS
    709 LDFLAGS
    710 CFLAGS
    711 CC
    712 AM_BACKSLASH
    713 AM_DEFAULT_VERBOSITY
    714 AM_DEFAULT_V
    715 AM_V
    716 am__untar
    717 am__tar
    718 AMTAR
    719 am__leading_dot
    720 SET_MAKE
    721 AWK
    722 mkdir_p
    723 MKDIR_P
    724 INSTALL_STRIP_PROGRAM
    725 STRIP
    726 install_sh
    727 MAKEINFO
    728 AUTOHEADER
    729 AUTOMAKE
    730 AUTOCONF
    731 ACLOCAL
    732 VERSION
    733 PACKAGE
    734 CYGPATH_W
    735 am__isrc
    736 INSTALL_DATA
    737 INSTALL_SCRIPT
    738 INSTALL_PROGRAM
    739 target_alias
    740 host_alias
    741 build_alias
    742 LIBS
    743 ECHO_T
    744 ECHO_N
    745 ECHO_C
    746 DEFS
    747 mandir
    748 localedir
    749 libdir
    750 psdir
    751 pdfdir
    752 dvidir
    753 htmldir
    754 infodir
    755 docdir
    756 oldincludedir
    757 includedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL
    777 am__quote'
    778 ac_subst_files=''
    779 ac_user_opts='
    780 enable_option_checking
    781 enable_silent_rules
    782 enable_dependency_tracking
    783 enable_static
    784 enable_shared
    785 with_pic
    786 enable_fast_install
    787 with_aix_soname
    788 with_gnu_ld
    789 with_sysroot
    790 enable_libtool_lock
    791 enable_dri2
    792 enable_documentation
    793 with_module_dir
    794 '
    795       ac_precious_vars='build_alias
    796 host_alias
    797 target_alias
    798 CC
    799 CFLAGS
    800 LDFLAGS
    801 LIBS
    802 CPPFLAGS
    803 CPP
    804 CXX
    805 CXXFLAGS
    806 CCC
    807 LT_SYS_LIBRARY_PATH
    808 CXXCPP
    809 PKG_CONFIG
    810 PKG_CONFIG_PATH
    811 PKG_CONFIG_LIBDIR
    812 X11_CFLAGS
    813 X11_LIBS
    814 dri2proto_CFLAGS
    815 dri2proto_LIBS
    816 XEXT_CFLAGS
    817 XEXT_LIBS'
    818 
    819 
    820 # Initialize some variables set by options.
    821 ac_init_help=
    822 ac_init_version=false
    823 ac_unrecognized_opts=
    824 ac_unrecognized_sep=
    825 # The variables have the same names as the options, with
    826 # dashes changed to underlines.
    827 cache_file=/dev/null
    828 exec_prefix=NONE
    829 no_create=
    830 no_recursion=
    831 prefix=NONE
    832 program_prefix=NONE
    833 program_suffix=NONE
    834 program_transform_name=s,x,x,
    835 silent=
    836 site=
    837 srcdir=
    838 verbose=
    839 x_includes=NONE
    840 x_libraries=NONE
    841 
    842 # Installation directory options.
    843 # These are left unexpanded so users can "make install exec_prefix=/foo"
    844 # and all the variables that are supposed to be based on exec_prefix
    845 # by default will actually change.
    846 # Use braces instead of parens because sh, perl, etc. also accept them.
    847 # (The list follows the same order as the GNU Coding Standards.)
    848 bindir='${exec_prefix}/bin'
    849 sbindir='${exec_prefix}/sbin'
    850 libexecdir='${exec_prefix}/libexec'
    851 datarootdir='${prefix}/share'
    852 datadir='${datarootdir}'
    853 sysconfdir='${prefix}/etc'
    854 sharedstatedir='${prefix}/com'
    855 localstatedir='${prefix}/var'
    856 includedir='${prefix}/include'
    857 oldincludedir='/usr/include'
    858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    859 infodir='${datarootdir}/info'
    860 htmldir='${docdir}'
    861 dvidir='${docdir}'
    862 pdfdir='${docdir}'
    863 psdir='${docdir}'
    864 libdir='${exec_prefix}/lib'
    865 localedir='${datarootdir}/locale'
    866 mandir='${datarootdir}/man'
    867 
    868 ac_prev=
    869 ac_dashdash=
    870 for ac_option
    871 do
    872   # If the previous option needs an argument, assign it.
    873   if test -n "$ac_prev"; then
    874     eval $ac_prev=\$ac_option
    875     ac_prev=
    876     continue
    877   fi
    878 
    879   case $ac_option in
    880   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    881   *=)   ac_optarg= ;;
    882   *)    ac_optarg=yes ;;
    883   esac
    884 
    885   # Accept the important Cygnus configure options, so we can diagnose typos.
    886 
    887   case $ac_dashdash$ac_option in
    888   --)
    889     ac_dashdash=yes ;;
    890 
    891   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    892     ac_prev=bindir ;;
    893   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    894     bindir=$ac_optarg ;;
    895 
    896   -build | --build | --buil | --bui | --bu)
    897     ac_prev=build_alias ;;
    898   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    899     build_alias=$ac_optarg ;;
    900 
    901   -cache-file | --cache-file | --cache-fil | --cache-fi \
    902   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    903     ac_prev=cache_file ;;
    904   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    905   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    906     cache_file=$ac_optarg ;;
    907 
    908   --config-cache | -C)
    909     cache_file=config.cache ;;
    910 
    911   -datadir | --datadir | --datadi | --datad)
    912     ac_prev=datadir ;;
    913   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    914     datadir=$ac_optarg ;;
    915 
    916   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    917   | --dataroo | --dataro | --datar)
    918     ac_prev=datarootdir ;;
    919   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    920   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    921     datarootdir=$ac_optarg ;;
    922 
    923   -disable-* | --disable-*)
    924     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    927       as_fn_error $? "invalid feature name: $ac_useropt"
    928     ac_useropt_orig=$ac_useropt
    929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    930     case $ac_user_opts in
    931       *"
    932 "enable_$ac_useropt"
    933 "*) ;;
    934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    935 	 ac_unrecognized_sep=', ';;
    936     esac
    937     eval enable_$ac_useropt=no ;;
    938 
    939   -docdir | --docdir | --docdi | --doc | --do)
    940     ac_prev=docdir ;;
    941   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    942     docdir=$ac_optarg ;;
    943 
    944   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    945     ac_prev=dvidir ;;
    946   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    947     dvidir=$ac_optarg ;;
    948 
    949   -enable-* | --enable-*)
    950     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    951     # Reject names that are not valid shell variable names.
    952     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    953       as_fn_error $? "invalid feature name: $ac_useropt"
    954     ac_useropt_orig=$ac_useropt
    955     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    956     case $ac_user_opts in
    957       *"
    958 "enable_$ac_useropt"
    959 "*) ;;
    960       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    961 	 ac_unrecognized_sep=', ';;
    962     esac
    963     eval enable_$ac_useropt=\$ac_optarg ;;
    964 
    965   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    966   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    967   | --exec | --exe | --ex)
    968     ac_prev=exec_prefix ;;
    969   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    970   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    971   | --exec=* | --exe=* | --ex=*)
    972     exec_prefix=$ac_optarg ;;
    973 
    974   -gas | --gas | --ga | --g)
    975     # Obsolete; use --with-gas.
    976     with_gas=yes ;;
    977 
    978   -help | --help | --hel | --he | -h)
    979     ac_init_help=long ;;
    980   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    981     ac_init_help=recursive ;;
    982   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    983     ac_init_help=short ;;
    984 
    985   -host | --host | --hos | --ho)
    986     ac_prev=host_alias ;;
    987   -host=* | --host=* | --hos=* | --ho=*)
    988     host_alias=$ac_optarg ;;
    989 
    990   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    991     ac_prev=htmldir ;;
    992   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    993   | --ht=*)
    994     htmldir=$ac_optarg ;;
    995 
    996   -includedir | --includedir | --includedi | --included | --include \
    997   | --includ | --inclu | --incl | --inc)
    998     ac_prev=includedir ;;
    999   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1000   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1001     includedir=$ac_optarg ;;
   1002 
   1003   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1004     ac_prev=infodir ;;
   1005   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1006     infodir=$ac_optarg ;;
   1007 
   1008   -libdir | --libdir | --libdi | --libd)
   1009     ac_prev=libdir ;;
   1010   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1011     libdir=$ac_optarg ;;
   1012 
   1013   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1014   | --libexe | --libex | --libe)
   1015     ac_prev=libexecdir ;;
   1016   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1017   | --libexe=* | --libex=* | --libe=*)
   1018     libexecdir=$ac_optarg ;;
   1019 
   1020   -localedir | --localedir | --localedi | --localed | --locale)
   1021     ac_prev=localedir ;;
   1022   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1023     localedir=$ac_optarg ;;
   1024 
   1025   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1026   | --localstate | --localstat | --localsta | --localst | --locals)
   1027     ac_prev=localstatedir ;;
   1028   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1029   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1030     localstatedir=$ac_optarg ;;
   1031 
   1032   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1033     ac_prev=mandir ;;
   1034   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1035     mandir=$ac_optarg ;;
   1036 
   1037   -nfp | --nfp | --nf)
   1038     # Obsolete; use --without-fp.
   1039     with_fp=no ;;
   1040 
   1041   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1042   | --no-cr | --no-c | -n)
   1043     no_create=yes ;;
   1044 
   1045   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1046   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1047     no_recursion=yes ;;
   1048 
   1049   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1050   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1051   | --oldin | --oldi | --old | --ol | --o)
   1052     ac_prev=oldincludedir ;;
   1053   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1054   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1055   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1056     oldincludedir=$ac_optarg ;;
   1057 
   1058   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1059     ac_prev=prefix ;;
   1060   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1061     prefix=$ac_optarg ;;
   1062 
   1063   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1064   | --program-pre | --program-pr | --program-p)
   1065     ac_prev=program_prefix ;;
   1066   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1067   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1068     program_prefix=$ac_optarg ;;
   1069 
   1070   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1071   | --program-suf | --program-su | --program-s)
   1072     ac_prev=program_suffix ;;
   1073   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1074   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1075     program_suffix=$ac_optarg ;;
   1076 
   1077   -program-transform-name | --program-transform-name \
   1078   | --program-transform-nam | --program-transform-na \
   1079   | --program-transform-n | --program-transform- \
   1080   | --program-transform | --program-transfor \
   1081   | --program-transfo | --program-transf \
   1082   | --program-trans | --program-tran \
   1083   | --progr-tra | --program-tr | --program-t)
   1084     ac_prev=program_transform_name ;;
   1085   -program-transform-name=* | --program-transform-name=* \
   1086   | --program-transform-nam=* | --program-transform-na=* \
   1087   | --program-transform-n=* | --program-transform-=* \
   1088   | --program-transform=* | --program-transfor=* \
   1089   | --program-transfo=* | --program-transf=* \
   1090   | --program-trans=* | --program-tran=* \
   1091   | --progr-tra=* | --program-tr=* | --program-t=*)
   1092     program_transform_name=$ac_optarg ;;
   1093 
   1094   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1095     ac_prev=pdfdir ;;
   1096   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1097     pdfdir=$ac_optarg ;;
   1098 
   1099   -psdir | --psdir | --psdi | --psd | --ps)
   1100     ac_prev=psdir ;;
   1101   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1102     psdir=$ac_optarg ;;
   1103 
   1104   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1105   | -silent | --silent | --silen | --sile | --sil)
   1106     silent=yes ;;
   1107 
   1108   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1109     ac_prev=sbindir ;;
   1110   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1111   | --sbi=* | --sb=*)
   1112     sbindir=$ac_optarg ;;
   1113 
   1114   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1115   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1116   | --sharedst | --shareds | --shared | --share | --shar \
   1117   | --sha | --sh)
   1118     ac_prev=sharedstatedir ;;
   1119   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1120   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1121   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1122   | --sha=* | --sh=*)
   1123     sharedstatedir=$ac_optarg ;;
   1124 
   1125   -site | --site | --sit)
   1126     ac_prev=site ;;
   1127   -site=* | --site=* | --sit=*)
   1128     site=$ac_optarg ;;
   1129 
   1130   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1131     ac_prev=srcdir ;;
   1132   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1133     srcdir=$ac_optarg ;;
   1134 
   1135   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1136   | --syscon | --sysco | --sysc | --sys | --sy)
   1137     ac_prev=sysconfdir ;;
   1138   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1139   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1140     sysconfdir=$ac_optarg ;;
   1141 
   1142   -target | --target | --targe | --targ | --tar | --ta | --t)
   1143     ac_prev=target_alias ;;
   1144   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1145     target_alias=$ac_optarg ;;
   1146 
   1147   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1148     verbose=yes ;;
   1149 
   1150   -version | --version | --versio | --versi | --vers | -V)
   1151     ac_init_version=: ;;
   1152 
   1153   -with-* | --with-*)
   1154     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1155     # Reject names that are not valid shell variable names.
   1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1157       as_fn_error $? "invalid package name: $ac_useropt"
   1158     ac_useropt_orig=$ac_useropt
   1159     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1160     case $ac_user_opts in
   1161       *"
   1162 "with_$ac_useropt"
   1163 "*) ;;
   1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1165 	 ac_unrecognized_sep=', ';;
   1166     esac
   1167     eval with_$ac_useropt=\$ac_optarg ;;
   1168 
   1169   -without-* | --without-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=no ;;
   1184 
   1185   --x)
   1186     # Obsolete; use --with-x.
   1187     with_x=yes ;;
   1188 
   1189   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1190   | --x-incl | --x-inc | --x-in | --x-i)
   1191     ac_prev=x_includes ;;
   1192   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1193   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1194     x_includes=$ac_optarg ;;
   1195 
   1196   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1197   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1198     ac_prev=x_libraries ;;
   1199   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1200   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1201     x_libraries=$ac_optarg ;;
   1202 
   1203   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1204 Try \`$0 --help' for more information"
   1205     ;;
   1206 
   1207   *=*)
   1208     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1209     # Reject names that are not valid shell variable names.
   1210     case $ac_envvar in #(
   1211       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1212       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1213     esac
   1214     eval $ac_envvar=\$ac_optarg
   1215     export $ac_envvar ;;
   1216 
   1217   *)
   1218     # FIXME: should be removed in autoconf 3.0.
   1219     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1220     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1221       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1222     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1223     ;;
   1224 
   1225   esac
   1226 done
   1227 
   1228 if test -n "$ac_prev"; then
   1229   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1230   as_fn_error $? "missing argument to $ac_option"
   1231 fi
   1232 
   1233 if test -n "$ac_unrecognized_opts"; then
   1234   case $enable_option_checking in
   1235     no) ;;
   1236     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1237     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1238   esac
   1239 fi
   1240 
   1241 # Check all directory arguments for consistency.
   1242 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1243 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1244 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1245 		libdir localedir mandir
   1246 do
   1247   eval ac_val=\$$ac_var
   1248   # Remove trailing slashes.
   1249   case $ac_val in
   1250     */ )
   1251       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1252       eval $ac_var=\$ac_val;;
   1253   esac
   1254   # Be sure to have absolute directory names.
   1255   case $ac_val in
   1256     [\\/$]* | ?:[\\/]* )  continue;;
   1257     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1258   esac
   1259   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1260 done
   1261 
   1262 # There might be people who depend on the old broken behavior: `$host'
   1263 # used to hold the argument of --host etc.
   1264 # FIXME: To remove some day.
   1265 build=$build_alias
   1266 host=$host_alias
   1267 target=$target_alias
   1268 
   1269 # FIXME: To remove some day.
   1270 if test "x$host_alias" != x; then
   1271   if test "x$build_alias" = x; then
   1272     cross_compiling=maybe
   1273   elif test "x$build_alias" != "x$host_alias"; then
   1274     cross_compiling=yes
   1275   fi
   1276 fi
   1277 
   1278 ac_tool_prefix=
   1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1280 
   1281 test "$silent" = yes && exec 6>/dev/null
   1282 
   1283 
   1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1285 ac_ls_di=`ls -di .` &&
   1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1287   as_fn_error $? "working directory cannot be determined"
   1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1289   as_fn_error $? "pwd does not report name of working directory"
   1290 
   1291 
   1292 # Find the source files, if location was not specified.
   1293 if test -z "$srcdir"; then
   1294   ac_srcdir_defaulted=yes
   1295   # Try the directory containing this script, then the parent directory.
   1296   ac_confdir=`$as_dirname -- "$as_myself" ||
   1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1298 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1299 	 X"$as_myself" : 'X\(//\)$' \| \
   1300 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1301 $as_echo X"$as_myself" |
   1302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\/\)[^/].*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  /^X\(\/\/\)$/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  /^X\(\/\).*/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  s/.*/./; q'`
   1319   srcdir=$ac_confdir
   1320   if test ! -r "$srcdir/$ac_unique_file"; then
   1321     srcdir=..
   1322   fi
   1323 else
   1324   ac_srcdir_defaulted=no
   1325 fi
   1326 if test ! -r "$srcdir/$ac_unique_file"; then
   1327   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1328   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1329 fi
   1330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1331 ac_abs_confdir=`(
   1332 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1333 	pwd)`
   1334 # When building in place, set srcdir=.
   1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1336   srcdir=.
   1337 fi
   1338 # Remove unnecessary trailing slashes from srcdir.
   1339 # Double slashes in file names in object file debugging info
   1340 # mess up M-x gdb in Emacs.
   1341 case $srcdir in
   1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1343 esac
   1344 for ac_var in $ac_precious_vars; do
   1345   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_env_${ac_var}_value=\$${ac_var}
   1347   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1349 done
   1350 
   1351 #
   1352 # Report the --help message.
   1353 #
   1354 if test "$ac_init_help" = "long"; then
   1355   # Omit some internal or obsolete options to make the list less imposing.
   1356   # This message is too long to be a string in the A/UX 3.1 sh.
   1357   cat <<_ACEOF
   1358 \`configure' configures libvdpau 1.2 to adapt to many kinds of systems.
   1359 
   1360 Usage: $0 [OPTION]... [VAR=VALUE]...
   1361 
   1362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1363 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1364 
   1365 Defaults for the options are specified in brackets.
   1366 
   1367 Configuration:
   1368   -h, --help              display this help and exit
   1369       --help=short        display options specific to this package
   1370       --help=recursive    display the short help of all the included packages
   1371   -V, --version           display version information and exit
   1372   -q, --quiet, --silent   do not print \`checking ...' messages
   1373       --cache-file=FILE   cache test results in FILE [disabled]
   1374   -C, --config-cache      alias for \`--cache-file=config.cache'
   1375   -n, --no-create         do not create output files
   1376       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1377 
   1378 Installation directories:
   1379   --prefix=PREFIX         install architecture-independent files in PREFIX
   1380                           [$ac_default_prefix]
   1381   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1382                           [PREFIX]
   1383 
   1384 By default, \`make install' will install all the files in
   1385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1387 for instance \`--prefix=\$HOME'.
   1388 
   1389 For better control, use the options below.
   1390 
   1391 Fine tuning of the installation directories:
   1392   --bindir=DIR            user executables [EPREFIX/bin]
   1393   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1394   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1395   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1396   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1397   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1398   --libdir=DIR            object code libraries [EPREFIX/lib]
   1399   --includedir=DIR        C header files [PREFIX/include]
   1400   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1401   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1402   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1403   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1404   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1405   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1406   --docdir=DIR            documentation root [DATAROOTDIR/doc/libvdpau]
   1407   --htmldir=DIR           html documentation [DOCDIR]
   1408   --dvidir=DIR            dvi documentation [DOCDIR]
   1409   --pdfdir=DIR            pdf documentation [DOCDIR]
   1410   --psdir=DIR             ps documentation [DOCDIR]
   1411 _ACEOF
   1412 
   1413   cat <<\_ACEOF
   1414 
   1415 Program names:
   1416   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1417   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1418   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1419 
   1420 System types:
   1421   --build=BUILD     configure for building on BUILD [guessed]
   1422   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1423 _ACEOF
   1424 fi
   1425 
   1426 if test -n "$ac_init_help"; then
   1427   case $ac_init_help in
   1428      short | recursive ) echo "Configuration of libvdpau 1.2:";;
   1429    esac
   1430   cat <<\_ACEOF
   1431 
   1432 Optional Features:
   1433   --disable-option-checking  ignore unrecognized --enable/--with options
   1434   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1435   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1436   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1437   --disable-silent-rules  verbose build output (undo: "make V=0")
   1438   --enable-dependency-tracking
   1439                           do not reject slow dependency extractors
   1440   --disable-dependency-tracking
   1441                           speeds up one-time build
   1442   --enable-static[=PKGS]  build static libraries [default=no]
   1443   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1444   --enable-fast-install[=PKGS]
   1445                           optimize for fast installation [default=yes]
   1446   --disable-libtool-lock  avoid locking (might break parallel builds)
   1447   --disable-dri2          Disable driver name query through DRI2 (default:
   1448                           auto)
   1449   --disable-documentation Disable Doxygen documentation (default: auto)
   1450 
   1451 Optional Packages:
   1452   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1453   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1454   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1455                           both]
   1456   --with-aix-soname=aix|svr4|both
   1457                           shared library versioning (aka "SONAME") variant to
   1458                           provide on AIX, [default=aix].
   1459   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1460   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1461                           compiler's sysroot if not specified).
   1462   --with-module-dir=DIR   Default module directory [[default=LIBDIR/vdpau]]
   1463 
   1464 Some influential environment variables:
   1465   CC          C compiler command
   1466   CFLAGS      C compiler flags
   1467   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1468               nonstandard directory <lib dir>
   1469   LIBS        libraries to pass to the linker, e.g. -l<library>
   1470   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1471               you have headers in a nonstandard directory <include dir>
   1472   CPP         C preprocessor
   1473   CXX         C++ compiler command
   1474   CXXFLAGS    C++ compiler flags
   1475   LT_SYS_LIBRARY_PATH
   1476               User-defined run-time library search path.
   1477   CXXCPP      C++ preprocessor
   1478   PKG_CONFIG  path to pkg-config utility
   1479   PKG_CONFIG_PATH
   1480               directories to add to pkg-config's search path
   1481   PKG_CONFIG_LIBDIR
   1482               path overriding pkg-config's built-in search path
   1483   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1484   X11_LIBS    linker flags for X11, overriding pkg-config
   1485   dri2proto_CFLAGS
   1486               C compiler flags for dri2proto, overriding pkg-config
   1487   dri2proto_LIBS
   1488               linker flags for dri2proto, overriding pkg-config
   1489   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1490   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1491 
   1492 Use these variables to override the choices made by `configure' or to help
   1493 it to find libraries and programs with nonstandard names/locations.
   1494 
   1495 Report bugs to <vdpau (at] lists.freedesktop.org>.
   1496 _ACEOF
   1497 ac_status=$?
   1498 fi
   1499 
   1500 if test "$ac_init_help" = "recursive"; then
   1501   # If there are subdirs, report their specific --help.
   1502   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1503     test -d "$ac_dir" ||
   1504       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1505       continue
   1506     ac_builddir=.
   1507 
   1508 case "$ac_dir" in
   1509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1510 *)
   1511   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1512   # A ".." for each directory in $ac_dir_suffix.
   1513   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1514   case $ac_top_builddir_sub in
   1515   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1516   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1517   esac ;;
   1518 esac
   1519 ac_abs_top_builddir=$ac_pwd
   1520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1521 # for backward compatibility:
   1522 ac_top_builddir=$ac_top_build_prefix
   1523 
   1524 case $srcdir in
   1525   .)  # We are building in place.
   1526     ac_srcdir=.
   1527     ac_top_srcdir=$ac_top_builddir_sub
   1528     ac_abs_top_srcdir=$ac_pwd ;;
   1529   [\\/]* | ?:[\\/]* )  # Absolute name.
   1530     ac_srcdir=$srcdir$ac_dir_suffix;
   1531     ac_top_srcdir=$srcdir
   1532     ac_abs_top_srcdir=$srcdir ;;
   1533   *) # Relative name.
   1534     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1535     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1536     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1537 esac
   1538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1539 
   1540     cd "$ac_dir" || { ac_status=$?; continue; }
   1541     # Check for guested configure.
   1542     if test -f "$ac_srcdir/configure.gnu"; then
   1543       echo &&
   1544       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1545     elif test -f "$ac_srcdir/configure"; then
   1546       echo &&
   1547       $SHELL "$ac_srcdir/configure" --help=recursive
   1548     else
   1549       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1550     fi || ac_status=$?
   1551     cd "$ac_pwd" || { ac_status=$?; break; }
   1552   done
   1553 fi
   1554 
   1555 test -n "$ac_init_help" && exit $ac_status
   1556 if $ac_init_version; then
   1557   cat <<\_ACEOF
   1558 libvdpau configure 1.2
   1559 generated by GNU Autoconf 2.69
   1560 
   1561 Copyright (C) 2012 Free Software Foundation, Inc.
   1562 This configure script is free software; the Free Software Foundation
   1563 gives unlimited permission to copy, distribute and modify it.
   1564 _ACEOF
   1565   exit
   1566 fi
   1567 
   1568 ## ------------------------ ##
   1569 ## Autoconf initialization. ##
   1570 ## ------------------------ ##
   1571 
   1572 # ac_fn_c_try_compile LINENO
   1573 # --------------------------
   1574 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1575 ac_fn_c_try_compile ()
   1576 {
   1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1578   rm -f conftest.$ac_objext
   1579   if { { ac_try="$ac_compile"
   1580 case "(($ac_try" in
   1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1582   *) ac_try_echo=$ac_try;;
   1583 esac
   1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1585 $as_echo "$ac_try_echo"; } >&5
   1586   (eval "$ac_compile") 2>conftest.err
   1587   ac_status=$?
   1588   if test -s conftest.err; then
   1589     grep -v '^ *+' conftest.err >conftest.er1
   1590     cat conftest.er1 >&5
   1591     mv -f conftest.er1 conftest.err
   1592   fi
   1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1594   test $ac_status = 0; } && {
   1595 	 test -z "$ac_c_werror_flag" ||
   1596 	 test ! -s conftest.err
   1597        } && test -s conftest.$ac_objext; then :
   1598   ac_retval=0
   1599 else
   1600   $as_echo "$as_me: failed program was:" >&5
   1601 sed 's/^/| /' conftest.$ac_ext >&5
   1602 
   1603 	ac_retval=1
   1604 fi
   1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1606   as_fn_set_status $ac_retval
   1607 
   1608 } # ac_fn_c_try_compile
   1609 
   1610 # ac_fn_c_try_cpp LINENO
   1611 # ----------------------
   1612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1613 ac_fn_c_try_cpp ()
   1614 {
   1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1616   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1617 case "(($ac_try" in
   1618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1619   *) ac_try_echo=$ac_try;;
   1620 esac
   1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1622 $as_echo "$ac_try_echo"; } >&5
   1623   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1624   ac_status=$?
   1625   if test -s conftest.err; then
   1626     grep -v '^ *+' conftest.err >conftest.er1
   1627     cat conftest.er1 >&5
   1628     mv -f conftest.er1 conftest.err
   1629   fi
   1630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1631   test $ac_status = 0; } > conftest.i && {
   1632 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1633 	 test ! -s conftest.err
   1634        }; then :
   1635   ac_retval=0
   1636 else
   1637   $as_echo "$as_me: failed program was:" >&5
   1638 sed 's/^/| /' conftest.$ac_ext >&5
   1639 
   1640     ac_retval=1
   1641 fi
   1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1643   as_fn_set_status $ac_retval
   1644 
   1645 } # ac_fn_c_try_cpp
   1646 
   1647 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1648 # -------------------------------------------------------
   1649 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1650 # the include files in INCLUDES and setting the cache variable VAR
   1651 # accordingly.
   1652 ac_fn_c_check_header_mongrel ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   if eval \${$3+:} false; then :
   1656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1657 $as_echo_n "checking for $2... " >&6; }
   1658 if eval \${$3+:} false; then :
   1659   $as_echo_n "(cached) " >&6
   1660 fi
   1661 eval ac_res=\$$3
   1662 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1663 $as_echo "$ac_res" >&6; }
   1664 else
   1665   # Is the header compilable?
   1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1667 $as_echo_n "checking $2 usability... " >&6; }
   1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1669 /* end confdefs.h.  */
   1670 $4
   1671 #include <$2>
   1672 _ACEOF
   1673 if ac_fn_c_try_compile "$LINENO"; then :
   1674   ac_header_compiler=yes
   1675 else
   1676   ac_header_compiler=no
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1680 $as_echo "$ac_header_compiler" >&6; }
   1681 
   1682 # Is the header present?
   1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1684 $as_echo_n "checking $2 presence... " >&6; }
   1685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1686 /* end confdefs.h.  */
   1687 #include <$2>
   1688 _ACEOF
   1689 if ac_fn_c_try_cpp "$LINENO"; then :
   1690   ac_header_preproc=yes
   1691 else
   1692   ac_header_preproc=no
   1693 fi
   1694 rm -f conftest.err conftest.i conftest.$ac_ext
   1695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1696 $as_echo "$ac_header_preproc" >&6; }
   1697 
   1698 # So?  What about this header?
   1699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1700   yes:no: )
   1701     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1702 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1704 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1705     ;;
   1706   no:yes:* )
   1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1708 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1709     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1710 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1711     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1712 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1713     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1714 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1716 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1717 ( $as_echo "## ------------------------------------------ ##
   1718 ## Report this to vdpau (at] lists.freedesktop.org ##
   1719 ## ------------------------------------------ ##"
   1720      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1721     ;;
   1722 esac
   1723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 $as_echo_n "checking for $2... " >&6; }
   1725 if eval \${$3+:} false; then :
   1726   $as_echo_n "(cached) " >&6
   1727 else
   1728   eval "$3=\$ac_header_compiler"
   1729 fi
   1730 eval ac_res=\$$3
   1731 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1732 $as_echo "$ac_res" >&6; }
   1733 fi
   1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1735 
   1736 } # ac_fn_c_check_header_mongrel
   1737 
   1738 # ac_fn_c_try_run LINENO
   1739 # ----------------------
   1740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1741 # that executables *can* be run.
   1742 ac_fn_c_try_run ()
   1743 {
   1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1745   if { { ac_try="$ac_link"
   1746 case "(($ac_try" in
   1747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1748   *) ac_try_echo=$ac_try;;
   1749 esac
   1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1751 $as_echo "$ac_try_echo"; } >&5
   1752   (eval "$ac_link") 2>&5
   1753   ac_status=$?
   1754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1755   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1756   { { case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 $as_echo "$ac_try_echo"; } >&5
   1762   (eval "$ac_try") 2>&5
   1763   ac_status=$?
   1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1765   test $ac_status = 0; }; }; then :
   1766   ac_retval=0
   1767 else
   1768   $as_echo "$as_me: program exited with status $ac_status" >&5
   1769        $as_echo "$as_me: failed program was:" >&5
   1770 sed 's/^/| /' conftest.$ac_ext >&5
   1771 
   1772        ac_retval=$ac_status
   1773 fi
   1774   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_run
   1779 
   1780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1781 # -------------------------------------------------------
   1782 # Tests whether HEADER exists and can be compiled using the include files in
   1783 # INCLUDES, setting the cache variable VAR accordingly.
   1784 ac_fn_c_check_header_compile ()
   1785 {
   1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1788 $as_echo_n "checking for $2... " >&6; }
   1789 if eval \${$3+:} false; then :
   1790   $as_echo_n "(cached) " >&6
   1791 else
   1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1793 /* end confdefs.h.  */
   1794 $4
   1795 #include <$2>
   1796 _ACEOF
   1797 if ac_fn_c_try_compile "$LINENO"; then :
   1798   eval "$3=yes"
   1799 else
   1800   eval "$3=no"
   1801 fi
   1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1803 fi
   1804 eval ac_res=\$$3
   1805 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1806 $as_echo "$ac_res" >&6; }
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808 
   1809 } # ac_fn_c_check_header_compile
   1810 
   1811 # ac_fn_c_try_link LINENO
   1812 # -----------------------
   1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1814 ac_fn_c_try_link ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   rm -f conftest.$ac_objext conftest$ac_exeext
   1818   if { { ac_try="$ac_link"
   1819 case "(($ac_try" in
   1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1821   *) ac_try_echo=$ac_try;;
   1822 esac
   1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1824 $as_echo "$ac_try_echo"; } >&5
   1825   (eval "$ac_link") 2>conftest.err
   1826   ac_status=$?
   1827   if test -s conftest.err; then
   1828     grep -v '^ *+' conftest.err >conftest.er1
   1829     cat conftest.er1 >&5
   1830     mv -f conftest.er1 conftest.err
   1831   fi
   1832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1833   test $ac_status = 0; } && {
   1834 	 test -z "$ac_c_werror_flag" ||
   1835 	 test ! -s conftest.err
   1836        } && test -s conftest$ac_exeext && {
   1837 	 test "$cross_compiling" = yes ||
   1838 	 test -x conftest$ac_exeext
   1839        }; then :
   1840   ac_retval=0
   1841 else
   1842   $as_echo "$as_me: failed program was:" >&5
   1843 sed 's/^/| /' conftest.$ac_ext >&5
   1844 
   1845 	ac_retval=1
   1846 fi
   1847   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1848   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1849   # interfere with the next link command; also delete a directory that is
   1850   # left behind by Apple's compiler.  We do this before executing the actions.
   1851   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1853   as_fn_set_status $ac_retval
   1854 
   1855 } # ac_fn_c_try_link
   1856 
   1857 # ac_fn_c_check_func LINENO FUNC VAR
   1858 # ----------------------------------
   1859 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1860 ac_fn_c_check_func ()
   1861 {
   1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1864 $as_echo_n "checking for $2... " >&6; }
   1865 if eval \${$3+:} false; then :
   1866   $as_echo_n "(cached) " >&6
   1867 else
   1868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1869 /* end confdefs.h.  */
   1870 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1872 #define $2 innocuous_$2
   1873 
   1874 /* System header to define __stub macros and hopefully few prototypes,
   1875     which can conflict with char $2 (); below.
   1876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1877     <limits.h> exists even on freestanding compilers.  */
   1878 
   1879 #ifdef __STDC__
   1880 # include <limits.h>
   1881 #else
   1882 # include <assert.h>
   1883 #endif
   1884 
   1885 #undef $2
   1886 
   1887 /* Override any GCC internal prototype to avoid an error.
   1888    Use char because int might match the return type of a GCC
   1889    builtin and then its argument prototype would still apply.  */
   1890 #ifdef __cplusplus
   1891 extern "C"
   1892 #endif
   1893 char $2 ();
   1894 /* The GNU C library defines this for functions which it implements
   1895     to always fail with ENOSYS.  Some functions are actually named
   1896     something starting with __ and the normal name is an alias.  */
   1897 #if defined __stub_$2 || defined __stub___$2
   1898 choke me
   1899 #endif
   1900 
   1901 int
   1902 main ()
   1903 {
   1904 return $2 ();
   1905   ;
   1906   return 0;
   1907 }
   1908 _ACEOF
   1909 if ac_fn_c_try_link "$LINENO"; then :
   1910   eval "$3=yes"
   1911 else
   1912   eval "$3=no"
   1913 fi
   1914 rm -f core conftest.err conftest.$ac_objext \
   1915     conftest$ac_exeext conftest.$ac_ext
   1916 fi
   1917 eval ac_res=\$$3
   1918 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1919 $as_echo "$ac_res" >&6; }
   1920   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1921 
   1922 } # ac_fn_c_check_func
   1923 
   1924 # ac_fn_cxx_try_compile LINENO
   1925 # ----------------------------
   1926 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1927 ac_fn_cxx_try_compile ()
   1928 {
   1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1930   rm -f conftest.$ac_objext
   1931   if { { ac_try="$ac_compile"
   1932 case "(($ac_try" in
   1933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1934   *) ac_try_echo=$ac_try;;
   1935 esac
   1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1937 $as_echo "$ac_try_echo"; } >&5
   1938   (eval "$ac_compile") 2>conftest.err
   1939   ac_status=$?
   1940   if test -s conftest.err; then
   1941     grep -v '^ *+' conftest.err >conftest.er1
   1942     cat conftest.er1 >&5
   1943     mv -f conftest.er1 conftest.err
   1944   fi
   1945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1946   test $ac_status = 0; } && {
   1947 	 test -z "$ac_cxx_werror_flag" ||
   1948 	 test ! -s conftest.err
   1949        } && test -s conftest.$ac_objext; then :
   1950   ac_retval=0
   1951 else
   1952   $as_echo "$as_me: failed program was:" >&5
   1953 sed 's/^/| /' conftest.$ac_ext >&5
   1954 
   1955 	ac_retval=1
   1956 fi
   1957   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1958   as_fn_set_status $ac_retval
   1959 
   1960 } # ac_fn_cxx_try_compile
   1961 
   1962 # ac_fn_cxx_try_cpp LINENO
   1963 # ------------------------
   1964 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1965 ac_fn_cxx_try_cpp ()
   1966 {
   1967   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1968   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1969 case "(($ac_try" in
   1970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1971   *) ac_try_echo=$ac_try;;
   1972 esac
   1973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1974 $as_echo "$ac_try_echo"; } >&5
   1975   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1976   ac_status=$?
   1977   if test -s conftest.err; then
   1978     grep -v '^ *+' conftest.err >conftest.er1
   1979     cat conftest.er1 >&5
   1980     mv -f conftest.er1 conftest.err
   1981   fi
   1982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1983   test $ac_status = 0; } > conftest.i && {
   1984 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1985 	 test ! -s conftest.err
   1986        }; then :
   1987   ac_retval=0
   1988 else
   1989   $as_echo "$as_me: failed program was:" >&5
   1990 sed 's/^/| /' conftest.$ac_ext >&5
   1991 
   1992     ac_retval=1
   1993 fi
   1994   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1995   as_fn_set_status $ac_retval
   1996 
   1997 } # ac_fn_cxx_try_cpp
   1998 
   1999 # ac_fn_cxx_try_link LINENO
   2000 # -------------------------
   2001 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2002 ac_fn_cxx_try_link ()
   2003 {
   2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2005   rm -f conftest.$ac_objext conftest$ac_exeext
   2006   if { { ac_try="$ac_link"
   2007 case "(($ac_try" in
   2008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2009   *) ac_try_echo=$ac_try;;
   2010 esac
   2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2012 $as_echo "$ac_try_echo"; } >&5
   2013   (eval "$ac_link") 2>conftest.err
   2014   ac_status=$?
   2015   if test -s conftest.err; then
   2016     grep -v '^ *+' conftest.err >conftest.er1
   2017     cat conftest.er1 >&5
   2018     mv -f conftest.er1 conftest.err
   2019   fi
   2020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2021   test $ac_status = 0; } && {
   2022 	 test -z "$ac_cxx_werror_flag" ||
   2023 	 test ! -s conftest.err
   2024        } && test -s conftest$ac_exeext && {
   2025 	 test "$cross_compiling" = yes ||
   2026 	 test -x conftest$ac_exeext
   2027        }; then :
   2028   ac_retval=0
   2029 else
   2030   $as_echo "$as_me: failed program was:" >&5
   2031 sed 's/^/| /' conftest.$ac_ext >&5
   2032 
   2033 	ac_retval=1
   2034 fi
   2035   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2036   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2037   # interfere with the next link command; also delete a directory that is
   2038   # left behind by Apple's compiler.  We do this before executing the actions.
   2039   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2040   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2041   as_fn_set_status $ac_retval
   2042 
   2043 } # ac_fn_cxx_try_link
   2044 cat >config.log <<_ACEOF
   2045 This file contains any messages produced by compilers while
   2046 running configure, to aid debugging if configure makes a mistake.
   2047 
   2048 It was created by libvdpau $as_me 1.2, which was
   2049 generated by GNU Autoconf 2.69.  Invocation command line was
   2050 
   2051   $ $0 $@
   2052 
   2053 _ACEOF
   2054 exec 5>>config.log
   2055 {
   2056 cat <<_ASUNAME
   2057 ## --------- ##
   2058 ## Platform. ##
   2059 ## --------- ##
   2060 
   2061 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2062 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2063 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2064 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2065 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2066 
   2067 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2068 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2069 
   2070 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2071 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2072 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2073 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2074 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2075 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2076 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2077 
   2078 _ASUNAME
   2079 
   2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2081 for as_dir in $PATH
   2082 do
   2083   IFS=$as_save_IFS
   2084   test -z "$as_dir" && as_dir=.
   2085     $as_echo "PATH: $as_dir"
   2086   done
   2087 IFS=$as_save_IFS
   2088 
   2089 } >&5
   2090 
   2091 cat >&5 <<_ACEOF
   2092 
   2093 
   2094 ## ----------- ##
   2095 ## Core tests. ##
   2096 ## ----------- ##
   2097 
   2098 _ACEOF
   2099 
   2100 
   2101 # Keep a trace of the command line.
   2102 # Strip out --no-create and --no-recursion so they do not pile up.
   2103 # Strip out --silent because we don't want to record it for future runs.
   2104 # Also quote any args containing shell meta-characters.
   2105 # Make two passes to allow for proper duplicate-argument suppression.
   2106 ac_configure_args=
   2107 ac_configure_args0=
   2108 ac_configure_args1=
   2109 ac_must_keep_next=false
   2110 for ac_pass in 1 2
   2111 do
   2112   for ac_arg
   2113   do
   2114     case $ac_arg in
   2115     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2116     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2117     | -silent | --silent | --silen | --sile | --sil)
   2118       continue ;;
   2119     *\'*)
   2120       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2121     esac
   2122     case $ac_pass in
   2123     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2124     2)
   2125       as_fn_append ac_configure_args1 " '$ac_arg'"
   2126       if test $ac_must_keep_next = true; then
   2127 	ac_must_keep_next=false # Got value, back to normal.
   2128       else
   2129 	case $ac_arg in
   2130 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2131 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2132 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2133 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2134 	    case "$ac_configure_args0 " in
   2135 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2136 	    esac
   2137 	    ;;
   2138 	  -* ) ac_must_keep_next=true ;;
   2139 	esac
   2140       fi
   2141       as_fn_append ac_configure_args " '$ac_arg'"
   2142       ;;
   2143     esac
   2144   done
   2145 done
   2146 { ac_configure_args0=; unset ac_configure_args0;}
   2147 { ac_configure_args1=; unset ac_configure_args1;}
   2148 
   2149 # When interrupted or exit'd, cleanup temporary files, and complete
   2150 # config.log.  We remove comments because anyway the quotes in there
   2151 # would cause problems or look ugly.
   2152 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2153 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2154 trap 'exit_status=$?
   2155   # Save into config.log some information that might help in debugging.
   2156   {
   2157     echo
   2158 
   2159     $as_echo "## ---------------- ##
   2160 ## Cache variables. ##
   2161 ## ---------------- ##"
   2162     echo
   2163     # The following way of writing the cache mishandles newlines in values,
   2164 (
   2165   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2166     eval ac_val=\$$ac_var
   2167     case $ac_val in #(
   2168     *${as_nl}*)
   2169       case $ac_var in #(
   2170       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2171 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2172       esac
   2173       case $ac_var in #(
   2174       _ | IFS | as_nl) ;; #(
   2175       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2176       *) { eval $ac_var=; unset $ac_var;} ;;
   2177       esac ;;
   2178     esac
   2179   done
   2180   (set) 2>&1 |
   2181     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2182     *${as_nl}ac_space=\ *)
   2183       sed -n \
   2184 	"s/'\''/'\''\\\\'\'''\''/g;
   2185 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2186       ;; #(
   2187     *)
   2188       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2189       ;;
   2190     esac |
   2191     sort
   2192 )
   2193     echo
   2194 
   2195     $as_echo "## ----------------- ##
   2196 ## Output variables. ##
   2197 ## ----------------- ##"
   2198     echo
   2199     for ac_var in $ac_subst_vars
   2200     do
   2201       eval ac_val=\$$ac_var
   2202       case $ac_val in
   2203       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2204       esac
   2205       $as_echo "$ac_var='\''$ac_val'\''"
   2206     done | sort
   2207     echo
   2208 
   2209     if test -n "$ac_subst_files"; then
   2210       $as_echo "## ------------------- ##
   2211 ## File substitutions. ##
   2212 ## ------------------- ##"
   2213       echo
   2214       for ac_var in $ac_subst_files
   2215       do
   2216 	eval ac_val=\$$ac_var
   2217 	case $ac_val in
   2218 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2219 	esac
   2220 	$as_echo "$ac_var='\''$ac_val'\''"
   2221       done | sort
   2222       echo
   2223     fi
   2224 
   2225     if test -s confdefs.h; then
   2226       $as_echo "## ----------- ##
   2227 ## confdefs.h. ##
   2228 ## ----------- ##"
   2229       echo
   2230       cat confdefs.h
   2231       echo
   2232     fi
   2233     test "$ac_signal" != 0 &&
   2234       $as_echo "$as_me: caught signal $ac_signal"
   2235     $as_echo "$as_me: exit $exit_status"
   2236   } >&5
   2237   rm -f core *.core core.conftest.* &&
   2238     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2239     exit $exit_status
   2240 ' 0
   2241 for ac_signal in 1 2 13 15; do
   2242   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2243 done
   2244 ac_signal=0
   2245 
   2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2247 rm -f -r conftest* confdefs.h
   2248 
   2249 $as_echo "/* confdefs.h */" > confdefs.h
   2250 
   2251 # Predefined preprocessor variables.
   2252 
   2253 cat >>confdefs.h <<_ACEOF
   2254 #define PACKAGE_NAME "$PACKAGE_NAME"
   2255 _ACEOF
   2256 
   2257 cat >>confdefs.h <<_ACEOF
   2258 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2259 _ACEOF
   2260 
   2261 cat >>confdefs.h <<_ACEOF
   2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2263 _ACEOF
   2264 
   2265 cat >>confdefs.h <<_ACEOF
   2266 #define PACKAGE_STRING "$PACKAGE_STRING"
   2267 _ACEOF
   2268 
   2269 cat >>confdefs.h <<_ACEOF
   2270 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2271 _ACEOF
   2272 
   2273 cat >>confdefs.h <<_ACEOF
   2274 #define PACKAGE_URL "$PACKAGE_URL"
   2275 _ACEOF
   2276 
   2277 
   2278 # Let the site file select an alternate cache file if it wants to.
   2279 # Prefer an explicitly selected file to automatically selected ones.
   2280 ac_site_file1=NONE
   2281 ac_site_file2=NONE
   2282 if test -n "$CONFIG_SITE"; then
   2283   # We do not want a PATH search for config.site.
   2284   case $CONFIG_SITE in #((
   2285     -*)  ac_site_file1=./$CONFIG_SITE;;
   2286     */*) ac_site_file1=$CONFIG_SITE;;
   2287     *)   ac_site_file1=./$CONFIG_SITE;;
   2288   esac
   2289 elif test "x$prefix" != xNONE; then
   2290   ac_site_file1=$prefix/share/config.site
   2291   ac_site_file2=$prefix/etc/config.site
   2292 else
   2293   ac_site_file1=$ac_default_prefix/share/config.site
   2294   ac_site_file2=$ac_default_prefix/etc/config.site
   2295 fi
   2296 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2297 do
   2298   test "x$ac_site_file" = xNONE && continue
   2299   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2300     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2301 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2302     sed 's/^/| /' "$ac_site_file" >&5
   2303     . "$ac_site_file" \
   2304       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2306 as_fn_error $? "failed to load site script $ac_site_file
   2307 See \`config.log' for more details" "$LINENO" 5; }
   2308   fi
   2309 done
   2310 
   2311 if test -r "$cache_file"; then
   2312   # Some versions of bash will fail to source /dev/null (special files
   2313   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2314   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2315     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2316 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2317     case $cache_file in
   2318       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2319       *)                      . "./$cache_file";;
   2320     esac
   2321   fi
   2322 else
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2324 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2325   >$cache_file
   2326 fi
   2327 
   2328 # Check that the precious variables saved in the cache have kept the same
   2329 # value.
   2330 ac_cache_corrupted=false
   2331 for ac_var in $ac_precious_vars; do
   2332   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2333   eval ac_new_set=\$ac_env_${ac_var}_set
   2334   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2335   eval ac_new_val=\$ac_env_${ac_var}_value
   2336   case $ac_old_set,$ac_new_set in
   2337     set,)
   2338       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2339 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2340       ac_cache_corrupted=: ;;
   2341     ,set)
   2342       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2343 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2344       ac_cache_corrupted=: ;;
   2345     ,);;
   2346     *)
   2347       if test "x$ac_old_val" != "x$ac_new_val"; then
   2348 	# differences in whitespace do not lead to failure.
   2349 	ac_old_val_w=`echo x $ac_old_val`
   2350 	ac_new_val_w=`echo x $ac_new_val`
   2351 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2352 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2353 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2354 	  ac_cache_corrupted=:
   2355 	else
   2356 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2357 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2358 	  eval $ac_var=\$ac_old_val
   2359 	fi
   2360 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2361 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2362 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2363 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2364       fi;;
   2365   esac
   2366   # Pass precious variables to config.status.
   2367   if test "$ac_new_set" = set; then
   2368     case $ac_new_val in
   2369     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2370     *) ac_arg=$ac_var=$ac_new_val ;;
   2371     esac
   2372     case " $ac_configure_args " in
   2373       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2374       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2375     esac
   2376   fi
   2377 done
   2378 if $ac_cache_corrupted; then
   2379   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2381   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2382 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2383   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2384 fi
   2385 ## -------------------- ##
   2386 ## Main body of script. ##
   2387 ## -------------------- ##
   2388 
   2389 ac_ext=c
   2390 ac_cpp='$CPP $CPPFLAGS'
   2391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2394 
   2395 
   2396 am__api_version='1.16'
   2397 
   2398 ac_aux_dir=
   2399 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2400   if test -f "$ac_dir/install-sh"; then
   2401     ac_aux_dir=$ac_dir
   2402     ac_install_sh="$ac_aux_dir/install-sh -c"
   2403     break
   2404   elif test -f "$ac_dir/install.sh"; then
   2405     ac_aux_dir=$ac_dir
   2406     ac_install_sh="$ac_aux_dir/install.sh -c"
   2407     break
   2408   elif test -f "$ac_dir/shtool"; then
   2409     ac_aux_dir=$ac_dir
   2410     ac_install_sh="$ac_aux_dir/shtool install -c"
   2411     break
   2412   fi
   2413 done
   2414 if test -z "$ac_aux_dir"; then
   2415   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2416 fi
   2417 
   2418 # These three variables are undocumented and unsupported,
   2419 # and are intended to be withdrawn in a future Autoconf release.
   2420 # They can cause serious problems if a builder's source tree is in a directory
   2421 # whose full name contains unusual characters.
   2422 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2423 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2424 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2425 
   2426 
   2427 # Find a good install program.  We prefer a C program (faster),
   2428 # so one script is as good as another.  But avoid the broken or
   2429 # incompatible versions:
   2430 # SysV /etc/install, /usr/sbin/install
   2431 # SunOS /usr/etc/install
   2432 # IRIX /sbin/install
   2433 # AIX /bin/install
   2434 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2438 # OS/2's system install, which has a completely different semantic
   2439 # ./install, which can be erroneously created by make from ./install.sh.
   2440 # Reject install programs that cannot install multiple files.
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2442 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2443 if test -z "$INSTALL"; then
   2444 if ${ac_cv_path_install+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 for as_dir in $PATH
   2449 do
   2450   IFS=$as_save_IFS
   2451   test -z "$as_dir" && as_dir=.
   2452     # Account for people who put trailing slashes in PATH elements.
   2453 case $as_dir/ in #((
   2454   ./ | .// | /[cC]/* | \
   2455   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2456   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2457   /usr/ucb/* ) ;;
   2458   *)
   2459     # OSF1 and SCO ODT 3.0 have their own names for install.
   2460     # Don't use installbsd from OSF since it installs stuff as root
   2461     # by default.
   2462     for ac_prog in ginstall scoinst install; do
   2463       for ac_exec_ext in '' $ac_executable_extensions; do
   2464 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2465 	  if test $ac_prog = install &&
   2466 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2467 	    # AIX install.  It has an incompatible calling convention.
   2468 	    :
   2469 	  elif test $ac_prog = install &&
   2470 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2471 	    # program-specific install script used by HP pwplus--don't use.
   2472 	    :
   2473 	  else
   2474 	    rm -rf conftest.one conftest.two conftest.dir
   2475 	    echo one > conftest.one
   2476 	    echo two > conftest.two
   2477 	    mkdir conftest.dir
   2478 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2479 	      test -s conftest.one && test -s conftest.two &&
   2480 	      test -s conftest.dir/conftest.one &&
   2481 	      test -s conftest.dir/conftest.two
   2482 	    then
   2483 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2484 	      break 3
   2485 	    fi
   2486 	  fi
   2487 	fi
   2488       done
   2489     done
   2490     ;;
   2491 esac
   2492 
   2493   done
   2494 IFS=$as_save_IFS
   2495 
   2496 rm -rf conftest.one conftest.two conftest.dir
   2497 
   2498 fi
   2499   if test "${ac_cv_path_install+set}" = set; then
   2500     INSTALL=$ac_cv_path_install
   2501   else
   2502     # As a last resort, use the slow shell script.  Don't cache a
   2503     # value for INSTALL within a source directory, because that will
   2504     # break other packages using the cache if that directory is
   2505     # removed, or if the value is a relative name.
   2506     INSTALL=$ac_install_sh
   2507   fi
   2508 fi
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2510 $as_echo "$INSTALL" >&6; }
   2511 
   2512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2513 # It thinks the first close brace ends the variable substitution.
   2514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2515 
   2516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2517 
   2518 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2519 
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2521 $as_echo_n "checking whether build environment is sane... " >&6; }
   2522 # Reject unsafe characters in $srcdir or the absolute working directory
   2523 # name.  Accept space and tab only in the latter.
   2524 am_lf='
   2525 '
   2526 case `pwd` in
   2527   *[\\\"\#\$\&\'\`$am_lf]*)
   2528     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2529 esac
   2530 case $srcdir in
   2531   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2532     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2533 esac
   2534 
   2535 # Do 'set' in a subshell so we don't clobber the current shell's
   2536 # arguments.  Must try -L first in case configure is actually a
   2537 # symlink; some systems play weird games with the mod time of symlinks
   2538 # (eg FreeBSD returns the mod time of the symlink's containing
   2539 # directory).
   2540 if (
   2541    am_has_slept=no
   2542    for am_try in 1 2; do
   2543      echo "timestamp, slept: $am_has_slept" > conftest.file
   2544      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2545      if test "$*" = "X"; then
   2546 	# -L didn't work.
   2547 	set X `ls -t "$srcdir/configure" conftest.file`
   2548      fi
   2549      if test "$*" != "X $srcdir/configure conftest.file" \
   2550 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2551 
   2552 	# If neither matched, then we have a broken ls.  This can happen
   2553 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2554 	# broken ls alias from the environment.  This has actually
   2555 	# happened.  Such a system could not be considered "sane".
   2556 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2557   alias in your environment" "$LINENO" 5
   2558      fi
   2559      if test "$2" = conftest.file || test $am_try -eq 2; then
   2560        break
   2561      fi
   2562      # Just in case.
   2563      sleep 1
   2564      am_has_slept=yes
   2565    done
   2566    test "$2" = conftest.file
   2567    )
   2568 then
   2569    # Ok.
   2570    :
   2571 else
   2572    as_fn_error $? "newly created file is older than distributed files!
   2573 Check your system clock" "$LINENO" 5
   2574 fi
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2576 $as_echo "yes" >&6; }
   2577 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2578 # generated files are strictly newer.
   2579 am_sleep_pid=
   2580 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2581   ( sleep 1 ) &
   2582   am_sleep_pid=$!
   2583 fi
   2584 
   2585 rm -f conftest.file
   2586 
   2587 test "$program_prefix" != NONE &&
   2588   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2589 # Use a double $ so make ignores it.
   2590 test "$program_suffix" != NONE &&
   2591   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2592 # Double any \ or $.
   2593 # By default was `s,x,x', remove it if useless.
   2594 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2595 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2596 
   2597 # Expand $ac_aux_dir to an absolute path.
   2598 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2599 
   2600 if test x"${MISSING+set}" != xset; then
   2601   case $am_aux_dir in
   2602   *\ * | *\	*)
   2603     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2604   *)
   2605     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2606   esac
   2607 fi
   2608 # Use eval to expand $SHELL
   2609 if eval "$MISSING --is-lightweight"; then
   2610   am_missing_run="$MISSING "
   2611 else
   2612   am_missing_run=
   2613   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2614 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2615 fi
   2616 
   2617 if test x"${install_sh+set}" != xset; then
   2618   case $am_aux_dir in
   2619   *\ * | *\	*)
   2620     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2621   *)
   2622     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2623   esac
   2624 fi
   2625 
   2626 # Installed binaries are usually stripped using 'strip' when the user
   2627 # run "make install-strip".  However 'strip' might not be the right
   2628 # tool to use in cross-compilation environments, therefore Automake
   2629 # will honor the 'STRIP' environment variable to overrule this program.
   2630 if test "$cross_compiling" != no; then
   2631   if test -n "$ac_tool_prefix"; then
   2632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2633 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2635 $as_echo_n "checking for $ac_word... " >&6; }
   2636 if ${ac_cv_prog_STRIP+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   if test -n "$STRIP"; then
   2640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2641 else
   2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2643 for as_dir in $PATH
   2644 do
   2645   IFS=$as_save_IFS
   2646   test -z "$as_dir" && as_dir=.
   2647     for ac_exec_ext in '' $ac_executable_extensions; do
   2648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2651     break 2
   2652   fi
   2653 done
   2654   done
   2655 IFS=$as_save_IFS
   2656 
   2657 fi
   2658 fi
   2659 STRIP=$ac_cv_prog_STRIP
   2660 if test -n "$STRIP"; then
   2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2662 $as_echo "$STRIP" >&6; }
   2663 else
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2665 $as_echo "no" >&6; }
   2666 fi
   2667 
   2668 
   2669 fi
   2670 if test -z "$ac_cv_prog_STRIP"; then
   2671   ac_ct_STRIP=$STRIP
   2672   # Extract the first word of "strip", so it can be a program name with args.
   2673 set dummy strip; ac_word=$2
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2675 $as_echo_n "checking for $ac_word... " >&6; }
   2676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2677   $as_echo_n "(cached) " >&6
   2678 else
   2679   if test -n "$ac_ct_STRIP"; then
   2680   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2681 else
   2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2683 for as_dir in $PATH
   2684 do
   2685   IFS=$as_save_IFS
   2686   test -z "$as_dir" && as_dir=.
   2687     for ac_exec_ext in '' $ac_executable_extensions; do
   2688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2689     ac_cv_prog_ac_ct_STRIP="strip"
   2690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2691     break 2
   2692   fi
   2693 done
   2694   done
   2695 IFS=$as_save_IFS
   2696 
   2697 fi
   2698 fi
   2699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2700 if test -n "$ac_ct_STRIP"; then
   2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2702 $as_echo "$ac_ct_STRIP" >&6; }
   2703 else
   2704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2705 $as_echo "no" >&6; }
   2706 fi
   2707 
   2708   if test "x$ac_ct_STRIP" = x; then
   2709     STRIP=":"
   2710   else
   2711     case $cross_compiling:$ac_tool_warned in
   2712 yes:)
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2715 ac_tool_warned=yes ;;
   2716 esac
   2717     STRIP=$ac_ct_STRIP
   2718   fi
   2719 else
   2720   STRIP="$ac_cv_prog_STRIP"
   2721 fi
   2722 
   2723 fi
   2724 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2725 
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2727 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2728 if test -z "$MKDIR_P"; then
   2729   if ${ac_cv_path_mkdir+:} false; then :
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2734 do
   2735   IFS=$as_save_IFS
   2736   test -z "$as_dir" && as_dir=.
   2737     for ac_prog in mkdir gmkdir; do
   2738 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2739 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2740 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2741 	     'mkdir (GNU coreutils) '* | \
   2742 	     'mkdir (coreutils) '* | \
   2743 	     'mkdir (fileutils) '4.1*)
   2744 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2745 	       break 3;;
   2746 	   esac
   2747 	 done
   2748        done
   2749   done
   2750 IFS=$as_save_IFS
   2751 
   2752 fi
   2753 
   2754   test -d ./--version && rmdir ./--version
   2755   if test "${ac_cv_path_mkdir+set}" = set; then
   2756     MKDIR_P="$ac_cv_path_mkdir -p"
   2757   else
   2758     # As a last resort, use the slow shell script.  Don't cache a
   2759     # value for MKDIR_P within a source directory, because that will
   2760     # break other packages using the cache if that directory is
   2761     # removed, or if the value is a relative name.
   2762     MKDIR_P="$ac_install_sh -d"
   2763   fi
   2764 fi
   2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2766 $as_echo "$MKDIR_P" >&6; }
   2767 
   2768 for ac_prog in gawk mawk nawk awk
   2769 do
   2770   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2771 set dummy $ac_prog; ac_word=$2
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2773 $as_echo_n "checking for $ac_word... " >&6; }
   2774 if ${ac_cv_prog_AWK+:} false; then :
   2775   $as_echo_n "(cached) " >&6
   2776 else
   2777   if test -n "$AWK"; then
   2778   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2779 else
   2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2781 for as_dir in $PATH
   2782 do
   2783   IFS=$as_save_IFS
   2784   test -z "$as_dir" && as_dir=.
   2785     for ac_exec_ext in '' $ac_executable_extensions; do
   2786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2787     ac_cv_prog_AWK="$ac_prog"
   2788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2789     break 2
   2790   fi
   2791 done
   2792   done
   2793 IFS=$as_save_IFS
   2794 
   2795 fi
   2796 fi
   2797 AWK=$ac_cv_prog_AWK
   2798 if test -n "$AWK"; then
   2799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2800 $as_echo "$AWK" >&6; }
   2801 else
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2803 $as_echo "no" >&6; }
   2804 fi
   2805 
   2806 
   2807   test -n "$AWK" && break
   2808 done
   2809 
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2811 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2812 set x ${MAKE-make}
   2813 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2814 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2815   $as_echo_n "(cached) " >&6
   2816 else
   2817   cat >conftest.make <<\_ACEOF
   2818 SHELL = /bin/sh
   2819 all:
   2820 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2821 _ACEOF
   2822 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2823 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2824   *@@@%%%=?*=@@@%%%*)
   2825     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2826   *)
   2827     eval ac_cv_prog_make_${ac_make}_set=no;;
   2828 esac
   2829 rm -f conftest.make
   2830 fi
   2831 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2833 $as_echo "yes" >&6; }
   2834   SET_MAKE=
   2835 else
   2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2837 $as_echo "no" >&6; }
   2838   SET_MAKE="MAKE=${MAKE-make}"
   2839 fi
   2840 
   2841 rm -rf .tst 2>/dev/null
   2842 mkdir .tst 2>/dev/null
   2843 if test -d .tst; then
   2844   am__leading_dot=.
   2845 else
   2846   am__leading_dot=_
   2847 fi
   2848 rmdir .tst 2>/dev/null
   2849 
   2850 # Check whether --enable-silent-rules was given.
   2851 if test "${enable_silent_rules+set}" = set; then :
   2852   enableval=$enable_silent_rules;
   2853 fi
   2854 
   2855 case $enable_silent_rules in # (((
   2856   yes) AM_DEFAULT_VERBOSITY=0;;
   2857    no) AM_DEFAULT_VERBOSITY=1;;
   2858     *) AM_DEFAULT_VERBOSITY=1;;
   2859 esac
   2860 am_make=${MAKE-make}
   2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2862 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2863 if ${am_cv_make_support_nested_variables+:} false; then :
   2864   $as_echo_n "(cached) " >&6
   2865 else
   2866   if $as_echo 'TRUE=$(BAR$(V))
   2867 BAR0=false
   2868 BAR1=true
   2869 V=1
   2870 am__doit:
   2871 	@$(TRUE)
   2872 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2873   am_cv_make_support_nested_variables=yes
   2874 else
   2875   am_cv_make_support_nested_variables=no
   2876 fi
   2877 fi
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2879 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2880 if test $am_cv_make_support_nested_variables = yes; then
   2881     AM_V='$(V)'
   2882   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2883 else
   2884   AM_V=$AM_DEFAULT_VERBOSITY
   2885   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2886 fi
   2887 AM_BACKSLASH='\'
   2888 
   2889 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2890   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2891   # is not polluted with repeated "-I."
   2892   am__isrc=' -I$(srcdir)'
   2893   # test to see if srcdir already configured
   2894   if test -f $srcdir/config.status; then
   2895     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2896   fi
   2897 fi
   2898 
   2899 # test whether we have cygpath
   2900 if test -z "$CYGPATH_W"; then
   2901   if (cygpath --version) >/dev/null 2>/dev/null; then
   2902     CYGPATH_W='cygpath -w'
   2903   else
   2904     CYGPATH_W=echo
   2905   fi
   2906 fi
   2907 
   2908 
   2909 # Define the identity of the package.
   2910  PACKAGE='libvdpau'
   2911  VERSION='1.2'
   2912 
   2913 
   2914 cat >>confdefs.h <<_ACEOF
   2915 #define PACKAGE "$PACKAGE"
   2916 _ACEOF
   2917 
   2918 
   2919 cat >>confdefs.h <<_ACEOF
   2920 #define VERSION "$VERSION"
   2921 _ACEOF
   2922 
   2923 # Some tools Automake needs.
   2924 
   2925 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2926 
   2927 
   2928 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2929 
   2930 
   2931 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2932 
   2933 
   2934 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2935 
   2936 
   2937 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2938 
   2939 # For better backward compatibility.  To be removed once Automake 1.9.x
   2940 # dies out for good.  For more background, see:
   2941 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2942 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2943 mkdir_p='$(MKDIR_P)'
   2944 
   2945 # We need awk for the "check" target (and possibly the TAP driver).  The
   2946 # system "awk" is bad on some platforms.
   2947 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2948 # in the wild :-(  We should find a proper way to deprecate it ...
   2949 AMTAR='$${TAR-tar}'
   2950 
   2951 
   2952 # We'll loop over all known methods to create a tar archive until one works.
   2953 _am_tools='gnutar  pax cpio none'
   2954 
   2955 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 # POSIX will say in a future version that running "rm -f" with no argument
   2963 # is OK; and we want to be able to make that assumption in our Makefile
   2964 # recipes.  So use an aggressive probe to check that the usage we want is
   2965 # actually supported "in the wild" to an acceptable degree.
   2966 # See automake bug#10828.
   2967 # To make any issue more visible, cause the running configure to be aborted
   2968 # by default if the 'rm' program in use doesn't match our expectations; the
   2969 # user can still override this though.
   2970 if rm -f && rm -fr && rm -rf; then : OK; else
   2971   cat >&2 <<'END'
   2972 Oops!
   2973 
   2974 Your 'rm' program seems unable to run without file operands specified
   2975 on the command line, even when the '-f' option is present.  This is contrary
   2976 to the behaviour of most rm programs out there, and not conforming with
   2977 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2978 
   2979 Please tell bug-automake@gnu.org about your system, including the value
   2980 of your $PATH and any error possibly output before this message.  This
   2981 can help us improve future automake versions.
   2982 
   2983 END
   2984   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2985     echo 'Configuration will proceed anyway, since you have set the' >&2
   2986     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2987     echo >&2
   2988   else
   2989     cat >&2 <<'END'
   2990 Aborting the configuration process, to ensure you take notice of the issue.
   2991 
   2992 You can download and install GNU coreutils to get an 'rm' implementation
   2993 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2994 
   2995 If you want to complete the configuration process using your problematic
   2996 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2997 to "yes", and re-run configure.
   2998 
   2999 END
   3000     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3001   fi
   3002 fi
   3003 
   3004 
   3005 ac_config_headers="$ac_config_headers config.h"
   3006 
   3007 
   3008 # Check for secure_getenv
   3009 DEPDIR="${am__leading_dot}deps"
   3010 
   3011 ac_config_commands="$ac_config_commands depfiles"
   3012 
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3014 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3015 cat > confinc.mk << 'END'
   3016 am__doit:
   3017 	@echo this is the am__doit target >confinc.out
   3018 .PHONY: am__doit
   3019 END
   3020 am__include="#"
   3021 am__quote=
   3022 # BSD make does it like this.
   3023 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3024 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3025 echo 'include confinc.mk # ignored' > confmf.GNU
   3026 _am_result=no
   3027 for s in GNU BSD; do
   3028   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3029    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3030    ac_status=$?
   3031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3032    (exit $ac_status); }
   3033   case $?:`cat confinc.out 2>/dev/null` in #(
   3034   '0:this is the am__doit target') :
   3035     case $s in #(
   3036   BSD) :
   3037     am__include='.include' am__quote='"' ;; #(
   3038   *) :
   3039     am__include='include' am__quote='' ;;
   3040 esac ;; #(
   3041   *) :
   3042      ;;
   3043 esac
   3044   if test "$am__include" != "#"; then
   3045     _am_result="yes ($s style)"
   3046     break
   3047   fi
   3048 done
   3049 rm -f confinc.* confmf.*
   3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3051 $as_echo "${_am_result}" >&6; }
   3052 
   3053 # Check whether --enable-dependency-tracking was given.
   3054 if test "${enable_dependency_tracking+set}" = set; then :
   3055   enableval=$enable_dependency_tracking;
   3056 fi
   3057 
   3058 if test "x$enable_dependency_tracking" != xno; then
   3059   am_depcomp="$ac_aux_dir/depcomp"
   3060   AMDEPBACKSLASH='\'
   3061   am__nodep='_no'
   3062 fi
   3063  if test "x$enable_dependency_tracking" != xno; then
   3064   AMDEP_TRUE=
   3065   AMDEP_FALSE='#'
   3066 else
   3067   AMDEP_TRUE='#'
   3068   AMDEP_FALSE=
   3069 fi
   3070 
   3071 
   3072 ac_ext=c
   3073 ac_cpp='$CPP $CPPFLAGS'
   3074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3077 if test -n "$ac_tool_prefix"; then
   3078   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3081 $as_echo_n "checking for $ac_word... " >&6; }
   3082 if ${ac_cv_prog_CC+:} false; then :
   3083   $as_echo_n "(cached) " >&6
   3084 else
   3085   if test -n "$CC"; then
   3086   ac_cv_prog_CC="$CC" # Let the user override the test.
   3087 else
   3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3089 for as_dir in $PATH
   3090 do
   3091   IFS=$as_save_IFS
   3092   test -z "$as_dir" && as_dir=.
   3093     for ac_exec_ext in '' $ac_executable_extensions; do
   3094   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3095     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3097     break 2
   3098   fi
   3099 done
   3100   done
   3101 IFS=$as_save_IFS
   3102 
   3103 fi
   3104 fi
   3105 CC=$ac_cv_prog_CC
   3106 if test -n "$CC"; then
   3107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3108 $as_echo "$CC" >&6; }
   3109 else
   3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3111 $as_echo "no" >&6; }
   3112 fi
   3113 
   3114 
   3115 fi
   3116 if test -z "$ac_cv_prog_CC"; then
   3117   ac_ct_CC=$CC
   3118   # Extract the first word of "gcc", so it can be a program name with args.
   3119 set dummy gcc; ac_word=$2
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3121 $as_echo_n "checking for $ac_word... " >&6; }
   3122 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3123   $as_echo_n "(cached) " >&6
   3124 else
   3125   if test -n "$ac_ct_CC"; then
   3126   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3127 else
   3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3129 for as_dir in $PATH
   3130 do
   3131   IFS=$as_save_IFS
   3132   test -z "$as_dir" && as_dir=.
   3133     for ac_exec_ext in '' $ac_executable_extensions; do
   3134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3135     ac_cv_prog_ac_ct_CC="gcc"
   3136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3137     break 2
   3138   fi
   3139 done
   3140   done
   3141 IFS=$as_save_IFS
   3142 
   3143 fi
   3144 fi
   3145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3146 if test -n "$ac_ct_CC"; then
   3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3148 $as_echo "$ac_ct_CC" >&6; }
   3149 else
   3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3151 $as_echo "no" >&6; }
   3152 fi
   3153 
   3154   if test "x$ac_ct_CC" = x; then
   3155     CC=""
   3156   else
   3157     case $cross_compiling:$ac_tool_warned in
   3158 yes:)
   3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3161 ac_tool_warned=yes ;;
   3162 esac
   3163     CC=$ac_ct_CC
   3164   fi
   3165 else
   3166   CC="$ac_cv_prog_CC"
   3167 fi
   3168 
   3169 if test -z "$CC"; then
   3170           if test -n "$ac_tool_prefix"; then
   3171     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3172 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3174 $as_echo_n "checking for $ac_word... " >&6; }
   3175 if ${ac_cv_prog_CC+:} false; then :
   3176   $as_echo_n "(cached) " >&6
   3177 else
   3178   if test -n "$CC"; then
   3179   ac_cv_prog_CC="$CC" # Let the user override the test.
   3180 else
   3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3182 for as_dir in $PATH
   3183 do
   3184   IFS=$as_save_IFS
   3185   test -z "$as_dir" && as_dir=.
   3186     for ac_exec_ext in '' $ac_executable_extensions; do
   3187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3188     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3190     break 2
   3191   fi
   3192 done
   3193   done
   3194 IFS=$as_save_IFS
   3195 
   3196 fi
   3197 fi
   3198 CC=$ac_cv_prog_CC
   3199 if test -n "$CC"; then
   3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3201 $as_echo "$CC" >&6; }
   3202 else
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3204 $as_echo "no" >&6; }
   3205 fi
   3206 
   3207 
   3208   fi
   3209 fi
   3210 if test -z "$CC"; then
   3211   # Extract the first word of "cc", so it can be a program name with args.
   3212 set dummy cc; ac_word=$2
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3214 $as_echo_n "checking for $ac_word... " >&6; }
   3215 if ${ac_cv_prog_CC+:} false; then :
   3216   $as_echo_n "(cached) " >&6
   3217 else
   3218   if test -n "$CC"; then
   3219   ac_cv_prog_CC="$CC" # Let the user override the test.
   3220 else
   3221   ac_prog_rejected=no
   3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3223 for as_dir in $PATH
   3224 do
   3225   IFS=$as_save_IFS
   3226   test -z "$as_dir" && as_dir=.
   3227     for ac_exec_ext in '' $ac_executable_extensions; do
   3228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3229     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3230        ac_prog_rejected=yes
   3231        continue
   3232      fi
   3233     ac_cv_prog_CC="cc"
   3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3235     break 2
   3236   fi
   3237 done
   3238   done
   3239 IFS=$as_save_IFS
   3240 
   3241 if test $ac_prog_rejected = yes; then
   3242   # We found a bogon in the path, so make sure we never use it.
   3243   set dummy $ac_cv_prog_CC
   3244   shift
   3245   if test $# != 0; then
   3246     # We chose a different compiler from the bogus one.
   3247     # However, it has the same basename, so the bogon will be chosen
   3248     # first if we set CC to just the basename; use the full file name.
   3249     shift
   3250     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3251   fi
   3252 fi
   3253 fi
   3254 fi
   3255 CC=$ac_cv_prog_CC
   3256 if test -n "$CC"; then
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3258 $as_echo "$CC" >&6; }
   3259 else
   3260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3261 $as_echo "no" >&6; }
   3262 fi
   3263 
   3264 
   3265 fi
   3266 if test -z "$CC"; then
   3267   if test -n "$ac_tool_prefix"; then
   3268   for ac_prog in cl.exe
   3269   do
   3270     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3271 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3273 $as_echo_n "checking for $ac_word... " >&6; }
   3274 if ${ac_cv_prog_CC+:} false; then :
   3275   $as_echo_n "(cached) " >&6
   3276 else
   3277   if test -n "$CC"; then
   3278   ac_cv_prog_CC="$CC" # Let the user override the test.
   3279 else
   3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3281 for as_dir in $PATH
   3282 do
   3283   IFS=$as_save_IFS
   3284   test -z "$as_dir" && as_dir=.
   3285     for ac_exec_ext in '' $ac_executable_extensions; do
   3286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3287     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3289     break 2
   3290   fi
   3291 done
   3292   done
   3293 IFS=$as_save_IFS
   3294 
   3295 fi
   3296 fi
   3297 CC=$ac_cv_prog_CC
   3298 if test -n "$CC"; then
   3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3300 $as_echo "$CC" >&6; }
   3301 else
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 $as_echo "no" >&6; }
   3304 fi
   3305 
   3306 
   3307     test -n "$CC" && break
   3308   done
   3309 fi
   3310 if test -z "$CC"; then
   3311   ac_ct_CC=$CC
   3312   for ac_prog in cl.exe
   3313 do
   3314   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3315 set dummy $ac_prog; ac_word=$2
   3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3317 $as_echo_n "checking for $ac_word... " >&6; }
   3318 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3319   $as_echo_n "(cached) " >&6
   3320 else
   3321   if test -n "$ac_ct_CC"; then
   3322   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3323 else
   3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3325 for as_dir in $PATH
   3326 do
   3327   IFS=$as_save_IFS
   3328   test -z "$as_dir" && as_dir=.
   3329     for ac_exec_ext in '' $ac_executable_extensions; do
   3330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3331     ac_cv_prog_ac_ct_CC="$ac_prog"
   3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3333     break 2
   3334   fi
   3335 done
   3336   done
   3337 IFS=$as_save_IFS
   3338 
   3339 fi
   3340 fi
   3341 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3342 if test -n "$ac_ct_CC"; then
   3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3344 $as_echo "$ac_ct_CC" >&6; }
   3345 else
   3346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3347 $as_echo "no" >&6; }
   3348 fi
   3349 
   3350 
   3351   test -n "$ac_ct_CC" && break
   3352 done
   3353 
   3354   if test "x$ac_ct_CC" = x; then
   3355     CC=""
   3356   else
   3357     case $cross_compiling:$ac_tool_warned in
   3358 yes:)
   3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3361 ac_tool_warned=yes ;;
   3362 esac
   3363     CC=$ac_ct_CC
   3364   fi
   3365 fi
   3366 
   3367 fi
   3368 
   3369 
   3370 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3372 as_fn_error $? "no acceptable C compiler found in \$PATH
   3373 See \`config.log' for more details" "$LINENO" 5; }
   3374 
   3375 # Provide some information about the compiler.
   3376 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3377 set X $ac_compile
   3378 ac_compiler=$2
   3379 for ac_option in --version -v -V -qversion; do
   3380   { { ac_try="$ac_compiler $ac_option >&5"
   3381 case "(($ac_try" in
   3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3383   *) ac_try_echo=$ac_try;;
   3384 esac
   3385 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3386 $as_echo "$ac_try_echo"; } >&5
   3387   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3388   ac_status=$?
   3389   if test -s conftest.err; then
   3390     sed '10a\
   3391 ... rest of stderr output deleted ...
   3392          10q' conftest.err >conftest.er1
   3393     cat conftest.er1 >&5
   3394   fi
   3395   rm -f conftest.er1 conftest.err
   3396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3397   test $ac_status = 0; }
   3398 done
   3399 
   3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 ac_clean_files_save=$ac_clean_files
   3412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3413 # Try to create an executable without -o first, disregard a.out.
   3414 # It will help us diagnose broken compilers, and finding out an intuition
   3415 # of exeext.
   3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3417 $as_echo_n "checking whether the C compiler works... " >&6; }
   3418 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3419 
   3420 # The possible output files:
   3421 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3422 
   3423 ac_rmfiles=
   3424 for ac_file in $ac_files
   3425 do
   3426   case $ac_file in
   3427     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3428     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3429   esac
   3430 done
   3431 rm -f $ac_rmfiles
   3432 
   3433 if { { ac_try="$ac_link_default"
   3434 case "(($ac_try" in
   3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3436   *) ac_try_echo=$ac_try;;
   3437 esac
   3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3439 $as_echo "$ac_try_echo"; } >&5
   3440   (eval "$ac_link_default") 2>&5
   3441   ac_status=$?
   3442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3443   test $ac_status = 0; }; then :
   3444   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3445 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3446 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3447 # so that the user can short-circuit this test for compilers unknown to
   3448 # Autoconf.
   3449 for ac_file in $ac_files ''
   3450 do
   3451   test -f "$ac_file" || continue
   3452   case $ac_file in
   3453     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3454 	;;
   3455     [ab].out )
   3456 	# We found the default executable, but exeext='' is most
   3457 	# certainly right.
   3458 	break;;
   3459     *.* )
   3460 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3461 	then :; else
   3462 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3463 	fi
   3464 	# We set ac_cv_exeext here because the later test for it is not
   3465 	# safe: cross compilers may not add the suffix if given an `-o'
   3466 	# argument, so we may need to know it at that point already.
   3467 	# Even if this section looks crufty: it has the advantage of
   3468 	# actually working.
   3469 	break;;
   3470     * )
   3471 	break;;
   3472   esac
   3473 done
   3474 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3475 
   3476 else
   3477   ac_file=''
   3478 fi
   3479 if test -z "$ac_file"; then :
   3480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3481 $as_echo "no" >&6; }
   3482 $as_echo "$as_me: failed program was:" >&5
   3483 sed 's/^/| /' conftest.$ac_ext >&5
   3484 
   3485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3487 as_fn_error 77 "C compiler cannot create executables
   3488 See \`config.log' for more details" "$LINENO" 5; }
   3489 else
   3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3491 $as_echo "yes" >&6; }
   3492 fi
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3494 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3496 $as_echo "$ac_file" >&6; }
   3497 ac_exeext=$ac_cv_exeext
   3498 
   3499 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3500 ac_clean_files=$ac_clean_files_save
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3502 $as_echo_n "checking for suffix of executables... " >&6; }
   3503 if { { ac_try="$ac_link"
   3504 case "(($ac_try" in
   3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3506   *) ac_try_echo=$ac_try;;
   3507 esac
   3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3509 $as_echo "$ac_try_echo"; } >&5
   3510   (eval "$ac_link") 2>&5
   3511   ac_status=$?
   3512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3513   test $ac_status = 0; }; then :
   3514   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3515 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3516 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3517 # `rm'.
   3518 for ac_file in conftest.exe conftest conftest.*; do
   3519   test -f "$ac_file" || continue
   3520   case $ac_file in
   3521     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3522     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3523 	  break;;
   3524     * ) break;;
   3525   esac
   3526 done
   3527 else
   3528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3530 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3531 See \`config.log' for more details" "$LINENO" 5; }
   3532 fi
   3533 rm -f conftest conftest$ac_cv_exeext
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3535 $as_echo "$ac_cv_exeext" >&6; }
   3536 
   3537 rm -f conftest.$ac_ext
   3538 EXEEXT=$ac_cv_exeext
   3539 ac_exeext=$EXEEXT
   3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 #include <stdio.h>
   3543 int
   3544 main ()
   3545 {
   3546 FILE *f = fopen ("conftest.out", "w");
   3547  return ferror (f) || fclose (f) != 0;
   3548 
   3549   ;
   3550   return 0;
   3551 }
   3552 _ACEOF
   3553 ac_clean_files="$ac_clean_files conftest.out"
   3554 # Check that the compiler produces executables we can run.  If not, either
   3555 # the compiler is broken, or we cross compile.
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3557 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3558 if test "$cross_compiling" != yes; then
   3559   { { ac_try="$ac_link"
   3560 case "(($ac_try" in
   3561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3562   *) ac_try_echo=$ac_try;;
   3563 esac
   3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3565 $as_echo "$ac_try_echo"; } >&5
   3566   (eval "$ac_link") 2>&5
   3567   ac_status=$?
   3568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3569   test $ac_status = 0; }
   3570   if { ac_try='./conftest$ac_cv_exeext'
   3571   { { case "(($ac_try" in
   3572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3573   *) ac_try_echo=$ac_try;;
   3574 esac
   3575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3576 $as_echo "$ac_try_echo"; } >&5
   3577   (eval "$ac_try") 2>&5
   3578   ac_status=$?
   3579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3580   test $ac_status = 0; }; }; then
   3581     cross_compiling=no
   3582   else
   3583     if test "$cross_compiling" = maybe; then
   3584 	cross_compiling=yes
   3585     else
   3586 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3588 as_fn_error $? "cannot run C compiled programs.
   3589 If you meant to cross compile, use \`--host'.
   3590 See \`config.log' for more details" "$LINENO" 5; }
   3591     fi
   3592   fi
   3593 fi
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3595 $as_echo "$cross_compiling" >&6; }
   3596 
   3597 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3598 ac_clean_files=$ac_clean_files_save
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3600 $as_echo_n "checking for suffix of object files... " >&6; }
   3601 if ${ac_cv_objext+:} false; then :
   3602   $as_echo_n "(cached) " >&6
   3603 else
   3604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3605 /* end confdefs.h.  */
   3606 
   3607 int
   3608 main ()
   3609 {
   3610 
   3611   ;
   3612   return 0;
   3613 }
   3614 _ACEOF
   3615 rm -f conftest.o conftest.obj
   3616 if { { ac_try="$ac_compile"
   3617 case "(($ac_try" in
   3618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3619   *) ac_try_echo=$ac_try;;
   3620 esac
   3621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3622 $as_echo "$ac_try_echo"; } >&5
   3623   (eval "$ac_compile") 2>&5
   3624   ac_status=$?
   3625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3626   test $ac_status = 0; }; then :
   3627   for ac_file in conftest.o conftest.obj conftest.*; do
   3628   test -f "$ac_file" || continue;
   3629   case $ac_file in
   3630     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3631     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3632        break;;
   3633   esac
   3634 done
   3635 else
   3636   $as_echo "$as_me: failed program was:" >&5
   3637 sed 's/^/| /' conftest.$ac_ext >&5
   3638 
   3639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3641 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3642 See \`config.log' for more details" "$LINENO" 5; }
   3643 fi
   3644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3645 fi
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3647 $as_echo "$ac_cv_objext" >&6; }
   3648 OBJEXT=$ac_cv_objext
   3649 ac_objext=$OBJEXT
   3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3651 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3652 if ${ac_cv_c_compiler_gnu+:} false; then :
   3653   $as_echo_n "(cached) " >&6
   3654 else
   3655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 int
   3659 main ()
   3660 {
   3661 #ifndef __GNUC__
   3662        choke me
   3663 #endif
   3664 
   3665   ;
   3666   return 0;
   3667 }
   3668 _ACEOF
   3669 if ac_fn_c_try_compile "$LINENO"; then :
   3670   ac_compiler_gnu=yes
   3671 else
   3672   ac_compiler_gnu=no
   3673 fi
   3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3675 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3676 
   3677 fi
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3679 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3680 if test $ac_compiler_gnu = yes; then
   3681   GCC=yes
   3682 else
   3683   GCC=
   3684 fi
   3685 ac_test_CFLAGS=${CFLAGS+set}
   3686 ac_save_CFLAGS=$CFLAGS
   3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3688 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3689 if ${ac_cv_prog_cc_g+:} false; then :
   3690   $as_echo_n "(cached) " >&6
   3691 else
   3692   ac_save_c_werror_flag=$ac_c_werror_flag
   3693    ac_c_werror_flag=yes
   3694    ac_cv_prog_cc_g=no
   3695    CFLAGS="-g"
   3696    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3697 /* end confdefs.h.  */
   3698 
   3699 int
   3700 main ()
   3701 {
   3702 
   3703   ;
   3704   return 0;
   3705 }
   3706 _ACEOF
   3707 if ac_fn_c_try_compile "$LINENO"; then :
   3708   ac_cv_prog_cc_g=yes
   3709 else
   3710   CFLAGS=""
   3711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714 int
   3715 main ()
   3716 {
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 if ac_fn_c_try_compile "$LINENO"; then :
   3723 
   3724 else
   3725   ac_c_werror_flag=$ac_save_c_werror_flag
   3726 	 CFLAGS="-g"
   3727 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 
   3730 int
   3731 main ()
   3732 {
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 if ac_fn_c_try_compile "$LINENO"; then :
   3739   ac_cv_prog_cc_g=yes
   3740 fi
   3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3742 fi
   3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3744 fi
   3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3746    ac_c_werror_flag=$ac_save_c_werror_flag
   3747 fi
   3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3749 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3750 if test "$ac_test_CFLAGS" = set; then
   3751   CFLAGS=$ac_save_CFLAGS
   3752 elif test $ac_cv_prog_cc_g = yes; then
   3753   if test "$GCC" = yes; then
   3754     CFLAGS="-g -O2"
   3755   else
   3756     CFLAGS="-g"
   3757   fi
   3758 else
   3759   if test "$GCC" = yes; then
   3760     CFLAGS="-O2"
   3761   else
   3762     CFLAGS=
   3763   fi
   3764 fi
   3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3766 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3767 if ${ac_cv_prog_cc_c89+:} false; then :
   3768   $as_echo_n "(cached) " >&6
   3769 else
   3770   ac_cv_prog_cc_c89=no
   3771 ac_save_CC=$CC
   3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3773 /* end confdefs.h.  */
   3774 #include <stdarg.h>
   3775 #include <stdio.h>
   3776 struct stat;
   3777 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3778 struct buf { int x; };
   3779 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3780 static char *e (p, i)
   3781      char **p;
   3782      int i;
   3783 {
   3784   return p[i];
   3785 }
   3786 static char *f (char * (*g) (char **, int), char **p, ...)
   3787 {
   3788   char *s;
   3789   va_list v;
   3790   va_start (v,p);
   3791   s = g (p, va_arg (v,int));
   3792   va_end (v);
   3793   return s;
   3794 }
   3795 
   3796 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3797    function prototypes and stuff, but not '\xHH' hex character constants.
   3798    These don't provoke an error unfortunately, instead are silently treated
   3799    as 'x'.  The following induces an error, until -std is added to get
   3800    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3801    array size at least.  It's necessary to write '\x00'==0 to get something
   3802    that's true only with -std.  */
   3803 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3804 
   3805 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3806    inside strings and character constants.  */
   3807 #define FOO(x) 'x'
   3808 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3809 
   3810 int test (int i, double x);
   3811 struct s1 {int (*f) (int a);};
   3812 struct s2 {int (*f) (double a);};
   3813 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3814 int argc;
   3815 char **argv;
   3816 int
   3817 main ()
   3818 {
   3819 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3820   ;
   3821   return 0;
   3822 }
   3823 _ACEOF
   3824 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3825 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3826 do
   3827   CC="$ac_save_CC $ac_arg"
   3828   if ac_fn_c_try_compile "$LINENO"; then :
   3829   ac_cv_prog_cc_c89=$ac_arg
   3830 fi
   3831 rm -f core conftest.err conftest.$ac_objext
   3832   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3833 done
   3834 rm -f conftest.$ac_ext
   3835 CC=$ac_save_CC
   3836 
   3837 fi
   3838 # AC_CACHE_VAL
   3839 case "x$ac_cv_prog_cc_c89" in
   3840   x)
   3841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3842 $as_echo "none needed" >&6; } ;;
   3843   xno)
   3844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3845 $as_echo "unsupported" >&6; } ;;
   3846   *)
   3847     CC="$CC $ac_cv_prog_cc_c89"
   3848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3849 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3850 esac
   3851 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3852 
   3853 fi
   3854 
   3855 ac_ext=c
   3856 ac_cpp='$CPP $CPPFLAGS'
   3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3860 
   3861 ac_ext=c
   3862 ac_cpp='$CPP $CPPFLAGS'
   3863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3867 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3868 if ${am_cv_prog_cc_c_o+:} false; then :
   3869   $as_echo_n "(cached) " >&6
   3870 else
   3871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3872 /* end confdefs.h.  */
   3873 
   3874 int
   3875 main ()
   3876 {
   3877 
   3878   ;
   3879   return 0;
   3880 }
   3881 _ACEOF
   3882   # Make sure it works both with $CC and with simple cc.
   3883   # Following AC_PROG_CC_C_O, we do the test twice because some
   3884   # compilers refuse to overwrite an existing .o file with -o,
   3885   # though they will create one.
   3886   am_cv_prog_cc_c_o=yes
   3887   for am_i in 1 2; do
   3888     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3889    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3890    ac_status=$?
   3891    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3892    (exit $ac_status); } \
   3893          && test -f conftest2.$ac_objext; then
   3894       : OK
   3895     else
   3896       am_cv_prog_cc_c_o=no
   3897       break
   3898     fi
   3899   done
   3900   rm -f core conftest*
   3901   unset am_i
   3902 fi
   3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3904 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3905 if test "$am_cv_prog_cc_c_o" != yes; then
   3906    # Losing compiler, so override with the script.
   3907    # FIXME: It is wrong to rewrite CC.
   3908    # But if we don't then we get into trouble of one sort or another.
   3909    # A longer-term fix would be to have automake use am__CC in this case,
   3910    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3911    CC="$am_aux_dir/compile $CC"
   3912 fi
   3913 ac_ext=c
   3914 ac_cpp='$CPP $CPPFLAGS'
   3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3918 
   3919 
   3920 depcc="$CC"   am_compiler_list=
   3921 
   3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3923 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3924 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3925   $as_echo_n "(cached) " >&6
   3926 else
   3927   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3928   # We make a subdir and do the tests there.  Otherwise we can end up
   3929   # making bogus files that we don't know about and never remove.  For
   3930   # instance it was reported that on HP-UX the gcc test will end up
   3931   # making a dummy file named 'D' -- because '-MD' means "put the output
   3932   # in D".
   3933   rm -rf conftest.dir
   3934   mkdir conftest.dir
   3935   # Copy depcomp to subdir because otherwise we won't find it if we're
   3936   # using a relative directory.
   3937   cp "$am_depcomp" conftest.dir
   3938   cd conftest.dir
   3939   # We will build objects and dependencies in a subdirectory because
   3940   # it helps to detect inapplicable dependency modes.  For instance
   3941   # both Tru64's cc and ICC support -MD to output dependencies as a
   3942   # side effect of compilation, but ICC will put the dependencies in
   3943   # the current directory while Tru64 will put them in the object
   3944   # directory.
   3945   mkdir sub
   3946 
   3947   am_cv_CC_dependencies_compiler_type=none
   3948   if test "$am_compiler_list" = ""; then
   3949      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3950   fi
   3951   am__universal=false
   3952   case " $depcc " in #(
   3953      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3954      esac
   3955 
   3956   for depmode in $am_compiler_list; do
   3957     # Setup a source with many dependencies, because some compilers
   3958     # like to wrap large dependency lists on column 80 (with \), and
   3959     # we should not choose a depcomp mode which is confused by this.
   3960     #
   3961     # We need to recreate these files for each test, as the compiler may
   3962     # overwrite some of them when testing with obscure command lines.
   3963     # This happens at least with the AIX C compiler.
   3964     : > sub/conftest.c
   3965     for i in 1 2 3 4 5 6; do
   3966       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3967       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3968       # Solaris 10 /bin/sh.
   3969       echo '/* dummy */' > sub/conftst$i.h
   3970     done
   3971     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3972 
   3973     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3974     # mode.  It turns out that the SunPro C++ compiler does not properly
   3975     # handle '-M -o', and we need to detect this.  Also, some Intel
   3976     # versions had trouble with output in subdirs.
   3977     am__obj=sub/conftest.${OBJEXT-o}
   3978     am__minus_obj="-o $am__obj"
   3979     case $depmode in
   3980     gcc)
   3981       # This depmode causes a compiler race in universal mode.
   3982       test "$am__universal" = false || continue
   3983       ;;
   3984     nosideeffect)
   3985       # After this tag, mechanisms are not by side-effect, so they'll
   3986       # only be used when explicitly requested.
   3987       if test "x$enable_dependency_tracking" = xyes; then
   3988 	continue
   3989       else
   3990 	break
   3991       fi
   3992       ;;
   3993     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3994       # This compiler won't grok '-c -o', but also, the minuso test has
   3995       # not run yet.  These depmodes are late enough in the game, and
   3996       # so weak that their functioning should not be impacted.
   3997       am__obj=conftest.${OBJEXT-o}
   3998       am__minus_obj=
   3999       ;;
   4000     none) break ;;
   4001     esac
   4002     if depmode=$depmode \
   4003        source=sub/conftest.c object=$am__obj \
   4004        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4005        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4006          >/dev/null 2>conftest.err &&
   4007        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4008        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4009        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4010        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4011       # icc doesn't choke on unknown options, it will just issue warnings
   4012       # or remarks (even with -Werror).  So we grep stderr for any message
   4013       # that says an option was ignored or not supported.
   4014       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4015       #   icc: Command line warning: ignoring option '-M'; no argument required
   4016       # The diagnosis changed in icc 8.0:
   4017       #   icc: Command line remark: option '-MP' not supported
   4018       if (grep 'ignoring option' conftest.err ||
   4019           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4020         am_cv_CC_dependencies_compiler_type=$depmode
   4021         break
   4022       fi
   4023     fi
   4024   done
   4025 
   4026   cd ..
   4027   rm -rf conftest.dir
   4028 else
   4029   am_cv_CC_dependencies_compiler_type=none
   4030 fi
   4031 
   4032 fi
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4034 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4035 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4036 
   4037  if
   4038   test "x$enable_dependency_tracking" != xno \
   4039   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4040   am__fastdepCC_TRUE=
   4041   am__fastdepCC_FALSE='#'
   4042 else
   4043   am__fastdepCC_TRUE='#'
   4044   am__fastdepCC_FALSE=
   4045 fi
   4046 
   4047 
   4048 
   4049 ac_ext=c
   4050 ac_cpp='$CPP $CPPFLAGS'
   4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4055 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4056 # On Suns, sometimes $CPP names a directory.
   4057 if test -n "$CPP" && test -d "$CPP"; then
   4058   CPP=
   4059 fi
   4060 if test -z "$CPP"; then
   4061   if ${ac_cv_prog_CPP+:} false; then :
   4062   $as_echo_n "(cached) " >&6
   4063 else
   4064       # Double quotes because CPP needs to be expanded
   4065     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4066     do
   4067       ac_preproc_ok=false
   4068 for ac_c_preproc_warn_flag in '' yes
   4069 do
   4070   # Use a header file that comes with gcc, so configuring glibc
   4071   # with a fresh cross-compiler works.
   4072   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4073   # <limits.h> exists even on freestanding compilers.
   4074   # On the NeXT, cc -E runs the code through the compiler's parser,
   4075   # not just through cpp. "Syntax error" is here to catch this case.
   4076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4077 /* end confdefs.h.  */
   4078 #ifdef __STDC__
   4079 # include <limits.h>
   4080 #else
   4081 # include <assert.h>
   4082 #endif
   4083 		     Syntax error
   4084 _ACEOF
   4085 if ac_fn_c_try_cpp "$LINENO"; then :
   4086 
   4087 else
   4088   # Broken: fails on valid input.
   4089 continue
   4090 fi
   4091 rm -f conftest.err conftest.i conftest.$ac_ext
   4092 
   4093   # OK, works on sane cases.  Now check whether nonexistent headers
   4094   # can be detected and how.
   4095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4096 /* end confdefs.h.  */
   4097 #include <ac_nonexistent.h>
   4098 _ACEOF
   4099 if ac_fn_c_try_cpp "$LINENO"; then :
   4100   # Broken: success on invalid input.
   4101 continue
   4102 else
   4103   # Passes both tests.
   4104 ac_preproc_ok=:
   4105 break
   4106 fi
   4107 rm -f conftest.err conftest.i conftest.$ac_ext
   4108 
   4109 done
   4110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4111 rm -f conftest.i conftest.err conftest.$ac_ext
   4112 if $ac_preproc_ok; then :
   4113   break
   4114 fi
   4115 
   4116     done
   4117     ac_cv_prog_CPP=$CPP
   4118 
   4119 fi
   4120   CPP=$ac_cv_prog_CPP
   4121 else
   4122   ac_cv_prog_CPP=$CPP
   4123 fi
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4125 $as_echo "$CPP" >&6; }
   4126 ac_preproc_ok=false
   4127 for ac_c_preproc_warn_flag in '' yes
   4128 do
   4129   # Use a header file that comes with gcc, so configuring glibc
   4130   # with a fresh cross-compiler works.
   4131   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4132   # <limits.h> exists even on freestanding compilers.
   4133   # On the NeXT, cc -E runs the code through the compiler's parser,
   4134   # not just through cpp. "Syntax error" is here to catch this case.
   4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4136 /* end confdefs.h.  */
   4137 #ifdef __STDC__
   4138 # include <limits.h>
   4139 #else
   4140 # include <assert.h>
   4141 #endif
   4142 		     Syntax error
   4143 _ACEOF
   4144 if ac_fn_c_try_cpp "$LINENO"; then :
   4145 
   4146 else
   4147   # Broken: fails on valid input.
   4148 continue
   4149 fi
   4150 rm -f conftest.err conftest.i conftest.$ac_ext
   4151 
   4152   # OK, works on sane cases.  Now check whether nonexistent headers
   4153   # can be detected and how.
   4154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4155 /* end confdefs.h.  */
   4156 #include <ac_nonexistent.h>
   4157 _ACEOF
   4158 if ac_fn_c_try_cpp "$LINENO"; then :
   4159   # Broken: success on invalid input.
   4160 continue
   4161 else
   4162   # Passes both tests.
   4163 ac_preproc_ok=:
   4164 break
   4165 fi
   4166 rm -f conftest.err conftest.i conftest.$ac_ext
   4167 
   4168 done
   4169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4170 rm -f conftest.i conftest.err conftest.$ac_ext
   4171 if $ac_preproc_ok; then :
   4172 
   4173 else
   4174   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4176 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4177 See \`config.log' for more details" "$LINENO" 5; }
   4178 fi
   4179 
   4180 ac_ext=c
   4181 ac_cpp='$CPP $CPPFLAGS'
   4182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4185 
   4186 
   4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4188 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4189 if ${ac_cv_path_GREP+:} false; then :
   4190   $as_echo_n "(cached) " >&6
   4191 else
   4192   if test -z "$GREP"; then
   4193   ac_path_GREP_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 grep ggrep; do
   4201     for ac_exec_ext in '' $ac_executable_extensions; do
   4202       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4203       as_fn_executable_p "$ac_path_GREP" || continue
   4204 # Check for GNU ac_path_GREP and select it if it is found.
   4205   # Check for GNU $ac_path_GREP
   4206 case `"$ac_path_GREP" --version 2>&1` in
   4207 *GNU*)
   4208   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_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 'GREP' >> "conftest.nl"
   4218     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "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_GREP_max-0}; then
   4222       # Best one so far, save it but keep looking for a better one
   4223       ac_cv_path_GREP="$ac_path_GREP"
   4224       ac_path_GREP_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_GREP_found && break 3
   4233     done
   4234   done
   4235   done
   4236 IFS=$as_save_IFS
   4237   if test -z "$ac_cv_path_GREP"; then
   4238     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4239   fi
   4240 else
   4241   ac_cv_path_GREP=$GREP
   4242 fi
   4243 
   4244 fi
   4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4246 $as_echo "$ac_cv_path_GREP" >&6; }
   4247  GREP="$ac_cv_path_GREP"
   4248 
   4249 
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4251 $as_echo_n "checking for egrep... " >&6; }
   4252 if ${ac_cv_path_EGREP+:} false; then :
   4253   $as_echo_n "(cached) " >&6
   4254 else
   4255   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4256    then ac_cv_path_EGREP="$GREP -E"
   4257    else
   4258      if test -z "$EGREP"; then
   4259   ac_path_EGREP_found=false
   4260   # Loop through the user's path and test for each of PROGNAME-LIST
   4261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4263 do
   4264   IFS=$as_save_IFS
   4265   test -z "$as_dir" && as_dir=.
   4266     for ac_prog in egrep; do
   4267     for ac_exec_ext in '' $ac_executable_extensions; do
   4268       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4269       as_fn_executable_p "$ac_path_EGREP" || continue
   4270 # Check for GNU ac_path_EGREP and select it if it is found.
   4271   # Check for GNU $ac_path_EGREP
   4272 case `"$ac_path_EGREP" --version 2>&1` in
   4273 *GNU*)
   4274   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4275 *)
   4276   ac_count=0
   4277   $as_echo_n 0123456789 >"conftest.in"
   4278   while :
   4279   do
   4280     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4281     mv "conftest.tmp" "conftest.in"
   4282     cp "conftest.in" "conftest.nl"
   4283     $as_echo 'EGREP' >> "conftest.nl"
   4284     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4285     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4286     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4287     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4288       # Best one so far, save it but keep looking for a better one
   4289       ac_cv_path_EGREP="$ac_path_EGREP"
   4290       ac_path_EGREP_max=$ac_count
   4291     fi
   4292     # 10*(2^10) chars as input seems more than enough
   4293     test $ac_count -gt 10 && break
   4294   done
   4295   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4296 esac
   4297 
   4298       $ac_path_EGREP_found && break 3
   4299     done
   4300   done
   4301   done
   4302 IFS=$as_save_IFS
   4303   if test -z "$ac_cv_path_EGREP"; then
   4304     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4305   fi
   4306 else
   4307   ac_cv_path_EGREP=$EGREP
   4308 fi
   4309 
   4310    fi
   4311 fi
   4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4313 $as_echo "$ac_cv_path_EGREP" >&6; }
   4314  EGREP="$ac_cv_path_EGREP"
   4315 
   4316 
   4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4318 $as_echo_n "checking for ANSI C header files... " >&6; }
   4319 if ${ac_cv_header_stdc+:} false; then :
   4320   $as_echo_n "(cached) " >&6
   4321 else
   4322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4323 /* end confdefs.h.  */
   4324 #include <stdlib.h>
   4325 #include <stdarg.h>
   4326 #include <string.h>
   4327 #include <float.h>
   4328 
   4329 int
   4330 main ()
   4331 {
   4332 
   4333   ;
   4334   return 0;
   4335 }
   4336 _ACEOF
   4337 if ac_fn_c_try_compile "$LINENO"; then :
   4338   ac_cv_header_stdc=yes
   4339 else
   4340   ac_cv_header_stdc=no
   4341 fi
   4342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4343 
   4344 if test $ac_cv_header_stdc = yes; then
   4345   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4347 /* end confdefs.h.  */
   4348 #include <string.h>
   4349 
   4350 _ACEOF
   4351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4352   $EGREP "memchr" >/dev/null 2>&1; then :
   4353 
   4354 else
   4355   ac_cv_header_stdc=no
   4356 fi
   4357 rm -f conftest*
   4358 
   4359 fi
   4360 
   4361 if test $ac_cv_header_stdc = yes; then
   4362   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4364 /* end confdefs.h.  */
   4365 #include <stdlib.h>
   4366 
   4367 _ACEOF
   4368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4369   $EGREP "free" >/dev/null 2>&1; then :
   4370 
   4371 else
   4372   ac_cv_header_stdc=no
   4373 fi
   4374 rm -f conftest*
   4375 
   4376 fi
   4377 
   4378 if test $ac_cv_header_stdc = yes; then
   4379   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4380   if test "$cross_compiling" = yes; then :
   4381   :
   4382 else
   4383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4384 /* end confdefs.h.  */
   4385 #include <ctype.h>
   4386 #include <stdlib.h>
   4387 #if ((' ' & 0x0FF) == 0x020)
   4388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4390 #else
   4391 # define ISLOWER(c) \
   4392 		   (('a' <= (c) && (c) <= 'i') \
   4393 		     || ('j' <= (c) && (c) <= 'r') \
   4394 		     || ('s' <= (c) && (c) <= 'z'))
   4395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4396 #endif
   4397 
   4398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4399 int
   4400 main ()
   4401 {
   4402   int i;
   4403   for (i = 0; i < 256; i++)
   4404     if (XOR (islower (i), ISLOWER (i))
   4405 	|| toupper (i) != TOUPPER (i))
   4406       return 2;
   4407   return 0;
   4408 }
   4409 _ACEOF
   4410 if ac_fn_c_try_run "$LINENO"; then :
   4411 
   4412 else
   4413   ac_cv_header_stdc=no
   4414 fi
   4415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4416   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4417 fi
   4418 
   4419 fi
   4420 fi
   4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4422 $as_echo "$ac_cv_header_stdc" >&6; }
   4423 if test $ac_cv_header_stdc = yes; then
   4424 
   4425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4426 
   4427 fi
   4428 
   4429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4430 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4431 		  inttypes.h stdint.h unistd.h
   4432 do :
   4433   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4434 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4435 "
   4436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4437   cat >>confdefs.h <<_ACEOF
   4438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4439 _ACEOF
   4440 
   4441 fi
   4442 
   4443 done
   4444 
   4445 
   4446 
   4447   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4448 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4449   MINIX=yes
   4450 else
   4451   MINIX=
   4452 fi
   4453 
   4454 
   4455   if test "$MINIX" = yes; then
   4456 
   4457 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4458 
   4459 
   4460 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4461 
   4462 
   4463 $as_echo "#define _MINIX 1" >>confdefs.h
   4464 
   4465   fi
   4466 
   4467 
   4468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4469 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4470 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4471   $as_echo_n "(cached) " >&6
   4472 else
   4473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4474 /* end confdefs.h.  */
   4475 
   4476 #         define __EXTENSIONS__ 1
   4477           $ac_includes_default
   4478 int
   4479 main ()
   4480 {
   4481 
   4482   ;
   4483   return 0;
   4484 }
   4485 _ACEOF
   4486 if ac_fn_c_try_compile "$LINENO"; then :
   4487   ac_cv_safe_to_define___extensions__=yes
   4488 else
   4489   ac_cv_safe_to_define___extensions__=no
   4490 fi
   4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4492 fi
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4494 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4495   test $ac_cv_safe_to_define___extensions__ = yes &&
   4496     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4497 
   4498   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4499 
   4500   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4501 
   4502   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4503 
   4504   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4505 
   4506 
   4507 for ac_func in __secure_getenv secure_getenv
   4508 do :
   4509   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   4510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   4511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   4512   cat >>confdefs.h <<_ACEOF
   4513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   4514 _ACEOF
   4515 
   4516 fi
   4517 done
   4518 
   4519 
   4520 # Disable static libraries by default.  Use --enable-static if you really want
   4521 # them.
   4522 # Check whether --enable-static was given.
   4523 if test "${enable_static+set}" = set; then :
   4524   enableval=$enable_static; p=${PACKAGE-default}
   4525     case $enableval in
   4526     yes) enable_static=yes ;;
   4527     no) enable_static=no ;;
   4528     *)
   4529      enable_static=no
   4530       # Look at the argument we got.  We use all the common list separators.
   4531       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   4532       for pkg in $enableval; do
   4533 	IFS=$lt_save_ifs
   4534 	if test "X$pkg" = "X$p"; then
   4535 	  enable_static=yes
   4536 	fi
   4537       done
   4538       IFS=$lt_save_ifs
   4539       ;;
   4540     esac
   4541 else
   4542   enable_static=no
   4543 fi
   4544 
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 # Check for programs.
   4555 ac_ext=c
   4556 ac_cpp='$CPP $CPPFLAGS'
   4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4560 if test -n "$ac_tool_prefix"; then
   4561   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4562 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4564 $as_echo_n "checking for $ac_word... " >&6; }
   4565 if ${ac_cv_prog_CC+:} false; then :
   4566   $as_echo_n "(cached) " >&6
   4567 else
   4568   if test -n "$CC"; then
   4569   ac_cv_prog_CC="$CC" # Let the user override the test.
   4570 else
   4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4572 for as_dir in $PATH
   4573 do
   4574   IFS=$as_save_IFS
   4575   test -z "$as_dir" && as_dir=.
   4576     for ac_exec_ext in '' $ac_executable_extensions; do
   4577   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4578     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4580     break 2
   4581   fi
   4582 done
   4583   done
   4584 IFS=$as_save_IFS
   4585 
   4586 fi
   4587 fi
   4588 CC=$ac_cv_prog_CC
   4589 if test -n "$CC"; then
   4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4591 $as_echo "$CC" >&6; }
   4592 else
   4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4594 $as_echo "no" >&6; }
   4595 fi
   4596 
   4597 
   4598 fi
   4599 if test -z "$ac_cv_prog_CC"; then
   4600   ac_ct_CC=$CC
   4601   # Extract the first word of "gcc", so it can be a program name with args.
   4602 set dummy gcc; ac_word=$2
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4604 $as_echo_n "checking for $ac_word... " >&6; }
   4605 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4606   $as_echo_n "(cached) " >&6
   4607 else
   4608   if test -n "$ac_ct_CC"; then
   4609   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4610 else
   4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4612 for as_dir in $PATH
   4613 do
   4614   IFS=$as_save_IFS
   4615   test -z "$as_dir" && as_dir=.
   4616     for ac_exec_ext in '' $ac_executable_extensions; do
   4617   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4618     ac_cv_prog_ac_ct_CC="gcc"
   4619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4620     break 2
   4621   fi
   4622 done
   4623   done
   4624 IFS=$as_save_IFS
   4625 
   4626 fi
   4627 fi
   4628 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4629 if test -n "$ac_ct_CC"; then
   4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4631 $as_echo "$ac_ct_CC" >&6; }
   4632 else
   4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4634 $as_echo "no" >&6; }
   4635 fi
   4636 
   4637   if test "x$ac_ct_CC" = x; then
   4638     CC=""
   4639   else
   4640     case $cross_compiling:$ac_tool_warned in
   4641 yes:)
   4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4644 ac_tool_warned=yes ;;
   4645 esac
   4646     CC=$ac_ct_CC
   4647   fi
   4648 else
   4649   CC="$ac_cv_prog_CC"
   4650 fi
   4651 
   4652 if test -z "$CC"; then
   4653           if test -n "$ac_tool_prefix"; then
   4654     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4655 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4657 $as_echo_n "checking for $ac_word... " >&6; }
   4658 if ${ac_cv_prog_CC+:} false; then :
   4659   $as_echo_n "(cached) " >&6
   4660 else
   4661   if test -n "$CC"; then
   4662   ac_cv_prog_CC="$CC" # Let the user override the test.
   4663 else
   4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4665 for as_dir in $PATH
   4666 do
   4667   IFS=$as_save_IFS
   4668   test -z "$as_dir" && as_dir=.
   4669     for ac_exec_ext in '' $ac_executable_extensions; do
   4670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4671     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4673     break 2
   4674   fi
   4675 done
   4676   done
   4677 IFS=$as_save_IFS
   4678 
   4679 fi
   4680 fi
   4681 CC=$ac_cv_prog_CC
   4682 if test -n "$CC"; then
   4683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4684 $as_echo "$CC" >&6; }
   4685 else
   4686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4687 $as_echo "no" >&6; }
   4688 fi
   4689 
   4690 
   4691   fi
   4692 fi
   4693 if test -z "$CC"; then
   4694   # Extract the first word of "cc", so it can be a program name with args.
   4695 set dummy cc; ac_word=$2
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4697 $as_echo_n "checking for $ac_word... " >&6; }
   4698 if ${ac_cv_prog_CC+:} false; then :
   4699   $as_echo_n "(cached) " >&6
   4700 else
   4701   if test -n "$CC"; then
   4702   ac_cv_prog_CC="$CC" # Let the user override the test.
   4703 else
   4704   ac_prog_rejected=no
   4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4706 for as_dir in $PATH
   4707 do
   4708   IFS=$as_save_IFS
   4709   test -z "$as_dir" && as_dir=.
   4710     for ac_exec_ext in '' $ac_executable_extensions; do
   4711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4712     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4713        ac_prog_rejected=yes
   4714        continue
   4715      fi
   4716     ac_cv_prog_CC="cc"
   4717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4718     break 2
   4719   fi
   4720 done
   4721   done
   4722 IFS=$as_save_IFS
   4723 
   4724 if test $ac_prog_rejected = yes; then
   4725   # We found a bogon in the path, so make sure we never use it.
   4726   set dummy $ac_cv_prog_CC
   4727   shift
   4728   if test $# != 0; then
   4729     # We chose a different compiler from the bogus one.
   4730     # However, it has the same basename, so the bogon will be chosen
   4731     # first if we set CC to just the basename; use the full file name.
   4732     shift
   4733     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4734   fi
   4735 fi
   4736 fi
   4737 fi
   4738 CC=$ac_cv_prog_CC
   4739 if test -n "$CC"; then
   4740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4741 $as_echo "$CC" >&6; }
   4742 else
   4743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4744 $as_echo "no" >&6; }
   4745 fi
   4746 
   4747 
   4748 fi
   4749 if test -z "$CC"; then
   4750   if test -n "$ac_tool_prefix"; then
   4751   for ac_prog in cl.exe
   4752   do
   4753     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4754 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4756 $as_echo_n "checking for $ac_word... " >&6; }
   4757 if ${ac_cv_prog_CC+:} false; then :
   4758   $as_echo_n "(cached) " >&6
   4759 else
   4760   if test -n "$CC"; then
   4761   ac_cv_prog_CC="$CC" # Let the user override the test.
   4762 else
   4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4764 for as_dir in $PATH
   4765 do
   4766   IFS=$as_save_IFS
   4767   test -z "$as_dir" && as_dir=.
   4768     for ac_exec_ext in '' $ac_executable_extensions; do
   4769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4770     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4772     break 2
   4773   fi
   4774 done
   4775   done
   4776 IFS=$as_save_IFS
   4777 
   4778 fi
   4779 fi
   4780 CC=$ac_cv_prog_CC
   4781 if test -n "$CC"; then
   4782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4783 $as_echo "$CC" >&6; }
   4784 else
   4785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4786 $as_echo "no" >&6; }
   4787 fi
   4788 
   4789 
   4790     test -n "$CC" && break
   4791   done
   4792 fi
   4793 if test -z "$CC"; then
   4794   ac_ct_CC=$CC
   4795   for ac_prog in cl.exe
   4796 do
   4797   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4798 set dummy $ac_prog; ac_word=$2
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4800 $as_echo_n "checking for $ac_word... " >&6; }
   4801 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4802   $as_echo_n "(cached) " >&6
   4803 else
   4804   if test -n "$ac_ct_CC"; then
   4805   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4806 else
   4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4808 for as_dir in $PATH
   4809 do
   4810   IFS=$as_save_IFS
   4811   test -z "$as_dir" && as_dir=.
   4812     for ac_exec_ext in '' $ac_executable_extensions; do
   4813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4814     ac_cv_prog_ac_ct_CC="$ac_prog"
   4815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4816     break 2
   4817   fi
   4818 done
   4819   done
   4820 IFS=$as_save_IFS
   4821 
   4822 fi
   4823 fi
   4824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4825 if test -n "$ac_ct_CC"; then
   4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4827 $as_echo "$ac_ct_CC" >&6; }
   4828 else
   4829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4830 $as_echo "no" >&6; }
   4831 fi
   4832 
   4833 
   4834   test -n "$ac_ct_CC" && break
   4835 done
   4836 
   4837   if test "x$ac_ct_CC" = x; then
   4838     CC=""
   4839   else
   4840     case $cross_compiling:$ac_tool_warned in
   4841 yes:)
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4844 ac_tool_warned=yes ;;
   4845 esac
   4846     CC=$ac_ct_CC
   4847   fi
   4848 fi
   4849 
   4850 fi
   4851 
   4852 
   4853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4855 as_fn_error $? "no acceptable C compiler found in \$PATH
   4856 See \`config.log' for more details" "$LINENO" 5; }
   4857 
   4858 # Provide some information about the compiler.
   4859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4860 set X $ac_compile
   4861 ac_compiler=$2
   4862 for ac_option in --version -v -V -qversion; do
   4863   { { ac_try="$ac_compiler $ac_option >&5"
   4864 case "(($ac_try" in
   4865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4866   *) ac_try_echo=$ac_try;;
   4867 esac
   4868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4869 $as_echo "$ac_try_echo"; } >&5
   4870   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4871   ac_status=$?
   4872   if test -s conftest.err; then
   4873     sed '10a\
   4874 ... rest of stderr output deleted ...
   4875          10q' conftest.err >conftest.er1
   4876     cat conftest.er1 >&5
   4877   fi
   4878   rm -f conftest.er1 conftest.err
   4879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4880   test $ac_status = 0; }
   4881 done
   4882 
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4884 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4885 if ${ac_cv_c_compiler_gnu+:} false; then :
   4886   $as_echo_n "(cached) " >&6
   4887 else
   4888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4889 /* end confdefs.h.  */
   4890 
   4891 int
   4892 main ()
   4893 {
   4894 #ifndef __GNUC__
   4895        choke me
   4896 #endif
   4897 
   4898   ;
   4899   return 0;
   4900 }
   4901 _ACEOF
   4902 if ac_fn_c_try_compile "$LINENO"; then :
   4903   ac_compiler_gnu=yes
   4904 else
   4905   ac_compiler_gnu=no
   4906 fi
   4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4908 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4909 
   4910 fi
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4912 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4913 if test $ac_compiler_gnu = yes; then
   4914   GCC=yes
   4915 else
   4916   GCC=
   4917 fi
   4918 ac_test_CFLAGS=${CFLAGS+set}
   4919 ac_save_CFLAGS=$CFLAGS
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4921 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4922 if ${ac_cv_prog_cc_g+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   ac_save_c_werror_flag=$ac_c_werror_flag
   4926    ac_c_werror_flag=yes
   4927    ac_cv_prog_cc_g=no
   4928    CFLAGS="-g"
   4929    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 
   4932 int
   4933 main ()
   4934 {
   4935 
   4936   ;
   4937   return 0;
   4938 }
   4939 _ACEOF
   4940 if ac_fn_c_try_compile "$LINENO"; then :
   4941   ac_cv_prog_cc_g=yes
   4942 else
   4943   CFLAGS=""
   4944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4945 /* end confdefs.h.  */
   4946 
   4947 int
   4948 main ()
   4949 {
   4950 
   4951   ;
   4952   return 0;
   4953 }
   4954 _ACEOF
   4955 if ac_fn_c_try_compile "$LINENO"; then :
   4956 
   4957 else
   4958   ac_c_werror_flag=$ac_save_c_werror_flag
   4959 	 CFLAGS="-g"
   4960 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 
   4963 int
   4964 main ()
   4965 {
   4966 
   4967   ;
   4968   return 0;
   4969 }
   4970 _ACEOF
   4971 if ac_fn_c_try_compile "$LINENO"; then :
   4972   ac_cv_prog_cc_g=yes
   4973 fi
   4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4977 fi
   4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4979    ac_c_werror_flag=$ac_save_c_werror_flag
   4980 fi
   4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4982 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4983 if test "$ac_test_CFLAGS" = set; then
   4984   CFLAGS=$ac_save_CFLAGS
   4985 elif test $ac_cv_prog_cc_g = yes; then
   4986   if test "$GCC" = yes; then
   4987     CFLAGS="-g -O2"
   4988   else
   4989     CFLAGS="-g"
   4990   fi
   4991 else
   4992   if test "$GCC" = yes; then
   4993     CFLAGS="-O2"
   4994   else
   4995     CFLAGS=
   4996   fi
   4997 fi
   4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4999 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5000 if ${ac_cv_prog_cc_c89+:} false; then :
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   ac_cv_prog_cc_c89=no
   5004 ac_save_CC=$CC
   5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5006 /* end confdefs.h.  */
   5007 #include <stdarg.h>
   5008 #include <stdio.h>
   5009 struct stat;
   5010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5011 struct buf { int x; };
   5012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5013 static char *e (p, i)
   5014      char **p;
   5015      int i;
   5016 {
   5017   return p[i];
   5018 }
   5019 static char *f (char * (*g) (char **, int), char **p, ...)
   5020 {
   5021   char *s;
   5022   va_list v;
   5023   va_start (v,p);
   5024   s = g (p, va_arg (v,int));
   5025   va_end (v);
   5026   return s;
   5027 }
   5028 
   5029 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5030    function prototypes and stuff, but not '\xHH' hex character constants.
   5031    These don't provoke an error unfortunately, instead are silently treated
   5032    as 'x'.  The following induces an error, until -std is added to get
   5033    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5034    array size at least.  It's necessary to write '\x00'==0 to get something
   5035    that's true only with -std.  */
   5036 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5037 
   5038 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5039    inside strings and character constants.  */
   5040 #define FOO(x) 'x'
   5041 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5042 
   5043 int test (int i, double x);
   5044 struct s1 {int (*f) (int a);};
   5045 struct s2 {int (*f) (double a);};
   5046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5047 int argc;
   5048 char **argv;
   5049 int
   5050 main ()
   5051 {
   5052 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5053   ;
   5054   return 0;
   5055 }
   5056 _ACEOF
   5057 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5058 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5059 do
   5060   CC="$ac_save_CC $ac_arg"
   5061   if ac_fn_c_try_compile "$LINENO"; then :
   5062   ac_cv_prog_cc_c89=$ac_arg
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext
   5065   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5066 done
   5067 rm -f conftest.$ac_ext
   5068 CC=$ac_save_CC
   5069 
   5070 fi
   5071 # AC_CACHE_VAL
   5072 case "x$ac_cv_prog_cc_c89" in
   5073   x)
   5074     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5075 $as_echo "none needed" >&6; } ;;
   5076   xno)
   5077     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5078 $as_echo "unsupported" >&6; } ;;
   5079   *)
   5080     CC="$CC $ac_cv_prog_cc_c89"
   5081     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5083 esac
   5084 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5085 
   5086 fi
   5087 
   5088 ac_ext=c
   5089 ac_cpp='$CPP $CPPFLAGS'
   5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5093 
   5094 ac_ext=c
   5095 ac_cpp='$CPP $CPPFLAGS'
   5096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5100 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5101 if ${am_cv_prog_cc_c_o+:} false; then :
   5102   $as_echo_n "(cached) " >&6
   5103 else
   5104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5105 /* end confdefs.h.  */
   5106 
   5107 int
   5108 main ()
   5109 {
   5110 
   5111   ;
   5112   return 0;
   5113 }
   5114 _ACEOF
   5115   # Make sure it works both with $CC and with simple cc.
   5116   # Following AC_PROG_CC_C_O, we do the test twice because some
   5117   # compilers refuse to overwrite an existing .o file with -o,
   5118   # though they will create one.
   5119   am_cv_prog_cc_c_o=yes
   5120   for am_i in 1 2; do
   5121     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5122    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5123    ac_status=$?
   5124    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5125    (exit $ac_status); } \
   5126          && test -f conftest2.$ac_objext; then
   5127       : OK
   5128     else
   5129       am_cv_prog_cc_c_o=no
   5130       break
   5131     fi
   5132   done
   5133   rm -f core conftest*
   5134   unset am_i
   5135 fi
   5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5137 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5138 if test "$am_cv_prog_cc_c_o" != yes; then
   5139    # Losing compiler, so override with the script.
   5140    # FIXME: It is wrong to rewrite CC.
   5141    # But if we don't then we get into trouble of one sort or another.
   5142    # A longer-term fix would be to have automake use am__CC in this case,
   5143    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5144    CC="$am_aux_dir/compile $CC"
   5145 fi
   5146 ac_ext=c
   5147 ac_cpp='$CPP $CPPFLAGS'
   5148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5151 
   5152 
   5153 depcc="$CC"   am_compiler_list=
   5154 
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5156 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5157 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5161   # We make a subdir and do the tests there.  Otherwise we can end up
   5162   # making bogus files that we don't know about and never remove.  For
   5163   # instance it was reported that on HP-UX the gcc test will end up
   5164   # making a dummy file named 'D' -- because '-MD' means "put the output
   5165   # in D".
   5166   rm -rf conftest.dir
   5167   mkdir conftest.dir
   5168   # Copy depcomp to subdir because otherwise we won't find it if we're
   5169   # using a relative directory.
   5170   cp "$am_depcomp" conftest.dir
   5171   cd conftest.dir
   5172   # We will build objects and dependencies in a subdirectory because
   5173   # it helps to detect inapplicable dependency modes.  For instance
   5174   # both Tru64's cc and ICC support -MD to output dependencies as a
   5175   # side effect of compilation, but ICC will put the dependencies in
   5176   # the current directory while Tru64 will put them in the object
   5177   # directory.
   5178   mkdir sub
   5179 
   5180   am_cv_CC_dependencies_compiler_type=none
   5181   if test "$am_compiler_list" = ""; then
   5182      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5183   fi
   5184   am__universal=false
   5185   case " $depcc " in #(
   5186      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5187      esac
   5188 
   5189   for depmode in $am_compiler_list; do
   5190     # Setup a source with many dependencies, because some compilers
   5191     # like to wrap large dependency lists on column 80 (with \), and
   5192     # we should not choose a depcomp mode which is confused by this.
   5193     #
   5194     # We need to recreate these files for each test, as the compiler may
   5195     # overwrite some of them when testing with obscure command lines.
   5196     # This happens at least with the AIX C compiler.
   5197     : > sub/conftest.c
   5198     for i in 1 2 3 4 5 6; do
   5199       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5200       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5201       # Solaris 10 /bin/sh.
   5202       echo '/* dummy */' > sub/conftst$i.h
   5203     done
   5204     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5205 
   5206     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5207     # mode.  It turns out that the SunPro C++ compiler does not properly
   5208     # handle '-M -o', and we need to detect this.  Also, some Intel
   5209     # versions had trouble with output in subdirs.
   5210     am__obj=sub/conftest.${OBJEXT-o}
   5211     am__minus_obj="-o $am__obj"
   5212     case $depmode in
   5213     gcc)
   5214       # This depmode causes a compiler race in universal mode.
   5215       test "$am__universal" = false || continue
   5216       ;;
   5217     nosideeffect)
   5218       # After this tag, mechanisms are not by side-effect, so they'll
   5219       # only be used when explicitly requested.
   5220       if test "x$enable_dependency_tracking" = xyes; then
   5221 	continue
   5222       else
   5223 	break
   5224       fi
   5225       ;;
   5226     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5227       # This compiler won't grok '-c -o', but also, the minuso test has
   5228       # not run yet.  These depmodes are late enough in the game, and
   5229       # so weak that their functioning should not be impacted.
   5230       am__obj=conftest.${OBJEXT-o}
   5231       am__minus_obj=
   5232       ;;
   5233     none) break ;;
   5234     esac
   5235     if depmode=$depmode \
   5236        source=sub/conftest.c object=$am__obj \
   5237        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5238        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5239          >/dev/null 2>conftest.err &&
   5240        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5241        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5242        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5243        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5244       # icc doesn't choke on unknown options, it will just issue warnings
   5245       # or remarks (even with -Werror).  So we grep stderr for any message
   5246       # that says an option was ignored or not supported.
   5247       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5248       #   icc: Command line warning: ignoring option '-M'; no argument required
   5249       # The diagnosis changed in icc 8.0:
   5250       #   icc: Command line remark: option '-MP' not supported
   5251       if (grep 'ignoring option' conftest.err ||
   5252           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5253         am_cv_CC_dependencies_compiler_type=$depmode
   5254         break
   5255       fi
   5256     fi
   5257   done
   5258 
   5259   cd ..
   5260   rm -rf conftest.dir
   5261 else
   5262   am_cv_CC_dependencies_compiler_type=none
   5263 fi
   5264 
   5265 fi
   5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5267 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5268 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5269 
   5270  if
   5271   test "x$enable_dependency_tracking" != xno \
   5272   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5273   am__fastdepCC_TRUE=
   5274   am__fastdepCC_FALSE='#'
   5275 else
   5276   am__fastdepCC_TRUE='#'
   5277   am__fastdepCC_FALSE=
   5278 fi
   5279 
   5280 
   5281 ac_ext=cpp
   5282 ac_cpp='$CXXCPP $CPPFLAGS'
   5283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5286 if test -z "$CXX"; then
   5287   if test -n "$CCC"; then
   5288     CXX=$CCC
   5289   else
   5290     if test -n "$ac_tool_prefix"; then
   5291   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5292   do
   5293     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5294 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5296 $as_echo_n "checking for $ac_word... " >&6; }
   5297 if ${ac_cv_prog_CXX+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   if test -n "$CXX"; then
   5301   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5302 else
   5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5304 for as_dir in $PATH
   5305 do
   5306   IFS=$as_save_IFS
   5307   test -z "$as_dir" && as_dir=.
   5308     for ac_exec_ext in '' $ac_executable_extensions; do
   5309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5310     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5312     break 2
   5313   fi
   5314 done
   5315   done
   5316 IFS=$as_save_IFS
   5317 
   5318 fi
   5319 fi
   5320 CXX=$ac_cv_prog_CXX
   5321 if test -n "$CXX"; then
   5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5323 $as_echo "$CXX" >&6; }
   5324 else
   5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5326 $as_echo "no" >&6; }
   5327 fi
   5328 
   5329 
   5330     test -n "$CXX" && break
   5331   done
   5332 fi
   5333 if test -z "$CXX"; then
   5334   ac_ct_CXX=$CXX
   5335   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5336 do
   5337   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5338 set dummy $ac_prog; ac_word=$2
   5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5340 $as_echo_n "checking for $ac_word... " >&6; }
   5341 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5342   $as_echo_n "(cached) " >&6
   5343 else
   5344   if test -n "$ac_ct_CXX"; then
   5345   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5346 else
   5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5348 for as_dir in $PATH
   5349 do
   5350   IFS=$as_save_IFS
   5351   test -z "$as_dir" && as_dir=.
   5352     for ac_exec_ext in '' $ac_executable_extensions; do
   5353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5354     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5356     break 2
   5357   fi
   5358 done
   5359   done
   5360 IFS=$as_save_IFS
   5361 
   5362 fi
   5363 fi
   5364 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5365 if test -n "$ac_ct_CXX"; then
   5366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5367 $as_echo "$ac_ct_CXX" >&6; }
   5368 else
   5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5370 $as_echo "no" >&6; }
   5371 fi
   5372 
   5373 
   5374   test -n "$ac_ct_CXX" && break
   5375 done
   5376 
   5377   if test "x$ac_ct_CXX" = x; then
   5378     CXX="g++"
   5379   else
   5380     case $cross_compiling:$ac_tool_warned in
   5381 yes:)
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5384 ac_tool_warned=yes ;;
   5385 esac
   5386     CXX=$ac_ct_CXX
   5387   fi
   5388 fi
   5389 
   5390   fi
   5391 fi
   5392 # Provide some information about the compiler.
   5393 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5394 set X $ac_compile
   5395 ac_compiler=$2
   5396 for ac_option in --version -v -V -qversion; do
   5397   { { ac_try="$ac_compiler $ac_option >&5"
   5398 case "(($ac_try" in
   5399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5400   *) ac_try_echo=$ac_try;;
   5401 esac
   5402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5403 $as_echo "$ac_try_echo"; } >&5
   5404   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5405   ac_status=$?
   5406   if test -s conftest.err; then
   5407     sed '10a\
   5408 ... rest of stderr output deleted ...
   5409          10q' conftest.err >conftest.er1
   5410     cat conftest.er1 >&5
   5411   fi
   5412   rm -f conftest.er1 conftest.err
   5413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5414   test $ac_status = 0; }
   5415 done
   5416 
   5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5418 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5419 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5420   $as_echo_n "(cached) " >&6
   5421 else
   5422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5423 /* end confdefs.h.  */
   5424 
   5425 int
   5426 main ()
   5427 {
   5428 #ifndef __GNUC__
   5429        choke me
   5430 #endif
   5431 
   5432   ;
   5433   return 0;
   5434 }
   5435 _ACEOF
   5436 if ac_fn_cxx_try_compile "$LINENO"; then :
   5437   ac_compiler_gnu=yes
   5438 else
   5439   ac_compiler_gnu=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5442 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5443 
   5444 fi
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5446 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5447 if test $ac_compiler_gnu = yes; then
   5448   GXX=yes
   5449 else
   5450   GXX=
   5451 fi
   5452 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5453 ac_save_CXXFLAGS=$CXXFLAGS
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5455 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5456 if ${ac_cv_prog_cxx_g+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5460    ac_cxx_werror_flag=yes
   5461    ac_cv_prog_cxx_g=no
   5462    CXXFLAGS="-g"
   5463    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5464 /* end confdefs.h.  */
   5465 
   5466 int
   5467 main ()
   5468 {
   5469 
   5470   ;
   5471   return 0;
   5472 }
   5473 _ACEOF
   5474 if ac_fn_cxx_try_compile "$LINENO"; then :
   5475   ac_cv_prog_cxx_g=yes
   5476 else
   5477   CXXFLAGS=""
   5478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 
   5481 int
   5482 main ()
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 if ac_fn_cxx_try_compile "$LINENO"; then :
   5490 
   5491 else
   5492   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5493 	 CXXFLAGS="-g"
   5494 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 
   5497 int
   5498 main ()
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_cxx_try_compile "$LINENO"; then :
   5506   ac_cv_prog_cxx_g=yes
   5507 fi
   5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5509 fi
   5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5511 fi
   5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5513    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5514 fi
   5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5516 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5517 if test "$ac_test_CXXFLAGS" = set; then
   5518   CXXFLAGS=$ac_save_CXXFLAGS
   5519 elif test $ac_cv_prog_cxx_g = yes; then
   5520   if test "$GXX" = yes; then
   5521     CXXFLAGS="-g -O2"
   5522   else
   5523     CXXFLAGS="-g"
   5524   fi
   5525 else
   5526   if test "$GXX" = yes; then
   5527     CXXFLAGS="-O2"
   5528   else
   5529     CXXFLAGS=
   5530   fi
   5531 fi
   5532 ac_ext=c
   5533 ac_cpp='$CPP $CPPFLAGS'
   5534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5537 
   5538 depcc="$CXX"  am_compiler_list=
   5539 
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5541 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5542 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5543   $as_echo_n "(cached) " >&6
   5544 else
   5545   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5546   # We make a subdir and do the tests there.  Otherwise we can end up
   5547   # making bogus files that we don't know about and never remove.  For
   5548   # instance it was reported that on HP-UX the gcc test will end up
   5549   # making a dummy file named 'D' -- because '-MD' means "put the output
   5550   # in D".
   5551   rm -rf conftest.dir
   5552   mkdir conftest.dir
   5553   # Copy depcomp to subdir because otherwise we won't find it if we're
   5554   # using a relative directory.
   5555   cp "$am_depcomp" conftest.dir
   5556   cd conftest.dir
   5557   # We will build objects and dependencies in a subdirectory because
   5558   # it helps to detect inapplicable dependency modes.  For instance
   5559   # both Tru64's cc and ICC support -MD to output dependencies as a
   5560   # side effect of compilation, but ICC will put the dependencies in
   5561   # the current directory while Tru64 will put them in the object
   5562   # directory.
   5563   mkdir sub
   5564 
   5565   am_cv_CXX_dependencies_compiler_type=none
   5566   if test "$am_compiler_list" = ""; then
   5567      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5568   fi
   5569   am__universal=false
   5570   case " $depcc " in #(
   5571      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5572      esac
   5573 
   5574   for depmode in $am_compiler_list; do
   5575     # Setup a source with many dependencies, because some compilers
   5576     # like to wrap large dependency lists on column 80 (with \), and
   5577     # we should not choose a depcomp mode which is confused by this.
   5578     #
   5579     # We need to recreate these files for each test, as the compiler may
   5580     # overwrite some of them when testing with obscure command lines.
   5581     # This happens at least with the AIX C compiler.
   5582     : > sub/conftest.c
   5583     for i in 1 2 3 4 5 6; do
   5584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5585       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5586       # Solaris 10 /bin/sh.
   5587       echo '/* dummy */' > sub/conftst$i.h
   5588     done
   5589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5590 
   5591     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5592     # mode.  It turns out that the SunPro C++ compiler does not properly
   5593     # handle '-M -o', and we need to detect this.  Also, some Intel
   5594     # versions had trouble with output in subdirs.
   5595     am__obj=sub/conftest.${OBJEXT-o}
   5596     am__minus_obj="-o $am__obj"
   5597     case $depmode in
   5598     gcc)
   5599       # This depmode causes a compiler race in universal mode.
   5600       test "$am__universal" = false || continue
   5601       ;;
   5602     nosideeffect)
   5603       # After this tag, mechanisms are not by side-effect, so they'll
   5604       # only be used when explicitly requested.
   5605       if test "x$enable_dependency_tracking" = xyes; then
   5606 	continue
   5607       else
   5608 	break
   5609       fi
   5610       ;;
   5611     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5612       # This compiler won't grok '-c -o', but also, the minuso test has
   5613       # not run yet.  These depmodes are late enough in the game, and
   5614       # so weak that their functioning should not be impacted.
   5615       am__obj=conftest.${OBJEXT-o}
   5616       am__minus_obj=
   5617       ;;
   5618     none) break ;;
   5619     esac
   5620     if depmode=$depmode \
   5621        source=sub/conftest.c object=$am__obj \
   5622        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5623        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5624          >/dev/null 2>conftest.err &&
   5625        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5626        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5627        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5628        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5629       # icc doesn't choke on unknown options, it will just issue warnings
   5630       # or remarks (even with -Werror).  So we grep stderr for any message
   5631       # that says an option was ignored or not supported.
   5632       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5633       #   icc: Command line warning: ignoring option '-M'; no argument required
   5634       # The diagnosis changed in icc 8.0:
   5635       #   icc: Command line remark: option '-MP' not supported
   5636       if (grep 'ignoring option' conftest.err ||
   5637           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5638         am_cv_CXX_dependencies_compiler_type=$depmode
   5639         break
   5640       fi
   5641     fi
   5642   done
   5643 
   5644   cd ..
   5645   rm -rf conftest.dir
   5646 else
   5647   am_cv_CXX_dependencies_compiler_type=none
   5648 fi
   5649 
   5650 fi
   5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5652 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5653 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5654 
   5655  if
   5656   test "x$enable_dependency_tracking" != xno \
   5657   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5658   am__fastdepCXX_TRUE=
   5659   am__fastdepCXX_FALSE='#'
   5660 else
   5661   am__fastdepCXX_TRUE='#'
   5662   am__fastdepCXX_FALSE=
   5663 fi
   5664 
   5665 
   5666 case `pwd` in
   5667   *\ * | *\	*)
   5668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5669 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5670 esac
   5671 
   5672 
   5673 
   5674 macro_version='2.4.6.42-b88ce'
   5675 macro_revision='2.4.6.42'
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 ltmain=$ac_aux_dir/ltmain.sh
   5690 
   5691 # Make sure we can run config.sub.
   5692 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5693   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5694 
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5696 $as_echo_n "checking build system type... " >&6; }
   5697 if ${ac_cv_build+:} false; then :
   5698   $as_echo_n "(cached) " >&6
   5699 else
   5700   ac_build_alias=$build_alias
   5701 test "x$ac_build_alias" = x &&
   5702   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5703 test "x$ac_build_alias" = x &&
   5704   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5705 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5706   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5707 
   5708 fi
   5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5710 $as_echo "$ac_cv_build" >&6; }
   5711 case $ac_cv_build in
   5712 *-*-*) ;;
   5713 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5714 esac
   5715 build=$ac_cv_build
   5716 ac_save_IFS=$IFS; IFS='-'
   5717 set x $ac_cv_build
   5718 shift
   5719 build_cpu=$1
   5720 build_vendor=$2
   5721 shift; shift
   5722 # Remember, the first character of IFS is used to create $*,
   5723 # except with old shells:
   5724 build_os=$*
   5725 IFS=$ac_save_IFS
   5726 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5727 
   5728 
   5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5730 $as_echo_n "checking host system type... " >&6; }
   5731 if ${ac_cv_host+:} false; then :
   5732   $as_echo_n "(cached) " >&6
   5733 else
   5734   if test "x$host_alias" = x; then
   5735   ac_cv_host=$ac_cv_build
   5736 else
   5737   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5738     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5739 fi
   5740 
   5741 fi
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5743 $as_echo "$ac_cv_host" >&6; }
   5744 case $ac_cv_host in
   5745 *-*-*) ;;
   5746 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5747 esac
   5748 host=$ac_cv_host
   5749 ac_save_IFS=$IFS; IFS='-'
   5750 set x $ac_cv_host
   5751 shift
   5752 host_cpu=$1
   5753 host_vendor=$2
   5754 shift; shift
   5755 # Remember, the first character of IFS is used to create $*,
   5756 # except with old shells:
   5757 host_os=$*
   5758 IFS=$ac_save_IFS
   5759 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5760 
   5761 
   5762 # Backslashify metacharacters that are still active within
   5763 # double-quoted strings.
   5764 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5765 
   5766 # Same as above, but do not quote variable references.
   5767 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5768 
   5769 # Sed substitution to delay expansion of an escaped shell variable in a
   5770 # double_quote_subst'ed string.
   5771 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5772 
   5773 # Sed substitution to delay expansion of an escaped single quote.
   5774 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5775 
   5776 # Sed substitution to avoid accidental globbing in evaled expressions
   5777 no_glob_subst='s/\*/\\\*/g'
   5778 
   5779 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5780 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5781 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5782 
   5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5784 $as_echo_n "checking how to print strings... " >&6; }
   5785 # Test print first, because it will be a builtin if present.
   5786 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5787    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5788   ECHO='print -r --'
   5789 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5790   ECHO='printf %s\n'
   5791 else
   5792   # Use this function as a fallback that always works.
   5793   func_fallback_echo ()
   5794   {
   5795     eval 'cat <<_LTECHO_EOF
   5796 $1
   5797 _LTECHO_EOF'
   5798   }
   5799   ECHO='func_fallback_echo'
   5800 fi
   5801 
   5802 # func_echo_all arg...
   5803 # Invoke $ECHO with all args, space-separated.
   5804 func_echo_all ()
   5805 {
   5806     $ECHO ""
   5807 }
   5808 
   5809 case $ECHO in
   5810   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5811 $as_echo "printf" >&6; } ;;
   5812   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5813 $as_echo "print -r" >&6; } ;;
   5814   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5815 $as_echo "cat" >&6; } ;;
   5816 esac
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5832 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5833 if ${ac_cv_path_SED+:} false; then :
   5834   $as_echo_n "(cached) " >&6
   5835 else
   5836             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5837      for ac_i in 1 2 3 4 5 6 7; do
   5838        ac_script="$ac_script$as_nl$ac_script"
   5839      done
   5840      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5841      { ac_script=; unset ac_script;}
   5842      if test -z "$SED"; then
   5843   ac_path_SED_found=false
   5844   # Loop through the user's path and test for each of PROGNAME-LIST
   5845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5846 for as_dir in $PATH
   5847 do
   5848   IFS=$as_save_IFS
   5849   test -z "$as_dir" && as_dir=.
   5850     for ac_prog in sed gsed; do
   5851     for ac_exec_ext in '' $ac_executable_extensions; do
   5852       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5853       as_fn_executable_p "$ac_path_SED" || continue
   5854 # Check for GNU ac_path_SED and select it if it is found.
   5855   # Check for GNU $ac_path_SED
   5856 case `"$ac_path_SED" --version 2>&1` in
   5857 *GNU*)
   5858   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5859 *)
   5860   ac_count=0
   5861   $as_echo_n 0123456789 >"conftest.in"
   5862   while :
   5863   do
   5864     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5865     mv "conftest.tmp" "conftest.in"
   5866     cp "conftest.in" "conftest.nl"
   5867     $as_echo '' >> "conftest.nl"
   5868     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5869     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5870     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5871     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5872       # Best one so far, save it but keep looking for a better one
   5873       ac_cv_path_SED="$ac_path_SED"
   5874       ac_path_SED_max=$ac_count
   5875     fi
   5876     # 10*(2^10) chars as input seems more than enough
   5877     test $ac_count -gt 10 && break
   5878   done
   5879   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5880 esac
   5881 
   5882       $ac_path_SED_found && break 3
   5883     done
   5884   done
   5885   done
   5886 IFS=$as_save_IFS
   5887   if test -z "$ac_cv_path_SED"; then
   5888     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5889   fi
   5890 else
   5891   ac_cv_path_SED=$SED
   5892 fi
   5893 
   5894 fi
   5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5896 $as_echo "$ac_cv_path_SED" >&6; }
   5897  SED="$ac_cv_path_SED"
   5898   rm -f conftest.sed
   5899 
   5900 test -z "$SED" && SED=sed
   5901 Xsed="$SED -e 1s/^X//"
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5914 $as_echo_n "checking for fgrep... " >&6; }
   5915 if ${ac_cv_path_FGREP+:} false; then :
   5916   $as_echo_n "(cached) " >&6
   5917 else
   5918   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5919    then ac_cv_path_FGREP="$GREP -F"
   5920    else
   5921      if test -z "$FGREP"; then
   5922   ac_path_FGREP_found=false
   5923   # Loop through the user's path and test for each of PROGNAME-LIST
   5924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5926 do
   5927   IFS=$as_save_IFS
   5928   test -z "$as_dir" && as_dir=.
   5929     for ac_prog in fgrep; do
   5930     for ac_exec_ext in '' $ac_executable_extensions; do
   5931       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5932       as_fn_executable_p "$ac_path_FGREP" || continue
   5933 # Check for GNU ac_path_FGREP and select it if it is found.
   5934   # Check for GNU $ac_path_FGREP
   5935 case `"$ac_path_FGREP" --version 2>&1` in
   5936 *GNU*)
   5937   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5938 *)
   5939   ac_count=0
   5940   $as_echo_n 0123456789 >"conftest.in"
   5941   while :
   5942   do
   5943     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5944     mv "conftest.tmp" "conftest.in"
   5945     cp "conftest.in" "conftest.nl"
   5946     $as_echo 'FGREP' >> "conftest.nl"
   5947     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5948     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5949     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5950     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5951       # Best one so far, save it but keep looking for a better one
   5952       ac_cv_path_FGREP="$ac_path_FGREP"
   5953       ac_path_FGREP_max=$ac_count
   5954     fi
   5955     # 10*(2^10) chars as input seems more than enough
   5956     test $ac_count -gt 10 && break
   5957   done
   5958   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5959 esac
   5960 
   5961       $ac_path_FGREP_found && break 3
   5962     done
   5963   done
   5964   done
   5965 IFS=$as_save_IFS
   5966   if test -z "$ac_cv_path_FGREP"; then
   5967     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5968   fi
   5969 else
   5970   ac_cv_path_FGREP=$FGREP
   5971 fi
   5972 
   5973    fi
   5974 fi
   5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5976 $as_echo "$ac_cv_path_FGREP" >&6; }
   5977  FGREP="$ac_cv_path_FGREP"
   5978 
   5979 
   5980 test -z "$GREP" && GREP=grep
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 # Check whether --with-gnu-ld was given.
   6001 if test "${with_gnu_ld+set}" = set; then :
   6002   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6003 else
   6004   with_gnu_ld=no
   6005 fi
   6006 
   6007 ac_prog=ld
   6008 if test yes = "$GCC"; then
   6009   # Check if gcc -print-prog-name=ld gives a path.
   6010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6011 $as_echo_n "checking for ld used by $CC... " >&6; }
   6012   case $host in
   6013   *-*-mingw*)
   6014     # gcc leaves a trailing carriage return, which upsets mingw
   6015     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6016   *)
   6017     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6018   esac
   6019   case $ac_prog in
   6020     # Accept absolute paths.
   6021     [\\/]* | ?:[\\/]*)
   6022       re_direlt='/[^/][^/]*/\.\./'
   6023       # Canonicalize the pathname of ld
   6024       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6025       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6026 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6027       done
   6028       test -z "$LD" && LD=$ac_prog
   6029       ;;
   6030   "")
   6031     # If it fails, then pretend we aren't using GCC.
   6032     ac_prog=ld
   6033     ;;
   6034   *)
   6035     # If it is relative, then search for the first ld in PATH.
   6036     with_gnu_ld=unknown
   6037     ;;
   6038   esac
   6039 elif test yes = "$with_gnu_ld"; then
   6040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6041 $as_echo_n "checking for GNU ld... " >&6; }
   6042 else
   6043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6044 $as_echo_n "checking for non-GNU ld... " >&6; }
   6045 fi
   6046 if ${lt_cv_path_LD+:} false; then :
   6047   $as_echo_n "(cached) " >&6
   6048 else
   6049   if test -z "$LD"; then
   6050   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6051   for ac_dir in $PATH; do
   6052     IFS=$lt_save_ifs
   6053     test -z "$ac_dir" && ac_dir=.
   6054     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6055       lt_cv_path_LD=$ac_dir/$ac_prog
   6056       # Check to see if the program is GNU ld.  I'd rather use --version,
   6057       # but apparently some variants of GNU ld only accept -v.
   6058       # Break only if it was the GNU/non-GNU ld that we prefer.
   6059       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6060       *GNU* | *'with BFD'*)
   6061 	test no != "$with_gnu_ld" && break
   6062 	;;
   6063       *)
   6064 	test yes != "$with_gnu_ld" && break
   6065 	;;
   6066       esac
   6067     fi
   6068   done
   6069   IFS=$lt_save_ifs
   6070 else
   6071   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6072 fi
   6073 fi
   6074 
   6075 LD=$lt_cv_path_LD
   6076 if test -n "$LD"; then
   6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6078 $as_echo "$LD" >&6; }
   6079 else
   6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6081 $as_echo "no" >&6; }
   6082 fi
   6083 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6085 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6086 if ${lt_cv_prog_gnu_ld+:} false; then :
   6087   $as_echo_n "(cached) " >&6
   6088 else
   6089   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6090 case `$LD -v 2>&1 </dev/null` in
   6091 *GNU* | *'with BFD'*)
   6092   lt_cv_prog_gnu_ld=yes
   6093   ;;
   6094 *)
   6095   lt_cv_prog_gnu_ld=no
   6096   ;;
   6097 esac
   6098 fi
   6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6100 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6101 with_gnu_ld=$lt_cv_prog_gnu_ld
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6112 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6113 if ${lt_cv_path_NM+:} false; then :
   6114   $as_echo_n "(cached) " >&6
   6115 else
   6116   if test -n "$NM"; then
   6117   # Let the user override the test.
   6118   lt_cv_path_NM=$NM
   6119 else
   6120   lt_nm_to_check=${ac_tool_prefix}nm
   6121   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6122     lt_nm_to_check="$lt_nm_to_check nm"
   6123   fi
   6124   for lt_tmp_nm in $lt_nm_to_check; do
   6125     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6126     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6127       IFS=$lt_save_ifs
   6128       test -z "$ac_dir" && ac_dir=.
   6129       tmp_nm=$ac_dir/$lt_tmp_nm
   6130       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6131 	# Check to see if the nm accepts a BSD-compat flag.
   6132 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6133 	#   nm: unknown option "B" ignored
   6134 	# Tru64's nm complains that /dev/null is an invalid object file
   6135 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6136 	case $build_os in
   6137 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6138 	*) lt_bad_file=/dev/null ;;
   6139 	esac
   6140 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   6141 	*$lt_bad_file* | *'Invalid file or object type'*)
   6142 	  lt_cv_path_NM="$tmp_nm -B"
   6143 	  break 2
   6144 	  ;;
   6145 	*)
   6146 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6147 	  */dev/null*)
   6148 	    lt_cv_path_NM="$tmp_nm -p"
   6149 	    break 2
   6150 	    ;;
   6151 	  *)
   6152 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6153 	    continue # so that we can try to find one that supports BSD flags
   6154 	    ;;
   6155 	  esac
   6156 	  ;;
   6157 	esac
   6158       fi
   6159     done
   6160     IFS=$lt_save_ifs
   6161   done
   6162   : ${lt_cv_path_NM=no}
   6163 fi
   6164 fi
   6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6166 $as_echo "$lt_cv_path_NM" >&6; }
   6167 if test no != "$lt_cv_path_NM"; then
   6168   NM=$lt_cv_path_NM
   6169 else
   6170   # Didn't find any BSD compatible name lister, look for dumpbin.
   6171   if test -n "$DUMPBIN"; then :
   6172     # Let the user override the test.
   6173   else
   6174     if test -n "$ac_tool_prefix"; then
   6175   for ac_prog in dumpbin "link -dump"
   6176   do
   6177     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6180 $as_echo_n "checking for $ac_word... " >&6; }
   6181 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6182   $as_echo_n "(cached) " >&6
   6183 else
   6184   if test -n "$DUMPBIN"; then
   6185   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6186 else
   6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6188 for as_dir in $PATH
   6189 do
   6190   IFS=$as_save_IFS
   6191   test -z "$as_dir" && as_dir=.
   6192     for ac_exec_ext in '' $ac_executable_extensions; do
   6193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6194     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6196     break 2
   6197   fi
   6198 done
   6199   done
   6200 IFS=$as_save_IFS
   6201 
   6202 fi
   6203 fi
   6204 DUMPBIN=$ac_cv_prog_DUMPBIN
   6205 if test -n "$DUMPBIN"; then
   6206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6207 $as_echo "$DUMPBIN" >&6; }
   6208 else
   6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6210 $as_echo "no" >&6; }
   6211 fi
   6212 
   6213 
   6214     test -n "$DUMPBIN" && break
   6215   done
   6216 fi
   6217 if test -z "$DUMPBIN"; then
   6218   ac_ct_DUMPBIN=$DUMPBIN
   6219   for ac_prog in dumpbin "link -dump"
   6220 do
   6221   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6222 set dummy $ac_prog; ac_word=$2
   6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6224 $as_echo_n "checking for $ac_word... " >&6; }
   6225 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   if test -n "$ac_ct_DUMPBIN"; then
   6229   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6230 else
   6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6232 for as_dir in $PATH
   6233 do
   6234   IFS=$as_save_IFS
   6235   test -z "$as_dir" && as_dir=.
   6236     for ac_exec_ext in '' $ac_executable_extensions; do
   6237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6238     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6240     break 2
   6241   fi
   6242 done
   6243   done
   6244 IFS=$as_save_IFS
   6245 
   6246 fi
   6247 fi
   6248 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6249 if test -n "$ac_ct_DUMPBIN"; then
   6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6251 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6252 else
   6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6254 $as_echo "no" >&6; }
   6255 fi
   6256 
   6257 
   6258   test -n "$ac_ct_DUMPBIN" && break
   6259 done
   6260 
   6261   if test "x$ac_ct_DUMPBIN" = x; then
   6262     DUMPBIN=":"
   6263   else
   6264     case $cross_compiling:$ac_tool_warned in
   6265 yes:)
   6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6268 ac_tool_warned=yes ;;
   6269 esac
   6270     DUMPBIN=$ac_ct_DUMPBIN
   6271   fi
   6272 fi
   6273 
   6274     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6275     *COFF*)
   6276       DUMPBIN="$DUMPBIN -symbols -headers"
   6277       ;;
   6278     *)
   6279       DUMPBIN=:
   6280       ;;
   6281     esac
   6282   fi
   6283 
   6284   if test : != "$DUMPBIN"; then
   6285     NM=$DUMPBIN
   6286   fi
   6287 fi
   6288 test -z "$NM" && NM=nm
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6296 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6297 if ${lt_cv_nm_interface+:} false; then :
   6298   $as_echo_n "(cached) " >&6
   6299 else
   6300   lt_cv_nm_interface="BSD nm"
   6301   echo "int some_variable = 0;" > conftest.$ac_ext
   6302   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6303   (eval "$ac_compile" 2>conftest.err)
   6304   cat conftest.err >&5
   6305   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6306   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6307   cat conftest.err >&5
   6308   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6309   cat conftest.out >&5
   6310   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6311     lt_cv_nm_interface="MS dumpbin"
   6312   fi
   6313   rm -f conftest*
   6314 fi
   6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6316 $as_echo "$lt_cv_nm_interface" >&6; }
   6317 
   6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6319 $as_echo_n "checking whether ln -s works... " >&6; }
   6320 LN_S=$as_ln_s
   6321 if test "$LN_S" = "ln -s"; then
   6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6323 $as_echo "yes" >&6; }
   6324 else
   6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6326 $as_echo "no, using $LN_S" >&6; }
   6327 fi
   6328 
   6329 # find the maximum length of command line arguments
   6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6331 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6332 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335     i=0
   6336   teststring=ABCD
   6337 
   6338   case $build_os in
   6339   msdosdjgpp*)
   6340     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6341     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6342     # during glob expansion).  Even if it were fixed, the result of this
   6343     # check would be larger than it should be.
   6344     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6345     ;;
   6346 
   6347   gnu*)
   6348     # Under GNU Hurd, this test is not required because there is
   6349     # no limit to the length of command line arguments.
   6350     # Libtool will interpret -1 as no limit whatsoever
   6351     lt_cv_sys_max_cmd_len=-1;
   6352     ;;
   6353 
   6354   cygwin* | mingw* | cegcc*)
   6355     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6356     # about 5 minutes as the teststring grows exponentially.
   6357     # Worse, since 9x/ME are not pre-emptively multitasking,
   6358     # you end up with a "frozen" computer, even though with patience
   6359     # the test eventually succeeds (with a max line length of 256k).
   6360     # Instead, let's just punt: use the minimum linelength reported by
   6361     # all of the supported platforms: 8192 (on NT/2K/XP).
   6362     lt_cv_sys_max_cmd_len=8192;
   6363     ;;
   6364 
   6365   mint*)
   6366     # On MiNT this can take a long time and run out of memory.
   6367     lt_cv_sys_max_cmd_len=8192;
   6368     ;;
   6369 
   6370   amigaos*)
   6371     # On AmigaOS with pdksh, this test takes hours, literally.
   6372     # So we just punt and use a minimum line length of 8192.
   6373     lt_cv_sys_max_cmd_len=8192;
   6374     ;;
   6375 
   6376   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6377     # This has been around since 386BSD, at least.  Likely further.
   6378     if test -x /sbin/sysctl; then
   6379       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6380     elif test -x /usr/sbin/sysctl; then
   6381       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6382     else
   6383       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6384     fi
   6385     # And add a safety zone
   6386     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6387     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6388     ;;
   6389 
   6390   interix*)
   6391     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6392     lt_cv_sys_max_cmd_len=196608
   6393     ;;
   6394 
   6395   os2*)
   6396     # The test takes a long time on OS/2.
   6397     lt_cv_sys_max_cmd_len=8192
   6398     ;;
   6399 
   6400   osf*)
   6401     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6402     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6403     # nice to cause kernel panics so lets avoid the loop below.
   6404     # First set a reasonable default.
   6405     lt_cv_sys_max_cmd_len=16384
   6406     #
   6407     if test -x /sbin/sysconfig; then
   6408       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6409         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6410       esac
   6411     fi
   6412     ;;
   6413   sco3.2v5*)
   6414     lt_cv_sys_max_cmd_len=102400
   6415     ;;
   6416   sysv5* | sco5v6* | sysv4.2uw2*)
   6417     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6418     if test -n "$kargmax"; then
   6419       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6420     else
   6421       lt_cv_sys_max_cmd_len=32768
   6422     fi
   6423     ;;
   6424   *)
   6425     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6426     if test -n "$lt_cv_sys_max_cmd_len" && \
   6427        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6428       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6429       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6430     else
   6431       # Make teststring a little bigger before we do anything with it.
   6432       # a 1K string should be a reasonable start.
   6433       for i in 1 2 3 4 5 6 7 8; do
   6434         teststring=$teststring$teststring
   6435       done
   6436       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6437       # If test is not a shell built-in, we'll probably end up computing a
   6438       # maximum length that is only half of the actual maximum length, but
   6439       # we can't tell.
   6440       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6441 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6442 	      test 17 != "$i" # 1/2 MB should be enough
   6443       do
   6444         i=`expr $i + 1`
   6445         teststring=$teststring$teststring
   6446       done
   6447       # Only check the string length outside the loop.
   6448       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6449       teststring=
   6450       # Add a significant safety factor because C++ compilers can tack on
   6451       # massive amounts of additional arguments before passing them to the
   6452       # linker.  It appears as though 1/2 is a usable value.
   6453       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6454     fi
   6455     ;;
   6456   esac
   6457 
   6458 fi
   6459 
   6460 if test -n "$lt_cv_sys_max_cmd_len"; then
   6461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6462 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6463 else
   6464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6465 $as_echo "none" >&6; }
   6466 fi
   6467 max_cmd_len=$lt_cv_sys_max_cmd_len
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 : ${CP="cp -f"}
   6475 : ${MV="mv -f"}
   6476 : ${RM="rm -f"}
   6477 
   6478 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6479   lt_unset=unset
   6480 else
   6481   lt_unset=false
   6482 fi
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 # test EBCDIC or ASCII
   6489 case `echo X|tr X '\101'` in
   6490  A) # ASCII based system
   6491     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6492   lt_SP2NL='tr \040 \012'
   6493   lt_NL2SP='tr \015\012 \040\040'
   6494   ;;
   6495  *) # EBCDIC based system
   6496   lt_SP2NL='tr \100 \n'
   6497   lt_NL2SP='tr \r\n \100\100'
   6498   ;;
   6499 esac
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6510 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6511 if ${lt_cv_to_host_file_cmd+:} false; then :
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514   case $host in
   6515   *-*-mingw* )
   6516     case $build in
   6517       *-*-mingw* ) # actually msys
   6518         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6519         ;;
   6520       *-*-cygwin* )
   6521         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6522         ;;
   6523       * ) # otherwise, assume *nix
   6524         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6525         ;;
   6526     esac
   6527     ;;
   6528   *-*-cygwin* )
   6529     case $build in
   6530       *-*-mingw* ) # actually msys
   6531         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6532         ;;
   6533       *-*-cygwin* )
   6534         lt_cv_to_host_file_cmd=func_convert_file_noop
   6535         ;;
   6536       * ) # otherwise, assume *nix
   6537         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6538         ;;
   6539     esac
   6540     ;;
   6541   * ) # unhandled hosts (and "normal" native builds)
   6542     lt_cv_to_host_file_cmd=func_convert_file_noop
   6543     ;;
   6544 esac
   6545 
   6546 fi
   6547 
   6548 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6550 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6557 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6558 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6559   $as_echo_n "(cached) " >&6
   6560 else
   6561   #assume ordinary cross tools, or native build.
   6562 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6563 case $host in
   6564   *-*-mingw* )
   6565     case $build in
   6566       *-*-mingw* ) # actually msys
   6567         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6568         ;;
   6569     esac
   6570     ;;
   6571 esac
   6572 
   6573 fi
   6574 
   6575 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6577 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6584 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6585 if ${lt_cv_ld_reload_flag+:} false; then :
   6586   $as_echo_n "(cached) " >&6
   6587 else
   6588   lt_cv_ld_reload_flag='-r'
   6589 fi
   6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6591 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6592 reload_flag=$lt_cv_ld_reload_flag
   6593 case $reload_flag in
   6594 "" | " "*) ;;
   6595 *) reload_flag=" $reload_flag" ;;
   6596 esac
   6597 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6598 case $host_os in
   6599   cygwin* | mingw* | pw32* | cegcc*)
   6600     if test yes != "$GCC"; then
   6601       reload_cmds=false
   6602     fi
   6603     ;;
   6604   darwin*)
   6605     if test yes = "$GCC"; then
   6606       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6607     else
   6608       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6609     fi
   6610     ;;
   6611 esac
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 if test -n "$ac_tool_prefix"; then
   6622   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6623 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6625 $as_echo_n "checking for $ac_word... " >&6; }
   6626 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6627   $as_echo_n "(cached) " >&6
   6628 else
   6629   if test -n "$OBJDUMP"; then
   6630   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6631 else
   6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6633 for as_dir in $PATH
   6634 do
   6635   IFS=$as_save_IFS
   6636   test -z "$as_dir" && as_dir=.
   6637     for ac_exec_ext in '' $ac_executable_extensions; do
   6638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6639     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6641     break 2
   6642   fi
   6643 done
   6644   done
   6645 IFS=$as_save_IFS
   6646 
   6647 fi
   6648 fi
   6649 OBJDUMP=$ac_cv_prog_OBJDUMP
   6650 if test -n "$OBJDUMP"; then
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6652 $as_echo "$OBJDUMP" >&6; }
   6653 else
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6655 $as_echo "no" >&6; }
   6656 fi
   6657 
   6658 
   6659 fi
   6660 if test -z "$ac_cv_prog_OBJDUMP"; then
   6661   ac_ct_OBJDUMP=$OBJDUMP
   6662   # Extract the first word of "objdump", so it can be a program name with args.
   6663 set dummy objdump; ac_word=$2
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6665 $as_echo_n "checking for $ac_word... " >&6; }
   6666 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   if test -n "$ac_ct_OBJDUMP"; then
   6670   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6671 else
   6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6673 for as_dir in $PATH
   6674 do
   6675   IFS=$as_save_IFS
   6676   test -z "$as_dir" && as_dir=.
   6677     for ac_exec_ext in '' $ac_executable_extensions; do
   6678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6679     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6681     break 2
   6682   fi
   6683 done
   6684   done
   6685 IFS=$as_save_IFS
   6686 
   6687 fi
   6688 fi
   6689 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6690 if test -n "$ac_ct_OBJDUMP"; then
   6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6692 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6693 else
   6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6695 $as_echo "no" >&6; }
   6696 fi
   6697 
   6698   if test "x$ac_ct_OBJDUMP" = x; then
   6699     OBJDUMP="false"
   6700   else
   6701     case $cross_compiling:$ac_tool_warned in
   6702 yes:)
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6705 ac_tool_warned=yes ;;
   6706 esac
   6707     OBJDUMP=$ac_ct_OBJDUMP
   6708   fi
   6709 else
   6710   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6711 fi
   6712 
   6713 test -z "$OBJDUMP" && OBJDUMP=objdump
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6724 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6725 if ${lt_cv_deplibs_check_method+:} false; then :
   6726   $as_echo_n "(cached) " >&6
   6727 else
   6728   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6729 lt_cv_file_magic_test_file=
   6730 lt_cv_deplibs_check_method='unknown'
   6731 # Need to set the preceding variable on all platforms that support
   6732 # interlibrary dependencies.
   6733 # 'none' -- dependencies not supported.
   6734 # 'unknown' -- same as none, but documents that we really don't know.
   6735 # 'pass_all' -- all dependencies passed with no checks.
   6736 # 'test_compile' -- check by making test program.
   6737 # 'file_magic [[regex]]' -- check by looking for files in library path
   6738 # that responds to the $file_magic_cmd with a given extended regex.
   6739 # If you have 'file' or equivalent on your system and you're not sure
   6740 # whether 'pass_all' will *always* work, you probably want this one.
   6741 
   6742 case $host_os in
   6743 aix[4-9]*)
   6744   lt_cv_deplibs_check_method=pass_all
   6745   ;;
   6746 
   6747 beos*)
   6748   lt_cv_deplibs_check_method=pass_all
   6749   ;;
   6750 
   6751 bsdi[45]*)
   6752   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6753   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6754   lt_cv_file_magic_test_file=/shlib/libc.so
   6755   ;;
   6756 
   6757 cygwin*)
   6758   # func_win32_libid is a shell function defined in ltmain.sh
   6759   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6760   lt_cv_file_magic_cmd='func_win32_libid'
   6761   ;;
   6762 
   6763 mingw* | pw32*)
   6764   # Base MSYS/MinGW do not provide the 'file' command needed by
   6765   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6766   # unless we find 'file', for example because we are cross-compiling.
   6767   if ( file / ) >/dev/null 2>&1; then
   6768     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6769     lt_cv_file_magic_cmd='func_win32_libid'
   6770   else
   6771     # Keep this pattern in sync with the one in func_win32_libid.
   6772     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6773     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6774   fi
   6775   ;;
   6776 
   6777 cegcc*)
   6778   # use the weaker test based on 'objdump'. See mingw*.
   6779   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6780   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6781   ;;
   6782 
   6783 darwin* | rhapsody*)
   6784   lt_cv_deplibs_check_method=pass_all
   6785   ;;
   6786 
   6787 freebsd* | dragonfly*)
   6788   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6789     case $host_cpu in
   6790     i*86 )
   6791       # Not sure whether the presence of OpenBSD here was a mistake.
   6792       # Let's accept both of them until this is cleared up.
   6793       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6794       lt_cv_file_magic_cmd=/usr/bin/file
   6795       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6796       ;;
   6797     esac
   6798   else
   6799     lt_cv_deplibs_check_method=pass_all
   6800   fi
   6801   ;;
   6802 
   6803 haiku*)
   6804   lt_cv_deplibs_check_method=pass_all
   6805   ;;
   6806 
   6807 hpux10.20* | hpux11*)
   6808   lt_cv_file_magic_cmd=/usr/bin/file
   6809   case $host_cpu in
   6810   ia64*)
   6811     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6812     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6813     ;;
   6814   hppa*64*)
   6815     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]'
   6816     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6817     ;;
   6818   *)
   6819     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6820     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6821     ;;
   6822   esac
   6823   ;;
   6824 
   6825 interix[3-9]*)
   6826   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6827   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6828   ;;
   6829 
   6830 irix5* | irix6* | nonstopux*)
   6831   case $LD in
   6832   *-32|*"-32 ") libmagic=32-bit;;
   6833   *-n32|*"-n32 ") libmagic=N32;;
   6834   *-64|*"-64 ") libmagic=64-bit;;
   6835   *) libmagic=never-match;;
   6836   esac
   6837   lt_cv_deplibs_check_method=pass_all
   6838   ;;
   6839 
   6840 # This must be glibc/ELF.
   6841 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6842   lt_cv_deplibs_check_method=pass_all
   6843   ;;
   6844 
   6845 netbsd*)
   6846   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6847     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6848   else
   6849     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6850   fi
   6851   ;;
   6852 
   6853 newos6*)
   6854   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6855   lt_cv_file_magic_cmd=/usr/bin/file
   6856   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6857   ;;
   6858 
   6859 *nto* | *qnx*)
   6860   lt_cv_deplibs_check_method=pass_all
   6861   ;;
   6862 
   6863 openbsd* | bitrig*)
   6864   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6865     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6866   else
   6867     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6868   fi
   6869   ;;
   6870 
   6871 osf3* | osf4* | osf5*)
   6872   lt_cv_deplibs_check_method=pass_all
   6873   ;;
   6874 
   6875 rdos*)
   6876   lt_cv_deplibs_check_method=pass_all
   6877   ;;
   6878 
   6879 solaris*)
   6880   lt_cv_deplibs_check_method=pass_all
   6881   ;;
   6882 
   6883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6884   lt_cv_deplibs_check_method=pass_all
   6885   ;;
   6886 
   6887 sysv4 | sysv4.3*)
   6888   case $host_vendor in
   6889   motorola)
   6890     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]'
   6891     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6892     ;;
   6893   ncr)
   6894     lt_cv_deplibs_check_method=pass_all
   6895     ;;
   6896   sequent)
   6897     lt_cv_file_magic_cmd='/bin/file'
   6898     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6899     ;;
   6900   sni)
   6901     lt_cv_file_magic_cmd='/bin/file'
   6902     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6903     lt_cv_file_magic_test_file=/lib/libc.so
   6904     ;;
   6905   siemens)
   6906     lt_cv_deplibs_check_method=pass_all
   6907     ;;
   6908   pc)
   6909     lt_cv_deplibs_check_method=pass_all
   6910     ;;
   6911   esac
   6912   ;;
   6913 
   6914 tpf*)
   6915   lt_cv_deplibs_check_method=pass_all
   6916   ;;
   6917 os2*)
   6918   lt_cv_deplibs_check_method=pass_all
   6919   ;;
   6920 esac
   6921 
   6922 fi
   6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6924 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6925 
   6926 file_magic_glob=
   6927 want_nocaseglob=no
   6928 if test "$build" = "$host"; then
   6929   case $host_os in
   6930   mingw* | pw32*)
   6931     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6932       want_nocaseglob=yes
   6933     else
   6934       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6935     fi
   6936     ;;
   6937   esac
   6938 fi
   6939 
   6940 file_magic_cmd=$lt_cv_file_magic_cmd
   6941 deplibs_check_method=$lt_cv_deplibs_check_method
   6942 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 if test -n "$ac_tool_prefix"; then
   6966   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6967 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6969 $as_echo_n "checking for $ac_word... " >&6; }
   6970 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   if test -n "$DLLTOOL"; then
   6974   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6975 else
   6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6977 for as_dir in $PATH
   6978 do
   6979   IFS=$as_save_IFS
   6980   test -z "$as_dir" && as_dir=.
   6981     for ac_exec_ext in '' $ac_executable_extensions; do
   6982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6983     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6985     break 2
   6986   fi
   6987 done
   6988   done
   6989 IFS=$as_save_IFS
   6990 
   6991 fi
   6992 fi
   6993 DLLTOOL=$ac_cv_prog_DLLTOOL
   6994 if test -n "$DLLTOOL"; then
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6996 $as_echo "$DLLTOOL" >&6; }
   6997 else
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6999 $as_echo "no" >&6; }
   7000 fi
   7001 
   7002 
   7003 fi
   7004 if test -z "$ac_cv_prog_DLLTOOL"; then
   7005   ac_ct_DLLTOOL=$DLLTOOL
   7006   # Extract the first word of "dlltool", so it can be a program name with args.
   7007 set dummy dlltool; ac_word=$2
   7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7009 $as_echo_n "checking for $ac_word... " >&6; }
   7010 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   if test -n "$ac_ct_DLLTOOL"; then
   7014   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7015 else
   7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7017 for as_dir in $PATH
   7018 do
   7019   IFS=$as_save_IFS
   7020   test -z "$as_dir" && as_dir=.
   7021     for ac_exec_ext in '' $ac_executable_extensions; do
   7022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7023     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7025     break 2
   7026   fi
   7027 done
   7028   done
   7029 IFS=$as_save_IFS
   7030 
   7031 fi
   7032 fi
   7033 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7034 if test -n "$ac_ct_DLLTOOL"; then
   7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7036 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7037 else
   7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7039 $as_echo "no" >&6; }
   7040 fi
   7041 
   7042   if test "x$ac_ct_DLLTOOL" = x; then
   7043     DLLTOOL="false"
   7044   else
   7045     case $cross_compiling:$ac_tool_warned in
   7046 yes:)
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7049 ac_tool_warned=yes ;;
   7050 esac
   7051     DLLTOOL=$ac_ct_DLLTOOL
   7052   fi
   7053 else
   7054   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7055 fi
   7056 
   7057 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7069 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   7070 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   7071   $as_echo_n "(cached) " >&6
   7072 else
   7073   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7074 
   7075 case $host_os in
   7076 cygwin* | mingw* | pw32* | cegcc*)
   7077   # two different shell functions defined in ltmain.sh;
   7078   # decide which one to use based on capabilities of $DLLTOOL
   7079   case `$DLLTOOL --help 2>&1` in
   7080   *--identify-strict*)
   7081     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7082     ;;
   7083   *)
   7084     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7085     ;;
   7086   esac
   7087   ;;
   7088 *)
   7089   # fallback: assume linklib IS sharedlib
   7090   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7091   ;;
   7092 esac
   7093 
   7094 fi
   7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7096 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7097 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7098 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 if test -n "$ac_tool_prefix"; then
   7107   for ac_prog in ar
   7108   do
   7109     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7112 $as_echo_n "checking for $ac_word... " >&6; }
   7113 if ${ac_cv_prog_AR+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   if test -n "$AR"; then
   7117   ac_cv_prog_AR="$AR" # Let the user override the test.
   7118 else
   7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7120 for as_dir in $PATH
   7121 do
   7122   IFS=$as_save_IFS
   7123   test -z "$as_dir" && as_dir=.
   7124     for ac_exec_ext in '' $ac_executable_extensions; do
   7125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7126     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7128     break 2
   7129   fi
   7130 done
   7131   done
   7132 IFS=$as_save_IFS
   7133 
   7134 fi
   7135 fi
   7136 AR=$ac_cv_prog_AR
   7137 if test -n "$AR"; then
   7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7139 $as_echo "$AR" >&6; }
   7140 else
   7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7142 $as_echo "no" >&6; }
   7143 fi
   7144 
   7145 
   7146     test -n "$AR" && break
   7147   done
   7148 fi
   7149 if test -z "$AR"; then
   7150   ac_ct_AR=$AR
   7151   for ac_prog in ar
   7152 do
   7153   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7154 set dummy $ac_prog; ac_word=$2
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7156 $as_echo_n "checking for $ac_word... " >&6; }
   7157 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   if test -n "$ac_ct_AR"; then
   7161   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7162 else
   7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7164 for as_dir in $PATH
   7165 do
   7166   IFS=$as_save_IFS
   7167   test -z "$as_dir" && as_dir=.
   7168     for ac_exec_ext in '' $ac_executable_extensions; do
   7169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7170     ac_cv_prog_ac_ct_AR="$ac_prog"
   7171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7172     break 2
   7173   fi
   7174 done
   7175   done
   7176 IFS=$as_save_IFS
   7177 
   7178 fi
   7179 fi
   7180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7181 if test -n "$ac_ct_AR"; then
   7182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7183 $as_echo "$ac_ct_AR" >&6; }
   7184 else
   7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7186 $as_echo "no" >&6; }
   7187 fi
   7188 
   7189 
   7190   test -n "$ac_ct_AR" && break
   7191 done
   7192 
   7193   if test "x$ac_ct_AR" = x; then
   7194     AR="false"
   7195   else
   7196     case $cross_compiling:$ac_tool_warned in
   7197 yes:)
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7200 ac_tool_warned=yes ;;
   7201 esac
   7202     AR=$ac_ct_AR
   7203   fi
   7204 fi
   7205 
   7206 : ${AR=ar}
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7214 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7215 # higher priority because thats what people were doing historically (setting
   7216 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7217 # variable obsoleted/removed.
   7218 
   7219 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7220 lt_ar_flags=$AR_FLAGS
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7228 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7236 $as_echo_n "checking for archiver @FILE support... " >&6; }
   7237 if ${lt_cv_ar_at_file+:} false; then :
   7238   $as_echo_n "(cached) " >&6
   7239 else
   7240   lt_cv_ar_at_file=no
   7241    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7242 /* end confdefs.h.  */
   7243 
   7244 int
   7245 main ()
   7246 {
   7247 
   7248   ;
   7249   return 0;
   7250 }
   7251 _ACEOF
   7252 if ac_fn_c_try_compile "$LINENO"; then :
   7253   echo conftest.$ac_objext > conftest.lst
   7254       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7255       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7256   (eval $lt_ar_try) 2>&5
   7257   ac_status=$?
   7258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7259   test $ac_status = 0; }
   7260       if test 0 -eq "$ac_status"; then
   7261 	# Ensure the archiver fails upon bogus file names.
   7262 	rm -f conftest.$ac_objext libconftest.a
   7263 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7264   (eval $lt_ar_try) 2>&5
   7265   ac_status=$?
   7266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7267   test $ac_status = 0; }
   7268 	if test 0 -ne "$ac_status"; then
   7269           lt_cv_ar_at_file=@
   7270         fi
   7271       fi
   7272       rm -f conftest.* libconftest.a
   7273 
   7274 fi
   7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7276 
   7277 fi
   7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7279 $as_echo "$lt_cv_ar_at_file" >&6; }
   7280 
   7281 if test no = "$lt_cv_ar_at_file"; then
   7282   archiver_list_spec=
   7283 else
   7284   archiver_list_spec=$lt_cv_ar_at_file
   7285 fi
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 if test -n "$ac_tool_prefix"; then
   7294   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7295 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7297 $as_echo_n "checking for $ac_word... " >&6; }
   7298 if ${ac_cv_prog_STRIP+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   if test -n "$STRIP"; then
   7302   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7303 else
   7304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7305 for as_dir in $PATH
   7306 do
   7307   IFS=$as_save_IFS
   7308   test -z "$as_dir" && as_dir=.
   7309     for ac_exec_ext in '' $ac_executable_extensions; do
   7310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7311     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7313     break 2
   7314   fi
   7315 done
   7316   done
   7317 IFS=$as_save_IFS
   7318 
   7319 fi
   7320 fi
   7321 STRIP=$ac_cv_prog_STRIP
   7322 if test -n "$STRIP"; then
   7323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7324 $as_echo "$STRIP" >&6; }
   7325 else
   7326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7327 $as_echo "no" >&6; }
   7328 fi
   7329 
   7330 
   7331 fi
   7332 if test -z "$ac_cv_prog_STRIP"; then
   7333   ac_ct_STRIP=$STRIP
   7334   # Extract the first word of "strip", so it can be a program name with args.
   7335 set dummy strip; ac_word=$2
   7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7337 $as_echo_n "checking for $ac_word... " >&6; }
   7338 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   if test -n "$ac_ct_STRIP"; then
   7342   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7343 else
   7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7345 for as_dir in $PATH
   7346 do
   7347   IFS=$as_save_IFS
   7348   test -z "$as_dir" && as_dir=.
   7349     for ac_exec_ext in '' $ac_executable_extensions; do
   7350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7351     ac_cv_prog_ac_ct_STRIP="strip"
   7352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7353     break 2
   7354   fi
   7355 done
   7356   done
   7357 IFS=$as_save_IFS
   7358 
   7359 fi
   7360 fi
   7361 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7362 if test -n "$ac_ct_STRIP"; then
   7363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7364 $as_echo "$ac_ct_STRIP" >&6; }
   7365 else
   7366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7367 $as_echo "no" >&6; }
   7368 fi
   7369 
   7370   if test "x$ac_ct_STRIP" = x; then
   7371     STRIP=":"
   7372   else
   7373     case $cross_compiling:$ac_tool_warned in
   7374 yes:)
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7377 ac_tool_warned=yes ;;
   7378 esac
   7379     STRIP=$ac_ct_STRIP
   7380   fi
   7381 else
   7382   STRIP="$ac_cv_prog_STRIP"
   7383 fi
   7384 
   7385 test -z "$STRIP" && STRIP=:
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 if test -n "$ac_tool_prefix"; then
   7393   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7396 $as_echo_n "checking for $ac_word... " >&6; }
   7397 if ${ac_cv_prog_RANLIB+:} false; then :
   7398   $as_echo_n "(cached) " >&6
   7399 else
   7400   if test -n "$RANLIB"; then
   7401   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7402 else
   7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7404 for as_dir in $PATH
   7405 do
   7406   IFS=$as_save_IFS
   7407   test -z "$as_dir" && as_dir=.
   7408     for ac_exec_ext in '' $ac_executable_extensions; do
   7409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7410     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7412     break 2
   7413   fi
   7414 done
   7415   done
   7416 IFS=$as_save_IFS
   7417 
   7418 fi
   7419 fi
   7420 RANLIB=$ac_cv_prog_RANLIB
   7421 if test -n "$RANLIB"; then
   7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7423 $as_echo "$RANLIB" >&6; }
   7424 else
   7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7426 $as_echo "no" >&6; }
   7427 fi
   7428 
   7429 
   7430 fi
   7431 if test -z "$ac_cv_prog_RANLIB"; then
   7432   ac_ct_RANLIB=$RANLIB
   7433   # Extract the first word of "ranlib", so it can be a program name with args.
   7434 set dummy ranlib; ac_word=$2
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7436 $as_echo_n "checking for $ac_word... " >&6; }
   7437 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7438   $as_echo_n "(cached) " >&6
   7439 else
   7440   if test -n "$ac_ct_RANLIB"; then
   7441   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7442 else
   7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7444 for as_dir in $PATH
   7445 do
   7446   IFS=$as_save_IFS
   7447   test -z "$as_dir" && as_dir=.
   7448     for ac_exec_ext in '' $ac_executable_extensions; do
   7449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7450     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7452     break 2
   7453   fi
   7454 done
   7455   done
   7456 IFS=$as_save_IFS
   7457 
   7458 fi
   7459 fi
   7460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7461 if test -n "$ac_ct_RANLIB"; then
   7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7463 $as_echo "$ac_ct_RANLIB" >&6; }
   7464 else
   7465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7466 $as_echo "no" >&6; }
   7467 fi
   7468 
   7469   if test "x$ac_ct_RANLIB" = x; then
   7470     RANLIB=":"
   7471   else
   7472     case $cross_compiling:$ac_tool_warned in
   7473 yes:)
   7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7476 ac_tool_warned=yes ;;
   7477 esac
   7478     RANLIB=$ac_ct_RANLIB
   7479   fi
   7480 else
   7481   RANLIB="$ac_cv_prog_RANLIB"
   7482 fi
   7483 
   7484 test -z "$RANLIB" && RANLIB=:
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 # Determine commands to create old-style static archives.
   7492 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7493 old_postinstall_cmds='chmod 644 $oldlib'
   7494 old_postuninstall_cmds=
   7495 
   7496 if test -n "$RANLIB"; then
   7497   case $host_os in
   7498   bitrig* | openbsd*)
   7499     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7500     ;;
   7501   *)
   7502     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7503     ;;
   7504   esac
   7505   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7506 fi
   7507 
   7508 case $host_os in
   7509   darwin*)
   7510     lock_old_archive_extraction=yes ;;
   7511   *)
   7512     lock_old_archive_extraction=no ;;
   7513 esac
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 # If no C compiler was specified, use CC.
   7554 LTCC=${LTCC-"$CC"}
   7555 
   7556 # If no C compiler flags were specified, use CFLAGS.
   7557 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7558 
   7559 # Allow CC to be a program name with arguments.
   7560 compiler=$CC
   7561 
   7562 
   7563 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7565 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7566 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7567   $as_echo_n "(cached) " >&6
   7568 else
   7569 
   7570 # These are sane defaults that work on at least a few old systems.
   7571 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7572 
   7573 # Character class describing NM global symbol codes.
   7574 symcode='[BCDEGRST]'
   7575 
   7576 # Regexp to match symbols that can be accessed directly from C.
   7577 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7578 
   7579 # Define system-specific variables.
   7580 case $host_os in
   7581 aix*)
   7582   symcode='[BCDT]'
   7583   ;;
   7584 cygwin* | mingw* | pw32* | cegcc*)
   7585   symcode='[ABCDGISTW]'
   7586   ;;
   7587 hpux*)
   7588   if test ia64 = "$host_cpu"; then
   7589     symcode='[ABCDEGRST]'
   7590   fi
   7591   ;;
   7592 irix* | nonstopux*)
   7593   symcode='[BCDEGRST]'
   7594   ;;
   7595 osf*)
   7596   symcode='[BCDEGQRST]'
   7597   ;;
   7598 solaris*)
   7599   symcode='[BDRT]'
   7600   ;;
   7601 sco3.2v5*)
   7602   symcode='[DT]'
   7603   ;;
   7604 sysv4.2uw2*)
   7605   symcode='[DT]'
   7606   ;;
   7607 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7608   symcode='[ABDT]'
   7609   ;;
   7610 sysv4)
   7611   symcode='[DFNSTU]'
   7612   ;;
   7613 esac
   7614 
   7615 # If we're using GNU nm, then use its standard symbol codes.
   7616 case `$NM -V 2>&1` in
   7617 *GNU* | *'with BFD'*)
   7618   symcode='[ABCDGIRSTW]' ;;
   7619 esac
   7620 
   7621 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7622   # Gets list of data symbols to import.
   7623   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7624   # Adjust the below global symbol transforms to fixup imported variables.
   7625   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7626   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7627   lt_c_name_lib_hook="\
   7628   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7629   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7630 else
   7631   # Disable hooks by default.
   7632   lt_cv_sys_global_symbol_to_import=
   7633   lt_cdecl_hook=
   7634   lt_c_name_hook=
   7635   lt_c_name_lib_hook=
   7636 fi
   7637 
   7638 # Transform an extracted symbol line into a proper C declaration.
   7639 # Some systems (esp. on ia64) link data and code symbols differently,
   7640 # so use this general approach.
   7641 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7642 $lt_cdecl_hook\
   7643 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7644 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7645 
   7646 # Transform an extracted symbol line into symbol name and symbol address
   7647 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7648 $lt_c_name_hook\
   7649 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7650 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7651 
   7652 # Transform an extracted symbol line into symbol name with lib prefix and
   7653 # symbol address.
   7654 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7655 $lt_c_name_lib_hook\
   7656 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7657 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7658 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7659 
   7660 # Handle CRLF in mingw tool chain
   7661 opt_cr=
   7662 case $build_os in
   7663 mingw*)
   7664   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7665   ;;
   7666 esac
   7667 
   7668 # Try without a prefix underscore, then with it.
   7669 for ac_symprfx in "" "_"; do
   7670 
   7671   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7672   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7673 
   7674   # Write the raw and C identifiers.
   7675   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7676     # Fake it for dumpbin and say T for any non-static function,
   7677     # D for any global variable and I for any imported variable.
   7678     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7679     # which start with @ or ?.
   7680     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7681 "     {last_section=section; section=\$ 3};"\
   7682 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7683 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7684 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7685 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7686 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7687 "     \$ 0!~/External *\|/{next};"\
   7688 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7689 "     {if(hide[section]) next};"\
   7690 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7691 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7692 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7693 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7694 "     ' prfx=^$ac_symprfx"
   7695   else
   7696     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7697   fi
   7698   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7699 
   7700   # Check to see that the pipe works correctly.
   7701   pipe_works=no
   7702 
   7703   rm -f conftest*
   7704   cat > conftest.$ac_ext <<_LT_EOF
   7705 #ifdef __cplusplus
   7706 extern "C" {
   7707 #endif
   7708 char nm_test_var;
   7709 void nm_test_func(void);
   7710 void nm_test_func(void){}
   7711 #ifdef __cplusplus
   7712 }
   7713 #endif
   7714 int main(){nm_test_var='a';nm_test_func();return(0);}
   7715 _LT_EOF
   7716 
   7717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7718   (eval $ac_compile) 2>&5
   7719   ac_status=$?
   7720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7721   test $ac_status = 0; }; then
   7722     # Now try to grab the symbols.
   7723     nlist=conftest.nm
   7724     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7725   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7726   ac_status=$?
   7727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7728   test $ac_status = 0; } && test -s "$nlist"; then
   7729       # Try sorting and uniquifying the output.
   7730       if sort "$nlist" | uniq > "$nlist"T; then
   7731 	mv -f "$nlist"T "$nlist"
   7732       else
   7733 	rm -f "$nlist"T
   7734       fi
   7735 
   7736       # Make sure that we snagged all the symbols we need.
   7737       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7738 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7739 	  cat <<_LT_EOF > conftest.$ac_ext
   7740 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7741 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7742 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7743    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7744 # define LT_DLSYM_CONST
   7745 #elif defined __osf__
   7746 /* This system does not cope well with relocations in const data.  */
   7747 # define LT_DLSYM_CONST
   7748 #else
   7749 # define LT_DLSYM_CONST const
   7750 #endif
   7751 
   7752 #ifdef __cplusplus
   7753 extern "C" {
   7754 #endif
   7755 
   7756 _LT_EOF
   7757 	  # Now generate the symbol file.
   7758 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7759 
   7760 	  cat <<_LT_EOF >> conftest.$ac_ext
   7761 
   7762 /* The mapping between symbol names and symbols.  */
   7763 LT_DLSYM_CONST struct {
   7764   const char *name;
   7765   void       *address;
   7766 }
   7767 lt__PROGRAM__LTX_preloaded_symbols[] =
   7768 {
   7769   { "@PROGRAM@", (void *) 0 },
   7770 _LT_EOF
   7771 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7772 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7773   {0, (void *) 0}
   7774 };
   7775 
   7776 /* This works around a problem in FreeBSD linker */
   7777 #ifdef FREEBSD_WORKAROUND
   7778 static const void *lt_preloaded_setup() {
   7779   return lt__PROGRAM__LTX_preloaded_symbols;
   7780 }
   7781 #endif
   7782 
   7783 #ifdef __cplusplus
   7784 }
   7785 #endif
   7786 _LT_EOF
   7787 	  # Now try linking the two files.
   7788 	  mv conftest.$ac_objext conftstm.$ac_objext
   7789 	  lt_globsym_save_LIBS=$LIBS
   7790 	  lt_globsym_save_CFLAGS=$CFLAGS
   7791 	  LIBS=conftstm.$ac_objext
   7792 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7793 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7794   (eval $ac_link) 2>&5
   7795   ac_status=$?
   7796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7797   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7798 	    pipe_works=yes
   7799 	  fi
   7800 	  LIBS=$lt_globsym_save_LIBS
   7801 	  CFLAGS=$lt_globsym_save_CFLAGS
   7802 	else
   7803 	  echo "cannot find nm_test_func in $nlist" >&5
   7804 	fi
   7805       else
   7806 	echo "cannot find nm_test_var in $nlist" >&5
   7807       fi
   7808     else
   7809       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7810     fi
   7811   else
   7812     echo "$progname: failed program was:" >&5
   7813     cat conftest.$ac_ext >&5
   7814   fi
   7815   rm -rf conftest* conftst*
   7816 
   7817   # Do not use the global_symbol_pipe unless it works.
   7818   if test yes = "$pipe_works"; then
   7819     break
   7820   else
   7821     lt_cv_sys_global_symbol_pipe=
   7822   fi
   7823 done
   7824 
   7825 fi
   7826 
   7827 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7828   lt_cv_sys_global_symbol_to_cdecl=
   7829 fi
   7830 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7832 $as_echo "failed" >&6; }
   7833 else
   7834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7835 $as_echo "ok" >&6; }
   7836 fi
   7837 
   7838 # Response file support.
   7839 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7840   nm_file_list_spec='@'
   7841 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7842   nm_file_list_spec='@'
   7843 fi
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7882 $as_echo_n "checking for sysroot... " >&6; }
   7883 
   7884 # Check whether --with-sysroot was given.
   7885 if test "${with_sysroot+set}" = set; then :
   7886   withval=$with_sysroot;
   7887 else
   7888   with_sysroot=no
   7889 fi
   7890 
   7891 
   7892 lt_sysroot=
   7893 case $with_sysroot in #(
   7894  yes)
   7895    if test yes = "$GCC"; then
   7896      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7897    fi
   7898    ;; #(
   7899  /*)
   7900    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7901    ;; #(
   7902  no|'')
   7903    ;; #(
   7904  *)
   7905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7906 $as_echo "$with_sysroot" >&6; }
   7907    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7908    ;;
   7909 esac
   7910 
   7911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7912 $as_echo "${lt_sysroot:-no}" >&6; }
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7919 $as_echo_n "checking for a working dd... " >&6; }
   7920 if ${ac_cv_path_lt_DD+:} false; then :
   7921   $as_echo_n "(cached) " >&6
   7922 else
   7923   printf 0123456789abcdef0123456789abcdef >conftest.i
   7924 cat conftest.i conftest.i >conftest2.i
   7925 : ${lt_DD:=$DD}
   7926 if test -z "$lt_DD"; then
   7927   ac_path_lt_DD_found=false
   7928   # Loop through the user's path and test for each of PROGNAME-LIST
   7929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7930 for as_dir in $PATH
   7931 do
   7932   IFS=$as_save_IFS
   7933   test -z "$as_dir" && as_dir=.
   7934     for ac_prog in dd; do
   7935     for ac_exec_ext in '' $ac_executable_extensions; do
   7936       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   7937       as_fn_executable_p "$ac_path_lt_DD" || continue
   7938 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7939   cmp -s conftest.i conftest.out \
   7940   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7941 fi
   7942       $ac_path_lt_DD_found && break 3
   7943     done
   7944   done
   7945   done
   7946 IFS=$as_save_IFS
   7947   if test -z "$ac_cv_path_lt_DD"; then
   7948     :
   7949   fi
   7950 else
   7951   ac_cv_path_lt_DD=$lt_DD
   7952 fi
   7953 
   7954 rm -f conftest.i conftest2.i conftest.out
   7955 fi
   7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7957 $as_echo "$ac_cv_path_lt_DD" >&6; }
   7958 
   7959 
   7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7961 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   7962 if ${lt_cv_truncate_bin+:} false; then :
   7963   $as_echo_n "(cached) " >&6
   7964 else
   7965   printf 0123456789abcdef0123456789abcdef >conftest.i
   7966 cat conftest.i conftest.i >conftest2.i
   7967 lt_cv_truncate_bin=
   7968 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7969   cmp -s conftest.i conftest.out \
   7970   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7971 fi
   7972 rm -f conftest.i conftest2.i conftest.out
   7973 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7974 fi
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7976 $as_echo "$lt_cv_truncate_bin" >&6; }
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7985 func_cc_basename ()
   7986 {
   7987     for cc_temp in $*""; do
   7988       case $cc_temp in
   7989         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7990         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7991         \-*) ;;
   7992         *) break;;
   7993       esac
   7994     done
   7995     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7996 }
   7997 
   7998 # Check whether --enable-libtool-lock was given.
   7999 if test "${enable_libtool_lock+set}" = set; then :
   8000   enableval=$enable_libtool_lock;
   8001 fi
   8002 
   8003 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8004 
   8005 # Some flags need to be propagated to the compiler or linker for good
   8006 # libtool support.
   8007 case $host in
   8008 ia64-*-hpux*)
   8009   # Find out what ABI is being produced by ac_compile, and set mode
   8010   # options accordingly.
   8011   echo 'int i;' > conftest.$ac_ext
   8012   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8013   (eval $ac_compile) 2>&5
   8014   ac_status=$?
   8015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8016   test $ac_status = 0; }; then
   8017     case `/usr/bin/file conftest.$ac_objext` in
   8018       *ELF-32*)
   8019 	HPUX_IA64_MODE=32
   8020 	;;
   8021       *ELF-64*)
   8022 	HPUX_IA64_MODE=64
   8023 	;;
   8024     esac
   8025   fi
   8026   rm -rf conftest*
   8027   ;;
   8028 *-*-irix6*)
   8029   # Find out what ABI is being produced by ac_compile, and set linker
   8030   # options accordingly.
   8031   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8032   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8033   (eval $ac_compile) 2>&5
   8034   ac_status=$?
   8035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8036   test $ac_status = 0; }; then
   8037     if test yes = "$lt_cv_prog_gnu_ld"; then
   8038       case `/usr/bin/file conftest.$ac_objext` in
   8039 	*32-bit*)
   8040 	  LD="${LD-ld} -melf32bsmip"
   8041 	  ;;
   8042 	*N32*)
   8043 	  LD="${LD-ld} -melf32bmipn32"
   8044 	  ;;
   8045 	*64-bit*)
   8046 	  LD="${LD-ld} -melf64bmip"
   8047 	;;
   8048       esac
   8049     else
   8050       case `/usr/bin/file conftest.$ac_objext` in
   8051 	*32-bit*)
   8052 	  LD="${LD-ld} -32"
   8053 	  ;;
   8054 	*N32*)
   8055 	  LD="${LD-ld} -n32"
   8056 	  ;;
   8057 	*64-bit*)
   8058 	  LD="${LD-ld} -64"
   8059 	  ;;
   8060       esac
   8061     fi
   8062   fi
   8063   rm -rf conftest*
   8064   ;;
   8065 
   8066 mips64*-*linux*)
   8067   # Find out what ABI is being produced by ac_compile, and set linker
   8068   # options accordingly.
   8069   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8071   (eval $ac_compile) 2>&5
   8072   ac_status=$?
   8073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8074   test $ac_status = 0; }; then
   8075     emul=elf
   8076     case `/usr/bin/file conftest.$ac_objext` in
   8077       *32-bit*)
   8078 	emul="${emul}32"
   8079 	;;
   8080       *64-bit*)
   8081 	emul="${emul}64"
   8082 	;;
   8083     esac
   8084     case `/usr/bin/file conftest.$ac_objext` in
   8085       *MSB*)
   8086 	emul="${emul}btsmip"
   8087 	;;
   8088       *LSB*)
   8089 	emul="${emul}ltsmip"
   8090 	;;
   8091     esac
   8092     case `/usr/bin/file conftest.$ac_objext` in
   8093       *N32*)
   8094 	emul="${emul}n32"
   8095 	;;
   8096     esac
   8097     LD="${LD-ld} -m $emul"
   8098   fi
   8099   rm -rf conftest*
   8100   ;;
   8101 
   8102 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8103 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8104   # Find out what ABI is being produced by ac_compile, and set linker
   8105   # options accordingly.  Note that the listed cases only cover the
   8106   # situations where additional linker options are needed (such as when
   8107   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8108   # vice versa); the common cases where no linker options are needed do
   8109   # not appear in the list.
   8110   echo 'int i;' > conftest.$ac_ext
   8111   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8112   (eval $ac_compile) 2>&5
   8113   ac_status=$?
   8114   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8115   test $ac_status = 0; }; then
   8116     case `/usr/bin/file conftest.o` in
   8117       *32-bit*)
   8118 	case $host in
   8119 	  x86_64-*kfreebsd*-gnu)
   8120 	    LD="${LD-ld} -m elf_i386_fbsd"
   8121 	    ;;
   8122 	  x86_64-*linux*)
   8123 	    case `/usr/bin/file conftest.o` in
   8124 	      *x86-64*)
   8125 		LD="${LD-ld} -m elf32_x86_64"
   8126 		;;
   8127 	      *)
   8128 		LD="${LD-ld} -m elf_i386"
   8129 		;;
   8130 	    esac
   8131 	    ;;
   8132 	  powerpc64le-*linux*)
   8133 	    LD="${LD-ld} -m elf32lppclinux"
   8134 	    ;;
   8135 	  powerpc64-*linux*)
   8136 	    LD="${LD-ld} -m elf32ppclinux"
   8137 	    ;;
   8138 	  s390x-*linux*)
   8139 	    LD="${LD-ld} -m elf_s390"
   8140 	    ;;
   8141 	  sparc64-*linux*)
   8142 	    LD="${LD-ld} -m elf32_sparc"
   8143 	    ;;
   8144 	esac
   8145 	;;
   8146       *64-bit*)
   8147 	case $host in
   8148 	  x86_64-*kfreebsd*-gnu)
   8149 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8150 	    ;;
   8151 	  x86_64-*linux*)
   8152 	    LD="${LD-ld} -m elf_x86_64"
   8153 	    ;;
   8154 	  powerpcle-*linux*)
   8155 	    LD="${LD-ld} -m elf64lppc"
   8156 	    ;;
   8157 	  powerpc-*linux*)
   8158 	    LD="${LD-ld} -m elf64ppc"
   8159 	    ;;
   8160 	  s390*-*linux*|s390*-*tpf*)
   8161 	    LD="${LD-ld} -m elf64_s390"
   8162 	    ;;
   8163 	  sparc*-*linux*)
   8164 	    LD="${LD-ld} -m elf64_sparc"
   8165 	    ;;
   8166 	esac
   8167 	;;
   8168     esac
   8169   fi
   8170   rm -rf conftest*
   8171   ;;
   8172 
   8173 *-*-sco3.2v5*)
   8174   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8175   SAVE_CFLAGS=$CFLAGS
   8176   CFLAGS="$CFLAGS -belf"
   8177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8178 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8179 if ${lt_cv_cc_needs_belf+:} false; then :
   8180   $as_echo_n "(cached) " >&6
   8181 else
   8182   ac_ext=c
   8183 ac_cpp='$CPP $CPPFLAGS'
   8184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8187 
   8188      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8189 /* end confdefs.h.  */
   8190 
   8191 int
   8192 main ()
   8193 {
   8194 
   8195   ;
   8196   return 0;
   8197 }
   8198 _ACEOF
   8199 if ac_fn_c_try_link "$LINENO"; then :
   8200   lt_cv_cc_needs_belf=yes
   8201 else
   8202   lt_cv_cc_needs_belf=no
   8203 fi
   8204 rm -f core conftest.err conftest.$ac_objext \
   8205     conftest$ac_exeext conftest.$ac_ext
   8206      ac_ext=c
   8207 ac_cpp='$CPP $CPPFLAGS'
   8208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8211 
   8212 fi
   8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8214 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8215   if test yes != "$lt_cv_cc_needs_belf"; then
   8216     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8217     CFLAGS=$SAVE_CFLAGS
   8218   fi
   8219   ;;
   8220 *-*solaris*)
   8221   # Find out what ABI is being produced by ac_compile, and set linker
   8222   # options accordingly.
   8223   echo 'int i;' > conftest.$ac_ext
   8224   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8225   (eval $ac_compile) 2>&5
   8226   ac_status=$?
   8227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8228   test $ac_status = 0; }; then
   8229     case `/usr/bin/file conftest.o` in
   8230     *64-bit*)
   8231       case $lt_cv_prog_gnu_ld in
   8232       yes*)
   8233         case $host in
   8234         i?86-*-solaris*|x86_64-*-solaris*)
   8235           LD="${LD-ld} -m elf_x86_64"
   8236           ;;
   8237         sparc*-*-solaris*)
   8238           LD="${LD-ld} -m elf64_sparc"
   8239           ;;
   8240         esac
   8241         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8242         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8243           LD=${LD-ld}_sol2
   8244         fi
   8245         ;;
   8246       *)
   8247 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8248 	  LD="${LD-ld} -64"
   8249 	fi
   8250 	;;
   8251       esac
   8252       ;;
   8253     esac
   8254   fi
   8255   rm -rf conftest*
   8256   ;;
   8257 esac
   8258 
   8259 need_locks=$enable_libtool_lock
   8260 
   8261 if test -n "$ac_tool_prefix"; then
   8262   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8263 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8265 $as_echo_n "checking for $ac_word... " >&6; }
   8266 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   if test -n "$MANIFEST_TOOL"; then
   8270   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8271 else
   8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8273 for as_dir in $PATH
   8274 do
   8275   IFS=$as_save_IFS
   8276   test -z "$as_dir" && as_dir=.
   8277     for ac_exec_ext in '' $ac_executable_extensions; do
   8278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8279     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8281     break 2
   8282   fi
   8283 done
   8284   done
   8285 IFS=$as_save_IFS
   8286 
   8287 fi
   8288 fi
   8289 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8290 if test -n "$MANIFEST_TOOL"; then
   8291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8292 $as_echo "$MANIFEST_TOOL" >&6; }
   8293 else
   8294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8295 $as_echo "no" >&6; }
   8296 fi
   8297 
   8298 
   8299 fi
   8300 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8301   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8302   # Extract the first word of "mt", so it can be a program name with args.
   8303 set dummy mt; ac_word=$2
   8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8305 $as_echo_n "checking for $ac_word... " >&6; }
   8306 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   8307   $as_echo_n "(cached) " >&6
   8308 else
   8309   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8310   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8311 else
   8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8313 for as_dir in $PATH
   8314 do
   8315   IFS=$as_save_IFS
   8316   test -z "$as_dir" && as_dir=.
   8317     for ac_exec_ext in '' $ac_executable_extensions; do
   8318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8319     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8321     break 2
   8322   fi
   8323 done
   8324   done
   8325 IFS=$as_save_IFS
   8326 
   8327 fi
   8328 fi
   8329 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8330 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8332 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   8333 else
   8334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8335 $as_echo "no" >&6; }
   8336 fi
   8337 
   8338   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8339     MANIFEST_TOOL=":"
   8340   else
   8341     case $cross_compiling:$ac_tool_warned in
   8342 yes:)
   8343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8345 ac_tool_warned=yes ;;
   8346 esac
   8347     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8348   fi
   8349 else
   8350   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8351 fi
   8352 
   8353 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8355 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8356 if ${lt_cv_path_mainfest_tool+:} false; then :
   8357   $as_echo_n "(cached) " >&6
   8358 else
   8359   lt_cv_path_mainfest_tool=no
   8360   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8361   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8362   cat conftest.err >&5
   8363   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8364     lt_cv_path_mainfest_tool=yes
   8365   fi
   8366   rm -f conftest*
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8369 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8370 if test yes != "$lt_cv_path_mainfest_tool"; then
   8371   MANIFEST_TOOL=:
   8372 fi
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379   case $host_os in
   8380     rhapsody* | darwin*)
   8381     if test -n "$ac_tool_prefix"; then
   8382   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8383 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8385 $as_echo_n "checking for $ac_word... " >&6; }
   8386 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8387   $as_echo_n "(cached) " >&6
   8388 else
   8389   if test -n "$DSYMUTIL"; then
   8390   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8391 else
   8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8393 for as_dir in $PATH
   8394 do
   8395   IFS=$as_save_IFS
   8396   test -z "$as_dir" && as_dir=.
   8397     for ac_exec_ext in '' $ac_executable_extensions; do
   8398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8399     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8401     break 2
   8402   fi
   8403 done
   8404   done
   8405 IFS=$as_save_IFS
   8406 
   8407 fi
   8408 fi
   8409 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8410 if test -n "$DSYMUTIL"; then
   8411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8412 $as_echo "$DSYMUTIL" >&6; }
   8413 else
   8414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8415 $as_echo "no" >&6; }
   8416 fi
   8417 
   8418 
   8419 fi
   8420 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8421   ac_ct_DSYMUTIL=$DSYMUTIL
   8422   # Extract the first word of "dsymutil", so it can be a program name with args.
   8423 set dummy dsymutil; ac_word=$2
   8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8425 $as_echo_n "checking for $ac_word... " >&6; }
   8426 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8427   $as_echo_n "(cached) " >&6
   8428 else
   8429   if test -n "$ac_ct_DSYMUTIL"; then
   8430   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8431 else
   8432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8433 for as_dir in $PATH
   8434 do
   8435   IFS=$as_save_IFS
   8436   test -z "$as_dir" && as_dir=.
   8437     for ac_exec_ext in '' $ac_executable_extensions; do
   8438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8439     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8441     break 2
   8442   fi
   8443 done
   8444   done
   8445 IFS=$as_save_IFS
   8446 
   8447 fi
   8448 fi
   8449 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8450 if test -n "$ac_ct_DSYMUTIL"; then
   8451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8452 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8453 else
   8454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8455 $as_echo "no" >&6; }
   8456 fi
   8457 
   8458   if test "x$ac_ct_DSYMUTIL" = x; then
   8459     DSYMUTIL=":"
   8460   else
   8461     case $cross_compiling:$ac_tool_warned in
   8462 yes:)
   8463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8465 ac_tool_warned=yes ;;
   8466 esac
   8467     DSYMUTIL=$ac_ct_DSYMUTIL
   8468   fi
   8469 else
   8470   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8471 fi
   8472 
   8473     if test -n "$ac_tool_prefix"; then
   8474   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8475 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8477 $as_echo_n "checking for $ac_word... " >&6; }
   8478 if ${ac_cv_prog_NMEDIT+:} false; then :
   8479   $as_echo_n "(cached) " >&6
   8480 else
   8481   if test -n "$NMEDIT"; then
   8482   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8483 else
   8484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8485 for as_dir in $PATH
   8486 do
   8487   IFS=$as_save_IFS
   8488   test -z "$as_dir" && as_dir=.
   8489     for ac_exec_ext in '' $ac_executable_extensions; do
   8490   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8491     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8493     break 2
   8494   fi
   8495 done
   8496   done
   8497 IFS=$as_save_IFS
   8498 
   8499 fi
   8500 fi
   8501 NMEDIT=$ac_cv_prog_NMEDIT
   8502 if test -n "$NMEDIT"; then
   8503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8504 $as_echo "$NMEDIT" >&6; }
   8505 else
   8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8507 $as_echo "no" >&6; }
   8508 fi
   8509 
   8510 
   8511 fi
   8512 if test -z "$ac_cv_prog_NMEDIT"; then
   8513   ac_ct_NMEDIT=$NMEDIT
   8514   # Extract the first word of "nmedit", so it can be a program name with args.
   8515 set dummy nmedit; ac_word=$2
   8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8517 $as_echo_n "checking for $ac_word... " >&6; }
   8518 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8519   $as_echo_n "(cached) " >&6
   8520 else
   8521   if test -n "$ac_ct_NMEDIT"; then
   8522   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8523 else
   8524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8525 for as_dir in $PATH
   8526 do
   8527   IFS=$as_save_IFS
   8528   test -z "$as_dir" && as_dir=.
   8529     for ac_exec_ext in '' $ac_executable_extensions; do
   8530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8531     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8533     break 2
   8534   fi
   8535 done
   8536   done
   8537 IFS=$as_save_IFS
   8538 
   8539 fi
   8540 fi
   8541 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8542 if test -n "$ac_ct_NMEDIT"; then
   8543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8544 $as_echo "$ac_ct_NMEDIT" >&6; }
   8545 else
   8546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8547 $as_echo "no" >&6; }
   8548 fi
   8549 
   8550   if test "x$ac_ct_NMEDIT" = x; then
   8551     NMEDIT=":"
   8552   else
   8553     case $cross_compiling:$ac_tool_warned in
   8554 yes:)
   8555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8557 ac_tool_warned=yes ;;
   8558 esac
   8559     NMEDIT=$ac_ct_NMEDIT
   8560   fi
   8561 else
   8562   NMEDIT="$ac_cv_prog_NMEDIT"
   8563 fi
   8564 
   8565     if test -n "$ac_tool_prefix"; then
   8566   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8567 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8569 $as_echo_n "checking for $ac_word... " >&6; }
   8570 if ${ac_cv_prog_LIPO+:} false; then :
   8571   $as_echo_n "(cached) " >&6
   8572 else
   8573   if test -n "$LIPO"; then
   8574   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8575 else
   8576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8577 for as_dir in $PATH
   8578 do
   8579   IFS=$as_save_IFS
   8580   test -z "$as_dir" && as_dir=.
   8581     for ac_exec_ext in '' $ac_executable_extensions; do
   8582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8583     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8585     break 2
   8586   fi
   8587 done
   8588   done
   8589 IFS=$as_save_IFS
   8590 
   8591 fi
   8592 fi
   8593 LIPO=$ac_cv_prog_LIPO
   8594 if test -n "$LIPO"; then
   8595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8596 $as_echo "$LIPO" >&6; }
   8597 else
   8598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8599 $as_echo "no" >&6; }
   8600 fi
   8601 
   8602 
   8603 fi
   8604 if test -z "$ac_cv_prog_LIPO"; then
   8605   ac_ct_LIPO=$LIPO
   8606   # Extract the first word of "lipo", so it can be a program name with args.
   8607 set dummy lipo; ac_word=$2
   8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8609 $as_echo_n "checking for $ac_word... " >&6; }
   8610 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8611   $as_echo_n "(cached) " >&6
   8612 else
   8613   if test -n "$ac_ct_LIPO"; then
   8614   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8615 else
   8616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8617 for as_dir in $PATH
   8618 do
   8619   IFS=$as_save_IFS
   8620   test -z "$as_dir" && as_dir=.
   8621     for ac_exec_ext in '' $ac_executable_extensions; do
   8622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8623     ac_cv_prog_ac_ct_LIPO="lipo"
   8624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8625     break 2
   8626   fi
   8627 done
   8628   done
   8629 IFS=$as_save_IFS
   8630 
   8631 fi
   8632 fi
   8633 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8634 if test -n "$ac_ct_LIPO"; then
   8635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8636 $as_echo "$ac_ct_LIPO" >&6; }
   8637 else
   8638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8639 $as_echo "no" >&6; }
   8640 fi
   8641 
   8642   if test "x$ac_ct_LIPO" = x; then
   8643     LIPO=":"
   8644   else
   8645     case $cross_compiling:$ac_tool_warned in
   8646 yes:)
   8647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8649 ac_tool_warned=yes ;;
   8650 esac
   8651     LIPO=$ac_ct_LIPO
   8652   fi
   8653 else
   8654   LIPO="$ac_cv_prog_LIPO"
   8655 fi
   8656 
   8657     if test -n "$ac_tool_prefix"; then
   8658   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8659 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8661 $as_echo_n "checking for $ac_word... " >&6; }
   8662 if ${ac_cv_prog_OTOOL+:} false; then :
   8663   $as_echo_n "(cached) " >&6
   8664 else
   8665   if test -n "$OTOOL"; then
   8666   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8667 else
   8668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8669 for as_dir in $PATH
   8670 do
   8671   IFS=$as_save_IFS
   8672   test -z "$as_dir" && as_dir=.
   8673     for ac_exec_ext in '' $ac_executable_extensions; do
   8674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8675     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8677     break 2
   8678   fi
   8679 done
   8680   done
   8681 IFS=$as_save_IFS
   8682 
   8683 fi
   8684 fi
   8685 OTOOL=$ac_cv_prog_OTOOL
   8686 if test -n "$OTOOL"; then
   8687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8688 $as_echo "$OTOOL" >&6; }
   8689 else
   8690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8691 $as_echo "no" >&6; }
   8692 fi
   8693 
   8694 
   8695 fi
   8696 if test -z "$ac_cv_prog_OTOOL"; then
   8697   ac_ct_OTOOL=$OTOOL
   8698   # Extract the first word of "otool", so it can be a program name with args.
   8699 set dummy otool; ac_word=$2
   8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8701 $as_echo_n "checking for $ac_word... " >&6; }
   8702 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8703   $as_echo_n "(cached) " >&6
   8704 else
   8705   if test -n "$ac_ct_OTOOL"; then
   8706   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8707 else
   8708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8709 for as_dir in $PATH
   8710 do
   8711   IFS=$as_save_IFS
   8712   test -z "$as_dir" && as_dir=.
   8713     for ac_exec_ext in '' $ac_executable_extensions; do
   8714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8715     ac_cv_prog_ac_ct_OTOOL="otool"
   8716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8717     break 2
   8718   fi
   8719 done
   8720   done
   8721 IFS=$as_save_IFS
   8722 
   8723 fi
   8724 fi
   8725 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8726 if test -n "$ac_ct_OTOOL"; then
   8727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8728 $as_echo "$ac_ct_OTOOL" >&6; }
   8729 else
   8730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8731 $as_echo "no" >&6; }
   8732 fi
   8733 
   8734   if test "x$ac_ct_OTOOL" = x; then
   8735     OTOOL=":"
   8736   else
   8737     case $cross_compiling:$ac_tool_warned in
   8738 yes:)
   8739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8741 ac_tool_warned=yes ;;
   8742 esac
   8743     OTOOL=$ac_ct_OTOOL
   8744   fi
   8745 else
   8746   OTOOL="$ac_cv_prog_OTOOL"
   8747 fi
   8748 
   8749     if test -n "$ac_tool_prefix"; then
   8750   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8751 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8753 $as_echo_n "checking for $ac_word... " >&6; }
   8754 if ${ac_cv_prog_OTOOL64+:} false; then :
   8755   $as_echo_n "(cached) " >&6
   8756 else
   8757   if test -n "$OTOOL64"; then
   8758   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8759 else
   8760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8761 for as_dir in $PATH
   8762 do
   8763   IFS=$as_save_IFS
   8764   test -z "$as_dir" && as_dir=.
   8765     for ac_exec_ext in '' $ac_executable_extensions; do
   8766   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8767     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8769     break 2
   8770   fi
   8771 done
   8772   done
   8773 IFS=$as_save_IFS
   8774 
   8775 fi
   8776 fi
   8777 OTOOL64=$ac_cv_prog_OTOOL64
   8778 if test -n "$OTOOL64"; then
   8779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8780 $as_echo "$OTOOL64" >&6; }
   8781 else
   8782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8783 $as_echo "no" >&6; }
   8784 fi
   8785 
   8786 
   8787 fi
   8788 if test -z "$ac_cv_prog_OTOOL64"; then
   8789   ac_ct_OTOOL64=$OTOOL64
   8790   # Extract the first word of "otool64", so it can be a program name with args.
   8791 set dummy otool64; ac_word=$2
   8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8793 $as_echo_n "checking for $ac_word... " >&6; }
   8794 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8795   $as_echo_n "(cached) " >&6
   8796 else
   8797   if test -n "$ac_ct_OTOOL64"; then
   8798   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8799 else
   8800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8801 for as_dir in $PATH
   8802 do
   8803   IFS=$as_save_IFS
   8804   test -z "$as_dir" && as_dir=.
   8805     for ac_exec_ext in '' $ac_executable_extensions; do
   8806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8807     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8809     break 2
   8810   fi
   8811 done
   8812   done
   8813 IFS=$as_save_IFS
   8814 
   8815 fi
   8816 fi
   8817 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8818 if test -n "$ac_ct_OTOOL64"; then
   8819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8820 $as_echo "$ac_ct_OTOOL64" >&6; }
   8821 else
   8822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8823 $as_echo "no" >&6; }
   8824 fi
   8825 
   8826   if test "x$ac_ct_OTOOL64" = x; then
   8827     OTOOL64=":"
   8828   else
   8829     case $cross_compiling:$ac_tool_warned in
   8830 yes:)
   8831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8833 ac_tool_warned=yes ;;
   8834 esac
   8835     OTOOL64=$ac_ct_OTOOL64
   8836   fi
   8837 else
   8838   OTOOL64="$ac_cv_prog_OTOOL64"
   8839 fi
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8868 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8869 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8870   $as_echo_n "(cached) " >&6
   8871 else
   8872   lt_cv_apple_cc_single_mod=no
   8873       if test -z "$LT_MULTI_MODULE"; then
   8874 	# By default we will add the -single_module flag. You can override
   8875 	# by either setting the environment variable LT_MULTI_MODULE
   8876 	# non-empty at configure time, or by adding -multi_module to the
   8877 	# link flags.
   8878 	rm -rf libconftest.dylib*
   8879 	echo "int foo(void){return 1;}" > conftest.c
   8880 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8881 -dynamiclib -Wl,-single_module conftest.c" >&5
   8882 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8883 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8884         _lt_result=$?
   8885 	# If there is a non-empty error log, and "single_module"
   8886 	# appears in it, assume the flag caused a linker warning
   8887         if test -s conftest.err && $GREP single_module conftest.err; then
   8888 	  cat conftest.err >&5
   8889 	# Otherwise, if the output was created with a 0 exit code from
   8890 	# the compiler, it worked.
   8891 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8892 	  lt_cv_apple_cc_single_mod=yes
   8893 	else
   8894 	  cat conftest.err >&5
   8895 	fi
   8896 	rm -rf libconftest.dylib*
   8897 	rm -f conftest.*
   8898       fi
   8899 fi
   8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8901 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8902 
   8903     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8904 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8905 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8906   $as_echo_n "(cached) " >&6
   8907 else
   8908   lt_cv_ld_exported_symbols_list=no
   8909       save_LDFLAGS=$LDFLAGS
   8910       echo "_main" > conftest.sym
   8911       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8913 /* end confdefs.h.  */
   8914 
   8915 int
   8916 main ()
   8917 {
   8918 
   8919   ;
   8920   return 0;
   8921 }
   8922 _ACEOF
   8923 if ac_fn_c_try_link "$LINENO"; then :
   8924   lt_cv_ld_exported_symbols_list=yes
   8925 else
   8926   lt_cv_ld_exported_symbols_list=no
   8927 fi
   8928 rm -f core conftest.err conftest.$ac_objext \
   8929     conftest$ac_exeext conftest.$ac_ext
   8930 	LDFLAGS=$save_LDFLAGS
   8931 
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8934 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8935 
   8936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8937 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8938 if ${lt_cv_ld_force_load+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   lt_cv_ld_force_load=no
   8942       cat > conftest.c << _LT_EOF
   8943 int forced_loaded() { return 2;}
   8944 _LT_EOF
   8945       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8946       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8947       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8948       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8949       echo "$RANLIB libconftest.a" >&5
   8950       $RANLIB libconftest.a 2>&5
   8951       cat > conftest.c << _LT_EOF
   8952 int main() { return 0;}
   8953 _LT_EOF
   8954       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8955       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8956       _lt_result=$?
   8957       if test -s conftest.err && $GREP force_load conftest.err; then
   8958 	cat conftest.err >&5
   8959       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8960 	lt_cv_ld_force_load=yes
   8961       else
   8962 	cat conftest.err >&5
   8963       fi
   8964         rm -f conftest.err libconftest.a conftest conftest.c
   8965         rm -rf conftest.dSYM
   8966 
   8967 fi
   8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8969 $as_echo "$lt_cv_ld_force_load" >&6; }
   8970     case $host_os in
   8971     rhapsody* | darwin1.[012])
   8972       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8973     darwin1.*)
   8974       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8975     darwin*) # darwin 5.x on
   8976       # if running on 10.5 or later, the deployment target defaults
   8977       # to the OS version, if on x86, and 10.4, the deployment
   8978       # target defaults to 10.4. Don't you love it?
   8979       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8980 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8981 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8982 	10.[012][,.]*)
   8983 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8984 	10.*)
   8985 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8986       esac
   8987     ;;
   8988   esac
   8989     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8990       _lt_dar_single_mod='$single_module'
   8991     fi
   8992     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8993       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8994     else
   8995       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8996     fi
   8997     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8998       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8999     else
   9000       _lt_dsymutil=
   9001     fi
   9002     ;;
   9003   esac
   9004 
   9005 # func_munge_path_list VARIABLE PATH
   9006 # -----------------------------------
   9007 # VARIABLE is name of variable containing _space_ separated list of
   9008 # directories to be munged by the contents of PATH, which is string
   9009 # having a format:
   9010 # "DIR[:DIR]:"
   9011 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9012 # ":DIR[:DIR]"
   9013 #       string "DIR[ DIR]" will be appended to VARIABLE
   9014 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9015 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9016 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9017 # "DIR[:DIR]"
   9018 #       VARIABLE will be replaced by "DIR[ DIR]"
   9019 func_munge_path_list ()
   9020 {
   9021     case x$2 in
   9022     x)
   9023         ;;
   9024     *:)
   9025         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9026         ;;
   9027     x:*)
   9028         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9029         ;;
   9030     *::*)
   9031         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9032         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9033         ;;
   9034     *)
   9035         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9036         ;;
   9037     esac
   9038 }
   9039 
   9040 for ac_header in dlfcn.h
   9041 do :
   9042   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9043 "
   9044 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9045   cat >>confdefs.h <<_ACEOF
   9046 #define HAVE_DLFCN_H 1
   9047 _ACEOF
   9048 
   9049 fi
   9050 
   9051 done
   9052 
   9053 
   9054 
   9055 
   9056 func_stripname_cnf ()
   9057 {
   9058   case $2 in
   9059   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   9060   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   9061   esac
   9062 } # func_stripname_cnf
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 # Set options
   9069 
   9070 
   9071 
   9072         enable_dlopen=no
   9073 
   9074 
   9075   enable_win32_dll=no
   9076 
   9077 
   9078             # Check whether --enable-shared was given.
   9079 if test "${enable_shared+set}" = set; then :
   9080   enableval=$enable_shared; p=${PACKAGE-default}
   9081     case $enableval in
   9082     yes) enable_shared=yes ;;
   9083     no) enable_shared=no ;;
   9084     *)
   9085       enable_shared=no
   9086       # Look at the argument we got.  We use all the common list separators.
   9087       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9088       for pkg in $enableval; do
   9089 	IFS=$lt_save_ifs
   9090 	if test "X$pkg" = "X$p"; then
   9091 	  enable_shared=yes
   9092 	fi
   9093       done
   9094       IFS=$lt_save_ifs
   9095       ;;
   9096     esac
   9097 else
   9098   enable_shared=yes
   9099 fi
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 # Check whether --with-pic was given.
   9112 if test "${with_pic+set}" = set; then :
   9113   withval=$with_pic; lt_p=${PACKAGE-default}
   9114     case $withval in
   9115     yes|no) pic_mode=$withval ;;
   9116     *)
   9117       pic_mode=default
   9118       # Look at the argument we got.  We use all the common list separators.
   9119       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9120       for lt_pkg in $withval; do
   9121 	IFS=$lt_save_ifs
   9122 	if test "X$lt_pkg" = "X$lt_p"; then
   9123 	  pic_mode=yes
   9124 	fi
   9125       done
   9126       IFS=$lt_save_ifs
   9127       ;;
   9128     esac
   9129 else
   9130   pic_mode=default
   9131 fi
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140   # Check whether --enable-fast-install was given.
   9141 if test "${enable_fast_install+set}" = set; then :
   9142   enableval=$enable_fast_install; p=${PACKAGE-default}
   9143     case $enableval in
   9144     yes) enable_fast_install=yes ;;
   9145     no) enable_fast_install=no ;;
   9146     *)
   9147       enable_fast_install=no
   9148       # Look at the argument we got.  We use all the common list separators.
   9149       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9150       for pkg in $enableval; do
   9151 	IFS=$lt_save_ifs
   9152 	if test "X$pkg" = "X$p"; then
   9153 	  enable_fast_install=yes
   9154 	fi
   9155       done
   9156       IFS=$lt_save_ifs
   9157       ;;
   9158     esac
   9159 else
   9160   enable_fast_install=yes
   9161 fi
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170   shared_archive_member_spec=
   9171 case $host,$enable_shared in
   9172 power*-*-aix[5-9]*,yes)
   9173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9174 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   9175 
   9176 # Check whether --with-aix-soname was given.
   9177 if test "${with_aix_soname+set}" = set; then :
   9178   withval=$with_aix_soname; case $withval in
   9179     aix|svr4|both)
   9180       ;;
   9181     *)
   9182       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9183       ;;
   9184     esac
   9185     lt_cv_with_aix_soname=$with_aix_soname
   9186 else
   9187   if ${lt_cv_with_aix_soname+:} false; then :
   9188   $as_echo_n "(cached) " >&6
   9189 else
   9190   lt_cv_with_aix_soname=aix
   9191 fi
   9192 
   9193     with_aix_soname=$lt_cv_with_aix_soname
   9194 fi
   9195 
   9196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9197 $as_echo "$with_aix_soname" >&6; }
   9198   if test aix != "$with_aix_soname"; then
   9199     # For the AIX way of multilib, we name the shared archive member
   9200     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9201     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9202     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9203     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9204     if test 64 = "${OBJECT_MODE-32}"; then
   9205       shared_archive_member_spec=shr_64
   9206     else
   9207       shared_archive_member_spec=shr
   9208     fi
   9209   fi
   9210   ;;
   9211 *)
   9212   with_aix_soname=aix
   9213   ;;
   9214 esac
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 # This can be used to rebuild libtool when needed
   9226 LIBTOOL_DEPS=$ltmain
   9227 
   9228 # Always use our own libtool.
   9229 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 test -z "$LN_S" && LN_S="ln -s"
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 if test -n "${ZSH_VERSION+set}"; then
   9276    setopt NO_GLOB_SUBST
   9277 fi
   9278 
   9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9280 $as_echo_n "checking for objdir... " >&6; }
   9281 if ${lt_cv_objdir+:} false; then :
   9282   $as_echo_n "(cached) " >&6
   9283 else
   9284   rm -f .libs 2>/dev/null
   9285 mkdir .libs 2>/dev/null
   9286 if test -d .libs; then
   9287   lt_cv_objdir=.libs
   9288 else
   9289   # MS-DOS does not allow filenames that begin with a dot.
   9290   lt_cv_objdir=_libs
   9291 fi
   9292 rmdir .libs 2>/dev/null
   9293 fi
   9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9295 $as_echo "$lt_cv_objdir" >&6; }
   9296 objdir=$lt_cv_objdir
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 cat >>confdefs.h <<_ACEOF
   9303 #define LT_OBJDIR "$lt_cv_objdir/"
   9304 _ACEOF
   9305 
   9306 
   9307 
   9308 
   9309 case $host_os in
   9310 aix3*)
   9311   # AIX sometimes has problems with the GCC collect2 program.  For some
   9312   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9313   # vanish in a puff of smoke.
   9314   if test set != "${COLLECT_NAMES+set}"; then
   9315     COLLECT_NAMES=
   9316     export COLLECT_NAMES
   9317   fi
   9318   ;;
   9319 esac
   9320 
   9321 # Global variables:
   9322 ofile=libtool
   9323 can_build_shared=yes
   9324 
   9325 # All known linkers require a '.a' archive for static linking (except MSVC and
   9326 # ICC, which need '.lib').
   9327 libext=a
   9328 
   9329 with_gnu_ld=$lt_cv_prog_gnu_ld
   9330 
   9331 old_CC=$CC
   9332 old_CFLAGS=$CFLAGS
   9333 
   9334 # Set sane defaults for various variables
   9335 test -z "$CC" && CC=cc
   9336 test -z "$LTCC" && LTCC=$CC
   9337 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9338 test -z "$LD" && LD=ld
   9339 test -z "$ac_objext" && ac_objext=o
   9340 
   9341 func_cc_basename $compiler
   9342 cc_basename=$func_cc_basename_result
   9343 
   9344 
   9345 # Only perform the check for file, if the check method requires it
   9346 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9347 case $deplibs_check_method in
   9348 file_magic*)
   9349   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9351 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9352 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9353   $as_echo_n "(cached) " >&6
   9354 else
   9355   case $MAGIC_CMD in
   9356 [\\/*] |  ?:[\\/]*)
   9357   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9358   ;;
   9359 *)
   9360   lt_save_MAGIC_CMD=$MAGIC_CMD
   9361   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9362   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9363   for ac_dir in $ac_dummy; do
   9364     IFS=$lt_save_ifs
   9365     test -z "$ac_dir" && ac_dir=.
   9366     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9367       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9368       if test -n "$file_magic_test_file"; then
   9369 	case $deplibs_check_method in
   9370 	"file_magic "*)
   9371 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9372 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9373 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9374 	    $EGREP "$file_magic_regex" > /dev/null; then
   9375 	    :
   9376 	  else
   9377 	    cat <<_LT_EOF 1>&2
   9378 
   9379 *** Warning: the command libtool uses to detect shared libraries,
   9380 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9381 *** The result is that libtool may fail to recognize shared libraries
   9382 *** as such.  This will affect the creation of libtool libraries that
   9383 *** depend on shared libraries, but programs linked with such libtool
   9384 *** libraries will work regardless of this problem.  Nevertheless, you
   9385 *** may want to report the problem to your system manager and/or to
   9386 *** bug-libtool (at] gnu.org
   9387 
   9388 _LT_EOF
   9389 	  fi ;;
   9390 	esac
   9391       fi
   9392       break
   9393     fi
   9394   done
   9395   IFS=$lt_save_ifs
   9396   MAGIC_CMD=$lt_save_MAGIC_CMD
   9397   ;;
   9398 esac
   9399 fi
   9400 
   9401 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9402 if test -n "$MAGIC_CMD"; then
   9403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9404 $as_echo "$MAGIC_CMD" >&6; }
   9405 else
   9406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9407 $as_echo "no" >&6; }
   9408 fi
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9415   if test -n "$ac_tool_prefix"; then
   9416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9417 $as_echo_n "checking for file... " >&6; }
   9418 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9419   $as_echo_n "(cached) " >&6
   9420 else
   9421   case $MAGIC_CMD in
   9422 [\\/*] |  ?:[\\/]*)
   9423   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9424   ;;
   9425 *)
   9426   lt_save_MAGIC_CMD=$MAGIC_CMD
   9427   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9428   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9429   for ac_dir in $ac_dummy; do
   9430     IFS=$lt_save_ifs
   9431     test -z "$ac_dir" && ac_dir=.
   9432     if test -f "$ac_dir/file"; then
   9433       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9434       if test -n "$file_magic_test_file"; then
   9435 	case $deplibs_check_method in
   9436 	"file_magic "*)
   9437 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9438 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9439 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9440 	    $EGREP "$file_magic_regex" > /dev/null; then
   9441 	    :
   9442 	  else
   9443 	    cat <<_LT_EOF 1>&2
   9444 
   9445 *** Warning: the command libtool uses to detect shared libraries,
   9446 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9447 *** The result is that libtool may fail to recognize shared libraries
   9448 *** as such.  This will affect the creation of libtool libraries that
   9449 *** depend on shared libraries, but programs linked with such libtool
   9450 *** libraries will work regardless of this problem.  Nevertheless, you
   9451 *** may want to report the problem to your system manager and/or to
   9452 *** bug-libtool (at] gnu.org
   9453 
   9454 _LT_EOF
   9455 	  fi ;;
   9456 	esac
   9457       fi
   9458       break
   9459     fi
   9460   done
   9461   IFS=$lt_save_ifs
   9462   MAGIC_CMD=$lt_save_MAGIC_CMD
   9463   ;;
   9464 esac
   9465 fi
   9466 
   9467 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9468 if test -n "$MAGIC_CMD"; then
   9469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9470 $as_echo "$MAGIC_CMD" >&6; }
   9471 else
   9472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9473 $as_echo "no" >&6; }
   9474 fi
   9475 
   9476 
   9477   else
   9478     MAGIC_CMD=:
   9479   fi
   9480 fi
   9481 
   9482   fi
   9483   ;;
   9484 esac
   9485 
   9486 # Use C for the default configuration in the libtool script
   9487 
   9488 lt_save_CC=$CC
   9489 ac_ext=c
   9490 ac_cpp='$CPP $CPPFLAGS'
   9491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9494 
   9495 
   9496 # Source file extension for C test sources.
   9497 ac_ext=c
   9498 
   9499 # Object file extension for compiled C test sources.
   9500 objext=o
   9501 objext=$objext
   9502 
   9503 # Code to be used in simple compile tests
   9504 lt_simple_compile_test_code="int some_variable = 0;"
   9505 
   9506 # Code to be used in simple link tests
   9507 lt_simple_link_test_code='int main(){return(0);}'
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 # If no C compiler was specified, use CC.
   9516 LTCC=${LTCC-"$CC"}
   9517 
   9518 # If no C compiler flags were specified, use CFLAGS.
   9519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9520 
   9521 # Allow CC to be a program name with arguments.
   9522 compiler=$CC
   9523 
   9524 # Save the default compiler, since it gets overwritten when the other
   9525 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9526 compiler_DEFAULT=$CC
   9527 
   9528 # save warnings/boilerplate of simple test code
   9529 ac_outfile=conftest.$ac_objext
   9530 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9531 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9532 _lt_compiler_boilerplate=`cat conftest.err`
   9533 $RM conftest*
   9534 
   9535 ac_outfile=conftest.$ac_objext
   9536 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9537 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9538 _lt_linker_boilerplate=`cat conftest.err`
   9539 $RM -r conftest*
   9540 
   9541 
   9542 if test -n "$compiler"; then
   9543 
   9544 lt_prog_compiler_no_builtin_flag=
   9545 
   9546 if test yes = "$GCC"; then
   9547   case $cc_basename in
   9548   nvcc*)
   9549     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9550   *)
   9551     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9552   esac
   9553 
   9554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9556 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9557   $as_echo_n "(cached) " >&6
   9558 else
   9559   lt_cv_prog_compiler_rtti_exceptions=no
   9560    ac_outfile=conftest.$ac_objext
   9561    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9562    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9563    # Insert the option either (1) after the last *FLAGS variable, or
   9564    # (2) before a word containing "conftest.", or (3) at the end.
   9565    # Note that $ac_compile itself does not contain backslashes and begins
   9566    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9567    # The option is referenced via a variable to avoid confusing sed.
   9568    lt_compile=`echo "$ac_compile" | $SED \
   9569    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9570    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9571    -e 's:$: $lt_compiler_flag:'`
   9572    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9573    (eval "$lt_compile" 2>conftest.err)
   9574    ac_status=$?
   9575    cat conftest.err >&5
   9576    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9577    if (exit $ac_status) && test -s "$ac_outfile"; then
   9578      # The compiler can only warn and ignore the option if not recognized
   9579      # So say no if there are warnings other than the usual output.
   9580      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9581      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9582      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9583        lt_cv_prog_compiler_rtti_exceptions=yes
   9584      fi
   9585    fi
   9586    $RM conftest*
   9587 
   9588 fi
   9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9591 
   9592 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9593     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9594 else
   9595     :
   9596 fi
   9597 
   9598 fi
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605   lt_prog_compiler_wl=
   9606 lt_prog_compiler_pic=
   9607 lt_prog_compiler_static=
   9608 
   9609 
   9610   if test yes = "$GCC"; then
   9611     lt_prog_compiler_wl='-Wl,'
   9612     lt_prog_compiler_static='-static'
   9613 
   9614     case $host_os in
   9615       aix*)
   9616       # All AIX code is PIC.
   9617       if test ia64 = "$host_cpu"; then
   9618 	# AIX 5 now supports IA64 processor
   9619 	lt_prog_compiler_static='-Bstatic'
   9620       fi
   9621       lt_prog_compiler_pic='-fPIC'
   9622       ;;
   9623 
   9624     amigaos*)
   9625       case $host_cpu in
   9626       powerpc)
   9627             # see comment about AmigaOS4 .so support
   9628             lt_prog_compiler_pic='-fPIC'
   9629         ;;
   9630       m68k)
   9631             # FIXME: we need at least 68020 code to build shared libraries, but
   9632             # adding the '-m68020' flag to GCC prevents building anything better,
   9633             # like '-m68040'.
   9634             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9635         ;;
   9636       esac
   9637       ;;
   9638 
   9639     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9640       # PIC is the default for these OSes.
   9641       ;;
   9642 
   9643     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9644       # This hack is so that the source file can tell whether it is being
   9645       # built for inclusion in a dll (and should export symbols for example).
   9646       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9647       # (--disable-auto-import) libraries
   9648       lt_prog_compiler_pic='-DDLL_EXPORT'
   9649       case $host_os in
   9650       os2*)
   9651 	lt_prog_compiler_static='$wl-static'
   9652 	;;
   9653       esac
   9654       ;;
   9655 
   9656     darwin* | rhapsody*)
   9657       # PIC is the default on this platform
   9658       # Common symbols not allowed in MH_DYLIB files
   9659       lt_prog_compiler_pic='-fno-common'
   9660       ;;
   9661 
   9662     haiku*)
   9663       # PIC is the default for Haiku.
   9664       # The "-static" flag exists, but is broken.
   9665       lt_prog_compiler_static=
   9666       ;;
   9667 
   9668     hpux*)
   9669       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9670       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9671       # sets the default TLS model and affects inlining.
   9672       case $host_cpu in
   9673       hppa*64*)
   9674 	# +Z the default
   9675 	;;
   9676       *)
   9677 	lt_prog_compiler_pic='-fPIC'
   9678 	;;
   9679       esac
   9680       ;;
   9681 
   9682     interix[3-9]*)
   9683       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9684       # Instead, we relocate shared libraries at runtime.
   9685       ;;
   9686 
   9687     msdosdjgpp*)
   9688       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9689       # on systems that don't support them.
   9690       lt_prog_compiler_can_build_shared=no
   9691       enable_shared=no
   9692       ;;
   9693 
   9694     *nto* | *qnx*)
   9695       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9696       # it will coredump.
   9697       lt_prog_compiler_pic='-fPIC -shared'
   9698       ;;
   9699 
   9700     sysv4*MP*)
   9701       if test -d /usr/nec; then
   9702 	lt_prog_compiler_pic=-Kconform_pic
   9703       fi
   9704       ;;
   9705 
   9706     *)
   9707       lt_prog_compiler_pic='-fPIC'
   9708       ;;
   9709     esac
   9710 
   9711     case $cc_basename in
   9712     nvcc*) # Cuda Compiler Driver 2.2
   9713       lt_prog_compiler_wl='-Xlinker '
   9714       if test -n "$lt_prog_compiler_pic"; then
   9715         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9716       fi
   9717       ;;
   9718     esac
   9719   else
   9720     # PORTME Check for flag to pass linker flags through the system compiler.
   9721     case $host_os in
   9722     aix*)
   9723       lt_prog_compiler_wl='-Wl,'
   9724       if test ia64 = "$host_cpu"; then
   9725 	# AIX 5 now supports IA64 processor
   9726 	lt_prog_compiler_static='-Bstatic'
   9727       else
   9728 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9729       fi
   9730       ;;
   9731 
   9732     darwin* | rhapsody*)
   9733       # PIC is the default on this platform
   9734       # Common symbols not allowed in MH_DYLIB files
   9735       lt_prog_compiler_pic='-fno-common'
   9736       case $cc_basename in
   9737       nagfor*)
   9738         # NAG Fortran compiler
   9739         lt_prog_compiler_wl='-Wl,-Wl,,'
   9740         lt_prog_compiler_pic='-PIC'
   9741         lt_prog_compiler_static='-Bstatic'
   9742         ;;
   9743       esac
   9744       ;;
   9745 
   9746     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9747       # This hack is so that the source file can tell whether it is being
   9748       # built for inclusion in a dll (and should export symbols for example).
   9749       lt_prog_compiler_pic='-DDLL_EXPORT'
   9750       case $host_os in
   9751       os2*)
   9752 	lt_prog_compiler_static='$wl-static'
   9753 	;;
   9754       esac
   9755       ;;
   9756 
   9757     hpux9* | hpux10* | hpux11*)
   9758       lt_prog_compiler_wl='-Wl,'
   9759       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9760       # not for PA HP-UX.
   9761       case $host_cpu in
   9762       hppa*64*|ia64*)
   9763 	# +Z the default
   9764 	;;
   9765       *)
   9766 	lt_prog_compiler_pic='+Z'
   9767 	;;
   9768       esac
   9769       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9770       lt_prog_compiler_static='$wl-a ${wl}archive'
   9771       ;;
   9772 
   9773     irix5* | irix6* | nonstopux*)
   9774       lt_prog_compiler_wl='-Wl,'
   9775       # PIC (with -KPIC) is the default.
   9776       lt_prog_compiler_static='-non_shared'
   9777       ;;
   9778 
   9779     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9780       case $cc_basename in
   9781       # old Intel for x86_64, which still supported -KPIC.
   9782       ecc*)
   9783 	lt_prog_compiler_wl='-Wl,'
   9784 	lt_prog_compiler_pic='-KPIC'
   9785 	lt_prog_compiler_static='-static'
   9786         ;;
   9787       # icc used to be incompatible with GCC.
   9788       # ICC 10 doesn't accept -KPIC any more.
   9789       icc* | ifort*)
   9790 	lt_prog_compiler_wl='-Wl,'
   9791 	lt_prog_compiler_pic='-fPIC'
   9792 	lt_prog_compiler_static='-static'
   9793         ;;
   9794       # Lahey Fortran 8.1.
   9795       lf95*)
   9796 	lt_prog_compiler_wl='-Wl,'
   9797 	lt_prog_compiler_pic='--shared'
   9798 	lt_prog_compiler_static='--static'
   9799 	;;
   9800       nagfor*)
   9801 	# NAG Fortran compiler
   9802 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9803 	lt_prog_compiler_pic='-PIC'
   9804 	lt_prog_compiler_static='-Bstatic'
   9805 	;;
   9806       tcc*)
   9807 	# Fabrice Bellard et al's Tiny C Compiler
   9808 	lt_prog_compiler_wl='-Wl,'
   9809 	lt_prog_compiler_pic='-fPIC'
   9810 	lt_prog_compiler_static='-static'
   9811 	;;
   9812       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9813         # Portland Group compilers (*not* the Pentium gcc compiler,
   9814 	# which looks to be a dead project)
   9815 	lt_prog_compiler_wl='-Wl,'
   9816 	lt_prog_compiler_pic='-fpic'
   9817 	lt_prog_compiler_static='-Bstatic'
   9818         ;;
   9819       ccc*)
   9820         lt_prog_compiler_wl='-Wl,'
   9821         # All Alpha code is PIC.
   9822         lt_prog_compiler_static='-non_shared'
   9823         ;;
   9824       xl* | bgxl* | bgf* | mpixl*)
   9825 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9826 	lt_prog_compiler_wl='-Wl,'
   9827 	lt_prog_compiler_pic='-qpic'
   9828 	lt_prog_compiler_static='-qstaticlink'
   9829 	;;
   9830       *)
   9831 	case `$CC -V 2>&1 | sed 5q` in
   9832 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9833 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9834 	  lt_prog_compiler_pic='-KPIC'
   9835 	  lt_prog_compiler_static='-Bstatic'
   9836 	  lt_prog_compiler_wl=''
   9837 	  ;;
   9838 	*Sun\ F* | *Sun*Fortran*)
   9839 	  lt_prog_compiler_pic='-KPIC'
   9840 	  lt_prog_compiler_static='-Bstatic'
   9841 	  lt_prog_compiler_wl='-Qoption ld '
   9842 	  ;;
   9843 	*Sun\ C*)
   9844 	  # Sun C 5.9
   9845 	  lt_prog_compiler_pic='-KPIC'
   9846 	  lt_prog_compiler_static='-Bstatic'
   9847 	  lt_prog_compiler_wl='-Wl,'
   9848 	  ;;
   9849         *Intel*\ [CF]*Compiler*)
   9850 	  lt_prog_compiler_wl='-Wl,'
   9851 	  lt_prog_compiler_pic='-fPIC'
   9852 	  lt_prog_compiler_static='-static'
   9853 	  ;;
   9854 	*Portland\ Group*)
   9855 	  lt_prog_compiler_wl='-Wl,'
   9856 	  lt_prog_compiler_pic='-fpic'
   9857 	  lt_prog_compiler_static='-Bstatic'
   9858 	  ;;
   9859 	esac
   9860 	;;
   9861       esac
   9862       ;;
   9863 
   9864     newsos6)
   9865       lt_prog_compiler_pic='-KPIC'
   9866       lt_prog_compiler_static='-Bstatic'
   9867       ;;
   9868 
   9869     *nto* | *qnx*)
   9870       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9871       # it will coredump.
   9872       lt_prog_compiler_pic='-fPIC -shared'
   9873       ;;
   9874 
   9875     osf3* | osf4* | osf5*)
   9876       lt_prog_compiler_wl='-Wl,'
   9877       # All OSF/1 code is PIC.
   9878       lt_prog_compiler_static='-non_shared'
   9879       ;;
   9880 
   9881     rdos*)
   9882       lt_prog_compiler_static='-non_shared'
   9883       ;;
   9884 
   9885     solaris*)
   9886       lt_prog_compiler_pic='-KPIC'
   9887       lt_prog_compiler_static='-Bstatic'
   9888       case $cc_basename in
   9889       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9890 	lt_prog_compiler_wl='-Qoption ld ';;
   9891       *)
   9892 	lt_prog_compiler_wl='-Wl,';;
   9893       esac
   9894       ;;
   9895 
   9896     sunos4*)
   9897       lt_prog_compiler_wl='-Qoption ld '
   9898       lt_prog_compiler_pic='-PIC'
   9899       lt_prog_compiler_static='-Bstatic'
   9900       ;;
   9901 
   9902     sysv4 | sysv4.2uw2* | sysv4.3*)
   9903       lt_prog_compiler_wl='-Wl,'
   9904       lt_prog_compiler_pic='-KPIC'
   9905       lt_prog_compiler_static='-Bstatic'
   9906       ;;
   9907 
   9908     sysv4*MP*)
   9909       if test -d /usr/nec; then
   9910 	lt_prog_compiler_pic='-Kconform_pic'
   9911 	lt_prog_compiler_static='-Bstatic'
   9912       fi
   9913       ;;
   9914 
   9915     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9916       lt_prog_compiler_wl='-Wl,'
   9917       lt_prog_compiler_pic='-KPIC'
   9918       lt_prog_compiler_static='-Bstatic'
   9919       ;;
   9920 
   9921     unicos*)
   9922       lt_prog_compiler_wl='-Wl,'
   9923       lt_prog_compiler_can_build_shared=no
   9924       ;;
   9925 
   9926     uts4*)
   9927       lt_prog_compiler_pic='-pic'
   9928       lt_prog_compiler_static='-Bstatic'
   9929       ;;
   9930 
   9931     *)
   9932       lt_prog_compiler_can_build_shared=no
   9933       ;;
   9934     esac
   9935   fi
   9936 
   9937 case $host_os in
   9938   # For platforms that do not support PIC, -DPIC is meaningless:
   9939   *djgpp*)
   9940     lt_prog_compiler_pic=
   9941     ;;
   9942   *)
   9943     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9944     ;;
   9945 esac
   9946 
   9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9948 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9949 if ${lt_cv_prog_compiler_pic+:} false; then :
   9950   $as_echo_n "(cached) " >&6
   9951 else
   9952   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9953 fi
   9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9955 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9956 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9957 
   9958 #
   9959 # Check to make sure the PIC flag actually works.
   9960 #
   9961 if test -n "$lt_prog_compiler_pic"; then
   9962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9963 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9964 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9965   $as_echo_n "(cached) " >&6
   9966 else
   9967   lt_cv_prog_compiler_pic_works=no
   9968    ac_outfile=conftest.$ac_objext
   9969    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9970    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9971    # Insert the option either (1) after the last *FLAGS variable, or
   9972    # (2) before a word containing "conftest.", or (3) at the end.
   9973    # Note that $ac_compile itself does not contain backslashes and begins
   9974    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9975    # The option is referenced via a variable to avoid confusing sed.
   9976    lt_compile=`echo "$ac_compile" | $SED \
   9977    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9978    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9979    -e 's:$: $lt_compiler_flag:'`
   9980    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9981    (eval "$lt_compile" 2>conftest.err)
   9982    ac_status=$?
   9983    cat conftest.err >&5
   9984    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9985    if (exit $ac_status) && test -s "$ac_outfile"; then
   9986      # The compiler can only warn and ignore the option if not recognized
   9987      # So say no if there are warnings other than the usual output.
   9988      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9989      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9990      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9991        lt_cv_prog_compiler_pic_works=yes
   9992      fi
   9993    fi
   9994    $RM conftest*
   9995 
   9996 fi
   9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9998 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9999 
   10000 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10001     case $lt_prog_compiler_pic in
   10002      "" | " "*) ;;
   10003      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10004      esac
   10005 else
   10006     lt_prog_compiler_pic=
   10007      lt_prog_compiler_can_build_shared=no
   10008 fi
   10009 
   10010 fi
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 #
   10023 # Check to make sure the static flag actually works.
   10024 #
   10025 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10027 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10028 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10029   $as_echo_n "(cached) " >&6
   10030 else
   10031   lt_cv_prog_compiler_static_works=no
   10032    save_LDFLAGS=$LDFLAGS
   10033    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10034    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10035    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10036      # The linker can only warn and ignore the option if not recognized
   10037      # So say no if there are warnings
   10038      if test -s conftest.err; then
   10039        # Append any errors to the config.log.
   10040        cat conftest.err 1>&5
   10041        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10042        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10043        if diff conftest.exp conftest.er2 >/dev/null; then
   10044          lt_cv_prog_compiler_static_works=yes
   10045        fi
   10046      else
   10047        lt_cv_prog_compiler_static_works=yes
   10048      fi
   10049    fi
   10050    $RM -r conftest*
   10051    LDFLAGS=$save_LDFLAGS
   10052 
   10053 fi
   10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10055 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10056 
   10057 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10058     :
   10059 else
   10060     lt_prog_compiler_static=
   10061 fi
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10070 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10071 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10072   $as_echo_n "(cached) " >&6
   10073 else
   10074   lt_cv_prog_compiler_c_o=no
   10075    $RM -r conftest 2>/dev/null
   10076    mkdir conftest
   10077    cd conftest
   10078    mkdir out
   10079    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10080 
   10081    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10082    # Insert the option either (1) after the last *FLAGS variable, or
   10083    # (2) before a word containing "conftest.", or (3) at the end.
   10084    # Note that $ac_compile itself does not contain backslashes and begins
   10085    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10086    lt_compile=`echo "$ac_compile" | $SED \
   10087    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10088    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10089    -e 's:$: $lt_compiler_flag:'`
   10090    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10091    (eval "$lt_compile" 2>out/conftest.err)
   10092    ac_status=$?
   10093    cat out/conftest.err >&5
   10094    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10095    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10096    then
   10097      # The compiler can only warn and ignore the option if not recognized
   10098      # So say no if there are warnings
   10099      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10100      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10101      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10102        lt_cv_prog_compiler_c_o=yes
   10103      fi
   10104    fi
   10105    chmod u+w . 2>&5
   10106    $RM conftest*
   10107    # SGI C++ compiler will create directory out/ii_files/ for
   10108    # template instantiation
   10109    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10110    $RM out/* && rmdir out
   10111    cd ..
   10112    $RM -r conftest
   10113    $RM conftest*
   10114 
   10115 fi
   10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10117 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10125 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10126 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10127   $as_echo_n "(cached) " >&6
   10128 else
   10129   lt_cv_prog_compiler_c_o=no
   10130    $RM -r conftest 2>/dev/null
   10131    mkdir conftest
   10132    cd conftest
   10133    mkdir out
   10134    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10135 
   10136    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10137    # Insert the option either (1) after the last *FLAGS variable, or
   10138    # (2) before a word containing "conftest.", or (3) at the end.
   10139    # Note that $ac_compile itself does not contain backslashes and begins
   10140    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10141    lt_compile=`echo "$ac_compile" | $SED \
   10142    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10143    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10144    -e 's:$: $lt_compiler_flag:'`
   10145    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10146    (eval "$lt_compile" 2>out/conftest.err)
   10147    ac_status=$?
   10148    cat out/conftest.err >&5
   10149    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10150    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10151    then
   10152      # The compiler can only warn and ignore the option if not recognized
   10153      # So say no if there are warnings
   10154      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10155      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10156      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10157        lt_cv_prog_compiler_c_o=yes
   10158      fi
   10159    fi
   10160    chmod u+w . 2>&5
   10161    $RM conftest*
   10162    # SGI C++ compiler will create directory out/ii_files/ for
   10163    # template instantiation
   10164    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10165    $RM out/* && rmdir out
   10166    cd ..
   10167    $RM -r conftest
   10168    $RM conftest*
   10169 
   10170 fi
   10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10172 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10173 
   10174 
   10175 
   10176 
   10177 hard_links=nottested
   10178 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10179   # do not overwrite the value of need_locks provided by the user
   10180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10181 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10182   hard_links=yes
   10183   $RM conftest*
   10184   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10185   touch conftest.a
   10186   ln conftest.a conftest.b 2>&5 || hard_links=no
   10187   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10189 $as_echo "$hard_links" >&6; }
   10190   if test no = "$hard_links"; then
   10191     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10192 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10193     need_locks=warn
   10194   fi
   10195 else
   10196   need_locks=no
   10197 fi
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10205 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10206 
   10207   runpath_var=
   10208   allow_undefined_flag=
   10209   always_export_symbols=no
   10210   archive_cmds=
   10211   archive_expsym_cmds=
   10212   compiler_needs_object=no
   10213   enable_shared_with_static_runtimes=no
   10214   export_dynamic_flag_spec=
   10215   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10216   hardcode_automatic=no
   10217   hardcode_direct=no
   10218   hardcode_direct_absolute=no
   10219   hardcode_libdir_flag_spec=
   10220   hardcode_libdir_separator=
   10221   hardcode_minus_L=no
   10222   hardcode_shlibpath_var=unsupported
   10223   inherit_rpath=no
   10224   link_all_deplibs=unknown
   10225   module_cmds=
   10226   module_expsym_cmds=
   10227   old_archive_from_new_cmds=
   10228   old_archive_from_expsyms_cmds=
   10229   thread_safe_flag_spec=
   10230   whole_archive_flag_spec=
   10231   # include_expsyms should be a list of space-separated symbols to be *always*
   10232   # included in the symbol list
   10233   include_expsyms=
   10234   # exclude_expsyms can be an extended regexp of symbols to exclude
   10235   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10236   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10237   # as well as any symbol that contains 'd'.
   10238   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10239   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10240   # platforms (ab)use it in PIC code, but their linkers get confused if
   10241   # the symbol is explicitly referenced.  Since portable code cannot
   10242   # rely on this symbol name, it's probably fine to never include it in
   10243   # preloaded symbol tables.
   10244   # Exclude shared library initialization/finalization symbols.
   10245   extract_expsyms_cmds=
   10246 
   10247   case $host_os in
   10248   cygwin* | mingw* | pw32* | cegcc*)
   10249     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10250     # When not using gcc, we currently assume that we are using
   10251     # Microsoft Visual C++ or Intel C++ Compiler.
   10252     if test yes != "$GCC"; then
   10253       with_gnu_ld=no
   10254     fi
   10255     ;;
   10256   interix*)
   10257     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10258     with_gnu_ld=yes
   10259     ;;
   10260   openbsd* | bitrig*)
   10261     with_gnu_ld=no
   10262     ;;
   10263   esac
   10264 
   10265   ld_shlibs=yes
   10266 
   10267   # On some targets, GNU ld is compatible enough with the native linker
   10268   # that we're better off using the native interface for both.
   10269   lt_use_gnu_ld_interface=no
   10270   if test yes = "$with_gnu_ld"; then
   10271     case $host_os in
   10272       aix*)
   10273 	# The AIX port of GNU ld has always aspired to compatibility
   10274 	# with the native linker.  However, as the warning in the GNU ld
   10275 	# block says, versions before 2.19.5* couldn't really create working
   10276 	# shared libraries, regardless of the interface used.
   10277 	case `$LD -v 2>&1` in
   10278 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10279 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10280 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10281 	  *)
   10282 	    lt_use_gnu_ld_interface=yes
   10283 	    ;;
   10284 	esac
   10285 	;;
   10286       *)
   10287 	lt_use_gnu_ld_interface=yes
   10288 	;;
   10289     esac
   10290   fi
   10291 
   10292   if test yes = "$lt_use_gnu_ld_interface"; then
   10293     # If archive_cmds runs LD, not CC, wlarc should be empty
   10294     wlarc='$wl'
   10295 
   10296     # Set some defaults for GNU ld with shared library support. These
   10297     # are reset later if shared libraries are not supported. Putting them
   10298     # here allows them to be overridden if necessary.
   10299     runpath_var=LD_RUN_PATH
   10300     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10301     export_dynamic_flag_spec='$wl--export-dynamic'
   10302     # ancient GNU ld didn't support --whole-archive et. al.
   10303     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10304       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10305     else
   10306       whole_archive_flag_spec=
   10307     fi
   10308     supports_anon_versioning=no
   10309     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   10310       *GNU\ gold*) supports_anon_versioning=yes ;;
   10311       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10312       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10313       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10314       *\ 2.11.*) ;; # other 2.11 versions
   10315       *) supports_anon_versioning=yes ;;
   10316     esac
   10317 
   10318     # See if GNU ld supports shared libraries.
   10319     case $host_os in
   10320     aix[3-9]*)
   10321       # On AIX/PPC, the GNU linker is very broken
   10322       if test ia64 != "$host_cpu"; then
   10323 	ld_shlibs=no
   10324 	cat <<_LT_EOF 1>&2
   10325 
   10326 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10327 *** to be unable to reliably create shared libraries on AIX.
   10328 *** Therefore, libtool is disabling shared libraries support.  If you
   10329 *** really care for shared libraries, you may want to install binutils
   10330 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10331 *** You will then need to restart the configuration process.
   10332 
   10333 _LT_EOF
   10334       fi
   10335       ;;
   10336 
   10337     amigaos*)
   10338       case $host_cpu in
   10339       powerpc)
   10340             # see comment about AmigaOS4 .so support
   10341             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10342             archive_expsym_cmds=''
   10343         ;;
   10344       m68k)
   10345             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)'
   10346             hardcode_libdir_flag_spec='-L$libdir'
   10347             hardcode_minus_L=yes
   10348         ;;
   10349       esac
   10350       ;;
   10351 
   10352     beos*)
   10353       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10354 	allow_undefined_flag=unsupported
   10355 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10356 	# support --undefined.  This deserves some investigation.  FIXME
   10357 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10358       else
   10359 	ld_shlibs=no
   10360       fi
   10361       ;;
   10362 
   10363     cygwin* | mingw* | pw32* | cegcc*)
   10364       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10365       # as there is no search path for DLLs.
   10366       hardcode_libdir_flag_spec='-L$libdir'
   10367       export_dynamic_flag_spec='$wl--export-all-symbols'
   10368       allow_undefined_flag=unsupported
   10369       always_export_symbols=no
   10370       enable_shared_with_static_runtimes=yes
   10371       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'
   10372       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10373 
   10374       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10375         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10376 	# If the export-symbols file already is a .def file, use it as
   10377 	# is; otherwise, prepend EXPORTS...
   10378 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10379           cp $export_symbols $output_objdir/$soname.def;
   10380         else
   10381           echo EXPORTS > $output_objdir/$soname.def;
   10382           cat $export_symbols >> $output_objdir/$soname.def;
   10383         fi~
   10384         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10385       else
   10386 	ld_shlibs=no
   10387       fi
   10388       ;;
   10389 
   10390     haiku*)
   10391       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10392       link_all_deplibs=yes
   10393       ;;
   10394 
   10395     os2*)
   10396       hardcode_libdir_flag_spec='-L$libdir'
   10397       hardcode_minus_L=yes
   10398       allow_undefined_flag=unsupported
   10399       shrext_cmds=.dll
   10400       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10401 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10402 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10403 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10404 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10405 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10406 	emximp -o $lib $output_objdir/$libname.def'
   10407       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10408 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10409 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10410 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10411 	prefix_cmds="$SED"~
   10412 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10413 	  prefix_cmds="$prefix_cmds -e 1d";
   10414 	fi~
   10415 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10416 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10417 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10418 	emximp -o $lib $output_objdir/$libname.def'
   10419       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10420       enable_shared_with_static_runtimes=yes
   10421       file_list_spec='@'
   10422       ;;
   10423 
   10424     interix[3-9]*)
   10425       hardcode_direct=no
   10426       hardcode_shlibpath_var=no
   10427       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10428       export_dynamic_flag_spec='$wl-E'
   10429       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10430       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10431       # default) and relocated if they conflict, which is a slow very memory
   10432       # consuming and fragmenting process.  To avoid this, we pick a random,
   10433       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10434       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10435       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10436       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'
   10437       ;;
   10438 
   10439     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10440       tmp_diet=no
   10441       if test linux-dietlibc = "$host_os"; then
   10442 	case $cc_basename in
   10443 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10444 	esac
   10445       fi
   10446       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10447 	 && test no = "$tmp_diet"
   10448       then
   10449 	tmp_addflag=' $pic_flag'
   10450 	tmp_sharedflag='-shared'
   10451 	case $cc_basename,$host_cpu in
   10452         pgcc*)				# Portland Group C compiler
   10453 	  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'
   10454 	  tmp_addflag=' $pic_flag'
   10455 	  ;;
   10456 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10457 					# Portland Group f77 and f90 compilers
   10458 	  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'
   10459 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10460 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10461 	  tmp_addflag=' -i_dynamic' ;;
   10462 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10463 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10464 	ifc* | ifort*)			# Intel Fortran compiler
   10465 	  tmp_addflag=' -nofor_main' ;;
   10466 	lf95*)				# Lahey Fortran 8.1
   10467 	  whole_archive_flag_spec=
   10468 	  tmp_sharedflag='--shared' ;;
   10469         nagfor*)                        # NAGFOR 5.3
   10470           tmp_sharedflag='-Wl,-shared' ;;
   10471 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10472 	  tmp_sharedflag='-qmkshrobj'
   10473 	  tmp_addflag= ;;
   10474 	nvcc*)	# Cuda Compiler Driver 2.2
   10475 	  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'
   10476 	  compiler_needs_object=yes
   10477 	  ;;
   10478 	esac
   10479 	case `$CC -V 2>&1 | sed 5q` in
   10480 	*Sun\ C*)			# Sun C 5.9
   10481 	  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'
   10482 	  compiler_needs_object=yes
   10483 	  tmp_sharedflag='-G' ;;
   10484 	*Sun\ F*)			# Sun Fortran 8.3
   10485 	  tmp_sharedflag='-G' ;;
   10486 	esac
   10487 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10488 
   10489         if test yes = "$supports_anon_versioning"; then
   10490           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10491             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10492             echo "local: *; };" >> $output_objdir/$libname.ver~
   10493             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10494         fi
   10495 
   10496 	case $cc_basename in
   10497 	tcc*)
   10498 	  export_dynamic_flag_spec='-rdynamic'
   10499 	  ;;
   10500 	xlf* | bgf* | bgxlf* | mpixlf*)
   10501 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10502 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10503 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10504 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10505 	  if test yes = "$supports_anon_versioning"; then
   10506 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10507               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10508               echo "local: *; };" >> $output_objdir/$libname.ver~
   10509               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10510 	  fi
   10511 	  ;;
   10512 	esac
   10513       else
   10514         ld_shlibs=no
   10515       fi
   10516       ;;
   10517 
   10518     netbsd*)
   10519       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10520 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10521 	wlarc=
   10522       else
   10523 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10524 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10525       fi
   10526       ;;
   10527 
   10528     solaris*)
   10529       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10530 	ld_shlibs=no
   10531 	cat <<_LT_EOF 1>&2
   10532 
   10533 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10534 *** create shared libraries on Solaris systems.  Therefore, libtool
   10535 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10536 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10537 *** your PATH or compiler configuration so that the native linker is
   10538 *** used, and then restart.
   10539 
   10540 _LT_EOF
   10541       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10542 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10543 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10544       else
   10545 	ld_shlibs=no
   10546       fi
   10547       ;;
   10548 
   10549     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10550       case `$LD -v 2>&1` in
   10551         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10552 	ld_shlibs=no
   10553 	cat <<_LT_EOF 1>&2
   10554 
   10555 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10556 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10557 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10558 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10559 *** your PATH or compiler configuration so that the native linker is
   10560 *** used, and then restart.
   10561 
   10562 _LT_EOF
   10563 	;;
   10564 	*)
   10565 	  # For security reasons, it is highly recommended that you always
   10566 	  # use absolute paths for naming shared libraries, and exclude the
   10567 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10568 	  # requires that you compile everything twice, which is a pain.
   10569 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10570 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10571 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10572 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10573 	  else
   10574 	    ld_shlibs=no
   10575 	  fi
   10576 	;;
   10577       esac
   10578       ;;
   10579 
   10580     sunos4*)
   10581       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10582       wlarc=
   10583       hardcode_direct=yes
   10584       hardcode_shlibpath_var=no
   10585       ;;
   10586 
   10587     *)
   10588       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10589 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10590 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10591       else
   10592 	ld_shlibs=no
   10593       fi
   10594       ;;
   10595     esac
   10596 
   10597     if test no = "$ld_shlibs"; then
   10598       runpath_var=
   10599       hardcode_libdir_flag_spec=
   10600       export_dynamic_flag_spec=
   10601       whole_archive_flag_spec=
   10602     fi
   10603   else
   10604     # PORTME fill in a description of your system's linker (not GNU ld)
   10605     case $host_os in
   10606     aix3*)
   10607       allow_undefined_flag=unsupported
   10608       always_export_symbols=yes
   10609       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'
   10610       # Note: this linker hardcodes the directories in LIBPATH if there
   10611       # are no directories specified by -L.
   10612       hardcode_minus_L=yes
   10613       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10614 	# Neither direct hardcoding nor static linking is supported with a
   10615 	# broken collect2.
   10616 	hardcode_direct=unsupported
   10617       fi
   10618       ;;
   10619 
   10620     aix[4-9]*)
   10621       if test ia64 = "$host_cpu"; then
   10622 	# On IA64, the linker does run time linking by default, so we don't
   10623 	# have to do anything special.
   10624 	aix_use_runtimelinking=no
   10625 	exp_sym_flag='-Bexport'
   10626 	no_entry_flag=
   10627       else
   10628 	# If we're using GNU nm, then we don't want the "-C" option.
   10629 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10630 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10631 	# weak defined symbols like other global defined symbols, whereas
   10632 	# GNU nm marks them as "W".
   10633 	# While the 'weak' keyword is ignored in the Export File, we need
   10634 	# it in the Import File for the 'aix-soname' feature, so we have
   10635 	# to replace the "-B" option with "-P" for AIX nm.
   10636 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10637 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   10638 	else
   10639 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   10640 	fi
   10641 	aix_use_runtimelinking=no
   10642 
   10643 	# Test if we are trying to use run time linking or normal
   10644 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10645 	# have runtime linking enabled, and use it for executables.
   10646 	# For shared libraries, we enable/disable runtime linking
   10647 	# depending on the kind of the shared library created -
   10648 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10649 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10650 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10651 	#            lib.a           static archive
   10652 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10653 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10654 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10655 	#            lib.a(lib.so.V) shared, rtl:no
   10656 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10657 	#            lib.a           static archive
   10658 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10659 	  for ld_flag in $LDFLAGS; do
   10660 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10661 	    aix_use_runtimelinking=yes
   10662 	    break
   10663 	  fi
   10664 	  done
   10665 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10666 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10667 	    # so we don't have lib.a shared libs to link our executables.
   10668 	    # We have to force runtime linking in this case.
   10669 	    aix_use_runtimelinking=yes
   10670 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10671 	  fi
   10672 	  ;;
   10673 	esac
   10674 
   10675 	exp_sym_flag='-bexport'
   10676 	no_entry_flag='-bnoentry'
   10677       fi
   10678 
   10679       # When large executables or shared objects are built, AIX ld can
   10680       # have problems creating the table of contents.  If linking a library
   10681       # or program results in "error TOC overflow" add -mminimal-toc to
   10682       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10683       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10684 
   10685       archive_cmds=''
   10686       hardcode_direct=yes
   10687       hardcode_direct_absolute=yes
   10688       hardcode_libdir_separator=':'
   10689       link_all_deplibs=yes
   10690       file_list_spec='$wl-f,'
   10691       case $with_aix_soname,$aix_use_runtimelinking in
   10692       aix,*) ;; # traditional, no import file
   10693       svr4,* | *,yes) # use import file
   10694 	# The Import File defines what to hardcode.
   10695 	hardcode_direct=no
   10696 	hardcode_direct_absolute=no
   10697 	;;
   10698       esac
   10699 
   10700       if test yes = "$GCC"; then
   10701 	case $host_os in aix4.[012]|aix4.[012].*)
   10702 	# We only want to do this on AIX 4.2 and lower, the check
   10703 	# below for broken collect2 doesn't work under 4.3+
   10704 	  collect2name=`$CC -print-prog-name=collect2`
   10705 	  if test -f "$collect2name" &&
   10706 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10707 	  then
   10708 	  # We have reworked collect2
   10709 	  :
   10710 	  else
   10711 	  # We have old collect2
   10712 	  hardcode_direct=unsupported
   10713 	  # It fails to find uninstalled libraries when the uninstalled
   10714 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10715 	  # to unsupported forces relinking
   10716 	  hardcode_minus_L=yes
   10717 	  hardcode_libdir_flag_spec='-L$libdir'
   10718 	  hardcode_libdir_separator=
   10719 	  fi
   10720 	  ;;
   10721 	esac
   10722 	shared_flag='-shared'
   10723 	if test yes = "$aix_use_runtimelinking"; then
   10724 	  shared_flag="$shared_flag "'$wl-G'
   10725 	fi
   10726 	# Need to ensure runtime linking is disabled for the traditional
   10727 	# shared library, or the linker may eventually find shared libraries
   10728 	# /with/ Import File - we do not want to mix them.
   10729 	shared_flag_aix='-shared'
   10730 	shared_flag_svr4='-shared $wl-G'
   10731       else
   10732 	# not using gcc
   10733 	if test ia64 = "$host_cpu"; then
   10734 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10735 	# chokes on -Wl,-G. The following line is correct:
   10736 	  shared_flag='-G'
   10737 	else
   10738 	  if test yes = "$aix_use_runtimelinking"; then
   10739 	    shared_flag='$wl-G'
   10740 	  else
   10741 	    shared_flag='$wl-bM:SRE'
   10742 	  fi
   10743 	  shared_flag_aix='$wl-bM:SRE'
   10744 	  shared_flag_svr4='$wl-G'
   10745 	fi
   10746       fi
   10747 
   10748       export_dynamic_flag_spec='$wl-bexpall'
   10749       # It seems that -bexpall does not export symbols beginning with
   10750       # underscore (_), so it is better to generate a list of symbols to export.
   10751       always_export_symbols=yes
   10752       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10753 	# Warning - without using the other runtime loading flags (-brtl),
   10754 	# -berok will link without error, but may produce a broken library.
   10755 	allow_undefined_flag='-berok'
   10756         # Determine the default libpath from the value encoded in an
   10757         # empty executable.
   10758         if test set = "${lt_cv_aix_libpath+set}"; then
   10759   aix_libpath=$lt_cv_aix_libpath
   10760 else
   10761   if ${lt_cv_aix_libpath_+:} false; then :
   10762   $as_echo_n "(cached) " >&6
   10763 else
   10764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10765 /* end confdefs.h.  */
   10766 
   10767 int
   10768 main ()
   10769 {
   10770 
   10771   ;
   10772   return 0;
   10773 }
   10774 _ACEOF
   10775 if ac_fn_c_try_link "$LINENO"; then :
   10776 
   10777   lt_aix_libpath_sed='
   10778       /Import File Strings/,/^$/ {
   10779 	  /^0/ {
   10780 	      s/^0  *\([^ ]*\) *$/\1/
   10781 	      p
   10782 	  }
   10783       }'
   10784   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10785   # Check for a 64-bit object if we didn't find anything.
   10786   if test -z "$lt_cv_aix_libpath_"; then
   10787     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10788   fi
   10789 fi
   10790 rm -f core conftest.err conftest.$ac_objext \
   10791     conftest$ac_exeext conftest.$ac_ext
   10792   if test -z "$lt_cv_aix_libpath_"; then
   10793     lt_cv_aix_libpath_=/usr/lib:/lib
   10794   fi
   10795 
   10796 fi
   10797 
   10798   aix_libpath=$lt_cv_aix_libpath_
   10799 fi
   10800 
   10801         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10802         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   10803       else
   10804 	if test ia64 = "$host_cpu"; then
   10805 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10806 	  allow_undefined_flag="-z nodefs"
   10807 	  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"
   10808 	else
   10809 	 # Determine the default libpath from the value encoded in an
   10810 	 # empty executable.
   10811 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10812   aix_libpath=$lt_cv_aix_libpath
   10813 else
   10814   if ${lt_cv_aix_libpath_+:} false; then :
   10815   $as_echo_n "(cached) " >&6
   10816 else
   10817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 
   10820 int
   10821 main ()
   10822 {
   10823 
   10824   ;
   10825   return 0;
   10826 }
   10827 _ACEOF
   10828 if ac_fn_c_try_link "$LINENO"; then :
   10829 
   10830   lt_aix_libpath_sed='
   10831       /Import File Strings/,/^$/ {
   10832 	  /^0/ {
   10833 	      s/^0  *\([^ ]*\) *$/\1/
   10834 	      p
   10835 	  }
   10836       }'
   10837   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10838   # Check for a 64-bit object if we didn't find anything.
   10839   if test -z "$lt_cv_aix_libpath_"; then
   10840     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10841   fi
   10842 fi
   10843 rm -f core conftest.err conftest.$ac_objext \
   10844     conftest$ac_exeext conftest.$ac_ext
   10845   if test -z "$lt_cv_aix_libpath_"; then
   10846     lt_cv_aix_libpath_=/usr/lib:/lib
   10847   fi
   10848 
   10849 fi
   10850 
   10851   aix_libpath=$lt_cv_aix_libpath_
   10852 fi
   10853 
   10854 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10855 	  # Warning - without using the other run time loading flags,
   10856 	  # -berok will link without error, but may produce a broken library.
   10857 	  no_undefined_flag=' $wl-bernotok'
   10858 	  allow_undefined_flag=' $wl-berok'
   10859 	  if test yes = "$with_gnu_ld"; then
   10860 	    # We only use this code for GNU lds that support --whole-archive.
   10861 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10862 	  else
   10863 	    # Exported symbols can be pulled into shared objects from archives
   10864 	    whole_archive_flag_spec='$convenience'
   10865 	  fi
   10866 	  archive_cmds_need_lc=yes
   10867 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10868 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10869 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10870 	  if test svr4 != "$with_aix_soname"; then
   10871 	    # This is similar to how AIX traditionally builds its shared libraries.
   10872 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   10873 	  fi
   10874 	  if test aix != "$with_aix_soname"; then
   10875 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   10876 	  else
   10877 	    # used by -dlpreopen to get the symbols
   10878 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10879 	  fi
   10880 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10881 	fi
   10882       fi
   10883       ;;
   10884 
   10885     amigaos*)
   10886       case $host_cpu in
   10887       powerpc)
   10888             # see comment about AmigaOS4 .so support
   10889             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10890             archive_expsym_cmds=''
   10891         ;;
   10892       m68k)
   10893             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)'
   10894             hardcode_libdir_flag_spec='-L$libdir'
   10895             hardcode_minus_L=yes
   10896         ;;
   10897       esac
   10898       ;;
   10899 
   10900     bsdi[45]*)
   10901       export_dynamic_flag_spec=-rdynamic
   10902       ;;
   10903 
   10904     cygwin* | mingw* | pw32* | cegcc*)
   10905       # When not using gcc, we currently assume that we are using
   10906       # Microsoft Visual C++ or Intel C++ Compiler.
   10907       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10908       # no search path for DLLs.
   10909       case $cc_basename in
   10910       cl* | icl*)
   10911 	# Native MSVC or ICC
   10912 	hardcode_libdir_flag_spec=' '
   10913 	allow_undefined_flag=unsupported
   10914 	always_export_symbols=yes
   10915 	file_list_spec='@'
   10916 	# Tell ltmain to make .lib files, not .a files.
   10917 	libext=lib
   10918 	# Tell ltmain to make .dll files, not .so files.
   10919 	shrext_cmds=.dll
   10920 	# FIXME: Setting linknames here is a bad hack.
   10921 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10922 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10923             cp "$export_symbols" "$output_objdir/$soname.def";
   10924             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10925           else
   10926             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10927           fi~
   10928           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10929           linknames='
   10930 	# The linker will not automatically build a static lib if we build a DLL.
   10931 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10932 	enable_shared_with_static_runtimes=yes
   10933 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10934 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10935 	# Don't use ranlib
   10936 	old_postinstall_cmds='chmod 644 $oldlib'
   10937 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10938           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10939           case $lt_outputfile in
   10940             *.exe|*.EXE) ;;
   10941             *)
   10942               lt_outputfile=$lt_outputfile.exe
   10943               lt_tool_outputfile=$lt_tool_outputfile.exe
   10944               ;;
   10945           esac~
   10946           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10947             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10948             $RM "$lt_outputfile.manifest";
   10949           fi'
   10950 	;;
   10951       *)
   10952 	# Assume MSVC and ICC wrapper
   10953 	hardcode_libdir_flag_spec=' '
   10954 	allow_undefined_flag=unsupported
   10955 	# Tell ltmain to make .lib files, not .a files.
   10956 	libext=lib
   10957 	# Tell ltmain to make .dll files, not .so files.
   10958 	shrext_cmds=.dll
   10959 	# FIXME: Setting linknames here is a bad hack.
   10960 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10961 	# The linker will automatically build a .lib file if we build a DLL.
   10962 	old_archive_from_new_cmds='true'
   10963 	# FIXME: Should let the user specify the lib program.
   10964 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10965 	enable_shared_with_static_runtimes=yes
   10966 	;;
   10967       esac
   10968       ;;
   10969 
   10970     darwin* | rhapsody*)
   10971 
   10972 
   10973   archive_cmds_need_lc=no
   10974   hardcode_direct=no
   10975   hardcode_automatic=yes
   10976   hardcode_shlibpath_var=unsupported
   10977   if test yes = "$lt_cv_ld_force_load"; then
   10978     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\"`'
   10979 
   10980   else
   10981     whole_archive_flag_spec=''
   10982   fi
   10983   link_all_deplibs=yes
   10984   allow_undefined_flag=$_lt_dar_allow_undefined
   10985   case $cc_basename in
   10986      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10987      *) _lt_dar_can_shared=$GCC ;;
   10988   esac
   10989   if test yes = "$_lt_dar_can_shared"; then
   10990     output_verbose_link_cmd=func_echo_all
   10991     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10992     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10993     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"
   10994     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"
   10995 
   10996   else
   10997   ld_shlibs=no
   10998   fi
   10999 
   11000       ;;
   11001 
   11002     dgux*)
   11003       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11004       hardcode_libdir_flag_spec='-L$libdir'
   11005       hardcode_shlibpath_var=no
   11006       ;;
   11007 
   11008     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11009     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11010     # does not break anything, and helps significantly (at the cost of a little
   11011     # extra space).
   11012     freebsd2.2*)
   11013       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11014       hardcode_libdir_flag_spec='-R$libdir'
   11015       hardcode_direct=yes
   11016       hardcode_shlibpath_var=no
   11017       ;;
   11018 
   11019     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11020     freebsd2.*)
   11021       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11022       hardcode_direct=yes
   11023       hardcode_minus_L=yes
   11024       hardcode_shlibpath_var=no
   11025       ;;
   11026 
   11027     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11028     freebsd* | dragonfly*)
   11029       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11030       hardcode_libdir_flag_spec='-R$libdir'
   11031       hardcode_direct=yes
   11032       hardcode_shlibpath_var=no
   11033       ;;
   11034 
   11035     hpux9*)
   11036       if test yes = "$GCC"; then
   11037 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   11038       else
   11039 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   11040       fi
   11041       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11042       hardcode_libdir_separator=:
   11043       hardcode_direct=yes
   11044 
   11045       # hardcode_minus_L: Not really in the search PATH,
   11046       # but as the default location of the library.
   11047       hardcode_minus_L=yes
   11048       export_dynamic_flag_spec='$wl-E'
   11049       ;;
   11050 
   11051     hpux10*)
   11052       if test yes,no = "$GCC,$with_gnu_ld"; then
   11053 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11054       else
   11055 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11056       fi
   11057       if test no = "$with_gnu_ld"; then
   11058 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11059 	hardcode_libdir_separator=:
   11060 	hardcode_direct=yes
   11061 	hardcode_direct_absolute=yes
   11062 	export_dynamic_flag_spec='$wl-E'
   11063 	# hardcode_minus_L: Not really in the search PATH,
   11064 	# but as the default location of the library.
   11065 	hardcode_minus_L=yes
   11066       fi
   11067       ;;
   11068 
   11069     hpux11*)
   11070       if test yes,no = "$GCC,$with_gnu_ld"; then
   11071 	case $host_cpu in
   11072 	hppa*64*)
   11073 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11074 	  ;;
   11075 	ia64*)
   11076 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11077 	  ;;
   11078 	*)
   11079 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11080 	  ;;
   11081 	esac
   11082       else
   11083 	case $host_cpu in
   11084 	hppa*64*)
   11085 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11086 	  ;;
   11087 	ia64*)
   11088 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11089 	  ;;
   11090 	*)
   11091 
   11092 	  # Older versions of the 11.00 compiler do not understand -b yet
   11093 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11094 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11095 $as_echo_n "checking if $CC understands -b... " >&6; }
   11096 if ${lt_cv_prog_compiler__b+:} false; then :
   11097   $as_echo_n "(cached) " >&6
   11098 else
   11099   lt_cv_prog_compiler__b=no
   11100    save_LDFLAGS=$LDFLAGS
   11101    LDFLAGS="$LDFLAGS -b"
   11102    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11103    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11104      # The linker can only warn and ignore the option if not recognized
   11105      # So say no if there are warnings
   11106      if test -s conftest.err; then
   11107        # Append any errors to the config.log.
   11108        cat conftest.err 1>&5
   11109        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11110        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11111        if diff conftest.exp conftest.er2 >/dev/null; then
   11112          lt_cv_prog_compiler__b=yes
   11113        fi
   11114      else
   11115        lt_cv_prog_compiler__b=yes
   11116      fi
   11117    fi
   11118    $RM -r conftest*
   11119    LDFLAGS=$save_LDFLAGS
   11120 
   11121 fi
   11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11123 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11124 
   11125 if test yes = "$lt_cv_prog_compiler__b"; then
   11126     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11127 else
   11128     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11129 fi
   11130 
   11131 	  ;;
   11132 	esac
   11133       fi
   11134       if test no = "$with_gnu_ld"; then
   11135 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11136 	hardcode_libdir_separator=:
   11137 
   11138 	case $host_cpu in
   11139 	hppa*64*|ia64*)
   11140 	  hardcode_direct=no
   11141 	  hardcode_shlibpath_var=no
   11142 	  ;;
   11143 	*)
   11144 	  hardcode_direct=yes
   11145 	  hardcode_direct_absolute=yes
   11146 	  export_dynamic_flag_spec='$wl-E'
   11147 
   11148 	  # hardcode_minus_L: Not really in the search PATH,
   11149 	  # but as the default location of the library.
   11150 	  hardcode_minus_L=yes
   11151 	  ;;
   11152 	esac
   11153       fi
   11154       ;;
   11155 
   11156     irix5* | irix6* | nonstopux*)
   11157       if test yes = "$GCC"; then
   11158 	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'
   11159 	# Try to use the -exported_symbol ld option, if it does not
   11160 	# work, assume that -exports_file does not work either and
   11161 	# implicitly export all symbols.
   11162 	# This should be the same for all languages, so no per-tag cache variable.
   11163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11164 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11165 if ${lt_cv_irix_exported_symbol+:} false; then :
   11166   $as_echo_n "(cached) " >&6
   11167 else
   11168   save_LDFLAGS=$LDFLAGS
   11169 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11170 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11171 /* end confdefs.h.  */
   11172 int foo (void) { return 0; }
   11173 _ACEOF
   11174 if ac_fn_c_try_link "$LINENO"; then :
   11175   lt_cv_irix_exported_symbol=yes
   11176 else
   11177   lt_cv_irix_exported_symbol=no
   11178 fi
   11179 rm -f core conftest.err conftest.$ac_objext \
   11180     conftest$ac_exeext conftest.$ac_ext
   11181            LDFLAGS=$save_LDFLAGS
   11182 fi
   11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11184 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   11185 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11186           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'
   11187 	fi
   11188       else
   11189 	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'
   11190 	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'
   11191       fi
   11192       archive_cmds_need_lc='no'
   11193       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11194       hardcode_libdir_separator=:
   11195       inherit_rpath=yes
   11196       link_all_deplibs=yes
   11197       ;;
   11198 
   11199     linux*)
   11200       case $cc_basename in
   11201       tcc*)
   11202 	# Fabrice Bellard et al's Tiny C Compiler
   11203 	ld_shlibs=yes
   11204 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11205 	;;
   11206       esac
   11207       ;;
   11208 
   11209     netbsd*)
   11210       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11211 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11212       else
   11213 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11214       fi
   11215       hardcode_libdir_flag_spec='-R$libdir'
   11216       hardcode_direct=yes
   11217       hardcode_shlibpath_var=no
   11218       ;;
   11219 
   11220     newsos6)
   11221       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11222       hardcode_direct=yes
   11223       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11224       hardcode_libdir_separator=:
   11225       hardcode_shlibpath_var=no
   11226       ;;
   11227 
   11228     *nto* | *qnx*)
   11229       ;;
   11230 
   11231     openbsd* | bitrig*)
   11232       if test -f /usr/libexec/ld.so; then
   11233 	hardcode_direct=yes
   11234 	hardcode_shlibpath_var=no
   11235 	hardcode_direct_absolute=yes
   11236 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11237 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11238 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11239 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11240 	  export_dynamic_flag_spec='$wl-E'
   11241 	else
   11242 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11243 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11244 	fi
   11245       else
   11246 	ld_shlibs=no
   11247       fi
   11248       ;;
   11249 
   11250     os2*)
   11251       hardcode_libdir_flag_spec='-L$libdir'
   11252       hardcode_minus_L=yes
   11253       allow_undefined_flag=unsupported
   11254       shrext_cmds=.dll
   11255       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11256 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11257 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11258 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11259 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11260 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11261 	emximp -o $lib $output_objdir/$libname.def'
   11262       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11263 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11264 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11265 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11266 	prefix_cmds="$SED"~
   11267 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11268 	  prefix_cmds="$prefix_cmds -e 1d";
   11269 	fi~
   11270 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11271 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11272 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11273 	emximp -o $lib $output_objdir/$libname.def'
   11274       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11275       enable_shared_with_static_runtimes=yes
   11276       file_list_spec='@'
   11277       ;;
   11278 
   11279     osf3*)
   11280       if test yes = "$GCC"; then
   11281 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11282 	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'
   11283       else
   11284 	allow_undefined_flag=' -expect_unresolved \*'
   11285 	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'
   11286       fi
   11287       archive_cmds_need_lc='no'
   11288       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11289       hardcode_libdir_separator=:
   11290       ;;
   11291 
   11292     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11293       if test yes = "$GCC"; then
   11294 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11295 	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'
   11296 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11297       else
   11298 	allow_undefined_flag=' -expect_unresolved \*'
   11299 	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'
   11300 	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~
   11301           $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'
   11302 
   11303 	# Both c and cxx compiler support -rpath directly
   11304 	hardcode_libdir_flag_spec='-rpath $libdir'
   11305       fi
   11306       archive_cmds_need_lc='no'
   11307       hardcode_libdir_separator=:
   11308       ;;
   11309 
   11310     solaris*)
   11311       no_undefined_flag=' -z defs'
   11312       if test yes = "$GCC"; then
   11313 	wlarc='$wl'
   11314 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11315 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11316           $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'
   11317       else
   11318 	case `$CC -V 2>&1` in
   11319 	*"Compilers 5.0"*)
   11320 	  wlarc=''
   11321 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11322 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11323             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11324 	  ;;
   11325 	*)
   11326 	  wlarc='$wl'
   11327 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11328 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11329             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11330 	  ;;
   11331 	esac
   11332       fi
   11333       hardcode_libdir_flag_spec='-R$libdir'
   11334       hardcode_shlibpath_var=no
   11335       case $host_os in
   11336       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11337       *)
   11338 	# The compiler driver will combine and reorder linker options,
   11339 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11340 	# but is careful enough not to reorder.
   11341 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11342 	if test yes = "$GCC"; then
   11343 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11344 	else
   11345 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11346 	fi
   11347 	;;
   11348       esac
   11349       link_all_deplibs=yes
   11350       ;;
   11351 
   11352     sunos4*)
   11353       if test sequent = "$host_vendor"; then
   11354 	# Use $CC to link under sequent, because it throws in some extra .o
   11355 	# files that make .init and .fini sections work.
   11356 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11357       else
   11358 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11359       fi
   11360       hardcode_libdir_flag_spec='-L$libdir'
   11361       hardcode_direct=yes
   11362       hardcode_minus_L=yes
   11363       hardcode_shlibpath_var=no
   11364       ;;
   11365 
   11366     sysv4)
   11367       case $host_vendor in
   11368 	sni)
   11369 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11370 	  hardcode_direct=yes # is this really true???
   11371 	;;
   11372 	siemens)
   11373 	  ## LD is ld it makes a PLAMLIB
   11374 	  ## CC just makes a GrossModule.
   11375 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11376 	  reload_cmds='$CC -r -o $output$reload_objs'
   11377 	  hardcode_direct=no
   11378         ;;
   11379 	motorola)
   11380 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11381 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11382 	;;
   11383       esac
   11384       runpath_var='LD_RUN_PATH'
   11385       hardcode_shlibpath_var=no
   11386       ;;
   11387 
   11388     sysv4.3*)
   11389       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11390       hardcode_shlibpath_var=no
   11391       export_dynamic_flag_spec='-Bexport'
   11392       ;;
   11393 
   11394     sysv4*MP*)
   11395       if test -d /usr/nec; then
   11396 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11397 	hardcode_shlibpath_var=no
   11398 	runpath_var=LD_RUN_PATH
   11399 	hardcode_runpath_var=yes
   11400 	ld_shlibs=yes
   11401       fi
   11402       ;;
   11403 
   11404     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11405       no_undefined_flag='$wl-z,text'
   11406       archive_cmds_need_lc=no
   11407       hardcode_shlibpath_var=no
   11408       runpath_var='LD_RUN_PATH'
   11409 
   11410       if test yes = "$GCC"; then
   11411 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11412 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11413       else
   11414 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11415 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11416       fi
   11417       ;;
   11418 
   11419     sysv5* | sco3.2v5* | sco5v6*)
   11420       # Note: We CANNOT use -z defs as we might desire, because we do not
   11421       # link with -lc, and that would cause any symbols used from libc to
   11422       # always be unresolved, which means just about no library would
   11423       # ever link correctly.  If we're not using GNU ld we use -z text
   11424       # though, which does catch some bad symbols but isn't as heavy-handed
   11425       # as -z defs.
   11426       no_undefined_flag='$wl-z,text'
   11427       allow_undefined_flag='$wl-z,nodefs'
   11428       archive_cmds_need_lc=no
   11429       hardcode_shlibpath_var=no
   11430       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11431       hardcode_libdir_separator=':'
   11432       link_all_deplibs=yes
   11433       export_dynamic_flag_spec='$wl-Bexport'
   11434       runpath_var='LD_RUN_PATH'
   11435 
   11436       if test yes = "$GCC"; then
   11437 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11438 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11439       else
   11440 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11441 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11442       fi
   11443       ;;
   11444 
   11445     uts4*)
   11446       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11447       hardcode_libdir_flag_spec='-L$libdir'
   11448       hardcode_shlibpath_var=no
   11449       ;;
   11450 
   11451     *)
   11452       ld_shlibs=no
   11453       ;;
   11454     esac
   11455 
   11456     if test sni = "$host_vendor"; then
   11457       case $host in
   11458       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11459 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11460 	;;
   11461       esac
   11462     fi
   11463   fi
   11464 
   11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11466 $as_echo "$ld_shlibs" >&6; }
   11467 test no = "$ld_shlibs" && can_build_shared=no
   11468 
   11469 with_gnu_ld=$with_gnu_ld
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 #
   11486 # Do we need to explicitly link libc?
   11487 #
   11488 case "x$archive_cmds_need_lc" in
   11489 x|xyes)
   11490   # Assume -lc should be added
   11491   archive_cmds_need_lc=yes
   11492 
   11493   if test yes,yes = "$GCC,$enable_shared"; then
   11494     case $archive_cmds in
   11495     *'~'*)
   11496       # FIXME: we may have to deal with multi-command sequences.
   11497       ;;
   11498     '$CC '*)
   11499       # Test whether the compiler implicitly links with -lc since on some
   11500       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11501       # to ld, don't add -lc before -lgcc.
   11502       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11503 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11504 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11505   $as_echo_n "(cached) " >&6
   11506 else
   11507   $RM conftest*
   11508 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11509 
   11510 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11511   (eval $ac_compile) 2>&5
   11512   ac_status=$?
   11513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11514   test $ac_status = 0; } 2>conftest.err; then
   11515 	  soname=conftest
   11516 	  lib=conftest
   11517 	  libobjs=conftest.$ac_objext
   11518 	  deplibs=
   11519 	  wl=$lt_prog_compiler_wl
   11520 	  pic_flag=$lt_prog_compiler_pic
   11521 	  compiler_flags=-v
   11522 	  linker_flags=-v
   11523 	  verstring=
   11524 	  output_objdir=.
   11525 	  libname=conftest
   11526 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11527 	  allow_undefined_flag=
   11528 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11529   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11530   ac_status=$?
   11531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11532   test $ac_status = 0; }
   11533 	  then
   11534 	    lt_cv_archive_cmds_need_lc=no
   11535 	  else
   11536 	    lt_cv_archive_cmds_need_lc=yes
   11537 	  fi
   11538 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11539 	else
   11540 	  cat conftest.err 1>&5
   11541 	fi
   11542 	$RM conftest*
   11543 
   11544 fi
   11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11546 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11547       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11548       ;;
   11549     esac
   11550   fi
   11551   ;;
   11552 esac
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11706 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11707 
   11708 if test yes = "$GCC"; then
   11709   case $host_os in
   11710     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11711     *) lt_awk_arg='/^libraries:/' ;;
   11712   esac
   11713   case $host_os in
   11714     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11715     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11716   esac
   11717   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11718   case $lt_search_path_spec in
   11719   *\;*)
   11720     # if the path contains ";" then we assume it to be the separator
   11721     # otherwise default to the standard path separator (i.e. ":") - it is
   11722     # assumed that no part of a normal pathname contains ";" but that should
   11723     # okay in the real world where ";" in dirpaths is itself problematic.
   11724     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11725     ;;
   11726   *)
   11727     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11728     ;;
   11729   esac
   11730   # Ok, now we have the path, separated by spaces, we can step through it
   11731   # and add multilib dir if necessary...
   11732   lt_tmp_lt_search_path_spec=
   11733   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11734   # ...but if some path component already ends with the multilib dir we assume
   11735   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11736   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11737   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11738     lt_multi_os_dir=
   11739     ;;
   11740   esac
   11741   for lt_sys_path in $lt_search_path_spec; do
   11742     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11743       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11744     elif test -n "$lt_multi_os_dir"; then
   11745       test -d "$lt_sys_path" && \
   11746 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11747     fi
   11748   done
   11749   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11750 BEGIN {RS = " "; FS = "/|\n";} {
   11751   lt_foo = "";
   11752   lt_count = 0;
   11753   for (lt_i = NF; lt_i > 0; lt_i--) {
   11754     if ($lt_i != "" && $lt_i != ".") {
   11755       if ($lt_i == "..") {
   11756         lt_count++;
   11757       } else {
   11758         if (lt_count == 0) {
   11759           lt_foo = "/" $lt_i lt_foo;
   11760         } else {
   11761           lt_count--;
   11762         }
   11763       }
   11764     }
   11765   }
   11766   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11767   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11768 }'`
   11769   # AWK program above erroneously prepends '/' to C:/dos/paths
   11770   # for these hosts.
   11771   case $host_os in
   11772     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11773       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11774   esac
   11775   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11776 else
   11777   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11778 fi
   11779 library_names_spec=
   11780 libname_spec='lib$name'
   11781 soname_spec=
   11782 shrext_cmds=.so
   11783 postinstall_cmds=
   11784 postuninstall_cmds=
   11785 finish_cmds=
   11786 finish_eval=
   11787 shlibpath_var=
   11788 shlibpath_overrides_runpath=unknown
   11789 version_type=none
   11790 dynamic_linker="$host_os ld.so"
   11791 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11792 need_lib_prefix=unknown
   11793 hardcode_into_libs=no
   11794 
   11795 # when you set need_version to no, make sure it does not cause -set_version
   11796 # flags to be left without arguments
   11797 need_version=unknown
   11798 
   11799 
   11800 
   11801 case $host_os in
   11802 aix3*)
   11803   version_type=linux # correct to gnu/linux during the next big refactor
   11804   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11805   shlibpath_var=LIBPATH
   11806 
   11807   # AIX 3 has no versioning support, so we append a major version to the name.
   11808   soname_spec='$libname$release$shared_ext$major'
   11809   ;;
   11810 
   11811 aix[4-9]*)
   11812   version_type=linux # correct to gnu/linux during the next big refactor
   11813   need_lib_prefix=no
   11814   need_version=no
   11815   hardcode_into_libs=yes
   11816   if test ia64 = "$host_cpu"; then
   11817     # AIX 5 supports IA64
   11818     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11819     shlibpath_var=LD_LIBRARY_PATH
   11820   else
   11821     # With GCC up to 2.95.x, collect2 would create an import file
   11822     # for dependence libraries.  The import file would start with
   11823     # the line '#! .'.  This would cause the generated library to
   11824     # depend on '.', always an invalid library.  This was fixed in
   11825     # development snapshots of GCC prior to 3.0.
   11826     case $host_os in
   11827       aix4 | aix4.[01] | aix4.[01].*)
   11828       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11829 	   echo ' yes '
   11830 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11831 	:
   11832       else
   11833 	can_build_shared=no
   11834       fi
   11835       ;;
   11836     esac
   11837     # Using Import Files as archive members, it is possible to support
   11838     # filename-based versioning of shared library archives on AIX. While
   11839     # this would work for both with and without runtime linking, it will
   11840     # prevent static linking of such archives. So we do filename-based
   11841     # shared library versioning with .so extension only, which is used
   11842     # when both runtime linking and shared linking is enabled.
   11843     # Unfortunately, runtime linking may impact performance, so we do
   11844     # not want this to be the default eventually. Also, we use the
   11845     # versioned .so libs for executables only if there is the -brtl
   11846     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11847     # To allow for filename-based versioning support, we need to create
   11848     # libNAME.so.V as an archive file, containing:
   11849     # *) an Import File, referring to the versioned filename of the
   11850     #    archive as well as the shared archive member, telling the
   11851     #    bitwidth (32 or 64) of that shared object, and providing the
   11852     #    list of exported symbols of that shared object, eventually
   11853     #    decorated with the 'weak' keyword
   11854     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11855     #    it being seen by the linker.
   11856     # At run time we better use the real file rather than another symlink,
   11857     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11858 
   11859     case $with_aix_soname,$aix_use_runtimelinking in
   11860     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11861     # soname into executable. Probably we can add versioning support to
   11862     # collect2, so additional links can be useful in future.
   11863     aix,yes) # traditional libtool
   11864       dynamic_linker='AIX unversionable lib.so'
   11865       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11866       # instead of lib<name>.a to let people know that these are not
   11867       # typical AIX shared libraries.
   11868       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11869       ;;
   11870     aix,no) # traditional AIX only
   11871       dynamic_linker='AIX lib.a(lib.so.V)'
   11872       # We preserve .a as extension for shared libraries through AIX4.2
   11873       # and later when we are not doing run time linking.
   11874       library_names_spec='$libname$release.a $libname.a'
   11875       soname_spec='$libname$release$shared_ext$major'
   11876       ;;
   11877     svr4,*) # full svr4 only
   11878       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11879       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11880       # We do not specify a path in Import Files, so LIBPATH fires.
   11881       shlibpath_overrides_runpath=yes
   11882       ;;
   11883     *,yes) # both, prefer svr4
   11884       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11885       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11886       # unpreferred sharedlib libNAME.a needs extra handling
   11887       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   11888       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   11889       # We do not specify a path in Import Files, so LIBPATH fires.
   11890       shlibpath_overrides_runpath=yes
   11891       ;;
   11892     *,no) # both, prefer aix
   11893       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11894       library_names_spec='$libname$release.a $libname.a'
   11895       soname_spec='$libname$release$shared_ext$major'
   11896       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11897       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   11898       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   11899       ;;
   11900     esac
   11901     shlibpath_var=LIBPATH
   11902   fi
   11903   ;;
   11904 
   11905 amigaos*)
   11906   case $host_cpu in
   11907   powerpc)
   11908     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11909     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11910     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11911     ;;
   11912   m68k)
   11913     library_names_spec='$libname.ixlibrary $libname.a'
   11914     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11915     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   11916     ;;
   11917   esac
   11918   ;;
   11919 
   11920 beos*)
   11921   library_names_spec='$libname$shared_ext'
   11922   dynamic_linker="$host_os ld.so"
   11923   shlibpath_var=LIBRARY_PATH
   11924   ;;
   11925 
   11926 bsdi[45]*)
   11927   version_type=linux # correct to gnu/linux during the next big refactor
   11928   need_version=no
   11929   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11930   soname_spec='$libname$release$shared_ext$major'
   11931   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11932   shlibpath_var=LD_LIBRARY_PATH
   11933   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11934   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11935   # the default ld.so.conf also contains /usr/contrib/lib and
   11936   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11937   # libtool to hard-code these into programs
   11938   ;;
   11939 
   11940 cygwin* | mingw* | pw32* | cegcc*)
   11941   version_type=windows
   11942   shrext_cmds=.dll
   11943   need_version=no
   11944   need_lib_prefix=no
   11945 
   11946   case $GCC,$cc_basename in
   11947   yes,*)
   11948     # gcc
   11949     library_names_spec='$libname.dll.a'
   11950     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11951     postinstall_cmds='base_file=`basename \$file`~
   11952       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11953       dldir=$destdir/`dirname \$dlpath`~
   11954       test -d \$dldir || mkdir -p \$dldir~
   11955       $install_prog $dir/$dlname \$dldir/$dlname~
   11956       chmod a+x \$dldir/$dlname~
   11957       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11958         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11959       fi'
   11960     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11961       dlpath=$dir/\$dldll~
   11962        $RM \$dlpath'
   11963     shlibpath_overrides_runpath=yes
   11964 
   11965     case $host_os in
   11966     cygwin*)
   11967       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11968       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11969 
   11970       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11971       ;;
   11972     mingw* | cegcc*)
   11973       # MinGW DLLs use traditional 'lib' prefix
   11974       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11975       ;;
   11976     pw32*)
   11977       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11978       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11979       ;;
   11980     esac
   11981     dynamic_linker='Win32 ld.exe'
   11982     ;;
   11983 
   11984   *,cl* | *,icl*)
   11985     # Native MSVC or ICC
   11986     libname_spec='$name'
   11987     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11988     library_names_spec='$libname.dll.lib'
   11989 
   11990     case $build_os in
   11991     mingw*)
   11992       sys_lib_search_path_spec=
   11993       lt_save_ifs=$IFS
   11994       IFS=';'
   11995       for lt_path in $LIB
   11996       do
   11997         IFS=$lt_save_ifs
   11998         # Let DOS variable expansion print the short 8.3 style file name.
   11999         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12000         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12001       done
   12002       IFS=$lt_save_ifs
   12003       # Convert to MSYS style.
   12004       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12005       ;;
   12006     cygwin*)
   12007       # Convert to unix form, then to dos form, then back to unix form
   12008       # but this time dos style (no spaces!) so that the unix form looks
   12009       # like /cygdrive/c/PROGRA~1:/cygdr...
   12010       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12011       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12012       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12013       ;;
   12014     *)
   12015       sys_lib_search_path_spec=$LIB
   12016       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12017         # It is most probably a Windows format PATH.
   12018         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12019       else
   12020         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12021       fi
   12022       # FIXME: find the short name or the path components, as spaces are
   12023       # common. (e.g. "Program Files" -> "PROGRA~1")
   12024       ;;
   12025     esac
   12026 
   12027     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12028     postinstall_cmds='base_file=`basename \$file`~
   12029       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12030       dldir=$destdir/`dirname \$dlpath`~
   12031       test -d \$dldir || mkdir -p \$dldir~
   12032       $install_prog $dir/$dlname \$dldir/$dlname'
   12033     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12034       dlpath=$dir/\$dldll~
   12035        $RM \$dlpath'
   12036     shlibpath_overrides_runpath=yes
   12037     dynamic_linker='Win32 link.exe'
   12038     ;;
   12039 
   12040   *)
   12041     # Assume MSVC and ICC wrapper
   12042     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12043     dynamic_linker='Win32 ld.exe'
   12044     ;;
   12045   esac
   12046   # FIXME: first we should search . and the directory the executable is in
   12047   shlibpath_var=PATH
   12048   ;;
   12049 
   12050 darwin* | rhapsody*)
   12051   dynamic_linker="$host_os dyld"
   12052   version_type=darwin
   12053   need_lib_prefix=no
   12054   need_version=no
   12055   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12056   soname_spec='$libname$release$major$shared_ext'
   12057   shlibpath_overrides_runpath=yes
   12058   shlibpath_var=DYLD_LIBRARY_PATH
   12059   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12060 
   12061   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12062   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12063   ;;
   12064 
   12065 dgux*)
   12066   version_type=linux # correct to gnu/linux during the next big refactor
   12067   need_lib_prefix=no
   12068   need_version=no
   12069   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12070   soname_spec='$libname$release$shared_ext$major'
   12071   shlibpath_var=LD_LIBRARY_PATH
   12072   ;;
   12073 
   12074 freebsd* | dragonfly*)
   12075   # DragonFly does not have aout.  When/if they implement a new
   12076   # versioning mechanism, adjust this.
   12077   if test -x /usr/bin/objformat; then
   12078     objformat=`/usr/bin/objformat`
   12079   else
   12080     case $host_os in
   12081     freebsd[23].*) objformat=aout ;;
   12082     *) objformat=elf ;;
   12083     esac
   12084   fi
   12085   version_type=freebsd-$objformat
   12086   case $version_type in
   12087     freebsd-elf*)
   12088       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12089       soname_spec='$libname$release$shared_ext$major'
   12090       need_version=no
   12091       need_lib_prefix=no
   12092       ;;
   12093     freebsd-*)
   12094       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12095       need_version=yes
   12096       ;;
   12097   esac
   12098   shlibpath_var=LD_LIBRARY_PATH
   12099   case $host_os in
   12100   freebsd2.*)
   12101     shlibpath_overrides_runpath=yes
   12102     ;;
   12103   freebsd3.[01]* | freebsdelf3.[01]*)
   12104     shlibpath_overrides_runpath=yes
   12105     hardcode_into_libs=yes
   12106     ;;
   12107   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12108   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12109     shlibpath_overrides_runpath=no
   12110     hardcode_into_libs=yes
   12111     ;;
   12112   *) # from 4.6 on, and DragonFly
   12113     shlibpath_overrides_runpath=yes
   12114     hardcode_into_libs=yes
   12115     ;;
   12116   esac
   12117   ;;
   12118 
   12119 haiku*)
   12120   version_type=linux # correct to gnu/linux during the next big refactor
   12121   need_lib_prefix=no
   12122   need_version=no
   12123   dynamic_linker="$host_os runtime_loader"
   12124   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12125   soname_spec='$libname$release$shared_ext$major'
   12126   shlibpath_var=LIBRARY_PATH
   12127   shlibpath_overrides_runpath=no
   12128   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12129   hardcode_into_libs=yes
   12130   ;;
   12131 
   12132 hpux9* | hpux10* | hpux11*)
   12133   # Give a soname corresponding to the major version so that dld.sl refuses to
   12134   # link against other versions.
   12135   version_type=sunos
   12136   need_lib_prefix=no
   12137   need_version=no
   12138   case $host_cpu in
   12139   ia64*)
   12140     shrext_cmds='.so'
   12141     hardcode_into_libs=yes
   12142     dynamic_linker="$host_os dld.so"
   12143     shlibpath_var=LD_LIBRARY_PATH
   12144     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12145     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12146     soname_spec='$libname$release$shared_ext$major'
   12147     if test 32 = "$HPUX_IA64_MODE"; then
   12148       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12149       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12150     else
   12151       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12152       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12153     fi
   12154     ;;
   12155   hppa*64*)
   12156     shrext_cmds='.sl'
   12157     hardcode_into_libs=yes
   12158     dynamic_linker="$host_os dld.sl"
   12159     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12160     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12161     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12162     soname_spec='$libname$release$shared_ext$major'
   12163     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12164     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12165     ;;
   12166   *)
   12167     shrext_cmds='.sl'
   12168     dynamic_linker="$host_os dld.sl"
   12169     shlibpath_var=SHLIB_PATH
   12170     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12171     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12172     soname_spec='$libname$release$shared_ext$major'
   12173     ;;
   12174   esac
   12175   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12176   postinstall_cmds='chmod 555 $lib'
   12177   # or fails outright, so override atomically:
   12178   install_override_mode=555
   12179   ;;
   12180 
   12181 interix[3-9]*)
   12182   version_type=linux # correct to gnu/linux during the next big refactor
   12183   need_lib_prefix=no
   12184   need_version=no
   12185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12186   soname_spec='$libname$release$shared_ext$major'
   12187   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12188   shlibpath_var=LD_LIBRARY_PATH
   12189   shlibpath_overrides_runpath=no
   12190   hardcode_into_libs=yes
   12191   ;;
   12192 
   12193 irix5* | irix6* | nonstopux*)
   12194   case $host_os in
   12195     nonstopux*) version_type=nonstopux ;;
   12196     *)
   12197 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12198 		version_type=linux # correct to gnu/linux during the next big refactor
   12199 	else
   12200 		version_type=irix
   12201 	fi ;;
   12202   esac
   12203   need_lib_prefix=no
   12204   need_version=no
   12205   soname_spec='$libname$release$shared_ext$major'
   12206   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12207   case $host_os in
   12208   irix5* | nonstopux*)
   12209     libsuff= shlibsuff=
   12210     ;;
   12211   *)
   12212     case $LD in # libtool.m4 will add one of these switches to LD
   12213     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12214       libsuff= shlibsuff= libmagic=32-bit;;
   12215     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12216       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12217     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12218       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12219     *) libsuff= shlibsuff= libmagic=never-match;;
   12220     esac
   12221     ;;
   12222   esac
   12223   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12224   shlibpath_overrides_runpath=no
   12225   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12226   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12227   hardcode_into_libs=yes
   12228   ;;
   12229 
   12230 # No shared lib support for Linux oldld, aout, or coff.
   12231 linux*oldld* | linux*aout* | linux*coff*)
   12232   dynamic_linker=no
   12233   ;;
   12234 
   12235 linux*android*)
   12236   version_type=none # Android doesn't support versioned libraries.
   12237   need_lib_prefix=no
   12238   need_version=no
   12239   library_names_spec='$libname$release$shared_ext'
   12240   soname_spec='$libname$release$shared_ext'
   12241   finish_cmds=
   12242   shlibpath_var=LD_LIBRARY_PATH
   12243   shlibpath_overrides_runpath=yes
   12244 
   12245   # This implies no fast_install, which is unacceptable.
   12246   # Some rework will be needed to allow for fast_install
   12247   # before this can be enabled.
   12248   hardcode_into_libs=yes
   12249 
   12250   dynamic_linker='Android linker'
   12251   # Don't embed -rpath directories since the linker doesn't support them.
   12252   hardcode_libdir_flag_spec='-L$libdir'
   12253   ;;
   12254 
   12255 # This must be glibc/ELF.
   12256 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12257   version_type=linux # correct to gnu/linux during the next big refactor
   12258   need_lib_prefix=no
   12259   need_version=no
   12260   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12261   soname_spec='$libname$release$shared_ext$major'
   12262   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12263   shlibpath_var=LD_LIBRARY_PATH
   12264   shlibpath_overrides_runpath=no
   12265 
   12266   # Some binutils ld are patched to set DT_RUNPATH
   12267   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   12268   $as_echo_n "(cached) " >&6
   12269 else
   12270   lt_cv_shlibpath_overrides_runpath=no
   12271     save_LDFLAGS=$LDFLAGS
   12272     save_libdir=$libdir
   12273     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12274 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12275     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12276 /* end confdefs.h.  */
   12277 
   12278 int
   12279 main ()
   12280 {
   12281 
   12282   ;
   12283   return 0;
   12284 }
   12285 _ACEOF
   12286 if ac_fn_c_try_link "$LINENO"; then :
   12287   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12288   lt_cv_shlibpath_overrides_runpath=yes
   12289 fi
   12290 fi
   12291 rm -f core conftest.err conftest.$ac_objext \
   12292     conftest$ac_exeext conftest.$ac_ext
   12293     LDFLAGS=$save_LDFLAGS
   12294     libdir=$save_libdir
   12295 
   12296 fi
   12297 
   12298   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12299 
   12300   # This implies no fast_install, which is unacceptable.
   12301   # Some rework will be needed to allow for fast_install
   12302   # before this can be enabled.
   12303   hardcode_into_libs=yes
   12304 
   12305   # Ideally, we could use ldconfig to report *all* directores which are
   12306   # searched for libraries, however this is still not possible.  Aside from not
   12307   # being certain /sbin/ldconfig is available, command
   12308   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12309   # even though it is searched at run-time.  Try to do the best guess by
   12310   # appending ld.so.conf contents (and includes) to the search path.
   12311   if test -f /etc/ld.so.conf; then
   12312     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' ' '`
   12313     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12314   fi
   12315 
   12316   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12317   # powerpc, because MkLinux only supported shared libraries with the
   12318   # GNU dynamic linker.  Since this was broken with cross compilers,
   12319   # most powerpc-linux boxes support dynamic linking these days and
   12320   # people can always --disable-shared, the test was removed, and we
   12321   # assume the GNU/Linux dynamic linker is in use.
   12322   dynamic_linker='GNU/Linux ld.so'
   12323   ;;
   12324 
   12325 netbsd*)
   12326   version_type=sunos
   12327   need_lib_prefix=no
   12328   need_version=no
   12329   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12330     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12331     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12332     dynamic_linker='NetBSD (a.out) ld.so'
   12333   else
   12334     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12335     soname_spec='$libname$release$shared_ext$major'
   12336     dynamic_linker='NetBSD ld.elf_so'
   12337   fi
   12338   shlibpath_var=LD_LIBRARY_PATH
   12339   shlibpath_overrides_runpath=yes
   12340   hardcode_into_libs=yes
   12341   ;;
   12342 
   12343 newsos6)
   12344   version_type=linux # correct to gnu/linux during the next big refactor
   12345   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12346   shlibpath_var=LD_LIBRARY_PATH
   12347   shlibpath_overrides_runpath=yes
   12348   ;;
   12349 
   12350 *nto* | *qnx*)
   12351   version_type=qnx
   12352   need_lib_prefix=no
   12353   need_version=no
   12354   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12355   soname_spec='$libname$release$shared_ext$major'
   12356   shlibpath_var=LD_LIBRARY_PATH
   12357   shlibpath_overrides_runpath=no
   12358   hardcode_into_libs=yes
   12359   dynamic_linker='ldqnx.so'
   12360   ;;
   12361 
   12362 openbsd* | bitrig*)
   12363   version_type=sunos
   12364   sys_lib_dlsearch_path_spec=/usr/lib
   12365   need_lib_prefix=no
   12366   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12367     need_version=no
   12368   else
   12369     need_version=yes
   12370   fi
   12371   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12372   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12373   shlibpath_var=LD_LIBRARY_PATH
   12374   shlibpath_overrides_runpath=yes
   12375   ;;
   12376 
   12377 os2*)
   12378   libname_spec='$name'
   12379   version_type=windows
   12380   shrext_cmds=.dll
   12381   need_version=no
   12382   need_lib_prefix=no
   12383   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12384   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12385     v=$($ECHO $release$versuffix | tr -d .-);
   12386     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12387     $ECHO $n$v`$shared_ext'
   12388   library_names_spec='${libname}_dll.$libext'
   12389   dynamic_linker='OS/2 ld.exe'
   12390   shlibpath_var=BEGINLIBPATH
   12391   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12392   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12393   postinstall_cmds='base_file=`basename \$file`~
   12394     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12395     dldir=$destdir/`dirname \$dlpath`~
   12396     test -d \$dldir || mkdir -p \$dldir~
   12397     $install_prog $dir/$dlname \$dldir/$dlname~
   12398     chmod a+x \$dldir/$dlname~
   12399     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12400       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12401     fi'
   12402   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12403     dlpath=$dir/\$dldll~
   12404     $RM \$dlpath'
   12405   ;;
   12406 
   12407 osf3* | osf4* | osf5*)
   12408   version_type=osf
   12409   need_lib_prefix=no
   12410   need_version=no
   12411   soname_spec='$libname$release$shared_ext$major'
   12412   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12413   shlibpath_var=LD_LIBRARY_PATH
   12414   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12415   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12416   ;;
   12417 
   12418 rdos*)
   12419   dynamic_linker=no
   12420   ;;
   12421 
   12422 solaris*)
   12423   version_type=linux # correct to gnu/linux during the next big refactor
   12424   need_lib_prefix=no
   12425   need_version=no
   12426   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12427   soname_spec='$libname$release$shared_ext$major'
   12428   shlibpath_var=LD_LIBRARY_PATH
   12429   shlibpath_overrides_runpath=yes
   12430   hardcode_into_libs=yes
   12431   # ldd complains unless libraries are executable
   12432   postinstall_cmds='chmod +x $lib'
   12433   ;;
   12434 
   12435 sunos4*)
   12436   version_type=sunos
   12437   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12438   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12439   shlibpath_var=LD_LIBRARY_PATH
   12440   shlibpath_overrides_runpath=yes
   12441   if test yes = "$with_gnu_ld"; then
   12442     need_lib_prefix=no
   12443   fi
   12444   need_version=yes
   12445   ;;
   12446 
   12447 sysv4 | sysv4.3*)
   12448   version_type=linux # correct to gnu/linux during the next big refactor
   12449   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12450   soname_spec='$libname$release$shared_ext$major'
   12451   shlibpath_var=LD_LIBRARY_PATH
   12452   case $host_vendor in
   12453     sni)
   12454       shlibpath_overrides_runpath=no
   12455       need_lib_prefix=no
   12456       runpath_var=LD_RUN_PATH
   12457       ;;
   12458     siemens)
   12459       need_lib_prefix=no
   12460       ;;
   12461     motorola)
   12462       need_lib_prefix=no
   12463       need_version=no
   12464       shlibpath_overrides_runpath=no
   12465       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12466       ;;
   12467   esac
   12468   ;;
   12469 
   12470 sysv4*MP*)
   12471   if test -d /usr/nec; then
   12472     version_type=linux # correct to gnu/linux during the next big refactor
   12473     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12474     soname_spec='$libname$shared_ext.$major'
   12475     shlibpath_var=LD_LIBRARY_PATH
   12476   fi
   12477   ;;
   12478 
   12479 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12480   version_type=sco
   12481   need_lib_prefix=no
   12482   need_version=no
   12483   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12484   soname_spec='$libname$release$shared_ext$major'
   12485   shlibpath_var=LD_LIBRARY_PATH
   12486   shlibpath_overrides_runpath=yes
   12487   hardcode_into_libs=yes
   12488   if test yes = "$with_gnu_ld"; then
   12489     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12490   else
   12491     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12492     case $host_os in
   12493       sco3.2v5*)
   12494         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12495 	;;
   12496     esac
   12497   fi
   12498   sys_lib_dlsearch_path_spec='/usr/lib'
   12499   ;;
   12500 
   12501 tpf*)
   12502   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12503   version_type=linux # correct to gnu/linux during the next big refactor
   12504   need_lib_prefix=no
   12505   need_version=no
   12506   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12507   shlibpath_var=LD_LIBRARY_PATH
   12508   shlibpath_overrides_runpath=no
   12509   hardcode_into_libs=yes
   12510   ;;
   12511 
   12512 uts4*)
   12513   version_type=linux # correct to gnu/linux during the next big refactor
   12514   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12515   soname_spec='$libname$release$shared_ext$major'
   12516   shlibpath_var=LD_LIBRARY_PATH
   12517   ;;
   12518 
   12519 *)
   12520   dynamic_linker=no
   12521   ;;
   12522 esac
   12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12524 $as_echo "$dynamic_linker" >&6; }
   12525 test no = "$dynamic_linker" && can_build_shared=no
   12526 
   12527 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12528 if test yes = "$GCC"; then
   12529   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12530 fi
   12531 
   12532 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12533   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12534 fi
   12535 
   12536 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12537   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12538 fi
   12539 
   12540 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12541 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12542 
   12543 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12544 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12545 
   12546 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12547 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12646 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12647 hardcode_action=
   12648 if test -n "$hardcode_libdir_flag_spec" ||
   12649    test -n "$runpath_var" ||
   12650    test yes = "$hardcode_automatic"; then
   12651 
   12652   # We can hardcode non-existent directories.
   12653   if test no != "$hardcode_direct" &&
   12654      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12655      # have to relink, otherwise we might link with an installed library
   12656      # when we should be linking with a yet-to-be-installed one
   12657      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12658      test no != "$hardcode_minus_L"; then
   12659     # Linking always hardcodes the temporary library directory.
   12660     hardcode_action=relink
   12661   else
   12662     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12663     hardcode_action=immediate
   12664   fi
   12665 else
   12666   # We cannot hardcode anything, or else we can only hardcode existing
   12667   # directories.
   12668   hardcode_action=unsupported
   12669 fi
   12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12671 $as_echo "$hardcode_action" >&6; }
   12672 
   12673 if test relink = "$hardcode_action" ||
   12674    test yes = "$inherit_rpath"; then
   12675   # Fast installation is not supported
   12676   enable_fast_install=no
   12677 elif test yes = "$shlibpath_overrides_runpath" ||
   12678      test no = "$enable_shared"; then
   12679   # Fast installation is not necessary
   12680   enable_fast_install=needless
   12681 fi
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688   if test yes != "$enable_dlopen"; then
   12689   enable_dlopen=unknown
   12690   enable_dlopen_self=unknown
   12691   enable_dlopen_self_static=unknown
   12692 else
   12693   lt_cv_dlopen=no
   12694   lt_cv_dlopen_libs=
   12695 
   12696   case $host_os in
   12697   beos*)
   12698     lt_cv_dlopen=load_add_on
   12699     lt_cv_dlopen_libs=
   12700     lt_cv_dlopen_self=yes
   12701     ;;
   12702 
   12703   mingw* | pw32* | cegcc*)
   12704     lt_cv_dlopen=LoadLibrary
   12705     lt_cv_dlopen_libs=
   12706     ;;
   12707 
   12708   cygwin*)
   12709     lt_cv_dlopen=dlopen
   12710     lt_cv_dlopen_libs=
   12711     ;;
   12712 
   12713   darwin*)
   12714     # if libdl is installed we need to link against it
   12715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12716 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12717 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12718   $as_echo_n "(cached) " >&6
   12719 else
   12720   ac_check_lib_save_LIBS=$LIBS
   12721 LIBS="-ldl  $LIBS"
   12722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12723 /* end confdefs.h.  */
   12724 
   12725 /* Override any GCC internal prototype to avoid an error.
   12726    Use char because int might match the return type of a GCC
   12727    builtin and then its argument prototype would still apply.  */
   12728 #ifdef __cplusplus
   12729 extern "C"
   12730 #endif
   12731 char dlopen ();
   12732 int
   12733 main ()
   12734 {
   12735 return dlopen ();
   12736   ;
   12737   return 0;
   12738 }
   12739 _ACEOF
   12740 if ac_fn_c_try_link "$LINENO"; then :
   12741   ac_cv_lib_dl_dlopen=yes
   12742 else
   12743   ac_cv_lib_dl_dlopen=no
   12744 fi
   12745 rm -f core conftest.err conftest.$ac_objext \
   12746     conftest$ac_exeext conftest.$ac_ext
   12747 LIBS=$ac_check_lib_save_LIBS
   12748 fi
   12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12750 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12751 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12752   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12753 else
   12754 
   12755     lt_cv_dlopen=dyld
   12756     lt_cv_dlopen_libs=
   12757     lt_cv_dlopen_self=yes
   12758 
   12759 fi
   12760 
   12761     ;;
   12762 
   12763   tpf*)
   12764     # Don't try to run any link tests for TPF.  We know it's impossible
   12765     # because TPF is a cross-compiler, and we know how we open DSOs.
   12766     lt_cv_dlopen=dlopen
   12767     lt_cv_dlopen_libs=
   12768     lt_cv_dlopen_self=no
   12769     ;;
   12770 
   12771   *)
   12772     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12773 if test "x$ac_cv_func_shl_load" = xyes; then :
   12774   lt_cv_dlopen=shl_load
   12775 else
   12776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12777 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12778 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12779   $as_echo_n "(cached) " >&6
   12780 else
   12781   ac_check_lib_save_LIBS=$LIBS
   12782 LIBS="-ldld  $LIBS"
   12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12784 /* end confdefs.h.  */
   12785 
   12786 /* Override any GCC internal prototype to avoid an error.
   12787    Use char because int might match the return type of a GCC
   12788    builtin and then its argument prototype would still apply.  */
   12789 #ifdef __cplusplus
   12790 extern "C"
   12791 #endif
   12792 char shl_load ();
   12793 int
   12794 main ()
   12795 {
   12796 return shl_load ();
   12797   ;
   12798   return 0;
   12799 }
   12800 _ACEOF
   12801 if ac_fn_c_try_link "$LINENO"; then :
   12802   ac_cv_lib_dld_shl_load=yes
   12803 else
   12804   ac_cv_lib_dld_shl_load=no
   12805 fi
   12806 rm -f core conftest.err conftest.$ac_objext \
   12807     conftest$ac_exeext conftest.$ac_ext
   12808 LIBS=$ac_check_lib_save_LIBS
   12809 fi
   12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12811 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12812 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12813   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12814 else
   12815   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12816 if test "x$ac_cv_func_dlopen" = xyes; then :
   12817   lt_cv_dlopen=dlopen
   12818 else
   12819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12820 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12821 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12822   $as_echo_n "(cached) " >&6
   12823 else
   12824   ac_check_lib_save_LIBS=$LIBS
   12825 LIBS="-ldl  $LIBS"
   12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12827 /* end confdefs.h.  */
   12828 
   12829 /* Override any GCC internal prototype to avoid an error.
   12830    Use char because int might match the return type of a GCC
   12831    builtin and then its argument prototype would still apply.  */
   12832 #ifdef __cplusplus
   12833 extern "C"
   12834 #endif
   12835 char dlopen ();
   12836 int
   12837 main ()
   12838 {
   12839 return dlopen ();
   12840   ;
   12841   return 0;
   12842 }
   12843 _ACEOF
   12844 if ac_fn_c_try_link "$LINENO"; then :
   12845   ac_cv_lib_dl_dlopen=yes
   12846 else
   12847   ac_cv_lib_dl_dlopen=no
   12848 fi
   12849 rm -f core conftest.err conftest.$ac_objext \
   12850     conftest$ac_exeext conftest.$ac_ext
   12851 LIBS=$ac_check_lib_save_LIBS
   12852 fi
   12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12854 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12855 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12856   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12857 else
   12858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12859 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12860 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12861   $as_echo_n "(cached) " >&6
   12862 else
   12863   ac_check_lib_save_LIBS=$LIBS
   12864 LIBS="-lsvld  $LIBS"
   12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12866 /* end confdefs.h.  */
   12867 
   12868 /* Override any GCC internal prototype to avoid an error.
   12869    Use char because int might match the return type of a GCC
   12870    builtin and then its argument prototype would still apply.  */
   12871 #ifdef __cplusplus
   12872 extern "C"
   12873 #endif
   12874 char dlopen ();
   12875 int
   12876 main ()
   12877 {
   12878 return dlopen ();
   12879   ;
   12880   return 0;
   12881 }
   12882 _ACEOF
   12883 if ac_fn_c_try_link "$LINENO"; then :
   12884   ac_cv_lib_svld_dlopen=yes
   12885 else
   12886   ac_cv_lib_svld_dlopen=no
   12887 fi
   12888 rm -f core conftest.err conftest.$ac_objext \
   12889     conftest$ac_exeext conftest.$ac_ext
   12890 LIBS=$ac_check_lib_save_LIBS
   12891 fi
   12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12893 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12894 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12895   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12896 else
   12897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12898 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12899 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12900   $as_echo_n "(cached) " >&6
   12901 else
   12902   ac_check_lib_save_LIBS=$LIBS
   12903 LIBS="-ldld  $LIBS"
   12904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12905 /* end confdefs.h.  */
   12906 
   12907 /* Override any GCC internal prototype to avoid an error.
   12908    Use char because int might match the return type of a GCC
   12909    builtin and then its argument prototype would still apply.  */
   12910 #ifdef __cplusplus
   12911 extern "C"
   12912 #endif
   12913 char dld_link ();
   12914 int
   12915 main ()
   12916 {
   12917 return dld_link ();
   12918   ;
   12919   return 0;
   12920 }
   12921 _ACEOF
   12922 if ac_fn_c_try_link "$LINENO"; then :
   12923   ac_cv_lib_dld_dld_link=yes
   12924 else
   12925   ac_cv_lib_dld_dld_link=no
   12926 fi
   12927 rm -f core conftest.err conftest.$ac_objext \
   12928     conftest$ac_exeext conftest.$ac_ext
   12929 LIBS=$ac_check_lib_save_LIBS
   12930 fi
   12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12932 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12933 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12934   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12935 fi
   12936 
   12937 
   12938 fi
   12939 
   12940 
   12941 fi
   12942 
   12943 
   12944 fi
   12945 
   12946 
   12947 fi
   12948 
   12949 
   12950 fi
   12951 
   12952     ;;
   12953   esac
   12954 
   12955   if test no = "$lt_cv_dlopen"; then
   12956     enable_dlopen=no
   12957   else
   12958     enable_dlopen=yes
   12959   fi
   12960 
   12961   case $lt_cv_dlopen in
   12962   dlopen)
   12963     save_CPPFLAGS=$CPPFLAGS
   12964     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12965 
   12966     save_LDFLAGS=$LDFLAGS
   12967     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12968 
   12969     save_LIBS=$LIBS
   12970     LIBS="$lt_cv_dlopen_libs $LIBS"
   12971 
   12972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12973 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12974 if ${lt_cv_dlopen_self+:} false; then :
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   	  if test yes = "$cross_compiling"; then :
   12978   lt_cv_dlopen_self=cross
   12979 else
   12980   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12981   lt_status=$lt_dlunknown
   12982   cat > conftest.$ac_ext <<_LT_EOF
   12983 #line $LINENO "configure"
   12984 #include "confdefs.h"
   12985 
   12986 #if HAVE_DLFCN_H
   12987 #include <dlfcn.h>
   12988 #endif
   12989 
   12990 #include <stdio.h>
   12991 
   12992 #ifdef RTLD_GLOBAL
   12993 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12994 #else
   12995 #  ifdef DL_GLOBAL
   12996 #    define LT_DLGLOBAL		DL_GLOBAL
   12997 #  else
   12998 #    define LT_DLGLOBAL		0
   12999 #  endif
   13000 #endif
   13001 
   13002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13003    find out it does not work in some platform. */
   13004 #ifndef LT_DLLAZY_OR_NOW
   13005 #  ifdef RTLD_LAZY
   13006 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13007 #  else
   13008 #    ifdef DL_LAZY
   13009 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13010 #    else
   13011 #      ifdef RTLD_NOW
   13012 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13013 #      else
   13014 #        ifdef DL_NOW
   13015 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13016 #        else
   13017 #          define LT_DLLAZY_OR_NOW	0
   13018 #        endif
   13019 #      endif
   13020 #    endif
   13021 #  endif
   13022 #endif
   13023 
   13024 /* When -fvisibility=hidden is used, assume the code has been annotated
   13025    correspondingly for the symbols needed.  */
   13026 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13027 int fnord () __attribute__((visibility("default")));
   13028 #endif
   13029 
   13030 int fnord () { return 42; }
   13031 int main ()
   13032 {
   13033   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13034   int status = $lt_dlunknown;
   13035 
   13036   if (self)
   13037     {
   13038       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13039       else
   13040         {
   13041 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13042           else puts (dlerror ());
   13043 	}
   13044       /* dlclose (self); */
   13045     }
   13046   else
   13047     puts (dlerror ());
   13048 
   13049   return status;
   13050 }
   13051 _LT_EOF
   13052   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13053   (eval $ac_link) 2>&5
   13054   ac_status=$?
   13055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13056   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13057     (./conftest; exit; ) >&5 2>/dev/null
   13058     lt_status=$?
   13059     case x$lt_status in
   13060       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13061       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13062       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13063     esac
   13064   else :
   13065     # compilation failed
   13066     lt_cv_dlopen_self=no
   13067   fi
   13068 fi
   13069 rm -fr conftest*
   13070 
   13071 
   13072 fi
   13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13074 $as_echo "$lt_cv_dlopen_self" >&6; }
   13075 
   13076     if test yes = "$lt_cv_dlopen_self"; then
   13077       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13078       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13079 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13080 if ${lt_cv_dlopen_self_static+:} false; then :
   13081   $as_echo_n "(cached) " >&6
   13082 else
   13083   	  if test yes = "$cross_compiling"; then :
   13084   lt_cv_dlopen_self_static=cross
   13085 else
   13086   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13087   lt_status=$lt_dlunknown
   13088   cat > conftest.$ac_ext <<_LT_EOF
   13089 #line $LINENO "configure"
   13090 #include "confdefs.h"
   13091 
   13092 #if HAVE_DLFCN_H
   13093 #include <dlfcn.h>
   13094 #endif
   13095 
   13096 #include <stdio.h>
   13097 
   13098 #ifdef RTLD_GLOBAL
   13099 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13100 #else
   13101 #  ifdef DL_GLOBAL
   13102 #    define LT_DLGLOBAL		DL_GLOBAL
   13103 #  else
   13104 #    define LT_DLGLOBAL		0
   13105 #  endif
   13106 #endif
   13107 
   13108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13109    find out it does not work in some platform. */
   13110 #ifndef LT_DLLAZY_OR_NOW
   13111 #  ifdef RTLD_LAZY
   13112 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13113 #  else
   13114 #    ifdef DL_LAZY
   13115 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13116 #    else
   13117 #      ifdef RTLD_NOW
   13118 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13119 #      else
   13120 #        ifdef DL_NOW
   13121 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13122 #        else
   13123 #          define LT_DLLAZY_OR_NOW	0
   13124 #        endif
   13125 #      endif
   13126 #    endif
   13127 #  endif
   13128 #endif
   13129 
   13130 /* When -fvisibility=hidden is used, assume the code has been annotated
   13131    correspondingly for the symbols needed.  */
   13132 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13133 int fnord () __attribute__((visibility("default")));
   13134 #endif
   13135 
   13136 int fnord () { return 42; }
   13137 int main ()
   13138 {
   13139   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13140   int status = $lt_dlunknown;
   13141 
   13142   if (self)
   13143     {
   13144       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13145       else
   13146         {
   13147 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13148           else puts (dlerror ());
   13149 	}
   13150       /* dlclose (self); */
   13151     }
   13152   else
   13153     puts (dlerror ());
   13154 
   13155   return status;
   13156 }
   13157 _LT_EOF
   13158   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13159   (eval $ac_link) 2>&5
   13160   ac_status=$?
   13161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13162   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13163     (./conftest; exit; ) >&5 2>/dev/null
   13164     lt_status=$?
   13165     case x$lt_status in
   13166       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13167       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13168       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13169     esac
   13170   else :
   13171     # compilation failed
   13172     lt_cv_dlopen_self_static=no
   13173   fi
   13174 fi
   13175 rm -fr conftest*
   13176 
   13177 
   13178 fi
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13180 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13181     fi
   13182 
   13183     CPPFLAGS=$save_CPPFLAGS
   13184     LDFLAGS=$save_LDFLAGS
   13185     LIBS=$save_LIBS
   13186     ;;
   13187   esac
   13188 
   13189   case $lt_cv_dlopen_self in
   13190   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13191   *) enable_dlopen_self=unknown ;;
   13192   esac
   13193 
   13194   case $lt_cv_dlopen_self_static in
   13195   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13196   *) enable_dlopen_self_static=unknown ;;
   13197   esac
   13198 fi
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 striplib=
   13217 old_striplib=
   13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13219 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13220 if test -z "$STRIP"; then
   13221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13222 $as_echo "no" >&6; }
   13223 else
   13224   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13225     old_striplib="$STRIP --strip-debug"
   13226     striplib="$STRIP --strip-unneeded"
   13227     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13228 $as_echo "yes" >&6; }
   13229   else
   13230     case $host_os in
   13231     darwin*)
   13232       # FIXME - insert some real tests, host_os isn't really good enough
   13233       striplib="$STRIP -x"
   13234       old_striplib="$STRIP -S"
   13235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13236 $as_echo "yes" >&6; }
   13237       ;;
   13238     freebsd*)
   13239       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13240         old_striplib="$STRIP --strip-debug"
   13241         striplib="$STRIP --strip-unneeded"
   13242         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13243 $as_echo "yes" >&6; }
   13244       else
   13245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13246 $as_echo "no" >&6; }
   13247       fi
   13248       ;;
   13249     *)
   13250       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13251 $as_echo "no" >&6; }
   13252       ;;
   13253     esac
   13254   fi
   13255 fi
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268   # Report what library types will actually be built
   13269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13270 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13272 $as_echo "$can_build_shared" >&6; }
   13273 
   13274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13275 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13276   test no = "$can_build_shared" && enable_shared=no
   13277 
   13278   # On AIX, shared libraries and static libraries use the same namespace, and
   13279   # are all built from PIC.
   13280   case $host_os in
   13281   aix3*)
   13282     test yes = "$enable_shared" && enable_static=no
   13283     if test -n "$RANLIB"; then
   13284       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13285       postinstall_cmds='$RANLIB $lib'
   13286     fi
   13287     ;;
   13288 
   13289   aix[4-9]*)
   13290     if test ia64 != "$host_cpu"; then
   13291       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13292       yes,aix,yes) ;;			# shared object as lib.so file only
   13293       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13294       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13295       esac
   13296     fi
   13297     ;;
   13298   esac
   13299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13300 $as_echo "$enable_shared" >&6; }
   13301 
   13302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13303 $as_echo_n "checking whether to build static libraries... " >&6; }
   13304   # Make sure either enable_shared or enable_static is yes.
   13305   test yes = "$enable_shared" || enable_static=yes
   13306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13307 $as_echo "$enable_static" >&6; }
   13308 
   13309 
   13310 
   13311 
   13312 fi
   13313 ac_ext=c
   13314 ac_cpp='$CPP $CPPFLAGS'
   13315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13318 
   13319 CC=$lt_save_CC
   13320 
   13321       if test -n "$CXX" && ( test no != "$CXX" &&
   13322     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   13323     (test g++ != "$CXX"))); then
   13324   ac_ext=cpp
   13325 ac_cpp='$CXXCPP $CPPFLAGS'
   13326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   13330 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   13331 if test -z "$CXXCPP"; then
   13332   if ${ac_cv_prog_CXXCPP+:} false; then :
   13333   $as_echo_n "(cached) " >&6
   13334 else
   13335       # Double quotes because CXXCPP needs to be expanded
   13336     for CXXCPP in "$CXX -E" "/lib/cpp"
   13337     do
   13338       ac_preproc_ok=false
   13339 for ac_cxx_preproc_warn_flag in '' yes
   13340 do
   13341   # Use a header file that comes with gcc, so configuring glibc
   13342   # with a fresh cross-compiler works.
   13343   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   13344   # <limits.h> exists even on freestanding compilers.
   13345   # On the NeXT, cc -E runs the code through the compiler's parser,
   13346   # not just through cpp. "Syntax error" is here to catch this case.
   13347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13348 /* end confdefs.h.  */
   13349 #ifdef __STDC__
   13350 # include <limits.h>
   13351 #else
   13352 # include <assert.h>
   13353 #endif
   13354 		     Syntax error
   13355 _ACEOF
   13356 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13357 
   13358 else
   13359   # Broken: fails on valid input.
   13360 continue
   13361 fi
   13362 rm -f conftest.err conftest.i conftest.$ac_ext
   13363 
   13364   # OK, works on sane cases.  Now check whether nonexistent headers
   13365   # can be detected and how.
   13366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13367 /* end confdefs.h.  */
   13368 #include <ac_nonexistent.h>
   13369 _ACEOF
   13370 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13371   # Broken: success on invalid input.
   13372 continue
   13373 else
   13374   # Passes both tests.
   13375 ac_preproc_ok=:
   13376 break
   13377 fi
   13378 rm -f conftest.err conftest.i conftest.$ac_ext
   13379 
   13380 done
   13381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   13382 rm -f conftest.i conftest.err conftest.$ac_ext
   13383 if $ac_preproc_ok; then :
   13384   break
   13385 fi
   13386 
   13387     done
   13388     ac_cv_prog_CXXCPP=$CXXCPP
   13389 
   13390 fi
   13391   CXXCPP=$ac_cv_prog_CXXCPP
   13392 else
   13393   ac_cv_prog_CXXCPP=$CXXCPP
   13394 fi
   13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   13396 $as_echo "$CXXCPP" >&6; }
   13397 ac_preproc_ok=false
   13398 for ac_cxx_preproc_warn_flag in '' yes
   13399 do
   13400   # Use a header file that comes with gcc, so configuring glibc
   13401   # with a fresh cross-compiler works.
   13402   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   13403   # <limits.h> exists even on freestanding compilers.
   13404   # On the NeXT, cc -E runs the code through the compiler's parser,
   13405   # not just through cpp. "Syntax error" is here to catch this case.
   13406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13407 /* end confdefs.h.  */
   13408 #ifdef __STDC__
   13409 # include <limits.h>
   13410 #else
   13411 # include <assert.h>
   13412 #endif
   13413 		     Syntax error
   13414 _ACEOF
   13415 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13416 
   13417 else
   13418   # Broken: fails on valid input.
   13419 continue
   13420 fi
   13421 rm -f conftest.err conftest.i conftest.$ac_ext
   13422 
   13423   # OK, works on sane cases.  Now check whether nonexistent headers
   13424   # can be detected and how.
   13425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13426 /* end confdefs.h.  */
   13427 #include <ac_nonexistent.h>
   13428 _ACEOF
   13429 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13430   # Broken: success on invalid input.
   13431 continue
   13432 else
   13433   # Passes both tests.
   13434 ac_preproc_ok=:
   13435 break
   13436 fi
   13437 rm -f conftest.err conftest.i conftest.$ac_ext
   13438 
   13439 done
   13440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   13441 rm -f conftest.i conftest.err conftest.$ac_ext
   13442 if $ac_preproc_ok; then :
   13443 
   13444 else
   13445   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13447 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   13448 See \`config.log' for more details" "$LINENO" 5; }
   13449 fi
   13450 
   13451 ac_ext=c
   13452 ac_cpp='$CPP $CPPFLAGS'
   13453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13456 
   13457 else
   13458   _lt_caught_CXX_error=yes
   13459 fi
   13460 
   13461 ac_ext=cpp
   13462 ac_cpp='$CXXCPP $CPPFLAGS'
   13463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   13466 
   13467 archive_cmds_need_lc_CXX=no
   13468 allow_undefined_flag_CXX=
   13469 always_export_symbols_CXX=no
   13470 archive_expsym_cmds_CXX=
   13471 compiler_needs_object_CXX=no
   13472 export_dynamic_flag_spec_CXX=
   13473 hardcode_direct_CXX=no
   13474 hardcode_direct_absolute_CXX=no
   13475 hardcode_libdir_flag_spec_CXX=
   13476 hardcode_libdir_separator_CXX=
   13477 hardcode_minus_L_CXX=no
   13478 hardcode_shlibpath_var_CXX=unsupported
   13479 hardcode_automatic_CXX=no
   13480 inherit_rpath_CXX=no
   13481 module_cmds_CXX=
   13482 module_expsym_cmds_CXX=
   13483 link_all_deplibs_CXX=unknown
   13484 old_archive_cmds_CXX=$old_archive_cmds
   13485 reload_flag_CXX=$reload_flag
   13486 reload_cmds_CXX=$reload_cmds
   13487 no_undefined_flag_CXX=
   13488 whole_archive_flag_spec_CXX=
   13489 enable_shared_with_static_runtimes_CXX=no
   13490 
   13491 # Source file extension for C++ test sources.
   13492 ac_ext=cpp
   13493 
   13494 # Object file extension for compiled C++ test sources.
   13495 objext=o
   13496 objext_CXX=$objext
   13497 
   13498 # No sense in running all these tests if we already determined that
   13499 # the CXX compiler isn't working.  Some variables (like enable_shared)
   13500 # are currently assumed to apply to all compilers on this platform,
   13501 # and will be corrupted by setting them based on a non-working compiler.
   13502 if test yes != "$_lt_caught_CXX_error"; then
   13503   # Code to be used in simple compile tests
   13504   lt_simple_compile_test_code="int some_variable = 0;"
   13505 
   13506   # Code to be used in simple link tests
   13507   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   13508 
   13509   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 # If no C compiler was specified, use CC.
   13517 LTCC=${LTCC-"$CC"}
   13518 
   13519 # If no C compiler flags were specified, use CFLAGS.
   13520 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13521 
   13522 # Allow CC to be a program name with arguments.
   13523 compiler=$CC
   13524 
   13525 
   13526   # save warnings/boilerplate of simple test code
   13527   ac_outfile=conftest.$ac_objext
   13528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13530 _lt_compiler_boilerplate=`cat conftest.err`
   13531 $RM conftest*
   13532 
   13533   ac_outfile=conftest.$ac_objext
   13534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13536 _lt_linker_boilerplate=`cat conftest.err`
   13537 $RM -r conftest*
   13538 
   13539 
   13540   # Allow CC to be a program name with arguments.
   13541   lt_save_CC=$CC
   13542   lt_save_CFLAGS=$CFLAGS
   13543   lt_save_LD=$LD
   13544   lt_save_GCC=$GCC
   13545   GCC=$GXX
   13546   lt_save_with_gnu_ld=$with_gnu_ld
   13547   lt_save_path_LD=$lt_cv_path_LD
   13548   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   13549     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   13550   else
   13551     $as_unset lt_cv_prog_gnu_ld
   13552   fi
   13553   if test -n "${lt_cv_path_LDCXX+set}"; then
   13554     lt_cv_path_LD=$lt_cv_path_LDCXX
   13555   else
   13556     $as_unset lt_cv_path_LD
   13557   fi
   13558   test -z "${LDCXX+set}" || LD=$LDCXX
   13559   CC=${CXX-"c++"}
   13560   CFLAGS=$CXXFLAGS
   13561   compiler=$CC
   13562   compiler_CXX=$CC
   13563   func_cc_basename $compiler
   13564 cc_basename=$func_cc_basename_result
   13565 
   13566 
   13567   if test -n "$compiler"; then
   13568     # We don't want -fno-exception when compiling C++ code, so set the
   13569     # no_builtin_flag separately
   13570     if test yes = "$GXX"; then
   13571       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   13572     else
   13573       lt_prog_compiler_no_builtin_flag_CXX=
   13574     fi
   13575 
   13576     if test yes = "$GXX"; then
   13577       # Set up default GNU C++ configuration
   13578 
   13579 
   13580 
   13581 # Check whether --with-gnu-ld was given.
   13582 if test "${with_gnu_ld+set}" = set; then :
   13583   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   13584 else
   13585   with_gnu_ld=no
   13586 fi
   13587 
   13588 ac_prog=ld
   13589 if test yes = "$GCC"; then
   13590   # Check if gcc -print-prog-name=ld gives a path.
   13591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   13592 $as_echo_n "checking for ld used by $CC... " >&6; }
   13593   case $host in
   13594   *-*-mingw*)
   13595     # gcc leaves a trailing carriage return, which upsets mingw
   13596     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13597   *)
   13598     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13599   esac
   13600   case $ac_prog in
   13601     # Accept absolute paths.
   13602     [\\/]* | ?:[\\/]*)
   13603       re_direlt='/[^/][^/]*/\.\./'
   13604       # Canonicalize the pathname of ld
   13605       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   13606       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   13607 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   13608       done
   13609       test -z "$LD" && LD=$ac_prog
   13610       ;;
   13611   "")
   13612     # If it fails, then pretend we aren't using GCC.
   13613     ac_prog=ld
   13614     ;;
   13615   *)
   13616     # If it is relative, then search for the first ld in PATH.
   13617     with_gnu_ld=unknown
   13618     ;;
   13619   esac
   13620 elif test yes = "$with_gnu_ld"; then
   13621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13622 $as_echo_n "checking for GNU ld... " >&6; }
   13623 else
   13624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13625 $as_echo_n "checking for non-GNU ld... " >&6; }
   13626 fi
   13627 if ${lt_cv_path_LD+:} false; then :
   13628   $as_echo_n "(cached) " >&6
   13629 else
   13630   if test -z "$LD"; then
   13631   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   13632   for ac_dir in $PATH; do
   13633     IFS=$lt_save_ifs
   13634     test -z "$ac_dir" && ac_dir=.
   13635     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13636       lt_cv_path_LD=$ac_dir/$ac_prog
   13637       # Check to see if the program is GNU ld.  I'd rather use --version,
   13638       # but apparently some variants of GNU ld only accept -v.
   13639       # Break only if it was the GNU/non-GNU ld that we prefer.
   13640       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   13641       *GNU* | *'with BFD'*)
   13642 	test no != "$with_gnu_ld" && break
   13643 	;;
   13644       *)
   13645 	test yes != "$with_gnu_ld" && break
   13646 	;;
   13647       esac
   13648     fi
   13649   done
   13650   IFS=$lt_save_ifs
   13651 else
   13652   lt_cv_path_LD=$LD # Let the user override the test with a path.
   13653 fi
   13654 fi
   13655 
   13656 LD=$lt_cv_path_LD
   13657 if test -n "$LD"; then
   13658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13659 $as_echo "$LD" >&6; }
   13660 else
   13661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13662 $as_echo "no" >&6; }
   13663 fi
   13664 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13666 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13667 if ${lt_cv_prog_gnu_ld+:} false; then :
   13668   $as_echo_n "(cached) " >&6
   13669 else
   13670   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13671 case `$LD -v 2>&1 </dev/null` in
   13672 *GNU* | *'with BFD'*)
   13673   lt_cv_prog_gnu_ld=yes
   13674   ;;
   13675 *)
   13676   lt_cv_prog_gnu_ld=no
   13677   ;;
   13678 esac
   13679 fi
   13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   13681 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   13682 with_gnu_ld=$lt_cv_prog_gnu_ld
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   13691       # archiving commands below assume that GNU ld is being used.
   13692       if test yes = "$with_gnu_ld"; then
   13693         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   13694         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   13695 
   13696         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   13697         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   13698 
   13699         # If archive_cmds runs LD, not CC, wlarc should be empty
   13700         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   13701         #     investigate it a little bit more. (MM)
   13702         wlarc='$wl'
   13703 
   13704         # ancient GNU ld didn't support --whole-archive et. al.
   13705         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   13706 	  $GREP 'no-whole-archive' > /dev/null; then
   13707           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   13708         else
   13709           whole_archive_flag_spec_CXX=
   13710         fi
   13711       else
   13712         with_gnu_ld=no
   13713         wlarc=
   13714 
   13715         # A generic and very simple default shared library creation
   13716         # command for GNU C++ for the case where it uses the native
   13717         # linker, instead of GNU ld.  If possible, this setting should
   13718         # overridden to take advantage of the native linker features on
   13719         # the platform it is being used on.
   13720         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13721       fi
   13722 
   13723       # Commands to make compiler produce verbose output that lists
   13724       # what "hidden" libraries, object files and flags are used when
   13725       # linking a shared library.
   13726       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13727 
   13728     else
   13729       GXX=no
   13730       with_gnu_ld=no
   13731       wlarc=
   13732     fi
   13733 
   13734     # PORTME: fill in a description of your system's C++ link characteristics
   13735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13736 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13737     ld_shlibs_CXX=yes
   13738     case $host_os in
   13739       aix3*)
   13740         # FIXME: insert proper C++ library support
   13741         ld_shlibs_CXX=no
   13742         ;;
   13743       aix[4-9]*)
   13744         if test ia64 = "$host_cpu"; then
   13745           # On IA64, the linker does run time linking by default, so we don't
   13746           # have to do anything special.
   13747           aix_use_runtimelinking=no
   13748           exp_sym_flag='-Bexport'
   13749           no_entry_flag=
   13750         else
   13751           aix_use_runtimelinking=no
   13752 
   13753           # Test if we are trying to use run time linking or normal
   13754           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13755           # have runtime linking enabled, and use it for executables.
   13756           # For shared libraries, we enable/disable runtime linking
   13757           # depending on the kind of the shared library created -
   13758           # when "with_aix_soname,aix_use_runtimelinking" is:
   13759           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   13760           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   13761           #            lib.a           static archive
   13762           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   13763           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   13764           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   13765           #            lib.a(lib.so.V) shared, rtl:no
   13766           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   13767           #            lib.a           static archive
   13768           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13769 	    for ld_flag in $LDFLAGS; do
   13770 	      case $ld_flag in
   13771 	      *-brtl*)
   13772 	        aix_use_runtimelinking=yes
   13773 	        break
   13774 	        ;;
   13775 	      esac
   13776 	    done
   13777 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   13778 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   13779 	      # so we don't have lib.a shared libs to link our executables.
   13780 	      # We have to force runtime linking in this case.
   13781 	      aix_use_runtimelinking=yes
   13782 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   13783 	    fi
   13784 	    ;;
   13785           esac
   13786 
   13787           exp_sym_flag='-bexport'
   13788           no_entry_flag='-bnoentry'
   13789         fi
   13790 
   13791         # When large executables or shared objects are built, AIX ld can
   13792         # have problems creating the table of contents.  If linking a library
   13793         # or program results in "error TOC overflow" add -mminimal-toc to
   13794         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13795         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13796 
   13797         archive_cmds_CXX=''
   13798         hardcode_direct_CXX=yes
   13799         hardcode_direct_absolute_CXX=yes
   13800         hardcode_libdir_separator_CXX=':'
   13801         link_all_deplibs_CXX=yes
   13802         file_list_spec_CXX='$wl-f,'
   13803         case $with_aix_soname,$aix_use_runtimelinking in
   13804         aix,*) ;;	# no import file
   13805         svr4,* | *,yes) # use import file
   13806           # The Import File defines what to hardcode.
   13807           hardcode_direct_CXX=no
   13808           hardcode_direct_absolute_CXX=no
   13809           ;;
   13810         esac
   13811 
   13812         if test yes = "$GXX"; then
   13813           case $host_os in aix4.[012]|aix4.[012].*)
   13814           # We only want to do this on AIX 4.2 and lower, the check
   13815           # below for broken collect2 doesn't work under 4.3+
   13816 	  collect2name=`$CC -print-prog-name=collect2`
   13817 	  if test -f "$collect2name" &&
   13818 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13819 	  then
   13820 	    # We have reworked collect2
   13821 	    :
   13822 	  else
   13823 	    # We have old collect2
   13824 	    hardcode_direct_CXX=unsupported
   13825 	    # It fails to find uninstalled libraries when the uninstalled
   13826 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13827 	    # to unsupported forces relinking
   13828 	    hardcode_minus_L_CXX=yes
   13829 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13830 	    hardcode_libdir_separator_CXX=
   13831 	  fi
   13832           esac
   13833           shared_flag='-shared'
   13834 	  if test yes = "$aix_use_runtimelinking"; then
   13835 	    shared_flag=$shared_flag' $wl-G'
   13836 	  fi
   13837 	  # Need to ensure runtime linking is disabled for the traditional
   13838 	  # shared library, or the linker may eventually find shared libraries
   13839 	  # /with/ Import File - we do not want to mix them.
   13840 	  shared_flag_aix='-shared'
   13841 	  shared_flag_svr4='-shared $wl-G'
   13842         else
   13843           # not using gcc
   13844           if test ia64 = "$host_cpu"; then
   13845 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13846 	  # chokes on -Wl,-G. The following line is correct:
   13847 	  shared_flag='-G'
   13848           else
   13849 	    if test yes = "$aix_use_runtimelinking"; then
   13850 	      shared_flag='$wl-G'
   13851 	    else
   13852 	      shared_flag='$wl-bM:SRE'
   13853 	    fi
   13854 	    shared_flag_aix='$wl-bM:SRE'
   13855 	    shared_flag_svr4='$wl-G'
   13856           fi
   13857         fi
   13858 
   13859         export_dynamic_flag_spec_CXX='$wl-bexpall'
   13860         # It seems that -bexpall does not export symbols beginning with
   13861         # underscore (_), so it is better to generate a list of symbols to
   13862 	# export.
   13863         always_export_symbols_CXX=yes
   13864 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   13865           # Warning - without using the other runtime loading flags (-brtl),
   13866           # -berok will link without error, but may produce a broken library.
   13867           # The "-G" linker flag allows undefined symbols.
   13868           no_undefined_flag_CXX='-bernotok'
   13869           # Determine the default libpath from the value encoded in an empty
   13870           # executable.
   13871           if test set = "${lt_cv_aix_libpath+set}"; then
   13872   aix_libpath=$lt_cv_aix_libpath
   13873 else
   13874   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13875   $as_echo_n "(cached) " >&6
   13876 else
   13877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13878 /* end confdefs.h.  */
   13879 
   13880 int
   13881 main ()
   13882 {
   13883 
   13884   ;
   13885   return 0;
   13886 }
   13887 _ACEOF
   13888 if ac_fn_cxx_try_link "$LINENO"; then :
   13889 
   13890   lt_aix_libpath_sed='
   13891       /Import File Strings/,/^$/ {
   13892 	  /^0/ {
   13893 	      s/^0  *\([^ ]*\) *$/\1/
   13894 	      p
   13895 	  }
   13896       }'
   13897   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13898   # Check for a 64-bit object if we didn't find anything.
   13899   if test -z "$lt_cv_aix_libpath__CXX"; then
   13900     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13901   fi
   13902 fi
   13903 rm -f core conftest.err conftest.$ac_objext \
   13904     conftest$ac_exeext conftest.$ac_ext
   13905   if test -z "$lt_cv_aix_libpath__CXX"; then
   13906     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   13907   fi
   13908 
   13909 fi
   13910 
   13911   aix_libpath=$lt_cv_aix_libpath__CXX
   13912 fi
   13913 
   13914           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   13915 
   13916           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   13917         else
   13918           if test ia64 = "$host_cpu"; then
   13919 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   13920 	    allow_undefined_flag_CXX="-z nodefs"
   13921 	    archive_expsym_cmds_CXX="\$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"
   13922           else
   13923 	    # Determine the default libpath from the value encoded in an
   13924 	    # empty executable.
   13925 	    if test set = "${lt_cv_aix_libpath+set}"; then
   13926   aix_libpath=$lt_cv_aix_libpath
   13927 else
   13928   if ${lt_cv_aix_libpath__CXX+:} false; then :
   13929   $as_echo_n "(cached) " >&6
   13930 else
   13931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13932 /* end confdefs.h.  */
   13933 
   13934 int
   13935 main ()
   13936 {
   13937 
   13938   ;
   13939   return 0;
   13940 }
   13941 _ACEOF
   13942 if ac_fn_cxx_try_link "$LINENO"; then :
   13943 
   13944   lt_aix_libpath_sed='
   13945       /Import File Strings/,/^$/ {
   13946 	  /^0/ {
   13947 	      s/^0  *\([^ ]*\) *$/\1/
   13948 	      p
   13949 	  }
   13950       }'
   13951   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13952   # Check for a 64-bit object if we didn't find anything.
   13953   if test -z "$lt_cv_aix_libpath__CXX"; then
   13954     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13955   fi
   13956 fi
   13957 rm -f core conftest.err conftest.$ac_objext \
   13958     conftest$ac_exeext conftest.$ac_ext
   13959   if test -z "$lt_cv_aix_libpath__CXX"; then
   13960     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   13961   fi
   13962 
   13963 fi
   13964 
   13965   aix_libpath=$lt_cv_aix_libpath__CXX
   13966 fi
   13967 
   13968 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   13969 	    # Warning - without using the other run time loading flags,
   13970 	    # -berok will link without error, but may produce a broken library.
   13971 	    no_undefined_flag_CXX=' $wl-bernotok'
   13972 	    allow_undefined_flag_CXX=' $wl-berok'
   13973 	    if test yes = "$with_gnu_ld"; then
   13974 	      # We only use this code for GNU lds that support --whole-archive.
   13975 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   13976 	    else
   13977 	      # Exported symbols can be pulled into shared objects from archives
   13978 	      whole_archive_flag_spec_CXX='$convenience'
   13979 	    fi
   13980 	    archive_cmds_need_lc_CXX=yes
   13981 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   13982 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   13983 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   13984 	    if test svr4 != "$with_aix_soname"; then
   13985 	      # This is similar to how AIX traditionally builds its shared
   13986 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   13987 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   13988 	    fi
   13989 	    if test aix != "$with_aix_soname"; then
   13990 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   13991 	    else
   13992 	      # used by -dlpreopen to get the symbols
   13993 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   13994 	    fi
   13995 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   13996           fi
   13997         fi
   13998         ;;
   13999 
   14000       beos*)
   14001 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14002 	  allow_undefined_flag_CXX=unsupported
   14003 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14004 	  # support --undefined.  This deserves some investigation.  FIXME
   14005 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14006 	else
   14007 	  ld_shlibs_CXX=no
   14008 	fi
   14009 	;;
   14010 
   14011       chorus*)
   14012         case $cc_basename in
   14013           *)
   14014 	  # FIXME: insert proper C++ library support
   14015 	  ld_shlibs_CXX=no
   14016 	  ;;
   14017         esac
   14018         ;;
   14019 
   14020       cygwin* | mingw* | pw32* | cegcc*)
   14021 	case $GXX,$cc_basename in
   14022 	,cl* | no,cl* | ,icl* | no,icl*)
   14023 	  # Native MSVC or ICC
   14024 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   14025 	  # no search path for DLLs.
   14026 	  hardcode_libdir_flag_spec_CXX=' '
   14027 	  allow_undefined_flag_CXX=unsupported
   14028 	  always_export_symbols_CXX=yes
   14029 	  file_list_spec_CXX='@'
   14030 	  # Tell ltmain to make .lib files, not .a files.
   14031 	  libext=lib
   14032 	  # Tell ltmain to make .dll files, not .so files.
   14033 	  shrext_cmds=.dll
   14034 	  # FIXME: Setting linknames here is a bad hack.
   14035 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   14036 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14037               cp "$export_symbols" "$output_objdir/$soname.def";
   14038               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   14039             else
   14040               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   14041             fi~
   14042             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14043             linknames='
   14044 	  # The linker will not automatically build a static lib if we build a DLL.
   14045 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   14046 	  enable_shared_with_static_runtimes_CXX=yes
   14047 	  # Don't use ranlib
   14048 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   14049 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   14050             lt_tool_outputfile="@TOOL_OUTPUT@"~
   14051             case $lt_outputfile in
   14052               *.exe|*.EXE) ;;
   14053               *)
   14054                 lt_outputfile=$lt_outputfile.exe
   14055                 lt_tool_outputfile=$lt_tool_outputfile.exe
   14056                 ;;
   14057             esac~
   14058             func_to_tool_file "$lt_outputfile"~
   14059             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   14060               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14061               $RM "$lt_outputfile.manifest";
   14062             fi'
   14063 	  ;;
   14064 	*)
   14065 	  # g++
   14066 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   14067 	  # as there is no search path for DLLs.
   14068 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   14069 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   14070 	  allow_undefined_flag_CXX=unsupported
   14071 	  always_export_symbols_CXX=no
   14072 	  enable_shared_with_static_runtimes_CXX=yes
   14073 
   14074 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14075 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14076 	    # If the export-symbols file already is a .def file, use it as
   14077 	    # is; otherwise, prepend EXPORTS...
   14078 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   14079               cp $export_symbols $output_objdir/$soname.def;
   14080             else
   14081               echo EXPORTS > $output_objdir/$soname.def;
   14082               cat $export_symbols >> $output_objdir/$soname.def;
   14083             fi~
   14084             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14085 	  else
   14086 	    ld_shlibs_CXX=no
   14087 	  fi
   14088 	  ;;
   14089 	esac
   14090 	;;
   14091       darwin* | rhapsody*)
   14092 
   14093 
   14094   archive_cmds_need_lc_CXX=no
   14095   hardcode_direct_CXX=no
   14096   hardcode_automatic_CXX=yes
   14097   hardcode_shlibpath_var_CXX=unsupported
   14098   if test yes = "$lt_cv_ld_force_load"; then
   14099     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   14100 
   14101   else
   14102     whole_archive_flag_spec_CXX=''
   14103   fi
   14104   link_all_deplibs_CXX=yes
   14105   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   14106   case $cc_basename in
   14107      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   14108      *) _lt_dar_can_shared=$GCC ;;
   14109   esac
   14110   if test yes = "$_lt_dar_can_shared"; then
   14111     output_verbose_link_cmd=func_echo_all
   14112     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   14113     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   14114     archive_expsym_cmds_CXX="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"
   14115     module_expsym_cmds_CXX="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"
   14116        if test yes != "$lt_cv_apple_cc_single_mod"; then
   14117       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
   14118       archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
   14119     fi
   14120 
   14121   else
   14122   ld_shlibs_CXX=no
   14123   fi
   14124 
   14125 	;;
   14126 
   14127       os2*)
   14128 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   14129 	hardcode_minus_L_CXX=yes
   14130 	allow_undefined_flag_CXX=unsupported
   14131 	shrext_cmds=.dll
   14132 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14133 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14134 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14135 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   14136 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   14137 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14138 	  emximp -o $lib $output_objdir/$libname.def'
   14139 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   14140 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   14141 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   14142 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   14143 	  prefix_cmds="$SED"~
   14144 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   14145 	    prefix_cmds="$prefix_cmds -e 1d";
   14146 	  fi~
   14147 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   14148 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   14149 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   14150 	  emximp -o $lib $output_objdir/$libname.def'
   14151 	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   14152 	enable_shared_with_static_runtimes_CXX=yes
   14153 	file_list_spec_CXX='@'
   14154 	;;
   14155 
   14156       dgux*)
   14157         case $cc_basename in
   14158           ec++*)
   14159 	    # FIXME: insert proper C++ library support
   14160 	    ld_shlibs_CXX=no
   14161 	    ;;
   14162           ghcx*)
   14163 	    # Green Hills C++ Compiler
   14164 	    # FIXME: insert proper C++ library support
   14165 	    ld_shlibs_CXX=no
   14166 	    ;;
   14167           *)
   14168 	    # FIXME: insert proper C++ library support
   14169 	    ld_shlibs_CXX=no
   14170 	    ;;
   14171         esac
   14172         ;;
   14173 
   14174       freebsd2.*)
   14175         # C++ shared libraries reported to be fairly broken before
   14176 	# switch to ELF
   14177         ld_shlibs_CXX=no
   14178         ;;
   14179 
   14180       freebsd-elf*)
   14181         archive_cmds_need_lc_CXX=no
   14182         ;;
   14183 
   14184       freebsd* | dragonfly*)
   14185         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   14186         # conventions
   14187         ld_shlibs_CXX=yes
   14188         ;;
   14189 
   14190       haiku*)
   14191         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14192         link_all_deplibs_CXX=yes
   14193         ;;
   14194 
   14195       hpux9*)
   14196         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   14197         hardcode_libdir_separator_CXX=:
   14198         export_dynamic_flag_spec_CXX='$wl-E'
   14199         hardcode_direct_CXX=yes
   14200         hardcode_minus_L_CXX=yes # Not in the search PATH,
   14201 				             # but as the default
   14202 				             # location of the library.
   14203 
   14204         case $cc_basename in
   14205           CC*)
   14206             # FIXME: insert proper C++ library support
   14207             ld_shlibs_CXX=no
   14208             ;;
   14209           aCC*)
   14210             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   14211             # Commands to make compiler produce verbose output that lists
   14212             # what "hidden" libraries, object files and flags are used when
   14213             # linking a shared library.
   14214             #
   14215             # There doesn't appear to be a way to prevent this compiler from
   14216             # explicitly linking system object files so we need to strip them
   14217             # from the output so that they don't get included in the library
   14218             # dependencies.
   14219             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   14220             ;;
   14221           *)
   14222             if test yes = "$GXX"; then
   14223               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   14224             else
   14225               # FIXME: insert proper C++ library support
   14226               ld_shlibs_CXX=no
   14227             fi
   14228             ;;
   14229         esac
   14230         ;;
   14231 
   14232       hpux10*|hpux11*)
   14233         if test no = "$with_gnu_ld"; then
   14234 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   14235 	  hardcode_libdir_separator_CXX=:
   14236 
   14237           case $host_cpu in
   14238             hppa*64*|ia64*)
   14239               ;;
   14240             *)
   14241 	      export_dynamic_flag_spec_CXX='$wl-E'
   14242               ;;
   14243           esac
   14244         fi
   14245         case $host_cpu in
   14246           hppa*64*|ia64*)
   14247             hardcode_direct_CXX=no
   14248             hardcode_shlibpath_var_CXX=no
   14249             ;;
   14250           *)
   14251             hardcode_direct_CXX=yes
   14252             hardcode_direct_absolute_CXX=yes
   14253             hardcode_minus_L_CXX=yes # Not in the search PATH,
   14254 					         # but as the default
   14255 					         # location of the library.
   14256             ;;
   14257         esac
   14258 
   14259         case $cc_basename in
   14260           CC*)
   14261 	    # FIXME: insert proper C++ library support
   14262 	    ld_shlibs_CXX=no
   14263 	    ;;
   14264           aCC*)
   14265 	    case $host_cpu in
   14266 	      hppa*64*)
   14267 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14268 	        ;;
   14269 	      ia64*)
   14270 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14271 	        ;;
   14272 	      *)
   14273 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14274 	        ;;
   14275 	    esac
   14276 	    # Commands to make compiler produce verbose output that lists
   14277 	    # what "hidden" libraries, object files and flags are used when
   14278 	    # linking a shared library.
   14279 	    #
   14280 	    # There doesn't appear to be a way to prevent this compiler from
   14281 	    # explicitly linking system object files so we need to strip them
   14282 	    # from the output so that they don't get included in the library
   14283 	    # dependencies.
   14284 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   14285 	    ;;
   14286           *)
   14287 	    if test yes = "$GXX"; then
   14288 	      if test no = "$with_gnu_ld"; then
   14289 	        case $host_cpu in
   14290 	          hppa*64*)
   14291 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14292 	            ;;
   14293 	          ia64*)
   14294 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14295 	            ;;
   14296 	          *)
   14297 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14298 	            ;;
   14299 	        esac
   14300 	      fi
   14301 	    else
   14302 	      # FIXME: insert proper C++ library support
   14303 	      ld_shlibs_CXX=no
   14304 	    fi
   14305 	    ;;
   14306         esac
   14307         ;;
   14308 
   14309       interix[3-9]*)
   14310 	hardcode_direct_CXX=no
   14311 	hardcode_shlibpath_var_CXX=no
   14312 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   14313 	export_dynamic_flag_spec_CXX='$wl-E'
   14314 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14315 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   14316 	# default) and relocated if they conflict, which is a slow very memory
   14317 	# consuming and fragmenting process.  To avoid this, we pick a random,
   14318 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14319 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14320 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14321 	archive_expsym_cmds_CXX='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'
   14322 	;;
   14323       irix5* | irix6*)
   14324         case $cc_basename in
   14325           CC*)
   14326 	    # SGI C++
   14327 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14328 
   14329 	    # Archives containing C++ object files must be created using
   14330 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   14331 	    # necessary to make sure instantiated templates are included
   14332 	    # in the archive.
   14333 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   14334 	    ;;
   14335           *)
   14336 	    if test yes = "$GXX"; then
   14337 	      if test no = "$with_gnu_ld"; then
   14338 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
   14339 	      else
   14340 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
   14341 	      fi
   14342 	    fi
   14343 	    link_all_deplibs_CXX=yes
   14344 	    ;;
   14345         esac
   14346         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   14347         hardcode_libdir_separator_CXX=:
   14348         inherit_rpath_CXX=yes
   14349         ;;
   14350 
   14351       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14352         case $cc_basename in
   14353           KCC*)
   14354 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   14355 
   14356 	    # KCC will only create a shared library if the output file
   14357 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   14358 	    # to its proper name (with version) after linking.
   14359 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   14360 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
   14361 	    # Commands to make compiler produce verbose output that lists
   14362 	    # what "hidden" libraries, object files and flags are used when
   14363 	    # linking a shared library.
   14364 	    #
   14365 	    # There doesn't appear to be a way to prevent this compiler from
   14366 	    # explicitly linking system object files so we need to strip them
   14367 	    # from the output so that they don't get included in the library
   14368 	    # dependencies.
   14369 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   14370 
   14371 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   14372 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   14373 
   14374 	    # Archives containing C++ object files must be created using
   14375 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   14376 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   14377 	    ;;
   14378 	  icpc* | ecpc* )
   14379 	    # Intel C++
   14380 	    with_gnu_ld=yes
   14381 	    # version 8.0 and above of icpc choke on multiply defined symbols
   14382 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   14383 	    # earlier do not add the objects themselves.
   14384 	    case `$CC -V 2>&1` in
   14385 	      *"Version 7."*)
   14386 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   14387 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14388 		;;
   14389 	      *)  # Version 8.0 or newer
   14390 	        tmp_idyn=
   14391 	        case $host_cpu in
   14392 		  ia64*) tmp_idyn=' -i_dynamic';;
   14393 		esac
   14394 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14395 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14396 		;;
   14397 	    esac
   14398 	    archive_cmds_need_lc_CXX=no
   14399 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   14400 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   14401 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   14402 	    ;;
   14403           pgCC* | pgcpp*)
   14404             # Portland Group C++ compiler
   14405 	    case `$CC -V` in
   14406 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   14407 	      prelink_cmds_CXX='tpldir=Template.dir~
   14408                rm -rf $tpldir~
   14409                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   14410                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   14411 	      old_archive_cmds_CXX='tpldir=Template.dir~
   14412                 rm -rf $tpldir~
   14413                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   14414                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   14415                 $RANLIB $oldlib'
   14416 	      archive_cmds_CXX='tpldir=Template.dir~
   14417                 rm -rf $tpldir~
   14418                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   14419                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   14420 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   14421                 rm -rf $tpldir~
   14422                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   14423                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14424 	      ;;
   14425 	    *) # Version 6 and above use weak symbols
   14426 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   14427 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   14428 	      ;;
   14429 	    esac
   14430 
   14431 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   14432 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   14433 	    whole_archive_flag_spec_CXX='$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'
   14434             ;;
   14435 	  cxx*)
   14436 	    # Compaq C++
   14437 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   14438 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
   14439 
   14440 	    runpath_var=LD_RUN_PATH
   14441 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   14442 	    hardcode_libdir_separator_CXX=:
   14443 
   14444 	    # Commands to make compiler produce verbose output that lists
   14445 	    # what "hidden" libraries, object files and flags are used when
   14446 	    # linking a shared library.
   14447 	    #
   14448 	    # There doesn't appear to be a way to prevent this compiler from
   14449 	    # explicitly linking system object files so we need to strip them
   14450 	    # from the output so that they don't get included in the library
   14451 	    # dependencies.
   14452 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   14453 	    ;;
   14454 	  xl* | mpixl* | bgxl*)
   14455 	    # IBM XL 8.0 on PPC, with GNU ld
   14456 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   14457 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   14458 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   14459 	    if test yes = "$supports_anon_versioning"; then
   14460 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   14461                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14462                 echo "local: *; };" >> $output_objdir/$libname.ver~
   14463                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   14464 	    fi
   14465 	    ;;
   14466 	  *)
   14467 	    case `$CC -V 2>&1 | sed 5q` in
   14468 	    *Sun\ C*)
   14469 	      # Sun C++ 5.9
   14470 	      no_undefined_flag_CXX=' -zdefs'
   14471 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14472 	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
   14473 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   14474 	      whole_archive_flag_spec_CXX='$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'
   14475 	      compiler_needs_object_CXX=yes
   14476 
   14477 	      # Not sure whether something based on
   14478 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   14479 	      # would be better.
   14480 	      output_verbose_link_cmd='func_echo_all'
   14481 
   14482 	      # Archives containing C++ object files must be created using
   14483 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   14484 	      # necessary to make sure instantiated templates are included
   14485 	      # in the archive.
   14486 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   14487 	      ;;
   14488 	    esac
   14489 	    ;;
   14490 	esac
   14491 	;;
   14492 
   14493       lynxos*)
   14494         # FIXME: insert proper C++ library support
   14495 	ld_shlibs_CXX=no
   14496 	;;
   14497 
   14498       m88k*)
   14499         # FIXME: insert proper C++ library support
   14500         ld_shlibs_CXX=no
   14501 	;;
   14502 
   14503       mvs*)
   14504         case $cc_basename in
   14505           cxx*)
   14506 	    # FIXME: insert proper C++ library support
   14507 	    ld_shlibs_CXX=no
   14508 	    ;;
   14509 	  *)
   14510 	    # FIXME: insert proper C++ library support
   14511 	    ld_shlibs_CXX=no
   14512 	    ;;
   14513 	esac
   14514 	;;
   14515 
   14516       netbsd*)
   14517         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14518 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   14519 	  wlarc=
   14520 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   14521 	  hardcode_direct_CXX=yes
   14522 	  hardcode_shlibpath_var_CXX=no
   14523 	fi
   14524 	# Workaround some broken pre-1.5 toolchains
   14525 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   14526 	;;
   14527 
   14528       *nto* | *qnx*)
   14529         ld_shlibs_CXX=yes
   14530 	;;
   14531 
   14532       openbsd* | bitrig*)
   14533 	if test -f /usr/libexec/ld.so; then
   14534 	  hardcode_direct_CXX=yes
   14535 	  hardcode_shlibpath_var_CXX=no
   14536 	  hardcode_direct_absolute_CXX=yes
   14537 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   14538 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   14539 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   14540 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   14541 	    export_dynamic_flag_spec_CXX='$wl-E'
   14542 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   14543 	  fi
   14544 	  output_verbose_link_cmd=func_echo_all
   14545 	else
   14546 	  ld_shlibs_CXX=no
   14547 	fi
   14548 	;;
   14549 
   14550       osf3* | osf4* | osf5*)
   14551         case $cc_basename in
   14552           KCC*)
   14553 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   14554 
   14555 	    # KCC will only create a shared library if the output file
   14556 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   14557 	    # to its proper name (with version) after linking.
   14558 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   14559 
   14560 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   14561 	    hardcode_libdir_separator_CXX=:
   14562 
   14563 	    # Archives containing C++ object files must be created using
   14564 	    # the KAI C++ compiler.
   14565 	    case $host in
   14566 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   14567 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   14568 	    esac
   14569 	    ;;
   14570           RCC*)
   14571 	    # Rational C++ 2.4.1
   14572 	    # FIXME: insert proper C++ library support
   14573 	    ld_shlibs_CXX=no
   14574 	    ;;
   14575           cxx*)
   14576 	    case $host in
   14577 	      osf3*)
   14578 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   14579 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14580 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   14581 		;;
   14582 	      *)
   14583 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   14584 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   14585 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   14586                   echo "-hidden">> $lib.exp~
   14587                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   14588                   $RM $lib.exp'
   14589 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   14590 		;;
   14591 	    esac
   14592 
   14593 	    hardcode_libdir_separator_CXX=:
   14594 
   14595 	    # Commands to make compiler produce verbose output that lists
   14596 	    # what "hidden" libraries, object files and flags are used when
   14597 	    # linking a shared library.
   14598 	    #
   14599 	    # There doesn't appear to be a way to prevent this compiler from
   14600 	    # explicitly linking system object files so we need to strip them
   14601 	    # from the output so that they don't get included in the library
   14602 	    # dependencies.
   14603 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   14604 	    ;;
   14605 	  *)
   14606 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   14607 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   14608 	      case $host in
   14609 	        osf3*)
   14610 	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   14611 		  ;;
   14612 	        *)
   14613 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
   14614 		  ;;
   14615 	      esac
   14616 
   14617 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   14618 	      hardcode_libdir_separator_CXX=:
   14619 
   14620 	      # Commands to make compiler produce verbose output that lists
   14621 	      # what "hidden" libraries, object files and flags are used when
   14622 	      # linking a shared library.
   14623 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14624 
   14625 	    else
   14626 	      # FIXME: insert proper C++ library support
   14627 	      ld_shlibs_CXX=no
   14628 	    fi
   14629 	    ;;
   14630         esac
   14631         ;;
   14632 
   14633       psos*)
   14634         # FIXME: insert proper C++ library support
   14635         ld_shlibs_CXX=no
   14636         ;;
   14637 
   14638       sunos4*)
   14639         case $cc_basename in
   14640           CC*)
   14641 	    # Sun C++ 4.x
   14642 	    # FIXME: insert proper C++ library support
   14643 	    ld_shlibs_CXX=no
   14644 	    ;;
   14645           lcc*)
   14646 	    # Lucid
   14647 	    # FIXME: insert proper C++ library support
   14648 	    ld_shlibs_CXX=no
   14649 	    ;;
   14650           *)
   14651 	    # FIXME: insert proper C++ library support
   14652 	    ld_shlibs_CXX=no
   14653 	    ;;
   14654         esac
   14655         ;;
   14656 
   14657       solaris*)
   14658         case $cc_basename in
   14659           CC* | sunCC*)
   14660 	    # Sun C++ 4.2, 5.x and Centerline C++
   14661             archive_cmds_need_lc_CXX=yes
   14662 	    no_undefined_flag_CXX=' -zdefs'
   14663 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14664 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14665               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14666 
   14667 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   14668 	    hardcode_shlibpath_var_CXX=no
   14669 	    case $host_os in
   14670 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   14671 	      *)
   14672 		# The compiler driver will combine and reorder linker options,
   14673 		# but understands '-z linker_flag'.
   14674 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   14675 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   14676 	        ;;
   14677 	    esac
   14678 	    link_all_deplibs_CXX=yes
   14679 
   14680 	    output_verbose_link_cmd='func_echo_all'
   14681 
   14682 	    # Archives containing C++ object files must be created using
   14683 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   14684 	    # necessary to make sure instantiated templates are included
   14685 	    # in the archive.
   14686 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   14687 	    ;;
   14688           gcx*)
   14689 	    # Green Hills C++ Compiler
   14690 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   14691 
   14692 	    # The C++ compiler must be used to create the archive.
   14693 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   14694 	    ;;
   14695           *)
   14696 	    # GNU C++ compiler with Solaris linker
   14697 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   14698 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   14699 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   14700 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   14701 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14702                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14703 
   14704 	        # Commands to make compiler produce verbose output that lists
   14705 	        # what "hidden" libraries, object files and flags are used when
   14706 	        # linking a shared library.
   14707 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14708 	      else
   14709 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   14710 	        # platform.
   14711 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   14712 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14713                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14714 
   14715 	        # Commands to make compiler produce verbose output that lists
   14716 	        # what "hidden" libraries, object files and flags are used when
   14717 	        # linking a shared library.
   14718 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14719 	      fi
   14720 
   14721 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   14722 	      case $host_os in
   14723 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   14724 		*)
   14725 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   14726 		  ;;
   14727 	      esac
   14728 	    fi
   14729 	    ;;
   14730         esac
   14731         ;;
   14732 
   14733     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14734       no_undefined_flag_CXX='$wl-z,text'
   14735       archive_cmds_need_lc_CXX=no
   14736       hardcode_shlibpath_var_CXX=no
   14737       runpath_var='LD_RUN_PATH'
   14738 
   14739       case $cc_basename in
   14740         CC*)
   14741 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14742 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14743 	  ;;
   14744 	*)
   14745 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14746 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14747 	  ;;
   14748       esac
   14749       ;;
   14750 
   14751       sysv5* | sco3.2v5* | sco5v6*)
   14752 	# Note: We CANNOT use -z defs as we might desire, because we do not
   14753 	# link with -lc, and that would cause any symbols used from libc to
   14754 	# always be unresolved, which means just about no library would
   14755 	# ever link correctly.  If we're not using GNU ld we use -z text
   14756 	# though, which does catch some bad symbols but isn't as heavy-handed
   14757 	# as -z defs.
   14758 	no_undefined_flag_CXX='$wl-z,text'
   14759 	allow_undefined_flag_CXX='$wl-z,nodefs'
   14760 	archive_cmds_need_lc_CXX=no
   14761 	hardcode_shlibpath_var_CXX=no
   14762 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   14763 	hardcode_libdir_separator_CXX=':'
   14764 	link_all_deplibs_CXX=yes
   14765 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   14766 	runpath_var='LD_RUN_PATH'
   14767 
   14768 	case $cc_basename in
   14769           CC*)
   14770 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14771 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14772 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   14773               '"$old_archive_cmds_CXX"
   14774 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   14775               '"$reload_cmds_CXX"
   14776 	    ;;
   14777 	  *)
   14778 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14779 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14780 	    ;;
   14781 	esac
   14782       ;;
   14783 
   14784       tandem*)
   14785         case $cc_basename in
   14786           NCC*)
   14787 	    # NonStop-UX NCC 3.20
   14788 	    # FIXME: insert proper C++ library support
   14789 	    ld_shlibs_CXX=no
   14790 	    ;;
   14791           *)
   14792 	    # FIXME: insert proper C++ library support
   14793 	    ld_shlibs_CXX=no
   14794 	    ;;
   14795         esac
   14796         ;;
   14797 
   14798       vxworks*)
   14799         # FIXME: insert proper C++ library support
   14800         ld_shlibs_CXX=no
   14801         ;;
   14802 
   14803       *)
   14804         # FIXME: insert proper C++ library support
   14805         ld_shlibs_CXX=no
   14806         ;;
   14807     esac
   14808 
   14809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14810 $as_echo "$ld_shlibs_CXX" >&6; }
   14811     test no = "$ld_shlibs_CXX" && can_build_shared=no
   14812 
   14813     GCC_CXX=$GXX
   14814     LD_CXX=$LD
   14815 
   14816     ## CAVEAT EMPTOR:
   14817     ## There is no encapsulation within the following macros, do not change
   14818     ## the running order or otherwise move them around unless you know exactly
   14819     ## what you are doing...
   14820     # Dependencies to place before and after the object being linked:
   14821 predep_objects_CXX=
   14822 postdep_objects_CXX=
   14823 predeps_CXX=
   14824 postdeps_CXX=
   14825 compiler_lib_search_path_CXX=
   14826 
   14827 cat > conftest.$ac_ext <<_LT_EOF
   14828 class Foo
   14829 {
   14830 public:
   14831   Foo (void) { a = 0; }
   14832 private:
   14833   int a;
   14834 };
   14835 _LT_EOF
   14836 
   14837 
   14838 _lt_libdeps_save_CFLAGS=$CFLAGS
   14839 case "$CC $CFLAGS " in #(
   14840 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   14841 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   14842 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   14843 esac
   14844 
   14845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14846   (eval $ac_compile) 2>&5
   14847   ac_status=$?
   14848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14849   test $ac_status = 0; }; then
   14850   # Parse the compiler output and extract the necessary
   14851   # objects, libraries and library flags.
   14852 
   14853   # Sentinel used to keep track of whether or not we are before
   14854   # the conftest object file.
   14855   pre_test_object_deps_done=no
   14856 
   14857   for p in `eval "$output_verbose_link_cmd"`; do
   14858     case $prev$p in
   14859 
   14860     -L* | -R* | -l*)
   14861        # Some compilers place space between "-{L,R}" and the path.
   14862        # Remove the space.
   14863        if test x-L = "$p" ||
   14864           test x-R = "$p"; then
   14865 	 prev=$p
   14866 	 continue
   14867        fi
   14868 
   14869        # Expand the sysroot to ease extracting the directories later.
   14870        if test -z "$prev"; then
   14871          case $p in
   14872          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   14873          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   14874          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   14875          esac
   14876        fi
   14877        case $p in
   14878        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   14879        esac
   14880        if test no = "$pre_test_object_deps_done"; then
   14881 	 case $prev in
   14882 	 -L | -R)
   14883 	   # Internal compiler library paths should come after those
   14884 	   # provided the user.  The postdeps already come after the
   14885 	   # user supplied libs so there is no need to process them.
   14886 	   if test -z "$compiler_lib_search_path_CXX"; then
   14887 	     compiler_lib_search_path_CXX=$prev$p
   14888 	   else
   14889 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   14890 	   fi
   14891 	   ;;
   14892 	 # The "-l" case would never come before the object being
   14893 	 # linked, so don't bother handling this case.
   14894 	 esac
   14895        else
   14896 	 if test -z "$postdeps_CXX"; then
   14897 	   postdeps_CXX=$prev$p
   14898 	 else
   14899 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   14900 	 fi
   14901        fi
   14902        prev=
   14903        ;;
   14904 
   14905     *.lto.$objext) ;; # Ignore GCC LTO objects
   14906     *.$objext)
   14907        # This assumes that the test object file only shows up
   14908        # once in the compiler output.
   14909        if test "$p" = "conftest.$objext"; then
   14910 	 pre_test_object_deps_done=yes
   14911 	 continue
   14912        fi
   14913 
   14914        if test no = "$pre_test_object_deps_done"; then
   14915 	 if test -z "$predep_objects_CXX"; then
   14916 	   predep_objects_CXX=$p
   14917 	 else
   14918 	   predep_objects_CXX="$predep_objects_CXX $p"
   14919 	 fi
   14920        else
   14921 	 if test -z "$postdep_objects_CXX"; then
   14922 	   postdep_objects_CXX=$p
   14923 	 else
   14924 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14925 	 fi
   14926        fi
   14927        ;;
   14928 
   14929     *) ;; # Ignore the rest.
   14930 
   14931     esac
   14932   done
   14933 
   14934   # Clean up.
   14935   rm -f a.out a.exe
   14936 else
   14937   echo "libtool.m4: error: problem compiling CXX test program"
   14938 fi
   14939 
   14940 $RM -f confest.$objext
   14941 CFLAGS=$_lt_libdeps_save_CFLAGS
   14942 
   14943 # PORTME: override above test on systems where it is broken
   14944 case $host_os in
   14945 interix[3-9]*)
   14946   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14947   # hack all around it, let's just trust "g++" to DTRT.
   14948   predep_objects_CXX=
   14949   postdep_objects_CXX=
   14950   postdeps_CXX=
   14951   ;;
   14952 esac
   14953 
   14954 
   14955 case " $postdeps_CXX " in
   14956 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14957 esac
   14958  compiler_lib_search_dirs_CXX=
   14959 if test -n "${compiler_lib_search_path_CXX}"; then
   14960  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   14961 fi
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993     lt_prog_compiler_wl_CXX=
   14994 lt_prog_compiler_pic_CXX=
   14995 lt_prog_compiler_static_CXX=
   14996 
   14997 
   14998   # C++ specific cases for pic, static, wl, etc.
   14999   if test yes = "$GXX"; then
   15000     lt_prog_compiler_wl_CXX='-Wl,'
   15001     lt_prog_compiler_static_CXX='-static'
   15002 
   15003     case $host_os in
   15004     aix*)
   15005       # All AIX code is PIC.
   15006       if test ia64 = "$host_cpu"; then
   15007 	# AIX 5 now supports IA64 processor
   15008 	lt_prog_compiler_static_CXX='-Bstatic'
   15009       fi
   15010       lt_prog_compiler_pic_CXX='-fPIC'
   15011       ;;
   15012 
   15013     amigaos*)
   15014       case $host_cpu in
   15015       powerpc)
   15016             # see comment about AmigaOS4 .so support
   15017             lt_prog_compiler_pic_CXX='-fPIC'
   15018         ;;
   15019       m68k)
   15020             # FIXME: we need at least 68020 code to build shared libraries, but
   15021             # adding the '-m68020' flag to GCC prevents building anything better,
   15022             # like '-m68040'.
   15023             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   15024         ;;
   15025       esac
   15026       ;;
   15027 
   15028     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15029       # PIC is the default for these OSes.
   15030       ;;
   15031     mingw* | cygwin* | os2* | pw32* | cegcc*)
   15032       # This hack is so that the source file can tell whether it is being
   15033       # built for inclusion in a dll (and should export symbols for example).
   15034       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15035       # (--disable-auto-import) libraries
   15036       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   15037       case $host_os in
   15038       os2*)
   15039 	lt_prog_compiler_static_CXX='$wl-static'
   15040 	;;
   15041       esac
   15042       ;;
   15043     darwin* | rhapsody*)
   15044       # PIC is the default on this platform
   15045       # Common symbols not allowed in MH_DYLIB files
   15046       lt_prog_compiler_pic_CXX='-fno-common'
   15047       ;;
   15048     *djgpp*)
   15049       # DJGPP does not support shared libraries at all
   15050       lt_prog_compiler_pic_CXX=
   15051       ;;
   15052     haiku*)
   15053       # PIC is the default for Haiku.
   15054       # The "-static" flag exists, but is broken.
   15055       lt_prog_compiler_static_CXX=
   15056       ;;
   15057     interix[3-9]*)
   15058       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15059       # Instead, we relocate shared libraries at runtime.
   15060       ;;
   15061     sysv4*MP*)
   15062       if test -d /usr/nec; then
   15063 	lt_prog_compiler_pic_CXX=-Kconform_pic
   15064       fi
   15065       ;;
   15066     hpux*)
   15067       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15068       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15069       # sets the default TLS model and affects inlining.
   15070       case $host_cpu in
   15071       hppa*64*)
   15072 	;;
   15073       *)
   15074 	lt_prog_compiler_pic_CXX='-fPIC'
   15075 	;;
   15076       esac
   15077       ;;
   15078     *qnx* | *nto*)
   15079       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15080       # it will coredump.
   15081       lt_prog_compiler_pic_CXX='-fPIC -shared'
   15082       ;;
   15083     *)
   15084       lt_prog_compiler_pic_CXX='-fPIC'
   15085       ;;
   15086     esac
   15087   else
   15088     case $host_os in
   15089       aix[4-9]*)
   15090 	# All AIX code is PIC.
   15091 	if test ia64 = "$host_cpu"; then
   15092 	  # AIX 5 now supports IA64 processor
   15093 	  lt_prog_compiler_static_CXX='-Bstatic'
   15094 	else
   15095 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   15096 	fi
   15097 	;;
   15098       chorus*)
   15099 	case $cc_basename in
   15100 	cxch68*)
   15101 	  # Green Hills C++ Compiler
   15102 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   15103 	  ;;
   15104 	esac
   15105 	;;
   15106       mingw* | cygwin* | os2* | pw32* | cegcc*)
   15107 	# This hack is so that the source file can tell whether it is being
   15108 	# built for inclusion in a dll (and should export symbols for example).
   15109 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   15110 	;;
   15111       dgux*)
   15112 	case $cc_basename in
   15113 	  ec++*)
   15114 	    lt_prog_compiler_pic_CXX='-KPIC'
   15115 	    ;;
   15116 	  ghcx*)
   15117 	    # Green Hills C++ Compiler
   15118 	    lt_prog_compiler_pic_CXX='-pic'
   15119 	    ;;
   15120 	  *)
   15121 	    ;;
   15122 	esac
   15123 	;;
   15124       freebsd* | dragonfly*)
   15125 	# FreeBSD uses GNU C++
   15126 	;;
   15127       hpux9* | hpux10* | hpux11*)
   15128 	case $cc_basename in
   15129 	  CC*)
   15130 	    lt_prog_compiler_wl_CXX='-Wl,'
   15131 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   15132 	    if test ia64 != "$host_cpu"; then
   15133 	      lt_prog_compiler_pic_CXX='+Z'
   15134 	    fi
   15135 	    ;;
   15136 	  aCC*)
   15137 	    lt_prog_compiler_wl_CXX='-Wl,'
   15138 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   15139 	    case $host_cpu in
   15140 	    hppa*64*|ia64*)
   15141 	      # +Z the default
   15142 	      ;;
   15143 	    *)
   15144 	      lt_prog_compiler_pic_CXX='+Z'
   15145 	      ;;
   15146 	    esac
   15147 	    ;;
   15148 	  *)
   15149 	    ;;
   15150 	esac
   15151 	;;
   15152       interix*)
   15153 	# This is c89, which is MS Visual C++ (no shared libs)
   15154 	# Anyone wants to do a port?
   15155 	;;
   15156       irix5* | irix6* | nonstopux*)
   15157 	case $cc_basename in
   15158 	  CC*)
   15159 	    lt_prog_compiler_wl_CXX='-Wl,'
   15160 	    lt_prog_compiler_static_CXX='-non_shared'
   15161 	    # CC pic flag -KPIC is the default.
   15162 	    ;;
   15163 	  *)
   15164 	    ;;
   15165 	esac
   15166 	;;
   15167       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15168 	case $cc_basename in
   15169 	  KCC*)
   15170 	    # KAI C++ Compiler
   15171 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   15172 	    lt_prog_compiler_pic_CXX='-fPIC'
   15173 	    ;;
   15174 	  ecpc* )
   15175 	    # old Intel C++ for x86_64, which still supported -KPIC.
   15176 	    lt_prog_compiler_wl_CXX='-Wl,'
   15177 	    lt_prog_compiler_pic_CXX='-KPIC'
   15178 	    lt_prog_compiler_static_CXX='-static'
   15179 	    ;;
   15180 	  icpc* )
   15181 	    # Intel C++, used to be incompatible with GCC.
   15182 	    # ICC 10 doesn't accept -KPIC any more.
   15183 	    lt_prog_compiler_wl_CXX='-Wl,'
   15184 	    lt_prog_compiler_pic_CXX='-fPIC'
   15185 	    lt_prog_compiler_static_CXX='-static'
   15186 	    ;;
   15187 	  pgCC* | pgcpp*)
   15188 	    # Portland Group C++ compiler
   15189 	    lt_prog_compiler_wl_CXX='-Wl,'
   15190 	    lt_prog_compiler_pic_CXX='-fpic'
   15191 	    lt_prog_compiler_static_CXX='-Bstatic'
   15192 	    ;;
   15193 	  cxx*)
   15194 	    # Compaq C++
   15195 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   15196 	    # Linux and Compaq Tru64 Unix objects are PIC.
   15197 	    lt_prog_compiler_pic_CXX=
   15198 	    lt_prog_compiler_static_CXX='-non_shared'
   15199 	    ;;
   15200 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   15201 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   15202 	    lt_prog_compiler_wl_CXX='-Wl,'
   15203 	    lt_prog_compiler_pic_CXX='-qpic'
   15204 	    lt_prog_compiler_static_CXX='-qstaticlink'
   15205 	    ;;
   15206 	  *)
   15207 	    case `$CC -V 2>&1 | sed 5q` in
   15208 	    *Sun\ C*)
   15209 	      # Sun C++ 5.9
   15210 	      lt_prog_compiler_pic_CXX='-KPIC'
   15211 	      lt_prog_compiler_static_CXX='-Bstatic'
   15212 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   15213 	      ;;
   15214 	    esac
   15215 	    ;;
   15216 	esac
   15217 	;;
   15218       lynxos*)
   15219 	;;
   15220       m88k*)
   15221 	;;
   15222       mvs*)
   15223 	case $cc_basename in
   15224 	  cxx*)
   15225 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   15226 	    ;;
   15227 	  *)
   15228 	    ;;
   15229 	esac
   15230 	;;
   15231       netbsd*)
   15232 	;;
   15233       *qnx* | *nto*)
   15234         # QNX uses GNU C++, but need to define -shared option too, otherwise
   15235         # it will coredump.
   15236         lt_prog_compiler_pic_CXX='-fPIC -shared'
   15237         ;;
   15238       osf3* | osf4* | osf5*)
   15239 	case $cc_basename in
   15240 	  KCC*)
   15241 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   15242 	    ;;
   15243 	  RCC*)
   15244 	    # Rational C++ 2.4.1
   15245 	    lt_prog_compiler_pic_CXX='-pic'
   15246 	    ;;
   15247 	  cxx*)
   15248 	    # Digital/Compaq C++
   15249 	    lt_prog_compiler_wl_CXX='-Wl,'
   15250 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   15251 	    # Linux and Compaq Tru64 Unix objects are PIC.
   15252 	    lt_prog_compiler_pic_CXX=
   15253 	    lt_prog_compiler_static_CXX='-non_shared'
   15254 	    ;;
   15255 	  *)
   15256 	    ;;
   15257 	esac
   15258 	;;
   15259       psos*)
   15260 	;;
   15261       solaris*)
   15262 	case $cc_basename in
   15263 	  CC* | sunCC*)
   15264 	    # Sun C++ 4.2, 5.x and Centerline C++
   15265 	    lt_prog_compiler_pic_CXX='-KPIC'
   15266 	    lt_prog_compiler_static_CXX='-Bstatic'
   15267 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   15268 	    ;;
   15269 	  gcx*)
   15270 	    # Green Hills C++ Compiler
   15271 	    lt_prog_compiler_pic_CXX='-PIC'
   15272 	    ;;
   15273 	  *)
   15274 	    ;;
   15275 	esac
   15276 	;;
   15277       sunos4*)
   15278 	case $cc_basename in
   15279 	  CC*)
   15280 	    # Sun C++ 4.x
   15281 	    lt_prog_compiler_pic_CXX='-pic'
   15282 	    lt_prog_compiler_static_CXX='-Bstatic'
   15283 	    ;;
   15284 	  lcc*)
   15285 	    # Lucid
   15286 	    lt_prog_compiler_pic_CXX='-pic'
   15287 	    ;;
   15288 	  *)
   15289 	    ;;
   15290 	esac
   15291 	;;
   15292       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15293 	case $cc_basename in
   15294 	  CC*)
   15295 	    lt_prog_compiler_wl_CXX='-Wl,'
   15296 	    lt_prog_compiler_pic_CXX='-KPIC'
   15297 	    lt_prog_compiler_static_CXX='-Bstatic'
   15298 	    ;;
   15299 	esac
   15300 	;;
   15301       tandem*)
   15302 	case $cc_basename in
   15303 	  NCC*)
   15304 	    # NonStop-UX NCC 3.20
   15305 	    lt_prog_compiler_pic_CXX='-KPIC'
   15306 	    ;;
   15307 	  *)
   15308 	    ;;
   15309 	esac
   15310 	;;
   15311       vxworks*)
   15312 	;;
   15313       *)
   15314 	lt_prog_compiler_can_build_shared_CXX=no
   15315 	;;
   15316     esac
   15317   fi
   15318 
   15319 case $host_os in
   15320   # For platforms that do not support PIC, -DPIC is meaningless:
   15321   *djgpp*)
   15322     lt_prog_compiler_pic_CXX=
   15323     ;;
   15324   *)
   15325     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   15326     ;;
   15327 esac
   15328 
   15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15330 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15331 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   15332   $as_echo_n "(cached) " >&6
   15333 else
   15334   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   15335 fi
   15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   15337 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   15338 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   15339 
   15340 #
   15341 # Check to make sure the PIC flag actually works.
   15342 #
   15343 if test -n "$lt_prog_compiler_pic_CXX"; then
   15344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   15345 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   15346 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   15347   $as_echo_n "(cached) " >&6
   15348 else
   15349   lt_cv_prog_compiler_pic_works_CXX=no
   15350    ac_outfile=conftest.$ac_objext
   15351    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15352    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15353    # Insert the option either (1) after the last *FLAGS variable, or
   15354    # (2) before a word containing "conftest.", or (3) at the end.
   15355    # Note that $ac_compile itself does not contain backslashes and begins
   15356    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15357    # The option is referenced via a variable to avoid confusing sed.
   15358    lt_compile=`echo "$ac_compile" | $SED \
   15359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15361    -e 's:$: $lt_compiler_flag:'`
   15362    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15363    (eval "$lt_compile" 2>conftest.err)
   15364    ac_status=$?
   15365    cat conftest.err >&5
   15366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15367    if (exit $ac_status) && test -s "$ac_outfile"; then
   15368      # The compiler can only warn and ignore the option if not recognized
   15369      # So say no if there are warnings other than the usual output.
   15370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15371      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15372      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15373        lt_cv_prog_compiler_pic_works_CXX=yes
   15374      fi
   15375    fi
   15376    $RM conftest*
   15377 
   15378 fi
   15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   15380 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   15381 
   15382 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   15383     case $lt_prog_compiler_pic_CXX in
   15384      "" | " "*) ;;
   15385      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   15386      esac
   15387 else
   15388     lt_prog_compiler_pic_CXX=
   15389      lt_prog_compiler_can_build_shared_CXX=no
   15390 fi
   15391 
   15392 fi
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 #
   15399 # Check to make sure the static flag actually works.
   15400 #
   15401 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15403 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15404 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   15405   $as_echo_n "(cached) " >&6
   15406 else
   15407   lt_cv_prog_compiler_static_works_CXX=no
   15408    save_LDFLAGS=$LDFLAGS
   15409    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15410    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15411    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15412      # The linker can only warn and ignore the option if not recognized
   15413      # So say no if there are warnings
   15414      if test -s conftest.err; then
   15415        # Append any errors to the config.log.
   15416        cat conftest.err 1>&5
   15417        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15418        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15419        if diff conftest.exp conftest.er2 >/dev/null; then
   15420          lt_cv_prog_compiler_static_works_CXX=yes
   15421        fi
   15422      else
   15423        lt_cv_prog_compiler_static_works_CXX=yes
   15424      fi
   15425    fi
   15426    $RM -r conftest*
   15427    LDFLAGS=$save_LDFLAGS
   15428 
   15429 fi
   15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   15431 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   15432 
   15433 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   15434     :
   15435 else
   15436     lt_prog_compiler_static_CXX=
   15437 fi
   15438 
   15439 
   15440 
   15441 
   15442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15443 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15444 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   15445   $as_echo_n "(cached) " >&6
   15446 else
   15447   lt_cv_prog_compiler_c_o_CXX=no
   15448    $RM -r conftest 2>/dev/null
   15449    mkdir conftest
   15450    cd conftest
   15451    mkdir out
   15452    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15453 
   15454    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15455    # Insert the option either (1) after the last *FLAGS variable, or
   15456    # (2) before a word containing "conftest.", or (3) at the end.
   15457    # Note that $ac_compile itself does not contain backslashes and begins
   15458    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15459    lt_compile=`echo "$ac_compile" | $SED \
   15460    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15461    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15462    -e 's:$: $lt_compiler_flag:'`
   15463    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15464    (eval "$lt_compile" 2>out/conftest.err)
   15465    ac_status=$?
   15466    cat out/conftest.err >&5
   15467    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15468    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15469    then
   15470      # The compiler can only warn and ignore the option if not recognized
   15471      # So say no if there are warnings
   15472      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15473      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15474      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15475        lt_cv_prog_compiler_c_o_CXX=yes
   15476      fi
   15477    fi
   15478    chmod u+w . 2>&5
   15479    $RM conftest*
   15480    # SGI C++ compiler will create directory out/ii_files/ for
   15481    # template instantiation
   15482    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15483    $RM out/* && rmdir out
   15484    cd ..
   15485    $RM -r conftest
   15486    $RM conftest*
   15487 
   15488 fi
   15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   15490 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   15491 
   15492 
   15493 
   15494     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15495 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15496 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   15497   $as_echo_n "(cached) " >&6
   15498 else
   15499   lt_cv_prog_compiler_c_o_CXX=no
   15500    $RM -r conftest 2>/dev/null
   15501    mkdir conftest
   15502    cd conftest
   15503    mkdir out
   15504    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15505 
   15506    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15507    # Insert the option either (1) after the last *FLAGS variable, or
   15508    # (2) before a word containing "conftest.", or (3) at the end.
   15509    # Note that $ac_compile itself does not contain backslashes and begins
   15510    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15511    lt_compile=`echo "$ac_compile" | $SED \
   15512    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15513    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15514    -e 's:$: $lt_compiler_flag:'`
   15515    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15516    (eval "$lt_compile" 2>out/conftest.err)
   15517    ac_status=$?
   15518    cat out/conftest.err >&5
   15519    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15520    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15521    then
   15522      # The compiler can only warn and ignore the option if not recognized
   15523      # So say no if there are warnings
   15524      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15525      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15526      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15527        lt_cv_prog_compiler_c_o_CXX=yes
   15528      fi
   15529    fi
   15530    chmod u+w . 2>&5
   15531    $RM conftest*
   15532    # SGI C++ compiler will create directory out/ii_files/ for
   15533    # template instantiation
   15534    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15535    $RM out/* && rmdir out
   15536    cd ..
   15537    $RM -r conftest
   15538    $RM conftest*
   15539 
   15540 fi
   15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   15542 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   15543 
   15544 
   15545 
   15546 
   15547 hard_links=nottested
   15548 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   15549   # do not overwrite the value of need_locks provided by the user
   15550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15551 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15552   hard_links=yes
   15553   $RM conftest*
   15554   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15555   touch conftest.a
   15556   ln conftest.a conftest.b 2>&5 || hard_links=no
   15557   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15559 $as_echo "$hard_links" >&6; }
   15560   if test no = "$hard_links"; then
   15561     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15562 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15563     need_locks=warn
   15564   fi
   15565 else
   15566   need_locks=no
   15567 fi
   15568 
   15569 
   15570 
   15571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15572 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15573 
   15574   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15575   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15576   case $host_os in
   15577   aix[4-9]*)
   15578     # If we're using GNU nm, then we don't want the "-C" option.
   15579     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15580     # Without the "-l" option, or with the "-B" option, AIX nm treats
   15581     # weak defined symbols like other global defined symbols, whereas
   15582     # GNU nm marks them as "W".
   15583     # While the 'weak' keyword is ignored in the Export File, we need
   15584     # it in the Import File for the 'aix-soname' feature, so we have
   15585     # to replace the "-B" option with "-P" for AIX nm.
   15586     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15587       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   15588     else
   15589       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   15590     fi
   15591     ;;
   15592   pw32*)
   15593     export_symbols_cmds_CXX=$ltdll_cmds
   15594     ;;
   15595   cygwin* | mingw* | cegcc*)
   15596     case $cc_basename in
   15597     cl* | icl*)
   15598       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15599       ;;
   15600     *)
   15601       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   15602       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15603       ;;
   15604     esac
   15605     ;;
   15606   *)
   15607     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15608     ;;
   15609   esac
   15610 
   15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   15612 $as_echo "$ld_shlibs_CXX" >&6; }
   15613 test no = "$ld_shlibs_CXX" && can_build_shared=no
   15614 
   15615 with_gnu_ld_CXX=$with_gnu_ld
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 #
   15623 # Do we need to explicitly link libc?
   15624 #
   15625 case "x$archive_cmds_need_lc_CXX" in
   15626 x|xyes)
   15627   # Assume -lc should be added
   15628   archive_cmds_need_lc_CXX=yes
   15629 
   15630   if test yes,yes = "$GCC,$enable_shared"; then
   15631     case $archive_cmds_CXX in
   15632     *'~'*)
   15633       # FIXME: we may have to deal with multi-command sequences.
   15634       ;;
   15635     '$CC '*)
   15636       # Test whether the compiler implicitly links with -lc since on some
   15637       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15638       # to ld, don't add -lc before -lgcc.
   15639       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15640 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15641 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   15642   $as_echo_n "(cached) " >&6
   15643 else
   15644   $RM conftest*
   15645 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15646 
   15647 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15648   (eval $ac_compile) 2>&5
   15649   ac_status=$?
   15650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15651   test $ac_status = 0; } 2>conftest.err; then
   15652 	  soname=conftest
   15653 	  lib=conftest
   15654 	  libobjs=conftest.$ac_objext
   15655 	  deplibs=
   15656 	  wl=$lt_prog_compiler_wl_CXX
   15657 	  pic_flag=$lt_prog_compiler_pic_CXX
   15658 	  compiler_flags=-v
   15659 	  linker_flags=-v
   15660 	  verstring=
   15661 	  output_objdir=.
   15662 	  libname=conftest
   15663 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   15664 	  allow_undefined_flag_CXX=
   15665 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   15666   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15667   ac_status=$?
   15668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15669   test $ac_status = 0; }
   15670 	  then
   15671 	    lt_cv_archive_cmds_need_lc_CXX=no
   15672 	  else
   15673 	    lt_cv_archive_cmds_need_lc_CXX=yes
   15674 	  fi
   15675 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   15676 	else
   15677 	  cat conftest.err 1>&5
   15678 	fi
   15679 	$RM conftest*
   15680 
   15681 fi
   15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   15683 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   15684       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   15685       ;;
   15686     esac
   15687   fi
   15688   ;;
   15689 esac
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15753 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15754 
   15755 library_names_spec=
   15756 libname_spec='lib$name'
   15757 soname_spec=
   15758 shrext_cmds=.so
   15759 postinstall_cmds=
   15760 postuninstall_cmds=
   15761 finish_cmds=
   15762 finish_eval=
   15763 shlibpath_var=
   15764 shlibpath_overrides_runpath=unknown
   15765 version_type=none
   15766 dynamic_linker="$host_os ld.so"
   15767 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15768 need_lib_prefix=unknown
   15769 hardcode_into_libs=no
   15770 
   15771 # when you set need_version to no, make sure it does not cause -set_version
   15772 # flags to be left without arguments
   15773 need_version=unknown
   15774 
   15775 
   15776 
   15777 case $host_os in
   15778 aix3*)
   15779   version_type=linux # correct to gnu/linux during the next big refactor
   15780   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   15781   shlibpath_var=LIBPATH
   15782 
   15783   # AIX 3 has no versioning support, so we append a major version to the name.
   15784   soname_spec='$libname$release$shared_ext$major'
   15785   ;;
   15786 
   15787 aix[4-9]*)
   15788   version_type=linux # correct to gnu/linux during the next big refactor
   15789   need_lib_prefix=no
   15790   need_version=no
   15791   hardcode_into_libs=yes
   15792   if test ia64 = "$host_cpu"; then
   15793     # AIX 5 supports IA64
   15794     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   15795     shlibpath_var=LD_LIBRARY_PATH
   15796   else
   15797     # With GCC up to 2.95.x, collect2 would create an import file
   15798     # for dependence libraries.  The import file would start with
   15799     # the line '#! .'.  This would cause the generated library to
   15800     # depend on '.', always an invalid library.  This was fixed in
   15801     # development snapshots of GCC prior to 3.0.
   15802     case $host_os in
   15803       aix4 | aix4.[01] | aix4.[01].*)
   15804       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15805 	   echo ' yes '
   15806 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   15807 	:
   15808       else
   15809 	can_build_shared=no
   15810       fi
   15811       ;;
   15812     esac
   15813     # Using Import Files as archive members, it is possible to support
   15814     # filename-based versioning of shared library archives on AIX. While
   15815     # this would work for both with and without runtime linking, it will
   15816     # prevent static linking of such archives. So we do filename-based
   15817     # shared library versioning with .so extension only, which is used
   15818     # when both runtime linking and shared linking is enabled.
   15819     # Unfortunately, runtime linking may impact performance, so we do
   15820     # not want this to be the default eventually. Also, we use the
   15821     # versioned .so libs for executables only if there is the -brtl
   15822     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   15823     # To allow for filename-based versioning support, we need to create
   15824     # libNAME.so.V as an archive file, containing:
   15825     # *) an Import File, referring to the versioned filename of the
   15826     #    archive as well as the shared archive member, telling the
   15827     #    bitwidth (32 or 64) of that shared object, and providing the
   15828     #    list of exported symbols of that shared object, eventually
   15829     #    decorated with the 'weak' keyword
   15830     # *) the shared object with the F_LOADONLY flag set, to really avoid
   15831     #    it being seen by the linker.
   15832     # At run time we better use the real file rather than another symlink,
   15833     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   15834 
   15835     case $with_aix_soname,$aix_use_runtimelinking in
   15836     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   15837     # soname into executable. Probably we can add versioning support to
   15838     # collect2, so additional links can be useful in future.
   15839     aix,yes) # traditional libtool
   15840       dynamic_linker='AIX unversionable lib.so'
   15841       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15842       # instead of lib<name>.a to let people know that these are not
   15843       # typical AIX shared libraries.
   15844       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15845       ;;
   15846     aix,no) # traditional AIX only
   15847       dynamic_linker='AIX lib.a(lib.so.V)'
   15848       # We preserve .a as extension for shared libraries through AIX4.2
   15849       # and later when we are not doing run time linking.
   15850       library_names_spec='$libname$release.a $libname.a'
   15851       soname_spec='$libname$release$shared_ext$major'
   15852       ;;
   15853     svr4,*) # full svr4 only
   15854       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   15855       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15856       # We do not specify a path in Import Files, so LIBPATH fires.
   15857       shlibpath_overrides_runpath=yes
   15858       ;;
   15859     *,yes) # both, prefer svr4
   15860       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   15861       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   15862       # unpreferred sharedlib libNAME.a needs extra handling
   15863       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   15864       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   15865       # We do not specify a path in Import Files, so LIBPATH fires.
   15866       shlibpath_overrides_runpath=yes
   15867       ;;
   15868     *,no) # both, prefer aix
   15869       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   15870       library_names_spec='$libname$release.a $libname.a'
   15871       soname_spec='$libname$release$shared_ext$major'
   15872       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   15873       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   15874       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   15875       ;;
   15876     esac
   15877     shlibpath_var=LIBPATH
   15878   fi
   15879   ;;
   15880 
   15881 amigaos*)
   15882   case $host_cpu in
   15883   powerpc)
   15884     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15885     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15886     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15887     ;;
   15888   m68k)
   15889     library_names_spec='$libname.ixlibrary $libname.a'
   15890     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15891     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15892     ;;
   15893   esac
   15894   ;;
   15895 
   15896 beos*)
   15897   library_names_spec='$libname$shared_ext'
   15898   dynamic_linker="$host_os ld.so"
   15899   shlibpath_var=LIBRARY_PATH
   15900   ;;
   15901 
   15902 bsdi[45]*)
   15903   version_type=linux # correct to gnu/linux during the next big refactor
   15904   need_version=no
   15905   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   15906   soname_spec='$libname$release$shared_ext$major'
   15907   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15908   shlibpath_var=LD_LIBRARY_PATH
   15909   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15910   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15911   # the default ld.so.conf also contains /usr/contrib/lib and
   15912   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15913   # libtool to hard-code these into programs
   15914   ;;
   15915 
   15916 cygwin* | mingw* | pw32* | cegcc*)
   15917   version_type=windows
   15918   shrext_cmds=.dll
   15919   need_version=no
   15920   need_lib_prefix=no
   15921 
   15922   case $GCC,$cc_basename in
   15923   yes,*)
   15924     # gcc
   15925     library_names_spec='$libname.dll.a'
   15926     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15927     postinstall_cmds='base_file=`basename \$file`~
   15928       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   15929       dldir=$destdir/`dirname \$dlpath`~
   15930       test -d \$dldir || mkdir -p \$dldir~
   15931       $install_prog $dir/$dlname \$dldir/$dlname~
   15932       chmod a+x \$dldir/$dlname~
   15933       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15934         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15935       fi'
   15936     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15937       dlpath=$dir/\$dldll~
   15938        $RM \$dlpath'
   15939     shlibpath_overrides_runpath=yes
   15940 
   15941     case $host_os in
   15942     cygwin*)
   15943       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15944       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15945 
   15946       ;;
   15947     mingw* | cegcc*)
   15948       # MinGW DLLs use traditional 'lib' prefix
   15949       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15950       ;;
   15951     pw32*)
   15952       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15953       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15954       ;;
   15955     esac
   15956     dynamic_linker='Win32 ld.exe'
   15957     ;;
   15958 
   15959   *,cl* | *,icl*)
   15960     # Native MSVC or ICC
   15961     libname_spec='$name'
   15962     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   15963     library_names_spec='$libname.dll.lib'
   15964 
   15965     case $build_os in
   15966     mingw*)
   15967       sys_lib_search_path_spec=
   15968       lt_save_ifs=$IFS
   15969       IFS=';'
   15970       for lt_path in $LIB
   15971       do
   15972         IFS=$lt_save_ifs
   15973         # Let DOS variable expansion print the short 8.3 style file name.
   15974         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15975         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15976       done
   15977       IFS=$lt_save_ifs
   15978       # Convert to MSYS style.
   15979       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15980       ;;
   15981     cygwin*)
   15982       # Convert to unix form, then to dos form, then back to unix form
   15983       # but this time dos style (no spaces!) so that the unix form looks
   15984       # like /cygdrive/c/PROGRA~1:/cygdr...
   15985       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15986       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15987       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15988       ;;
   15989     *)
   15990       sys_lib_search_path_spec=$LIB
   15991       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15992         # It is most probably a Windows format PATH.
   15993         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15994       else
   15995         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15996       fi
   15997       # FIXME: find the short name or the path components, as spaces are
   15998       # common. (e.g. "Program Files" -> "PROGRA~1")
   15999       ;;
   16000     esac
   16001 
   16002     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16003     postinstall_cmds='base_file=`basename \$file`~
   16004       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16005       dldir=$destdir/`dirname \$dlpath`~
   16006       test -d \$dldir || mkdir -p \$dldir~
   16007       $install_prog $dir/$dlname \$dldir/$dlname'
   16008     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16009       dlpath=$dir/\$dldll~
   16010        $RM \$dlpath'
   16011     shlibpath_overrides_runpath=yes
   16012     dynamic_linker='Win32 link.exe'
   16013     ;;
   16014 
   16015   *)
   16016     # Assume MSVC and ICC wrapper
   16017     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   16018     dynamic_linker='Win32 ld.exe'
   16019     ;;
   16020   esac
   16021   # FIXME: first we should search . and the directory the executable is in
   16022   shlibpath_var=PATH
   16023   ;;
   16024 
   16025 darwin* | rhapsody*)
   16026   dynamic_linker="$host_os dyld"
   16027   version_type=darwin
   16028   need_lib_prefix=no
   16029   need_version=no
   16030   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   16031   soname_spec='$libname$release$major$shared_ext'
   16032   shlibpath_overrides_runpath=yes
   16033   shlibpath_var=DYLD_LIBRARY_PATH
   16034   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16035 
   16036   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16037   ;;
   16038 
   16039 dgux*)
   16040   version_type=linux # correct to gnu/linux during the next big refactor
   16041   need_lib_prefix=no
   16042   need_version=no
   16043   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16044   soname_spec='$libname$release$shared_ext$major'
   16045   shlibpath_var=LD_LIBRARY_PATH
   16046   ;;
   16047 
   16048 freebsd* | dragonfly*)
   16049   # DragonFly does not have aout.  When/if they implement a new
   16050   # versioning mechanism, adjust this.
   16051   if test -x /usr/bin/objformat; then
   16052     objformat=`/usr/bin/objformat`
   16053   else
   16054     case $host_os in
   16055     freebsd[23].*) objformat=aout ;;
   16056     *) objformat=elf ;;
   16057     esac
   16058   fi
   16059   version_type=freebsd-$objformat
   16060   case $version_type in
   16061     freebsd-elf*)
   16062       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16063       soname_spec='$libname$release$shared_ext$major'
   16064       need_version=no
   16065       need_lib_prefix=no
   16066       ;;
   16067     freebsd-*)
   16068       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16069       need_version=yes
   16070       ;;
   16071   esac
   16072   shlibpath_var=LD_LIBRARY_PATH
   16073   case $host_os in
   16074   freebsd2.*)
   16075     shlibpath_overrides_runpath=yes
   16076     ;;
   16077   freebsd3.[01]* | freebsdelf3.[01]*)
   16078     shlibpath_overrides_runpath=yes
   16079     hardcode_into_libs=yes
   16080     ;;
   16081   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16082   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16083     shlibpath_overrides_runpath=no
   16084     hardcode_into_libs=yes
   16085     ;;
   16086   *) # from 4.6 on, and DragonFly
   16087     shlibpath_overrides_runpath=yes
   16088     hardcode_into_libs=yes
   16089     ;;
   16090   esac
   16091   ;;
   16092 
   16093 haiku*)
   16094   version_type=linux # correct to gnu/linux during the next big refactor
   16095   need_lib_prefix=no
   16096   need_version=no
   16097   dynamic_linker="$host_os runtime_loader"
   16098   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16099   soname_spec='$libname$release$shared_ext$major'
   16100   shlibpath_var=LIBRARY_PATH
   16101   shlibpath_overrides_runpath=no
   16102   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16103   hardcode_into_libs=yes
   16104   ;;
   16105 
   16106 hpux9* | hpux10* | hpux11*)
   16107   # Give a soname corresponding to the major version so that dld.sl refuses to
   16108   # link against other versions.
   16109   version_type=sunos
   16110   need_lib_prefix=no
   16111   need_version=no
   16112   case $host_cpu in
   16113   ia64*)
   16114     shrext_cmds='.so'
   16115     hardcode_into_libs=yes
   16116     dynamic_linker="$host_os dld.so"
   16117     shlibpath_var=LD_LIBRARY_PATH
   16118     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16119     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16120     soname_spec='$libname$release$shared_ext$major'
   16121     if test 32 = "$HPUX_IA64_MODE"; then
   16122       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16123       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   16124     else
   16125       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16126       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   16127     fi
   16128     ;;
   16129   hppa*64*)
   16130     shrext_cmds='.sl'
   16131     hardcode_into_libs=yes
   16132     dynamic_linker="$host_os dld.sl"
   16133     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16134     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16135     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16136     soname_spec='$libname$release$shared_ext$major'
   16137     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16138     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16139     ;;
   16140   *)
   16141     shrext_cmds='.sl'
   16142     dynamic_linker="$host_os dld.sl"
   16143     shlibpath_var=SHLIB_PATH
   16144     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16145     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16146     soname_spec='$libname$release$shared_ext$major'
   16147     ;;
   16148   esac
   16149   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16150   postinstall_cmds='chmod 555 $lib'
   16151   # or fails outright, so override atomically:
   16152   install_override_mode=555
   16153   ;;
   16154 
   16155 interix[3-9]*)
   16156   version_type=linux # correct to gnu/linux during the next big refactor
   16157   need_lib_prefix=no
   16158   need_version=no
   16159   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16160   soname_spec='$libname$release$shared_ext$major'
   16161   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16162   shlibpath_var=LD_LIBRARY_PATH
   16163   shlibpath_overrides_runpath=no
   16164   hardcode_into_libs=yes
   16165   ;;
   16166 
   16167 irix5* | irix6* | nonstopux*)
   16168   case $host_os in
   16169     nonstopux*) version_type=nonstopux ;;
   16170     *)
   16171 	if test yes = "$lt_cv_prog_gnu_ld"; then
   16172 		version_type=linux # correct to gnu/linux during the next big refactor
   16173 	else
   16174 		version_type=irix
   16175 	fi ;;
   16176   esac
   16177   need_lib_prefix=no
   16178   need_version=no
   16179   soname_spec='$libname$release$shared_ext$major'
   16180   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   16181   case $host_os in
   16182   irix5* | nonstopux*)
   16183     libsuff= shlibsuff=
   16184     ;;
   16185   *)
   16186     case $LD in # libtool.m4 will add one of these switches to LD
   16187     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16188       libsuff= shlibsuff= libmagic=32-bit;;
   16189     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16190       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16191     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16192       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16193     *) libsuff= shlibsuff= libmagic=never-match;;
   16194     esac
   16195     ;;
   16196   esac
   16197   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16198   shlibpath_overrides_runpath=no
   16199   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   16200   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   16201   hardcode_into_libs=yes
   16202   ;;
   16203 
   16204 # No shared lib support for Linux oldld, aout, or coff.
   16205 linux*oldld* | linux*aout* | linux*coff*)
   16206   dynamic_linker=no
   16207   ;;
   16208 
   16209 linux*android*)
   16210   version_type=none # Android doesn't support versioned libraries.
   16211   need_lib_prefix=no
   16212   need_version=no
   16213   library_names_spec='$libname$release$shared_ext'
   16214   soname_spec='$libname$release$shared_ext'
   16215   finish_cmds=
   16216   shlibpath_var=LD_LIBRARY_PATH
   16217   shlibpath_overrides_runpath=yes
   16218 
   16219   # This implies no fast_install, which is unacceptable.
   16220   # Some rework will be needed to allow for fast_install
   16221   # before this can be enabled.
   16222   hardcode_into_libs=yes
   16223 
   16224   dynamic_linker='Android linker'
   16225   # Don't embed -rpath directories since the linker doesn't support them.
   16226   hardcode_libdir_flag_spec_CXX='-L$libdir'
   16227   ;;
   16228 
   16229 # This must be glibc/ELF.
   16230 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16231   version_type=linux # correct to gnu/linux during the next big refactor
   16232   need_lib_prefix=no
   16233   need_version=no
   16234   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16235   soname_spec='$libname$release$shared_ext$major'
   16236   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16237   shlibpath_var=LD_LIBRARY_PATH
   16238   shlibpath_overrides_runpath=no
   16239 
   16240   # Some binutils ld are patched to set DT_RUNPATH
   16241   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16242   $as_echo_n "(cached) " >&6
   16243 else
   16244   lt_cv_shlibpath_overrides_runpath=no
   16245     save_LDFLAGS=$LDFLAGS
   16246     save_libdir=$libdir
   16247     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   16248 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   16249     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16250 /* end confdefs.h.  */
   16251 
   16252 int
   16253 main ()
   16254 {
   16255 
   16256   ;
   16257   return 0;
   16258 }
   16259 _ACEOF
   16260 if ac_fn_cxx_try_link "$LINENO"; then :
   16261   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16262   lt_cv_shlibpath_overrides_runpath=yes
   16263 fi
   16264 fi
   16265 rm -f core conftest.err conftest.$ac_objext \
   16266     conftest$ac_exeext conftest.$ac_ext
   16267     LDFLAGS=$save_LDFLAGS
   16268     libdir=$save_libdir
   16269 
   16270 fi
   16271 
   16272   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16273 
   16274   # This implies no fast_install, which is unacceptable.
   16275   # Some rework will be needed to allow for fast_install
   16276   # before this can be enabled.
   16277   hardcode_into_libs=yes
   16278 
   16279   # Ideally, we could use ldconfig to report *all* directores which are
   16280   # searched for libraries, however this is still not possible.  Aside from not
   16281   # being certain /sbin/ldconfig is available, command
   16282   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   16283   # even though it is searched at run-time.  Try to do the best guess by
   16284   # appending ld.so.conf contents (and includes) to the search path.
   16285   if test -f /etc/ld.so.conf; then
   16286     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' ' '`
   16287     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16288   fi
   16289 
   16290   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16291   # powerpc, because MkLinux only supported shared libraries with the
   16292   # GNU dynamic linker.  Since this was broken with cross compilers,
   16293   # most powerpc-linux boxes support dynamic linking these days and
   16294   # people can always --disable-shared, the test was removed, and we
   16295   # assume the GNU/Linux dynamic linker is in use.
   16296   dynamic_linker='GNU/Linux ld.so'
   16297   ;;
   16298 
   16299 netbsd*)
   16300   version_type=sunos
   16301   need_lib_prefix=no
   16302   need_version=no
   16303   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16304     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16305     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16306     dynamic_linker='NetBSD (a.out) ld.so'
   16307   else
   16308     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16309     soname_spec='$libname$release$shared_ext$major'
   16310     dynamic_linker='NetBSD ld.elf_so'
   16311   fi
   16312   shlibpath_var=LD_LIBRARY_PATH
   16313   shlibpath_overrides_runpath=yes
   16314   hardcode_into_libs=yes
   16315   ;;
   16316 
   16317 newsos6)
   16318   version_type=linux # correct to gnu/linux during the next big refactor
   16319   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16320   shlibpath_var=LD_LIBRARY_PATH
   16321   shlibpath_overrides_runpath=yes
   16322   ;;
   16323 
   16324 *nto* | *qnx*)
   16325   version_type=qnx
   16326   need_lib_prefix=no
   16327   need_version=no
   16328   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16329   soname_spec='$libname$release$shared_ext$major'
   16330   shlibpath_var=LD_LIBRARY_PATH
   16331   shlibpath_overrides_runpath=no
   16332   hardcode_into_libs=yes
   16333   dynamic_linker='ldqnx.so'
   16334   ;;
   16335 
   16336 openbsd* | bitrig*)
   16337   version_type=sunos
   16338   sys_lib_dlsearch_path_spec=/usr/lib
   16339   need_lib_prefix=no
   16340   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16341     need_version=no
   16342   else
   16343     need_version=yes
   16344   fi
   16345   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16346   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16347   shlibpath_var=LD_LIBRARY_PATH
   16348   shlibpath_overrides_runpath=yes
   16349   ;;
   16350 
   16351 os2*)
   16352   libname_spec='$name'
   16353   version_type=windows
   16354   shrext_cmds=.dll
   16355   need_version=no
   16356   need_lib_prefix=no
   16357   # OS/2 can only load a DLL with a base name of 8 characters or less.
   16358   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   16359     v=$($ECHO $release$versuffix | tr -d .-);
   16360     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   16361     $ECHO $n$v`$shared_ext'
   16362   library_names_spec='${libname}_dll.$libext'
   16363   dynamic_linker='OS/2 ld.exe'
   16364   shlibpath_var=BEGINLIBPATH
   16365   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16366   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16367   postinstall_cmds='base_file=`basename \$file`~
   16368     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   16369     dldir=$destdir/`dirname \$dlpath`~
   16370     test -d \$dldir || mkdir -p \$dldir~
   16371     $install_prog $dir/$dlname \$dldir/$dlname~
   16372     chmod a+x \$dldir/$dlname~
   16373     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16374       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16375     fi'
   16376   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   16377     dlpath=$dir/\$dldll~
   16378     $RM \$dlpath'
   16379   ;;
   16380 
   16381 osf3* | osf4* | osf5*)
   16382   version_type=osf
   16383   need_lib_prefix=no
   16384   need_version=no
   16385   soname_spec='$libname$release$shared_ext$major'
   16386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16387   shlibpath_var=LD_LIBRARY_PATH
   16388   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16389   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16390   ;;
   16391 
   16392 rdos*)
   16393   dynamic_linker=no
   16394   ;;
   16395 
   16396 solaris*)
   16397   version_type=linux # correct to gnu/linux during the next big refactor
   16398   need_lib_prefix=no
   16399   need_version=no
   16400   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16401   soname_spec='$libname$release$shared_ext$major'
   16402   shlibpath_var=LD_LIBRARY_PATH
   16403   shlibpath_overrides_runpath=yes
   16404   hardcode_into_libs=yes
   16405   # ldd complains unless libraries are executable
   16406   postinstall_cmds='chmod +x $lib'
   16407   ;;
   16408 
   16409 sunos4*)
   16410   version_type=sunos
   16411   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   16412   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16413   shlibpath_var=LD_LIBRARY_PATH
   16414   shlibpath_overrides_runpath=yes
   16415   if test yes = "$with_gnu_ld"; then
   16416     need_lib_prefix=no
   16417   fi
   16418   need_version=yes
   16419   ;;
   16420 
   16421 sysv4 | sysv4.3*)
   16422   version_type=linux # correct to gnu/linux during the next big refactor
   16423   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16424   soname_spec='$libname$release$shared_ext$major'
   16425   shlibpath_var=LD_LIBRARY_PATH
   16426   case $host_vendor in
   16427     sni)
   16428       shlibpath_overrides_runpath=no
   16429       need_lib_prefix=no
   16430       runpath_var=LD_RUN_PATH
   16431       ;;
   16432     siemens)
   16433       need_lib_prefix=no
   16434       ;;
   16435     motorola)
   16436       need_lib_prefix=no
   16437       need_version=no
   16438       shlibpath_overrides_runpath=no
   16439       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16440       ;;
   16441   esac
   16442   ;;
   16443 
   16444 sysv4*MP*)
   16445   if test -d /usr/nec; then
   16446     version_type=linux # correct to gnu/linux during the next big refactor
   16447     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   16448     soname_spec='$libname$shared_ext.$major'
   16449     shlibpath_var=LD_LIBRARY_PATH
   16450   fi
   16451   ;;
   16452 
   16453 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16454   version_type=sco
   16455   need_lib_prefix=no
   16456   need_version=no
   16457   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   16458   soname_spec='$libname$release$shared_ext$major'
   16459   shlibpath_var=LD_LIBRARY_PATH
   16460   shlibpath_overrides_runpath=yes
   16461   hardcode_into_libs=yes
   16462   if test yes = "$with_gnu_ld"; then
   16463     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16464   else
   16465     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16466     case $host_os in
   16467       sco3.2v5*)
   16468         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16469 	;;
   16470     esac
   16471   fi
   16472   sys_lib_dlsearch_path_spec='/usr/lib'
   16473   ;;
   16474 
   16475 tpf*)
   16476   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16477   version_type=linux # correct to gnu/linux during the next big refactor
   16478   need_lib_prefix=no
   16479   need_version=no
   16480   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16481   shlibpath_var=LD_LIBRARY_PATH
   16482   shlibpath_overrides_runpath=no
   16483   hardcode_into_libs=yes
   16484   ;;
   16485 
   16486 uts4*)
   16487   version_type=linux # correct to gnu/linux during the next big refactor
   16488   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16489   soname_spec='$libname$release$shared_ext$major'
   16490   shlibpath_var=LD_LIBRARY_PATH
   16491   ;;
   16492 
   16493 *)
   16494   dynamic_linker=no
   16495   ;;
   16496 esac
   16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16498 $as_echo "$dynamic_linker" >&6; }
   16499 test no = "$dynamic_linker" && can_build_shared=no
   16500 
   16501 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16502 if test yes = "$GCC"; then
   16503   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16504 fi
   16505 
   16506 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   16507   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   16508 fi
   16509 
   16510 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   16511   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   16512 fi
   16513 
   16514 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   16515 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   16516 
   16517 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   16518 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   16519 
   16520 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   16521 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   16563 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16564 hardcode_action_CXX=
   16565 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   16566    test -n "$runpath_var_CXX" ||
   16567    test yes = "$hardcode_automatic_CXX"; then
   16568 
   16569   # We can hardcode non-existent directories.
   16570   if test no != "$hardcode_direct_CXX" &&
   16571      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16572      # have to relink, otherwise we might link with an installed library
   16573      # when we should be linking with a yet-to-be-installed one
   16574      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   16575      test no != "$hardcode_minus_L_CXX"; then
   16576     # Linking always hardcodes the temporary library directory.
   16577     hardcode_action_CXX=relink
   16578   else
   16579     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16580     hardcode_action_CXX=immediate
   16581   fi
   16582 else
   16583   # We cannot hardcode anything, or else we can only hardcode existing
   16584   # directories.
   16585   hardcode_action_CXX=unsupported
   16586 fi
   16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   16588 $as_echo "$hardcode_action_CXX" >&6; }
   16589 
   16590 if test relink = "$hardcode_action_CXX" ||
   16591    test yes = "$inherit_rpath_CXX"; then
   16592   # Fast installation is not supported
   16593   enable_fast_install=no
   16594 elif test yes = "$shlibpath_overrides_runpath" ||
   16595      test no = "$enable_shared"; then
   16596   # Fast installation is not necessary
   16597   enable_fast_install=needless
   16598 fi
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606   fi # test -n "$compiler"
   16607 
   16608   CC=$lt_save_CC
   16609   CFLAGS=$lt_save_CFLAGS
   16610   LDCXX=$LD
   16611   LD=$lt_save_LD
   16612   GCC=$lt_save_GCC
   16613   with_gnu_ld=$lt_save_with_gnu_ld
   16614   lt_cv_path_LDCXX=$lt_cv_path_LD
   16615   lt_cv_path_LD=$lt_save_path_LD
   16616   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   16617   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   16618 fi # test yes != "$_lt_caught_CXX_error"
   16619 
   16620 ac_ext=c
   16621 ac_cpp='$CPP $CPPFLAGS'
   16622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640         ac_config_commands="$ac_config_commands libtool"
   16641 
   16642 
   16643 
   16644 
   16645 # Only expand once:
   16646 
   16647 
   16648 
   16649 # Checks for dependencies.
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   16658 	if test -n "$ac_tool_prefix"; then
   16659   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   16660 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16662 $as_echo_n "checking for $ac_word... " >&6; }
   16663 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   16664   $as_echo_n "(cached) " >&6
   16665 else
   16666   case $PKG_CONFIG in
   16667   [\\/]* | ?:[\\/]*)
   16668   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   16669   ;;
   16670   *)
   16671   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16672 for as_dir in $PATH
   16673 do
   16674   IFS=$as_save_IFS
   16675   test -z "$as_dir" && as_dir=.
   16676     for ac_exec_ext in '' $ac_executable_extensions; do
   16677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16678     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16680     break 2
   16681   fi
   16682 done
   16683   done
   16684 IFS=$as_save_IFS
   16685 
   16686   ;;
   16687 esac
   16688 fi
   16689 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   16690 if test -n "$PKG_CONFIG"; then
   16691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   16692 $as_echo "$PKG_CONFIG" >&6; }
   16693 else
   16694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16695 $as_echo "no" >&6; }
   16696 fi
   16697 
   16698 
   16699 fi
   16700 if test -z "$ac_cv_path_PKG_CONFIG"; then
   16701   ac_pt_PKG_CONFIG=$PKG_CONFIG
   16702   # Extract the first word of "pkg-config", so it can be a program name with args.
   16703 set dummy pkg-config; ac_word=$2
   16704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16705 $as_echo_n "checking for $ac_word... " >&6; }
   16706 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   16707   $as_echo_n "(cached) " >&6
   16708 else
   16709   case $ac_pt_PKG_CONFIG in
   16710   [\\/]* | ?:[\\/]*)
   16711   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   16712   ;;
   16713   *)
   16714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16715 for as_dir in $PATH
   16716 do
   16717   IFS=$as_save_IFS
   16718   test -z "$as_dir" && as_dir=.
   16719     for ac_exec_ext in '' $ac_executable_extensions; do
   16720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16721     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   16722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16723     break 2
   16724   fi
   16725 done
   16726   done
   16727 IFS=$as_save_IFS
   16728 
   16729   ;;
   16730 esac
   16731 fi
   16732 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   16733 if test -n "$ac_pt_PKG_CONFIG"; then
   16734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   16735 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   16736 else
   16737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16738 $as_echo "no" >&6; }
   16739 fi
   16740 
   16741   if test "x$ac_pt_PKG_CONFIG" = x; then
   16742     PKG_CONFIG=""
   16743   else
   16744     case $cross_compiling:$ac_tool_warned in
   16745 yes:)
   16746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   16747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   16748 ac_tool_warned=yes ;;
   16749 esac
   16750     PKG_CONFIG=$ac_pt_PKG_CONFIG
   16751   fi
   16752 else
   16753   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   16754 fi
   16755 
   16756 fi
   16757 if test -n "$PKG_CONFIG"; then
   16758 	_pkg_min_version=0.9.0
   16759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   16760 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   16761 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   16762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16763 $as_echo "yes" >&6; }
   16764 	else
   16765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16766 $as_echo "no" >&6; }
   16767 		PKG_CONFIG=""
   16768 	fi
   16769 fi
   16770 
   16771 pkg_failed=no
   16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   16773 $as_echo_n "checking for X11... " >&6; }
   16774 
   16775 if test -n "$X11_CFLAGS"; then
   16776     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   16777  elif test -n "$PKG_CONFIG"; then
   16778     if test -n "$PKG_CONFIG" && \
   16779     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   16780   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   16781   ac_status=$?
   16782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16783   test $ac_status = 0; }; then
   16784   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   16785 		      test "x$?" != "x0" && pkg_failed=yes
   16786 else
   16787   pkg_failed=yes
   16788 fi
   16789  else
   16790     pkg_failed=untried
   16791 fi
   16792 if test -n "$X11_LIBS"; then
   16793     pkg_cv_X11_LIBS="$X11_LIBS"
   16794  elif test -n "$PKG_CONFIG"; then
   16795     if test -n "$PKG_CONFIG" && \
   16796     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   16797   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   16798   ac_status=$?
   16799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16800   test $ac_status = 0; }; then
   16801   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   16802 		      test "x$?" != "x0" && pkg_failed=yes
   16803 else
   16804   pkg_failed=yes
   16805 fi
   16806  else
   16807     pkg_failed=untried
   16808 fi
   16809 
   16810 
   16811 
   16812 if test $pkg_failed = yes; then
   16813    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16814 $as_echo "no" >&6; }
   16815 
   16816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16817         _pkg_short_errors_supported=yes
   16818 else
   16819         _pkg_short_errors_supported=no
   16820 fi
   16821         if test $_pkg_short_errors_supported = yes; then
   16822 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
   16823         else
   16824 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
   16825         fi
   16826 	# Put the nasty error message in config.log where it belongs
   16827 	echo "$X11_PKG_ERRORS" >&5
   16828 
   16829 	as_fn_error $? "Package requirements (x11) were not met:
   16830 
   16831 $X11_PKG_ERRORS
   16832 
   16833 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   16834 installed software in a non-standard prefix.
   16835 
   16836 Alternatively, you may set the environment variables X11_CFLAGS
   16837 and X11_LIBS to avoid the need to call pkg-config.
   16838 See the pkg-config man page for more details." "$LINENO" 5
   16839 elif test $pkg_failed = untried; then
   16840      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16841 $as_echo "no" >&6; }
   16842 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16844 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   16845 is in your PATH or set the PKG_CONFIG environment variable to the full
   16846 path to pkg-config.
   16847 
   16848 Alternatively, you may set the environment variables X11_CFLAGS
   16849 and X11_LIBS to avoid the need to call pkg-config.
   16850 See the pkg-config man page for more details.
   16851 
   16852 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   16853 See \`config.log' for more details" "$LINENO" 5; }
   16854 else
   16855 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   16856 	X11_LIBS=$pkg_cv_X11_LIBS
   16857         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16858 $as_echo "yes" >&6; }
   16859 
   16860 fi
   16861 
   16862 
   16863 
   16864 # Check for optional dependencies.
   16865 # Check whether --enable-dri2 was given.
   16866 if test "${enable_dri2+set}" = set; then :
   16867   enableval=$enable_dri2; DRI2=$enableval
   16868 else
   16869   DRI2=auto
   16870 fi
   16871 
   16872 
   16873 pkg_failed=no
   16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dri2proto" >&5
   16875 $as_echo_n "checking for dri2proto... " >&6; }
   16876 
   16877 if test -n "$dri2proto_CFLAGS"; then
   16878     pkg_cv_dri2proto_CFLAGS="$dri2proto_CFLAGS"
   16879  elif test -n "$PKG_CONFIG"; then
   16880     if test -n "$PKG_CONFIG" && \
   16881     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dri2proto >= 2.2\""; } >&5
   16882   ($PKG_CONFIG --exists --print-errors "dri2proto >= 2.2") 2>&5
   16883   ac_status=$?
   16884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16885   test $ac_status = 0; }; then
   16886   pkg_cv_dri2proto_CFLAGS=`$PKG_CONFIG --cflags "dri2proto >= 2.2" 2>/dev/null`
   16887 		      test "x$?" != "x0" && pkg_failed=yes
   16888 else
   16889   pkg_failed=yes
   16890 fi
   16891  else
   16892     pkg_failed=untried
   16893 fi
   16894 if test -n "$dri2proto_LIBS"; then
   16895     pkg_cv_dri2proto_LIBS="$dri2proto_LIBS"
   16896  elif test -n "$PKG_CONFIG"; then
   16897     if test -n "$PKG_CONFIG" && \
   16898     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dri2proto >= 2.2\""; } >&5
   16899   ($PKG_CONFIG --exists --print-errors "dri2proto >= 2.2") 2>&5
   16900   ac_status=$?
   16901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16902   test $ac_status = 0; }; then
   16903   pkg_cv_dri2proto_LIBS=`$PKG_CONFIG --libs "dri2proto >= 2.2" 2>/dev/null`
   16904 		      test "x$?" != "x0" && pkg_failed=yes
   16905 else
   16906   pkg_failed=yes
   16907 fi
   16908  else
   16909     pkg_failed=untried
   16910 fi
   16911 
   16912 
   16913 
   16914 if test $pkg_failed = yes; then
   16915    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16916 $as_echo "no" >&6; }
   16917 
   16918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16919         _pkg_short_errors_supported=yes
   16920 else
   16921         _pkg_short_errors_supported=no
   16922 fi
   16923         if test $_pkg_short_errors_supported = yes; then
   16924 	        dri2proto_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dri2proto >= 2.2" 2>&1`
   16925         else
   16926 	        dri2proto_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dri2proto >= 2.2" 2>&1`
   16927         fi
   16928 	# Put the nasty error message in config.log where it belongs
   16929 	echo "$dri2proto_PKG_ERRORS" >&5
   16930 
   16931 	HAVE_DRI2PROTO=no
   16932 elif test $pkg_failed = untried; then
   16933      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16934 $as_echo "no" >&6; }
   16935 	HAVE_DRI2PROTO=no
   16936 else
   16937 	dri2proto_CFLAGS=$pkg_cv_dri2proto_CFLAGS
   16938 	dri2proto_LIBS=$pkg_cv_dri2proto_LIBS
   16939         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16940 $as_echo "yes" >&6; }
   16941 	HAVE_DRI2PROTO=yes
   16942 fi
   16943 case "$DRI2,$HAVE_DRI2PROTO" in
   16944     yes,no)
   16945         as_fn_error $? "DRI2 queries require dri2proto >= 2.2" "$LINENO" 5
   16946         ;;
   16947     yes,yes | auto,yes)
   16948 
   16949 $as_echo "#define DRI2 1" >>confdefs.h
   16950 
   16951         DRI2=yes
   16952 
   16953 pkg_failed=no
   16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   16955 $as_echo_n "checking for XEXT... " >&6; }
   16956 
   16957 if test -n "$XEXT_CFLAGS"; then
   16958     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   16959  elif test -n "$PKG_CONFIG"; then
   16960     if test -n "$PKG_CONFIG" && \
   16961     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
   16962   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
   16963   ac_status=$?
   16964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16965   test $ac_status = 0; }; then
   16966   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
   16967 		      test "x$?" != "x0" && pkg_failed=yes
   16968 else
   16969   pkg_failed=yes
   16970 fi
   16971  else
   16972     pkg_failed=untried
   16973 fi
   16974 if test -n "$XEXT_LIBS"; then
   16975     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   16976  elif test -n "$PKG_CONFIG"; then
   16977     if test -n "$PKG_CONFIG" && \
   16978     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
   16979   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
   16980   ac_status=$?
   16981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16982   test $ac_status = 0; }; then
   16983   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
   16984 		      test "x$?" != "x0" && pkg_failed=yes
   16985 else
   16986   pkg_failed=yes
   16987 fi
   16988  else
   16989     pkg_failed=untried
   16990 fi
   16991 
   16992 
   16993 
   16994 if test $pkg_failed = yes; then
   16995    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16996 $as_echo "no" >&6; }
   16997 
   16998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16999         _pkg_short_errors_supported=yes
   17000 else
   17001         _pkg_short_errors_supported=no
   17002 fi
   17003         if test $_pkg_short_errors_supported = yes; then
   17004 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
   17005         else
   17006 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
   17007         fi
   17008 	# Put the nasty error message in config.log where it belongs
   17009 	echo "$XEXT_PKG_ERRORS" >&5
   17010 
   17011 	as_fn_error $? "Package requirements (xext) were not met:
   17012 
   17013 $XEXT_PKG_ERRORS
   17014 
   17015 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17016 installed software in a non-standard prefix.
   17017 
   17018 Alternatively, you may set the environment variables XEXT_CFLAGS
   17019 and XEXT_LIBS to avoid the need to call pkg-config.
   17020 See the pkg-config man page for more details." "$LINENO" 5
   17021 elif test $pkg_failed = untried; then
   17022      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17023 $as_echo "no" >&6; }
   17024 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17026 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17027 is in your PATH or set the PKG_CONFIG environment variable to the full
   17028 path to pkg-config.
   17029 
   17030 Alternatively, you may set the environment variables XEXT_CFLAGS
   17031 and XEXT_LIBS to avoid the need to call pkg-config.
   17032 See the pkg-config man page for more details.
   17033 
   17034 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17035 See \`config.log' for more details" "$LINENO" 5; }
   17036 else
   17037 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   17038 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   17039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17040 $as_echo "yes" >&6; }
   17041 
   17042 fi
   17043 
   17044 
   17045         ;;
   17046 esac
   17047  if test "x$DRI2" = xyes; then
   17048   DRI2_TRUE=
   17049   DRI2_FALSE='#'
   17050 else
   17051   DRI2_TRUE='#'
   17052   DRI2_FALSE=
   17053 fi
   17054 
   17055 
   17056 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17057 if test "x$ac_cv_func_dlopen" = xyes; then :
   17058 
   17059 else
   17060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17061 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17062 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17063   $as_echo_n "(cached) " >&6
   17064 else
   17065   ac_check_lib_save_LIBS=$LIBS
   17066 LIBS="-ldl  $LIBS"
   17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17068 /* end confdefs.h.  */
   17069 
   17070 /* Override any GCC internal prototype to avoid an error.
   17071    Use char because int might match the return type of a GCC
   17072    builtin and then its argument prototype would still apply.  */
   17073 #ifdef __cplusplus
   17074 extern "C"
   17075 #endif
   17076 char dlopen ();
   17077 int
   17078 main ()
   17079 {
   17080 return dlopen ();
   17081   ;
   17082   return 0;
   17083 }
   17084 _ACEOF
   17085 if ac_fn_c_try_link "$LINENO"; then :
   17086   ac_cv_lib_dl_dlopen=yes
   17087 else
   17088   ac_cv_lib_dl_dlopen=no
   17089 fi
   17090 rm -f core conftest.err conftest.$ac_objext \
   17091     conftest$ac_exeext conftest.$ac_ext
   17092 LIBS=$ac_check_lib_save_LIBS
   17093 fi
   17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17095 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17096 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17097   DLOPEN_LIBS="-ldl"
   17098 fi
   17099 
   17100 fi
   17101 
   17102 
   17103 
   17104 # Look for POSIX threads
   17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_once" >&5
   17106 $as_echo_n "checking for library containing pthread_once... " >&6; }
   17107 if ${ac_cv_search_pthread_once+:} false; then :
   17108   $as_echo_n "(cached) " >&6
   17109 else
   17110   ac_func_search_save_LIBS=$LIBS
   17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 
   17114 /* Override any GCC internal prototype to avoid an error.
   17115    Use char because int might match the return type of a GCC
   17116    builtin and then its argument prototype would still apply.  */
   17117 #ifdef __cplusplus
   17118 extern "C"
   17119 #endif
   17120 char pthread_once ();
   17121 int
   17122 main ()
   17123 {
   17124 return pthread_once ();
   17125   ;
   17126   return 0;
   17127 }
   17128 _ACEOF
   17129 for ac_lib in '' pthread pthreads c_r; do
   17130   if test -z "$ac_lib"; then
   17131     ac_res="none required"
   17132   else
   17133     ac_res=-l$ac_lib
   17134     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17135   fi
   17136   if ac_fn_c_try_link "$LINENO"; then :
   17137   ac_cv_search_pthread_once=$ac_res
   17138 fi
   17139 rm -f core conftest.err conftest.$ac_objext \
   17140     conftest$ac_exeext
   17141   if ${ac_cv_search_pthread_once+:} false; then :
   17142   break
   17143 fi
   17144 done
   17145 if ${ac_cv_search_pthread_once+:} false; then :
   17146 
   17147 else
   17148   ac_cv_search_pthread_once=no
   17149 fi
   17150 rm conftest.$ac_ext
   17151 LIBS=$ac_func_search_save_LIBS
   17152 fi
   17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_once" >&5
   17154 $as_echo "$ac_cv_search_pthread_once" >&6; }
   17155 ac_res=$ac_cv_search_pthread_once
   17156 if test "$ac_res" != no; then :
   17157   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17158 
   17159     if test "$ac_cv_search_pthread_once" != "none required"; then :
   17160 
   17161         PTHREAD_LIBS="$ac_cv_search_pthread_once"
   17162 
   17163 fi
   17164 
   17165 fi
   17166 
   17167 
   17168 
   17169 # Check for Doxygen.
   17170 # Check whether --enable-documentation was given.
   17171 if test "${enable_documentation+set}" = set; then :
   17172   enableval=$enable_documentation; DOCS=$enableval
   17173 else
   17174   DOCS=auto
   17175 fi
   17176 
   17177 if test "x$DOCS" != xno; then
   17178     if test -n "$ac_tool_prefix"; then
   17179   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
   17180 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
   17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17182 $as_echo_n "checking for $ac_word... " >&6; }
   17183 if ${ac_cv_prog_DOXYGEN+:} false; then :
   17184   $as_echo_n "(cached) " >&6
   17185 else
   17186   if test -n "$DOXYGEN"; then
   17187   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
   17188 else
   17189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17190 for as_dir in $PATH
   17191 do
   17192   IFS=$as_save_IFS
   17193   test -z "$as_dir" && as_dir=.
   17194     for ac_exec_ext in '' $ac_executable_extensions; do
   17195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17196     ac_cv_prog_DOXYGEN="${ac_tool_prefix}doxygen"
   17197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17198     break 2
   17199   fi
   17200 done
   17201   done
   17202 IFS=$as_save_IFS
   17203 
   17204 fi
   17205 fi
   17206 DOXYGEN=$ac_cv_prog_DOXYGEN
   17207 if test -n "$DOXYGEN"; then
   17208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   17209 $as_echo "$DOXYGEN" >&6; }
   17210 else
   17211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17212 $as_echo "no" >&6; }
   17213 fi
   17214 
   17215 
   17216 fi
   17217 if test -z "$ac_cv_prog_DOXYGEN"; then
   17218   ac_ct_DOXYGEN=$DOXYGEN
   17219   # Extract the first word of "doxygen", so it can be a program name with args.
   17220 set dummy doxygen; ac_word=$2
   17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17222 $as_echo_n "checking for $ac_word... " >&6; }
   17223 if ${ac_cv_prog_ac_ct_DOXYGEN+:} false; then :
   17224   $as_echo_n "(cached) " >&6
   17225 else
   17226   if test -n "$ac_ct_DOXYGEN"; then
   17227   ac_cv_prog_ac_ct_DOXYGEN="$ac_ct_DOXYGEN" # Let the user override the test.
   17228 else
   17229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17230 for as_dir in $PATH
   17231 do
   17232   IFS=$as_save_IFS
   17233   test -z "$as_dir" && as_dir=.
   17234     for ac_exec_ext in '' $ac_executable_extensions; do
   17235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17236     ac_cv_prog_ac_ct_DOXYGEN="doxygen"
   17237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17238     break 2
   17239   fi
   17240 done
   17241   done
   17242 IFS=$as_save_IFS
   17243 
   17244 fi
   17245 fi
   17246 ac_ct_DOXYGEN=$ac_cv_prog_ac_ct_DOXYGEN
   17247 if test -n "$ac_ct_DOXYGEN"; then
   17248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DOXYGEN" >&5
   17249 $as_echo "$ac_ct_DOXYGEN" >&6; }
   17250 else
   17251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17252 $as_echo "no" >&6; }
   17253 fi
   17254 
   17255   if test "x$ac_ct_DOXYGEN" = x; then
   17256     DOXYGEN="no"
   17257   else
   17258     case $cross_compiling:$ac_tool_warned in
   17259 yes:)
   17260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   17261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   17262 ac_tool_warned=yes ;;
   17263 esac
   17264     DOXYGEN=$ac_ct_DOXYGEN
   17265   fi
   17266 else
   17267   DOXYGEN="$ac_cv_prog_DOXYGEN"
   17268 fi
   17269 
   17270     if test -n "$ac_tool_prefix"; then
   17271   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
   17272 set dummy ${ac_tool_prefix}dot; ac_word=$2
   17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17274 $as_echo_n "checking for $ac_word... " >&6; }
   17275 if ${ac_cv_prog_DOT+:} false; then :
   17276   $as_echo_n "(cached) " >&6
   17277 else
   17278   if test -n "$DOT"; then
   17279   ac_cv_prog_DOT="$DOT" # Let the user override the test.
   17280 else
   17281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17282 for as_dir in $PATH
   17283 do
   17284   IFS=$as_save_IFS
   17285   test -z "$as_dir" && as_dir=.
   17286     for ac_exec_ext in '' $ac_executable_extensions; do
   17287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17288     ac_cv_prog_DOT="${ac_tool_prefix}dot"
   17289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17290     break 2
   17291   fi
   17292 done
   17293   done
   17294 IFS=$as_save_IFS
   17295 
   17296 fi
   17297 fi
   17298 DOT=$ac_cv_prog_DOT
   17299 if test -n "$DOT"; then
   17300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   17301 $as_echo "$DOT" >&6; }
   17302 else
   17303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17304 $as_echo "no" >&6; }
   17305 fi
   17306 
   17307 
   17308 fi
   17309 if test -z "$ac_cv_prog_DOT"; then
   17310   ac_ct_DOT=$DOT
   17311   # Extract the first word of "dot", so it can be a program name with args.
   17312 set dummy dot; ac_word=$2
   17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17314 $as_echo_n "checking for $ac_word... " >&6; }
   17315 if ${ac_cv_prog_ac_ct_DOT+:} false; then :
   17316   $as_echo_n "(cached) " >&6
   17317 else
   17318   if test -n "$ac_ct_DOT"; then
   17319   ac_cv_prog_ac_ct_DOT="$ac_ct_DOT" # Let the user override the test.
   17320 else
   17321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17322 for as_dir in $PATH
   17323 do
   17324   IFS=$as_save_IFS
   17325   test -z "$as_dir" && as_dir=.
   17326     for ac_exec_ext in '' $ac_executable_extensions; do
   17327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17328     ac_cv_prog_ac_ct_DOT="dot"
   17329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17330     break 2
   17331   fi
   17332 done
   17333   done
   17334 IFS=$as_save_IFS
   17335 
   17336 fi
   17337 fi
   17338 ac_ct_DOT=$ac_cv_prog_ac_ct_DOT
   17339 if test -n "$ac_ct_DOT"; then
   17340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DOT" >&5
   17341 $as_echo "$ac_ct_DOT" >&6; }
   17342 else
   17343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17344 $as_echo "no" >&6; }
   17345 fi
   17346 
   17347   if test "x$ac_ct_DOT" = x; then
   17348     DOT="no"
   17349   else
   17350     case $cross_compiling:$ac_tool_warned in
   17351 yes:)
   17352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   17353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   17354 ac_tool_warned=yes ;;
   17355 esac
   17356     DOT=$ac_ct_DOT
   17357   fi
   17358 else
   17359   DOT="$ac_cv_prog_DOT"
   17360 fi
   17361 
   17362 else
   17363     DOXYGEN=no
   17364     DOT=no
   17365 fi
   17366 if test "x$DOCS" = xyes; then
   17367     if test "x$DOXYGEN" = xno; then
   17368         as_fn_error $? "Documentation enabled but doxygen was not found in your path" "$LINENO" 5
   17369     fi
   17370     if test "x$DOT" = xno; then
   17371         as_fn_error $? "Documentation enabled but dot was not found in your path.  Please install graphviz" "$LINENO" 5
   17372     fi
   17373 fi
   17374  if test "x$DOXYGEN" != xno -a "x$DOT" != xno; then
   17375   ENABLE_DOCS_TRUE=
   17376   ENABLE_DOCS_FALSE='#'
   17377 else
   17378   ENABLE_DOCS_TRUE='#'
   17379   ENABLE_DOCS_FALSE=
   17380 fi
   17381 
   17382 
   17383 
   17384 # Options
   17385 
   17386 # Check whether --with-module-dir was given.
   17387 if test "${with_module_dir+set}" = set; then :
   17388   withval=$with_module_dir; moduledir="$withval"
   17389 else
   17390   moduledir="$libdir/vdpau"
   17391 fi
   17392 
   17393 
   17394 
   17395 
   17396 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   17397 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   17398 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17399 
   17400 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   17401 
   17402 
   17403 
   17404 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile test/Makefile trace/Makefile vdpau.pc"
   17405 
   17406 cat >confcache <<\_ACEOF
   17407 # This file is a shell script that caches the results of configure
   17408 # tests run on this system so they can be shared between configure
   17409 # scripts and configure runs, see configure's option --config-cache.
   17410 # It is not useful on other systems.  If it contains results you don't
   17411 # want to keep, you may remove or edit it.
   17412 #
   17413 # config.status only pays attention to the cache file if you give it
   17414 # the --recheck option to rerun configure.
   17415 #
   17416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17418 # following values.
   17419 
   17420 _ACEOF
   17421 
   17422 # The following way of writing the cache mishandles newlines in values,
   17423 # but we know of no workaround that is simple, portable, and efficient.
   17424 # So, we kill variables containing newlines.
   17425 # Ultrix sh set writes to stderr and can't be redirected directly,
   17426 # and sets the high bit in the cache file unless we assign to the vars.
   17427 (
   17428   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17429     eval ac_val=\$$ac_var
   17430     case $ac_val in #(
   17431     *${as_nl}*)
   17432       case $ac_var in #(
   17433       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17435       esac
   17436       case $ac_var in #(
   17437       _ | IFS | as_nl) ;; #(
   17438       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17439       *) { eval $ac_var=; unset $ac_var;} ;;
   17440       esac ;;
   17441     esac
   17442   done
   17443 
   17444   (set) 2>&1 |
   17445     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17446     *${as_nl}ac_space=\ *)
   17447       # `set' does not quote correctly, so add quotes: double-quote
   17448       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17449       sed -n \
   17450 	"s/'/'\\\\''/g;
   17451 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17452       ;; #(
   17453     *)
   17454       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17455       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17456       ;;
   17457     esac |
   17458     sort
   17459 ) |
   17460   sed '
   17461      /^ac_cv_env_/b end
   17462      t clear
   17463      :clear
   17464      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17465      t end
   17466      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17467      :end' >>confcache
   17468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17469   if test -w "$cache_file"; then
   17470     if test "x$cache_file" != "x/dev/null"; then
   17471       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17472 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17473       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17474 	cat confcache >"$cache_file"
   17475       else
   17476         case $cache_file in #(
   17477         */* | ?:*)
   17478 	  mv -f confcache "$cache_file"$$ &&
   17479 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17480         *)
   17481 	  mv -f confcache "$cache_file" ;;
   17482 	esac
   17483       fi
   17484     fi
   17485   else
   17486     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17487 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17488   fi
   17489 fi
   17490 rm -f confcache
   17491 
   17492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17493 # Let make expand exec_prefix.
   17494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17495 
   17496 DEFS=-DHAVE_CONFIG_H
   17497 
   17498 ac_libobjs=
   17499 ac_ltlibobjs=
   17500 U=
   17501 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17502   # 1. Remove the extension, and $U if already installed.
   17503   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17504   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17505   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17506   #    will be set to the directory where LIBOBJS objects are built.
   17507   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17508   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17509 done
   17510 LIBOBJS=$ac_libobjs
   17511 
   17512 LTLIBOBJS=$ac_ltlibobjs
   17513 
   17514 
   17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17516 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17517    if test -n "$am_sleep_pid"; then
   17518      # Hide warnings about reused PIDs.
   17519      wait $am_sleep_pid 2>/dev/null
   17520    fi
   17521    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17522 $as_echo "done" >&6; }
   17523  if test -n "$EXEEXT"; then
   17524   am__EXEEXT_TRUE=
   17525   am__EXEEXT_FALSE='#'
   17526 else
   17527   am__EXEEXT_TRUE='#'
   17528   am__EXEEXT_FALSE=
   17529 fi
   17530 
   17531 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17532   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17534 fi
   17535 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17536   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17538 fi
   17539 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17540   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17542 fi
   17543 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17544   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17546 fi
   17547 if test -z "${DRI2_TRUE}" && test -z "${DRI2_FALSE}"; then
   17548   as_fn_error $? "conditional \"DRI2\" was never defined.
   17549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17550 fi
   17551 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   17552   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   17553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17554 fi
   17555 
   17556 : "${CONFIG_STATUS=./config.status}"
   17557 ac_write_fail=0
   17558 ac_clean_files_save=$ac_clean_files
   17559 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17560 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17561 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17562 as_write_fail=0
   17563 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17564 #! $SHELL
   17565 # Generated by $as_me.
   17566 # Run this file to recreate the current configuration.
   17567 # Compiler output produced by configure, useful for debugging
   17568 # configure, is in config.log if it exists.
   17569 
   17570 debug=false
   17571 ac_cs_recheck=false
   17572 ac_cs_silent=false
   17573 
   17574 SHELL=\${CONFIG_SHELL-$SHELL}
   17575 export SHELL
   17576 _ASEOF
   17577 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17578 ## -------------------- ##
   17579 ## M4sh Initialization. ##
   17580 ## -------------------- ##
   17581 
   17582 # Be more Bourne compatible
   17583 DUALCASE=1; export DUALCASE # for MKS sh
   17584 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17585   emulate sh
   17586   NULLCMD=:
   17587   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17588   # is contrary to our usage.  Disable this feature.
   17589   alias -g '${1+"$@"}'='"$@"'
   17590   setopt NO_GLOB_SUBST
   17591 else
   17592   case `(set -o) 2>/dev/null` in #(
   17593   *posix*) :
   17594     set -o posix ;; #(
   17595   *) :
   17596      ;;
   17597 esac
   17598 fi
   17599 
   17600 
   17601 as_nl='
   17602 '
   17603 export as_nl
   17604 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17605 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17608 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17609 # but without wasting forks for bash or zsh.
   17610 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17611     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17612   as_echo='print -r --'
   17613   as_echo_n='print -rn --'
   17614 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17615   as_echo='printf %s\n'
   17616   as_echo_n='printf %s'
   17617 else
   17618   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17619     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17620     as_echo_n='/usr/ucb/echo -n'
   17621   else
   17622     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17623     as_echo_n_body='eval
   17624       arg=$1;
   17625       case $arg in #(
   17626       *"$as_nl"*)
   17627 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17628 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17629       esac;
   17630       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17631     '
   17632     export as_echo_n_body
   17633     as_echo_n='sh -c $as_echo_n_body as_echo'
   17634   fi
   17635   export as_echo_body
   17636   as_echo='sh -c $as_echo_body as_echo'
   17637 fi
   17638 
   17639 # The user is always right.
   17640 if test "${PATH_SEPARATOR+set}" != set; then
   17641   PATH_SEPARATOR=:
   17642   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17643     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17644       PATH_SEPARATOR=';'
   17645   }
   17646 fi
   17647 
   17648 
   17649 # IFS
   17650 # We need space, tab and new line, in precisely that order.  Quoting is
   17651 # there to prevent editors from complaining about space-tab.
   17652 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17653 # splitting by setting IFS to empty value.)
   17654 IFS=" ""	$as_nl"
   17655 
   17656 # Find who we are.  Look in the path if we contain no directory separator.
   17657 as_myself=
   17658 case $0 in #((
   17659   *[\\/]* ) as_myself=$0 ;;
   17660   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17661 for as_dir in $PATH
   17662 do
   17663   IFS=$as_save_IFS
   17664   test -z "$as_dir" && as_dir=.
   17665     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17666   done
   17667 IFS=$as_save_IFS
   17668 
   17669      ;;
   17670 esac
   17671 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17672 # in which case we are not to be found in the path.
   17673 if test "x$as_myself" = x; then
   17674   as_myself=$0
   17675 fi
   17676 if test ! -f "$as_myself"; then
   17677   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17678   exit 1
   17679 fi
   17680 
   17681 # Unset variables that we do not need and which cause bugs (e.g. in
   17682 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17683 # suppresses any "Segmentation fault" message there.  '((' could
   17684 # trigger a bug in pdksh 5.2.14.
   17685 for as_var in BASH_ENV ENV MAIL MAILPATH
   17686 do eval test x\${$as_var+set} = xset \
   17687   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17688 done
   17689 PS1='$ '
   17690 PS2='> '
   17691 PS4='+ '
   17692 
   17693 # NLS nuisances.
   17694 LC_ALL=C
   17695 export LC_ALL
   17696 LANGUAGE=C
   17697 export LANGUAGE
   17698 
   17699 # CDPATH.
   17700 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17701 
   17702 
   17703 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17704 # ----------------------------------------
   17705 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17706 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17707 # script with STATUS, using 1 if that was 0.
   17708 as_fn_error ()
   17709 {
   17710   as_status=$1; test $as_status -eq 0 && as_status=1
   17711   if test "$4"; then
   17712     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17713     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17714   fi
   17715   $as_echo "$as_me: error: $2" >&2
   17716   as_fn_exit $as_status
   17717 } # as_fn_error
   17718 
   17719 
   17720 # as_fn_set_status STATUS
   17721 # -----------------------
   17722 # Set $? to STATUS, without forking.
   17723 as_fn_set_status ()
   17724 {
   17725   return $1
   17726 } # as_fn_set_status
   17727 
   17728 # as_fn_exit STATUS
   17729 # -----------------
   17730 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17731 as_fn_exit ()
   17732 {
   17733   set +e
   17734   as_fn_set_status $1
   17735   exit $1
   17736 } # as_fn_exit
   17737 
   17738 # as_fn_unset VAR
   17739 # ---------------
   17740 # Portably unset VAR.
   17741 as_fn_unset ()
   17742 {
   17743   { eval $1=; unset $1;}
   17744 }
   17745 as_unset=as_fn_unset
   17746 # as_fn_append VAR VALUE
   17747 # ----------------------
   17748 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17749 # advantage of any shell optimizations that allow amortized linear growth over
   17750 # repeated appends, instead of the typical quadratic growth present in naive
   17751 # implementations.
   17752 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17753   eval 'as_fn_append ()
   17754   {
   17755     eval $1+=\$2
   17756   }'
   17757 else
   17758   as_fn_append ()
   17759   {
   17760     eval $1=\$$1\$2
   17761   }
   17762 fi # as_fn_append
   17763 
   17764 # as_fn_arith ARG...
   17765 # ------------------
   17766 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17767 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17768 # must be portable across $(()) and expr.
   17769 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17770   eval 'as_fn_arith ()
   17771   {
   17772     as_val=$(( $* ))
   17773   }'
   17774 else
   17775   as_fn_arith ()
   17776   {
   17777     as_val=`expr "$@" || test $? -eq 1`
   17778   }
   17779 fi # as_fn_arith
   17780 
   17781 
   17782 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17783    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17784   as_expr=expr
   17785 else
   17786   as_expr=false
   17787 fi
   17788 
   17789 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17790   as_basename=basename
   17791 else
   17792   as_basename=false
   17793 fi
   17794 
   17795 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17796   as_dirname=dirname
   17797 else
   17798   as_dirname=false
   17799 fi
   17800 
   17801 as_me=`$as_basename -- "$0" ||
   17802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17803 	 X"$0" : 'X\(//\)$' \| \
   17804 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17805 $as_echo X/"$0" |
   17806     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17807 	    s//\1/
   17808 	    q
   17809 	  }
   17810 	  /^X\/\(\/\/\)$/{
   17811 	    s//\1/
   17812 	    q
   17813 	  }
   17814 	  /^X\/\(\/\).*/{
   17815 	    s//\1/
   17816 	    q
   17817 	  }
   17818 	  s/.*/./; q'`
   17819 
   17820 # Avoid depending upon Character Ranges.
   17821 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17822 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17823 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17824 as_cr_digits='0123456789'
   17825 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17826 
   17827 ECHO_C= ECHO_N= ECHO_T=
   17828 case `echo -n x` in #(((((
   17829 -n*)
   17830   case `echo 'xy\c'` in
   17831   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17832   xy)  ECHO_C='\c';;
   17833   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17834        ECHO_T='	';;
   17835   esac;;
   17836 *)
   17837   ECHO_N='-n';;
   17838 esac
   17839 
   17840 rm -f conf$$ conf$$.exe conf$$.file
   17841 if test -d conf$$.dir; then
   17842   rm -f conf$$.dir/conf$$.file
   17843 else
   17844   rm -f conf$$.dir
   17845   mkdir conf$$.dir 2>/dev/null
   17846 fi
   17847 if (echo >conf$$.file) 2>/dev/null; then
   17848   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17849     as_ln_s='ln -s'
   17850     # ... but there are two gotchas:
   17851     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17852     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17853     # In both cases, we have to default to `cp -pR'.
   17854     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17855       as_ln_s='cp -pR'
   17856   elif ln conf$$.file conf$$ 2>/dev/null; then
   17857     as_ln_s=ln
   17858   else
   17859     as_ln_s='cp -pR'
   17860   fi
   17861 else
   17862   as_ln_s='cp -pR'
   17863 fi
   17864 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17865 rmdir conf$$.dir 2>/dev/null
   17866 
   17867 
   17868 # as_fn_mkdir_p
   17869 # -------------
   17870 # Create "$as_dir" as a directory, including parents if necessary.
   17871 as_fn_mkdir_p ()
   17872 {
   17873 
   17874   case $as_dir in #(
   17875   -*) as_dir=./$as_dir;;
   17876   esac
   17877   test -d "$as_dir" || eval $as_mkdir_p || {
   17878     as_dirs=
   17879     while :; do
   17880       case $as_dir in #(
   17881       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17882       *) as_qdir=$as_dir;;
   17883       esac
   17884       as_dirs="'$as_qdir' $as_dirs"
   17885       as_dir=`$as_dirname -- "$as_dir" ||
   17886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17887 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17888 	 X"$as_dir" : 'X\(//\)$' \| \
   17889 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17890 $as_echo X"$as_dir" |
   17891     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17892 	    s//\1/
   17893 	    q
   17894 	  }
   17895 	  /^X\(\/\/\)[^/].*/{
   17896 	    s//\1/
   17897 	    q
   17898 	  }
   17899 	  /^X\(\/\/\)$/{
   17900 	    s//\1/
   17901 	    q
   17902 	  }
   17903 	  /^X\(\/\).*/{
   17904 	    s//\1/
   17905 	    q
   17906 	  }
   17907 	  s/.*/./; q'`
   17908       test -d "$as_dir" && break
   17909     done
   17910     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17911   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17912 
   17913 
   17914 } # as_fn_mkdir_p
   17915 if mkdir -p . 2>/dev/null; then
   17916   as_mkdir_p='mkdir -p "$as_dir"'
   17917 else
   17918   test -d ./-p && rmdir ./-p
   17919   as_mkdir_p=false
   17920 fi
   17921 
   17922 
   17923 # as_fn_executable_p FILE
   17924 # -----------------------
   17925 # Test if FILE is an executable regular file.
   17926 as_fn_executable_p ()
   17927 {
   17928   test -f "$1" && test -x "$1"
   17929 } # as_fn_executable_p
   17930 as_test_x='test -x'
   17931 as_executable_p=as_fn_executable_p
   17932 
   17933 # Sed expression to map a string onto a valid CPP name.
   17934 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17935 
   17936 # Sed expression to map a string onto a valid variable name.
   17937 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17938 
   17939 
   17940 exec 6>&1
   17941 ## ----------------------------------- ##
   17942 ## Main body of $CONFIG_STATUS script. ##
   17943 ## ----------------------------------- ##
   17944 _ASEOF
   17945 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17946 
   17947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17948 # Save the log message, to keep $0 and so on meaningful, and to
   17949 # report actual input values of CONFIG_FILES etc. instead of their
   17950 # values after options handling.
   17951 ac_log="
   17952 This file was extended by libvdpau $as_me 1.2, which was
   17953 generated by GNU Autoconf 2.69.  Invocation command line was
   17954 
   17955   CONFIG_FILES    = $CONFIG_FILES
   17956   CONFIG_HEADERS  = $CONFIG_HEADERS
   17957   CONFIG_LINKS    = $CONFIG_LINKS
   17958   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17959   $ $0 $@
   17960 
   17961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17962 "
   17963 
   17964 _ACEOF
   17965 
   17966 case $ac_config_files in *"
   17967 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17968 esac
   17969 
   17970 case $ac_config_headers in *"
   17971 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17972 esac
   17973 
   17974 
   17975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17976 # Files that config.status was made for.
   17977 config_files="$ac_config_files"
   17978 config_headers="$ac_config_headers"
   17979 config_commands="$ac_config_commands"
   17980 
   17981 _ACEOF
   17982 
   17983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17984 ac_cs_usage="\
   17985 \`$as_me' instantiates files and other configuration actions
   17986 from templates according to the current configuration.  Unless the files
   17987 and actions are specified as TAGs, all are instantiated by default.
   17988 
   17989 Usage: $0 [OPTION]... [TAG]...
   17990 
   17991   -h, --help       print this help, then exit
   17992   -V, --version    print version number and configuration settings, then exit
   17993       --config     print configuration, then exit
   17994   -q, --quiet, --silent
   17995                    do not print progress messages
   17996   -d, --debug      don't remove temporary files
   17997       --recheck    update $as_me by reconfiguring in the same conditions
   17998       --file=FILE[:TEMPLATE]
   17999                    instantiate the configuration file FILE
   18000       --header=FILE[:TEMPLATE]
   18001                    instantiate the configuration header FILE
   18002 
   18003 Configuration files:
   18004 $config_files
   18005 
   18006 Configuration headers:
   18007 $config_headers
   18008 
   18009 Configuration commands:
   18010 $config_commands
   18011 
   18012 Report bugs to <vdpau@lists.freedesktop.org>."
   18013 
   18014 _ACEOF
   18015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18017 ac_cs_version="\\
   18018 libvdpau config.status 1.2
   18019 configured by $0, generated by GNU Autoconf 2.69,
   18020   with options \\"\$ac_cs_config\\"
   18021 
   18022 Copyright (C) 2012 Free Software Foundation, Inc.
   18023 This config.status script is free software; the Free Software Foundation
   18024 gives unlimited permission to copy, distribute and modify it."
   18025 
   18026 ac_pwd='$ac_pwd'
   18027 srcdir='$srcdir'
   18028 INSTALL='$INSTALL'
   18029 MKDIR_P='$MKDIR_P'
   18030 AWK='$AWK'
   18031 test -n "\$AWK" || AWK=awk
   18032 _ACEOF
   18033 
   18034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18035 # The default lists apply if the user does not specify any file.
   18036 ac_need_defaults=:
   18037 while test $# != 0
   18038 do
   18039   case $1 in
   18040   --*=?*)
   18041     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18042     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18043     ac_shift=:
   18044     ;;
   18045   --*=)
   18046     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18047     ac_optarg=
   18048     ac_shift=:
   18049     ;;
   18050   *)
   18051     ac_option=$1
   18052     ac_optarg=$2
   18053     ac_shift=shift
   18054     ;;
   18055   esac
   18056 
   18057   case $ac_option in
   18058   # Handling of the options.
   18059   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18060     ac_cs_recheck=: ;;
   18061   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18062     $as_echo "$ac_cs_version"; exit ;;
   18063   --config | --confi | --conf | --con | --co | --c )
   18064     $as_echo "$ac_cs_config"; exit ;;
   18065   --debug | --debu | --deb | --de | --d | -d )
   18066     debug=: ;;
   18067   --file | --fil | --fi | --f )
   18068     $ac_shift
   18069     case $ac_optarg in
   18070     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18071     '') as_fn_error $? "missing file argument" ;;
   18072     esac
   18073     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18074     ac_need_defaults=false;;
   18075   --header | --heade | --head | --hea )
   18076     $ac_shift
   18077     case $ac_optarg in
   18078     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18079     esac
   18080     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18081     ac_need_defaults=false;;
   18082   --he | --h)
   18083     # Conflict between --help and --header
   18084     as_fn_error $? "ambiguous option: \`$1'
   18085 Try \`$0 --help' for more information.";;
   18086   --help | --hel | -h )
   18087     $as_echo "$ac_cs_usage"; exit ;;
   18088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18089   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18090     ac_cs_silent=: ;;
   18091 
   18092   # This is an error.
   18093   -*) as_fn_error $? "unrecognized option: \`$1'
   18094 Try \`$0 --help' for more information." ;;
   18095 
   18096   *) as_fn_append ac_config_targets " $1"
   18097      ac_need_defaults=false ;;
   18098 
   18099   esac
   18100   shift
   18101 done
   18102 
   18103 ac_configure_extra_args=
   18104 
   18105 if $ac_cs_silent; then
   18106   exec 6>/dev/null
   18107   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18108 fi
   18109 
   18110 _ACEOF
   18111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18112 if \$ac_cs_recheck; then
   18113   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18114   shift
   18115   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18116   CONFIG_SHELL='$SHELL'
   18117   export CONFIG_SHELL
   18118   exec "\$@"
   18119 fi
   18120 
   18121 _ACEOF
   18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18123 exec 5>>config.log
   18124 {
   18125   echo
   18126   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18127 ## Running $as_me. ##
   18128 _ASBOX
   18129   $as_echo "$ac_log"
   18130 } >&5
   18131 
   18132 _ACEOF
   18133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18134 #
   18135 # INIT-COMMANDS
   18136 #
   18137 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   18138 
   18139 
   18140 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18141 # if CDPATH is set.
   18142 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18143 
   18144 sed_quote_subst='$sed_quote_subst'
   18145 double_quote_subst='$double_quote_subst'
   18146 delay_variable_subst='$delay_variable_subst'
   18147 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18148 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18149 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18150 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18151 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18152 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18153 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   18154 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18155 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18156 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18157 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18158 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18159 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18160 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18161 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18162 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18163 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18164 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18165 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18166 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18167 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18168 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18169 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18170 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18171 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18172 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18173 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18174 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18175 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18176 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18177 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18178 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18179 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18180 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18181 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18182 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18183 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18184 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18185 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18186 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18187 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18188 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18189 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   18190 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18191 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18192 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18193 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18194 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18195 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18196 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18197 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18198 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18199 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18200 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18201 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18202 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18203 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18204 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   18205 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18206 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"`'
   18207 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   18208 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18209 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18210 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   18211 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18212 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18213 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18214 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18215 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18216 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18217 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18218 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18219 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18220 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18221 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18222 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18223 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18224 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18225 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18226 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18227 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18228 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18229 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18230 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18231 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18232 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18233 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18234 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18235 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18236 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18237 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18238 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18239 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18240 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18241 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18242 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18243 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18244 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18245 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18246 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18247 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18248 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18249 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18250 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18251 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18252 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18253 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18254 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18255 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18256 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18257 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18258 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18259 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18260 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18261 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18262 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18263 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18264 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18265 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18266 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18267 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18268 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18269 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18270 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18271 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18272 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18273 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18274 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18275 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   18276 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   18277 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18278 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18279 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18280 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18281 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18282 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18283 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18284 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18285 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18286 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18287 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18288 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18289 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   18290 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18291 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18292 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18293 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   18294 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   18295 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18296 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   18297 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   18298 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   18299 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   18300 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   18301 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   18302 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18303 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18304 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   18305 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18306 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18307 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18308 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18309 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18310 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18311 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18312 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18313 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18314 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18315 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   18316 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   18317 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   18318 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   18319 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   18320 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   18321 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   18322 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   18323 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   18324 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18325 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18326 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18327 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18328 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18329 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18330 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   18331 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   18332 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18333 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18334 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   18335 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   18336 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   18337 
   18338 LTCC='$LTCC'
   18339 LTCFLAGS='$LTCFLAGS'
   18340 compiler='$compiler_DEFAULT'
   18341 
   18342 # A function that is used when there is no print builtin or printf.
   18343 func_fallback_echo ()
   18344 {
   18345   eval 'cat <<_LTECHO_EOF
   18346 \$1
   18347 _LTECHO_EOF'
   18348 }
   18349 
   18350 # Quote evaled strings.
   18351 for var in SHELL \
   18352 ECHO \
   18353 PATH_SEPARATOR \
   18354 SED \
   18355 GREP \
   18356 EGREP \
   18357 FGREP \
   18358 LD \
   18359 NM \
   18360 LN_S \
   18361 lt_SP2NL \
   18362 lt_NL2SP \
   18363 reload_flag \
   18364 OBJDUMP \
   18365 deplibs_check_method \
   18366 file_magic_cmd \
   18367 file_magic_glob \
   18368 want_nocaseglob \
   18369 DLLTOOL \
   18370 sharedlib_from_linklib_cmd \
   18371 AR \
   18372 archiver_list_spec \
   18373 STRIP \
   18374 RANLIB \
   18375 CC \
   18376 CFLAGS \
   18377 compiler \
   18378 lt_cv_sys_global_symbol_pipe \
   18379 lt_cv_sys_global_symbol_to_cdecl \
   18380 lt_cv_sys_global_symbol_to_import \
   18381 lt_cv_sys_global_symbol_to_c_name_address \
   18382 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18383 lt_cv_nm_interface \
   18384 nm_file_list_spec \
   18385 lt_cv_truncate_bin \
   18386 lt_prog_compiler_no_builtin_flag \
   18387 lt_prog_compiler_pic \
   18388 lt_prog_compiler_wl \
   18389 lt_prog_compiler_static \
   18390 lt_cv_prog_compiler_c_o \
   18391 need_locks \
   18392 MANIFEST_TOOL \
   18393 DSYMUTIL \
   18394 NMEDIT \
   18395 LIPO \
   18396 OTOOL \
   18397 OTOOL64 \
   18398 shrext_cmds \
   18399 export_dynamic_flag_spec \
   18400 whole_archive_flag_spec \
   18401 compiler_needs_object \
   18402 with_gnu_ld \
   18403 allow_undefined_flag \
   18404 no_undefined_flag \
   18405 hardcode_libdir_flag_spec \
   18406 hardcode_libdir_separator \
   18407 exclude_expsyms \
   18408 include_expsyms \
   18409 file_list_spec \
   18410 variables_saved_for_relink \
   18411 libname_spec \
   18412 library_names_spec \
   18413 soname_spec \
   18414 install_override_mode \
   18415 finish_eval \
   18416 old_striplib \
   18417 striplib \
   18418 compiler_lib_search_dirs \
   18419 predep_objects \
   18420 postdep_objects \
   18421 predeps \
   18422 postdeps \
   18423 compiler_lib_search_path \
   18424 LD_CXX \
   18425 reload_flag_CXX \
   18426 compiler_CXX \
   18427 lt_prog_compiler_no_builtin_flag_CXX \
   18428 lt_prog_compiler_pic_CXX \
   18429 lt_prog_compiler_wl_CXX \
   18430 lt_prog_compiler_static_CXX \
   18431 lt_cv_prog_compiler_c_o_CXX \
   18432 export_dynamic_flag_spec_CXX \
   18433 whole_archive_flag_spec_CXX \
   18434 compiler_needs_object_CXX \
   18435 with_gnu_ld_CXX \
   18436 allow_undefined_flag_CXX \
   18437 no_undefined_flag_CXX \
   18438 hardcode_libdir_flag_spec_CXX \
   18439 hardcode_libdir_separator_CXX \
   18440 exclude_expsyms_CXX \
   18441 include_expsyms_CXX \
   18442 file_list_spec_CXX \
   18443 compiler_lib_search_dirs_CXX \
   18444 predep_objects_CXX \
   18445 postdep_objects_CXX \
   18446 predeps_CXX \
   18447 postdeps_CXX \
   18448 compiler_lib_search_path_CXX; do
   18449     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18450     *[\\\\\\\`\\"\\\$]*)
   18451       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   18452       ;;
   18453     *)
   18454       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18455       ;;
   18456     esac
   18457 done
   18458 
   18459 # Double-quote double-evaled strings.
   18460 for var in reload_cmds \
   18461 old_postinstall_cmds \
   18462 old_postuninstall_cmds \
   18463 old_archive_cmds \
   18464 extract_expsyms_cmds \
   18465 old_archive_from_new_cmds \
   18466 old_archive_from_expsyms_cmds \
   18467 archive_cmds \
   18468 archive_expsym_cmds \
   18469 module_cmds \
   18470 module_expsym_cmds \
   18471 export_symbols_cmds \
   18472 prelink_cmds \
   18473 postlink_cmds \
   18474 postinstall_cmds \
   18475 postuninstall_cmds \
   18476 finish_cmds \
   18477 sys_lib_search_path_spec \
   18478 configure_time_dlsearch_path \
   18479 configure_time_lt_sys_library_path \
   18480 reload_cmds_CXX \
   18481 old_archive_cmds_CXX \
   18482 old_archive_from_new_cmds_CXX \
   18483 old_archive_from_expsyms_cmds_CXX \
   18484 archive_cmds_CXX \
   18485 archive_expsym_cmds_CXX \
   18486 module_cmds_CXX \
   18487 module_expsym_cmds_CXX \
   18488 export_symbols_cmds_CXX \
   18489 prelink_cmds_CXX \
   18490 postlink_cmds_CXX; do
   18491     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18492     *[\\\\\\\`\\"\\\$]*)
   18493       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   18494       ;;
   18495     *)
   18496       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18497       ;;
   18498     esac
   18499 done
   18500 
   18501 ac_aux_dir='$ac_aux_dir'
   18502 
   18503 # See if we are running on zsh, and set the options that allow our
   18504 # commands through without removal of \ escapes INIT.
   18505 if test -n "\${ZSH_VERSION+set}"; then
   18506    setopt NO_GLOB_SUBST
   18507 fi
   18508 
   18509 
   18510     PACKAGE='$PACKAGE'
   18511     VERSION='$VERSION'
   18512     RM='$RM'
   18513     ofile='$ofile'
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 _ACEOF
   18521 
   18522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18523 
   18524 # Handling of arguments.
   18525 for ac_config_target in $ac_config_targets
   18526 do
   18527   case $ac_config_target in
   18528     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18529     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18530     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18531     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18532     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   18533     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18534     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   18535     "trace/Makefile") CONFIG_FILES="$CONFIG_FILES trace/Makefile" ;;
   18536     "vdpau.pc") CONFIG_FILES="$CONFIG_FILES vdpau.pc" ;;
   18537 
   18538   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18539   esac
   18540 done
   18541 
   18542 
   18543 # If the user did not use the arguments to specify the items to instantiate,
   18544 # then the envvar interface is used.  Set only those that are not.
   18545 # We use the long form for the default assignment because of an extremely
   18546 # bizarre bug on SunOS 4.1.3.
   18547 if $ac_need_defaults; then
   18548   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18549   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18550   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18551 fi
   18552 
   18553 # Have a temporary directory for convenience.  Make it in the build tree
   18554 # simply because there is no reason against having it here, and in addition,
   18555 # creating and moving files from /tmp can sometimes cause problems.
   18556 # Hook for its removal unless debugging.
   18557 # Note that there is a small window in which the directory will not be cleaned:
   18558 # after its creation but before its name has been assigned to `$tmp'.
   18559 $debug ||
   18560 {
   18561   tmp= ac_tmp=
   18562   trap 'exit_status=$?
   18563   : "${ac_tmp:=$tmp}"
   18564   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18565 ' 0
   18566   trap 'as_fn_exit 1' 1 2 13 15
   18567 }
   18568 # Create a (secure) tmp directory for tmp files.
   18569 
   18570 {
   18571   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18572   test -d "$tmp"
   18573 }  ||
   18574 {
   18575   tmp=./conf$$-$RANDOM
   18576   (umask 077 && mkdir "$tmp")
   18577 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18578 ac_tmp=$tmp
   18579 
   18580 # Set up the scripts for CONFIG_FILES section.
   18581 # No need to generate them if there are no CONFIG_FILES.
   18582 # This happens for instance with `./config.status config.h'.
   18583 if test -n "$CONFIG_FILES"; then
   18584 
   18585 
   18586 ac_cr=`echo X | tr X '\015'`
   18587 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18588 # But we know of no other shell where ac_cr would be empty at this
   18589 # point, so we can use a bashism as a fallback.
   18590 if test "x$ac_cr" = x; then
   18591   eval ac_cr=\$\'\\r\'
   18592 fi
   18593 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18594 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18595   ac_cs_awk_cr='\\r'
   18596 else
   18597   ac_cs_awk_cr=$ac_cr
   18598 fi
   18599 
   18600 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18601 _ACEOF
   18602 
   18603 
   18604 {
   18605   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18606   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18607   echo "_ACEOF"
   18608 } >conf$$subs.sh ||
   18609   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18610 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18611 ac_delim='%!_!# '
   18612 for ac_last_try in false false false false false :; do
   18613   . ./conf$$subs.sh ||
   18614     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18615 
   18616   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18617   if test $ac_delim_n = $ac_delim_num; then
   18618     break
   18619   elif $ac_last_try; then
   18620     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18621   else
   18622     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18623   fi
   18624 done
   18625 rm -f conf$$subs.sh
   18626 
   18627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18628 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18629 _ACEOF
   18630 sed -n '
   18631 h
   18632 s/^/S["/; s/!.*/"]=/
   18633 p
   18634 g
   18635 s/^[^!]*!//
   18636 :repl
   18637 t repl
   18638 s/'"$ac_delim"'$//
   18639 t delim
   18640 :nl
   18641 h
   18642 s/\(.\{148\}\)..*/\1/
   18643 t more1
   18644 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18645 p
   18646 n
   18647 b repl
   18648 :more1
   18649 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18650 p
   18651 g
   18652 s/.\{148\}//
   18653 t nl
   18654 :delim
   18655 h
   18656 s/\(.\{148\}\)..*/\1/
   18657 t more2
   18658 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18659 p
   18660 b
   18661 :more2
   18662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18663 p
   18664 g
   18665 s/.\{148\}//
   18666 t delim
   18667 ' <conf$$subs.awk | sed '
   18668 /^[^""]/{
   18669   N
   18670   s/\n//
   18671 }
   18672 ' >>$CONFIG_STATUS || ac_write_fail=1
   18673 rm -f conf$$subs.awk
   18674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18675 _ACAWK
   18676 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18677   for (key in S) S_is_set[key] = 1
   18678   FS = ""
   18679 
   18680 }
   18681 {
   18682   line = $ 0
   18683   nfields = split(line, field, "@")
   18684   substed = 0
   18685   len = length(field[1])
   18686   for (i = 2; i < nfields; i++) {
   18687     key = field[i]
   18688     keylen = length(key)
   18689     if (S_is_set[key]) {
   18690       value = S[key]
   18691       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18692       len += length(value) + length(field[++i])
   18693       substed = 1
   18694     } else
   18695       len += 1 + keylen
   18696   }
   18697 
   18698   print line
   18699 }
   18700 
   18701 _ACAWK
   18702 _ACEOF
   18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18704 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18705   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18706 else
   18707   cat
   18708 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18709   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18710 _ACEOF
   18711 
   18712 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18713 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18714 # trailing colons and then remove the whole line if VPATH becomes empty
   18715 # (actually we leave an empty line to preserve line numbers).
   18716 if test "x$srcdir" = x.; then
   18717   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18718 h
   18719 s///
   18720 s/^/:/
   18721 s/[	 ]*$/:/
   18722 s/:\$(srcdir):/:/g
   18723 s/:\${srcdir}:/:/g
   18724 s/:@srcdir@:/:/g
   18725 s/^:*//
   18726 s/:*$//
   18727 x
   18728 s/\(=[	 ]*\).*/\1/
   18729 G
   18730 s/\n//
   18731 s/^[^=]*=[	 ]*$//
   18732 }'
   18733 fi
   18734 
   18735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18736 fi # test -n "$CONFIG_FILES"
   18737 
   18738 # Set up the scripts for CONFIG_HEADERS section.
   18739 # No need to generate them if there are no CONFIG_HEADERS.
   18740 # This happens for instance with `./config.status Makefile'.
   18741 if test -n "$CONFIG_HEADERS"; then
   18742 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18743 BEGIN {
   18744 _ACEOF
   18745 
   18746 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18747 # here-document in config.status, that substitutes the proper values into
   18748 # config.h.in to produce config.h.
   18749 
   18750 # Create a delimiter string that does not exist in confdefs.h, to ease
   18751 # handling of long lines.
   18752 ac_delim='%!_!# '
   18753 for ac_last_try in false false :; do
   18754   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18755   if test -z "$ac_tt"; then
   18756     break
   18757   elif $ac_last_try; then
   18758     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18759   else
   18760     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18761   fi
   18762 done
   18763 
   18764 # For the awk script, D is an array of macro values keyed by name,
   18765 # likewise P contains macro parameters if any.  Preserve backslash
   18766 # newline sequences.
   18767 
   18768 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18769 sed -n '
   18770 s/.\{148\}/&'"$ac_delim"'/g
   18771 t rset
   18772 :rset
   18773 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18774 t def
   18775 d
   18776 :def
   18777 s/\\$//
   18778 t bsnl
   18779 s/["\\]/\\&/g
   18780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18781 D["\1"]=" \3"/p
   18782 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18783 d
   18784 :bsnl
   18785 s/["\\]/\\&/g
   18786 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18787 D["\1"]=" \3\\\\\\n"\\/p
   18788 t cont
   18789 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18790 t cont
   18791 d
   18792 :cont
   18793 n
   18794 s/.\{148\}/&'"$ac_delim"'/g
   18795 t clear
   18796 :clear
   18797 s/\\$//
   18798 t bsnlc
   18799 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18800 d
   18801 :bsnlc
   18802 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18803 b cont
   18804 ' <confdefs.h | sed '
   18805 s/'"$ac_delim"'/"\\\
   18806 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18807 
   18808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18809   for (key in D) D_is_set[key] = 1
   18810   FS = ""
   18811 }
   18812 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18813   line = \$ 0
   18814   split(line, arg, " ")
   18815   if (arg[1] == "#") {
   18816     defundef = arg[2]
   18817     mac1 = arg[3]
   18818   } else {
   18819     defundef = substr(arg[1], 2)
   18820     mac1 = arg[2]
   18821   }
   18822   split(mac1, mac2, "(") #)
   18823   macro = mac2[1]
   18824   prefix = substr(line, 1, index(line, defundef) - 1)
   18825   if (D_is_set[macro]) {
   18826     # Preserve the white space surrounding the "#".
   18827     print prefix "define", macro P[macro] D[macro]
   18828     next
   18829   } else {
   18830     # Replace #undef with comments.  This is necessary, for example,
   18831     # in the case of _POSIX_SOURCE, which is predefined and required
   18832     # on some systems where configure will not decide to define it.
   18833     if (defundef == "undef") {
   18834       print "/*", prefix defundef, macro, "*/"
   18835       next
   18836     }
   18837   }
   18838 }
   18839 { print }
   18840 _ACAWK
   18841 _ACEOF
   18842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18843   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18844 fi # test -n "$CONFIG_HEADERS"
   18845 
   18846 
   18847 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18848 shift
   18849 for ac_tag
   18850 do
   18851   case $ac_tag in
   18852   :[FHLC]) ac_mode=$ac_tag; continue;;
   18853   esac
   18854   case $ac_mode$ac_tag in
   18855   :[FHL]*:*);;
   18856   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18857   :[FH]-) ac_tag=-:-;;
   18858   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18859   esac
   18860   ac_save_IFS=$IFS
   18861   IFS=:
   18862   set x $ac_tag
   18863   IFS=$ac_save_IFS
   18864   shift
   18865   ac_file=$1
   18866   shift
   18867 
   18868   case $ac_mode in
   18869   :L) ac_source=$1;;
   18870   :[FH])
   18871     ac_file_inputs=
   18872     for ac_f
   18873     do
   18874       case $ac_f in
   18875       -) ac_f="$ac_tmp/stdin";;
   18876       *) # Look for the file first in the build tree, then in the source tree
   18877 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18878 	 # because $ac_f cannot contain `:'.
   18879 	 test -f "$ac_f" ||
   18880 	   case $ac_f in
   18881 	   [\\/$]*) false;;
   18882 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18883 	   esac ||
   18884 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18885       esac
   18886       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18887       as_fn_append ac_file_inputs " '$ac_f'"
   18888     done
   18889 
   18890     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18891     # use $as_me), people would be surprised to read:
   18892     #    /* config.h.  Generated by config.status.  */
   18893     configure_input='Generated from '`
   18894 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18895 	`' by configure.'
   18896     if test x"$ac_file" != x-; then
   18897       configure_input="$ac_file.  $configure_input"
   18898       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18899 $as_echo "$as_me: creating $ac_file" >&6;}
   18900     fi
   18901     # Neutralize special characters interpreted by sed in replacement strings.
   18902     case $configure_input in #(
   18903     *\&* | *\|* | *\\* )
   18904        ac_sed_conf_input=`$as_echo "$configure_input" |
   18905        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18906     *) ac_sed_conf_input=$configure_input;;
   18907     esac
   18908 
   18909     case $ac_tag in
   18910     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18911       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18912     esac
   18913     ;;
   18914   esac
   18915 
   18916   ac_dir=`$as_dirname -- "$ac_file" ||
   18917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18918 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18919 	 X"$ac_file" : 'X\(//\)$' \| \
   18920 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18921 $as_echo X"$ac_file" |
   18922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18923 	    s//\1/
   18924 	    q
   18925 	  }
   18926 	  /^X\(\/\/\)[^/].*/{
   18927 	    s//\1/
   18928 	    q
   18929 	  }
   18930 	  /^X\(\/\/\)$/{
   18931 	    s//\1/
   18932 	    q
   18933 	  }
   18934 	  /^X\(\/\).*/{
   18935 	    s//\1/
   18936 	    q
   18937 	  }
   18938 	  s/.*/./; q'`
   18939   as_dir="$ac_dir"; as_fn_mkdir_p
   18940   ac_builddir=.
   18941 
   18942 case "$ac_dir" in
   18943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18944 *)
   18945   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18946   # A ".." for each directory in $ac_dir_suffix.
   18947   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18948   case $ac_top_builddir_sub in
   18949   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18950   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18951   esac ;;
   18952 esac
   18953 ac_abs_top_builddir=$ac_pwd
   18954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18955 # for backward compatibility:
   18956 ac_top_builddir=$ac_top_build_prefix
   18957 
   18958 case $srcdir in
   18959   .)  # We are building in place.
   18960     ac_srcdir=.
   18961     ac_top_srcdir=$ac_top_builddir_sub
   18962     ac_abs_top_srcdir=$ac_pwd ;;
   18963   [\\/]* | ?:[\\/]* )  # Absolute name.
   18964     ac_srcdir=$srcdir$ac_dir_suffix;
   18965     ac_top_srcdir=$srcdir
   18966     ac_abs_top_srcdir=$srcdir ;;
   18967   *) # Relative name.
   18968     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18969     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18970     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18971 esac
   18972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18973 
   18974 
   18975   case $ac_mode in
   18976   :F)
   18977   #
   18978   # CONFIG_FILE
   18979   #
   18980 
   18981   case $INSTALL in
   18982   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18983   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18984   esac
   18985   ac_MKDIR_P=$MKDIR_P
   18986   case $MKDIR_P in
   18987   [\\/$]* | ?:[\\/]* ) ;;
   18988   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18989   esac
   18990 _ACEOF
   18991 
   18992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18993 # If the template does not know about datarootdir, expand it.
   18994 # FIXME: This hack should be removed a few years after 2.60.
   18995 ac_datarootdir_hack=; ac_datarootdir_seen=
   18996 ac_sed_dataroot='
   18997 /datarootdir/ {
   18998   p
   18999   q
   19000 }
   19001 /@datadir@/p
   19002 /@docdir@/p
   19003 /@infodir@/p
   19004 /@localedir@/p
   19005 /@mandir@/p'
   19006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19007 *datarootdir*) ac_datarootdir_seen=yes;;
   19008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19009   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19011 _ACEOF
   19012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19013   ac_datarootdir_hack='
   19014   s&@datadir@&$datadir&g
   19015   s&@docdir@&$docdir&g
   19016   s&@infodir@&$infodir&g
   19017   s&@localedir@&$localedir&g
   19018   s&@mandir@&$mandir&g
   19019   s&\\\${datarootdir}&$datarootdir&g' ;;
   19020 esac
   19021 _ACEOF
   19022 
   19023 # Neutralize VPATH when `$srcdir' = `.'.
   19024 # Shell code in configure.ac might set extrasub.
   19025 # FIXME: do we really want to maintain this feature?
   19026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19027 ac_sed_extra="$ac_vpsub
   19028 $extrasub
   19029 _ACEOF
   19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19031 :t
   19032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19033 s|@configure_input@|$ac_sed_conf_input|;t t
   19034 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19036 s&@srcdir@&$ac_srcdir&;t t
   19037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19038 s&@top_srcdir@&$ac_top_srcdir&;t t
   19039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19040 s&@builddir@&$ac_builddir&;t t
   19041 s&@abs_builddir@&$ac_abs_builddir&;t t
   19042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19043 s&@INSTALL@&$ac_INSTALL&;t t
   19044 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19045 $ac_datarootdir_hack
   19046 "
   19047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19048   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19049 
   19050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19051   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19052   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19053       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19054   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19055 which seems to be undefined.  Please make sure it is defined" >&5
   19056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19057 which seems to be undefined.  Please make sure it is defined" >&2;}
   19058 
   19059   rm -f "$ac_tmp/stdin"
   19060   case $ac_file in
   19061   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19062   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19063   esac \
   19064   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19065  ;;
   19066   :H)
   19067   #
   19068   # CONFIG_HEADER
   19069   #
   19070   if test x"$ac_file" != x-; then
   19071     {
   19072       $as_echo "/* $configure_input  */" \
   19073       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19074     } >"$ac_tmp/config.h" \
   19075       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19076     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19077       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19079     else
   19080       rm -f "$ac_file"
   19081       mv "$ac_tmp/config.h" "$ac_file" \
   19082 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19083     fi
   19084   else
   19085     $as_echo "/* $configure_input  */" \
   19086       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19087       || as_fn_error $? "could not create -" "$LINENO" 5
   19088   fi
   19089 # Compute "$ac_file"'s index in $config_headers.
   19090 _am_arg="$ac_file"
   19091 _am_stamp_count=1
   19092 for _am_header in $config_headers :; do
   19093   case $_am_header in
   19094     $_am_arg | $_am_arg:* )
   19095       break ;;
   19096     * )
   19097       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19098   esac
   19099 done
   19100 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19101 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19102 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19103 	 X"$_am_arg" : 'X\(//\)$' \| \
   19104 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19105 $as_echo X"$_am_arg" |
   19106     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19107 	    s//\1/
   19108 	    q
   19109 	  }
   19110 	  /^X\(\/\/\)[^/].*/{
   19111 	    s//\1/
   19112 	    q
   19113 	  }
   19114 	  /^X\(\/\/\)$/{
   19115 	    s//\1/
   19116 	    q
   19117 	  }
   19118 	  /^X\(\/\).*/{
   19119 	    s//\1/
   19120 	    q
   19121 	  }
   19122 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19123  ;;
   19124 
   19125   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19126 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19127  ;;
   19128   esac
   19129 
   19130 
   19131   case $ac_file$ac_mode in
   19132     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19133   # Older Autoconf quotes --file arguments for eval, but not when files
   19134   # are listed without --file.  Let's play safe and only enable the eval
   19135   # if we detect the quoting.
   19136   # TODO: see whether this extra hack can be removed once we start
   19137   # requiring Autoconf 2.70 or later.
   19138   case $CONFIG_FILES in #(
   19139   *\'*) :
   19140     eval set x "$CONFIG_FILES" ;; #(
   19141   *) :
   19142     set x $CONFIG_FILES ;; #(
   19143   *) :
   19144      ;;
   19145 esac
   19146   shift
   19147   # Used to flag and report bootstrapping failures.
   19148   am_rc=0
   19149   for am_mf
   19150   do
   19151     # Strip MF so we end up with the name of the file.
   19152     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   19153     # Check whether this is an Automake generated Makefile which includes
   19154     # dependency-tracking related rules and includes.
   19155     # Grep'ing the whole file directly is not great: AIX grep has a line
   19156     # limit of 2048, but all sed's we know have understand at least 4000.
   19157     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   19158       || continue
   19159     am_dirpart=`$as_dirname -- "$am_mf" ||
   19160 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19161 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   19162 	 X"$am_mf" : 'X\(//\)$' \| \
   19163 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   19164 $as_echo X"$am_mf" |
   19165     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19166 	    s//\1/
   19167 	    q
   19168 	  }
   19169 	  /^X\(\/\/\)[^/].*/{
   19170 	    s//\1/
   19171 	    q
   19172 	  }
   19173 	  /^X\(\/\/\)$/{
   19174 	    s//\1/
   19175 	    q
   19176 	  }
   19177 	  /^X\(\/\).*/{
   19178 	    s//\1/
   19179 	    q
   19180 	  }
   19181 	  s/.*/./; q'`
   19182     am_filepart=`$as_basename -- "$am_mf" ||
   19183 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   19184 	 X"$am_mf" : 'X\(//\)$' \| \
   19185 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   19186 $as_echo X/"$am_mf" |
   19187     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19188 	    s//\1/
   19189 	    q
   19190 	  }
   19191 	  /^X\/\(\/\/\)$/{
   19192 	    s//\1/
   19193 	    q
   19194 	  }
   19195 	  /^X\/\(\/\).*/{
   19196 	    s//\1/
   19197 	    q
   19198 	  }
   19199 	  s/.*/./; q'`
   19200     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   19201       && sed -e '/# am--include-marker/d' "$am_filepart" \
   19202         | $MAKE -f - am--depfiles" >&5
   19203    (cd "$am_dirpart" \
   19204       && sed -e '/# am--include-marker/d' "$am_filepart" \
   19205         | $MAKE -f - am--depfiles) >&5 2>&5
   19206    ac_status=$?
   19207    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   19208    (exit $ac_status); } || am_rc=$?
   19209   done
   19210   if test $am_rc -ne 0; then
   19211     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19213 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   19214     for automatic dependency tracking.  Try re-running configure with the
   19215     '--disable-dependency-tracking' option to at least be able to build
   19216     the package (albeit without support for automatic dependency tracking).
   19217 See \`config.log' for more details" "$LINENO" 5; }
   19218   fi
   19219   { am_dirpart=; unset am_dirpart;}
   19220   { am_filepart=; unset am_filepart;}
   19221   { am_mf=; unset am_mf;}
   19222   { am_rc=; unset am_rc;}
   19223   rm -f conftest-deps.mk
   19224 }
   19225  ;;
   19226     "libtool":C)
   19227 
   19228     # See if we are running on zsh, and set the options that allow our
   19229     # commands through without removal of \ escapes.
   19230     if test -n "${ZSH_VERSION+set}"; then
   19231       setopt NO_GLOB_SUBST
   19232     fi
   19233 
   19234     cfgfile=${ofile}T
   19235     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19236     $RM "$cfgfile"
   19237 
   19238     cat <<_LT_EOF >> "$cfgfile"
   19239 #! $SHELL
   19240 # Generated automatically by $as_me ($PACKAGE) $VERSION
   19241 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19242 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19243 
   19244 # Provide generalized library-building support services.
   19245 # Written by Gordon Matzigkeit, 1996
   19246 
   19247 # Copyright (C) 2014 Free Software Foundation, Inc.
   19248 # This is free software; see the source for copying conditions.  There is NO
   19249 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   19250 
   19251 # GNU Libtool is free software; you can redistribute it and/or modify
   19252 # it under the terms of the GNU General Public License as published by
   19253 # the Free Software Foundation; either version 2 of of the License, or
   19254 # (at your option) any later version.
   19255 #
   19256 # As a special exception to the GNU General Public License, if you
   19257 # distribute this file as part of a program or library that is built
   19258 # using GNU Libtool, you may include this file under the  same
   19259 # distribution terms that you use for the rest of that program.
   19260 #
   19261 # GNU Libtool is distributed in the hope that it will be useful, but
   19262 # WITHOUT ANY WARRANTY; without even the implied warranty of
   19263 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19264 # GNU General Public License for more details.
   19265 #
   19266 # You should have received a copy of the GNU General Public License
   19267 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   19268 
   19269 
   19270 # The names of the tagged configurations supported by this script.
   19271 available_tags='CXX '
   19272 
   19273 # Configured defaults for sys_lib_dlsearch_path munging.
   19274 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   19275 
   19276 # ### BEGIN LIBTOOL CONFIG
   19277 
   19278 # Whether or not to build static libraries.
   19279 build_old_libs=$enable_static
   19280 
   19281 # Which release of libtool.m4 was used?
   19282 macro_version=$macro_version
   19283 macro_revision=$macro_revision
   19284 
   19285 # Whether or not to build shared libraries.
   19286 build_libtool_libs=$enable_shared
   19287 
   19288 # What type of objects to build.
   19289 pic_mode=$pic_mode
   19290 
   19291 # Whether or not to optimize for fast installation.
   19292 fast_install=$enable_fast_install
   19293 
   19294 # Shared archive member basename,for filename based shared library versioning on AIX.
   19295 shared_archive_member_spec=$shared_archive_member_spec
   19296 
   19297 # Shell to use when invoking shell scripts.
   19298 SHELL=$lt_SHELL
   19299 
   19300 # An echo program that protects backslashes.
   19301 ECHO=$lt_ECHO
   19302 
   19303 # The PATH separator for the build system.
   19304 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19305 
   19306 # The host system.
   19307 host_alias=$host_alias
   19308 host=$host
   19309 host_os=$host_os
   19310 
   19311 # The build system.
   19312 build_alias=$build_alias
   19313 build=$build
   19314 build_os=$build_os
   19315 
   19316 # A sed program that does not truncate output.
   19317 SED=$lt_SED
   19318 
   19319 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19320 Xsed="\$SED -e 1s/^X//"
   19321 
   19322 # A grep program that handles long lines.
   19323 GREP=$lt_GREP
   19324 
   19325 # An ERE matcher.
   19326 EGREP=$lt_EGREP
   19327 
   19328 # A literal string matcher.
   19329 FGREP=$lt_FGREP
   19330 
   19331 # A BSD- or MS-compatible name lister.
   19332 NM=$lt_NM
   19333 
   19334 # Whether we need soft or hard links.
   19335 LN_S=$lt_LN_S
   19336 
   19337 # What is the maximum length of a command?
   19338 max_cmd_len=$max_cmd_len
   19339 
   19340 # Object file suffix (normally "o").
   19341 objext=$ac_objext
   19342 
   19343 # Executable file suffix (normally "").
   19344 exeext=$exeext
   19345 
   19346 # whether the shell understands "unset".
   19347 lt_unset=$lt_unset
   19348 
   19349 # turn spaces into newlines.
   19350 SP2NL=$lt_lt_SP2NL
   19351 
   19352 # turn newlines into spaces.
   19353 NL2SP=$lt_lt_NL2SP
   19354 
   19355 # convert \$build file names to \$host format.
   19356 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19357 
   19358 # convert \$build files to toolchain format.
   19359 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19360 
   19361 # An object symbol dumper.
   19362 OBJDUMP=$lt_OBJDUMP
   19363 
   19364 # Method to check whether dependent libraries are shared objects.
   19365 deplibs_check_method=$lt_deplibs_check_method
   19366 
   19367 # Command to use when deplibs_check_method = "file_magic".
   19368 file_magic_cmd=$lt_file_magic_cmd
   19369 
   19370 # How to find potential files when deplibs_check_method = "file_magic".
   19371 file_magic_glob=$lt_file_magic_glob
   19372 
   19373 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19374 want_nocaseglob=$lt_want_nocaseglob
   19375 
   19376 # DLL creation program.
   19377 DLLTOOL=$lt_DLLTOOL
   19378 
   19379 # Command to associate shared and link libraries.
   19380 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19381 
   19382 # The archiver.
   19383 AR=$lt_AR
   19384 
   19385 # Flags to create an archive (by configure).
   19386 lt_ar_flags=$lt_ar_flags
   19387 
   19388 # Flags to create an archive.
   19389 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   19390 
   19391 # How to feed a file listing to the archiver.
   19392 archiver_list_spec=$lt_archiver_list_spec
   19393 
   19394 # A symbol stripping program.
   19395 STRIP=$lt_STRIP
   19396 
   19397 # Commands used to install an old-style archive.
   19398 RANLIB=$lt_RANLIB
   19399 old_postinstall_cmds=$lt_old_postinstall_cmds
   19400 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19401 
   19402 # Whether to use a lock for old archive extraction.
   19403 lock_old_archive_extraction=$lock_old_archive_extraction
   19404 
   19405 # A C compiler.
   19406 LTCC=$lt_CC
   19407 
   19408 # LTCC compiler flags.
   19409 LTCFLAGS=$lt_CFLAGS
   19410 
   19411 # Take the output of nm and produce a listing of raw symbols and C names.
   19412 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19413 
   19414 # Transform the output of nm in a proper C declaration.
   19415 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19416 
   19417 # Transform the output of nm into a list of symbols to manually relocate.
   19418 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   19419 
   19420 # Transform the output of nm in a C name address pair.
   19421 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19422 
   19423 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19424 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19425 
   19426 # The name lister interface.
   19427 nm_interface=$lt_lt_cv_nm_interface
   19428 
   19429 # Specify filename containing input files for \$NM.
   19430 nm_file_list_spec=$lt_nm_file_list_spec
   19431 
   19432 # The root where to search for dependent libraries,and where our libraries should be installed.
   19433 lt_sysroot=$lt_sysroot
   19434 
   19435 # Command to truncate a binary pipe.
   19436 lt_truncate_bin=$lt_lt_cv_truncate_bin
   19437 
   19438 # The name of the directory that contains temporary libtool files.
   19439 objdir=$objdir
   19440 
   19441 # Used to examine libraries when file_magic_cmd begins with "file".
   19442 MAGIC_CMD=$MAGIC_CMD
   19443 
   19444 # Must we lock files when doing compilation?
   19445 need_locks=$lt_need_locks
   19446 
   19447 # Manifest tool.
   19448 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19449 
   19450 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19451 DSYMUTIL=$lt_DSYMUTIL
   19452 
   19453 # Tool to change global to local symbols on Mac OS X.
   19454 NMEDIT=$lt_NMEDIT
   19455 
   19456 # Tool to manipulate fat objects and archives on Mac OS X.
   19457 LIPO=$lt_LIPO
   19458 
   19459 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19460 OTOOL=$lt_OTOOL
   19461 
   19462 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19463 OTOOL64=$lt_OTOOL64
   19464 
   19465 # Old archive suffix (normally "a").
   19466 libext=$libext
   19467 
   19468 # Shared library suffix (normally ".so").
   19469 shrext_cmds=$lt_shrext_cmds
   19470 
   19471 # The commands to extract the exported symbol list from a shared archive.
   19472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19473 
   19474 # Variables whose values should be saved in libtool wrapper scripts and
   19475 # restored at link time.
   19476 variables_saved_for_relink=$lt_variables_saved_for_relink
   19477 
   19478 # Do we need the "lib" prefix for modules?
   19479 need_lib_prefix=$need_lib_prefix
   19480 
   19481 # Do we need a version for libraries?
   19482 need_version=$need_version
   19483 
   19484 # Library versioning type.
   19485 version_type=$version_type
   19486 
   19487 # Shared library runtime path variable.
   19488 runpath_var=$runpath_var
   19489 
   19490 # Shared library path variable.
   19491 shlibpath_var=$shlibpath_var
   19492 
   19493 # Is shlibpath searched before the hard-coded library search path?
   19494 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19495 
   19496 # Format of library name prefix.
   19497 libname_spec=$lt_libname_spec
   19498 
   19499 # List of archive names.  First name is the real one, the rest are links.
   19500 # The last name is the one that the linker finds with -lNAME
   19501 library_names_spec=$lt_library_names_spec
   19502 
   19503 # The coded name of the library, if different from the real name.
   19504 soname_spec=$lt_soname_spec
   19505 
   19506 # Permission mode override for installation of shared libraries.
   19507 install_override_mode=$lt_install_override_mode
   19508 
   19509 # Command to use after installation of a shared archive.
   19510 postinstall_cmds=$lt_postinstall_cmds
   19511 
   19512 # Command to use after uninstallation of a shared archive.
   19513 postuninstall_cmds=$lt_postuninstall_cmds
   19514 
   19515 # Commands used to finish a libtool library installation in a directory.
   19516 finish_cmds=$lt_finish_cmds
   19517 
   19518 # As "finish_cmds", except a single script fragment to be evaled but
   19519 # not shown.
   19520 finish_eval=$lt_finish_eval
   19521 
   19522 # Whether we should hardcode library paths into libraries.
   19523 hardcode_into_libs=$hardcode_into_libs
   19524 
   19525 # Compile-time system search path for libraries.
   19526 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19527 
   19528 # Detected run-time system search path for libraries.
   19529 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   19530 
   19531 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   19532 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   19533 
   19534 # Whether dlopen is supported.
   19535 dlopen_support=$enable_dlopen
   19536 
   19537 # Whether dlopen of programs is supported.
   19538 dlopen_self=$enable_dlopen_self
   19539 
   19540 # Whether dlopen of statically linked programs is supported.
   19541 dlopen_self_static=$enable_dlopen_self_static
   19542 
   19543 # Commands to strip libraries.
   19544 old_striplib=$lt_old_striplib
   19545 striplib=$lt_striplib
   19546 
   19547 
   19548 # The linker used to build libraries.
   19549 LD=$lt_LD
   19550 
   19551 # How to create reloadable object files.
   19552 reload_flag=$lt_reload_flag
   19553 reload_cmds=$lt_reload_cmds
   19554 
   19555 # Commands used to build an old-style archive.
   19556 old_archive_cmds=$lt_old_archive_cmds
   19557 
   19558 # A language specific compiler.
   19559 CC=$lt_compiler
   19560 
   19561 # Is the compiler the GNU compiler?
   19562 with_gcc=$GCC
   19563 
   19564 # Compiler flag to turn off builtin functions.
   19565 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19566 
   19567 # Additional compiler flags for building library objects.
   19568 pic_flag=$lt_lt_prog_compiler_pic
   19569 
   19570 # How to pass a linker flag through the compiler.
   19571 wl=$lt_lt_prog_compiler_wl
   19572 
   19573 # Compiler flag to prevent dynamic linking.
   19574 link_static_flag=$lt_lt_prog_compiler_static
   19575 
   19576 # Does compiler simultaneously support -c and -o options?
   19577 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19578 
   19579 # Whether or not to add -lc for building shared libraries.
   19580 build_libtool_need_lc=$archive_cmds_need_lc
   19581 
   19582 # Whether or not to disallow shared libs when runtime libs are static.
   19583 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19584 
   19585 # Compiler flag to allow reflexive dlopens.
   19586 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19587 
   19588 # Compiler flag to generate shared objects directly from archives.
   19589 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19590 
   19591 # Whether the compiler copes with passing no objects directly.
   19592 compiler_needs_object=$lt_compiler_needs_object
   19593 
   19594 # Create an old-style archive from a shared archive.
   19595 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19596 
   19597 # Create a temporary old-style archive to link instead of a shared archive.
   19598 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19599 
   19600 # Commands used to build a shared archive.
   19601 archive_cmds=$lt_archive_cmds
   19602 archive_expsym_cmds=$lt_archive_expsym_cmds
   19603 
   19604 # Commands used to build a loadable module if different from building
   19605 # a shared archive.
   19606 module_cmds=$lt_module_cmds
   19607 module_expsym_cmds=$lt_module_expsym_cmds
   19608 
   19609 # Whether we are building with GNU ld or not.
   19610 with_gnu_ld=$lt_with_gnu_ld
   19611 
   19612 # Flag that allows shared libraries with undefined symbols to be built.
   19613 allow_undefined_flag=$lt_allow_undefined_flag
   19614 
   19615 # Flag that enforces no undefined symbols.
   19616 no_undefined_flag=$lt_no_undefined_flag
   19617 
   19618 # Flag to hardcode \$libdir into a binary during linking.
   19619 # This must work even if \$libdir does not exist
   19620 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19621 
   19622 # Whether we need a single "-rpath" flag with a separated argument.
   19623 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19624 
   19625 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   19626 # DIR into the resulting binary.
   19627 hardcode_direct=$hardcode_direct
   19628 
   19629 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   19630 # DIR into the resulting binary and the resulting library dependency is
   19631 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   19632 # library is relocated.
   19633 hardcode_direct_absolute=$hardcode_direct_absolute
   19634 
   19635 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19636 # into the resulting binary.
   19637 hardcode_minus_L=$hardcode_minus_L
   19638 
   19639 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19640 # into the resulting binary.
   19641 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19642 
   19643 # Set to "yes" if building a shared library automatically hardcodes DIR
   19644 # into the library and all subsequent libraries and executables linked
   19645 # against it.
   19646 hardcode_automatic=$hardcode_automatic
   19647 
   19648 # Set to yes if linker adds runtime paths of dependent libraries
   19649 # to runtime path list.
   19650 inherit_rpath=$inherit_rpath
   19651 
   19652 # Whether libtool must link a program against all its dependency libraries.
   19653 link_all_deplibs=$link_all_deplibs
   19654 
   19655 # Set to "yes" if exported symbols are required.
   19656 always_export_symbols=$always_export_symbols
   19657 
   19658 # The commands to list exported symbols.
   19659 export_symbols_cmds=$lt_export_symbols_cmds
   19660 
   19661 # Symbols that should not be listed in the preloaded symbols.
   19662 exclude_expsyms=$lt_exclude_expsyms
   19663 
   19664 # Symbols that must always be exported.
   19665 include_expsyms=$lt_include_expsyms
   19666 
   19667 # Commands necessary for linking programs (against libraries) with templates.
   19668 prelink_cmds=$lt_prelink_cmds
   19669 
   19670 # Commands necessary for finishing linking programs.
   19671 postlink_cmds=$lt_postlink_cmds
   19672 
   19673 # Specify filename containing input files.
   19674 file_list_spec=$lt_file_list_spec
   19675 
   19676 # How to hardcode a shared library path into an executable.
   19677 hardcode_action=$hardcode_action
   19678 
   19679 # The directories searched by this compiler when creating a shared library.
   19680 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19681 
   19682 # Dependencies to place before and after the objects being linked to
   19683 # create a shared library.
   19684 predep_objects=$lt_predep_objects
   19685 postdep_objects=$lt_postdep_objects
   19686 predeps=$lt_predeps
   19687 postdeps=$lt_postdeps
   19688 
   19689 # The library search path used internally by the compiler when linking
   19690 # a shared library.
   19691 compiler_lib_search_path=$lt_compiler_lib_search_path
   19692 
   19693 # ### END LIBTOOL CONFIG
   19694 
   19695 _LT_EOF
   19696 
   19697     cat <<'_LT_EOF' >> "$cfgfile"
   19698 
   19699 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   19700 
   19701 # func_munge_path_list VARIABLE PATH
   19702 # -----------------------------------
   19703 # VARIABLE is name of variable containing _space_ separated list of
   19704 # directories to be munged by the contents of PATH, which is string
   19705 # having a format:
   19706 # "DIR[:DIR]:"
   19707 #       string "DIR[ DIR]" will be prepended to VARIABLE
   19708 # ":DIR[:DIR]"
   19709 #       string "DIR[ DIR]" will be appended to VARIABLE
   19710 # "DIRP[:DIRP]::[DIRA:]DIRA"
   19711 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   19712 #       "DIRA[ DIRA]" will be appended to VARIABLE
   19713 # "DIR[:DIR]"
   19714 #       VARIABLE will be replaced by "DIR[ DIR]"
   19715 func_munge_path_list ()
   19716 {
   19717     case x$2 in
   19718     x)
   19719         ;;
   19720     *:)
   19721         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   19722         ;;
   19723     x:*)
   19724         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   19725         ;;
   19726     *::*)
   19727         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   19728         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   19729         ;;
   19730     *)
   19731         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   19732         ;;
   19733     esac
   19734 }
   19735 
   19736 
   19737 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   19738 func_cc_basename ()
   19739 {
   19740     for cc_temp in $*""; do
   19741       case $cc_temp in
   19742         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19743         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19744         \-*) ;;
   19745         *) break;;
   19746       esac
   19747     done
   19748     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   19749 }
   19750 
   19751 
   19752 # ### END FUNCTIONS SHARED WITH CONFIGURE
   19753 
   19754 _LT_EOF
   19755 
   19756   case $host_os in
   19757   aix3*)
   19758     cat <<\_LT_EOF >> "$cfgfile"
   19759 # AIX sometimes has problems with the GCC collect2 program.  For some
   19760 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19761 # vanish in a puff of smoke.
   19762 if test set != "${COLLECT_NAMES+set}"; then
   19763   COLLECT_NAMES=
   19764   export COLLECT_NAMES
   19765 fi
   19766 _LT_EOF
   19767     ;;
   19768   esac
   19769 
   19770 
   19771 ltmain=$ac_aux_dir/ltmain.sh
   19772 
   19773 
   19774   # We use sed instead of cat because bash on DJGPP gets confused if
   19775   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19776   # text mode, it properly converts lines to CR/LF.  This bash problem
   19777   # is reportedly fixed, but why not run on old versions too?
   19778   sed '$q' "$ltmain" >> "$cfgfile" \
   19779      || (rm -f "$cfgfile"; exit 1)
   19780 
   19781    mv -f "$cfgfile" "$ofile" ||
   19782     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19783   chmod +x "$ofile"
   19784 
   19785 
   19786     cat <<_LT_EOF >> "$ofile"
   19787 
   19788 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   19789 
   19790 # The linker used to build libraries.
   19791 LD=$lt_LD_CXX
   19792 
   19793 # How to create reloadable object files.
   19794 reload_flag=$lt_reload_flag_CXX
   19795 reload_cmds=$lt_reload_cmds_CXX
   19796 
   19797 # Commands used to build an old-style archive.
   19798 old_archive_cmds=$lt_old_archive_cmds_CXX
   19799 
   19800 # A language specific compiler.
   19801 CC=$lt_compiler_CXX
   19802 
   19803 # Is the compiler the GNU compiler?
   19804 with_gcc=$GCC_CXX
   19805 
   19806 # Compiler flag to turn off builtin functions.
   19807 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   19808 
   19809 # Additional compiler flags for building library objects.
   19810 pic_flag=$lt_lt_prog_compiler_pic_CXX
   19811 
   19812 # How to pass a linker flag through the compiler.
   19813 wl=$lt_lt_prog_compiler_wl_CXX
   19814 
   19815 # Compiler flag to prevent dynamic linking.
   19816 link_static_flag=$lt_lt_prog_compiler_static_CXX
   19817 
   19818 # Does compiler simultaneously support -c and -o options?
   19819 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   19820 
   19821 # Whether or not to add -lc for building shared libraries.
   19822 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   19823 
   19824 # Whether or not to disallow shared libs when runtime libs are static.
   19825 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   19826 
   19827 # Compiler flag to allow reflexive dlopens.
   19828 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   19829 
   19830 # Compiler flag to generate shared objects directly from archives.
   19831 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   19832 
   19833 # Whether the compiler copes with passing no objects directly.
   19834 compiler_needs_object=$lt_compiler_needs_object_CXX
   19835 
   19836 # Create an old-style archive from a shared archive.
   19837 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   19838 
   19839 # Create a temporary old-style archive to link instead of a shared archive.
   19840 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   19841 
   19842 # Commands used to build a shared archive.
   19843 archive_cmds=$lt_archive_cmds_CXX
   19844 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   19845 
   19846 # Commands used to build a loadable module if different from building
   19847 # a shared archive.
   19848 module_cmds=$lt_module_cmds_CXX
   19849 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   19850 
   19851 # Whether we are building with GNU ld or not.
   19852 with_gnu_ld=$lt_with_gnu_ld_CXX
   19853 
   19854 # Flag that allows shared libraries with undefined symbols to be built.
   19855 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   19856 
   19857 # Flag that enforces no undefined symbols.
   19858 no_undefined_flag=$lt_no_undefined_flag_CXX
   19859 
   19860 # Flag to hardcode \$libdir into a binary during linking.
   19861 # This must work even if \$libdir does not exist
   19862 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   19863 
   19864 # Whether we need a single "-rpath" flag with a separated argument.
   19865 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   19866 
   19867 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   19868 # DIR into the resulting binary.
   19869 hardcode_direct=$hardcode_direct_CXX
   19870 
   19871 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   19872 # DIR into the resulting binary and the resulting library dependency is
   19873 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   19874 # library is relocated.
   19875 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   19876 
   19877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19878 # into the resulting binary.
   19879 hardcode_minus_L=$hardcode_minus_L_CXX
   19880 
   19881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19882 # into the resulting binary.
   19883 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   19884 
   19885 # Set to "yes" if building a shared library automatically hardcodes DIR
   19886 # into the library and all subsequent libraries and executables linked
   19887 # against it.
   19888 hardcode_automatic=$hardcode_automatic_CXX
   19889 
   19890 # Set to yes if linker adds runtime paths of dependent libraries
   19891 # to runtime path list.
   19892 inherit_rpath=$inherit_rpath_CXX
   19893 
   19894 # Whether libtool must link a program against all its dependency libraries.
   19895 link_all_deplibs=$link_all_deplibs_CXX
   19896 
   19897 # Set to "yes" if exported symbols are required.
   19898 always_export_symbols=$always_export_symbols_CXX
   19899 
   19900 # The commands to list exported symbols.
   19901 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19902 
   19903 # Symbols that should not be listed in the preloaded symbols.
   19904 exclude_expsyms=$lt_exclude_expsyms_CXX
   19905 
   19906 # Symbols that must always be exported.
   19907 include_expsyms=$lt_include_expsyms_CXX
   19908 
   19909 # Commands necessary for linking programs (against libraries) with templates.
   19910 prelink_cmds=$lt_prelink_cmds_CXX
   19911 
   19912 # Commands necessary for finishing linking programs.
   19913 postlink_cmds=$lt_postlink_cmds_CXX
   19914 
   19915 # Specify filename containing input files.
   19916 file_list_spec=$lt_file_list_spec_CXX
   19917 
   19918 # How to hardcode a shared library path into an executable.
   19919 hardcode_action=$hardcode_action_CXX
   19920 
   19921 # The directories searched by this compiler when creating a shared library.
   19922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19923 
   19924 # Dependencies to place before and after the objects being linked to
   19925 # create a shared library.
   19926 predep_objects=$lt_predep_objects_CXX
   19927 postdep_objects=$lt_postdep_objects_CXX
   19928 predeps=$lt_predeps_CXX
   19929 postdeps=$lt_postdeps_CXX
   19930 
   19931 # The library search path used internally by the compiler when linking
   19932 # a shared library.
   19933 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19934 
   19935 # ### END LIBTOOL TAG CONFIG: CXX
   19936 _LT_EOF
   19937 
   19938  ;;
   19939 
   19940   esac
   19941 done # for ac_tag
   19942 
   19943 
   19944 as_fn_exit 0
   19945 _ACEOF
   19946 ac_clean_files=$ac_clean_files_save
   19947 
   19948 test $ac_write_fail = 0 ||
   19949   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19950 
   19951 
   19952 # configure is writing to config.log, and then calls config.status.
   19953 # config.status does its own redirection, appending to config.log.
   19954 # Unfortunately, on DOS this fails, as config.log is still kept open
   19955 # by configure, so config.status won't be able to write to it; its
   19956 # output is simply discarded.  So we exec the FD to /dev/null,
   19957 # effectively closing config.log, so it can be properly (re)opened and
   19958 # appended to by config.status.  When coming back to configure, we
   19959 # need to make the FD available again.
   19960 if test "$no_create" != yes; then
   19961   ac_cs_success=:
   19962   ac_config_status_args=
   19963   test "$silent" = yes &&
   19964     ac_config_status_args="$ac_config_status_args --quiet"
   19965   exec 5>/dev/null
   19966   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19967   exec 5>>config.log
   19968   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19969   # would make configure fail if this is the last instruction.
   19970   $ac_cs_success || as_fn_exit 1
   19971 fi
   19972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19973   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19975 fi
   19976 
   19977