~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-libs/configure

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #! /bin/sh
  2 # Guess values for system-dependent variables and create Makefiles.
  3 # Generated by GNU Autoconf 2.69 for tina-libs 6.0rcbuild010.
  4 #
  5 # Report bugs to <bugs@tina-vision.net>.
  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@gnu.org and
278 $0: bugs@tina-vision.net about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: 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='tina-libs'
592 PACKAGE_TARNAME='tina-libs'
593 PACKAGE_VERSION='6.0rcbuild010'
594 PACKAGE_STRING='tina-libs 6.0rcbuild010'
595 PACKAGE_BUGREPORT='bugs@tina-vision.net'
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_unique_file="tina/vision/visDef.h"
635 ac_default_prefix=`pwd`
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 OTOOL64
641 OTOOL
642 LIPO
643 NMEDIT
644 DSYMUTIL
645 MANIFEST_TOOL
646 RANLIB
647 ac_ct_AR
648 AR
649 DLLTOOL
650 OBJDUMP
651 LN_S
652 NM
653 ac_ct_DUMPBIN
654 DUMPBIN
655 LD
656 FGREP
657 SED
658 LIBTOOL
659 MAINT
660 MAINTAINER_MODE_FALSE
661 MAINTAINER_MODE_TRUE
662 AM_BACKSLASH
663 AM_DEFAULT_VERBOSITY
664 AM_DEFAULT_V
665 AM_V
666 am__fastdepCC_FALSE
667 am__fastdepCC_TRUE
668 CCDEPMODE
669 am__nodep
670 AMDEPBACKSLASH
671 AMDEP_FALSE
672 AMDEP_TRUE
673 am__quote
674 am__include
675 DEPDIR
676 am__untar
677 am__tar
678 AMTAR
679 am__leading_dot
680 SET_MAKE
681 AWK
682 mkdir_p
683 MKDIR_P
684 INSTALL_STRIP_PROGRAM
685 STRIP
686 install_sh
687 MAKEINFO
688 AUTOHEADER
689 AUTOMAKE
690 AUTOCONF
691 ACLOCAL
692 VERSION
693 PACKAGE
694 CYGPATH_W
695 am__isrc
696 INSTALL_DATA
697 INSTALL_SCRIPT
698 INSTALL_PROGRAM
699 EGREP
700 GREP
701 CPP
702 OBJEXT
703 EXEEXT
704 ac_ct_CC
705 CPPFLAGS
706 LDFLAGS
707 CFLAGS
708 CC
709 target_os
710 target_vendor
711 target_cpu
712 target
713 host_os
714 host_vendor
715 host_cpu
716 host
717 build_os
718 build_vendor
719 build_cpu
720 build
721 target_alias
722 host_alias
723 build_alias
724 LIBS
725 ECHO_T
726 ECHO_N
727 ECHO_C
728 DEFS
729 mandir
730 localedir
731 libdir
732 psdir
733 pdfdir
734 dvidir
735 htmldir
736 infodir
737 docdir
738 oldincludedir
739 includedir
740 localstatedir
741 sharedstatedir
742 sysconfdir
743 datadir
744 datarootdir
745 libexecdir
746 sbindir
747 bindir
748 program_transform_name
749 prefix
750 exec_prefix
751 PACKAGE_URL
752 PACKAGE_BUGREPORT
753 PACKAGE_STRING
754 PACKAGE_VERSION
755 PACKAGE_TARNAME
756 PACKAGE_NAME
757 PATH_SEPARATOR
758 SHELL'
759 ac_subst_files=''
760 ac_user_opts='
761 enable_option_checking
762 enable_dependency_tracking
763 enable_silent_rules
764 enable_maintainer_mode
765 enable_shared
766 enable_static
767 with_pic
768 enable_fast_install
769 with_gnu_ld
770 with_sysroot
771 enable_libtool_lock
772 '
773       ac_precious_vars='build_alias
774 host_alias
775 target_alias
776 CC
777 CFLAGS
778 LDFLAGS
779 LIBS
780 CPPFLAGS
781 CPP'
782 
783 
784 # Initialize some variables set by options.
785 ac_init_help=
786 ac_init_version=false
787 ac_unrecognized_opts=
788 ac_unrecognized_sep=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
791 cache_file=/dev/null
792 exec_prefix=NONE
793 no_create=
794 no_recursion=
795 prefix=NONE
796 program_prefix=NONE
797 program_suffix=NONE
798 program_transform_name=s,x,x,
799 silent=
800 site=
801 srcdir=
802 verbose=
803 x_includes=NONE
804 x_libraries=NONE
805 
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
824 htmldir='${docdir}'
825 dvidir='${docdir}'
826 pdfdir='${docdir}'
827 psdir='${docdir}'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
831 
832 ac_prev=
833 ac_dashdash=
834 for ac_option
835 do
836   # If the previous option needs an argument, assign it.
837   if test -n "$ac_prev"; then
838     eval $ac_prev=\$ac_option
839     ac_prev=
840     continue
841   fi
842 
843   case $ac_option in
844   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845   *=)   ac_optarg= ;;
846   *)    ac_optarg=yes ;;
847   esac
848 
849   # Accept the important Cygnus configure options, so we can diagnose typos.
850 
851   case $ac_dashdash$ac_option in
852   --)
853     ac_dashdash=yes ;;
854 
855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
856     ac_prev=bindir ;;
857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
858     bindir=$ac_optarg ;;
859 
860   -build | --build | --buil | --bui | --bu)
861     ac_prev=build_alias ;;
862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863     build_alias=$ac_optarg ;;
864 
865   -cache-file | --cache-file | --cache-fil | --cache-fi \
866   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867     ac_prev=cache_file ;;
868   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870     cache_file=$ac_optarg ;;
871 
872   --config-cache | -C)
873     cache_file=config.cache ;;
874 
875   -datadir | --datadir | --datadi | --datad)
876     ac_prev=datadir ;;
877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
878     datadir=$ac_optarg ;;
879 
880   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881   | --dataroo | --dataro | --datar)
882     ac_prev=datarootdir ;;
883   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885     datarootdir=$ac_optarg ;;
886 
887   -disable-* | --disable-*)
888     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889     # Reject names that are not valid shell variable names.
890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891       as_fn_error $? "invalid feature name: $ac_useropt"
892     ac_useropt_orig=$ac_useropt
893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894     case $ac_user_opts in
895       *"
896 "enable_$ac_useropt"
897 "*) ;;
898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899          ac_unrecognized_sep=', ';;
900     esac
901     eval enable_$ac_useropt=no ;;
902 
903   -docdir | --docdir | --docdi | --doc | --do)
904     ac_prev=docdir ;;
905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906     docdir=$ac_optarg ;;
907 
908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909     ac_prev=dvidir ;;
910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911     dvidir=$ac_optarg ;;
912 
913   -enable-* | --enable-*)
914     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915     # Reject names that are not valid shell variable names.
916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917       as_fn_error $? "invalid feature name: $ac_useropt"
918     ac_useropt_orig=$ac_useropt
919     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920     case $ac_user_opts in
921       *"
922 "enable_$ac_useropt"
923 "*) ;;
924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925          ac_unrecognized_sep=', ';;
926     esac
927     eval enable_$ac_useropt=\$ac_optarg ;;
928 
929   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931   | --exec | --exe | --ex)
932     ac_prev=exec_prefix ;;
933   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935   | --exec=* | --exe=* | --ex=*)
936     exec_prefix=$ac_optarg ;;
937 
938   -gas | --gas | --ga | --g)
939     # Obsolete; use --with-gas.
940     with_gas=yes ;;
941 
942   -help | --help | --hel | --he | -h)
943     ac_init_help=long ;;
944   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945     ac_init_help=recursive ;;
946   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947     ac_init_help=short ;;
948 
949   -host | --host | --hos | --ho)
950     ac_prev=host_alias ;;
951   -host=* | --host=* | --hos=* | --ho=*)
952     host_alias=$ac_optarg ;;
953 
954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955     ac_prev=htmldir ;;
956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957   | --ht=*)
958     htmldir=$ac_optarg ;;
959 
960   -includedir | --includedir | --includedi | --included | --include \
961   | --includ | --inclu | --incl | --inc)
962     ac_prev=includedir ;;
963   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964   | --includ=* | --inclu=* | --incl=* | --inc=*)
965     includedir=$ac_optarg ;;
966 
967   -infodir | --infodir | --infodi | --infod | --info | --inf)
968     ac_prev=infodir ;;
969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970     infodir=$ac_optarg ;;
971 
972   -libdir | --libdir | --libdi | --libd)
973     ac_prev=libdir ;;
974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
975     libdir=$ac_optarg ;;
976 
977   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978   | --libexe | --libex | --libe)
979     ac_prev=libexecdir ;;
980   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981   | --libexe=* | --libex=* | --libe=*)
982     libexecdir=$ac_optarg ;;
983 
984   -localedir | --localedir | --localedi | --localed | --locale)
985     ac_prev=localedir ;;
986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987     localedir=$ac_optarg ;;
988 
989   -localstatedir | --localstatedir | --localstatedi | --localstated \
990   | --localstate | --localstat | --localsta | --localst | --locals)
991     ac_prev=localstatedir ;;
992   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994     localstatedir=$ac_optarg ;;
995 
996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997     ac_prev=mandir ;;
998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999     mandir=$ac_optarg ;;
1000 
1001   -nfp | --nfp | --nf)
1002     # Obsolete; use --without-fp.
1003     with_fp=no ;;
1004 
1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006   | --no-cr | --no-c | -n)
1007     no_create=yes ;;
1008 
1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011     no_recursion=yes ;;
1012 
1013   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015   | --oldin | --oldi | --old | --ol | --o)
1016     ac_prev=oldincludedir ;;
1017   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020     oldincludedir=$ac_optarg ;;
1021 
1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023     ac_prev=prefix ;;
1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025     prefix=$ac_optarg ;;
1026 
1027   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028   | --program-pre | --program-pr | --program-p)
1029     ac_prev=program_prefix ;;
1030   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032     program_prefix=$ac_optarg ;;
1033 
1034   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035   | --program-suf | --program-su | --program-s)
1036     ac_prev=program_suffix ;;
1037   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039     program_suffix=$ac_optarg ;;
1040 
1041   -program-transform-name | --program-transform-name \
1042   | --program-transform-nam | --program-transform-na \
1043   | --program-transform-n | --program-transform- \
1044   | --program-transform | --program-transfor \
1045   | --program-transfo | --program-transf \
1046   | --program-trans | --program-tran \
1047   | --progr-tra | --program-tr | --program-t)
1048     ac_prev=program_transform_name ;;
1049   -program-transform-name=* | --program-transform-name=* \
1050   | --program-transform-nam=* | --program-transform-na=* \
1051   | --program-transform-n=* | --program-transform-=* \
1052   | --program-transform=* | --program-transfor=* \
1053   | --program-transfo=* | --program-transf=* \
1054   | --program-trans=* | --program-tran=* \
1055   | --progr-tra=* | --program-tr=* | --program-t=*)
1056     program_transform_name=$ac_optarg ;;
1057 
1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059     ac_prev=pdfdir ;;
1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061     pdfdir=$ac_optarg ;;
1062 
1063   -psdir | --psdir | --psdi | --psd | --ps)
1064     ac_prev=psdir ;;
1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066     psdir=$ac_optarg ;;
1067 
1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069   | -silent | --silent | --silen | --sile | --sil)
1070     silent=yes ;;
1071 
1072   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073     ac_prev=sbindir ;;
1074   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075   | --sbi=* | --sb=*)
1076     sbindir=$ac_optarg ;;
1077 
1078   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080   | --sharedst | --shareds | --shared | --share | --shar \
1081   | --sha | --sh)
1082     ac_prev=sharedstatedir ;;
1083   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086   | --sha=* | --sh=*)
1087     sharedstatedir=$ac_optarg ;;
1088 
1089   -site | --site | --sit)
1090     ac_prev=site ;;
1091   -site=* | --site=* | --sit=*)
1092     site=$ac_optarg ;;
1093 
1094   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095     ac_prev=srcdir ;;
1096   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097     srcdir=$ac_optarg ;;
1098 
1099   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100   | --syscon | --sysco | --sysc | --sys | --sy)
1101     ac_prev=sysconfdir ;;
1102   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104     sysconfdir=$ac_optarg ;;
1105 
1106   -target | --target | --targe | --targ | --tar | --ta | --t)
1107     ac_prev=target_alias ;;
1108   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109     target_alias=$ac_optarg ;;
1110 
1111   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112     verbose=yes ;;
1113 
1114   -version | --version | --versio | --versi | --vers | -V)
1115     ac_init_version=: ;;
1116 
1117   -with-* | --with-*)
1118     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119     # Reject names that are not valid shell variable names.
1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121       as_fn_error $? "invalid package name: $ac_useropt"
1122     ac_useropt_orig=$ac_useropt
1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124     case $ac_user_opts in
1125       *"
1126 "with_$ac_useropt"
1127 "*) ;;
1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129          ac_unrecognized_sep=', ';;
1130     esac
1131     eval with_$ac_useropt=\$ac_optarg ;;
1132 
1133   -without-* | --without-*)
1134     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135     # Reject names that are not valid shell variable names.
1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137       as_fn_error $? "invalid package name: $ac_useropt"
1138     ac_useropt_orig=$ac_useropt
1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140     case $ac_user_opts in
1141       *"
1142 "with_$ac_useropt"
1143 "*) ;;
1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145          ac_unrecognized_sep=', ';;
1146     esac
1147     eval with_$ac_useropt=no ;;
1148 
1149   --x)
1150     # Obsolete; use --with-x.
1151     with_x=yes ;;
1152 
1153   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154   | --x-incl | --x-inc | --x-in | --x-i)
1155     ac_prev=x_includes ;;
1156   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158     x_includes=$ac_optarg ;;
1159 
1160   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162     ac_prev=x_libraries ;;
1163   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165     x_libraries=$ac_optarg ;;
1166 
1167   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1169     ;;
1170 
1171   *=*)
1172     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173     # Reject names that are not valid shell variable names.
1174     case $ac_envvar in #(
1175       '' | [0-9]* | *[!_$as_cr_alnum]* )
1176       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177     esac
1178     eval $ac_envvar=\$ac_optarg
1179     export $ac_envvar ;;
1180 
1181   *)
1182     # FIXME: should be removed in autoconf 3.0.
1183     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187     ;;
1188 
1189   esac
1190 done
1191 
1192 if test -n "$ac_prev"; then
1193   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194   as_fn_error $? "missing argument to $ac_option"
1195 fi
1196 
1197 if test -n "$ac_unrecognized_opts"; then
1198   case $enable_option_checking in
1199     no) ;;
1200     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1202   esac
1203 fi
1204 
1205 # Check all directory arguments for consistency.
1206 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207                 datadir sysconfdir sharedstatedir localstatedir includedir \
1208                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209                 libdir localedir mandir
1210 do
1211   eval ac_val=\$$ac_var
1212   # Remove trailing slashes.
1213   case $ac_val in
1214     */ )
1215       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216       eval $ac_var=\$ac_val;;
1217   esac
1218   # Be sure to have absolute directory names.
1219   case $ac_val in
1220     [\\/$]* | ?:[\\/]* )  continue;;
1221     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222   esac
1223   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1224 done
1225 
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1229 build=$build_alias
1230 host=$host_alias
1231 target=$target_alias
1232 
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235   if test "x$build_alias" = x; then
1236     cross_compiling=maybe
1237   elif test "x$build_alias" != "x$host_alias"; then
1238     cross_compiling=yes
1239   fi
1240 fi
1241 
1242 ac_tool_prefix=
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1244 
1245 test "$silent" = yes && exec 6>/dev/null
1246 
1247 
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251   as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253   as_fn_error $? "pwd does not report name of working directory"
1254 
1255 
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258   ac_srcdir_defaulted=yes
1259   # Try the directory containing this script, then the parent directory.
1260   ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262          X"$as_myself" : 'X\(//\)[^/]' \| \
1263          X"$as_myself" : 'X\(//\)$' \| \
1264          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267             s//\1/
1268             q
1269           }
1270           /^X\(\/\/\)[^/].*/{
1271             s//\1/
1272             q
1273           }
1274           /^X\(\/\/\)$/{
1275             s//\1/
1276             q
1277           }
1278           /^X\(\/\).*/{
1279             s//\1/
1280             q
1281           }
1282           s/.*/./; q'`
1283   srcdir=$ac_confdir
1284   if test ! -r "$srcdir/$ac_unique_file"; then
1285     srcdir=..
1286   fi
1287 else
1288   ac_srcdir_defaulted=no
1289 fi
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1293 fi
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297         pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300   srcdir=.
1301 fi
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
1308 for ac_var in $ac_precious_vars; do
1309   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310   eval ac_env_${ac_var}_value=\$${ac_var}
1311   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 done
1314 
1315 #
1316 # Report the --help message.
1317 #
1318 if test "$ac_init_help" = "long"; then
1319   # Omit some internal or obsolete options to make the list less imposing.
1320   # This message is too long to be a string in the A/UX 3.1 sh.
1321   cat <<_ACEOF
1322 \`configure' configures tina-libs 6.0rcbuild010 to adapt to many kinds of systems.
1323 
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE.  See below for descriptions of some of the useful variables.
1328 
1329 Defaults for the options are specified in brackets.
1330 
1331 Configuration:
1332   -h, --help              display this help and exit
1333       --help=short        display options specific to this package
1334       --help=recursive    display the short help of all the included packages
1335   -V, --version           display version information and exit
1336   -q, --quiet, --silent   do not print \`checking ...' messages
1337       --cache-file=FILE   cache test results in FILE [disabled]
1338   -C, --config-cache      alias for \`--cache-file=config.cache'
1339   -n, --no-create         do not create output files
1340       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1341 
1342 Installation directories:
1343   --prefix=PREFIX         install architecture-independent files in PREFIX
1344                           [$ac_default_prefix]
1345   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1346                           [PREFIX]
1347 
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1352 
1353 For better control, use the options below.
1354 
1355 Fine tuning of the installation directories:
1356   --bindir=DIR            user executables [EPREFIX/bin]
1357   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1358   --libexecdir=DIR        program executables [EPREFIX/libexec]
1359   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1360   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1361   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1362   --libdir=DIR            object code libraries [EPREFIX/lib]
1363   --includedir=DIR        C header files [PREFIX/include]
1364   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1365   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1366   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1367   --infodir=DIR           info documentation [DATAROOTDIR/info]
1368   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1369   --mandir=DIR            man documentation [DATAROOTDIR/man]
1370   --docdir=DIR            documentation root [DATAROOTDIR/doc/tina-libs]
1371   --htmldir=DIR           html documentation [DOCDIR]
1372   --dvidir=DIR            dvi documentation [DOCDIR]
1373   --pdfdir=DIR            pdf documentation [DOCDIR]
1374   --psdir=DIR             ps documentation [DOCDIR]
1375 _ACEOF
1376 
1377   cat <<\_ACEOF
1378 
1379 Program names:
1380   --program-prefix=PREFIX            prepend PREFIX to installed program names
1381   --program-suffix=SUFFIX            append SUFFIX to installed program names
1382   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1383 
1384 System types:
1385   --build=BUILD     configure for building on BUILD [guessed]
1386   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1387   --target=TARGET   configure for building compilers for TARGET [HOST]
1388 _ACEOF
1389 fi
1390 
1391 if test -n "$ac_init_help"; then
1392   case $ac_init_help in
1393      short | recursive ) echo "Configuration of tina-libs 6.0rcbuild010:";;
1394    esac
1395   cat <<\_ACEOF
1396 
1397 Optional Features:
1398   --disable-option-checking  ignore unrecognized --enable/--with options
1399   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1400   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1401   --enable-dependency-tracking
1402                           do not reject slow dependency extractors
1403   --disable-dependency-tracking
1404                           speeds up one-time build
1405   --enable-silent-rules   less verbose build output (undo: "make V=1")
1406   --disable-silent-rules  verbose build output (undo: "make V=0")
1407   --enable-maintainer-mode
1408                           enable make rules and dependencies not useful (and
1409                           sometimes confusing) to the casual installer
1410   --enable-shared[=PKGS]  build shared libraries [default=no]
1411   --enable-static[=PKGS]  build static libraries [default=yes]
1412   --enable-fast-install[=PKGS]
1413                           optimize for fast installation [default=yes]
1414   --disable-libtool-lock  avoid locking (might break parallel builds)
1415 
1416 Optional Packages:
1417   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1418   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1419   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1420                           both]
1421   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1422   --with-sysroot=DIR Search for dependent libraries within DIR
1423                         (or the compiler's sysroot if not specified).
1424 
1425 Some influential environment variables:
1426   CC          C compiler command
1427   CFLAGS      C compiler flags
1428   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1429               nonstandard directory <lib dir>
1430   LIBS        libraries to pass to the linker, e.g. -l<library>
1431   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1432               you have headers in a nonstandard directory <include dir>
1433   CPP         C preprocessor
1434 
1435 Use these variables to override the choices made by `configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1437 
1438 Report bugs to <bugs@tina-vision.net>.
1439 _ACEOF
1440 ac_status=$?
1441 fi
1442 
1443 if test "$ac_init_help" = "recursive"; then
1444   # If there are subdirs, report their specific --help.
1445   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446     test -d "$ac_dir" ||
1447       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448       continue
1449     ac_builddir=.
1450 
1451 case "$ac_dir" in
1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *)
1454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1455   # A ".." for each directory in $ac_dir_suffix.
1456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1457   case $ac_top_builddir_sub in
1458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1460   esac ;;
1461 esac
1462 ac_abs_top_builddir=$ac_pwd
1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1464 # for backward compatibility:
1465 ac_top_builddir=$ac_top_build_prefix
1466 
1467 case $srcdir in
1468   .)  # We are building in place.
1469     ac_srcdir=.
1470     ac_top_srcdir=$ac_top_builddir_sub
1471     ac_abs_top_srcdir=$ac_pwd ;;
1472   [\\/]* | ?:[\\/]* )  # Absolute name.
1473     ac_srcdir=$srcdir$ac_dir_suffix;
1474     ac_top_srcdir=$srcdir
1475     ac_abs_top_srcdir=$srcdir ;;
1476   *) # Relative name.
1477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1478     ac_top_srcdir=$ac_top_build_prefix$srcdir
1479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1480 esac
1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1482 
1483     cd "$ac_dir" || { ac_status=$?; continue; }
1484     # Check for guested configure.
1485     if test -f "$ac_srcdir/configure.gnu"; then
1486       echo &&
1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1488     elif test -f "$ac_srcdir/configure"; then
1489       echo &&
1490       $SHELL "$ac_srcdir/configure" --help=recursive
1491     else
1492       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1493     fi || ac_status=$?
1494     cd "$ac_pwd" || { ac_status=$?; break; }
1495   done
1496 fi
1497 
1498 test -n "$ac_init_help" && exit $ac_status
1499 if $ac_init_version; then
1500   cat <<\_ACEOF
1501 tina-libs configure 6.0rcbuild010
1502 generated by GNU Autoconf 2.69
1503 
1504 Copyright (C) 2012 Free Software Foundation, Inc.
1505 This configure script is free software; the Free Software Foundation
1506 gives unlimited permission to copy, distribute and modify it.
1507 _ACEOF
1508   exit
1509 fi
1510 
1511 ## ------------------------ ##
1512 ## Autoconf initialization. ##
1513 ## ------------------------ ##
1514 
1515 # ac_fn_c_try_compile LINENO
1516 # --------------------------
1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1518 ac_fn_c_try_compile ()
1519 {
1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521   rm -f conftest.$ac_objext
1522   if { { ac_try="$ac_compile"
1523 case "(($ac_try" in
1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1525   *) ac_try_echo=$ac_try;;
1526 esac
1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1528 $as_echo "$ac_try_echo"; } >&5
1529   (eval "$ac_compile") 2>conftest.err
1530   ac_status=$?
1531   if test -s conftest.err; then
1532     grep -v '^ *+' conftest.err >conftest.er1
1533     cat conftest.er1 >&5
1534     mv -f conftest.er1 conftest.err
1535   fi
1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1537   test $ac_status = 0; } && {
1538          test -z "$ac_c_werror_flag" ||
1539          test ! -s conftest.err
1540        } && test -s conftest.$ac_objext; then :
1541   ac_retval=0
1542 else
1543   $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1545 
1546         ac_retval=1
1547 fi
1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1549   as_fn_set_status $ac_retval
1550 
1551 } # ac_fn_c_try_compile
1552 
1553 # ac_fn_c_try_cpp LINENO
1554 # ----------------------
1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1556 ac_fn_c_try_cpp ()
1557 {
1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559   if { { ac_try="$ac_cpp conftest.$ac_ext"
1560 case "(($ac_try" in
1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562   *) ac_try_echo=$ac_try;;
1563 esac
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1567   ac_status=$?
1568   if test -s conftest.err; then
1569     grep -v '^ *+' conftest.err >conftest.er1
1570     cat conftest.er1 >&5
1571     mv -f conftest.er1 conftest.err
1572   fi
1573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574   test $ac_status = 0; } > conftest.i && {
1575          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1576          test ! -s conftest.err
1577        }; then :
1578   ac_retval=0
1579 else
1580   $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1582 
1583     ac_retval=1
1584 fi
1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586   as_fn_set_status $ac_retval
1587 
1588 } # ac_fn_c_try_cpp
1589 
1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1593 # the include files in INCLUDES and setting the cache variable VAR
1594 # accordingly.
1595 ac_fn_c_check_header_mongrel ()
1596 {
1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598   if eval \${$3+:} false; then :
1599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1600 $as_echo_n "checking for $2... " >&6; }
1601 if eval \${$3+:} false; then :
1602   $as_echo_n "(cached) " >&6
1603 fi
1604 eval ac_res=\$$3
1605                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 $as_echo "$ac_res" >&6; }
1607 else
1608   # Is the header compilable?
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1610 $as_echo_n "checking $2 usability... " >&6; }
1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1612 /* end confdefs.h.  */
1613 $4
1614 #include <$2>
1615 _ACEOF
1616 if ac_fn_c_try_compile "$LINENO"; then :
1617   ac_header_compiler=yes
1618 else
1619   ac_header_compiler=no
1620 fi
1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1623 $as_echo "$ac_header_compiler" >&6; }
1624 
1625 # Is the header present?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1627 $as_echo_n "checking $2 presence... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h.  */
1630 #include <$2>
1631 _ACEOF
1632 if ac_fn_c_try_cpp "$LINENO"; then :
1633   ac_header_preproc=yes
1634 else
1635   ac_header_preproc=no
1636 fi
1637 rm -f conftest.err conftest.i conftest.$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1639 $as_echo "$ac_header_preproc" >&6; }
1640 
1641 # So?  What about this header?
1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1643   yes:no: )
1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1648     ;;
1649   no:yes:* )
1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1653 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1657 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660 ( $as_echo "## ----------------------------------- ##
1661 ## Report this to bugs@tina-vision.net ##
1662 ## ----------------------------------- ##"
1663      ) | sed "s/^/$as_me: WARNING:     /" >&2
1664     ;;
1665 esac
1666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if eval \${$3+:} false; then :
1669   $as_echo_n "(cached) " >&6
1670 else
1671   eval "$3=\$ac_header_compiler"
1672 fi
1673 eval ac_res=\$$3
1674                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675 $as_echo "$ac_res" >&6; }
1676 fi
1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 
1679 } # ac_fn_c_check_header_mongrel
1680 
1681 # ac_fn_c_try_run LINENO
1682 # ----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1684 # that executables *can* be run.
1685 ac_fn_c_try_run ()
1686 {
1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688   if { { ac_try="$ac_link"
1689 case "(($ac_try" in
1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691   *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695   (eval "$ac_link") 2>&5
1696   ac_status=$?
1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699   { { case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_try") 2>&5
1706   ac_status=$?
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; }; }; then :
1709   ac_retval=0
1710 else
1711   $as_echo "$as_me: program exited with status $ac_status" >&5
1712        $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714 
1715        ac_retval=$ac_status
1716 fi
1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719   as_fn_set_status $ac_retval
1720 
1721 } # ac_fn_c_try_run
1722 
1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1724 # -------------------------------------------------------
1725 # Tests whether HEADER exists and can be compiled using the include files in
1726 # INCLUDES, setting the cache variable VAR accordingly.
1727 ac_fn_c_check_header_compile ()
1728 {
1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733   $as_echo_n "(cached) " >&6
1734 else
1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h.  */
1737 $4
1738 #include <$2>
1739 _ACEOF
1740 if ac_fn_c_try_compile "$LINENO"; then :
1741   eval "$3=yes"
1742 else
1743   eval "$3=no"
1744 fi
1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 fi
1747 eval ac_res=\$$3
1748                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 
1752 } # ac_fn_c_check_header_compile
1753 
1754 # ac_fn_c_try_link LINENO
1755 # -----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_c_try_link ()
1758 {
1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760   rm -f conftest.$ac_objext conftest$ac_exeext
1761   if { { ac_try="$ac_link"
1762 case "(($ac_try" in
1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764   *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768   (eval "$ac_link") 2>conftest.err
1769   ac_status=$?
1770   if test -s conftest.err; then
1771     grep -v '^ *+' conftest.err >conftest.er1
1772     cat conftest.er1 >&5
1773     mv -f conftest.er1 conftest.err
1774   fi
1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776   test $ac_status = 0; } && {
1777          test -z "$ac_c_werror_flag" ||
1778          test ! -s conftest.err
1779        } && test -s conftest$ac_exeext && {
1780          test "$cross_compiling" = yes ||
1781          test -x conftest$ac_exeext
1782        }; then :
1783   ac_retval=0
1784 else
1785   $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1787 
1788         ac_retval=1
1789 fi
1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792   # interfere with the next link command; also delete a directory that is
1793   # left behind by Apple's compiler.  We do this before executing the actions.
1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796   as_fn_set_status $ac_retval
1797 
1798 } # ac_fn_c_try_link
1799 
1800 # ac_fn_c_check_func LINENO FUNC VAR
1801 # ----------------------------------
1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1803 ac_fn_c_check_func ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809   $as_echo_n "(cached) " >&6
1810 else
1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h.  */
1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1815 #define $2 innocuous_$2
1816 
1817 /* System header to define __stub macros and hopefully few prototypes,
1818     which can conflict with char $2 (); below.
1819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820     <limits.h> exists even on freestanding compilers.  */
1821 
1822 #ifdef __STDC__
1823 # include <limits.h>
1824 #else
1825 # include <assert.h>
1826 #endif
1827 
1828 #undef $2
1829 
1830 /* Override any GCC internal prototype to avoid an error.
1831    Use char because int might match the return type of a GCC
1832    builtin and then its argument prototype would still apply.  */
1833 #ifdef __cplusplus
1834 extern "C"
1835 #endif
1836 char $2 ();
1837 /* The GNU C library defines this for functions which it implements
1838     to always fail with ENOSYS.  Some functions are actually named
1839     something starting with __ and the normal name is an alias.  */
1840 #if defined __stub_$2 || defined __stub___$2
1841 choke me
1842 #endif
1843 
1844 int
1845 main ()
1846 {
1847 return $2 ();
1848   ;
1849   return 0;
1850 }
1851 _ACEOF
1852 if ac_fn_c_try_link "$LINENO"; then :
1853   eval "$3=yes"
1854 else
1855   eval "$3=no"
1856 fi
1857 rm -f core conftest.err conftest.$ac_objext \
1858     conftest$ac_exeext conftest.$ac_ext
1859 fi
1860 eval ac_res=\$$3
1861                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 
1865 } # ac_fn_c_check_func
1866 
1867 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1868 # -------------------------------------------
1869 # Tests whether TYPE exists after having included INCLUDES, setting cache
1870 # variable VAR accordingly.
1871 ac_fn_c_check_type ()
1872 {
1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \${$3+:} false; then :
1877   $as_echo_n "(cached) " >&6
1878 else
1879   eval "$3=no"
1880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h.  */
1882 $4
1883 int
1884 main ()
1885 {
1886 if (sizeof ($2))
1887          return 0;
1888   ;
1889   return 0;
1890 }
1891 _ACEOF
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h.  */
1895 $4
1896 int
1897 main ()
1898 {
1899 if (sizeof (($2)))
1900             return 0;
1901   ;
1902   return 0;
1903 }
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 
1907 else
1908   eval "$3=yes"
1909 fi
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 fi
1912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913 fi
1914 eval ac_res=\$$3
1915                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 
1919 } # ac_fn_c_check_type
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1923 
1924 It was created by tina-libs $as_me 6.0rcbuild010, which was
1925 generated by GNU Autoconf 2.69.  Invocation command line was
1926 
1927   $ $0 $@
1928 
1929 _ACEOF
1930 exec 5>>config.log
1931 {
1932 cat <<_ASUNAME
1933 ## --------- ##
1934 ## Platform. ##
1935 ## --------- ##
1936 
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1942 
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1945 
1946 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1947 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1950 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1951 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1952 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1953 
1954 _ASUNAME
1955 
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1958 do
1959   IFS=$as_save_IFS
1960   test -z "$as_dir" && as_dir=.
1961     $as_echo "PATH: $as_dir"
1962   done
1963 IFS=$as_save_IFS
1964 
1965 } >&5
1966 
1967 cat >&5 <<_ACEOF
1968 
1969 
1970 ## ----------- ##
1971 ## Core tests. ##
1972 ## ----------- ##
1973 
1974 _ACEOF
1975 
1976 
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_configure_args=
1983 ac_configure_args0=
1984 ac_configure_args1=
1985 ac_must_keep_next=false
1986 for ac_pass in 1 2
1987 do
1988   for ac_arg
1989   do
1990     case $ac_arg in
1991     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993     | -silent | --silent | --silen | --sile | --sil)
1994       continue ;;
1995     *\'*)
1996       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997     esac
1998     case $ac_pass in
1999     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2000     2)
2001       as_fn_append ac_configure_args1 " '$ac_arg'"
2002       if test $ac_must_keep_next = true; then
2003         ac_must_keep_next=false # Got value, back to normal.
2004       else
2005         case $ac_arg in
2006           *=* | --config-cache | -C | -disable-* | --disable-* \
2007           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009           | -with-* | --with-* | -without-* | --without-* | --x)
2010             case "$ac_configure_args0 " in
2011               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012             esac
2013             ;;
2014           -* ) ac_must_keep_next=true ;;
2015         esac
2016       fi
2017       as_fn_append ac_configure_args " '$ac_arg'"
2018       ;;
2019     esac
2020   done
2021 done
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2024 
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log.  We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031   # Save into config.log some information that might help in debugging.
2032   {
2033     echo
2034 
2035     $as_echo "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2038     echo
2039     # The following way of writing the cache mishandles newlines in values,
2040 (
2041   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042     eval ac_val=\$$ac_var
2043     case $ac_val in #(
2044     *${as_nl}*)
2045       case $ac_var in #(
2046       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048       esac
2049       case $ac_var in #(
2050       _ | IFS | as_nl) ;; #(
2051       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052       *) { eval $ac_var=; unset $ac_var;} ;;
2053       esac ;;
2054     esac
2055   done
2056   (set) 2>&1 |
2057     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058     *${as_nl}ac_space=\ *)
2059       sed -n \
2060         "s/'\''/'\''\\\\'\'''\''/g;
2061           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062       ;; #(
2063     *)
2064       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2065       ;;
2066     esac |
2067     sort
2068 )
2069     echo
2070 
2071     $as_echo "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2074     echo
2075     for ac_var in $ac_subst_vars
2076     do
2077       eval ac_val=\$$ac_var
2078       case $ac_val in
2079       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080       esac
2081       $as_echo "$ac_var='\''$ac_val'\''"
2082     done | sort
2083     echo
2084 
2085     if test -n "$ac_subst_files"; then
2086       $as_echo "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2089       echo
2090       for ac_var in $ac_subst_files
2091       do
2092         eval ac_val=\$$ac_var
2093         case $ac_val in
2094         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095         esac
2096         $as_echo "$ac_var='\''$ac_val'\''"
2097       done | sort
2098       echo
2099     fi
2100 
2101     if test -s confdefs.h; then
2102       $as_echo "## ----------- ##
2103 ## confdefs.h. ##
2104 ## ----------- ##"
2105       echo
2106       cat confdefs.h
2107       echo
2108     fi
2109     test "$ac_signal" != 0 &&
2110       $as_echo "$as_me: caught signal $ac_signal"
2111     $as_echo "$as_me: exit $exit_status"
2112   } >&5
2113   rm -f core *.core core.conftest.* &&
2114     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115     exit $exit_status
2116 ' 0
2117 for ac_signal in 1 2 13 15; do
2118   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119 done
2120 ac_signal=0
2121 
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest* confdefs.h
2124 
2125 $as_echo "/* confdefs.h */" > confdefs.h
2126 
2127 # Predefined preprocessor variables.
2128 
2129 cat >>confdefs.h <<_ACEOF
2130 #define PACKAGE_NAME "$PACKAGE_NAME"
2131 _ACEOF
2132 
2133 cat >>confdefs.h <<_ACEOF
2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2135 _ACEOF
2136 
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 _ACEOF
2140 
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_STRING "$PACKAGE_STRING"
2143 _ACEOF
2144 
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 _ACEOF
2148 
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_URL "$PACKAGE_URL"
2151 _ACEOF
2152 
2153 
2154 # Let the site file select an alternate cache file if it wants to.
2155 # Prefer an explicitly selected file to automatically selected ones.
2156 ac_site_file1=NONE
2157 ac_site_file2=NONE
2158 if test -n "$CONFIG_SITE"; then
2159   # We do not want a PATH search for config.site.
2160   case $CONFIG_SITE in #((
2161     -*)  ac_site_file1=./$CONFIG_SITE;;
2162     */*) ac_site_file1=$CONFIG_SITE;;
2163     *)   ac_site_file1=./$CONFIG_SITE;;
2164   esac
2165 elif test "x$prefix" != xNONE; then
2166   ac_site_file1=$prefix/share/config.site
2167   ac_site_file2=$prefix/etc/config.site
2168 else
2169   ac_site_file1=$ac_default_prefix/share/config.site
2170   ac_site_file2=$ac_default_prefix/etc/config.site
2171 fi
2172 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2173 do
2174   test "x$ac_site_file" = xNONE && continue
2175   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2176     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178     sed 's/^/| /' "$ac_site_file" >&5
2179     . "$ac_site_file" \
2180       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 as_fn_error $? "failed to load site script $ac_site_file
2183 See \`config.log' for more details" "$LINENO" 5; }
2184   fi
2185 done
2186 
2187 if test -r "$cache_file"; then
2188   # Some versions of bash will fail to source /dev/null (special files
2189   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2190   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2191     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
2193     case $cache_file in
2194       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2195       *)                      . "./$cache_file";;
2196     esac
2197   fi
2198 else
2199   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
2201   >$cache_file
2202 fi
2203 
2204 # Check that the precious variables saved in the cache have kept the same
2205 # value.
2206 ac_cache_corrupted=false
2207 for ac_var in $ac_precious_vars; do
2208   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2209   eval ac_new_set=\$ac_env_${ac_var}_set
2210   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2211   eval ac_new_val=\$ac_env_${ac_var}_value
2212   case $ac_old_set,$ac_new_set in
2213     set,)
2214       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2216       ac_cache_corrupted=: ;;
2217     ,set)
2218       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2220       ac_cache_corrupted=: ;;
2221     ,);;
2222     *)
2223       if test "x$ac_old_val" != "x$ac_new_val"; then
2224         # differences in whitespace do not lead to failure.
2225         ac_old_val_w=`echo x $ac_old_val`
2226         ac_new_val_w=`echo x $ac_new_val`
2227         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2228           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2230           ac_cache_corrupted=:
2231         else
2232           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2234           eval $ac_var=\$ac_old_val
2235         fi
2236         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2237 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2238         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2239 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2240       fi;;
2241   esac
2242   # Pass precious variables to config.status.
2243   if test "$ac_new_set" = set; then
2244     case $ac_new_val in
2245     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2246     *) ac_arg=$ac_var=$ac_new_val ;;
2247     esac
2248     case " $ac_configure_args " in
2249       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2250       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2251     esac
2252   fi
2253 done
2254 if $ac_cache_corrupted; then
2255   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2260 fi
2261 ## -------------------- ##
2262 ## Main body of script. ##
2263 ## -------------------- ##
2264 
2265 ac_ext=c
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 
2271 
2272 ac_aux_dir=
2273 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2274   if test -f "$ac_dir/install-sh"; then
2275     ac_aux_dir=$ac_dir
2276     ac_install_sh="$ac_aux_dir/install-sh -c"
2277     break
2278   elif test -f "$ac_dir/install.sh"; then
2279     ac_aux_dir=$ac_dir
2280     ac_install_sh="$ac_aux_dir/install.sh -c"
2281     break
2282   elif test -f "$ac_dir/shtool"; then
2283     ac_aux_dir=$ac_dir
2284     ac_install_sh="$ac_aux_dir/shtool install -c"
2285     break
2286   fi
2287 done
2288 if test -z "$ac_aux_dir"; then
2289   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2290 fi
2291 
2292 # These three variables are undocumented and unsupported,
2293 # and are intended to be withdrawn in a future Autoconf release.
2294 # They can cause serious problems if a builder's source tree is in a directory
2295 # whose full name contains unusual characters.
2296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2298 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2299 
2300 
2301 # Make sure we can run config.sub.
2302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2303   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2304 
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2306 $as_echo_n "checking build system type... " >&6; }
2307 if ${ac_cv_build+:} false; then :
2308   $as_echo_n "(cached) " >&6
2309 else
2310   ac_build_alias=$build_alias
2311 test "x$ac_build_alias" = x &&
2312   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2313 test "x$ac_build_alias" = x &&
2314   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2315 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2316   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2317 
2318 fi
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2320 $as_echo "$ac_cv_build" >&6; }
2321 case $ac_cv_build in
2322 *-*-*) ;;
2323 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2324 esac
2325 build=$ac_cv_build
2326 ac_save_IFS=$IFS; IFS='-'
2327 set x $ac_cv_build
2328 shift
2329 build_cpu=$1
2330 build_vendor=$2
2331 shift; shift
2332 # Remember, the first character of IFS is used to create $*,
2333 # except with old shells:
2334 build_os=$*
2335 IFS=$ac_save_IFS
2336 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2337 
2338 
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2340 $as_echo_n "checking host system type... " >&6; }
2341 if ${ac_cv_host+:} false; then :
2342   $as_echo_n "(cached) " >&6
2343 else
2344   if test "x$host_alias" = x; then
2345   ac_cv_host=$ac_cv_build
2346 else
2347   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2348     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2349 fi
2350 
2351 fi
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2353 $as_echo "$ac_cv_host" >&6; }
2354 case $ac_cv_host in
2355 *-*-*) ;;
2356 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2357 esac
2358 host=$ac_cv_host
2359 ac_save_IFS=$IFS; IFS='-'
2360 set x $ac_cv_host
2361 shift
2362 host_cpu=$1
2363 host_vendor=$2
2364 shift; shift
2365 # Remember, the first character of IFS is used to create $*,
2366 # except with old shells:
2367 host_os=$*
2368 IFS=$ac_save_IFS
2369 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2370 
2371 
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2373 $as_echo_n "checking target system type... " >&6; }
2374 if ${ac_cv_target+:} false; then :
2375   $as_echo_n "(cached) " >&6
2376 else
2377   if test "x$target_alias" = x; then
2378   ac_cv_target=$ac_cv_host
2379 else
2380   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2381     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2382 fi
2383 
2384 fi
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2386 $as_echo "$ac_cv_target" >&6; }
2387 case $ac_cv_target in
2388 *-*-*) ;;
2389 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2390 esac
2391 target=$ac_cv_target
2392 ac_save_IFS=$IFS; IFS='-'
2393 set x $ac_cv_target
2394 shift
2395 target_cpu=$1
2396 target_vendor=$2
2397 shift; shift
2398 # Remember, the first character of IFS is used to create $*,
2399 # except with old shells:
2400 target_os=$*
2401 IFS=$ac_save_IFS
2402 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2403 
2404 
2405 # The aliases save the names the user supplied, while $host etc.
2406 # will get canonicalized.
2407 test -n "$target_alias" &&
2408   test "$program_prefix$program_suffix$program_transform_name" = \
2409     NONENONEs,x,x, &&
2410   program_prefix=${target_alias}- ac_ext=c
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415 if test -n "$ac_tool_prefix"; then
2416   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2417 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if ${ac_cv_prog_CC+:} false; then :
2421   $as_echo_n "(cached) " >&6
2422 else
2423   if test -n "$CC"; then
2424   ac_cv_prog_CC="$CC" # Let the user override the test.
2425 else
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2428 do
2429   IFS=$as_save_IFS
2430   test -z "$as_dir" && as_dir=.
2431     for ac_exec_ext in '' $ac_executable_extensions; do
2432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2433     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2435     break 2
2436   fi
2437 done
2438   done
2439 IFS=$as_save_IFS
2440 
2441 fi
2442 fi
2443 CC=$ac_cv_prog_CC
2444 if test -n "$CC"; then
2445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2446 $as_echo "$CC" >&6; }
2447 else
2448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2450 fi
2451 
2452 
2453 fi
2454 if test -z "$ac_cv_prog_CC"; then
2455   ac_ct_CC=$CC
2456   # Extract the first word of "gcc", so it can be a program name with args.
2457 set dummy gcc; ac_word=$2
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
2460 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2461   $as_echo_n "(cached) " >&6
2462 else
2463   if test -n "$ac_ct_CC"; then
2464   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2465 else
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 for as_dir in $PATH
2468 do
2469   IFS=$as_save_IFS
2470   test -z "$as_dir" && as_dir=.
2471     for ac_exec_ext in '' $ac_executable_extensions; do
2472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473     ac_cv_prog_ac_ct_CC="gcc"
2474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2475     break 2
2476   fi
2477 done
2478   done
2479 IFS=$as_save_IFS
2480 
2481 fi
2482 fi
2483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2484 if test -n "$ac_ct_CC"; then
2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2486 $as_echo "$ac_ct_CC" >&6; }
2487 else
2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2489 $as_echo "no" >&6; }
2490 fi
2491 
2492   if test "x$ac_ct_CC" = x; then
2493     CC=""
2494   else
2495     case $cross_compiling:$ac_tool_warned in
2496 yes:)
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2499 ac_tool_warned=yes ;;
2500 esac
2501     CC=$ac_ct_CC
2502   fi
2503 else
2504   CC="$ac_cv_prog_CC"
2505 fi
2506 
2507 if test -z "$CC"; then
2508           if test -n "$ac_tool_prefix"; then
2509     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2510 set dummy ${ac_tool_prefix}cc; ac_word=$2
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512 $as_echo_n "checking for $ac_word... " >&6; }
2513 if ${ac_cv_prog_CC+:} false; then :
2514   $as_echo_n "(cached) " >&6
2515 else
2516   if test -n "$CC"; then
2517   ac_cv_prog_CC="$CC" # Let the user override the test.
2518 else
2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 for as_dir in $PATH
2521 do
2522   IFS=$as_save_IFS
2523   test -z "$as_dir" && as_dir=.
2524     for ac_exec_ext in '' $ac_executable_extensions; do
2525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2526     ac_cv_prog_CC="${ac_tool_prefix}cc"
2527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528     break 2
2529   fi
2530 done
2531   done
2532 IFS=$as_save_IFS
2533 
2534 fi
2535 fi
2536 CC=$ac_cv_prog_CC
2537 if test -n "$CC"; then
2538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2539 $as_echo "$CC" >&6; }
2540 else
2541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542 $as_echo "no" >&6; }
2543 fi
2544 
2545 
2546   fi
2547 fi
2548 if test -z "$CC"; then
2549   # Extract the first word of "cc", so it can be a program name with args.
2550 set dummy cc; ac_word=$2
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552 $as_echo_n "checking for $ac_word... " >&6; }
2553 if ${ac_cv_prog_CC+:} false; then :
2554   $as_echo_n "(cached) " >&6
2555 else
2556   if test -n "$CC"; then
2557   ac_cv_prog_CC="$CC" # Let the user override the test.
2558 else
2559   ac_prog_rejected=no
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 for as_dir in $PATH
2562 do
2563   IFS=$as_save_IFS
2564   test -z "$as_dir" && as_dir=.
2565     for ac_exec_ext in '' $ac_executable_extensions; do
2566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2568        ac_prog_rejected=yes
2569        continue
2570      fi
2571     ac_cv_prog_CC="cc"
2572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573     break 2
2574   fi
2575 done
2576   done
2577 IFS=$as_save_IFS
2578 
2579 if test $ac_prog_rejected = yes; then
2580   # We found a bogon in the path, so make sure we never use it.
2581   set dummy $ac_cv_prog_CC
2582   shift
2583   if test $# != 0; then
2584     # We chose a different compiler from the bogus one.
2585     # However, it has the same basename, so the bogon will be chosen
2586     # first if we set CC to just the basename; use the full file name.
2587     shift
2588     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2589   fi
2590 fi
2591 fi
2592 fi
2593 CC=$ac_cv_prog_CC
2594 if test -n "$CC"; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2596 $as_echo "$CC" >&6; }
2597 else
2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 fi
2601 
2602 
2603 fi
2604 if test -z "$CC"; then
2605   if test -n "$ac_tool_prefix"; then
2606   for ac_prog in cl.exe
2607   do
2608     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if ${ac_cv_prog_CC+:} false; then :
2613   $as_echo_n "(cached) " >&6
2614 else
2615   if test -n "$CC"; then
2616   ac_cv_prog_CC="$CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     for ac_exec_ext in '' $ac_executable_extensions; do
2624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630   done
2631 IFS=$as_save_IFS
2632 
2633 fi
2634 fi
2635 CC=$ac_cv_prog_CC
2636 if test -n "$CC"; then
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2638 $as_echo "$CC" >&6; }
2639 else
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2642 fi
2643 
2644 
2645     test -n "$CC" && break
2646   done
2647 fi
2648 if test -z "$CC"; then
2649   ac_ct_CC=$CC
2650   for ac_prog in cl.exe
2651 do
2652   # Extract the first word of "$ac_prog", so it can be a program name with args.
2653 set dummy $ac_prog; ac_word=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2657   $as_echo_n "(cached) " >&6
2658 else
2659   if test -n "$ac_ct_CC"; then
2660   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2661 else
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2664 do
2665   IFS=$as_save_IFS
2666   test -z "$as_dir" && as_dir=.
2667     for ac_exec_ext in '' $ac_executable_extensions; do
2668   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669     ac_cv_prog_ac_ct_CC="$ac_prog"
2670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671     break 2
2672   fi
2673 done
2674   done
2675 IFS=$as_save_IFS
2676 
2677 fi
2678 fi
2679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2680 if test -n "$ac_ct_CC"; then
2681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2682 $as_echo "$ac_ct_CC" >&6; }
2683 else
2684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2686 fi
2687 
2688 
2689   test -n "$ac_ct_CC" && break
2690 done
2691 
2692   if test "x$ac_ct_CC" = x; then
2693     CC=""
2694   else
2695     case $cross_compiling:$ac_tool_warned in
2696 yes:)
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned=yes ;;
2700 esac
2701     CC=$ac_ct_CC
2702   fi
2703 fi
2704 
2705 fi
2706 
2707 
2708 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 as_fn_error $? "no acceptable C compiler found in \$PATH
2711 See \`config.log' for more details" "$LINENO" 5; }
2712 
2713 # Provide some information about the compiler.
2714 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2715 set X $ac_compile
2716 ac_compiler=$2
2717 for ac_option in --version -v -V -qversion; do
2718   { { ac_try="$ac_compiler $ac_option >&5"
2719 case "(($ac_try" in
2720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721   *) ac_try_echo=$ac_try;;
2722 esac
2723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 $as_echo "$ac_try_echo"; } >&5
2725   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2726   ac_status=$?
2727   if test -s conftest.err; then
2728     sed '10a\
2729 ... rest of stderr output deleted ...
2730          10q' conftest.err >conftest.er1
2731     cat conftest.er1 >&5
2732   fi
2733   rm -f conftest.er1 conftest.err
2734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735   test $ac_status = 0; }
2736 done
2737 
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h.  */
2740 
2741 int
2742 main ()
2743 {
2744 
2745   ;
2746   return 0;
2747 }
2748 _ACEOF
2749 ac_clean_files_save=$ac_clean_files
2750 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2751 # Try to create an executable without -o first, disregard a.out.
2752 # It will help us diagnose broken compilers, and finding out an intuition
2753 # of exeext.
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2755 $as_echo_n "checking whether the C compiler works... " >&6; }
2756 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2757 
2758 # The possible output files:
2759 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2760 
2761 ac_rmfiles=
2762 for ac_file in $ac_files
2763 do
2764   case $ac_file in
2765     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2766     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2767   esac
2768 done
2769 rm -f $ac_rmfiles
2770 
2771 if { { ac_try="$ac_link_default"
2772 case "(($ac_try" in
2773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774   *) ac_try_echo=$ac_try;;
2775 esac
2776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777 $as_echo "$ac_try_echo"; } >&5
2778   (eval "$ac_link_default") 2>&5
2779   ac_status=$?
2780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781   test $ac_status = 0; }; then :
2782   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2783 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2784 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2785 # so that the user can short-circuit this test for compilers unknown to
2786 # Autoconf.
2787 for ac_file in $ac_files ''
2788 do
2789   test -f "$ac_file" || continue
2790   case $ac_file in
2791     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2792         ;;
2793     [ab].out )
2794         # We found the default executable, but exeext='' is most
2795         # certainly right.
2796         break;;
2797     *.* )
2798         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2799         then :; else
2800            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2801         fi
2802         # We set ac_cv_exeext here because the later test for it is not
2803         # safe: cross compilers may not add the suffix if given an `-o'
2804         # argument, so we may need to know it at that point already.
2805         # Even if this section looks crufty: it has the advantage of
2806         # actually working.
2807         break;;
2808     * )
2809         break;;
2810   esac
2811 done
2812 test "$ac_cv_exeext" = no && ac_cv_exeext=
2813 
2814 else
2815   ac_file=''
2816 fi
2817 if test -z "$ac_file"; then :
2818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2820 $as_echo "$as_me: failed program was:" >&5
2821 sed 's/^/| /' conftest.$ac_ext >&5
2822 
2823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825 as_fn_error 77 "C compiler cannot create executables
2826 See \`config.log' for more details" "$LINENO" 5; }
2827 else
2828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829 $as_echo "yes" >&6; }
2830 fi
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2832 $as_echo_n "checking for C compiler default output file name... " >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2834 $as_echo "$ac_file" >&6; }
2835 ac_exeext=$ac_cv_exeext
2836 
2837 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2838 ac_clean_files=$ac_clean_files_save
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2840 $as_echo_n "checking for suffix of executables... " >&6; }
2841 if { { ac_try="$ac_link"
2842 case "(($ac_try" in
2843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844   *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848   (eval "$ac_link") 2>&5
2849   ac_status=$?
2850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851   test $ac_status = 0; }; then :
2852   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2853 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2854 # work properly (i.e., refer to `conftest.exe'), while it won't with
2855 # `rm'.
2856 for ac_file in conftest.exe conftest conftest.*; do
2857   test -f "$ac_file" || continue
2858   case $ac_file in
2859     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2860     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2861           break;;
2862     * ) break;;
2863   esac
2864 done
2865 else
2866   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2868 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2869 See \`config.log' for more details" "$LINENO" 5; }
2870 fi
2871 rm -f conftest conftest$ac_cv_exeext
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2873 $as_echo "$ac_cv_exeext" >&6; }
2874 
2875 rm -f conftest.$ac_ext
2876 EXEEXT=$ac_cv_exeext
2877 ac_exeext=$EXEEXT
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h.  */
2880 #include <stdio.h>
2881 int
2882 main ()
2883 {
2884 FILE *f = fopen ("conftest.out", "w");
2885  return ferror (f) || fclose (f) != 0;
2886 
2887   ;
2888   return 0;
2889 }
2890 _ACEOF
2891 ac_clean_files="$ac_clean_files conftest.out"
2892 # Check that the compiler produces executables we can run.  If not, either
2893 # the compiler is broken, or we cross compile.
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2895 $as_echo_n "checking whether we are cross compiling... " >&6; }
2896 if test "$cross_compiling" != yes; then
2897   { { ac_try="$ac_link"
2898 case "(($ac_try" in
2899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900   *) ac_try_echo=$ac_try;;
2901 esac
2902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2903 $as_echo "$ac_try_echo"; } >&5
2904   (eval "$ac_link") 2>&5
2905   ac_status=$?
2906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907   test $ac_status = 0; }
2908   if { ac_try='./conftest$ac_cv_exeext'
2909   { { case "(($ac_try" in
2910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911   *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915   (eval "$ac_try") 2>&5
2916   ac_status=$?
2917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918   test $ac_status = 0; }; }; then
2919     cross_compiling=no
2920   else
2921     if test "$cross_compiling" = maybe; then
2922         cross_compiling=yes
2923     else
2924         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2926 as_fn_error $? "cannot run C compiled programs.
2927 If you meant to cross compile, use \`--host'.
2928 See \`config.log' for more details" "$LINENO" 5; }
2929     fi
2930   fi
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2933 $as_echo "$cross_compiling" >&6; }
2934 
2935 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2936 ac_clean_files=$ac_clean_files_save
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2938 $as_echo_n "checking for suffix of object files... " >&6; }
2939 if ${ac_cv_objext+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h.  */
2944 
2945 int
2946 main ()
2947 {
2948 
2949   ;
2950   return 0;
2951 }
2952 _ACEOF
2953 rm -f conftest.o conftest.obj
2954 if { { ac_try="$ac_compile"
2955 case "(($ac_try" in
2956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957   *) ac_try_echo=$ac_try;;
2958 esac
2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960 $as_echo "$ac_try_echo"; } >&5
2961   (eval "$ac_compile") 2>&5
2962   ac_status=$?
2963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964   test $ac_status = 0; }; then :
2965   for ac_file in conftest.o conftest.obj conftest.*; do
2966   test -f "$ac_file" || continue;
2967   case $ac_file in
2968     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2969     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2970        break;;
2971   esac
2972 done
2973 else
2974   $as_echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2976 
2977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error $? "cannot compute suffix of object files: cannot compile
2980 See \`config.log' for more details" "$LINENO" 5; }
2981 fi
2982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2983 fi
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2985 $as_echo "$ac_cv_objext" >&6; }
2986 OBJEXT=$ac_cv_objext
2987 ac_objext=$OBJEXT
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2989 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2990 if ${ac_cv_c_compiler_gnu+:} false; then :
2991   $as_echo_n "(cached) " >&6
2992 else
2993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h.  */
2995 
2996 int
2997 main ()
2998 {
2999 #ifndef __GNUC__
3000        choke me
3001 #endif
3002 
3003   ;
3004   return 0;
3005 }
3006 _ACEOF
3007 if ac_fn_c_try_compile "$LINENO"; then :
3008   ac_compiler_gnu=yes
3009 else
3010   ac_compiler_gnu=no
3011 fi
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3014 
3015 fi
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3017 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3018 if test $ac_compiler_gnu = yes; then
3019   GCC=yes
3020 else
3021   GCC=
3022 fi
3023 ac_test_CFLAGS=${CFLAGS+set}
3024 ac_save_CFLAGS=$CFLAGS
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3026 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3027 if ${ac_cv_prog_cc_g+:} false; then :
3028   $as_echo_n "(cached) " >&6
3029 else
3030   ac_save_c_werror_flag=$ac_c_werror_flag
3031    ac_c_werror_flag=yes
3032    ac_cv_prog_cc_g=no
3033    CFLAGS="-g"
3034    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h.  */
3036 
3037 int
3038 main ()
3039 {
3040 
3041   ;
3042   return 0;
3043 }
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046   ac_cv_prog_cc_g=yes
3047 else
3048   CFLAGS=""
3049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h.  */
3051 
3052 int
3053 main ()
3054 {
3055 
3056   ;
3057   return 0;
3058 }
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"; then :
3061 
3062 else
3063   ac_c_werror_flag=$ac_save_c_werror_flag
3064          CFLAGS="-g"
3065          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h.  */
3067 
3068 int
3069 main ()
3070 {
3071 
3072   ;
3073   return 0;
3074 }
3075 _ACEOF
3076 if ac_fn_c_try_compile "$LINENO"; then :
3077   ac_cv_prog_cc_g=yes
3078 fi
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 fi
3081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3082 fi
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084    ac_c_werror_flag=$ac_save_c_werror_flag
3085 fi
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3087 $as_echo "$ac_cv_prog_cc_g" >&6; }
3088 if test "$ac_test_CFLAGS" = set; then
3089   CFLAGS=$ac_save_CFLAGS
3090 elif test $ac_cv_prog_cc_g = yes; then
3091   if test "$GCC" = yes; then
3092     CFLAGS="-g -O2"
3093   else
3094     CFLAGS="-g"
3095   fi
3096 else
3097   if test "$GCC" = yes; then
3098     CFLAGS="-O2"
3099   else
3100     CFLAGS=
3101   fi
3102 fi
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3104 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3105 if ${ac_cv_prog_cc_c89+:} false; then :
3106   $as_echo_n "(cached) " >&6
3107 else
3108   ac_cv_prog_cc_c89=no
3109 ac_save_CC=$CC
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h.  */
3112 #include <stdarg.h>
3113 #include <stdio.h>
3114 struct stat;
3115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3116 struct buf { int x; };
3117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3118 static char *e (p, i)
3119      char **p;
3120      int i;
3121 {
3122   return p[i];
3123 }
3124 static char *f (char * (*g) (char **, int), char **p, ...)
3125 {
3126   char *s;
3127   va_list v;
3128   va_start (v,p);
3129   s = g (p, va_arg (v,int));
3130   va_end (v);
3131   return s;
3132 }
3133 
3134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3135    function prototypes and stuff, but not '\xHH' hex character constants.
3136    These don't provoke an error unfortunately, instead are silently treated
3137    as 'x'.  The following induces an error, until -std is added to get
3138    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3139    array size at least.  It's necessary to write '\x00'==0 to get something
3140    that's true only with -std.  */
3141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3142 
3143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3144    inside strings and character constants.  */
3145 #define FOO(x) 'x'
3146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3147 
3148 int test (int i, double x);
3149 struct s1 {int (*f) (int a);};
3150 struct s2 {int (*f) (double a);};
3151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3152 int argc;
3153 char **argv;
3154 int
3155 main ()
3156 {
3157 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3158   ;
3159   return 0;
3160 }
3161 _ACEOF
3162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3163         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3164 do
3165   CC="$ac_save_CC $ac_arg"
3166   if ac_fn_c_try_compile "$LINENO"; then :
3167   ac_cv_prog_cc_c89=$ac_arg
3168 fi
3169 rm -f core conftest.err conftest.$ac_objext
3170   test "x$ac_cv_prog_cc_c89" != "xno" && break
3171 done
3172 rm -f conftest.$ac_ext
3173 CC=$ac_save_CC
3174 
3175 fi
3176 # AC_CACHE_VAL
3177 case "x$ac_cv_prog_cc_c89" in
3178   x)
3179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3180 $as_echo "none needed" >&6; } ;;
3181   xno)
3182     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3183 $as_echo "unsupported" >&6; } ;;
3184   *)
3185     CC="$CC $ac_cv_prog_cc_c89"
3186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3187 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3188 esac
3189 if test "x$ac_cv_prog_cc_c89" != xno; then :
3190 
3191 fi
3192 
3193 ac_ext=c
3194 ac_cpp='$CPP $CPPFLAGS'
3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 
3199 
3200 ac_ext=c
3201 ac_cpp='$CPP $CPPFLAGS'
3202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3206 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3207 # On Suns, sometimes $CPP names a directory.
3208 if test -n "$CPP" && test -d "$CPP"; then
3209   CPP=
3210 fi
3211 if test -z "$CPP"; then
3212   if ${ac_cv_prog_CPP+:} false; then :
3213   $as_echo_n "(cached) " >&6
3214 else
3215       # Double quotes because CPP needs to be expanded
3216     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3217     do
3218       ac_preproc_ok=false
3219 for ac_c_preproc_warn_flag in '' yes
3220 do
3221   # Use a header file that comes with gcc, so configuring glibc
3222   # with a fresh cross-compiler works.
3223   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3224   # <limits.h> exists even on freestanding compilers.
3225   # On the NeXT, cc -E runs the code through the compiler's parser,
3226   # not just through cpp. "Syntax error" is here to catch this case.
3227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h.  */
3229 #ifdef __STDC__
3230 # include <limits.h>
3231 #else
3232 # include <assert.h>
3233 #endif
3234                      Syntax error
3235 _ACEOF
3236 if ac_fn_c_try_cpp "$LINENO"; then :
3237 
3238 else
3239   # Broken: fails on valid input.
3240 continue
3241 fi
3242 rm -f conftest.err conftest.i conftest.$ac_ext
3243 
3244   # OK, works on sane cases.  Now check whether nonexistent headers
3245   # can be detected and how.
3246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h.  */
3248 #include <ac_nonexistent.h>
3249 _ACEOF
3250 if ac_fn_c_try_cpp "$LINENO"; then :
3251   # Broken: success on invalid input.
3252 continue
3253 else
3254   # Passes both tests.
3255 ac_preproc_ok=:
3256 break
3257 fi
3258 rm -f conftest.err conftest.i conftest.$ac_ext
3259 
3260 done
3261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3262 rm -f conftest.i conftest.err conftest.$ac_ext
3263 if $ac_preproc_ok; then :
3264   break
3265 fi
3266 
3267     done
3268     ac_cv_prog_CPP=$CPP
3269 
3270 fi
3271   CPP=$ac_cv_prog_CPP
3272 else
3273   ac_cv_prog_CPP=$CPP
3274 fi
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3276 $as_echo "$CPP" >&6; }
3277 ac_preproc_ok=false
3278 for ac_c_preproc_warn_flag in '' yes
3279 do
3280   # Use a header file that comes with gcc, so configuring glibc
3281   # with a fresh cross-compiler works.
3282   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3283   # <limits.h> exists even on freestanding compilers.
3284   # On the NeXT, cc -E runs the code through the compiler's parser,
3285   # not just through cpp. "Syntax error" is here to catch this case.
3286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h.  */
3288 #ifdef __STDC__
3289 # include <limits.h>
3290 #else
3291 # include <assert.h>
3292 #endif
3293                      Syntax error
3294 _ACEOF
3295 if ac_fn_c_try_cpp "$LINENO"; then :
3296 
3297 else
3298   # Broken: fails on valid input.
3299 continue
3300 fi
3301 rm -f conftest.err conftest.i conftest.$ac_ext
3302 
3303   # OK, works on sane cases.  Now check whether nonexistent headers
3304   # can be detected and how.
3305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h.  */
3307 #include <ac_nonexistent.h>
3308 _ACEOF
3309 if ac_fn_c_try_cpp "$LINENO"; then :
3310   # Broken: success on invalid input.
3311 continue
3312 else
3313   # Passes both tests.
3314 ac_preproc_ok=:
3315 break
3316 fi
3317 rm -f conftest.err conftest.i conftest.$ac_ext
3318 
3319 done
3320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3321 rm -f conftest.i conftest.err conftest.$ac_ext
3322 if $ac_preproc_ok; then :
3323 
3324 else
3325   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3328 See \`config.log' for more details" "$LINENO" 5; }
3329 fi
3330 
3331 ac_ext=c
3332 ac_cpp='$CPP $CPPFLAGS'
3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 
3337 
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3339 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3340 if ${ac_cv_path_GREP+:} false; then :
3341   $as_echo_n "(cached) " >&6
3342 else
3343   if test -z "$GREP"; then
3344   ac_path_GREP_found=false
3345   # Loop through the user's path and test for each of PROGNAME-LIST
3346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3348 do
3349   IFS=$as_save_IFS
3350   test -z "$as_dir" && as_dir=.
3351     for ac_prog in grep ggrep; do
3352     for ac_exec_ext in '' $ac_executable_extensions; do
3353       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3354       as_fn_executable_p "$ac_path_GREP" || continue
3355 # Check for GNU ac_path_GREP and select it if it is found.
3356   # Check for GNU $ac_path_GREP
3357 case `"$ac_path_GREP" --version 2>&1` in
3358 *GNU*)
3359   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3360 *)
3361   ac_count=0
3362   $as_echo_n 0123456789 >"conftest.in"
3363   while :
3364   do
3365     cat "conftest.in" "conftest.in" >"conftest.tmp"
3366     mv "conftest.tmp" "conftest.in"
3367     cp "conftest.in" "conftest.nl"
3368     $as_echo 'GREP' >> "conftest.nl"
3369     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3370     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3371     as_fn_arith $ac_count + 1 && ac_count=$as_val
3372     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3373       # Best one so far, save it but keep looking for a better one
3374       ac_cv_path_GREP="$ac_path_GREP"
3375       ac_path_GREP_max=$ac_count
3376     fi
3377     # 10*(2^10) chars as input seems more than enough
3378     test $ac_count -gt 10 && break
3379   done
3380   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3381 esac
3382 
3383       $ac_path_GREP_found && break 3
3384     done
3385   done
3386   done
3387 IFS=$as_save_IFS
3388   if test -z "$ac_cv_path_GREP"; then
3389     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3390   fi
3391 else
3392   ac_cv_path_GREP=$GREP
3393 fi
3394 
3395 fi
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3397 $as_echo "$ac_cv_path_GREP" >&6; }
3398  GREP="$ac_cv_path_GREP"
3399 
3400 
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3402 $as_echo_n "checking for egrep... " >&6; }
3403 if ${ac_cv_path_EGREP+:} false; then :
3404   $as_echo_n "(cached) " >&6
3405 else
3406   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3407    then ac_cv_path_EGREP="$GREP -E"
3408    else
3409      if test -z "$EGREP"; then
3410   ac_path_EGREP_found=false
3411   # Loop through the user's path and test for each of PROGNAME-LIST
3412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3414 do
3415   IFS=$as_save_IFS
3416   test -z "$as_dir" && as_dir=.
3417     for ac_prog in egrep; do
3418     for ac_exec_ext in '' $ac_executable_extensions; do
3419       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3420       as_fn_executable_p "$ac_path_EGREP" || continue
3421 # Check for GNU ac_path_EGREP and select it if it is found.
3422   # Check for GNU $ac_path_EGREP
3423 case `"$ac_path_EGREP" --version 2>&1` in
3424 *GNU*)
3425   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3426 *)
3427   ac_count=0
3428   $as_echo_n 0123456789 >"conftest.in"
3429   while :
3430   do
3431     cat "conftest.in" "conftest.in" >"conftest.tmp"
3432     mv "conftest.tmp" "conftest.in"
3433     cp "conftest.in" "conftest.nl"
3434     $as_echo 'EGREP' >> "conftest.nl"
3435     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3437     as_fn_arith $ac_count + 1 && ac_count=$as_val
3438     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3439       # Best one so far, save it but keep looking for a better one
3440       ac_cv_path_EGREP="$ac_path_EGREP"
3441       ac_path_EGREP_max=$ac_count
3442     fi
3443     # 10*(2^10) chars as input seems more than enough
3444     test $ac_count -gt 10 && break
3445   done
3446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3447 esac
3448 
3449       $ac_path_EGREP_found && break 3
3450     done
3451   done
3452   done
3453 IFS=$as_save_IFS
3454   if test -z "$ac_cv_path_EGREP"; then
3455     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3456   fi
3457 else
3458   ac_cv_path_EGREP=$EGREP
3459 fi
3460 
3461    fi
3462 fi
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3464 $as_echo "$ac_cv_path_EGREP" >&6; }
3465  EGREP="$ac_cv_path_EGREP"
3466 
3467 
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3469 $as_echo_n "checking for ANSI C header files... " >&6; }
3470 if ${ac_cv_header_stdc+:} false; then :
3471   $as_echo_n "(cached) " >&6
3472 else
3473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h.  */
3475 #include <stdlib.h>
3476 #include <stdarg.h>
3477 #include <string.h>
3478 #include <float.h>
3479 
3480 int
3481 main ()
3482 {
3483 
3484   ;
3485   return 0;
3486 }
3487 _ACEOF
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489   ac_cv_header_stdc=yes
3490 else
3491   ac_cv_header_stdc=no
3492 fi
3493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 
3495 if test $ac_cv_header_stdc = yes; then
3496   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h.  */
3499 #include <string.h>
3500 
3501 _ACEOF
3502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3503   $EGREP "memchr" >/dev/null 2>&1; then :
3504 
3505 else
3506   ac_cv_header_stdc=no
3507 fi
3508 rm -f conftest*
3509 
3510 fi
3511 
3512 if test $ac_cv_header_stdc = yes; then
3513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h.  */
3516 #include <stdlib.h>
3517 
3518 _ACEOF
3519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3520   $EGREP "free" >/dev/null 2>&1; then :
3521 
3522 else
3523   ac_cv_header_stdc=no
3524 fi
3525 rm -f conftest*
3526 
3527 fi
3528 
3529 if test $ac_cv_header_stdc = yes; then
3530   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3531   if test "$cross_compiling" = yes; then :
3532   :
3533 else
3534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h.  */
3536 #include <ctype.h>
3537 #include <stdlib.h>
3538 #if ((' ' & 0x0FF) == 0x020)
3539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3541 #else
3542 # define ISLOWER(c) \
3543                    (('a' <= (c) && (c) <= 'i') \
3544                      || ('j' <= (c) && (c) <= 'r') \
3545                      || ('s' <= (c) && (c) <= 'z'))
3546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3547 #endif
3548 
3549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3550 int
3551 main ()
3552 {
3553   int i;
3554   for (i = 0; i < 256; i++)
3555     if (XOR (islower (i), ISLOWER (i))
3556         || toupper (i) != TOUPPER (i))
3557       return 2;
3558   return 0;
3559 }
3560 _ACEOF
3561 if ac_fn_c_try_run "$LINENO"; then :
3562 
3563 else
3564   ac_cv_header_stdc=no
3565 fi
3566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3567   conftest.$ac_objext conftest.beam conftest.$ac_ext
3568 fi
3569 
3570 fi
3571 fi
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3573 $as_echo "$ac_cv_header_stdc" >&6; }
3574 if test $ac_cv_header_stdc = yes; then
3575 
3576 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3577 
3578 fi
3579 
3580 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3581 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3582                   inttypes.h stdint.h unistd.h
3583 do :
3584   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3585 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3586 "
3587 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3588   cat >>confdefs.h <<_ACEOF
3589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3590 _ACEOF
3591 
3592 fi
3593 
3594 done
3595 
3596 
3597 
3598   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3599 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3600   MINIX=yes
3601 else
3602   MINIX=
3603 fi
3604 
3605 
3606   if test "$MINIX" = yes; then
3607 
3608 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3609 
3610 
3611 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3612 
3613 
3614 $as_echo "#define _MINIX 1" >>confdefs.h
3615 
3616   fi
3617 
3618 
3619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3620 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3621 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3622   $as_echo_n "(cached) " >&6
3623 else
3624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h.  */
3626 
3627 #         define __EXTENSIONS__ 1
3628           $ac_includes_default
3629 int
3630 main ()
3631 {
3632 
3633   ;
3634   return 0;
3635 }
3636 _ACEOF
3637 if ac_fn_c_try_compile "$LINENO"; then :
3638   ac_cv_safe_to_define___extensions__=yes
3639 else
3640   ac_cv_safe_to_define___extensions__=no
3641 fi
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 fi
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3645 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3646   test $ac_cv_safe_to_define___extensions__ = yes &&
3647     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3648 
3649   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3650 
3651   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3652 
3653   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3654 
3655   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3656 
3657 
3658 
3659 am__api_version='1.13'
3660 
3661 # Find a good install program.  We prefer a C program (faster),
3662 # so one script is as good as another.  But avoid the broken or
3663 # incompatible versions:
3664 # SysV /etc/install, /usr/sbin/install
3665 # SunOS /usr/etc/install
3666 # IRIX /sbin/install
3667 # AIX /bin/install
3668 # AmigaOS /C/install, which installs bootblocks on floppy discs
3669 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3670 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3671 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3672 # OS/2's system install, which has a completely different semantic
3673 # ./install, which can be erroneously created by make from ./install.sh.
3674 # Reject install programs that cannot install multiple files.
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3676 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3677 if test -z "$INSTALL"; then
3678 if ${ac_cv_path_install+:} false; then :
3679   $as_echo_n "(cached) " >&6
3680 else
3681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3683 do
3684   IFS=$as_save_IFS
3685   test -z "$as_dir" && as_dir=.
3686     # Account for people who put trailing slashes in PATH elements.
3687 case $as_dir/ in #((
3688   ./ | .// | /[cC]/* | \
3689   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3690   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3691   /usr/ucb/* ) ;;
3692   *)
3693     # OSF1 and SCO ODT 3.0 have their own names for install.
3694     # Don't use installbsd from OSF since it installs stuff as root
3695     # by default.
3696     for ac_prog in ginstall scoinst install; do
3697       for ac_exec_ext in '' $ac_executable_extensions; do
3698         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3699           if test $ac_prog = install &&
3700             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3701             # AIX install.  It has an incompatible calling convention.
3702             :
3703           elif test $ac_prog = install &&
3704             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3705             # program-specific install script used by HP pwplus--don't use.
3706             :
3707           else
3708             rm -rf conftest.one conftest.two conftest.dir
3709             echo one > conftest.one
3710             echo two > conftest.two
3711             mkdir conftest.dir
3712             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3713               test -s conftest.one && test -s conftest.two &&
3714               test -s conftest.dir/conftest.one &&
3715               test -s conftest.dir/conftest.two
3716             then
3717               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3718               break 3
3719             fi
3720           fi
3721         fi
3722       done
3723     done
3724     ;;
3725 esac
3726 
3727   done
3728 IFS=$as_save_IFS
3729 
3730 rm -rf conftest.one conftest.two conftest.dir
3731 
3732 fi
3733   if test "${ac_cv_path_install+set}" = set; then
3734     INSTALL=$ac_cv_path_install
3735   else
3736     # As a last resort, use the slow shell script.  Don't cache a
3737     # value for INSTALL within a source directory, because that will
3738     # break other packages using the cache if that directory is
3739     # removed, or if the value is a relative name.
3740     INSTALL=$ac_install_sh
3741   fi
3742 fi
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3744 $as_echo "$INSTALL" >&6; }
3745 
3746 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3747 # It thinks the first close brace ends the variable substitution.
3748 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3749 
3750 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3751 
3752 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3753 
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3755 $as_echo_n "checking whether build environment is sane... " >&6; }
3756 # Reject unsafe characters in $srcdir or the absolute working directory
3757 # name.  Accept space and tab only in the latter.
3758 am_lf='
3759 '
3760 case `pwd` in
3761   *[\\\"\#\$\&\'\`$am_lf]*)
3762     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3763 esac
3764 case $srcdir in
3765   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3766     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3767 esac
3768 
3769 # Do 'set' in a subshell so we don't clobber the current shell's
3770 # arguments.  Must try -L first in case configure is actually a
3771 # symlink; some systems play weird games with the mod time of symlinks
3772 # (eg FreeBSD returns the mod time of the symlink's containing
3773 # directory).
3774 if (
3775    am_has_slept=no
3776    for am_try in 1 2; do
3777      echo "timestamp, slept: $am_has_slept" > conftest.file
3778      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3779      if test "$*" = "X"; then
3780         # -L didn't work.
3781         set X `ls -t "$srcdir/configure" conftest.file`
3782      fi
3783      if test "$*" != "X $srcdir/configure conftest.file" \
3784         && test "$*" != "X conftest.file $srcdir/configure"; then
3785 
3786         # If neither matched, then we have a broken ls.  This can happen
3787         # if, for instance, CONFIG_SHELL is bash and it inherits a
3788         # broken ls alias from the environment.  This has actually
3789         # happened.  Such a system could not be considered "sane".
3790         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3791   alias in your environment" "$LINENO" 5
3792      fi
3793      if test "$2" = conftest.file || test $am_try -eq 2; then
3794        break
3795      fi
3796      # Just in case.
3797      sleep 1
3798      am_has_slept=yes
3799    done
3800    test "$2" = conftest.file
3801    )
3802 then
3803    # Ok.
3804    :
3805 else
3806    as_fn_error $? "newly created file is older than distributed files!
3807 Check your system clock" "$LINENO" 5
3808 fi
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3810 $as_echo "yes" >&6; }
3811 # If we didn't sleep, we still need to ensure time stamps of config.status and
3812 # generated files are strictly newer.
3813 am_sleep_pid=
3814 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3815   ( sleep 1 ) &
3816   am_sleep_pid=$!
3817 fi
3818 
3819 rm -f conftest.file
3820 
3821 test "$program_prefix" != NONE &&
3822   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3823 # Use a double $ so make ignores it.
3824 test "$program_suffix" != NONE &&
3825   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3826 # Double any \ or $.
3827 # By default was `s,x,x', remove it if useless.
3828 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3829 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3830 
3831 # expand $ac_aux_dir to an absolute path
3832 am_aux_dir=`cd $ac_aux_dir && pwd`
3833 
3834 if test x"${MISSING+set}" != xset; then
3835   case $am_aux_dir in
3836   *\ * | *\     *)
3837     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3838   *)
3839     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3840   esac
3841 fi
3842 # Use eval to expand $SHELL
3843 if eval "$MISSING --is-lightweight"; then
3844   am_missing_run="$MISSING "
3845 else
3846   am_missing_run=
3847   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3848 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3849 fi
3850 
3851 if test x"${install_sh}" != xset; then
3852   case $am_aux_dir in
3853   *\ * | *\     *)
3854     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3855   *)
3856     install_sh="\${SHELL} $am_aux_dir/install-sh"
3857   esac
3858 fi
3859 
3860 # Installed binaries are usually stripped using 'strip' when the user
3861 # run "make install-strip".  However 'strip' might not be the right
3862 # tool to use in cross-compilation environments, therefore Automake
3863 # will honor the 'STRIP' environment variable to overrule this program.
3864 if test "$cross_compiling" != no; then
3865   if test -n "$ac_tool_prefix"; then
3866   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}strip; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_STRIP+:} false; then :
3871   $as_echo_n "(cached) " >&6
3872 else
3873   if test -n "$STRIP"; then
3874   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3878 do
3879   IFS=$as_save_IFS
3880   test -z "$as_dir" && as_dir=.
3881     for ac_exec_ext in '' $ac_executable_extensions; do
3882   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885     break 2
3886   fi
3887 done
3888   done
3889 IFS=$as_save_IFS
3890 
3891 fi
3892 fi
3893 STRIP=$ac_cv_prog_STRIP
3894 if test -n "$STRIP"; then
3895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3896 $as_echo "$STRIP" >&6; }
3897 else
3898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3900 fi
3901 
3902 
3903 fi
3904 if test -z "$ac_cv_prog_STRIP"; then
3905   ac_ct_STRIP=$STRIP
3906   # Extract the first word of "strip", so it can be a program name with args.
3907 set dummy strip; ac_word=$2
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3911   $as_echo_n "(cached) " >&6
3912 else
3913   if test -n "$ac_ct_STRIP"; then
3914   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3915 else
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH
3918 do
3919   IFS=$as_save_IFS
3920   test -z "$as_dir" && as_dir=.
3921     for ac_exec_ext in '' $ac_executable_extensions; do
3922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3923     ac_cv_prog_ac_ct_STRIP="strip"
3924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925     break 2
3926   fi
3927 done
3928   done
3929 IFS=$as_save_IFS
3930 
3931 fi
3932 fi
3933 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3934 if test -n "$ac_ct_STRIP"; then
3935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3936 $as_echo "$ac_ct_STRIP" >&6; }
3937 else
3938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3940 fi
3941 
3942   if test "x$ac_ct_STRIP" = x; then
3943     STRIP=":"
3944   else
3945     case $cross_compiling:$ac_tool_warned in
3946 yes:)
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3949 ac_tool_warned=yes ;;
3950 esac
3951     STRIP=$ac_ct_STRIP
3952   fi
3953 else
3954   STRIP="$ac_cv_prog_STRIP"
3955 fi
3956 
3957 fi
3958 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3959 
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3961 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3962 if test -z "$MKDIR_P"; then
3963   if ${ac_cv_path_mkdir+:} false; then :
3964   $as_echo_n "(cached) " >&6
3965 else
3966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3968 do
3969   IFS=$as_save_IFS
3970   test -z "$as_dir" && as_dir=.
3971     for ac_prog in mkdir gmkdir; do
3972          for ac_exec_ext in '' $ac_executable_extensions; do
3973            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3974            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3975              'mkdir (GNU coreutils) '* | \
3976              'mkdir (coreutils) '* | \
3977              'mkdir (fileutils) '4.1*)
3978                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3979                break 3;;
3980            esac
3981          done
3982        done
3983   done
3984 IFS=$as_save_IFS
3985 
3986 fi
3987 
3988   test -d ./--version && rmdir ./--version
3989   if test "${ac_cv_path_mkdir+set}" = set; then
3990     MKDIR_P="$ac_cv_path_mkdir -p"
3991   else
3992     # As a last resort, use the slow shell script.  Don't cache a
3993     # value for MKDIR_P within a source directory, because that will
3994     # break other packages using the cache if that directory is
3995     # removed, or if the value is a relative name.
3996     MKDIR_P="$ac_install_sh -d"
3997   fi
3998 fi
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4000 $as_echo "$MKDIR_P" >&6; }
4001 
4002 for ac_prog in gawk mawk nawk awk
4003 do
4004   # Extract the first word of "$ac_prog", so it can be a program name with args.
4005 set dummy $ac_prog; ac_word=$2
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4008 if ${ac_cv_prog_AWK+:} false; then :
4009   $as_echo_n "(cached) " >&6
4010 else
4011   if test -n "$AWK"; then
4012   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4013 else
4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015 for as_dir in $PATH
4016 do
4017   IFS=$as_save_IFS
4018   test -z "$as_dir" && as_dir=.
4019     for ac_exec_ext in '' $ac_executable_extensions; do
4020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021     ac_cv_prog_AWK="$ac_prog"
4022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023     break 2
4024   fi
4025 done
4026   done
4027 IFS=$as_save_IFS
4028 
4029 fi
4030 fi
4031 AWK=$ac_cv_prog_AWK
4032 if test -n "$AWK"; then
4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4034 $as_echo "$AWK" >&6; }
4035 else
4036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4038 fi
4039 
4040 
4041   test -n "$AWK" && break
4042 done
4043 
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4045 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4046 set x ${MAKE-make}
4047 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4048 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4049   $as_echo_n "(cached) " >&6
4050 else
4051   cat >conftest.make <<\_ACEOF
4052 SHELL = /bin/sh
4053 all:
4054         @echo '@@@%%%=$(MAKE)=@@@%%%'
4055 _ACEOF
4056 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4057 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4058   *@@@%%%=?*=@@@%%%*)
4059     eval ac_cv_prog_make_${ac_make}_set=yes;;
4060   *)
4061     eval ac_cv_prog_make_${ac_make}_set=no;;
4062 esac
4063 rm -f conftest.make
4064 fi
4065 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4067 $as_echo "yes" >&6; }
4068   SET_MAKE=
4069 else
4070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072   SET_MAKE="MAKE=${MAKE-make}"
4073 fi
4074 
4075 rm -rf .tst 2>/dev/null
4076 mkdir .tst 2>/dev/null
4077 if test -d .tst; then
4078   am__leading_dot=.
4079 else
4080   am__leading_dot=_
4081 fi
4082 rmdir .tst 2>/dev/null
4083 
4084 DEPDIR="${am__leading_dot}deps"
4085 
4086 ac_config_commands="$ac_config_commands depfiles"
4087 
4088 
4089 am_make=${MAKE-make}
4090 cat > confinc << 'END'
4091 am__doit:
4092         @echo this is the am__doit target
4093 .PHONY: am__doit
4094 END
4095 # If we don't find an include directive, just comment out the code.
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4097 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4098 am__include="#"
4099 am__quote=
4100 _am_result=none
4101 # First try GNU make style include.
4102 echo "include confinc" > confmf
4103 # Ignore all kinds of additional output from 'make'.
4104 case `$am_make -s -f confmf 2> /dev/null` in #(
4105 *the\ am__doit\ target*)
4106   am__include=include
4107   am__quote=
4108   _am_result=GNU
4109   ;;
4110 esac
4111 # Now try BSD make style include.
4112 if test "$am__include" = "#"; then
4113    echo '.include "confinc"' > confmf
4114    case `$am_make -s -f confmf 2> /dev/null` in #(
4115    *the\ am__doit\ target*)
4116      am__include=.include
4117      am__quote="\""
4118      _am_result=BSD
4119      ;;
4120    esac
4121 fi
4122 
4123 
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4125 $as_echo "$_am_result" >&6; }
4126 rm -f confinc confmf
4127 
4128 # Check whether --enable-dependency-tracking was given.
4129 if test "${enable_dependency_tracking+set}" = set; then :
4130   enableval=$enable_dependency_tracking;
4131 fi
4132 
4133 if test "x$enable_dependency_tracking" != xno; then
4134   am_depcomp="$ac_aux_dir/depcomp"
4135   AMDEPBACKSLASH='\'
4136   am__nodep='_no'
4137 fi
4138  if test "x$enable_dependency_tracking" != xno; then
4139   AMDEP_TRUE=
4140   AMDEP_FALSE='#'
4141 else
4142   AMDEP_TRUE='#'
4143   AMDEP_FALSE=
4144 fi
4145 
4146 
4147 # Check whether --enable-silent-rules was given.
4148 if test "${enable_silent_rules+set}" = set; then :
4149   enableval=$enable_silent_rules;
4150 fi
4151 
4152 case $enable_silent_rules in # (((
4153   yes) AM_DEFAULT_VERBOSITY=0;;
4154    no) AM_DEFAULT_VERBOSITY=1;;
4155     *) AM_DEFAULT_VERBOSITY=1;;
4156 esac
4157 am_make=${MAKE-make}
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4159 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4160 if ${am_cv_make_support_nested_variables+:} false; then :
4161   $as_echo_n "(cached) " >&6
4162 else
4163   if $as_echo 'TRUE=$(BAR$(V))
4164 BAR0=false
4165 BAR1=true
4166 V=1
4167 am__doit:
4168         @$(TRUE)
4169 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4170   am_cv_make_support_nested_variables=yes
4171 else
4172   am_cv_make_support_nested_variables=no
4173 fi
4174 fi
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4176 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4177 if test $am_cv_make_support_nested_variables = yes; then
4178     AM_V='$(V)'
4179   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4180 else
4181   AM_V=$AM_DEFAULT_VERBOSITY
4182   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4183 fi
4184 AM_BACKSLASH='\'
4185 
4186 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4187   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4188   # is not polluted with repeated "-I."
4189   am__isrc=' -I$(srcdir)'
4190   # test to see if srcdir already configured
4191   if test -f $srcdir/config.status; then
4192     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4193   fi
4194 fi
4195 
4196 # test whether we have cygpath
4197 if test -z "$CYGPATH_W"; then
4198   if (cygpath --version) >/dev/null 2>/dev/null; then
4199     CYGPATH_W='cygpath -w'
4200   else
4201     CYGPATH_W=echo
4202   fi
4203 fi
4204 
4205 
4206 # Define the identity of the package.
4207  PACKAGE='tina-libs'
4208  VERSION='6.0rcbuild010'
4209 
4210 
4211 cat >>confdefs.h <<_ACEOF
4212 #define PACKAGE "$PACKAGE"
4213 _ACEOF
4214 
4215 
4216 cat >>confdefs.h <<_ACEOF
4217 #define VERSION "$VERSION"
4218 _ACEOF
4219 
4220 # Some tools Automake needs.
4221 
4222 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4223 
4224 
4225 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4226 
4227 
4228 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4229 
4230 
4231 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4232 
4233 
4234 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4235 
4236 # For better backward compatibility.  To be removed once Automake 1.9.x
4237 # dies out for good.  For more background, see:
4238 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4239 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4240 mkdir_p='$(MKDIR_P)'
4241 
4242 # We need awk for the "check" target.  The system "awk" is bad on
4243 # some platforms.
4244 # Always define AMTAR for backward compatibility.  Yes, it's still used
4245 # in the wild :-(  We should find a proper way to deprecate it ...
4246 AMTAR='$${TAR-tar}'
4247 
4248 
4249 # We'll loop over all known methods to create a tar archive until one works.
4250 _am_tools='gnutar  pax cpio none'
4251 
4252 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4253 
4254 
4255 
4256 
4257 
4258 depcc="$CC"   am_compiler_list=
4259 
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4261 $as_echo_n "checking dependency style of $depcc... " >&6; }
4262 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4263   $as_echo_n "(cached) " >&6
4264 else
4265   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4266   # We make a subdir and do the tests there.  Otherwise we can end up
4267   # making bogus files that we don't know about and never remove.  For
4268   # instance it was reported that on HP-UX the gcc test will end up
4269   # making a dummy file named 'D' -- because '-MD' means "put the output
4270   # in D".
4271   rm -rf conftest.dir
4272   mkdir conftest.dir
4273   # Copy depcomp to subdir because otherwise we won't find it if we're
4274   # using a relative directory.
4275   cp "$am_depcomp" conftest.dir
4276   cd conftest.dir
4277   # We will build objects and dependencies in a subdirectory because
4278   # it helps to detect inapplicable dependency modes.  For instance
4279   # both Tru64's cc and ICC support -MD to output dependencies as a
4280   # side effect of compilation, but ICC will put the dependencies in
4281   # the current directory while Tru64 will put them in the object
4282   # directory.
4283   mkdir sub
4284 
4285   am_cv_CC_dependencies_compiler_type=none
4286   if test "$am_compiler_list" = ""; then
4287      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4288   fi
4289   am__universal=false
4290   case " $depcc " in #(
4291      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4292      esac
4293 
4294   for depmode in $am_compiler_list; do
4295     # Setup a source with many dependencies, because some compilers
4296     # like to wrap large dependency lists on column 80 (with \), and
4297     # we should not choose a depcomp mode which is confused by this.
4298     #
4299     # We need to recreate these files for each test, as the compiler may
4300     # overwrite some of them when testing with obscure command lines.
4301     # This happens at least with the AIX C compiler.
4302     : > sub/conftest.c
4303     for i in 1 2 3 4 5 6; do
4304       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4305       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4306       # Solaris 10 /bin/sh.
4307       echo '/* dummy */' > sub/conftst$i.h
4308     done
4309     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4310 
4311     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4312     # mode.  It turns out that the SunPro C++ compiler does not properly
4313     # handle '-M -o', and we need to detect this.  Also, some Intel
4314     # versions had trouble with output in subdirs.
4315     am__obj=sub/conftest.${OBJEXT-o}
4316     am__minus_obj="-o $am__obj"
4317     case $depmode in
4318     gcc)
4319       # This depmode causes a compiler race in universal mode.
4320       test "$am__universal" = false || continue
4321       ;;
4322     nosideeffect)
4323       # After this tag, mechanisms are not by side-effect, so they'll
4324       # only be used when explicitly requested.
4325       if test "x$enable_dependency_tracking" = xyes; then
4326         continue
4327       else
4328         break
4329       fi
4330       ;;
4331     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4332       # This compiler won't grok '-c -o', but also, the minuso test has
4333       # not run yet.  These depmodes are late enough in the game, and
4334       # so weak that their functioning should not be impacted.
4335       am__obj=conftest.${OBJEXT-o}
4336       am__minus_obj=
4337       ;;
4338     none) break ;;
4339     esac
4340     if depmode=$depmode \
4341        source=sub/conftest.c object=$am__obj \
4342        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4343        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4344          >/dev/null 2>conftest.err &&
4345        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4346        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4347        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4348        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4349       # icc doesn't choke on unknown options, it will just issue warnings
4350       # or remarks (even with -Werror).  So we grep stderr for any message
4351       # that says an option was ignored or not supported.
4352       # When given -MP, icc 7.0 and 7.1 complain thusly:
4353       #   icc: Command line warning: ignoring option '-M'; no argument required
4354       # The diagnosis changed in icc 8.0:
4355       #   icc: Command line remark: option '-MP' not supported
4356       if (grep 'ignoring option' conftest.err ||
4357           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4358         am_cv_CC_dependencies_compiler_type=$depmode
4359         break
4360       fi
4361     fi
4362   done
4363 
4364   cd ..
4365   rm -rf conftest.dir
4366 else
4367   am_cv_CC_dependencies_compiler_type=none
4368 fi
4369 
4370 fi
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4372 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4373 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4374 
4375  if
4376   test "x$enable_dependency_tracking" != xno \
4377   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4378   am__fastdepCC_TRUE=
4379   am__fastdepCC_FALSE='#'
4380 else
4381   am__fastdepCC_TRUE='#'
4382   am__fastdepCC_FALSE=
4383 fi
4384 
4385 
4386 
4387 
4388 ac_config_headers="$ac_config_headers config.h"
4389 
4390 # prefix location for libraries is within build directory
4391 
4392 
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4394 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4395     # Check whether --enable-maintainer-mode was given.
4396 if test "${enable_maintainer_mode+set}" = set; then :
4397   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4398 else
4399   USE_MAINTAINER_MODE=no
4400 fi
4401 
4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4403 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4404    if test $USE_MAINTAINER_MODE = yes; then
4405   MAINTAINER_MODE_TRUE=
4406   MAINTAINER_MODE_FALSE='#'
4407 else
4408   MAINTAINER_MODE_TRUE='#'
4409   MAINTAINER_MODE_FALSE=
4410 fi
4411 
4412   MAINT=$MAINTAINER_MODE_TRUE
4413 
4414 
4415 
4416 # Check system
4417 
4418 # This used to use AC_CYGWIN, AC_MINGw32, which test the host,
4419 # not the target.
4420 CYGWIN=no; MINGW32=no
4421 case $target_os in
4422    *cygwin*) CYGWIN=yes;;
4423   *mingw32*) MINGW32=yes;;
4424 esac
4425 
4426 # Checks for programs.
4427 # Check whether --enable-shared was given.
4428 if test "${enable_shared+set}" = set; then :
4429   enableval=$enable_shared; p=${PACKAGE-default}
4430     case $enableval in
4431     yes) enable_shared=yes ;;
4432     no) enable_shared=no ;;
4433     *)
4434       enable_shared=no
4435       # Look at the argument we got.  We use all the common list separators.
4436       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4437       for pkg in $enableval; do
4438         IFS="$lt_save_ifs"
4439         if test "X$pkg" = "X$p"; then
4440           enable_shared=yes
4441         fi
4442       done
4443       IFS="$lt_save_ifs"
4444       ;;
4445     esac
4446 else
4447   enable_shared=no
4448 fi
4449 
4450 
4451 
4452 
4453 
4454 
4455 
4456 
4457 
4458 case `pwd` in
4459   *\ * | *\     *)
4460     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4461 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4462 esac
4463 
4464 
4465 
4466 macro_version='2.4.2'
4467 macro_revision='1.3337'
4468 
4469 
4470 
4471 
4472 
4473 
4474 
4475 
4476 
4477 
4478 
4479 
4480 
4481 ltmain="$ac_aux_dir/ltmain.sh"
4482 
4483 # Backslashify metacharacters that are still active within
4484 # double-quoted strings.
4485 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4486 
4487 # Same as above, but do not quote variable references.
4488 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4489 
4490 # Sed substitution to delay expansion of an escaped shell variable in a
4491 # double_quote_subst'ed string.
4492 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4493 
4494 # Sed substitution to delay expansion of an escaped single quote.
4495 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4496 
4497 # Sed substitution to avoid accidental globbing in evaled expressions
4498 no_glob_subst='s/\*/\\\*/g'
4499 
4500 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4501 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4502 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4503 
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4505 $as_echo_n "checking how to print strings... " >&6; }
4506 # Test print first, because it will be a builtin if present.
4507 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4508    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4509   ECHO='print -r --'
4510 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4511   ECHO='printf %s\n'
4512 else
4513   # Use this function as a fallback that always works.
4514   func_fallback_echo ()
4515   {
4516     eval 'cat <<_LTECHO_EOF
4517 $1
4518 _LTECHO_EOF'
4519   }
4520   ECHO='func_fallback_echo'
4521 fi
4522 
4523 # func_echo_all arg...
4524 # Invoke $ECHO with all args, space-separated.
4525 func_echo_all ()
4526 {
4527     $ECHO ""
4528 }
4529 
4530 case "$ECHO" in
4531   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4532 $as_echo "printf" >&6; } ;;
4533   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4534 $as_echo "print -r" >&6; } ;;
4535   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4536 $as_echo "cat" >&6; } ;;
4537 esac
4538 
4539 
4540 
4541 
4542 
4543 
4544 
4545 
4546 
4547 
4548 
4549 
4550 
4551 
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4553 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4554 if ${ac_cv_path_SED+:} false; then :
4555   $as_echo_n "(cached) " >&6
4556 else
4557             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4558      for ac_i in 1 2 3 4 5 6 7; do
4559        ac_script="$ac_script$as_nl$ac_script"
4560      done
4561      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4562      { ac_script=; unset ac_script;}
4563      if test -z "$SED"; then
4564   ac_path_SED_found=false
4565   # Loop through the user's path and test for each of PROGNAME-LIST
4566   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 for as_dir in $PATH
4568 do
4569   IFS=$as_save_IFS
4570   test -z "$as_dir" && as_dir=.
4571     for ac_prog in sed gsed; do
4572     for ac_exec_ext in '' $ac_executable_extensions; do
4573       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4574       as_fn_executable_p "$ac_path_SED" || continue
4575 # Check for GNU ac_path_SED and select it if it is found.
4576   # Check for GNU $ac_path_SED
4577 case `"$ac_path_SED" --version 2>&1` in
4578 *GNU*)
4579   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4580 *)
4581   ac_count=0
4582   $as_echo_n 0123456789 >"conftest.in"
4583   while :
4584   do
4585     cat "conftest.in" "conftest.in" >"conftest.tmp"
4586     mv "conftest.tmp" "conftest.in"
4587     cp "conftest.in" "conftest.nl"
4588     $as_echo '' >> "conftest.nl"
4589     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4590     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4591     as_fn_arith $ac_count + 1 && ac_count=$as_val
4592     if test $ac_count -gt ${ac_path_SED_max-0}; then
4593       # Best one so far, save it but keep looking for a better one
4594       ac_cv_path_SED="$ac_path_SED"
4595       ac_path_SED_max=$ac_count
4596     fi
4597     # 10*(2^10) chars as input seems more than enough
4598     test $ac_count -gt 10 && break
4599   done
4600   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4601 esac
4602 
4603       $ac_path_SED_found && break 3
4604     done
4605   done
4606   done
4607 IFS=$as_save_IFS
4608   if test -z "$ac_cv_path_SED"; then
4609     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4610   fi
4611 else
4612   ac_cv_path_SED=$SED
4613 fi
4614 
4615 fi
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4617 $as_echo "$ac_cv_path_SED" >&6; }
4618  SED="$ac_cv_path_SED"
4619   rm -f conftest.sed
4620 
4621 test -z "$SED" && SED=sed
4622 Xsed="$SED -e 1s/^X//"
4623 
4624 
4625 
4626 
4627 
4628 
4629 
4630 
4631 
4632 
4633 
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4635 $as_echo_n "checking for fgrep... " >&6; }
4636 if ${ac_cv_path_FGREP+:} false; then :
4637   $as_echo_n "(cached) " >&6
4638 else
4639   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4640    then ac_cv_path_FGREP="$GREP -F"
4641    else
4642      if test -z "$FGREP"; then
4643   ac_path_FGREP_found=false
4644   # Loop through the user's path and test for each of PROGNAME-LIST
4645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4647 do
4648   IFS=$as_save_IFS
4649   test -z "$as_dir" && as_dir=.
4650     for ac_prog in fgrep; do
4651     for ac_exec_ext in '' $ac_executable_extensions; do
4652       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4653       as_fn_executable_p "$ac_path_FGREP" || continue
4654 # Check for GNU ac_path_FGREP and select it if it is found.
4655   # Check for GNU $ac_path_FGREP
4656 case `"$ac_path_FGREP" --version 2>&1` in
4657 *GNU*)
4658   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4659 *)
4660   ac_count=0
4661   $as_echo_n 0123456789 >"conftest.in"
4662   while :
4663   do
4664     cat "conftest.in" "conftest.in" >"conftest.tmp"
4665     mv "conftest.tmp" "conftest.in"
4666     cp "conftest.in" "conftest.nl"
4667     $as_echo 'FGREP' >> "conftest.nl"
4668     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4669     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4670     as_fn_arith $ac_count + 1 && ac_count=$as_val
4671     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4672       # Best one so far, save it but keep looking for a better one
4673       ac_cv_path_FGREP="$ac_path_FGREP"
4674       ac_path_FGREP_max=$ac_count
4675     fi
4676     # 10*(2^10) chars as input seems more than enough
4677     test $ac_count -gt 10 && break
4678   done
4679   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4680 esac
4681 
4682       $ac_path_FGREP_found && break 3
4683     done
4684   done
4685   done
4686 IFS=$as_save_IFS
4687   if test -z "$ac_cv_path_FGREP"; then
4688     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4689   fi
4690 else
4691   ac_cv_path_FGREP=$FGREP
4692 fi
4693 
4694    fi
4695 fi
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4697 $as_echo "$ac_cv_path_FGREP" >&6; }
4698  FGREP="$ac_cv_path_FGREP"
4699 
4700 
4701 test -z "$GREP" && GREP=grep
4702 
4703 
4704 
4705 
4706 
4707 
4708 
4709 
4710 
4711 
4712 
4713 
4714 
4715 
4716 
4717 
4718 
4719 
4720 
4721 # Check whether --with-gnu-ld was given.
4722 if test "${with_gnu_ld+set}" = set; then :
4723   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4724 else
4725   with_gnu_ld=no
4726 fi
4727 
4728 ac_prog=ld
4729 if test "$GCC" = yes; then
4730   # Check if gcc -print-prog-name=ld gives a path.
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4732 $as_echo_n "checking for ld used by $CC... " >&6; }
4733   case $host in
4734   *-*-mingw*)
4735     # gcc leaves a trailing carriage return which upsets mingw
4736     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4737   *)
4738     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4739   esac
4740   case $ac_prog in
4741     # Accept absolute paths.
4742     [\\/]* | ?:[\\/]*)
4743       re_direlt='/[^/][^/]*/\.\./'
4744       # Canonicalize the pathname of ld
4745       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4746       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4747         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4748       done
4749       test -z "$LD" && LD="$ac_prog"
4750       ;;
4751   "")
4752     # If it fails, then pretend we aren't using GCC.
4753     ac_prog=ld
4754     ;;
4755   *)
4756     # If it is relative, then search for the first ld in PATH.
4757     with_gnu_ld=unknown
4758     ;;
4759   esac
4760 elif test "$with_gnu_ld" = yes; then
4761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4762 $as_echo_n "checking for GNU ld... " >&6; }
4763 else
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4765 $as_echo_n "checking for non-GNU ld... " >&6; }
4766 fi
4767 if ${lt_cv_path_LD+:} false; then :
4768   $as_echo_n "(cached) " >&6
4769 else
4770   if test -z "$LD"; then
4771   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4772   for ac_dir in $PATH; do
4773     IFS="$lt_save_ifs"
4774     test -z "$ac_dir" && ac_dir=.
4775     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4776       lt_cv_path_LD="$ac_dir/$ac_prog"
4777       # Check to see if the program is GNU ld.  I'd rather use --version,
4778       # but apparently some variants of GNU ld only accept -v.
4779       # Break only if it was the GNU/non-GNU ld that we prefer.
4780       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4781       *GNU* | *'with BFD'*)
4782         test "$with_gnu_ld" != no && break
4783         ;;
4784       *)
4785         test "$with_gnu_ld" != yes && break
4786         ;;
4787       esac
4788     fi
4789   done
4790   IFS="$lt_save_ifs"
4791 else
4792   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4793 fi
4794 fi
4795 
4796 LD="$lt_cv_path_LD"
4797 if test -n "$LD"; then
4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4799 $as_echo "$LD" >&6; }
4800 else
4801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 fi
4804 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4806 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4807 if ${lt_cv_prog_gnu_ld+:} false; then :
4808   $as_echo_n "(cached) " >&6
4809 else
4810   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4811 case `$LD -v 2>&1 </dev/null` in
4812 *GNU* | *'with BFD'*)
4813   lt_cv_prog_gnu_ld=yes
4814   ;;
4815 *)
4816   lt_cv_prog_gnu_ld=no
4817   ;;
4818 esac
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4821 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4822 with_gnu_ld=$lt_cv_prog_gnu_ld
4823 
4824 
4825 
4826 
4827 
4828 
4829 
4830 
4831 
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4833 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4834 if ${lt_cv_path_NM+:} false; then :
4835   $as_echo_n "(cached) " >&6
4836 else
4837   if test -n "$NM"; then
4838   # Let the user override the test.
4839   lt_cv_path_NM="$NM"
4840 else
4841   lt_nm_to_check="${ac_tool_prefix}nm"
4842   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4843     lt_nm_to_check="$lt_nm_to_check nm"
4844   fi
4845   for lt_tmp_nm in $lt_nm_to_check; do
4846     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4847     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4848       IFS="$lt_save_ifs"
4849       test -z "$ac_dir" && ac_dir=.
4850       tmp_nm="$ac_dir/$lt_tmp_nm"
4851       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4852         # Check to see if the nm accepts a BSD-compat flag.
4853         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4854         #   nm: unknown option "B" ignored
4855         # Tru64's nm complains that /dev/null is an invalid object file
4856         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4857         */dev/null* | *'Invalid file or object type'*)
4858           lt_cv_path_NM="$tmp_nm -B"
4859           break
4860           ;;
4861         *)
4862           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4863           */dev/null*)
4864             lt_cv_path_NM="$tmp_nm -p"
4865             break
4866             ;;
4867           *)
4868             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4869             continue # so that we can try to find one that supports BSD flags
4870             ;;
4871           esac
4872           ;;
4873         esac
4874       fi
4875     done
4876     IFS="$lt_save_ifs"
4877   done
4878   : ${lt_cv_path_NM=no}
4879 fi
4880 fi
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4882 $as_echo "$lt_cv_path_NM" >&6; }
4883 if test "$lt_cv_path_NM" != "no"; then
4884   NM="$lt_cv_path_NM"
4885 else
4886   # Didn't find any BSD compatible name lister, look for dumpbin.
4887   if test -n "$DUMPBIN"; then :
4888     # Let the user override the test.
4889   else
4890     if test -n "$ac_tool_prefix"; then
4891   for ac_prog in dumpbin "link -dump"
4892   do
4893     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4894 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if ${ac_cv_prog_DUMPBIN+:} false; then :
4898   $as_echo_n "(cached) " >&6
4899 else
4900   if test -n "$DUMPBIN"; then
4901   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4902 else
4903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 for as_dir in $PATH
4905 do
4906   IFS=$as_save_IFS
4907   test -z "$as_dir" && as_dir=.
4908     for ac_exec_ext in '' $ac_executable_extensions; do
4909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4910     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912     break 2
4913   fi
4914 done
4915   done
4916 IFS=$as_save_IFS
4917 
4918 fi
4919 fi
4920 DUMPBIN=$ac_cv_prog_DUMPBIN
4921 if test -n "$DUMPBIN"; then
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4923 $as_echo "$DUMPBIN" >&6; }
4924 else
4925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4927 fi
4928 
4929 
4930     test -n "$DUMPBIN" && break
4931   done
4932 fi
4933 if test -z "$DUMPBIN"; then
4934   ac_ct_DUMPBIN=$DUMPBIN
4935   for ac_prog in dumpbin "link -dump"
4936 do
4937   # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy $ac_prog; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4942   $as_echo_n "(cached) " >&6
4943 else
4944   if test -n "$ac_ct_DUMPBIN"; then
4945   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4949 do
4950   IFS=$as_save_IFS
4951   test -z "$as_dir" && as_dir=.
4952     for ac_exec_ext in '' $ac_executable_extensions; do
4953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956     break 2
4957   fi
4958 done
4959   done
4960 IFS=$as_save_IFS
4961 
4962 fi
4963 fi
4964 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4965 if test -n "$ac_ct_DUMPBIN"; then
4966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4967 $as_echo "$ac_ct_DUMPBIN" >&6; }
4968 else
4969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4971 fi
4972 
4973 
4974   test -n "$ac_ct_DUMPBIN" && break
4975 done
4976 
4977   if test "x$ac_ct_DUMPBIN" = x; then
4978     DUMPBIN=":"
4979   else
4980     case $cross_compiling:$ac_tool_warned in
4981 yes:)
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4984 ac_tool_warned=yes ;;
4985 esac
4986     DUMPBIN=$ac_ct_DUMPBIN
4987   fi
4988 fi
4989 
4990     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4991     *COFF*)
4992       DUMPBIN="$DUMPBIN -symbols"
4993       ;;
4994     *)
4995       DUMPBIN=:
4996       ;;
4997     esac
4998   fi
4999 
5000   if test "$DUMPBIN" != ":"; then
5001     NM="$DUMPBIN"
5002   fi
5003 fi
5004 test -z "$NM" && NM=nm
5005 
5006 
5007 
5008 
5009 
5010 
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5012 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5013 if ${lt_cv_nm_interface+:} false; then :
5014   $as_echo_n "(cached) " >&6
5015 else
5016   lt_cv_nm_interface="BSD nm"
5017   echo "int some_variable = 0;" > conftest.$ac_ext
5018   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5019   (eval "$ac_compile" 2>conftest.err)
5020   cat conftest.err >&5
5021   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5022   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5023   cat conftest.err >&5
5024   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5025   cat conftest.out >&5
5026   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5027     lt_cv_nm_interface="MS dumpbin"
5028   fi
5029   rm -f conftest*
5030 fi
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5032 $as_echo "$lt_cv_nm_interface" >&6; }
5033 
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5035 $as_echo_n "checking whether ln -s works... " >&6; }
5036 LN_S=$as_ln_s
5037 if test "$LN_S" = "ln -s"; then
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5039 $as_echo "yes" >&6; }
5040 else
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5042 $as_echo "no, using $LN_S" >&6; }
5043 fi
5044 
5045 # find the maximum length of command line arguments
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5047 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5048 if ${lt_cv_sys_max_cmd_len+:} false; then :
5049   $as_echo_n "(cached) " >&6
5050 else
5051     i=0
5052   teststring="ABCD"
5053 
5054   case $build_os in
5055   msdosdjgpp*)
5056     # On DJGPP, this test can blow up pretty badly due to problems in libc
5057     # (any single argument exceeding 2000 bytes causes a buffer overrun
5058     # during glob expansion).  Even if it were fixed, the result of this
5059     # check would be larger than it should be.
5060     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5061     ;;
5062 
5063   gnu*)
5064     # Under GNU Hurd, this test is not required because there is
5065     # no limit to the length of command line arguments.
5066     # Libtool will interpret -1 as no limit whatsoever
5067     lt_cv_sys_max_cmd_len=-1;
5068     ;;
5069 
5070   cygwin* | mingw* | cegcc*)
5071     # On Win9x/ME, this test blows up -- it succeeds, but takes
5072     # about 5 minutes as the teststring grows exponentially.
5073     # Worse, since 9x/ME are not pre-emptively multitasking,
5074     # you end up with a "frozen" computer, even though with patience
5075     # the test eventually succeeds (with a max line length of 256k).
5076     # Instead, let's just punt: use the minimum linelength reported by
5077     # all of the supported platforms: 8192 (on NT/2K/XP).
5078     lt_cv_sys_max_cmd_len=8192;
5079     ;;
5080 
5081   mint*)
5082     # On MiNT this can take a long time and run out of memory.
5083     lt_cv_sys_max_cmd_len=8192;
5084     ;;
5085 
5086   amigaos*)
5087     # On AmigaOS with pdksh, this test takes hours, literally.
5088     # So we just punt and use a minimum line length of 8192.
5089     lt_cv_sys_max_cmd_len=8192;
5090     ;;
5091 
5092   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5093     # This has been around since 386BSD, at least.  Likely further.
5094     if test -x /sbin/sysctl; then
5095       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5096     elif test -x /usr/sbin/sysctl; then
5097       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5098     else
5099       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5100     fi
5101     # And add a safety zone
5102     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5103     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5104     ;;
5105 
5106   interix*)
5107     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5108     lt_cv_sys_max_cmd_len=196608
5109     ;;
5110 
5111   os2*)
5112     # The test takes a long time on OS/2.
5113     lt_cv_sys_max_cmd_len=8192
5114     ;;
5115 
5116   osf*)
5117     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5118     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5119     # nice to cause kernel panics so lets avoid the loop below.
5120     # First set a reasonable default.
5121     lt_cv_sys_max_cmd_len=16384
5122     #
5123     if test -x /sbin/sysconfig; then
5124       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5125         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5126       esac
5127     fi
5128     ;;
5129   sco3.2v5*)
5130     lt_cv_sys_max_cmd_len=102400
5131     ;;
5132   sysv5* | sco5v6* | sysv4.2uw2*)
5133     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5134     if test -n "$kargmax"; then
5135       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5136     else
5137       lt_cv_sys_max_cmd_len=32768
5138     fi
5139     ;;
5140   *)
5141     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5142     if test -n "$lt_cv_sys_max_cmd_len"; then
5143       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5144       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5145     else
5146       # Make teststring a little bigger before we do anything with it.
5147       # a 1K string should be a reasonable start.
5148       for i in 1 2 3 4 5 6 7 8 ; do
5149         teststring=$teststring$teststring
5150       done
5151       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5152       # If test is not a shell built-in, we'll probably end up computing a
5153       # maximum length that is only half of the actual maximum length, but
5154       # we can't tell.
5155       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5156                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5157               test $i != 17 # 1/2 MB should be enough
5158       do
5159         i=`expr $i + 1`
5160         teststring=$teststring$teststring
5161       done
5162       # Only check the string length outside the loop.
5163       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5164       teststring=
5165       # Add a significant safety factor because C++ compilers can tack on
5166       # massive amounts of additional arguments before passing them to the
5167       # linker.  It appears as though 1/2 is a usable value.
5168       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5169     fi
5170     ;;
5171   esac
5172 
5173 fi
5174 
5175 if test -n $lt_cv_sys_max_cmd_len ; then
5176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5177 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5178 else
5179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5180 $as_echo "none" >&6; }
5181 fi
5182 max_cmd_len=$lt_cv_sys_max_cmd_len
5183 
5184 
5185 
5186 
5187 
5188 
5189 : ${CP="cp -f"}
5190 : ${MV="mv -f"}
5191 : ${RM="rm -f"}
5192 
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5194 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5195 # Try some XSI features
5196 xsi_shell=no
5197 ( _lt_dummy="a/b/c"
5198   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5199       = c,a/b,b/c, \
5200     && eval 'test $(( 1 + 1 )) -eq 2 \
5201     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5202   && xsi_shell=yes
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5204 $as_echo "$xsi_shell" >&6; }
5205 
5206 
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5208 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5209 lt_shell_append=no
5210 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5211     >/dev/null 2>&1 \
5212   && lt_shell_append=yes
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5214 $as_echo "$lt_shell_append" >&6; }
5215 
5216 
5217 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5218   lt_unset=unset
5219 else
5220   lt_unset=false
5221 fi
5222 
5223 
5224 
5225 
5226 
5227 # test EBCDIC or ASCII
5228 case `echo X|tr X '\101'` in
5229  A) # ASCII based system
5230     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5231   lt_SP2NL='tr \040 \012'
5232   lt_NL2SP='tr \015\012 \040\040'
5233   ;;
5234  *) # EBCDIC based system
5235   lt_SP2NL='tr \100 \n'
5236   lt_NL2SP='tr \r\n \100\100'
5237   ;;
5238 esac
5239 
5240 
5241 
5242 
5243 
5244 
5245 
5246 
5247 
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5249 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5250 if ${lt_cv_to_host_file_cmd+:} false; then :
5251   $as_echo_n "(cached) " >&6
5252 else
5253   case $host in
5254   *-*-mingw* )
5255     case $build in
5256       *-*-mingw* ) # actually msys
5257         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5258         ;;
5259       *-*-cygwin* )
5260         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5261         ;;
5262       * ) # otherwise, assume *nix
5263         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5264         ;;
5265     esac
5266     ;;
5267   *-*-cygwin* )
5268     case $build in
5269       *-*-mingw* ) # actually msys
5270         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5271         ;;
5272       *-*-cygwin* )
5273         lt_cv_to_host_file_cmd=func_convert_file_noop
5274         ;;
5275       * ) # otherwise, assume *nix
5276         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5277         ;;
5278     esac
5279     ;;
5280   * ) # unhandled hosts (and "normal" native builds)
5281     lt_cv_to_host_file_cmd=func_convert_file_noop
5282     ;;
5283 esac
5284 
5285 fi
5286 
5287 to_host_file_cmd=$lt_cv_to_host_file_cmd
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5289 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5290 
5291 
5292 
5293 
5294 
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5296 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5297 if ${lt_cv_to_tool_file_cmd+:} false; then :
5298   $as_echo_n "(cached) " >&6
5299 else
5300   #assume ordinary cross tools, or native build.
5301 lt_cv_to_tool_file_cmd=func_convert_file_noop
5302 case $host in
5303   *-*-mingw* )
5304     case $build in
5305       *-*-mingw* ) # actually msys
5306         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5307         ;;
5308     esac
5309     ;;
5310 esac
5311 
5312 fi
5313 
5314 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5316 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5317 
5318 
5319 
5320 
5321 
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5323 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5324 if ${lt_cv_ld_reload_flag+:} false; then :
5325   $as_echo_n "(cached) " >&6
5326 else
5327   lt_cv_ld_reload_flag='-r'
5328 fi
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5330 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5331 reload_flag=$lt_cv_ld_reload_flag
5332 case $reload_flag in
5333 "" | " "*) ;;
5334 *) reload_flag=" $reload_flag" ;;
5335 esac
5336 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5337 case $host_os in
5338   cygwin* | mingw* | pw32* | cegcc*)
5339     if test "$GCC" != yes; then
5340       reload_cmds=false
5341     fi
5342     ;;
5343   darwin*)
5344     if test "$GCC" = yes; then
5345       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5346     else
5347       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5348     fi
5349     ;;
5350 esac
5351 
5352 
5353 
5354 
5355 
5356 
5357 
5358 
5359 
5360 if test -n "$ac_tool_prefix"; then
5361   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5362 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_OBJDUMP+:} false; then :
5366   $as_echo_n "(cached) " >&6
5367 else
5368   if test -n "$OBJDUMP"; then
5369   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5370 else
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH
5373 do
5374   IFS=$as_save_IFS
5375   test -z "$as_dir" && as_dir=.
5376     for ac_exec_ext in '' $ac_executable_extensions; do
5377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380     break 2
5381   fi
5382 done
5383   done
5384 IFS=$as_save_IFS
5385 
5386 fi
5387 fi
5388 OBJDUMP=$ac_cv_prog_OBJDUMP
5389 if test -n "$OBJDUMP"; then
5390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5391 $as_echo "$OBJDUMP" >&6; }
5392 else
5393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5395 fi
5396 
5397 
5398 fi
5399 if test -z "$ac_cv_prog_OBJDUMP"; then
5400   ac_ct_OBJDUMP=$OBJDUMP
5401   # Extract the first word of "objdump", so it can be a program name with args.
5402 set dummy objdump; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5406   $as_echo_n "(cached) " >&6
5407 else
5408   if test -n "$ac_ct_OBJDUMP"; then
5409   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5413 do
5414   IFS=$as_save_IFS
5415   test -z "$as_dir" && as_dir=.
5416     for ac_exec_ext in '' $ac_executable_extensions; do
5417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420     break 2
5421   fi
5422 done
5423   done
5424 IFS=$as_save_IFS
5425 
5426 fi
5427 fi
5428 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5429 if test -n "$ac_ct_OBJDUMP"; then
5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5431 $as_echo "$ac_ct_OBJDUMP" >&6; }
5432 else
5433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5435 fi
5436 
5437   if test "x$ac_ct_OBJDUMP" = x; then
5438     OBJDUMP="false"
5439   else
5440     case $cross_compiling:$ac_tool_warned in
5441 yes:)
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5444 ac_tool_warned=yes ;;
5445 esac
5446     OBJDUMP=$ac_ct_OBJDUMP
5447   fi
5448 else
5449   OBJDUMP="$ac_cv_prog_OBJDUMP"
5450 fi
5451 
5452 test -z "$OBJDUMP" && OBJDUMP=objdump
5453 
5454 
5455 
5456 
5457 
5458 
5459 
5460 
5461 
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5463 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5464 if ${lt_cv_deplibs_check_method+:} false; then :
5465   $as_echo_n "(cached) " >&6
5466 else
5467   lt_cv_file_magic_cmd='$MAGIC_CMD'
5468 lt_cv_file_magic_test_file=
5469 lt_cv_deplibs_check_method='unknown'
5470 # Need to set the preceding variable on all platforms that support
5471 # interlibrary dependencies.
5472 # 'none' -- dependencies not supported.
5473 # `unknown' -- same as none, but documents that we really don't know.
5474 # 'pass_all' -- all dependencies passed with no checks.
5475 # 'test_compile' -- check by making test program.
5476 # 'file_magic [[regex]]' -- check by looking for files in library path
5477 # which responds to the $file_magic_cmd with a given extended regex.
5478 # If you have `file' or equivalent on your system and you're not sure
5479 # whether `pass_all' will *always* work, you probably want this one.
5480 
5481 case $host_os in
5482 aix[4-9]*)
5483   lt_cv_deplibs_check_method=pass_all
5484   ;;
5485 
5486 beos*)
5487   lt_cv_deplibs_check_method=pass_all
5488   ;;
5489 
5490 bsdi[45]*)
5491   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5492   lt_cv_file_magic_cmd='/usr/bin/file -L'
5493   lt_cv_file_magic_test_file=/shlib/libc.so
5494   ;;
5495 
5496 cygwin*)
5497   # func_win32_libid is a shell function defined in ltmain.sh
5498   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5499   lt_cv_file_magic_cmd='func_win32_libid'
5500   ;;
5501 
5502 mingw* | pw32*)
5503   # Base MSYS/MinGW do not provide the 'file' command needed by
5504   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5505   # unless we find 'file', for example because we are cross-compiling.
5506   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5507   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5508     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5509     lt_cv_file_magic_cmd='func_win32_libid'
5510   else
5511     # Keep this pattern in sync with the one in func_win32_libid.
5512     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5513     lt_cv_file_magic_cmd='$OBJDUMP -f'
5514   fi
5515   ;;
5516 
5517 cegcc*)
5518   # use the weaker test based on 'objdump'. See mingw*.
5519   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5520   lt_cv_file_magic_cmd='$OBJDUMP -f'
5521   ;;
5522 
5523 darwin* | rhapsody*)
5524   lt_cv_deplibs_check_method=pass_all
5525   ;;
5526 
5527 freebsd* | dragonfly*)
5528   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5529     case $host_cpu in
5530     i*86 )
5531       # Not sure whether the presence of OpenBSD here was a mistake.
5532       # Let's accept both of them until this is cleared up.
5533       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5534       lt_cv_file_magic_cmd=/usr/bin/file
5535       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5536       ;;
5537     esac
5538   else
5539     lt_cv_deplibs_check_method=pass_all
5540   fi
5541   ;;
5542 
5543 gnu*)
5544   lt_cv_deplibs_check_method=pass_all
5545   ;;
5546 
5547 haiku*)
5548   lt_cv_deplibs_check_method=pass_all
5549   ;;
5550 
5551 hpux10.20* | hpux11*)
5552   lt_cv_file_magic_cmd=/usr/bin/file
5553   case $host_cpu in
5554   ia64*)
5555     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5556     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5557     ;;
5558   hppa*64*)
5559     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]'
5560     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5561     ;;
5562   *)
5563     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5564     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5565     ;;
5566   esac
5567   ;;
5568 
5569 interix[3-9]*)
5570   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5571   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5572   ;;
5573 
5574 irix5* | irix6* | nonstopux*)
5575   case $LD in
5576   *-32|*"-32 ") libmagic=32-bit;;
5577   *-n32|*"-n32 ") libmagic=N32;;
5578   *-64|*"-64 ") libmagic=64-bit;;
5579   *) libmagic=never-match;;
5580   esac
5581   lt_cv_deplibs_check_method=pass_all
5582   ;;
5583 
5584 # This must be glibc/ELF.
5585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5586   lt_cv_deplibs_check_method=pass_all
5587   ;;
5588 
5589 netbsd*)
5590   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5591     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5592   else
5593     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5594   fi
5595   ;;
5596 
5597 newos6*)
5598   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5599   lt_cv_file_magic_cmd=/usr/bin/file
5600   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5601   ;;
5602 
5603 *nto* | *qnx*)
5604   lt_cv_deplibs_check_method=pass_all
5605   ;;
5606 
5607 openbsd*)
5608   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5609     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5610   else
5611     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5612   fi
5613   ;;
5614 
5615 osf3* | osf4* | osf5*)
5616   lt_cv_deplibs_check_method=pass_all
5617   ;;
5618 
5619 rdos*)
5620   lt_cv_deplibs_check_method=pass_all
5621   ;;
5622 
5623 solaris*)
5624   lt_cv_deplibs_check_method=pass_all
5625   ;;
5626 
5627 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5628   lt_cv_deplibs_check_method=pass_all
5629   ;;
5630 
5631 sysv4 | sysv4.3*)
5632   case $host_vendor in
5633   motorola)
5634     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]'
5635     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5636     ;;
5637   ncr)
5638     lt_cv_deplibs_check_method=pass_all
5639     ;;
5640   sequent)
5641     lt_cv_file_magic_cmd='/bin/file'
5642     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5643     ;;
5644   sni)
5645     lt_cv_file_magic_cmd='/bin/file'
5646     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5647     lt_cv_file_magic_test_file=/lib/libc.so
5648     ;;
5649   siemens)
5650     lt_cv_deplibs_check_method=pass_all
5651     ;;
5652   pc)
5653     lt_cv_deplibs_check_method=pass_all
5654     ;;
5655   esac
5656   ;;
5657 
5658 tpf*)
5659   lt_cv_deplibs_check_method=pass_all
5660   ;;
5661 esac
5662 
5663 fi
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5665 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5666 
5667 file_magic_glob=
5668 want_nocaseglob=no
5669 if test "$build" = "$host"; then
5670   case $host_os in
5671   mingw* | pw32*)
5672     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5673       want_nocaseglob=yes
5674     else
5675       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5676     fi
5677     ;;
5678   esac
5679 fi
5680 
5681 file_magic_cmd=$lt_cv_file_magic_cmd
5682 deplibs_check_method=$lt_cv_deplibs_check_method
5683 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5684 
5685 
5686 
5687 
5688 
5689 
5690 
5691 
5692 
5693 
5694 
5695 
5696 
5697 
5698 
5699 
5700 
5701 
5702 
5703 
5704 
5705 
5706 if test -n "$ac_tool_prefix"; then
5707   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5708 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_DLLTOOL+:} false; then :
5712   $as_echo_n "(cached) " >&6
5713 else
5714   if test -n "$DLLTOOL"; then
5715   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5716 else
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH
5719 do
5720   IFS=$as_save_IFS
5721   test -z "$as_dir" && as_dir=.
5722     for ac_exec_ext in '' $ac_executable_extensions; do
5723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726     break 2
5727   fi
5728 done
5729   done
5730 IFS=$as_save_IFS
5731 
5732 fi
5733 fi
5734 DLLTOOL=$ac_cv_prog_DLLTOOL
5735 if test -n "$DLLTOOL"; then
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5737 $as_echo "$DLLTOOL" >&6; }
5738 else
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5741 fi
5742 
5743 
5744 fi
5745 if test -z "$ac_cv_prog_DLLTOOL"; then
5746   ac_ct_DLLTOOL=$DLLTOOL
5747   # Extract the first word of "dlltool", so it can be a program name with args.
5748 set dummy dlltool; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5752   $as_echo_n "(cached) " >&6
5753 else
5754   if test -n "$ac_ct_DLLTOOL"; then
5755   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5759 do
5760   IFS=$as_save_IFS
5761   test -z "$as_dir" && as_dir=.
5762     for ac_exec_ext in '' $ac_executable_extensions; do
5763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766     break 2
5767   fi
5768 done
5769   done
5770 IFS=$as_save_IFS
5771 
5772 fi
5773 fi
5774 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5775 if test -n "$ac_ct_DLLTOOL"; then
5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5777 $as_echo "$ac_ct_DLLTOOL" >&6; }
5778 else
5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5781 fi
5782 
5783   if test "x$ac_ct_DLLTOOL" = x; then
5784     DLLTOOL="false"
5785   else
5786     case $cross_compiling:$ac_tool_warned in
5787 yes:)
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5790 ac_tool_warned=yes ;;
5791 esac
5792     DLLTOOL=$ac_ct_DLLTOOL
5793   fi
5794 else
5795   DLLTOOL="$ac_cv_prog_DLLTOOL"
5796 fi
5797 
5798 test -z "$DLLTOOL" && DLLTOOL=dlltool
5799 
5800 
5801 
5802 
5803 
5804 
5805 
5806 
5807 
5808 
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5810 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5811 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5812   $as_echo_n "(cached) " >&6
5813 else
5814   lt_cv_sharedlib_from_linklib_cmd='unknown'
5815 
5816 case $host_os in
5817 cygwin* | mingw* | pw32* | cegcc*)
5818   # two different shell functions defined in ltmain.sh
5819   # decide which to use based on capabilities of $DLLTOOL
5820   case `$DLLTOOL --help 2>&1` in
5821   *--identify-strict*)
5822     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5823     ;;
5824   *)
5825     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5826     ;;
5827   esac
5828   ;;
5829 *)
5830   # fallback: assume linklib IS sharedlib
5831   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5832   ;;
5833 esac
5834 
5835 fi
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5837 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5838 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5839 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5840 
5841 
5842 
5843 
5844 
5845 
5846 
5847 if test -n "$ac_tool_prefix"; then
5848   for ac_prog in ar
5849   do
5850     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_AR+:} false; then :
5855   $as_echo_n "(cached) " >&6
5856 else
5857   if test -n "$AR"; then
5858   ac_cv_prog_AR="$AR" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5862 do
5863   IFS=$as_save_IFS
5864   test -z "$as_dir" && as_dir=.
5865     for ac_exec_ext in '' $ac_executable_extensions; do
5866   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869     break 2
5870   fi
5871 done
5872   done
5873 IFS=$as_save_IFS
5874 
5875 fi
5876 fi
5877 AR=$ac_cv_prog_AR
5878 if test -n "$AR"; then
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5880 $as_echo "$AR" >&6; }
5881 else
5882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5884 fi
5885 
5886 
5887     test -n "$AR" && break
5888   done
5889 fi
5890 if test -z "$AR"; then
5891   ac_ct_AR=$AR
5892   for ac_prog in ar
5893 do
5894   # Extract the first word of "$ac_prog", so it can be a program name with args.
5895 set dummy $ac_prog; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5899   $as_echo_n "(cached) " >&6
5900 else
5901   if test -n "$ac_ct_AR"; then
5902   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5906 do
5907   IFS=$as_save_IFS
5908   test -z "$as_dir" && as_dir=.
5909     for ac_exec_ext in '' $ac_executable_extensions; do
5910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911     ac_cv_prog_ac_ct_AR="$ac_prog"
5912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913     break 2
5914   fi
5915 done
5916   done
5917 IFS=$as_save_IFS
5918 
5919 fi
5920 fi
5921 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5922 if test -n "$ac_ct_AR"; then
5923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5924 $as_echo "$ac_ct_AR" >&6; }
5925 else
5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5928 fi
5929 
5930 
5931   test -n "$ac_ct_AR" && break
5932 done
5933 
5934   if test "x$ac_ct_AR" = x; then
5935     AR="false"
5936   else
5937     case $cross_compiling:$ac_tool_warned in
5938 yes:)
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5941 ac_tool_warned=yes ;;
5942 esac
5943     AR=$ac_ct_AR
5944   fi
5945 fi
5946 
5947 : ${AR=ar}
5948 : ${AR_FLAGS=cru}
5949 
5950 
5951 
5952 
5953 
5954 
5955 
5956 
5957 
5958 
5959 
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5961 $as_echo_n "checking for archiver @FILE support... " >&6; }
5962 if ${lt_cv_ar_at_file+:} false; then :
5963   $as_echo_n "(cached) " >&6
5964 else
5965   lt_cv_ar_at_file=no
5966    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h.  */
5968 
5969 int
5970 main ()
5971 {
5972 
5973   ;
5974   return 0;
5975 }
5976 _ACEOF
5977 if ac_fn_c_try_compile "$LINENO"; then :
5978   echo conftest.$ac_objext > conftest.lst
5979       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5980       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5981   (eval $lt_ar_try) 2>&5
5982   ac_status=$?
5983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5984   test $ac_status = 0; }
5985       if test "$ac_status" -eq 0; then
5986         # Ensure the archiver fails upon bogus file names.
5987         rm -f conftest.$ac_objext libconftest.a
5988         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5989   (eval $lt_ar_try) 2>&5
5990   ac_status=$?
5991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5992   test $ac_status = 0; }
5993         if test "$ac_status" -ne 0; then
5994           lt_cv_ar_at_file=@
5995         fi
5996       fi
5997       rm -f conftest.* libconftest.a
5998 
5999 fi
6000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6001 
6002 fi
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6004 $as_echo "$lt_cv_ar_at_file" >&6; }
6005 
6006 if test "x$lt_cv_ar_at_file" = xno; then
6007   archiver_list_spec=
6008 else
6009   archiver_list_spec=$lt_cv_ar_at_file
6010 fi
6011 
6012 
6013 
6014 
6015 
6016 
6017 
6018 if test -n "$ac_tool_prefix"; then
6019   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}strip; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_STRIP+:} false; then :
6024   $as_echo_n "(cached) " >&6
6025 else
6026   if test -n "$STRIP"; then
6027   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6031 do
6032   IFS=$as_save_IFS
6033   test -z "$as_dir" && as_dir=.
6034     for ac_exec_ext in '' $ac_executable_extensions; do
6035   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038     break 2
6039   fi
6040 done
6041   done
6042 IFS=$as_save_IFS
6043 
6044 fi
6045 fi
6046 STRIP=$ac_cv_prog_STRIP
6047 if test -n "$STRIP"; then
6048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6049 $as_echo "$STRIP" >&6; }
6050 else
6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 fi
6054 
6055 
6056 fi
6057 if test -z "$ac_cv_prog_STRIP"; then
6058   ac_ct_STRIP=$STRIP
6059   # Extract the first word of "strip", so it can be a program name with args.
6060 set dummy strip; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6064   $as_echo_n "(cached) " >&6
6065 else
6066   if test -n "$ac_ct_STRIP"; then
6067   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072   IFS=$as_save_IFS
6073   test -z "$as_dir" && as_dir=.
6074     for ac_exec_ext in '' $ac_executable_extensions; do
6075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076     ac_cv_prog_ac_ct_STRIP="strip"
6077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078     break 2
6079   fi
6080 done
6081   done
6082 IFS=$as_save_IFS
6083 
6084 fi
6085 fi
6086 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6087 if test -n "$ac_ct_STRIP"; then
6088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6089 $as_echo "$ac_ct_STRIP" >&6; }
6090 else
6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094 
6095   if test "x$ac_ct_STRIP" = x; then
6096     STRIP=":"
6097   else
6098     case $cross_compiling:$ac_tool_warned in
6099 yes:)
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6103 esac
6104     STRIP=$ac_ct_STRIP
6105   fi
6106 else
6107   STRIP="$ac_cv_prog_STRIP"
6108 fi
6109 
6110 test -z "$STRIP" && STRIP=:
6111 
6112 
6113 
6114 
6115 
6116 
6117 if test -n "$ac_tool_prefix"; then
6118   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if ${ac_cv_prog_RANLIB+:} false; then :
6123   $as_echo_n "(cached) " >&6
6124 else
6125   if test -n "$RANLIB"; then
6126   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6127 else
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129 for as_dir in $PATH
6130 do
6131   IFS=$as_save_IFS
6132   test -z "$as_dir" && as_dir=.
6133     for ac_exec_ext in '' $ac_executable_extensions; do
6134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6137     break 2
6138   fi
6139 done
6140   done
6141 IFS=$as_save_IFS
6142 
6143 fi
6144 fi
6145 RANLIB=$ac_cv_prog_RANLIB
6146 if test -n "$RANLIB"; then
6147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6148 $as_echo "$RANLIB" >&6; }
6149 else
6150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6152 fi
6153 
6154 
6155 fi
6156 if test -z "$ac_cv_prog_RANLIB"; then
6157   ac_ct_RANLIB=$RANLIB
6158   # Extract the first word of "ranlib", so it can be a program name with args.
6159 set dummy ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6163   $as_echo_n "(cached) " >&6
6164 else
6165   if test -n "$ac_ct_RANLIB"; then
6166   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6167 else
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH
6170 do
6171   IFS=$as_save_IFS
6172   test -z "$as_dir" && as_dir=.
6173     for ac_exec_ext in '' $ac_executable_extensions; do
6174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6175     ac_cv_prog_ac_ct_RANLIB="ranlib"
6176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6177     break 2
6178   fi
6179 done
6180   done
6181 IFS=$as_save_IFS
6182 
6183 fi
6184 fi
6185 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6186 if test -n "$ac_ct_RANLIB"; then
6187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6188 $as_echo "$ac_ct_RANLIB" >&6; }
6189 else
6190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6192 fi
6193 
6194   if test "x$ac_ct_RANLIB" = x; then
6195     RANLIB=":"
6196   else
6197     case $cross_compiling:$ac_tool_warned in
6198 yes:)
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6201 ac_tool_warned=yes ;;
6202 esac
6203     RANLIB=$ac_ct_RANLIB
6204   fi
6205 else
6206   RANLIB="$ac_cv_prog_RANLIB"
6207 fi
6208 
6209 test -z "$RANLIB" && RANLIB=:
6210 
6211 
6212 
6213 
6214 
6215 
6216 # Determine commands to create old-style static archives.
6217 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6218 old_postinstall_cmds='chmod 644 $oldlib'
6219 old_postuninstall_cmds=
6220 
6221 if test -n "$RANLIB"; then
6222   case $host_os in
6223   openbsd*)
6224     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6225     ;;
6226   *)
6227     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6228     ;;
6229   esac
6230   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6231 fi
6232 
6233 case $host_os in
6234   darwin*)
6235     lock_old_archive_extraction=yes ;;
6236   *)
6237     lock_old_archive_extraction=no ;;
6238 esac
6239 
6240 
6241 
6242 
6243 
6244 
6245 
6246 
6247 
6248 
6249 
6250 
6251 
6252 
6253 
6254 
6255 
6256 
6257 
6258 
6259 
6260 
6261 
6262 
6263 
6264 
6265 
6266 
6267 
6268 
6269 
6270 
6271 
6272 
6273 
6274 
6275 
6276 
6277 
6278 # If no C compiler was specified, use CC.
6279 LTCC=${LTCC-"$CC"}
6280 
6281 # If no C compiler flags were specified, use CFLAGS.
6282 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6283 
6284 # Allow CC to be a program name with arguments.
6285 compiler=$CC
6286 
6287 
6288 # Check for command to grab the raw symbol name followed by C symbol from nm.
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6290 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6291 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6292   $as_echo_n "(cached) " >&6
6293 else
6294 
6295 # These are sane defaults that work on at least a few old systems.
6296 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6297 
6298 # Character class describing NM global symbol codes.
6299 symcode='[BCDEGRST]'
6300 
6301 # Regexp to match symbols that can be accessed directly from C.
6302 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6303 
6304 # Define system-specific variables.
6305 case $host_os in
6306 aix*)
6307   symcode='[BCDT]'
6308   ;;
6309 cygwin* | mingw* | pw32* | cegcc*)
6310   symcode='[ABCDGISTW]'
6311   ;;
6312 hpux*)
6313   if test "$host_cpu" = ia64; then
6314     symcode='[ABCDEGRST]'
6315   fi
6316   ;;
6317 irix* | nonstopux*)
6318   symcode='[BCDEGRST]'
6319   ;;
6320 osf*)
6321   symcode='[BCDEGQRST]'
6322   ;;
6323 solaris*)
6324   symcode='[BDRT]'
6325   ;;
6326 sco3.2v5*)
6327   symcode='[DT]'
6328   ;;
6329 sysv4.2uw2*)
6330   symcode='[DT]'
6331   ;;
6332 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6333   symcode='[ABDT]'
6334   ;;
6335 sysv4)
6336   symcode='[DFNSTU]'
6337   ;;
6338 esac
6339 
6340 # If we're using GNU nm, then use its standard symbol codes.
6341 case `$NM -V 2>&1` in
6342 *GNU* | *'with BFD'*)
6343   symcode='[ABCDGIRSTW]' ;;
6344 esac
6345 
6346 # Transform an extracted symbol line into a proper C declaration.
6347 # Some systems (esp. on ia64) link data and code symbols differently,
6348 # so use this general approach.
6349 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6350 
6351 # Transform an extracted symbol line into symbol name and symbol address
6352 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6353 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6354 
6355 # Handle CRLF in mingw tool chain
6356 opt_cr=
6357 case $build_os in
6358 mingw*)
6359   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6360   ;;
6361 esac
6362 
6363 # Try without a prefix underscore, then with it.
6364 for ac_symprfx in "" "_"; do
6365 
6366   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6367   symxfrm="\\1 $ac_symprfx\\2 \\2"
6368 
6369   # Write the raw and C identifiers.
6370   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6371     # Fake it for dumpbin and say T for any non-static function
6372     # and D for any global variable.
6373     # Also find C++ and __fastcall symbols from MSVC++,
6374     # which start with @ or ?.
6375     lt_cv_sys_global_symbol_pipe="$AWK '"\
6376 "     {last_section=section; section=\$ 3};"\
6377 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6378 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6379 "     \$ 0!~/External *\|/{next};"\
6380 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6381 "     {if(hide[section]) next};"\
6382 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6383 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6384 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6385 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6386 "     ' prfx=^$ac_symprfx"
6387   else
6388     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6389   fi
6390   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6391 
6392   # Check to see that the pipe works correctly.
6393   pipe_works=no
6394 
6395   rm -f conftest*
6396   cat > conftest.$ac_ext <<_LT_EOF
6397 #ifdef __cplusplus
6398 extern "C" {
6399 #endif
6400 char nm_test_var;
6401 void nm_test_func(void);
6402 void nm_test_func(void){}
6403 #ifdef __cplusplus
6404 }
6405 #endif
6406 int main(){nm_test_var='a';nm_test_func();return(0);}
6407 _LT_EOF
6408 
6409   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6410   (eval $ac_compile) 2>&5
6411   ac_status=$?
6412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6413   test $ac_status = 0; }; then
6414     # Now try to grab the symbols.
6415     nlist=conftest.nm
6416     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6417   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6418   ac_status=$?
6419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6420   test $ac_status = 0; } && test -s "$nlist"; then
6421       # Try sorting and uniquifying the output.
6422       if sort "$nlist" | uniq > "$nlist"T; then
6423         mv -f "$nlist"T "$nlist"
6424       else
6425         rm -f "$nlist"T
6426       fi
6427 
6428       # Make sure that we snagged all the symbols we need.
6429       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6430         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6431           cat <<_LT_EOF > conftest.$ac_ext
6432 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6433 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6434 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6435    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6436 # define LT_DLSYM_CONST
6437 #elif defined(__osf__)
6438 /* This system does not cope well with relocations in const data.  */
6439 # define LT_DLSYM_CONST
6440 #else
6441 # define LT_DLSYM_CONST const
6442 #endif
6443 
6444 #ifdef __cplusplus
6445 extern "C" {
6446 #endif
6447 
6448 _LT_EOF
6449           # Now generate the symbol file.
6450           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6451 
6452           cat <<_LT_EOF >> conftest.$ac_ext
6453 
6454 /* The mapping between symbol names and symbols.  */
6455 LT_DLSYM_CONST struct {
6456   const char *name;
6457   void       *address;
6458 }
6459 lt__PROGRAM__LTX_preloaded_symbols[] =
6460 {
6461   { "@PROGRAM@", (void *) 0 },
6462 _LT_EOF
6463           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6464           cat <<\_LT_EOF >> conftest.$ac_ext
6465   {0, (void *) 0}
6466 };
6467 
6468 /* This works around a problem in FreeBSD linker */
6469 #ifdef FREEBSD_WORKAROUND
6470 static const void *lt_preloaded_setup() {
6471   return lt__PROGRAM__LTX_preloaded_symbols;
6472 }
6473 #endif
6474 
6475 #ifdef __cplusplus
6476 }
6477 #endif
6478 _LT_EOF
6479           # Now try linking the two files.
6480           mv conftest.$ac_objext conftstm.$ac_objext
6481           lt_globsym_save_LIBS=$LIBS
6482           lt_globsym_save_CFLAGS=$CFLAGS
6483           LIBS="conftstm.$ac_objext"
6484           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6485           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6486   (eval $ac_link) 2>&5
6487   ac_status=$?
6488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6490             pipe_works=yes
6491           fi
6492           LIBS=$lt_globsym_save_LIBS
6493           CFLAGS=$lt_globsym_save_CFLAGS
6494         else
6495           echo "cannot find nm_test_func in $nlist" >&5
6496         fi
6497       else
6498         echo "cannot find nm_test_var in $nlist" >&5
6499       fi
6500     else
6501       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6502     fi
6503   else
6504     echo "$progname: failed program was:" >&5
6505     cat conftest.$ac_ext >&5
6506   fi
6507   rm -rf conftest* conftst*
6508 
6509   # Do not use the global_symbol_pipe unless it works.
6510   if test "$pipe_works" = yes; then
6511     break
6512   else
6513     lt_cv_sys_global_symbol_pipe=
6514   fi
6515 done
6516 
6517 fi
6518 
6519 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6520   lt_cv_sys_global_symbol_to_cdecl=
6521 fi
6522 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6524 $as_echo "failed" >&6; }
6525 else
6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6527 $as_echo "ok" >&6; }
6528 fi
6529 
6530 # Response file support.
6531 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6532   nm_file_list_spec='@'
6533 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6534   nm_file_list_spec='@'
6535 fi
6536 
6537 
6538 
6539 
6540 
6541 
6542 
6543 
6544 
6545 
6546 
6547 
6548 
6549 
6550 
6551 
6552 
6553 
6554 
6555 
6556 
6557 
6558 
6559 
6560 
6561 
6562 
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6564 $as_echo_n "checking for sysroot... " >&6; }
6565 
6566 # Check whether --with-sysroot was given.
6567 if test "${with_sysroot+set}" = set; then :
6568   withval=$with_sysroot;
6569 else
6570   with_sysroot=no
6571 fi
6572 
6573 
6574 lt_sysroot=
6575 case ${with_sysroot} in #(
6576  yes)
6577    if test "$GCC" = yes; then
6578      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6579    fi
6580    ;; #(
6581  /*)
6582    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6583    ;; #(
6584  no|'')
6585    ;; #(
6586  *)
6587    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6588 $as_echo "${with_sysroot}" >&6; }
6589    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6590    ;;
6591 esac
6592 
6593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6594 $as_echo "${lt_sysroot:-no}" >&6; }
6595 
6596 
6597 
6598 
6599 
6600 # Check whether --enable-libtool-lock was given.
6601 if test "${enable_libtool_lock+set}" = set; then :
6602   enableval=$enable_libtool_lock;
6603 fi
6604 
6605 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6606 
6607 # Some flags need to be propagated to the compiler or linker for good
6608 # libtool support.
6609 case $host in
6610 ia64-*-hpux*)
6611   # Find out which ABI we are using.
6612   echo 'int i;' > conftest.$ac_ext
6613   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6614   (eval $ac_compile) 2>&5
6615   ac_status=$?
6616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6617   test $ac_status = 0; }; then
6618     case `/usr/bin/file conftest.$ac_objext` in
6619       *ELF-32*)
6620         HPUX_IA64_MODE="32"
6621         ;;
6622       *ELF-64*)
6623         HPUX_IA64_MODE="64"
6624         ;;
6625     esac
6626   fi
6627   rm -rf conftest*
6628   ;;
6629 *-*-irix6*)
6630   # Find out which ABI we are using.
6631   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6632   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6633   (eval $ac_compile) 2>&5
6634   ac_status=$?
6635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636   test $ac_status = 0; }; then
6637     if test "$lt_cv_prog_gnu_ld" = yes; then
6638       case `/usr/bin/file conftest.$ac_objext` in
6639         *32-bit*)
6640           LD="${LD-ld} -melf32bsmip"
6641           ;;
6642         *N32*)
6643           LD="${LD-ld} -melf32bmipn32"
6644           ;;
6645         *64-bit*)
6646           LD="${LD-ld} -melf64bmip"
6647         ;;
6648       esac
6649     else
6650       case `/usr/bin/file conftest.$ac_objext` in
6651         *32-bit*)
6652           LD="${LD-ld} -32"
6653           ;;
6654         *N32*)
6655           LD="${LD-ld} -n32"
6656           ;;
6657         *64-bit*)
6658           LD="${LD-ld} -64"
6659           ;;
6660       esac
6661     fi
6662   fi
6663   rm -rf conftest*
6664   ;;
6665 
6666 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6667 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6668   # Find out which ABI we are using.
6669   echo 'int i;' > conftest.$ac_ext
6670   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6671   (eval $ac_compile) 2>&5
6672   ac_status=$?
6673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6674   test $ac_status = 0; }; then
6675     case `/usr/bin/file conftest.o` in
6676       *32-bit*)
6677         case $host in
6678           x86_64-*kfreebsd*-gnu)
6679             LD="${LD-ld} -m elf_i386_fbsd"
6680             ;;
6681           x86_64-*linux*)
6682             LD="${LD-ld} -m elf_i386"
6683             ;;
6684           ppc64-*linux*|powerpc64-*linux*)
6685             LD="${LD-ld} -m elf32ppclinux"
6686             ;;
6687           s390x-*linux*)
6688             LD="${LD-ld} -m elf_s390"
6689             ;;
6690           sparc64-*linux*)
6691             LD="${LD-ld} -m elf32_sparc"
6692             ;;
6693         esac
6694         ;;
6695       *64-bit*)
6696         case $host in
6697           x86_64-*kfreebsd*-gnu)
6698             LD="${LD-ld} -m elf_x86_64_fbsd"
6699             ;;
6700           x86_64-*linux*)
6701             LD="${LD-ld} -m elf_x86_64"
6702             ;;
6703           ppc*-*linux*|powerpc*-*linux*)
6704             LD="${LD-ld} -m elf64ppc"
6705             ;;
6706           s390*-*linux*|s390*-*tpf*)
6707             LD="${LD-ld} -m elf64_s390"
6708             ;;
6709           sparc*-*linux*)
6710             LD="${LD-ld} -m elf64_sparc"
6711             ;;
6712         esac
6713         ;;
6714     esac
6715   fi
6716   rm -rf conftest*
6717   ;;
6718 
6719 *-*-sco3.2v5*)
6720   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6721   SAVE_CFLAGS="$CFLAGS"
6722   CFLAGS="$CFLAGS -belf"
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6724 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6725 if ${lt_cv_cc_needs_belf+:} false; then :
6726   $as_echo_n "(cached) " >&6
6727 else
6728   ac_ext=c
6729 ac_cpp='$CPP $CPPFLAGS'
6730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6733 
6734      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h.  */
6736 
6737 int
6738 main ()
6739 {
6740 
6741   ;
6742   return 0;
6743 }
6744 _ACEOF
6745 if ac_fn_c_try_link "$LINENO"; then :
6746   lt_cv_cc_needs_belf=yes
6747 else
6748   lt_cv_cc_needs_belf=no
6749 fi
6750 rm -f core conftest.err conftest.$ac_objext \
6751     conftest$ac_exeext conftest.$ac_ext
6752      ac_ext=c
6753 ac_cpp='$CPP $CPPFLAGS'
6754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6757 
6758 fi
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6760 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6761   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6762     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6763     CFLAGS="$SAVE_CFLAGS"
6764   fi
6765   ;;
6766 *-*solaris*)
6767   # Find out which ABI we are using.
6768   echo 'int i;' > conftest.$ac_ext
6769   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770   (eval $ac_compile) 2>&5
6771   ac_status=$?
6772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773   test $ac_status = 0; }; then
6774     case `/usr/bin/file conftest.o` in
6775     *64-bit*)
6776       case $lt_cv_prog_gnu_ld in
6777       yes*)
6778         case $host in
6779         i?86-*-solaris*)
6780           LD="${LD-ld} -m elf_x86_64"
6781           ;;
6782         sparc*-*-solaris*)
6783           LD="${LD-ld} -m elf64_sparc"
6784           ;;
6785         esac
6786         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6787         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6788           LD="${LD-ld}_sol2"
6789         fi
6790         ;;
6791       *)
6792         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6793           LD="${LD-ld} -64"
6794         fi
6795         ;;
6796       esac
6797       ;;
6798     esac
6799   fi
6800   rm -rf conftest*
6801   ;;
6802 esac
6803 
6804 need_locks="$enable_libtool_lock"
6805 
6806 if test -n "$ac_tool_prefix"; then
6807   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6808 set dummy ${ac_tool_prefix}mt; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6812   $as_echo_n "(cached) " >&6
6813 else
6814   if test -n "$MANIFEST_TOOL"; then
6815   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6816 else
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6818 for as_dir in $PATH
6819 do
6820   IFS=$as_save_IFS
6821   test -z "$as_dir" && as_dir=.
6822     for ac_exec_ext in '' $ac_executable_extensions; do
6823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6824     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826     break 2
6827   fi
6828 done
6829   done
6830 IFS=$as_save_IFS
6831 
6832 fi
6833 fi
6834 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6835 if test -n "$MANIFEST_TOOL"; then
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6837 $as_echo "$MANIFEST_TOOL" >&6; }
6838 else
6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6841 fi
6842 
6843 
6844 fi
6845 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6846   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6847   # Extract the first word of "mt", so it can be a program name with args.
6848 set dummy mt; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6852   $as_echo_n "(cached) " >&6
6853 else
6854   if test -n "$ac_ct_MANIFEST_TOOL"; then
6855   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6859 do
6860   IFS=$as_save_IFS
6861   test -z "$as_dir" && as_dir=.
6862     for ac_exec_ext in '' $ac_executable_extensions; do
6863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866     break 2
6867   fi
6868 done
6869   done
6870 IFS=$as_save_IFS
6871 
6872 fi
6873 fi
6874 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6875 if test -n "$ac_ct_MANIFEST_TOOL"; then
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6877 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6878 else
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6881 fi
6882 
6883   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6884     MANIFEST_TOOL=":"
6885   else
6886     case $cross_compiling:$ac_tool_warned in
6887 yes:)
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6891 esac
6892     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6893   fi
6894 else
6895   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6896 fi
6897 
6898 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6900 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6901 if ${lt_cv_path_mainfest_tool+:} false; then :
6902   $as_echo_n "(cached) " >&6
6903 else
6904   lt_cv_path_mainfest_tool=no
6905   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6906   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6907   cat conftest.err >&5
6908   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6909     lt_cv_path_mainfest_tool=yes
6910   fi
6911   rm -f conftest*
6912 fi
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6914 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6915 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6916   MANIFEST_TOOL=:
6917 fi
6918 
6919 
6920 
6921 
6922 
6923 
6924   case $host_os in
6925     rhapsody* | darwin*)
6926     if test -n "$ac_tool_prefix"; then
6927   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6932   $as_echo_n "(cached) " >&6
6933 else
6934   if test -n "$DSYMUTIL"; then
6935   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6936 else
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 for as_dir in $PATH
6939 do
6940   IFS=$as_save_IFS
6941   test -z "$as_dir" && as_dir=.
6942     for ac_exec_ext in '' $ac_executable_extensions; do
6943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946     break 2
6947   fi
6948 done
6949   done
6950 IFS=$as_save_IFS
6951 
6952 fi
6953 fi
6954 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6955 if test -n "$DSYMUTIL"; then
6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6957 $as_echo "$DSYMUTIL" >&6; }
6958 else
6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6961 fi
6962 
6963 
6964 fi
6965 if test -z "$ac_cv_prog_DSYMUTIL"; then
6966   ac_ct_DSYMUTIL=$DSYMUTIL
6967   # Extract the first word of "dsymutil", so it can be a program name with args.
6968 set dummy dsymutil; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   if test -n "$ac_ct_DSYMUTIL"; then
6975   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991 
6992 fi
6993 fi
6994 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6995 if test -n "$ac_ct_DSYMUTIL"; then
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6997 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6998 else
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002 
7003   if test "x$ac_ct_DSYMUTIL" = x; then
7004     DSYMUTIL=":"
7005   else
7006     case $cross_compiling:$ac_tool_warned in
7007 yes:)
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7011 esac
7012     DSYMUTIL=$ac_ct_DSYMUTIL
7013   fi
7014 else
7015   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7016 fi
7017 
7018     if test -n "$ac_tool_prefix"; then
7019   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7020 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_NMEDIT+:} false; then :
7024   $as_echo_n "(cached) " >&6
7025 else
7026   if test -n "$NMEDIT"; then
7027   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7028 else
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030 for as_dir in $PATH
7031 do
7032   IFS=$as_save_IFS
7033   test -z "$as_dir" && as_dir=.
7034     for ac_exec_ext in '' $ac_executable_extensions; do
7035   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7036     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038     break 2
7039   fi
7040 done
7041   done
7042 IFS=$as_save_IFS
7043 
7044 fi
7045 fi
7046 NMEDIT=$ac_cv_prog_NMEDIT
7047 if test -n "$NMEDIT"; then
7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7049 $as_echo "$NMEDIT" >&6; }
7050 else
7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7053 fi
7054 
7055 
7056 fi
7057 if test -z "$ac_cv_prog_NMEDIT"; then
7058   ac_ct_NMEDIT=$NMEDIT
7059   # Extract the first word of "nmedit", so it can be a program name with args.
7060 set dummy nmedit; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7064   $as_echo_n "(cached) " >&6
7065 else
7066   if test -n "$ac_ct_NMEDIT"; then
7067   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7068 else
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in $PATH
7071 do
7072   IFS=$as_save_IFS
7073   test -z "$as_dir" && as_dir=.
7074     for ac_exec_ext in '' $ac_executable_extensions; do
7075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078     break 2
7079   fi
7080 done
7081   done
7082 IFS=$as_save_IFS
7083 
7084 fi
7085 fi
7086 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7087 if test -n "$ac_ct_NMEDIT"; then
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7089 $as_echo "$ac_ct_NMEDIT" >&6; }
7090 else
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7093 fi
7094 
7095   if test "x$ac_ct_NMEDIT" = x; then
7096     NMEDIT=":"
7097   else
7098     case $cross_compiling:$ac_tool_warned in
7099 yes:)
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7102 ac_tool_warned=yes ;;
7103 esac
7104     NMEDIT=$ac_ct_NMEDIT
7105   fi
7106 else
7107   NMEDIT="$ac_cv_prog_NMEDIT"
7108 fi
7109 
7110     if test -n "$ac_tool_prefix"; then
7111   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7112 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 $as_echo_n "checking for $ac_word... " >&6; }
7115 if ${ac_cv_prog_LIPO+:} false; then :
7116   $as_echo_n "(cached) " >&6
7117 else
7118   if test -n "$LIPO"; then
7119   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7120 else
7121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 for as_dir in $PATH
7123 do
7124   IFS=$as_save_IFS
7125   test -z "$as_dir" && as_dir=.
7126     for ac_exec_ext in '' $ac_executable_extensions; do
7127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7128     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130     break 2
7131   fi
7132 done
7133   done
7134 IFS=$as_save_IFS
7135 
7136 fi
7137 fi
7138 LIPO=$ac_cv_prog_LIPO
7139 if test -n "$LIPO"; then
7140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7141 $as_echo "$LIPO" >&6; }
7142 else
7143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144 $as_echo "no" >&6; }
7145 fi
7146 
7147 
7148 fi
7149 if test -z "$ac_cv_prog_LIPO"; then
7150   ac_ct_LIPO=$LIPO
7151   # Extract the first word of "lipo", so it can be a program name with args.
7152 set dummy lipo; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7156   $as_echo_n "(cached) " >&6
7157 else
7158   if test -n "$ac_ct_LIPO"; then
7159   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7160 else
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 for as_dir in $PATH
7163 do
7164   IFS=$as_save_IFS
7165   test -z "$as_dir" && as_dir=.
7166     for ac_exec_ext in '' $ac_executable_extensions; do
7167   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168     ac_cv_prog_ac_ct_LIPO="lipo"
7169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170     break 2
7171   fi
7172 done
7173   done
7174 IFS=$as_save_IFS
7175 
7176 fi
7177 fi
7178 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7179 if test -n "$ac_ct_LIPO"; then
7180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7181 $as_echo "$ac_ct_LIPO" >&6; }
7182 else
7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7185 fi
7186 
7187   if test "x$ac_ct_LIPO" = x; then
7188     LIPO=":"
7189   else
7190     case $cross_compiling:$ac_tool_warned in
7191 yes:)
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194 ac_tool_warned=yes ;;
7195 esac
7196     LIPO=$ac_ct_LIPO
7197   fi
7198 else
7199   LIPO="$ac_cv_prog_LIPO"
7200 fi
7201 
7202     if test -n "$ac_tool_prefix"; then
7203   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7204 set dummy ${ac_tool_prefix}otool; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_OTOOL+:} false; then :
7208   $as_echo_n "(cached) " >&6
7209 else
7210   if test -n "$OTOOL"; then
7211   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7215 do
7216   IFS=$as_save_IFS
7217   test -z "$as_dir" && as_dir=.
7218     for ac_exec_ext in '' $ac_executable_extensions; do
7219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7220     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222     break 2
7223   fi
7224 done
7225   done
7226 IFS=$as_save_IFS
7227 
7228 fi
7229 fi
7230 OTOOL=$ac_cv_prog_OTOOL
7231 if test -n "$OTOOL"; then
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7233 $as_echo "$OTOOL" >&6; }
7234 else
7235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7237 fi
7238 
7239 
7240 fi
7241 if test -z "$ac_cv_prog_OTOOL"; then
7242   ac_ct_OTOOL=$OTOOL
7243   # Extract the first word of "otool", so it can be a program name with args.
7244 set dummy otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7248   $as_echo_n "(cached) " >&6
7249 else
7250   if test -n "$ac_ct_OTOOL"; then
7251   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7255 do
7256   IFS=$as_save_IFS
7257   test -z "$as_dir" && as_dir=.
7258     for ac_exec_ext in '' $ac_executable_extensions; do
7259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260     ac_cv_prog_ac_ct_OTOOL="otool"
7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262     break 2
7263   fi
7264 done
7265   done
7266 IFS=$as_save_IFS
7267 
7268 fi
7269 fi
7270 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7271 if test -n "$ac_ct_OTOOL"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7273 $as_echo "$ac_ct_OTOOL" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277 fi
7278 
7279   if test "x$ac_ct_OTOOL" = x; then
7280     OTOOL=":"
7281   else
7282     case $cross_compiling:$ac_tool_warned in
7283 yes:)
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7286 ac_tool_warned=yes ;;
7287 esac
7288     OTOOL=$ac_ct_OTOOL
7289   fi
7290 else
7291   OTOOL="$ac_cv_prog_OTOOL"
7292 fi
7293 
7294     if test -n "$ac_tool_prefix"; then
7295   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7296 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if ${ac_cv_prog_OTOOL64+:} false; then :
7300   $as_echo_n "(cached) " >&6
7301 else
7302   if test -n "$OTOOL64"; then
7303   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308   IFS=$as_save_IFS
7309   test -z "$as_dir" && as_dir=.
7310     for ac_exec_ext in '' $ac_executable_extensions; do
7311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7312     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314     break 2
7315   fi
7316 done
7317   done
7318 IFS=$as_save_IFS
7319 
7320 fi
7321 fi
7322 OTOOL64=$ac_cv_prog_OTOOL64
7323 if test -n "$OTOOL64"; then
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7325 $as_echo "$OTOOL64" >&6; }
7326 else
7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330 
7331 
7332 fi
7333 if test -z "$ac_cv_prog_OTOOL64"; then
7334   ac_ct_OTOOL64=$OTOOL64
7335   # Extract the first word of "otool64", so it can be a program name with args.
7336 set dummy otool64; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$ac_ct_OTOOL64"; then
7343   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350     for ac_exec_ext in '' $ac_executable_extensions; do
7351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7352     ac_cv_prog_ac_ct_OTOOL64="otool64"
7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357   done
7358 IFS=$as_save_IFS
7359 
7360 fi
7361 fi
7362 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7363 if test -n "$ac_ct_OTOOL64"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7365 $as_echo "$ac_ct_OTOOL64" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370 
7371   if test "x$ac_ct_OTOOL64" = x; then
7372     OTOOL64=":"
7373   else
7374     case $cross_compiling:$ac_tool_warned in
7375 yes:)
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7378 ac_tool_warned=yes ;;
7379 esac
7380     OTOOL64=$ac_ct_OTOOL64
7381   fi
7382 else
7383   OTOOL64="$ac_cv_prog_OTOOL64"
7384 fi
7385 
7386 
7387 
7388 
7389 
7390 
7391 
7392 
7393 
7394 
7395 
7396 
7397 
7398 
7399 
7400 
7401 
7402 
7403 
7404 
7405 
7406 
7407 
7408 
7409 
7410 
7411 
7412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7413 $as_echo_n "checking for -single_module linker flag... " >&6; }
7414 if ${lt_cv_apple_cc_single_mod+:} false; then :
7415   $as_echo_n "(cached) " >&6
7416 else
7417   lt_cv_apple_cc_single_mod=no
7418       if test -z "${LT_MULTI_MODULE}"; then
7419         # By default we will add the -single_module flag. You can override
7420         # by either setting the environment variable LT_MULTI_MODULE
7421         # non-empty at configure time, or by adding -multi_module to the
7422         # link flags.
7423         rm -rf libconftest.dylib*
7424         echo "int foo(void){return 1;}" > conftest.c
7425         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7426 -dynamiclib -Wl,-single_module conftest.c" >&5
7427         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7428           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7429         _lt_result=$?
7430         # If there is a non-empty error log, and "single_module"
7431         # appears in it, assume the flag caused a linker warning
7432         if test -s conftest.err && $GREP single_module conftest.err; then
7433           cat conftest.err >&5
7434         # Otherwise, if the output was created with a 0 exit code from
7435         # the compiler, it worked.
7436         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7437           lt_cv_apple_cc_single_mod=yes
7438         else
7439           cat conftest.err >&5
7440         fi
7441         rm -rf libconftest.dylib*
7442         rm -f conftest.*
7443       fi
7444 fi
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7446 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7447 
7448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7449 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7450 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7451   $as_echo_n "(cached) " >&6
7452 else
7453   lt_cv_ld_exported_symbols_list=no
7454       save_LDFLAGS=$LDFLAGS
7455       echo "_main" > conftest.sym
7456       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458 /* end confdefs.h.  */
7459 
7460 int
7461 main ()
7462 {
7463 
7464   ;
7465   return 0;
7466 }
7467 _ACEOF
7468 if ac_fn_c_try_link "$LINENO"; then :
7469   lt_cv_ld_exported_symbols_list=yes
7470 else
7471   lt_cv_ld_exported_symbols_list=no
7472 fi
7473 rm -f core conftest.err conftest.$ac_objext \
7474     conftest$ac_exeext conftest.$ac_ext
7475         LDFLAGS="$save_LDFLAGS"
7476 
7477 fi
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7479 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7480 
7481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7482 $as_echo_n "checking for -force_load linker flag... " >&6; }
7483 if ${lt_cv_ld_force_load+:} false; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   lt_cv_ld_force_load=no
7487       cat > conftest.c << _LT_EOF
7488 int forced_loaded() { return 2;}
7489 _LT_EOF
7490       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7491       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7492       echo "$AR cru libconftest.a conftest.o" >&5
7493       $AR cru libconftest.a conftest.o 2>&5
7494       echo "$RANLIB libconftest.a" >&5
7495       $RANLIB libconftest.a 2>&5
7496       cat > conftest.c << _LT_EOF
7497 int main() { return 0;}
7498 _LT_EOF
7499       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7500       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7501       _lt_result=$?
7502       if test -s conftest.err && $GREP force_load conftest.err; then
7503         cat conftest.err >&5
7504       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7505         lt_cv_ld_force_load=yes
7506       else
7507         cat conftest.err >&5
7508       fi
7509         rm -f conftest.err libconftest.a conftest conftest.c
7510         rm -rf conftest.dSYM
7511 
7512 fi
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7514 $as_echo "$lt_cv_ld_force_load" >&6; }
7515     case $host_os in
7516     rhapsody* | darwin1.[012])
7517       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7518     darwin1.*)
7519       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7520     darwin*) # darwin 5.x on
7521       # if running on 10.5 or later, the deployment target defaults
7522       # to the OS version, if on x86, and 10.4, the deployment
7523       # target defaults to 10.4. Don't you love it?
7524       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7525         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7526           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7527         10.[012]*)
7528           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7529         10.*)
7530           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7531       esac
7532     ;;
7533   esac
7534     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7535       _lt_dar_single_mod='$single_module'
7536     fi
7537     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7538       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7539     else
7540       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7541     fi
7542     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7543       _lt_dsymutil='~$DSYMUTIL $lib || :'
7544     else
7545       _lt_dsymutil=
7546     fi
7547     ;;
7548   esac
7549 
7550 for ac_header in dlfcn.h
7551 do :
7552   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7553 "
7554 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7555   cat >>confdefs.h <<_ACEOF
7556 #define HAVE_DLFCN_H 1
7557 _ACEOF
7558 
7559 fi
7560 
7561 done
7562 
7563 
7564 
7565 
7566 
7567 # Set options
7568 
7569 
7570 
7571         enable_dlopen=no
7572 
7573 
7574   enable_win32_dll=no
7575 
7576 
7577 
7578   # Check whether --enable-static was given.
7579 if test "${enable_static+set}" = set; then :
7580   enableval=$enable_static; p=${PACKAGE-default}
7581     case $enableval in
7582     yes) enable_static=yes ;;
7583     no) enable_static=no ;;
7584     *)
7585      enable_static=no
7586       # Look at the argument we got.  We use all the common list separators.
7587       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7588       for pkg in $enableval; do
7589         IFS="$lt_save_ifs"
7590         if test "X$pkg" = "X$p"; then
7591           enable_static=yes
7592         fi
7593       done
7594       IFS="$lt_save_ifs"
7595       ;;
7596     esac
7597 else
7598   enable_static=yes
7599 fi
7600 
7601 
7602 
7603 
7604 
7605 
7606 
7607 
7608 
7609 
7610 # Check whether --with-pic was given.
7611 if test "${with_pic+set}" = set; then :
7612   withval=$with_pic; lt_p=${PACKAGE-default}
7613     case $withval in
7614     yes|no) pic_mode=$withval ;;
7615     *)
7616       pic_mode=default
7617       # Look at the argument we got.  We use all the common list separators.
7618       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7619       for lt_pkg in $withval; do
7620         IFS="$lt_save_ifs"
7621         if test "X$lt_pkg" = "X$lt_p"; then
7622           pic_mode=yes
7623         fi
7624       done
7625       IFS="$lt_save_ifs"
7626       ;;
7627     esac
7628 else
7629   pic_mode=default
7630 fi
7631 
7632 
7633 test -z "$pic_mode" && pic_mode=default
7634 
7635 
7636 
7637 
7638 
7639 
7640 
7641   # Check whether --enable-fast-install was given.
7642 if test "${enable_fast_install+set}" = set; then :
7643   enableval=$enable_fast_install; p=${PACKAGE-default}
7644     case $enableval in
7645     yes) enable_fast_install=yes ;;
7646     no) enable_fast_install=no ;;
7647     *)
7648       enable_fast_install=no
7649       # Look at the argument we got.  We use all the common list separators.
7650       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7651       for pkg in $enableval; do
7652         IFS="$lt_save_ifs"
7653         if test "X$pkg" = "X$p"; then
7654           enable_fast_install=yes
7655         fi
7656       done
7657       IFS="$lt_save_ifs"
7658       ;;
7659     esac
7660 else
7661   enable_fast_install=yes
7662 fi
7663 
7664 
7665 
7666 
7667 
7668 
7669 
7670 
7671 
7672 
7673 
7674 # This can be used to rebuild libtool when needed
7675 LIBTOOL_DEPS="$ltmain"
7676 
7677 # Always use our own libtool.
7678 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7679 
7680 
7681 
7682 
7683 
7684 
7685 
7686 
7687 
7688 
7689 
7690 
7691 
7692 
7693 
7694 
7695 
7696 
7697 
7698 
7699 
7700 
7701 
7702 
7703 
7704 
7705 
7706 
7707 
7708 
7709 test -z "$LN_S" && LN_S="ln -s"
7710 
7711 
7712 
7713 
7714 
7715 
7716 
7717 
7718 
7719 
7720 
7721 
7722 
7723 
7724 if test -n "${ZSH_VERSION+set}" ; then
7725    setopt NO_GLOB_SUBST
7726 fi
7727 
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7729 $as_echo_n "checking for objdir... " >&6; }
7730 if ${lt_cv_objdir+:} false; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   rm -f .libs 2>/dev/null
7734 mkdir .libs 2>/dev/null
7735 if test -d .libs; then
7736   lt_cv_objdir=.libs
7737 else
7738   # MS-DOS does not allow filenames that begin with a dot.
7739   lt_cv_objdir=_libs
7740 fi
7741 rmdir .libs 2>/dev/null
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7744 $as_echo "$lt_cv_objdir" >&6; }
7745 objdir=$lt_cv_objdir
7746 
7747 
7748 
7749 
7750 
7751 cat >>confdefs.h <<_ACEOF
7752 #define LT_OBJDIR "$lt_cv_objdir/"
7753 _ACEOF
7754 
7755 
7756 
7757 
7758 case $host_os in
7759 aix3*)
7760   # AIX sometimes has problems with the GCC collect2 program.  For some
7761   # reason, if we set the COLLECT_NAMES environment variable, the problems
7762   # vanish in a puff of smoke.
7763   if test "X${COLLECT_NAMES+set}" != Xset; then
7764     COLLECT_NAMES=
7765     export COLLECT_NAMES
7766   fi
7767   ;;
7768 esac
7769 
7770 # Global variables:
7771 ofile=libtool
7772 can_build_shared=yes
7773 
7774 # All known linkers require a `.a' archive for static linking (except MSVC,
7775 # which needs '.lib').
7776 libext=a
7777 
7778 with_gnu_ld="$lt_cv_prog_gnu_ld"
7779 
7780 old_CC="$CC"
7781 old_CFLAGS="$CFLAGS"
7782 
7783 # Set sane defaults for various variables
7784 test -z "$CC" && CC=cc
7785 test -z "$LTCC" && LTCC=$CC
7786 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7787 test -z "$LD" && LD=ld
7788 test -z "$ac_objext" && ac_objext=o
7789 
7790 for cc_temp in $compiler""; do
7791   case $cc_temp in
7792     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7793     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7794     \-*) ;;
7795     *) break;;
7796   esac
7797 done
7798 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7799 
7800 
7801 # Only perform the check for file, if the check method requires it
7802 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7803 case $deplibs_check_method in
7804 file_magic*)
7805   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7806     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7807 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7808 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7809   $as_echo_n "(cached) " >&6
7810 else
7811   case $MAGIC_CMD in
7812 [\\/*] |  ?:[\\/]*)
7813   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7814   ;;
7815 *)
7816   lt_save_MAGIC_CMD="$MAGIC_CMD"
7817   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7818   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7819   for ac_dir in $ac_dummy; do
7820     IFS="$lt_save_ifs"
7821     test -z "$ac_dir" && ac_dir=.
7822     if test -f $ac_dir/${ac_tool_prefix}file; then
7823       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7824       if test -n "$file_magic_test_file"; then
7825         case $deplibs_check_method in
7826         "file_magic "*)
7827           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7828           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7829           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7830             $EGREP "$file_magic_regex" > /dev/null; then
7831             :
7832           else
7833             cat <<_LT_EOF 1>&2
7834 
7835 *** Warning: the command libtool uses to detect shared libraries,
7836 *** $file_magic_cmd, produces output that libtool cannot recognize.
7837 *** The result is that libtool may fail to recognize shared libraries
7838 *** as such.  This will affect the creation of libtool libraries that
7839 *** depend on shared libraries, but programs linked with such libtool
7840 *** libraries will work regardless of this problem.  Nevertheless, you
7841 *** may want to report the problem to your system manager and/or to
7842 *** bug-libtool@gnu.org
7843 
7844 _LT_EOF
7845           fi ;;
7846         esac
7847       fi
7848       break
7849     fi
7850   done
7851   IFS="$lt_save_ifs"
7852   MAGIC_CMD="$lt_save_MAGIC_CMD"
7853   ;;
7854 esac
7855 fi
7856 
7857 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7858 if test -n "$MAGIC_CMD"; then
7859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7860 $as_echo "$MAGIC_CMD" >&6; }
7861 else
7862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863 $as_echo "no" >&6; }
7864 fi
7865 
7866 
7867 
7868 
7869 
7870 if test -z "$lt_cv_path_MAGIC_CMD"; then
7871   if test -n "$ac_tool_prefix"; then
7872     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7873 $as_echo_n "checking for file... " >&6; }
7874 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7875   $as_echo_n "(cached) " >&6
7876 else
7877   case $MAGIC_CMD in
7878 [\\/*] |  ?:[\\/]*)
7879   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7880   ;;
7881 *)
7882   lt_save_MAGIC_CMD="$MAGIC_CMD"
7883   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7884   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7885   for ac_dir in $ac_dummy; do
7886     IFS="$lt_save_ifs"
7887     test -z "$ac_dir" && ac_dir=.
7888     if test -f $ac_dir/file; then
7889       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7890       if test -n "$file_magic_test_file"; then
7891         case $deplibs_check_method in
7892         "file_magic "*)
7893           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7894           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7895           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7896             $EGREP "$file_magic_regex" > /dev/null; then
7897             :
7898           else
7899             cat <<_LT_EOF 1>&2
7900 
7901 *** Warning: the command libtool uses to detect shared libraries,
7902 *** $file_magic_cmd, produces output that libtool cannot recognize.
7903 *** The result is that libtool may fail to recognize shared libraries
7904 *** as such.  This will affect the creation of libtool libraries that
7905 *** depend on shared libraries, but programs linked with such libtool
7906 *** libraries will work regardless of this problem.  Nevertheless, you
7907 *** may want to report the problem to your system manager and/or to
7908 *** bug-libtool@gnu.org
7909 
7910 _LT_EOF
7911           fi ;;
7912         esac
7913       fi
7914       break
7915     fi
7916   done
7917   IFS="$lt_save_ifs"
7918   MAGIC_CMD="$lt_save_MAGIC_CMD"
7919   ;;
7920 esac
7921 fi
7922 
7923 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7924 if test -n "$MAGIC_CMD"; then
7925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7926 $as_echo "$MAGIC_CMD" >&6; }
7927 else
7928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7930 fi
7931 
7932 
7933   else
7934     MAGIC_CMD=:
7935   fi
7936 fi
7937 
7938   fi
7939   ;;
7940 esac
7941 
7942 # Use C for the default configuration in the libtool script
7943 
7944 lt_save_CC="$CC"
7945 ac_ext=c
7946 ac_cpp='$CPP $CPPFLAGS'
7947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7950 
7951 
7952 # Source file extension for C test sources.
7953 ac_ext=c
7954 
7955 # Object file extension for compiled C test sources.
7956 objext=o
7957 objext=$objext
7958 
7959 # Code to be used in simple compile tests
7960 lt_simple_compile_test_code="int some_variable = 0;"
7961 
7962 # Code to be used in simple link tests
7963 lt_simple_link_test_code='int main(){return(0);}'
7964 
7965 
7966 
7967 
7968 
7969 
7970 
7971 # If no C compiler was specified, use CC.
7972 LTCC=${LTCC-"$CC"}
7973 
7974 # If no C compiler flags were specified, use CFLAGS.
7975 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7976 
7977 # Allow CC to be a program name with arguments.
7978 compiler=$CC
7979 
7980 # Save the default compiler, since it gets overwritten when the other
7981 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7982 compiler_DEFAULT=$CC
7983 
7984 # save warnings/boilerplate of simple test code
7985 ac_outfile=conftest.$ac_objext
7986 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7987 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7988 _lt_compiler_boilerplate=`cat conftest.err`
7989 $RM conftest*
7990 
7991 ac_outfile=conftest.$ac_objext
7992 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7993 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7994 _lt_linker_boilerplate=`cat conftest.err`
7995 $RM -r conftest*
7996 
7997 
7998 if test -n "$compiler"; then
7999 
8000 lt_prog_compiler_no_builtin_flag=
8001 
8002 if test "$GCC" = yes; then
8003   case $cc_basename in
8004   nvcc*)
8005     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8006   *)
8007     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8008   esac
8009 
8010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8011 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8012 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8013   $as_echo_n "(cached) " >&6
8014 else
8015   lt_cv_prog_compiler_rtti_exceptions=no
8016    ac_outfile=conftest.$ac_objext
8017    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8018    lt_compiler_flag="-fno-rtti -fno-exceptions"
8019    # Insert the option either (1) after the last *FLAGS variable, or
8020    # (2) before a word containing "conftest.", or (3) at the end.
8021    # Note that $ac_compile itself does not contain backslashes and begins
8022    # with a dollar sign (not a hyphen), so the echo should work correctly.
8023    # The option is referenced via a variable to avoid confusing sed.
8024    lt_compile=`echo "$ac_compile" | $SED \
8025    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8026    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8027    -e 's:$: $lt_compiler_flag:'`
8028    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8029    (eval "$lt_compile" 2>conftest.err)
8030    ac_status=$?
8031    cat conftest.err >&5
8032    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033    if (exit $ac_status) && test -s "$ac_outfile"; then
8034      # The compiler can only warn and ignore the option if not recognized
8035      # So say no if there are warnings other than the usual output.
8036      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8037      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8038      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8039        lt_cv_prog_compiler_rtti_exceptions=yes
8040      fi
8041    fi
8042    $RM conftest*
8043 
8044 fi
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8046 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8047 
8048 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8049     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8050 else
8051     :
8052 fi
8053 
8054 fi
8055 
8056 
8057 
8058 
8059 
8060 
8061   lt_prog_compiler_wl=
8062 lt_prog_compiler_pic=
8063 lt_prog_compiler_static=
8064 
8065 
8066   if test "$GCC" = yes; then
8067     lt_prog_compiler_wl='-Wl,'
8068     lt_prog_compiler_static='-static'
8069 
8070     case $host_os in
8071       aix*)
8072       # All AIX code is PIC.
8073       if test "$host_cpu" = ia64; then
8074         # AIX 5 now supports IA64 processor
8075         lt_prog_compiler_static='-Bstatic'
8076       fi
8077       ;;
8078 
8079     amigaos*)
8080       case $host_cpu in
8081       powerpc)
8082             # see comment about AmigaOS4 .so support
8083             lt_prog_compiler_pic='-fPIC'
8084         ;;
8085       m68k)
8086             # FIXME: we need at least 68020 code to build shared libraries, but
8087             # adding the `-m68020' flag to GCC prevents building anything better,
8088             # like `-m68040'.
8089             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8090         ;;
8091       esac
8092       ;;
8093 
8094     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8095       # PIC is the default for these OSes.
8096       ;;
8097 
8098     mingw* | cygwin* | pw32* | os2* | cegcc*)
8099       # This hack is so that the source file can tell whether it is being
8100       # built for inclusion in a dll (and should export symbols for example).
8101       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8102       # (--disable-auto-import) libraries
8103       lt_prog_compiler_pic='-DDLL_EXPORT'
8104       ;;
8105 
8106     darwin* | rhapsody*)
8107       # PIC is the default on this platform
8108       # Common symbols not allowed in MH_DYLIB files
8109       lt_prog_compiler_pic='-fno-common'
8110       ;;
8111 
8112     haiku*)
8113       # PIC is the default for Haiku.
8114       # The "-static" flag exists, but is broken.
8115       lt_prog_compiler_static=
8116       ;;
8117 
8118     hpux*)
8119       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8120       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8121       # sets the default TLS model and affects inlining.
8122       case $host_cpu in
8123       hppa*64*)
8124         # +Z the default
8125         ;;
8126       *)
8127         lt_prog_compiler_pic='-fPIC'
8128         ;;
8129       esac
8130       ;;
8131 
8132     interix[3-9]*)
8133       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8134       # Instead, we relocate shared libraries at runtime.
8135       ;;
8136 
8137     msdosdjgpp*)
8138       # Just because we use GCC doesn't mean we suddenly get shared libraries
8139       # on systems that don't support them.
8140       lt_prog_compiler_can_build_shared=no
8141       enable_shared=no
8142       ;;
8143 
8144     *nto* | *qnx*)
8145       # QNX uses GNU C++, but need to define -shared option too, otherwise
8146       # it will coredump.
8147       lt_prog_compiler_pic='-fPIC -shared'
8148       ;;
8149 
8150     sysv4*MP*)
8151       if test -d /usr/nec; then
8152         lt_prog_compiler_pic=-Kconform_pic
8153       fi
8154       ;;
8155 
8156     *)
8157       lt_prog_compiler_pic='-fPIC'
8158       ;;
8159     esac
8160 
8161     case $cc_basename in
8162     nvcc*) # Cuda Compiler Driver 2.2
8163       lt_prog_compiler_wl='-Xlinker '
8164       if test -n "$lt_prog_compiler_pic"; then
8165         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8166       fi
8167       ;;
8168     esac
8169   else
8170     # PORTME Check for flag to pass linker flags through the system compiler.
8171     case $host_os in
8172     aix*)
8173       lt_prog_compiler_wl='-Wl,'
8174       if test "$host_cpu" = ia64; then
8175         # AIX 5 now supports IA64 processor
8176         lt_prog_compiler_static='-Bstatic'
8177       else
8178         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8179       fi
8180       ;;
8181 
8182     mingw* | cygwin* | pw32* | os2* | cegcc*)
8183       # This hack is so that the source file can tell whether it is being
8184       # built for inclusion in a dll (and should export symbols for example).
8185       lt_prog_compiler_pic='-DDLL_EXPORT'
8186       ;;
8187 
8188     hpux9* | hpux10* | hpux11*)
8189       lt_prog_compiler_wl='-Wl,'
8190       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8191       # not for PA HP-UX.
8192       case $host_cpu in
8193       hppa*64*|ia64*)
8194         # +Z the default
8195         ;;
8196       *)
8197         lt_prog_compiler_pic='+Z'
8198         ;;
8199       esac
8200       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8201       lt_prog_compiler_static='${wl}-a ${wl}archive'
8202       ;;
8203 
8204     irix5* | irix6* | nonstopux*)
8205       lt_prog_compiler_wl='-Wl,'
8206       # PIC (with -KPIC) is the default.
8207       lt_prog_compiler_static='-non_shared'
8208       ;;
8209 
8210     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8211       case $cc_basename in
8212       # old Intel for x86_64 which still supported -KPIC.
8213       ecc*)
8214         lt_prog_compiler_wl='-Wl,'
8215         lt_prog_compiler_pic='-KPIC'
8216         lt_prog_compiler_static='-static'
8217         ;;
8218       # icc used to be incompatible with GCC.
8219       # ICC 10 doesn't accept -KPIC any more.
8220       icc* | ifort*)
8221         lt_prog_compiler_wl='-Wl,'
8222         lt_prog_compiler_pic='-fPIC'
8223         lt_prog_compiler_static='-static'
8224         ;;
8225       # Lahey Fortran 8.1.
8226       lf95*)
8227         lt_prog_compiler_wl='-Wl,'
8228         lt_prog_compiler_pic='--shared'
8229         lt_prog_compiler_static='--static'
8230         ;;
8231       nagfor*)
8232         # NAG Fortran compiler
8233         lt_prog_compiler_wl='-Wl,-Wl,,'
8234         lt_prog_compiler_pic='-PIC'
8235         lt_prog_compiler_static='-Bstatic'
8236         ;;
8237       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8238         # Portland Group compilers (*not* the Pentium gcc compiler,
8239         # which looks to be a dead project)
8240         lt_prog_compiler_wl='-Wl,'
8241         lt_prog_compiler_pic='-fpic'
8242         lt_prog_compiler_static='-Bstatic'
8243         ;;
8244       ccc*)
8245         lt_prog_compiler_wl='-Wl,'
8246         # All Alpha code is PIC.
8247         lt_prog_compiler_static='-non_shared'
8248         ;;
8249       xl* | bgxl* | bgf* | mpixl*)
8250         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8251         lt_prog_compiler_wl='-Wl,'
8252         lt_prog_compiler_pic='-qpic'
8253         lt_prog_compiler_static='-qstaticlink'
8254         ;;
8255       *)
8256         case `$CC -V 2>&1 | sed 5q` in
8257         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8258           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8259           lt_prog_compiler_pic='-KPIC'
8260           lt_prog_compiler_static='-Bstatic'
8261           lt_prog_compiler_wl=''
8262           ;;
8263         *Sun\ F* | *Sun*Fortran*)
8264           lt_prog_compiler_pic='-KPIC'
8265           lt_prog_compiler_static='-Bstatic'
8266           lt_prog_compiler_wl='-Qoption ld '
8267           ;;
8268         *Sun\ C*)
8269           # Sun C 5.9
8270           lt_prog_compiler_pic='-KPIC'
8271           lt_prog_compiler_static='-Bstatic'
8272           lt_prog_compiler_wl='-Wl,'
8273           ;;
8274         *Intel*\ [CF]*Compiler*)
8275           lt_prog_compiler_wl='-Wl,'
8276           lt_prog_compiler_pic='-fPIC'
8277           lt_prog_compiler_static='-static'
8278           ;;
8279         *Portland\ Group*)
8280           lt_prog_compiler_wl='-Wl,'
8281           lt_prog_compiler_pic='-fpic'
8282           lt_prog_compiler_static='-Bstatic'
8283           ;;
8284         esac
8285         ;;
8286       esac
8287       ;;
8288 
8289     newsos6)
8290       lt_prog_compiler_pic='-KPIC'
8291       lt_prog_compiler_static='-Bstatic'
8292       ;;
8293 
8294     *nto* | *qnx*)
8295       # QNX uses GNU C++, but need to define -shared option too, otherwise
8296       # it will coredump.
8297       lt_prog_compiler_pic='-fPIC -shared'
8298       ;;
8299 
8300     osf3* | osf4* | osf5*)
8301       lt_prog_compiler_wl='-Wl,'
8302       # All OSF/1 code is PIC.
8303       lt_prog_compiler_static='-non_shared'
8304       ;;
8305 
8306     rdos*)
8307       lt_prog_compiler_static='-non_shared'
8308       ;;
8309 
8310     solaris*)
8311       lt_prog_compiler_pic='-KPIC'
8312       lt_prog_compiler_static='-Bstatic'
8313       case $cc_basename in
8314       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8315         lt_prog_compiler_wl='-Qoption ld ';;
8316       *)
8317         lt_prog_compiler_wl='-Wl,';;
8318       esac
8319       ;;
8320 
8321     sunos4*)
8322       lt_prog_compiler_wl='-Qoption ld '
8323       lt_prog_compiler_pic='-PIC'
8324       lt_prog_compiler_static='-Bstatic'
8325       ;;
8326 
8327     sysv4 | sysv4.2uw2* | sysv4.3*)
8328       lt_prog_compiler_wl='-Wl,'
8329       lt_prog_compiler_pic='-KPIC'
8330       lt_prog_compiler_static='-Bstatic'
8331       ;;
8332 
8333     sysv4*MP*)
8334       if test -d /usr/nec ;then
8335         lt_prog_compiler_pic='-Kconform_pic'
8336         lt_prog_compiler_static='-Bstatic'
8337       fi
8338       ;;
8339 
8340     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8341       lt_prog_compiler_wl='-Wl,'
8342       lt_prog_compiler_pic='-KPIC'
8343       lt_prog_compiler_static='-Bstatic'
8344       ;;
8345 
8346     unicos*)
8347       lt_prog_compiler_wl='-Wl,'
8348       lt_prog_compiler_can_build_shared=no
8349       ;;
8350 
8351     uts4*)
8352       lt_prog_compiler_pic='-pic'
8353       lt_prog_compiler_static='-Bstatic'
8354       ;;
8355 
8356     *)
8357       lt_prog_compiler_can_build_shared=no
8358       ;;
8359     esac
8360   fi
8361 
8362 case $host_os in
8363   # For platforms which do not support PIC, -DPIC is meaningless:
8364   *djgpp*)
8365     lt_prog_compiler_pic=
8366     ;;
8367   *)
8368     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8369     ;;
8370 esac
8371 
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8373 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8374 if ${lt_cv_prog_compiler_pic+:} false; then :
8375   $as_echo_n "(cached) " >&6
8376 else
8377   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8378 fi
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8380 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8381 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8382 
8383 #
8384 # Check to make sure the PIC flag actually works.
8385 #
8386 if test -n "$lt_prog_compiler_pic"; then
8387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8388 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8389 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8390   $as_echo_n "(cached) " >&6
8391 else
8392   lt_cv_prog_compiler_pic_works=no
8393    ac_outfile=conftest.$ac_objext
8394    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8395    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8396    # Insert the option either (1) after the last *FLAGS variable, or
8397    # (2) before a word containing "conftest.", or (3) at the end.
8398    # Note that $ac_compile itself does not contain backslashes and begins
8399    # with a dollar sign (not a hyphen), so the echo should work correctly.
8400    # The option is referenced via a variable to avoid confusing sed.
8401    lt_compile=`echo "$ac_compile" | $SED \
8402    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8403    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8404    -e 's:$: $lt_compiler_flag:'`
8405    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8406    (eval "$lt_compile" 2>conftest.err)
8407    ac_status=$?
8408    cat conftest.err >&5
8409    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410    if (exit $ac_status) && test -s "$ac_outfile"; then
8411      # The compiler can only warn and ignore the option if not recognized
8412      # So say no if there are warnings other than the usual output.
8413      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8414      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8415      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8416        lt_cv_prog_compiler_pic_works=yes
8417      fi
8418    fi
8419    $RM conftest*
8420 
8421 fi
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8423 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8424 
8425 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8426     case $lt_prog_compiler_pic in
8427      "" | " "*) ;;
8428      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8429      esac
8430 else
8431     lt_prog_compiler_pic=
8432      lt_prog_compiler_can_build_shared=no
8433 fi
8434 
8435 fi
8436 
8437 
8438 
8439 
8440 
8441 
8442 
8443 
8444 
8445 
8446 
8447 #
8448 # Check to make sure the static flag actually works.
8449 #
8450 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8452 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8453 if ${lt_cv_prog_compiler_static_works+:} false; then :
8454   $as_echo_n "(cached) " >&6
8455 else
8456   lt_cv_prog_compiler_static_works=no
8457    save_LDFLAGS="$LDFLAGS"
8458    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8459    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8460    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8461      # The linker can only warn and ignore the option if not recognized
8462      # So say no if there are warnings
8463      if test -s conftest.err; then
8464        # Append any errors to the config.log.
8465        cat conftest.err 1>&5
8466        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8467        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8468        if diff conftest.exp conftest.er2 >/dev/null; then
8469          lt_cv_prog_compiler_static_works=yes
8470        fi
8471      else
8472        lt_cv_prog_compiler_static_works=yes
8473      fi
8474    fi
8475    $RM -r conftest*
8476    LDFLAGS="$save_LDFLAGS"
8477 
8478 fi
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8480 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8481 
8482 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8483     :
8484 else
8485     lt_prog_compiler_static=
8486 fi
8487 
8488 
8489 
8490 
8491 
8492 
8493 
8494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8495 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8496 if ${lt_cv_prog_compiler_c_o+:} false; then :
8497   $as_echo_n "(cached) " >&6
8498 else
8499   lt_cv_prog_compiler_c_o=no
8500    $RM -r conftest 2>/dev/null
8501    mkdir conftest
8502    cd conftest
8503    mkdir out
8504    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8505 
8506    lt_compiler_flag="-o out/conftest2.$ac_objext"
8507    # Insert the option either (1) after the last *FLAGS variable, or
8508    # (2) before a word containing "conftest.", or (3) at the end.
8509    # Note that $ac_compile itself does not contain backslashes and begins
8510    # with a dollar sign (not a hyphen), so the echo should work correctly.
8511    lt_compile=`echo "$ac_compile" | $SED \
8512    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8513    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8514    -e 's:$: $lt_compiler_flag:'`
8515    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8516    (eval "$lt_compile" 2>out/conftest.err)
8517    ac_status=$?
8518    cat out/conftest.err >&5
8519    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8521    then
8522      # The compiler can only warn and ignore the option if not recognized
8523      # So say no if there are warnings
8524      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8525      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8526      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8527        lt_cv_prog_compiler_c_o=yes
8528      fi
8529    fi
8530    chmod u+w . 2>&5
8531    $RM conftest*
8532    # SGI C++ compiler will create directory out/ii_files/ for
8533    # template instantiation
8534    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8535    $RM out/* && rmdir out
8536    cd ..
8537    $RM -r conftest
8538    $RM conftest*
8539 
8540 fi
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8542 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8543 
8544 
8545 
8546 
8547 
8548 
8549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8550 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8551 if ${lt_cv_prog_compiler_c_o+:} false; then :
8552   $as_echo_n "(cached) " >&6
8553 else
8554   lt_cv_prog_compiler_c_o=no
8555    $RM -r conftest 2>/dev/null
8556    mkdir conftest
8557    cd conftest
8558    mkdir out
8559    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8560 
8561    lt_compiler_flag="-o out/conftest2.$ac_objext"
8562    # Insert the option either (1) after the last *FLAGS variable, or
8563    # (2) before a word containing "conftest.", or (3) at the end.
8564    # Note that $ac_compile itself does not contain backslashes and begins
8565    # with a dollar sign (not a hyphen), so the echo should work correctly.
8566    lt_compile=`echo "$ac_compile" | $SED \
8567    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8568    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8569    -e 's:$: $lt_compiler_flag:'`
8570    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8571    (eval "$lt_compile" 2>out/conftest.err)
8572    ac_status=$?
8573    cat out/conftest.err >&5
8574    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8576    then
8577      # The compiler can only warn and ignore the option if not recognized
8578      # So say no if there are warnings
8579      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8580      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8581      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8582        lt_cv_prog_compiler_c_o=yes
8583      fi
8584    fi
8585    chmod u+w . 2>&5
8586    $RM conftest*
8587    # SGI C++ compiler will create directory out/ii_files/ for
8588    # template instantiation
8589    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8590    $RM out/* && rmdir out
8591    cd ..
8592    $RM -r conftest
8593    $RM conftest*
8594 
8595 fi
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8597 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8598 
8599 
8600 
8601 
8602 hard_links="nottested"
8603 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8604   # do not overwrite the value of need_locks provided by the user
8605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8606 $as_echo_n "checking if we can lock with hard links... " >&6; }
8607   hard_links=yes
8608   $RM conftest*
8609   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8610   touch conftest.a
8611   ln conftest.a conftest.b 2>&5 || hard_links=no
8612   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8614 $as_echo "$hard_links" >&6; }
8615   if test "$hard_links" = no; then
8616     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8617 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8618     need_locks=warn
8619   fi
8620 else
8621   need_locks=no
8622 fi
8623 
8624 
8625 
8626 
8627 
8628 
8629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8630 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8631 
8632   runpath_var=
8633   allow_undefined_flag=
8634   always_export_symbols=no
8635   archive_cmds=
8636   archive_expsym_cmds=
8637   compiler_needs_object=no
8638   enable_shared_with_static_runtimes=no
8639   export_dynamic_flag_spec=
8640   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8641   hardcode_automatic=no
8642   hardcode_direct=no
8643   hardcode_direct_absolute=no
8644   hardcode_libdir_flag_spec=
8645   hardcode_libdir_separator=
8646   hardcode_minus_L=no
8647   hardcode_shlibpath_var=unsupported
8648   inherit_rpath=no
8649   link_all_deplibs=unknown
8650   module_cmds=
8651   module_expsym_cmds=
8652   old_archive_from_new_cmds=
8653   old_archive_from_expsyms_cmds=
8654   thread_safe_flag_spec=
8655   whole_archive_flag_spec=
8656   # include_expsyms should be a list of space-separated symbols to be *always*
8657   # included in the symbol list
8658   include_expsyms=
8659   # exclude_expsyms can be an extended regexp of symbols to exclude
8660   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8661   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8662   # as well as any symbol that contains `d'.
8663   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8664   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8665   # platforms (ab)use it in PIC code, but their linkers get confused if
8666   # the symbol is explicitly referenced.  Since portable code cannot
8667   # rely on this symbol name, it's probably fine to never include it in
8668   # preloaded symbol tables.
8669   # Exclude shared library initialization/finalization symbols.
8670   extract_expsyms_cmds=
8671 
8672   case $host_os in
8673   cygwin* | mingw* | pw32* | cegcc*)
8674     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8675     # When not using gcc, we currently assume that we are using
8676     # Microsoft Visual C++.
8677     if test "$GCC" != yes; then
8678       with_gnu_ld=no
8679     fi
8680     ;;
8681   interix*)
8682     # we just hope/assume this is gcc and not c89 (= MSVC++)
8683     with_gnu_ld=yes
8684     ;;
8685   openbsd*)
8686     with_gnu_ld=no
8687     ;;
8688   esac
8689 
8690   ld_shlibs=yes
8691 
8692   # On some targets, GNU ld is compatible enough with the native linker
8693   # that we're better off using the native interface for both.
8694   lt_use_gnu_ld_interface=no
8695   if test "$with_gnu_ld" = yes; then
8696     case $host_os in
8697       aix*)
8698         # The AIX port of GNU ld has always aspired to compatibility
8699         # with the native linker.  However, as the warning in the GNU ld
8700         # block says, versions before 2.19.5* couldn't really create working
8701         # shared libraries, regardless of the interface used.
8702         case `$LD -v 2>&1` in
8703           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8704           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8705           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8706           *)
8707             lt_use_gnu_ld_interface=yes
8708             ;;
8709         esac
8710         ;;
8711       *)
8712         lt_use_gnu_ld_interface=yes
8713         ;;
8714     esac
8715   fi
8716 
8717   if test "$lt_use_gnu_ld_interface" = yes; then
8718     # If archive_cmds runs LD, not CC, wlarc should be empty
8719     wlarc='${wl}'
8720 
8721     # Set some defaults for GNU ld with shared library support. These
8722     # are reset later if shared libraries are not supported. Putting them
8723     # here allows them to be overridden if necessary.
8724     runpath_var=LD_RUN_PATH
8725     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8726     export_dynamic_flag_spec='${wl}--export-dynamic'
8727     # ancient GNU ld didn't support --whole-archive et. al.
8728     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8729       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8730     else
8731       whole_archive_flag_spec=
8732     fi
8733     supports_anon_versioning=no
8734     case `$LD -v 2>&1` in
8735       *GNU\ gold*) supports_anon_versioning=yes ;;
8736       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8737       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8738       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8739       *\ 2.11.*) ;; # other 2.11 versions
8740       *) supports_anon_versioning=yes ;;
8741     esac
8742 
8743     # See if GNU ld supports shared libraries.
8744     case $host_os in
8745     aix[3-9]*)
8746       # On AIX/PPC, the GNU linker is very broken
8747       if test "$host_cpu" != ia64; then
8748         ld_shlibs=no
8749         cat <<_LT_EOF 1>&2
8750 
8751 *** Warning: the GNU linker, at least up to release 2.19, is reported
8752 *** to be unable to reliably create shared libraries on AIX.
8753 *** Therefore, libtool is disabling shared libraries support.  If you
8754 *** really care for shared libraries, you may want to install binutils
8755 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8756 *** You will then need to restart the configuration process.
8757 
8758 _LT_EOF
8759       fi
8760       ;;
8761 
8762     amigaos*)
8763       case $host_cpu in
8764       powerpc)
8765             # see comment about AmigaOS4 .so support
8766             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8767             archive_expsym_cmds=''
8768         ;;
8769       m68k)
8770             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)'
8771             hardcode_libdir_flag_spec='-L$libdir'
8772             hardcode_minus_L=yes
8773         ;;
8774       esac
8775       ;;
8776 
8777     beos*)
8778       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8779         allow_undefined_flag=unsupported
8780         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8781         # support --undefined.  This deserves some investigation.  FIXME
8782         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8783       else
8784         ld_shlibs=no
8785       fi
8786       ;;
8787 
8788     cygwin* | mingw* | pw32* | cegcc*)
8789       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8790       # as there is no search path for DLLs.
8791       hardcode_libdir_flag_spec='-L$libdir'
8792       export_dynamic_flag_spec='${wl}--export-all-symbols'
8793       allow_undefined_flag=unsupported
8794       always_export_symbols=no
8795       enable_shared_with_static_runtimes=yes
8796       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'
8797       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8798 
8799       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8800         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8801         # If the export-symbols file already is a .def file (1st line
8802         # is EXPORTS), use it as is; otherwise, prepend...
8803         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8804           cp $export_symbols $output_objdir/$soname.def;
8805         else
8806           echo EXPORTS > $output_objdir/$soname.def;
8807           cat $export_symbols >> $output_objdir/$soname.def;
8808         fi~
8809         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8810       else
8811         ld_shlibs=no
8812       fi
8813       ;;
8814 
8815     haiku*)
8816       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8817       link_all_deplibs=yes
8818       ;;
8819 
8820     interix[3-9]*)
8821       hardcode_direct=no
8822       hardcode_shlibpath_var=no
8823       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8824       export_dynamic_flag_spec='${wl}-E'
8825       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8826       # Instead, shared libraries are loaded at an image base (0x10000000 by
8827       # default) and relocated if they conflict, which is a slow very memory
8828       # consuming and fragmenting process.  To avoid this, we pick a random,
8829       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8830       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8831       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8832       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'
8833       ;;
8834 
8835     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8836       tmp_diet=no
8837       if test "$host_os" = linux-dietlibc; then
8838         case $cc_basename in
8839           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8840         esac
8841       fi
8842       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8843          && test "$tmp_diet" = no
8844       then
8845         tmp_addflag=' $pic_flag'
8846         tmp_sharedflag='-shared'
8847         case $cc_basename,$host_cpu in
8848         pgcc*)                          # Portland Group C compiler
8849           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'
8850           tmp_addflag=' $pic_flag'
8851           ;;
8852         pgf77* | pgf90* | pgf95* | pgfortran*)
8853                                         # Portland Group f77 and f90 compilers
8854           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'
8855           tmp_addflag=' $pic_flag -Mnomain' ;;
8856         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8857           tmp_addflag=' -i_dynamic' ;;
8858         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8859           tmp_addflag=' -i_dynamic -nofor_main' ;;
8860         ifc* | ifort*)                  # Intel Fortran compiler
8861           tmp_addflag=' -nofor_main' ;;
8862         lf95*)                          # Lahey Fortran 8.1
8863           whole_archive_flag_spec=
8864           tmp_sharedflag='--shared' ;;
8865         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8866           tmp_sharedflag='-qmkshrobj'
8867           tmp_addflag= ;;
8868         nvcc*)  # Cuda Compiler Driver 2.2
8869           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'
8870           compiler_needs_object=yes
8871           ;;
8872         esac
8873         case `$CC -V 2>&1 | sed 5q` in
8874         *Sun\ C*)                       # Sun C 5.9
8875           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'
8876           compiler_needs_object=yes
8877           tmp_sharedflag='-G' ;;
8878         *Sun\ F*)                       # Sun Fortran 8.3
8879           tmp_sharedflag='-G' ;;
8880         esac
8881         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882 
8883         if test "x$supports_anon_versioning" = xyes; then
8884           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8885             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8886             echo "local: *; };" >> $output_objdir/$libname.ver~
8887             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8888         fi
8889 
8890         case $cc_basename in
8891         xlf* | bgf* | bgxlf* | mpixlf*)
8892           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8893           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8894           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8895           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8896           if test "x$supports_anon_versioning" = xyes; then
8897             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8898               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8899               echo "local: *; };" >> $output_objdir/$libname.ver~
8900               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8901           fi
8902           ;;
8903         esac
8904       else
8905         ld_shlibs=no
8906       fi
8907       ;;
8908 
8909     netbsd*)
8910       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8911         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8912         wlarc=
8913       else
8914         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8915         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8916       fi
8917       ;;
8918 
8919     solaris*)
8920       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8921         ld_shlibs=no
8922         cat <<_LT_EOF 1>&2
8923 
8924 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8925 *** create shared libraries on Solaris systems.  Therefore, libtool
8926 *** is disabling shared libraries support.  We urge you to upgrade GNU
8927 *** binutils to release 2.9.1 or newer.  Another option is to modify
8928 *** your PATH or compiler configuration so that the native linker is
8929 *** used, and then restart.
8930 
8931 _LT_EOF
8932       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8933         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8934         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8935       else
8936         ld_shlibs=no
8937       fi
8938       ;;
8939 
8940     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8941       case `$LD -v 2>&1` in
8942         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8943         ld_shlibs=no
8944         cat <<_LT_EOF 1>&2
8945 
8946 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8947 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8948 *** is disabling shared libraries support.  We urge you to upgrade GNU
8949 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8950 *** your PATH or compiler configuration so that the native linker is
8951 *** used, and then restart.
8952 
8953 _LT_EOF
8954         ;;
8955         *)
8956           # For security reasons, it is highly recommended that you always
8957           # use absolute paths for naming shared libraries, and exclude the
8958           # DT_RUNPATH tag from executables and libraries.  But doing so
8959           # requires that you compile everything twice, which is a pain.
8960           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8961             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8962             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8964           else
8965             ld_shlibs=no
8966           fi
8967         ;;
8968       esac
8969       ;;
8970 
8971     sunos4*)
8972       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8973       wlarc=
8974       hardcode_direct=yes
8975       hardcode_shlibpath_var=no
8976       ;;
8977 
8978     *)
8979       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8980         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8982       else
8983         ld_shlibs=no
8984       fi
8985       ;;
8986     esac
8987 
8988     if test "$ld_shlibs" = no; then
8989       runpath_var=
8990       hardcode_libdir_flag_spec=
8991       export_dynamic_flag_spec=
8992       whole_archive_flag_spec=
8993     fi
8994   else
8995     # PORTME fill in a description of your system's linker (not GNU ld)
8996     case $host_os in
8997     aix3*)
8998       allow_undefined_flag=unsupported
8999       always_export_symbols=yes
9000       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'
9001       # Note: this linker hardcodes the directories in LIBPATH if there
9002       # are no directories specified by -L.
9003       hardcode_minus_L=yes
9004       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9005         # Neither direct hardcoding nor static linking is supported with a
9006         # broken collect2.
9007         hardcode_direct=unsupported
9008       fi
9009       ;;
9010 
9011     aix[4-9]*)
9012       if test "$host_cpu" = ia64; then
9013         # On IA64, the linker does run time linking by default, so we don't
9014         # have to do anything special.
9015         aix_use_runtimelinking=no
9016         exp_sym_flag='-Bexport'
9017         no_entry_flag=""
9018       else
9019         # If we're using GNU nm, then we don't want the "-C" option.
9020         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9021         # Also, AIX nm treats weak defined symbols like other global
9022         # defined symbols, whereas GNU nm marks them as "W".
9023         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9024           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9025         else
9026           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9027         fi
9028         aix_use_runtimelinking=no
9029 
9030         # Test if we are trying to use run time linking or normal
9031         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9032         # need to do runtime linking.
9033         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9034           for ld_flag in $LDFLAGS; do
9035           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9036             aix_use_runtimelinking=yes
9037             break
9038           fi
9039           done
9040           ;;
9041         esac
9042 
9043         exp_sym_flag='-bexport'
9044         no_entry_flag='-bnoentry'
9045       fi
9046 
9047       # When large executables or shared objects are built, AIX ld can
9048       # have problems creating the table of contents.  If linking a library
9049       # or program results in "error TOC overflow" add -mminimal-toc to
9050       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9051       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9052 
9053       archive_cmds=''
9054       hardcode_direct=yes
9055       hardcode_direct_absolute=yes
9056       hardcode_libdir_separator=':'
9057       link_all_deplibs=yes
9058       file_list_spec='${wl}-f,'
9059 
9060       if test "$GCC" = yes; then
9061         case $host_os in aix4.[012]|aix4.[012].*)
9062         # We only want to do this on AIX 4.2 and lower, the check
9063         # below for broken collect2 doesn't work under 4.3+
9064           collect2name=`${CC} -print-prog-name=collect2`
9065           if test -f "$collect2name" &&
9066            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9067           then
9068           # We have reworked collect2
9069           :
9070           else
9071           # We have old collect2
9072           hardcode_direct=unsupported
9073           # It fails to find uninstalled libraries when the uninstalled
9074           # path is not listed in the libpath.  Setting hardcode_minus_L
9075           # to unsupported forces relinking
9076           hardcode_minus_L=yes
9077           hardcode_libdir_flag_spec='-L$libdir'
9078           hardcode_libdir_separator=
9079           fi
9080           ;;
9081         esac
9082         shared_flag='-shared'
9083         if test "$aix_use_runtimelinking" = yes; then
9084           shared_flag="$shared_flag "'${wl}-G'
9085         fi
9086       else
9087         # not using gcc
9088         if test "$host_cpu" = ia64; then
9089         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9090         # chokes on -Wl,-G. The following line is correct:
9091           shared_flag='-G'
9092         else
9093           if test "$aix_use_runtimelinking" = yes; then
9094             shared_flag='${wl}-G'
9095           else
9096             shared_flag='${wl}-bM:SRE'
9097           fi
9098         fi
9099       fi
9100 
9101       export_dynamic_flag_spec='${wl}-bexpall'
9102       # It seems that -bexpall does not export symbols beginning with
9103       # underscore (_), so it is better to generate a list of symbols to export.
9104       always_export_symbols=yes
9105       if test "$aix_use_runtimelinking" = yes; then
9106         # Warning - without using the other runtime loading flags (-brtl),
9107         # -berok will link without error, but may produce a broken library.
9108         allow_undefined_flag='-berok'
9109         # Determine the default libpath from the value encoded in an
9110         # empty executable.
9111         if test "${lt_cv_aix_libpath+set}" = set; then
9112   aix_libpath=$lt_cv_aix_libpath
9113 else
9114   if ${lt_cv_aix_libpath_+:} false; then :
9115   $as_echo_n "(cached) " >&6
9116 else
9117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h.  */
9119 
9120 int
9121 main ()
9122 {
9123 
9124   ;
9125   return 0;
9126 }
9127 _ACEOF
9128 if ac_fn_c_try_link "$LINENO"; then :
9129 
9130   lt_aix_libpath_sed='
9131       /Import File Strings/,/^$/ {
9132           /^0/ {
9133               s/^0  *\([^ ]*\) *$/\1/
9134               p
9135           }
9136       }'
9137   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9138   # Check for a 64-bit object if we didn't find anything.
9139   if test -z "$lt_cv_aix_libpath_"; then
9140     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9141   fi
9142 fi
9143 rm -f core conftest.err conftest.$ac_objext \
9144     conftest$ac_exeext conftest.$ac_ext
9145   if test -z "$lt_cv_aix_libpath_"; then
9146     lt_cv_aix_libpath_="/usr/lib:/lib"
9147   fi
9148 
9149 fi
9150 
9151   aix_libpath=$lt_cv_aix_libpath_
9152 fi
9153 
9154         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9155         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9156       else
9157         if test "$host_cpu" = ia64; then
9158           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9159           allow_undefined_flag="-z nodefs"
9160           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"
9161         else
9162          # Determine the default libpath from the value encoded in an
9163          # empty executable.
9164          if test "${lt_cv_aix_libpath+set}" = set; then
9165   aix_libpath=$lt_cv_aix_libpath
9166 else
9167   if ${lt_cv_aix_libpath_+:} false; then :
9168   $as_echo_n "(cached) " >&6
9169 else
9170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h.  */
9172 
9173 int
9174 main ()
9175 {
9176 
9177   ;
9178   return 0;
9179 }
9180 _ACEOF
9181 if ac_fn_c_try_link "$LINENO"; then :
9182 
9183   lt_aix_libpath_sed='
9184       /Import File Strings/,/^$/ {
9185           /^0/ {
9186               s/^0  *\([^ ]*\) *$/\1/
9187               p
9188           }
9189       }'
9190   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9191   # Check for a 64-bit object if we didn't find anything.
9192   if test -z "$lt_cv_aix_libpath_"; then
9193     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9194   fi
9195 fi
9196 rm -f core conftest.err conftest.$ac_objext \
9197     conftest$ac_exeext conftest.$ac_ext
9198   if test -z "$lt_cv_aix_libpath_"; then
9199     lt_cv_aix_libpath_="/usr/lib:/lib"
9200   fi
9201 
9202 fi
9203 
9204   aix_libpath=$lt_cv_aix_libpath_
9205 fi
9206 
9207          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9208           # Warning - without using the other run time loading flags,
9209           # -berok will link without error, but may produce a broken library.
9210           no_undefined_flag=' ${wl}-bernotok'
9211           allow_undefined_flag=' ${wl}-berok'
9212           if test "$with_gnu_ld" = yes; then
9213             # We only use this code for GNU lds that support --whole-archive.
9214             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9215           else
9216             # Exported symbols can be pulled into shared objects from archives
9217             whole_archive_flag_spec='$convenience'
9218           fi
9219           archive_cmds_need_lc=yes
9220           # This is similar to how AIX traditionally builds its shared libraries.
9221           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9222         fi
9223       fi
9224       ;;
9225 
9226     amigaos*)
9227       case $host_cpu in
9228       powerpc)
9229             # see comment about AmigaOS4 .so support
9230             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231             archive_expsym_cmds=''
9232         ;;
9233       m68k)
9234             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)'
9235             hardcode_libdir_flag_spec='-L$libdir'
9236             hardcode_minus_L=yes
9237         ;;
9238       esac
9239       ;;
9240 
9241     bsdi[45]*)
9242       export_dynamic_flag_spec=-rdynamic
9243       ;;
9244 
9245     cygwin* | mingw* | pw32* | cegcc*)
9246       # When not using gcc, we currently assume that we are using
9247       # Microsoft Visual C++.
9248       # hardcode_libdir_flag_spec is actually meaningless, as there is
9249       # no search path for DLLs.
9250       case $cc_basename in
9251       cl*)
9252         # Native MSVC
9253         hardcode_libdir_flag_spec=' '
9254         allow_undefined_flag=unsupported
9255         always_export_symbols=yes
9256         file_list_spec='@'
9257         # Tell ltmain to make .lib files, not .a files.
9258         libext=lib
9259         # Tell ltmain to make .dll files, not .so files.
9260         shrext_cmds=".dll"
9261         # FIXME: Setting linknames here is a bad hack.
9262         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9263         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9264             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9265           else
9266             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9267           fi~
9268           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9269           linknames='
9270         # The linker will not automatically build a static lib if we build a DLL.
9271         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9272         enable_shared_with_static_runtimes=yes
9273         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9274         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9275         # Don't use ranlib
9276         old_postinstall_cmds='chmod 644 $oldlib'
9277         postlink_cmds='lt_outputfile="@OUTPUT@"~
9278           lt_tool_outputfile="@TOOL_OUTPUT@"~
9279           case $lt_outputfile in
9280             *.exe|*.EXE) ;;
9281             *)
9282               lt_outputfile="$lt_outputfile.exe"
9283               lt_tool_outputfile="$lt_tool_outputfile.exe"
9284               ;;
9285           esac~
9286           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9287             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9288             $RM "$lt_outputfile.manifest";
9289           fi'
9290         ;;
9291       *)
9292         # Assume MSVC wrapper
9293         hardcode_libdir_flag_spec=' '
9294         allow_undefined_flag=unsupported
9295         # Tell ltmain to make .lib files, not .a files.
9296         libext=lib
9297         # Tell ltmain to make .dll files, not .so files.
9298         shrext_cmds=".dll"
9299         # FIXME: Setting linknames here is a bad hack.
9300         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9301         # The linker will automatically build a .lib file if we build a DLL.
9302         old_archive_from_new_cmds='true'
9303         # FIXME: Should let the user specify the lib program.
9304         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9305         enable_shared_with_static_runtimes=yes
9306         ;;
9307       esac
9308       ;;
9309 
9310     darwin* | rhapsody*)
9311 
9312 
9313   archive_cmds_need_lc=no
9314   hardcode_direct=no
9315   hardcode_automatic=yes
9316   hardcode_shlibpath_var=unsupported
9317   if test "$lt_cv_ld_force_load" = "yes"; then
9318     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\"`'
9319 
9320   else
9321     whole_archive_flag_spec=''
9322   fi
9323   link_all_deplibs=yes
9324   allow_undefined_flag="$_lt_dar_allow_undefined"
9325   case $cc_basename in
9326      ifort*) _lt_dar_can_shared=yes ;;
9327      *) _lt_dar_can_shared=$GCC ;;
9328   esac
9329   if test "$_lt_dar_can_shared" = "yes"; then
9330     output_verbose_link_cmd=func_echo_all
9331     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9332     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9333     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}"
9334     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}"
9335 
9336   else
9337   ld_shlibs=no
9338   fi
9339 
9340       ;;
9341 
9342     dgux*)
9343       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9344       hardcode_libdir_flag_spec='-L$libdir'
9345       hardcode_shlibpath_var=no
9346       ;;
9347 
9348     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9349     # support.  Future versions do this automatically, but an explicit c++rt0.o
9350     # does not break anything, and helps significantly (at the cost of a little
9351     # extra space).
9352     freebsd2.2*)
9353       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9354       hardcode_libdir_flag_spec='-R$libdir'
9355       hardcode_direct=yes
9356       hardcode_shlibpath_var=no
9357       ;;
9358 
9359     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9360     freebsd2.*)
9361       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9362       hardcode_direct=yes
9363       hardcode_minus_L=yes
9364       hardcode_shlibpath_var=no
9365       ;;
9366 
9367     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9368     freebsd* | dragonfly*)
9369       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9370       hardcode_libdir_flag_spec='-R$libdir'
9371       hardcode_direct=yes
9372       hardcode_shlibpath_var=no
9373       ;;
9374 
9375     hpux9*)
9376       if test "$GCC" = yes; then
9377         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9378       else
9379         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9380       fi
9381       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9382       hardcode_libdir_separator=:
9383       hardcode_direct=yes
9384 
9385       # hardcode_minus_L: Not really in the search PATH,
9386       # but as the default location of the library.
9387       hardcode_minus_L=yes
9388       export_dynamic_flag_spec='${wl}-E'
9389       ;;
9390 
9391     hpux10*)
9392       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9393         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9394       else
9395         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9396       fi
9397       if test "$with_gnu_ld" = no; then
9398         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9399         hardcode_libdir_separator=:
9400         hardcode_direct=yes
9401         hardcode_direct_absolute=yes
9402         export_dynamic_flag_spec='${wl}-E'
9403         # hardcode_minus_L: Not really in the search PATH,
9404         # but as the default location of the library.
9405         hardcode_minus_L=yes
9406       fi
9407       ;;
9408 
9409     hpux11*)
9410       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9411         case $host_cpu in
9412         hppa*64*)
9413           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9414           ;;
9415         ia64*)
9416           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9417           ;;
9418         *)
9419           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9420           ;;
9421         esac
9422       else
9423         case $host_cpu in
9424         hppa*64*)
9425           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9426           ;;
9427         ia64*)
9428           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9429           ;;
9430         *)
9431 
9432           # Older versions of the 11.00 compiler do not understand -b yet
9433           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9434           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9435 $as_echo_n "checking if $CC understands -b... " >&6; }
9436 if ${lt_cv_prog_compiler__b+:} false; then :
9437   $as_echo_n "(cached) " >&6
9438 else
9439   lt_cv_prog_compiler__b=no
9440    save_LDFLAGS="$LDFLAGS"
9441    LDFLAGS="$LDFLAGS -b"
9442    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9443    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9444      # The linker can only warn and ignore the option if not recognized
9445      # So say no if there are warnings
9446      if test -s conftest.err; then
9447        # Append any errors to the config.log.
9448        cat conftest.err 1>&5
9449        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9450        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9451        if diff conftest.exp conftest.er2 >/dev/null; then
9452          lt_cv_prog_compiler__b=yes
9453        fi
9454      else
9455        lt_cv_prog_compiler__b=yes
9456      fi
9457    fi
9458    $RM -r conftest*
9459    LDFLAGS="$save_LDFLAGS"
9460 
9461 fi
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9463 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9464 
9465 if test x"$lt_cv_prog_compiler__b" = xyes; then
9466     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9467 else
9468     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9469 fi
9470 
9471           ;;
9472         esac
9473       fi
9474       if test "$with_gnu_ld" = no; then
9475         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9476         hardcode_libdir_separator=:
9477 
9478         case $host_cpu in
9479         hppa*64*|ia64*)
9480           hardcode_direct=no
9481           hardcode_shlibpath_var=no
9482           ;;
9483         *)
9484           hardcode_direct=yes
9485           hardcode_direct_absolute=yes
9486           export_dynamic_flag_spec='${wl}-E'
9487 
9488           # hardcode_minus_L: Not really in the search PATH,
9489           # but as the default location of the library.
9490           hardcode_minus_L=yes
9491           ;;
9492         esac
9493       fi
9494       ;;
9495 
9496     irix5* | irix6* | nonstopux*)
9497       if test "$GCC" = yes; then
9498         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'
9499         # Try to use the -exported_symbol ld option, if it does not
9500         # work, assume that -exports_file does not work either and
9501         # implicitly export all symbols.
9502         # This should be the same for all languages, so no per-tag cache variable.
9503         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9504 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9505 if ${lt_cv_irix_exported_symbol+:} false; then :
9506   $as_echo_n "(cached) " >&6
9507 else
9508   save_LDFLAGS="$LDFLAGS"
9509            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9510            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h.  */
9512 int foo (void) { return 0; }
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"; then :
9515   lt_cv_irix_exported_symbol=yes
9516 else
9517   lt_cv_irix_exported_symbol=no
9518 fi
9519 rm -f core conftest.err conftest.$ac_objext \
9520     conftest$ac_exeext conftest.$ac_ext
9521            LDFLAGS="$save_LDFLAGS"
9522 fi
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9524 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9525         if test "$lt_cv_irix_exported_symbol" = yes; then
9526           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'
9527         fi
9528       else
9529         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'
9530         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'
9531       fi
9532       archive_cmds_need_lc='no'
9533       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9534       hardcode_libdir_separator=:
9535       inherit_rpath=yes
9536       link_all_deplibs=yes
9537       ;;
9538 
9539     netbsd*)
9540       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9541         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9542       else
9543         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9544       fi
9545       hardcode_libdir_flag_spec='-R$libdir'
9546       hardcode_direct=yes
9547       hardcode_shlibpath_var=no
9548       ;;
9549 
9550     newsos6)
9551       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552       hardcode_direct=yes
9553       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9554       hardcode_libdir_separator=:
9555       hardcode_shlibpath_var=no
9556       ;;
9557 
9558     *nto* | *qnx*)
9559       ;;
9560 
9561     openbsd*)
9562       if test -f /usr/libexec/ld.so; then
9563         hardcode_direct=yes
9564         hardcode_shlibpath_var=no
9565         hardcode_direct_absolute=yes
9566         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9567           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9568           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9569           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9570           export_dynamic_flag_spec='${wl}-E'
9571         else
9572           case $host_os in
9573            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9574              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9575              hardcode_libdir_flag_spec='-R$libdir'
9576              ;;
9577            *)
9578              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9579              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9580              ;;
9581           esac
9582         fi
9583       else
9584         ld_shlibs=no
9585       fi
9586       ;;
9587 
9588     os2*)
9589       hardcode_libdir_flag_spec='-L$libdir'
9590       hardcode_minus_L=yes
9591       allow_undefined_flag=unsupported
9592       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9593       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9594       ;;
9595 
9596     osf3*)
9597       if test "$GCC" = yes; then
9598         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9599         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'
9600       else
9601         allow_undefined_flag=' -expect_unresolved \*'
9602         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'
9603       fi
9604       archive_cmds_need_lc='no'
9605       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9606       hardcode_libdir_separator=:
9607       ;;
9608 
9609     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9610       if test "$GCC" = yes; then
9611         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9612         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'
9613         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9614       else
9615         allow_undefined_flag=' -expect_unresolved \*'
9616         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'
9617         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~
9618         $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'
9619 
9620         # Both c and cxx compiler support -rpath directly
9621         hardcode_libdir_flag_spec='-rpath $libdir'
9622       fi
9623       archive_cmds_need_lc='no'
9624       hardcode_libdir_separator=:
9625       ;;
9626 
9627     solaris*)
9628       no_undefined_flag=' -z defs'
9629       if test "$GCC" = yes; then
9630         wlarc='${wl}'
9631         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9632         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9633           $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'
9634       else
9635         case `$CC -V 2>&1` in
9636         *"Compilers 5.0"*)
9637           wlarc=''
9638           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9640           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9641           ;;
9642         *)
9643           wlarc='${wl}'
9644           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9645           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9646           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9647           ;;
9648         esac
9649       fi
9650       hardcode_libdir_flag_spec='-R$libdir'
9651       hardcode_shlibpath_var=no
9652       case $host_os in
9653       solaris2.[0-5] | solaris2.[0-5].*) ;;
9654       *)
9655         # The compiler driver will combine and reorder linker options,
9656         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9657         # but is careful enough not to reorder.
9658         # Supported since Solaris 2.6 (maybe 2.5.1?)
9659         if test "$GCC" = yes; then
9660           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9661         else
9662           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9663         fi
9664         ;;
9665       esac
9666       link_all_deplibs=yes
9667       ;;
9668 
9669     sunos4*)
9670       if test "x$host_vendor" = xsequent; then
9671         # Use $CC to link under sequent, because it throws in some extra .o
9672         # files that make .init and .fini sections work.
9673         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9674       else
9675         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9676       fi
9677       hardcode_libdir_flag_spec='-L$libdir'
9678       hardcode_direct=yes
9679       hardcode_minus_L=yes
9680       hardcode_shlibpath_var=no
9681       ;;
9682 
9683     sysv4)
9684       case $host_vendor in
9685         sni)
9686           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9687           hardcode_direct=yes # is this really true???
9688         ;;
9689         siemens)
9690           ## LD is ld it makes a PLAMLIB
9691           ## CC just makes a GrossModule.
9692           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9693           reload_cmds='$CC -r -o $output$reload_objs'
9694           hardcode_direct=no
9695         ;;
9696         motorola)
9697           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9699         ;;
9700       esac
9701       runpath_var='LD_RUN_PATH'
9702       hardcode_shlibpath_var=no
9703       ;;
9704 
9705     sysv4.3*)
9706       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9707       hardcode_shlibpath_var=no
9708       export_dynamic_flag_spec='-Bexport'
9709       ;;
9710 
9711     sysv4*MP*)
9712       if test -d /usr/nec; then
9713         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714         hardcode_shlibpath_var=no
9715         runpath_var=LD_RUN_PATH
9716         hardcode_runpath_var=yes
9717         ld_shlibs=yes
9718       fi
9719       ;;
9720 
9721     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9722       no_undefined_flag='${wl}-z,text'
9723       archive_cmds_need_lc=no
9724       hardcode_shlibpath_var=no
9725       runpath_var='LD_RUN_PATH'
9726 
9727       if test "$GCC" = yes; then
9728         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9730       else
9731         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9732         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9733       fi
9734       ;;
9735 
9736     sysv5* | sco3.2v5* | sco5v6*)
9737       # Note: We can NOT use -z defs as we might desire, because we do not
9738       # link with -lc, and that would cause any symbols used from libc to
9739       # always be unresolved, which means just about no library would
9740       # ever link correctly.  If we're not using GNU ld we use -z text
9741       # though, which does catch some bad symbols but isn't as heavy-handed
9742       # as -z defs.
9743       no_undefined_flag='${wl}-z,text'
9744       allow_undefined_flag='${wl}-z,nodefs'
9745       archive_cmds_need_lc=no
9746       hardcode_shlibpath_var=no
9747       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9748       hardcode_libdir_separator=':'
9749       link_all_deplibs=yes
9750       export_dynamic_flag_spec='${wl}-Bexport'
9751       runpath_var='LD_RUN_PATH'
9752 
9753       if test "$GCC" = yes; then
9754         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756       else
9757         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9758         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9759       fi
9760       ;;
9761 
9762     uts4*)
9763       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764       hardcode_libdir_flag_spec='-L$libdir'
9765       hardcode_shlibpath_var=no
9766       ;;
9767 
9768     *)
9769       ld_shlibs=no
9770       ;;
9771     esac
9772 
9773     if test x$host_vendor = xsni; then
9774       case $host in
9775       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9776         export_dynamic_flag_spec='${wl}-Blargedynsym'
9777         ;;
9778       esac
9779     fi
9780   fi
9781 
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9783 $as_echo "$ld_shlibs" >&6; }
9784 test "$ld_shlibs" = no && can_build_shared=no
9785 
9786 with_gnu_ld=$with_gnu_ld
9787 
9788 
9789 
9790 
9791 
9792 
9793 
9794 
9795 
9796 
9797 
9798 
9799 
9800 
9801 
9802 #
9803 # Do we need to explicitly link libc?
9804 #
9805 case "x$archive_cmds_need_lc" in
9806 x|xyes)
9807   # Assume -lc should be added
9808   archive_cmds_need_lc=yes
9809 
9810   if test "$enable_shared" = yes && test "$GCC" = yes; then
9811     case $archive_cmds in
9812     *'~'*)
9813       # FIXME: we may have to deal with multi-command sequences.
9814       ;;
9815     '$CC '*)
9816       # Test whether the compiler implicitly links with -lc since on some
9817       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9818       # to ld, don't add -lc before -lgcc.
9819       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9820 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9821 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9822   $as_echo_n "(cached) " >&6
9823 else
9824   $RM conftest*
9825         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9826 
9827         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9828   (eval $ac_compile) 2>&5
9829   ac_status=$?
9830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9831   test $ac_status = 0; } 2>conftest.err; then
9832           soname=conftest
9833           lib=conftest
9834           libobjs=conftest.$ac_objext
9835           deplibs=
9836           wl=$lt_prog_compiler_wl
9837           pic_flag=$lt_prog_compiler_pic
9838           compiler_flags=-v
9839           linker_flags=-v
9840           verstring=
9841           output_objdir=.
9842           libname=conftest
9843           lt_save_allow_undefined_flag=$allow_undefined_flag
9844           allow_undefined_flag=
9845           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9846   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9847   ac_status=$?
9848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9849   test $ac_status = 0; }
9850           then
9851             lt_cv_archive_cmds_need_lc=no
9852           else
9853             lt_cv_archive_cmds_need_lc=yes
9854           fi
9855           allow_undefined_flag=$lt_save_allow_undefined_flag
9856         else
9857           cat conftest.err 1>&5
9858         fi
9859         $RM conftest*
9860 
9861 fi
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9863 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9864       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9865       ;;
9866     esac
9867   fi
9868   ;;
9869 esac
9870 
9871 
9872 
9873 
9874 
9875 
9876 
9877 
9878 
9879 
9880 
9881 
9882 
9883 
9884 
9885 
9886 
9887 
9888 
9889 
9890 
9891 
9892 
9893 
9894 
9895 
9896 
9897 
9898 
9899 
9900 
9901 
9902 
9903 
9904 
9905 
9906 
9907 
9908 
9909 
9910 
9911 
9912 
9913 
9914 
9915 
9916 
9917 
9918 
9919 
9920 
9921 
9922 
9923 
9924 
9925 
9926 
9927 
9928 
9929 
9930 
9931 
9932 
9933 
9934 
9935 
9936 
9937 
9938 
9939 
9940 
9941 
9942 
9943 
9944 
9945 
9946 
9947 
9948 
9949 
9950 
9951 
9952 
9953 
9954 
9955 
9956 
9957 
9958 
9959 
9960 
9961 
9962 
9963 
9964 
9965 
9966 
9967 
9968 
9969 
9970 
9971 
9972 
9973 
9974 
9975 
9976 
9977 
9978 
9979 
9980 
9981 
9982 
9983 
9984 
9985 
9986 
9987 
9988 
9989 
9990 
9991 
9992 
9993 
9994 
9995 
9996 
9997 
9998 
9999 
10000 
10001 
10002 
10003 
10004 
10005 
10006 
10007 
10008 
10009 
10010 
10011 
10012 
10013 
10014 
10015 
10016 
10017 
10018 
10019 
10020 
10021 
10022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10023 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10024 
10025 if test "$GCC" = yes; then
10026   case $host_os in
10027     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10028     *) lt_awk_arg="/^libraries:/" ;;
10029   esac
10030   case $host_os in
10031     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10032     *) lt_sed_strip_eq="s,=/,/,g" ;;
10033   esac
10034   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10035   case $lt_search_path_spec in
10036   *\;*)
10037     # if the path contains ";" then we assume it to be the separator
10038     # otherwise default to the standard path separator (i.e. ":") - it is
10039     # assumed that no part of a normal pathname contains ";" but that should
10040     # okay in the real world where ";" in dirpaths is itself problematic.
10041     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10042     ;;
10043   *)
10044     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10045     ;;
10046   esac
10047   # Ok, now we have the path, separated by spaces, we can step through it
10048   # and add multilib dir if necessary.
10049   lt_tmp_lt_search_path_spec=
10050   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10051   for lt_sys_path in $lt_search_path_spec; do
10052     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10053       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10054     else
10055       test -d "$lt_sys_path" && \
10056         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10057     fi
10058   done
10059   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10060 BEGIN {RS=" "; FS="/|\n";} {
10061   lt_foo="";
10062   lt_count=0;
10063   for (lt_i = NF; lt_i > 0; lt_i--) {
10064     if ($lt_i != "" && $lt_i != ".") {
10065       if ($lt_i == "..") {
10066         lt_count++;
10067       } else {
10068         if (lt_count == 0) {
10069           lt_foo="/" $lt_i lt_foo;
10070         } else {
10071           lt_count--;
10072         }
10073       }
10074     }
10075   }
10076   if (lt_foo != "") { lt_freq[lt_foo]++; }
10077   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10078 }'`
10079   # AWK program above erroneously prepends '/' to C:/dos/paths
10080   # for these hosts.
10081   case $host_os in
10082     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10083       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10084   esac
10085   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10086 else
10087   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10088 fi
10089 library_names_spec=
10090 libname_spec='lib$name'
10091 soname_spec=
10092 shrext_cmds=".so"
10093 postinstall_cmds=
10094 postuninstall_cmds=
10095 finish_cmds=
10096 finish_eval=
10097 shlibpath_var=
10098 shlibpath_overrides_runpath=unknown
10099 version_type=none
10100 dynamic_linker="$host_os ld.so"
10101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10102 need_lib_prefix=unknown
10103 hardcode_into_libs=no
10104 
10105 # when you set need_version to no, make sure it does not cause -set_version
10106 # flags to be left without arguments
10107 need_version=unknown
10108 
10109 case $host_os in
10110 aix3*)
10111   version_type=linux # correct to gnu/linux during the next big refactor
10112   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10113   shlibpath_var=LIBPATH
10114 
10115   # AIX 3 has no versioning support, so we append a major version to the name.
10116   soname_spec='${libname}${release}${shared_ext}$major'
10117   ;;
10118 
10119 aix[4-9]*)
10120   version_type=linux # correct to gnu/linux during the next big refactor
10121   need_lib_prefix=no
10122   need_version=no
10123   hardcode_into_libs=yes
10124   if test "$host_cpu" = ia64; then
10125     # AIX 5 supports IA64
10126     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10127     shlibpath_var=LD_LIBRARY_PATH
10128   else
10129     # With GCC up to 2.95.x, collect2 would create an import file
10130     # for dependence libraries.  The import file would start with
10131     # the line `#! .'.  This would cause the generated library to
10132     # depend on `.', always an invalid library.  This was fixed in
10133     # development snapshots of GCC prior to 3.0.
10134     case $host_os in
10135       aix4 | aix4.[01] | aix4.[01].*)
10136       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10137            echo ' yes '
10138            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10139         :
10140       else
10141         can_build_shared=no
10142       fi
10143       ;;
10144     esac
10145     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10146     # soname into executable. Probably we can add versioning support to
10147     # collect2, so additional links can be useful in future.
10148     if test "$aix_use_runtimelinking" = yes; then
10149       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10150       # instead of lib<name>.a to let people know that these are not
10151       # typical AIX shared libraries.
10152       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153     else
10154       # We preserve .a as extension for shared libraries through AIX4.2
10155       # and later when we are not doing run time linking.
10156       library_names_spec='${libname}${release}.a $libname.a'
10157       soname_spec='${libname}${release}${shared_ext}$major'
10158     fi
10159     shlibpath_var=LIBPATH
10160   fi
10161   ;;
10162 
10163 amigaos*)
10164   case $host_cpu in
10165   powerpc)
10166     # Since July 2007 AmigaOS4 officially supports .so libraries.
10167     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10168     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10169     ;;
10170   m68k)
10171     library_names_spec='$libname.ixlibrary $libname.a'
10172     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10173     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10174     ;;
10175   esac
10176   ;;
10177 
10178 beos*)
10179   library_names_spec='${libname}${shared_ext}'
10180   dynamic_linker="$host_os ld.so"
10181   shlibpath_var=LIBRARY_PATH
10182   ;;
10183 
10184 bsdi[45]*)
10185   version_type=linux # correct to gnu/linux during the next big refactor
10186   need_version=no
10187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10188   soname_spec='${libname}${release}${shared_ext}$major'
10189   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10190   shlibpath_var=LD_LIBRARY_PATH
10191   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10192   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10193   # the default ld.so.conf also contains /usr/contrib/lib and
10194   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10195   # libtool to hard-code these into programs
10196   ;;
10197 
10198 cygwin* | mingw* | pw32* | cegcc*)
10199   version_type=windows
10200   shrext_cmds=".dll"
10201   need_version=no
10202   need_lib_prefix=no
10203 
10204   case $GCC,$cc_basename in
10205   yes,*)
10206     # gcc
10207     library_names_spec='$libname.dll.a'
10208     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10209     postinstall_cmds='base_file=`basename \${file}`~
10210       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10211       dldir=$destdir/`dirname \$dlpath`~
10212       test -d \$dldir || mkdir -p \$dldir~
10213       $install_prog $dir/$dlname \$dldir/$dlname~
10214       chmod a+x \$dldir/$dlname~
10215       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10216         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10217       fi'
10218     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10219       dlpath=$dir/\$dldll~
10220        $RM \$dlpath'
10221     shlibpath_overrides_runpath=yes
10222 
10223     case $host_os in
10224     cygwin*)
10225       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10226       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10227 
10228       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10229       ;;
10230     mingw* | cegcc*)
10231       # MinGW DLLs use traditional 'lib' prefix
10232       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10233       ;;
10234     pw32*)
10235       # pw32 DLLs use 'pw' prefix rather than 'lib'
10236       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10237       ;;
10238     esac
10239     dynamic_linker='Win32 ld.exe'
10240     ;;
10241 
10242   *,cl*)
10243     # Native MSVC
10244     libname_spec='$name'
10245     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10246     library_names_spec='${libname}.dll.lib'
10247 
10248     case $build_os in
10249     mingw*)
10250       sys_lib_search_path_spec=
10251       lt_save_ifs=$IFS
10252       IFS=';'
10253       for lt_path in $LIB
10254       do
10255         IFS=$lt_save_ifs
10256         # Let DOS variable expansion print the short 8.3 style file name.
10257         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10258         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10259       done
10260       IFS=$lt_save_ifs
10261       # Convert to MSYS style.
10262       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10263       ;;
10264     cygwin*)
10265       # Convert to unix form, then to dos form, then back to unix form
10266       # but this time dos style (no spaces!) so that the unix form looks
10267       # like /cygdrive/c/PROGRA~1:/cygdr...
10268       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10269       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10270       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10271       ;;
10272     *)
10273       sys_lib_search_path_spec="$LIB"
10274       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10275         # It is most probably a Windows format PATH.
10276         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10277       else
10278         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10279       fi
10280       # FIXME: find the short name or the path components, as spaces are
10281       # common. (e.g. "Program Files" -> "PROGRA~1")
10282       ;;
10283     esac
10284 
10285     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10286     postinstall_cmds='base_file=`basename \${file}`~
10287       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10288       dldir=$destdir/`dirname \$dlpath`~
10289       test -d \$dldir || mkdir -p \$dldir~
10290       $install_prog $dir/$dlname \$dldir/$dlname'
10291     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10292       dlpath=$dir/\$dldll~
10293        $RM \$dlpath'
10294     shlibpath_overrides_runpath=yes
10295     dynamic_linker='Win32 link.exe'
10296     ;;
10297 
10298   *)
10299     # Assume MSVC wrapper
10300     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10301     dynamic_linker='Win32 ld.exe'
10302     ;;
10303   esac
10304   # FIXME: first we should search . and the directory the executable is in
10305   shlibpath_var=PATH
10306   ;;
10307 
10308 darwin* | rhapsody*)
10309   dynamic_linker="$host_os dyld"
10310   version_type=darwin
10311   need_lib_prefix=no
10312   need_version=no
10313   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10314   soname_spec='${libname}${release}${major}$shared_ext'
10315   shlibpath_overrides_runpath=yes
10316   shlibpath_var=DYLD_LIBRARY_PATH
10317   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10318 
10319   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10320   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10321   ;;
10322 
10323 dgux*)
10324   version_type=linux # correct to gnu/linux during the next big refactor
10325   need_lib_prefix=no
10326   need_version=no
10327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10328   soname_spec='${libname}${release}${shared_ext}$major'
10329   shlibpath_var=LD_LIBRARY_PATH
10330   ;;
10331 
10332 freebsd* | dragonfly*)
10333   # DragonFly does not have aout.  When/if they implement a new
10334   # versioning mechanism, adjust this.
10335   if test -x /usr/bin/objformat; then
10336     objformat=`/usr/bin/objformat`
10337   else
10338     case $host_os in
10339     freebsd[23].*) objformat=aout ;;
10340     *) objformat=elf ;;
10341     esac
10342   fi
10343   version_type=freebsd-$objformat
10344   case $version_type in
10345     freebsd-elf*)
10346       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10347       need_version=no
10348       need_lib_prefix=no
10349       ;;
10350     freebsd-*)
10351       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10352       need_version=yes
10353       ;;
10354   esac
10355   shlibpath_var=LD_LIBRARY_PATH
10356   case $host_os in
10357   freebsd2.*)
10358     shlibpath_overrides_runpath=yes
10359     ;;
10360   freebsd3.[01]* | freebsdelf3.[01]*)
10361     shlibpath_overrides_runpath=yes
10362     hardcode_into_libs=yes
10363     ;;
10364   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10365   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10366     shlibpath_overrides_runpath=no
10367     hardcode_into_libs=yes
10368     ;;
10369   *) # from 4.6 on, and DragonFly
10370     shlibpath_overrides_runpath=yes
10371     hardcode_into_libs=yes
10372     ;;
10373   esac
10374   ;;
10375 
10376 gnu*)
10377   version_type=linux # correct to gnu/linux during the next big refactor
10378   need_lib_prefix=no
10379   need_version=no
10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10381   soname_spec='${libname}${release}${shared_ext}$major'
10382   shlibpath_var=LD_LIBRARY_PATH
10383   shlibpath_overrides_runpath=no
10384   hardcode_into_libs=yes
10385   ;;
10386 
10387 haiku*)
10388   version_type=linux # correct to gnu/linux during the next big refactor
10389   need_lib_prefix=no
10390   need_version=no
10391   dynamic_linker="$host_os runtime_loader"
10392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10393   soname_spec='${libname}${release}${shared_ext}$major'
10394   shlibpath_var=LIBRARY_PATH
10395   shlibpath_overrides_runpath=yes
10396   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10397   hardcode_into_libs=yes
10398   ;;
10399 
10400 hpux9* | hpux10* | hpux11*)
10401   # Give a soname corresponding to the major version so that dld.sl refuses to
10402   # link against other versions.
10403   version_type=sunos
10404   need_lib_prefix=no
10405   need_version=no
10406   case $host_cpu in
10407   ia64*)
10408     shrext_cmds='.so'
10409     hardcode_into_libs=yes
10410     dynamic_linker="$host_os dld.so"
10411     shlibpath_var=LD_LIBRARY_PATH
10412     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10413     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414     soname_spec='${libname}${release}${shared_ext}$major'
10415     if test "X$HPUX_IA64_MODE" = X32; then
10416       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10417     else
10418       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10419     fi
10420     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10421     ;;
10422   hppa*64*)
10423     shrext_cmds='.sl'
10424     hardcode_into_libs=yes
10425     dynamic_linker="$host_os dld.sl"
10426     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10427     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10428     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10429     soname_spec='${libname}${release}${shared_ext}$major'
10430     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10431     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10432     ;;
10433   *)
10434     shrext_cmds='.sl'
10435     dynamic_linker="$host_os dld.sl"
10436     shlibpath_var=SHLIB_PATH
10437     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10438     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439     soname_spec='${libname}${release}${shared_ext}$major'
10440     ;;
10441   esac
10442   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10443   postinstall_cmds='chmod 555 $lib'
10444   # or fails outright, so override atomically:
10445   install_override_mode=555
10446   ;;
10447 
10448 interix[3-9]*)
10449   version_type=linux # correct to gnu/linux during the next big refactor
10450   need_lib_prefix=no
10451   need_version=no
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10453   soname_spec='${libname}${release}${shared_ext}$major'
10454   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10455   shlibpath_var=LD_LIBRARY_PATH
10456   shlibpath_overrides_runpath=no
10457   hardcode_into_libs=yes
10458   ;;
10459 
10460 irix5* | irix6* | nonstopux*)
10461   case $host_os in
10462     nonstopux*) version_type=nonstopux ;;
10463     *)
10464         if test "$lt_cv_prog_gnu_ld" = yes; then
10465                 version_type=linux # correct to gnu/linux during the next big refactor
10466         else
10467                 version_type=irix
10468         fi ;;
10469   esac
10470   need_lib_prefix=no
10471   need_version=no
10472   soname_spec='${libname}${release}${shared_ext}$major'
10473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10474   case $host_os in
10475   irix5* | nonstopux*)
10476     libsuff= shlibsuff=
10477     ;;
10478   *)
10479     case $LD in # libtool.m4 will add one of these switches to LD
10480     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10481       libsuff= shlibsuff= libmagic=32-bit;;
10482     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10483       libsuff=32 shlibsuff=N32 libmagic=N32;;
10484     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10485       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10486     *) libsuff= shlibsuff= libmagic=never-match;;
10487     esac
10488     ;;
10489   esac
10490   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10491   shlibpath_overrides_runpath=no
10492   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10493   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10494   hardcode_into_libs=yes
10495   ;;
10496 
10497 # No shared lib support for Linux oldld, aout, or coff.
10498 linux*oldld* | linux*aout* | linux*coff*)
10499   dynamic_linker=no
10500   ;;
10501 
10502 # This must be glibc/ELF.
10503 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10504   version_type=linux # correct to gnu/linux during the next big refactor
10505   need_lib_prefix=no
10506   need_version=no
10507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10508   soname_spec='${libname}${release}${shared_ext}$major'
10509   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10510   shlibpath_var=LD_LIBRARY_PATH
10511   shlibpath_overrides_runpath=no
10512 
10513   # Some binutils ld are patched to set DT_RUNPATH
10514   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10515   $as_echo_n "(cached) " >&6
10516 else
10517   lt_cv_shlibpath_overrides_runpath=no
10518     save_LDFLAGS=$LDFLAGS
10519     save_libdir=$libdir
10520     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10521          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h.  */
10524 
10525 int
10526 main ()
10527 {
10528 
10529   ;
10530   return 0;
10531 }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10535   lt_cv_shlibpath_overrides_runpath=yes
10536 fi
10537 fi
10538 rm -f core conftest.err conftest.$ac_objext \
10539     conftest$ac_exeext conftest.$ac_ext
10540     LDFLAGS=$save_LDFLAGS
10541     libdir=$save_libdir
10542 
10543 fi
10544 
10545   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10546 
10547   # This implies no fast_install, which is unacceptable.
10548   # Some rework will be needed to allow for fast_install
10549   # before this can be enabled.
10550   hardcode_into_libs=yes
10551 
10552   # Add ABI-specific directories to the system library path.
10553   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10554 
10555   # Append ld.so.conf contents to the search path
10556   if test -f /etc/ld.so.conf; then
10557     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' ' '`
10558     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10559 
10560   fi
10561 
10562   # We used to test for /lib/ld.so.1 and disable shared libraries on
10563   # powerpc, because MkLinux only supported shared libraries with the
10564   # GNU dynamic linker.  Since this was broken with cross compilers,
10565   # most powerpc-linux boxes support dynamic linking these days and
10566   # people can always --disable-shared, the test was removed, and we
10567   # assume the GNU/Linux dynamic linker is in use.
10568   dynamic_linker='GNU/Linux ld.so'
10569   ;;
10570 
10571 netbsd*)
10572   version_type=sunos
10573   need_lib_prefix=no
10574   need_version=no
10575   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10577     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10578     dynamic_linker='NetBSD (a.out) ld.so'
10579   else
10580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10581     soname_spec='${libname}${release}${shared_ext}$major'
10582     dynamic_linker='NetBSD ld.elf_so'
10583   fi
10584   shlibpath_var=LD_LIBRARY_PATH
10585   shlibpath_overrides_runpath=yes
10586   hardcode_into_libs=yes
10587   ;;
10588 
10589 newsos6)
10590   version_type=linux # correct to gnu/linux during the next big refactor
10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592   shlibpath_var=LD_LIBRARY_PATH
10593   shlibpath_overrides_runpath=yes
10594   ;;
10595 
10596 *nto* | *qnx*)
10597   version_type=qnx
10598   need_lib_prefix=no
10599   need_version=no
10600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601   soname_spec='${libname}${release}${shared_ext}$major'
10602   shlibpath_var=LD_LIBRARY_PATH
10603   shlibpath_overrides_runpath=no
10604   hardcode_into_libs=yes
10605   dynamic_linker='ldqnx.so'
10606   ;;
10607 
10608 openbsd*)
10609   version_type=sunos
10610   sys_lib_dlsearch_path_spec="/usr/lib"
10611   need_lib_prefix=no
10612   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10613   case $host_os in
10614     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10615     *)                          need_version=no  ;;
10616   esac
10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10618   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10619   shlibpath_var=LD_LIBRARY_PATH
10620   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10621     case $host_os in
10622       openbsd2.[89] | openbsd2.[89].*)
10623         shlibpath_overrides_runpath=no
10624         ;;
10625       *)
10626         shlibpath_overrides_runpath=yes
10627         ;;
10628       esac
10629   else
10630     shlibpath_overrides_runpath=yes
10631   fi
10632   ;;
10633 
10634 os2*)
10635   libname_spec='$name'
10636   shrext_cmds=".dll"
10637   need_lib_prefix=no
10638   library_names_spec='$libname${shared_ext} $libname.a'
10639   dynamic_linker='OS/2 ld.exe'
10640   shlibpath_var=LIBPATH
10641   ;;
10642 
10643 osf3* | osf4* | osf5*)
10644   version_type=osf
10645   need_lib_prefix=no
10646   need_version=no
10647   soname_spec='${libname}${release}${shared_ext}$major'
10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649   shlibpath_var=LD_LIBRARY_PATH
10650   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10651   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10652   ;;
10653 
10654 rdos*)
10655   dynamic_linker=no
10656   ;;
10657 
10658 solaris*)
10659   version_type=linux # correct to gnu/linux during the next big refactor
10660   need_lib_prefix=no
10661   need_version=no
10662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663   soname_spec='${libname}${release}${shared_ext}$major'
10664   shlibpath_var=LD_LIBRARY_PATH
10665   shlibpath_overrides_runpath=yes
10666   hardcode_into_libs=yes
10667   # ldd complains unless libraries are executable
10668   postinstall_cmds='chmod +x $lib'
10669   ;;
10670 
10671 sunos4*)
10672   version_type=sunos
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10674   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10675   shlibpath_var=LD_LIBRARY_PATH
10676   shlibpath_overrides_runpath=yes
10677   if test "$with_gnu_ld" = yes; then
10678     need_lib_prefix=no
10679   fi
10680   need_version=yes
10681   ;;
10682 
10683 sysv4 | sysv4.3*)
10684   version_type=linux # correct to gnu/linux during the next big refactor
10685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686   soname_spec='${libname}${release}${shared_ext}$major'
10687   shlibpath_var=LD_LIBRARY_PATH
10688   case $host_vendor in
10689     sni)
10690       shlibpath_overrides_runpath=no
10691       need_lib_prefix=no
10692       runpath_var=LD_RUN_PATH
10693       ;;
10694     siemens)
10695       need_lib_prefix=no
10696       ;;
10697     motorola)
10698       need_lib_prefix=no
10699       need_version=no
10700       shlibpath_overrides_runpath=no
10701       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10702       ;;
10703   esac
10704   ;;
10705 
10706 sysv4*MP*)
10707   if test -d /usr/nec ;then
10708     version_type=linux # correct to gnu/linux during the next big refactor
10709     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10710     soname_spec='$libname${shared_ext}.$major'
10711     shlibpath_var=LD_LIBRARY_PATH
10712   fi
10713   ;;
10714 
10715 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10716   version_type=freebsd-elf
10717   need_lib_prefix=no
10718   need_version=no
10719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10720   soname_spec='${libname}${release}${shared_ext}$major'
10721   shlibpath_var=LD_LIBRARY_PATH
10722   shlibpath_overrides_runpath=yes
10723   hardcode_into_libs=yes
10724   if test "$with_gnu_ld" = yes; then
10725     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10726   else
10727     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10728     case $host_os in
10729       sco3.2v5*)
10730         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10731         ;;
10732     esac
10733   fi
10734   sys_lib_dlsearch_path_spec='/usr/lib'
10735   ;;
10736 
10737 tpf*)
10738   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10739   version_type=linux # correct to gnu/linux during the next big refactor
10740   need_lib_prefix=no
10741   need_version=no
10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743   shlibpath_var=LD_LIBRARY_PATH
10744   shlibpath_overrides_runpath=no
10745   hardcode_into_libs=yes
10746   ;;
10747 
10748 uts4*)
10749   version_type=linux # correct to gnu/linux during the next big refactor
10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751   soname_spec='${libname}${release}${shared_ext}$major'
10752   shlibpath_var=LD_LIBRARY_PATH
10753   ;;
10754 
10755 *)
10756   dynamic_linker=no
10757   ;;
10758 esac
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10760 $as_echo "$dynamic_linker" >&6; }
10761 test "$dynamic_linker" = no && can_build_shared=no
10762 
10763 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10764 if test "$GCC" = yes; then
10765   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10766 fi
10767 
10768 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10769   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10770 fi
10771 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10772   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10773 fi
10774 
10775 
10776 
10777 
10778 
10779 
10780 
10781 
10782 
10783 
10784 
10785 
10786 
10787 
10788 
10789 
10790 
10791 
10792 
10793 
10794 
10795 
10796 
10797 
10798 
10799 
10800 
10801 
10802 
10803 
10804 
10805 
10806 
10807 
10808 
10809 
10810 
10811 
10812 
10813 
10814 
10815 
10816 
10817 
10818 
10819 
10820 
10821 
10822 
10823 
10824 
10825 
10826 
10827 
10828 
10829 
10830 
10831 
10832 
10833 
10834 
10835 
10836 
10837 
10838 
10839 
10840 
10841 
10842 
10843 
10844 
10845 
10846 
10847 
10848 
10849 
10850 
10851 
10852 
10853 
10854 
10855 
10856 
10857 
10858 
10859 
10860 
10861 
10862 
10863 
10864 
10865 
10866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10867 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10868 hardcode_action=
10869 if test -n "$hardcode_libdir_flag_spec" ||
10870    test -n "$runpath_var" ||
10871    test "X$hardcode_automatic" = "Xyes" ; then
10872 
10873   # We can hardcode non-existent directories.
10874   if test "$hardcode_direct" != no &&
10875      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10876      # have to relink, otherwise we might link with an installed library
10877      # when we should be linking with a yet-to-be-installed one
10878      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10879      test "$hardcode_minus_L" != no; then
10880     # Linking always hardcodes the temporary library directory.
10881     hardcode_action=relink
10882   else
10883     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10884     hardcode_action=immediate
10885   fi
10886 else
10887   # We cannot hardcode anything, or else we can only hardcode existing
10888   # directories.
10889   hardcode_action=unsupported
10890 fi
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10892 $as_echo "$hardcode_action" >&6; }
10893 
10894 if test "$hardcode_action" = relink ||
10895    test "$inherit_rpath" = yes; then
10896   # Fast installation is not supported
10897   enable_fast_install=no
10898 elif test "$shlibpath_overrides_runpath" = yes ||
10899      test "$enable_shared" = no; then
10900   # Fast installation is not necessary
10901   enable_fast_install=needless
10902 fi
10903 
10904 
10905 
10906 
10907 
10908 
10909   if test "x$enable_dlopen" != xyes; then
10910   enable_dlopen=unknown
10911   enable_dlopen_self=unknown
10912   enable_dlopen_self_static=unknown
10913 else
10914   lt_cv_dlopen=no
10915   lt_cv_dlopen_libs=
10916 
10917   case $host_os in
10918   beos*)
10919     lt_cv_dlopen="load_add_on"
10920     lt_cv_dlopen_libs=
10921     lt_cv_dlopen_self=yes
10922     ;;
10923 
10924   mingw* | pw32* | cegcc*)
10925     lt_cv_dlopen="LoadLibrary"
10926     lt_cv_dlopen_libs=
10927     ;;
10928 
10929   cygwin*)
10930     lt_cv_dlopen="dlopen"
10931     lt_cv_dlopen_libs=
10932     ;;
10933 
10934   darwin*)
10935   # if libdl is installed we need to link against it
10936     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10937 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10938 if ${ac_cv_lib_dl_dlopen+:} false; then :
10939   $as_echo_n "(cached) " >&6
10940 else
10941   ac_check_lib_save_LIBS=$LIBS
10942 LIBS="-ldl  $LIBS"
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h.  */
10945 
10946 /* Override any GCC internal prototype to avoid an error.
10947    Use char because int might match the return type of a GCC
10948    builtin and then its argument prototype would still apply.  */
10949 #ifdef __cplusplus
10950 extern "C"
10951 #endif
10952 char dlopen ();
10953 int
10954 main ()
10955 {
10956 return dlopen ();
10957   ;
10958   return 0;
10959 }
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"; then :
10962   ac_cv_lib_dl_dlopen=yes
10963 else
10964   ac_cv_lib_dl_dlopen=no
10965 fi
10966 rm -f core conftest.err conftest.$ac_objext \
10967     conftest$ac_exeext conftest.$ac_ext
10968 LIBS=$ac_check_lib_save_LIBS
10969 fi
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10971 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10972 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10973   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10974 else
10975 
10976     lt_cv_dlopen="dyld"
10977     lt_cv_dlopen_libs=
10978     lt_cv_dlopen_self=yes
10979 
10980 fi
10981 
10982     ;;
10983 
10984   *)
10985     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10986 if test "x$ac_cv_func_shl_load" = xyes; then :
10987   lt_cv_dlopen="shl_load"
10988 else
10989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10990 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10991 if ${ac_cv_lib_dld_shl_load+:} false; then :
10992   $as_echo_n "(cached) " >&6
10993 else
10994   ac_check_lib_save_LIBS=$LIBS
10995 LIBS="-ldld  $LIBS"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h.  */
10998 
10999 /* Override any GCC internal prototype to avoid an error.
11000    Use char because int might match the return type of a GCC
11001    builtin and then its argument prototype would still apply.  */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char shl_load ();
11006 int
11007 main ()
11008 {
11009 return shl_load ();
11010   ;
11011   return 0;
11012 }
11013 _ACEOF
11014 if ac_fn_c_try_link "$LINENO"; then :
11015   ac_cv_lib_dld_shl_load=yes
11016 else
11017   ac_cv_lib_dld_shl_load=no
11018 fi
11019 rm -f core conftest.err conftest.$ac_objext \
11020     conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11022 fi
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11024 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11025 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11026   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11027 else
11028   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11029 if test "x$ac_cv_func_dlopen" = xyes; then :
11030   lt_cv_dlopen="dlopen"
11031 else
11032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11033 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11034 if ${ac_cv_lib_dl_dlopen+:} false; then :
11035   $as_echo_n "(cached) " >&6
11036 else
11037   ac_check_lib_save_LIBS=$LIBS
11038 LIBS="-ldl  $LIBS"
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h.  */
11041 
11042 /* Override any GCC internal prototype to avoid an error.
11043    Use char because int might match the return type of a GCC
11044    builtin and then its argument prototype would still apply.  */
11045 #ifdef __cplusplus
11046 extern "C"
11047 #endif
11048 char dlopen ();
11049 int
11050 main ()
11051 {
11052 return dlopen ();
11053   ;
11054   return 0;
11055 }
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"; then :
11058   ac_cv_lib_dl_dlopen=yes
11059 else
11060   ac_cv_lib_dl_dlopen=no
11061 fi
11062 rm -f core con