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

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