]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blob - configure
Linux/Android: Refactor MessageQ_create to Register Later with NameServer
[ipc/ipcdev.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for TI IPC 3.0.0.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # 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 ## -------------------- ##
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
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
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
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"
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
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
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='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
270   { eval $1=; unset $1;}
272 as_unset=as_fn_unset
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
279   return $1
280 } # as_fn_set_status
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
556 # Initializations.
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
567 # Identity of this package.
568 PACKAGE_NAME='TI IPC'
569 PACKAGE_TARNAME='ti-ipc'
570 PACKAGE_VERSION='3.0.0'
571 PACKAGE_STRING='TI IPC 3.0.0'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL=''
575 ac_unique_file="packages/ti/ipc/MessageQ.h"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 AF_RPMSG_FALSE
617 AF_RPMSG_TRUE
618 DRM_FALSE
619 DRM_TRUE
620 KERNEL_INSTALL_DIR_FALSE
621 KERNEL_INSTALL_DIR_TRUE
622 KDIR_FALSE
623 KDIR_TRUE
624 CMEM_FALSE
625 CMEM_TRUE
626 DRA7XX_FALSE
627 DRA7XX_TRUE
628 OMAP54XX_SMP_FALSE
629 OMAP54XX_SMP_TRUE
630 C66AK2G_FALSE
631 C66AK2G_TRUE
632 TCI6638_FALSE
633 TCI6638_TRUE
634 TCI6636_FALSE
635 TCI6636_TRUE
636 TCI6630_FALSE
637 TCI6630_TRUE
638 TCI6614_FALSE
639 TCI6614_TRUE
640 C66AK2E_FALSE
641 C66AK2E_TRUE
642 OMAPL138_FALSE
643 OMAPL138_TRUE
644 DRM_PREFIX
645 AF_RPMSG
646 KERNEL_INSTALL_DIR
647 CMEM_INSTALL_DIR
648 PLATFORM
649 AM_LDFLAGS
650 AM_CFLAGS
651 CPP
652 OTOOL64
653 OTOOL
654 LIPO
655 NMEDIT
656 DSYMUTIL
657 MANIFEST_TOOL
658 RANLIB
659 ac_ct_AR
660 AR
661 DLLTOOL
662 OBJDUMP
663 LN_S
664 NM
665 ac_ct_DUMPBIN
666 DUMPBIN
667 LD
668 FGREP
669 EGREP
670 GREP
671 SED
672 am__fastdepCC_FALSE
673 am__fastdepCC_TRUE
674 CCDEPMODE
675 am__nodep
676 AMDEPBACKSLASH
677 AMDEP_FALSE
678 AMDEP_TRUE
679 am__quote
680 am__include
681 DEPDIR
682 OBJEXT
683 EXEEXT
684 ac_ct_CC
685 CPPFLAGS
686 LDFLAGS
687 CFLAGS
688 CC
689 host_os
690 host_vendor
691 host_cpu
692 host
693 build_os
694 build_vendor
695 build_cpu
696 build
697 LIBTOOL
698 MAINT
699 MAINTAINER_MODE_FALSE
700 MAINTAINER_MODE_TRUE
701 am__untar
702 am__tar
703 AMTAR
704 am__leading_dot
705 SET_MAKE
706 AWK
707 mkdir_p
708 MKDIR_P
709 INSTALL_STRIP_PROGRAM
710 STRIP
711 install_sh
712 MAKEINFO
713 AUTOHEADER
714 AUTOMAKE
715 AUTOCONF
716 ACLOCAL
717 VERSION
718 PACKAGE
719 CYGPATH_W
720 am__isrc
721 INSTALL_DATA
722 INSTALL_SCRIPT
723 INSTALL_PROGRAM
724 target_alias
725 host_alias
726 build_alias
727 LIBS
728 ECHO_T
729 ECHO_N
730 ECHO_C
731 DEFS
732 mandir
733 localedir
734 libdir
735 psdir
736 pdfdir
737 dvidir
738 htmldir
739 infodir
740 docdir
741 oldincludedir
742 includedir
743 localstatedir
744 sharedstatedir
745 sysconfdir
746 datadir
747 datarootdir
748 libexecdir
749 sbindir
750 bindir
751 program_transform_name
752 prefix
753 exec_prefix
754 PACKAGE_URL
755 PACKAGE_BUGREPORT
756 PACKAGE_STRING
757 PACKAGE_VERSION
758 PACKAGE_TARNAME
759 PACKAGE_NAME
760 PATH_SEPARATOR
761 SHELL'
762 ac_subst_files=''
763 ac_user_opts='
764 enable_option_checking
765 enable_maintainer_mode
766 enable_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 enable_dependency_tracking
771 with_gnu_ld
772 with_sysroot
773 enable_libtool_lock
775       ac_precious_vars='build_alias
776 host_alias
777 target_alias
778 CC
779 CFLAGS
780 LDFLAGS
781 LIBS
782 CPPFLAGS
783 CPP
784 PLATFORM
785 CMEM_INSTALL_DIR
786 KERNEL_INSTALL_DIR
787 AF_RPMSG
788 DRM_PREFIX'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 ac_unrecognized_opts=
795 ac_unrecognized_sep=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
842 do
843   # If the previous option needs an argument, assign it.
844   if test -n "$ac_prev"; then
845     eval $ac_prev=\$ac_option
846     ac_prev=
847     continue
848   fi
850   case $ac_option in
851   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852   *=)   ac_optarg= ;;
853   *)    ac_optarg=yes ;;
854   esac
856   # Accept the important Cygnus configure options, so we can diagnose typos.
858   case $ac_dashdash$ac_option in
859   --)
860     ac_dashdash=yes ;;
862   -bindir | --bindir | --bindi | --bind | --bin | --bi)
863     ac_prev=bindir ;;
864   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865     bindir=$ac_optarg ;;
867   -build | --build | --buil | --bui | --bu)
868     ac_prev=build_alias ;;
869   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870     build_alias=$ac_optarg ;;
872   -cache-file | --cache-file | --cache-fil | --cache-fi \
873   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874     ac_prev=cache_file ;;
875   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877     cache_file=$ac_optarg ;;
879   --config-cache | -C)
880     cache_file=config.cache ;;
882   -datadir | --datadir | --datadi | --datad)
883     ac_prev=datadir ;;
884   -datadir=* | --datadir=* | --datadi=* | --datad=*)
885     datadir=$ac_optarg ;;
887   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888   | --dataroo | --dataro | --datar)
889     ac_prev=datarootdir ;;
890   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892     datarootdir=$ac_optarg ;;
894   -disable-* | --disable-*)
895     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896     # Reject names that are not valid shell variable names.
897     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898       as_fn_error $? "invalid feature name: $ac_useropt"
899     ac_useropt_orig=$ac_useropt
900     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901     case $ac_user_opts in
902       *"
903 "enable_$ac_useropt"
904 "*) ;;
905       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906          ac_unrecognized_sep=', ';;
907     esac
908     eval enable_$ac_useropt=no ;;
910   -docdir | --docdir | --docdi | --doc | --do)
911     ac_prev=docdir ;;
912   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913     docdir=$ac_optarg ;;
915   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916     ac_prev=dvidir ;;
917   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918     dvidir=$ac_optarg ;;
920   -enable-* | --enable-*)
921     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922     # Reject names that are not valid shell variable names.
923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924       as_fn_error $? "invalid feature name: $ac_useropt"
925     ac_useropt_orig=$ac_useropt
926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927     case $ac_user_opts in
928       *"
929 "enable_$ac_useropt"
930 "*) ;;
931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932          ac_unrecognized_sep=', ';;
933     esac
934     eval enable_$ac_useropt=\$ac_optarg ;;
936   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938   | --exec | --exe | --ex)
939     ac_prev=exec_prefix ;;
940   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942   | --exec=* | --exe=* | --ex=*)
943     exec_prefix=$ac_optarg ;;
945   -gas | --gas | --ga | --g)
946     # Obsolete; use --with-gas.
947     with_gas=yes ;;
949   -help | --help | --hel | --he | -h)
950     ac_init_help=long ;;
951   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952     ac_init_help=recursive ;;
953   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954     ac_init_help=short ;;
956   -host | --host | --hos | --ho)
957     ac_prev=host_alias ;;
958   -host=* | --host=* | --hos=* | --ho=*)
959     host_alias=$ac_optarg ;;
961   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962     ac_prev=htmldir ;;
963   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964   | --ht=*)
965     htmldir=$ac_optarg ;;
967   -includedir | --includedir | --includedi | --included | --include \
968   | --includ | --inclu | --incl | --inc)
969     ac_prev=includedir ;;
970   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971   | --includ=* | --inclu=* | --incl=* | --inc=*)
972     includedir=$ac_optarg ;;
974   -infodir | --infodir | --infodi | --infod | --info | --inf)
975     ac_prev=infodir ;;
976   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977     infodir=$ac_optarg ;;
979   -libdir | --libdir | --libdi | --libd)
980     ac_prev=libdir ;;
981   -libdir=* | --libdir=* | --libdi=* | --libd=*)
982     libdir=$ac_optarg ;;
984   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985   | --libexe | --libex | --libe)
986     ac_prev=libexecdir ;;
987   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988   | --libexe=* | --libex=* | --libe=*)
989     libexecdir=$ac_optarg ;;
991   -localedir | --localedir | --localedi | --localed | --locale)
992     ac_prev=localedir ;;
993   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994     localedir=$ac_optarg ;;
996   -localstatedir | --localstatedir | --localstatedi | --localstated \
997   | --localstate | --localstat | --localsta | --localst | --locals)
998     ac_prev=localstatedir ;;
999   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001     localstatedir=$ac_optarg ;;
1003   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004     ac_prev=mandir ;;
1005   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006     mandir=$ac_optarg ;;
1008   -nfp | --nfp | --nf)
1009     # Obsolete; use --without-fp.
1010     with_fp=no ;;
1012   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013   | --no-cr | --no-c | -n)
1014     no_create=yes ;;
1016   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018     no_recursion=yes ;;
1020   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022   | --oldin | --oldi | --old | --ol | --o)
1023     ac_prev=oldincludedir ;;
1024   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027     oldincludedir=$ac_optarg ;;
1029   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030     ac_prev=prefix ;;
1031   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032     prefix=$ac_optarg ;;
1034   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035   | --program-pre | --program-pr | --program-p)
1036     ac_prev=program_prefix ;;
1037   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039     program_prefix=$ac_optarg ;;
1041   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042   | --program-suf | --program-su | --program-s)
1043     ac_prev=program_suffix ;;
1044   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046     program_suffix=$ac_optarg ;;
1048   -program-transform-name | --program-transform-name \
1049   | --program-transform-nam | --program-transform-na \
1050   | --program-transform-n | --program-transform- \
1051   | --program-transform | --program-transfor \
1052   | --program-transfo | --program-transf \
1053   | --program-trans | --program-tran \
1054   | --progr-tra | --program-tr | --program-t)
1055     ac_prev=program_transform_name ;;
1056   -program-transform-name=* | --program-transform-name=* \
1057   | --program-transform-nam=* | --program-transform-na=* \
1058   | --program-transform-n=* | --program-transform-=* \
1059   | --program-transform=* | --program-transfor=* \
1060   | --program-transfo=* | --program-transf=* \
1061   | --program-trans=* | --program-tran=* \
1062   | --progr-tra=* | --program-tr=* | --program-t=*)
1063     program_transform_name=$ac_optarg ;;
1065   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066     ac_prev=pdfdir ;;
1067   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068     pdfdir=$ac_optarg ;;
1070   -psdir | --psdir | --psdi | --psd | --ps)
1071     ac_prev=psdir ;;
1072   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073     psdir=$ac_optarg ;;
1075   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076   | -silent | --silent | --silen | --sile | --sil)
1077     silent=yes ;;
1079   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080     ac_prev=sbindir ;;
1081   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082   | --sbi=* | --sb=*)
1083     sbindir=$ac_optarg ;;
1085   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087   | --sharedst | --shareds | --shared | --share | --shar \
1088   | --sha | --sh)
1089     ac_prev=sharedstatedir ;;
1090   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093   | --sha=* | --sh=*)
1094     sharedstatedir=$ac_optarg ;;
1096   -site | --site | --sit)
1097     ac_prev=site ;;
1098   -site=* | --site=* | --sit=*)
1099     site=$ac_optarg ;;
1101   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102     ac_prev=srcdir ;;
1103   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104     srcdir=$ac_optarg ;;
1106   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107   | --syscon | --sysco | --sysc | --sys | --sy)
1108     ac_prev=sysconfdir ;;
1109   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111     sysconfdir=$ac_optarg ;;
1113   -target | --target | --targe | --targ | --tar | --ta | --t)
1114     ac_prev=target_alias ;;
1115   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116     target_alias=$ac_optarg ;;
1118   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119     verbose=yes ;;
1121   -version | --version | --versio | --versi | --vers | -V)
1122     ac_init_version=: ;;
1124   -with-* | --with-*)
1125     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126     # Reject names that are not valid shell variable names.
1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128       as_fn_error $? "invalid package name: $ac_useropt"
1129     ac_useropt_orig=$ac_useropt
1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131     case $ac_user_opts in
1132       *"
1133 "with_$ac_useropt"
1134 "*) ;;
1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136          ac_unrecognized_sep=', ';;
1137     esac
1138     eval with_$ac_useropt=\$ac_optarg ;;
1140   -without-* | --without-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error $? "invalid package name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "with_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval with_$ac_useropt=no ;;
1156   --x)
1157     # Obsolete; use --with-x.
1158     with_x=yes ;;
1160   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161   | --x-incl | --x-inc | --x-in | --x-i)
1162     ac_prev=x_includes ;;
1163   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165     x_includes=$ac_optarg ;;
1167   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169     ac_prev=x_libraries ;;
1170   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172     x_libraries=$ac_optarg ;;
1174   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information"
1176     ;;
1178   *=*)
1179     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180     # Reject names that are not valid shell variable names.
1181     case $ac_envvar in #(
1182       '' | [0-9]* | *[!_$as_cr_alnum]* )
1183       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1184     esac
1185     eval $ac_envvar=\$ac_optarg
1186     export $ac_envvar ;;
1188   *)
1189     # FIXME: should be removed in autoconf 3.0.
1190     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1194     ;;
1196   esac
1197 done
1199 if test -n "$ac_prev"; then
1200   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201   as_fn_error $? "missing argument to $ac_option"
1202 fi
1204 if test -n "$ac_unrecognized_opts"; then
1205   case $enable_option_checking in
1206     no) ;;
1207     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1208     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209   esac
1210 fi
1212 # Check all directory arguments for consistency.
1213 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214                 datadir sysconfdir sharedstatedir localstatedir includedir \
1215                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216                 libdir localedir mandir
1217 do
1218   eval ac_val=\$$ac_var
1219   # Remove trailing slashes.
1220   case $ac_val in
1221     */ )
1222       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223       eval $ac_var=\$ac_val;;
1224   esac
1225   # Be sure to have absolute directory names.
1226   case $ac_val in
1227     [\\/$]* | ?:[\\/]* )  continue;;
1228     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229   esac
1230   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1231 done
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1236 build=$build_alias
1237 host=$host_alias
1238 target=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x; then
1242   if test "x$build_alias" = x; then
1243     cross_compiling=maybe
1244     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1245     If a cross compiler is detected then cross compile mode will be used" >&2
1246   elif test "x$build_alias" != "x$host_alias"; then
1247     cross_compiling=yes
1248   fi
1249 fi
1251 ac_tool_prefix=
1252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254 test "$silent" = yes && exec 6>/dev/null
1257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di=`ls -di .` &&
1259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1260   as_fn_error $? "working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262   as_fn_error $? "pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267   ac_srcdir_defaulted=yes
1268   # Try the directory containing this script, then the parent directory.
1269   ac_confdir=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271          X"$as_myself" : 'X\(//\)[^/]' \| \
1272          X"$as_myself" : 'X\(//\)$' \| \
1273          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1276             s//\1/
1277             q
1278           }
1279           /^X\(\/\/\)[^/].*/{
1280             s//\1/
1281             q
1282           }
1283           /^X\(\/\/\)$/{
1284             s//\1/
1285             q
1286           }
1287           /^X\(\/\).*/{
1288             s//\1/
1289             q
1290           }
1291           s/.*/./; q'`
1292   srcdir=$ac_confdir
1293   if test ! -r "$srcdir/$ac_unique_file"; then
1294     srcdir=..
1295   fi
1296 else
1297   ac_srcdir_defaulted=no
1298 fi
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1301   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1302 fi
1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 ac_abs_confdir=`(
1305         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306         pwd)`
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309   srcdir=.
1310 fi
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1314 case $srcdir in
1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 esac
1317 for ac_var in $ac_precious_vars; do
1318   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1319   eval ac_env_${ac_var}_value=\$${ac_var}
1320   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1321   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1322 done
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328   # Omit some internal or obsolete options to make the list less imposing.
1329   # This message is too long to be a string in the A/UX 3.1 sh.
1330   cat <<_ACEOF
1331 \`configure' configures TI IPC 3.0.0 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE.  See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1340 Configuration:
1341   -h, --help              display this help and exit
1342       --help=short        display options specific to this package
1343       --help=recursive    display the short help of all the included packages
1344   -V, --version           display version information and exit
1345   -q, --quiet, --silent   do not print \`checking ...' messages
1346       --cache-file=FILE   cache test results in FILE [disabled]
1347   -C, --config-cache      alias for \`--cache-file=config.cache'
1348   -n, --no-create         do not create output files
1349       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352   --prefix=PREFIX         install architecture-independent files in PREFIX
1353                           [$ac_default_prefix]
1354   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1355                           [PREFIX]
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365   --bindir=DIR            user executables [EPREFIX/bin]
1366   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1367   --libexecdir=DIR        program executables [EPREFIX/libexec]
1368   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1369   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1370   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1371   --libdir=DIR            object code libraries [EPREFIX/lib]
1372   --includedir=DIR        C header files [PREFIX/include]
1373   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1374   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1375   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1376   --infodir=DIR           info documentation [DATAROOTDIR/info]
1377   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1378   --mandir=DIR            man documentation [DATAROOTDIR/man]
1379   --docdir=DIR            documentation root [DATAROOTDIR/doc/ti-ipc]
1380   --htmldir=DIR           html documentation [DOCDIR]
1381   --dvidir=DIR            dvi documentation [DOCDIR]
1382   --pdfdir=DIR            pdf documentation [DOCDIR]
1383   --psdir=DIR             ps documentation [DOCDIR]
1384 _ACEOF
1386   cat <<\_ACEOF
1388 Program names:
1389   --program-prefix=PREFIX            prepend PREFIX to installed program names
1390   --program-suffix=SUFFIX            append SUFFIX to installed program names
1391   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1393 System types:
1394   --build=BUILD     configure for building on BUILD [guessed]
1395   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1396 _ACEOF
1397 fi
1399 if test -n "$ac_init_help"; then
1400   case $ac_init_help in
1401      short | recursive ) echo "Configuration of TI IPC 3.0.0:";;
1402    esac
1403   cat <<\_ACEOF
1405 Optional Features:
1406   --disable-option-checking  ignore unrecognized --enable/--with options
1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1409   --enable-maintainer-mode  enable make rules and dependencies not useful
1410                           (and sometimes confusing) to the casual installer
1411   --enable-shared[=PKGS]  build shared libraries [default=yes]
1412   --enable-static[=PKGS]  build static libraries [default=yes]
1413   --enable-fast-install[=PKGS]
1414                           optimize for fast installation [default=yes]
1415   --disable-dependency-tracking  speeds up one-time build
1416   --enable-dependency-tracking   do not reject slow dependency extractors
1417   --disable-libtool-lock  avoid locking (might break parallel builds)
1419 Optional Packages:
1420   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1421   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1423                           both]
1424   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1425   --with-sysroot=DIR Search for dependent libraries within DIR
1426                         (or the compiler's sysroot if not specified).
1428 Some influential environment variables:
1429   CC          C compiler command
1430   CFLAGS      C compiler flags
1431   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1432               nonstandard directory <lib dir>
1433   LIBS        libraries to pass to the linker, e.g. -l<library>
1434   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1435               you have headers in a nonstandard directory <include dir>
1436   CPP         C preprocessor
1437   PLATFORM    Platform to build. Options are: 'OMAPL138' 'OMAP54XX' '66AK2E'
1438               'TCI6630' 'TCI6636' 'TCI6638' '66AK2G' and 'DRA7XX'. If not
1439               defined all platforms will be built.
1440   CMEM_INSTALL_DIR
1441               Installation path directory to the CMEM libraries
1442   KERNEL_INSTALL_DIR
1443               Installation path to the Linux kernel.
1444   AF_RPMSG    Address Family used by the RPMSG driver
1445   DRM_PREFIX  Installation location to the DRM library.
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to the package provider.
1451 _ACEOF
1452 ac_status=$?
1453 fi
1455 if test "$ac_init_help" = "recursive"; then
1456   # If there are subdirs, report their specific --help.
1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458     test -d "$ac_dir" ||
1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460       continue
1461     ac_builddir=.
1463 case "$ac_dir" in
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *)
1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467   # A ".." for each directory in $ac_dir_suffix.
1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469   case $ac_top_builddir_sub in
1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472   esac ;;
1473 esac
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1479 case $srcdir in
1480   .)  # We are building in place.
1481     ac_srcdir=.
1482     ac_top_srcdir=$ac_top_builddir_sub
1483     ac_abs_top_srcdir=$ac_pwd ;;
1484   [\\/]* | ?:[\\/]* )  # Absolute name.
1485     ac_srcdir=$srcdir$ac_dir_suffix;
1486     ac_top_srcdir=$srcdir
1487     ac_abs_top_srcdir=$srcdir ;;
1488   *) # Relative name.
1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 esac
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495     cd "$ac_dir" || { ac_status=$?; continue; }
1496     # Check for guested configure.
1497     if test -f "$ac_srcdir/configure.gnu"; then
1498       echo &&
1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500     elif test -f "$ac_srcdir/configure"; then
1501       echo &&
1502       $SHELL "$ac_srcdir/configure" --help=recursive
1503     else
1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505     fi || ac_status=$?
1506     cd "$ac_pwd" || { ac_status=$?; break; }
1507   done
1508 fi
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1512   cat <<\_ACEOF
1513 TI IPC configure 3.0.0
1514 generated by GNU Autoconf 2.68
1516 Copyright (C) 2010 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1519 _ACEOF
1520   exit
1521 fi
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533   rm -f conftest.$ac_objext
1534   if { { ac_try="$ac_compile"
1535 case "(($ac_try" in
1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537   *) ac_try_echo=$ac_try;;
1538 esac
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541   (eval "$ac_compile") 2>conftest.err
1542   ac_status=$?
1543   if test -s conftest.err; then
1544     grep -v '^ *+' conftest.err >conftest.er1
1545     cat conftest.er1 >&5
1546     mv -f conftest.er1 conftest.err
1547   fi
1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549   test $ac_status = 0; } && {
1550          test -z "$ac_c_werror_flag" ||
1551          test ! -s conftest.err
1552        } && test -s conftest.$ac_objext; then :
1553   ac_retval=0
1554 else
1555   $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1558         ac_retval=1
1559 fi
1560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561   as_fn_set_status $ac_retval
1563 } # ac_fn_c_try_compile
1565 # ac_fn_c_try_link LINENO
1566 # -----------------------
1567 # Try to link conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_link ()
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   rm -f conftest.$ac_objext conftest$ac_exeext
1572   if { { ac_try="$ac_link"
1573 case "(($ac_try" in
1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575   *) ac_try_echo=$ac_try;;
1576 esac
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579   (eval "$ac_link") 2>conftest.err
1580   ac_status=$?
1581   if test -s conftest.err; then
1582     grep -v '^ *+' conftest.err >conftest.er1
1583     cat conftest.er1 >&5
1584     mv -f conftest.er1 conftest.err
1585   fi
1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587   test $ac_status = 0; } && {
1588          test -z "$ac_c_werror_flag" ||
1589          test ! -s conftest.err
1590        } && test -s conftest$ac_exeext && {
1591          test "$cross_compiling" = yes ||
1592          $as_test_x conftest$ac_exeext
1593        }; then :
1594   ac_retval=0
1595 else
1596   $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1599         ac_retval=1
1600 fi
1601   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603   # interfere with the next link command; also delete a directory that is
1604   # left behind by Apple's compiler.  We do this before executing the actions.
1605   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607   as_fn_set_status $ac_retval
1609 } # ac_fn_c_try_link
1611 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1612 # -------------------------------------------------------
1613 # Tests whether HEADER exists and can be compiled using the include files in
1614 # INCLUDES, setting the cache variable VAR accordingly.
1615 ac_fn_c_check_header_compile ()
1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if eval \${$3+:} false; then :
1621   $as_echo_n "(cached) " >&6
1622 else
1623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h.  */
1625 $4
1626 #include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629   eval "$3=yes"
1630 else
1631   eval "$3=no"
1632 fi
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 fi
1635 eval ac_res=\$$3
1636                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637 $as_echo "$ac_res" >&6; }
1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 } # ac_fn_c_check_header_compile
1642 # ac_fn_c_try_cpp LINENO
1643 # ----------------------
1644 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_cpp ()
1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648   if { { ac_try="$ac_cpp conftest.$ac_ext"
1649 case "(($ac_try" in
1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651   *) ac_try_echo=$ac_try;;
1652 esac
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656   ac_status=$?
1657   if test -s conftest.err; then
1658     grep -v '^ *+' conftest.err >conftest.er1
1659     cat conftest.er1 >&5
1660     mv -f conftest.er1 conftest.err
1661   fi
1662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663   test $ac_status = 0; } > conftest.i && {
1664          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1665          test ! -s conftest.err
1666        }; then :
1667   ac_retval=0
1668 else
1669   $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1672     ac_retval=1
1673 fi
1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675   as_fn_set_status $ac_retval
1677 } # ac_fn_c_try_cpp
1679 # ac_fn_c_try_run LINENO
1680 # ----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682 # that executables *can* be run.
1683 ac_fn_c_try_run ()
1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686   if { { ac_try="$ac_link"
1687 case "(($ac_try" in
1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689   *) ac_try_echo=$ac_try;;
1690 esac
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693   (eval "$ac_link") 2>&5
1694   ac_status=$?
1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697   { { case "(($ac_try" in
1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699   *) ac_try_echo=$ac_try;;
1700 esac
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703   (eval "$ac_try") 2>&5
1704   ac_status=$?
1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706   test $ac_status = 0; }; }; then :
1707   ac_retval=0
1708 else
1709   $as_echo "$as_me: program exited with status $ac_status" >&5
1710        $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713        ac_retval=$ac_status
1714 fi
1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717   as_fn_set_status $ac_retval
1719 } # ac_fn_c_try_run
1721 # ac_fn_c_check_func LINENO FUNC VAR
1722 # ----------------------------------
1723 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1724 ac_fn_c_check_func ()
1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728 $as_echo_n "checking for $2... " >&6; }
1729 if eval \${$3+:} false; then :
1730   $as_echo_n "(cached) " >&6
1731 else
1732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h.  */
1734 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1735    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1736 #define $2 innocuous_$2
1738 /* System header to define __stub macros and hopefully few prototypes,
1739     which can conflict with char $2 (); below.
1740     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1741     <limits.h> exists even on freestanding compilers.  */
1743 #ifdef __STDC__
1744 # include <limits.h>
1745 #else
1746 # include <assert.h>
1747 #endif
1749 #undef $2
1751 /* Override any GCC internal prototype to avoid an error.
1752    Use char because int might match the return type of a GCC
1753    builtin and then its argument prototype would still apply.  */
1754 #ifdef __cplusplus
1755 extern "C"
1756 #endif
1757 char $2 ();
1758 /* The GNU C library defines this for functions which it implements
1759     to always fail with ENOSYS.  Some functions are actually named
1760     something starting with __ and the normal name is an alias.  */
1761 #if defined __stub_$2 || defined __stub___$2
1762 choke me
1763 #endif
1765 int
1766 main ()
1768 return $2 ();
1769   ;
1770   return 0;
1772 _ACEOF
1773 if ac_fn_c_try_link "$LINENO"; then :
1774   eval "$3=yes"
1775 else
1776   eval "$3=no"
1777 fi
1778 rm -f core conftest.err conftest.$ac_objext \
1779     conftest$ac_exeext conftest.$ac_ext
1780 fi
1781 eval ac_res=\$$3
1782                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 } # ac_fn_c_check_func
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1792 # accordingly.
1793 ac_fn_c_check_header_mongrel ()
1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796   if eval \${$3+:} false; then :
1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800   $as_echo_n "(cached) " >&6
1801 fi
1802 eval ac_res=\$$3
1803                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 else
1806   # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 $4
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815   ac_header_compiler=yes
1816 else
1817   ac_header_compiler=no
1818 fi
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 #include <$2>
1829 _ACEOF
1830 if ac_fn_c_try_cpp "$LINENO"; then :
1831   ac_header_preproc=yes
1832 else
1833   ac_header_preproc=no
1834 fi
1835 rm -f conftest.err conftest.i conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1839 # So?  What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1841   yes:no: )
1842     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1846     ;;
1847   no:yes:* )
1848     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1852     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1856     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858     ;;
1859 esac
1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863   $as_echo_n "(cached) " >&6
1864 else
1865   eval "$3=\$ac_header_compiler"
1866 fi
1867 eval ac_res=\$$3
1868                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 fi
1871   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 } # ac_fn_c_check_header_mongrel
1874 cat >config.log <<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by TI IPC $as_me 3.0.0, which was
1879 generated by GNU Autoconf 2.68.  Invocation command line was
1881   $ $0 $@
1883 _ACEOF
1884 exec 5>>config.log
1886 cat <<_ASUNAME
1887 ## --------- ##
1888 ## Platform. ##
1889 ## --------- ##
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1900 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1901 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1904 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1905 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1906 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1908 _ASUNAME
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1912 do
1913   IFS=$as_save_IFS
1914   test -z "$as_dir" && as_dir=.
1915     $as_echo "PATH: $as_dir"
1916   done
1917 IFS=$as_save_IFS
1919 } >&5
1921 cat >&5 <<_ACEOF
1924 ## ----------- ##
1925 ## Core tests. ##
1926 ## ----------- ##
1928 _ACEOF
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1936 ac_configure_args=
1937 ac_configure_args0=
1938 ac_configure_args1=
1939 ac_must_keep_next=false
1940 for ac_pass in 1 2
1941 do
1942   for ac_arg
1943   do
1944     case $ac_arg in
1945     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1946     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1947     | -silent | --silent | --silen | --sile | --sil)
1948       continue ;;
1949     *\'*)
1950       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1951     esac
1952     case $ac_pass in
1953     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1954     2)
1955       as_fn_append ac_configure_args1 " '$ac_arg'"
1956       if test $ac_must_keep_next = true; then
1957         ac_must_keep_next=false # Got value, back to normal.
1958       else
1959         case $ac_arg in
1960           *=* | --config-cache | -C | -disable-* | --disable-* \
1961           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1962           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1963           | -with-* | --with-* | -without-* | --without-* | --x)
1964             case "$ac_configure_args0 " in
1965               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1966             esac
1967             ;;
1968           -* ) ac_must_keep_next=true ;;
1969         esac
1970       fi
1971       as_fn_append ac_configure_args " '$ac_arg'"
1972       ;;
1973     esac
1974   done
1975 done
1976 { ac_configure_args0=; unset ac_configure_args0;}
1977 { ac_configure_args1=; unset ac_configure_args1;}
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log.  We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985   # Save into config.log some information that might help in debugging.
1986   {
1987     echo
1989     $as_echo "## ---------------- ##
1990 ## Cache variables. ##
1991 ## ---------------- ##"
1992     echo
1993     # The following way of writing the cache mishandles newlines in values,
1995   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1996     eval ac_val=\$$ac_var
1997     case $ac_val in #(
1998     *${as_nl}*)
1999       case $ac_var in #(
2000       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002       esac
2003       case $ac_var in #(
2004       _ | IFS | as_nl) ;; #(
2005       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2006       *) { eval $ac_var=; unset $ac_var;} ;;
2007       esac ;;
2008     esac
2009   done
2010   (set) 2>&1 |
2011     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2012     *${as_nl}ac_space=\ *)
2013       sed -n \
2014         "s/'\''/'\''\\\\'\'''\''/g;
2015           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016       ;; #(
2017     *)
2018       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2019       ;;
2020     esac |
2021     sort
2023     echo
2025     $as_echo "## ----------------- ##
2026 ## Output variables. ##
2027 ## ----------------- ##"
2028     echo
2029     for ac_var in $ac_subst_vars
2030     do
2031       eval ac_val=\$$ac_var
2032       case $ac_val in
2033       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2034       esac
2035       $as_echo "$ac_var='\''$ac_val'\''"
2036     done | sort
2037     echo
2039     if test -n "$ac_subst_files"; then
2040       $as_echo "## ------------------- ##
2041 ## File substitutions. ##
2042 ## ------------------- ##"
2043       echo
2044       for ac_var in $ac_subst_files
2045       do
2046         eval ac_val=\$$ac_var
2047         case $ac_val in
2048         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2049         esac
2050         $as_echo "$ac_var='\''$ac_val'\''"
2051       done | sort
2052       echo
2053     fi
2055     if test -s confdefs.h; then
2056       $as_echo "## ----------- ##
2057 ## confdefs.h. ##
2058 ## ----------- ##"
2059       echo
2060       cat confdefs.h
2061       echo
2062     fi
2063     test "$ac_signal" != 0 &&
2064       $as_echo "$as_me: caught signal $ac_signal"
2065     $as_echo "$as_me: exit $exit_status"
2066   } >&5
2067   rm -f core *.core core.conftest.* &&
2068     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2069     exit $exit_status
2070 ' 0
2071 for ac_signal in 1 2 13 15; do
2072   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 done
2074 ac_signal=0
2076 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2077 rm -f -r conftest* confdefs.h
2079 $as_echo "/* confdefs.h */" > confdefs.h
2081 # Predefined preprocessor variables.
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_NAME "$PACKAGE_NAME"
2085 _ACEOF
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2089 _ACEOF
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2093 _ACEOF
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_STRING "$PACKAGE_STRING"
2097 _ACEOF
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2101 _ACEOF
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_URL "$PACKAGE_URL"
2105 _ACEOF
2108 # Let the site file select an alternate cache file if it wants to.
2109 # Prefer an explicitly selected file to automatically selected ones.
2110 ac_site_file1=NONE
2111 ac_site_file2=NONE
2112 if test -n "$CONFIG_SITE"; then
2113   # We do not want a PATH search for config.site.
2114   case $CONFIG_SITE in #((
2115     -*)  ac_site_file1=./$CONFIG_SITE;;
2116     */*) ac_site_file1=$CONFIG_SITE;;
2117     *)   ac_site_file1=./$CONFIG_SITE;;
2118   esac
2119 elif test "x$prefix" != xNONE; then
2120   ac_site_file1=$prefix/share/config.site
2121   ac_site_file2=$prefix/etc/config.site
2122 else
2123   ac_site_file1=$ac_default_prefix/share/config.site
2124   ac_site_file2=$ac_default_prefix/etc/config.site
2125 fi
2126 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2127 do
2128   test "x$ac_site_file" = xNONE && continue
2129   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2130     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2131 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2132     sed 's/^/| /' "$ac_site_file" >&5
2133     . "$ac_site_file" \
2134       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2136 as_fn_error $? "failed to load site script $ac_site_file
2137 See \`config.log' for more details" "$LINENO" 5; }
2138   fi
2139 done
2141 if test -r "$cache_file"; then
2142   # Some versions of bash will fail to source /dev/null (special files
2143   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2144   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2145     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2146 $as_echo "$as_me: loading cache $cache_file" >&6;}
2147     case $cache_file in
2148       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2149       *)                      . "./$cache_file";;
2150     esac
2151   fi
2152 else
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2154 $as_echo "$as_me: creating cache $cache_file" >&6;}
2155   >$cache_file
2156 fi
2158 # Check that the precious variables saved in the cache have kept the same
2159 # value.
2160 ac_cache_corrupted=false
2161 for ac_var in $ac_precious_vars; do
2162   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2163   eval ac_new_set=\$ac_env_${ac_var}_set
2164   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2165   eval ac_new_val=\$ac_env_${ac_var}_value
2166   case $ac_old_set,$ac_new_set in
2167     set,)
2168       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2169 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2170       ac_cache_corrupted=: ;;
2171     ,set)
2172       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2174       ac_cache_corrupted=: ;;
2175     ,);;
2176     *)
2177       if test "x$ac_old_val" != "x$ac_new_val"; then
2178         # differences in whitespace do not lead to failure.
2179         ac_old_val_w=`echo x $ac_old_val`
2180         ac_new_val_w=`echo x $ac_new_val`
2181         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2182           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2183 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2184           ac_cache_corrupted=:
2185         else
2186           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2187 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2188           eval $ac_var=\$ac_old_val
2189         fi
2190         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2191 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2192         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2193 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2194       fi;;
2195   esac
2196   # Pass precious variables to config.status.
2197   if test "$ac_new_set" = set; then
2198     case $ac_new_val in
2199     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2200     *) ac_arg=$ac_var=$ac_new_val ;;
2201     esac
2202     case " $ac_configure_args " in
2203       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2204       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2205     esac
2206   fi
2207 done
2208 if $ac_cache_corrupted; then
2209   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2211   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2212 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2213   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2214 fi
2215 ## -------------------- ##
2216 ## Main body of script. ##
2217 ## -------------------- ##
2219 ac_ext=c
2220 ac_cpp='$CPP $CPPFLAGS'
2221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2227 # Check common src files to ensure integrity of the package
2230 # Set auxiliary build tools directory
2231 ac_aux_dir=
2232 for ac_dir in linux/build-aux "$srcdir"/linux/build-aux; do
2233   if test -f "$ac_dir/install-sh"; then
2234     ac_aux_dir=$ac_dir
2235     ac_install_sh="$ac_aux_dir/install-sh -c"
2236     break
2237   elif test -f "$ac_dir/install.sh"; then
2238     ac_aux_dir=$ac_dir
2239     ac_install_sh="$ac_aux_dir/install.sh -c"
2240     break
2241   elif test -f "$ac_dir/shtool"; then
2242     ac_aux_dir=$ac_dir
2243     ac_install_sh="$ac_aux_dir/shtool install -c"
2244     break
2245   fi
2246 done
2247 if test -z "$ac_aux_dir"; then
2248   as_fn_error $? "cannot find install-sh, install.sh, or shtool in linux/build-aux \"$srcdir\"/linux/build-aux" "$LINENO" 5
2249 fi
2251 # These three variables are undocumented and unsupported,
2252 # and are intended to be withdrawn in a future Autoconf release.
2253 # They can cause serious problems if a builder's source tree is in a directory
2254 # whose full name contains unusual characters.
2255 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2256 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2257 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2261 # Initilize automake
2262 am__api_version='1.11'
2264 # Find a good install program.  We prefer a C program (faster),
2265 # so one script is as good as another.  But avoid the broken or
2266 # incompatible versions:
2267 # SysV /etc/install, /usr/sbin/install
2268 # SunOS /usr/etc/install
2269 # IRIX /sbin/install
2270 # AIX /bin/install
2271 # AmigaOS /C/install, which installs bootblocks on floppy discs
2272 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2273 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2274 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2275 # OS/2's system install, which has a completely different semantic
2276 # ./install, which can be erroneously created by make from ./install.sh.
2277 # Reject install programs that cannot install multiple files.
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2279 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2280 if test -z "$INSTALL"; then
2281 if ${ac_cv_path_install+:} false; then :
2282   $as_echo_n "(cached) " >&6
2283 else
2284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 for as_dir in $PATH
2286 do
2287   IFS=$as_save_IFS
2288   test -z "$as_dir" && as_dir=.
2289     # Account for people who put trailing slashes in PATH elements.
2290 case $as_dir/ in #((
2291   ./ | .// | /[cC]/* | \
2292   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2293   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2294   /usr/ucb/* ) ;;
2295   *)
2296     # OSF1 and SCO ODT 3.0 have their own names for install.
2297     # Don't use installbsd from OSF since it installs stuff as root
2298     # by default.
2299     for ac_prog in ginstall scoinst install; do
2300       for ac_exec_ext in '' $ac_executable_extensions; do
2301         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2302           if test $ac_prog = install &&
2303             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2304             # AIX install.  It has an incompatible calling convention.
2305             :
2306           elif test $ac_prog = install &&
2307             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308             # program-specific install script used by HP pwplus--don't use.
2309             :
2310           else
2311             rm -rf conftest.one conftest.two conftest.dir
2312             echo one > conftest.one
2313             echo two > conftest.two
2314             mkdir conftest.dir
2315             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2316               test -s conftest.one && test -s conftest.two &&
2317               test -s conftest.dir/conftest.one &&
2318               test -s conftest.dir/conftest.two
2319             then
2320               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2321               break 3
2322             fi
2323           fi
2324         fi
2325       done
2326     done
2327     ;;
2328 esac
2330   done
2331 IFS=$as_save_IFS
2333 rm -rf conftest.one conftest.two conftest.dir
2335 fi
2336   if test "${ac_cv_path_install+set}" = set; then
2337     INSTALL=$ac_cv_path_install
2338   else
2339     # As a last resort, use the slow shell script.  Don't cache a
2340     # value for INSTALL within a source directory, because that will
2341     # break other packages using the cache if that directory is
2342     # removed, or if the value is a relative name.
2343     INSTALL=$ac_install_sh
2344   fi
2345 fi
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2347 $as_echo "$INSTALL" >&6; }
2349 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2350 # It thinks the first close brace ends the variable substitution.
2351 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2353 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2355 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2358 $as_echo_n "checking whether build environment is sane... " >&6; }
2359 # Just in case
2360 sleep 1
2361 echo timestamp > conftest.file
2362 # Reject unsafe characters in $srcdir or the absolute working directory
2363 # name.  Accept space and tab only in the latter.
2364 am_lf='
2366 case `pwd` in
2367   *[\\\"\#\$\&\'\`$am_lf]*)
2368     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2369 esac
2370 case $srcdir in
2371   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2372     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2373 esac
2375 # Do `set' in a subshell so we don't clobber the current shell's
2376 # arguments.  Must try -L first in case configure is actually a
2377 # symlink; some systems play weird games with the mod time of symlinks
2378 # (eg FreeBSD returns the mod time of the symlink's containing
2379 # directory).
2380 if (
2381    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2382    if test "$*" = "X"; then
2383       # -L didn't work.
2384       set X `ls -t "$srcdir/configure" conftest.file`
2385    fi
2386    rm -f conftest.file
2387    if test "$*" != "X $srcdir/configure conftest.file" \
2388       && test "$*" != "X conftest.file $srcdir/configure"; then
2390       # If neither matched, then we have a broken ls.  This can happen
2391       # if, for instance, CONFIG_SHELL is bash and it inherits a
2392       # broken ls alias from the environment.  This has actually
2393       # happened.  Such a system could not be considered "sane".
2394       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2395 alias in your environment" "$LINENO" 5
2396    fi
2398    test "$2" = conftest.file
2399    )
2400 then
2401    # Ok.
2402    :
2403 else
2404    as_fn_error $? "newly created file is older than distributed files!
2405 Check your system clock" "$LINENO" 5
2406 fi
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2408 $as_echo "yes" >&6; }
2409 test "$program_prefix" != NONE &&
2410   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2411 # Use a double $ so make ignores it.
2412 test "$program_suffix" != NONE &&
2413   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2414 # Double any \ or $.
2415 # By default was `s,x,x', remove it if useless.
2416 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2417 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2419 # expand $ac_aux_dir to an absolute path
2420 am_aux_dir=`cd $ac_aux_dir && pwd`
2422 if test x"${MISSING+set}" != xset; then
2423   case $am_aux_dir in
2424   *\ * | *\     *)
2425     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2426   *)
2427     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2428   esac
2429 fi
2430 # Use eval to expand $SHELL
2431 if eval "$MISSING --run true"; then
2432   am_missing_run="$MISSING --run "
2433 else
2434   am_missing_run=
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2436 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2437 fi
2439 if test x"${install_sh}" != xset; then
2440   case $am_aux_dir in
2441   *\ * | *\     *)
2442     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2443   *)
2444     install_sh="\${SHELL} $am_aux_dir/install-sh"
2445   esac
2446 fi
2448 # Installed binaries are usually stripped using `strip' when the user
2449 # run `make install-strip'.  However `strip' might not be the right
2450 # tool to use in cross-compilation environments, therefore Automake
2451 # will honor the `STRIP' environment variable to overrule this program.
2452 if test "$cross_compiling" != no; then
2453   if test -n "$ac_tool_prefix"; then
2454   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2455 set dummy ${ac_tool_prefix}strip; ac_word=$2
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if ${ac_cv_prog_STRIP+:} false; then :
2459   $as_echo_n "(cached) " >&6
2460 else
2461   if test -n "$STRIP"; then
2462   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2463 else
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2466 do
2467   IFS=$as_save_IFS
2468   test -z "$as_dir" && as_dir=.
2469     for ac_exec_ext in '' $ac_executable_extensions; do
2470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473     break 2
2474   fi
2475 done
2476   done
2477 IFS=$as_save_IFS
2479 fi
2480 fi
2481 STRIP=$ac_cv_prog_STRIP
2482 if test -n "$STRIP"; then
2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2484 $as_echo "$STRIP" >&6; }
2485 else
2486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487 $as_echo "no" >&6; }
2488 fi
2491 fi
2492 if test -z "$ac_cv_prog_STRIP"; then
2493   ac_ct_STRIP=$STRIP
2494   # Extract the first word of "strip", so it can be a program name with args.
2495 set dummy strip; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2499   $as_echo_n "(cached) " >&6
2500 else
2501   if test -n "$ac_ct_STRIP"; then
2502   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2503 else
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 for as_dir in $PATH
2506 do
2507   IFS=$as_save_IFS
2508   test -z "$as_dir" && as_dir=.
2509     for ac_exec_ext in '' $ac_executable_extensions; do
2510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2511     ac_cv_prog_ac_ct_STRIP="strip"
2512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513     break 2
2514   fi
2515 done
2516   done
2517 IFS=$as_save_IFS
2519 fi
2520 fi
2521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2522 if test -n "$ac_ct_STRIP"; then
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2524 $as_echo "$ac_ct_STRIP" >&6; }
2525 else
2526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 $as_echo "no" >&6; }
2528 fi
2530   if test "x$ac_ct_STRIP" = x; then
2531     STRIP=":"
2532   else
2533     case $cross_compiling:$ac_tool_warned in
2534 yes:)
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2537 ac_tool_warned=yes ;;
2538 esac
2539     STRIP=$ac_ct_STRIP
2540   fi
2541 else
2542   STRIP="$ac_cv_prog_STRIP"
2543 fi
2545 fi
2546 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2549 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2550 if test -z "$MKDIR_P"; then
2551   if ${ac_cv_path_mkdir+:} false; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2556 do
2557   IFS=$as_save_IFS
2558   test -z "$as_dir" && as_dir=.
2559     for ac_prog in mkdir gmkdir; do
2560          for ac_exec_ext in '' $ac_executable_extensions; do
2561            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2562            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2563              'mkdir (GNU coreutils) '* | \
2564              'mkdir (coreutils) '* | \
2565              'mkdir (fileutils) '4.1*)
2566                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2567                break 3;;
2568            esac
2569          done
2570        done
2571   done
2572 IFS=$as_save_IFS
2574 fi
2576   test -d ./--version && rmdir ./--version
2577   if test "${ac_cv_path_mkdir+set}" = set; then
2578     MKDIR_P="$ac_cv_path_mkdir -p"
2579   else
2580     # As a last resort, use the slow shell script.  Don't cache a
2581     # value for MKDIR_P within a source directory, because that will
2582     # break other packages using the cache if that directory is
2583     # removed, or if the value is a relative name.
2584     MKDIR_P="$ac_install_sh -d"
2585   fi
2586 fi
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2588 $as_echo "$MKDIR_P" >&6; }
2590 mkdir_p="$MKDIR_P"
2591 case $mkdir_p in
2592   [\\/$]* | ?:[\\/]*) ;;
2593   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2594 esac
2596 for ac_prog in gawk mawk nawk awk
2597 do
2598   # Extract the first word of "$ac_prog", so it can be a program name with args.
2599 set dummy $ac_prog; ac_word=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_AWK+:} false; then :
2603   $as_echo_n "(cached) " >&6
2604 else
2605   if test -n "$AWK"; then
2606   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2607 else
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 for as_dir in $PATH
2610 do
2611   IFS=$as_save_IFS
2612   test -z "$as_dir" && as_dir=.
2613     for ac_exec_ext in '' $ac_executable_extensions; do
2614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2615     ac_cv_prog_AWK="$ac_prog"
2616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617     break 2
2618   fi
2619 done
2620   done
2621 IFS=$as_save_IFS
2623 fi
2624 fi
2625 AWK=$ac_cv_prog_AWK
2626 if test -n "$AWK"; then
2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2628 $as_echo "$AWK" >&6; }
2629 else
2630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632 fi
2635   test -n "$AWK" && break
2636 done
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2639 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2640 set x ${MAKE-make}
2641 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2642 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2643   $as_echo_n "(cached) " >&6
2644 else
2645   cat >conftest.make <<\_ACEOF
2646 SHELL = /bin/sh
2647 all:
2648         @echo '@@@%%%=$(MAKE)=@@@%%%'
2649 _ACEOF
2650 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2651 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2652   *@@@%%%=?*=@@@%%%*)
2653     eval ac_cv_prog_make_${ac_make}_set=yes;;
2654   *)
2655     eval ac_cv_prog_make_${ac_make}_set=no;;
2656 esac
2657 rm -f conftest.make
2658 fi
2659 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2661 $as_echo "yes" >&6; }
2662   SET_MAKE=
2663 else
2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2666   SET_MAKE="MAKE=${MAKE-make}"
2667 fi
2669 rm -rf .tst 2>/dev/null
2670 mkdir .tst 2>/dev/null
2671 if test -d .tst; then
2672   am__leading_dot=.
2673 else
2674   am__leading_dot=_
2675 fi
2676 rmdir .tst 2>/dev/null
2678 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2679   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2680   # is not polluted with repeated "-I."
2681   am__isrc=' -I$(srcdir)'
2682   # test to see if srcdir already configured
2683   if test -f $srcdir/config.status; then
2684     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2685   fi
2686 fi
2688 # test whether we have cygpath
2689 if test -z "$CYGPATH_W"; then
2690   if (cygpath --version) >/dev/null 2>/dev/null; then
2691     CYGPATH_W='cygpath -w'
2692   else
2693     CYGPATH_W=echo
2694   fi
2695 fi
2698 # Define the identity of the package.
2699  PACKAGE='ti-ipc'
2700  VERSION='3.0.0'
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE "$PACKAGE"
2705 _ACEOF
2708 cat >>confdefs.h <<_ACEOF
2709 #define VERSION "$VERSION"
2710 _ACEOF
2712 # Some tools Automake needs.
2714 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2717 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2720 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2723 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2726 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2728 # We need awk for the "check" target.  The system "awk" is bad on
2729 # some platforms.
2730 # Always define AMTAR for backward compatibility.  Yes, it's still used
2731 # in the wild :-(  We should find a proper way to deprecate it ...
2732 AMTAR='$${TAR-tar}'
2734 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2741 # Disabling maintainer mode to prevent rebuild of configure script
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2744 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2745     # Check whether --enable-maintainer-mode was given.
2746 if test "${enable_maintainer_mode+set}" = set; then :
2747   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2748 else
2749   USE_MAINTAINER_MODE=no
2750 fi
2752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2753 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2754    if test $USE_MAINTAINER_MODE = yes; then
2755   MAINTAINER_MODE_TRUE=
2756   MAINTAINER_MODE_FALSE='#'
2757 else
2758   MAINTAINER_MODE_TRUE='#'
2759   MAINTAINER_MODE_FALSE=
2760 fi
2762   MAINT=$MAINTAINER_MODE_TRUE
2766 # Initalize libtool but disable fortran check
2767 case `pwd` in
2768   *\ * | *\     *)
2769     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2770 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2771 esac
2775 macro_version='2.4.2'
2776 macro_revision='1.3337'
2790 ltmain="$ac_aux_dir/ltmain.sh"
2792 # Make sure we can run config.sub.
2793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2794   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2797 $as_echo_n "checking build system type... " >&6; }
2798 if ${ac_cv_build+:} false; then :
2799   $as_echo_n "(cached) " >&6
2800 else
2801   ac_build_alias=$build_alias
2802 test "x$ac_build_alias" = x &&
2803   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2804 test "x$ac_build_alias" = x &&
2805   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2807   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2809 fi
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2811 $as_echo "$ac_cv_build" >&6; }
2812 case $ac_cv_build in
2813 *-*-*) ;;
2814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2815 esac
2816 build=$ac_cv_build
2817 ac_save_IFS=$IFS; IFS='-'
2818 set x $ac_cv_build
2819 shift
2820 build_cpu=$1
2821 build_vendor=$2
2822 shift; shift
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2825 build_os=$*
2826 IFS=$ac_save_IFS
2827 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2831 $as_echo_n "checking host system type... " >&6; }
2832 if ${ac_cv_host+:} false; then :
2833   $as_echo_n "(cached) " >&6
2834 else
2835   if test "x$host_alias" = x; then
2836   ac_cv_host=$ac_cv_build
2837 else
2838   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2839     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2840 fi
2842 fi
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2844 $as_echo "$ac_cv_host" >&6; }
2845 case $ac_cv_host in
2846 *-*-*) ;;
2847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2848 esac
2849 host=$ac_cv_host
2850 ac_save_IFS=$IFS; IFS='-'
2851 set x $ac_cv_host
2852 shift
2853 host_cpu=$1
2854 host_vendor=$2
2855 shift; shift
2856 # Remember, the first character of IFS is used to create $*,
2857 # except with old shells:
2858 host_os=$*
2859 IFS=$ac_save_IFS
2860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2863 # Backslashify metacharacters that are still active within
2864 # double-quoted strings.
2865 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2867 # Same as above, but do not quote variable references.
2868 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2870 # Sed substitution to delay expansion of an escaped shell variable in a
2871 # double_quote_subst'ed string.
2872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2874 # Sed substitution to delay expansion of an escaped single quote.
2875 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2877 # Sed substitution to avoid accidental globbing in evaled expressions
2878 no_glob_subst='s/\*/\\\*/g'
2880 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2882 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2885 $as_echo_n "checking how to print strings... " >&6; }
2886 # Test print first, because it will be a builtin if present.
2887 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2888    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2889   ECHO='print -r --'
2890 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2891   ECHO='printf %s\n'
2892 else
2893   # Use this function as a fallback that always works.
2894   func_fallback_echo ()
2895   {
2896     eval 'cat <<_LTECHO_EOF
2897 $1
2898 _LTECHO_EOF'
2899   }
2900   ECHO='func_fallback_echo'
2901 fi
2903 # func_echo_all arg...
2904 # Invoke $ECHO with all args, space-separated.
2905 func_echo_all ()
2907     $ECHO ""
2910 case "$ECHO" in
2911   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2912 $as_echo "printf" >&6; } ;;
2913   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2914 $as_echo "print -r" >&6; } ;;
2915   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2916 $as_echo "cat" >&6; } ;;
2917 esac
2932 DEPDIR="${am__leading_dot}deps"
2934 ac_config_commands="$ac_config_commands depfiles"
2937 am_make=${MAKE-make}
2938 cat > confinc << 'END'
2939 am__doit:
2940         @echo this is the am__doit target
2941 .PHONY: am__doit
2942 END
2943 # If we don't find an include directive, just comment out the code.
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2945 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2946 am__include="#"
2947 am__quote=
2948 _am_result=none
2949 # First try GNU make style include.
2950 echo "include confinc" > confmf
2951 # Ignore all kinds of additional output from `make'.
2952 case `$am_make -s -f confmf 2> /dev/null` in #(
2953 *the\ am__doit\ target*)
2954   am__include=include
2955   am__quote=
2956   _am_result=GNU
2957   ;;
2958 esac
2959 # Now try BSD make style include.
2960 if test "$am__include" = "#"; then
2961    echo '.include "confinc"' > confmf
2962    case `$am_make -s -f confmf 2> /dev/null` in #(
2963    *the\ am__doit\ target*)
2964      am__include=.include
2965      am__quote="\""
2966      _am_result=BSD
2967      ;;
2968    esac
2969 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2973 $as_echo "$_am_result" >&6; }
2974 rm -f confinc confmf
2976 # Check whether --enable-dependency-tracking was given.
2977 if test "${enable_dependency_tracking+set}" = set; then :
2978   enableval=$enable_dependency_tracking;
2979 fi
2981 if test "x$enable_dependency_tracking" != xno; then
2982   am_depcomp="$ac_aux_dir/depcomp"
2983   AMDEPBACKSLASH='\'
2984   am__nodep='_no'
2985 fi
2986  if test "x$enable_dependency_tracking" != xno; then
2987   AMDEP_TRUE=
2988   AMDEP_FALSE='#'
2989 else
2990   AMDEP_TRUE='#'
2991   AMDEP_FALSE=
2992 fi
2995 ac_ext=c
2996 ac_cpp='$CPP $CPPFLAGS'
2997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 if test -n "$ac_tool_prefix"; then
3001   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3002 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_CC+:} false; then :
3006   $as_echo_n "(cached) " >&6
3007 else
3008   if test -n "$CC"; then
3009   ac_cv_prog_CC="$CC" # Let the user override the test.
3010 else
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 for as_dir in $PATH
3013 do
3014   IFS=$as_save_IFS
3015   test -z "$as_dir" && as_dir=.
3016     for ac_exec_ext in '' $ac_executable_extensions; do
3017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3018     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020     break 2
3021   fi
3022 done
3023   done
3024 IFS=$as_save_IFS
3026 fi
3027 fi
3028 CC=$ac_cv_prog_CC
3029 if test -n "$CC"; then
3030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3032 else
3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3035 fi
3038 fi
3039 if test -z "$ac_cv_prog_CC"; then
3040   ac_ct_CC=$CC
3041   # Extract the first word of "gcc", so it can be a program name with args.
3042 set dummy gcc; ac_word=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3046   $as_echo_n "(cached) " >&6
3047 else
3048   if test -n "$ac_ct_CC"; then
3049   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3050 else
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in $PATH
3053 do
3054   IFS=$as_save_IFS
3055   test -z "$as_dir" && as_dir=.
3056     for ac_exec_ext in '' $ac_executable_extensions; do
3057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3058     ac_cv_prog_ac_ct_CC="gcc"
3059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060     break 2
3061   fi
3062 done
3063   done
3064 IFS=$as_save_IFS
3066 fi
3067 fi
3068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3069 if test -n "$ac_ct_CC"; then
3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3071 $as_echo "$ac_ct_CC" >&6; }
3072 else
3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3075 fi
3077   if test "x$ac_ct_CC" = x; then
3078     CC=""
3079   else
3080     case $cross_compiling:$ac_tool_warned in
3081 yes:)
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned=yes ;;
3085 esac
3086     CC=$ac_ct_CC
3087   fi
3088 else
3089   CC="$ac_cv_prog_CC"
3090 fi
3092 if test -z "$CC"; then
3093           if test -n "$ac_tool_prefix"; then
3094     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3095 set dummy ${ac_tool_prefix}cc; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_CC+:} false; then :
3099   $as_echo_n "(cached) " >&6
3100 else
3101   if test -n "$CC"; then
3102   ac_cv_prog_CC="$CC" # Let the user override the test.
3103 else
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105 for as_dir in $PATH
3106 do
3107   IFS=$as_save_IFS
3108   test -z "$as_dir" && as_dir=.
3109     for ac_exec_ext in '' $ac_executable_extensions; do
3110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111     ac_cv_prog_CC="${ac_tool_prefix}cc"
3112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113     break 2
3114   fi
3115 done
3116   done
3117 IFS=$as_save_IFS
3119 fi
3120 fi
3121 CC=$ac_cv_prog_CC
3122 if test -n "$CC"; then
3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124 $as_echo "$CC" >&6; }
3125 else
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3128 fi
3131   fi
3132 fi
3133 if test -z "$CC"; then
3134   # Extract the first word of "cc", so it can be a program name with args.
3135 set dummy cc; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139   $as_echo_n "(cached) " >&6
3140 else
3141   if test -n "$CC"; then
3142   ac_cv_prog_CC="$CC" # Let the user override the test.
3143 else
3144   ac_prog_rejected=no
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH
3147 do
3148   IFS=$as_save_IFS
3149   test -z "$as_dir" && as_dir=.
3150     for ac_exec_ext in '' $ac_executable_extensions; do
3151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3153        ac_prog_rejected=yes
3154        continue
3155      fi
3156     ac_cv_prog_CC="cc"
3157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158     break 2
3159   fi
3160 done
3161   done
3162 IFS=$as_save_IFS
3164 if test $ac_prog_rejected = yes; then
3165   # We found a bogon in the path, so make sure we never use it.
3166   set dummy $ac_cv_prog_CC
3167   shift
3168   if test $# != 0; then
3169     # We chose a different compiler from the bogus one.
3170     # However, it has the same basename, so the bogon will be chosen
3171     # first if we set CC to just the basename; use the full file name.
3172     shift
3173     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3174   fi
3175 fi
3176 fi
3177 fi
3178 CC=$ac_cv_prog_CC
3179 if test -n "$CC"; then
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3181 $as_echo "$CC" >&6; }
3182 else
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 fi
3188 fi
3189 if test -z "$CC"; then
3190   if test -n "$ac_tool_prefix"; then
3191   for ac_prog in cl.exe
3192   do
3193     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_CC+:} false; then :
3198   $as_echo_n "(cached) " >&6
3199 else
3200   if test -n "$CC"; then
3201   ac_cv_prog_CC="$CC" # Let the user override the test.
3202 else
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3205 do
3206   IFS=$as_save_IFS
3207   test -z "$as_dir" && as_dir=.
3208     for ac_exec_ext in '' $ac_executable_extensions; do
3209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3210     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212     break 2
3213   fi
3214 done
3215   done
3216 IFS=$as_save_IFS
3218 fi
3219 fi
3220 CC=$ac_cv_prog_CC
3221 if test -n "$CC"; then
3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223 $as_echo "$CC" >&6; }
3224 else
3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 fi
3230     test -n "$CC" && break
3231   done
3232 fi
3233 if test -z "$CC"; then
3234   ac_ct_CC=$CC
3235   for ac_prog in cl.exe
3236 do
3237   # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy $ac_prog; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3242   $as_echo_n "(cached) " >&6
3243 else
3244   if test -n "$ac_ct_CC"; then
3245   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3246 else
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 for as_dir in $PATH
3249 do
3250   IFS=$as_save_IFS
3251   test -z "$as_dir" && as_dir=.
3252     for ac_exec_ext in '' $ac_executable_extensions; do
3253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254     ac_cv_prog_ac_ct_CC="$ac_prog"
3255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3256     break 2
3257   fi
3258 done
3259   done
3260 IFS=$as_save_IFS
3262 fi
3263 fi
3264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3267 $as_echo "$ac_ct_CC" >&6; }
3268 else
3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3271 fi
3274   test -n "$ac_ct_CC" && break
3275 done
3277   if test "x$ac_ct_CC" = x; then
3278     CC=""
3279   else
3280     case $cross_compiling:$ac_tool_warned in
3281 yes:)
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3284 ac_tool_warned=yes ;;
3285 esac
3286     CC=$ac_ct_CC
3287   fi
3288 fi
3290 fi
3293 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $? "no acceptable C compiler found in \$PATH
3296 See \`config.log' for more details" "$LINENO" 5; }
3298 # Provide some information about the compiler.
3299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3300 set X $ac_compile
3301 ac_compiler=$2
3302 for ac_option in --version -v -V -qversion; do
3303   { { ac_try="$ac_compiler $ac_option >&5"
3304 case "(($ac_try" in
3305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306   *) ac_try_echo=$ac_try;;
3307 esac
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3311   ac_status=$?
3312   if test -s conftest.err; then
3313     sed '10a\
3314 ... rest of stderr output deleted ...
3315          10q' conftest.err >conftest.er1
3316     cat conftest.er1 >&5
3317   fi
3318   rm -f conftest.er1 conftest.err
3319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320   test $ac_status = 0; }
3321 done
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h.  */
3326 int
3327 main ()
3330   ;
3331   return 0;
3333 _ACEOF
3334 ac_clean_files_save=$ac_clean_files
3335 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3336 # Try to create an executable without -o first, disregard a.out.
3337 # It will help us diagnose broken compilers, and finding out an intuition
3338 # of exeext.
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3340 $as_echo_n "checking whether the C compiler works... " >&6; }
3341 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3343 # The possible output files:
3344 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3346 ac_rmfiles=
3347 for ac_file in $ac_files
3348 do
3349   case $ac_file in
3350     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3351     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3352   esac
3353 done
3354 rm -f $ac_rmfiles
3356 if { { ac_try="$ac_link_default"
3357 case "(($ac_try" in
3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359   *) ac_try_echo=$ac_try;;
3360 esac
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363   (eval "$ac_link_default") 2>&5
3364   ac_status=$?
3365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366   test $ac_status = 0; }; then :
3367   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3369 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3370 # so that the user can short-circuit this test for compilers unknown to
3371 # Autoconf.
3372 for ac_file in $ac_files ''
3373 do
3374   test -f "$ac_file" || continue
3375   case $ac_file in
3376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3377         ;;
3378     [ab].out )
3379         # We found the default executable, but exeext='' is most
3380         # certainly right.
3381         break;;
3382     *.* )
3383         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3384         then :; else
3385            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386         fi
3387         # We set ac_cv_exeext here because the later test for it is not
3388         # safe: cross compilers may not add the suffix if given an `-o'
3389         # argument, so we may need to know it at that point already.
3390         # Even if this section looks crufty: it has the advantage of
3391         # actually working.
3392         break;;
3393     * )
3394         break;;
3395   esac
3396 done
3397 test "$ac_cv_exeext" = no && ac_cv_exeext=
3399 else
3400   ac_file=''
3401 fi
3402 if test -z "$ac_file"; then :
3403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3405 $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error 77 "C compiler cannot create executables
3411 See \`config.log' for more details" "$LINENO" 5; }
3412 else
3413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3414 $as_echo "yes" >&6; }
3415 fi
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3417 $as_echo_n "checking for C compiler default output file name... " >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3419 $as_echo "$ac_file" >&6; }
3420 ac_exeext=$ac_cv_exeext
3422 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3423 ac_clean_files=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3425 $as_echo_n "checking for suffix of executables... " >&6; }
3426 if { { ac_try="$ac_link"
3427 case "(($ac_try" in
3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429   *) ac_try_echo=$ac_try;;
3430 esac
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433   (eval "$ac_link") 2>&5
3434   ac_status=$?
3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436   test $ac_status = 0; }; then :
3437   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3438 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3439 # work properly (i.e., refer to `conftest.exe'), while it won't with
3440 # `rm'.
3441 for ac_file in conftest.exe conftest conftest.*; do
3442   test -f "$ac_file" || continue
3443   case $ac_file in
3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3445     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3446           break;;
3447     * ) break;;
3448   esac
3449 done
3450 else
3451   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3454 See \`config.log' for more details" "$LINENO" 5; }
3455 fi
3456 rm -f conftest conftest$ac_cv_exeext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3458 $as_echo "$ac_cv_exeext" >&6; }
3460 rm -f conftest.$ac_ext
3461 EXEEXT=$ac_cv_exeext
3462 ac_exeext=$EXEEXT
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h.  */
3465 #include <stdio.h>
3466 int
3467 main ()
3469 FILE *f = fopen ("conftest.out", "w");
3470  return ferror (f) || fclose (f) != 0;
3472   ;
3473   return 0;
3475 _ACEOF
3476 ac_clean_files="$ac_clean_files conftest.out"
3477 # Check that the compiler produces executables we can run.  If not, either
3478 # the compiler is broken, or we cross compile.
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3480 $as_echo_n "checking whether we are cross compiling... " >&6; }
3481 if test "$cross_compiling" != yes; then
3482   { { ac_try="$ac_link"
3483 case "(($ac_try" in
3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485   *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489   (eval "$ac_link") 2>&5
3490   ac_status=$?
3491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492   test $ac_status = 0; }
3493   if { ac_try='./conftest$ac_cv_exeext'
3494   { { case "(($ac_try" in
3495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496   *) ac_try_echo=$ac_try;;
3497 esac
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 $as_echo "$ac_try_echo"; } >&5
3500   (eval "$ac_try") 2>&5
3501   ac_status=$?
3502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503   test $ac_status = 0; }; }; then
3504     cross_compiling=no
3505   else
3506     if test "$cross_compiling" = maybe; then
3507         cross_compiling=yes
3508     else
3509         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 as_fn_error $? "cannot run C compiled programs.
3512 If you meant to cross compile, use \`--host'.
3513 See \`config.log' for more details" "$LINENO" 5; }
3514     fi
3515   fi
3516 fi
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3518 $as_echo "$cross_compiling" >&6; }
3520 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3521 ac_clean_files=$ac_clean_files_save
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3523 $as_echo_n "checking for suffix of object files... " >&6; }
3524 if ${ac_cv_objext+:} false; then :
3525   $as_echo_n "(cached) " >&6
3526 else
3527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h.  */
3530 int
3531 main ()
3534   ;
3535   return 0;
3537 _ACEOF
3538 rm -f conftest.o conftest.obj
3539 if { { ac_try="$ac_compile"
3540 case "(($ac_try" in
3541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542   *) ac_try_echo=$ac_try;;
3543 esac
3544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 $as_echo "$ac_try_echo"; } >&5
3546   (eval "$ac_compile") 2>&5
3547   ac_status=$?
3548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549   test $ac_status = 0; }; then :
3550   for ac_file in conftest.o conftest.obj conftest.*; do
3551   test -f "$ac_file" || continue;
3552   case $ac_file in
3553     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3554     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3555        break;;
3556   esac
3557 done
3558 else
3559   $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error $? "cannot compute suffix of object files: cannot compile
3565 See \`config.log' for more details" "$LINENO" 5; }
3566 fi
3567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3568 fi
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3570 $as_echo "$ac_cv_objext" >&6; }
3571 OBJEXT=$ac_cv_objext
3572 ac_objext=$OBJEXT
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3574 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3575 if ${ac_cv_c_compiler_gnu+:} false; then :
3576   $as_echo_n "(cached) " >&6
3577 else
3578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h.  */
3581 int
3582 main ()
3584 #ifndef __GNUC__
3585        choke me
3586 #endif
3588   ;
3589   return 0;
3591 _ACEOF
3592 if ac_fn_c_try_compile "$LINENO"; then :
3593   ac_compiler_gnu=yes
3594 else
3595   ac_compiler_gnu=no
3596 fi
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3600 fi
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3602 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3603 if test $ac_compiler_gnu = yes; then
3604   GCC=yes
3605 else
3606   GCC=
3607 fi
3608 ac_test_CFLAGS=${CFLAGS+set}
3609 ac_save_CFLAGS=$CFLAGS
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3611 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3612 if ${ac_cv_prog_cc_g+:} false; then :
3613   $as_echo_n "(cached) " >&6
3614 else
3615   ac_save_c_werror_flag=$ac_c_werror_flag
3616    ac_c_werror_flag=yes
3617    ac_cv_prog_cc_g=no
3618    CFLAGS="-g"
3619    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h.  */
3622 int
3623 main ()
3626   ;
3627   return 0;
3629 _ACEOF
3630 if ac_fn_c_try_compile "$LINENO"; then :
3631   ac_cv_prog_cc_g=yes
3632 else
3633   CFLAGS=""
3634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h.  */
3637 int
3638 main ()
3641   ;
3642   return 0;
3644 _ACEOF
3645 if ac_fn_c_try_compile "$LINENO"; then :
3647 else
3648   ac_c_werror_flag=$ac_save_c_werror_flag
3649          CFLAGS="-g"
3650          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h.  */
3653 int
3654 main ()
3657   ;
3658   return 0;
3660 _ACEOF
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662   ac_cv_prog_cc_g=yes
3663 fi
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3665 fi
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 fi
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669    ac_c_werror_flag=$ac_save_c_werror_flag
3670 fi
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3672 $as_echo "$ac_cv_prog_cc_g" >&6; }
3673 if test "$ac_test_CFLAGS" = set; then
3674   CFLAGS=$ac_save_CFLAGS
3675 elif test $ac_cv_prog_cc_g = yes; then
3676   if test "$GCC" = yes; then
3677     CFLAGS="-g -O2"
3678   else
3679     CFLAGS="-g"
3680   fi
3681 else
3682   if test "$GCC" = yes; then
3683     CFLAGS="-O2"
3684   else
3685     CFLAGS=
3686   fi
3687 fi
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3689 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3690 if ${ac_cv_prog_cc_c89+:} false; then :
3691   $as_echo_n "(cached) " >&6
3692 else
3693   ac_cv_prog_cc_c89=no
3694 ac_save_CC=$CC
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h.  */
3697 #include <stdarg.h>
3698 #include <stdio.h>
3699 #include <sys/types.h>
3700 #include <sys/stat.h>
3701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3702 struct buf { int x; };
3703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3704 static char *e (p, i)
3705      char **p;
3706      int i;
3708   return p[i];
3710 static char *f (char * (*g) (char **, int), char **p, ...)
3712   char *s;
3713   va_list v;
3714   va_start (v,p);
3715   s = g (p, va_arg (v,int));
3716   va_end (v);
3717   return s;
3720 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3721    function prototypes and stuff, but not '\xHH' hex character constants.
3722    These don't provoke an error unfortunately, instead are silently treated
3723    as 'x'.  The following induces an error, until -std is added to get
3724    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3725    array size at least.  It's necessary to write '\x00'==0 to get something
3726    that's true only with -std.  */
3727 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3729 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3730    inside strings and character constants.  */
3731 #define FOO(x) 'x'
3732 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3734 int test (int i, double x);
3735 struct s1 {int (*f) (int a);};
3736 struct s2 {int (*f) (double a);};
3737 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3738 int argc;
3739 char **argv;
3740 int
3741 main ()
3743 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3744   ;
3745   return 0;
3747 _ACEOF
3748 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3749         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3750 do
3751   CC="$ac_save_CC $ac_arg"
3752   if ac_fn_c_try_compile "$LINENO"; then :
3753   ac_cv_prog_cc_c89=$ac_arg
3754 fi
3755 rm -f core conftest.err conftest.$ac_objext
3756   test "x$ac_cv_prog_cc_c89" != "xno" && break
3757 done
3758 rm -f conftest.$ac_ext
3759 CC=$ac_save_CC
3761 fi
3762 # AC_CACHE_VAL
3763 case "x$ac_cv_prog_cc_c89" in
3764   x)
3765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3766 $as_echo "none needed" >&6; } ;;
3767   xno)
3768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3769 $as_echo "unsupported" >&6; } ;;
3770   *)
3771     CC="$CC $ac_cv_prog_cc_c89"
3772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3773 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3774 esac
3775 if test "x$ac_cv_prog_cc_c89" != xno; then :
3777 fi
3779 ac_ext=c
3780 ac_cpp='$CPP $CPPFLAGS'
3781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3785 depcc="$CC"   am_compiler_list=
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3788 $as_echo_n "checking dependency style of $depcc... " >&6; }
3789 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3790   $as_echo_n "(cached) " >&6
3791 else
3792   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3793   # We make a subdir and do the tests there.  Otherwise we can end up
3794   # making bogus files that we don't know about and never remove.  For
3795   # instance it was reported that on HP-UX the gcc test will end up
3796   # making a dummy file named `D' -- because `-MD' means `put the output
3797   # in D'.
3798   rm -rf conftest.dir
3799   mkdir conftest.dir
3800   # Copy depcomp to subdir because otherwise we won't find it if we're
3801   # using a relative directory.
3802   cp "$am_depcomp" conftest.dir
3803   cd conftest.dir
3804   # We will build objects and dependencies in a subdirectory because
3805   # it helps to detect inapplicable dependency modes.  For instance
3806   # both Tru64's cc and ICC support -MD to output dependencies as a
3807   # side effect of compilation, but ICC will put the dependencies in
3808   # the current directory while Tru64 will put them in the object
3809   # directory.
3810   mkdir sub
3812   am_cv_CC_dependencies_compiler_type=none
3813   if test "$am_compiler_list" = ""; then
3814      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3815   fi
3816   am__universal=false
3817   case " $depcc " in #(
3818      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3819      esac
3821   for depmode in $am_compiler_list; do
3822     # Setup a source with many dependencies, because some compilers
3823     # like to wrap large dependency lists on column 80 (with \), and
3824     # we should not choose a depcomp mode which is confused by this.
3825     #
3826     # We need to recreate these files for each test, as the compiler may
3827     # overwrite some of them when testing with obscure command lines.
3828     # This happens at least with the AIX C compiler.
3829     : > sub/conftest.c
3830     for i in 1 2 3 4 5 6; do
3831       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3832       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3833       # Solaris 8's {/usr,}/bin/sh.
3834       touch sub/conftst$i.h
3835     done
3836     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3838     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3839     # mode.  It turns out that the SunPro C++ compiler does not properly
3840     # handle `-M -o', and we need to detect this.  Also, some Intel
3841     # versions had trouble with output in subdirs
3842     am__obj=sub/conftest.${OBJEXT-o}
3843     am__minus_obj="-o $am__obj"
3844     case $depmode in
3845     gcc)
3846       # This depmode causes a compiler race in universal mode.
3847       test "$am__universal" = false || continue
3848       ;;
3849     nosideeffect)
3850       # after this tag, mechanisms are not by side-effect, so they'll
3851       # only be used when explicitly requested
3852       if test "x$enable_dependency_tracking" = xyes; then
3853         continue
3854       else
3855         break
3856       fi
3857       ;;
3858     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3859       # This compiler won't grok `-c -o', but also, the minuso test has
3860       # not run yet.  These depmodes are late enough in the game, and
3861       # so weak that their functioning should not be impacted.
3862       am__obj=conftest.${OBJEXT-o}
3863       am__minus_obj=
3864       ;;
3865     none) break ;;
3866     esac
3867     if depmode=$depmode \
3868        source=sub/conftest.c object=$am__obj \
3869        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3870        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3871          >/dev/null 2>conftest.err &&
3872        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3873        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3874        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3875        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3876       # icc doesn't choke on unknown options, it will just issue warnings
3877       # or remarks (even with -Werror).  So we grep stderr for any message
3878       # that says an option was ignored or not supported.
3879       # When given -MP, icc 7.0 and 7.1 complain thusly:
3880       #   icc: Command line warning: ignoring option '-M'; no argument required
3881       # The diagnosis changed in icc 8.0:
3882       #   icc: Command line remark: option '-MP' not supported
3883       if (grep 'ignoring option' conftest.err ||
3884           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3885         am_cv_CC_dependencies_compiler_type=$depmode
3886         break
3887       fi
3888     fi
3889   done
3891   cd ..
3892   rm -rf conftest.dir
3893 else
3894   am_cv_CC_dependencies_compiler_type=none
3895 fi
3897 fi
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3899 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3900 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3902  if
3903   test "x$enable_dependency_tracking" != xno \
3904   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3905   am__fastdepCC_TRUE=
3906   am__fastdepCC_FALSE='#'
3907 else
3908   am__fastdepCC_TRUE='#'
3909   am__fastdepCC_FALSE=
3910 fi
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3914 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3915 if ${ac_cv_path_SED+:} false; then :
3916   $as_echo_n "(cached) " >&6
3917 else
3918             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3919      for ac_i in 1 2 3 4 5 6 7; do
3920        ac_script="$ac_script$as_nl$ac_script"
3921      done
3922      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3923      { ac_script=; unset ac_script;}
3924      if test -z "$SED"; then
3925   ac_path_SED_found=false
3926   # Loop through the user's path and test for each of PROGNAME-LIST
3927   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in $PATH
3929 do
3930   IFS=$as_save_IFS
3931   test -z "$as_dir" && as_dir=.
3932     for ac_prog in sed gsed; do
3933     for ac_exec_ext in '' $ac_executable_extensions; do
3934       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3935       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3936 # Check for GNU ac_path_SED and select it if it is found.
3937   # Check for GNU $ac_path_SED
3938 case `"$ac_path_SED" --version 2>&1` in
3939 *GNU*)
3940   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3941 *)
3942   ac_count=0
3943   $as_echo_n 0123456789 >"conftest.in"
3944   while :
3945   do
3946     cat "conftest.in" "conftest.in" >"conftest.tmp"
3947     mv "conftest.tmp" "conftest.in"
3948     cp "conftest.in" "conftest.nl"
3949     $as_echo '' >> "conftest.nl"
3950     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3951     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3952     as_fn_arith $ac_count + 1 && ac_count=$as_val
3953     if test $ac_count -gt ${ac_path_SED_max-0}; then
3954       # Best one so far, save it but keep looking for a better one
3955       ac_cv_path_SED="$ac_path_SED"
3956       ac_path_SED_max=$ac_count
3957     fi
3958     # 10*(2^10) chars as input seems more than enough
3959     test $ac_count -gt 10 && break
3960   done
3961   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3962 esac
3964       $ac_path_SED_found && break 3
3965     done
3966   done
3967   done
3968 IFS=$as_save_IFS
3969   if test -z "$ac_cv_path_SED"; then
3970     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3971   fi
3972 else
3973   ac_cv_path_SED=$SED
3974 fi
3976 fi
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3978 $as_echo "$ac_cv_path_SED" >&6; }
3979  SED="$ac_cv_path_SED"
3980   rm -f conftest.sed
3982 test -z "$SED" && SED=sed
3983 Xsed="$SED -e 1s/^X//"
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3996 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3997 if ${ac_cv_path_GREP+:} false; then :
3998   $as_echo_n "(cached) " >&6
3999 else
4000   if test -z "$GREP"; then
4001   ac_path_GREP_found=false
4002   # Loop through the user's path and test for each of PROGNAME-LIST
4003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4005 do
4006   IFS=$as_save_IFS
4007   test -z "$as_dir" && as_dir=.
4008     for ac_prog in grep ggrep; do
4009     for ac_exec_ext in '' $ac_executable_extensions; do
4010       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4011       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4012 # Check for GNU ac_path_GREP and select it if it is found.
4013   # Check for GNU $ac_path_GREP
4014 case `"$ac_path_GREP" --version 2>&1` in
4015 *GNU*)
4016   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4017 *)
4018   ac_count=0
4019   $as_echo_n 0123456789 >"conftest.in"
4020   while :
4021   do
4022     cat "conftest.in" "conftest.in" >"conftest.tmp"
4023     mv "conftest.tmp" "conftest.in"
4024     cp "conftest.in" "conftest.nl"
4025     $as_echo 'GREP' >> "conftest.nl"
4026     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4027     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4028     as_fn_arith $ac_count + 1 && ac_count=$as_val
4029     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4030       # Best one so far, save it but keep looking for a better one
4031       ac_cv_path_GREP="$ac_path_GREP"
4032       ac_path_GREP_max=$ac_count
4033     fi
4034     # 10*(2^10) chars as input seems more than enough
4035     test $ac_count -gt 10 && break
4036   done
4037   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4038 esac
4040       $ac_path_GREP_found && break 3
4041     done
4042   done
4043   done
4044 IFS=$as_save_IFS
4045   if test -z "$ac_cv_path_GREP"; then
4046     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4047   fi
4048 else
4049   ac_cv_path_GREP=$GREP
4050 fi
4052 fi
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4054 $as_echo "$ac_cv_path_GREP" >&6; }
4055  GREP="$ac_cv_path_GREP"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4059 $as_echo_n "checking for egrep... " >&6; }
4060 if ${ac_cv_path_EGREP+:} false; then :
4061   $as_echo_n "(cached) " >&6
4062 else
4063   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4064    then ac_cv_path_EGREP="$GREP -E"
4065    else
4066      if test -z "$EGREP"; then
4067   ac_path_EGREP_found=false
4068   # Loop through the user's path and test for each of PROGNAME-LIST
4069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4071 do
4072   IFS=$as_save_IFS
4073   test -z "$as_dir" && as_dir=.
4074     for ac_prog in egrep; do
4075     for ac_exec_ext in '' $ac_executable_extensions; do
4076       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4077       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4078 # Check for GNU ac_path_EGREP and select it if it is found.
4079   # Check for GNU $ac_path_EGREP
4080 case `"$ac_path_EGREP" --version 2>&1` in
4081 *GNU*)
4082   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4083 *)
4084   ac_count=0
4085   $as_echo_n 0123456789 >"conftest.in"
4086   while :
4087   do
4088     cat "conftest.in" "conftest.in" >"conftest.tmp"
4089     mv "conftest.tmp" "conftest.in"
4090     cp "conftest.in" "conftest.nl"
4091     $as_echo 'EGREP' >> "conftest.nl"
4092     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4093     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4094     as_fn_arith $ac_count + 1 && ac_count=$as_val
4095     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4096       # Best one so far, save it but keep looking for a better one
4097       ac_cv_path_EGREP="$ac_path_EGREP"
4098       ac_path_EGREP_max=$ac_count
4099     fi
4100     # 10*(2^10) chars as input seems more than enough
4101     test $ac_count -gt 10 && break
4102   done
4103   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4104 esac
4106       $ac_path_EGREP_found && break 3
4107     done
4108   done
4109   done
4110 IFS=$as_save_IFS
4111   if test -z "$ac_cv_path_EGREP"; then
4112     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4113   fi
4114 else
4115   ac_cv_path_EGREP=$EGREP
4116 fi
4118    fi
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4121 $as_echo "$ac_cv_path_EGREP" >&6; }
4122  EGREP="$ac_cv_path_EGREP"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4126 $as_echo_n "checking for fgrep... " >&6; }
4127 if ${ac_cv_path_FGREP+:} false; then :
4128   $as_echo_n "(cached) " >&6
4129 else
4130   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4131    then ac_cv_path_FGREP="$GREP -F"
4132    else
4133      if test -z "$FGREP"; then
4134   ac_path_FGREP_found=false
4135   # Loop through the user's path and test for each of PROGNAME-LIST
4136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138 do
4139   IFS=$as_save_IFS
4140   test -z "$as_dir" && as_dir=.
4141     for ac_prog in fgrep; do
4142     for ac_exec_ext in '' $ac_executable_extensions; do
4143       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4144       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4145 # Check for GNU ac_path_FGREP and select it if it is found.
4146   # Check for GNU $ac_path_FGREP
4147 case `"$ac_path_FGREP" --version 2>&1` in
4148 *GNU*)
4149   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4150 *)
4151   ac_count=0
4152   $as_echo_n 0123456789 >"conftest.in"
4153   while :
4154   do
4155     cat "conftest.in" "conftest.in" >"conftest.tmp"
4156     mv "conftest.tmp" "conftest.in"
4157     cp "conftest.in" "conftest.nl"
4158     $as_echo 'FGREP' >> "conftest.nl"
4159     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161     as_fn_arith $ac_count + 1 && ac_count=$as_val
4162     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4163       # Best one so far, save it but keep looking for a better one
4164       ac_cv_path_FGREP="$ac_path_FGREP"
4165       ac_path_FGREP_max=$ac_count
4166     fi
4167     # 10*(2^10) chars as input seems more than enough
4168     test $ac_count -gt 10 && break
4169   done
4170   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171 esac
4173       $ac_path_FGREP_found && break 3
4174     done
4175   done
4176   done
4177 IFS=$as_save_IFS
4178   if test -z "$ac_cv_path_FGREP"; then
4179     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180   fi
4181 else
4182   ac_cv_path_FGREP=$FGREP
4183 fi
4185    fi
4186 fi
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4188 $as_echo "$ac_cv_path_FGREP" >&6; }
4189  FGREP="$ac_cv_path_FGREP"
4192 test -z "$GREP" && GREP=grep
4212 # Check whether --with-gnu-ld was given.
4213 if test "${with_gnu_ld+set}" = set; then :
4214   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4215 else
4216   with_gnu_ld=no
4217 fi
4219 ac_prog=ld
4220 if test "$GCC" = yes; then
4221   # Check if gcc -print-prog-name=ld gives a path.
4222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4223 $as_echo_n "checking for ld used by $CC... " >&6; }
4224   case $host in
4225   *-*-mingw*)
4226     # gcc leaves a trailing carriage return which upsets mingw
4227     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4228   *)
4229     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4230   esac
4231   case $ac_prog in
4232     # Accept absolute paths.
4233     [\\/]* | ?:[\\/]*)
4234       re_direlt='/[^/][^/]*/\.\./'
4235       # Canonicalize the pathname of ld
4236       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4237       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4238         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4239       done
4240       test -z "$LD" && LD="$ac_prog"
4241       ;;
4242   "")
4243     # If it fails, then pretend we aren't using GCC.
4244     ac_prog=ld
4245     ;;
4246   *)
4247     # If it is relative, then search for the first ld in PATH.
4248     with_gnu_ld=unknown
4249     ;;
4250   esac
4251 elif test "$with_gnu_ld" = yes; then
4252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4253 $as_echo_n "checking for GNU ld... " >&6; }
4254 else
4255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4256 $as_echo_n "checking for non-GNU ld... " >&6; }
4257 fi
4258 if ${lt_cv_path_LD+:} false; then :
4259   $as_echo_n "(cached) " >&6
4260 else
4261   if test -z "$LD"; then
4262   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4263   for ac_dir in $PATH; do
4264     IFS="$lt_save_ifs"
4265     test -z "$ac_dir" && ac_dir=.
4266     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4267       lt_cv_path_LD="$ac_dir/$ac_prog"
4268       # Check to see if the program is GNU ld.  I'd rather use --version,
4269       # but apparently some variants of GNU ld only accept -v.
4270       # Break only if it was the GNU/non-GNU ld that we prefer.
4271       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4272       *GNU* | *'with BFD'*)
4273         test "$with_gnu_ld" != no && break
4274         ;;
4275       *)
4276         test "$with_gnu_ld" != yes && break
4277         ;;
4278       esac
4279     fi
4280   done
4281   IFS="$lt_save_ifs"
4282 else
4283   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4284 fi
4285 fi
4287 LD="$lt_cv_path_LD"
4288 if test -n "$LD"; then
4289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4290 $as_echo "$LD" >&6; }
4291 else
4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4294 fi
4295 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4297 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4298 if ${lt_cv_prog_gnu_ld+:} false; then :
4299   $as_echo_n "(cached) " >&6
4300 else
4301   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4302 case `$LD -v 2>&1 </dev/null` in
4303 *GNU* | *'with BFD'*)
4304   lt_cv_prog_gnu_ld=yes
4305   ;;
4306 *)
4307   lt_cv_prog_gnu_ld=no
4308   ;;
4309 esac
4310 fi
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4312 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4313 with_gnu_ld=$lt_cv_prog_gnu_ld
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4324 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4325 if ${lt_cv_path_NM+:} false; then :
4326   $as_echo_n "(cached) " >&6
4327 else
4328   if test -n "$NM"; then
4329   # Let the user override the test.
4330   lt_cv_path_NM="$NM"
4331 else
4332   lt_nm_to_check="${ac_tool_prefix}nm"
4333   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4334     lt_nm_to_check="$lt_nm_to_check nm"
4335   fi
4336   for lt_tmp_nm in $lt_nm_to_check; do
4337     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4338     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4339       IFS="$lt_save_ifs"
4340       test -z "$ac_dir" && ac_dir=.
4341       tmp_nm="$ac_dir/$lt_tmp_nm"
4342       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4343         # Check to see if the nm accepts a BSD-compat flag.
4344         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4345         #   nm: unknown option "B" ignored
4346         # Tru64's nm complains that /dev/null is an invalid object file
4347         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4348         */dev/null* | *'Invalid file or object type'*)
4349           lt_cv_path_NM="$tmp_nm -B"
4350           break
4351           ;;
4352         *)
4353           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4354           */dev/null*)
4355             lt_cv_path_NM="$tmp_nm -p"
4356             break
4357             ;;
4358           *)
4359             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4360             continue # so that we can try to find one that supports BSD flags
4361             ;;
4362           esac
4363           ;;
4364         esac
4365       fi
4366     done
4367     IFS="$lt_save_ifs"
4368   done
4369   : ${lt_cv_path_NM=no}
4370 fi
4371 fi
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4373 $as_echo "$lt_cv_path_NM" >&6; }
4374 if test "$lt_cv_path_NM" != "no"; then
4375   NM="$lt_cv_path_NM"
4376 else
4377   # Didn't find any BSD compatible name lister, look for dumpbin.
4378   if test -n "$DUMPBIN"; then :
4379     # Let the user override the test.
4380   else
4381     if test -n "$ac_tool_prefix"; then
4382   for ac_prog in dumpbin "link -dump"
4383   do
4384     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_DUMPBIN+:} false; then :
4389   $as_echo_n "(cached) " >&6
4390 else
4391   if test -n "$DUMPBIN"; then
4392   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4396 do
4397   IFS=$as_save_IFS
4398   test -z "$as_dir" && as_dir=.
4399     for ac_exec_ext in '' $ac_executable_extensions; do
4400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403     break 2
4404   fi
4405 done
4406   done
4407 IFS=$as_save_IFS
4409 fi
4410 fi
4411 DUMPBIN=$ac_cv_prog_DUMPBIN
4412 if test -n "$DUMPBIN"; then
4413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4414 $as_echo "$DUMPBIN" >&6; }
4415 else
4416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4418 fi
4421     test -n "$DUMPBIN" && break
4422   done
4423 fi
4424 if test -z "$DUMPBIN"; then
4425   ac_ct_DUMPBIN=$DUMPBIN
4426   for ac_prog in dumpbin "link -dump"
4427 do
4428   # Extract the first word of "$ac_prog", so it can be a program name with args.
4429 set dummy $ac_prog; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4433   $as_echo_n "(cached) " >&6
4434 else
4435   if test -n "$ac_ct_DUMPBIN"; then
4436   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4440 do
4441   IFS=$as_save_IFS
4442   test -z "$as_dir" && as_dir=.
4443     for ac_exec_ext in '' $ac_executable_extensions; do
4444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447     break 2
4448   fi
4449 done
4450   done
4451 IFS=$as_save_IFS
4453 fi
4454 fi
4455 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4456 if test -n "$ac_ct_DUMPBIN"; then
4457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4458 $as_echo "$ac_ct_DUMPBIN" >&6; }
4459 else
4460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4462 fi
4465   test -n "$ac_ct_DUMPBIN" && break
4466 done
4468   if test "x$ac_ct_DUMPBIN" = x; then
4469     DUMPBIN=":"
4470   else
4471     case $cross_compiling:$ac_tool_warned in
4472 yes:)
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4475 ac_tool_warned=yes ;;
4476 esac
4477     DUMPBIN=$ac_ct_DUMPBIN
4478   fi
4479 fi
4481     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4482     *COFF*)
4483       DUMPBIN="$DUMPBIN -symbols"
4484       ;;
4485     *)
4486       DUMPBIN=:
4487       ;;
4488     esac
4489   fi
4491   if test "$DUMPBIN" != ":"; then
4492     NM="$DUMPBIN"
4493   fi
4494 fi
4495 test -z "$NM" && NM=nm
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4503 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4504 if ${lt_cv_nm_interface+:} false; then :
4505   $as_echo_n "(cached) " >&6
4506 else
4507   lt_cv_nm_interface="BSD nm"
4508   echo "int some_variable = 0;" > conftest.$ac_ext
4509   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4510   (eval "$ac_compile" 2>conftest.err)
4511   cat conftest.err >&5
4512   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4513   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4514   cat conftest.err >&5
4515   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4516   cat conftest.out >&5
4517   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4518     lt_cv_nm_interface="MS dumpbin"
4519   fi
4520   rm -f conftest*
4521 fi
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4523 $as_echo "$lt_cv_nm_interface" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4526 $as_echo_n "checking whether ln -s works... " >&6; }
4527 LN_S=$as_ln_s
4528 if test "$LN_S" = "ln -s"; then
4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4530 $as_echo "yes" >&6; }
4531 else
4532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4533 $as_echo "no, using $LN_S" >&6; }
4534 fi
4536 # find the maximum length of command line arguments
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4538 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4539 if ${lt_cv_sys_max_cmd_len+:} false; then :
4540   $as_echo_n "(cached) " >&6
4541 else
4542     i=0
4543   teststring="ABCD"
4545   case $build_os in
4546   msdosdjgpp*)
4547     # On DJGPP, this test can blow up pretty badly due to problems in libc
4548     # (any single argument exceeding 2000 bytes causes a buffer overrun
4549     # during glob expansion).  Even if it were fixed, the result of this
4550     # check would be larger than it should be.
4551     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4552     ;;
4554   gnu*)
4555     # Under GNU Hurd, this test is not required because there is
4556     # no limit to the length of command line arguments.
4557     # Libtool will interpret -1 as no limit whatsoever
4558     lt_cv_sys_max_cmd_len=-1;
4559     ;;
4561   cygwin* | mingw* | cegcc*)
4562     # On Win9x/ME, this test blows up -- it succeeds, but takes
4563     # about 5 minutes as the teststring grows exponentially.
4564     # Worse, since 9x/ME are not pre-emptively multitasking,
4565     # you end up with a "frozen" computer, even though with patience
4566     # the test eventually succeeds (with a max line length of 256k).
4567     # Instead, let's just punt: use the minimum linelength reported by
4568     # all of the supported platforms: 8192 (on NT/2K/XP).
4569     lt_cv_sys_max_cmd_len=8192;
4570     ;;
4572   mint*)
4573     # On MiNT this can take a long time and run out of memory.
4574     lt_cv_sys_max_cmd_len=8192;
4575     ;;
4577   amigaos*)
4578     # On AmigaOS with pdksh, this test takes hours, literally.
4579     # So we just punt and use a minimum line length of 8192.
4580     lt_cv_sys_max_cmd_len=8192;
4581     ;;
4583   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4584     # This has been around since 386BSD, at least.  Likely further.
4585     if test -x /sbin/sysctl; then
4586       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4587     elif test -x /usr/sbin/sysctl; then
4588       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4589     else
4590       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4591     fi
4592     # And add a safety zone
4593     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4594     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4595     ;;
4597   interix*)
4598     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4599     lt_cv_sys_max_cmd_len=196608
4600     ;;
4602   os2*)
4603     # The test takes a long time on OS/2.
4604     lt_cv_sys_max_cmd_len=8192
4605     ;;
4607   osf*)
4608     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4609     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4610     # nice to cause kernel panics so lets avoid the loop below.
4611     # First set a reasonable default.
4612     lt_cv_sys_max_cmd_len=16384
4613     #
4614     if test -x /sbin/sysconfig; then
4615       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4616         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4617       esac
4618     fi
4619     ;;
4620   sco3.2v5*)
4621     lt_cv_sys_max_cmd_len=102400
4622     ;;
4623   sysv5* | sco5v6* | sysv4.2uw2*)
4624     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4625     if test -n "$kargmax"; then
4626       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4627     else
4628       lt_cv_sys_max_cmd_len=32768
4629     fi
4630     ;;
4631   *)
4632     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4633     if test -n "$lt_cv_sys_max_cmd_len"; then
4634       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4635       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4636     else
4637       # Make teststring a little bigger before we do anything with it.
4638       # a 1K string should be a reasonable start.
4639       for i in 1 2 3 4 5 6 7 8 ; do
4640         teststring=$teststring$teststring
4641       done
4642       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4643       # If test is not a shell built-in, we'll probably end up computing a
4644       # maximum length that is only half of the actual maximum length, but
4645       # we can't tell.
4646       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4647                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4648               test $i != 17 # 1/2 MB should be enough
4649       do
4650         i=`expr $i + 1`
4651         teststring=$teststring$teststring
4652       done
4653       # Only check the string length outside the loop.
4654       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4655       teststring=
4656       # Add a significant safety factor because C++ compilers can tack on
4657       # massive amounts of additional arguments before passing them to the
4658       # linker.  It appears as though 1/2 is a usable value.
4659       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4660     fi
4661     ;;
4662   esac
4664 fi
4666 if test -n $lt_cv_sys_max_cmd_len ; then
4667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4668 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4669 else
4670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4671 $as_echo "none" >&6; }
4672 fi
4673 max_cmd_len=$lt_cv_sys_max_cmd_len
4680 : ${CP="cp -f"}
4681 : ${MV="mv -f"}
4682 : ${RM="rm -f"}
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4685 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4686 # Try some XSI features
4687 xsi_shell=no
4688 ( _lt_dummy="a/b/c"
4689   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4690       = c,a/b,b/c, \
4691     && eval 'test $(( 1 + 1 )) -eq 2 \
4692     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4693   && xsi_shell=yes
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4695 $as_echo "$xsi_shell" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4699 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4700 lt_shell_append=no
4701 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4702     >/dev/null 2>&1 \
4703   && lt_shell_append=yes
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4705 $as_echo "$lt_shell_append" >&6; }
4708 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4709   lt_unset=unset
4710 else
4711   lt_unset=false
4712 fi
4718 # test EBCDIC or ASCII
4719 case `echo X|tr X '\101'` in
4720  A) # ASCII based system
4721     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4722   lt_SP2NL='tr \040 \012'
4723   lt_NL2SP='tr \015\012 \040\040'
4724   ;;
4725  *) # EBCDIC based system
4726   lt_SP2NL='tr \100 \n'
4727   lt_NL2SP='tr \r\n \100\100'
4728   ;;
4729 esac
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4740 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4741 if ${lt_cv_to_host_file_cmd+:} false; then :
4742   $as_echo_n "(cached) " >&6
4743 else
4744   case $host in
4745   *-*-mingw* )
4746     case $build in
4747       *-*-mingw* ) # actually msys
4748         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4749         ;;
4750       *-*-cygwin* )
4751         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4752         ;;
4753       * ) # otherwise, assume *nix
4754         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4755         ;;
4756     esac
4757     ;;
4758   *-*-cygwin* )
4759     case $build in
4760       *-*-mingw* ) # actually msys
4761         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4762         ;;
4763       *-*-cygwin* )
4764         lt_cv_to_host_file_cmd=func_convert_file_noop
4765         ;;
4766       * ) # otherwise, assume *nix
4767         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4768         ;;
4769     esac
4770     ;;
4771   * ) # unhandled hosts (and "normal" native builds)
4772     lt_cv_to_host_file_cmd=func_convert_file_noop
4773     ;;
4774 esac
4776 fi
4778 to_host_file_cmd=$lt_cv_to_host_file_cmd
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4780 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4787 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4788 if ${lt_cv_to_tool_file_cmd+:} false; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   #assume ordinary cross tools, or native build.
4792 lt_cv_to_tool_file_cmd=func_convert_file_noop
4793 case $host in
4794   *-*-mingw* )
4795     case $build in
4796       *-*-mingw* ) # actually msys
4797         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4798         ;;
4799     esac
4800     ;;
4801 esac
4803 fi
4805 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4807 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4814 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4815 if ${lt_cv_ld_reload_flag+:} false; then :
4816   $as_echo_n "(cached) " >&6
4817 else
4818   lt_cv_ld_reload_flag='-r'
4819 fi
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4821 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4822 reload_flag=$lt_cv_ld_reload_flag
4823 case $reload_flag in
4824 "" | " "*) ;;
4825 *) reload_flag=" $reload_flag" ;;
4826 esac
4827 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4828 case $host_os in
4829   cygwin* | mingw* | pw32* | cegcc*)
4830     if test "$GCC" != yes; then
4831       reload_cmds=false
4832     fi
4833     ;;
4834   darwin*)
4835     if test "$GCC" = yes; then
4836       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4837     else
4838       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4839     fi
4840     ;;
4841 esac
4851 if test -n "$ac_tool_prefix"; then
4852   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4853 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_OBJDUMP+:} false; then :
4857   $as_echo_n "(cached) " >&6
4858 else
4859   if test -n "$OBJDUMP"; then
4860   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4861 else
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 for as_dir in $PATH
4864 do
4865   IFS=$as_save_IFS
4866   test -z "$as_dir" && as_dir=.
4867     for ac_exec_ext in '' $ac_executable_extensions; do
4868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871     break 2
4872   fi
4873 done
4874   done
4875 IFS=$as_save_IFS
4877 fi
4878 fi
4879 OBJDUMP=$ac_cv_prog_OBJDUMP
4880 if test -n "$OBJDUMP"; then
4881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4882 $as_echo "$OBJDUMP" >&6; }
4883 else
4884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 fi
4889 fi
4890 if test -z "$ac_cv_prog_OBJDUMP"; then
4891   ac_ct_OBJDUMP=$OBJDUMP
4892   # Extract the first word of "objdump", so it can be a program name with args.
4893 set dummy objdump; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4897   $as_echo_n "(cached) " >&6
4898 else
4899   if test -n "$ac_ct_OBJDUMP"; then
4900   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4904 do
4905   IFS=$as_save_IFS
4906   test -z "$as_dir" && as_dir=.
4907     for ac_exec_ext in '' $ac_executable_extensions; do
4908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4909     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911     break 2
4912   fi
4913 done
4914   done
4915 IFS=$as_save_IFS
4917 fi
4918 fi
4919 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4920 if test -n "$ac_ct_OBJDUMP"; then
4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4922 $as_echo "$ac_ct_OBJDUMP" >&6; }
4923 else
4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4926 fi
4928   if test "x$ac_ct_OBJDUMP" = x; then
4929     OBJDUMP="false"
4930   else
4931     case $cross_compiling:$ac_tool_warned in
4932 yes:)
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4936 esac
4937     OBJDUMP=$ac_ct_OBJDUMP
4938   fi
4939 else
4940   OBJDUMP="$ac_cv_prog_OBJDUMP"
4941 fi
4943 test -z "$OBJDUMP" && OBJDUMP=objdump
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4954 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4955 if ${lt_cv_deplibs_check_method+:} false; then :
4956   $as_echo_n "(cached) " >&6
4957 else
4958   lt_cv_file_magic_cmd='$MAGIC_CMD'
4959 lt_cv_file_magic_test_file=
4960 lt_cv_deplibs_check_method='unknown'
4961 # Need to set the preceding variable on all platforms that support
4962 # interlibrary dependencies.
4963 # 'none' -- dependencies not supported.
4964 # `unknown' -- same as none, but documents that we really don't know.
4965 # 'pass_all' -- all dependencies passed with no checks.
4966 # 'test_compile' -- check by making test program.
4967 # 'file_magic [[regex]]' -- check by looking for files in library path
4968 # which responds to the $file_magic_cmd with a given extended regex.
4969 # If you have `file' or equivalent on your system and you're not sure
4970 # whether `pass_all' will *always* work, you probably want this one.
4972 case $host_os in
4973 aix[4-9]*)
4974   lt_cv_deplibs_check_method=pass_all
4975   ;;
4977 beos*)
4978   lt_cv_deplibs_check_method=pass_all
4979   ;;
4981 bsdi[45]*)
4982   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4983   lt_cv_file_magic_cmd='/usr/bin/file -L'
4984   lt_cv_file_magic_test_file=/shlib/libc.so
4985   ;;
4987 cygwin*)
4988   # func_win32_libid is a shell function defined in ltmain.sh
4989   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4990   lt_cv_file_magic_cmd='func_win32_libid'
4991   ;;
4993 mingw* | pw32*)
4994   # Base MSYS/MinGW do not provide the 'file' command needed by
4995   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4996   # unless we find 'file', for example because we are cross-compiling.
4997   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4998   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4999     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5000     lt_cv_file_magic_cmd='func_win32_libid'
5001   else
5002     # Keep this pattern in sync with the one in func_win32_libid.
5003     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5004     lt_cv_file_magic_cmd='$OBJDUMP -f'
5005   fi
5006   ;;
5008 cegcc*)
5009   # use the weaker test based on 'objdump'. See mingw*.
5010   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5011   lt_cv_file_magic_cmd='$OBJDUMP -f'
5012   ;;
5014 darwin* | rhapsody*)
5015   lt_cv_deplibs_check_method=pass_all
5016   ;;
5018 freebsd* | dragonfly*)
5019   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5020     case $host_cpu in
5021     i*86 )
5022       # Not sure whether the presence of OpenBSD here was a mistake.
5023       # Let's accept both of them until this is cleared up.
5024       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5025       lt_cv_file_magic_cmd=/usr/bin/file
5026       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5027       ;;
5028     esac
5029   else
5030     lt_cv_deplibs_check_method=pass_all
5031   fi
5032   ;;
5034 gnu*)
5035   lt_cv_deplibs_check_method=pass_all
5036   ;;
5038 haiku*)
5039   lt_cv_deplibs_check_method=pass_all
5040   ;;
5042 hpux10.20* | hpux11*)
5043   lt_cv_file_magic_cmd=/usr/bin/file
5044   case $host_cpu in
5045   ia64*)
5046     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5047     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5048     ;;
5049   hppa*64*)
5050     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]'
5051     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5052     ;;
5053   *)
5054     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5055     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5056     ;;
5057   esac
5058   ;;
5060 interix[3-9]*)
5061   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5062   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5063   ;;
5065 irix5* | irix6* | nonstopux*)
5066   case $LD in
5067   *-32|*"-32 ") libmagic=32-bit;;
5068   *-n32|*"-n32 ") libmagic=N32;;
5069   *-64|*"-64 ") libmagic=64-bit;;
5070   *) libmagic=never-match;;
5071   esac
5072   lt_cv_deplibs_check_method=pass_all
5073   ;;
5075 # This must be glibc/ELF.
5076 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5077   lt_cv_deplibs_check_method=pass_all
5078   ;;
5080 netbsd* | netbsdelf*-gnu)
5081   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5082     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5083   else
5084     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5085   fi
5086   ;;
5088 newos6*)
5089   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5090   lt_cv_file_magic_cmd=/usr/bin/file
5091   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5092   ;;
5094 *nto* | *qnx*)
5095   lt_cv_deplibs_check_method=pass_all
5096   ;;
5098 openbsd*)
5099   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5100     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5101   else
5102     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5103   fi
5104   ;;
5106 osf3* | osf4* | osf5*)
5107   lt_cv_deplibs_check_method=pass_all
5108   ;;
5110 rdos*)
5111   lt_cv_deplibs_check_method=pass_all
5112   ;;
5114 solaris*)
5115   lt_cv_deplibs_check_method=pass_all
5116   ;;
5118 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5119   lt_cv_deplibs_check_method=pass_all
5120   ;;
5122 sysv4 | sysv4.3*)
5123   case $host_vendor in
5124   motorola)
5125     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]'
5126     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5127     ;;
5128   ncr)
5129     lt_cv_deplibs_check_method=pass_all
5130     ;;
5131   sequent)
5132     lt_cv_file_magic_cmd='/bin/file'
5133     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5134     ;;
5135   sni)
5136     lt_cv_file_magic_cmd='/bin/file'
5137     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5138     lt_cv_file_magic_test_file=/lib/libc.so
5139     ;;
5140   siemens)
5141     lt_cv_deplibs_check_method=pass_all
5142     ;;
5143   pc)
5144     lt_cv_deplibs_check_method=pass_all
5145     ;;
5146   esac
5147   ;;
5149 tpf*)
5150   lt_cv_deplibs_check_method=pass_all
5151   ;;
5152 esac
5154 fi
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5156 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5158 file_magic_glob=
5159 want_nocaseglob=no
5160 if test "$build" = "$host"; then
5161   case $host_os in
5162   mingw* | pw32*)
5163     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5164       want_nocaseglob=yes
5165     else
5166       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5167     fi
5168     ;;
5169   esac
5170 fi
5172 file_magic_cmd=$lt_cv_file_magic_cmd
5173 deplibs_check_method=$lt_cv_deplibs_check_method
5174 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5197 if test -n "$ac_tool_prefix"; then
5198   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_DLLTOOL+:} false; then :
5203   $as_echo_n "(cached) " >&6
5204 else
5205   if test -n "$DLLTOOL"; then
5206   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5210 do
5211   IFS=$as_save_IFS
5212   test -z "$as_dir" && as_dir=.
5213     for ac_exec_ext in '' $ac_executable_extensions; do
5214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217     break 2
5218   fi
5219 done
5220   done
5221 IFS=$as_save_IFS
5223 fi
5224 fi
5225 DLLTOOL=$ac_cv_prog_DLLTOOL
5226 if test -n "$DLLTOOL"; then
5227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5228 $as_echo "$DLLTOOL" >&6; }
5229 else
5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5232 fi
5235 fi
5236 if test -z "$ac_cv_prog_DLLTOOL"; then
5237   ac_ct_DLLTOOL=$DLLTOOL
5238   # Extract the first word of "dlltool", so it can be a program name with args.
5239 set dummy dlltool; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5243   $as_echo_n "(cached) " >&6
5244 else
5245   if test -n "$ac_ct_DLLTOOL"; then
5246   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5250 do
5251   IFS=$as_save_IFS
5252   test -z "$as_dir" && as_dir=.
5253     for ac_exec_ext in '' $ac_executable_extensions; do
5254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257     break 2
5258   fi
5259 done
5260   done
5261 IFS=$as_save_IFS
5263 fi
5264 fi
5265 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5266 if test -n "$ac_ct_DLLTOOL"; then
5267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5268 $as_echo "$ac_ct_DLLTOOL" >&6; }
5269 else
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5272 fi
5274   if test "x$ac_ct_DLLTOOL" = x; then
5275     DLLTOOL="false"
5276   else
5277     case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283     DLLTOOL=$ac_ct_DLLTOOL
5284   fi
5285 else
5286   DLLTOOL="$ac_cv_prog_DLLTOOL"
5287 fi
5289 test -z "$DLLTOOL" && DLLTOOL=dlltool
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5301 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5302 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5303   $as_echo_n "(cached) " >&6
5304 else
5305   lt_cv_sharedlib_from_linklib_cmd='unknown'
5307 case $host_os in
5308 cygwin* | mingw* | pw32* | cegcc*)
5309   # two different shell functions defined in ltmain.sh
5310   # decide which to use based on capabilities of $DLLTOOL
5311   case `$DLLTOOL --help 2>&1` in
5312   *--identify-strict*)
5313     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5314     ;;
5315   *)
5316     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5317     ;;
5318   esac
5319   ;;
5320 *)
5321   # fallback: assume linklib IS sharedlib
5322   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5323   ;;
5324 esac
5326 fi
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5328 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5329 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5330 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5339 if test -n "$ac_tool_prefix"; then
5340   for ac_prog in ar
5341   do
5342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_AR+:} false; then :
5347   $as_echo_n "(cached) " >&6
5348 else
5349   if test -n "$AR"; then
5350   ac_cv_prog_AR="$AR" # Let the user override the test.
5351 else
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH
5354 do
5355   IFS=$as_save_IFS
5356   test -z "$as_dir" && as_dir=.
5357     for ac_exec_ext in '' $ac_executable_extensions; do
5358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5359     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361     break 2
5362   fi
5363 done
5364   done
5365 IFS=$as_save_IFS
5367 fi
5368 fi
5369 AR=$ac_cv_prog_AR
5370 if test -n "$AR"; then
5371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5372 $as_echo "$AR" >&6; }
5373 else
5374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5376 fi
5379     test -n "$AR" && break
5380   done
5381 fi
5382 if test -z "$AR"; then
5383   ac_ct_AR=$AR
5384   for ac_prog in ar
5385 do
5386   # Extract the first word of "$ac_prog", so it can be a program name with args.
5387 set dummy $ac_prog; ac_word=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5391   $as_echo_n "(cached) " >&6
5392 else
5393   if test -n "$ac_ct_AR"; then
5394   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5395 else
5396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 for as_dir in $PATH
5398 do
5399   IFS=$as_save_IFS
5400   test -z "$as_dir" && as_dir=.
5401     for ac_exec_ext in '' $ac_executable_extensions; do
5402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403     ac_cv_prog_ac_ct_AR="$ac_prog"
5404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5405     break 2
5406   fi
5407 done
5408   done
5409 IFS=$as_save_IFS
5411 fi
5412 fi
5413 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5414 if test -n "$ac_ct_AR"; then
5415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5416 $as_echo "$ac_ct_AR" >&6; }
5417 else
5418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5420 fi
5423   test -n "$ac_ct_AR" && break
5424 done
5426   if test "x$ac_ct_AR" = x; then
5427     AR="false"
5428   else
5429     case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435     AR=$ac_ct_AR
5436   fi
5437 fi
5439 : ${AR=ar}
5440 : ${AR_FLAGS=cru}
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5453 $as_echo_n "checking for archiver @FILE support... " >&6; }
5454 if ${lt_cv_ar_at_file+:} false; then :
5455   $as_echo_n "(cached) " >&6
5456 else
5457   lt_cv_ar_at_file=no
5458    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h.  */
5461 int
5462 main ()
5465   ;
5466   return 0;
5468 _ACEOF
5469 if ac_fn_c_try_compile "$LINENO"; then :
5470   echo conftest.$ac_objext > conftest.lst
5471       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5472       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5473   (eval $lt_ar_try) 2>&5
5474   ac_status=$?
5475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5476   test $ac_status = 0; }
5477       if test "$ac_status" -eq 0; then
5478         # Ensure the archiver fails upon bogus file names.
5479         rm -f conftest.$ac_objext libconftest.a
5480         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5481   (eval $lt_ar_try) 2>&5
5482   ac_status=$?
5483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5484   test $ac_status = 0; }
5485         if test "$ac_status" -ne 0; then
5486           lt_cv_ar_at_file=@
5487         fi
5488       fi
5489       rm -f conftest.* libconftest.a
5491 fi
5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494 fi
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5496 $as_echo "$lt_cv_ar_at_file" >&6; }
5498 if test "x$lt_cv_ar_at_file" = xno; then
5499   archiver_list_spec=
5500 else
5501   archiver_list_spec=$lt_cv_ar_at_file
5502 fi
5510 if test -n "$ac_tool_prefix"; then
5511   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5512 set dummy ${ac_tool_prefix}strip; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_STRIP+:} false; then :
5516   $as_echo_n "(cached) " >&6
5517 else
5518   if test -n "$STRIP"; then
5519   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5523 do
5524   IFS=$as_save_IFS
5525   test -z "$as_dir" && as_dir=.
5526     for ac_exec_ext in '' $ac_executable_extensions; do
5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5528     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530     break 2
5531   fi
5532 done
5533   done
5534 IFS=$as_save_IFS
5536 fi
5537 fi
5538 STRIP=$ac_cv_prog_STRIP
5539 if test -n "$STRIP"; then
5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5541 $as_echo "$STRIP" >&6; }
5542 else
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545 fi
5548 fi
5549 if test -z "$ac_cv_prog_STRIP"; then
5550   ac_ct_STRIP=$STRIP
5551   # Extract the first word of "strip", so it can be a program name with args.
5552 set dummy strip; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5556   $as_echo_n "(cached) " >&6
5557 else
5558   if test -n "$ac_ct_STRIP"; then
5559   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5563 do
5564   IFS=$as_save_IFS
5565   test -z "$as_dir" && as_dir=.
5566     for ac_exec_ext in '' $ac_executable_extensions; do
5567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568     ac_cv_prog_ac_ct_STRIP="strip"
5569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570     break 2
5571   fi
5572 done
5573   done
5574 IFS=$as_save_IFS
5576 fi
5577 fi
5578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5579 if test -n "$ac_ct_STRIP"; then
5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5581 $as_echo "$ac_ct_STRIP" >&6; }
5582 else
5583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5585 fi
5587   if test "x$ac_ct_STRIP" = x; then
5588     STRIP=":"
5589   else
5590     case $cross_compiling:$ac_tool_warned in
5591 yes:)
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned=yes ;;
5595 esac
5596     STRIP=$ac_ct_STRIP
5597   fi
5598 else
5599   STRIP="$ac_cv_prog_STRIP"
5600 fi
5602 test -z "$STRIP" && STRIP=:
5609 if test -n "$ac_tool_prefix"; then
5610   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_RANLIB+:} false; then :
5615   $as_echo_n "(cached) " >&6
5616 else
5617   if test -n "$RANLIB"; then
5618   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5622 do
5623   IFS=$as_save_IFS
5624   test -z "$as_dir" && as_dir=.
5625     for ac_exec_ext in '' $ac_executable_extensions; do
5626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629     break 2
5630   fi
5631 done
5632   done
5633 IFS=$as_save_IFS
5635 fi
5636 fi
5637 RANLIB=$ac_cv_prog_RANLIB
5638 if test -n "$RANLIB"; then
5639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5640 $as_echo "$RANLIB" >&6; }
5641 else
5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5644 fi
5647 fi
5648 if test -z "$ac_cv_prog_RANLIB"; then
5649   ac_ct_RANLIB=$RANLIB
5650   # Extract the first word of "ranlib", so it can be a program name with args.
5651 set dummy ranlib; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5655   $as_echo_n "(cached) " >&6
5656 else
5657   if test -n "$ac_ct_RANLIB"; then
5658   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5662 do
5663   IFS=$as_save_IFS
5664   test -z "$as_dir" && as_dir=.
5665     for ac_exec_ext in '' $ac_executable_extensions; do
5666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5667     ac_cv_prog_ac_ct_RANLIB="ranlib"
5668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669     break 2
5670   fi
5671 done
5672   done
5673 IFS=$as_save_IFS
5675 fi
5676 fi
5677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5678 if test -n "$ac_ct_RANLIB"; then
5679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5680 $as_echo "$ac_ct_RANLIB" >&6; }
5681 else
5682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5684 fi
5686   if test "x$ac_ct_RANLIB" = x; then
5687     RANLIB=":"
5688   else
5689     case $cross_compiling:$ac_tool_warned in
5690 yes:)
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695     RANLIB=$ac_ct_RANLIB
5696   fi
5697 else
5698   RANLIB="$ac_cv_prog_RANLIB"
5699 fi
5701 test -z "$RANLIB" && RANLIB=:
5708 # Determine commands to create old-style static archives.
5709 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5710 old_postinstall_cmds='chmod 644 $oldlib'
5711 old_postuninstall_cmds=
5713 if test -n "$RANLIB"; then
5714   case $host_os in
5715   openbsd*)
5716     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5717     ;;
5718   *)
5719     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5720     ;;
5721   esac
5722   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5723 fi
5725 case $host_os in
5726   darwin*)
5727     lock_old_archive_extraction=yes ;;
5728   *)
5729     lock_old_archive_extraction=no ;;
5730 esac
5770 # If no C compiler was specified, use CC.
5771 LTCC=${LTCC-"$CC"}
5773 # If no C compiler flags were specified, use CFLAGS.
5774 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5776 # Allow CC to be a program name with arguments.
5777 compiler=$CC
5780 # Check for command to grab the raw symbol name followed by C symbol from nm.
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5782 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5783 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5784   $as_echo_n "(cached) " >&6
5785 else
5787 # These are sane defaults that work on at least a few old systems.
5788 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5790 # Character class describing NM global symbol codes.
5791 symcode='[BCDEGRST]'
5793 # Regexp to match symbols that can be accessed directly from C.
5794 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5796 # Define system-specific variables.
5797 case $host_os in
5798 aix*)
5799   symcode='[BCDT]'
5800   ;;
5801 cygwin* | mingw* | pw32* | cegcc*)
5802   symcode='[ABCDGISTW]'
5803   ;;
5804 hpux*)
5805   if test "$host_cpu" = ia64; then
5806     symcode='[ABCDEGRST]'
5807   fi
5808   ;;
5809 irix* | nonstopux*)
5810   symcode='[BCDEGRST]'
5811   ;;
5812 osf*)
5813   symcode='[BCDEGQRST]'
5814   ;;
5815 solaris*)
5816   symcode='[BDRT]'
5817   ;;
5818 sco3.2v5*)
5819   symcode='[DT]'
5820   ;;
5821 sysv4.2uw2*)
5822   symcode='[DT]'
5823   ;;
5824 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5825   symcode='[ABDT]'
5826   ;;
5827 sysv4)
5828   symcode='[DFNSTU]'
5829   ;;
5830 esac
5832 # If we're using GNU nm, then use its standard symbol codes.
5833 case `$NM -V 2>&1` in
5834 *GNU* | *'with BFD'*)
5835   symcode='[ABCDGIRSTW]' ;;
5836 esac
5838 # Transform an extracted symbol line into a proper C declaration.
5839 # Some systems (esp. on ia64) link data and code symbols differently,
5840 # so use this general approach.
5841 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5843 # Transform an extracted symbol line into symbol name and symbol address
5844 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5845 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'"
5847 # Handle CRLF in mingw tool chain
5848 opt_cr=
5849 case $build_os in
5850 mingw*)
5851   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5852   ;;
5853 esac
5855 # Try without a prefix underscore, then with it.
5856 for ac_symprfx in "" "_"; do
5858   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5859   symxfrm="\\1 $ac_symprfx\\2 \\2"
5861   # Write the raw and C identifiers.
5862   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5863     # Fake it for dumpbin and say T for any non-static function
5864     # and D for any global variable.
5865     # Also find C++ and __fastcall symbols from MSVC++,
5866     # which start with @ or ?.
5867     lt_cv_sys_global_symbol_pipe="$AWK '"\
5868 "     {last_section=section; section=\$ 3};"\
5869 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5870 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5871 "     \$ 0!~/External *\|/{next};"\
5872 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5873 "     {if(hide[section]) next};"\
5874 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5875 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5876 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5877 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5878 "     ' prfx=^$ac_symprfx"
5879   else
5880     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5881   fi
5882   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5884   # Check to see that the pipe works correctly.
5885   pipe_works=no
5887   rm -f conftest*
5888   cat > conftest.$ac_ext <<_LT_EOF
5889 #ifdef __cplusplus
5890 extern "C" {
5891 #endif
5892 char nm_test_var;
5893 void nm_test_func(void);
5894 void nm_test_func(void){}
5895 #ifdef __cplusplus
5897 #endif
5898 int main(){nm_test_var='a';nm_test_func();return(0);}
5899 _LT_EOF
5901   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5902   (eval $ac_compile) 2>&5
5903   ac_status=$?
5904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5905   test $ac_status = 0; }; then
5906     # Now try to grab the symbols.
5907     nlist=conftest.nm
5908     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5909   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5910   ac_status=$?
5911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5912   test $ac_status = 0; } && test -s "$nlist"; then
5913       # Try sorting and uniquifying the output.
5914       if sort "$nlist" | uniq > "$nlist"T; then
5915         mv -f "$nlist"T "$nlist"
5916       else
5917         rm -f "$nlist"T
5918       fi
5920       # Make sure that we snagged all the symbols we need.
5921       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5922         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5923           cat <<_LT_EOF > conftest.$ac_ext
5924 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5925 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5926 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5927    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5928 # define LT_DLSYM_CONST
5929 #elif defined(__osf__)
5930 /* This system does not cope well with relocations in const data.  */
5931 # define LT_DLSYM_CONST
5932 #else
5933 # define LT_DLSYM_CONST const
5934 #endif
5936 #ifdef __cplusplus
5937 extern "C" {
5938 #endif
5940 _LT_EOF
5941           # Now generate the symbol file.
5942           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5944           cat <<_LT_EOF >> conftest.$ac_ext
5946 /* The mapping between symbol names and symbols.  */
5947 LT_DLSYM_CONST struct {
5948   const char *name;
5949   void       *address;
5951 lt__PROGRAM__LTX_preloaded_symbols[] =
5953   { "@PROGRAM@", (void *) 0 },
5954 _LT_EOF
5955           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5956           cat <<\_LT_EOF >> conftest.$ac_ext
5957   {0, (void *) 0}
5958 };
5960 /* This works around a problem in FreeBSD linker */
5961 #ifdef FREEBSD_WORKAROUND
5962 static const void *lt_preloaded_setup() {
5963   return lt__PROGRAM__LTX_preloaded_symbols;
5965 #endif
5967 #ifdef __cplusplus
5969 #endif
5970 _LT_EOF
5971           # Now try linking the two files.
5972           mv conftest.$ac_objext conftstm.$ac_objext
5973           lt_globsym_save_LIBS=$LIBS
5974           lt_globsym_save_CFLAGS=$CFLAGS
5975           LIBS="conftstm.$ac_objext"
5976           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5977           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5978   (eval $ac_link) 2>&5
5979   ac_status=$?
5980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5981   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5982             pipe_works=yes
5983           fi
5984           LIBS=$lt_globsym_save_LIBS
5985           CFLAGS=$lt_globsym_save_CFLAGS
5986         else
5987           echo "cannot find nm_test_func in $nlist" >&5
5988         fi
5989       else
5990         echo "cannot find nm_test_var in $nlist" >&5
5991       fi
5992     else
5993       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5994     fi
5995   else
5996     echo "$progname: failed program was:" >&5
5997     cat conftest.$ac_ext >&5
5998   fi
5999   rm -rf conftest* conftst*
6001   # Do not use the global_symbol_pipe unless it works.
6002   if test "$pipe_works" = yes; then
6003     break
6004   else
6005     lt_cv_sys_global_symbol_pipe=
6006   fi
6007 done
6009 fi
6011 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6012   lt_cv_sys_global_symbol_to_cdecl=
6013 fi
6014 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6016 $as_echo "failed" >&6; }
6017 else
6018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6019 $as_echo "ok" >&6; }
6020 fi
6022 # Response file support.
6023 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6024   nm_file_list_spec='@'
6025 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6026   nm_file_list_spec='@'
6027 fi
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6056 $as_echo_n "checking for sysroot... " >&6; }
6058 # Check whether --with-sysroot was given.
6059 if test "${with_sysroot+set}" = set; then :
6060   withval=$with_sysroot;
6061 else
6062   with_sysroot=no
6063 fi
6066 lt_sysroot=
6067 case ${with_sysroot} in #(
6068  yes)
6069    if test "$GCC" = yes; then
6070      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6071    fi
6072    ;; #(
6073  /*)
6074    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6075    ;; #(
6076  no|'')
6077    ;; #(
6078  *)
6079    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6080 $as_echo "${with_sysroot}" >&6; }
6081    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6082    ;;
6083 esac
6085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6086 $as_echo "${lt_sysroot:-no}" >&6; }
6092 # Check whether --enable-libtool-lock was given.
6093 if test "${enable_libtool_lock+set}" = set; then :
6094   enableval=$enable_libtool_lock;
6095 fi
6097 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6099 # Some flags need to be propagated to the compiler or linker for good
6100 # libtool support.
6101 case $host in
6102 ia64-*-hpux*)
6103   # Find out which ABI we are using.
6104   echo 'int i;' > conftest.$ac_ext
6105   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6106   (eval $ac_compile) 2>&5
6107   ac_status=$?
6108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6109   test $ac_status = 0; }; then
6110     case `/usr/bin/file conftest.$ac_objext` in
6111       *ELF-32*)
6112         HPUX_IA64_MODE="32"
6113         ;;
6114       *ELF-64*)
6115         HPUX_IA64_MODE="64"
6116         ;;
6117     esac
6118   fi
6119   rm -rf conftest*
6120   ;;
6121 *-*-irix6*)
6122   # Find out which ABI we are using.
6123   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6124   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6125   (eval $ac_compile) 2>&5
6126   ac_status=$?
6127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6128   test $ac_status = 0; }; then
6129     if test "$lt_cv_prog_gnu_ld" = yes; then
6130       case `/usr/bin/file conftest.$ac_objext` in
6131         *32-bit*)
6132           LD="${LD-ld} -melf32bsmip"
6133           ;;
6134         *N32*)
6135           LD="${LD-ld} -melf32bmipn32"
6136           ;;
6137         *64-bit*)
6138           LD="${LD-ld} -melf64bmip"
6139         ;;
6140       esac
6141     else
6142       case `/usr/bin/file conftest.$ac_objext` in
6143         *32-bit*)
6144           LD="${LD-ld} -32"
6145           ;;
6146         *N32*)
6147           LD="${LD-ld} -n32"
6148           ;;
6149         *64-bit*)
6150           LD="${LD-ld} -64"
6151           ;;
6152       esac
6153     fi
6154   fi
6155   rm -rf conftest*
6156   ;;
6158 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6159 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6160   # Find out which ABI we are using.
6161   echo 'int i;' > conftest.$ac_ext
6162   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6163   (eval $ac_compile) 2>&5
6164   ac_status=$?
6165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6166   test $ac_status = 0; }; then
6167     case `/usr/bin/file conftest.o` in
6168       *32-bit*)
6169         case $host in
6170           x86_64-*kfreebsd*-gnu)
6171             LD="${LD-ld} -m elf_i386_fbsd"
6172             ;;
6173           x86_64-*linux*)
6174             LD="${LD-ld} -m elf_i386"
6175             ;;
6176           ppc64-*linux*|powerpc64-*linux*)
6177             LD="${LD-ld} -m elf32ppclinux"
6178             ;;
6179           s390x-*linux*)
6180             LD="${LD-ld} -m elf_s390"
6181             ;;
6182           sparc64-*linux*)
6183             LD="${LD-ld} -m elf32_sparc"
6184             ;;
6185         esac
6186         ;;
6187       *64-bit*)
6188         case $host in
6189           x86_64-*kfreebsd*-gnu)
6190             LD="${LD-ld} -m elf_x86_64_fbsd"
6191             ;;
6192           x86_64-*linux*)
6193             LD="${LD-ld} -m elf_x86_64"
6194             ;;
6195           ppc*-*linux*|powerpc*-*linux*)
6196             LD="${LD-ld} -m elf64ppc"
6197             ;;
6198           s390*-*linux*|s390*-*tpf*)
6199             LD="${LD-ld} -m elf64_s390"
6200             ;;
6201           sparc*-*linux*)
6202             LD="${LD-ld} -m elf64_sparc"
6203             ;;
6204         esac
6205         ;;
6206     esac
6207   fi
6208   rm -rf conftest*
6209   ;;
6211 *-*-sco3.2v5*)
6212   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6213   SAVE_CFLAGS="$CFLAGS"
6214   CFLAGS="$CFLAGS -belf"
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6216 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6217 if ${lt_cv_cc_needs_belf+:} false; then :
6218   $as_echo_n "(cached) " >&6
6219 else
6220   ac_ext=c
6221 ac_cpp='$CPP $CPPFLAGS'
6222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6226      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h.  */
6229 int
6230 main ()
6233   ;
6234   return 0;
6236 _ACEOF
6237 if ac_fn_c_try_link "$LINENO"; then :
6238   lt_cv_cc_needs_belf=yes
6239 else
6240   lt_cv_cc_needs_belf=no
6241 fi
6242 rm -f core conftest.err conftest.$ac_objext \
6243     conftest$ac_exeext conftest.$ac_ext
6244      ac_ext=c
6245 ac_cpp='$CPP $CPPFLAGS'
6246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6250 fi
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6252 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6253   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6254     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6255     CFLAGS="$SAVE_CFLAGS"
6256   fi
6257   ;;
6258 *-*solaris*)
6259   # Find out which ABI we are using.
6260   echo 'int i;' > conftest.$ac_ext
6261   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6262   (eval $ac_compile) 2>&5
6263   ac_status=$?
6264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6265   test $ac_status = 0; }; then
6266     case `/usr/bin/file conftest.o` in
6267     *64-bit*)
6268       case $lt_cv_prog_gnu_ld in
6269       yes*)
6270         case $host in
6271         i?86-*-solaris*)
6272           LD="${LD-ld} -m elf_x86_64"
6273           ;;
6274         sparc*-*-solaris*)
6275           LD="${LD-ld} -m elf64_sparc"
6276           ;;
6277         esac
6278         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6279         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6280           LD="${LD-ld}_sol2"
6281         fi
6282         ;;
6283       *)
6284         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6285           LD="${LD-ld} -64"
6286         fi
6287         ;;
6288       esac
6289       ;;
6290     esac
6291   fi
6292   rm -rf conftest*
6293   ;;
6294 esac
6296 need_locks="$enable_libtool_lock"
6298 if test -n "$ac_tool_prefix"; then
6299   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6300 set dummy ${ac_tool_prefix}mt; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6304   $as_echo_n "(cached) " >&6
6305 else
6306   if test -n "$MANIFEST_TOOL"; then
6307   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312   IFS=$as_save_IFS
6313   test -z "$as_dir" && as_dir=.
6314     for ac_exec_ext in '' $ac_executable_extensions; do
6315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318     break 2
6319   fi
6320 done
6321   done
6322 IFS=$as_save_IFS
6324 fi
6325 fi
6326 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6327 if test -n "$MANIFEST_TOOL"; then
6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6329 $as_echo "$MANIFEST_TOOL" >&6; }
6330 else
6331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6333 fi
6336 fi
6337 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6338   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6339   # Extract the first word of "mt", so it can be a program name with args.
6340 set dummy mt; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6344   $as_echo_n "(cached) " >&6
6345 else
6346   if test -n "$ac_ct_MANIFEST_TOOL"; then
6347   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6348 else
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350 for as_dir in $PATH
6351 do
6352   IFS=$as_save_IFS
6353   test -z "$as_dir" && as_dir=.
6354     for ac_exec_ext in '' $ac_executable_extensions; do
6355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358     break 2
6359   fi
6360 done
6361   done
6362 IFS=$as_save_IFS
6364 fi
6365 fi
6366 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6367 if test -n "$ac_ct_MANIFEST_TOOL"; then
6368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6369 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6370 else
6371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6373 fi
6375   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6376     MANIFEST_TOOL=":"
6377   else
6378     case $cross_compiling:$ac_tool_warned in
6379 yes:)
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6382 ac_tool_warned=yes ;;
6383 esac
6384     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6385   fi
6386 else
6387   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6388 fi
6390 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6392 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6393 if ${lt_cv_path_mainfest_tool+:} false; then :
6394   $as_echo_n "(cached) " >&6
6395 else
6396   lt_cv_path_mainfest_tool=no
6397   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6398   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6399   cat conftest.err >&5
6400   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6401     lt_cv_path_mainfest_tool=yes
6402   fi
6403   rm -f conftest*
6404 fi
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6406 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6407 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6408   MANIFEST_TOOL=:
6409 fi
6416   case $host_os in
6417     rhapsody* | darwin*)
6418     if test -n "$ac_tool_prefix"; then
6419   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6424   $as_echo_n "(cached) " >&6
6425 else
6426   if test -n "$DSYMUTIL"; then
6427   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6431 do
6432   IFS=$as_save_IFS
6433   test -z "$as_dir" && as_dir=.
6434     for ac_exec_ext in '' $ac_executable_extensions; do
6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438     break 2
6439   fi
6440 done
6441   done
6442 IFS=$as_save_IFS
6444 fi
6445 fi
6446 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6447 if test -n "$DSYMUTIL"; then
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6449 $as_echo "$DSYMUTIL" >&6; }
6450 else
6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6453 fi
6456 fi
6457 if test -z "$ac_cv_prog_DSYMUTIL"; then
6458   ac_ct_DSYMUTIL=$DSYMUTIL
6459   # Extract the first word of "dsymutil", so it can be a program name with args.
6460 set dummy dsymutil; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$ac_ct_DSYMUTIL"; then
6467   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6484 fi
6485 fi
6486 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6487 if test -n "$ac_ct_DSYMUTIL"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6489 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6495   if test "x$ac_ct_DSYMUTIL" = x; then
6496     DSYMUTIL=":"
6497   else
6498     case $cross_compiling:$ac_tool_warned in
6499 yes:)
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6503 esac
6504     DSYMUTIL=$ac_ct_DSYMUTIL
6505   fi
6506 else
6507   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6508 fi
6510     if test -n "$ac_tool_prefix"; then
6511   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_NMEDIT+:} false; then :
6516   $as_echo_n "(cached) " >&6
6517 else
6518   if test -n "$NMEDIT"; then
6519   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6523 do
6524   IFS=$as_save_IFS
6525   test -z "$as_dir" && as_dir=.
6526     for ac_exec_ext in '' $ac_executable_extensions; do
6527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530     break 2
6531   fi
6532 done
6533   done
6534 IFS=$as_save_IFS
6536 fi
6537 fi
6538 NMEDIT=$ac_cv_prog_NMEDIT
6539 if test -n "$NMEDIT"; then
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6541 $as_echo "$NMEDIT" >&6; }
6542 else
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6545 fi
6548 fi
6549 if test -z "$ac_cv_prog_NMEDIT"; then
6550   ac_ct_NMEDIT=$NMEDIT
6551   # Extract the first word of "nmedit", so it can be a program name with args.
6552 set dummy nmedit; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6556   $as_echo_n "(cached) " >&6
6557 else
6558   if test -n "$ac_ct_NMEDIT"; then
6559   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6560 else
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6562 for as_dir in $PATH
6563 do
6564   IFS=$as_save_IFS
6565   test -z "$as_dir" && as_dir=.
6566     for ac_exec_ext in '' $ac_executable_extensions; do
6567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570     break 2
6571   fi
6572 done
6573   done
6574 IFS=$as_save_IFS
6576 fi
6577 fi
6578 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6579 if test -n "$ac_ct_NMEDIT"; then
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6581 $as_echo "$ac_ct_NMEDIT" >&6; }
6582 else
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6585 fi
6587   if test "x$ac_ct_NMEDIT" = x; then
6588     NMEDIT=":"
6589   else
6590     case $cross_compiling:$ac_tool_warned in
6591 yes:)
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6595 esac
6596     NMEDIT=$ac_ct_NMEDIT
6597   fi
6598 else
6599   NMEDIT="$ac_cv_prog_NMEDIT"
6600 fi
6602     if test -n "$ac_tool_prefix"; then
6603   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_LIPO+:} false; then :
6608   $as_echo_n "(cached) " >&6
6609 else
6610   if test -n "$LIPO"; then
6611   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6615 do
6616   IFS=$as_save_IFS
6617   test -z "$as_dir" && as_dir=.
6618     for ac_exec_ext in '' $ac_executable_extensions; do
6619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622     break 2
6623   fi
6624 done
6625   done
6626 IFS=$as_save_IFS
6628 fi
6629 fi
6630 LIPO=$ac_cv_prog_LIPO
6631 if test -n "$LIPO"; then
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6633 $as_echo "$LIPO" >&6; }
6634 else
6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6637 fi
6640 fi
6641 if test -z "$ac_cv_prog_LIPO"; then
6642   ac_ct_LIPO=$LIPO
6643   # Extract the first word of "lipo", so it can be a program name with args.
6644 set dummy lipo; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6648   $as_echo_n "(cached) " >&6
6649 else
6650   if test -n "$ac_ct_LIPO"; then
6651   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6655 do
6656   IFS=$as_save_IFS
6657   test -z "$as_dir" && as_dir=.
6658     for ac_exec_ext in '' $ac_executable_extensions; do
6659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660     ac_cv_prog_ac_ct_LIPO="lipo"
6661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662     break 2
6663   fi
6664 done
6665   done
6666 IFS=$as_save_IFS
6668 fi
6669 fi
6670 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6671 if test -n "$ac_ct_LIPO"; then
6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6673 $as_echo "$ac_ct_LIPO" >&6; }
6674 else
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6677 fi
6679   if test "x$ac_ct_LIPO" = x; then
6680     LIPO=":"
6681   else
6682     case $cross_compiling:$ac_tool_warned in
6683 yes:)
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6687 esac
6688     LIPO=$ac_ct_LIPO
6689   fi
6690 else
6691   LIPO="$ac_cv_prog_LIPO"
6692 fi
6694     if test -n "$ac_tool_prefix"; then
6695   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6696 set dummy ${ac_tool_prefix}otool; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_OTOOL+:} false; then :
6700   $as_echo_n "(cached) " >&6
6701 else
6702   if test -n "$OTOOL"; then
6703   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6704 else
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 for as_dir in $PATH
6707 do
6708   IFS=$as_save_IFS
6709   test -z "$as_dir" && as_dir=.
6710     for ac_exec_ext in '' $ac_executable_extensions; do
6711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6712     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714     break 2
6715   fi
6716 done
6717   done
6718 IFS=$as_save_IFS
6720 fi
6721 fi
6722 OTOOL=$ac_cv_prog_OTOOL
6723 if test -n "$OTOOL"; then
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6725 $as_echo "$OTOOL" >&6; }
6726 else
6727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6729 fi
6732 fi
6733 if test -z "$ac_cv_prog_OTOOL"; then
6734   ac_ct_OTOOL=$OTOOL
6735   # Extract the first word of "otool", so it can be a program name with args.
6736 set dummy otool; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6740   $as_echo_n "(cached) " >&6
6741 else
6742   if test -n "$ac_ct_OTOOL"; then
6743   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6747 do
6748   IFS=$as_save_IFS
6749   test -z "$as_dir" && as_dir=.
6750     for ac_exec_ext in '' $ac_executable_extensions; do
6751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752     ac_cv_prog_ac_ct_OTOOL="otool"
6753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754     break 2
6755   fi
6756 done
6757   done
6758 IFS=$as_save_IFS
6760 fi
6761 fi
6762 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6763 if test -n "$ac_ct_OTOOL"; then
6764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6765 $as_echo "$ac_ct_OTOOL" >&6; }
6766 else
6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6769 fi
6771   if test "x$ac_ct_OTOOL" = x; then
6772     OTOOL=":"
6773   else
6774     case $cross_compiling:$ac_tool_warned in
6775 yes:)
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 ac_tool_warned=yes ;;
6779 esac
6780     OTOOL=$ac_ct_OTOOL
6781   fi
6782 else
6783   OTOOL="$ac_cv_prog_OTOOL"
6784 fi
6786     if test -n "$ac_tool_prefix"; then
6787   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6788 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_OTOOL64+:} false; then :
6792   $as_echo_n "(cached) " >&6
6793 else
6794   if test -n "$OTOOL64"; then
6795   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6799 do
6800   IFS=$as_save_IFS
6801   test -z "$as_dir" && as_dir=.
6802     for ac_exec_ext in '' $ac_executable_extensions; do
6803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6804     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806     break 2
6807   fi
6808 done
6809   done
6810 IFS=$as_save_IFS
6812 fi
6813 fi
6814 OTOOL64=$ac_cv_prog_OTOOL64
6815 if test -n "$OTOOL64"; then
6816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6817 $as_echo "$OTOOL64" >&6; }
6818 else
6819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6821 fi
6824 fi
6825 if test -z "$ac_cv_prog_OTOOL64"; then
6826   ac_ct_OTOOL64=$OTOOL64
6827   # Extract the first word of "otool64", so it can be a program name with args.
6828 set dummy otool64; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6832   $as_echo_n "(cached) " >&6
6833 else
6834   if test -n "$ac_ct_OTOOL64"; then
6835   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6839 do
6840   IFS=$as_save_IFS
6841   test -z "$as_dir" && as_dir=.
6842     for ac_exec_ext in '' $ac_executable_extensions; do
6843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844     ac_cv_prog_ac_ct_OTOOL64="otool64"
6845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846     break 2
6847   fi
6848 done
6849   done
6850 IFS=$as_save_IFS
6852 fi
6853 fi
6854 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6855 if test -n "$ac_ct_OTOOL64"; then
6856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6857 $as_echo "$ac_ct_OTOOL64" >&6; }
6858 else
6859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6861 fi
6863   if test "x$ac_ct_OTOOL64" = x; then
6864     OTOOL64=":"
6865   else
6866     case $cross_compiling:$ac_tool_warned in
6867 yes:)
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6870 ac_tool_warned=yes ;;
6871 esac
6872     OTOOL64=$ac_ct_OTOOL64
6873   fi
6874 else
6875   OTOOL64="$ac_cv_prog_OTOOL64"
6876 fi
6904     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6905 $as_echo_n "checking for -single_module linker flag... " >&6; }
6906 if ${lt_cv_apple_cc_single_mod+:} false; then :
6907   $as_echo_n "(cached) " >&6
6908 else
6909   lt_cv_apple_cc_single_mod=no
6910       if test -z "${LT_MULTI_MODULE}"; then
6911         # By default we will add the -single_module flag. You can override
6912         # by either setting the environment variable LT_MULTI_MODULE
6913         # non-empty at configure time, or by adding -multi_module to the
6914         # link flags.
6915         rm -rf libconftest.dylib*
6916         echo "int foo(void){return 1;}" > conftest.c
6917         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6918 -dynamiclib -Wl,-single_module conftest.c" >&5
6919         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6920           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6921         _lt_result=$?
6922         # If there is a non-empty error log, and "single_module"
6923         # appears in it, assume the flag caused a linker warning
6924         if test -s conftest.err && $GREP single_module conftest.err; then
6925           cat conftest.err >&5
6926         # Otherwise, if the output was created with a 0 exit code from
6927         # the compiler, it worked.
6928         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6929           lt_cv_apple_cc_single_mod=yes
6930         else
6931           cat conftest.err >&5
6932         fi
6933         rm -rf libconftest.dylib*
6934         rm -f conftest.*
6935       fi
6936 fi
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6938 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6941 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6942 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6943   $as_echo_n "(cached) " >&6
6944 else
6945   lt_cv_ld_exported_symbols_list=no
6946       save_LDFLAGS=$LDFLAGS
6947       echo "_main" > conftest.sym
6948       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h.  */
6952 int
6953 main ()
6956   ;
6957   return 0;
6959 _ACEOF
6960 if ac_fn_c_try_link "$LINENO"; then :
6961   lt_cv_ld_exported_symbols_list=yes
6962 else
6963   lt_cv_ld_exported_symbols_list=no
6964 fi
6965 rm -f core conftest.err conftest.$ac_objext \
6966     conftest$ac_exeext conftest.$ac_ext
6967         LDFLAGS="$save_LDFLAGS"
6969 fi
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6971 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6973     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6974 $as_echo_n "checking for -force_load linker flag... " >&6; }
6975 if ${lt_cv_ld_force_load+:} false; then :
6976   $as_echo_n "(cached) " >&6
6977 else
6978   lt_cv_ld_force_load=no
6979       cat > conftest.c << _LT_EOF
6980 int forced_loaded() { return 2;}
6981 _LT_EOF
6982       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6983       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6984       echo "$AR cru libconftest.a conftest.o" >&5
6985       $AR cru libconftest.a conftest.o 2>&5
6986       echo "$RANLIB libconftest.a" >&5
6987       $RANLIB libconftest.a 2>&5
6988       cat > conftest.c << _LT_EOF
6989 int main() { return 0;}
6990 _LT_EOF
6991       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6992       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6993       _lt_result=$?
6994       if test -s conftest.err && $GREP force_load conftest.err; then
6995         cat conftest.err >&5
6996       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6997         lt_cv_ld_force_load=yes
6998       else
6999         cat conftest.err >&5
7000       fi
7001         rm -f conftest.err libconftest.a conftest conftest.c
7002         rm -rf conftest.dSYM
7004 fi
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7006 $as_echo "$lt_cv_ld_force_load" >&6; }
7007     case $host_os in
7008     rhapsody* | darwin1.[012])
7009       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7010     darwin1.*)
7011       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7012     darwin*) # darwin 5.x on
7013       # if running on 10.5 or later, the deployment target defaults
7014       # to the OS version, if on x86, and 10.4, the deployment
7015       # target defaults to 10.4. Don't you love it?
7016       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7017         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7018           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7019         10.[012]*)
7020           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7021         10.*)
7022           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7023       esac
7024     ;;
7025   esac
7026     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7027       _lt_dar_single_mod='$single_module'
7028     fi
7029     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7030       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7031     else
7032       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7033     fi
7034     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7035       _lt_dsymutil='~$DSYMUTIL $lib || :'
7036     else
7037       _lt_dsymutil=
7038     fi
7039     ;;
7040   esac
7042 ac_ext=c
7043 ac_cpp='$CPP $CPPFLAGS'
7044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7048 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7049 # On Suns, sometimes $CPP names a directory.
7050 if test -n "$CPP" && test -d "$CPP"; then
7051   CPP=
7052 fi
7053 if test -z "$CPP"; then
7054   if ${ac_cv_prog_CPP+:} false; then :
7055   $as_echo_n "(cached) " >&6
7056 else
7057       # Double quotes because CPP needs to be expanded
7058     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7059     do
7060       ac_preproc_ok=false
7061 for ac_c_preproc_warn_flag in '' yes
7062 do
7063   # Use a header file that comes with gcc, so configuring glibc
7064   # with a fresh cross-compiler works.
7065   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7066   # <limits.h> exists even on freestanding compilers.
7067   # On the NeXT, cc -E runs the code through the compiler's parser,
7068   # not just through cpp. "Syntax error" is here to catch this case.
7069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h.  */
7071 #ifdef __STDC__
7072 # include <limits.h>
7073 #else
7074 # include <assert.h>
7075 #endif
7076                      Syntax error
7077 _ACEOF
7078 if ac_fn_c_try_cpp "$LINENO"; then :
7080 else
7081   # Broken: fails on valid input.
7082 continue
7083 fi
7084 rm -f conftest.err conftest.i conftest.$ac_ext
7086   # OK, works on sane cases.  Now check whether nonexistent headers
7087   # can be detected and how.
7088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h.  */
7090 #include <ac_nonexistent.h>
7091 _ACEOF
7092 if ac_fn_c_try_cpp "$LINENO"; then :
7093   # Broken: success on invalid input.
7094 continue
7095 else
7096   # Passes both tests.
7097 ac_preproc_ok=:
7098 break
7099 fi
7100 rm -f conftest.err conftest.i conftest.$ac_ext
7102 done
7103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7104 rm -f conftest.i conftest.err conftest.$ac_ext
7105 if $ac_preproc_ok; then :
7106   break
7107 fi
7109     done
7110     ac_cv_prog_CPP=$CPP
7112 fi
7113   CPP=$ac_cv_prog_CPP
7114 else
7115   ac_cv_prog_CPP=$CPP
7116 fi
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7118 $as_echo "$CPP" >&6; }
7119 ac_preproc_ok=false
7120 for ac_c_preproc_warn_flag in '' yes
7121 do
7122   # Use a header file that comes with gcc, so configuring glibc
7123   # with a fresh cross-compiler works.
7124   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125   # <limits.h> exists even on freestanding compilers.
7126   # On the NeXT, cc -E runs the code through the compiler's parser,
7127   # not just through cpp. "Syntax error" is here to catch this case.
7128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7129 /* end confdefs.h.  */
7130 #ifdef __STDC__
7131 # include <limits.h>
7132 #else
7133 # include <assert.h>
7134 #endif
7135                      Syntax error
7136 _ACEOF
7137 if ac_fn_c_try_cpp "$LINENO"; then :
7139 else
7140   # Broken: fails on valid input.
7141 continue
7142 fi
7143 rm -f conftest.err conftest.i conftest.$ac_ext
7145   # OK, works on sane cases.  Now check whether nonexistent headers
7146   # can be detected and how.
7147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h.  */
7149 #include <ac_nonexistent.h>
7150 _ACEOF
7151 if ac_fn_c_try_cpp "$LINENO"; then :
7152   # Broken: success on invalid input.
7153 continue
7154 else
7155   # Passes both tests.
7156 ac_preproc_ok=:
7157 break
7158 fi
7159 rm -f conftest.err conftest.i conftest.$ac_ext
7161 done
7162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7163 rm -f conftest.i conftest.err conftest.$ac_ext
7164 if $ac_preproc_ok; then :
7166 else
7167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7169 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7170 See \`config.log' for more details" "$LINENO" 5; }
7171 fi
7173 ac_ext=c
7174 ac_cpp='$CPP $CPPFLAGS'
7175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7181 $as_echo_n "checking for ANSI C header files... " >&6; }
7182 if ${ac_cv_header_stdc+:} false; then :
7183   $as_echo_n "(cached) " >&6
7184 else
7185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h.  */
7187 #include <stdlib.h>
7188 #include <stdarg.h>
7189 #include <string.h>
7190 #include <float.h>
7192 int
7193 main ()
7196   ;
7197   return 0;
7199 _ACEOF
7200 if ac_fn_c_try_compile "$LINENO"; then :
7201   ac_cv_header_stdc=yes
7202 else
7203   ac_cv_header_stdc=no
7204 fi
7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7207 if test $ac_cv_header_stdc = yes; then
7208   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h.  */
7211 #include <string.h>
7213 _ACEOF
7214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7215   $EGREP "memchr" >/dev/null 2>&1; then :
7217 else
7218   ac_cv_header_stdc=no
7219 fi
7220 rm -f conftest*
7222 fi
7224 if test $ac_cv_header_stdc = yes; then
7225   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h.  */
7228 #include <stdlib.h>
7230 _ACEOF
7231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7232   $EGREP "free" >/dev/null 2>&1; then :
7234 else
7235   ac_cv_header_stdc=no
7236 fi
7237 rm -f conftest*
7239 fi
7241 if test $ac_cv_header_stdc = yes; then
7242   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7243   if test "$cross_compiling" = yes; then :
7244   :
7245 else
7246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h.  */
7248 #include <ctype.h>
7249 #include <stdlib.h>
7250 #if ((' ' & 0x0FF) == 0x020)
7251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7253 #else
7254 # define ISLOWER(c) \
7255                    (('a' <= (c) && (c) <= 'i') \
7256                      || ('j' <= (c) && (c) <= 'r') \
7257                      || ('s' <= (c) && (c) <= 'z'))
7258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7259 #endif
7261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7262 int
7263 main ()
7265   int i;
7266   for (i = 0; i < 256; i++)
7267     if (XOR (islower (i), ISLOWER (i))
7268         || toupper (i) != TOUPPER (i))
7269       return 2;
7270   return 0;
7272 _ACEOF
7273 if ac_fn_c_try_run "$LINENO"; then :
7275 else
7276   ac_cv_header_stdc=no
7277 fi
7278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7279   conftest.$ac_objext conftest.beam conftest.$ac_ext
7280 fi
7282 fi
7283 fi
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7285 $as_echo "$ac_cv_header_stdc" >&6; }
7286 if test $ac_cv_header_stdc = yes; then
7288 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7290 fi
7292 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7293 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7294                   inttypes.h stdint.h unistd.h
7295 do :
7296   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7299 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7300   cat >>confdefs.h <<_ACEOF
7301 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7302 _ACEOF
7304 fi
7306 done
7309 for ac_header in dlfcn.h
7310 do :
7311   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7313 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7314   cat >>confdefs.h <<_ACEOF
7315 #define HAVE_DLFCN_H 1
7316 _ACEOF
7318 fi
7320 done
7326 # Set options
7330         enable_dlopen=no
7333   enable_win32_dll=no
7336             # Check whether --enable-shared was given.
7337 if test "${enable_shared+set}" = set; then :
7338   enableval=$enable_shared; p=${PACKAGE-default}
7339     case $enableval in
7340     yes) enable_shared=yes ;;
7341     no) enable_shared=no ;;
7342     *)
7343       enable_shared=no
7344       # Look at the argument we got.  We use all the common list separators.
7345       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7346       for pkg in $enableval; do
7347         IFS="$lt_save_ifs"
7348         if test "X$pkg" = "X$p"; then
7349           enable_shared=yes
7350         fi
7351       done
7352       IFS="$lt_save_ifs"
7353       ;;
7354     esac
7355 else
7356   enable_shared=yes
7357 fi
7367   # Check whether --enable-static was given.
7368 if test "${enable_static+set}" = set; then :
7369   enableval=$enable_static; p=${PACKAGE-default}
7370     case $enableval in
7371     yes) enable_static=yes ;;
7372     no) enable_static=no ;;
7373     *)
7374      enable_static=no
7375       # Look at the argument we got.  We use all the common list separators.
7376       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7377       for pkg in $enableval; do
7378         IFS="$lt_save_ifs"
7379         if test "X$pkg" = "X$p"; then
7380           enable_static=yes
7381         fi
7382       done
7383       IFS="$lt_save_ifs"
7384       ;;
7385     esac
7386 else
7387   enable_static=yes
7388 fi
7399 # Check whether --with-pic was given.
7400 if test "${with_pic+set}" = set; then :
7401   withval=$with_pic; lt_p=${PACKAGE-default}
7402     case $withval in
7403     yes|no) pic_mode=$withval ;;
7404     *)
7405       pic_mode=default
7406       # Look at the argument we got.  We use all the common list separators.
7407       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7408       for lt_pkg in $withval; do
7409         IFS="$lt_save_ifs"
7410         if test "X$lt_pkg" = "X$lt_p"; then
7411           pic_mode=yes
7412         fi
7413       done
7414       IFS="$lt_save_ifs"
7415       ;;
7416     esac
7417 else
7418   pic_mode=default
7419 fi
7422 test -z "$pic_mode" && pic_mode=default
7430   # Check whether --enable-fast-install was given.
7431 if test "${enable_fast_install+set}" = set; then :
7432   enableval=$enable_fast_install; p=${PACKAGE-default}
7433     case $enableval in
7434     yes) enable_fast_install=yes ;;
7435     no) enable_fast_install=no ;;
7436     *)
7437       enable_fast_install=no
7438       # Look at the argument we got.  We use all the common list separators.
7439       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7440       for pkg in $enableval; do
7441         IFS="$lt_save_ifs"
7442         if test "X$pkg" = "X$p"; then
7443           enable_fast_install=yes
7444         fi
7445       done
7446       IFS="$lt_save_ifs"
7447       ;;
7448     esac
7449 else
7450   enable_fast_install=yes
7451 fi
7463 # This can be used to rebuild libtool when needed
7464 LIBTOOL_DEPS="$ltmain"
7466 # Always use our own libtool.
7467 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7498 test -z "$LN_S" && LN_S="ln -s"
7513 if test -n "${ZSH_VERSION+set}" ; then
7514    setopt NO_GLOB_SUBST
7515 fi
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7518 $as_echo_n "checking for objdir... " >&6; }
7519 if ${lt_cv_objdir+:} false; then :
7520   $as_echo_n "(cached) " >&6
7521 else
7522   rm -f .libs 2>/dev/null
7523 mkdir .libs 2>/dev/null
7524 if test -d .libs; then
7525   lt_cv_objdir=.libs
7526 else
7527   # MS-DOS does not allow filenames that begin with a dot.
7528   lt_cv_objdir=_libs
7529 fi
7530 rmdir .libs 2>/dev/null
7531 fi
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7533 $as_echo "$lt_cv_objdir" >&6; }
7534 objdir=$lt_cv_objdir
7540 cat >>confdefs.h <<_ACEOF
7541 #define LT_OBJDIR "$lt_cv_objdir/"
7542 _ACEOF
7547 case $host_os in
7548 aix3*)
7549   # AIX sometimes has problems with the GCC collect2 program.  For some
7550   # reason, if we set the COLLECT_NAMES environment variable, the problems
7551   # vanish in a puff of smoke.
7552   if test "X${COLLECT_NAMES+set}" != Xset; then
7553     COLLECT_NAMES=
7554     export COLLECT_NAMES
7555   fi
7556   ;;
7557 esac
7559 # Global variables:
7560 ofile=libtool
7561 can_build_shared=yes
7563 # All known linkers require a `.a' archive for static linking (except MSVC,
7564 # which needs '.lib').
7565 libext=a
7567 with_gnu_ld="$lt_cv_prog_gnu_ld"
7569 old_CC="$CC"
7570 old_CFLAGS="$CFLAGS"
7572 # Set sane defaults for various variables
7573 test -z "$CC" && CC=cc
7574 test -z "$LTCC" && LTCC=$CC
7575 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7576 test -z "$LD" && LD=ld
7577 test -z "$ac_objext" && ac_objext=o
7579 for cc_temp in $compiler""; do
7580   case $cc_temp in
7581     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7582     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7583     \-*) ;;
7584     *) break;;
7585   esac
7586 done
7587 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7590 # Only perform the check for file, if the check method requires it
7591 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7592 case $deplibs_check_method in
7593 file_magic*)
7594   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7596 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7597 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7598   $as_echo_n "(cached) " >&6
7599 else
7600   case $MAGIC_CMD in
7601 [\\/*] |  ?:[\\/]*)
7602   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7603   ;;
7604 *)
7605   lt_save_MAGIC_CMD="$MAGIC_CMD"
7606   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7607   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7608   for ac_dir in $ac_dummy; do
7609     IFS="$lt_save_ifs"
7610     test -z "$ac_dir" && ac_dir=.
7611     if test -f $ac_dir/${ac_tool_prefix}file; then
7612       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7613       if test -n "$file_magic_test_file"; then
7614         case $deplibs_check_method in
7615         "file_magic "*)
7616           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7617           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7618           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7619             $EGREP "$file_magic_regex" > /dev/null; then
7620             :
7621           else
7622             cat <<_LT_EOF 1>&2
7624 *** Warning: the command libtool uses to detect shared libraries,
7625 *** $file_magic_cmd, produces output that libtool cannot recognize.
7626 *** The result is that libtool may fail to recognize shared libraries
7627 *** as such.  This will affect the creation of libtool libraries that
7628 *** depend on shared libraries, but programs linked with such libtool
7629 *** libraries will work regardless of this problem.  Nevertheless, you
7630 *** may want to report the problem to your system manager and/or to
7631 *** bug-libtool@gnu.org
7633 _LT_EOF
7634           fi ;;
7635         esac
7636       fi
7637       break
7638     fi
7639   done
7640   IFS="$lt_save_ifs"
7641   MAGIC_CMD="$lt_save_MAGIC_CMD"
7642   ;;
7643 esac
7644 fi
7646 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7647 if test -n "$MAGIC_CMD"; then
7648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7649 $as_echo "$MAGIC_CMD" >&6; }
7650 else
7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7653 fi
7659 if test -z "$lt_cv_path_MAGIC_CMD"; then
7660   if test -n "$ac_tool_prefix"; then
7661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7662 $as_echo_n "checking for file... " >&6; }
7663 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7664   $as_echo_n "(cached) " >&6
7665 else
7666   case $MAGIC_CMD in
7667 [\\/*] |  ?:[\\/]*)
7668   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7669   ;;
7670 *)
7671   lt_save_MAGIC_CMD="$MAGIC_CMD"
7672   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7673   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7674   for ac_dir in $ac_dummy; do
7675     IFS="$lt_save_ifs"
7676     test -z "$ac_dir" && ac_dir=.
7677     if test -f $ac_dir/file; then
7678       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7679       if test -n "$file_magic_test_file"; then
7680         case $deplibs_check_method in
7681         "file_magic "*)
7682           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7683           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7684           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7685             $EGREP "$file_magic_regex" > /dev/null; then
7686             :
7687           else
7688             cat <<_LT_EOF 1>&2
7690 *** Warning: the command libtool uses to detect shared libraries,
7691 *** $file_magic_cmd, produces output that libtool cannot recognize.
7692 *** The result is that libtool may fail to recognize shared libraries
7693 *** as such.  This will affect the creation of libtool libraries that
7694 *** depend on shared libraries, but programs linked with such libtool
7695 *** libraries will work regardless of this problem.  Nevertheless, you
7696 *** may want to report the problem to your system manager and/or to
7697 *** bug-libtool@gnu.org
7699 _LT_EOF
7700           fi ;;
7701         esac
7702       fi
7703       break
7704     fi
7705   done
7706   IFS="$lt_save_ifs"
7707   MAGIC_CMD="$lt_save_MAGIC_CMD"
7708   ;;
7709 esac
7710 fi
7712 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7713 if test -n "$MAGIC_CMD"; then
7714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7715 $as_echo "$MAGIC_CMD" >&6; }
7716 else
7717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7719 fi
7722   else
7723     MAGIC_CMD=:
7724   fi
7725 fi
7727   fi
7728   ;;
7729 esac
7731 # Use C for the default configuration in the libtool script
7733 lt_save_CC="$CC"
7734 ac_ext=c
7735 ac_cpp='$CPP $CPPFLAGS'
7736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7741 # Source file extension for C test sources.
7742 ac_ext=c
7744 # Object file extension for compiled C test sources.
7745 objext=o
7746 objext=$objext
7748 # Code to be used in simple compile tests
7749 lt_simple_compile_test_code="int some_variable = 0;"
7751 # Code to be used in simple link tests
7752 lt_simple_link_test_code='int main(){return(0);}'
7760 # If no C compiler was specified, use CC.
7761 LTCC=${LTCC-"$CC"}
7763 # If no C compiler flags were specified, use CFLAGS.
7764 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7766 # Allow CC to be a program name with arguments.
7767 compiler=$CC
7769 # Save the default compiler, since it gets overwritten when the other
7770 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7771 compiler_DEFAULT=$CC
7773 # save warnings/boilerplate of simple test code
7774 ac_outfile=conftest.$ac_objext
7775 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7776 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7777 _lt_compiler_boilerplate=`cat conftest.err`
7778 $RM conftest*
7780 ac_outfile=conftest.$ac_objext
7781 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7782 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7783 _lt_linker_boilerplate=`cat conftest.err`
7784 $RM -r conftest*
7787 if test -n "$compiler"; then
7789 lt_prog_compiler_no_builtin_flag=
7791 if test "$GCC" = yes; then
7792   case $cc_basename in
7793   nvcc*)
7794     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7795   *)
7796     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7797   esac
7799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7800 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7801 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7802   $as_echo_n "(cached) " >&6
7803 else
7804   lt_cv_prog_compiler_rtti_exceptions=no
7805    ac_outfile=conftest.$ac_objext
7806    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7807    lt_compiler_flag="-fno-rtti -fno-exceptions"
7808    # Insert the option either (1) after the last *FLAGS variable, or
7809    # (2) before a word containing "conftest.", or (3) at the end.
7810    # Note that $ac_compile itself does not contain backslashes and begins
7811    # with a dollar sign (not a hyphen), so the echo should work correctly.
7812    # The option is referenced via a variable to avoid confusing sed.
7813    lt_compile=`echo "$ac_compile" | $SED \
7814    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816    -e 's:$: $lt_compiler_flag:'`
7817    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7818    (eval "$lt_compile" 2>conftest.err)
7819    ac_status=$?
7820    cat conftest.err >&5
7821    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822    if (exit $ac_status) && test -s "$ac_outfile"; then
7823      # The compiler can only warn and ignore the option if not recognized
7824      # So say no if there are warnings other than the usual output.
7825      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7826      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7827      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7828        lt_cv_prog_compiler_rtti_exceptions=yes
7829      fi
7830    fi
7831    $RM conftest*
7833 fi
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7835 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7837 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7838     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7839 else
7840     :
7841 fi
7843 fi
7850   lt_prog_compiler_wl=
7851 lt_prog_compiler_pic=
7852 lt_prog_compiler_static=
7855   if test "$GCC" = yes; then
7856     lt_prog_compiler_wl='-Wl,'
7857     lt_prog_compiler_static='-static'
7859     case $host_os in
7860       aix*)
7861       # All AIX code is PIC.
7862       if test "$host_cpu" = ia64; then
7863         # AIX 5 now supports IA64 processor
7864         lt_prog_compiler_static='-Bstatic'
7865       fi
7866       ;;
7868     amigaos*)
7869       case $host_cpu in
7870       powerpc)
7871             # see comment about AmigaOS4 .so support
7872             lt_prog_compiler_pic='-fPIC'
7873         ;;
7874       m68k)
7875             # FIXME: we need at least 68020 code to build shared libraries, but
7876             # adding the `-m68020' flag to GCC prevents building anything better,
7877             # like `-m68040'.
7878             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7879         ;;
7880       esac
7881       ;;
7883     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7884       # PIC is the default for these OSes.
7885       ;;
7887     mingw* | cygwin* | pw32* | os2* | cegcc*)
7888       # This hack is so that the source file can tell whether it is being
7889       # built for inclusion in a dll (and should export symbols for example).
7890       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7891       # (--disable-auto-import) libraries
7892       lt_prog_compiler_pic='-DDLL_EXPORT'
7893       ;;
7895     darwin* | rhapsody*)
7896       # PIC is the default on this platform
7897       # Common symbols not allowed in MH_DYLIB files
7898       lt_prog_compiler_pic='-fno-common'
7899       ;;
7901     haiku*)
7902       # PIC is the default for Haiku.
7903       # The "-static" flag exists, but is broken.
7904       lt_prog_compiler_static=
7905       ;;
7907     hpux*)
7908       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7909       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7910       # sets the default TLS model and affects inlining.
7911       case $host_cpu in
7912       hppa*64*)
7913         # +Z the default
7914         ;;
7915       *)
7916         lt_prog_compiler_pic='-fPIC'
7917         ;;
7918       esac
7919       ;;
7921     interix[3-9]*)
7922       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7923       # Instead, we relocate shared libraries at runtime.
7924       ;;
7926     msdosdjgpp*)
7927       # Just because we use GCC doesn't mean we suddenly get shared libraries
7928       # on systems that don't support them.
7929       lt_prog_compiler_can_build_shared=no
7930       enable_shared=no
7931       ;;
7933     *nto* | *qnx*)
7934       # QNX uses GNU C++, but need to define -shared option too, otherwise
7935       # it will coredump.
7936       lt_prog_compiler_pic='-fPIC -shared'
7937       ;;
7939     sysv4*MP*)
7940       if test -d /usr/nec; then
7941         lt_prog_compiler_pic=-Kconform_pic
7942       fi
7943       ;;
7945     *)
7946       lt_prog_compiler_pic='-fPIC'
7947       ;;
7948     esac
7950     case $cc_basename in
7951     nvcc*) # Cuda Compiler Driver 2.2
7952       lt_prog_compiler_wl='-Xlinker '
7953       if test -n "$lt_prog_compiler_pic"; then
7954         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7955       fi
7956       ;;
7957     esac
7958   else
7959     # PORTME Check for flag to pass linker flags through the system compiler.
7960     case $host_os in
7961     aix*)
7962       lt_prog_compiler_wl='-Wl,'
7963       if test "$host_cpu" = ia64; then
7964         # AIX 5 now supports IA64 processor
7965         lt_prog_compiler_static='-Bstatic'
7966       else
7967         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7968       fi
7969       ;;
7971     mingw* | cygwin* | pw32* | os2* | cegcc*)
7972       # This hack is so that the source file can tell whether it is being
7973       # built for inclusion in a dll (and should export symbols for example).
7974       lt_prog_compiler_pic='-DDLL_EXPORT'
7975       ;;
7977     hpux9* | hpux10* | hpux11*)
7978       lt_prog_compiler_wl='-Wl,'
7979       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7980       # not for PA HP-UX.
7981       case $host_cpu in
7982       hppa*64*|ia64*)
7983         # +Z the default
7984         ;;
7985       *)
7986         lt_prog_compiler_pic='+Z'
7987         ;;
7988       esac
7989       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7990       lt_prog_compiler_static='${wl}-a ${wl}archive'
7991       ;;
7993     irix5* | irix6* | nonstopux*)
7994       lt_prog_compiler_wl='-Wl,'
7995       # PIC (with -KPIC) is the default.
7996       lt_prog_compiler_static='-non_shared'
7997       ;;
7999     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8000       case $cc_basename in
8001       # old Intel for x86_64 which still supported -KPIC.
8002       ecc*)
8003         lt_prog_compiler_wl='-Wl,'
8004         lt_prog_compiler_pic='-KPIC'
8005         lt_prog_compiler_static='-static'
8006         ;;
8007       # icc used to be incompatible with GCC.
8008       # ICC 10 doesn't accept -KPIC any more.
8009       icc* | ifort*)
8010         lt_prog_compiler_wl='-Wl,'
8011         lt_prog_compiler_pic='-fPIC'
8012         lt_prog_compiler_static='-static'
8013         ;;
8014       # Lahey Fortran 8.1.
8015       lf95*)
8016         lt_prog_compiler_wl='-Wl,'
8017         lt_prog_compiler_pic='--shared'
8018         lt_prog_compiler_static='--static'
8019         ;;
8020       nagfor*)
8021         # NAG Fortran compiler
8022         lt_prog_compiler_wl='-Wl,-Wl,,'
8023         lt_prog_compiler_pic='-PIC'
8024         lt_prog_compiler_static='-Bstatic'
8025         ;;
8026       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8027         # Portland Group compilers (*not* the Pentium gcc compiler,
8028         # which looks to be a dead project)
8029         lt_prog_compiler_wl='-Wl,'
8030         lt_prog_compiler_pic='-fpic'
8031         lt_prog_compiler_static='-Bstatic'
8032         ;;
8033       ccc*)
8034         lt_prog_compiler_wl='-Wl,'
8035         # All Alpha code is PIC.
8036         lt_prog_compiler_static='-non_shared'
8037         ;;
8038       xl* | bgxl* | bgf* | mpixl*)
8039         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8040         lt_prog_compiler_wl='-Wl,'
8041         lt_prog_compiler_pic='-qpic'
8042         lt_prog_compiler_static='-qstaticlink'
8043         ;;
8044       *)
8045         case `$CC -V 2>&1 | sed 5q` in
8046         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8047           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8048           lt_prog_compiler_pic='-KPIC'
8049           lt_prog_compiler_static='-Bstatic'
8050           lt_prog_compiler_wl=''
8051           ;;
8052         *Sun\ F* | *Sun*Fortran*)
8053           lt_prog_compiler_pic='-KPIC'
8054           lt_prog_compiler_static='-Bstatic'
8055           lt_prog_compiler_wl='-Qoption ld '
8056           ;;
8057         *Sun\ C*)
8058           # Sun C 5.9
8059           lt_prog_compiler_pic='-KPIC'
8060           lt_prog_compiler_static='-Bstatic'
8061           lt_prog_compiler_wl='-Wl,'
8062           ;;
8063         *Intel*\ [CF]*Compiler*)
8064           lt_prog_compiler_wl='-Wl,'
8065           lt_prog_compiler_pic='-fPIC'
8066           lt_prog_compiler_static='-static'
8067           ;;
8068         *Portland\ Group*)
8069           lt_prog_compiler_wl='-Wl,'
8070           lt_prog_compiler_pic='-fpic'
8071           lt_prog_compiler_static='-Bstatic'
8072           ;;
8073         esac
8074         ;;
8075       esac
8076       ;;
8078     newsos6)
8079       lt_prog_compiler_pic='-KPIC'
8080       lt_prog_compiler_static='-Bstatic'
8081       ;;
8083     *nto* | *qnx*)
8084       # QNX uses GNU C++, but need to define -shared option too, otherwise
8085       # it will coredump.
8086       lt_prog_compiler_pic='-fPIC -shared'
8087       ;;
8089     osf3* | osf4* | osf5*)
8090       lt_prog_compiler_wl='-Wl,'
8091       # All OSF/1 code is PIC.
8092       lt_prog_compiler_static='-non_shared'
8093       ;;
8095     rdos*)
8096       lt_prog_compiler_static='-non_shared'
8097       ;;
8099     solaris*)
8100       lt_prog_compiler_pic='-KPIC'
8101       lt_prog_compiler_static='-Bstatic'
8102       case $cc_basename in
8103       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8104         lt_prog_compiler_wl='-Qoption ld ';;
8105       *)
8106         lt_prog_compiler_wl='-Wl,';;
8107       esac
8108       ;;
8110     sunos4*)
8111       lt_prog_compiler_wl='-Qoption ld '
8112       lt_prog_compiler_pic='-PIC'
8113       lt_prog_compiler_static='-Bstatic'
8114       ;;
8116     sysv4 | sysv4.2uw2* | sysv4.3*)
8117       lt_prog_compiler_wl='-Wl,'
8118       lt_prog_compiler_pic='-KPIC'
8119       lt_prog_compiler_static='-Bstatic'
8120       ;;
8122     sysv4*MP*)
8123       if test -d /usr/nec ;then
8124         lt_prog_compiler_pic='-Kconform_pic'
8125         lt_prog_compiler_static='-Bstatic'
8126       fi
8127       ;;
8129     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8130       lt_prog_compiler_wl='-Wl,'
8131       lt_prog_compiler_pic='-KPIC'
8132       lt_prog_compiler_static='-Bstatic'
8133       ;;
8135     unicos*)
8136       lt_prog_compiler_wl='-Wl,'
8137       lt_prog_compiler_can_build_shared=no
8138       ;;
8140     uts4*)
8141       lt_prog_compiler_pic='-pic'
8142       lt_prog_compiler_static='-Bstatic'
8143       ;;
8145     *)
8146       lt_prog_compiler_can_build_shared=no
8147       ;;
8148     esac
8149   fi
8151 case $host_os in
8152   # For platforms which do not support PIC, -DPIC is meaningless:
8153   *djgpp*)
8154     lt_prog_compiler_pic=
8155     ;;
8156   *)
8157     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8158     ;;
8159 esac
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8162 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8163 if ${lt_cv_prog_compiler_pic+:} false; then :
8164   $as_echo_n "(cached) " >&6
8165 else
8166   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8167 fi
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8169 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8170 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8173 # Check to make sure the PIC flag actually works.
8175 if test -n "$lt_prog_compiler_pic"; then
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8177 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8178 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8179   $as_echo_n "(cached) " >&6
8180 else
8181   lt_cv_prog_compiler_pic_works=no
8182    ac_outfile=conftest.$ac_objext
8183    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8184    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8185    # Insert the option either (1) after the last *FLAGS variable, or
8186    # (2) before a word containing "conftest.", or (3) at the end.
8187    # Note that $ac_compile itself does not contain backslashes and begins
8188    # with a dollar sign (not a hyphen), so the echo should work correctly.
8189    # The option is referenced via a variable to avoid confusing sed.
8190    lt_compile=`echo "$ac_compile" | $SED \
8191    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8192    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8193    -e 's:$: $lt_compiler_flag:'`
8194    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8195    (eval "$lt_compile" 2>conftest.err)
8196    ac_status=$?
8197    cat conftest.err >&5
8198    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199    if (exit $ac_status) && test -s "$ac_outfile"; then
8200      # The compiler can only warn and ignore the option if not recognized
8201      # So say no if there are warnings other than the usual output.
8202      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8203      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8204      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8205        lt_cv_prog_compiler_pic_works=yes
8206      fi
8207    fi
8208    $RM conftest*
8210 fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8212 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8214 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8215     case $lt_prog_compiler_pic in
8216      "" | " "*) ;;
8217      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8218      esac
8219 else
8220     lt_prog_compiler_pic=
8221      lt_prog_compiler_can_build_shared=no
8222 fi
8224 fi
8237 # Check to make sure the static flag actually works.
8239 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8241 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8242 if ${lt_cv_prog_compiler_static_works+:} false; then :
8243   $as_echo_n "(cached) " >&6
8244 else
8245   lt_cv_prog_compiler_static_works=no
8246    save_LDFLAGS="$LDFLAGS"
8247    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8248    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8249    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8250      # The linker can only warn and ignore the option if not recognized
8251      # So say no if there are warnings
8252      if test -s conftest.err; then
8253        # Append any errors to the config.log.
8254        cat conftest.err 1>&5
8255        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8256        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8257        if diff conftest.exp conftest.er2 >/dev/null; then
8258          lt_cv_prog_compiler_static_works=yes
8259        fi
8260      else
8261        lt_cv_prog_compiler_static_works=yes
8262      fi
8263    fi
8264    $RM -r conftest*
8265    LDFLAGS="$save_LDFLAGS"
8267 fi
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8269 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8271 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8272     :
8273 else
8274     lt_prog_compiler_static=
8275 fi
8283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8284 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8285 if ${lt_cv_prog_compiler_c_o+:} false; then :
8286   $as_echo_n "(cached) " >&6
8287 else
8288   lt_cv_prog_compiler_c_o=no
8289    $RM -r conftest 2>/dev/null
8290    mkdir conftest
8291    cd conftest
8292    mkdir out
8293    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8295    lt_compiler_flag="-o out/conftest2.$ac_objext"
8296    # Insert the option either (1) after the last *FLAGS variable, or
8297    # (2) before a word containing "conftest.", or (3) at the end.
8298    # Note that $ac_compile itself does not contain backslashes and begins
8299    # with a dollar sign (not a hyphen), so the echo should work correctly.
8300    lt_compile=`echo "$ac_compile" | $SED \
8301    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8302    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8303    -e 's:$: $lt_compiler_flag:'`
8304    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8305    (eval "$lt_compile" 2>out/conftest.err)
8306    ac_status=$?
8307    cat out/conftest.err >&5
8308    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8310    then
8311      # The compiler can only warn and ignore the option if not recognized
8312      # So say no if there are warnings
8313      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8314      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8315      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8316        lt_cv_prog_compiler_c_o=yes
8317      fi
8318    fi
8319    chmod u+w . 2>&5
8320    $RM conftest*
8321    # SGI C++ compiler will create directory out/ii_files/ for
8322    # template instantiation
8323    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8324    $RM out/* && rmdir out
8325    cd ..
8326    $RM -r conftest
8327    $RM conftest*
8329 fi
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8331 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8340 if ${lt_cv_prog_compiler_c_o+:} false; then :
8341   $as_echo_n "(cached) " >&6
8342 else
8343   lt_cv_prog_compiler_c_o=no
8344    $RM -r conftest 2>/dev/null
8345    mkdir conftest
8346    cd conftest
8347    mkdir out
8348    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8350    lt_compiler_flag="-o out/conftest2.$ac_objext"
8351    # Insert the option either (1) after the last *FLAGS variable, or
8352    # (2) before a word containing "conftest.", or (3) at the end.
8353    # Note that $ac_compile itself does not contain backslashes and begins
8354    # with a dollar sign (not a hyphen), so the echo should work correctly.
8355    lt_compile=`echo "$ac_compile" | $SED \
8356    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8357    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8358    -e 's:$: $lt_compiler_flag:'`
8359    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8360    (eval "$lt_compile" 2>out/conftest.err)
8361    ac_status=$?
8362    cat out/conftest.err >&5
8363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8365    then
8366      # The compiler can only warn and ignore the option if not recognized
8367      # So say no if there are warnings
8368      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8369      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8370      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8371        lt_cv_prog_compiler_c_o=yes
8372      fi
8373    fi
8374    chmod u+w . 2>&5
8375    $RM conftest*
8376    # SGI C++ compiler will create directory out/ii_files/ for
8377    # template instantiation
8378    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8379    $RM out/* && rmdir out
8380    cd ..
8381    $RM -r conftest
8382    $RM conftest*
8384 fi
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8386 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8391 hard_links="nottested"
8392 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8393   # do not overwrite the value of need_locks provided by the user
8394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8395 $as_echo_n "checking if we can lock with hard links... " >&6; }
8396   hard_links=yes
8397   $RM conftest*
8398   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8399   touch conftest.a
8400   ln conftest.a conftest.b 2>&5 || hard_links=no
8401   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8403 $as_echo "$hard_links" >&6; }
8404   if test "$hard_links" = no; then
8405     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8406 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8407     need_locks=warn
8408   fi
8409 else
8410   need_locks=no
8411 fi
8418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8419 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8421   runpath_var=
8422   allow_undefined_flag=
8423   always_export_symbols=no
8424   archive_cmds=
8425   archive_expsym_cmds=
8426   compiler_needs_object=no
8427   enable_shared_with_static_runtimes=no
8428   export_dynamic_flag_spec=
8429   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8430   hardcode_automatic=no
8431   hardcode_direct=no
8432   hardcode_direct_absolute=no
8433   hardcode_libdir_flag_spec=
8434   hardcode_libdir_separator=
8435   hardcode_minus_L=no
8436   hardcode_shlibpath_var=unsupported
8437   inherit_rpath=no
8438   link_all_deplibs=unknown
8439   module_cmds=
8440   module_expsym_cmds=
8441   old_archive_from_new_cmds=
8442   old_archive_from_expsyms_cmds=
8443   thread_safe_flag_spec=
8444   whole_archive_flag_spec=
8445   # include_expsyms should be a list of space-separated symbols to be *always*
8446   # included in the symbol list
8447   include_expsyms=
8448   # exclude_expsyms can be an extended regexp of symbols to exclude
8449   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8450   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8451   # as well as any symbol that contains `d'.
8452   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8453   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8454   # platforms (ab)use it in PIC code, but their linkers get confused if
8455   # the symbol is explicitly referenced.  Since portable code cannot
8456   # rely on this symbol name, it's probably fine to never include it in
8457   # preloaded symbol tables.
8458   # Exclude shared library initialization/finalization symbols.
8459   extract_expsyms_cmds=
8461   case $host_os in
8462   cygwin* | mingw* | pw32* | cegcc*)
8463     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8464     # When not using gcc, we currently assume that we are using
8465     # Microsoft Visual C++.
8466     if test "$GCC" != yes; then
8467       with_gnu_ld=no
8468     fi
8469     ;;
8470   interix*)
8471     # we just hope/assume this is gcc and not c89 (= MSVC++)
8472     with_gnu_ld=yes
8473     ;;
8474   openbsd*)
8475     with_gnu_ld=no
8476     ;;
8477   linux* | k*bsd*-gnu | gnu*)
8478     link_all_deplibs=no
8479     ;;
8480   esac
8482   ld_shlibs=yes
8484   # On some targets, GNU ld is compatible enough with the native linker
8485   # that we're better off using the native interface for both.
8486   lt_use_gnu_ld_interface=no
8487   if test "$with_gnu_ld" = yes; then
8488     case $host_os in
8489       aix*)
8490         # The AIX port of GNU ld has always aspired to compatibility
8491         # with the native linker.  However, as the warning in the GNU ld
8492         # block says, versions before 2.19.5* couldn't really create working
8493         # shared libraries, regardless of the interface used.
8494         case `$LD -v 2>&1` in
8495           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8496           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8497           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8498           *)
8499             lt_use_gnu_ld_interface=yes
8500             ;;
8501         esac
8502         ;;
8503       *)
8504         lt_use_gnu_ld_interface=yes
8505         ;;
8506     esac
8507   fi
8509   if test "$lt_use_gnu_ld_interface" = yes; then
8510     # If archive_cmds runs LD, not CC, wlarc should be empty
8511     wlarc='${wl}'
8513     # Set some defaults for GNU ld with shared library support. These
8514     # are reset later if shared libraries are not supported. Putting them
8515     # here allows them to be overridden if necessary.
8516     runpath_var=LD_RUN_PATH
8517     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8518     export_dynamic_flag_spec='${wl}--export-dynamic'
8519     # ancient GNU ld didn't support --whole-archive et. al.
8520     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8521       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8522     else
8523       whole_archive_flag_spec=
8524     fi
8525     supports_anon_versioning=no
8526     case `$LD -v 2>&1` in
8527       *GNU\ gold*) supports_anon_versioning=yes ;;
8528       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8529       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8530       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8531       *\ 2.11.*) ;; # other 2.11 versions
8532       *) supports_anon_versioning=yes ;;
8533     esac
8535     # See if GNU ld supports shared libraries.
8536     case $host_os in
8537     aix[3-9]*)
8538       # On AIX/PPC, the GNU linker is very broken
8539       if test "$host_cpu" != ia64; then
8540         ld_shlibs=no
8541         cat <<_LT_EOF 1>&2
8543 *** Warning: the GNU linker, at least up to release 2.19, is reported
8544 *** to be unable to reliably create shared libraries on AIX.
8545 *** Therefore, libtool is disabling shared libraries support.  If you
8546 *** really care for shared libraries, you may want to install binutils
8547 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8548 *** You will then need to restart the configuration process.
8550 _LT_EOF
8551       fi
8552       ;;
8554     amigaos*)
8555       case $host_cpu in
8556       powerpc)
8557             # see comment about AmigaOS4 .so support
8558             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8559             archive_expsym_cmds=''
8560         ;;
8561       m68k)
8562             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)'
8563             hardcode_libdir_flag_spec='-L$libdir'
8564             hardcode_minus_L=yes
8565         ;;
8566       esac
8567       ;;
8569     beos*)
8570       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8571         allow_undefined_flag=unsupported
8572         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8573         # support --undefined.  This deserves some investigation.  FIXME
8574         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8575       else
8576         ld_shlibs=no
8577       fi
8578       ;;
8580     cygwin* | mingw* | pw32* | cegcc*)
8581       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8582       # as there is no search path for DLLs.
8583       hardcode_libdir_flag_spec='-L$libdir'
8584       export_dynamic_flag_spec='${wl}--export-all-symbols'
8585       allow_undefined_flag=unsupported
8586       always_export_symbols=no
8587       enable_shared_with_static_runtimes=yes
8588       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'
8589       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8591       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8592         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8593         # If the export-symbols file already is a .def file (1st line
8594         # is EXPORTS), use it as is; otherwise, prepend...
8595         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8596           cp $export_symbols $output_objdir/$soname.def;
8597         else
8598           echo EXPORTS > $output_objdir/$soname.def;
8599           cat $export_symbols >> $output_objdir/$soname.def;
8600         fi~
8601         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8602       else
8603         ld_shlibs=no
8604       fi
8605       ;;
8607     haiku*)
8608       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8609       link_all_deplibs=yes
8610       ;;
8612     interix[3-9]*)
8613       hardcode_direct=no
8614       hardcode_shlibpath_var=no
8615       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8616       export_dynamic_flag_spec='${wl}-E'
8617       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8618       # Instead, shared libraries are loaded at an image base (0x10000000 by
8619       # default) and relocated if they conflict, which is a slow very memory
8620       # consuming and fragmenting process.  To avoid this, we pick a random,
8621       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8622       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8623       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8624       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'
8625       ;;
8627     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8628       tmp_diet=no
8629       if test "$host_os" = linux-dietlibc; then
8630         case $cc_basename in
8631           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8632         esac
8633       fi
8634       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8635          && test "$tmp_diet" = no
8636       then
8637         tmp_addflag=' $pic_flag'
8638         tmp_sharedflag='-shared'
8639         case $cc_basename,$host_cpu in
8640         pgcc*)                          # Portland Group C compiler
8641           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'
8642           tmp_addflag=' $pic_flag'
8643           ;;
8644         pgf77* | pgf90* | pgf95* | pgfortran*)
8645                                         # Portland Group f77 and f90 compilers
8646           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'
8647           tmp_addflag=' $pic_flag -Mnomain' ;;
8648         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8649           tmp_addflag=' -i_dynamic' ;;
8650         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8651           tmp_addflag=' -i_dynamic -nofor_main' ;;
8652         ifc* | ifort*)                  # Intel Fortran compiler
8653           tmp_addflag=' -nofor_main' ;;
8654         lf95*)                          # Lahey Fortran 8.1
8655           whole_archive_flag_spec=
8656           tmp_sharedflag='--shared' ;;
8657         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8658           tmp_sharedflag='-qmkshrobj'
8659           tmp_addflag= ;;
8660         nvcc*)  # Cuda Compiler Driver 2.2
8661           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'
8662           compiler_needs_object=yes
8663           ;;
8664         esac
8665         case `$CC -V 2>&1 | sed 5q` in
8666         *Sun\ C*)                       # Sun C 5.9
8667           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'
8668           compiler_needs_object=yes
8669           tmp_sharedflag='-G' ;;
8670         *Sun\ F*)                       # Sun Fortran 8.3
8671           tmp_sharedflag='-G' ;;
8672         esac
8673         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8675         if test "x$supports_anon_versioning" = xyes; then
8676           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8677             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8678             echo "local: *; };" >> $output_objdir/$libname.ver~
8679             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8680         fi
8682         case $cc_basename in
8683         xlf* | bgf* | bgxlf* | mpixlf*)
8684           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8685           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8686           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8687           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8688           if test "x$supports_anon_versioning" = xyes; then
8689             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8690               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8691               echo "local: *; };" >> $output_objdir/$libname.ver~
8692               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8693           fi
8694           ;;
8695         esac
8696       else
8697         ld_shlibs=no
8698       fi
8699       ;;
8701     netbsd* | netbsdelf*-gnu)
8702       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8703         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8704         wlarc=
8705       else
8706         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8708       fi
8709       ;;
8711     solaris*)
8712       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8713         ld_shlibs=no
8714         cat <<_LT_EOF 1>&2
8716 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8717 *** create shared libraries on Solaris systems.  Therefore, libtool
8718 *** is disabling shared libraries support.  We urge you to upgrade GNU
8719 *** binutils to release 2.9.1 or newer.  Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8723 _LT_EOF
8724       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8725         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8726         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8727       else
8728         ld_shlibs=no
8729       fi
8730       ;;
8732     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8733       case `$LD -v 2>&1` in
8734         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8735         ld_shlibs=no
8736         cat <<_LT_EOF 1>&2
8738 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8739 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8740 *** is disabling shared libraries support.  We urge you to upgrade GNU
8741 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8742 *** your PATH or compiler configuration so that the native linker is
8743 *** used, and then restart.
8745 _LT_EOF
8746         ;;
8747         *)
8748           # For security reasons, it is highly recommended that you always
8749           # use absolute paths for naming shared libraries, and exclude the
8750           # DT_RUNPATH tag from executables and libraries.  But doing so
8751           # requires that you compile everything twice, which is a pain.
8752           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8753             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8754             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8755             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8756           else
8757             ld_shlibs=no
8758           fi
8759         ;;
8760       esac
8761       ;;
8763     sunos4*)
8764       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8765       wlarc=
8766       hardcode_direct=yes
8767       hardcode_shlibpath_var=no
8768       ;;
8770     *)
8771       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8772         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8773         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8774       else
8775         ld_shlibs=no
8776       fi
8777       ;;
8778     esac
8780     if test "$ld_shlibs" = no; then
8781       runpath_var=
8782       hardcode_libdir_flag_spec=
8783       export_dynamic_flag_spec=
8784       whole_archive_flag_spec=
8785     fi
8786   else
8787     # PORTME fill in a description of your system's linker (not GNU ld)
8788     case $host_os in
8789     aix3*)
8790       allow_undefined_flag=unsupported
8791       always_export_symbols=yes
8792       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'
8793       # Note: this linker hardcodes the directories in LIBPATH if there
8794       # are no directories specified by -L.
8795       hardcode_minus_L=yes
8796       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8797         # Neither direct hardcoding nor static linking is supported with a
8798         # broken collect2.
8799         hardcode_direct=unsupported
8800       fi
8801       ;;
8803     aix[4-9]*)
8804       if test "$host_cpu" = ia64; then
8805         # On IA64, the linker does run time linking by default, so we don't
8806         # have to do anything special.
8807         aix_use_runtimelinking=no
8808         exp_sym_flag='-Bexport'
8809         no_entry_flag=""
8810       else
8811         # If we're using GNU nm, then we don't want the "-C" option.
8812         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8813         # Also, AIX nm treats weak defined symbols like other global
8814         # defined symbols, whereas GNU nm marks them as "W".
8815         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8816           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'
8817         else
8818           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'
8819         fi
8820         aix_use_runtimelinking=no
8822         # Test if we are trying to use run time linking or normal
8823         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8824         # need to do runtime linking.
8825         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8826           for ld_flag in $LDFLAGS; do
8827           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8828             aix_use_runtimelinking=yes
8829             break
8830           fi
8831           done
8832           ;;
8833         esac
8835         exp_sym_flag='-bexport'
8836         no_entry_flag='-bnoentry'
8837       fi
8839       # When large executables or shared objects are built, AIX ld can
8840       # have problems creating the table of contents.  If linking a library
8841       # or program results in "error TOC overflow" add -mminimal-toc to
8842       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8843       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8845       archive_cmds=''
8846       hardcode_direct=yes
8847       hardcode_direct_absolute=yes
8848       hardcode_libdir_separator=':'
8849       link_all_deplibs=yes
8850       file_list_spec='${wl}-f,'
8852       if test "$GCC" = yes; then
8853         case $host_os in aix4.[012]|aix4.[012].*)
8854         # We only want to do this on AIX 4.2 and lower, the check
8855         # below for broken collect2 doesn't work under 4.3+
8856           collect2name=`${CC} -print-prog-name=collect2`
8857           if test -f "$collect2name" &&
8858            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8859           then
8860           # We have reworked collect2
8861           :
8862           else
8863           # We have old collect2
8864           hardcode_direct=unsupported
8865           # It fails to find uninstalled libraries when the uninstalled
8866           # path is not listed in the libpath.  Setting hardcode_minus_L
8867           # to unsupported forces relinking
8868           hardcode_minus_L=yes
8869           hardcode_libdir_flag_spec='-L$libdir'
8870           hardcode_libdir_separator=
8871           fi
8872           ;;
8873         esac
8874         shared_flag='-shared'
8875         if test "$aix_use_runtimelinking" = yes; then
8876           shared_flag="$shared_flag "'${wl}-G'
8877         fi
8878         link_all_deplibs=no
8879       else
8880         # not using gcc
8881         if test "$host_cpu" = ia64; then
8882         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8883         # chokes on -Wl,-G. The following line is correct:
8884           shared_flag='-G'
8885         else
8886           if test "$aix_use_runtimelinking" = yes; then
8887             shared_flag='${wl}-G'
8888           else
8889             shared_flag='${wl}-bM:SRE'
8890           fi
8891         fi
8892       fi
8894       export_dynamic_flag_spec='${wl}-bexpall'
8895       # It seems that -bexpall does not export symbols beginning with
8896       # underscore (_), so it is better to generate a list of symbols to export.
8897       always_export_symbols=yes
8898       if test "$aix_use_runtimelinking" = yes; then
8899         # Warning - without using the other runtime loading flags (-brtl),
8900         # -berok will link without error, but may produce a broken library.
8901         allow_undefined_flag='-berok'
8902         # Determine the default libpath from the value encoded in an
8903         # empty executable.
8904         if test "${lt_cv_aix_libpath+set}" = set; then
8905   aix_libpath=$lt_cv_aix_libpath
8906 else
8907   if ${lt_cv_aix_libpath_+:} false; then :
8908   $as_echo_n "(cached) " >&6
8909 else
8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h.  */
8913 int
8914 main ()
8917   ;
8918   return 0;
8920 _ACEOF
8921 if ac_fn_c_try_link "$LINENO"; then :
8923   lt_aix_libpath_sed='
8924       /Import File Strings/,/^$/ {
8925           /^0/ {
8926               s/^0  *\([^ ]*\) *$/\1/
8927               p
8928           }
8929       }'
8930   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931   # Check for a 64-bit object if we didn't find anything.
8932   if test -z "$lt_cv_aix_libpath_"; then
8933     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934   fi
8935 fi
8936 rm -f core conftest.err conftest.$ac_objext \
8937     conftest$ac_exeext conftest.$ac_ext
8938   if test -z "$lt_cv_aix_libpath_"; then
8939     lt_cv_aix_libpath_="/usr/lib:/lib"
8940   fi
8942 fi
8944   aix_libpath=$lt_cv_aix_libpath_
8945 fi
8947         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8948         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"
8949       else
8950         if test "$host_cpu" = ia64; then
8951           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8952           allow_undefined_flag="-z nodefs"
8953           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"
8954         else
8955          # Determine the default libpath from the value encoded in an
8956          # empty executable.
8957          if test "${lt_cv_aix_libpath+set}" = set; then
8958   aix_libpath=$lt_cv_aix_libpath
8959 else
8960   if ${lt_cv_aix_libpath_+:} false; then :
8961   $as_echo_n "(cached) " >&6
8962 else
8963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h.  */
8966 int
8967 main ()
8970   ;
8971   return 0;
8973 _ACEOF
8974 if ac_fn_c_try_link "$LINENO"; then :
8976   lt_aix_libpath_sed='
8977       /Import File Strings/,/^$/ {
8978           /^0/ {
8979               s/^0  *\([^ ]*\) *$/\1/
8980               p
8981           }
8982       }'
8983   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8984   # Check for a 64-bit object if we didn't find anything.
8985   if test -z "$lt_cv_aix_libpath_"; then
8986     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8987   fi
8988 fi
8989 rm -f core conftest.err conftest.$ac_objext \
8990     conftest$ac_exeext conftest.$ac_ext
8991   if test -z "$lt_cv_aix_libpath_"; then
8992     lt_cv_aix_libpath_="/usr/lib:/lib"
8993   fi
8995 fi
8997   aix_libpath=$lt_cv_aix_libpath_
8998 fi
9000          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9001           # Warning - without using the other run time loading flags,
9002           # -berok will link without error, but may produce a broken library.
9003           no_undefined_flag=' ${wl}-bernotok'
9004           allow_undefined_flag=' ${wl}-berok'
9005           if test "$with_gnu_ld" = yes; then
9006             # We only use this code for GNU lds that support --whole-archive.
9007             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9008           else
9009             # Exported symbols can be pulled into shared objects from archives
9010             whole_archive_flag_spec='$convenience'
9011           fi
9012           archive_cmds_need_lc=yes
9013           # This is similar to how AIX traditionally builds its shared libraries.
9014           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'
9015         fi
9016       fi
9017       ;;
9019     amigaos*)
9020       case $host_cpu in
9021       powerpc)
9022             # see comment about AmigaOS4 .so support
9023             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9024             archive_expsym_cmds=''
9025         ;;
9026       m68k)
9027             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)'
9028             hardcode_libdir_flag_spec='-L$libdir'
9029             hardcode_minus_L=yes
9030         ;;
9031       esac
9032       ;;
9034     bsdi[45]*)
9035       export_dynamic_flag_spec=-rdynamic
9036       ;;
9038     cygwin* | mingw* | pw32* | cegcc*)
9039       # When not using gcc, we currently assume that we are using
9040       # Microsoft Visual C++.
9041       # hardcode_libdir_flag_spec is actually meaningless, as there is
9042       # no search path for DLLs.
9043       case $cc_basename in
9044       cl*)
9045         # Native MSVC
9046         hardcode_libdir_flag_spec=' '
9047         allow_undefined_flag=unsupported
9048         always_export_symbols=yes
9049         file_list_spec='@'
9050         # Tell ltmain to make .lib files, not .a files.
9051         libext=lib
9052         # Tell ltmain to make .dll files, not .so files.
9053         shrext_cmds=".dll"
9054         # FIXME: Setting linknames here is a bad hack.
9055         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9056         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9057             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9058           else
9059             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9060           fi~
9061           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9062           linknames='
9063         # The linker will not automatically build a static lib if we build a DLL.
9064         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9065         enable_shared_with_static_runtimes=yes
9066         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9067         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9068         # Don't use ranlib
9069         old_postinstall_cmds='chmod 644 $oldlib'
9070         postlink_cmds='lt_outputfile="@OUTPUT@"~
9071           lt_tool_outputfile="@TOOL_OUTPUT@"~
9072           case $lt_outputfile in
9073             *.exe|*.EXE) ;;
9074             *)
9075               lt_outputfile="$lt_outputfile.exe"
9076               lt_tool_outputfile="$lt_tool_outputfile.exe"
9077               ;;
9078           esac~
9079           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9080             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9081             $RM "$lt_outputfile.manifest";
9082           fi'
9083         ;;
9084       *)
9085         # Assume MSVC wrapper
9086         hardcode_libdir_flag_spec=' '
9087         allow_undefined_flag=unsupported
9088         # Tell ltmain to make .lib files, not .a files.
9089         libext=lib
9090         # Tell ltmain to make .dll files, not .so files.
9091         shrext_cmds=".dll"
9092         # FIXME: Setting linknames here is a bad hack.
9093         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9094         # The linker will automatically build a .lib file if we build a DLL.
9095         old_archive_from_new_cmds='true'
9096         # FIXME: Should let the user specify the lib program.
9097         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9098         enable_shared_with_static_runtimes=yes
9099         ;;
9100       esac
9101       ;;
9103     darwin* | rhapsody*)
9106   archive_cmds_need_lc=no
9107   hardcode_direct=no
9108   hardcode_automatic=yes
9109   hardcode_shlibpath_var=unsupported
9110   if test "$lt_cv_ld_force_load" = "yes"; then
9111     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\"`'
9113   else
9114     whole_archive_flag_spec=''
9115   fi
9116   link_all_deplibs=yes
9117   allow_undefined_flag="$_lt_dar_allow_undefined"
9118   case $cc_basename in
9119      ifort*) _lt_dar_can_shared=yes ;;
9120      *) _lt_dar_can_shared=$GCC ;;
9121   esac
9122   if test "$_lt_dar_can_shared" = "yes"; then
9123     output_verbose_link_cmd=func_echo_all
9124     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9125     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9126     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}"
9127     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}"
9129   else
9130   ld_shlibs=no
9131   fi
9133       ;;
9135     dgux*)
9136       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9137       hardcode_libdir_flag_spec='-L$libdir'
9138       hardcode_shlibpath_var=no
9139       ;;
9141     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9142     # support.  Future versions do this automatically, but an explicit c++rt0.o
9143     # does not break anything, and helps significantly (at the cost of a little
9144     # extra space).
9145     freebsd2.2*)
9146       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9147       hardcode_libdir_flag_spec='-R$libdir'
9148       hardcode_direct=yes
9149       hardcode_shlibpath_var=no
9150       ;;
9152     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9153     freebsd2.*)
9154       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9155       hardcode_direct=yes
9156       hardcode_minus_L=yes
9157       hardcode_shlibpath_var=no
9158       ;;
9160     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9161     freebsd* | dragonfly*)
9162       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9163       hardcode_libdir_flag_spec='-R$libdir'
9164       hardcode_direct=yes
9165       hardcode_shlibpath_var=no
9166       ;;
9168     hpux9*)
9169       if test "$GCC" = yes; then
9170         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'
9171       else
9172         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'
9173       fi
9174       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9175       hardcode_libdir_separator=:
9176       hardcode_direct=yes
9178       # hardcode_minus_L: Not really in the search PATH,
9179       # but as the default location of the library.
9180       hardcode_minus_L=yes
9181       export_dynamic_flag_spec='${wl}-E'
9182       ;;
9184     hpux10*)
9185       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9186         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9187       else
9188         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9189       fi
9190       if test "$with_gnu_ld" = no; then
9191         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9192         hardcode_libdir_separator=:
9193         hardcode_direct=yes
9194         hardcode_direct_absolute=yes
9195         export_dynamic_flag_spec='${wl}-E'
9196         # hardcode_minus_L: Not really in the search PATH,
9197         # but as the default location of the library.
9198         hardcode_minus_L=yes
9199       fi
9200       ;;
9202     hpux11*)
9203       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9204         case $host_cpu in
9205         hppa*64*)
9206           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9207           ;;
9208         ia64*)
9209           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9210           ;;
9211         *)
9212           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9213           ;;
9214         esac
9215       else
9216         case $host_cpu in
9217         hppa*64*)
9218           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9219           ;;
9220         ia64*)
9221           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9222           ;;
9223         *)
9225           # Older versions of the 11.00 compiler do not understand -b yet
9226           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9227           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9228 $as_echo_n "checking if $CC understands -b... " >&6; }
9229 if ${lt_cv_prog_compiler__b+:} false; then :
9230   $as_echo_n "(cached) " >&6
9231 else
9232   lt_cv_prog_compiler__b=no
9233    save_LDFLAGS="$LDFLAGS"
9234    LDFLAGS="$LDFLAGS -b"
9235    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9236    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9237      # The linker can only warn and ignore the option if not recognized
9238      # So say no if there are warnings
9239      if test -s conftest.err; then
9240        # Append any errors to the config.log.
9241        cat conftest.err 1>&5
9242        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9243        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9244        if diff conftest.exp conftest.er2 >/dev/null; then
9245          lt_cv_prog_compiler__b=yes
9246        fi
9247      else
9248        lt_cv_prog_compiler__b=yes
9249      fi
9250    fi
9251    $RM -r conftest*
9252    LDFLAGS="$save_LDFLAGS"
9254 fi
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9256 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9258 if test x"$lt_cv_prog_compiler__b" = xyes; then
9259     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9260 else
9261     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9262 fi
9264           ;;
9265         esac
9266       fi
9267       if test "$with_gnu_ld" = no; then
9268         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9269         hardcode_libdir_separator=:
9271         case $host_cpu in
9272         hppa*64*|ia64*)
9273           hardcode_direct=no
9274           hardcode_shlibpath_var=no
9275           ;;
9276         *)
9277           hardcode_direct=yes
9278           hardcode_direct_absolute=yes
9279           export_dynamic_flag_spec='${wl}-E'
9281           # hardcode_minus_L: Not really in the search PATH,
9282           # but as the default location of the library.
9283           hardcode_minus_L=yes
9284           ;;
9285         esac
9286       fi
9287       ;;
9289     irix5* | irix6* | nonstopux*)
9290       if test "$GCC" = yes; then
9291         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'
9292         # Try to use the -exported_symbol ld option, if it does not
9293         # work, assume that -exports_file does not work either and
9294         # implicitly export all symbols.
9295         # This should be the same for all languages, so no per-tag cache variable.
9296         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9297 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9298 if ${lt_cv_irix_exported_symbol+:} false; then :
9299   $as_echo_n "(cached) " >&6
9300 else
9301   save_LDFLAGS="$LDFLAGS"
9302            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9303            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h.  */
9305 int foo (void) { return 0; }
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308   lt_cv_irix_exported_symbol=yes
9309 else
9310   lt_cv_irix_exported_symbol=no
9311 fi
9312 rm -f core conftest.err conftest.$ac_objext \
9313     conftest$ac_exeext conftest.$ac_ext
9314            LDFLAGS="$save_LDFLAGS"
9315 fi
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9317 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9318         if test "$lt_cv_irix_exported_symbol" = yes; then
9319           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'
9320         fi
9321       else
9322         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'
9323         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'
9324       fi
9325       archive_cmds_need_lc='no'
9326       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9327       hardcode_libdir_separator=:
9328       inherit_rpath=yes
9329       link_all_deplibs=yes
9330       ;;
9332     netbsd* | netbsdelf*-gnu)
9333       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9334         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9335       else
9336         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9337       fi
9338       hardcode_libdir_flag_spec='-R$libdir'
9339       hardcode_direct=yes
9340       hardcode_shlibpath_var=no
9341       ;;
9343     newsos6)
9344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345       hardcode_direct=yes
9346       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9347       hardcode_libdir_separator=:
9348       hardcode_shlibpath_var=no
9349       ;;
9351     *nto* | *qnx*)
9352       ;;
9354     openbsd*)
9355       if test -f /usr/libexec/ld.so; then
9356         hardcode_direct=yes
9357         hardcode_shlibpath_var=no
9358         hardcode_direct_absolute=yes
9359         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9360           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9361           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9362           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9363           export_dynamic_flag_spec='${wl}-E'
9364         else
9365           case $host_os in
9366            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9367              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9368              hardcode_libdir_flag_spec='-R$libdir'
9369              ;;
9370            *)
9371              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9372              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9373              ;;
9374           esac
9375         fi
9376       else
9377         ld_shlibs=no
9378       fi
9379       ;;
9381     os2*)
9382       hardcode_libdir_flag_spec='-L$libdir'
9383       hardcode_minus_L=yes
9384       allow_undefined_flag=unsupported
9385       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'
9386       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9387       ;;
9389     osf3*)
9390       if test "$GCC" = yes; then
9391         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9392         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'
9393       else
9394         allow_undefined_flag=' -expect_unresolved \*'
9395         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'
9396       fi
9397       archive_cmds_need_lc='no'
9398       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9399       hardcode_libdir_separator=:
9400       ;;
9402     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9403       if test "$GCC" = yes; then
9404         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9405         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'
9406         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9407       else
9408         allow_undefined_flag=' -expect_unresolved \*'
9409         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'
9410         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~
9411         $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'
9413         # Both c and cxx compiler support -rpath directly
9414         hardcode_libdir_flag_spec='-rpath $libdir'
9415       fi
9416       archive_cmds_need_lc='no'
9417       hardcode_libdir_separator=:
9418       ;;
9420     solaris*)
9421       no_undefined_flag=' -z defs'
9422       if test "$GCC" = yes; then
9423         wlarc='${wl}'
9424         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9425         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9426           $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'
9427       else
9428         case `$CC -V 2>&1` in
9429         *"Compilers 5.0"*)
9430           wlarc=''
9431           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9432           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9433           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9434           ;;
9435         *)
9436           wlarc='${wl}'
9437           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9438           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9439           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9440           ;;
9441         esac
9442       fi
9443       hardcode_libdir_flag_spec='-R$libdir'
9444       hardcode_shlibpath_var=no
9445       case $host_os in
9446       solaris2.[0-5] | solaris2.[0-5].*) ;;
9447       *)
9448         # The compiler driver will combine and reorder linker options,
9449         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9450         # but is careful enough not to reorder.
9451         # Supported since Solaris 2.6 (maybe 2.5.1?)
9452         if test "$GCC" = yes; then
9453           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9454         else
9455           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9456         fi
9457         ;;
9458       esac
9459       link_all_deplibs=yes
9460       ;;
9462     sunos4*)
9463       if test "x$host_vendor" = xsequent; then
9464         # Use $CC to link under sequent, because it throws in some extra .o
9465         # files that make .init and .fini sections work.
9466         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9467       else
9468         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9469       fi
9470       hardcode_libdir_flag_spec='-L$libdir'
9471       hardcode_direct=yes
9472       hardcode_minus_L=yes
9473       hardcode_shlibpath_var=no
9474       ;;
9476     sysv4)
9477       case $host_vendor in
9478         sni)
9479           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480           hardcode_direct=yes # is this really true???
9481         ;;
9482         siemens)
9483           ## LD is ld it makes a PLAMLIB
9484           ## CC just makes a GrossModule.
9485           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9486           reload_cmds='$CC -r -o $output$reload_objs'
9487           hardcode_direct=no
9488         ;;
9489         motorola)
9490           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9491           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9492         ;;
9493       esac
9494       runpath_var='LD_RUN_PATH'
9495       hardcode_shlibpath_var=no
9496       ;;
9498     sysv4.3*)
9499       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9500       hardcode_shlibpath_var=no
9501       export_dynamic_flag_spec='-Bexport'
9502       ;;
9504     sysv4*MP*)
9505       if test -d /usr/nec; then
9506         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507         hardcode_shlibpath_var=no
9508         runpath_var=LD_RUN_PATH
9509         hardcode_runpath_var=yes
9510         ld_shlibs=yes
9511       fi
9512       ;;
9514     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9515       no_undefined_flag='${wl}-z,text'
9516       archive_cmds_need_lc=no
9517       hardcode_shlibpath_var=no
9518       runpath_var='LD_RUN_PATH'
9520       if test "$GCC" = yes; then
9521         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9522         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9523       else
9524         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9526       fi
9527       ;;
9529     sysv5* | sco3.2v5* | sco5v6*)
9530       # Note: We can NOT use -z defs as we might desire, because we do not
9531       # link with -lc, and that would cause any symbols used from libc to
9532       # always be unresolved, which means just about no library would
9533       # ever link correctly.  If we're not using GNU ld we use -z text
9534       # though, which does catch some bad symbols but isn't as heavy-handed
9535       # as -z defs.
9536       no_undefined_flag='${wl}-z,text'
9537       allow_undefined_flag='${wl}-z,nodefs'
9538       archive_cmds_need_lc=no
9539       hardcode_shlibpath_var=no
9540       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9541       hardcode_libdir_separator=':'
9542       link_all_deplibs=yes
9543       export_dynamic_flag_spec='${wl}-Bexport'
9544       runpath_var='LD_RUN_PATH'
9546       if test "$GCC" = yes; then
9547         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9548         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9549       else
9550         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9551         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9552       fi
9553       ;;
9555     uts4*)
9556       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9557       hardcode_libdir_flag_spec='-L$libdir'
9558       hardcode_shlibpath_var=no
9559       ;;
9561     *)
9562       ld_shlibs=no
9563       ;;
9564     esac
9566     if test x$host_vendor = xsni; then
9567       case $host in
9568       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9569         export_dynamic_flag_spec='${wl}-Blargedynsym'
9570         ;;
9571       esac
9572     fi
9573   fi
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9576 $as_echo "$ld_shlibs" >&6; }
9577 test "$ld_shlibs" = no && can_build_shared=no
9579 with_gnu_ld=$with_gnu_ld
9596 # Do we need to explicitly link libc?
9598 case "x$archive_cmds_need_lc" in
9599 x|xyes)
9600   # Assume -lc should be added
9601   archive_cmds_need_lc=yes
9603   if test "$enable_shared" = yes && test "$GCC" = yes; then
9604     case $archive_cmds in
9605     *'~'*)
9606       # FIXME: we may have to deal with multi-command sequences.
9607       ;;
9608     '$CC '*)
9609       # Test whether the compiler implicitly links with -lc since on some
9610       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9611       # to ld, don't add -lc before -lgcc.
9612       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9613 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9614 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9615   $as_echo_n "(cached) " >&6
9616 else
9617   $RM conftest*
9618         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9620         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9621   (eval $ac_compile) 2>&5
9622   ac_status=$?
9623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9624   test $ac_status = 0; } 2>conftest.err; then
9625           soname=conftest
9626           lib=conftest
9627           libobjs=conftest.$ac_objext
9628           deplibs=
9629           wl=$lt_prog_compiler_wl
9630           pic_flag=$lt_prog_compiler_pic
9631           compiler_flags=-v
9632           linker_flags=-v
9633           verstring=
9634           output_objdir=.
9635           libname=conftest
9636           lt_save_allow_undefined_flag=$allow_undefined_flag
9637           allow_undefined_flag=
9638           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9639   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9640   ac_status=$?
9641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9642   test $ac_status = 0; }
9643           then
9644             lt_cv_archive_cmds_need_lc=no
9645           else
9646             lt_cv_archive_cmds_need_lc=yes
9647           fi
9648           allow_undefined_flag=$lt_save_allow_undefined_flag
9649         else
9650           cat conftest.err 1>&5
9651         fi
9652         $RM conftest*
9654 fi
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9656 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9657       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9658       ;;
9659     esac
9660   fi
9661   ;;
9662 esac
9815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9816 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9818 if test "$GCC" = yes; then
9819   case $host_os in
9820     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9821     *) lt_awk_arg="/^libraries:/" ;;
9822   esac
9823   case $host_os in
9824     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9825     *) lt_sed_strip_eq="s,=/,/,g" ;;
9826   esac
9827   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9828   case $lt_search_path_spec in
9829   *\;*)
9830     # if the path contains ";" then we assume it to be the separator
9831     # otherwise default to the standard path separator (i.e. ":") - it is
9832     # assumed that no part of a normal pathname contains ";" but that should
9833     # okay in the real world where ";" in dirpaths is itself problematic.
9834     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9835     ;;
9836   *)
9837     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9838     ;;
9839   esac
9840   # Ok, now we have the path, separated by spaces, we can step through it
9841   # and add multilib dir if necessary.
9842   lt_tmp_lt_search_path_spec=
9843   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9844   for lt_sys_path in $lt_search_path_spec; do
9845     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9846       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9847     else
9848       test -d "$lt_sys_path" && \
9849         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9850     fi
9851   done
9852   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9853 BEGIN {RS=" "; FS="/|\n";} {
9854   lt_foo="";
9855   lt_count=0;
9856   for (lt_i = NF; lt_i > 0; lt_i--) {
9857     if ($lt_i != "" && $lt_i != ".") {
9858       if ($lt_i == "..") {
9859         lt_count++;
9860       } else {
9861         if (lt_count == 0) {
9862           lt_foo="/" $lt_i lt_foo;
9863         } else {
9864           lt_count--;
9865         }
9866       }
9867     }
9868   }
9869   if (lt_foo != "") { lt_freq[lt_foo]++; }
9870   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9871 }'`
9872   # AWK program above erroneously prepends '/' to C:/dos/paths
9873   # for these hosts.
9874   case $host_os in
9875     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9876       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9877   esac
9878   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9879 else
9880   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9881 fi
9882 library_names_spec=
9883 libname_spec='lib$name'
9884 soname_spec=
9885 shrext_cmds=".so"
9886 postinstall_cmds=
9887 postuninstall_cmds=
9888 finish_cmds=
9889 finish_eval=
9890 shlibpath_var=
9891 shlibpath_overrides_runpath=unknown
9892 version_type=none
9893 dynamic_linker="$host_os ld.so"
9894 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9895 need_lib_prefix=unknown
9896 hardcode_into_libs=no
9898 # when you set need_version to no, make sure it does not cause -set_version
9899 # flags to be left without arguments
9900 need_version=unknown
9902 case $host_os in
9903 aix3*)
9904   version_type=linux # correct to gnu/linux during the next big refactor
9905   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9906   shlibpath_var=LIBPATH
9908   # AIX 3 has no versioning support, so we append a major version to the name.
9909   soname_spec='${libname}${release}${shared_ext}$major'
9910   ;;
9912 aix[4-9]*)
9913   version_type=linux # correct to gnu/linux during the next big refactor
9914   need_lib_prefix=no
9915   need_version=no
9916   hardcode_into_libs=yes
9917   if test "$host_cpu" = ia64; then
9918     # AIX 5 supports IA64
9919     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9920     shlibpath_var=LD_LIBRARY_PATH
9921   else
9922     # With GCC up to 2.95.x, collect2 would create an import file
9923     # for dependence libraries.  The import file would start with
9924     # the line `#! .'.  This would cause the generated library to
9925     # depend on `.', always an invalid library.  This was fixed in
9926     # development snapshots of GCC prior to 3.0.
9927     case $host_os in
9928       aix4 | aix4.[01] | aix4.[01].*)
9929       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9930            echo ' yes '
9931            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9932         :
9933       else
9934         can_build_shared=no
9935       fi
9936       ;;
9937     esac
9938     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9939     # soname into executable. Probably we can add versioning support to
9940     # collect2, so additional links can be useful in future.
9941     if test "$aix_use_runtimelinking" = yes; then
9942       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9943       # instead of lib<name>.a to let people know that these are not
9944       # typical AIX shared libraries.
9945       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9946     else
9947       # We preserve .a as extension for shared libraries through AIX4.2
9948       # and later when we are not doing run time linking.
9949       library_names_spec='${libname}${release}.a $libname.a'
9950       soname_spec='${libname}${release}${shared_ext}$major'
9951     fi
9952     shlibpath_var=LIBPATH
9953   fi
9954   ;;
9956 amigaos*)
9957   case $host_cpu in
9958   powerpc)
9959     # Since July 2007 AmigaOS4 officially supports .so libraries.
9960     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9962     ;;
9963   m68k)
9964     library_names_spec='$libname.ixlibrary $libname.a'
9965     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9966     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'
9967     ;;
9968   esac
9969   ;;
9971 beos*)
9972   library_names_spec='${libname}${shared_ext}'
9973   dynamic_linker="$host_os ld.so"
9974   shlibpath_var=LIBRARY_PATH
9975   ;;
9977 bsdi[45]*)
9978   version_type=linux # correct to gnu/linux during the next big refactor
9979   need_version=no
9980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9981   soname_spec='${libname}${release}${shared_ext}$major'
9982   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9983   shlibpath_var=LD_LIBRARY_PATH
9984   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9985   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9986   # the default ld.so.conf also contains /usr/contrib/lib and
9987   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9988   # libtool to hard-code these into programs
9989   ;;
9991 cygwin* | mingw* | pw32* | cegcc*)
9992   version_type=windows
9993   shrext_cmds=".dll"
9994   need_version=no
9995   need_lib_prefix=no
9997   case $GCC,$cc_basename in
9998   yes,*)
9999     # gcc
10000     library_names_spec='$libname.dll.a'
10001     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10002     postinstall_cmds='base_file=`basename \${file}`~
10003       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10004       dldir=$destdir/`dirname \$dlpath`~
10005       test -d \$dldir || mkdir -p \$dldir~
10006       $install_prog $dir/$dlname \$dldir/$dlname~
10007       chmod a+x \$dldir/$dlname~
10008       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10009         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10010       fi'
10011     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10012       dlpath=$dir/\$dldll~
10013        $RM \$dlpath'
10014     shlibpath_overrides_runpath=yes
10016     case $host_os in
10017     cygwin*)
10018       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10019       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10021       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10022       ;;
10023     mingw* | cegcc*)
10024       # MinGW DLLs use traditional 'lib' prefix
10025       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10026       ;;
10027     pw32*)
10028       # pw32 DLLs use 'pw' prefix rather than 'lib'
10029       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10030       ;;
10031     esac
10032     dynamic_linker='Win32 ld.exe'
10033     ;;
10035   *,cl*)
10036     # Native MSVC
10037     libname_spec='$name'
10038     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10039     library_names_spec='${libname}.dll.lib'
10041     case $build_os in
10042     mingw*)
10043       sys_lib_search_path_spec=
10044       lt_save_ifs=$IFS
10045       IFS=';'
10046       for lt_path in $LIB
10047       do
10048         IFS=$lt_save_ifs
10049         # Let DOS variable expansion print the short 8.3 style file name.
10050         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10051         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10052       done
10053       IFS=$lt_save_ifs
10054       # Convert to MSYS style.
10055       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10056       ;;
10057     cygwin*)
10058       # Convert to unix form, then to dos form, then back to unix form
10059       # but this time dos style (no spaces!) so that the unix form looks
10060       # like /cygdrive/c/PROGRA~1:/cygdr...
10061       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10062       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10063       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10064       ;;
10065     *)
10066       sys_lib_search_path_spec="$LIB"
10067       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10068         # It is most probably a Windows format PATH.
10069         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10070       else
10071         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10072       fi
10073       # FIXME: find the short name or the path components, as spaces are
10074       # common. (e.g. "Program Files" -> "PROGRA~1")
10075       ;;
10076     esac
10078     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10079     postinstall_cmds='base_file=`basename \${file}`~
10080       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10081       dldir=$destdir/`dirname \$dlpath`~
10082       test -d \$dldir || mkdir -p \$dldir~
10083       $install_prog $dir/$dlname \$dldir/$dlname'
10084     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10085       dlpath=$dir/\$dldll~
10086        $RM \$dlpath'
10087     shlibpath_overrides_runpath=yes
10088     dynamic_linker='Win32 link.exe'
10089     ;;
10091   *)
10092     # Assume MSVC wrapper
10093     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10094     dynamic_linker='Win32 ld.exe'
10095     ;;
10096   esac
10097   # FIXME: first we should search . and the directory the executable is in
10098   shlibpath_var=PATH
10099   ;;
10101 darwin* | rhapsody*)
10102   dynamic_linker="$host_os dyld"
10103   version_type=darwin
10104   need_lib_prefix=no
10105   need_version=no
10106   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10107   soname_spec='${libname}${release}${major}$shared_ext'
10108   shlibpath_overrides_runpath=yes
10109   shlibpath_var=DYLD_LIBRARY_PATH
10110   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10112   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10113   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10114   ;;
10116 dgux*)
10117   version_type=linux # correct to gnu/linux during the next big refactor
10118   need_lib_prefix=no
10119   need_version=no
10120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10121   soname_spec='${libname}${release}${shared_ext}$major'
10122   shlibpath_var=LD_LIBRARY_PATH
10123   ;;
10125 freebsd* | dragonfly*)
10126   # DragonFly does not have aout.  When/if they implement a new
10127   # versioning mechanism, adjust this.
10128   if test -x /usr/bin/objformat; then
10129     objformat=`/usr/bin/objformat`
10130   else
10131     case $host_os in
10132     freebsd[23].*) objformat=aout ;;
10133     *) objformat=elf ;;
10134     esac
10135   fi
10136   version_type=freebsd-$objformat
10137   case $version_type in
10138     freebsd-elf*)
10139       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10140       need_version=no
10141       need_lib_prefix=no
10142       ;;
10143     freebsd-*)
10144       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10145       need_version=yes
10146       ;;
10147   esac
10148   shlibpath_var=LD_LIBRARY_PATH
10149   case $host_os in
10150   freebsd2.*)
10151     shlibpath_overrides_runpath=yes
10152     ;;
10153   freebsd3.[01]* | freebsdelf3.[01]*)
10154     shlibpath_overrides_runpath=yes
10155     hardcode_into_libs=yes
10156     ;;
10157   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10158   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10159     shlibpath_overrides_runpath=no
10160     hardcode_into_libs=yes
10161     ;;
10162   *) # from 4.6 on, and DragonFly
10163     shlibpath_overrides_runpath=yes
10164     hardcode_into_libs=yes
10165     ;;
10166   esac
10167   ;;
10169 gnu*)
10170   version_type=linux # correct to gnu/linux during the next big refactor
10171   need_lib_prefix=no
10172   need_version=no
10173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10174   soname_spec='${libname}${release}${shared_ext}$major'
10175   shlibpath_var=LD_LIBRARY_PATH
10176   shlibpath_overrides_runpath=no
10177   hardcode_into_libs=yes
10178   ;;
10180 haiku*)
10181   version_type=linux # correct to gnu/linux during the next big refactor
10182   need_lib_prefix=no
10183   need_version=no
10184   dynamic_linker="$host_os runtime_loader"
10185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10186   soname_spec='${libname}${release}${shared_ext}$major'
10187   shlibpath_var=LIBRARY_PATH
10188   shlibpath_overrides_runpath=yes
10189   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10190   hardcode_into_libs=yes
10191   ;;
10193 hpux9* | hpux10* | hpux11*)
10194   # Give a soname corresponding to the major version so that dld.sl refuses to
10195   # link against other versions.
10196   version_type=sunos
10197   need_lib_prefix=no
10198   need_version=no
10199   case $host_cpu in
10200   ia64*)
10201     shrext_cmds='.so'
10202     hardcode_into_libs=yes
10203     dynamic_linker="$host_os dld.so"
10204     shlibpath_var=LD_LIBRARY_PATH
10205     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10206     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10207     soname_spec='${libname}${release}${shared_ext}$major'
10208     if test "X$HPUX_IA64_MODE" = X32; then
10209       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10210     else
10211       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10212     fi
10213     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10214     ;;
10215   hppa*64*)
10216     shrext_cmds='.sl'
10217     hardcode_into_libs=yes
10218     dynamic_linker="$host_os dld.sl"
10219     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10220     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10221     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10222     soname_spec='${libname}${release}${shared_ext}$major'
10223     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10224     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10225     ;;
10226   *)
10227     shrext_cmds='.sl'
10228     dynamic_linker="$host_os dld.sl"
10229     shlibpath_var=SHLIB_PATH
10230     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10231     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10232     soname_spec='${libname}${release}${shared_ext}$major'
10233     ;;
10234   esac
10235   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10236   postinstall_cmds='chmod 555 $lib'
10237   # or fails outright, so override atomically:
10238   install_override_mode=555
10239   ;;
10241 interix[3-9]*)
10242   version_type=linux # correct to gnu/linux during the next big refactor
10243   need_lib_prefix=no
10244   need_version=no
10245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10246   soname_spec='${libname}${release}${shared_ext}$major'
10247   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10248   shlibpath_var=LD_LIBRARY_PATH
10249   shlibpath_overrides_runpath=no
10250   hardcode_into_libs=yes
10251   ;;
10253 irix5* | irix6* | nonstopux*)
10254   case $host_os in
10255     nonstopux*) version_type=nonstopux ;;
10256     *)
10257         if test "$lt_cv_prog_gnu_ld" = yes; then
10258                 version_type=linux # correct to gnu/linux during the next big refactor
10259         else
10260                 version_type=irix
10261         fi ;;
10262   esac
10263   need_lib_prefix=no
10264   need_version=no
10265   soname_spec='${libname}${release}${shared_ext}$major'
10266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10267   case $host_os in
10268   irix5* | nonstopux*)
10269     libsuff= shlibsuff=
10270     ;;
10271   *)
10272     case $LD in # libtool.m4 will add one of these switches to LD
10273     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10274       libsuff= shlibsuff= libmagic=32-bit;;
10275     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10276       libsuff=32 shlibsuff=N32 libmagic=N32;;
10277     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10278       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10279     *) libsuff= shlibsuff= libmagic=never-match;;
10280     esac
10281     ;;
10282   esac
10283   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10284   shlibpath_overrides_runpath=no
10285   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10286   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10287   hardcode_into_libs=yes
10288   ;;
10290 # No shared lib support for Linux oldld, aout, or coff.
10291 linux*oldld* | linux*aout* | linux*coff*)
10292   dynamic_linker=no
10293   ;;
10295 # This must be glibc/ELF.
10296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10297   version_type=linux # correct to gnu/linux during the next big refactor
10298   need_lib_prefix=no
10299   need_version=no
10300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10301   soname_spec='${libname}${release}${shared_ext}$major'
10302   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10303   shlibpath_var=LD_LIBRARY_PATH
10304   shlibpath_overrides_runpath=no
10306   # Some binutils ld are patched to set DT_RUNPATH
10307   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10308   $as_echo_n "(cached) " >&6
10309 else
10310   lt_cv_shlibpath_overrides_runpath=no
10311     save_LDFLAGS=$LDFLAGS
10312     save_libdir=$libdir
10313     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10314          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10315     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h.  */
10318 int
10319 main ()
10322   ;
10323   return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10328   lt_cv_shlibpath_overrides_runpath=yes
10331 rm -f core conftest.err conftest.$ac_objext \
10332     conftest$ac_exeext conftest.$ac_ext
10333     LDFLAGS=$save_LDFLAGS
10334     libdir=$save_libdir
10338   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10340   # This implies no fast_install, which is unacceptable.
10341   # Some rework will be needed to allow for fast_install
10342   # before this can be enabled.
10343   hardcode_into_libs=yes
10345   # Append ld.so.conf contents to the search path
10346   if test -f /etc/ld.so.conf; then
10347     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' ' '`
10348     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10349   fi
10351   # We used to test for /lib/ld.so.1 and disable shared libraries on
10352   # powerpc, because MkLinux only supported shared libraries with the
10353   # GNU dynamic linker.  Since this was broken with cross compilers,
10354   # most powerpc-linux boxes support dynamic linking these days and
10355   # people can always --disable-shared, the test was removed, and we
10356   # assume the GNU/Linux dynamic linker is in use.
10357   dynamic_linker='GNU/Linux ld.so'
10358   ;;
10360 netbsdelf*-gnu)
10361   version_type=linux
10362   need_lib_prefix=no
10363   need_version=no
10364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10365   soname_spec='${libname}${release}${shared_ext}$major'
10366   shlibpath_var=LD_LIBRARY_PATH
10367   shlibpath_overrides_runpath=no
10368   hardcode_into_libs=yes
10369   dynamic_linker='NetBSD ld.elf_so'
10370   ;;
10372 netbsd*)
10373   version_type=sunos
10374   need_lib_prefix=no
10375   need_version=no
10376   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10378     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10379     dynamic_linker='NetBSD (a.out) ld.so'
10380   else
10381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10382     soname_spec='${libname}${release}${shared_ext}$major'
10383     dynamic_linker='NetBSD ld.elf_so'
10384   fi
10385   shlibpath_var=LD_LIBRARY_PATH
10386   shlibpath_overrides_runpath=yes
10387   hardcode_into_libs=yes
10388   ;;
10390 newsos6)
10391   version_type=linux # correct to gnu/linux during the next big refactor
10392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10393   shlibpath_var=LD_LIBRARY_PATH
10394   shlibpath_overrides_runpath=yes
10395   ;;
10397 *nto* | *qnx*)
10398   version_type=qnx
10399   need_lib_prefix=no
10400   need_version=no
10401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10402   soname_spec='${libname}${release}${shared_ext}$major'
10403   shlibpath_var=LD_LIBRARY_PATH
10404   shlibpath_overrides_runpath=no
10405   hardcode_into_libs=yes
10406   dynamic_linker='ldqnx.so'
10407   ;;
10409 openbsd*)
10410   version_type=sunos
10411   sys_lib_dlsearch_path_spec="/usr/lib"
10412   need_lib_prefix=no
10413   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10414   case $host_os in
10415     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10416     *)                          need_version=no  ;;
10417   esac
10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10419   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10420   shlibpath_var=LD_LIBRARY_PATH
10421   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10422     case $host_os in
10423       openbsd2.[89] | openbsd2.[89].*)
10424         shlibpath_overrides_runpath=no
10425         ;;
10426       *)
10427         shlibpath_overrides_runpath=yes
10428         ;;
10429       esac
10430   else
10431     shlibpath_overrides_runpath=yes
10432   fi
10433   ;;
10435 os2*)
10436   libname_spec='$name'
10437   shrext_cmds=".dll"
10438   need_lib_prefix=no
10439   library_names_spec='$libname${shared_ext} $libname.a'
10440   dynamic_linker='OS/2 ld.exe'
10441   shlibpath_var=LIBPATH
10442   ;;
10444 osf3* | osf4* | osf5*)
10445   version_type=osf
10446   need_lib_prefix=no
10447   need_version=no
10448   soname_spec='${libname}${release}${shared_ext}$major'
10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450   shlibpath_var=LD_LIBRARY_PATH
10451   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10452   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10453   ;;
10455 rdos*)
10456   dynamic_linker=no
10457   ;;
10459 solaris*)
10460   version_type=linux # correct to gnu/linux during the next big refactor
10461   need_lib_prefix=no
10462   need_version=no
10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464   soname_spec='${libname}${release}${shared_ext}$major'
10465   shlibpath_var=LD_LIBRARY_PATH
10466   shlibpath_overrides_runpath=yes
10467   hardcode_into_libs=yes
10468   # ldd complains unless libraries are executable
10469   postinstall_cmds='chmod +x $lib'
10470   ;;
10472 sunos4*)
10473   version_type=sunos
10474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10475   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10476   shlibpath_var=LD_LIBRARY_PATH
10477   shlibpath_overrides_runpath=yes
10478   if test "$with_gnu_ld" = yes; then
10479     need_lib_prefix=no
10480   fi
10481   need_version=yes
10482   ;;
10484 sysv4 | sysv4.3*)
10485   version_type=linux # correct to gnu/linux during the next big refactor
10486   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487   soname_spec='${libname}${release}${shared_ext}$major'
10488   shlibpath_var=LD_LIBRARY_PATH
10489   case $host_vendor in
10490     sni)
10491       shlibpath_overrides_runpath=no
10492       need_lib_prefix=no
10493       runpath_var=LD_RUN_PATH
10494       ;;
10495     siemens)
10496       need_lib_prefix=no
10497       ;;
10498     motorola)
10499       need_lib_prefix=no
10500       need_version=no
10501       shlibpath_overrides_runpath=no
10502       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10503       ;;
10504   esac
10505   ;;
10507 sysv4*MP*)
10508   if test -d /usr/nec ;then
10509     version_type=linux # correct to gnu/linux during the next big refactor
10510     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10511     soname_spec='$libname${shared_ext}.$major'
10512     shlibpath_var=LD_LIBRARY_PATH
10513   fi
10514   ;;
10516 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10517   version_type=freebsd-elf
10518   need_lib_prefix=no
10519   need_version=no
10520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10521   soname_spec='${libname}${release}${shared_ext}$major'
10522   shlibpath_var=LD_LIBRARY_PATH
10523   shlibpath_overrides_runpath=yes
10524   hardcode_into_libs=yes
10525   if test "$with_gnu_ld" = yes; then
10526     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10527   else
10528     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10529     case $host_os in
10530       sco3.2v5*)
10531         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10532         ;;
10533     esac
10534   fi
10535   sys_lib_dlsearch_path_spec='/usr/lib'
10536   ;;
10538 tpf*)
10539   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10540   version_type=linux # correct to gnu/linux during the next big refactor
10541   need_lib_prefix=no
10542   need_version=no
10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544   shlibpath_var=LD_LIBRARY_PATH
10545   shlibpath_overrides_runpath=no
10546   hardcode_into_libs=yes
10547   ;;
10549 uts4*)
10550   version_type=linux # correct to gnu/linux during the next big refactor
10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552   soname_spec='${libname}${release}${shared_ext}$major'
10553   shlibpath_var=LD_LIBRARY_PATH
10554   ;;
10557   dynamic_linker=no
10558   ;;
10559 esac
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10561 $as_echo "$dynamic_linker" >&6; }
10562 test "$dynamic_linker" = no && can_build_shared=no
10564 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10565 if test "$GCC" = yes; then
10566   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10569 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10570   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10572 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10573   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10668 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10669 hardcode_action=
10670 if test -n "$hardcode_libdir_flag_spec" ||
10671    test -n "$runpath_var" ||
10672    test "X$hardcode_automatic" = "Xyes" ; then
10674   # We can hardcode non-existent directories.
10675   if test "$hardcode_direct" != no &&
10676      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10677      # have to relink, otherwise we might link with an installed library
10678      # when we should be linking with a yet-to-be-installed one
10679      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10680      test "$hardcode_minus_L" != no; then
10681     # Linking always hardcodes the temporary library directory.
10682     hardcode_action=relink
10683   else
10684     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10685     hardcode_action=immediate
10686   fi
10687 else
10688   # We cannot hardcode anything, or else we can only hardcode existing
10689   # directories.
10690   hardcode_action=unsupported
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10693 $as_echo "$hardcode_action" >&6; }
10695 if test "$hardcode_action" = relink ||
10696    test "$inherit_rpath" = yes; then
10697   # Fast installation is not supported
10698   enable_fast_install=no
10699 elif test "$shlibpath_overrides_runpath" = yes ||
10700      test "$enable_shared" = no; then
10701   # Fast installation is not necessary
10702   enable_fast_install=needless
10710   if test "x$enable_dlopen" != xyes; then
10711   enable_dlopen=unknown
10712   enable_dlopen_self=unknown
10713   enable_dlopen_self_static=unknown
10714 else
10715   lt_cv_dlopen=no
10716   lt_cv_dlopen_libs=
10718   case $host_os in
10719   beos*)
10720     lt_cv_dlopen="load_add_on"
10721     lt_cv_dlopen_libs=
10722     lt_cv_dlopen_self=yes
10723     ;;
10725   mingw* | pw32* | cegcc*)
10726     lt_cv_dlopen="LoadLibrary"
10727     lt_cv_dlopen_libs=
10728     ;;
10730   cygwin*)
10731     lt_cv_dlopen="dlopen"
10732     lt_cv_dlopen_libs=
10733     ;;
10735   darwin*)
10736   # if libdl is installed we need to link against it
10737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10738 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10739 if ${ac_cv_lib_dl_dlopen+:} false; then :
10740   $as_echo_n "(cached) " >&6
10741 else
10742   ac_check_lib_save_LIBS=$LIBS
10743 LIBS="-ldl  $LIBS"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h.  */
10747 /* Override any GCC internal prototype to avoid an error.
10748    Use char because int might match the return type of a GCC
10749    builtin and then its argument prototype would still apply.  */
10750 #ifdef __cplusplus
10751 extern "C"
10752 #endif
10753 char dlopen ();
10754 int
10755 main ()
10757 return dlopen ();
10758   ;
10759   return 0;
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"; then :
10763   ac_cv_lib_dl_dlopen=yes
10764 else
10765   ac_cv_lib_dl_dlopen=no
10767 rm -f core conftest.err conftest.$ac_objext \
10768     conftest$ac_exeext conftest.$ac_ext
10769 LIBS=$ac_check_lib_save_LIBS
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10772 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10773 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10774   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10775 else
10777     lt_cv_dlopen="dyld"
10778     lt_cv_dlopen_libs=
10779     lt_cv_dlopen_self=yes
10783     ;;
10785   *)
10786     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10787 if test "x$ac_cv_func_shl_load" = xyes; then :
10788   lt_cv_dlopen="shl_load"
10789 else
10790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10791 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10792 if ${ac_cv_lib_dld_shl_load+:} false; then :
10793   $as_echo_n "(cached) " >&6
10794 else
10795   ac_check_lib_save_LIBS=$LIBS
10796 LIBS="-ldld  $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h.  */
10800 /* Override any GCC internal prototype to avoid an error.
10801    Use char because int might match the return type of a GCC
10802    builtin and then its argument prototype would still apply.  */
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 char shl_load ();
10807 int
10808 main ()
10810 return shl_load ();
10811   ;
10812   return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816   ac_cv_lib_dld_shl_load=yes
10817 else
10818   ac_cv_lib_dld_shl_load=no
10820 rm -f core conftest.err conftest.$ac_objext \
10821     conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_lib_save_LIBS
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10825 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10826 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10827   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10828 else
10829   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10830 if test "x$ac_cv_func_dlopen" = xyes; then :
10831   lt_cv_dlopen="dlopen"
10832 else
10833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10834 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10835 if ${ac_cv_lib_dl_dlopen+:} false; then :
10836   $as_echo_n "(cached) " >&6
10837 else
10838   ac_check_lib_save_LIBS=$LIBS
10839 LIBS="-ldl  $LIBS"
10840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10841 /* end confdefs.h.  */
10843 /* Override any GCC internal prototype to avoid an error.
10844    Use char because int might match the return type of a GCC
10845    builtin and then its argument prototype would still apply.  */
10846 #ifdef __cplusplus
10847 extern "C"
10848 #endif
10849 char dlopen ();
10850 int
10851 main ()
10853 return dlopen ();
10854   ;
10855   return 0;
10857 _ACEOF
10858 if ac_fn_c_try_link "$LINENO"; then :
10859   ac_cv_lib_dl_dlopen=yes
10860 else
10861   ac_cv_lib_dl_dlopen=no
10863 rm -f core conftest.err conftest.$ac_objext \
10864     conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_lib_save_LIBS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10868 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10869 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10870   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10871 else
10872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10873 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10874 if ${ac_cv_lib_svld_dlopen+:} false; then :
10875   $as_echo_n "(cached) " >&6
10876 else
10877   ac_check_lib_save_LIBS=$LIBS
10878 LIBS="-lsvld  $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h.  */
10882 /* Override any GCC internal prototype to avoid an error.
10883    Use char because int might match the return type of a GCC
10884    builtin and then its argument prototype would still apply.  */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char dlopen ();
10889 int
10890 main ()
10892 return dlopen ();
10893   ;
10894   return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898   ac_cv_lib_svld_dlopen=yes
10899 else
10900   ac_cv_lib_svld_dlopen=no
10902 rm -f core conftest.err conftest.$ac_objext \
10903     conftest$ac_exeext conftest.$ac_ext
10904 LIBS=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10907 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10908 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10909   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10910 else
10911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10912 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10913 if ${ac_cv_lib_dld_dld_link+:} false; then :
10914   $as_echo_n "(cached) " >&6
10915 else
10916   ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-ldld  $LIBS"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h.  */
10921 /* Override any GCC internal prototype to avoid an error.
10922    Use char because int might match the return type of a GCC
10923    builtin and then its argument prototype would still apply.  */
10924 #ifdef __cplusplus
10925 extern "C"
10926 #endif
10927 char dld_link ();
10928 int
10929 main ()
10931 return dld_link ();
10932   ;
10933   return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937   ac_cv_lib_dld_dld_link=yes
10938 else
10939   ac_cv_lib_dld_dld_link=no
10941 rm -f core conftest.err conftest.$ac_objext \
10942     conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10946 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10947 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10948   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10966     ;;
10967   esac
10969   if test "x$lt_cv_dlopen" != xno; then
10970     enable_dlopen=yes
10971   else
10972     enable_dlopen=no
10973   fi
10975   case $lt_cv_dlopen in
10976   dlopen)
10977     save_CPPFLAGS="$CPPFLAGS"
10978     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10980     save_LDFLAGS="$LDFLAGS"
10981     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10983     save_LIBS="$LIBS"
10984     LIBS="$lt_cv_dlopen_libs $LIBS"
10986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10987 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10988 if ${lt_cv_dlopen_self+:} false; then :
10989   $as_echo_n "(cached) " >&6
10990 else
10991           if test "$cross_compiling" = yes; then :
10992   lt_cv_dlopen_self=cross
10993 else
10994   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10995   lt_status=$lt_dlunknown
10996   cat > conftest.$ac_ext <<_LT_EOF
10997 #line $LINENO "configure"
10998 #include "confdefs.h"
11000 #if HAVE_DLFCN_H
11001 #include <dlfcn.h>
11002 #endif
11004 #include <stdio.h>
11006 #ifdef RTLD_GLOBAL
11007 #  define LT_DLGLOBAL           RTLD_GLOBAL
11008 #else
11009 #  ifdef DL_GLOBAL
11010 #    define LT_DLGLOBAL         DL_GLOBAL
11011 #  else
11012 #    define LT_DLGLOBAL         0
11013 #  endif
11014 #endif
11016 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11017    find out it does not work in some platform. */
11018 #ifndef LT_DLLAZY_OR_NOW
11019 #  ifdef RTLD_LAZY
11020 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11021 #  else
11022 #    ifdef DL_LAZY
11023 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11024 #    else
11025 #      ifdef RTLD_NOW
11026 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11027 #      else
11028 #        ifdef DL_NOW
11029 #          define LT_DLLAZY_OR_NOW      DL_NOW
11030 #        else
11031 #          define LT_DLLAZY_OR_NOW      0
11032 #        endif
11033 #      endif
11034 #    endif
11035 #  endif
11036 #endif
11038 /* When -fvisbility=hidden is used, assume the code has been annotated
11039    correspondingly for the symbols needed.  */
11040 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11041 int fnord () __attribute__((visibility("default")));
11042 #endif
11044 int fnord () { return 42; }
11045 int main ()
11047   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11048   int status = $lt_dlunknown;
11050   if (self)
11051     {
11052       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11053       else
11054         {
11055           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11056           else puts (dlerror ());
11057         }
11058       /* dlclose (self); */
11059     }
11060   else
11061     puts (dlerror ());
11063   return status;
11065 _LT_EOF
11066   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11067   (eval $ac_link) 2>&5
11068   ac_status=$?
11069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11070   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11071     (./conftest; exit; ) >&5 2>/dev/null
11072     lt_status=$?
11073     case x$lt_status in
11074       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11075       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11076       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11077     esac
11078   else :
11079     # compilation failed
11080     lt_cv_dlopen_self=no
11081   fi
11083 rm -fr conftest*
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11088 $as_echo "$lt_cv_dlopen_self" >&6; }
11090     if test "x$lt_cv_dlopen_self" = xyes; then
11091       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11092       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11093 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11094 if ${lt_cv_dlopen_self_static+:} false; then :
11095   $as_echo_n "(cached) " >&6
11096 else
11097           if test "$cross_compiling" = yes; then :
11098   lt_cv_dlopen_self_static=cross
11099 else
11100   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11101   lt_status=$lt_dlunknown
11102   cat > conftest.$ac_ext <<_LT_EOF
11103 #line $LINENO "configure"
11104 #include "confdefs.h"
11106 #if HAVE_DLFCN_H
11107 #include <dlfcn.h>
11108 #endif
11110 #include <stdio.h>
11112 #ifdef RTLD_GLOBAL
11113 #  define LT_DLGLOBAL           RTLD_GLOBAL
11114 #else
11115 #  ifdef DL_GLOBAL
11116 #    define LT_DLGLOBAL         DL_GLOBAL
11117 #  else
11118 #    define LT_DLGLOBAL         0
11119 #  endif
11120 #endif
11122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11123    find out it does not work in some platform. */
11124 #ifndef LT_DLLAZY_OR_NOW
11125 #  ifdef RTLD_LAZY
11126 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11127 #  else
11128 #    ifdef DL_LAZY
11129 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11130 #    else
11131 #      ifdef RTLD_NOW
11132 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11133 #      else
11134 #        ifdef DL_NOW
11135 #          define LT_DLLAZY_OR_NOW      DL_NOW
11136 #        else
11137 #          define LT_DLLAZY_OR_NOW      0
11138 #        endif
11139 #      endif
11140 #    endif
11141 #  endif
11142 #endif
11144 /* When -fvisbility=hidden is used, assume the code has been annotated
11145    correspondingly for the symbols needed.  */
11146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11147 int fnord () __attribute__((visibility("default")));
11148 #endif
11150 int fnord () { return 42; }
11151 int main ()
11153   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11154   int status = $lt_dlunknown;
11156   if (self)
11157     {
11158       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11159       else
11160         {
11161           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11162           else puts (dlerror ());
11163         }
11164       /* dlclose (self); */
11165     }
11166   else
11167     puts (dlerror ());
11169   return status;
11171 _LT_EOF
11172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11173   (eval $ac_link) 2>&5
11174   ac_status=$?
11175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11176   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11177     (./conftest; exit; ) >&5 2>/dev/null
11178     lt_status=$?
11179     case x$lt_status in
11180       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11181       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11182       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11183     esac
11184   else :
11185     # compilation failed
11186     lt_cv_dlopen_self_static=no
11187   fi
11189 rm -fr conftest*
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11194 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11195     fi
11197     CPPFLAGS="$save_CPPFLAGS"
11198     LDFLAGS="$save_LDFLAGS"
11199     LIBS="$save_LIBS"
11200     ;;
11201   esac
11203   case $lt_cv_dlopen_self in
11204   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11205   *) enable_dlopen_self=unknown ;;
11206   esac
11208   case $lt_cv_dlopen_self_static in
11209   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11210   *) enable_dlopen_self_static=unknown ;;
11211   esac
11230 striplib=
11231 old_striplib=
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11233 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11234 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11235   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11236   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11238 $as_echo "yes" >&6; }
11239 else
11240 # FIXME - insert some real tests, host_os isn't really good enough
11241   case $host_os in
11242   darwin*)
11243     if test -n "$STRIP" ; then
11244       striplib="$STRIP -x"
11245       old_striplib="$STRIP -S"
11246       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11247 $as_echo "yes" >&6; }
11248     else
11249       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11250 $as_echo "no" >&6; }
11251     fi
11252     ;;
11253   *)
11254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11255 $as_echo "no" >&6; }
11256     ;;
11257   esac
11271   # Report which library types will actually be built
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11273 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11275 $as_echo "$can_build_shared" >&6; }
11277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11278 $as_echo_n "checking whether to build shared libraries... " >&6; }
11279   test "$can_build_shared" = "no" && enable_shared=no
11281   # On AIX, shared libraries and static libraries use the same namespace, and
11282   # are all built from PIC.
11283   case $host_os in
11284   aix3*)
11285     test "$enable_shared" = yes && enable_static=no
11286     if test -n "$RANLIB"; then
11287       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11288       postinstall_cmds='$RANLIB $lib'
11289     fi
11290     ;;
11292   aix[4-9]*)
11293     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11294       test "$enable_shared" = yes && enable_static=no
11295     fi
11296     ;;
11297   esac
11298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11299 $as_echo "$enable_shared" >&6; }
11301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11302 $as_echo_n "checking whether to build static libraries... " >&6; }
11303   # Make sure either enable_shared or enable_static is yes.
11304   test "$enable_shared" = yes || enable_static=yes
11305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11306 $as_echo "$enable_static" >&6; }
11312 ac_ext=c
11313 ac_cpp='$CPP $CPPFLAGS'
11314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11318 CC="$lt_save_CC"
11334         ac_config_commands="$ac_config_commands libtool"
11339 # Only expand once:
11343 # Checks for programs.
11344 ac_ext=c
11345 ac_cpp='$CPP $CPPFLAGS'
11346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11349 if test -n "$ac_tool_prefix"; then
11350   for ac_prog in gcc
11351   do
11352     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11355 $as_echo_n "checking for $ac_word... " >&6; }
11356 if ${ac_cv_prog_CC+:} false; then :
11357   $as_echo_n "(cached) " >&6
11358 else
11359   if test -n "$CC"; then
11360   ac_cv_prog_CC="$CC" # Let the user override the test.
11361 else
11362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11363 for as_dir in $PATH
11365   IFS=$as_save_IFS
11366   test -z "$as_dir" && as_dir=.
11367     for ac_exec_ext in '' $ac_executable_extensions; do
11368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11369     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11371     break 2
11372   fi
11373 done
11374   done
11375 IFS=$as_save_IFS
11379 CC=$ac_cv_prog_CC
11380 if test -n "$CC"; then
11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11382 $as_echo "$CC" >&6; }
11383 else
11384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11385 $as_echo "no" >&6; }
11389     test -n "$CC" && break
11390   done
11392 if test -z "$CC"; then
11393   ac_ct_CC=$CC
11394   for ac_prog in gcc
11396   # Extract the first word of "$ac_prog", so it can be a program name with args.
11397 set dummy $ac_prog; ac_word=$2
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11399 $as_echo_n "checking for $ac_word... " >&6; }
11400 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11401   $as_echo_n "(cached) " >&6
11402 else
11403   if test -n "$ac_ct_CC"; then
11404   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11405 else
11406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11407 for as_dir in $PATH
11409   IFS=$as_save_IFS
11410   test -z "$as_dir" && as_dir=.
11411     for ac_exec_ext in '' $ac_executable_extensions; do
11412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11413     ac_cv_prog_ac_ct_CC="$ac_prog"
11414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11415     break 2
11416   fi
11417 done
11418   done
11419 IFS=$as_save_IFS
11423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11424 if test -n "$ac_ct_CC"; then
11425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11426 $as_echo "$ac_ct_CC" >&6; }
11427 else
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11429 $as_echo "no" >&6; }
11433   test -n "$ac_ct_CC" && break
11434 done
11436   if test "x$ac_ct_CC" = x; then
11437     CC=""
11438   else
11439     case $cross_compiling:$ac_tool_warned in
11440 yes:)
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11443 ac_tool_warned=yes ;;
11444 esac
11445     CC=$ac_ct_CC
11446   fi
11450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11452 as_fn_error $? "no acceptable C compiler found in \$PATH
11453 See \`config.log' for more details" "$LINENO" 5; }
11455 # Provide some information about the compiler.
11456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11457 set X $ac_compile
11458 ac_compiler=$2
11459 for ac_option in --version -v -V -qversion; do
11460   { { ac_try="$ac_compiler $ac_option >&5"
11461 case "(($ac_try" in
11462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11463   *) ac_try_echo=$ac_try;;
11464 esac
11465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11466 $as_echo "$ac_try_echo"; } >&5
11467   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11468   ac_status=$?
11469   if test -s conftest.err; then
11470     sed '10a\
11471 ... rest of stderr output deleted ...
11472          10q' conftest.err >conftest.er1
11473     cat conftest.er1 >&5
11474   fi
11475   rm -f conftest.er1 conftest.err
11476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11477   test $ac_status = 0; }
11478 done
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11481 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11482 if ${ac_cv_c_compiler_gnu+:} false; then :
11483   $as_echo_n "(cached) " >&6
11484 else
11485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h.  */
11488 int
11489 main ()
11491 #ifndef __GNUC__
11492        choke me
11493 #endif
11495   ;
11496   return 0;
11498 _ACEOF
11499 if ac_fn_c_try_compile "$LINENO"; then :
11500   ac_compiler_gnu=yes
11501 else
11502   ac_compiler_gnu=no
11504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11509 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11510 if test $ac_compiler_gnu = yes; then
11511   GCC=yes
11512 else
11513   GCC=
11515 ac_test_CFLAGS=${CFLAGS+set}
11516 ac_save_CFLAGS=$CFLAGS
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11518 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11519 if ${ac_cv_prog_cc_g+:} false; then :
11520   $as_echo_n "(cached) " >&6
11521 else
11522   ac_save_c_werror_flag=$ac_c_werror_flag
11523    ac_c_werror_flag=yes
11524    ac_cv_prog_cc_g=no
11525    CFLAGS="-g"
11526    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h.  */
11529 int
11530 main ()
11533   ;
11534   return 0;
11536 _ACEOF
11537 if ac_fn_c_try_compile "$LINENO"; then :
11538   ac_cv_prog_cc_g=yes
11539 else
11540   CFLAGS=""
11541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h.  */
11544 int
11545 main ()
11548   ;
11549   return 0;
11551 _ACEOF
11552 if ac_fn_c_try_compile "$LINENO"; then :
11554 else
11555   ac_c_werror_flag=$ac_save_c_werror_flag
11556          CFLAGS="-g"
11557          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h.  */
11560 int
11561 main ()
11564   ;
11565   return 0;
11567 _ACEOF
11568 if ac_fn_c_try_compile "$LINENO"; then :
11569   ac_cv_prog_cc_g=yes
11571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11576    ac_c_werror_flag=$ac_save_c_werror_flag
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11579 $as_echo "$ac_cv_prog_cc_g" >&6; }
11580 if test "$ac_test_CFLAGS" = set; then
11581   CFLAGS=$ac_save_CFLAGS
11582 elif test $ac_cv_prog_cc_g = yes; then
11583   if test "$GCC" = yes; then
11584     CFLAGS="-g -O2"
11585   else
11586     CFLAGS="-g"
11587   fi
11588 else
11589   if test "$GCC" = yes; then
11590     CFLAGS="-O2"
11591   else
11592     CFLAGS=
11593   fi
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11597 if ${ac_cv_prog_cc_c89+:} false; then :
11598   $as_echo_n "(cached) " >&6
11599 else
11600   ac_cv_prog_cc_c89=no
11601 ac_save_CC=$CC
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h.  */
11604 #include <stdarg.h>
11605 #include <stdio.h>
11606 #include <sys/types.h>
11607 #include <sys/stat.h>
11608 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11609 struct buf { int x; };
11610 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11611 static char *e (p, i)
11612      char **p;
11613      int i;
11615   return p[i];
11617 static char *f (char * (*g) (char **, int), char **p, ...)
11619   char *s;
11620   va_list v;
11621   va_start (v,p);
11622   s = g (p, va_arg (v,int));
11623   va_end (v);
11624   return s;
11627 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11628    function prototypes and stuff, but not '\xHH' hex character constants.
11629    These don't provoke an error unfortunately, instead are silently treated
11630    as 'x'.  The following induces an error, until -std is added to get
11631    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11632    array size at least.  It's necessary to write '\x00'==0 to get something
11633    that's true only with -std.  */
11634 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11636 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11637    inside strings and character constants.  */
11638 #define FOO(x) 'x'
11639 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11641 int test (int i, double x);
11642 struct s1 {int (*f) (int a);};
11643 struct s2 {int (*f) (double a);};
11644 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11645 int argc;
11646 char **argv;
11647 int
11648 main ()
11650 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11651   ;
11652   return 0;
11654 _ACEOF
11655 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11656         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11658   CC="$ac_save_CC $ac_arg"
11659   if ac_fn_c_try_compile "$LINENO"; then :
11660   ac_cv_prog_cc_c89=$ac_arg
11662 rm -f core conftest.err conftest.$ac_objext
11663   test "x$ac_cv_prog_cc_c89" != "xno" && break
11664 done
11665 rm -f conftest.$ac_ext
11666 CC=$ac_save_CC
11669 # AC_CACHE_VAL
11670 case "x$ac_cv_prog_cc_c89" in
11671   x)
11672     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11673 $as_echo "none needed" >&6; } ;;
11674   xno)
11675     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11676 $as_echo "unsupported" >&6; } ;;
11677   *)
11678     CC="$CC $ac_cv_prog_cc_c89"
11679     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11680 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11681 esac
11682 if test "x$ac_cv_prog_cc_c89" != xno; then :
11686 ac_ext=c
11687 ac_cpp='$CPP $CPPFLAGS'
11688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11692 depcc="$CC"   am_compiler_list=
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11695 $as_echo_n "checking dependency style of $depcc... " >&6; }
11696 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11697   $as_echo_n "(cached) " >&6
11698 else
11699   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11700   # We make a subdir and do the tests there.  Otherwise we can end up
11701   # making bogus files that we don't know about and never remove.  For
11702   # instance it was reported that on HP-UX the gcc test will end up
11703   # making a dummy file named `D' -- because `-MD' means `put the output
11704   # in D'.
11705   rm -rf conftest.dir
11706   mkdir conftest.dir
11707   # Copy depcomp to subdir because otherwise we won't find it if we're
11708   # using a relative directory.
11709   cp "$am_depcomp" conftest.dir
11710   cd conftest.dir
11711   # We will build objects and dependencies in a subdirectory because
11712   # it helps to detect inapplicable dependency modes.  For instance
11713   # both Tru64's cc and ICC support -MD to output dependencies as a
11714   # side effect of compilation, but ICC will put the dependencies in
11715   # the current directory while Tru64 will put them in the object
11716   # directory.
11717   mkdir sub
11719   am_cv_CC_dependencies_compiler_type=none
11720   if test "$am_compiler_list" = ""; then
11721      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11722   fi
11723   am__universal=false
11724   case " $depcc " in #(
11725      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11726      esac
11728   for depmode in $am_compiler_list; do
11729     # Setup a source with many dependencies, because some compilers
11730     # like to wrap large dependency lists on column 80 (with \), and
11731     # we should not choose a depcomp mode which is confused by this.
11732     #
11733     # We need to recreate these files for each test, as the compiler may
11734     # overwrite some of them when testing with obscure command lines.
11735     # This happens at least with the AIX C compiler.
11736     : > sub/conftest.c
11737     for i in 1 2 3 4 5 6; do
11738       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11739       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11740       # Solaris 8's {/usr,}/bin/sh.
11741       touch sub/conftst$i.h
11742     done
11743     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11745     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11746     # mode.  It turns out that the SunPro C++ compiler does not properly
11747     # handle `-M -o', and we need to detect this.  Also, some Intel
11748     # versions had trouble with output in subdirs
11749     am__obj=sub/conftest.${OBJEXT-o}
11750     am__minus_obj="-o $am__obj"
11751     case $depmode in
11752     gcc)
11753       # This depmode causes a compiler race in universal mode.
11754       test "$am__universal" = false || continue
11755       ;;
11756     nosideeffect)
11757       # after this tag, mechanisms are not by side-effect, so they'll
11758       # only be used when explicitly requested
11759       if test "x$enable_dependency_tracking" = xyes; then
11760         continue
11761       else
11762         break
11763       fi
11764       ;;
11765     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11766       # This compiler won't grok `-c -o', but also, the minuso test has
11767       # not run yet.  These depmodes are late enough in the game, and
11768       # so weak that their functioning should not be impacted.
11769       am__obj=conftest.${OBJEXT-o}
11770       am__minus_obj=
11771       ;;
11772     none) break ;;
11773     esac
11774     if depmode=$depmode \
11775        source=sub/conftest.c object=$am__obj \
11776        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11777        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11778          >/dev/null 2>conftest.err &&
11779        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11780        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11781        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11782        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11783       # icc doesn't choke on unknown options, it will just issue warnings
11784       # or remarks (even with -Werror).  So we grep stderr for any message
11785       # that says an option was ignored or not supported.
11786       # When given -MP, icc 7.0 and 7.1 complain thusly:
11787       #   icc: Command line warning: ignoring option '-M'; no argument required
11788       # The diagnosis changed in icc 8.0:
11789       #   icc: Command line remark: option '-MP' not supported
11790       if (grep 'ignoring option' conftest.err ||
11791           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11792         am_cv_CC_dependencies_compiler_type=$depmode
11793         break
11794       fi
11795     fi
11796   done
11798   cd ..
11799   rm -rf conftest.dir
11800 else
11801   am_cv_CC_dependencies_compiler_type=none
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11806 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11807 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11809  if
11810   test "x$enable_dependency_tracking" != xno \
11811   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11812   am__fastdepCC_TRUE=
11813   am__fastdepCC_FALSE='#'
11814 else
11815   am__fastdepCC_TRUE='#'
11816   am__fastdepCC_FALSE=
11822 # Checks for header files.
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11824 $as_echo_n "checking for ANSI C header files... " >&6; }
11825 if ${ac_cv_header_stdc+:} false; then :
11826   $as_echo_n "(cached) " >&6
11827 else
11828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829 /* end confdefs.h.  */
11830 #include <stdlib.h>
11831 #include <stdarg.h>
11832 #include <string.h>
11833 #include <float.h>
11835 int
11836 main ()
11839   ;
11840   return 0;
11842 _ACEOF
11843 if ac_fn_c_try_compile "$LINENO"; then :
11844   ac_cv_header_stdc=yes
11845 else
11846   ac_cv_header_stdc=no
11848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11850 if test $ac_cv_header_stdc = yes; then
11851   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h.  */
11854 #include <string.h>
11856 _ACEOF
11857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11858   $EGREP "memchr" >/dev/null 2>&1; then :
11860 else
11861   ac_cv_header_stdc=no
11863 rm -f conftest*
11867 if test $ac_cv_header_stdc = yes; then
11868   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h.  */
11871 #include <stdlib.h>
11873 _ACEOF
11874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11875   $EGREP "free" >/dev/null 2>&1; then :
11877 else
11878   ac_cv_header_stdc=no
11880 rm -f conftest*
11884 if test $ac_cv_header_stdc = yes; then
11885   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11886   if test "$cross_compiling" = yes; then :
11887   :
11888 else
11889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h.  */
11891 #include <ctype.h>
11892 #include <stdlib.h>
11893 #if ((' ' & 0x0FF) == 0x020)
11894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11896 #else
11897 # define ISLOWER(c) \
11898                    (('a' <= (c) && (c) <= 'i') \
11899                      || ('j' <= (c) && (c) <= 'r') \
11900                      || ('s' <= (c) && (c) <= 'z'))
11901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11902 #endif
11904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11905 int
11906 main ()
11908   int i;
11909   for (i = 0; i < 256; i++)
11910     if (XOR (islower (i), ISLOWER (i))
11911         || toupper (i) != TOUPPER (i))
11912       return 2;
11913   return 0;
11915 _ACEOF
11916 if ac_fn_c_try_run "$LINENO"; then :
11918 else
11919   ac_cv_header_stdc=no
11921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11922   conftest.$ac_objext conftest.beam conftest.$ac_ext
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11928 $as_echo "$ac_cv_header_stdc" >&6; }
11929 if test $ac_cv_header_stdc = yes; then
11931 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11935 for ac_header in fcntl.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h
11936 do :
11937   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11938 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11940   cat >>confdefs.h <<_ACEOF
11941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11942 _ACEOF
11946 done
11949 # Export CFLAGS and LDFLAGS to Makefile(s)
11953 # Add config variables/options and check them
11954 # Note that 6614 isn't documented and, though it may work, is planned for removal
11961 # Test platform variable for setting
11962 if test "x$PLATFORM" = "xOMAPL138"; then :
11963   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11964 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11965 else
11966   if test "x$PLATFORM" = "x66AK2E"; then :
11967   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11968 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11969 else
11970   if test "x$PLATFORM" = "xTCI6614"; then :
11971   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11972 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11973 else
11974   if test "x$PLATFORM" = "xTCI6630"; then :
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11976 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11977 else
11978   if test "x$PLATFORM" = "xTCI6636"; then :
11979   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11980 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11981 else
11982   if test "x$PLATFORM" = "xTCI6638"; then :
11983   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11984 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11985 else
11986   if test "x$PLATFORM" = "x66AK2G"; then :
11987   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11988 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11989 else
11990   if test "x$PLATFORM" = "xOMAP54XX"; then :
11991   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11992 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11993 else
11994   if test "x$PLATFORM" = "xDRA7XX"; then :
11995   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is set to ${PLATFORM}" >&5
11996 $as_echo "$as_me: PLATFORM is set to ${PLATFORM}" >&6;}
11997 else
11998   if test "x$PLATFORM" = "x"; then :
11999   { $as_echo "$as_me:${as_lineno-$LINENO}: PLATFORM is not set. All supported platforms will be built ...." >&5
12000 $as_echo "$as_me: PLATFORM is not set. All supported platforms will be built ...." >&6;}
12001 else
12002   as_fn_error $? "PLATFORM is set to \"${PLATFORM}\": run ./configure --help for available PLATFORM options" "$LINENO" 5
12014 # If platform is specified, make sure at least one of
12015 # KERNEL_INSTALL_DIR or AF_MSG are set.
12016 if test -n "$PLATFORM" -a -z "$KERNEL_INSTALL_DIR" -a -z "$AF_RPMSG"; then :
12017   as_fn_error $? "Must set at least one of KERNEL_INSTALL_DIR or AF_RPMSG" "$LINENO" 5
12020 # Ignore KERNEL path when no platform is set
12021 if test "x$PLATFORM" = "x"; then :
12022   KERNEL_INSTALL_DIR=
12024 if test "x$PLATFORM" = "x"; then :
12025   DRM_PREFIX=
12027 if test "x$PLATFORM" = "x"; then :
12028   CMEM_INSTALL_DIR=
12031 # Export optional user variable to Makefile(s)
12038 # Define specific variables to be used in Makefile.am
12039  if test "x$PLATFORM" = "xOMAPL138"; then
12040   OMAPL138_TRUE=
12041   OMAPL138_FALSE='#'
12042 else
12043   OMAPL138_TRUE='#'
12044   OMAPL138_FALSE=
12047  if test "x$PLATFORM" = "x66AK2E"; then
12048   C66AK2E_TRUE=
12049   C66AK2E_FALSE='#'
12050 else
12051   C66AK2E_TRUE='#'
12052   C66AK2E_FALSE=
12055  if test "x$PLATFORM" = "xTCI6614"; then
12056   TCI6614_TRUE=
12057   TCI6614_FALSE='#'
12058 else
12059   TCI6614_TRUE='#'
12060   TCI6614_FALSE=
12063  if test "x$PLATFORM" = "xTCI6630"; then
12064   TCI6630_TRUE=
12065   TCI6630_FALSE='#'
12066 else
12067   TCI6630_TRUE='#'
12068   TCI6630_FALSE=
12071  if test "x$PLATFORM" = "xTCI6636"; then
12072   TCI6636_TRUE=
12073   TCI6636_FALSE='#'
12074 else
12075   TCI6636_TRUE='#'
12076   TCI6636_FALSE=
12079  if test "x$PLATFORM" = "xTCI6638"; then
12080   TCI6638_TRUE=
12081   TCI6638_FALSE='#'
12082 else
12083   TCI6638_TRUE='#'
12084   TCI6638_FALSE=
12087  if test "x$PLATFORM" = "x66AK2G"; then
12088   C66AK2G_TRUE=
12089   C66AK2G_FALSE='#'
12090 else
12091   C66AK2G_TRUE='#'
12092   C66AK2G_FALSE=
12095  if test "x$PLATFORM" = "xOMAP54XX"; then
12096   OMAP54XX_SMP_TRUE=
12097   OMAP54XX_SMP_FALSE='#'
12098 else
12099   OMAP54XX_SMP_TRUE='#'
12100   OMAP54XX_SMP_FALSE=
12103  if test "x$PLATFORM" = "xDRA7XX"; then
12104   DRA7XX_TRUE=
12105   DRA7XX_FALSE='#'
12106 else
12107   DRA7XX_TRUE='#'
12108   DRA7XX_FALSE=
12111  if test "x$CMEM_INSTALL_DIR" != "x"; then
12112   CMEM_TRUE=
12113   CMEM_FALSE='#'
12114 else
12115   CMEM_TRUE='#'
12116   CMEM_FALSE=
12119  if test "x$KERNEL_INSTALL_DIR" != "x"; then
12120   KDIR_TRUE=
12121   KDIR_FALSE='#'
12122 else
12123   KDIR_TRUE='#'
12124   KDIR_FALSE=
12127  if test -n "$KERNEL_INSTALL_DIR"; then
12128   KERNEL_INSTALL_DIR_TRUE=
12129   KERNEL_INSTALL_DIR_FALSE='#'
12130 else
12131   KERNEL_INSTALL_DIR_TRUE='#'
12132   KERNEL_INSTALL_DIR_FALSE=
12135  if test "x$DRM_PREFIX" != "x"; then
12136   DRM_TRUE=
12137   DRM_FALSE='#'
12138 else
12139   DRM_TRUE='#'
12140   DRM_FALSE=
12143  if test -n "$AF_RPMSG"; then
12144   AF_RPMSG_TRUE=
12145   AF_RPMSG_FALSE='#'
12146 else
12147   AF_RPMSG_TRUE='#'
12148   AF_RPMSG_FALSE=
12152 # Generate Makefile(s)
12153 ac_config_files="$ac_config_files Makefile"
12155 ac_config_files="$ac_config_files linux/etc/Makefile"
12157 ac_config_files="$ac_config_files linux/src/utils/Makefile"
12159 ac_config_files="$ac_config_files linux/src/utils/libtiipcutils.pc"
12161 ac_config_files="$ac_config_files linux/src/api/Makefile"
12163 ac_config_files="$ac_config_files linux/src/api/libtiipc.pc"
12165 ac_config_files="$ac_config_files linux/src/mm/Makefile"
12167 ac_config_files="$ac_config_files linux/src/mm/libmmrpc.pc"
12169 ac_config_files="$ac_config_files linux/src/daemon/Makefile"
12171 ac_config_files="$ac_config_files linux/src/tests/Makefile"
12173 ac_config_files="$ac_config_files linux/src/transport/Makefile"
12175 cat >confcache <<\_ACEOF
12176 # This file is a shell script that caches the results of configure
12177 # tests run on this system so they can be shared between configure
12178 # scripts and configure runs, see configure's option --config-cache.
12179 # It is not useful on other systems.  If it contains results you don't
12180 # want to keep, you may remove or edit it.
12182 # config.status only pays attention to the cache file if you give it
12183 # the --recheck option to rerun configure.
12185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12187 # following values.
12189 _ACEOF
12191 # The following way of writing the cache mishandles newlines in values,
12192 # but we know of no workaround that is simple, portable, and efficient.
12193 # So, we kill variables containing newlines.
12194 # Ultrix sh set writes to stderr and can't be redirected directly,
12195 # and sets the high bit in the cache file unless we assign to the vars.
12197   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12198     eval ac_val=\$$ac_var
12199     case $ac_val in #(
12200     *${as_nl}*)
12201       case $ac_var in #(
12202       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12204       esac
12205       case $ac_var in #(
12206       _ | IFS | as_nl) ;; #(
12207       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12208       *) { eval $ac_var=; unset $ac_var;} ;;
12209       esac ;;
12210     esac
12211   done
12213   (set) 2>&1 |
12214     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12215     *${as_nl}ac_space=\ *)
12216       # `set' does not quote correctly, so add quotes: double-quote
12217       # substitution turns \\\\ into \\, and sed turns \\ into \.
12218       sed -n \
12219         "s/'/'\\\\''/g;
12220           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12221       ;; #(
12222     *)
12223       # `set' quotes correctly as required by POSIX, so do not add quotes.
12224       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12225       ;;
12226     esac |
12227     sort
12228 ) |
12229   sed '
12230      /^ac_cv_env_/b end
12231      t clear
12232      :clear
12233      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12234      t end
12235      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12236      :end' >>confcache
12237 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12238   if test -w "$cache_file"; then
12239     if test "x$cache_file" != "x/dev/null"; then
12240       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12241 $as_echo "$as_me: updating cache $cache_file" >&6;}
12242       if test ! -f "$cache_file" || test -h "$cache_file"; then
12243         cat confcache >"$cache_file"
12244       else
12245         case $cache_file in #(
12246         */* | ?:*)
12247           mv -f confcache "$cache_file"$$ &&
12248           mv -f "$cache_file"$$ "$cache_file" ;; #(
12249         *)
12250           mv -f confcache "$cache_file" ;;
12251         esac
12252       fi
12253     fi
12254   else
12255     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12256 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12257   fi
12259 rm -f confcache
12261 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12262 # Let make expand exec_prefix.
12263 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12265 # Transform confdefs.h into DEFS.
12266 # Protect against shell expansion while executing Makefile rules.
12267 # Protect against Makefile macro expansion.
12269 # If the first sed substitution is executed (which looks for macros that
12270 # take arguments), then branch to the quote section.  Otherwise,
12271 # look for a macro that doesn't take arguments.
12272 ac_script='
12273 :mline
12274 /\\$/{
12275  N
12276  s,\\\n,,
12277  b mline
12279 t clear
12280 :clear
12281 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12282 t quote
12283 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12284 t quote
12285 b any
12286 :quote
12287 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12288 s/\[/\\&/g
12289 s/\]/\\&/g
12290 s/\$/$$/g
12292 :any
12294         g
12295         s/^\n//
12296         s/\n/ /g
12297         p
12300 DEFS=`sed -n "$ac_script" confdefs.h`
12303 ac_libobjs=
12304 ac_ltlibobjs=
12306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12307   # 1. Remove the extension, and $U if already installed.
12308   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12309   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12310   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12311   #    will be set to the directory where LIBOBJS objects are built.
12312   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12313   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12314 done
12315 LIBOBJS=$ac_libobjs
12317 LTLIBOBJS=$ac_ltlibobjs
12320  if test -n "$EXEEXT"; then
12321   am__EXEEXT_TRUE=
12322   am__EXEEXT_FALSE='#'
12323 else
12324   am__EXEEXT_TRUE='#'
12325   am__EXEEXT_FALSE=
12328 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12329   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12332 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12333   as_fn_error $? "conditional \"AMDEP\" was never defined.
12334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12336 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12337   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12340 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12341   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12344 if test -z "${OMAPL138_TRUE}" && test -z "${OMAPL138_FALSE}"; then
12345   as_fn_error $? "conditional \"OMAPL138\" was never defined.
12346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12348 if test -z "${C66AK2E_TRUE}" && test -z "${C66AK2E_FALSE}"; then
12349   as_fn_error $? "conditional \"C66AK2E\" was never defined.
12350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12352 if test -z "${TCI6614_TRUE}" && test -z "${TCI6614_FALSE}"; then
12353   as_fn_error $? "conditional \"TCI6614\" was never defined.
12354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12356 if test -z "${TCI6630_TRUE}" && test -z "${TCI6630_FALSE}"; then
12357   as_fn_error $? "conditional \"TCI6630\" was never defined.
12358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12360 if test -z "${TCI6636_TRUE}" && test -z "${TCI6636_FALSE}"; then
12361   as_fn_error $? "conditional \"TCI6636\" was never defined.
12362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12364 if test -z "${TCI6638_TRUE}" && test -z "${TCI6638_FALSE}"; then
12365   as_fn_error $? "conditional \"TCI6638\" was never defined.
12366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12368 if test -z "${C66AK2G_TRUE}" && test -z "${C66AK2G_FALSE}"; then
12369   as_fn_error $? "conditional \"C66AK2G\" was never defined.
12370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12372 if test -z "${OMAP54XX_SMP_TRUE}" && test -z "${OMAP54XX_SMP_FALSE}"; then
12373   as_fn_error $? "conditional \"OMAP54XX_SMP\" was never defined.
12374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12376 if test -z "${DRA7XX_TRUE}" && test -z "${DRA7XX_FALSE}"; then
12377   as_fn_error $? "conditional \"DRA7XX\" was never defined.
12378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12380 if test -z "${CMEM_TRUE}" && test -z "${CMEM_FALSE}"; then
12381   as_fn_error $? "conditional \"CMEM\" was never defined.
12382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12384 if test -z "${KDIR_TRUE}" && test -z "${KDIR_FALSE}"; then
12385   as_fn_error $? "conditional \"KDIR\" was never defined.
12386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12388 if test -z "${KERNEL_INSTALL_DIR_TRUE}" && test -z "${KERNEL_INSTALL_DIR_FALSE}"; then
12389   as_fn_error $? "conditional \"KERNEL_INSTALL_DIR\" was never defined.
12390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12392 if test -z "${DRM_TRUE}" && test -z "${DRM_FALSE}"; then
12393   as_fn_error $? "conditional \"DRM\" was never defined.
12394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12396 if test -z "${AF_RPMSG_TRUE}" && test -z "${AF_RPMSG_FALSE}"; then
12397   as_fn_error $? "conditional \"AF_RPMSG\" was never defined.
12398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12401 : "${CONFIG_STATUS=./config.status}"
12402 ac_write_fail=0
12403 ac_clean_files_save=$ac_clean_files
12404 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12407 as_write_fail=0
12408 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12409 #! $SHELL
12410 # Generated by $as_me.
12411 # Run this file to recreate the current configuration.
12412 # Compiler output produced by configure, useful for debugging
12413 # configure, is in config.log if it exists.
12415 debug=false
12416 ac_cs_recheck=false
12417 ac_cs_silent=false
12419 SHELL=\${CONFIG_SHELL-$SHELL}
12420 export SHELL
12421 _ASEOF
12422 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12423 ## -------------------- ##
12424 ## M4sh Initialization. ##
12425 ## -------------------- ##
12427 # Be more Bourne compatible
12428 DUALCASE=1; export DUALCASE # for MKS sh
12429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12430   emulate sh
12431   NULLCMD=:
12432   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12433   # is contrary to our usage.  Disable this feature.
12434   alias -g '${1+"$@"}'='"$@"'
12435   setopt NO_GLOB_SUBST
12436 else
12437   case `(set -o) 2>/dev/null` in #(
12438   *posix*) :
12439     set -o posix ;; #(
12440   *) :
12441      ;;
12442 esac
12446 as_nl='
12448 export as_nl
12449 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12450 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12453 # Prefer a ksh shell builtin over an external printf program on Solaris,
12454 # but without wasting forks for bash or zsh.
12455 if test -z "$BASH_VERSION$ZSH_VERSION" \
12456     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12457   as_echo='print -r --'
12458   as_echo_n='print -rn --'
12459 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12460   as_echo='printf %s\n'
12461   as_echo_n='printf %s'
12462 else
12463   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12464     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12465     as_echo_n='/usr/ucb/echo -n'
12466   else
12467     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12468     as_echo_n_body='eval
12469       arg=$1;
12470       case $arg in #(
12471       *"$as_nl"*)
12472         expr "X$arg" : "X\\(.*\\)$as_nl";
12473         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12474       esac;
12475       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12476     '
12477     export as_echo_n_body
12478     as_echo_n='sh -c $as_echo_n_body as_echo'
12479   fi
12480   export as_echo_body
12481   as_echo='sh -c $as_echo_body as_echo'
12484 # The user is always right.
12485 if test "${PATH_SEPARATOR+set}" != set; then
12486   PATH_SEPARATOR=:
12487   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12488     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12489       PATH_SEPARATOR=';'
12490   }
12494 # IFS
12495 # We need space, tab and new line, in precisely that order.  Quoting is
12496 # there to prevent editors from complaining about space-tab.
12497 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12498 # splitting by setting IFS to empty value.)
12499 IFS=" ""        $as_nl"
12501 # Find who we are.  Look in the path if we contain no directory separator.
12502 as_myself=
12503 case $0 in #((
12504   *[\\/]* ) as_myself=$0 ;;
12505   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506 for as_dir in $PATH
12508   IFS=$as_save_IFS
12509   test -z "$as_dir" && as_dir=.
12510     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12511   done
12512 IFS=$as_save_IFS
12514      ;;
12515 esac
12516 # We did not find ourselves, most probably we were run as `sh COMMAND'
12517 # in which case we are not to be found in the path.
12518 if test "x$as_myself" = x; then
12519   as_myself=$0
12521 if test ! -f "$as_myself"; then
12522   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12523   exit 1
12526 # Unset variables that we do not need and which cause bugs (e.g. in
12527 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12528 # suppresses any "Segmentation fault" message there.  '((' could
12529 # trigger a bug in pdksh 5.2.14.
12530 for as_var in BASH_ENV ENV MAIL MAILPATH
12531 do eval test x\${$as_var+set} = xset \
12532   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12533 done
12534 PS1='$ '
12535 PS2='> '
12536 PS4='+ '
12538 # NLS nuisances.
12539 LC_ALL=C
12540 export LC_ALL
12541 LANGUAGE=C
12542 export LANGUAGE
12544 # CDPATH.
12545 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12548 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12549 # ----------------------------------------
12550 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12551 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12552 # script with STATUS, using 1 if that was 0.
12553 as_fn_error ()
12555   as_status=$1; test $as_status -eq 0 && as_status=1
12556   if test "$4"; then
12557     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12558     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12559   fi
12560   $as_echo "$as_me: error: $2" >&2
12561   as_fn_exit $as_status
12562 } # as_fn_error
12565 # as_fn_set_status STATUS
12566 # -----------------------
12567 # Set $? to STATUS, without forking.
12568 as_fn_set_status ()
12570   return $1
12571 } # as_fn_set_status
12573 # as_fn_exit STATUS
12574 # -----------------
12575 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12576 as_fn_exit ()
12578   set +e
12579   as_fn_set_status $1
12580   exit $1
12581 } # as_fn_exit
12583 # as_fn_unset VAR
12584 # ---------------
12585 # Portably unset VAR.
12586 as_fn_unset ()
12588   { eval $1=; unset $1;}
12590 as_unset=as_fn_unset
12591 # as_fn_append VAR VALUE
12592 # ----------------------
12593 # Append the text in VALUE to the end of the definition contained in VAR. Take
12594 # advantage of any shell optimizations that allow amortized linear growth over
12595 # repeated appends, instead of the typical quadratic growth present in naive
12596 # implementations.
12597 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12598   eval 'as_fn_append ()
12599   {
12600     eval $1+=\$2
12601   }'
12602 else
12603   as_fn_append ()
12604   {
12605     eval $1=\$$1\$2
12606   }
12607 fi # as_fn_append
12609 # as_fn_arith ARG...
12610 # ------------------
12611 # Perform arithmetic evaluation on the ARGs, and store the result in the
12612 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12613 # must be portable across $(()) and expr.
12614 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12615   eval 'as_fn_arith ()
12616   {
12617     as_val=$(( $* ))
12618   }'
12619 else
12620   as_fn_arith ()
12621   {
12622     as_val=`expr "$@" || test $? -eq 1`
12623   }
12624 fi # as_fn_arith
12627 if expr a : '\(a\)' >/dev/null 2>&1 &&
12628    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12629   as_expr=expr
12630 else
12631   as_expr=false
12634 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12635   as_basename=basename
12636 else
12637   as_basename=false
12640 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12641   as_dirname=dirname
12642 else
12643   as_dirname=false
12646 as_me=`$as_basename -- "$0" ||
12647 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12648          X"$0" : 'X\(//\)$' \| \
12649          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12650 $as_echo X/"$0" |
12651     sed '/^.*\/\([^/][^/]*\)\/*$/{
12652             s//\1/
12653             q
12654           }
12655           /^X\/\(\/\/\)$/{
12656             s//\1/
12657             q
12658           }
12659           /^X\/\(\/\).*/{
12660             s//\1/
12661             q
12662           }
12663           s/.*/./; q'`
12665 # Avoid depending upon Character Ranges.
12666 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12667 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12668 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12669 as_cr_digits='0123456789'
12670 as_cr_alnum=$as_cr_Letters$as_cr_digits
12672 ECHO_C= ECHO_N= ECHO_T=
12673 case `echo -n x` in #(((((
12674 -n*)
12675   case `echo 'xy\c'` in
12676   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12677   xy)  ECHO_C='\c';;
12678   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12679        ECHO_T=' ';;
12680   esac;;
12682   ECHO_N='-n';;
12683 esac
12685 rm -f conf$$ conf$$.exe conf$$.file
12686 if test -d conf$$.dir; then
12687   rm -f conf$$.dir/conf$$.file
12688 else
12689   rm -f conf$$.dir
12690   mkdir conf$$.dir 2>/dev/null
12692 if (echo >conf$$.file) 2>/dev/null; then
12693   if ln -s conf$$.file conf$$ 2>/dev/null; then
12694     as_ln_s='ln -s'
12695     # ... but there are two gotchas:
12696     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12697     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12698     # In both cases, we have to default to `cp -p'.
12699     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12700       as_ln_s='cp -p'
12701   elif ln conf$$.file conf$$ 2>/dev/null; then
12702     as_ln_s=ln
12703   else
12704     as_ln_s='cp -p'
12705   fi
12706 else
12707   as_ln_s='cp -p'
12709 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12710 rmdir conf$$.dir 2>/dev/null
12713 # as_fn_mkdir_p
12714 # -------------
12715 # Create "$as_dir" as a directory, including parents if necessary.
12716 as_fn_mkdir_p ()
12719   case $as_dir in #(
12720   -*) as_dir=./$as_dir;;
12721   esac
12722   test -d "$as_dir" || eval $as_mkdir_p || {
12723     as_dirs=
12724     while :; do
12725       case $as_dir in #(
12726       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12727       *) as_qdir=$as_dir;;
12728       esac
12729       as_dirs="'$as_qdir' $as_dirs"
12730       as_dir=`$as_dirname -- "$as_dir" ||
12731 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12732          X"$as_dir" : 'X\(//\)[^/]' \| \
12733          X"$as_dir" : 'X\(//\)$' \| \
12734          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12735 $as_echo X"$as_dir" |
12736     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12737             s//\1/
12738             q
12739           }
12740           /^X\(\/\/\)[^/].*/{
12741             s//\1/
12742             q
12743           }
12744           /^X\(\/\/\)$/{
12745             s//\1/
12746             q
12747           }
12748           /^X\(\/\).*/{
12749             s//\1/
12750             q
12751           }
12752           s/.*/./; q'`
12753       test -d "$as_dir" && break
12754     done
12755     test -z "$as_dirs" || eval "mkdir $as_dirs"
12756   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12759 } # as_fn_mkdir_p
12760 if mkdir -p . 2>/dev/null; then
12761   as_mkdir_p='mkdir -p "$as_dir"'
12762 else
12763   test -d ./-p && rmdir ./-p
12764   as_mkdir_p=false
12767 if test -x / >/dev/null 2>&1; then
12768   as_test_x='test -x'
12769 else
12770   if ls -dL / >/dev/null 2>&1; then
12771     as_ls_L_option=L
12772   else
12773     as_ls_L_option=
12774   fi
12775   as_test_x='
12776     eval sh -c '\''
12777       if test -d "$1"; then
12778         test -d "$1/.";
12779       else
12780         case $1 in #(
12781         -*)set "./$1";;
12782         esac;
12783         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12784         ???[sx]*):;;*)false;;esac;fi
12785     '\'' sh
12786   '
12788 as_executable_p=$as_test_x
12790 # Sed expression to map a string onto a valid CPP name.
12791 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12793 # Sed expression to map a string onto a valid variable name.
12794 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12797 exec 6>&1
12798 ## ----------------------------------- ##
12799 ## Main body of $CONFIG_STATUS script. ##
12800 ## ----------------------------------- ##
12801 _ASEOF
12802 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12805 # Save the log message, to keep $0 and so on meaningful, and to
12806 # report actual input values of CONFIG_FILES etc. instead of their
12807 # values after options handling.
12808 ac_log="
12809 This file was extended by TI IPC $as_me 3.0.0, which was
12810 generated by GNU Autoconf 2.68.  Invocation command line was
12812   CONFIG_FILES    = $CONFIG_FILES
12813   CONFIG_HEADERS  = $CONFIG_HEADERS
12814   CONFIG_LINKS    = $CONFIG_LINKS
12815   CONFIG_COMMANDS = $CONFIG_COMMANDS
12816   $ $0 $@
12818 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12821 _ACEOF
12823 case $ac_config_files in *"
12824 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12825 esac
12829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12830 # Files that config.status was made for.
12831 config_files="$ac_config_files"
12832 config_commands="$ac_config_commands"
12834 _ACEOF
12836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12837 ac_cs_usage="\
12838 \`$as_me' instantiates files and other configuration actions
12839 from templates according to the current configuration.  Unless the files
12840 and actions are specified as TAGs, all are instantiated by default.
12842 Usage: $0 [OPTION]... [TAG]...
12844   -h, --help       print this help, then exit
12845   -V, --version    print version number and configuration settings, then exit
12846       --config     print configuration, then exit
12847   -q, --quiet, --silent
12848                    do not print progress messages
12849   -d, --debug      don't remove temporary files
12850       --recheck    update $as_me by reconfiguring in the same conditions
12851       --file=FILE[:TEMPLATE]
12852                    instantiate the configuration file FILE
12854 Configuration files:
12855 $config_files
12857 Configuration commands:
12858 $config_commands
12860 Report bugs to the package provider."
12862 _ACEOF
12863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12865 ac_cs_version="\\
12866 TI IPC config.status 3.0.0
12867 configured by $0, generated by GNU Autoconf 2.68,
12868   with options \\"\$ac_cs_config\\"
12870 Copyright (C) 2010 Free Software Foundation, Inc.
12871 This config.status script is free software; the Free Software Foundation
12872 gives unlimited permission to copy, distribute and modify it."
12874 ac_pwd='$ac_pwd'
12875 srcdir='$srcdir'
12876 INSTALL='$INSTALL'
12877 MKDIR_P='$MKDIR_P'
12878 AWK='$AWK'
12879 test -n "\$AWK" || AWK=awk
12880 _ACEOF
12882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12883 # The default lists apply if the user does not specify any file.
12884 ac_need_defaults=:
12885 while test $# != 0
12887   case $1 in
12888   --*=?*)
12889     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12890     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12891     ac_shift=:
12892     ;;
12893   --*=)
12894     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12895     ac_optarg=
12896     ac_shift=:
12897     ;;
12898   *)
12899     ac_option=$1
12900     ac_optarg=$2
12901     ac_shift=shift
12902     ;;
12903   esac
12905   case $ac_option in
12906   # Handling of the options.
12907   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12908     ac_cs_recheck=: ;;
12909   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12910     $as_echo "$ac_cs_version"; exit ;;
12911   --config | --confi | --conf | --con | --co | --c )
12912     $as_echo "$ac_cs_config"; exit ;;
12913   --debug | --debu | --deb | --de | --d | -d )
12914     debug=: ;;
12915   --file | --fil | --fi | --f )
12916     $ac_shift
12917     case $ac_optarg in
12918     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12919     '') as_fn_error $? "missing file argument" ;;
12920     esac
12921     as_fn_append CONFIG_FILES " '$ac_optarg'"
12922     ac_need_defaults=false;;
12923   --he | --h |  --help | --hel | -h )
12924     $as_echo "$ac_cs_usage"; exit ;;
12925   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12926   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12927     ac_cs_silent=: ;;
12929   # This is an error.
12930   -*) as_fn_error $? "unrecognized option: \`$1'
12931 Try \`$0 --help' for more information." ;;
12933   *) as_fn_append ac_config_targets " $1"
12934      ac_need_defaults=false ;;
12936   esac
12937   shift
12938 done
12940 ac_configure_extra_args=
12942 if $ac_cs_silent; then
12943   exec 6>/dev/null
12944   ac_configure_extra_args="$ac_configure_extra_args --silent"
12947 _ACEOF
12948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12949 if \$ac_cs_recheck; then
12950   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12951   shift
12952   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12953   CONFIG_SHELL='$SHELL'
12954   export CONFIG_SHELL
12955   exec "\$@"
12958 _ACEOF
12959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12960 exec 5>>config.log
12962   echo
12963   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12964 ## Running $as_me. ##
12965 _ASBOX
12966   $as_echo "$ac_log"
12967 } >&5
12969 _ACEOF
12970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12972 # INIT-COMMANDS
12974 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12977 # The HP-UX ksh and POSIX shell print the target directory to stdout
12978 # if CDPATH is set.
12979 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12981 sed_quote_subst='$sed_quote_subst'
12982 double_quote_subst='$double_quote_subst'
12983 delay_variable_subst='$delay_variable_subst'
12984 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12985 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12986 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12987 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12988 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12989 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12990 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12991 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12992 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12993 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12994 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12995 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12996 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12997 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12998 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12999 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13000 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13001 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13002 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13003 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13004 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13005 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13006 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13007 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13008 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13009 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13010 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13011 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13012 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13013 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13014 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13015 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13016 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13017 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13018 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13019 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13020 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13021 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13022 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13023 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13024 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13025 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13026 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13027 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13028 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13029 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13030 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13031 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13032 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13033 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13034 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13035 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13036 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13037 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13038 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13039 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13040 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13041 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13042 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13043 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13044 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13045 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13046 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13047 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13048 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13049 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13050 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13051 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13052 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13053 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13054 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13055 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13056 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13057 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13058 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13059 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13060 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13061 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13062 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13063 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13064 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13065 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13066 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13067 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13068 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13069 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13070 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13071 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13072 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13073 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13074 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13075 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13076 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13077 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13078 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13079 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13080 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13081 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13082 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13083 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13084 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13085 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13086 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13087 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13088 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13089 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13090 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13091 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13092 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13093 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13094 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13095 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13096 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13097 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13098 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13099 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13100 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13101 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13102 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13103 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13104 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13105 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13106 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13107 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13108 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13109 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13110 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13111 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13112 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13113 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13115 LTCC='$LTCC'
13116 LTCFLAGS='$LTCFLAGS'
13117 compiler='$compiler_DEFAULT'
13119 # A function that is used when there is no print builtin or printf.
13120 func_fallback_echo ()
13122   eval 'cat <<_LTECHO_EOF
13123 \$1
13124 _LTECHO_EOF'
13127 # Quote evaled strings.
13128 for var in SHELL \
13129 ECHO \
13130 PATH_SEPARATOR \
13131 SED \
13132 GREP \
13133 EGREP \
13134 FGREP \
13135 LD \
13136 NM \
13137 LN_S \
13138 lt_SP2NL \
13139 lt_NL2SP \
13140 reload_flag \
13141 OBJDUMP \
13142 deplibs_check_method \
13143 file_magic_cmd \
13144 file_magic_glob \
13145 want_nocaseglob \
13146 DLLTOOL \
13147 sharedlib_from_linklib_cmd \
13148 AR \
13149 AR_FLAGS \
13150 archiver_list_spec \
13151 STRIP \
13152 RANLIB \
13153 CC \
13154 CFLAGS \
13155 compiler \
13156 lt_cv_sys_global_symbol_pipe \
13157 lt_cv_sys_global_symbol_to_cdecl \
13158 lt_cv_sys_global_symbol_to_c_name_address \
13159 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13160 nm_file_list_spec \
13161 lt_prog_compiler_no_builtin_flag \
13162 lt_prog_compiler_pic \
13163 lt_prog_compiler_wl \
13164 lt_prog_compiler_static \
13165 lt_cv_prog_compiler_c_o \
13166 need_locks \
13167 MANIFEST_TOOL \
13168 DSYMUTIL \
13169 NMEDIT \
13170 LIPO \
13171 OTOOL \
13172 OTOOL64 \
13173 shrext_cmds \
13174 export_dynamic_flag_spec \
13175 whole_archive_flag_spec \
13176 compiler_needs_object \
13177 with_gnu_ld \
13178 allow_undefined_flag \
13179 no_undefined_flag \
13180 hardcode_libdir_flag_spec \
13181 hardcode_libdir_separator \
13182 exclude_expsyms \
13183 include_expsyms \
13184 file_list_spec \
13185 variables_saved_for_relink \
13186 libname_spec \
13187 library_names_spec \
13188 soname_spec \
13189 install_override_mode \
13190 finish_eval \
13191 old_striplib \
13192 striplib; do
13193     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13194     *[\\\\\\\`\\"\\\$]*)
13195       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13196       ;;
13197     *)
13198       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13199       ;;
13200     esac
13201 done
13203 # Double-quote double-evaled strings.
13204 for var in reload_cmds \
13205 old_postinstall_cmds \
13206 old_postuninstall_cmds \
13207 old_archive_cmds \
13208 extract_expsyms_cmds \
13209 old_archive_from_new_cmds \
13210 old_archive_from_expsyms_cmds \
13211 archive_cmds \
13212 archive_expsym_cmds \
13213 module_cmds \
13214 module_expsym_cmds \
13215 export_symbols_cmds \
13216 prelink_cmds \
13217 postlink_cmds \
13218 postinstall_cmds \
13219 postuninstall_cmds \
13220 finish_cmds \
13221 sys_lib_search_path_spec \
13222 sys_lib_dlsearch_path_spec; do
13223     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13224     *[\\\\\\\`\\"\\\$]*)
13225       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13226       ;;
13227     *)
13228       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13229       ;;
13230     esac
13231 done
13233 ac_aux_dir='$ac_aux_dir'
13234 xsi_shell='$xsi_shell'
13235 lt_shell_append='$lt_shell_append'
13237 # See if we are running on zsh, and set the options which allow our
13238 # commands through without removal of \ escapes INIT.
13239 if test -n "\${ZSH_VERSION+set}" ; then
13240    setopt NO_GLOB_SUBST
13244     PACKAGE='$PACKAGE'
13245     VERSION='$VERSION'
13246     TIMESTAMP='$TIMESTAMP'
13247     RM='$RM'
13248     ofile='$ofile'
13253 _ACEOF
13255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13257 # Handling of arguments.
13258 for ac_config_target in $ac_config_targets
13260   case $ac_config_target in
13261     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13262     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13263     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13264     "linux/etc/Makefile") CONFIG_FILES="$CONFIG_FILES linux/etc/Makefile" ;;
13265     "linux/src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/utils/Makefile" ;;
13266     "linux/src/utils/libtiipcutils.pc") CONFIG_FILES="$CONFIG_FILES linux/src/utils/libtiipcutils.pc" ;;
13267     "linux/src/api/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/api/Makefile" ;;
13268     "linux/src/api/libtiipc.pc") CONFIG_FILES="$CONFIG_FILES linux/src/api/libtiipc.pc" ;;
13269     "linux/src/mm/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/mm/Makefile" ;;
13270     "linux/src/mm/libmmrpc.pc") CONFIG_FILES="$CONFIG_FILES linux/src/mm/libmmrpc.pc" ;;
13271     "linux/src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/daemon/Makefile" ;;
13272     "linux/src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/tests/Makefile" ;;
13273     "linux/src/transport/Makefile") CONFIG_FILES="$CONFIG_FILES linux/src/transport/Makefile" ;;
13275   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13276   esac
13277 done
13280 # If the user did not use the arguments to specify the items to instantiate,
13281 # then the envvar interface is used.  Set only those that are not.
13282 # We use the long form for the default assignment because of an extremely
13283 # bizarre bug on SunOS 4.1.3.
13284 if $ac_need_defaults; then
13285   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13286   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13289 # Have a temporary directory for convenience.  Make it in the build tree
13290 # simply because there is no reason against having it here, and in addition,
13291 # creating and moving files from /tmp can sometimes cause problems.
13292 # Hook for its removal unless debugging.
13293 # Note that there is a small window in which the directory will not be cleaned:
13294 # after its creation but before its name has been assigned to `$tmp'.
13295 $debug ||
13297   tmp= ac_tmp=
13298   trap 'exit_status=$?
13299   : "${ac_tmp:=$tmp}"
13300   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13301 ' 0
13302   trap 'as_fn_exit 1' 1 2 13 15
13304 # Create a (secure) tmp directory for tmp files.
13307   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13308   test -d "$tmp"
13309 }  ||
13311   tmp=./conf$$-$RANDOM
13312   (umask 077 && mkdir "$tmp")
13313 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13314 ac_tmp=$tmp
13316 # Set up the scripts for CONFIG_FILES section.
13317 # No need to generate them if there are no CONFIG_FILES.
13318 # This happens for instance with `./config.status config.h'.
13319 if test -n "$CONFIG_FILES"; then
13322 ac_cr=`echo X | tr X '\015'`
13323 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13324 # But we know of no other shell where ac_cr would be empty at this
13325 # point, so we can use a bashism as a fallback.
13326 if test "x$ac_cr" = x; then
13327   eval ac_cr=\$\'\\r\'
13329 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13330 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13331   ac_cs_awk_cr='\\r'
13332 else
13333   ac_cs_awk_cr=$ac_cr
13336 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13337 _ACEOF
13341   echo "cat >conf$$subs.awk <<_ACEOF" &&
13342   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13343   echo "_ACEOF"
13344 } >conf$$subs.sh ||
13345   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13346 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13347 ac_delim='%!_!# '
13348 for ac_last_try in false false false false false :; do
13349   . ./conf$$subs.sh ||
13350     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13352   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13353   if test $ac_delim_n = $ac_delim_num; then
13354     break
13355   elif $ac_last_try; then
13356     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13357   else
13358     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13359   fi
13360 done
13361 rm -f conf$$subs.sh
13363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13364 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13365 _ACEOF
13366 sed -n '
13368 s/^/S["/; s/!.*/"]=/
13371 s/^[^!]*!//
13372 :repl
13373 t repl
13374 s/'"$ac_delim"'$//
13375 t delim
13376 :nl
13378 s/\(.\{148\}\)..*/\1/
13379 t more1
13380 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13383 b repl
13384 :more1
13385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13388 s/.\{148\}//
13389 t nl
13390 :delim
13392 s/\(.\{148\}\)..*/\1/
13393 t more2
13394 s/["\\]/\\&/g; s/^/"/; s/$/"/
13397 :more2
13398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13401 s/.\{148\}//
13402 t delim
13403 ' <conf$$subs.awk | sed '
13404 /^[^""]/{
13405   N
13406   s/\n//
13408 ' >>$CONFIG_STATUS || ac_write_fail=1
13409 rm -f conf$$subs.awk
13410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13411 _ACAWK
13412 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13413   for (key in S) S_is_set[key] = 1
13414   FS = "\a"
13418   line = $ 0
13419   nfields = split(line, field, "@")
13420   substed = 0
13421   len = length(field[1])
13422   for (i = 2; i < nfields; i++) {
13423     key = field[i]
13424     keylen = length(key)
13425     if (S_is_set[key]) {
13426       value = S[key]
13427       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13428       len += length(value) + length(field[++i])
13429       substed = 1
13430     } else
13431       len += 1 + keylen
13432   }
13434   print line
13437 _ACAWK
13438 _ACEOF
13439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13440 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13441   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13442 else
13443   cat
13444 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13445   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13446 _ACEOF
13448 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13449 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13450 # trailing colons and then remove the whole line if VPATH becomes empty
13451 # (actually we leave an empty line to preserve line numbers).
13452 if test "x$srcdir" = x.; then
13453   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13455 s///
13456 s/^/:/
13457 s/[      ]*$/:/
13458 s/:\$(srcdir):/:/g
13459 s/:\${srcdir}:/:/g
13460 s/:@srcdir@:/:/g
13461 s/^:*//
13462 s/:*$//
13464 s/\(=[   ]*\).*/\1/
13466 s/\n//
13467 s/^[^=]*=[       ]*$//
13471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13472 fi # test -n "$CONFIG_FILES"
13475 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
13476 shift
13477 for ac_tag
13479   case $ac_tag in
13480   :[FHLC]) ac_mode=$ac_tag; continue;;
13481   esac
13482   case $ac_mode$ac_tag in
13483   :[FHL]*:*);;
13484   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13485   :[FH]-) ac_tag=-:-;;
13486   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13487   esac
13488   ac_save_IFS=$IFS
13489   IFS=:
13490   set x $ac_tag
13491   IFS=$ac_save_IFS
13492   shift
13493   ac_file=$1
13494   shift
13496   case $ac_mode in
13497   :L) ac_source=$1;;
13498   :[FH])
13499     ac_file_inputs=
13500     for ac_f
13501     do
13502       case $ac_f in
13503       -) ac_f="$ac_tmp/stdin";;
13504       *) # Look for the file first in the build tree, then in the source tree
13505          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13506          # because $ac_f cannot contain `:'.
13507          test -f "$ac_f" ||
13508            case $ac_f in
13509            [\\/$]*) false;;
13510            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13511            esac ||
13512            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13513       esac
13514       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13515       as_fn_append ac_file_inputs " '$ac_f'"
13516     done
13518     # Let's still pretend it is `configure' which instantiates (i.e., don't
13519     # use $as_me), people would be surprised to read:
13520     #    /* config.h.  Generated by config.status.  */
13521     configure_input='Generated from '`
13522           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13523         `' by configure.'
13524     if test x"$ac_file" != x-; then
13525       configure_input="$ac_file.  $configure_input"
13526       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13527 $as_echo "$as_me: creating $ac_file" >&6;}
13528     fi
13529     # Neutralize special characters interpreted by sed in replacement strings.
13530     case $configure_input in #(
13531     *\&* | *\|* | *\\* )
13532        ac_sed_conf_input=`$as_echo "$configure_input" |
13533        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13534     *) ac_sed_conf_input=$configure_input;;
13535     esac
13537     case $ac_tag in
13538     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13539       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13540     esac
13541     ;;
13542   esac
13544   ac_dir=`$as_dirname -- "$ac_file" ||
13545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13546          X"$ac_file" : 'X\(//\)[^/]' \| \
13547          X"$ac_file" : 'X\(//\)$' \| \
13548          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13549 $as_echo X"$ac_file" |
13550     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13551             s//\1/
13552             q
13553           }
13554           /^X\(\/\/\)[^/].*/{
13555             s//\1/
13556             q
13557           }
13558           /^X\(\/\/\)$/{
13559             s//\1/
13560             q
13561           }
13562           /^X\(\/\).*/{
13563             s//\1/
13564             q
13565           }
13566           s/.*/./; q'`
13567   as_dir="$ac_dir"; as_fn_mkdir_p
13568   ac_builddir=.
13570 case "$ac_dir" in
13571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13573   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13574   # A ".." for each directory in $ac_dir_suffix.
13575   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13576   case $ac_top_builddir_sub in
13577   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13578   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13579   esac ;;
13580 esac
13581 ac_abs_top_builddir=$ac_pwd
13582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13583 # for backward compatibility:
13584 ac_top_builddir=$ac_top_build_prefix
13586 case $srcdir in
13587   .)  # We are building in place.
13588     ac_srcdir=.
13589     ac_top_srcdir=$ac_top_builddir_sub
13590     ac_abs_top_srcdir=$ac_pwd ;;
13591   [\\/]* | ?:[\\/]* )  # Absolute name.
13592     ac_srcdir=$srcdir$ac_dir_suffix;
13593     ac_top_srcdir=$srcdir
13594     ac_abs_top_srcdir=$srcdir ;;
13595   *) # Relative name.
13596     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13597     ac_top_srcdir=$ac_top_build_prefix$srcdir
13598     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13599 esac
13600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13603   case $ac_mode in
13604   :F)
13605   #
13606   # CONFIG_FILE
13607   #
13609   case $INSTALL in
13610   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13611   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13612   esac
13613   ac_MKDIR_P=$MKDIR_P
13614   case $MKDIR_P in
13615   [\\/$]* | ?:[\\/]* ) ;;
13616   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13617   esac
13618 _ACEOF
13620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13621 # If the template does not know about datarootdir, expand it.
13622 # FIXME: This hack should be removed a few years after 2.60.
13623 ac_datarootdir_hack=; ac_datarootdir_seen=
13624 ac_sed_dataroot='
13625 /datarootdir/ {
13626   p
13627   q
13629 /@datadir@/p
13630 /@docdir@/p
13631 /@infodir@/p
13632 /@localedir@/p
13633 /@mandir@/p'
13634 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13635 *datarootdir*) ac_datarootdir_seen=yes;;
13636 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13637   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13638 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13639 _ACEOF
13640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13641   ac_datarootdir_hack='
13642   s&@datadir@&$datadir&g
13643   s&@docdir@&$docdir&g
13644   s&@infodir@&$infodir&g
13645   s&@localedir@&$localedir&g
13646   s&@mandir@&$mandir&g
13647   s&\\\${datarootdir}&$datarootdir&g' ;;
13648 esac
13649 _ACEOF
13651 # Neutralize VPATH when `$srcdir' = `.'.
13652 # Shell code in configure.ac might set extrasub.
13653 # FIXME: do we really want to maintain this feature?
13654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13655 ac_sed_extra="$ac_vpsub
13656 $extrasub
13657 _ACEOF
13658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13661 s|@configure_input@|$ac_sed_conf_input|;t t
13662 s&@top_builddir@&$ac_top_builddir_sub&;t t
13663 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13664 s&@srcdir@&$ac_srcdir&;t t
13665 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13666 s&@top_srcdir@&$ac_top_srcdir&;t t
13667 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13668 s&@builddir@&$ac_builddir&;t t
13669 s&@abs_builddir@&$ac_abs_builddir&;t t
13670 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13671 s&@INSTALL@&$ac_INSTALL&;t t
13672 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13673 $ac_datarootdir_hack
13675 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13676   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13679   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13680   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13681       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13682   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13683 which seems to be undefined.  Please make sure it is defined" >&5
13684 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13685 which seems to be undefined.  Please make sure it is defined" >&2;}
13687   rm -f "$ac_tmp/stdin"
13688   case $ac_file in
13689   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13690   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13691   esac \
13692   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13693  ;;
13696   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13697 $as_echo "$as_me: executing $ac_file commands" >&6;}
13698  ;;
13699   esac
13702   case $ac_file$ac_mode in
13703     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13704   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13705   # are listed without --file.  Let's play safe and only enable the eval
13706   # if we detect the quoting.
13707   case $CONFIG_FILES in
13708   *\'*) eval set x "$CONFIG_FILES" ;;
13709   *)   set x $CONFIG_FILES ;;
13710   esac
13711   shift
13712   for mf
13713   do
13714     # Strip MF so we end up with the name of the file.
13715     mf=`echo "$mf" | sed -e 's/:.*$//'`
13716     # Check whether this is an Automake generated Makefile or not.
13717     # We used to match only the files named `Makefile.in', but
13718     # some people rename them; so instead we look at the file content.
13719     # Grep'ing the first line is not enough: some people post-process
13720     # each Makefile.in and add a new line on top of each file to say so.
13721     # Grep'ing the whole file is not good either: AIX grep has a line
13722     # limit of 2048, but all sed's we know have understand at least 4000.
13723     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13724       dirpart=`$as_dirname -- "$mf" ||
13725 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13726          X"$mf" : 'X\(//\)[^/]' \| \
13727          X"$mf" : 'X\(//\)$' \| \
13728          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13729 $as_echo X"$mf" |
13730     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13731             s//\1/
13732             q
13733           }
13734           /^X\(\/\/\)[^/].*/{
13735             s//\1/
13736             q
13737           }
13738           /^X\(\/\/\)$/{
13739             s//\1/
13740             q
13741           }
13742           /^X\(\/\).*/{
13743             s//\1/
13744             q
13745           }
13746           s/.*/./; q'`
13747     else
13748       continue
13749     fi
13750     # Extract the definition of DEPDIR, am__include, and am__quote
13751     # from the Makefile without running `make'.
13752     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13753     test -z "$DEPDIR" && continue
13754     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13755     test -z "am__include" && continue
13756     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13757     # When using ansi2knr, U may be empty or an underscore; expand it
13758     U=`sed -n 's/^U = //p' < "$mf"`
13759     # Find all dependency output files, they are included files with
13760     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13761     # simplest approach to changing $(DEPDIR) to its actual value in the
13762     # expansion.
13763     for file in `sed -n "
13764       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13765          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13766       # Make sure the directory exists.
13767       test -f "$dirpart/$file" && continue
13768       fdir=`$as_dirname -- "$file" ||
13769 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13770          X"$file" : 'X\(//\)[^/]' \| \
13771          X"$file" : 'X\(//\)$' \| \
13772          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13773 $as_echo X"$file" |
13774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13775             s//\1/
13776             q
13777           }
13778           /^X\(\/\/\)[^/].*/{
13779             s//\1/
13780             q
13781           }
13782           /^X\(\/\/\)$/{
13783             s//\1/
13784             q
13785           }
13786           /^X\(\/\).*/{
13787             s//\1/
13788             q
13789           }
13790           s/.*/./; q'`
13791       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13792       # echo "creating $dirpart/$file"
13793       echo '# dummy' > "$dirpart/$file"
13794     done
13795   done
13797  ;;
13798     "libtool":C)
13800     # See if we are running on zsh, and set the options which allow our
13801     # commands through without removal of \ escapes.
13802     if test -n "${ZSH_VERSION+set}" ; then
13803       setopt NO_GLOB_SUBST
13804     fi
13806     cfgfile="${ofile}T"
13807     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13808     $RM "$cfgfile"
13810     cat <<_LT_EOF >> "$cfgfile"
13811 #! $SHELL
13813 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13814 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13815 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13816 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13818 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13819 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13820 #                 Foundation, Inc.
13821 #   Written by Gordon Matzigkeit, 1996
13823 #   This file is part of GNU Libtool.
13825 # GNU Libtool is free software; you can redistribute it and/or
13826 # modify it under the terms of the GNU General Public License as
13827 # published by the Free Software Foundation; either version 2 of
13828 # the License, or (at your option) any later version.
13830 # As a special exception to the GNU General Public License,
13831 # if you distribute this file as part of a program or library that
13832 # is built using GNU Libtool, you may include this file under the
13833 # same distribution terms that you use for the rest of that program.
13835 # GNU Libtool is distributed in the hope that it will be useful,
13836 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13837 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13838 # GNU General Public License for more details.
13840 # You should have received a copy of the GNU General Public License
13841 # along with GNU Libtool; see the file COPYING.  If not, a copy
13842 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13843 # obtained by writing to the Free Software Foundation, Inc.,
13844 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13847 # The names of the tagged configurations supported by this script.
13848 available_tags=""
13850 # ### BEGIN LIBTOOL CONFIG
13852 # Which release of libtool.m4 was used?
13853 macro_version=$macro_version
13854 macro_revision=$macro_revision
13856 # Whether or not to build shared libraries.
13857 build_libtool_libs=$enable_shared
13859 # Whether or not to build static libraries.
13860 build_old_libs=$enable_static
13862 # What type of objects to build.
13863 pic_mode=$pic_mode
13865 # Whether or not to optimize for fast installation.
13866 fast_install=$enable_fast_install
13868 # Shell to use when invoking shell scripts.
13869 SHELL=$lt_SHELL
13871 # An echo program that protects backslashes.
13872 ECHO=$lt_ECHO
13874 # The PATH separator for the build system.
13875 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13877 # The host system.
13878 host_alias=$host_alias
13879 host=$host
13880 host_os=$host_os
13882 # The build system.
13883 build_alias=$build_alias
13884 build=$build
13885 build_os=$build_os
13887 # A sed program that does not truncate output.
13888 SED=$lt_SED
13890 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13891 Xsed="\$SED -e 1s/^X//"
13893 # A grep program that handles long lines.
13894 GREP=$lt_GREP
13896 # An ERE matcher.
13897 EGREP=$lt_EGREP
13899 # A literal string matcher.
13900 FGREP=$lt_FGREP
13902 # A BSD- or MS-compatible name lister.
13903 NM=$lt_NM
13905 # Whether we need soft or hard links.
13906 LN_S=$lt_LN_S
13908 # What is the maximum length of a command?
13909 max_cmd_len=$max_cmd_len
13911 # Object file suffix (normally "o").
13912 objext=$ac_objext
13914 # Executable file suffix (normally "").
13915 exeext=$exeext
13917 # whether the shell understands "unset".
13918 lt_unset=$lt_unset
13920 # turn spaces into newlines.
13921 SP2NL=$lt_lt_SP2NL
13923 # turn newlines into spaces.
13924 NL2SP=$lt_lt_NL2SP
13926 # convert \$build file names to \$host format.
13927 to_host_file_cmd=$lt_cv_to_host_file_cmd
13929 # convert \$build files to toolchain format.
13930 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13932 # An object symbol dumper.
13933 OBJDUMP=$lt_OBJDUMP
13935 # Method to check whether dependent libraries are shared objects.
13936 deplibs_check_method=$lt_deplibs_check_method
13938 # Command to use when deplibs_check_method = "file_magic".
13939 file_magic_cmd=$lt_file_magic_cmd
13941 # How to find potential files when deplibs_check_method = "file_magic".
13942 file_magic_glob=$lt_file_magic_glob
13944 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13945 want_nocaseglob=$lt_want_nocaseglob
13947 # DLL creation program.
13948 DLLTOOL=$lt_DLLTOOL
13950 # Command to associate shared and link libraries.
13951 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13953 # The archiver.
13954 AR=$lt_AR
13956 # Flags to create an archive.
13957 AR_FLAGS=$lt_AR_FLAGS
13959 # How to feed a file listing to the archiver.
13960 archiver_list_spec=$lt_archiver_list_spec
13962 # A symbol stripping program.
13963 STRIP=$lt_STRIP
13965 # Commands used to install an old-style archive.
13966 RANLIB=$lt_RANLIB
13967 old_postinstall_cmds=$lt_old_postinstall_cmds
13968 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13970 # Whether to use a lock for old archive extraction.
13971 lock_old_archive_extraction=$lock_old_archive_extraction
13973 # A C compiler.
13974 LTCC=$lt_CC
13976 # LTCC compiler flags.
13977 LTCFLAGS=$lt_CFLAGS
13979 # Take the output of nm and produce a listing of raw symbols and C names.
13980 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13982 # Transform the output of nm in a proper C declaration.
13983 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13985 # Transform the output of nm in a C name address pair.
13986 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13988 # Transform the output of nm in a C name address pair when lib prefix is needed.
13989 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13991 # Specify filename containing input files for \$NM.
13992 nm_file_list_spec=$lt_nm_file_list_spec
13994 # The root where to search for dependent libraries,and in which our libraries should be installed.
13995 lt_sysroot=$lt_sysroot
13997 # The name of the directory that contains temporary libtool files.
13998 objdir=$objdir
14000 # Used to examine libraries when file_magic_cmd begins with "file".
14001 MAGIC_CMD=$MAGIC_CMD
14003 # Must we lock files when doing compilation?
14004 need_locks=$lt_need_locks
14006 # Manifest tool.
14007 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14009 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14010 DSYMUTIL=$lt_DSYMUTIL
14012 # Tool to change global to local symbols on Mac OS X.
14013 NMEDIT=$lt_NMEDIT
14015 # Tool to manipulate fat objects and archives on Mac OS X.
14016 LIPO=$lt_LIPO
14018 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14019 OTOOL=$lt_OTOOL
14021 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14022 OTOOL64=$lt_OTOOL64
14024 # Old archive suffix (normally "a").
14025 libext=$libext
14027 # Shared library suffix (normally ".so").
14028 shrext_cmds=$lt_shrext_cmds
14030 # The commands to extract the exported symbol list from a shared archive.
14031 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14033 # Variables whose values should be saved in libtool wrapper scripts and
14034 # restored at link time.
14035 variables_saved_for_relink=$lt_variables_saved_for_relink
14037 # Do we need the "lib" prefix for modules?
14038 need_lib_prefix=$need_lib_prefix
14040 # Do we need a version for libraries?
14041 need_version=$need_version
14043 # Library versioning type.
14044 version_type=$version_type
14046 # Shared library runtime path variable.
14047 runpath_var=$runpath_var
14049 # Shared library path variable.
14050 shlibpath_var=$shlibpath_var
14052 # Is shlibpath searched before the hard-coded library search path?
14053 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14055 # Format of library name prefix.
14056 libname_spec=$lt_libname_spec
14058 # List of archive names.  First name is the real one, the rest are links.
14059 # The last name is the one that the linker finds with -lNAME
14060 library_names_spec=$lt_library_names_spec
14062 # The coded name of the library, if different from the real name.
14063 soname_spec=$lt_soname_spec
14065 # Permission mode override for installation of shared libraries.
14066 install_override_mode=$lt_install_override_mode
14068 # Command to use after installation of a shared archive.
14069 postinstall_cmds=$lt_postinstall_cmds
14071 # Command to use after uninstallation of a shared archive.
14072 postuninstall_cmds=$lt_postuninstall_cmds
14074 # Commands used to finish a libtool library installation in a directory.
14075 finish_cmds=$lt_finish_cmds
14077 # As "finish_cmds", except a single script fragment to be evaled but
14078 # not shown.
14079 finish_eval=$lt_finish_eval
14081 # Whether we should hardcode library paths into libraries.
14082 hardcode_into_libs=$hardcode_into_libs
14084 # Compile-time system search path for libraries.
14085 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14087 # Run-time system search path for libraries.
14088 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14090 # Whether dlopen is supported.
14091 dlopen_support=$enable_dlopen
14093 # Whether dlopen of programs is supported.
14094 dlopen_self=$enable_dlopen_self
14096 # Whether dlopen of statically linked programs is supported.
14097 dlopen_self_static=$enable_dlopen_self_static
14099 # Commands to strip libraries.
14100 old_striplib=$lt_old_striplib
14101 striplib=$lt_striplib
14104 # The linker used to build libraries.
14105 LD=$lt_LD
14107 # How to create reloadable object files.
14108 reload_flag=$lt_reload_flag
14109 reload_cmds=$lt_reload_cmds
14111 # Commands used to build an old-style archive.
14112 old_archive_cmds=$lt_old_archive_cmds
14114 # A language specific compiler.
14115 CC=$lt_compiler
14117 # Is the compiler the GNU compiler?
14118 with_gcc=$GCC
14120 # Compiler flag to turn off builtin functions.
14121 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14123 # Additional compiler flags for building library objects.
14124 pic_flag=$lt_lt_prog_compiler_pic
14126 # How to pass a linker flag through the compiler.
14127 wl=$lt_lt_prog_compiler_wl
14129 # Compiler flag to prevent dynamic linking.
14130 link_static_flag=$lt_lt_prog_compiler_static
14132 # Does compiler simultaneously support -c and -o options?
14133 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14135 # Whether or not to add -lc for building shared libraries.
14136 build_libtool_need_lc=$archive_cmds_need_lc
14138 # Whether or not to disallow shared libs when runtime libs are static.
14139 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14141 # Compiler flag to allow reflexive dlopens.
14142 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14144 # Compiler flag to generate shared objects directly from archives.
14145 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14147 # Whether the compiler copes with passing no objects directly.
14148 compiler_needs_object=$lt_compiler_needs_object
14150 # Create an old-style archive from a shared archive.
14151 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14153 # Create a temporary old-style archive to link instead of a shared archive.
14154 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14156 # Commands used to build a shared archive.
14157 archive_cmds=$lt_archive_cmds
14158 archive_expsym_cmds=$lt_archive_expsym_cmds
14160 # Commands used to build a loadable module if different from building
14161 # a shared archive.
14162 module_cmds=$lt_module_cmds
14163 module_expsym_cmds=$lt_module_expsym_cmds
14165 # Whether we are building with GNU ld or not.
14166 with_gnu_ld=$lt_with_gnu_ld
14168 # Flag that allows shared libraries with undefined symbols to be built.
14169 allow_undefined_flag=$lt_allow_undefined_flag
14171 # Flag that enforces no undefined symbols.
14172 no_undefined_flag=$lt_no_undefined_flag
14174 # Flag to hardcode \$libdir into a binary during linking.
14175 # This must work even if \$libdir does not exist
14176 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14178 # Whether we need a single "-rpath" flag with a separated argument.
14179 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14181 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14182 # DIR into the resulting binary.
14183 hardcode_direct=$hardcode_direct
14185 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14186 # DIR into the resulting binary and the resulting library dependency is
14187 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14188 # library is relocated.
14189 hardcode_direct_absolute=$hardcode_direct_absolute
14191 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14192 # into the resulting binary.
14193 hardcode_minus_L=$hardcode_minus_L
14195 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14196 # into the resulting binary.
14197 hardcode_shlibpath_var=$hardcode_shlibpath_var
14199 # Set to "yes" if building a shared library automatically hardcodes DIR
14200 # into the library and all subsequent libraries and executables linked
14201 # against it.
14202 hardcode_automatic=$hardcode_automatic
14204 # Set to yes if linker adds runtime paths of dependent libraries
14205 # to runtime path list.
14206 inherit_rpath=$inherit_rpath
14208 # Whether libtool must link a program against all its dependency libraries.
14209 link_all_deplibs=$link_all_deplibs
14211 # Set to "yes" if exported symbols are required.
14212 always_export_symbols=$always_export_symbols
14214 # The commands to list exported symbols.
14215 export_symbols_cmds=$lt_export_symbols_cmds
14217 # Symbols that should not be listed in the preloaded symbols.
14218 exclude_expsyms=$lt_exclude_expsyms
14220 # Symbols that must always be exported.
14221 include_expsyms=$lt_include_expsyms
14223 # Commands necessary for linking programs (against libraries) with templates.
14224 prelink_cmds=$lt_prelink_cmds
14226 # Commands necessary for finishing linking programs.
14227 postlink_cmds=$lt_postlink_cmds
14229 # Specify filename containing input files.
14230 file_list_spec=$lt_file_list_spec
14232 # How to hardcode a shared library path into an executable.
14233 hardcode_action=$hardcode_action
14235 # ### END LIBTOOL CONFIG
14237 _LT_EOF
14239   case $host_os in
14240   aix3*)
14241     cat <<\_LT_EOF >> "$cfgfile"
14242 # AIX sometimes has problems with the GCC collect2 program.  For some
14243 # reason, if we set the COLLECT_NAMES environment variable, the problems
14244 # vanish in a puff of smoke.
14245 if test "X${COLLECT_NAMES+set}" != Xset; then
14246   COLLECT_NAMES=
14247   export COLLECT_NAMES
14249 _LT_EOF
14250     ;;
14251   esac
14254 ltmain="$ac_aux_dir/ltmain.sh"
14257   # We use sed instead of cat because bash on DJGPP gets confused if
14258   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14259   # text mode, it properly converts lines to CR/LF.  This bash problem
14260   # is reportedly fixed, but why not run on old versions too?
14261   sed '$q' "$ltmain" >> "$cfgfile" \
14262      || (rm -f "$cfgfile"; exit 1)
14264   if test x"$xsi_shell" = xyes; then
14265   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14266 func_dirname ()\
14268 \    case ${1} in\
14269 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14270 \      *  ) func_dirname_result="${3}" ;;\
14271 \    esac\
14272 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14273   && mv -f "$cfgfile.tmp" "$cfgfile" \
14274     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14275 test 0 -eq $? || _lt_function_replace_fail=:
14278   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14279 func_basename ()\
14281 \    func_basename_result="${1##*/}"\
14282 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14283   && mv -f "$cfgfile.tmp" "$cfgfile" \
14284     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14285 test 0 -eq $? || _lt_function_replace_fail=:
14288   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14289 func_dirname_and_basename ()\
14291 \    case ${1} in\
14292 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14293 \      *  ) func_dirname_result="${3}" ;;\
14294 \    esac\
14295 \    func_basename_result="${1##*/}"\
14296 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14297   && mv -f "$cfgfile.tmp" "$cfgfile" \
14298     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14299 test 0 -eq $? || _lt_function_replace_fail=:
14302   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14303 func_stripname ()\
14305 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14306 \    # positional parameters, so assign one to ordinary parameter first.\
14307 \    func_stripname_result=${3}\
14308 \    func_stripname_result=${func_stripname_result#"${1}"}\
14309 \    func_stripname_result=${func_stripname_result%"${2}"}\
14310 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14311   && mv -f "$cfgfile.tmp" "$cfgfile" \
14312     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14313 test 0 -eq $? || _lt_function_replace_fail=:
14316   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14317 func_split_long_opt ()\
14319 \    func_split_long_opt_name=${1%%=*}\
14320 \    func_split_long_opt_arg=${1#*=}\
14321 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14322   && mv -f "$cfgfile.tmp" "$cfgfile" \
14323     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14324 test 0 -eq $? || _lt_function_replace_fail=:
14327   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14328 func_split_short_opt ()\
14330 \    func_split_short_opt_arg=${1#??}\
14331 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14332 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14333   && mv -f "$cfgfile.tmp" "$cfgfile" \
14334     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14335 test 0 -eq $? || _lt_function_replace_fail=:
14338   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14339 func_lo2o ()\
14341 \    case ${1} in\
14342 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14343 \      *)    func_lo2o_result=${1} ;;\
14344 \    esac\
14345 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14346   && mv -f "$cfgfile.tmp" "$cfgfile" \
14347     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14348 test 0 -eq $? || _lt_function_replace_fail=:
14351   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14352 func_xform ()\
14354     func_xform_result=${1%.*}.lo\
14355 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14356   && mv -f "$cfgfile.tmp" "$cfgfile" \
14357     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14358 test 0 -eq $? || _lt_function_replace_fail=:
14361   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14362 func_arith ()\
14364     func_arith_result=$(( $* ))\
14365 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14366   && mv -f "$cfgfile.tmp" "$cfgfile" \
14367     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14368 test 0 -eq $? || _lt_function_replace_fail=:
14371   sed -e '/^func_len ()$/,/^} # func_len /c\
14372 func_len ()\
14374     func_len_result=${#1}\
14375 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14376   && mv -f "$cfgfile.tmp" "$cfgfile" \
14377     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14378 test 0 -eq $? || _lt_function_replace_fail=:
14382 if test x"$lt_shell_append" = xyes; then
14383   sed -e '/^func_append ()$/,/^} # func_append /c\
14384 func_append ()\
14386     eval "${1}+=\\${2}"\
14387 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14388   && mv -f "$cfgfile.tmp" "$cfgfile" \
14389     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14390 test 0 -eq $? || _lt_function_replace_fail=:
14393   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14394 func_append_quoted ()\
14396 \    func_quote_for_eval "${2}"\
14397 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14398 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14399   && mv -f "$cfgfile.tmp" "$cfgfile" \
14400     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14401 test 0 -eq $? || _lt_function_replace_fail=:
14404   # Save a `func_append' function call where possible by direct use of '+='
14405   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14406     && mv -f "$cfgfile.tmp" "$cfgfile" \
14407       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14408   test 0 -eq $? || _lt_function_replace_fail=:
14409 else
14410   # Save a `func_append' function call even when '+=' is not available
14411   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14412     && mv -f "$cfgfile.tmp" "$cfgfile" \
14413       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14414   test 0 -eq $? || _lt_function_replace_fail=:
14417 if test x"$_lt_function_replace_fail" = x":"; then
14418   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14419 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14423    mv -f "$cfgfile" "$ofile" ||
14424     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14425   chmod +x "$ofile"
14427  ;;
14429   esac
14430 done # for ac_tag
14433 as_fn_exit 0
14434 _ACEOF
14435 ac_clean_files=$ac_clean_files_save
14437 test $ac_write_fail = 0 ||
14438   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14441 # configure is writing to config.log, and then calls config.status.
14442 # config.status does its own redirection, appending to config.log.
14443 # Unfortunately, on DOS this fails, as config.log is still kept open
14444 # by configure, so config.status won't be able to write to it; its
14445 # output is simply discarded.  So we exec the FD to /dev/null,
14446 # effectively closing config.log, so it can be properly (re)opened and
14447 # appended to by config.status.  When coming back to configure, we
14448 # need to make the FD available again.
14449 if test "$no_create" != yes; then
14450   ac_cs_success=:
14451   ac_config_status_args=
14452   test "$silent" = yes &&
14453     ac_config_status_args="$ac_config_status_args --quiet"
14454   exec 5>/dev/null
14455   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14456   exec 5>>config.log
14457   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14458   # would make configure fail if this is the last instruction.
14459   $ac_cs_success || as_fn_exit 1
14461 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14462   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14463 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14467 echo \
14468 "-----------------------------------------------------------
14470 Thank you for installing the Linux ${PACKAGE_NAME} package
14472 Installation directory prefix: '${prefix}'.
14473 Compilation command: '${CC} ${CFLAGS} ${CPPFLAGS}'
14475 You have configured to build for the '${PLATFORM}' platform
14477 Your KERNEL installation directory is set to:
14478     '${KERNEL_INSTALL_DIR}'
14480 Your DRM installation directory is set to:
14481     '${DRM_PREFIX}'
14483 Your CMEM installation directory is set to:
14484     '${CMEM_INSTALL_DIR}'
14486 Now type 'make; sudo make install' to generate the program
14487 and install it to your system.
14489 ------------------------------------------------------------"