Bump version
[asdcplib-cth.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for asdcplib 2.5.11.
4 #
5 # Report bugs to <asdcplib@cinecert.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: asdcplib@cinecert.com about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='asdcplib'
592 PACKAGE_TARNAME='asdcplib'
593 PACKAGE_VERSION='2.5.11'
594 PACKAGE_STRING='asdcplib 2.5.11'
595 PACKAGE_BUGREPORT='asdcplib@cinecert.com'
596 PACKAGE_URL=''
597
598 ac_unique_file="src/KM_error.h"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 LIBOBJS
639 USE_PHDR_FALSE
640 USE_PHDR_TRUE
641 USE_AS_02_FALSE
642 USE_AS_02_TRUE
643 ENABLE_RANDOM_UUID_FALSE
644 ENABLE_RANDOM_UUID_TRUE
645 DEV_HEADERS_FALSE
646 DEV_HEADERS_TRUE
647 FREEDIST_FALSE
648 FREEDIST_TRUE
649 HAVE_PYTHON_FALSE
650 HAVE_PYTHON_TRUE
651 PYTHON_EXECDIR
652 PYTHON_EXECPREFIX
653 PYTHON_PREFIX
654 PYTHON_LDFLAGS
655 PYTHON_LSPEC
656 PYTHON_SHORTVERSION
657 PYTHON_CPPFLAGS
658 PYTHON_CSPEC
659 PYTHON
660 PYTHON_USE_FALSE
661 PYTHON_USE_TRUE
662 XERCES_VERSION
663 XERCES_LIBS
664 XERCES_LDFLAGS
665 XERCES_CPPFLAGS
666 EXPAT_VERSION
667 EXPAT_LDFLAGS
668 EXPAT_CFLAGS
669 OPENSSL_VERSION
670 OPENSSL_LIBS
671 OPENSSL_LDFLAGS
672 OPENSSL_CPPFLAGS
673 CXXCPP
674 CPP
675 OTOOL64
676 OTOOL
677 LIPO
678 NMEDIT
679 DSYMUTIL
680 MANIFEST_TOOL
681 RANLIB
682 ac_ct_AR
683 AR
684 DLLTOOL
685 OBJDUMP
686 LN_S
687 NM
688 ac_ct_DUMPBIN
689 DUMPBIN
690 LD
691 FGREP
692 EGREP
693 GREP
694 SED
695 LIBTOOL
696 am__fastdepCXX_FALSE
697 am__fastdepCXX_TRUE
698 CXXDEPMODE
699 ac_ct_CXX
700 CXXFLAGS
701 CXX
702 am__fastdepCC_FALSE
703 am__fastdepCC_TRUE
704 CCDEPMODE
705 am__nodep
706 AMDEPBACKSLASH
707 AMDEP_FALSE
708 AMDEP_TRUE
709 am__quote
710 am__include
711 DEPDIR
712 OBJEXT
713 EXEEXT
714 ac_ct_CC
715 CPPFLAGS
716 LDFLAGS
717 CFLAGS
718 CC
719 OPENBSD_HOST_FALSE
720 OPENBSD_HOST_TRUE
721 host_os
722 host_vendor
723 host_cpu
724 host
725 build_os
726 build_vendor
727 build_cpu
728 build
729 AM_BACKSLASH
730 AM_DEFAULT_VERBOSITY
731 AM_DEFAULT_V
732 AM_V
733 am__untar
734 am__tar
735 AMTAR
736 am__leading_dot
737 SET_MAKE
738 AWK
739 mkdir_p
740 MKDIR_P
741 INSTALL_STRIP_PROGRAM
742 STRIP
743 install_sh
744 MAKEINFO
745 AUTOHEADER
746 AUTOMAKE
747 AUTOCONF
748 ACLOCAL
749 VERSION
750 PACKAGE
751 CYGPATH_W
752 am__isrc
753 INSTALL_DATA
754 INSTALL_SCRIPT
755 INSTALL_PROGRAM
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_silent_rules
798 enable_dependency_tracking
799 enable_shared
800 enable_static
801 with_pic
802 enable_fast_install
803 with_gnu_ld
804 with_sysroot
805 enable_libtool_lock
806 enable_largefile
807 with_openssl
808 with_expat
809 with_expat_inc
810 with_expat_lib
811 with_xerces
812 with_xerces_inc
813 with_xerces_lib
814 with_python
815 enable_freedist
816 enable_dev_headers
817 enable_random_case_UUID
818 enable_as_02
819 enable_phdr
820 '
821       ac_precious_vars='build_alias
822 host_alias
823 target_alias
824 CC
825 CFLAGS
826 LDFLAGS
827 LIBS
828 CPPFLAGS
829 CXX
830 CXXFLAGS
831 CCC
832 CPP
833 CXXCPP
834 PYTHON'
835
836
837 # Initialize some variables set by options.
838 ac_init_help=
839 ac_init_version=false
840 ac_unrecognized_opts=
841 ac_unrecognized_sep=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
844 cache_file=/dev/null
845 exec_prefix=NONE
846 no_create=
847 no_recursion=
848 prefix=NONE
849 program_prefix=NONE
850 program_suffix=NONE
851 program_transform_name=s,x,x,
852 silent=
853 site=
854 srcdir=
855 verbose=
856 x_includes=NONE
857 x_libraries=NONE
858
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
877 htmldir='${docdir}'
878 dvidir='${docdir}'
879 pdfdir='${docdir}'
880 psdir='${docdir}'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
884
885 ac_prev=
886 ac_dashdash=
887 for ac_option
888 do
889   # If the previous option needs an argument, assign it.
890   if test -n "$ac_prev"; then
891     eval $ac_prev=\$ac_option
892     ac_prev=
893     continue
894   fi
895
896   case $ac_option in
897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898   *=)   ac_optarg= ;;
899   *)    ac_optarg=yes ;;
900   esac
901
902   # Accept the important Cygnus configure options, so we can diagnose typos.
903
904   case $ac_dashdash$ac_option in
905   --)
906     ac_dashdash=yes ;;
907
908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
909     ac_prev=bindir ;;
910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911     bindir=$ac_optarg ;;
912
913   -build | --build | --buil | --bui | --bu)
914     ac_prev=build_alias ;;
915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916     build_alias=$ac_optarg ;;
917
918   -cache-file | --cache-file | --cache-fil | --cache-fi \
919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920     ac_prev=cache_file ;;
921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923     cache_file=$ac_optarg ;;
924
925   --config-cache | -C)
926     cache_file=config.cache ;;
927
928   -datadir | --datadir | --datadi | --datad)
929     ac_prev=datadir ;;
930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
931     datadir=$ac_optarg ;;
932
933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934   | --dataroo | --dataro | --datar)
935     ac_prev=datarootdir ;;
936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938     datarootdir=$ac_optarg ;;
939
940   -disable-* | --disable-*)
941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942     # Reject names that are not valid shell variable names.
943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944       as_fn_error $? "invalid feature name: $ac_useropt"
945     ac_useropt_orig=$ac_useropt
946     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947     case $ac_user_opts in
948       *"
949 "enable_$ac_useropt"
950 "*) ;;
951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952          ac_unrecognized_sep=', ';;
953     esac
954     eval enable_$ac_useropt=no ;;
955
956   -docdir | --docdir | --docdi | --doc | --do)
957     ac_prev=docdir ;;
958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959     docdir=$ac_optarg ;;
960
961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962     ac_prev=dvidir ;;
963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964     dvidir=$ac_optarg ;;
965
966   -enable-* | --enable-*)
967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968     # Reject names that are not valid shell variable names.
969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970       as_fn_error $? "invalid feature name: $ac_useropt"
971     ac_useropt_orig=$ac_useropt
972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973     case $ac_user_opts in
974       *"
975 "enable_$ac_useropt"
976 "*) ;;
977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978          ac_unrecognized_sep=', ';;
979     esac
980     eval enable_$ac_useropt=\$ac_optarg ;;
981
982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984   | --exec | --exe | --ex)
985     ac_prev=exec_prefix ;;
986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988   | --exec=* | --exe=* | --ex=*)
989     exec_prefix=$ac_optarg ;;
990
991   -gas | --gas | --ga | --g)
992     # Obsolete; use --with-gas.
993     with_gas=yes ;;
994
995   -help | --help | --hel | --he | -h)
996     ac_init_help=long ;;
997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998     ac_init_help=recursive ;;
999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000     ac_init_help=short ;;
1001
1002   -host | --host | --hos | --ho)
1003     ac_prev=host_alias ;;
1004   -host=* | --host=* | --hos=* | --ho=*)
1005     host_alias=$ac_optarg ;;
1006
1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008     ac_prev=htmldir ;;
1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010   | --ht=*)
1011     htmldir=$ac_optarg ;;
1012
1013   -includedir | --includedir | --includedi | --included | --include \
1014   | --includ | --inclu | --incl | --inc)
1015     ac_prev=includedir ;;
1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
1018     includedir=$ac_optarg ;;
1019
1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
1021     ac_prev=infodir ;;
1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023     infodir=$ac_optarg ;;
1024
1025   -libdir | --libdir | --libdi | --libd)
1026     ac_prev=libdir ;;
1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028     libdir=$ac_optarg ;;
1029
1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031   | --libexe | --libex | --libe)
1032     ac_prev=libexecdir ;;
1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034   | --libexe=* | --libex=* | --libe=*)
1035     libexecdir=$ac_optarg ;;
1036
1037   -localedir | --localedir | --localedi | --localed | --locale)
1038     ac_prev=localedir ;;
1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040     localedir=$ac_optarg ;;
1041
1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
1043   | --localstate | --localstat | --localsta | --localst | --locals)
1044     ac_prev=localstatedir ;;
1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047     localstatedir=$ac_optarg ;;
1048
1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050     ac_prev=mandir ;;
1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052     mandir=$ac_optarg ;;
1053
1054   -nfp | --nfp | --nf)
1055     # Obsolete; use --without-fp.
1056     with_fp=no ;;
1057
1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059   | --no-cr | --no-c | -n)
1060     no_create=yes ;;
1061
1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064     no_recursion=yes ;;
1065
1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068   | --oldin | --oldi | --old | --ol | --o)
1069     ac_prev=oldincludedir ;;
1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073     oldincludedir=$ac_optarg ;;
1074
1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076     ac_prev=prefix ;;
1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078     prefix=$ac_optarg ;;
1079
1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081   | --program-pre | --program-pr | --program-p)
1082     ac_prev=program_prefix ;;
1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085     program_prefix=$ac_optarg ;;
1086
1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088   | --program-suf | --program-su | --program-s)
1089     ac_prev=program_suffix ;;
1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092     program_suffix=$ac_optarg ;;
1093
1094   -program-transform-name | --program-transform-name \
1095   | --program-transform-nam | --program-transform-na \
1096   | --program-transform-n | --program-transform- \
1097   | --program-transform | --program-transfor \
1098   | --program-transfo | --program-transf \
1099   | --program-trans | --program-tran \
1100   | --progr-tra | --program-tr | --program-t)
1101     ac_prev=program_transform_name ;;
1102   -program-transform-name=* | --program-transform-name=* \
1103   | --program-transform-nam=* | --program-transform-na=* \
1104   | --program-transform-n=* | --program-transform-=* \
1105   | --program-transform=* | --program-transfor=* \
1106   | --program-transfo=* | --program-transf=* \
1107   | --program-trans=* | --program-tran=* \
1108   | --progr-tra=* | --program-tr=* | --program-t=*)
1109     program_transform_name=$ac_optarg ;;
1110
1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112     ac_prev=pdfdir ;;
1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114     pdfdir=$ac_optarg ;;
1115
1116   -psdir | --psdir | --psdi | --psd | --ps)
1117     ac_prev=psdir ;;
1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119     psdir=$ac_optarg ;;
1120
1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122   | -silent | --silent | --silen | --sile | --sil)
1123     silent=yes ;;
1124
1125   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126     ac_prev=sbindir ;;
1127   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128   | --sbi=* | --sb=*)
1129     sbindir=$ac_optarg ;;
1130
1131   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133   | --sharedst | --shareds | --shared | --share | --shar \
1134   | --sha | --sh)
1135     ac_prev=sharedstatedir ;;
1136   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139   | --sha=* | --sh=*)
1140     sharedstatedir=$ac_optarg ;;
1141
1142   -site | --site | --sit)
1143     ac_prev=site ;;
1144   -site=* | --site=* | --sit=*)
1145     site=$ac_optarg ;;
1146
1147   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148     ac_prev=srcdir ;;
1149   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150     srcdir=$ac_optarg ;;
1151
1152   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153   | --syscon | --sysco | --sysc | --sys | --sy)
1154     ac_prev=sysconfdir ;;
1155   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157     sysconfdir=$ac_optarg ;;
1158
1159   -target | --target | --targe | --targ | --tar | --ta | --t)
1160     ac_prev=target_alias ;;
1161   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162     target_alias=$ac_optarg ;;
1163
1164   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165     verbose=yes ;;
1166
1167   -version | --version | --versio | --versi | --vers | -V)
1168     ac_init_version=: ;;
1169
1170   -with-* | --with-*)
1171     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172     # Reject names that are not valid shell variable names.
1173     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174       as_fn_error $? "invalid package name: $ac_useropt"
1175     ac_useropt_orig=$ac_useropt
1176     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177     case $ac_user_opts in
1178       *"
1179 "with_$ac_useropt"
1180 "*) ;;
1181       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182          ac_unrecognized_sep=', ';;
1183     esac
1184     eval with_$ac_useropt=\$ac_optarg ;;
1185
1186   -without-* | --without-*)
1187     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188     # Reject names that are not valid shell variable names.
1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190       as_fn_error $? "invalid package name: $ac_useropt"
1191     ac_useropt_orig=$ac_useropt
1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193     case $ac_user_opts in
1194       *"
1195 "with_$ac_useropt"
1196 "*) ;;
1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198          ac_unrecognized_sep=', ';;
1199     esac
1200     eval with_$ac_useropt=no ;;
1201
1202   --x)
1203     # Obsolete; use --with-x.
1204     with_x=yes ;;
1205
1206   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207   | --x-incl | --x-inc | --x-in | --x-i)
1208     ac_prev=x_includes ;;
1209   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211     x_includes=$ac_optarg ;;
1212
1213   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215     ac_prev=x_libraries ;;
1216   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218     x_libraries=$ac_optarg ;;
1219
1220   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1222     ;;
1223
1224   *=*)
1225     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226     # Reject names that are not valid shell variable names.
1227     case $ac_envvar in #(
1228       '' | [0-9]* | *[!_$as_cr_alnum]* )
1229       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230     esac
1231     eval $ac_envvar=\$ac_optarg
1232     export $ac_envvar ;;
1233
1234   *)
1235     # FIXME: should be removed in autoconf 3.0.
1236     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240     ;;
1241
1242   esac
1243 done
1244
1245 if test -n "$ac_prev"; then
1246   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247   as_fn_error $? "missing argument to $ac_option"
1248 fi
1249
1250 if test -n "$ac_unrecognized_opts"; then
1251   case $enable_option_checking in
1252     no) ;;
1253     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255   esac
1256 fi
1257
1258 # Check all directory arguments for consistency.
1259 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260                 datadir sysconfdir sharedstatedir localstatedir includedir \
1261                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262                 libdir localedir mandir
1263 do
1264   eval ac_val=\$$ac_var
1265   # Remove trailing slashes.
1266   case $ac_val in
1267     */ )
1268       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269       eval $ac_var=\$ac_val;;
1270   esac
1271   # Be sure to have absolute directory names.
1272   case $ac_val in
1273     [\\/$]* | ?:[\\/]* )  continue;;
1274     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275   esac
1276   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 done
1278
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1282 build=$build_alias
1283 host=$host_alias
1284 target=$target_alias
1285
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288   if test "x$build_alias" = x; then
1289     cross_compiling=maybe
1290   elif test "x$build_alias" != "x$host_alias"; then
1291     cross_compiling=yes
1292   fi
1293 fi
1294
1295 ac_tool_prefix=
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298 test "$silent" = yes && exec 6>/dev/null
1299
1300
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304   as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306   as_fn_error $? "pwd does not report name of working directory"
1307
1308
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311   ac_srcdir_defaulted=yes
1312   # Try the directory containing this script, then the parent directory.
1313   ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315          X"$as_myself" : 'X\(//\)[^/]' \| \
1316          X"$as_myself" : 'X\(//\)$' \| \
1317          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320             s//\1/
1321             q
1322           }
1323           /^X\(\/\/\)[^/].*/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)$/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\).*/{
1332             s//\1/
1333             q
1334           }
1335           s/.*/./; q'`
1336   srcdir=$ac_confdir
1337   if test ! -r "$srcdir/$ac_unique_file"; then
1338     srcdir=..
1339   fi
1340 else
1341   ac_srcdir_defaulted=no
1342 fi
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346 fi
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 ac_abs_confdir=`(
1349         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350         pwd)`
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353   srcdir=.
1354 fi
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1358 case $srcdir in
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 esac
1361 for ac_var in $ac_precious_vars; do
1362   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363   eval ac_env_${ac_var}_value=\$${ac_var}
1364   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366 done
1367
1368 #
1369 # Report the --help message.
1370 #
1371 if test "$ac_init_help" = "long"; then
1372   # Omit some internal or obsolete options to make the list less imposing.
1373   # This message is too long to be a string in the A/UX 3.1 sh.
1374   cat <<_ACEOF
1375 \`configure' configures asdcplib 2.5.11 to adapt to many kinds of systems.
1376
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE.  See below for descriptions of some of the useful variables.
1381
1382 Defaults for the options are specified in brackets.
1383
1384 Configuration:
1385   -h, --help              display this help and exit
1386       --help=short        display options specific to this package
1387       --help=recursive    display the short help of all the included packages
1388   -V, --version           display version information and exit
1389   -q, --quiet, --silent   do not print \`checking ...' messages
1390       --cache-file=FILE   cache test results in FILE [disabled]
1391   -C, --config-cache      alias for \`--cache-file=config.cache'
1392   -n, --no-create         do not create output files
1393       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1394
1395 Installation directories:
1396   --prefix=PREFIX         install architecture-independent files in PREFIX
1397                           [$ac_default_prefix]
1398   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1399                           [PREFIX]
1400
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1405
1406 For better control, use the options below.
1407
1408 Fine tuning of the installation directories:
1409   --bindir=DIR            user executables [EPREFIX/bin]
1410   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1411   --libexecdir=DIR        program executables [EPREFIX/libexec]
1412   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1413   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1414   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1415   --libdir=DIR            object code libraries [EPREFIX/lib]
1416   --includedir=DIR        C header files [PREFIX/include]
1417   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1418   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1419   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1420   --infodir=DIR           info documentation [DATAROOTDIR/info]
1421   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1422   --mandir=DIR            man documentation [DATAROOTDIR/man]
1423   --docdir=DIR            documentation root [DATAROOTDIR/doc/asdcplib]
1424   --htmldir=DIR           html documentation [DOCDIR]
1425   --dvidir=DIR            dvi documentation [DOCDIR]
1426   --pdfdir=DIR            pdf documentation [DOCDIR]
1427   --psdir=DIR             ps documentation [DOCDIR]
1428 _ACEOF
1429
1430   cat <<\_ACEOF
1431
1432 Program names:
1433   --program-prefix=PREFIX            prepend PREFIX to installed program names
1434   --program-suffix=SUFFIX            append SUFFIX to installed program names
1435   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1436
1437 System types:
1438   --build=BUILD     configure for building on BUILD [guessed]
1439   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1440 _ACEOF
1441 fi
1442
1443 if test -n "$ac_init_help"; then
1444   case $ac_init_help in
1445      short | recursive ) echo "Configuration of asdcplib 2.5.11:";;
1446    esac
1447   cat <<\_ACEOF
1448
1449 Optional Features:
1450   --disable-option-checking  ignore unrecognized --enable/--with options
1451   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1452   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1453   --enable-silent-rules   less verbose build output (undo: "make V=1")
1454   --disable-silent-rules  verbose build output (undo: "make V=0")
1455   --enable-dependency-tracking
1456                           do not reject slow dependency extractors
1457   --disable-dependency-tracking
1458                           speeds up one-time build
1459   --enable-shared[=PKGS]  build shared libraries [default=yes]
1460   --enable-static[=PKGS]  build static libraries [default=yes]
1461   --enable-fast-install[=PKGS]
1462                           optimize for fast installation [default=yes]
1463   --disable-libtool-lock  avoid locking (might break parallel builds)
1464   --disable-largefile     omit support for large files
1465   --enable-freedist    ensure source distribution is of BSD-licensed code
1466   --enable-dev-headers    install development headers
1467   --enable-random-case-UUID    encode randomly-cased UUID values when the environment variable KM_USE_RANDOM_UUID is set
1468   --enable-as-02    enable support for SMPTE ST 2067-5 MXF files, A.K.A. AS-02
1469   --enable-phdr    enable support for Prototype for High Dyamic Range in AS-02
1470
1471 Optional Packages:
1472   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1473   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1474   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1475                           both]
1476   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1477   --with-sysroot=DIR Search for dependent libraries within DIR
1478                         (or the compiler's sysroot if not specified).
1479   --with-openssl=[ARG]    use OpenSSL from given prefix (ARG=path); check
1480                           standard prefixes (ARG=yes); disable (ARG=no)
1481   --with-expat=[ARG]      use Expat XML Parser from given prefix (ARG=path);
1482                           check standard prefixes (ARG=yes); disable (ARG=no)
1483   --with-expat-inc=[DIR]  path to Expat XML Parser headers
1484   --with-expat-lib=[ARG]  link options for Expat XML Parser libraries
1485   --with-xerces=[ARG]     use Xerces C++ Parser from given prefix (ARG=path);
1486                           check standard prefixes (ARG=yes); disable (ARG=no)
1487   --with-xerces-inc=[DIR] path to Xerces C++ Parser headers
1488   --with-xerces-lib=[ARG] link options for Xerces C++ Parser libraries
1489   --with-python[=PYTHON]  absolute path name of Python executable
1490
1491 Some influential environment variables:
1492   CC          C compiler command
1493   CFLAGS      C compiler flags
1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1495               nonstandard directory <lib dir>
1496   LIBS        libraries to pass to the linker, e.g. -l<library>
1497   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498               you have headers in a nonstandard directory <include dir>
1499   CXX         C++ compiler command
1500   CXXFLAGS    C++ compiler flags
1501   CPP         C preprocessor
1502   CXXCPP      C++ preprocessor
1503   PYTHON      Python Executable Path
1504
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1507
1508 Report bugs to <asdcplib@cinecert.com>.
1509 _ACEOF
1510 ac_status=$?
1511 fi
1512
1513 if test "$ac_init_help" = "recursive"; then
1514   # If there are subdirs, report their specific --help.
1515   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516     test -d "$ac_dir" ||
1517       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518       continue
1519     ac_builddir=.
1520
1521 case "$ac_dir" in
1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 *)
1524   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1525   # A ".." for each directory in $ac_dir_suffix.
1526   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1527   case $ac_top_builddir_sub in
1528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530   esac ;;
1531 esac
1532 ac_abs_top_builddir=$ac_pwd
1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1534 # for backward compatibility:
1535 ac_top_builddir=$ac_top_build_prefix
1536
1537 case $srcdir in
1538   .)  # We are building in place.
1539     ac_srcdir=.
1540     ac_top_srcdir=$ac_top_builddir_sub
1541     ac_abs_top_srcdir=$ac_pwd ;;
1542   [\\/]* | ?:[\\/]* )  # Absolute name.
1543     ac_srcdir=$srcdir$ac_dir_suffix;
1544     ac_top_srcdir=$srcdir
1545     ac_abs_top_srcdir=$srcdir ;;
1546   *) # Relative name.
1547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548     ac_top_srcdir=$ac_top_build_prefix$srcdir
1549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 esac
1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552
1553     cd "$ac_dir" || { ac_status=$?; continue; }
1554     # Check for guested configure.
1555     if test -f "$ac_srcdir/configure.gnu"; then
1556       echo &&
1557       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558     elif test -f "$ac_srcdir/configure"; then
1559       echo &&
1560       $SHELL "$ac_srcdir/configure" --help=recursive
1561     else
1562       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563     fi || ac_status=$?
1564     cd "$ac_pwd" || { ac_status=$?; break; }
1565   done
1566 fi
1567
1568 test -n "$ac_init_help" && exit $ac_status
1569 if $ac_init_version; then
1570   cat <<\_ACEOF
1571 asdcplib configure 2.5.11
1572 generated by GNU Autoconf 2.69
1573
1574 Copyright (C) 2012 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1577 _ACEOF
1578   exit
1579 fi
1580
1581 ## ------------------------ ##
1582 ## Autoconf initialization. ##
1583 ## ------------------------ ##
1584
1585 # ac_fn_c_try_compile LINENO
1586 # --------------------------
1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_c_try_compile ()
1589 {
1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591   rm -f conftest.$ac_objext
1592   if { { ac_try="$ac_compile"
1593 case "(($ac_try" in
1594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595   *) ac_try_echo=$ac_try;;
1596 esac
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599   (eval "$ac_compile") 2>conftest.err
1600   ac_status=$?
1601   if test -s conftest.err; then
1602     grep -v '^ *+' conftest.err >conftest.er1
1603     cat conftest.er1 >&5
1604     mv -f conftest.er1 conftest.err
1605   fi
1606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607   test $ac_status = 0; } && {
1608          test -z "$ac_c_werror_flag" ||
1609          test ! -s conftest.err
1610        } && test -s conftest.$ac_objext; then :
1611   ac_retval=0
1612 else
1613   $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1615
1616         ac_retval=1
1617 fi
1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619   as_fn_set_status $ac_retval
1620
1621 } # ac_fn_c_try_compile
1622
1623 # ac_fn_cxx_try_compile LINENO
1624 # ----------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_cxx_try_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   rm -f conftest.$ac_objext
1630   if { { ac_try="$ac_compile"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_compile") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } && {
1646          test -z "$ac_cxx_werror_flag" ||
1647          test ! -s conftest.err
1648        } && test -s conftest.$ac_objext; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1658
1659 } # ac_fn_cxx_try_compile
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext conftest$ac_exeext
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest$ac_exeext && {
1687          test "$cross_compiling" = yes ||
1688          test -x conftest$ac_exeext
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695         ac_retval=1
1696 fi
1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699   # interfere with the next link command; also delete a directory that is
1700   # left behind by Apple's compiler.  We do this before executing the actions.
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_link
1706
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717   $as_echo_n "(cached) " >&6
1718 else
1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h.  */
1721 $4
1722 #include <$2>
1723 _ACEOF
1724 if ac_fn_c_try_compile "$LINENO"; then :
1725   eval "$3=yes"
1726 else
1727   eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 fi
1731 eval ac_res=\$$3
1732                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736 } # ac_fn_c_check_header_compile
1737
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 ac_fn_c_try_cpp ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   if { { ac_try="$ac_cpp conftest.$ac_ext"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752   ac_status=$?
1753   if test -s conftest.err; then
1754     grep -v '^ *+' conftest.err >conftest.er1
1755     cat conftest.er1 >&5
1756     mv -f conftest.er1 conftest.err
1757   fi
1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759   test $ac_status = 0; } > conftest.i && {
1760          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761          test ! -s conftest.err
1762        }; then :
1763   ac_retval=0
1764 else
1765   $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768     ac_retval=1
1769 fi
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771   as_fn_set_status $ac_retval
1772
1773 } # ac_fn_c_try_cpp
1774
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1779 ac_fn_c_try_run ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_link") 2>&5
1790   ac_status=$?
1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793   { { case "(($ac_try" in
1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795   *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799   (eval "$ac_try") 2>&5
1800   ac_status=$?
1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802   test $ac_status = 0; }; }; then :
1803   ac_retval=0
1804 else
1805   $as_echo "$as_me: program exited with status $ac_status" >&5
1806        $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809        ac_retval=$ac_status
1810 fi
1811   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813   as_fn_set_status $ac_retval
1814
1815 } # ac_fn_c_try_run
1816
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1821 {
1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826   $as_echo_n "(cached) " >&6
1827 else
1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h.  */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832 #define $2 innocuous_$2
1833
1834 /* System header to define __stub macros and hopefully few prototypes,
1835     which can conflict with char $2 (); below.
1836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837     <limits.h> exists even on freestanding compilers.  */
1838
1839 #ifdef __STDC__
1840 # include <limits.h>
1841 #else
1842 # include <assert.h>
1843 #endif
1844
1845 #undef $2
1846
1847 /* Override any GCC internal prototype to avoid an error.
1848    Use char because int might match the return type of a GCC
1849    builtin and then its argument prototype would still apply.  */
1850 #ifdef __cplusplus
1851 extern "C"
1852 #endif
1853 char $2 ();
1854 /* The GNU C library defines this for functions which it implements
1855     to always fail with ENOSYS.  Some functions are actually named
1856     something starting with __ and the normal name is an alias.  */
1857 #if defined __stub_$2 || defined __stub___$2
1858 choke me
1859 #endif
1860
1861 int
1862 main ()
1863 {
1864 return $2 ();
1865   ;
1866   return 0;
1867 }
1868 _ACEOF
1869 if ac_fn_c_try_link "$LINENO"; then :
1870   eval "$3=yes"
1871 else
1872   eval "$3=no"
1873 fi
1874 rm -f core conftest.err conftest.$ac_objext \
1875     conftest$ac_exeext conftest.$ac_ext
1876 fi
1877 eval ac_res=\$$3
1878                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882 } # ac_fn_c_check_func
1883
1884 # ac_fn_cxx_try_cpp LINENO
1885 # ------------------------
1886 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_cxx_try_cpp ()
1888 {
1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890   if { { ac_try="$ac_cpp conftest.$ac_ext"
1891 case "(($ac_try" in
1892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893   *) ac_try_echo=$ac_try;;
1894 esac
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1898   ac_status=$?
1899   if test -s conftest.err; then
1900     grep -v '^ *+' conftest.err >conftest.er1
1901     cat conftest.er1 >&5
1902     mv -f conftest.er1 conftest.err
1903   fi
1904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905   test $ac_status = 0; } > conftest.i && {
1906          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1907          test ! -s conftest.err
1908        }; then :
1909   ac_retval=0
1910 else
1911   $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1913
1914     ac_retval=1
1915 fi
1916   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917   as_fn_set_status $ac_retval
1918
1919 } # ac_fn_cxx_try_cpp
1920
1921 # ac_fn_cxx_try_link LINENO
1922 # -------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_cxx_try_link ()
1925 {
1926   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927   rm -f conftest.$ac_objext conftest$ac_exeext
1928   if { { ac_try="$ac_link"
1929 case "(($ac_try" in
1930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931   *) ac_try_echo=$ac_try;;
1932 esac
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935   (eval "$ac_link") 2>conftest.err
1936   ac_status=$?
1937   if test -s conftest.err; then
1938     grep -v '^ *+' conftest.err >conftest.er1
1939     cat conftest.er1 >&5
1940     mv -f conftest.er1 conftest.err
1941   fi
1942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943   test $ac_status = 0; } && {
1944          test -z "$ac_cxx_werror_flag" ||
1945          test ! -s conftest.err
1946        } && test -s conftest$ac_exeext && {
1947          test "$cross_compiling" = yes ||
1948          test -x conftest$ac_exeext
1949        }; then :
1950   ac_retval=0
1951 else
1952   $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1954
1955         ac_retval=1
1956 fi
1957   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959   # interfere with the next link command; also delete a directory that is
1960   # left behind by Apple's compiler.  We do this before executing the actions.
1961   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963   as_fn_set_status $ac_retval
1964
1965 } # ac_fn_cxx_try_link
1966 cat >config.log <<_ACEOF
1967 This file contains any messages produced by compilers while
1968 running configure, to aid debugging if configure makes a mistake.
1969
1970 It was created by asdcplib $as_me 2.5.11, which was
1971 generated by GNU Autoconf 2.69.  Invocation command line was
1972
1973   $ $0 $@
1974
1975 _ACEOF
1976 exec 5>>config.log
1977 {
1978 cat <<_ASUNAME
1979 ## --------- ##
1980 ## Platform. ##
1981 ## --------- ##
1982
1983 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1984 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1985 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1986 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1987 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1988
1989 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1990 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1991
1992 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1993 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1994 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1995 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1996 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1997 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1998 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1999
2000 _ASUNAME
2001
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003 for as_dir in $PATH
2004 do
2005   IFS=$as_save_IFS
2006   test -z "$as_dir" && as_dir=.
2007     $as_echo "PATH: $as_dir"
2008   done
2009 IFS=$as_save_IFS
2010
2011 } >&5
2012
2013 cat >&5 <<_ACEOF
2014
2015
2016 ## ----------- ##
2017 ## Core tests. ##
2018 ## ----------- ##
2019
2020 _ACEOF
2021
2022
2023 # Keep a trace of the command line.
2024 # Strip out --no-create and --no-recursion so they do not pile up.
2025 # Strip out --silent because we don't want to record it for future runs.
2026 # Also quote any args containing shell meta-characters.
2027 # Make two passes to allow for proper duplicate-argument suppression.
2028 ac_configure_args=
2029 ac_configure_args0=
2030 ac_configure_args1=
2031 ac_must_keep_next=false
2032 for ac_pass in 1 2
2033 do
2034   for ac_arg
2035   do
2036     case $ac_arg in
2037     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2038     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2039     | -silent | --silent | --silen | --sile | --sil)
2040       continue ;;
2041     *\'*)
2042       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2043     esac
2044     case $ac_pass in
2045     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2046     2)
2047       as_fn_append ac_configure_args1 " '$ac_arg'"
2048       if test $ac_must_keep_next = true; then
2049         ac_must_keep_next=false # Got value, back to normal.
2050       else
2051         case $ac_arg in
2052           *=* | --config-cache | -C | -disable-* | --disable-* \
2053           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2054           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2055           | -with-* | --with-* | -without-* | --without-* | --x)
2056             case "$ac_configure_args0 " in
2057               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2058             esac
2059             ;;
2060           -* ) ac_must_keep_next=true ;;
2061         esac
2062       fi
2063       as_fn_append ac_configure_args " '$ac_arg'"
2064       ;;
2065     esac
2066   done
2067 done
2068 { ac_configure_args0=; unset ac_configure_args0;}
2069 { ac_configure_args1=; unset ac_configure_args1;}
2070
2071 # When interrupted or exit'd, cleanup temporary files, and complete
2072 # config.log.  We remove comments because anyway the quotes in there
2073 # would cause problems or look ugly.
2074 # WARNING: Use '\'' to represent an apostrophe within the trap.
2075 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2076 trap 'exit_status=$?
2077   # Save into config.log some information that might help in debugging.
2078   {
2079     echo
2080
2081     $as_echo "## ---------------- ##
2082 ## Cache variables. ##
2083 ## ---------------- ##"
2084     echo
2085     # The following way of writing the cache mishandles newlines in values,
2086 (
2087   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2088     eval ac_val=\$$ac_var
2089     case $ac_val in #(
2090     *${as_nl}*)
2091       case $ac_var in #(
2092       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2094       esac
2095       case $ac_var in #(
2096       _ | IFS | as_nl) ;; #(
2097       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2098       *) { eval $ac_var=; unset $ac_var;} ;;
2099       esac ;;
2100     esac
2101   done
2102   (set) 2>&1 |
2103     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2104     *${as_nl}ac_space=\ *)
2105       sed -n \
2106         "s/'\''/'\''\\\\'\'''\''/g;
2107           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2108       ;; #(
2109     *)
2110       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2111       ;;
2112     esac |
2113     sort
2114 )
2115     echo
2116
2117     $as_echo "## ----------------- ##
2118 ## Output variables. ##
2119 ## ----------------- ##"
2120     echo
2121     for ac_var in $ac_subst_vars
2122     do
2123       eval ac_val=\$$ac_var
2124       case $ac_val in
2125       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2126       esac
2127       $as_echo "$ac_var='\''$ac_val'\''"
2128     done | sort
2129     echo
2130
2131     if test -n "$ac_subst_files"; then
2132       $as_echo "## ------------------- ##
2133 ## File substitutions. ##
2134 ## ------------------- ##"
2135       echo
2136       for ac_var in $ac_subst_files
2137       do
2138         eval ac_val=\$$ac_var
2139         case $ac_val in
2140         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141         esac
2142         $as_echo "$ac_var='\''$ac_val'\''"
2143       done | sort
2144       echo
2145     fi
2146
2147     if test -s confdefs.h; then
2148       $as_echo "## ----------- ##
2149 ## confdefs.h. ##
2150 ## ----------- ##"
2151       echo
2152       cat confdefs.h
2153       echo
2154     fi
2155     test "$ac_signal" != 0 &&
2156       $as_echo "$as_me: caught signal $ac_signal"
2157     $as_echo "$as_me: exit $exit_status"
2158   } >&5
2159   rm -f core *.core core.conftest.* &&
2160     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2161     exit $exit_status
2162 ' 0
2163 for ac_signal in 1 2 13 15; do
2164   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2165 done
2166 ac_signal=0
2167
2168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2169 rm -f -r conftest* confdefs.h
2170
2171 $as_echo "/* confdefs.h */" > confdefs.h
2172
2173 # Predefined preprocessor variables.
2174
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_NAME "$PACKAGE_NAME"
2177 _ACEOF
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2181 _ACEOF
2182
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2185 _ACEOF
2186
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_STRING "$PACKAGE_STRING"
2189 _ACEOF
2190
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2193 _ACEOF
2194
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_URL "$PACKAGE_URL"
2197 _ACEOF
2198
2199
2200 # Let the site file select an alternate cache file if it wants to.
2201 # Prefer an explicitly selected file to automatically selected ones.
2202 ac_site_file1=NONE
2203 ac_site_file2=NONE
2204 if test -n "$CONFIG_SITE"; then
2205   # We do not want a PATH search for config.site.
2206   case $CONFIG_SITE in #((
2207     -*)  ac_site_file1=./$CONFIG_SITE;;
2208     */*) ac_site_file1=$CONFIG_SITE;;
2209     *)   ac_site_file1=./$CONFIG_SITE;;
2210   esac
2211 elif test "x$prefix" != xNONE; then
2212   ac_site_file1=$prefix/share/config.site
2213   ac_site_file2=$prefix/etc/config.site
2214 else
2215   ac_site_file1=$ac_default_prefix/share/config.site
2216   ac_site_file2=$ac_default_prefix/etc/config.site
2217 fi
2218 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2219 do
2220   test "x$ac_site_file" = xNONE && continue
2221   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224     sed 's/^/| /' "$ac_site_file" >&5
2225     . "$ac_site_file" \
2226       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228 as_fn_error $? "failed to load site script $ac_site_file
2229 See \`config.log' for more details" "$LINENO" 5; }
2230   fi
2231 done
2232
2233 if test -r "$cache_file"; then
2234   # Some versions of bash will fail to source /dev/null (special files
2235   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2236   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2237     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2238 $as_echo "$as_me: loading cache $cache_file" >&6;}
2239     case $cache_file in
2240       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2241       *)                      . "./$cache_file";;
2242     esac
2243   fi
2244 else
2245   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2246 $as_echo "$as_me: creating cache $cache_file" >&6;}
2247   >$cache_file
2248 fi
2249
2250 # Check that the precious variables saved in the cache have kept the same
2251 # value.
2252 ac_cache_corrupted=false
2253 for ac_var in $ac_precious_vars; do
2254   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2255   eval ac_new_set=\$ac_env_${ac_var}_set
2256   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2257   eval ac_new_val=\$ac_env_${ac_var}_value
2258   case $ac_old_set,$ac_new_set in
2259     set,)
2260       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2261 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2262       ac_cache_corrupted=: ;;
2263     ,set)
2264       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2266       ac_cache_corrupted=: ;;
2267     ,);;
2268     *)
2269       if test "x$ac_old_val" != "x$ac_new_val"; then
2270         # differences in whitespace do not lead to failure.
2271         ac_old_val_w=`echo x $ac_old_val`
2272         ac_new_val_w=`echo x $ac_new_val`
2273         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2274           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2275 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2276           ac_cache_corrupted=:
2277         else
2278           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2279 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2280           eval $ac_var=\$ac_old_val
2281         fi
2282         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2283 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2284         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2285 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2286       fi;;
2287   esac
2288   # Pass precious variables to config.status.
2289   if test "$ac_new_set" = set; then
2290     case $ac_new_val in
2291     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2292     *) ac_arg=$ac_var=$ac_new_val ;;
2293     esac
2294     case " $ac_configure_args " in
2295       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2296       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2297     esac
2298   fi
2299 done
2300 if $ac_cache_corrupted; then
2301   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2304 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2305   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2306 fi
2307 ## -------------------- ##
2308 ## Main body of script. ##
2309 ## -------------------- ##
2310
2311 ac_ext=c
2312 ac_cpp='$CPP $CPPFLAGS'
2313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2316
2317
2318
2319 ac_aux_dir=
2320 for ac_dir in build-aux "$srcdir"/build-aux; do
2321   if test -f "$ac_dir/install-sh"; then
2322     ac_aux_dir=$ac_dir
2323     ac_install_sh="$ac_aux_dir/install-sh -c"
2324     break
2325   elif test -f "$ac_dir/install.sh"; then
2326     ac_aux_dir=$ac_dir
2327     ac_install_sh="$ac_aux_dir/install.sh -c"
2328     break
2329   elif test -f "$ac_dir/shtool"; then
2330     ac_aux_dir=$ac_dir
2331     ac_install_sh="$ac_aux_dir/shtool install -c"
2332     break
2333   fi
2334 done
2335 if test -z "$ac_aux_dir"; then
2336   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2337 fi
2338
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2345 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2346
2347
2348
2349 #AC_CONFIG_HEADER([src/config.h])
2350 am__api_version='1.15'
2351
2352 # Find a good install program.  We prefer a C program (faster),
2353 # so one script is as good as another.  But avoid the broken or
2354 # incompatible versions:
2355 # SysV /etc/install, /usr/sbin/install
2356 # SunOS /usr/etc/install
2357 # IRIX /sbin/install
2358 # AIX /bin/install
2359 # AmigaOS /C/install, which installs bootblocks on floppy discs
2360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2363 # OS/2's system install, which has a completely different semantic
2364 # ./install, which can be erroneously created by make from ./install.sh.
2365 # Reject install programs that cannot install multiple files.
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2367 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2368 if test -z "$INSTALL"; then
2369 if ${ac_cv_path_install+:} false; then :
2370   $as_echo_n "(cached) " >&6
2371 else
2372   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 for as_dir in $PATH
2374 do
2375   IFS=$as_save_IFS
2376   test -z "$as_dir" && as_dir=.
2377     # Account for people who put trailing slashes in PATH elements.
2378 case $as_dir/ in #((
2379   ./ | .// | /[cC]/* | \
2380   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2381   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2382   /usr/ucb/* ) ;;
2383   *)
2384     # OSF1 and SCO ODT 3.0 have their own names for install.
2385     # Don't use installbsd from OSF since it installs stuff as root
2386     # by default.
2387     for ac_prog in ginstall scoinst install; do
2388       for ac_exec_ext in '' $ac_executable_extensions; do
2389         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2390           if test $ac_prog = install &&
2391             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2392             # AIX install.  It has an incompatible calling convention.
2393             :
2394           elif test $ac_prog = install &&
2395             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2396             # program-specific install script used by HP pwplus--don't use.
2397             :
2398           else
2399             rm -rf conftest.one conftest.two conftest.dir
2400             echo one > conftest.one
2401             echo two > conftest.two
2402             mkdir conftest.dir
2403             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2404               test -s conftest.one && test -s conftest.two &&
2405               test -s conftest.dir/conftest.one &&
2406               test -s conftest.dir/conftest.two
2407             then
2408               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2409               break 3
2410             fi
2411           fi
2412         fi
2413       done
2414     done
2415     ;;
2416 esac
2417
2418   done
2419 IFS=$as_save_IFS
2420
2421 rm -rf conftest.one conftest.two conftest.dir
2422
2423 fi
2424   if test "${ac_cv_path_install+set}" = set; then
2425     INSTALL=$ac_cv_path_install
2426   else
2427     # As a last resort, use the slow shell script.  Don't cache a
2428     # value for INSTALL within a source directory, because that will
2429     # break other packages using the cache if that directory is
2430     # removed, or if the value is a relative name.
2431     INSTALL=$ac_install_sh
2432   fi
2433 fi
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2435 $as_echo "$INSTALL" >&6; }
2436
2437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2438 # It thinks the first close brace ends the variable substitution.
2439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2440
2441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2442
2443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2444
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2446 $as_echo_n "checking whether build environment is sane... " >&6; }
2447 # Reject unsafe characters in $srcdir or the absolute working directory
2448 # name.  Accept space and tab only in the latter.
2449 am_lf='
2450 '
2451 case `pwd` in
2452   *[\\\"\#\$\&\'\`$am_lf]*)
2453     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2454 esac
2455 case $srcdir in
2456   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2457     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2458 esac
2459
2460 # Do 'set' in a subshell so we don't clobber the current shell's
2461 # arguments.  Must try -L first in case configure is actually a
2462 # symlink; some systems play weird games with the mod time of symlinks
2463 # (eg FreeBSD returns the mod time of the symlink's containing
2464 # directory).
2465 if (
2466    am_has_slept=no
2467    for am_try in 1 2; do
2468      echo "timestamp, slept: $am_has_slept" > conftest.file
2469      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2470      if test "$*" = "X"; then
2471         # -L didn't work.
2472         set X `ls -t "$srcdir/configure" conftest.file`
2473      fi
2474      if test "$*" != "X $srcdir/configure conftest.file" \
2475         && test "$*" != "X conftest.file $srcdir/configure"; then
2476
2477         # If neither matched, then we have a broken ls.  This can happen
2478         # if, for instance, CONFIG_SHELL is bash and it inherits a
2479         # broken ls alias from the environment.  This has actually
2480         # happened.  Such a system could not be considered "sane".
2481         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2482   alias in your environment" "$LINENO" 5
2483      fi
2484      if test "$2" = conftest.file || test $am_try -eq 2; then
2485        break
2486      fi
2487      # Just in case.
2488      sleep 1
2489      am_has_slept=yes
2490    done
2491    test "$2" = conftest.file
2492    )
2493 then
2494    # Ok.
2495    :
2496 else
2497    as_fn_error $? "newly created file is older than distributed files!
2498 Check your system clock" "$LINENO" 5
2499 fi
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2502 # If we didn't sleep, we still need to ensure time stamps of config.status and
2503 # generated files are strictly newer.
2504 am_sleep_pid=
2505 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2506   ( sleep 1 ) &
2507   am_sleep_pid=$!
2508 fi
2509
2510 rm -f conftest.file
2511
2512 test "$program_prefix" != NONE &&
2513   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2514 # Use a double $ so make ignores it.
2515 test "$program_suffix" != NONE &&
2516   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2517 # Double any \ or $.
2518 # By default was `s,x,x', remove it if useless.
2519 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2520 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2521
2522 # Expand $ac_aux_dir to an absolute path.
2523 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2524
2525 if test x"${MISSING+set}" != xset; then
2526   case $am_aux_dir in
2527   *\ * | *\     *)
2528     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2529   *)
2530     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2531   esac
2532 fi
2533 # Use eval to expand $SHELL
2534 if eval "$MISSING --is-lightweight"; then
2535   am_missing_run="$MISSING "
2536 else
2537   am_missing_run=
2538   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2539 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2540 fi
2541
2542 if test x"${install_sh+set}" != xset; then
2543   case $am_aux_dir in
2544   *\ * | *\     *)
2545     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2546   *)
2547     install_sh="\${SHELL} $am_aux_dir/install-sh"
2548   esac
2549 fi
2550
2551 # Installed binaries are usually stripped using 'strip' when the user
2552 # run "make install-strip".  However 'strip' might not be the right
2553 # tool to use in cross-compilation environments, therefore Automake
2554 # will honor the 'STRIP' environment variable to overrule this program.
2555 if test "$cross_compiling" != no; then
2556   if test -n "$ac_tool_prefix"; then
2557   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2558 set dummy ${ac_tool_prefix}strip; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_STRIP+:} false; then :
2562   $as_echo_n "(cached) " >&6
2563 else
2564   if test -n "$STRIP"; then
2565   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2569 do
2570   IFS=$as_save_IFS
2571   test -z "$as_dir" && as_dir=.
2572     for ac_exec_ext in '' $ac_executable_extensions; do
2573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576     break 2
2577   fi
2578 done
2579   done
2580 IFS=$as_save_IFS
2581
2582 fi
2583 fi
2584 STRIP=$ac_cv_prog_STRIP
2585 if test -n "$STRIP"; then
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2587 $as_echo "$STRIP" >&6; }
2588 else
2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2591 fi
2592
2593
2594 fi
2595 if test -z "$ac_cv_prog_STRIP"; then
2596   ac_ct_STRIP=$STRIP
2597   # Extract the first word of "strip", so it can be a program name with args.
2598 set dummy strip; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2602   $as_echo_n "(cached) " >&6
2603 else
2604   if test -n "$ac_ct_STRIP"; then
2605   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2606 else
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612     for ac_exec_ext in '' $ac_executable_extensions; do
2613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614     ac_cv_prog_ac_ct_STRIP="strip"
2615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616     break 2
2617   fi
2618 done
2619   done
2620 IFS=$as_save_IFS
2621
2622 fi
2623 fi
2624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2625 if test -n "$ac_ct_STRIP"; then
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2627 $as_echo "$ac_ct_STRIP" >&6; }
2628 else
2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2631 fi
2632
2633   if test "x$ac_ct_STRIP" = x; then
2634     STRIP=":"
2635   else
2636     case $cross_compiling:$ac_tool_warned in
2637 yes:)
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640 ac_tool_warned=yes ;;
2641 esac
2642     STRIP=$ac_ct_STRIP
2643   fi
2644 else
2645   STRIP="$ac_cv_prog_STRIP"
2646 fi
2647
2648 fi
2649 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2650
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2652 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2653 if test -z "$MKDIR_P"; then
2654   if ${ac_cv_path_mkdir+:} false; then :
2655   $as_echo_n "(cached) " >&6
2656 else
2657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2659 do
2660   IFS=$as_save_IFS
2661   test -z "$as_dir" && as_dir=.
2662     for ac_prog in mkdir gmkdir; do
2663          for ac_exec_ext in '' $ac_executable_extensions; do
2664            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2665            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2666              'mkdir (GNU coreutils) '* | \
2667              'mkdir (coreutils) '* | \
2668              'mkdir (fileutils) '4.1*)
2669                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2670                break 3;;
2671            esac
2672          done
2673        done
2674   done
2675 IFS=$as_save_IFS
2676
2677 fi
2678
2679   test -d ./--version && rmdir ./--version
2680   if test "${ac_cv_path_mkdir+set}" = set; then
2681     MKDIR_P="$ac_cv_path_mkdir -p"
2682   else
2683     # As a last resort, use the slow shell script.  Don't cache a
2684     # value for MKDIR_P within a source directory, because that will
2685     # break other packages using the cache if that directory is
2686     # removed, or if the value is a relative name.
2687     MKDIR_P="$ac_install_sh -d"
2688   fi
2689 fi
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2691 $as_echo "$MKDIR_P" >&6; }
2692
2693 for ac_prog in gawk mawk nawk awk
2694 do
2695   # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy $ac_prog; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_AWK+:} false; then :
2700   $as_echo_n "(cached) " >&6
2701 else
2702   if test -n "$AWK"; then
2703   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2704 else
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 for as_dir in $PATH
2707 do
2708   IFS=$as_save_IFS
2709   test -z "$as_dir" && as_dir=.
2710     for ac_exec_ext in '' $ac_executable_extensions; do
2711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712     ac_cv_prog_AWK="$ac_prog"
2713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714     break 2
2715   fi
2716 done
2717   done
2718 IFS=$as_save_IFS
2719
2720 fi
2721 fi
2722 AWK=$ac_cv_prog_AWK
2723 if test -n "$AWK"; then
2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2725 $as_echo "$AWK" >&6; }
2726 else
2727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2729 fi
2730
2731
2732   test -n "$AWK" && break
2733 done
2734
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2736 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2737 set x ${MAKE-make}
2738 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2739 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2740   $as_echo_n "(cached) " >&6
2741 else
2742   cat >conftest.make <<\_ACEOF
2743 SHELL = /bin/sh
2744 all:
2745         @echo '@@@%%%=$(MAKE)=@@@%%%'
2746 _ACEOF
2747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2749   *@@@%%%=?*=@@@%%%*)
2750     eval ac_cv_prog_make_${ac_make}_set=yes;;
2751   *)
2752     eval ac_cv_prog_make_${ac_make}_set=no;;
2753 esac
2754 rm -f conftest.make
2755 fi
2756 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2758 $as_echo "yes" >&6; }
2759   SET_MAKE=
2760 else
2761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2763   SET_MAKE="MAKE=${MAKE-make}"
2764 fi
2765
2766 rm -rf .tst 2>/dev/null
2767 mkdir .tst 2>/dev/null
2768 if test -d .tst; then
2769   am__leading_dot=.
2770 else
2771   am__leading_dot=_
2772 fi
2773 rmdir .tst 2>/dev/null
2774
2775 # Check whether --enable-silent-rules was given.
2776 if test "${enable_silent_rules+set}" = set; then :
2777   enableval=$enable_silent_rules;
2778 fi
2779
2780 case $enable_silent_rules in # (((
2781   yes) AM_DEFAULT_VERBOSITY=0;;
2782    no) AM_DEFAULT_VERBOSITY=1;;
2783     *) AM_DEFAULT_VERBOSITY=1;;
2784 esac
2785 am_make=${MAKE-make}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2787 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2788 if ${am_cv_make_support_nested_variables+:} false; then :
2789   $as_echo_n "(cached) " >&6
2790 else
2791   if $as_echo 'TRUE=$(BAR$(V))
2792 BAR0=false
2793 BAR1=true
2794 V=1
2795 am__doit:
2796         @$(TRUE)
2797 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2798   am_cv_make_support_nested_variables=yes
2799 else
2800   am_cv_make_support_nested_variables=no
2801 fi
2802 fi
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2804 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2805 if test $am_cv_make_support_nested_variables = yes; then
2806     AM_V='$(V)'
2807   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2808 else
2809   AM_V=$AM_DEFAULT_VERBOSITY
2810   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2811 fi
2812 AM_BACKSLASH='\'
2813
2814 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2815   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2816   # is not polluted with repeated "-I."
2817   am__isrc=' -I$(srcdir)'
2818   # test to see if srcdir already configured
2819   if test -f $srcdir/config.status; then
2820     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2821   fi
2822 fi
2823
2824 # test whether we have cygpath
2825 if test -z "$CYGPATH_W"; then
2826   if (cygpath --version) >/dev/null 2>/dev/null; then
2827     CYGPATH_W='cygpath -w'
2828   else
2829     CYGPATH_W=echo
2830   fi
2831 fi
2832
2833
2834 # Define the identity of the package.
2835  PACKAGE='asdcplib'
2836  VERSION='2.5.11'
2837
2838
2839 cat >>confdefs.h <<_ACEOF
2840 #define PACKAGE "$PACKAGE"
2841 _ACEOF
2842
2843
2844 cat >>confdefs.h <<_ACEOF
2845 #define VERSION "$VERSION"
2846 _ACEOF
2847
2848 # Some tools Automake needs.
2849
2850 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2851
2852
2853 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2854
2855
2856 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2857
2858
2859 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2860
2861
2862 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2863
2864 # For better backward compatibility.  To be removed once Automake 1.9.x
2865 # dies out for good.  For more background, see:
2866 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2867 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2868 mkdir_p='$(MKDIR_P)'
2869
2870 # We need awk for the "check" target (and possibly the TAP driver).  The
2871 # system "awk" is bad on some platforms.
2872 # Always define AMTAR for backward compatibility.  Yes, it's still used
2873 # in the wild :-(  We should find a proper way to deprecate it ...
2874 AMTAR='$${TAR-tar}'
2875
2876
2877 # We'll loop over all known methods to create a tar archive until one works.
2878 _am_tools='gnutar  pax cpio none'
2879
2880 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2881
2882
2883
2884
2885
2886
2887 # POSIX will say in a future version that running "rm -f" with no argument
2888 # is OK; and we want to be able to make that assumption in our Makefile
2889 # recipes.  So use an aggressive probe to check that the usage we want is
2890 # actually supported "in the wild" to an acceptable degree.
2891 # See automake bug#10828.
2892 # To make any issue more visible, cause the running configure to be aborted
2893 # by default if the 'rm' program in use doesn't match our expectations; the
2894 # user can still override this though.
2895 if rm -f && rm -fr && rm -rf; then : OK; else
2896   cat >&2 <<'END'
2897 Oops!
2898
2899 Your 'rm' program seems unable to run without file operands specified
2900 on the command line, even when the '-f' option is present.  This is contrary
2901 to the behaviour of most rm programs out there, and not conforming with
2902 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2903
2904 Please tell bug-automake@gnu.org about your system, including the value
2905 of your $PATH and any error possibly output before this message.  This
2906 can help us improve future automake versions.
2907
2908 END
2909   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2910     echo 'Configuration will proceed anyway, since you have set the' >&2
2911     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2912     echo >&2
2913   else
2914     cat >&2 <<'END'
2915 Aborting the configuration process, to ensure you take notice of the issue.
2916
2917 You can download and install GNU coreutils to get an 'rm' implementation
2918 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2919
2920 If you want to complete the configuration process using your problematic
2921 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2922 to "yes", and re-run configure.
2923
2924 END
2925     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2926   fi
2927 fi
2928
2929
2930
2931
2932 # Checks for programs.
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if ${ac_cv_build+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2949
2950 fi
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2954 *-*-*) ;;
2955 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2956 esac
2957 build=$ac_cv_build
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_build
2960 shift
2961 build_cpu=$1
2962 build_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 build_os=$*
2967 IFS=$ac_save_IFS
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2969
2970
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if ${ac_cv_host+:} false; then :
2974   $as_echo_n "(cached) " >&6
2975 else
2976   if test "x$host_alias" = x; then
2977   ac_cv_host=$ac_cv_build
2978 else
2979   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2981 fi
2982
2983 fi
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2986 case $ac_cv_host in
2987 *-*-*) ;;
2988 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2989 esac
2990 host=$ac_cv_host
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_host
2993 shift
2994 host_cpu=$1
2995 host_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 host_os=$*
3000 IFS=$ac_save_IFS
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3002
3003
3004 case $host_os in
3005        openbsd*) openbsd_host=true ;;
3006        *)        openbsd_host=false ;;
3007 esac
3008  if test x$openbsd_host = xtrue; then
3009   OPENBSD_HOST_TRUE=
3010   OPENBSD_HOST_FALSE='#'
3011 else
3012   OPENBSD_HOST_TRUE='#'
3013   OPENBSD_HOST_FALSE=
3014 fi
3015
3016 ac_ext=c
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021 if test -n "$ac_tool_prefix"; then
3022   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027   $as_echo_n "(cached) " >&6
3028 else
3029   if test -n "$CC"; then
3030   ac_cv_prog_CC="$CC" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035   IFS=$as_save_IFS
3036   test -z "$as_dir" && as_dir=.
3037     for ac_exec_ext in '' $ac_executable_extensions; do
3038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041     break 2
3042   fi
3043 done
3044   done
3045 IFS=$as_save_IFS
3046
3047 fi
3048 fi
3049 CC=$ac_cv_prog_CC
3050 if test -n "$CC"; then
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3053 else
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3056 fi
3057
3058
3059 fi
3060 if test -z "$ac_cv_prog_CC"; then
3061   ac_ct_CC=$CC
3062   # Extract the first word of "gcc", so it can be a program name with args.
3063 set dummy gcc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3067   $as_echo_n "(cached) " >&6
3068 else
3069   if test -n "$ac_ct_CC"; then
3070   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3074 do
3075   IFS=$as_save_IFS
3076   test -z "$as_dir" && as_dir=.
3077     for ac_exec_ext in '' $ac_executable_extensions; do
3078   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079     ac_cv_prog_ac_ct_CC="gcc"
3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081     break 2
3082   fi
3083 done
3084   done
3085 IFS=$as_save_IFS
3086
3087 fi
3088 fi
3089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3090 if test -n "$ac_ct_CC"; then
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3092 $as_echo "$ac_ct_CC" >&6; }
3093 else
3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 fi
3097
3098   if test "x$ac_ct_CC" = x; then
3099     CC=""
3100   else
3101     case $cross_compiling:$ac_tool_warned in
3102 yes:)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3106 esac
3107     CC=$ac_ct_CC
3108   fi
3109 else
3110   CC="$ac_cv_prog_CC"
3111 fi
3112
3113 if test -z "$CC"; then
3114           if test -n "$ac_tool_prefix"; then
3115     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}cc; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_CC+:} false; then :
3120   $as_echo_n "(cached) " >&6
3121 else
3122   if test -n "$CC"; then
3123   ac_cv_prog_CC="$CC" # Let the user override the test.
3124 else
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 for as_dir in $PATH
3127 do
3128   IFS=$as_save_IFS
3129   test -z "$as_dir" && as_dir=.
3130     for ac_exec_ext in '' $ac_executable_extensions; do
3131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132     ac_cv_prog_CC="${ac_tool_prefix}cc"
3133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3134     break 2
3135   fi
3136 done
3137   done
3138 IFS=$as_save_IFS
3139
3140 fi
3141 fi
3142 CC=$ac_cv_prog_CC
3143 if test -n "$CC"; then
3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3146 else
3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3149 fi
3150
3151
3152   fi
3153 fi
3154 if test -z "$CC"; then
3155   # Extract the first word of "cc", so it can be a program name with args.
3156 set dummy cc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160   $as_echo_n "(cached) " >&6
3161 else
3162   if test -n "$CC"; then
3163   ac_cv_prog_CC="$CC" # Let the user override the test.
3164 else
3165   ac_prog_rejected=no
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 for as_dir in $PATH
3168 do
3169   IFS=$as_save_IFS
3170   test -z "$as_dir" && as_dir=.
3171     for ac_exec_ext in '' $ac_executable_extensions; do
3172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3174        ac_prog_rejected=yes
3175        continue
3176      fi
3177     ac_cv_prog_CC="cc"
3178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179     break 2
3180   fi
3181 done
3182   done
3183 IFS=$as_save_IFS
3184
3185 if test $ac_prog_rejected = yes; then
3186   # We found a bogon in the path, so make sure we never use it.
3187   set dummy $ac_cv_prog_CC
3188   shift
3189   if test $# != 0; then
3190     # We chose a different compiler from the bogus one.
3191     # However, it has the same basename, so the bogon will be chosen
3192     # first if we set CC to just the basename; use the full file name.
3193     shift
3194     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3195   fi
3196 fi
3197 fi
3198 fi
3199 CC=$ac_cv_prog_CC
3200 if test -n "$CC"; then
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3203 else
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 fi
3207
3208
3209 fi
3210 if test -z "$CC"; then
3211   if test -n "$ac_tool_prefix"; then
3212   for ac_prog in cl.exe
3213   do
3214     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_CC+:} false; then :
3219   $as_echo_n "(cached) " >&6
3220 else
3221   if test -n "$CC"; then
3222   ac_cv_prog_CC="$CC" # Let the user override the test.
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH
3226 do
3227   IFS=$as_save_IFS
3228   test -z "$as_dir" && as_dir=.
3229     for ac_exec_ext in '' $ac_executable_extensions; do
3230   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233     break 2
3234   fi
3235 done
3236   done
3237 IFS=$as_save_IFS
3238
3239 fi
3240 fi
3241 CC=$ac_cv_prog_CC
3242 if test -n "$CC"; then
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3245 else
3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 fi
3249
3250
3251     test -n "$CC" && break
3252   done
3253 fi
3254 if test -z "$CC"; then
3255   ac_ct_CC=$CC
3256   for ac_prog in cl.exe
3257 do
3258   # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265   if test -n "$ac_ct_CC"; then
3266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3267 else
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3269 for as_dir in $PATH
3270 do
3271   IFS=$as_save_IFS
3272   test -z "$as_dir" && as_dir=.
3273     for ac_exec_ext in '' $ac_executable_extensions; do
3274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275     ac_cv_prog_ac_ct_CC="$ac_prog"
3276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277     break 2
3278   fi
3279 done
3280   done
3281 IFS=$as_save_IFS
3282
3283 fi
3284 fi
3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3286 if test -n "$ac_ct_CC"; then
3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3288 $as_echo "$ac_ct_CC" >&6; }
3289 else
3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3292 fi
3293
3294
3295   test -n "$ac_ct_CC" && break
3296 done
3297
3298   if test "x$ac_ct_CC" = x; then
3299     CC=""
3300   else
3301     case $cross_compiling:$ac_tool_warned in
3302 yes:)
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307     CC=$ac_ct_CC
3308   fi
3309 fi
3310
3311 fi
3312
3313
3314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error $? "no acceptable C compiler found in \$PATH
3317 See \`config.log' for more details" "$LINENO" 5; }
3318
3319 # Provide some information about the compiler.
3320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3321 set X $ac_compile
3322 ac_compiler=$2
3323 for ac_option in --version -v -V -qversion; do
3324   { { ac_try="$ac_compiler $ac_option >&5"
3325 case "(($ac_try" in
3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327   *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3332   ac_status=$?
3333   if test -s conftest.err; then
3334     sed '10a\
3335 ... rest of stderr output deleted ...
3336          10q' conftest.err >conftest.er1
3337     cat conftest.er1 >&5
3338   fi
3339   rm -f conftest.er1 conftest.err
3340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341   test $ac_status = 0; }
3342 done
3343
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h.  */
3346
3347 int
3348 main ()
3349 {
3350
3351   ;
3352   return 0;
3353 }
3354 _ACEOF
3355 ac_clean_files_save=$ac_clean_files
3356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3357 # Try to create an executable without -o first, disregard a.out.
3358 # It will help us diagnose broken compilers, and finding out an intuition
3359 # of exeext.
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3361 $as_echo_n "checking whether the C compiler works... " >&6; }
3362 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3363
3364 # The possible output files:
3365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3366
3367 ac_rmfiles=
3368 for ac_file in $ac_files
3369 do
3370   case $ac_file in
3371     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3372     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3373   esac
3374 done
3375 rm -f $ac_rmfiles
3376
3377 if { { ac_try="$ac_link_default"
3378 case "(($ac_try" in
3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380   *) ac_try_echo=$ac_try;;
3381 esac
3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384   (eval "$ac_link_default") 2>&5
3385   ac_status=$?
3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387   test $ac_status = 0; }; then :
3388   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3390 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3391 # so that the user can short-circuit this test for compilers unknown to
3392 # Autoconf.
3393 for ac_file in $ac_files ''
3394 do
3395   test -f "$ac_file" || continue
3396   case $ac_file in
3397     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3398         ;;
3399     [ab].out )
3400         # We found the default executable, but exeext='' is most
3401         # certainly right.
3402         break;;
3403     *.* )
3404         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3405         then :; else
3406            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3407         fi
3408         # We set ac_cv_exeext here because the later test for it is not
3409         # safe: cross compilers may not add the suffix if given an `-o'
3410         # argument, so we may need to know it at that point already.
3411         # Even if this section looks crufty: it has the advantage of
3412         # actually working.
3413         break;;
3414     * )
3415         break;;
3416   esac
3417 done
3418 test "$ac_cv_exeext" = no && ac_cv_exeext=
3419
3420 else
3421   ac_file=''
3422 fi
3423 if test -z "$ac_file"; then :
3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3428
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error 77 "C compiler cannot create executables
3432 See \`config.log' for more details" "$LINENO" 5; }
3433 else
3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3435 $as_echo "yes" >&6; }
3436 fi
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3438 $as_echo_n "checking for C compiler default output file name... " >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3440 $as_echo "$ac_file" >&6; }
3441 ac_exeext=$ac_cv_exeext
3442
3443 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3444 ac_clean_files=$ac_clean_files_save
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3446 $as_echo_n "checking for suffix of executables... " >&6; }
3447 if { { ac_try="$ac_link"
3448 case "(($ac_try" in
3449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450   *) ac_try_echo=$ac_try;;
3451 esac
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454   (eval "$ac_link") 2>&5
3455   ac_status=$?
3456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457   test $ac_status = 0; }; then :
3458   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3459 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3460 # work properly (i.e., refer to `conftest.exe'), while it won't with
3461 # `rm'.
3462 for ac_file in conftest.exe conftest conftest.*; do
3463   test -f "$ac_file" || continue
3464   case $ac_file in
3465     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3466     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3467           break;;
3468     * ) break;;
3469   esac
3470 done
3471 else
3472   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3475 See \`config.log' for more details" "$LINENO" 5; }
3476 fi
3477 rm -f conftest conftest$ac_cv_exeext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3479 $as_echo "$ac_cv_exeext" >&6; }
3480
3481 rm -f conftest.$ac_ext
3482 EXEEXT=$ac_cv_exeext
3483 ac_exeext=$EXEEXT
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h.  */
3486 #include <stdio.h>
3487 int
3488 main ()
3489 {
3490 FILE *f = fopen ("conftest.out", "w");
3491  return ferror (f) || fclose (f) != 0;
3492
3493   ;
3494   return 0;
3495 }
3496 _ACEOF
3497 ac_clean_files="$ac_clean_files conftest.out"
3498 # Check that the compiler produces executables we can run.  If not, either
3499 # the compiler is broken, or we cross compile.
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3501 $as_echo_n "checking whether we are cross compiling... " >&6; }
3502 if test "$cross_compiling" != yes; then
3503   { { ac_try="$ac_link"
3504 case "(($ac_try" in
3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506   *) ac_try_echo=$ac_try;;
3507 esac
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510   (eval "$ac_link") 2>&5
3511   ac_status=$?
3512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513   test $ac_status = 0; }
3514   if { ac_try='./conftest$ac_cv_exeext'
3515   { { case "(($ac_try" in
3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517   *) ac_try_echo=$ac_try;;
3518 esac
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521   (eval "$ac_try") 2>&5
3522   ac_status=$?
3523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524   test $ac_status = 0; }; }; then
3525     cross_compiling=no
3526   else
3527     if test "$cross_compiling" = maybe; then
3528         cross_compiling=yes
3529     else
3530         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error $? "cannot run C compiled programs.
3533 If you meant to cross compile, use \`--host'.
3534 See \`config.log' for more details" "$LINENO" 5; }
3535     fi
3536   fi
3537 fi
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3539 $as_echo "$cross_compiling" >&6; }
3540
3541 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3542 ac_clean_files=$ac_clean_files_save
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3544 $as_echo_n "checking for suffix of object files... " >&6; }
3545 if ${ac_cv_objext+:} false; then :
3546   $as_echo_n "(cached) " >&6
3547 else
3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h.  */
3550
3551 int
3552 main ()
3553 {
3554
3555   ;
3556   return 0;
3557 }
3558 _ACEOF
3559 rm -f conftest.o conftest.obj
3560 if { { ac_try="$ac_compile"
3561 case "(($ac_try" in
3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563   *) ac_try_echo=$ac_try;;
3564 esac
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567   (eval "$ac_compile") 2>&5
3568   ac_status=$?
3569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570   test $ac_status = 0; }; then :
3571   for ac_file in conftest.o conftest.obj conftest.*; do
3572   test -f "$ac_file" || continue;
3573   case $ac_file in
3574     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3575     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3576        break;;
3577   esac
3578 done
3579 else
3580   $as_echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.$ac_ext >&5
3582
3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 as_fn_error $? "cannot compute suffix of object files: cannot compile
3586 See \`config.log' for more details" "$LINENO" 5; }
3587 fi
3588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3589 fi
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3591 $as_echo "$ac_cv_objext" >&6; }
3592 OBJEXT=$ac_cv_objext
3593 ac_objext=$OBJEXT
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3595 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3596 if ${ac_cv_c_compiler_gnu+:} false; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h.  */
3601
3602 int
3603 main ()
3604 {
3605 #ifndef __GNUC__
3606        choke me
3607 #endif
3608
3609   ;
3610   return 0;
3611 }
3612 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614   ac_compiler_gnu=yes
3615 else
3616   ac_compiler_gnu=no
3617 fi
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3620
3621 fi
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3623 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3624 if test $ac_compiler_gnu = yes; then
3625   GCC=yes
3626 else
3627   GCC=
3628 fi
3629 ac_test_CFLAGS=${CFLAGS+set}
3630 ac_save_CFLAGS=$CFLAGS
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3632 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3633 if ${ac_cv_prog_cc_g+:} false; then :
3634   $as_echo_n "(cached) " >&6
3635 else
3636   ac_save_c_werror_flag=$ac_c_werror_flag
3637    ac_c_werror_flag=yes
3638    ac_cv_prog_cc_g=no
3639    CFLAGS="-g"
3640    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h.  */
3642
3643 int
3644 main ()
3645 {
3646
3647   ;
3648   return 0;
3649 }
3650 _ACEOF
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652   ac_cv_prog_cc_g=yes
3653 else
3654   CFLAGS=""
3655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h.  */
3657
3658 int
3659 main ()
3660 {
3661
3662   ;
3663   return 0;
3664 }
3665 _ACEOF
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667
3668 else
3669   ac_c_werror_flag=$ac_save_c_werror_flag
3670          CFLAGS="-g"
3671          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h.  */
3673
3674 int
3675 main ()
3676 {
3677
3678   ;
3679   return 0;
3680 }
3681 _ACEOF
3682 if ac_fn_c_try_compile "$LINENO"; then :
3683   ac_cv_prog_cc_g=yes
3684 fi
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 fi
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 fi
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690    ac_c_werror_flag=$ac_save_c_werror_flag
3691 fi
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3693 $as_echo "$ac_cv_prog_cc_g" >&6; }
3694 if test "$ac_test_CFLAGS" = set; then
3695   CFLAGS=$ac_save_CFLAGS
3696 elif test $ac_cv_prog_cc_g = yes; then
3697   if test "$GCC" = yes; then
3698     CFLAGS="-g -O2"
3699   else
3700     CFLAGS="-g"
3701   fi
3702 else
3703   if test "$GCC" = yes; then
3704     CFLAGS="-O2"
3705   else
3706     CFLAGS=
3707   fi
3708 fi
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3710 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3711 if ${ac_cv_prog_cc_c89+:} false; then :
3712   $as_echo_n "(cached) " >&6
3713 else
3714   ac_cv_prog_cc_c89=no
3715 ac_save_CC=$CC
3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h.  */
3718 #include <stdarg.h>
3719 #include <stdio.h>
3720 struct stat;
3721 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3722 struct buf { int x; };
3723 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3724 static char *e (p, i)
3725      char **p;
3726      int i;
3727 {
3728   return p[i];
3729 }
3730 static char *f (char * (*g) (char **, int), char **p, ...)
3731 {
3732   char *s;
3733   va_list v;
3734   va_start (v,p);
3735   s = g (p, va_arg (v,int));
3736   va_end (v);
3737   return s;
3738 }
3739
3740 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3741    function prototypes and stuff, but not '\xHH' hex character constants.
3742    These don't provoke an error unfortunately, instead are silently treated
3743    as 'x'.  The following induces an error, until -std is added to get
3744    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3745    array size at least.  It's necessary to write '\x00'==0 to get something
3746    that's true only with -std.  */
3747 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3748
3749 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3750    inside strings and character constants.  */
3751 #define FOO(x) 'x'
3752 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3753
3754 int test (int i, double x);
3755 struct s1 {int (*f) (int a);};
3756 struct s2 {int (*f) (double a);};
3757 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3758 int argc;
3759 char **argv;
3760 int
3761 main ()
3762 {
3763 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3764   ;
3765   return 0;
3766 }
3767 _ACEOF
3768 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3769         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3770 do
3771   CC="$ac_save_CC $ac_arg"
3772   if ac_fn_c_try_compile "$LINENO"; then :
3773   ac_cv_prog_cc_c89=$ac_arg
3774 fi
3775 rm -f core conftest.err conftest.$ac_objext
3776   test "x$ac_cv_prog_cc_c89" != "xno" && break
3777 done
3778 rm -f conftest.$ac_ext
3779 CC=$ac_save_CC
3780
3781 fi
3782 # AC_CACHE_VAL
3783 case "x$ac_cv_prog_cc_c89" in
3784   x)
3785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3786 $as_echo "none needed" >&6; } ;;
3787   xno)
3788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3789 $as_echo "unsupported" >&6; } ;;
3790   *)
3791     CC="$CC $ac_cv_prog_cc_c89"
3792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3793 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3794 esac
3795 if test "x$ac_cv_prog_cc_c89" != xno; then :
3796
3797 fi
3798
3799 ac_ext=c
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804
3805 ac_ext=c
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3811 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3812 if ${am_cv_prog_cc_c_o+:} false; then :
3813   $as_echo_n "(cached) " >&6
3814 else
3815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h.  */
3817
3818 int
3819 main ()
3820 {
3821
3822   ;
3823   return 0;
3824 }
3825 _ACEOF
3826   # Make sure it works both with $CC and with simple cc.
3827   # Following AC_PROG_CC_C_O, we do the test twice because some
3828   # compilers refuse to overwrite an existing .o file with -o,
3829   # though they will create one.
3830   am_cv_prog_cc_c_o=yes
3831   for am_i in 1 2; do
3832     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3833    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3834    ac_status=$?
3835    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836    (exit $ac_status); } \
3837          && test -f conftest2.$ac_objext; then
3838       : OK
3839     else
3840       am_cv_prog_cc_c_o=no
3841       break
3842     fi
3843   done
3844   rm -f core conftest*
3845   unset am_i
3846 fi
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3848 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3849 if test "$am_cv_prog_cc_c_o" != yes; then
3850    # Losing compiler, so override with the script.
3851    # FIXME: It is wrong to rewrite CC.
3852    # But if we don't then we get into trouble of one sort or another.
3853    # A longer-term fix would be to have automake use am__CC in this case,
3854    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3855    CC="$am_aux_dir/compile $CC"
3856 fi
3857 ac_ext=c
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862
3863 DEPDIR="${am__leading_dot}deps"
3864
3865 ac_config_commands="$ac_config_commands depfiles"
3866
3867
3868 am_make=${MAKE-make}
3869 cat > confinc << 'END'
3870 am__doit:
3871         @echo this is the am__doit target
3872 .PHONY: am__doit
3873 END
3874 # If we don't find an include directive, just comment out the code.
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3876 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3877 am__include="#"
3878 am__quote=
3879 _am_result=none
3880 # First try GNU make style include.
3881 echo "include confinc" > confmf
3882 # Ignore all kinds of additional output from 'make'.
3883 case `$am_make -s -f confmf 2> /dev/null` in #(
3884 *the\ am__doit\ target*)
3885   am__include=include
3886   am__quote=
3887   _am_result=GNU
3888   ;;
3889 esac
3890 # Now try BSD make style include.
3891 if test "$am__include" = "#"; then
3892    echo '.include "confinc"' > confmf
3893    case `$am_make -s -f confmf 2> /dev/null` in #(
3894    *the\ am__doit\ target*)
3895      am__include=.include
3896      am__quote="\""
3897      _am_result=BSD
3898      ;;
3899    esac
3900 fi
3901
3902
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3904 $as_echo "$_am_result" >&6; }
3905 rm -f confinc confmf
3906
3907 # Check whether --enable-dependency-tracking was given.
3908 if test "${enable_dependency_tracking+set}" = set; then :
3909   enableval=$enable_dependency_tracking;
3910 fi
3911
3912 if test "x$enable_dependency_tracking" != xno; then
3913   am_depcomp="$ac_aux_dir/depcomp"
3914   AMDEPBACKSLASH='\'
3915   am__nodep='_no'
3916 fi
3917  if test "x$enable_dependency_tracking" != xno; then
3918   AMDEP_TRUE=
3919   AMDEP_FALSE='#'
3920 else
3921   AMDEP_TRUE='#'
3922   AMDEP_FALSE=
3923 fi
3924
3925
3926
3927 depcc="$CC"   am_compiler_list=
3928
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3930 $as_echo_n "checking dependency style of $depcc... " >&6; }
3931 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3935   # We make a subdir and do the tests there.  Otherwise we can end up
3936   # making bogus files that we don't know about and never remove.  For
3937   # instance it was reported that on HP-UX the gcc test will end up
3938   # making a dummy file named 'D' -- because '-MD' means "put the output
3939   # in D".
3940   rm -rf conftest.dir
3941   mkdir conftest.dir
3942   # Copy depcomp to subdir because otherwise we won't find it if we're
3943   # using a relative directory.
3944   cp "$am_depcomp" conftest.dir
3945   cd conftest.dir
3946   # We will build objects and dependencies in a subdirectory because
3947   # it helps to detect inapplicable dependency modes.  For instance
3948   # both Tru64's cc and ICC support -MD to output dependencies as a
3949   # side effect of compilation, but ICC will put the dependencies in
3950   # the current directory while Tru64 will put them in the object
3951   # directory.
3952   mkdir sub
3953
3954   am_cv_CC_dependencies_compiler_type=none
3955   if test "$am_compiler_list" = ""; then
3956      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3957   fi
3958   am__universal=false
3959   case " $depcc " in #(
3960      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3961      esac
3962
3963   for depmode in $am_compiler_list; do
3964     # Setup a source with many dependencies, because some compilers
3965     # like to wrap large dependency lists on column 80 (with \), and
3966     # we should not choose a depcomp mode which is confused by this.
3967     #
3968     # We need to recreate these files for each test, as the compiler may
3969     # overwrite some of them when testing with obscure command lines.
3970     # This happens at least with the AIX C compiler.
3971     : > sub/conftest.c
3972     for i in 1 2 3 4 5 6; do
3973       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3974       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3975       # Solaris 10 /bin/sh.
3976       echo '/* dummy */' > sub/conftst$i.h
3977     done
3978     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3979
3980     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3981     # mode.  It turns out that the SunPro C++ compiler does not properly
3982     # handle '-M -o', and we need to detect this.  Also, some Intel
3983     # versions had trouble with output in subdirs.
3984     am__obj=sub/conftest.${OBJEXT-o}
3985     am__minus_obj="-o $am__obj"
3986     case $depmode in
3987     gcc)
3988       # This depmode causes a compiler race in universal mode.
3989       test "$am__universal" = false || continue
3990       ;;
3991     nosideeffect)
3992       # After this tag, mechanisms are not by side-effect, so they'll
3993       # only be used when explicitly requested.
3994       if test "x$enable_dependency_tracking" = xyes; then
3995         continue
3996       else
3997         break
3998       fi
3999       ;;
4000     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4001       # This compiler won't grok '-c -o', but also, the minuso test has
4002       # not run yet.  These depmodes are late enough in the game, and
4003       # so weak that their functioning should not be impacted.
4004       am__obj=conftest.${OBJEXT-o}
4005       am__minus_obj=
4006       ;;
4007     none) break ;;
4008     esac
4009     if depmode=$depmode \
4010        source=sub/conftest.c object=$am__obj \
4011        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4012        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4013          >/dev/null 2>conftest.err &&
4014        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4015        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4016        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4017        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4018       # icc doesn't choke on unknown options, it will just issue warnings
4019       # or remarks (even with -Werror).  So we grep stderr for any message
4020       # that says an option was ignored or not supported.
4021       # When given -MP, icc 7.0 and 7.1 complain thusly:
4022       #   icc: Command line warning: ignoring option '-M'; no argument required
4023       # The diagnosis changed in icc 8.0:
4024       #   icc: Command line remark: option '-MP' not supported
4025       if (grep 'ignoring option' conftest.err ||
4026           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4027         am_cv_CC_dependencies_compiler_type=$depmode
4028         break
4029       fi
4030     fi
4031   done
4032
4033   cd ..
4034   rm -rf conftest.dir
4035 else
4036   am_cv_CC_dependencies_compiler_type=none
4037 fi
4038
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4043
4044  if
4045   test "x$enable_dependency_tracking" != xno \
4046   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4047   am__fastdepCC_TRUE=
4048   am__fastdepCC_FALSE='#'
4049 else
4050   am__fastdepCC_TRUE='#'
4051   am__fastdepCC_FALSE=
4052 fi
4053
4054
4055 ac_ext=cpp
4056 ac_cpp='$CXXCPP $CPPFLAGS'
4057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4060 if test -z "$CXX"; then
4061   if test -n "$CCC"; then
4062     CXX=$CCC
4063   else
4064     if test -n "$ac_tool_prefix"; then
4065   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4066   do
4067     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_CXX+:} false; then :
4072   $as_echo_n "(cached) " >&6
4073 else
4074   if test -n "$CXX"; then
4075   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4076 else
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4079 do
4080   IFS=$as_save_IFS
4081   test -z "$as_dir" && as_dir=.
4082     for ac_exec_ext in '' $ac_executable_extensions; do
4083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086     break 2
4087   fi
4088 done
4089   done
4090 IFS=$as_save_IFS
4091
4092 fi
4093 fi
4094 CXX=$ac_cv_prog_CXX
4095 if test -n "$CXX"; then
4096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4097 $as_echo "$CXX" >&6; }
4098 else
4099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4101 fi
4102
4103
4104     test -n "$CXX" && break
4105   done
4106 fi
4107 if test -z "$CXX"; then
4108   ac_ct_CXX=$CXX
4109   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4110 do
4111   # Extract the first word of "$ac_prog", so it can be a program name with args.
4112 set dummy $ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4116   $as_echo_n "(cached) " >&6
4117 else
4118   if test -n "$ac_ct_CXX"; then
4119   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4123 do
4124   IFS=$as_save_IFS
4125   test -z "$as_dir" && as_dir=.
4126     for ac_exec_ext in '' $ac_executable_extensions; do
4127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128     ac_cv_prog_ac_ct_CXX="$ac_prog"
4129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130     break 2
4131   fi
4132 done
4133   done
4134 IFS=$as_save_IFS
4135
4136 fi
4137 fi
4138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4139 if test -n "$ac_ct_CXX"; then
4140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4141 $as_echo "$ac_ct_CXX" >&6; }
4142 else
4143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4145 fi
4146
4147
4148   test -n "$ac_ct_CXX" && break
4149 done
4150
4151   if test "x$ac_ct_CXX" = x; then
4152     CXX="g++"
4153   else
4154     case $cross_compiling:$ac_tool_warned in
4155 yes:)
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4158 ac_tool_warned=yes ;;
4159 esac
4160     CXX=$ac_ct_CXX
4161   fi
4162 fi
4163
4164   fi
4165 fi
4166 # Provide some information about the compiler.
4167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4168 set X $ac_compile
4169 ac_compiler=$2
4170 for ac_option in --version -v -V -qversion; do
4171   { { ac_try="$ac_compiler $ac_option >&5"
4172 case "(($ac_try" in
4173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174   *) ac_try_echo=$ac_try;;
4175 esac
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4179   ac_status=$?
4180   if test -s conftest.err; then
4181     sed '10a\
4182 ... rest of stderr output deleted ...
4183          10q' conftest.err >conftest.er1
4184     cat conftest.er1 >&5
4185   fi
4186   rm -f conftest.er1 conftest.err
4187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4188   test $ac_status = 0; }
4189 done
4190
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4192 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4193 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4194   $as_echo_n "(cached) " >&6
4195 else
4196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h.  */
4198
4199 int
4200 main ()
4201 {
4202 #ifndef __GNUC__
4203        choke me
4204 #endif
4205
4206   ;
4207   return 0;
4208 }
4209 _ACEOF
4210 if ac_fn_cxx_try_compile "$LINENO"; then :
4211   ac_compiler_gnu=yes
4212 else
4213   ac_compiler_gnu=no
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4217
4218 fi
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4220 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4221 if test $ac_compiler_gnu = yes; then
4222   GXX=yes
4223 else
4224   GXX=
4225 fi
4226 ac_test_CXXFLAGS=${CXXFLAGS+set}
4227 ac_save_CXXFLAGS=$CXXFLAGS
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4229 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4230 if ${ac_cv_prog_cxx_g+:} false; then :
4231   $as_echo_n "(cached) " >&6
4232 else
4233   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4234    ac_cxx_werror_flag=yes
4235    ac_cv_prog_cxx_g=no
4236    CXXFLAGS="-g"
4237    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h.  */
4239
4240 int
4241 main ()
4242 {
4243
4244   ;
4245   return 0;
4246 }
4247 _ACEOF
4248 if ac_fn_cxx_try_compile "$LINENO"; then :
4249   ac_cv_prog_cxx_g=yes
4250 else
4251   CXXFLAGS=""
4252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h.  */
4254
4255 int
4256 main ()
4257 {
4258
4259   ;
4260   return 0;
4261 }
4262 _ACEOF
4263 if ac_fn_cxx_try_compile "$LINENO"; then :
4264
4265 else
4266   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4267          CXXFLAGS="-g"
4268          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h.  */
4270
4271 int
4272 main ()
4273 {
4274
4275   ;
4276   return 0;
4277 }
4278 _ACEOF
4279 if ac_fn_cxx_try_compile "$LINENO"; then :
4280   ac_cv_prog_cxx_g=yes
4281 fi
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 fi
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 fi
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4288 fi
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4290 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4291 if test "$ac_test_CXXFLAGS" = set; then
4292   CXXFLAGS=$ac_save_CXXFLAGS
4293 elif test $ac_cv_prog_cxx_g = yes; then
4294   if test "$GXX" = yes; then
4295     CXXFLAGS="-g -O2"
4296   else
4297     CXXFLAGS="-g"
4298   fi
4299 else
4300   if test "$GXX" = yes; then
4301     CXXFLAGS="-O2"
4302   else
4303     CXXFLAGS=
4304   fi
4305 fi
4306 ac_ext=c
4307 ac_cpp='$CPP $CPPFLAGS'
4308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4311
4312 depcc="$CXX"  am_compiler_list=
4313
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4315 $as_echo_n "checking dependency style of $depcc... " >&6; }
4316 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4317   $as_echo_n "(cached) " >&6
4318 else
4319   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4320   # We make a subdir and do the tests there.  Otherwise we can end up
4321   # making bogus files that we don't know about and never remove.  For
4322   # instance it was reported that on HP-UX the gcc test will end up
4323   # making a dummy file named 'D' -- because '-MD' means "put the output
4324   # in D".
4325   rm -rf conftest.dir
4326   mkdir conftest.dir
4327   # Copy depcomp to subdir because otherwise we won't find it if we're
4328   # using a relative directory.
4329   cp "$am_depcomp" conftest.dir
4330   cd conftest.dir
4331   # We will build objects and dependencies in a subdirectory because
4332   # it helps to detect inapplicable dependency modes.  For instance
4333   # both Tru64's cc and ICC support -MD to output dependencies as a
4334   # side effect of compilation, but ICC will put the dependencies in
4335   # the current directory while Tru64 will put them in the object
4336   # directory.
4337   mkdir sub
4338
4339   am_cv_CXX_dependencies_compiler_type=none
4340   if test "$am_compiler_list" = ""; then
4341      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4342   fi
4343   am__universal=false
4344   case " $depcc " in #(
4345      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4346      esac
4347
4348   for depmode in $am_compiler_list; do
4349     # Setup a source with many dependencies, because some compilers
4350     # like to wrap large dependency lists on column 80 (with \), and
4351     # we should not choose a depcomp mode which is confused by this.
4352     #
4353     # We need to recreate these files for each test, as the compiler may
4354     # overwrite some of them when testing with obscure command lines.
4355     # This happens at least with the AIX C compiler.
4356     : > sub/conftest.c
4357     for i in 1 2 3 4 5 6; do
4358       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4359       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4360       # Solaris 10 /bin/sh.
4361       echo '/* dummy */' > sub/conftst$i.h
4362     done
4363     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4364
4365     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4366     # mode.  It turns out that the SunPro C++ compiler does not properly
4367     # handle '-M -o', and we need to detect this.  Also, some Intel
4368     # versions had trouble with output in subdirs.
4369     am__obj=sub/conftest.${OBJEXT-o}
4370     am__minus_obj="-o $am__obj"
4371     case $depmode in
4372     gcc)
4373       # This depmode causes a compiler race in universal mode.
4374       test "$am__universal" = false || continue
4375       ;;
4376     nosideeffect)
4377       # After this tag, mechanisms are not by side-effect, so they'll
4378       # only be used when explicitly requested.
4379       if test "x$enable_dependency_tracking" = xyes; then
4380         continue
4381       else
4382         break
4383       fi
4384       ;;
4385     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4386       # This compiler won't grok '-c -o', but also, the minuso test has
4387       # not run yet.  These depmodes are late enough in the game, and
4388       # so weak that their functioning should not be impacted.
4389       am__obj=conftest.${OBJEXT-o}
4390       am__minus_obj=
4391       ;;
4392     none) break ;;
4393     esac
4394     if depmode=$depmode \
4395        source=sub/conftest.c object=$am__obj \
4396        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4397        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4398          >/dev/null 2>conftest.err &&
4399        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4400        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4401        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4402        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4403       # icc doesn't choke on unknown options, it will just issue warnings
4404       # or remarks (even with -Werror).  So we grep stderr for any message
4405       # that says an option was ignored or not supported.
4406       # When given -MP, icc 7.0 and 7.1 complain thusly:
4407       #   icc: Command line warning: ignoring option '-M'; no argument required
4408       # The diagnosis changed in icc 8.0:
4409       #   icc: Command line remark: option '-MP' not supported
4410       if (grep 'ignoring option' conftest.err ||
4411           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4412         am_cv_CXX_dependencies_compiler_type=$depmode
4413         break
4414       fi
4415     fi
4416   done
4417
4418   cd ..
4419   rm -rf conftest.dir
4420 else
4421   am_cv_CXX_dependencies_compiler_type=none
4422 fi
4423
4424 fi
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4426 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4427 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4428
4429  if
4430   test "x$enable_dependency_tracking" != xno \
4431   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4432   am__fastdepCXX_TRUE=
4433   am__fastdepCXX_FALSE='#'
4434 else
4435   am__fastdepCXX_TRUE='#'
4436   am__fastdepCXX_FALSE=
4437 fi
4438
4439
4440 case `pwd` in
4441   *\ * | *\     *)
4442     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4443 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4444 esac
4445
4446
4447
4448 macro_version='2.4.2'
4449 macro_revision='1.3337'
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463 ltmain="$ac_aux_dir/ltmain.sh"
4464
4465 # Backslashify metacharacters that are still active within
4466 # double-quoted strings.
4467 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4468
4469 # Same as above, but do not quote variable references.
4470 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4471
4472 # Sed substitution to delay expansion of an escaped shell variable in a
4473 # double_quote_subst'ed string.
4474 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4475
4476 # Sed substitution to delay expansion of an escaped single quote.
4477 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4478
4479 # Sed substitution to avoid accidental globbing in evaled expressions
4480 no_glob_subst='s/\*/\\\*/g'
4481
4482 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4483 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4484 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4485
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4487 $as_echo_n "checking how to print strings... " >&6; }
4488 # Test print first, because it will be a builtin if present.
4489 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4490    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4491   ECHO='print -r --'
4492 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4493   ECHO='printf %s\n'
4494 else
4495   # Use this function as a fallback that always works.
4496   func_fallback_echo ()
4497   {
4498     eval 'cat <<_LTECHO_EOF
4499 $1
4500 _LTECHO_EOF'
4501   }
4502   ECHO='func_fallback_echo'
4503 fi
4504
4505 # func_echo_all arg...
4506 # Invoke $ECHO with all args, space-separated.
4507 func_echo_all ()
4508 {
4509     $ECHO ""
4510 }
4511
4512 case "$ECHO" in
4513   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4514 $as_echo "printf" >&6; } ;;
4515   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4516 $as_echo "print -r" >&6; } ;;
4517   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4518 $as_echo "cat" >&6; } ;;
4519 esac
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4535 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4536 if ${ac_cv_path_SED+:} false; then :
4537   $as_echo_n "(cached) " >&6
4538 else
4539             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4540      for ac_i in 1 2 3 4 5 6 7; do
4541        ac_script="$ac_script$as_nl$ac_script"
4542      done
4543      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4544      { ac_script=; unset ac_script;}
4545      if test -z "$SED"; then
4546   ac_path_SED_found=false
4547   # Loop through the user's path and test for each of PROGNAME-LIST
4548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4550 do
4551   IFS=$as_save_IFS
4552   test -z "$as_dir" && as_dir=.
4553     for ac_prog in sed gsed; do
4554     for ac_exec_ext in '' $ac_executable_extensions; do
4555       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4556       as_fn_executable_p "$ac_path_SED" || continue
4557 # Check for GNU ac_path_SED and select it if it is found.
4558   # Check for GNU $ac_path_SED
4559 case `"$ac_path_SED" --version 2>&1` in
4560 *GNU*)
4561   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4562 *)
4563   ac_count=0
4564   $as_echo_n 0123456789 >"conftest.in"
4565   while :
4566   do
4567     cat "conftest.in" "conftest.in" >"conftest.tmp"
4568     mv "conftest.tmp" "conftest.in"
4569     cp "conftest.in" "conftest.nl"
4570     $as_echo '' >> "conftest.nl"
4571     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4572     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4573     as_fn_arith $ac_count + 1 && ac_count=$as_val
4574     if test $ac_count -gt ${ac_path_SED_max-0}; then
4575       # Best one so far, save it but keep looking for a better one
4576       ac_cv_path_SED="$ac_path_SED"
4577       ac_path_SED_max=$ac_count
4578     fi
4579     # 10*(2^10) chars as input seems more than enough
4580     test $ac_count -gt 10 && break
4581   done
4582   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4583 esac
4584
4585       $ac_path_SED_found && break 3
4586     done
4587   done
4588   done
4589 IFS=$as_save_IFS
4590   if test -z "$ac_cv_path_SED"; then
4591     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4592   fi
4593 else
4594   ac_cv_path_SED=$SED
4595 fi
4596
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4599 $as_echo "$ac_cv_path_SED" >&6; }
4600  SED="$ac_cv_path_SED"
4601   rm -f conftest.sed
4602
4603 test -z "$SED" && SED=sed
4604 Xsed="$SED -e 1s/^X//"
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4618 if ${ac_cv_path_GREP+:} false; then :
4619   $as_echo_n "(cached) " >&6
4620 else
4621   if test -z "$GREP"; then
4622   ac_path_GREP_found=false
4623   # Loop through the user's path and test for each of PROGNAME-LIST
4624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4626 do
4627   IFS=$as_save_IFS
4628   test -z "$as_dir" && as_dir=.
4629     for ac_prog in grep ggrep; do
4630     for ac_exec_ext in '' $ac_executable_extensions; do
4631       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4632       as_fn_executable_p "$ac_path_GREP" || continue
4633 # Check for GNU ac_path_GREP and select it if it is found.
4634   # Check for GNU $ac_path_GREP
4635 case `"$ac_path_GREP" --version 2>&1` in
4636 *GNU*)
4637   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4638 *)
4639   ac_count=0
4640   $as_echo_n 0123456789 >"conftest.in"
4641   while :
4642   do
4643     cat "conftest.in" "conftest.in" >"conftest.tmp"
4644     mv "conftest.tmp" "conftest.in"
4645     cp "conftest.in" "conftest.nl"
4646     $as_echo 'GREP' >> "conftest.nl"
4647     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4648     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4649     as_fn_arith $ac_count + 1 && ac_count=$as_val
4650     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4651       # Best one so far, save it but keep looking for a better one
4652       ac_cv_path_GREP="$ac_path_GREP"
4653       ac_path_GREP_max=$ac_count
4654     fi
4655     # 10*(2^10) chars as input seems more than enough
4656     test $ac_count -gt 10 && break
4657   done
4658   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4659 esac
4660
4661       $ac_path_GREP_found && break 3
4662     done
4663   done
4664   done
4665 IFS=$as_save_IFS
4666   if test -z "$ac_cv_path_GREP"; then
4667     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4668   fi
4669 else
4670   ac_cv_path_GREP=$GREP
4671 fi
4672
4673 fi
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4675 $as_echo "$ac_cv_path_GREP" >&6; }
4676  GREP="$ac_cv_path_GREP"
4677
4678
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4680 $as_echo_n "checking for egrep... " >&6; }
4681 if ${ac_cv_path_EGREP+:} false; then :
4682   $as_echo_n "(cached) " >&6
4683 else
4684   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4685    then ac_cv_path_EGREP="$GREP -E"
4686    else
4687      if test -z "$EGREP"; then
4688   ac_path_EGREP_found=false
4689   # Loop through the user's path and test for each of PROGNAME-LIST
4690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4692 do
4693   IFS=$as_save_IFS
4694   test -z "$as_dir" && as_dir=.
4695     for ac_prog in egrep; do
4696     for ac_exec_ext in '' $ac_executable_extensions; do
4697       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4698       as_fn_executable_p "$ac_path_EGREP" || continue
4699 # Check for GNU ac_path_EGREP and select it if it is found.
4700   # Check for GNU $ac_path_EGREP
4701 case `"$ac_path_EGREP" --version 2>&1` in
4702 *GNU*)
4703   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4704 *)
4705   ac_count=0
4706   $as_echo_n 0123456789 >"conftest.in"
4707   while :
4708   do
4709     cat "conftest.in" "conftest.in" >"conftest.tmp"
4710     mv "conftest.tmp" "conftest.in"
4711     cp "conftest.in" "conftest.nl"
4712     $as_echo 'EGREP' >> "conftest.nl"
4713     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4714     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4715     as_fn_arith $ac_count + 1 && ac_count=$as_val
4716     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4717       # Best one so far, save it but keep looking for a better one
4718       ac_cv_path_EGREP="$ac_path_EGREP"
4719       ac_path_EGREP_max=$ac_count
4720     fi
4721     # 10*(2^10) chars as input seems more than enough
4722     test $ac_count -gt 10 && break
4723   done
4724   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4725 esac
4726
4727       $ac_path_EGREP_found && break 3
4728     done
4729   done
4730   done
4731 IFS=$as_save_IFS
4732   if test -z "$ac_cv_path_EGREP"; then
4733     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734   fi
4735 else
4736   ac_cv_path_EGREP=$EGREP
4737 fi
4738
4739    fi
4740 fi
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4742 $as_echo "$ac_cv_path_EGREP" >&6; }
4743  EGREP="$ac_cv_path_EGREP"
4744
4745
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4747 $as_echo_n "checking for fgrep... " >&6; }
4748 if ${ac_cv_path_FGREP+:} false; then :
4749   $as_echo_n "(cached) " >&6
4750 else
4751   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4752    then ac_cv_path_FGREP="$GREP -F"
4753    else
4754      if test -z "$FGREP"; then
4755   ac_path_FGREP_found=false
4756   # Loop through the user's path and test for each of PROGNAME-LIST
4757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4759 do
4760   IFS=$as_save_IFS
4761   test -z "$as_dir" && as_dir=.
4762     for ac_prog in fgrep; do
4763     for ac_exec_ext in '' $ac_executable_extensions; do
4764       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4765       as_fn_executable_p "$ac_path_FGREP" || continue
4766 # Check for GNU ac_path_FGREP and select it if it is found.
4767   # Check for GNU $ac_path_FGREP
4768 case `"$ac_path_FGREP" --version 2>&1` in
4769 *GNU*)
4770   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4771 *)
4772   ac_count=0
4773   $as_echo_n 0123456789 >"conftest.in"
4774   while :
4775   do
4776     cat "conftest.in" "conftest.in" >"conftest.tmp"
4777     mv "conftest.tmp" "conftest.in"
4778     cp "conftest.in" "conftest.nl"
4779     $as_echo 'FGREP' >> "conftest.nl"
4780     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4781     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4782     as_fn_arith $ac_count + 1 && ac_count=$as_val
4783     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4784       # Best one so far, save it but keep looking for a better one
4785       ac_cv_path_FGREP="$ac_path_FGREP"
4786       ac_path_FGREP_max=$ac_count
4787     fi
4788     # 10*(2^10) chars as input seems more than enough
4789     test $ac_count -gt 10 && break
4790   done
4791   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4792 esac
4793
4794       $ac_path_FGREP_found && break 3
4795     done
4796   done
4797   done
4798 IFS=$as_save_IFS
4799   if test -z "$ac_cv_path_FGREP"; then
4800     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4801   fi
4802 else
4803   ac_cv_path_FGREP=$FGREP
4804 fi
4805
4806    fi
4807 fi
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4809 $as_echo "$ac_cv_path_FGREP" >&6; }
4810  FGREP="$ac_cv_path_FGREP"
4811
4812
4813 test -z "$GREP" && GREP=grep
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833 # Check whether --with-gnu-ld was given.
4834 if test "${with_gnu_ld+set}" = set; then :
4835   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4836 else
4837   with_gnu_ld=no
4838 fi
4839
4840 ac_prog=ld
4841 if test "$GCC" = yes; then
4842   # Check if gcc -print-prog-name=ld gives a path.
4843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4844 $as_echo_n "checking for ld used by $CC... " >&6; }
4845   case $host in
4846   *-*-mingw*)
4847     # gcc leaves a trailing carriage return which upsets mingw
4848     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4849   *)
4850     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4851   esac
4852   case $ac_prog in
4853     # Accept absolute paths.
4854     [\\/]* | ?:[\\/]*)
4855       re_direlt='/[^/][^/]*/\.\./'
4856       # Canonicalize the pathname of ld
4857       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4858       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4859         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4860       done
4861       test -z "$LD" && LD="$ac_prog"
4862       ;;
4863   "")
4864     # If it fails, then pretend we aren't using GCC.
4865     ac_prog=ld
4866     ;;
4867   *)
4868     # If it is relative, then search for the first ld in PATH.
4869     with_gnu_ld=unknown
4870     ;;
4871   esac
4872 elif test "$with_gnu_ld" = yes; then
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4874 $as_echo_n "checking for GNU ld... " >&6; }
4875 else
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4877 $as_echo_n "checking for non-GNU ld... " >&6; }
4878 fi
4879 if ${lt_cv_path_LD+:} false; then :
4880   $as_echo_n "(cached) " >&6
4881 else
4882   if test -z "$LD"; then
4883   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4884   for ac_dir in $PATH; do
4885     IFS="$lt_save_ifs"
4886     test -z "$ac_dir" && ac_dir=.
4887     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4888       lt_cv_path_LD="$ac_dir/$ac_prog"
4889       # Check to see if the program is GNU ld.  I'd rather use --version,
4890       # but apparently some variants of GNU ld only accept -v.
4891       # Break only if it was the GNU/non-GNU ld that we prefer.
4892       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4893       *GNU* | *'with BFD'*)
4894         test "$with_gnu_ld" != no && break
4895         ;;
4896       *)
4897         test "$with_gnu_ld" != yes && break
4898         ;;
4899       esac
4900     fi
4901   done
4902   IFS="$lt_save_ifs"
4903 else
4904   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4905 fi
4906 fi
4907
4908 LD="$lt_cv_path_LD"
4909 if test -n "$LD"; then
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4915 fi
4916 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4919 if ${lt_cv_prog_gnu_ld+:} false; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4923 case `$LD -v 2>&1 </dev/null` in
4924 *GNU* | *'with BFD'*)
4925   lt_cv_prog_gnu_ld=yes
4926   ;;
4927 *)
4928   lt_cv_prog_gnu_ld=no
4929   ;;
4930 esac
4931 fi
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4934 with_gnu_ld=$lt_cv_prog_gnu_ld
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4945 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4946 if ${lt_cv_path_NM+:} false; then :
4947   $as_echo_n "(cached) " >&6
4948 else
4949   if test -n "$NM"; then
4950   # Let the user override the test.
4951   lt_cv_path_NM="$NM"
4952 else
4953   lt_nm_to_check="${ac_tool_prefix}nm"
4954   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4955     lt_nm_to_check="$lt_nm_to_check nm"
4956   fi
4957   for lt_tmp_nm in $lt_nm_to_check; do
4958     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4960       IFS="$lt_save_ifs"
4961       test -z "$ac_dir" && ac_dir=.
4962       tmp_nm="$ac_dir/$lt_tmp_nm"
4963       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4964         # Check to see if the nm accepts a BSD-compat flag.
4965         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4966         #   nm: unknown option "B" ignored
4967         # Tru64's nm complains that /dev/null is an invalid object file
4968         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4969         */dev/null* | *'Invalid file or object type'*)
4970           lt_cv_path_NM="$tmp_nm -B"
4971           break
4972           ;;
4973         *)
4974           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4975           */dev/null*)
4976             lt_cv_path_NM="$tmp_nm -p"
4977             break
4978             ;;
4979           *)
4980             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4981             continue # so that we can try to find one that supports BSD flags
4982             ;;
4983           esac
4984           ;;
4985         esac
4986       fi
4987     done
4988     IFS="$lt_save_ifs"
4989   done
4990   : ${lt_cv_path_NM=no}
4991 fi
4992 fi
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4994 $as_echo "$lt_cv_path_NM" >&6; }
4995 if test "$lt_cv_path_NM" != "no"; then
4996   NM="$lt_cv_path_NM"
4997 else
4998   # Didn't find any BSD compatible name lister, look for dumpbin.
4999   if test -n "$DUMPBIN"; then :
5000     # Let the user override the test.
5001   else
5002     if test -n "$ac_tool_prefix"; then
5003   for ac_prog in dumpbin "link -dump"
5004   do
5005     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_DUMPBIN+:} false; then :
5010   $as_echo_n "(cached) " >&6
5011 else
5012   if test -n "$DUMPBIN"; then
5013   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5017 do
5018   IFS=$as_save_IFS
5019   test -z "$as_dir" && as_dir=.
5020     for ac_exec_ext in '' $ac_executable_extensions; do
5021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024     break 2
5025   fi
5026 done
5027   done
5028 IFS=$as_save_IFS
5029
5030 fi
5031 fi
5032 DUMPBIN=$ac_cv_prog_DUMPBIN
5033 if test -n "$DUMPBIN"; then
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5035 $as_echo "$DUMPBIN" >&6; }
5036 else
5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 fi
5040
5041
5042     test -n "$DUMPBIN" && break
5043   done
5044 fi
5045 if test -z "$DUMPBIN"; then
5046   ac_ct_DUMPBIN=$DUMPBIN
5047   for ac_prog in dumpbin "link -dump"
5048 do
5049   # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5054   $as_echo_n "(cached) " >&6
5055 else
5056   if test -n "$ac_ct_DUMPBIN"; then
5057   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5061 do
5062   IFS=$as_save_IFS
5063   test -z "$as_dir" && as_dir=.
5064     for ac_exec_ext in '' $ac_executable_extensions; do
5065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068     break 2
5069   fi
5070 done
5071   done
5072 IFS=$as_save_IFS
5073
5074 fi
5075 fi
5076 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5077 if test -n "$ac_ct_DUMPBIN"; then
5078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5079 $as_echo "$ac_ct_DUMPBIN" >&6; }
5080 else
5081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 fi
5084
5085
5086   test -n "$ac_ct_DUMPBIN" && break
5087 done
5088
5089   if test "x$ac_ct_DUMPBIN" = x; then
5090     DUMPBIN=":"
5091   else
5092     case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098     DUMPBIN=$ac_ct_DUMPBIN
5099   fi
5100 fi
5101
5102     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5103     *COFF*)
5104       DUMPBIN="$DUMPBIN -symbols"
5105       ;;
5106     *)
5107       DUMPBIN=:
5108       ;;
5109     esac
5110   fi
5111
5112   if test "$DUMPBIN" != ":"; then
5113     NM="$DUMPBIN"
5114   fi
5115 fi
5116 test -z "$NM" && NM=nm
5117
5118
5119
5120
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5124 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5125 if ${lt_cv_nm_interface+:} false; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   lt_cv_nm_interface="BSD nm"
5129   echo "int some_variable = 0;" > conftest.$ac_ext
5130   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5131   (eval "$ac_compile" 2>conftest.err)
5132   cat conftest.err >&5
5133   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5134   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5135   cat conftest.err >&5
5136   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5137   cat conftest.out >&5
5138   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5139     lt_cv_nm_interface="MS dumpbin"
5140   fi
5141   rm -f conftest*
5142 fi
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5144 $as_echo "$lt_cv_nm_interface" >&6; }
5145
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5147 $as_echo_n "checking whether ln -s works... " >&6; }
5148 LN_S=$as_ln_s
5149 if test "$LN_S" = "ln -s"; then
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 $as_echo "yes" >&6; }
5152 else
5153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5154 $as_echo "no, using $LN_S" >&6; }
5155 fi
5156
5157 # find the maximum length of command line arguments
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5159 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5160 if ${lt_cv_sys_max_cmd_len+:} false; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163     i=0
5164   teststring="ABCD"
5165
5166   case $build_os in
5167   msdosdjgpp*)
5168     # On DJGPP, this test can blow up pretty badly due to problems in libc
5169     # (any single argument exceeding 2000 bytes causes a buffer overrun
5170     # during glob expansion).  Even if it were fixed, the result of this
5171     # check would be larger than it should be.
5172     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5173     ;;
5174
5175   gnu*)
5176     # Under GNU Hurd, this test is not required because there is
5177     # no limit to the length of command line arguments.
5178     # Libtool will interpret -1 as no limit whatsoever
5179     lt_cv_sys_max_cmd_len=-1;
5180     ;;
5181
5182   cygwin* | mingw* | cegcc*)
5183     # On Win9x/ME, this test blows up -- it succeeds, but takes
5184     # about 5 minutes as the teststring grows exponentially.
5185     # Worse, since 9x/ME are not pre-emptively multitasking,
5186     # you end up with a "frozen" computer, even though with patience
5187     # the test eventually succeeds (with a max line length of 256k).
5188     # Instead, let's just punt: use the minimum linelength reported by
5189     # all of the supported platforms: 8192 (on NT/2K/XP).
5190     lt_cv_sys_max_cmd_len=8192;
5191     ;;
5192
5193   mint*)
5194     # On MiNT this can take a long time and run out of memory.
5195     lt_cv_sys_max_cmd_len=8192;
5196     ;;
5197
5198   amigaos*)
5199     # On AmigaOS with pdksh, this test takes hours, literally.
5200     # So we just punt and use a minimum line length of 8192.
5201     lt_cv_sys_max_cmd_len=8192;
5202     ;;
5203
5204   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5205     # This has been around since 386BSD, at least.  Likely further.
5206     if test -x /sbin/sysctl; then
5207       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5208     elif test -x /usr/sbin/sysctl; then
5209       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5210     else
5211       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5212     fi
5213     # And add a safety zone
5214     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5215     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216     ;;
5217
5218   interix*)
5219     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5220     lt_cv_sys_max_cmd_len=196608
5221     ;;
5222
5223   os2*)
5224     # The test takes a long time on OS/2.
5225     lt_cv_sys_max_cmd_len=8192
5226     ;;
5227
5228   osf*)
5229     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5230     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5231     # nice to cause kernel panics so lets avoid the loop below.
5232     # First set a reasonable default.
5233     lt_cv_sys_max_cmd_len=16384
5234     #
5235     if test -x /sbin/sysconfig; then
5236       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5237         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5238       esac
5239     fi
5240     ;;
5241   sco3.2v5*)
5242     lt_cv_sys_max_cmd_len=102400
5243     ;;
5244   sysv5* | sco5v6* | sysv4.2uw2*)
5245     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5246     if test -n "$kargmax"; then
5247       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5248     else
5249       lt_cv_sys_max_cmd_len=32768
5250     fi
5251     ;;
5252   *)
5253     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5254     if test -n "$lt_cv_sys_max_cmd_len"; then
5255       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5256       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5257     else
5258       # Make teststring a little bigger before we do anything with it.
5259       # a 1K string should be a reasonable start.
5260       for i in 1 2 3 4 5 6 7 8 ; do
5261         teststring=$teststring$teststring
5262       done
5263       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5264       # If test is not a shell built-in, we'll probably end up computing a
5265       # maximum length that is only half of the actual maximum length, but
5266       # we can't tell.
5267       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5268                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5269               test $i != 17 # 1/2 MB should be enough
5270       do
5271         i=`expr $i + 1`
5272         teststring=$teststring$teststring
5273       done
5274       # Only check the string length outside the loop.
5275       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5276       teststring=
5277       # Add a significant safety factor because C++ compilers can tack on
5278       # massive amounts of additional arguments before passing them to the
5279       # linker.  It appears as though 1/2 is a usable value.
5280       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5281     fi
5282     ;;
5283   esac
5284
5285 fi
5286
5287 if test -n $lt_cv_sys_max_cmd_len ; then
5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5289 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5290 else
5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5292 $as_echo "none" >&6; }
5293 fi
5294 max_cmd_len=$lt_cv_sys_max_cmd_len
5295
5296
5297
5298
5299
5300
5301 : ${CP="cp -f"}
5302 : ${MV="mv -f"}
5303 : ${RM="rm -f"}
5304
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5306 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5307 # Try some XSI features
5308 xsi_shell=no
5309 ( _lt_dummy="a/b/c"
5310   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5311       = c,a/b,b/c, \
5312     && eval 'test $(( 1 + 1 )) -eq 2 \
5313     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5314   && xsi_shell=yes
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5316 $as_echo "$xsi_shell" >&6; }
5317
5318
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5320 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5321 lt_shell_append=no
5322 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5323     >/dev/null 2>&1 \
5324   && lt_shell_append=yes
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5326 $as_echo "$lt_shell_append" >&6; }
5327
5328
5329 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5330   lt_unset=unset
5331 else
5332   lt_unset=false
5333 fi
5334
5335
5336
5337
5338
5339 # test EBCDIC or ASCII
5340 case `echo X|tr X '\101'` in
5341  A) # ASCII based system
5342     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5343   lt_SP2NL='tr \040 \012'
5344   lt_NL2SP='tr \015\012 \040\040'
5345   ;;
5346  *) # EBCDIC based system
5347   lt_SP2NL='tr \100 \n'
5348   lt_NL2SP='tr \r\n \100\100'
5349   ;;
5350 esac
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5361 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5362 if ${lt_cv_to_host_file_cmd+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365   case $host in
5366   *-*-mingw* )
5367     case $build in
5368       *-*-mingw* ) # actually msys
5369         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5370         ;;
5371       *-*-cygwin* )
5372         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5373         ;;
5374       * ) # otherwise, assume *nix
5375         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5376         ;;
5377     esac
5378     ;;
5379   *-*-cygwin* )
5380     case $build in
5381       *-*-mingw* ) # actually msys
5382         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5383         ;;
5384       *-*-cygwin* )
5385         lt_cv_to_host_file_cmd=func_convert_file_noop
5386         ;;
5387       * ) # otherwise, assume *nix
5388         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5389         ;;
5390     esac
5391     ;;
5392   * ) # unhandled hosts (and "normal" native builds)
5393     lt_cv_to_host_file_cmd=func_convert_file_noop
5394     ;;
5395 esac
5396
5397 fi
5398
5399 to_host_file_cmd=$lt_cv_to_host_file_cmd
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5401 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5402
5403
5404
5405
5406
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5408 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5409 if ${lt_cv_to_tool_file_cmd+:} false; then :
5410   $as_echo_n "(cached) " >&6
5411 else
5412   #assume ordinary cross tools, or native build.
5413 lt_cv_to_tool_file_cmd=func_convert_file_noop
5414 case $host in
5415   *-*-mingw* )
5416     case $build in
5417       *-*-mingw* ) # actually msys
5418         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5419         ;;
5420     esac
5421     ;;
5422 esac
5423
5424 fi
5425
5426 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5428 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5429
5430
5431
5432
5433
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5435 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5436 if ${lt_cv_ld_reload_flag+:} false; then :
5437   $as_echo_n "(cached) " >&6
5438 else
5439   lt_cv_ld_reload_flag='-r'
5440 fi
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5442 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5443 reload_flag=$lt_cv_ld_reload_flag
5444 case $reload_flag in
5445 "" | " "*) ;;
5446 *) reload_flag=" $reload_flag" ;;
5447 esac
5448 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5449 case $host_os in
5450   cygwin* | mingw* | pw32* | cegcc*)
5451     if test "$GCC" != yes; then
5452       reload_cmds=false
5453     fi
5454     ;;
5455   darwin*)
5456     if test "$GCC" = yes; then
5457       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5458     else
5459       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5460     fi
5461     ;;
5462 esac
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472 if test -n "$ac_tool_prefix"; then
5473   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_OBJDUMP+:} false; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   if test -n "$OBJDUMP"; then
5481   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     for ac_exec_ext in '' $ac_executable_extensions; do
5489   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492     break 2
5493   fi
5494 done
5495   done
5496 IFS=$as_save_IFS
5497
5498 fi
5499 fi
5500 OBJDUMP=$ac_cv_prog_OBJDUMP
5501 if test -n "$OBJDUMP"; then
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5503 $as_echo "$OBJDUMP" >&6; }
5504 else
5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 fi
5508
5509
5510 fi
5511 if test -z "$ac_cv_prog_OBJDUMP"; then
5512   ac_ct_OBJDUMP=$OBJDUMP
5513   # Extract the first word of "objdump", so it can be a program name with args.
5514 set dummy objdump; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5518   $as_echo_n "(cached) " >&6
5519 else
5520   if test -n "$ac_ct_OBJDUMP"; then
5521   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5525 do
5526   IFS=$as_save_IFS
5527   test -z "$as_dir" && as_dir=.
5528     for ac_exec_ext in '' $ac_executable_extensions; do
5529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532     break 2
5533   fi
5534 done
5535   done
5536 IFS=$as_save_IFS
5537
5538 fi
5539 fi
5540 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5541 if test -n "$ac_ct_OBJDUMP"; then
5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5543 $as_echo "$ac_ct_OBJDUMP" >&6; }
5544 else
5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5547 fi
5548
5549   if test "x$ac_ct_OBJDUMP" = x; then
5550     OBJDUMP="false"
5551   else
5552     case $cross_compiling:$ac_tool_warned in
5553 yes:)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5557 esac
5558     OBJDUMP=$ac_ct_OBJDUMP
5559   fi
5560 else
5561   OBJDUMP="$ac_cv_prog_OBJDUMP"
5562 fi
5563
5564 test -z "$OBJDUMP" && OBJDUMP=objdump
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5575 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5576 if ${lt_cv_deplibs_check_method+:} false; then :
5577   $as_echo_n "(cached) " >&6
5578 else
5579   lt_cv_file_magic_cmd='$MAGIC_CMD'
5580 lt_cv_file_magic_test_file=
5581 lt_cv_deplibs_check_method='unknown'
5582 # Need to set the preceding variable on all platforms that support
5583 # interlibrary dependencies.
5584 # 'none' -- dependencies not supported.
5585 # `unknown' -- same as none, but documents that we really don't know.
5586 # 'pass_all' -- all dependencies passed with no checks.
5587 # 'test_compile' -- check by making test program.
5588 # 'file_magic [[regex]]' -- check by looking for files in library path
5589 # which responds to the $file_magic_cmd with a given extended regex.
5590 # If you have `file' or equivalent on your system and you're not sure
5591 # whether `pass_all' will *always* work, you probably want this one.
5592
5593 case $host_os in
5594 aix[4-9]*)
5595   lt_cv_deplibs_check_method=pass_all
5596   ;;
5597
5598 beos*)
5599   lt_cv_deplibs_check_method=pass_all
5600   ;;
5601
5602 bsdi[45]*)
5603   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5604   lt_cv_file_magic_cmd='/usr/bin/file -L'
5605   lt_cv_file_magic_test_file=/shlib/libc.so
5606   ;;
5607
5608 cygwin*)
5609   # func_win32_libid is a shell function defined in ltmain.sh
5610   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5611   lt_cv_file_magic_cmd='func_win32_libid'
5612   ;;
5613
5614 mingw* | pw32*)
5615   # Base MSYS/MinGW do not provide the 'file' command needed by
5616   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5617   # unless we find 'file', for example because we are cross-compiling.
5618   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5619   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5620     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5621     lt_cv_file_magic_cmd='func_win32_libid'
5622   else
5623     # Keep this pattern in sync with the one in func_win32_libid.
5624     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5625     lt_cv_file_magic_cmd='$OBJDUMP -f'
5626   fi
5627   ;;
5628
5629 cegcc*)
5630   # use the weaker test based on 'objdump'. See mingw*.
5631   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5632   lt_cv_file_magic_cmd='$OBJDUMP -f'
5633   ;;
5634
5635 darwin* | rhapsody*)
5636   lt_cv_deplibs_check_method=pass_all
5637   ;;
5638
5639 freebsd* | dragonfly*)
5640   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5641     case $host_cpu in
5642     i*86 )
5643       # Not sure whether the presence of OpenBSD here was a mistake.
5644       # Let's accept both of them until this is cleared up.
5645       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5646       lt_cv_file_magic_cmd=/usr/bin/file
5647       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5648       ;;
5649     esac
5650   else
5651     lt_cv_deplibs_check_method=pass_all
5652   fi
5653   ;;
5654
5655 gnu*)
5656   lt_cv_deplibs_check_method=pass_all
5657   ;;
5658
5659 haiku*)
5660   lt_cv_deplibs_check_method=pass_all
5661   ;;
5662
5663 hpux10.20* | hpux11*)
5664   lt_cv_file_magic_cmd=/usr/bin/file
5665   case $host_cpu in
5666   ia64*)
5667     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5668     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5669     ;;
5670   hppa*64*)
5671     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]'
5672     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5673     ;;
5674   *)
5675     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5676     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5677     ;;
5678   esac
5679   ;;
5680
5681 interix[3-9]*)
5682   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5683   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5684   ;;
5685
5686 irix5* | irix6* | nonstopux*)
5687   case $LD in
5688   *-32|*"-32 ") libmagic=32-bit;;
5689   *-n32|*"-n32 ") libmagic=N32;;
5690   *-64|*"-64 ") libmagic=64-bit;;
5691   *) libmagic=never-match;;
5692   esac
5693   lt_cv_deplibs_check_method=pass_all
5694   ;;
5695
5696 # This must be glibc/ELF.
5697 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5698   lt_cv_deplibs_check_method=pass_all
5699   ;;
5700
5701 netbsd*)
5702   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5703     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5704   else
5705     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5706   fi
5707   ;;
5708
5709 newos6*)
5710   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5711   lt_cv_file_magic_cmd=/usr/bin/file
5712   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5713   ;;
5714
5715 *nto* | *qnx*)
5716   lt_cv_deplibs_check_method=pass_all
5717   ;;
5718
5719 openbsd*)
5720   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5721     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5722   else
5723     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5724   fi
5725   ;;
5726
5727 osf3* | osf4* | osf5*)
5728   lt_cv_deplibs_check_method=pass_all
5729   ;;
5730
5731 rdos*)
5732   lt_cv_deplibs_check_method=pass_all
5733   ;;
5734
5735 solaris*)
5736   lt_cv_deplibs_check_method=pass_all
5737   ;;
5738
5739 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5740   lt_cv_deplibs_check_method=pass_all
5741   ;;
5742
5743 sysv4 | sysv4.3*)
5744   case $host_vendor in
5745   motorola)
5746     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]'
5747     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5748     ;;
5749   ncr)
5750     lt_cv_deplibs_check_method=pass_all
5751     ;;
5752   sequent)
5753     lt_cv_file_magic_cmd='/bin/file'
5754     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5755     ;;
5756   sni)
5757     lt_cv_file_magic_cmd='/bin/file'
5758     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5759     lt_cv_file_magic_test_file=/lib/libc.so
5760     ;;
5761   siemens)
5762     lt_cv_deplibs_check_method=pass_all
5763     ;;
5764   pc)
5765     lt_cv_deplibs_check_method=pass_all
5766     ;;
5767   esac
5768   ;;
5769
5770 tpf*)
5771   lt_cv_deplibs_check_method=pass_all
5772   ;;
5773 esac
5774
5775 fi
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5777 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5778
5779 file_magic_glob=
5780 want_nocaseglob=no
5781 if test "$build" = "$host"; then
5782   case $host_os in
5783   mingw* | pw32*)
5784     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5785       want_nocaseglob=yes
5786     else
5787       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5788     fi
5789     ;;
5790   esac
5791 fi
5792
5793 file_magic_cmd=$lt_cv_file_magic_cmd
5794 deplibs_check_method=$lt_cv_deplibs_check_method
5795 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818 if test -n "$ac_tool_prefix"; then
5819   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_DLLTOOL+:} false; then :
5824   $as_echo_n "(cached) " >&6
5825 else
5826   if test -n "$DLLTOOL"; then
5827   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5831 do
5832   IFS=$as_save_IFS
5833   test -z "$as_dir" && as_dir=.
5834     for ac_exec_ext in '' $ac_executable_extensions; do
5835   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838     break 2
5839   fi
5840 done
5841   done
5842 IFS=$as_save_IFS
5843
5844 fi
5845 fi
5846 DLLTOOL=$ac_cv_prog_DLLTOOL
5847 if test -n "$DLLTOOL"; then
5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5849 $as_echo "$DLLTOOL" >&6; }
5850 else
5851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5853 fi
5854
5855
5856 fi
5857 if test -z "$ac_cv_prog_DLLTOOL"; then
5858   ac_ct_DLLTOOL=$DLLTOOL
5859   # Extract the first word of "dlltool", so it can be a program name with args.
5860 set dummy dlltool; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866   if test -n "$ac_ct_DLLTOOL"; then
5867   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5868 else
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in $PATH
5871 do
5872   IFS=$as_save_IFS
5873   test -z "$as_dir" && as_dir=.
5874     for ac_exec_ext in '' $ac_executable_extensions; do
5875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878     break 2
5879   fi
5880 done
5881   done
5882 IFS=$as_save_IFS
5883
5884 fi
5885 fi
5886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5887 if test -n "$ac_ct_DLLTOOL"; then
5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5889 $as_echo "$ac_ct_DLLTOOL" >&6; }
5890 else
5891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5893 fi
5894
5895   if test "x$ac_ct_DLLTOOL" = x; then
5896     DLLTOOL="false"
5897   else
5898     case $cross_compiling:$ac_tool_warned in
5899 yes:)
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5903 esac
5904     DLLTOOL=$ac_ct_DLLTOOL
5905   fi
5906 else
5907   DLLTOOL="$ac_cv_prog_DLLTOOL"
5908 fi
5909
5910 test -z "$DLLTOOL" && DLLTOOL=dlltool
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5922 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5923 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5924   $as_echo_n "(cached) " >&6
5925 else
5926   lt_cv_sharedlib_from_linklib_cmd='unknown'
5927
5928 case $host_os in
5929 cygwin* | mingw* | pw32* | cegcc*)
5930   # two different shell functions defined in ltmain.sh
5931   # decide which to use based on capabilities of $DLLTOOL
5932   case `$DLLTOOL --help 2>&1` in
5933   *--identify-strict*)
5934     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5935     ;;
5936   *)
5937     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5938     ;;
5939   esac
5940   ;;
5941 *)
5942   # fallback: assume linklib IS sharedlib
5943   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5944   ;;
5945 esac
5946
5947 fi
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5949 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5950 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5951 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5952
5953
5954
5955
5956
5957
5958
5959
5960 if test -n "$ac_tool_prefix"; then
5961   for ac_prog in ar
5962   do
5963     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_AR+:} false; then :
5968   $as_echo_n "(cached) " >&6
5969 else
5970   if test -n "$AR"; then
5971   ac_cv_prog_AR="$AR" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5975 do
5976   IFS=$as_save_IFS
5977   test -z "$as_dir" && as_dir=.
5978     for ac_exec_ext in '' $ac_executable_extensions; do
5979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5982     break 2
5983   fi
5984 done
5985   done
5986 IFS=$as_save_IFS
5987
5988 fi
5989 fi
5990 AR=$ac_cv_prog_AR
5991 if test -n "$AR"; then
5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5993 $as_echo "$AR" >&6; }
5994 else
5995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
5997 fi
5998
5999
6000     test -n "$AR" && break
6001   done
6002 fi
6003 if test -z "$AR"; then
6004   ac_ct_AR=$AR
6005   for ac_prog in ar
6006 do
6007   # Extract the first word of "$ac_prog", so it can be a program name with args.
6008 set dummy $ac_prog; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6012   $as_echo_n "(cached) " >&6
6013 else
6014   if test -n "$ac_ct_AR"; then
6015   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6016 else
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6019 do
6020   IFS=$as_save_IFS
6021   test -z "$as_dir" && as_dir=.
6022     for ac_exec_ext in '' $ac_executable_extensions; do
6023   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6024     ac_cv_prog_ac_ct_AR="$ac_prog"
6025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026     break 2
6027   fi
6028 done
6029   done
6030 IFS=$as_save_IFS
6031
6032 fi
6033 fi
6034 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6035 if test -n "$ac_ct_AR"; then
6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6037 $as_echo "$ac_ct_AR" >&6; }
6038 else
6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6041 fi
6042
6043
6044   test -n "$ac_ct_AR" && break
6045 done
6046
6047   if test "x$ac_ct_AR" = x; then
6048     AR="false"
6049   else
6050     case $cross_compiling:$ac_tool_warned in
6051 yes:)
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6055 esac
6056     AR=$ac_ct_AR
6057   fi
6058 fi
6059
6060 : ${AR=ar}
6061 : ${AR_FLAGS=cru}
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6074 $as_echo_n "checking for archiver @FILE support... " >&6; }
6075 if ${lt_cv_ar_at_file+:} false; then :
6076   $as_echo_n "(cached) " >&6
6077 else
6078   lt_cv_ar_at_file=no
6079    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h.  */
6081
6082 int
6083 main ()
6084 {
6085
6086   ;
6087   return 0;
6088 }
6089 _ACEOF
6090 if ac_fn_c_try_compile "$LINENO"; then :
6091   echo conftest.$ac_objext > conftest.lst
6092       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6093       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094   (eval $lt_ar_try) 2>&5
6095   ac_status=$?
6096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097   test $ac_status = 0; }
6098       if test "$ac_status" -eq 0; then
6099         # Ensure the archiver fails upon bogus file names.
6100         rm -f conftest.$ac_objext libconftest.a
6101         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6102   (eval $lt_ar_try) 2>&5
6103   ac_status=$?
6104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105   test $ac_status = 0; }
6106         if test "$ac_status" -ne 0; then
6107           lt_cv_ar_at_file=@
6108         fi
6109       fi
6110       rm -f conftest.* libconftest.a
6111
6112 fi
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114
6115 fi
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6117 $as_echo "$lt_cv_ar_at_file" >&6; }
6118
6119 if test "x$lt_cv_ar_at_file" = xno; then
6120   archiver_list_spec=
6121 else
6122   archiver_list_spec=$lt_cv_ar_at_file
6123 fi
6124
6125
6126
6127
6128
6129
6130
6131 if test -n "$ac_tool_prefix"; then
6132   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6133 set dummy ${ac_tool_prefix}strip; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if ${ac_cv_prog_STRIP+:} false; then :
6137   $as_echo_n "(cached) " >&6
6138 else
6139   if test -n "$STRIP"; then
6140   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6141 else
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 for as_dir in $PATH
6144 do
6145   IFS=$as_save_IFS
6146   test -z "$as_dir" && as_dir=.
6147     for ac_exec_ext in '' $ac_executable_extensions; do
6148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151     break 2
6152   fi
6153 done
6154   done
6155 IFS=$as_save_IFS
6156
6157 fi
6158 fi
6159 STRIP=$ac_cv_prog_STRIP
6160 if test -n "$STRIP"; then
6161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6162 $as_echo "$STRIP" >&6; }
6163 else
6164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6166 fi
6167
6168
6169 fi
6170 if test -z "$ac_cv_prog_STRIP"; then
6171   ac_ct_STRIP=$STRIP
6172   # Extract the first word of "strip", so it can be a program name with args.
6173 set dummy strip; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6177   $as_echo_n "(cached) " >&6
6178 else
6179   if test -n "$ac_ct_STRIP"; then
6180   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6184 do
6185   IFS=$as_save_IFS
6186   test -z "$as_dir" && as_dir=.
6187     for ac_exec_ext in '' $ac_executable_extensions; do
6188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189     ac_cv_prog_ac_ct_STRIP="strip"
6190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6191     break 2
6192   fi
6193 done
6194   done
6195 IFS=$as_save_IFS
6196
6197 fi
6198 fi
6199 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6200 if test -n "$ac_ct_STRIP"; then
6201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6202 $as_echo "$ac_ct_STRIP" >&6; }
6203 else
6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6206 fi
6207
6208   if test "x$ac_ct_STRIP" = x; then
6209     STRIP=":"
6210   else
6211     case $cross_compiling:$ac_tool_warned in
6212 yes:)
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6215 ac_tool_warned=yes ;;
6216 esac
6217     STRIP=$ac_ct_STRIP
6218   fi
6219 else
6220   STRIP="$ac_cv_prog_STRIP"
6221 fi
6222
6223 test -z "$STRIP" && STRIP=:
6224
6225
6226
6227
6228
6229
6230 if test -n "$ac_tool_prefix"; then
6231   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_RANLIB+:} false; then :
6236   $as_echo_n "(cached) " >&6
6237 else
6238   if test -n "$RANLIB"; then
6239   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6243 do
6244   IFS=$as_save_IFS
6245   test -z "$as_dir" && as_dir=.
6246     for ac_exec_ext in '' $ac_executable_extensions; do
6247   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250     break 2
6251   fi
6252 done
6253   done
6254 IFS=$as_save_IFS
6255
6256 fi
6257 fi
6258 RANLIB=$ac_cv_prog_RANLIB
6259 if test -n "$RANLIB"; then
6260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6261 $as_echo "$RANLIB" >&6; }
6262 else
6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6265 fi
6266
6267
6268 fi
6269 if test -z "$ac_cv_prog_RANLIB"; then
6270   ac_ct_RANLIB=$RANLIB
6271   # Extract the first word of "ranlib", so it can be a program name with args.
6272 set dummy ranlib; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 $as_echo_n "checking for $ac_word... " >&6; }
6275 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6276   $as_echo_n "(cached) " >&6
6277 else
6278   if test -n "$ac_ct_RANLIB"; then
6279   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6280 else
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH
6283 do
6284   IFS=$as_save_IFS
6285   test -z "$as_dir" && as_dir=.
6286     for ac_exec_ext in '' $ac_executable_extensions; do
6287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288     ac_cv_prog_ac_ct_RANLIB="ranlib"
6289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290     break 2
6291   fi
6292 done
6293   done
6294 IFS=$as_save_IFS
6295
6296 fi
6297 fi
6298 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6299 if test -n "$ac_ct_RANLIB"; then
6300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6301 $as_echo "$ac_ct_RANLIB" >&6; }
6302 else
6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6305 fi
6306
6307   if test "x$ac_ct_RANLIB" = x; then
6308     RANLIB=":"
6309   else
6310     case $cross_compiling:$ac_tool_warned in
6311 yes:)
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6314 ac_tool_warned=yes ;;
6315 esac
6316     RANLIB=$ac_ct_RANLIB
6317   fi
6318 else
6319   RANLIB="$ac_cv_prog_RANLIB"
6320 fi
6321
6322 test -z "$RANLIB" && RANLIB=:
6323
6324
6325
6326
6327
6328
6329 # Determine commands to create old-style static archives.
6330 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6331 old_postinstall_cmds='chmod 644 $oldlib'
6332 old_postuninstall_cmds=
6333
6334 if test -n "$RANLIB"; then
6335   case $host_os in
6336   openbsd*)
6337     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6338     ;;
6339   *)
6340     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6341     ;;
6342   esac
6343   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6344 fi
6345
6346 case $host_os in
6347   darwin*)
6348     lock_old_archive_extraction=yes ;;
6349   *)
6350     lock_old_archive_extraction=no ;;
6351 esac
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391 # If no C compiler was specified, use CC.
6392 LTCC=${LTCC-"$CC"}
6393
6394 # If no C compiler flags were specified, use CFLAGS.
6395 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6396
6397 # Allow CC to be a program name with arguments.
6398 compiler=$CC
6399
6400
6401 # Check for command to grab the raw symbol name followed by C symbol from nm.
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6403 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6404 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6405   $as_echo_n "(cached) " >&6
6406 else
6407
6408 # These are sane defaults that work on at least a few old systems.
6409 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6410
6411 # Character class describing NM global symbol codes.
6412 symcode='[BCDEGRST]'
6413
6414 # Regexp to match symbols that can be accessed directly from C.
6415 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6416
6417 # Define system-specific variables.
6418 case $host_os in
6419 aix*)
6420   symcode='[BCDT]'
6421   ;;
6422 cygwin* | mingw* | pw32* | cegcc*)
6423   symcode='[ABCDGISTW]'
6424   ;;
6425 hpux*)
6426   if test "$host_cpu" = ia64; then
6427     symcode='[ABCDEGRST]'
6428   fi
6429   ;;
6430 irix* | nonstopux*)
6431   symcode='[BCDEGRST]'
6432   ;;
6433 osf*)
6434   symcode='[BCDEGQRST]'
6435   ;;
6436 solaris*)
6437   symcode='[BDRT]'
6438   ;;
6439 sco3.2v5*)
6440   symcode='[DT]'
6441   ;;
6442 sysv4.2uw2*)
6443   symcode='[DT]'
6444   ;;
6445 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6446   symcode='[ABDT]'
6447   ;;
6448 sysv4)
6449   symcode='[DFNSTU]'
6450   ;;
6451 esac
6452
6453 # If we're using GNU nm, then use its standard symbol codes.
6454 case `$NM -V 2>&1` in
6455 *GNU* | *'with BFD'*)
6456   symcode='[ABCDGIRSTW]' ;;
6457 esac
6458
6459 # Transform an extracted symbol line into a proper C declaration.
6460 # Some systems (esp. on ia64) link data and code symbols differently,
6461 # so use this general approach.
6462 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6463
6464 # Transform an extracted symbol line into symbol name and symbol address
6465 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6466 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'"
6467
6468 # Handle CRLF in mingw tool chain
6469 opt_cr=
6470 case $build_os in
6471 mingw*)
6472   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6473   ;;
6474 esac
6475
6476 # Try without a prefix underscore, then with it.
6477 for ac_symprfx in "" "_"; do
6478
6479   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6480   symxfrm="\\1 $ac_symprfx\\2 \\2"
6481
6482   # Write the raw and C identifiers.
6483   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6484     # Fake it for dumpbin and say T for any non-static function
6485     # and D for any global variable.
6486     # Also find C++ and __fastcall symbols from MSVC++,
6487     # which start with @ or ?.
6488     lt_cv_sys_global_symbol_pipe="$AWK '"\
6489 "     {last_section=section; section=\$ 3};"\
6490 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6491 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6492 "     \$ 0!~/External *\|/{next};"\
6493 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6494 "     {if(hide[section]) next};"\
6495 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6496 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6497 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6498 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6499 "     ' prfx=^$ac_symprfx"
6500   else
6501     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6502   fi
6503   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6504
6505   # Check to see that the pipe works correctly.
6506   pipe_works=no
6507
6508   rm -f conftest*
6509   cat > conftest.$ac_ext <<_LT_EOF
6510 #ifdef __cplusplus
6511 extern "C" {
6512 #endif
6513 char nm_test_var;
6514 void nm_test_func(void);
6515 void nm_test_func(void){}
6516 #ifdef __cplusplus
6517 }
6518 #endif
6519 int main(){nm_test_var='a';nm_test_func();return(0);}
6520 _LT_EOF
6521
6522   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523   (eval $ac_compile) 2>&5
6524   ac_status=$?
6525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6526   test $ac_status = 0; }; then
6527     # Now try to grab the symbols.
6528     nlist=conftest.nm
6529     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6530   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6531   ac_status=$?
6532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533   test $ac_status = 0; } && test -s "$nlist"; then
6534       # Try sorting and uniquifying the output.
6535       if sort "$nlist" | uniq > "$nlist"T; then
6536         mv -f "$nlist"T "$nlist"
6537       else
6538         rm -f "$nlist"T
6539       fi
6540
6541       # Make sure that we snagged all the symbols we need.
6542       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6543         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6544           cat <<_LT_EOF > conftest.$ac_ext
6545 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6546 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6547 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6548    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6549 # define LT_DLSYM_CONST
6550 #elif defined(__osf__)
6551 /* This system does not cope well with relocations in const data.  */
6552 # define LT_DLSYM_CONST
6553 #else
6554 # define LT_DLSYM_CONST const
6555 #endif
6556
6557 #ifdef __cplusplus
6558 extern "C" {
6559 #endif
6560
6561 _LT_EOF
6562           # Now generate the symbol file.
6563           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6564
6565           cat <<_LT_EOF >> conftest.$ac_ext
6566
6567 /* The mapping between symbol names and symbols.  */
6568 LT_DLSYM_CONST struct {
6569   const char *name;
6570   void       *address;
6571 }
6572 lt__PROGRAM__LTX_preloaded_symbols[] =
6573 {
6574   { "@PROGRAM@", (void *) 0 },
6575 _LT_EOF
6576           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6577           cat <<\_LT_EOF >> conftest.$ac_ext
6578   {0, (void *) 0}
6579 };
6580
6581 /* This works around a problem in FreeBSD linker */
6582 #ifdef FREEBSD_WORKAROUND
6583 static const void *lt_preloaded_setup() {
6584   return lt__PROGRAM__LTX_preloaded_symbols;
6585 }
6586 #endif
6587
6588 #ifdef __cplusplus
6589 }
6590 #endif
6591 _LT_EOF
6592           # Now try linking the two files.
6593           mv conftest.$ac_objext conftstm.$ac_objext
6594           lt_globsym_save_LIBS=$LIBS
6595           lt_globsym_save_CFLAGS=$CFLAGS
6596           LIBS="conftstm.$ac_objext"
6597           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6598           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6599   (eval $ac_link) 2>&5
6600   ac_status=$?
6601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6603             pipe_works=yes
6604           fi
6605           LIBS=$lt_globsym_save_LIBS
6606           CFLAGS=$lt_globsym_save_CFLAGS
6607         else
6608           echo "cannot find nm_test_func in $nlist" >&5
6609         fi
6610       else
6611         echo "cannot find nm_test_var in $nlist" >&5
6612       fi
6613     else
6614       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6615     fi
6616   else
6617     echo "$progname: failed program was:" >&5
6618     cat conftest.$ac_ext >&5
6619   fi
6620   rm -rf conftest* conftst*
6621
6622   # Do not use the global_symbol_pipe unless it works.
6623   if test "$pipe_works" = yes; then
6624     break
6625   else
6626     lt_cv_sys_global_symbol_pipe=
6627   fi
6628 done
6629
6630 fi
6631
6632 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6633   lt_cv_sys_global_symbol_to_cdecl=
6634 fi
6635 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6637 $as_echo "failed" >&6; }
6638 else
6639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6640 $as_echo "ok" >&6; }
6641 fi
6642
6643 # Response file support.
6644 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6645   nm_file_list_spec='@'
6646 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6647   nm_file_list_spec='@'
6648 fi
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6677 $as_echo_n "checking for sysroot... " >&6; }
6678
6679 # Check whether --with-sysroot was given.
6680 if test "${with_sysroot+set}" = set; then :
6681   withval=$with_sysroot;
6682 else
6683   with_sysroot=no
6684 fi
6685
6686
6687 lt_sysroot=
6688 case ${with_sysroot} in #(
6689  yes)
6690    if test "$GCC" = yes; then
6691      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6692    fi
6693    ;; #(
6694  /*)
6695    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6696    ;; #(
6697  no|'')
6698    ;; #(
6699  *)
6700    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6701 $as_echo "${with_sysroot}" >&6; }
6702    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6703    ;;
6704 esac
6705
6706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6707 $as_echo "${lt_sysroot:-no}" >&6; }
6708
6709
6710
6711
6712
6713 # Check whether --enable-libtool-lock was given.
6714 if test "${enable_libtool_lock+set}" = set; then :
6715   enableval=$enable_libtool_lock;
6716 fi
6717
6718 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6719
6720 # Some flags need to be propagated to the compiler or linker for good
6721 # libtool support.
6722 case $host in
6723 ia64-*-hpux*)
6724   # Find out which ABI we are using.
6725   echo 'int i;' > conftest.$ac_ext
6726   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6727   (eval $ac_compile) 2>&5
6728   ac_status=$?
6729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6730   test $ac_status = 0; }; then
6731     case `/usr/bin/file conftest.$ac_objext` in
6732       *ELF-32*)
6733         HPUX_IA64_MODE="32"
6734         ;;
6735       *ELF-64*)
6736         HPUX_IA64_MODE="64"
6737         ;;
6738     esac
6739   fi
6740   rm -rf conftest*
6741   ;;
6742 *-*-irix6*)
6743   # Find out which ABI we are using.
6744   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6745   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6746   (eval $ac_compile) 2>&5
6747   ac_status=$?
6748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6749   test $ac_status = 0; }; then
6750     if test "$lt_cv_prog_gnu_ld" = yes; then
6751       case `/usr/bin/file conftest.$ac_objext` in
6752         *32-bit*)
6753           LD="${LD-ld} -melf32bsmip"
6754           ;;
6755         *N32*)
6756           LD="${LD-ld} -melf32bmipn32"
6757           ;;
6758         *64-bit*)
6759           LD="${LD-ld} -melf64bmip"
6760         ;;
6761       esac
6762     else
6763       case `/usr/bin/file conftest.$ac_objext` in
6764         *32-bit*)
6765           LD="${LD-ld} -32"
6766           ;;
6767         *N32*)
6768           LD="${LD-ld} -n32"
6769           ;;
6770         *64-bit*)
6771           LD="${LD-ld} -64"
6772           ;;
6773       esac
6774     fi
6775   fi
6776   rm -rf conftest*
6777   ;;
6778
6779 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6780 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6781   # Find out which ABI we are using.
6782   echo 'int i;' > conftest.$ac_ext
6783   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6784   (eval $ac_compile) 2>&5
6785   ac_status=$?
6786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6787   test $ac_status = 0; }; then
6788     case `/usr/bin/file conftest.o` in
6789       *32-bit*)
6790         case $host in
6791           x86_64-*kfreebsd*-gnu)
6792             LD="${LD-ld} -m elf_i386_fbsd"
6793             ;;
6794           x86_64-*linux*)
6795             LD="${LD-ld} -m elf_i386"
6796             ;;
6797           ppc64-*linux*|powerpc64-*linux*)
6798             LD="${LD-ld} -m elf32ppclinux"
6799             ;;
6800           s390x-*linux*)
6801             LD="${LD-ld} -m elf_s390"
6802             ;;
6803           sparc64-*linux*)
6804             LD="${LD-ld} -m elf32_sparc"
6805             ;;
6806         esac
6807         ;;
6808       *64-bit*)
6809         case $host in
6810           x86_64-*kfreebsd*-gnu)
6811             LD="${LD-ld} -m elf_x86_64_fbsd"
6812             ;;
6813           x86_64-*linux*)
6814             LD="${LD-ld} -m elf_x86_64"
6815             ;;
6816           ppc*-*linux*|powerpc*-*linux*)
6817             LD="${LD-ld} -m elf64ppc"
6818             ;;
6819           s390*-*linux*|s390*-*tpf*)
6820             LD="${LD-ld} -m elf64_s390"
6821             ;;
6822           sparc*-*linux*)
6823             LD="${LD-ld} -m elf64_sparc"
6824             ;;
6825         esac
6826         ;;
6827     esac
6828   fi
6829   rm -rf conftest*
6830   ;;
6831
6832 *-*-sco3.2v5*)
6833   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6834   SAVE_CFLAGS="$CFLAGS"
6835   CFLAGS="$CFLAGS -belf"
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6837 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6838 if ${lt_cv_cc_needs_belf+:} false; then :
6839   $as_echo_n "(cached) " >&6
6840 else
6841   ac_ext=c
6842 ac_cpp='$CPP $CPPFLAGS'
6843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6846
6847      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h.  */
6849
6850 int
6851 main ()
6852 {
6853
6854   ;
6855   return 0;
6856 }
6857 _ACEOF
6858 if ac_fn_c_try_link "$LINENO"; then :
6859   lt_cv_cc_needs_belf=yes
6860 else
6861   lt_cv_cc_needs_belf=no
6862 fi
6863 rm -f core conftest.err conftest.$ac_objext \
6864     conftest$ac_exeext conftest.$ac_ext
6865      ac_ext=c
6866 ac_cpp='$CPP $CPPFLAGS'
6867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6870
6871 fi
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6873 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6874   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6875     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6876     CFLAGS="$SAVE_CFLAGS"
6877   fi
6878   ;;
6879 *-*solaris*)
6880   # Find out which ABI we are using.
6881   echo 'int i;' > conftest.$ac_ext
6882   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6883   (eval $ac_compile) 2>&5
6884   ac_status=$?
6885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886   test $ac_status = 0; }; then
6887     case `/usr/bin/file conftest.o` in
6888     *64-bit*)
6889       case $lt_cv_prog_gnu_ld in
6890       yes*)
6891         case $host in
6892         i?86-*-solaris*)
6893           LD="${LD-ld} -m elf_x86_64"
6894           ;;
6895         sparc*-*-solaris*)
6896           LD="${LD-ld} -m elf64_sparc"
6897           ;;
6898         esac
6899         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6900         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6901           LD="${LD-ld}_sol2"
6902         fi
6903         ;;
6904       *)
6905         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6906           LD="${LD-ld} -64"
6907         fi
6908         ;;
6909       esac
6910       ;;
6911     esac
6912   fi
6913   rm -rf conftest*
6914   ;;
6915 esac
6916
6917 need_locks="$enable_libtool_lock"
6918
6919 if test -n "$ac_tool_prefix"; then
6920   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}mt; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6925   $as_echo_n "(cached) " >&6
6926 else
6927   if test -n "$MANIFEST_TOOL"; then
6928   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6929 else
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH
6932 do
6933   IFS=$as_save_IFS
6934   test -z "$as_dir" && as_dir=.
6935     for ac_exec_ext in '' $ac_executable_extensions; do
6936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939     break 2
6940   fi
6941 done
6942   done
6943 IFS=$as_save_IFS
6944
6945 fi
6946 fi
6947 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6948 if test -n "$MANIFEST_TOOL"; then
6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6950 $as_echo "$MANIFEST_TOOL" >&6; }
6951 else
6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6954 fi
6955
6956
6957 fi
6958 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6959   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6960   # Extract the first word of "mt", so it can be a program name with args.
6961 set dummy mt; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6965   $as_echo_n "(cached) " >&6
6966 else
6967   if test -n "$ac_ct_MANIFEST_TOOL"; then
6968   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6969 else
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in $PATH
6972 do
6973   IFS=$as_save_IFS
6974   test -z "$as_dir" && as_dir=.
6975     for ac_exec_ext in '' $ac_executable_extensions; do
6976   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979     break 2
6980   fi
6981 done
6982   done
6983 IFS=$as_save_IFS
6984
6985 fi
6986 fi
6987 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6988 if test -n "$ac_ct_MANIFEST_TOOL"; then
6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6990 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6991 else
6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6994 fi
6995
6996   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6997     MANIFEST_TOOL=":"
6998   else
6999     case $cross_compiling:$ac_tool_warned in
7000 yes:)
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7004 esac
7005     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7006   fi
7007 else
7008   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7009 fi
7010
7011 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7013 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7014 if ${lt_cv_path_mainfest_tool+:} false; then :
7015   $as_echo_n "(cached) " >&6
7016 else
7017   lt_cv_path_mainfest_tool=no
7018   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7019   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7020   cat conftest.err >&5
7021   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7022     lt_cv_path_mainfest_tool=yes
7023   fi
7024   rm -f conftest*
7025 fi
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7027 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7028 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7029   MANIFEST_TOOL=:
7030 fi
7031
7032
7033
7034
7035
7036
7037   case $host_os in
7038     rhapsody* | darwin*)
7039     if test -n "$ac_tool_prefix"; then
7040   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7045   $as_echo_n "(cached) " >&6
7046 else
7047   if test -n "$DSYMUTIL"; then
7048   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7052 do
7053   IFS=$as_save_IFS
7054   test -z "$as_dir" && as_dir=.
7055     for ac_exec_ext in '' $ac_executable_extensions; do
7056   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059     break 2
7060   fi
7061 done
7062   done
7063 IFS=$as_save_IFS
7064
7065 fi
7066 fi
7067 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7068 if test -n "$DSYMUTIL"; then
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7070 $as_echo "$DSYMUTIL" >&6; }
7071 else
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7074 fi
7075
7076
7077 fi
7078 if test -z "$ac_cv_prog_DSYMUTIL"; then
7079   ac_ct_DSYMUTIL=$DSYMUTIL
7080   # Extract the first word of "dsymutil", so it can be a program name with args.
7081 set dummy dsymutil; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7085   $as_echo_n "(cached) " >&6
7086 else
7087   if test -n "$ac_ct_DSYMUTIL"; then
7088   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7092 do
7093   IFS=$as_save_IFS
7094   test -z "$as_dir" && as_dir=.
7095     for ac_exec_ext in '' $ac_executable_extensions; do
7096   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099     break 2
7100   fi
7101 done
7102   done
7103 IFS=$as_save_IFS
7104
7105 fi
7106 fi
7107 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7108 if test -n "$ac_ct_DSYMUTIL"; then
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7110 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7111 else
7112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7114 fi
7115
7116   if test "x$ac_ct_DSYMUTIL" = x; then
7117     DSYMUTIL=":"
7118   else
7119     case $cross_compiling:$ac_tool_warned in
7120 yes:)
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7124 esac
7125     DSYMUTIL=$ac_ct_DSYMUTIL
7126   fi
7127 else
7128   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7129 fi
7130
7131     if test -n "$ac_tool_prefix"; then
7132   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_NMEDIT+:} false; then :
7137   $as_echo_n "(cached) " >&6
7138 else
7139   if test -n "$NMEDIT"; then
7140   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7141 else
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 for as_dir in $PATH
7144 do
7145   IFS=$as_save_IFS
7146   test -z "$as_dir" && as_dir=.
7147     for ac_exec_ext in '' $ac_executable_extensions; do
7148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151     break 2
7152   fi
7153 done
7154   done
7155 IFS=$as_save_IFS
7156
7157 fi
7158 fi
7159 NMEDIT=$ac_cv_prog_NMEDIT
7160 if test -n "$NMEDIT"; then
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7162 $as_echo "$NMEDIT" >&6; }
7163 else
7164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7166 fi
7167
7168
7169 fi
7170 if test -z "$ac_cv_prog_NMEDIT"; then
7171   ac_ct_NMEDIT=$NMEDIT
7172   # Extract the first word of "nmedit", so it can be a program name with args.
7173 set dummy nmedit; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7177   $as_echo_n "(cached) " >&6
7178 else
7179   if test -n "$ac_ct_NMEDIT"; then
7180   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7184 do
7185   IFS=$as_save_IFS
7186   test -z "$as_dir" && as_dir=.
7187     for ac_exec_ext in '' $ac_executable_extensions; do
7188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191     break 2
7192   fi
7193 done
7194   done
7195 IFS=$as_save_IFS
7196
7197 fi
7198 fi
7199 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7200 if test -n "$ac_ct_NMEDIT"; then
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7202 $as_echo "$ac_ct_NMEDIT" >&6; }
7203 else
7204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7206 fi
7207
7208   if test "x$ac_ct_NMEDIT" = x; then
7209     NMEDIT=":"
7210   else
7211     case $cross_compiling:$ac_tool_warned in
7212 yes:)
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned=yes ;;
7216 esac
7217     NMEDIT=$ac_ct_NMEDIT
7218   fi
7219 else
7220   NMEDIT="$ac_cv_prog_NMEDIT"
7221 fi
7222
7223     if test -n "$ac_tool_prefix"; then
7224   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7225 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_LIPO+:} false; then :
7229   $as_echo_n "(cached) " >&6
7230 else
7231   if test -n "$LIPO"; then
7232   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7236 do
7237   IFS=$as_save_IFS
7238   test -z "$as_dir" && as_dir=.
7239     for ac_exec_ext in '' $ac_executable_extensions; do
7240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243     break 2
7244   fi
7245 done
7246   done
7247 IFS=$as_save_IFS
7248
7249 fi
7250 fi
7251 LIPO=$ac_cv_prog_LIPO
7252 if test -n "$LIPO"; then
7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7254 $as_echo "$LIPO" >&6; }
7255 else
7256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7258 fi
7259
7260
7261 fi
7262 if test -z "$ac_cv_prog_LIPO"; then
7263   ac_ct_LIPO=$LIPO
7264   # Extract the first word of "lipo", so it can be a program name with args.
7265 set dummy lipo; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7269   $as_echo_n "(cached) " >&6
7270 else
7271   if test -n "$ac_ct_LIPO"; then
7272   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7273 else
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 for as_dir in $PATH
7276 do
7277   IFS=$as_save_IFS
7278   test -z "$as_dir" && as_dir=.
7279     for ac_exec_ext in '' $ac_executable_extensions; do
7280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281     ac_cv_prog_ac_ct_LIPO="lipo"
7282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283     break 2
7284   fi
7285 done
7286   done
7287 IFS=$as_save_IFS
7288
7289 fi
7290 fi
7291 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7292 if test -n "$ac_ct_LIPO"; then
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7294 $as_echo "$ac_ct_LIPO" >&6; }
7295 else
7296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7298 fi
7299
7300   if test "x$ac_ct_LIPO" = x; then
7301     LIPO=":"
7302   else
7303     case $cross_compiling:$ac_tool_warned in
7304 yes:)
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned=yes ;;
7308 esac
7309     LIPO=$ac_ct_LIPO
7310   fi
7311 else
7312   LIPO="$ac_cv_prog_LIPO"
7313 fi
7314
7315     if test -n "$ac_tool_prefix"; then
7316   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7317 set dummy ${ac_tool_prefix}otool; ac_word=$2
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 $as_echo_n "checking for $ac_word... " >&6; }
7320 if ${ac_cv_prog_OTOOL+:} false; then :
7321   $as_echo_n "(cached) " >&6
7322 else
7323   if test -n "$OTOOL"; then
7324   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7325 else
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 for as_dir in $PATH
7328 do
7329   IFS=$as_save_IFS
7330   test -z "$as_dir" && as_dir=.
7331     for ac_exec_ext in '' $ac_executable_extensions; do
7332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335     break 2
7336   fi
7337 done
7338   done
7339 IFS=$as_save_IFS
7340
7341 fi
7342 fi
7343 OTOOL=$ac_cv_prog_OTOOL
7344 if test -n "$OTOOL"; then
7345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7346 $as_echo "$OTOOL" >&6; }
7347 else
7348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 $as_echo "no" >&6; }
7350 fi
7351
7352
7353 fi
7354 if test -z "$ac_cv_prog_OTOOL"; then
7355   ac_ct_OTOOL=$OTOOL
7356   # Extract the first word of "otool", so it can be a program name with args.
7357 set dummy otool; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7361   $as_echo_n "(cached) " >&6
7362 else
7363   if test -n "$ac_ct_OTOOL"; then
7364   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7368 do
7369   IFS=$as_save_IFS
7370   test -z "$as_dir" && as_dir=.
7371     for ac_exec_ext in '' $ac_executable_extensions; do
7372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373     ac_cv_prog_ac_ct_OTOOL="otool"
7374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375     break 2
7376   fi
7377 done
7378   done
7379 IFS=$as_save_IFS
7380
7381 fi
7382 fi
7383 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7384 if test -n "$ac_ct_OTOOL"; then
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7386 $as_echo "$ac_ct_OTOOL" >&6; }
7387 else
7388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7390 fi
7391
7392   if test "x$ac_ct_OTOOL" = x; then
7393     OTOOL=":"
7394   else
7395     case $cross_compiling:$ac_tool_warned in
7396 yes:)
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399 ac_tool_warned=yes ;;
7400 esac
7401     OTOOL=$ac_ct_OTOOL
7402   fi
7403 else
7404   OTOOL="$ac_cv_prog_OTOOL"
7405 fi
7406
7407     if test -n "$ac_tool_prefix"; then
7408   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7409 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_OTOOL64+:} false; then :
7413   $as_echo_n "(cached) " >&6
7414 else
7415   if test -n "$OTOOL64"; then
7416   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7420 do
7421   IFS=$as_save_IFS
7422   test -z "$as_dir" && as_dir=.
7423     for ac_exec_ext in '' $ac_executable_extensions; do
7424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427     break 2
7428   fi
7429 done
7430   done
7431 IFS=$as_save_IFS
7432
7433 fi
7434 fi
7435 OTOOL64=$ac_cv_prog_OTOOL64
7436 if test -n "$OTOOL64"; then
7437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7438 $as_echo "$OTOOL64" >&6; }
7439 else
7440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7442 fi
7443
7444
7445 fi
7446 if test -z "$ac_cv_prog_OTOOL64"; then
7447   ac_ct_OTOOL64=$OTOOL64
7448   # Extract the first word of "otool64", so it can be a program name with args.
7449 set dummy otool64; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7453   $as_echo_n "(cached) " >&6
7454 else
7455   if test -n "$ac_ct_OTOOL64"; then
7456   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7457 else
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 for as_dir in $PATH
7460 do
7461   IFS=$as_save_IFS
7462   test -z "$as_dir" && as_dir=.
7463     for ac_exec_ext in '' $ac_executable_extensions; do
7464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465     ac_cv_prog_ac_ct_OTOOL64="otool64"
7466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467     break 2
7468   fi
7469 done
7470   done
7471 IFS=$as_save_IFS
7472
7473 fi
7474 fi
7475 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7476 if test -n "$ac_ct_OTOOL64"; then
7477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7478 $as_echo "$ac_ct_OTOOL64" >&6; }
7479 else
7480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7482 fi
7483
7484   if test "x$ac_ct_OTOOL64" = x; then
7485     OTOOL64=":"
7486   else
7487     case $cross_compiling:$ac_tool_warned in
7488 yes:)
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7491 ac_tool_warned=yes ;;
7492 esac
7493     OTOOL64=$ac_ct_OTOOL64
7494   fi
7495 else
7496   OTOOL64="$ac_cv_prog_OTOOL64"
7497 fi
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7526 $as_echo_n "checking for -single_module linker flag... " >&6; }
7527 if ${lt_cv_apple_cc_single_mod+:} false; then :
7528   $as_echo_n "(cached) " >&6
7529 else
7530   lt_cv_apple_cc_single_mod=no
7531       if test -z "${LT_MULTI_MODULE}"; then
7532         # By default we will add the -single_module flag. You can override
7533         # by either setting the environment variable LT_MULTI_MODULE
7534         # non-empty at configure time, or by adding -multi_module to the
7535         # link flags.
7536         rm -rf libconftest.dylib*
7537         echo "int foo(void){return 1;}" > conftest.c
7538         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7539 -dynamiclib -Wl,-single_module conftest.c" >&5
7540         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7541           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7542         _lt_result=$?
7543         # If there is a non-empty error log, and "single_module"
7544         # appears in it, assume the flag caused a linker warning
7545         if test -s conftest.err && $GREP single_module conftest.err; then
7546           cat conftest.err >&5
7547         # Otherwise, if the output was created with a 0 exit code from
7548         # the compiler, it worked.
7549         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7550           lt_cv_apple_cc_single_mod=yes
7551         else
7552           cat conftest.err >&5
7553         fi
7554         rm -rf libconftest.dylib*
7555         rm -f conftest.*
7556       fi
7557 fi
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7559 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7560
7561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7562 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7563 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   lt_cv_ld_exported_symbols_list=no
7567       save_LDFLAGS=$LDFLAGS
7568       echo "_main" > conftest.sym
7569       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h.  */
7572
7573 int
7574 main ()
7575 {
7576
7577   ;
7578   return 0;
7579 }
7580 _ACEOF
7581 if ac_fn_c_try_link "$LINENO"; then :
7582   lt_cv_ld_exported_symbols_list=yes
7583 else
7584   lt_cv_ld_exported_symbols_list=no
7585 fi
7586 rm -f core conftest.err conftest.$ac_objext \
7587     conftest$ac_exeext conftest.$ac_ext
7588         LDFLAGS="$save_LDFLAGS"
7589
7590 fi
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7592 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7593
7594     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7595 $as_echo_n "checking for -force_load linker flag... " >&6; }
7596 if ${lt_cv_ld_force_load+:} false; then :
7597   $as_echo_n "(cached) " >&6
7598 else
7599   lt_cv_ld_force_load=no
7600       cat > conftest.c << _LT_EOF
7601 int forced_loaded() { return 2;}
7602 _LT_EOF
7603       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7604       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7605       echo "$AR cru libconftest.a conftest.o" >&5
7606       $AR cru libconftest.a conftest.o 2>&5
7607       echo "$RANLIB libconftest.a" >&5
7608       $RANLIB libconftest.a 2>&5
7609       cat > conftest.c << _LT_EOF
7610 int main() { return 0;}
7611 _LT_EOF
7612       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7613       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7614       _lt_result=$?
7615       if test -s conftest.err && $GREP force_load conftest.err; then
7616         cat conftest.err >&5
7617       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7618         lt_cv_ld_force_load=yes
7619       else
7620         cat conftest.err >&5
7621       fi
7622         rm -f conftest.err libconftest.a conftest conftest.c
7623         rm -rf conftest.dSYM
7624
7625 fi
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7627 $as_echo "$lt_cv_ld_force_load" >&6; }
7628     case $host_os in
7629     rhapsody* | darwin1.[012])
7630       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7631     darwin1.*)
7632       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7633     darwin*) # darwin 5.x on
7634       # if running on 10.5 or later, the deployment target defaults
7635       # to the OS version, if on x86, and 10.4, the deployment
7636       # target defaults to 10.4. Don't you love it?
7637       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7638         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7639           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7640         10.[012]*)
7641           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7642         10.*)
7643           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7644       esac
7645     ;;
7646   esac
7647     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7648       _lt_dar_single_mod='$single_module'
7649     fi
7650     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7651       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7652     else
7653       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7654     fi
7655     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7656       _lt_dsymutil='~$DSYMUTIL $lib || :'
7657     else
7658       _lt_dsymutil=
7659     fi
7660     ;;
7661   esac
7662
7663 ac_ext=c
7664 ac_cpp='$CPP $CPPFLAGS'
7665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7669 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7670 # On Suns, sometimes $CPP names a directory.
7671 if test -n "$CPP" && test -d "$CPP"; then
7672   CPP=
7673 fi
7674 if test -z "$CPP"; then
7675   if ${ac_cv_prog_CPP+:} false; then :
7676   $as_echo_n "(cached) " >&6
7677 else
7678       # Double quotes because CPP needs to be expanded
7679     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7680     do
7681       ac_preproc_ok=false
7682 for ac_c_preproc_warn_flag in '' yes
7683 do
7684   # Use a header file that comes with gcc, so configuring glibc
7685   # with a fresh cross-compiler works.
7686   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7687   # <limits.h> exists even on freestanding compilers.
7688   # On the NeXT, cc -E runs the code through the compiler's parser,
7689   # not just through cpp. "Syntax error" is here to catch this case.
7690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h.  */
7692 #ifdef __STDC__
7693 # include <limits.h>
7694 #else
7695 # include <assert.h>
7696 #endif
7697                      Syntax error
7698 _ACEOF
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7700
7701 else
7702   # Broken: fails on valid input.
7703 continue
7704 fi
7705 rm -f conftest.err conftest.i conftest.$ac_ext
7706
7707   # OK, works on sane cases.  Now check whether nonexistent headers
7708   # can be detected and how.
7709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h.  */
7711 #include <ac_nonexistent.h>
7712 _ACEOF
7713 if ac_fn_c_try_cpp "$LINENO"; then :
7714   # Broken: success on invalid input.
7715 continue
7716 else
7717   # Passes both tests.
7718 ac_preproc_ok=:
7719 break
7720 fi
7721 rm -f conftest.err conftest.i conftest.$ac_ext
7722
7723 done
7724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7725 rm -f conftest.i conftest.err conftest.$ac_ext
7726 if $ac_preproc_ok; then :
7727   break
7728 fi
7729
7730     done
7731     ac_cv_prog_CPP=$CPP
7732
7733 fi
7734   CPP=$ac_cv_prog_CPP
7735 else
7736   ac_cv_prog_CPP=$CPP
7737 fi
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7739 $as_echo "$CPP" >&6; }
7740 ac_preproc_ok=false
7741 for ac_c_preproc_warn_flag in '' yes
7742 do
7743   # Use a header file that comes with gcc, so configuring glibc
7744   # with a fresh cross-compiler works.
7745   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7746   # <limits.h> exists even on freestanding compilers.
7747   # On the NeXT, cc -E runs the code through the compiler's parser,
7748   # not just through cpp. "Syntax error" is here to catch this case.
7749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h.  */
7751 #ifdef __STDC__
7752 # include <limits.h>
7753 #else
7754 # include <assert.h>
7755 #endif
7756                      Syntax error
7757 _ACEOF
7758 if ac_fn_c_try_cpp "$LINENO"; then :
7759
7760 else
7761   # Broken: fails on valid input.
7762 continue
7763 fi
7764 rm -f conftest.err conftest.i conftest.$ac_ext
7765
7766   # OK, works on sane cases.  Now check whether nonexistent headers
7767   # can be detected and how.
7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h.  */
7770 #include <ac_nonexistent.h>
7771 _ACEOF
7772 if ac_fn_c_try_cpp "$LINENO"; then :
7773   # Broken: success on invalid input.
7774 continue
7775 else
7776   # Passes both tests.
7777 ac_preproc_ok=:
7778 break
7779 fi
7780 rm -f conftest.err conftest.i conftest.$ac_ext
7781
7782 done
7783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7784 rm -f conftest.i conftest.err conftest.$ac_ext
7785 if $ac_preproc_ok; then :
7786
7787 else
7788   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7790 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7791 See \`config.log' for more details" "$LINENO" 5; }
7792 fi
7793
7794 ac_ext=c
7795 ac_cpp='$CPP $CPPFLAGS'
7796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7799
7800
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7802 $as_echo_n "checking for ANSI C header files... " >&6; }
7803 if ${ac_cv_header_stdc+:} false; then :
7804   $as_echo_n "(cached) " >&6
7805 else
7806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h.  */
7808 #include <stdlib.h>
7809 #include <stdarg.h>
7810 #include <string.h>
7811 #include <float.h>
7812
7813 int
7814 main ()
7815 {
7816
7817   ;
7818   return 0;
7819 }
7820 _ACEOF
7821 if ac_fn_c_try_compile "$LINENO"; then :
7822   ac_cv_header_stdc=yes
7823 else
7824   ac_cv_header_stdc=no
7825 fi
7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827
7828 if test $ac_cv_header_stdc = yes; then
7829   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h.  */
7832 #include <string.h>
7833
7834 _ACEOF
7835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7836   $EGREP "memchr" >/dev/null 2>&1; then :
7837
7838 else
7839   ac_cv_header_stdc=no
7840 fi
7841 rm -f conftest*
7842
7843 fi
7844
7845 if test $ac_cv_header_stdc = yes; then
7846   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h.  */
7849 #include <stdlib.h>
7850
7851 _ACEOF
7852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7853   $EGREP "free" >/dev/null 2>&1; then :
7854
7855 else
7856   ac_cv_header_stdc=no
7857 fi
7858 rm -f conftest*
7859
7860 fi
7861
7862 if test $ac_cv_header_stdc = yes; then
7863   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7864   if test "$cross_compiling" = yes; then :
7865   :
7866 else
7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h.  */
7869 #include <ctype.h>
7870 #include <stdlib.h>
7871 #if ((' ' & 0x0FF) == 0x020)
7872 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7873 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7874 #else
7875 # define ISLOWER(c) \
7876                    (('a' <= (c) && (c) <= 'i') \
7877                      || ('j' <= (c) && (c) <= 'r') \
7878                      || ('s' <= (c) && (c) <= 'z'))
7879 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7880 #endif
7881
7882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7883 int
7884 main ()
7885 {
7886   int i;
7887   for (i = 0; i < 256; i++)
7888     if (XOR (islower (i), ISLOWER (i))
7889         || toupper (i) != TOUPPER (i))
7890       return 2;
7891   return 0;
7892 }
7893 _ACEOF
7894 if ac_fn_c_try_run "$LINENO"; then :
7895
7896 else
7897   ac_cv_header_stdc=no
7898 fi
7899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7900   conftest.$ac_objext conftest.beam conftest.$ac_ext
7901 fi
7902
7903 fi
7904 fi
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7906 $as_echo "$ac_cv_header_stdc" >&6; }
7907 if test $ac_cv_header_stdc = yes; then
7908
7909 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7910
7911 fi
7912
7913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7915                   inttypes.h stdint.h unistd.h
7916 do :
7917   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7919 "
7920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7921   cat >>confdefs.h <<_ACEOF
7922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7923 _ACEOF
7924
7925 fi
7926
7927 done
7928
7929
7930 for ac_header in dlfcn.h
7931 do :
7932   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7933 "
7934 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7935   cat >>confdefs.h <<_ACEOF
7936 #define HAVE_DLFCN_H 1
7937 _ACEOF
7938
7939 fi
7940
7941 done
7942
7943
7944
7945
7946 func_stripname_cnf ()
7947 {
7948   case ${2} in
7949   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7950   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7951   esac
7952 } # func_stripname_cnf
7953
7954
7955
7956
7957
7958 # Set options
7959
7960
7961
7962         enable_dlopen=no
7963
7964
7965   enable_win32_dll=no
7966
7967
7968             # Check whether --enable-shared was given.
7969 if test "${enable_shared+set}" = set; then :
7970   enableval=$enable_shared; p=${PACKAGE-default}
7971     case $enableval in
7972     yes) enable_shared=yes ;;
7973     no) enable_shared=no ;;
7974     *)
7975       enable_shared=no
7976       # Look at the argument we got.  We use all the common list separators.
7977       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7978       for pkg in $enableval; do
7979         IFS="$lt_save_ifs"
7980         if test "X$pkg" = "X$p"; then
7981           enable_shared=yes
7982         fi
7983       done
7984       IFS="$lt_save_ifs"
7985       ;;
7986     esac
7987 else
7988   enable_shared=yes
7989 fi
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999   # Check whether --enable-static was given.
8000 if test "${enable_static+set}" = set; then :
8001   enableval=$enable_static; p=${PACKAGE-default}
8002     case $enableval in
8003     yes) enable_static=yes ;;
8004     no) enable_static=no ;;
8005     *)
8006      enable_static=no
8007       # Look at the argument we got.  We use all the common list separators.
8008       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009       for pkg in $enableval; do
8010         IFS="$lt_save_ifs"
8011         if test "X$pkg" = "X$p"; then
8012           enable_static=yes
8013         fi
8014       done
8015       IFS="$lt_save_ifs"
8016       ;;
8017     esac
8018 else
8019   enable_static=yes
8020 fi
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031 # Check whether --with-pic was given.
8032 if test "${with_pic+set}" = set; then :
8033   withval=$with_pic; lt_p=${PACKAGE-default}
8034     case $withval in
8035     yes|no) pic_mode=$withval ;;
8036     *)
8037       pic_mode=default
8038       # Look at the argument we got.  We use all the common list separators.
8039       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8040       for lt_pkg in $withval; do
8041         IFS="$lt_save_ifs"
8042         if test "X$lt_pkg" = "X$lt_p"; then
8043           pic_mode=yes
8044         fi
8045       done
8046       IFS="$lt_save_ifs"
8047       ;;
8048     esac
8049 else
8050   pic_mode=default
8051 fi
8052
8053
8054 test -z "$pic_mode" && pic_mode=default
8055
8056
8057
8058
8059
8060
8061
8062   # Check whether --enable-fast-install was given.
8063 if test "${enable_fast_install+set}" = set; then :
8064   enableval=$enable_fast_install; p=${PACKAGE-default}
8065     case $enableval in
8066     yes) enable_fast_install=yes ;;
8067     no) enable_fast_install=no ;;
8068     *)
8069       enable_fast_install=no
8070       # Look at the argument we got.  We use all the common list separators.
8071       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8072       for pkg in $enableval; do
8073         IFS="$lt_save_ifs"
8074         if test "X$pkg" = "X$p"; then
8075           enable_fast_install=yes
8076         fi
8077       done
8078       IFS="$lt_save_ifs"
8079       ;;
8080     esac
8081 else
8082   enable_fast_install=yes
8083 fi
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095 # This can be used to rebuild libtool when needed
8096 LIBTOOL_DEPS="$ltmain"
8097
8098 # Always use our own libtool.
8099 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130 test -z "$LN_S" && LN_S="ln -s"
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145 if test -n "${ZSH_VERSION+set}" ; then
8146    setopt NO_GLOB_SUBST
8147 fi
8148
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8150 $as_echo_n "checking for objdir... " >&6; }
8151 if ${lt_cv_objdir+:} false; then :
8152   $as_echo_n "(cached) " >&6
8153 else
8154   rm -f .libs 2>/dev/null
8155 mkdir .libs 2>/dev/null
8156 if test -d .libs; then
8157   lt_cv_objdir=.libs
8158 else
8159   # MS-DOS does not allow filenames that begin with a dot.
8160   lt_cv_objdir=_libs
8161 fi
8162 rmdir .libs 2>/dev/null
8163 fi
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8165 $as_echo "$lt_cv_objdir" >&6; }
8166 objdir=$lt_cv_objdir
8167
8168
8169
8170
8171
8172 cat >>confdefs.h <<_ACEOF
8173 #define LT_OBJDIR "$lt_cv_objdir/"
8174 _ACEOF
8175
8176
8177
8178
8179 case $host_os in
8180 aix3*)
8181   # AIX sometimes has problems with the GCC collect2 program.  For some
8182   # reason, if we set the COLLECT_NAMES environment variable, the problems
8183   # vanish in a puff of smoke.
8184   if test "X${COLLECT_NAMES+set}" != Xset; then
8185     COLLECT_NAMES=
8186     export COLLECT_NAMES
8187   fi
8188   ;;
8189 esac
8190
8191 # Global variables:
8192 ofile=libtool
8193 can_build_shared=yes
8194
8195 # All known linkers require a `.a' archive for static linking (except MSVC,
8196 # which needs '.lib').
8197 libext=a
8198
8199 with_gnu_ld="$lt_cv_prog_gnu_ld"
8200
8201 old_CC="$CC"
8202 old_CFLAGS="$CFLAGS"
8203
8204 # Set sane defaults for various variables
8205 test -z "$CC" && CC=cc
8206 test -z "$LTCC" && LTCC=$CC
8207 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8208 test -z "$LD" && LD=ld
8209 test -z "$ac_objext" && ac_objext=o
8210
8211 for cc_temp in $compiler""; do
8212   case $cc_temp in
8213     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8214     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8215     \-*) ;;
8216     *) break;;
8217   esac
8218 done
8219 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8220
8221
8222 # Only perform the check for file, if the check method requires it
8223 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8224 case $deplibs_check_method in
8225 file_magic*)
8226   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8228 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8229 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8230   $as_echo_n "(cached) " >&6
8231 else
8232   case $MAGIC_CMD in
8233 [\\/*] |  ?:[\\/]*)
8234   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8235   ;;
8236 *)
8237   lt_save_MAGIC_CMD="$MAGIC_CMD"
8238   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8239   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8240   for ac_dir in $ac_dummy; do
8241     IFS="$lt_save_ifs"
8242     test -z "$ac_dir" && ac_dir=.
8243     if test -f $ac_dir/${ac_tool_prefix}file; then
8244       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8245       if test -n "$file_magic_test_file"; then
8246         case $deplibs_check_method in
8247         "file_magic "*)
8248           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8249           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8250           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8251             $EGREP "$file_magic_regex" > /dev/null; then
8252             :
8253           else
8254             cat <<_LT_EOF 1>&2
8255
8256 *** Warning: the command libtool uses to detect shared libraries,
8257 *** $file_magic_cmd, produces output that libtool cannot recognize.
8258 *** The result is that libtool may fail to recognize shared libraries
8259 *** as such.  This will affect the creation of libtool libraries that
8260 *** depend on shared libraries, but programs linked with such libtool
8261 *** libraries will work regardless of this problem.  Nevertheless, you
8262 *** may want to report the problem to your system manager and/or to
8263 *** bug-libtool@gnu.org
8264
8265 _LT_EOF
8266           fi ;;
8267         esac
8268       fi
8269       break
8270     fi
8271   done
8272   IFS="$lt_save_ifs"
8273   MAGIC_CMD="$lt_save_MAGIC_CMD"
8274   ;;
8275 esac
8276 fi
8277
8278 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8279 if test -n "$MAGIC_CMD"; then
8280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8281 $as_echo "$MAGIC_CMD" >&6; }
8282 else
8283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8285 fi
8286
8287
8288
8289
8290
8291 if test -z "$lt_cv_path_MAGIC_CMD"; then
8292   if test -n "$ac_tool_prefix"; then
8293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8294 $as_echo_n "checking for file... " >&6; }
8295 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8296   $as_echo_n "(cached) " >&6
8297 else
8298   case $MAGIC_CMD in
8299 [\\/*] |  ?:[\\/]*)
8300   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8301   ;;
8302 *)
8303   lt_save_MAGIC_CMD="$MAGIC_CMD"
8304   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8305   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8306   for ac_dir in $ac_dummy; do
8307     IFS="$lt_save_ifs"
8308     test -z "$ac_dir" && ac_dir=.
8309     if test -f $ac_dir/file; then
8310       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8311       if test -n "$file_magic_test_file"; then
8312         case $deplibs_check_method in
8313         "file_magic "*)
8314           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8315           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8317             $EGREP "$file_magic_regex" > /dev/null; then
8318             :
8319           else
8320             cat <<_LT_EOF 1>&2
8321
8322 *** Warning: the command libtool uses to detect shared libraries,
8323 *** $file_magic_cmd, produces output that libtool cannot recognize.
8324 *** The result is that libtool may fail to recognize shared libraries
8325 *** as such.  This will affect the creation of libtool libraries that
8326 *** depend on shared libraries, but programs linked with such libtool
8327 *** libraries will work regardless of this problem.  Nevertheless, you
8328 *** may want to report the problem to your system manager and/or to
8329 *** bug-libtool@gnu.org
8330
8331 _LT_EOF
8332           fi ;;
8333         esac
8334       fi
8335       break
8336     fi
8337   done
8338   IFS="$lt_save_ifs"
8339   MAGIC_CMD="$lt_save_MAGIC_CMD"
8340   ;;
8341 esac
8342 fi
8343
8344 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8345 if test -n "$MAGIC_CMD"; then
8346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8347 $as_echo "$MAGIC_CMD" >&6; }
8348 else
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8351 fi
8352
8353
8354   else
8355     MAGIC_CMD=:
8356   fi
8357 fi
8358
8359   fi
8360   ;;
8361 esac
8362
8363 # Use C for the default configuration in the libtool script
8364
8365 lt_save_CC="$CC"
8366 ac_ext=c
8367 ac_cpp='$CPP $CPPFLAGS'
8368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8371
8372
8373 # Source file extension for C test sources.
8374 ac_ext=c
8375
8376 # Object file extension for compiled C test sources.
8377 objext=o
8378 objext=$objext
8379
8380 # Code to be used in simple compile tests
8381 lt_simple_compile_test_code="int some_variable = 0;"
8382
8383 # Code to be used in simple link tests
8384 lt_simple_link_test_code='int main(){return(0);}'
8385
8386
8387
8388
8389
8390
8391
8392 # If no C compiler was specified, use CC.
8393 LTCC=${LTCC-"$CC"}
8394
8395 # If no C compiler flags were specified, use CFLAGS.
8396 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8397
8398 # Allow CC to be a program name with arguments.
8399 compiler=$CC
8400
8401 # Save the default compiler, since it gets overwritten when the other
8402 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8403 compiler_DEFAULT=$CC
8404
8405 # save warnings/boilerplate of simple test code
8406 ac_outfile=conftest.$ac_objext
8407 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8408 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8409 _lt_compiler_boilerplate=`cat conftest.err`
8410 $RM conftest*
8411
8412 ac_outfile=conftest.$ac_objext
8413 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8414 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8415 _lt_linker_boilerplate=`cat conftest.err`
8416 $RM -r conftest*
8417
8418
8419 ## CAVEAT EMPTOR:
8420 ## There is no encapsulation within the following macros, do not change
8421 ## the running order or otherwise move them around unless you know exactly
8422 ## what you are doing...
8423 if test -n "$compiler"; then
8424
8425 lt_prog_compiler_no_builtin_flag=
8426
8427 if test "$GCC" = yes; then
8428   case $cc_basename in
8429   nvcc*)
8430     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8431   *)
8432     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8433   esac
8434
8435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8436 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8437 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8438   $as_echo_n "(cached) " >&6
8439 else
8440   lt_cv_prog_compiler_rtti_exceptions=no
8441    ac_outfile=conftest.$ac_objext
8442    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8443    lt_compiler_flag="-fno-rtti -fno-exceptions"
8444    # Insert the option either (1) after the last *FLAGS variable, or
8445    # (2) before a word containing "conftest.", or (3) at the end.
8446    # Note that $ac_compile itself does not contain backslashes and begins
8447    # with a dollar sign (not a hyphen), so the echo should work correctly.
8448    # The option is referenced via a variable to avoid confusing sed.
8449    lt_compile=`echo "$ac_compile" | $SED \
8450    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8451    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8452    -e 's:$: $lt_compiler_flag:'`
8453    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8454    (eval "$lt_compile" 2>conftest.err)
8455    ac_status=$?
8456    cat conftest.err >&5
8457    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458    if (exit $ac_status) && test -s "$ac_outfile"; then
8459      # The compiler can only warn and ignore the option if not recognized
8460      # So say no if there are warnings other than the usual output.
8461      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8462      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8463      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8464        lt_cv_prog_compiler_rtti_exceptions=yes
8465      fi
8466    fi
8467    $RM conftest*
8468
8469 fi
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8471 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8472
8473 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8474     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8475 else
8476     :
8477 fi
8478
8479 fi
8480
8481
8482
8483
8484
8485
8486   lt_prog_compiler_wl=
8487 lt_prog_compiler_pic=
8488 lt_prog_compiler_static=
8489
8490
8491   if test "$GCC" = yes; then
8492     lt_prog_compiler_wl='-Wl,'
8493     lt_prog_compiler_static='-static'
8494
8495     case $host_os in
8496       aix*)
8497       # All AIX code is PIC.
8498       if test "$host_cpu" = ia64; then
8499         # AIX 5 now supports IA64 processor
8500         lt_prog_compiler_static='-Bstatic'
8501       fi
8502       ;;
8503
8504     amigaos*)
8505       case $host_cpu in
8506       powerpc)
8507             # see comment about AmigaOS4 .so support
8508             lt_prog_compiler_pic='-fPIC'
8509         ;;
8510       m68k)
8511             # FIXME: we need at least 68020 code to build shared libraries, but
8512             # adding the `-m68020' flag to GCC prevents building anything better,
8513             # like `-m68040'.
8514             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8515         ;;
8516       esac
8517       ;;
8518
8519     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8520       # PIC is the default for these OSes.
8521       ;;
8522
8523     mingw* | cygwin* | pw32* | os2* | cegcc*)
8524       # This hack is so that the source file can tell whether it is being
8525       # built for inclusion in a dll (and should export symbols for example).
8526       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8527       # (--disable-auto-import) libraries
8528       lt_prog_compiler_pic='-DDLL_EXPORT'
8529       ;;
8530
8531     darwin* | rhapsody*)
8532       # PIC is the default on this platform
8533       # Common symbols not allowed in MH_DYLIB files
8534       lt_prog_compiler_pic='-fno-common'
8535       ;;
8536
8537     haiku*)
8538       # PIC is the default for Haiku.
8539       # The "-static" flag exists, but is broken.
8540       lt_prog_compiler_static=
8541       ;;
8542
8543     hpux*)
8544       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8545       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8546       # sets the default TLS model and affects inlining.
8547       case $host_cpu in
8548       hppa*64*)
8549         # +Z the default
8550         ;;
8551       *)
8552         lt_prog_compiler_pic='-fPIC'
8553         ;;
8554       esac
8555       ;;
8556
8557     interix[3-9]*)
8558       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8559       # Instead, we relocate shared libraries at runtime.
8560       ;;
8561
8562     msdosdjgpp*)
8563       # Just because we use GCC doesn't mean we suddenly get shared libraries
8564       # on systems that don't support them.
8565       lt_prog_compiler_can_build_shared=no
8566       enable_shared=no
8567       ;;
8568
8569     *nto* | *qnx*)
8570       # QNX uses GNU C++, but need to define -shared option too, otherwise
8571       # it will coredump.
8572       lt_prog_compiler_pic='-fPIC -shared'
8573       ;;
8574
8575     sysv4*MP*)
8576       if test -d /usr/nec; then
8577         lt_prog_compiler_pic=-Kconform_pic
8578       fi
8579       ;;
8580
8581     *)
8582       lt_prog_compiler_pic='-fPIC'
8583       ;;
8584     esac
8585
8586     case $cc_basename in
8587     nvcc*) # Cuda Compiler Driver 2.2
8588       lt_prog_compiler_wl='-Xlinker '
8589       if test -n "$lt_prog_compiler_pic"; then
8590         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8591       fi
8592       ;;
8593     esac
8594   else
8595     # PORTME Check for flag to pass linker flags through the system compiler.
8596     case $host_os in
8597     aix*)
8598       lt_prog_compiler_wl='-Wl,'
8599       if test "$host_cpu" = ia64; then
8600         # AIX 5 now supports IA64 processor
8601         lt_prog_compiler_static='-Bstatic'
8602       else
8603         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8604       fi
8605       ;;
8606
8607     mingw* | cygwin* | pw32* | os2* | cegcc*)
8608       # This hack is so that the source file can tell whether it is being
8609       # built for inclusion in a dll (and should export symbols for example).
8610       lt_prog_compiler_pic='-DDLL_EXPORT'
8611       ;;
8612
8613     hpux9* | hpux10* | hpux11*)
8614       lt_prog_compiler_wl='-Wl,'
8615       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8616       # not for PA HP-UX.
8617       case $host_cpu in
8618       hppa*64*|ia64*)
8619         # +Z the default
8620         ;;
8621       *)
8622         lt_prog_compiler_pic='+Z'
8623         ;;
8624       esac
8625       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8626       lt_prog_compiler_static='${wl}-a ${wl}archive'
8627       ;;
8628
8629     irix5* | irix6* | nonstopux*)
8630       lt_prog_compiler_wl='-Wl,'
8631       # PIC (with -KPIC) is the default.
8632       lt_prog_compiler_static='-non_shared'
8633       ;;
8634
8635     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8636       case $cc_basename in
8637       # old Intel for x86_64 which still supported -KPIC.
8638       ecc*)
8639         lt_prog_compiler_wl='-Wl,'
8640         lt_prog_compiler_pic='-KPIC'
8641         lt_prog_compiler_static='-static'
8642         ;;
8643       # icc used to be incompatible with GCC.
8644       # ICC 10 doesn't accept -KPIC any more.
8645       icc* | ifort*)
8646         lt_prog_compiler_wl='-Wl,'
8647         lt_prog_compiler_pic='-fPIC'
8648         lt_prog_compiler_static='-static'
8649         ;;
8650       # Lahey Fortran 8.1.
8651       lf95*)
8652         lt_prog_compiler_wl='-Wl,'
8653         lt_prog_compiler_pic='--shared'
8654         lt_prog_compiler_static='--static'
8655         ;;
8656       nagfor*)
8657         # NAG Fortran compiler
8658         lt_prog_compiler_wl='-Wl,-Wl,,'
8659         lt_prog_compiler_pic='-PIC'
8660         lt_prog_compiler_static='-Bstatic'
8661         ;;
8662       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8663         # Portland Group compilers (*not* the Pentium gcc compiler,
8664         # which looks to be a dead project)
8665         lt_prog_compiler_wl='-Wl,'
8666         lt_prog_compiler_pic='-fpic'
8667         lt_prog_compiler_static='-Bstatic'
8668         ;;
8669       ccc*)
8670         lt_prog_compiler_wl='-Wl,'
8671         # All Alpha code is PIC.
8672         lt_prog_compiler_static='-non_shared'
8673         ;;
8674       xl* | bgxl* | bgf* | mpixl*)
8675         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8676         lt_prog_compiler_wl='-Wl,'
8677         lt_prog_compiler_pic='-qpic'
8678         lt_prog_compiler_static='-qstaticlink'
8679         ;;
8680       *)
8681         case `$CC -V 2>&1 | sed 5q` in
8682         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8683           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8684           lt_prog_compiler_pic='-KPIC'
8685           lt_prog_compiler_static='-Bstatic'
8686           lt_prog_compiler_wl=''
8687           ;;
8688         *Sun\ F* | *Sun*Fortran*)
8689           lt_prog_compiler_pic='-KPIC'
8690           lt_prog_compiler_static='-Bstatic'
8691           lt_prog_compiler_wl='-Qoption ld '
8692           ;;
8693         *Sun\ C*)
8694           # Sun C 5.9
8695           lt_prog_compiler_pic='-KPIC'
8696           lt_prog_compiler_static='-Bstatic'
8697           lt_prog_compiler_wl='-Wl,'
8698           ;;
8699         *Intel*\ [CF]*Compiler*)
8700           lt_prog_compiler_wl='-Wl,'
8701           lt_prog_compiler_pic='-fPIC'
8702           lt_prog_compiler_static='-static'
8703           ;;
8704         *Portland\ Group*)
8705           lt_prog_compiler_wl='-Wl,'
8706           lt_prog_compiler_pic='-fpic'
8707           lt_prog_compiler_static='-Bstatic'
8708           ;;
8709         esac
8710         ;;
8711       esac
8712       ;;
8713
8714     newsos6)
8715       lt_prog_compiler_pic='-KPIC'
8716       lt_prog_compiler_static='-Bstatic'
8717       ;;
8718
8719     *nto* | *qnx*)
8720       # QNX uses GNU C++, but need to define -shared option too, otherwise
8721       # it will coredump.
8722       lt_prog_compiler_pic='-fPIC -shared'
8723       ;;
8724
8725     osf3* | osf4* | osf5*)
8726       lt_prog_compiler_wl='-Wl,'
8727       # All OSF/1 code is PIC.
8728       lt_prog_compiler_static='-non_shared'
8729       ;;
8730
8731     rdos*)
8732       lt_prog_compiler_static='-non_shared'
8733       ;;
8734
8735     solaris*)
8736       lt_prog_compiler_pic='-KPIC'
8737       lt_prog_compiler_static='-Bstatic'
8738       case $cc_basename in
8739       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8740         lt_prog_compiler_wl='-Qoption ld ';;
8741       *)
8742         lt_prog_compiler_wl='-Wl,';;
8743       esac
8744       ;;
8745
8746     sunos4*)
8747       lt_prog_compiler_wl='-Qoption ld '
8748       lt_prog_compiler_pic='-PIC'
8749       lt_prog_compiler_static='-Bstatic'
8750       ;;
8751
8752     sysv4 | sysv4.2uw2* | sysv4.3*)
8753       lt_prog_compiler_wl='-Wl,'
8754       lt_prog_compiler_pic='-KPIC'
8755       lt_prog_compiler_static='-Bstatic'
8756       ;;
8757
8758     sysv4*MP*)
8759       if test -d /usr/nec ;then
8760         lt_prog_compiler_pic='-Kconform_pic'
8761         lt_prog_compiler_static='-Bstatic'
8762       fi
8763       ;;
8764
8765     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8766       lt_prog_compiler_wl='-Wl,'
8767       lt_prog_compiler_pic='-KPIC'
8768       lt_prog_compiler_static='-Bstatic'
8769       ;;
8770
8771     unicos*)
8772       lt_prog_compiler_wl='-Wl,'
8773       lt_prog_compiler_can_build_shared=no
8774       ;;
8775
8776     uts4*)
8777       lt_prog_compiler_pic='-pic'
8778       lt_prog_compiler_static='-Bstatic'
8779       ;;
8780
8781     *)
8782       lt_prog_compiler_can_build_shared=no
8783       ;;
8784     esac
8785   fi
8786
8787 case $host_os in
8788   # For platforms which do not support PIC, -DPIC is meaningless:
8789   *djgpp*)
8790     lt_prog_compiler_pic=
8791     ;;
8792   *)
8793     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8794     ;;
8795 esac
8796
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8798 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8799 if ${lt_cv_prog_compiler_pic+:} false; then :
8800   $as_echo_n "(cached) " >&6
8801 else
8802   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8803 fi
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8805 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8806 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8807
8808 #
8809 # Check to make sure the PIC flag actually works.
8810 #
8811 if test -n "$lt_prog_compiler_pic"; then
8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8813 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8814 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8815   $as_echo_n "(cached) " >&6
8816 else
8817   lt_cv_prog_compiler_pic_works=no
8818    ac_outfile=conftest.$ac_objext
8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8821    # Insert the option either (1) after the last *FLAGS variable, or
8822    # (2) before a word containing "conftest.", or (3) at the end.
8823    # Note that $ac_compile itself does not contain backslashes and begins
8824    # with a dollar sign (not a hyphen), so the echo should work correctly.
8825    # The option is referenced via a variable to avoid confusing sed.
8826    lt_compile=`echo "$ac_compile" | $SED \
8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829    -e 's:$: $lt_compiler_flag:'`
8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831    (eval "$lt_compile" 2>conftest.err)
8832    ac_status=$?
8833    cat conftest.err >&5
8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835    if (exit $ac_status) && test -s "$ac_outfile"; then
8836      # The compiler can only warn and ignore the option if not recognized
8837      # So say no if there are warnings other than the usual output.
8838      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8839      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8840      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8841        lt_cv_prog_compiler_pic_works=yes
8842      fi
8843    fi
8844    $RM conftest*
8845
8846 fi
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8848 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8849
8850 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8851     case $lt_prog_compiler_pic in
8852      "" | " "*) ;;
8853      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8854      esac
8855 else
8856     lt_prog_compiler_pic=
8857      lt_prog_compiler_can_build_shared=no
8858 fi
8859
8860 fi
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872 #
8873 # Check to make sure the static flag actually works.
8874 #
8875 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8877 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8878 if ${lt_cv_prog_compiler_static_works+:} false; then :
8879   $as_echo_n "(cached) " >&6
8880 else
8881   lt_cv_prog_compiler_static_works=no
8882    save_LDFLAGS="$LDFLAGS"
8883    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8884    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8885    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8886      # The linker can only warn and ignore the option if not recognized
8887      # So say no if there are warnings
8888      if test -s conftest.err; then
8889        # Append any errors to the config.log.
8890        cat conftest.err 1>&5
8891        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8892        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8893        if diff conftest.exp conftest.er2 >/dev/null; then
8894          lt_cv_prog_compiler_static_works=yes
8895        fi
8896      else
8897        lt_cv_prog_compiler_static_works=yes
8898      fi
8899    fi
8900    $RM -r conftest*
8901    LDFLAGS="$save_LDFLAGS"
8902
8903 fi
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8905 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8906
8907 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8908     :
8909 else
8910     lt_prog_compiler_static=
8911 fi
8912
8913
8914
8915
8916
8917
8918
8919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8921 if ${lt_cv_prog_compiler_c_o+:} false; then :
8922   $as_echo_n "(cached) " >&6
8923 else
8924   lt_cv_prog_compiler_c_o=no
8925    $RM -r conftest 2>/dev/null
8926    mkdir conftest
8927    cd conftest
8928    mkdir out
8929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930
8931    lt_compiler_flag="-o out/conftest2.$ac_objext"
8932    # Insert the option either (1) after the last *FLAGS variable, or
8933    # (2) before a word containing "conftest.", or (3) at the end.
8934    # Note that $ac_compile itself does not contain backslashes and begins
8935    # with a dollar sign (not a hyphen), so the echo should work correctly.
8936    lt_compile=`echo "$ac_compile" | $SED \
8937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939    -e 's:$: $lt_compiler_flag:'`
8940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8941    (eval "$lt_compile" 2>out/conftest.err)
8942    ac_status=$?
8943    cat out/conftest.err >&5
8944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8946    then
8947      # The compiler can only warn and ignore the option if not recognized
8948      # So say no if there are warnings
8949      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8950      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8951      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8952        lt_cv_prog_compiler_c_o=yes
8953      fi
8954    fi
8955    chmod u+w . 2>&5
8956    $RM conftest*
8957    # SGI C++ compiler will create directory out/ii_files/ for
8958    # template instantiation
8959    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8960    $RM out/* && rmdir out
8961    cd ..
8962    $RM -r conftest
8963    $RM conftest*
8964
8965 fi
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8968
8969
8970
8971
8972
8973
8974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8976 if ${lt_cv_prog_compiler_c_o+:} false; then :
8977   $as_echo_n "(cached) " >&6
8978 else
8979   lt_cv_prog_compiler_c_o=no
8980    $RM -r conftest 2>/dev/null
8981    mkdir conftest
8982    cd conftest
8983    mkdir out
8984    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8985
8986    lt_compiler_flag="-o out/conftest2.$ac_objext"
8987    # Insert the option either (1) after the last *FLAGS variable, or
8988    # (2) before a word containing "conftest.", or (3) at the end.
8989    # Note that $ac_compile itself does not contain backslashes and begins
8990    # with a dollar sign (not a hyphen), so the echo should work correctly.
8991    lt_compile=`echo "$ac_compile" | $SED \
8992    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8993    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8994    -e 's:$: $lt_compiler_flag:'`
8995    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8996    (eval "$lt_compile" 2>out/conftest.err)
8997    ac_status=$?
8998    cat out/conftest.err >&5
8999    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9001    then
9002      # The compiler can only warn and ignore the option if not recognized
9003      # So say no if there are warnings
9004      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9005      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9006      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9007        lt_cv_prog_compiler_c_o=yes
9008      fi
9009    fi
9010    chmod u+w . 2>&5
9011    $RM conftest*
9012    # SGI C++ compiler will create directory out/ii_files/ for
9013    # template instantiation
9014    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9015    $RM out/* && rmdir out
9016    cd ..
9017    $RM -r conftest
9018    $RM conftest*
9019
9020 fi
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9022 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9023
9024
9025
9026
9027 hard_links="nottested"
9028 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9029   # do not overwrite the value of need_locks provided by the user
9030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9031 $as_echo_n "checking if we can lock with hard links... " >&6; }
9032   hard_links=yes
9033   $RM conftest*
9034   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9035   touch conftest.a
9036   ln conftest.a conftest.b 2>&5 || hard_links=no
9037   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9039 $as_echo "$hard_links" >&6; }
9040   if test "$hard_links" = no; then
9041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9043     need_locks=warn
9044   fi
9045 else
9046   need_locks=no
9047 fi
9048
9049
9050
9051
9052
9053
9054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9056
9057   runpath_var=
9058   allow_undefined_flag=
9059   always_export_symbols=no
9060   archive_cmds=
9061   archive_expsym_cmds=
9062   compiler_needs_object=no
9063   enable_shared_with_static_runtimes=no
9064   export_dynamic_flag_spec=
9065   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9066   hardcode_automatic=no
9067   hardcode_direct=no
9068   hardcode_direct_absolute=no
9069   hardcode_libdir_flag_spec=
9070   hardcode_libdir_separator=
9071   hardcode_minus_L=no
9072   hardcode_shlibpath_var=unsupported
9073   inherit_rpath=no
9074   link_all_deplibs=unknown
9075   module_cmds=
9076   module_expsym_cmds=
9077   old_archive_from_new_cmds=
9078   old_archive_from_expsyms_cmds=
9079   thread_safe_flag_spec=
9080   whole_archive_flag_spec=
9081   # include_expsyms should be a list of space-separated symbols to be *always*
9082   # included in the symbol list
9083   include_expsyms=
9084   # exclude_expsyms can be an extended regexp of symbols to exclude
9085   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9086   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9087   # as well as any symbol that contains `d'.
9088   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9089   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9090   # platforms (ab)use it in PIC code, but their linkers get confused if
9091   # the symbol is explicitly referenced.  Since portable code cannot
9092   # rely on this symbol name, it's probably fine to never include it in
9093   # preloaded symbol tables.
9094   # Exclude shared library initialization/finalization symbols.
9095   extract_expsyms_cmds=
9096
9097   case $host_os in
9098   cygwin* | mingw* | pw32* | cegcc*)
9099     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9100     # When not using gcc, we currently assume that we are using
9101     # Microsoft Visual C++.
9102     if test "$GCC" != yes; then
9103       with_gnu_ld=no
9104     fi
9105     ;;
9106   interix*)
9107     # we just hope/assume this is gcc and not c89 (= MSVC++)
9108     with_gnu_ld=yes
9109     ;;
9110   openbsd*)
9111     with_gnu_ld=no
9112     ;;
9113   esac
9114
9115   ld_shlibs=yes
9116
9117   # On some targets, GNU ld is compatible enough with the native linker
9118   # that we're better off using the native interface for both.
9119   lt_use_gnu_ld_interface=no
9120   if test "$with_gnu_ld" = yes; then
9121     case $host_os in
9122       aix*)
9123         # The AIX port of GNU ld has always aspired to compatibility
9124         # with the native linker.  However, as the warning in the GNU ld
9125         # block says, versions before 2.19.5* couldn't really create working
9126         # shared libraries, regardless of the interface used.
9127         case `$LD -v 2>&1` in
9128           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9129           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9130           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9131           *)
9132             lt_use_gnu_ld_interface=yes
9133             ;;
9134         esac
9135         ;;
9136       *)
9137         lt_use_gnu_ld_interface=yes
9138         ;;
9139     esac
9140   fi
9141
9142   if test "$lt_use_gnu_ld_interface" = yes; then
9143     # If archive_cmds runs LD, not CC, wlarc should be empty
9144     wlarc='${wl}'
9145
9146     # Set some defaults for GNU ld with shared library support. These
9147     # are reset later if shared libraries are not supported. Putting them
9148     # here allows them to be overridden if necessary.
9149     runpath_var=LD_RUN_PATH
9150     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9151     export_dynamic_flag_spec='${wl}--export-dynamic'
9152     # ancient GNU ld didn't support --whole-archive et. al.
9153     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9154       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9155     else
9156       whole_archive_flag_spec=
9157     fi
9158     supports_anon_versioning=no
9159     case `$LD -v 2>&1` in
9160       *GNU\ gold*) supports_anon_versioning=yes ;;
9161       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9162       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9163       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9164       *\ 2.11.*) ;; # other 2.11 versions
9165       *) supports_anon_versioning=yes ;;
9166     esac
9167
9168     # See if GNU ld supports shared libraries.
9169     case $host_os in
9170     aix[3-9]*)
9171       # On AIX/PPC, the GNU linker is very broken
9172       if test "$host_cpu" != ia64; then
9173         ld_shlibs=no
9174         cat <<_LT_EOF 1>&2
9175
9176 *** Warning: the GNU linker, at least up to release 2.19, is reported
9177 *** to be unable to reliably create shared libraries on AIX.
9178 *** Therefore, libtool is disabling shared libraries support.  If you
9179 *** really care for shared libraries, you may want to install binutils
9180 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9181 *** You will then need to restart the configuration process.
9182
9183 _LT_EOF
9184       fi
9185       ;;
9186
9187     amigaos*)
9188       case $host_cpu in
9189       powerpc)
9190             # see comment about AmigaOS4 .so support
9191             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192             archive_expsym_cmds=''
9193         ;;
9194       m68k)
9195             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)'
9196             hardcode_libdir_flag_spec='-L$libdir'
9197             hardcode_minus_L=yes
9198         ;;
9199       esac
9200       ;;
9201
9202     beos*)
9203       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9204         allow_undefined_flag=unsupported
9205         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9206         # support --undefined.  This deserves some investigation.  FIXME
9207         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208       else
9209         ld_shlibs=no
9210       fi
9211       ;;
9212
9213     cygwin* | mingw* | pw32* | cegcc*)
9214       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9215       # as there is no search path for DLLs.
9216       hardcode_libdir_flag_spec='-L$libdir'
9217       export_dynamic_flag_spec='${wl}--export-all-symbols'
9218       allow_undefined_flag=unsupported
9219       always_export_symbols=no
9220       enable_shared_with_static_runtimes=yes
9221       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'
9222       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9223
9224       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9225         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226         # If the export-symbols file already is a .def file (1st line
9227         # is EXPORTS), use it as is; otherwise, prepend...
9228         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9229           cp $export_symbols $output_objdir/$soname.def;
9230         else
9231           echo EXPORTS > $output_objdir/$soname.def;
9232           cat $export_symbols >> $output_objdir/$soname.def;
9233         fi~
9234         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235       else
9236         ld_shlibs=no
9237       fi
9238       ;;
9239
9240     haiku*)
9241       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242       link_all_deplibs=yes
9243       ;;
9244
9245     interix[3-9]*)
9246       hardcode_direct=no
9247       hardcode_shlibpath_var=no
9248       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9249       export_dynamic_flag_spec='${wl}-E'
9250       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9251       # Instead, shared libraries are loaded at an image base (0x10000000 by
9252       # default) and relocated if they conflict, which is a slow very memory
9253       # consuming and fragmenting process.  To avoid this, we pick a random,
9254       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9255       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9256       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9257       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'
9258       ;;
9259
9260     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9261       tmp_diet=no
9262       if test "$host_os" = linux-dietlibc; then
9263         case $cc_basename in
9264           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9265         esac
9266       fi
9267       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9268          && test "$tmp_diet" = no
9269       then
9270         tmp_addflag=' $pic_flag'
9271         tmp_sharedflag='-shared'
9272         case $cc_basename,$host_cpu in
9273         pgcc*)                          # Portland Group C compiler
9274           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'
9275           tmp_addflag=' $pic_flag'
9276           ;;
9277         pgf77* | pgf90* | pgf95* | pgfortran*)
9278                                         # Portland Group f77 and f90 compilers
9279           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'
9280           tmp_addflag=' $pic_flag -Mnomain' ;;
9281         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9282           tmp_addflag=' -i_dynamic' ;;
9283         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9284           tmp_addflag=' -i_dynamic -nofor_main' ;;
9285         ifc* | ifort*)                  # Intel Fortran compiler
9286           tmp_addflag=' -nofor_main' ;;
9287         lf95*)                          # Lahey Fortran 8.1
9288           whole_archive_flag_spec=
9289           tmp_sharedflag='--shared' ;;
9290         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9291           tmp_sharedflag='-qmkshrobj'
9292           tmp_addflag= ;;
9293         nvcc*)  # Cuda Compiler Driver 2.2
9294           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'
9295           compiler_needs_object=yes
9296           ;;
9297         esac
9298         case `$CC -V 2>&1 | sed 5q` in
9299         *Sun\ C*)                       # Sun C 5.9
9300           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'
9301           compiler_needs_object=yes
9302           tmp_sharedflag='-G' ;;
9303         *Sun\ F*)                       # Sun Fortran 8.3
9304           tmp_sharedflag='-G' ;;
9305         esac
9306         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307
9308         if test "x$supports_anon_versioning" = xyes; then
9309           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9310             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9311             echo "local: *; };" >> $output_objdir/$libname.ver~
9312             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9313         fi
9314
9315         case $cc_basename in
9316         xlf* | bgf* | bgxlf* | mpixlf*)
9317           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9318           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9319           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9320           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9321           if test "x$supports_anon_versioning" = xyes; then
9322             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324               echo "local: *; };" >> $output_objdir/$libname.ver~
9325               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9326           fi
9327           ;;
9328         esac
9329       else
9330         ld_shlibs=no
9331       fi
9332       ;;
9333
9334     netbsd*)
9335       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9336         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9337         wlarc=
9338       else
9339         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9341       fi
9342       ;;
9343
9344     solaris*)
9345       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9346         ld_shlibs=no
9347         cat <<_LT_EOF 1>&2
9348
9349 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9350 *** create shared libraries on Solaris systems.  Therefore, libtool
9351 *** is disabling shared libraries support.  We urge you to upgrade GNU
9352 *** binutils to release 2.9.1 or newer.  Another option is to modify
9353 *** your PATH or compiler configuration so that the native linker is
9354 *** used, and then restart.
9355
9356 _LT_EOF
9357       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9358         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9360       else
9361         ld_shlibs=no
9362       fi
9363       ;;
9364
9365     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9366       case `$LD -v 2>&1` in
9367         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9368         ld_shlibs=no
9369         cat <<_LT_EOF 1>&2
9370
9371 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9372 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9373 *** is disabling shared libraries support.  We urge you to upgrade GNU
9374 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9375 *** your PATH or compiler configuration so that the native linker is
9376 *** used, and then restart.
9377
9378 _LT_EOF
9379         ;;
9380         *)
9381           # For security reasons, it is highly recommended that you always
9382           # use absolute paths for naming shared libraries, and exclude the
9383           # DT_RUNPATH tag from executables and libraries.  But doing so
9384           # requires that you compile everything twice, which is a pain.
9385           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389           else
9390             ld_shlibs=no
9391           fi
9392         ;;
9393       esac
9394       ;;
9395
9396     sunos4*)
9397       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9398       wlarc=
9399       hardcode_direct=yes
9400       hardcode_shlibpath_var=no
9401       ;;
9402
9403     *)
9404       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9405         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9407       else
9408         ld_shlibs=no
9409       fi
9410       ;;
9411     esac
9412
9413     if test "$ld_shlibs" = no; then
9414       runpath_var=
9415       hardcode_libdir_flag_spec=
9416       export_dynamic_flag_spec=
9417       whole_archive_flag_spec=
9418     fi
9419   else
9420     # PORTME fill in a description of your system's linker (not GNU ld)
9421     case $host_os in
9422     aix3*)
9423       allow_undefined_flag=unsupported
9424       always_export_symbols=yes
9425       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'
9426       # Note: this linker hardcodes the directories in LIBPATH if there
9427       # are no directories specified by -L.
9428       hardcode_minus_L=yes
9429       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9430         # Neither direct hardcoding nor static linking is supported with a
9431         # broken collect2.
9432         hardcode_direct=unsupported
9433       fi
9434       ;;
9435
9436     aix[4-9]*)
9437       if test "$host_cpu" = ia64; then
9438         # On IA64, the linker does run time linking by default, so we don't
9439         # have to do anything special.
9440         aix_use_runtimelinking=no
9441         exp_sym_flag='-Bexport'
9442         no_entry_flag=""
9443       else
9444         # If we're using GNU nm, then we don't want the "-C" option.
9445         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9446         # Also, AIX nm treats weak defined symbols like other global
9447         # defined symbols, whereas GNU nm marks them as "W".
9448         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9449           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'
9450         else
9451           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'
9452         fi
9453         aix_use_runtimelinking=no
9454
9455         # Test if we are trying to use run time linking or normal
9456         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9457         # need to do runtime linking.
9458         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9459           for ld_flag in $LDFLAGS; do
9460           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9461             aix_use_runtimelinking=yes
9462             break
9463           fi
9464           done
9465           ;;
9466         esac
9467
9468         exp_sym_flag='-bexport'
9469         no_entry_flag='-bnoentry'
9470       fi
9471
9472       # When large executables or shared objects are built, AIX ld can
9473       # have problems creating the table of contents.  If linking a library
9474       # or program results in "error TOC overflow" add -mminimal-toc to
9475       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9476       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9477
9478       archive_cmds=''
9479       hardcode_direct=yes
9480       hardcode_direct_absolute=yes
9481       hardcode_libdir_separator=':'
9482       link_all_deplibs=yes
9483       file_list_spec='${wl}-f,'
9484
9485       if test "$GCC" = yes; then
9486         case $host_os in aix4.[012]|aix4.[012].*)
9487         # We only want to do this on AIX 4.2 and lower, the check
9488         # below for broken collect2 doesn't work under 4.3+
9489           collect2name=`${CC} -print-prog-name=collect2`
9490           if test -f "$collect2name" &&
9491            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9492           then
9493           # We have reworked collect2
9494           :
9495           else
9496           # We have old collect2
9497           hardcode_direct=unsupported
9498           # It fails to find uninstalled libraries when the uninstalled
9499           # path is not listed in the libpath.  Setting hardcode_minus_L
9500           # to unsupported forces relinking
9501           hardcode_minus_L=yes
9502           hardcode_libdir_flag_spec='-L$libdir'
9503           hardcode_libdir_separator=
9504           fi
9505           ;;
9506         esac
9507         shared_flag='-shared'
9508         if test "$aix_use_runtimelinking" = yes; then
9509           shared_flag="$shared_flag "'${wl}-G'
9510         fi
9511       else
9512         # not using gcc
9513         if test "$host_cpu" = ia64; then
9514         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9515         # chokes on -Wl,-G. The following line is correct:
9516           shared_flag='-G'
9517         else
9518           if test "$aix_use_runtimelinking" = yes; then
9519             shared_flag='${wl}-G'
9520           else
9521             shared_flag='${wl}-bM:SRE'
9522           fi
9523         fi
9524       fi
9525
9526       export_dynamic_flag_spec='${wl}-bexpall'
9527       # It seems that -bexpall does not export symbols beginning with
9528       # underscore (_), so it is better to generate a list of symbols to export.
9529       always_export_symbols=yes
9530       if test "$aix_use_runtimelinking" = yes; then
9531         # Warning - without using the other runtime loading flags (-brtl),
9532         # -berok will link without error, but may produce a broken library.
9533         allow_undefined_flag='-berok'
9534         # Determine the default libpath from the value encoded in an
9535         # empty executable.
9536         if test "${lt_cv_aix_libpath+set}" = set; then
9537   aix_libpath=$lt_cv_aix_libpath
9538 else
9539   if ${lt_cv_aix_libpath_+:} false; then :
9540   $as_echo_n "(cached) " >&6
9541 else
9542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h.  */
9544
9545 int
9546 main ()
9547 {
9548
9549   ;
9550   return 0;
9551 }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554
9555   lt_aix_libpath_sed='
9556       /Import File Strings/,/^$/ {
9557           /^0/ {
9558               s/^0  *\([^ ]*\) *$/\1/
9559               p
9560           }
9561       }'
9562   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9563   # Check for a 64-bit object if we didn't find anything.
9564   if test -z "$lt_cv_aix_libpath_"; then
9565     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9566   fi
9567 fi
9568 rm -f core conftest.err conftest.$ac_objext \
9569     conftest$ac_exeext conftest.$ac_ext
9570   if test -z "$lt_cv_aix_libpath_"; then
9571     lt_cv_aix_libpath_="/usr/lib:/lib"
9572   fi
9573
9574 fi
9575
9576   aix_libpath=$lt_cv_aix_libpath_
9577 fi
9578
9579         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580         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"
9581       else
9582         if test "$host_cpu" = ia64; then
9583           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584           allow_undefined_flag="-z nodefs"
9585           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"
9586         else
9587          # Determine the default libpath from the value encoded in an
9588          # empty executable.
9589          if test "${lt_cv_aix_libpath+set}" = set; then
9590   aix_libpath=$lt_cv_aix_libpath
9591 else
9592   if ${lt_cv_aix_libpath_+:} false; then :
9593   $as_echo_n "(cached) " >&6
9594 else
9595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h.  */
9597
9598 int
9599 main ()
9600 {
9601
9602   ;
9603   return 0;
9604 }
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607
9608   lt_aix_libpath_sed='
9609       /Import File Strings/,/^$/ {
9610           /^0/ {
9611               s/^0  *\([^ ]*\) *$/\1/
9612               p
9613           }
9614       }'
9615   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616   # Check for a 64-bit object if we didn't find anything.
9617   if test -z "$lt_cv_aix_libpath_"; then
9618     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619   fi
9620 fi
9621 rm -f core conftest.err conftest.$ac_objext \
9622     conftest$ac_exeext conftest.$ac_ext
9623   if test -z "$lt_cv_aix_libpath_"; then
9624     lt_cv_aix_libpath_="/usr/lib:/lib"
9625   fi
9626
9627 fi
9628
9629   aix_libpath=$lt_cv_aix_libpath_
9630 fi
9631
9632          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9633           # Warning - without using the other run time loading flags,
9634           # -berok will link without error, but may produce a broken library.
9635           no_undefined_flag=' ${wl}-bernotok'
9636           allow_undefined_flag=' ${wl}-berok'
9637           if test "$with_gnu_ld" = yes; then
9638             # We only use this code for GNU lds that support --whole-archive.
9639             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9640           else
9641             # Exported symbols can be pulled into shared objects from archives
9642             whole_archive_flag_spec='$convenience'
9643           fi
9644           archive_cmds_need_lc=yes
9645           # This is similar to how AIX traditionally builds its shared libraries.
9646           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'
9647         fi
9648       fi
9649       ;;
9650
9651     amigaos*)
9652       case $host_cpu in
9653       powerpc)
9654             # see comment about AmigaOS4 .so support
9655             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9656             archive_expsym_cmds=''
9657         ;;
9658       m68k)
9659             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)'
9660             hardcode_libdir_flag_spec='-L$libdir'
9661             hardcode_minus_L=yes
9662         ;;
9663       esac
9664       ;;
9665
9666     bsdi[45]*)
9667       export_dynamic_flag_spec=-rdynamic
9668       ;;
9669
9670     cygwin* | mingw* | pw32* | cegcc*)
9671       # When not using gcc, we currently assume that we are using
9672       # Microsoft Visual C++.
9673       # hardcode_libdir_flag_spec is actually meaningless, as there is
9674       # no search path for DLLs.
9675       case $cc_basename in
9676       cl*)
9677         # Native MSVC
9678         hardcode_libdir_flag_spec=' '
9679         allow_undefined_flag=unsupported
9680         always_export_symbols=yes
9681         file_list_spec='@'
9682         # Tell ltmain to make .lib files, not .a files.
9683         libext=lib
9684         # Tell ltmain to make .dll files, not .so files.
9685         shrext_cmds=".dll"
9686         # FIXME: Setting linknames here is a bad hack.
9687         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9688         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9689             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9690           else
9691             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9692           fi~
9693           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9694           linknames='
9695         # The linker will not automatically build a static lib if we build a DLL.
9696         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9697         enable_shared_with_static_runtimes=yes
9698         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9699         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9700         # Don't use ranlib
9701         old_postinstall_cmds='chmod 644 $oldlib'
9702         postlink_cmds='lt_outputfile="@OUTPUT@"~
9703           lt_tool_outputfile="@TOOL_OUTPUT@"~
9704           case $lt_outputfile in
9705             *.exe|*.EXE) ;;
9706             *)
9707               lt_outputfile="$lt_outputfile.exe"
9708               lt_tool_outputfile="$lt_tool_outputfile.exe"
9709               ;;
9710           esac~
9711           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9712             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9713             $RM "$lt_outputfile.manifest";
9714           fi'
9715         ;;
9716       *)
9717         # Assume MSVC wrapper
9718         hardcode_libdir_flag_spec=' '
9719         allow_undefined_flag=unsupported
9720         # Tell ltmain to make .lib files, not .a files.
9721         libext=lib
9722         # Tell ltmain to make .dll files, not .so files.
9723         shrext_cmds=".dll"
9724         # FIXME: Setting linknames here is a bad hack.
9725         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9726         # The linker will automatically build a .lib file if we build a DLL.
9727         old_archive_from_new_cmds='true'
9728         # FIXME: Should let the user specify the lib program.
9729         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9730         enable_shared_with_static_runtimes=yes
9731         ;;
9732       esac
9733       ;;
9734
9735     darwin* | rhapsody*)
9736
9737
9738   archive_cmds_need_lc=no
9739   hardcode_direct=no
9740   hardcode_automatic=yes
9741   hardcode_shlibpath_var=unsupported
9742   if test "$lt_cv_ld_force_load" = "yes"; then
9743     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\"`'
9744
9745   else
9746     whole_archive_flag_spec=''
9747   fi
9748   link_all_deplibs=yes
9749   allow_undefined_flag="$_lt_dar_allow_undefined"
9750   case $cc_basename in
9751      ifort*) _lt_dar_can_shared=yes ;;
9752      *) _lt_dar_can_shared=$GCC ;;
9753   esac
9754   if test "$_lt_dar_can_shared" = "yes"; then
9755     output_verbose_link_cmd=func_echo_all
9756     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9757     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9758     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}"
9759     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}"
9760
9761   else
9762   ld_shlibs=no
9763   fi
9764
9765       ;;
9766
9767     dgux*)
9768       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769       hardcode_libdir_flag_spec='-L$libdir'
9770       hardcode_shlibpath_var=no
9771       ;;
9772
9773     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9774     # support.  Future versions do this automatically, but an explicit c++rt0.o
9775     # does not break anything, and helps significantly (at the cost of a little
9776     # extra space).
9777     freebsd2.2*)
9778       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9779       hardcode_libdir_flag_spec='-R$libdir'
9780       hardcode_direct=yes
9781       hardcode_shlibpath_var=no
9782       ;;
9783
9784     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9785     freebsd2.*)
9786       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9787       hardcode_direct=yes
9788       hardcode_minus_L=yes
9789       hardcode_shlibpath_var=no
9790       ;;
9791
9792     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9793     freebsd* | dragonfly*)
9794       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9795       hardcode_libdir_flag_spec='-R$libdir'
9796       hardcode_direct=yes
9797       hardcode_shlibpath_var=no
9798       ;;
9799
9800     hpux9*)
9801       if test "$GCC" = yes; then
9802         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'
9803       else
9804         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'
9805       fi
9806       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9807       hardcode_libdir_separator=:
9808       hardcode_direct=yes
9809
9810       # hardcode_minus_L: Not really in the search PATH,
9811       # but as the default location of the library.
9812       hardcode_minus_L=yes
9813       export_dynamic_flag_spec='${wl}-E'
9814       ;;
9815
9816     hpux10*)
9817       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9818         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819       else
9820         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9821       fi
9822       if test "$with_gnu_ld" = no; then
9823         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9824         hardcode_libdir_separator=:
9825         hardcode_direct=yes
9826         hardcode_direct_absolute=yes
9827         export_dynamic_flag_spec='${wl}-E'
9828         # hardcode_minus_L: Not really in the search PATH,
9829         # but as the default location of the library.
9830         hardcode_minus_L=yes
9831       fi
9832       ;;
9833
9834     hpux11*)
9835       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9836         case $host_cpu in
9837         hppa*64*)
9838           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9839           ;;
9840         ia64*)
9841           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9842           ;;
9843         *)
9844           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845           ;;
9846         esac
9847       else
9848         case $host_cpu in
9849         hppa*64*)
9850           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9851           ;;
9852         ia64*)
9853           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9854           ;;
9855         *)
9856
9857           # Older versions of the 11.00 compiler do not understand -b yet
9858           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9859           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9860 $as_echo_n "checking if $CC understands -b... " >&6; }
9861 if ${lt_cv_prog_compiler__b+:} false; then :
9862   $as_echo_n "(cached) " >&6
9863 else
9864   lt_cv_prog_compiler__b=no
9865    save_LDFLAGS="$LDFLAGS"
9866    LDFLAGS="$LDFLAGS -b"
9867    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9868    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9869      # The linker can only warn and ignore the option if not recognized
9870      # So say no if there are warnings
9871      if test -s conftest.err; then
9872        # Append any errors to the config.log.
9873        cat conftest.err 1>&5
9874        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9875        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9876        if diff conftest.exp conftest.er2 >/dev/null; then
9877          lt_cv_prog_compiler__b=yes
9878        fi
9879      else
9880        lt_cv_prog_compiler__b=yes
9881      fi
9882    fi
9883    $RM -r conftest*
9884    LDFLAGS="$save_LDFLAGS"
9885
9886 fi
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9888 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9889
9890 if test x"$lt_cv_prog_compiler__b" = xyes; then
9891     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9892 else
9893     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9894 fi
9895
9896           ;;
9897         esac
9898       fi
9899       if test "$with_gnu_ld" = no; then
9900         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9901         hardcode_libdir_separator=:
9902
9903         case $host_cpu in
9904         hppa*64*|ia64*)
9905           hardcode_direct=no
9906           hardcode_shlibpath_var=no
9907           ;;
9908         *)
9909           hardcode_direct=yes
9910           hardcode_direct_absolute=yes
9911           export_dynamic_flag_spec='${wl}-E'
9912
9913           # hardcode_minus_L: Not really in the search PATH,
9914           # but as the default location of the library.
9915           hardcode_minus_L=yes
9916           ;;
9917         esac
9918       fi
9919       ;;
9920
9921     irix5* | irix6* | nonstopux*)
9922       if test "$GCC" = yes; then
9923         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'
9924         # Try to use the -exported_symbol ld option, if it does not
9925         # work, assume that -exports_file does not work either and
9926         # implicitly export all symbols.
9927         # This should be the same for all languages, so no per-tag cache variable.
9928         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9929 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9930 if ${lt_cv_irix_exported_symbol+:} false; then :
9931   $as_echo_n "(cached) " >&6
9932 else
9933   save_LDFLAGS="$LDFLAGS"
9934            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9935            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h.  */
9937 int foo (void) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940   lt_cv_irix_exported_symbol=yes
9941 else
9942   lt_cv_irix_exported_symbol=no
9943 fi
9944 rm -f core conftest.err conftest.$ac_objext \
9945     conftest$ac_exeext conftest.$ac_ext
9946            LDFLAGS="$save_LDFLAGS"
9947 fi
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9949 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9950         if test "$lt_cv_irix_exported_symbol" = yes; then
9951           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'
9952         fi
9953       else
9954         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'
9955         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'
9956       fi
9957       archive_cmds_need_lc='no'
9958       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959       hardcode_libdir_separator=:
9960       inherit_rpath=yes
9961       link_all_deplibs=yes
9962       ;;
9963
9964     netbsd*)
9965       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9966         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9967       else
9968         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9969       fi
9970       hardcode_libdir_flag_spec='-R$libdir'
9971       hardcode_direct=yes
9972       hardcode_shlibpath_var=no
9973       ;;
9974
9975     newsos6)
9976       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9977       hardcode_direct=yes
9978       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979       hardcode_libdir_separator=:
9980       hardcode_shlibpath_var=no
9981       ;;
9982
9983     *nto* | *qnx*)
9984       ;;
9985
9986     openbsd*)
9987       if test -f /usr/libexec/ld.so; then
9988         hardcode_direct=yes
9989         hardcode_shlibpath_var=no
9990         hardcode_direct_absolute=yes
9991         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9992           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9993           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9994           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9995           export_dynamic_flag_spec='${wl}-E'
9996         else
9997           case $host_os in
9998            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9999              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10000              hardcode_libdir_flag_spec='-R$libdir'
10001              ;;
10002            *)
10003              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10004              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10005              ;;
10006           esac
10007         fi
10008       else
10009         ld_shlibs=no
10010       fi
10011       ;;
10012
10013     os2*)
10014       hardcode_libdir_flag_spec='-L$libdir'
10015       hardcode_minus_L=yes
10016       allow_undefined_flag=unsupported
10017       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'
10018       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10019       ;;
10020
10021     osf3*)
10022       if test "$GCC" = yes; then
10023         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10024         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'
10025       else
10026         allow_undefined_flag=' -expect_unresolved \*'
10027         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'
10028       fi
10029       archive_cmds_need_lc='no'
10030       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10031       hardcode_libdir_separator=:
10032       ;;
10033
10034     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10035       if test "$GCC" = yes; then
10036         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10037         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'
10038         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10039       else
10040         allow_undefined_flag=' -expect_unresolved \*'
10041         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'
10042         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~
10043         $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'
10044
10045         # Both c and cxx compiler support -rpath directly
10046         hardcode_libdir_flag_spec='-rpath $libdir'
10047       fi
10048       archive_cmds_need_lc='no'
10049       hardcode_libdir_separator=:
10050       ;;
10051
10052     solaris*)
10053       no_undefined_flag=' -z defs'
10054       if test "$GCC" = yes; then
10055         wlarc='${wl}'
10056         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10057         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10058           $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'
10059       else
10060         case `$CC -V 2>&1` in
10061         *"Compilers 5.0"*)
10062           wlarc=''
10063           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10065           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10066           ;;
10067         *)
10068           wlarc='${wl}'
10069           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10070           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10071           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10072           ;;
10073         esac
10074       fi
10075       hardcode_libdir_flag_spec='-R$libdir'
10076       hardcode_shlibpath_var=no
10077       case $host_os in
10078       solaris2.[0-5] | solaris2.[0-5].*) ;;
10079       *)
10080         # The compiler driver will combine and reorder linker options,
10081         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10082         # but is careful enough not to reorder.
10083         # Supported since Solaris 2.6 (maybe 2.5.1?)
10084         if test "$GCC" = yes; then
10085           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10086         else
10087           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10088         fi
10089         ;;
10090       esac
10091       link_all_deplibs=yes
10092       ;;
10093
10094     sunos4*)
10095       if test "x$host_vendor" = xsequent; then
10096         # Use $CC to link under sequent, because it throws in some extra .o
10097         # files that make .init and .fini sections work.
10098         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10099       else
10100         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10101       fi
10102       hardcode_libdir_flag_spec='-L$libdir'
10103       hardcode_direct=yes
10104       hardcode_minus_L=yes
10105       hardcode_shlibpath_var=no
10106       ;;
10107
10108     sysv4)
10109       case $host_vendor in
10110         sni)
10111           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10112           hardcode_direct=yes # is this really true???
10113         ;;
10114         siemens)
10115           ## LD is ld it makes a PLAMLIB
10116           ## CC just makes a GrossModule.
10117           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10118           reload_cmds='$CC -r -o $output$reload_objs'
10119           hardcode_direct=no
10120         ;;
10121         motorola)
10122           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10123           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10124         ;;
10125       esac
10126       runpath_var='LD_RUN_PATH'
10127       hardcode_shlibpath_var=no
10128       ;;
10129
10130     sysv4.3*)
10131       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132       hardcode_shlibpath_var=no
10133       export_dynamic_flag_spec='-Bexport'
10134       ;;
10135
10136     sysv4*MP*)
10137       if test -d /usr/nec; then
10138         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139         hardcode_shlibpath_var=no
10140         runpath_var=LD_RUN_PATH
10141         hardcode_runpath_var=yes
10142         ld_shlibs=yes
10143       fi
10144       ;;
10145
10146     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10147       no_undefined_flag='${wl}-z,text'
10148       archive_cmds_need_lc=no
10149       hardcode_shlibpath_var=no
10150       runpath_var='LD_RUN_PATH'
10151
10152       if test "$GCC" = yes; then
10153         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155       else
10156         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10157         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158       fi
10159       ;;
10160
10161     sysv5* | sco3.2v5* | sco5v6*)
10162       # Note: We can NOT use -z defs as we might desire, because we do not
10163       # link with -lc, and that would cause any symbols used from libc to
10164       # always be unresolved, which means just about no library would
10165       # ever link correctly.  If we're not using GNU ld we use -z text
10166       # though, which does catch some bad symbols but isn't as heavy-handed
10167       # as -z defs.
10168       no_undefined_flag='${wl}-z,text'
10169       allow_undefined_flag='${wl}-z,nodefs'
10170       archive_cmds_need_lc=no
10171       hardcode_shlibpath_var=no
10172       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10173       hardcode_libdir_separator=':'
10174       link_all_deplibs=yes
10175       export_dynamic_flag_spec='${wl}-Bexport'
10176       runpath_var='LD_RUN_PATH'
10177
10178       if test "$GCC" = yes; then
10179         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181       else
10182         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184       fi
10185       ;;
10186
10187     uts4*)
10188       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189       hardcode_libdir_flag_spec='-L$libdir'
10190       hardcode_shlibpath_var=no
10191       ;;
10192
10193     *)
10194       ld_shlibs=no
10195       ;;
10196     esac
10197
10198     if test x$host_vendor = xsni; then
10199       case $host in
10200       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10201         export_dynamic_flag_spec='${wl}-Blargedynsym'
10202         ;;
10203       esac
10204     fi
10205   fi
10206
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10208 $as_echo "$ld_shlibs" >&6; }
10209 test "$ld_shlibs" = no && can_build_shared=no
10210
10211 with_gnu_ld=$with_gnu_ld
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227 #
10228 # Do we need to explicitly link libc?
10229 #
10230 case "x$archive_cmds_need_lc" in
10231 x|xyes)
10232   # Assume -lc should be added
10233   archive_cmds_need_lc=yes
10234
10235   if test "$enable_shared" = yes && test "$GCC" = yes; then
10236     case $archive_cmds in
10237     *'~'*)
10238       # FIXME: we may have to deal with multi-command sequences.
10239       ;;
10240     '$CC '*)
10241       # Test whether the compiler implicitly links with -lc since on some
10242       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10243       # to ld, don't add -lc before -lgcc.
10244       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10245 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10246 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10247   $as_echo_n "(cached) " >&6
10248 else
10249   $RM conftest*
10250         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10251
10252         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10253   (eval $ac_compile) 2>&5
10254   ac_status=$?
10255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10256   test $ac_status = 0; } 2>conftest.err; then
10257           soname=conftest
10258           lib=conftest
10259           libobjs=conftest.$ac_objext
10260           deplibs=
10261           wl=$lt_prog_compiler_wl
10262           pic_flag=$lt_prog_compiler_pic
10263           compiler_flags=-v
10264           linker_flags=-v
10265           verstring=
10266           output_objdir=.
10267           libname=conftest
10268           lt_save_allow_undefined_flag=$allow_undefined_flag
10269           allow_undefined_flag=
10270           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10271   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10272   ac_status=$?
10273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10274   test $ac_status = 0; }
10275           then
10276             lt_cv_archive_cmds_need_lc=no
10277           else
10278             lt_cv_archive_cmds_need_lc=yes
10279           fi
10280           allow_undefined_flag=$lt_save_allow_undefined_flag
10281         else
10282           cat conftest.err 1>&5
10283         fi
10284         $RM conftest*
10285
10286 fi
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10288 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10289       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10290       ;;
10291     esac
10292   fi
10293   ;;
10294 esac
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10449
10450 if test "$GCC" = yes; then
10451   case $host_os in
10452     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10453     *) lt_awk_arg="/^libraries:/" ;;
10454   esac
10455   case $host_os in
10456     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10457     *) lt_sed_strip_eq="s,=/,/,g" ;;
10458   esac
10459   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10460   case $lt_search_path_spec in
10461   *\;*)
10462     # if the path contains ";" then we assume it to be the separator
10463     # otherwise default to the standard path separator (i.e. ":") - it is
10464     # assumed that no part of a normal pathname contains ";" but that should
10465     # okay in the real world where ";" in dirpaths is itself problematic.
10466     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10467     ;;
10468   *)
10469     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10470     ;;
10471   esac
10472   # Ok, now we have the path, separated by spaces, we can step through it
10473   # and add multilib dir if necessary.
10474   lt_tmp_lt_search_path_spec=
10475   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10476   for lt_sys_path in $lt_search_path_spec; do
10477     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10478       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10479     else
10480       test -d "$lt_sys_path" && \
10481         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10482     fi
10483   done
10484   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10485 BEGIN {RS=" "; FS="/|\n";} {
10486   lt_foo="";
10487   lt_count=0;
10488   for (lt_i = NF; lt_i > 0; lt_i--) {
10489     if ($lt_i != "" && $lt_i != ".") {
10490       if ($lt_i == "..") {
10491         lt_count++;
10492       } else {
10493         if (lt_count == 0) {
10494           lt_foo="/" $lt_i lt_foo;
10495         } else {
10496           lt_count--;
10497         }
10498       }
10499     }
10500   }
10501   if (lt_foo != "") { lt_freq[lt_foo]++; }
10502   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10503 }'`
10504   # AWK program above erroneously prepends '/' to C:/dos/paths
10505   # for these hosts.
10506   case $host_os in
10507     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10508       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10509   esac
10510   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10511 else
10512   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10513 fi
10514 library_names_spec=
10515 libname_spec='lib$name'
10516 soname_spec=
10517 shrext_cmds=".so"
10518 postinstall_cmds=
10519 postuninstall_cmds=
10520 finish_cmds=
10521 finish_eval=
10522 shlibpath_var=
10523 shlibpath_overrides_runpath=unknown
10524 version_type=none
10525 dynamic_linker="$host_os ld.so"
10526 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10527 need_lib_prefix=unknown
10528 hardcode_into_libs=no
10529
10530 # when you set need_version to no, make sure it does not cause -set_version
10531 # flags to be left without arguments
10532 need_version=unknown
10533
10534 case $host_os in
10535 aix3*)
10536   version_type=linux # correct to gnu/linux during the next big refactor
10537   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10538   shlibpath_var=LIBPATH
10539
10540   # AIX 3 has no versioning support, so we append a major version to the name.
10541   soname_spec='${libname}${release}${shared_ext}$major'
10542   ;;
10543
10544 aix[4-9]*)
10545   version_type=linux # correct to gnu/linux during the next big refactor
10546   need_lib_prefix=no
10547   need_version=no
10548   hardcode_into_libs=yes
10549   if test "$host_cpu" = ia64; then
10550     # AIX 5 supports IA64
10551     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10552     shlibpath_var=LD_LIBRARY_PATH
10553   else
10554     # With GCC up to 2.95.x, collect2 would create an import file
10555     # for dependence libraries.  The import file would start with
10556     # the line `#! .'.  This would cause the generated library to
10557     # depend on `.', always an invalid library.  This was fixed in
10558     # development snapshots of GCC prior to 3.0.
10559     case $host_os in
10560       aix4 | aix4.[01] | aix4.[01].*)
10561       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10562            echo ' yes '
10563            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10564         :
10565       else
10566         can_build_shared=no
10567       fi
10568       ;;
10569     esac
10570     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10571     # soname into executable. Probably we can add versioning support to
10572     # collect2, so additional links can be useful in future.
10573     if test "$aix_use_runtimelinking" = yes; then
10574       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10575       # instead of lib<name>.a to let people know that these are not
10576       # typical AIX shared libraries.
10577       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578     else
10579       # We preserve .a as extension for shared libraries through AIX4.2
10580       # and later when we are not doing run time linking.
10581       library_names_spec='${libname}${release}.a $libname.a'
10582       soname_spec='${libname}${release}${shared_ext}$major'
10583     fi
10584     shlibpath_var=LIBPATH
10585   fi
10586   ;;
10587
10588 amigaos*)
10589   case $host_cpu in
10590   powerpc)
10591     # Since July 2007 AmigaOS4 officially supports .so libraries.
10592     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594     ;;
10595   m68k)
10596     library_names_spec='$libname.ixlibrary $libname.a'
10597     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10598     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'
10599     ;;
10600   esac
10601   ;;
10602
10603 beos*)
10604   library_names_spec='${libname}${shared_ext}'
10605   dynamic_linker="$host_os ld.so"
10606   shlibpath_var=LIBRARY_PATH
10607   ;;
10608
10609 bsdi[45]*)
10610   version_type=linux # correct to gnu/linux during the next big refactor
10611   need_version=no
10612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613   soname_spec='${libname}${release}${shared_ext}$major'
10614   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10615   shlibpath_var=LD_LIBRARY_PATH
10616   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10617   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10618   # the default ld.so.conf also contains /usr/contrib/lib and
10619   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10620   # libtool to hard-code these into programs
10621   ;;
10622
10623 cygwin* | mingw* | pw32* | cegcc*)
10624   version_type=windows
10625   shrext_cmds=".dll"
10626   need_version=no
10627   need_lib_prefix=no
10628
10629   case $GCC,$cc_basename in
10630   yes,*)
10631     # gcc
10632     library_names_spec='$libname.dll.a'
10633     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10634     postinstall_cmds='base_file=`basename \${file}`~
10635       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10636       dldir=$destdir/`dirname \$dlpath`~
10637       test -d \$dldir || mkdir -p \$dldir~
10638       $install_prog $dir/$dlname \$dldir/$dlname~
10639       chmod a+x \$dldir/$dlname~
10640       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10641         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10642       fi'
10643     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10644       dlpath=$dir/\$dldll~
10645        $RM \$dlpath'
10646     shlibpath_overrides_runpath=yes
10647
10648     case $host_os in
10649     cygwin*)
10650       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10651       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652
10653       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10654       ;;
10655     mingw* | cegcc*)
10656       # MinGW DLLs use traditional 'lib' prefix
10657       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10658       ;;
10659     pw32*)
10660       # pw32 DLLs use 'pw' prefix rather than 'lib'
10661       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10662       ;;
10663     esac
10664     dynamic_linker='Win32 ld.exe'
10665     ;;
10666
10667   *,cl*)
10668     # Native MSVC
10669     libname_spec='$name'
10670     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671     library_names_spec='${libname}.dll.lib'
10672
10673     case $build_os in
10674     mingw*)
10675       sys_lib_search_path_spec=
10676       lt_save_ifs=$IFS
10677       IFS=';'
10678       for lt_path in $LIB
10679       do
10680         IFS=$lt_save_ifs
10681         # Let DOS variable expansion print the short 8.3 style file name.
10682         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10683         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10684       done
10685       IFS=$lt_save_ifs
10686       # Convert to MSYS style.
10687       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10688       ;;
10689     cygwin*)
10690       # Convert to unix form, then to dos form, then back to unix form
10691       # but this time dos style (no spaces!) so that the unix form looks
10692       # like /cygdrive/c/PROGRA~1:/cygdr...
10693       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10694       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10695       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10696       ;;
10697     *)
10698       sys_lib_search_path_spec="$LIB"
10699       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10700         # It is most probably a Windows format PATH.
10701         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10702       else
10703         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10704       fi
10705       # FIXME: find the short name or the path components, as spaces are
10706       # common. (e.g. "Program Files" -> "PROGRA~1")
10707       ;;
10708     esac
10709
10710     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10711     postinstall_cmds='base_file=`basename \${file}`~
10712       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10713       dldir=$destdir/`dirname \$dlpath`~
10714       test -d \$dldir || mkdir -p \$dldir~
10715       $install_prog $dir/$dlname \$dldir/$dlname'
10716     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10717       dlpath=$dir/\$dldll~
10718        $RM \$dlpath'
10719     shlibpath_overrides_runpath=yes
10720     dynamic_linker='Win32 link.exe'
10721     ;;
10722
10723   *)
10724     # Assume MSVC wrapper
10725     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10726     dynamic_linker='Win32 ld.exe'
10727     ;;
10728   esac
10729   # FIXME: first we should search . and the directory the executable is in
10730   shlibpath_var=PATH
10731   ;;
10732
10733 darwin* | rhapsody*)
10734   dynamic_linker="$host_os dyld"
10735   version_type=darwin
10736   need_lib_prefix=no
10737   need_version=no
10738   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10739   soname_spec='${libname}${release}${major}$shared_ext'
10740   shlibpath_overrides_runpath=yes
10741   shlibpath_var=DYLD_LIBRARY_PATH
10742   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10743
10744   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10745   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10746   ;;
10747
10748 dgux*)
10749   version_type=linux # correct to gnu/linux during the next big refactor
10750   need_lib_prefix=no
10751   need_version=no
10752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10753   soname_spec='${libname}${release}${shared_ext}$major'
10754   shlibpath_var=LD_LIBRARY_PATH
10755   ;;
10756
10757 freebsd* | dragonfly*)
10758   # DragonFly does not have aout.  When/if they implement a new
10759   # versioning mechanism, adjust this.
10760   if test -x /usr/bin/objformat; then
10761     objformat=`/usr/bin/objformat`
10762   else
10763     case $host_os in
10764     freebsd[23].*) objformat=aout ;;
10765     *) objformat=elf ;;
10766     esac
10767   fi
10768   version_type=freebsd-$objformat
10769   case $version_type in
10770     freebsd-elf*)
10771       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10772       need_version=no
10773       need_lib_prefix=no
10774       ;;
10775     freebsd-*)
10776       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10777       need_version=yes
10778       ;;
10779   esac
10780   shlibpath_var=LD_LIBRARY_PATH
10781   case $host_os in
10782   freebsd2.*)
10783     shlibpath_overrides_runpath=yes
10784     ;;
10785   freebsd3.[01]* | freebsdelf3.[01]*)
10786     shlibpath_overrides_runpath=yes
10787     hardcode_into_libs=yes
10788     ;;
10789   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10790   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10791     shlibpath_overrides_runpath=no
10792     hardcode_into_libs=yes
10793     ;;
10794   *) # from 4.6 on, and DragonFly
10795     shlibpath_overrides_runpath=yes
10796     hardcode_into_libs=yes
10797     ;;
10798   esac
10799   ;;
10800
10801 gnu*)
10802   version_type=linux # correct to gnu/linux during the next big refactor
10803   need_lib_prefix=no
10804   need_version=no
10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10806   soname_spec='${libname}${release}${shared_ext}$major'
10807   shlibpath_var=LD_LIBRARY_PATH
10808   shlibpath_overrides_runpath=no
10809   hardcode_into_libs=yes
10810   ;;
10811
10812 haiku*)
10813   version_type=linux # correct to gnu/linux during the next big refactor
10814   need_lib_prefix=no
10815   need_version=no
10816   dynamic_linker="$host_os runtime_loader"
10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10818   soname_spec='${libname}${release}${shared_ext}$major'
10819   shlibpath_var=LIBRARY_PATH
10820   shlibpath_overrides_runpath=yes
10821   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10822   hardcode_into_libs=yes
10823   ;;
10824
10825 hpux9* | hpux10* | hpux11*)
10826   # Give a soname corresponding to the major version so that dld.sl refuses to
10827   # link against other versions.
10828   version_type=sunos
10829   need_lib_prefix=no
10830   need_version=no
10831   case $host_cpu in
10832   ia64*)
10833     shrext_cmds='.so'
10834     hardcode_into_libs=yes
10835     dynamic_linker="$host_os dld.so"
10836     shlibpath_var=LD_LIBRARY_PATH
10837     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10838     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839     soname_spec='${libname}${release}${shared_ext}$major'
10840     if test "X$HPUX_IA64_MODE" = X32; then
10841       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10842     else
10843       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10844     fi
10845     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10846     ;;
10847   hppa*64*)
10848     shrext_cmds='.sl'
10849     hardcode_into_libs=yes
10850     dynamic_linker="$host_os dld.sl"
10851     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10852     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10853     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854     soname_spec='${libname}${release}${shared_ext}$major'
10855     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10856     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10857     ;;
10858   *)
10859     shrext_cmds='.sl'
10860     dynamic_linker="$host_os dld.sl"
10861     shlibpath_var=SHLIB_PATH
10862     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10863     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864     soname_spec='${libname}${release}${shared_ext}$major'
10865     ;;
10866   esac
10867   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10868   postinstall_cmds='chmod 555 $lib'
10869   # or fails outright, so override atomically:
10870   install_override_mode=555
10871   ;;
10872
10873 interix[3-9]*)
10874   version_type=linux # correct to gnu/linux during the next big refactor
10875   need_lib_prefix=no
10876   need_version=no
10877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10878   soname_spec='${libname}${release}${shared_ext}$major'
10879   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10880   shlibpath_var=LD_LIBRARY_PATH
10881   shlibpath_overrides_runpath=no
10882   hardcode_into_libs=yes
10883   ;;
10884
10885 irix5* | irix6* | nonstopux*)
10886   case $host_os in
10887     nonstopux*) version_type=nonstopux ;;
10888     *)
10889         if test "$lt_cv_prog_gnu_ld" = yes; then
10890                 version_type=linux # correct to gnu/linux during the next big refactor
10891         else
10892                 version_type=irix
10893         fi ;;
10894   esac
10895   need_lib_prefix=no
10896   need_version=no
10897   soname_spec='${libname}${release}${shared_ext}$major'
10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10899   case $host_os in
10900   irix5* | nonstopux*)
10901     libsuff= shlibsuff=
10902     ;;
10903   *)
10904     case $LD in # libtool.m4 will add one of these switches to LD
10905     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10906       libsuff= shlibsuff= libmagic=32-bit;;
10907     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10908       libsuff=32 shlibsuff=N32 libmagic=N32;;
10909     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10910       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10911     *) libsuff= shlibsuff= libmagic=never-match;;
10912     esac
10913     ;;
10914   esac
10915   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10916   shlibpath_overrides_runpath=no
10917   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10918   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10919   hardcode_into_libs=yes
10920   ;;
10921
10922 # No shared lib support for Linux oldld, aout, or coff.
10923 linux*oldld* | linux*aout* | linux*coff*)
10924   dynamic_linker=no
10925   ;;
10926
10927 # This must be glibc/ELF.
10928 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10929   version_type=linux # correct to gnu/linux during the next big refactor
10930   need_lib_prefix=no
10931   need_version=no
10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933   soname_spec='${libname}${release}${shared_ext}$major'
10934   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10935   shlibpath_var=LD_LIBRARY_PATH
10936   shlibpath_overrides_runpath=no
10937
10938   # Some binutils ld are patched to set DT_RUNPATH
10939   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10940   $as_echo_n "(cached) " >&6
10941 else
10942   lt_cv_shlibpath_overrides_runpath=no
10943     save_LDFLAGS=$LDFLAGS
10944     save_libdir=$libdir
10945     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10946          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10947     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h.  */
10949
10950 int
10951 main ()
10952 {
10953
10954   ;
10955   return 0;
10956 }
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10960   lt_cv_shlibpath_overrides_runpath=yes
10961 fi
10962 fi
10963 rm -f core conftest.err conftest.$ac_objext \
10964     conftest$ac_exeext conftest.$ac_ext
10965     LDFLAGS=$save_LDFLAGS
10966     libdir=$save_libdir
10967
10968 fi
10969
10970   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10971
10972   # This implies no fast_install, which is unacceptable.
10973   # Some rework will be needed to allow for fast_install
10974   # before this can be enabled.
10975   hardcode_into_libs=yes
10976
10977   # Append ld.so.conf contents to the search path
10978   if test -f /etc/ld.so.conf; then
10979     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' ' '`
10980     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10981   fi
10982
10983   # We used to test for /lib/ld.so.1 and disable shared libraries on
10984   # powerpc, because MkLinux only supported shared libraries with the
10985   # GNU dynamic linker.  Since this was broken with cross compilers,
10986   # most powerpc-linux boxes support dynamic linking these days and
10987   # people can always --disable-shared, the test was removed, and we
10988   # assume the GNU/Linux dynamic linker is in use.
10989   dynamic_linker='GNU/Linux ld.so'
10990   ;;
10991
10992 netbsd*)
10993   version_type=sunos
10994   need_lib_prefix=no
10995   need_version=no
10996   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10997     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10998     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10999     dynamic_linker='NetBSD (a.out) ld.so'
11000   else
11001     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11002     soname_spec='${libname}${release}${shared_ext}$major'
11003     dynamic_linker='NetBSD ld.elf_so'
11004   fi
11005   shlibpath_var=LD_LIBRARY_PATH
11006   shlibpath_overrides_runpath=yes
11007   hardcode_into_libs=yes
11008   ;;
11009
11010 newsos6)
11011   version_type=linux # correct to gnu/linux during the next big refactor
11012   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013   shlibpath_var=LD_LIBRARY_PATH
11014   shlibpath_overrides_runpath=yes
11015   ;;
11016
11017 *nto* | *qnx*)
11018   version_type=qnx
11019   need_lib_prefix=no
11020   need_version=no
11021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022   soname_spec='${libname}${release}${shared_ext}$major'
11023   shlibpath_var=LD_LIBRARY_PATH
11024   shlibpath_overrides_runpath=no
11025   hardcode_into_libs=yes
11026   dynamic_linker='ldqnx.so'
11027   ;;
11028
11029 openbsd*)
11030   version_type=sunos
11031   sys_lib_dlsearch_path_spec="/usr/lib"
11032   need_lib_prefix=no
11033   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11034   case $host_os in
11035     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11036     *)                          need_version=no  ;;
11037   esac
11038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11039   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11040   shlibpath_var=LD_LIBRARY_PATH
11041   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11042     case $host_os in
11043       openbsd2.[89] | openbsd2.[89].*)
11044         shlibpath_overrides_runpath=no
11045         ;;
11046       *)
11047         shlibpath_overrides_runpath=yes
11048         ;;
11049       esac
11050   else
11051     shlibpath_overrides_runpath=yes
11052   fi
11053   ;;
11054
11055 os2*)
11056   libname_spec='$name'
11057   shrext_cmds=".dll"
11058   need_lib_prefix=no
11059   library_names_spec='$libname${shared_ext} $libname.a'
11060   dynamic_linker='OS/2 ld.exe'
11061   shlibpath_var=LIBPATH
11062   ;;
11063
11064 osf3* | osf4* | osf5*)
11065   version_type=osf
11066   need_lib_prefix=no
11067   need_version=no
11068   soname_spec='${libname}${release}${shared_ext}$major'
11069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070   shlibpath_var=LD_LIBRARY_PATH
11071   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11072   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11073   ;;
11074
11075 rdos*)
11076   dynamic_linker=no
11077   ;;
11078
11079 solaris*)
11080   version_type=linux # correct to gnu/linux during the next big refactor
11081   need_lib_prefix=no
11082   need_version=no
11083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084   soname_spec='${libname}${release}${shared_ext}$major'
11085   shlibpath_var=LD_LIBRARY_PATH
11086   shlibpath_overrides_runpath=yes
11087   hardcode_into_libs=yes
11088   # ldd complains unless libraries are executable
11089   postinstall_cmds='chmod +x $lib'
11090   ;;
11091
11092 sunos4*)
11093   version_type=sunos
11094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11095   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11096   shlibpath_var=LD_LIBRARY_PATH
11097   shlibpath_overrides_runpath=yes
11098   if test "$with_gnu_ld" = yes; then
11099     need_lib_prefix=no
11100   fi
11101   need_version=yes
11102   ;;
11103
11104 sysv4 | sysv4.3*)
11105   version_type=linux # correct to gnu/linux during the next big refactor
11106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107   soname_spec='${libname}${release}${shared_ext}$major'
11108   shlibpath_var=LD_LIBRARY_PATH
11109   case $host_vendor in
11110     sni)
11111       shlibpath_overrides_runpath=no
11112       need_lib_prefix=no
11113       runpath_var=LD_RUN_PATH
11114       ;;
11115     siemens)
11116       need_lib_prefix=no
11117       ;;
11118     motorola)
11119       need_lib_prefix=no
11120       need_version=no
11121       shlibpath_overrides_runpath=no
11122       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11123       ;;
11124   esac
11125   ;;
11126
11127 sysv4*MP*)
11128   if test -d /usr/nec ;then
11129     version_type=linux # correct to gnu/linux during the next big refactor
11130     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11131     soname_spec='$libname${shared_ext}.$major'
11132     shlibpath_var=LD_LIBRARY_PATH
11133   fi
11134   ;;
11135
11136 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11137   version_type=freebsd-elf
11138   need_lib_prefix=no
11139   need_version=no
11140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11141   soname_spec='${libname}${release}${shared_ext}$major'
11142   shlibpath_var=LD_LIBRARY_PATH
11143   shlibpath_overrides_runpath=yes
11144   hardcode_into_libs=yes
11145   if test "$with_gnu_ld" = yes; then
11146     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11147   else
11148     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11149     case $host_os in
11150       sco3.2v5*)
11151         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11152         ;;
11153     esac
11154   fi
11155   sys_lib_dlsearch_path_spec='/usr/lib'
11156   ;;
11157
11158 tpf*)
11159   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11160   version_type=linux # correct to gnu/linux during the next big refactor
11161   need_lib_prefix=no
11162   need_version=no
11163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164   shlibpath_var=LD_LIBRARY_PATH
11165   shlibpath_overrides_runpath=no
11166   hardcode_into_libs=yes
11167   ;;
11168
11169 uts4*)
11170   version_type=linux # correct to gnu/linux during the next big refactor
11171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11172   soname_spec='${libname}${release}${shared_ext}$major'
11173   shlibpath_var=LD_LIBRARY_PATH
11174   ;;
11175
11176 *)
11177   dynamic_linker=no
11178   ;;
11179 esac
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11181 $as_echo "$dynamic_linker" >&6; }
11182 test "$dynamic_linker" = no && can_build_shared=no
11183
11184 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11185 if test "$GCC" = yes; then
11186   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11187 fi
11188
11189 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11190   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11191 fi
11192 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11193   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11194 fi
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11288 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11289 hardcode_action=
11290 if test -n "$hardcode_libdir_flag_spec" ||
11291    test -n "$runpath_var" ||
11292    test "X$hardcode_automatic" = "Xyes" ; then
11293
11294   # We can hardcode non-existent directories.
11295   if test "$hardcode_direct" != no &&
11296      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11297      # have to relink, otherwise we might link with an installed library
11298      # when we should be linking with a yet-to-be-installed one
11299      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11300      test "$hardcode_minus_L" != no; then
11301     # Linking always hardcodes the temporary library directory.
11302     hardcode_action=relink
11303   else
11304     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11305     hardcode_action=immediate
11306   fi
11307 else
11308   # We cannot hardcode anything, or else we can only hardcode existing
11309   # directories.
11310   hardcode_action=unsupported
11311 fi
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11313 $as_echo "$hardcode_action" >&6; }
11314
11315 if test "$hardcode_action" = relink ||
11316    test "$inherit_rpath" = yes; then
11317   # Fast installation is not supported
11318   enable_fast_install=no
11319 elif test "$shlibpath_overrides_runpath" = yes ||
11320      test "$enable_shared" = no; then
11321   # Fast installation is not necessary
11322   enable_fast_install=needless
11323 fi
11324
11325
11326
11327
11328
11329
11330   if test "x$enable_dlopen" != xyes; then
11331   enable_dlopen=unknown
11332   enable_dlopen_self=unknown
11333   enable_dlopen_self_static=unknown
11334 else
11335   lt_cv_dlopen=no
11336   lt_cv_dlopen_libs=
11337
11338   case $host_os in
11339   beos*)
11340     lt_cv_dlopen="load_add_on"
11341     lt_cv_dlopen_libs=
11342     lt_cv_dlopen_self=yes
11343     ;;
11344
11345   mingw* | pw32* | cegcc*)
11346     lt_cv_dlopen="LoadLibrary"
11347     lt_cv_dlopen_libs=
11348     ;;
11349
11350   cygwin*)
11351     lt_cv_dlopen="dlopen"
11352     lt_cv_dlopen_libs=
11353     ;;
11354
11355   darwin*)
11356   # if libdl is installed we need to link against it
11357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11358 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11359 if ${ac_cv_lib_dl_dlopen+:} false; then :
11360   $as_echo_n "(cached) " >&6
11361 else
11362   ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-ldl  $LIBS"
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h.  */
11366
11367 /* Override any GCC internal prototype to avoid an error.
11368    Use char because int might match the return type of a GCC
11369    builtin and then its argument prototype would still apply.  */
11370 #ifdef __cplusplus
11371 extern "C"
11372 #endif
11373 char dlopen ();
11374 int
11375 main ()
11376 {
11377 return dlopen ();
11378   ;
11379   return 0;
11380 }
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383   ac_cv_lib_dl_dlopen=yes
11384 else
11385   ac_cv_lib_dl_dlopen=no
11386 fi
11387 rm -f core conftest.err conftest.$ac_objext \
11388     conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11390 fi
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11394   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11395 else
11396
11397     lt_cv_dlopen="dyld"
11398     lt_cv_dlopen_libs=
11399     lt_cv_dlopen_self=yes
11400
11401 fi
11402
11403     ;;
11404
11405   *)
11406     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11407 if test "x$ac_cv_func_shl_load" = xyes; then :
11408   lt_cv_dlopen="shl_load"
11409 else
11410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11411 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11412 if ${ac_cv_lib_dld_shl_load+:} false; then :
11413   $as_echo_n "(cached) " >&6
11414 else
11415   ac_check_lib_save_LIBS=$LIBS
11416 LIBS="-ldld  $LIBS"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h.  */
11419
11420 /* Override any GCC internal prototype to avoid an error.
11421    Use char because int might match the return type of a GCC
11422    builtin and then its argument prototype would still apply.  */
11423 #ifdef __cplusplus
11424 extern "C"
11425 #endif
11426 char shl_load ();
11427 int
11428 main ()
11429 {
11430 return shl_load ();
11431   ;
11432   return 0;
11433 }
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"; then :
11436   ac_cv_lib_dld_shl_load=yes
11437 else
11438   ac_cv_lib_dld_shl_load=no
11439 fi
11440 rm -f core conftest.err conftest.$ac_objext \
11441     conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_lib_save_LIBS
11443 fi
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11445 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11446 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11447   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11448 else
11449   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11450 if test "x$ac_cv_func_dlopen" = xyes; then :
11451   lt_cv_dlopen="dlopen"
11452 else
11453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11454 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11455 if ${ac_cv_lib_dl_dlopen+:} false; then :
11456   $as_echo_n "(cached) " >&6
11457 else
11458   ac_check_lib_save_LIBS=$LIBS
11459 LIBS="-ldl  $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h.  */
11462
11463 /* Override any GCC internal prototype to avoid an error.
11464    Use char because int might match the return type of a GCC
11465    builtin and then its argument prototype would still apply.  */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char dlopen ();
11470 int
11471 main ()
11472 {
11473 return dlopen ();
11474   ;
11475   return 0;
11476 }
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479   ac_cv_lib_dl_dlopen=yes
11480 else
11481   ac_cv_lib_dl_dlopen=no
11482 fi
11483 rm -f core conftest.err conftest.$ac_objext \
11484     conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11486 fi
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11488 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11489 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11490   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11491 else
11492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11493 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11494 if ${ac_cv_lib_svld_dlopen+:} false; then :
11495   $as_echo_n "(cached) " >&6
11496 else
11497   ac_check_lib_save_LIBS=$LIBS
11498 LIBS="-lsvld  $LIBS"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h.  */
11501
11502 /* Override any GCC internal prototype to avoid an error.
11503    Use char because int might match the return type of a GCC
11504    builtin and then its argument prototype would still apply.  */
11505 #ifdef __cplusplus
11506 extern "C"
11507 #endif
11508 char dlopen ();
11509 int
11510 main ()
11511 {
11512 return dlopen ();
11513   ;
11514   return 0;
11515 }
11516 _ACEOF
11517 if ac_fn_c_try_link "$LINENO"; then :
11518   ac_cv_lib_svld_dlopen=yes
11519 else
11520   ac_cv_lib_svld_dlopen=no
11521 fi
11522 rm -f core conftest.err conftest.$ac_objext \
11523     conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_lib_save_LIBS
11525 fi
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11527 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11528 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11529   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11530 else
11531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11532 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11533 if ${ac_cv_lib_dld_dld_link+:} false; then :
11534   $as_echo_n "(cached) " >&6
11535 else
11536   ac_check_lib_save_LIBS=$LIBS
11537 LIBS="-ldld  $LIBS"
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h.  */
11540
11541 /* Override any GCC internal prototype to avoid an error.
11542    Use char because int might match the return type of a GCC
11543    builtin and then its argument prototype would still apply.  */
11544 #ifdef __cplusplus
11545 extern "C"
11546 #endif
11547 char dld_link ();
11548 int
11549 main ()
11550 {
11551 return dld_link ();
11552   ;
11553   return 0;
11554 }
11555 _ACEOF
11556 if ac_fn_c_try_link "$LINENO"; then :
11557   ac_cv_lib_dld_dld_link=yes
11558 else
11559   ac_cv_lib_dld_dld_link=no
11560 fi
11561 rm -f core conftest.err conftest.$ac_objext \
11562     conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11564 fi
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11566 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11567 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11568   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 fi
11570
11571
11572 fi
11573
11574
11575 fi
11576
11577
11578 fi
11579
11580
11581 fi
11582
11583
11584 fi
11585
11586     ;;
11587   esac
11588
11589   if test "x$lt_cv_dlopen" != xno; then
11590     enable_dlopen=yes
11591   else
11592     enable_dlopen=no
11593   fi
11594
11595   case $lt_cv_dlopen in
11596   dlopen)
11597     save_CPPFLAGS="$CPPFLAGS"
11598     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11599
11600     save_LDFLAGS="$LDFLAGS"
11601     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11602
11603     save_LIBS="$LIBS"
11604     LIBS="$lt_cv_dlopen_libs $LIBS"
11605
11606     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11607 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11608 if ${lt_cv_dlopen_self+:} false; then :
11609   $as_echo_n "(cached) " >&6
11610 else
11611           if test "$cross_compiling" = yes; then :
11612   lt_cv_dlopen_self=cross
11613 else
11614   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11615   lt_status=$lt_dlunknown
11616   cat > conftest.$ac_ext <<_LT_EOF
11617 #line $LINENO "configure"
11618 #include "confdefs.h"
11619
11620 #if HAVE_DLFCN_H
11621 #include <dlfcn.h>
11622 #endif
11623
11624 #include <stdio.h>
11625
11626 #ifdef RTLD_GLOBAL
11627 #  define LT_DLGLOBAL           RTLD_GLOBAL
11628 #else
11629 #  ifdef DL_GLOBAL
11630 #    define LT_DLGLOBAL         DL_GLOBAL
11631 #  else
11632 #    define LT_DLGLOBAL         0
11633 #  endif
11634 #endif
11635
11636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11637    find out it does not work in some platform. */
11638 #ifndef LT_DLLAZY_OR_NOW
11639 #  ifdef RTLD_LAZY
11640 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11641 #  else
11642 #    ifdef DL_LAZY
11643 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11644 #    else
11645 #      ifdef RTLD_NOW
11646 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11647 #      else
11648 #        ifdef DL_NOW
11649 #          define LT_DLLAZY_OR_NOW      DL_NOW
11650 #        else
11651 #          define LT_DLLAZY_OR_NOW      0
11652 #        endif
11653 #      endif
11654 #    endif
11655 #  endif
11656 #endif
11657
11658 /* When -fvisbility=hidden is used, assume the code has been annotated
11659    correspondingly for the symbols needed.  */
11660 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11661 int fnord () __attribute__((visibility("default")));
11662 #endif
11663
11664 int fnord () { return 42; }
11665 int main ()
11666 {
11667   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11668   int status = $lt_dlunknown;
11669
11670   if (self)
11671     {
11672       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11673       else
11674         {
11675           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11676           else puts (dlerror ());
11677         }
11678       /* dlclose (self); */
11679     }
11680   else
11681     puts (dlerror ());
11682
11683   return status;
11684 }
11685 _LT_EOF
11686   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11687   (eval $ac_link) 2>&5
11688   ac_status=$?
11689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11690   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11691     (./conftest; exit; ) >&5 2>/dev/null
11692     lt_status=$?
11693     case x$lt_status in
11694       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11695       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11696       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11697     esac
11698   else :
11699     # compilation failed
11700     lt_cv_dlopen_self=no
11701   fi
11702 fi
11703 rm -fr conftest*
11704
11705
11706 fi
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11708 $as_echo "$lt_cv_dlopen_self" >&6; }
11709
11710     if test "x$lt_cv_dlopen_self" = xyes; then
11711       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11712       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11713 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11714 if ${lt_cv_dlopen_self_static+:} false; then :
11715   $as_echo_n "(cached) " >&6
11716 else
11717           if test "$cross_compiling" = yes; then :
11718   lt_cv_dlopen_self_static=cross
11719 else
11720   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11721   lt_status=$lt_dlunknown
11722   cat > conftest.$ac_ext <<_LT_EOF
11723 #line $LINENO "configure"
11724 #include "confdefs.h"
11725
11726 #if HAVE_DLFCN_H
11727 #include <dlfcn.h>
11728 #endif
11729
11730 #include <stdio.h>
11731
11732 #ifdef RTLD_GLOBAL
11733 #  define LT_DLGLOBAL           RTLD_GLOBAL
11734 #else
11735 #  ifdef DL_GLOBAL
11736 #    define LT_DLGLOBAL         DL_GLOBAL
11737 #  else
11738 #    define LT_DLGLOBAL         0
11739 #  endif
11740 #endif
11741
11742 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11743    find out it does not work in some platform. */
11744 #ifndef LT_DLLAZY_OR_NOW
11745 #  ifdef RTLD_LAZY
11746 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11747 #  else
11748 #    ifdef DL_LAZY
11749 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11750 #    else
11751 #      ifdef RTLD_NOW
11752 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11753 #      else
11754 #        ifdef DL_NOW
11755 #          define LT_DLLAZY_OR_NOW      DL_NOW
11756 #        else
11757 #          define LT_DLLAZY_OR_NOW      0
11758 #        endif
11759 #      endif
11760 #    endif
11761 #  endif
11762 #endif
11763
11764 /* When -fvisbility=hidden is used, assume the code has been annotated
11765    correspondingly for the symbols needed.  */
11766 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11767 int fnord () __attribute__((visibility("default")));
11768 #endif
11769
11770 int fnord () { return 42; }
11771 int main ()
11772 {
11773   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11774   int status = $lt_dlunknown;
11775
11776   if (self)
11777     {
11778       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11779       else
11780         {
11781           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11782           else puts (dlerror ());
11783         }
11784       /* dlclose (self); */
11785     }
11786   else
11787     puts (dlerror ());
11788
11789   return status;
11790 }
11791 _LT_EOF
11792   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11793   (eval $ac_link) 2>&5
11794   ac_status=$?
11795   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11796   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11797     (./conftest; exit; ) >&5 2>/dev/null
11798     lt_status=$?
11799     case x$lt_status in
11800       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11801       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11802       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11803     esac
11804   else :
11805     # compilation failed
11806     lt_cv_dlopen_self_static=no
11807   fi
11808 fi
11809 rm -fr conftest*
11810
11811
11812 fi
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11814 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11815     fi
11816
11817     CPPFLAGS="$save_CPPFLAGS"
11818     LDFLAGS="$save_LDFLAGS"
11819     LIBS="$save_LIBS"
11820     ;;
11821   esac
11822
11823   case $lt_cv_dlopen_self in
11824   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11825   *) enable_dlopen_self=unknown ;;
11826   esac
11827
11828   case $lt_cv_dlopen_self_static in
11829   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11830   *) enable_dlopen_self_static=unknown ;;
11831   esac
11832 fi
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850 striplib=
11851 old_striplib=
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11853 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11854 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11855   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11856   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11859 else
11860 # FIXME - insert some real tests, host_os isn't really good enough
11861   case $host_os in
11862   darwin*)
11863     if test -n "$STRIP" ; then
11864       striplib="$STRIP -x"
11865       old_striplib="$STRIP -S"
11866       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11867 $as_echo "yes" >&6; }
11868     else
11869       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11871     fi
11872     ;;
11873   *)
11874     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11876     ;;
11877   esac
11878 fi
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891   # Report which library types will actually be built
11892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11893 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11895 $as_echo "$can_build_shared" >&6; }
11896
11897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11898 $as_echo_n "checking whether to build shared libraries... " >&6; }
11899   test "$can_build_shared" = "no" && enable_shared=no
11900
11901   # On AIX, shared libraries and static libraries use the same namespace, and
11902   # are all built from PIC.
11903   case $host_os in
11904   aix3*)
11905     test "$enable_shared" = yes && enable_static=no
11906     if test -n "$RANLIB"; then
11907       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11908       postinstall_cmds='$RANLIB $lib'
11909     fi
11910     ;;
11911
11912   aix[4-9]*)
11913     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11914       test "$enable_shared" = yes && enable_static=no
11915     fi
11916     ;;
11917   esac
11918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11919 $as_echo "$enable_shared" >&6; }
11920
11921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11922 $as_echo_n "checking whether to build static libraries... " >&6; }
11923   # Make sure either enable_shared or enable_static is yes.
11924   test "$enable_shared" = yes || enable_static=yes
11925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11926 $as_echo "$enable_static" >&6; }
11927
11928
11929
11930
11931 fi
11932 ac_ext=c
11933 ac_cpp='$CPP $CPPFLAGS'
11934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11937
11938 CC="$lt_save_CC"
11939
11940       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11941     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11942     (test "X$CXX" != "Xg++"))) ; then
11943   ac_ext=cpp
11944 ac_cpp='$CXXCPP $CPPFLAGS'
11945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11949 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11950 if test -z "$CXXCPP"; then
11951   if ${ac_cv_prog_CXXCPP+:} false; then :
11952   $as_echo_n "(cached) " >&6
11953 else
11954       # Double quotes because CXXCPP needs to be expanded
11955     for CXXCPP in "$CXX -E" "/lib/cpp"
11956     do
11957       ac_preproc_ok=false
11958 for ac_cxx_preproc_warn_flag in '' yes
11959 do
11960   # Use a header file that comes with gcc, so configuring glibc
11961   # with a fresh cross-compiler works.
11962   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11963   # <limits.h> exists even on freestanding compilers.
11964   # On the NeXT, cc -E runs the code through the compiler's parser,
11965   # not just through cpp. "Syntax error" is here to catch this case.
11966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h.  */
11968 #ifdef __STDC__
11969 # include <limits.h>
11970 #else
11971 # include <assert.h>
11972 #endif
11973                      Syntax error
11974 _ACEOF
11975 if ac_fn_cxx_try_cpp "$LINENO"; then :
11976
11977 else
11978   # Broken: fails on valid input.
11979 continue
11980 fi
11981 rm -f conftest.err conftest.i conftest.$ac_ext
11982
11983   # OK, works on sane cases.  Now check whether nonexistent headers
11984   # can be detected and how.
11985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h.  */
11987 #include <ac_nonexistent.h>
11988 _ACEOF
11989 if ac_fn_cxx_try_cpp "$LINENO"; then :
11990   # Broken: success on invalid input.
11991 continue
11992 else
11993   # Passes both tests.
11994 ac_preproc_ok=:
11995 break
11996 fi
11997 rm -f conftest.err conftest.i conftest.$ac_ext
11998
11999 done
12000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12001 rm -f conftest.i conftest.err conftest.$ac_ext
12002 if $ac_preproc_ok; then :
12003   break
12004 fi
12005
12006     done
12007     ac_cv_prog_CXXCPP=$CXXCPP
12008
12009 fi
12010   CXXCPP=$ac_cv_prog_CXXCPP
12011 else
12012   ac_cv_prog_CXXCPP=$CXXCPP
12013 fi
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12015 $as_echo "$CXXCPP" >&6; }
12016 ac_preproc_ok=false
12017 for ac_cxx_preproc_warn_flag in '' yes
12018 do
12019   # Use a header file that comes with gcc, so configuring glibc
12020   # with a fresh cross-compiler works.
12021   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12022   # <limits.h> exists even on freestanding compilers.
12023   # On the NeXT, cc -E runs the code through the compiler's parser,
12024   # not just through cpp. "Syntax error" is here to catch this case.
12025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h.  */
12027 #ifdef __STDC__
12028 # include <limits.h>
12029 #else
12030 # include <assert.h>
12031 #endif
12032                      Syntax error
12033 _ACEOF
12034 if ac_fn_cxx_try_cpp "$LINENO"; then :
12035
12036 else
12037   # Broken: fails on valid input.
12038 continue
12039 fi
12040 rm -f conftest.err conftest.i conftest.$ac_ext
12041
12042   # OK, works on sane cases.  Now check whether nonexistent headers
12043   # can be detected and how.
12044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h.  */
12046 #include <ac_nonexistent.h>
12047 _ACEOF
12048 if ac_fn_cxx_try_cpp "$LINENO"; then :
12049   # Broken: success on invalid input.
12050 continue
12051 else
12052   # Passes both tests.
12053 ac_preproc_ok=:
12054 break
12055 fi
12056 rm -f conftest.err conftest.i conftest.$ac_ext
12057
12058 done
12059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12060 rm -f conftest.i conftest.err conftest.$ac_ext
12061 if $ac_preproc_ok; then :
12062
12063 else
12064   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12066 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12067 See \`config.log' for more details" "$LINENO" 5; }
12068 fi
12069
12070 ac_ext=c
12071 ac_cpp='$CPP $CPPFLAGS'
12072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075
12076 else
12077   _lt_caught_CXX_error=yes
12078 fi
12079
12080 ac_ext=cpp
12081 ac_cpp='$CXXCPP $CPPFLAGS'
12082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12085
12086 archive_cmds_need_lc_CXX=no
12087 allow_undefined_flag_CXX=
12088 always_export_symbols_CXX=no
12089 archive_expsym_cmds_CXX=
12090 compiler_needs_object_CXX=no
12091 export_dynamic_flag_spec_CXX=
12092 hardcode_direct_CXX=no
12093 hardcode_direct_absolute_CXX=no
12094 hardcode_libdir_flag_spec_CXX=
12095 hardcode_libdir_separator_CXX=
12096 hardcode_minus_L_CXX=no
12097 hardcode_shlibpath_var_CXX=unsupported
12098 hardcode_automatic_CXX=no
12099 inherit_rpath_CXX=no
12100 module_cmds_CXX=
12101 module_expsym_cmds_CXX=
12102 link_all_deplibs_CXX=unknown
12103 old_archive_cmds_CXX=$old_archive_cmds
12104 reload_flag_CXX=$reload_flag
12105 reload_cmds_CXX=$reload_cmds
12106 no_undefined_flag_CXX=
12107 whole_archive_flag_spec_CXX=
12108 enable_shared_with_static_runtimes_CXX=no
12109
12110 # Source file extension for C++ test sources.
12111 ac_ext=cpp
12112
12113 # Object file extension for compiled C++ test sources.
12114 objext=o
12115 objext_CXX=$objext
12116
12117 # No sense in running all these tests if we already determined that
12118 # the CXX compiler isn't working.  Some variables (like enable_shared)
12119 # are currently assumed to apply to all compilers on this platform,
12120 # and will be corrupted by setting them based on a non-working compiler.
12121 if test "$_lt_caught_CXX_error" != yes; then
12122   # Code to be used in simple compile tests
12123   lt_simple_compile_test_code="int some_variable = 0;"
12124
12125   # Code to be used in simple link tests
12126   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12127
12128   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12129
12130
12131
12132
12133
12134
12135 # If no C compiler was specified, use CC.
12136 LTCC=${LTCC-"$CC"}
12137
12138 # If no C compiler flags were specified, use CFLAGS.
12139 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12140
12141 # Allow CC to be a program name with arguments.
12142 compiler=$CC
12143
12144
12145   # save warnings/boilerplate of simple test code
12146   ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12148 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_compiler_boilerplate=`cat conftest.err`
12150 $RM conftest*
12151
12152   ac_outfile=conftest.$ac_objext
12153 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12154 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12155 _lt_linker_boilerplate=`cat conftest.err`
12156 $RM -r conftest*
12157
12158
12159   # Allow CC to be a program name with arguments.
12160   lt_save_CC=$CC
12161   lt_save_CFLAGS=$CFLAGS
12162   lt_save_LD=$LD
12163   lt_save_GCC=$GCC
12164   GCC=$GXX
12165   lt_save_with_gnu_ld=$with_gnu_ld
12166   lt_save_path_LD=$lt_cv_path_LD
12167   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12168     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12169   else
12170     $as_unset lt_cv_prog_gnu_ld
12171   fi
12172   if test -n "${lt_cv_path_LDCXX+set}"; then
12173     lt_cv_path_LD=$lt_cv_path_LDCXX
12174   else
12175     $as_unset lt_cv_path_LD
12176   fi
12177   test -z "${LDCXX+set}" || LD=$LDCXX
12178   CC=${CXX-"c++"}
12179   CFLAGS=$CXXFLAGS
12180   compiler=$CC
12181   compiler_CXX=$CC
12182   for cc_temp in $compiler""; do
12183   case $cc_temp in
12184     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12185     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12186     \-*) ;;
12187     *) break;;
12188   esac
12189 done
12190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12191
12192
12193   if test -n "$compiler"; then
12194     # We don't want -fno-exception when compiling C++ code, so set the
12195     # no_builtin_flag separately
12196     if test "$GXX" = yes; then
12197       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12198     else
12199       lt_prog_compiler_no_builtin_flag_CXX=
12200     fi
12201
12202     if test "$GXX" = yes; then
12203       # Set up default GNU C++ configuration
12204
12205
12206
12207 # Check whether --with-gnu-ld was given.
12208 if test "${with_gnu_ld+set}" = set; then :
12209   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12210 else
12211   with_gnu_ld=no
12212 fi
12213
12214 ac_prog=ld
12215 if test "$GCC" = yes; then
12216   # Check if gcc -print-prog-name=ld gives a path.
12217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12218 $as_echo_n "checking for ld used by $CC... " >&6; }
12219   case $host in
12220   *-*-mingw*)
12221     # gcc leaves a trailing carriage return which upsets mingw
12222     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12223   *)
12224     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12225   esac
12226   case $ac_prog in
12227     # Accept absolute paths.
12228     [\\/]* | ?:[\\/]*)
12229       re_direlt='/[^/][^/]*/\.\./'
12230       # Canonicalize the pathname of ld
12231       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12232       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12233         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12234       done
12235       test -z "$LD" && LD="$ac_prog"
12236       ;;
12237   "")
12238     # If it fails, then pretend we aren't using GCC.
12239     ac_prog=ld
12240     ;;
12241   *)
12242     # If it is relative, then search for the first ld in PATH.
12243     with_gnu_ld=unknown
12244     ;;
12245   esac
12246 elif test "$with_gnu_ld" = yes; then
12247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12248 $as_echo_n "checking for GNU ld... " >&6; }
12249 else
12250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12251 $as_echo_n "checking for non-GNU ld... " >&6; }
12252 fi
12253 if ${lt_cv_path_LD+:} false; then :
12254   $as_echo_n "(cached) " >&6
12255 else
12256   if test -z "$LD"; then
12257   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12258   for ac_dir in $PATH; do
12259     IFS="$lt_save_ifs"
12260     test -z "$ac_dir" && ac_dir=.
12261     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12262       lt_cv_path_LD="$ac_dir/$ac_prog"
12263       # Check to see if the program is GNU ld.  I'd rather use --version,
12264       # but apparently some variants of GNU ld only accept -v.
12265       # Break only if it was the GNU/non-GNU ld that we prefer.
12266       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12267       *GNU* | *'with BFD'*)
12268         test "$with_gnu_ld" != no && break
12269         ;;
12270       *)
12271         test "$with_gnu_ld" != yes && break
12272         ;;
12273       esac
12274     fi
12275   done
12276   IFS="$lt_save_ifs"
12277 else
12278   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12279 fi
12280 fi
12281
12282 LD="$lt_cv_path_LD"
12283 if test -n "$LD"; then
12284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12285 $as_echo "$LD" >&6; }
12286 else
12287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12289 fi
12290 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12293 if ${lt_cv_prog_gnu_ld+:} false; then :
12294   $as_echo_n "(cached) " >&6
12295 else
12296   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12297 case `$LD -v 2>&1 </dev/null` in
12298 *GNU* | *'with BFD'*)
12299   lt_cv_prog_gnu_ld=yes
12300   ;;
12301 *)
12302   lt_cv_prog_gnu_ld=no
12303   ;;
12304 esac
12305 fi
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12307 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12308 with_gnu_ld=$lt_cv_prog_gnu_ld
12309
12310
12311
12312
12313
12314
12315
12316       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12317       # archiving commands below assume that GNU ld is being used.
12318       if test "$with_gnu_ld" = yes; then
12319         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12320         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12321
12322         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12323         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12324
12325         # If archive_cmds runs LD, not CC, wlarc should be empty
12326         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12327         #     investigate it a little bit more. (MM)
12328         wlarc='${wl}'
12329
12330         # ancient GNU ld didn't support --whole-archive et. al.
12331         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12332           $GREP 'no-whole-archive' > /dev/null; then
12333           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12334         else
12335           whole_archive_flag_spec_CXX=
12336         fi
12337       else
12338         with_gnu_ld=no
12339         wlarc=
12340
12341         # A generic and very simple default shared library creation
12342         # command for GNU C++ for the case where it uses the native
12343         # linker, instead of GNU ld.  If possible, this setting should
12344         # overridden to take advantage of the native linker features on
12345         # the platform it is being used on.
12346         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12347       fi
12348
12349       # Commands to make compiler produce verbose output that lists
12350       # what "hidden" libraries, object files and flags are used when
12351       # linking a shared library.
12352       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12353
12354     else
12355       GXX=no
12356       with_gnu_ld=no
12357       wlarc=
12358     fi
12359
12360     # PORTME: fill in a description of your system's C++ link characteristics
12361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12362 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12363     ld_shlibs_CXX=yes
12364     case $host_os in
12365       aix3*)
12366         # FIXME: insert proper C++ library support
12367         ld_shlibs_CXX=no
12368         ;;
12369       aix[4-9]*)
12370         if test "$host_cpu" = ia64; then
12371           # On IA64, the linker does run time linking by default, so we don't
12372           # have to do anything special.
12373           aix_use_runtimelinking=no
12374           exp_sym_flag='-Bexport'
12375           no_entry_flag=""
12376         else
12377           aix_use_runtimelinking=no
12378
12379           # Test if we are trying to use run time linking or normal
12380           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12381           # need to do runtime linking.
12382           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12383             for ld_flag in $LDFLAGS; do
12384               case $ld_flag in
12385               *-brtl*)
12386                 aix_use_runtimelinking=yes
12387                 break
12388                 ;;
12389               esac
12390             done
12391             ;;
12392           esac
12393
12394           exp_sym_flag='-bexport'
12395           no_entry_flag='-bnoentry'
12396         fi
12397
12398         # When large executables or shared objects are built, AIX ld can
12399         # have problems creating the table of contents.  If linking a library
12400         # or program results in "error TOC overflow" add -mminimal-toc to
12401         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12402         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12403
12404         archive_cmds_CXX=''
12405         hardcode_direct_CXX=yes
12406         hardcode_direct_absolute_CXX=yes
12407         hardcode_libdir_separator_CXX=':'
12408         link_all_deplibs_CXX=yes
12409         file_list_spec_CXX='${wl}-f,'
12410
12411         if test "$GXX" = yes; then
12412           case $host_os in aix4.[012]|aix4.[012].*)
12413           # We only want to do this on AIX 4.2 and lower, the check
12414           # below for broken collect2 doesn't work under 4.3+
12415           collect2name=`${CC} -print-prog-name=collect2`
12416           if test -f "$collect2name" &&
12417              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12418           then
12419             # We have reworked collect2
12420             :
12421           else
12422             # We have old collect2
12423             hardcode_direct_CXX=unsupported
12424             # It fails to find uninstalled libraries when the uninstalled
12425             # path is not listed in the libpath.  Setting hardcode_minus_L
12426             # to unsupported forces relinking
12427             hardcode_minus_L_CXX=yes
12428             hardcode_libdir_flag_spec_CXX='-L$libdir'
12429             hardcode_libdir_separator_CXX=
12430           fi
12431           esac
12432           shared_flag='-shared'
12433           if test "$aix_use_runtimelinking" = yes; then
12434             shared_flag="$shared_flag "'${wl}-G'
12435           fi
12436         else
12437           # not using gcc
12438           if test "$host_cpu" = ia64; then
12439           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12440           # chokes on -Wl,-G. The following line is correct:
12441           shared_flag='-G'
12442           else
12443             if test "$aix_use_runtimelinking" = yes; then
12444               shared_flag='${wl}-G'
12445             else
12446               shared_flag='${wl}-bM:SRE'
12447             fi
12448           fi
12449         fi
12450
12451         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12452         # It seems that -bexpall does not export symbols beginning with
12453         # underscore (_), so it is better to generate a list of symbols to
12454         # export.
12455         always_export_symbols_CXX=yes
12456         if test "$aix_use_runtimelinking" = yes; then
12457           # Warning - without using the other runtime loading flags (-brtl),
12458           # -berok will link without error, but may produce a broken library.
12459           allow_undefined_flag_CXX='-berok'
12460           # Determine the default libpath from the value encoded in an empty
12461           # executable.
12462           if test "${lt_cv_aix_libpath+set}" = set; then
12463   aix_libpath=$lt_cv_aix_libpath
12464 else
12465   if ${lt_cv_aix_libpath__CXX+:} false; then :
12466   $as_echo_n "(cached) " >&6
12467 else
12468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h.  */
12470
12471 int
12472 main ()
12473 {
12474
12475   ;
12476   return 0;
12477 }
12478 _ACEOF
12479 if ac_fn_cxx_try_link "$LINENO"; then :
12480
12481   lt_aix_libpath_sed='
12482       /Import File Strings/,/^$/ {
12483           /^0/ {
12484               s/^0  *\([^ ]*\) *$/\1/
12485               p
12486           }
12487       }'
12488   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12489   # Check for a 64-bit object if we didn't find anything.
12490   if test -z "$lt_cv_aix_libpath__CXX"; then
12491     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12492   fi
12493 fi
12494 rm -f core conftest.err conftest.$ac_objext \
12495     conftest$ac_exeext conftest.$ac_ext
12496   if test -z "$lt_cv_aix_libpath__CXX"; then
12497     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12498   fi
12499
12500 fi
12501
12502   aix_libpath=$lt_cv_aix_libpath__CXX
12503 fi
12504
12505           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12506
12507           archive_expsym_cmds_CXX='$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"
12508         else
12509           if test "$host_cpu" = ia64; then
12510             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12511             allow_undefined_flag_CXX="-z nodefs"
12512             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12513           else
12514             # Determine the default libpath from the value encoded in an
12515             # empty executable.
12516             if test "${lt_cv_aix_libpath+set}" = set; then
12517   aix_libpath=$lt_cv_aix_libpath
12518 else
12519   if ${lt_cv_aix_libpath__CXX+:} false; then :
12520   $as_echo_n "(cached) " >&6
12521 else
12522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h.  */
12524
12525 int
12526 main ()
12527 {
12528
12529   ;
12530   return 0;
12531 }
12532 _ACEOF
12533 if ac_fn_cxx_try_link "$LINENO"; then :
12534
12535   lt_aix_libpath_sed='
12536       /Import File Strings/,/^$/ {
12537           /^0/ {
12538               s/^0  *\([^ ]*\) *$/\1/
12539               p
12540           }
12541       }'
12542   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12543   # Check for a 64-bit object if we didn't find anything.
12544   if test -z "$lt_cv_aix_libpath__CXX"; then
12545     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12546   fi
12547 fi
12548 rm -f core conftest.err conftest.$ac_objext \
12549     conftest$ac_exeext conftest.$ac_ext
12550   if test -z "$lt_cv_aix_libpath__CXX"; then
12551     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12552   fi
12553
12554 fi
12555
12556   aix_libpath=$lt_cv_aix_libpath__CXX
12557 fi
12558
12559             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12560             # Warning - without using the other run time loading flags,
12561             # -berok will link without error, but may produce a broken library.
12562             no_undefined_flag_CXX=' ${wl}-bernotok'
12563             allow_undefined_flag_CXX=' ${wl}-berok'
12564             if test "$with_gnu_ld" = yes; then
12565               # We only use this code for GNU lds that support --whole-archive.
12566               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12567             else
12568               # Exported symbols can be pulled into shared objects from archives
12569               whole_archive_flag_spec_CXX='$convenience'
12570             fi
12571             archive_cmds_need_lc_CXX=yes
12572             # This is similar to how AIX traditionally builds its shared
12573             # libraries.
12574             archive_expsym_cmds_CXX="\$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'
12575           fi
12576         fi
12577         ;;
12578
12579       beos*)
12580         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12581           allow_undefined_flag_CXX=unsupported
12582           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12583           # support --undefined.  This deserves some investigation.  FIXME
12584           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12585         else
12586           ld_shlibs_CXX=no
12587         fi
12588         ;;
12589
12590       chorus*)
12591         case $cc_basename in
12592           *)
12593           # FIXME: insert proper C++ library support
12594           ld_shlibs_CXX=no
12595           ;;
12596         esac
12597         ;;
12598
12599       cygwin* | mingw* | pw32* | cegcc*)
12600         case $GXX,$cc_basename in
12601         ,cl* | no,cl*)
12602           # Native MSVC
12603           # hardcode_libdir_flag_spec is actually meaningless, as there is
12604           # no search path for DLLs.
12605           hardcode_libdir_flag_spec_CXX=' '
12606           allow_undefined_flag_CXX=unsupported
12607           always_export_symbols_CXX=yes
12608           file_list_spec_CXX='@'
12609           # Tell ltmain to make .lib files, not .a files.
12610           libext=lib
12611           # Tell ltmain to make .dll files, not .so files.
12612           shrext_cmds=".dll"
12613           # FIXME: Setting linknames here is a bad hack.
12614           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12615           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12616               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12617             else
12618               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12619             fi~
12620             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12621             linknames='
12622           # The linker will not automatically build a static lib if we build a DLL.
12623           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12624           enable_shared_with_static_runtimes_CXX=yes
12625           # Don't use ranlib
12626           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12627           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12628             lt_tool_outputfile="@TOOL_OUTPUT@"~
12629             case $lt_outputfile in
12630               *.exe|*.EXE) ;;
12631               *)
12632                 lt_outputfile="$lt_outputfile.exe"
12633                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12634                 ;;
12635             esac~
12636             func_to_tool_file "$lt_outputfile"~
12637             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12638               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12639               $RM "$lt_outputfile.manifest";
12640             fi'
12641           ;;
12642         *)
12643           # g++
12644           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12645           # as there is no search path for DLLs.
12646           hardcode_libdir_flag_spec_CXX='-L$libdir'
12647           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12648           allow_undefined_flag_CXX=unsupported
12649           always_export_symbols_CXX=no
12650           enable_shared_with_static_runtimes_CXX=yes
12651
12652           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12653             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12654             # If the export-symbols file already is a .def file (1st line
12655             # is EXPORTS), use it as is; otherwise, prepend...
12656             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12657               cp $export_symbols $output_objdir/$soname.def;
12658             else
12659               echo EXPORTS > $output_objdir/$soname.def;
12660               cat $export_symbols >> $output_objdir/$soname.def;
12661             fi~
12662             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12663           else
12664             ld_shlibs_CXX=no
12665           fi
12666           ;;
12667         esac
12668         ;;
12669       darwin* | rhapsody*)
12670
12671
12672   archive_cmds_need_lc_CXX=no
12673   hardcode_direct_CXX=no
12674   hardcode_automatic_CXX=yes
12675   hardcode_shlibpath_var_CXX=unsupported
12676   if test "$lt_cv_ld_force_load" = "yes"; then
12677     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12678
12679   else
12680     whole_archive_flag_spec_CXX=''
12681   fi
12682   link_all_deplibs_CXX=yes
12683   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12684   case $cc_basename in
12685      ifort*) _lt_dar_can_shared=yes ;;
12686      *) _lt_dar_can_shared=$GCC ;;
12687   esac
12688   if test "$_lt_dar_can_shared" = "yes"; then
12689     output_verbose_link_cmd=func_echo_all
12690     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12691     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12692     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12693     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12694        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12695       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12696       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12697     fi
12698
12699   else
12700   ld_shlibs_CXX=no
12701   fi
12702
12703         ;;
12704
12705       dgux*)
12706         case $cc_basename in
12707           ec++*)
12708             # FIXME: insert proper C++ library support
12709             ld_shlibs_CXX=no
12710             ;;
12711           ghcx*)
12712             # Green Hills C++ Compiler
12713             # FIXME: insert proper C++ library support
12714             ld_shlibs_CXX=no
12715             ;;
12716           *)
12717             # FIXME: insert proper C++ library support
12718             ld_shlibs_CXX=no
12719             ;;
12720         esac
12721         ;;
12722
12723       freebsd2.*)
12724         # C++ shared libraries reported to be fairly broken before
12725         # switch to ELF
12726         ld_shlibs_CXX=no
12727         ;;
12728
12729       freebsd-elf*)
12730         archive_cmds_need_lc_CXX=no
12731         ;;
12732
12733       freebsd* | dragonfly*)
12734         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12735         # conventions
12736         ld_shlibs_CXX=yes
12737         ;;
12738
12739       gnu*)
12740         ;;
12741
12742       haiku*)
12743         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12744         link_all_deplibs_CXX=yes
12745         ;;
12746
12747       hpux9*)
12748         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12749         hardcode_libdir_separator_CXX=:
12750         export_dynamic_flag_spec_CXX='${wl}-E'
12751         hardcode_direct_CXX=yes
12752         hardcode_minus_L_CXX=yes # Not in the search PATH,
12753                                              # but as the default
12754                                              # location of the library.
12755
12756         case $cc_basename in
12757           CC*)
12758             # FIXME: insert proper C++ library support
12759             ld_shlibs_CXX=no
12760             ;;
12761           aCC*)
12762             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12763             # Commands to make compiler produce verbose output that lists
12764             # what "hidden" libraries, object files and flags are used when
12765             # linking a shared library.
12766             #
12767             # There doesn't appear to be a way to prevent this compiler from
12768             # explicitly linking system object files so we need to strip them
12769             # from the output so that they don't get included in the library
12770             # dependencies.
12771             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12772             ;;
12773           *)
12774             if test "$GXX" = yes; then
12775               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12776             else
12777               # FIXME: insert proper C++ library support
12778               ld_shlibs_CXX=no
12779             fi
12780             ;;
12781         esac
12782         ;;
12783
12784       hpux10*|hpux11*)
12785         if test $with_gnu_ld = no; then
12786           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12787           hardcode_libdir_separator_CXX=:
12788
12789           case $host_cpu in
12790             hppa*64*|ia64*)
12791               ;;
12792             *)
12793               export_dynamic_flag_spec_CXX='${wl}-E'
12794               ;;
12795           esac
12796         fi
12797         case $host_cpu in
12798           hppa*64*|ia64*)
12799             hardcode_direct_CXX=no
12800             hardcode_shlibpath_var_CXX=no
12801             ;;
12802           *)
12803             hardcode_direct_CXX=yes
12804             hardcode_direct_absolute_CXX=yes
12805             hardcode_minus_L_CXX=yes # Not in the search PATH,
12806                                                  # but as the default
12807                                                  # location of the library.
12808             ;;
12809         esac
12810
12811         case $cc_basename in
12812           CC*)
12813             # FIXME: insert proper C++ library support
12814             ld_shlibs_CXX=no
12815             ;;
12816           aCC*)
12817             case $host_cpu in
12818               hppa*64*)
12819                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12820                 ;;
12821               ia64*)
12822                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12823                 ;;
12824               *)
12825                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12826                 ;;
12827             esac
12828             # Commands to make compiler produce verbose output that lists
12829             # what "hidden" libraries, object files and flags are used when
12830             # linking a shared library.
12831             #
12832             # There doesn't appear to be a way to prevent this compiler from
12833             # explicitly linking system object files so we need to strip them
12834             # from the output so that they don't get included in the library
12835             # dependencies.
12836             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12837             ;;
12838           *)
12839             if test "$GXX" = yes; then
12840               if test $with_gnu_ld = no; then
12841                 case $host_cpu in
12842                   hppa*64*)
12843                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12844                     ;;
12845                   ia64*)
12846                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12847                     ;;
12848                   *)
12849                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12850                     ;;
12851                 esac
12852               fi
12853             else
12854               # FIXME: insert proper C++ library support
12855               ld_shlibs_CXX=no
12856             fi
12857             ;;
12858         esac
12859         ;;
12860
12861       interix[3-9]*)
12862         hardcode_direct_CXX=no
12863         hardcode_shlibpath_var_CXX=no
12864         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12865         export_dynamic_flag_spec_CXX='${wl}-E'
12866         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12867         # Instead, shared libraries are loaded at an image base (0x10000000 by
12868         # default) and relocated if they conflict, which is a slow very memory
12869         # consuming and fragmenting process.  To avoid this, we pick a random,
12870         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12871         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12872         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12873         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12874         ;;
12875       irix5* | irix6*)
12876         case $cc_basename in
12877           CC*)
12878             # SGI C++
12879             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12880
12881             # Archives containing C++ object files must be created using
12882             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12883             # necessary to make sure instantiated templates are included
12884             # in the archive.
12885             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12886             ;;
12887           *)
12888             if test "$GXX" = yes; then
12889               if test "$with_gnu_ld" = no; then
12890                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12891               else
12892                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12893               fi
12894             fi
12895             link_all_deplibs_CXX=yes
12896             ;;
12897         esac
12898         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899         hardcode_libdir_separator_CXX=:
12900         inherit_rpath_CXX=yes
12901         ;;
12902
12903       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12904         case $cc_basename in
12905           KCC*)
12906             # Kuck and Associates, Inc. (KAI) C++ Compiler
12907
12908             # KCC will only create a shared library if the output file
12909             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12910             # to its proper name (with version) after linking.
12911             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12912             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12913             # Commands to make compiler produce verbose output that lists
12914             # what "hidden" libraries, object files and flags are used when
12915             # linking a shared library.
12916             #
12917             # There doesn't appear to be a way to prevent this compiler from
12918             # explicitly linking system object files so we need to strip them
12919             # from the output so that they don't get included in the library
12920             # dependencies.
12921             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12922
12923             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925
12926             # Archives containing C++ object files must be created using
12927             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12928             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12929             ;;
12930           icpc* | ecpc* )
12931             # Intel C++
12932             with_gnu_ld=yes
12933             # version 8.0 and above of icpc choke on multiply defined symbols
12934             # if we add $predep_objects and $postdep_objects, however 7.1 and
12935             # earlier do not add the objects themselves.
12936             case `$CC -V 2>&1` in
12937               *"Version 7."*)
12938                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12939                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12940                 ;;
12941               *)  # Version 8.0 or newer
12942                 tmp_idyn=
12943                 case $host_cpu in
12944                   ia64*) tmp_idyn=' -i_dynamic';;
12945                 esac
12946                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12947                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12948                 ;;
12949             esac
12950             archive_cmds_need_lc_CXX=no
12951             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12952             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12953             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12954             ;;
12955           pgCC* | pgcpp*)
12956             # Portland Group C++ compiler
12957             case `$CC -V` in
12958             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12959               prelink_cmds_CXX='tpldir=Template.dir~
12960                 rm -rf $tpldir~
12961                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12962                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12963               old_archive_cmds_CXX='tpldir=Template.dir~
12964                 rm -rf $tpldir~
12965                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12966                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12967                 $RANLIB $oldlib'
12968               archive_cmds_CXX='tpldir=Template.dir~
12969                 rm -rf $tpldir~
12970                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12971                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12972               archive_expsym_cmds_CXX='tpldir=Template.dir~
12973                 rm -rf $tpldir~
12974                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12975                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12976               ;;
12977             *) # Version 6 and above use weak symbols
12978               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12979               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12980               ;;
12981             esac
12982
12983             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12984             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12985             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12986             ;;
12987           cxx*)
12988             # Compaq C++
12989             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12990             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12991
12992             runpath_var=LD_RUN_PATH
12993             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12994             hardcode_libdir_separator_CXX=:
12995
12996             # Commands to make compiler produce verbose output that lists
12997             # what "hidden" libraries, object files and flags are used when
12998             # linking a shared library.
12999             #
13000             # There doesn't appear to be a way to prevent this compiler from
13001             # explicitly linking system object files so we need to strip them
13002             # from the output so that they don't get included in the library
13003             # dependencies.
13004             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13005             ;;
13006           xl* | mpixl* | bgxl*)
13007             # IBM XL 8.0 on PPC, with GNU ld
13008             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13009             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13010             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13011             if test "x$supports_anon_versioning" = xyes; then
13012               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13013                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13014                 echo "local: *; };" >> $output_objdir/$libname.ver~
13015                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13016             fi
13017             ;;
13018           *)
13019             case `$CC -V 2>&1 | sed 5q` in
13020             *Sun\ C*)
13021               # Sun C++ 5.9
13022               no_undefined_flag_CXX=' -zdefs'
13023               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13024               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13025               hardcode_libdir_flag_spec_CXX='-R$libdir'
13026               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13027               compiler_needs_object_CXX=yes
13028
13029               # Not sure whether something based on
13030               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13031               # would be better.
13032               output_verbose_link_cmd='func_echo_all'
13033
13034               # Archives containing C++ object files must be created using
13035               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13036               # necessary to make sure instantiated templates are included
13037               # in the archive.
13038               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13039               ;;
13040             esac
13041             ;;
13042         esac
13043         ;;
13044
13045       lynxos*)
13046         # FIXME: insert proper C++ library support
13047         ld_shlibs_CXX=no
13048         ;;
13049
13050       m88k*)
13051         # FIXME: insert proper C++ library support
13052         ld_shlibs_CXX=no
13053         ;;
13054
13055       mvs*)
13056         case $cc_basename in
13057           cxx*)
13058             # FIXME: insert proper C++ library support
13059             ld_shlibs_CXX=no
13060             ;;
13061           *)
13062             # FIXME: insert proper C++ library support
13063             ld_shlibs_CXX=no
13064             ;;
13065         esac
13066         ;;
13067
13068       netbsd*)
13069         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13070           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13071           wlarc=
13072           hardcode_libdir_flag_spec_CXX='-R$libdir'
13073           hardcode_direct_CXX=yes
13074           hardcode_shlibpath_var_CXX=no
13075         fi
13076         # Workaround some broken pre-1.5 toolchains
13077         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13078         ;;
13079
13080       *nto* | *qnx*)
13081         ld_shlibs_CXX=yes
13082         ;;
13083
13084       openbsd2*)
13085         # C++ shared libraries are fairly broken
13086         ld_shlibs_CXX=no
13087         ;;
13088
13089       openbsd*)
13090         if test -f /usr/libexec/ld.so; then
13091           hardcode_direct_CXX=yes
13092           hardcode_shlibpath_var_CXX=no
13093           hardcode_direct_absolute_CXX=yes
13094           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13095           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13096           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13097             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13098             export_dynamic_flag_spec_CXX='${wl}-E'
13099             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13100           fi
13101           output_verbose_link_cmd=func_echo_all
13102         else
13103           ld_shlibs_CXX=no
13104         fi
13105         ;;
13106
13107       osf3* | osf4* | osf5*)
13108         case $cc_basename in
13109           KCC*)
13110             # Kuck and Associates, Inc. (KAI) C++ Compiler
13111
13112             # KCC will only create a shared library if the output file
13113             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13114             # to its proper name (with version) after linking.
13115             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13116
13117             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13118             hardcode_libdir_separator_CXX=:
13119
13120             # Archives containing C++ object files must be created using
13121             # the KAI C++ compiler.
13122             case $host in
13123               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13124               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13125             esac
13126             ;;
13127           RCC*)
13128             # Rational C++ 2.4.1
13129             # FIXME: insert proper C++ library support
13130             ld_shlibs_CXX=no
13131             ;;
13132           cxx*)
13133             case $host in
13134               osf3*)
13135                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13136                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13137                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13138                 ;;
13139               *)
13140                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13141                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13142                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13143                   echo "-hidden">> $lib.exp~
13144                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13145                   $RM $lib.exp'
13146                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13147                 ;;
13148             esac
13149
13150             hardcode_libdir_separator_CXX=:
13151
13152             # Commands to make compiler produce verbose output that lists
13153             # what "hidden" libraries, object files and flags are used when
13154             # linking a shared library.
13155             #
13156             # There doesn't appear to be a way to prevent this compiler from
13157             # explicitly linking system object files so we need to strip them
13158             # from the output so that they don't get included in the library
13159             # dependencies.
13160             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13161             ;;
13162           *)
13163             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13164               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13165               case $host in
13166                 osf3*)
13167                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13168                   ;;
13169                 *)
13170                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13171                   ;;
13172               esac
13173
13174               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13175               hardcode_libdir_separator_CXX=:
13176
13177               # Commands to make compiler produce verbose output that lists
13178               # what "hidden" libraries, object files and flags are used when
13179               # linking a shared library.
13180               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13181
13182             else
13183               # FIXME: insert proper C++ library support
13184               ld_shlibs_CXX=no
13185             fi
13186             ;;
13187         esac
13188         ;;
13189
13190       psos*)
13191         # FIXME: insert proper C++ library support
13192         ld_shlibs_CXX=no
13193         ;;
13194
13195       sunos4*)
13196         case $cc_basename in
13197           CC*)
13198             # Sun C++ 4.x
13199             # FIXME: insert proper C++ library support
13200             ld_shlibs_CXX=no
13201             ;;
13202           lcc*)
13203             # Lucid
13204             # FIXME: insert proper C++ library support
13205             ld_shlibs_CXX=no
13206             ;;
13207           *)
13208             # FIXME: insert proper C++ library support
13209             ld_shlibs_CXX=no
13210             ;;
13211         esac
13212         ;;
13213
13214       solaris*)
13215         case $cc_basename in
13216           CC* | sunCC*)
13217             # Sun C++ 4.2, 5.x and Centerline C++
13218             archive_cmds_need_lc_CXX=yes
13219             no_undefined_flag_CXX=' -zdefs'
13220             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13221             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13222               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13223
13224             hardcode_libdir_flag_spec_CXX='-R$libdir'
13225             hardcode_shlibpath_var_CXX=no
13226             case $host_os in
13227               solaris2.[0-5] | solaris2.[0-5].*) ;;
13228               *)
13229                 # The compiler driver will combine and reorder linker options,
13230                 # but understands `-z linker_flag'.
13231                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13232                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13233                 ;;
13234             esac
13235             link_all_deplibs_CXX=yes
13236
13237             output_verbose_link_cmd='func_echo_all'
13238
13239             # Archives containing C++ object files must be created using
13240             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13241             # necessary to make sure instantiated templates are included
13242             # in the archive.
13243             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13244             ;;
13245           gcx*)
13246             # Green Hills C++ Compiler
13247             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13248
13249             # The C++ compiler must be used to create the archive.
13250             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13251             ;;
13252           *)
13253             # GNU C++ compiler with Solaris linker
13254             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13255               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13256               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13257                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13258                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13259                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13260
13261                 # Commands to make compiler produce verbose output that lists
13262                 # what "hidden" libraries, object files and flags are used when
13263                 # linking a shared library.
13264                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13265               else
13266                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13267                 # platform.
13268                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13269                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13270                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13271
13272                 # Commands to make compiler produce verbose output that lists
13273                 # what "hidden" libraries, object files and flags are used when
13274                 # linking a shared library.
13275                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13276               fi
13277
13278               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13279               case $host_os in
13280                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13281                 *)
13282                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13283                   ;;
13284               esac
13285             fi
13286             ;;
13287         esac
13288         ;;
13289
13290     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13291       no_undefined_flag_CXX='${wl}-z,text'
13292       archive_cmds_need_lc_CXX=no
13293       hardcode_shlibpath_var_CXX=no
13294       runpath_var='LD_RUN_PATH'
13295
13296       case $cc_basename in
13297         CC*)
13298           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13299           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13300           ;;
13301         *)
13302           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13303           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304           ;;
13305       esac
13306       ;;
13307
13308       sysv5* | sco3.2v5* | sco5v6*)
13309         # Note: We can NOT use -z defs as we might desire, because we do not
13310         # link with -lc, and that would cause any symbols used from libc to
13311         # always be unresolved, which means just about no library would
13312         # ever link correctly.  If we're not using GNU ld we use -z text
13313         # though, which does catch some bad symbols but isn't as heavy-handed
13314         # as -z defs.
13315         no_undefined_flag_CXX='${wl}-z,text'
13316         allow_undefined_flag_CXX='${wl}-z,nodefs'
13317         archive_cmds_need_lc_CXX=no
13318         hardcode_shlibpath_var_CXX=no
13319         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13320         hardcode_libdir_separator_CXX=':'
13321         link_all_deplibs_CXX=yes
13322         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13323         runpath_var='LD_RUN_PATH'
13324
13325         case $cc_basename in
13326           CC*)
13327             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13328             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13329             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13330               '"$old_archive_cmds_CXX"
13331             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13332               '"$reload_cmds_CXX"
13333             ;;
13334           *)
13335             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13336             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13337             ;;
13338         esac
13339       ;;
13340
13341       tandem*)
13342         case $cc_basename in
13343           NCC*)
13344             # NonStop-UX NCC 3.20
13345             # FIXME: insert proper C++ library support
13346             ld_shlibs_CXX=no
13347             ;;
13348           *)
13349             # FIXME: insert proper C++ library support
13350             ld_shlibs_CXX=no
13351             ;;
13352         esac
13353         ;;
13354
13355       vxworks*)
13356         # FIXME: insert proper C++ library support
13357         ld_shlibs_CXX=no
13358         ;;
13359
13360       *)
13361         # FIXME: insert proper C++ library support
13362         ld_shlibs_CXX=no
13363         ;;
13364     esac
13365
13366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13367 $as_echo "$ld_shlibs_CXX" >&6; }
13368     test "$ld_shlibs_CXX" = no && can_build_shared=no
13369
13370     GCC_CXX="$GXX"
13371     LD_CXX="$LD"
13372
13373     ## CAVEAT EMPTOR:
13374     ## There is no encapsulation within the following macros, do not change
13375     ## the running order or otherwise move them around unless you know exactly
13376     ## what you are doing...
13377     # Dependencies to place before and after the object being linked:
13378 predep_objects_CXX=
13379 postdep_objects_CXX=
13380 predeps_CXX=
13381 postdeps_CXX=
13382 compiler_lib_search_path_CXX=
13383
13384 cat > conftest.$ac_ext <<_LT_EOF
13385 class Foo
13386 {
13387 public:
13388   Foo (void) { a = 0; }
13389 private:
13390   int a;
13391 };
13392 _LT_EOF
13393
13394
13395 _lt_libdeps_save_CFLAGS=$CFLAGS
13396 case "$CC $CFLAGS " in #(
13397 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13398 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13399 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13400 esac
13401
13402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13403   (eval $ac_compile) 2>&5
13404   ac_status=$?
13405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13406   test $ac_status = 0; }; then
13407   # Parse the compiler output and extract the necessary
13408   # objects, libraries and library flags.
13409
13410   # Sentinel used to keep track of whether or not we are before
13411   # the conftest object file.
13412   pre_test_object_deps_done=no
13413
13414   for p in `eval "$output_verbose_link_cmd"`; do
13415     case ${prev}${p} in
13416
13417     -L* | -R* | -l*)
13418        # Some compilers place space between "-{L,R}" and the path.
13419        # Remove the space.
13420        if test $p = "-L" ||
13421           test $p = "-R"; then
13422          prev=$p
13423          continue
13424        fi
13425
13426        # Expand the sysroot to ease extracting the directories later.
13427        if test -z "$prev"; then
13428          case $p in
13429          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13430          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13431          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13432          esac
13433        fi
13434        case $p in
13435        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13436        esac
13437        if test "$pre_test_object_deps_done" = no; then
13438          case ${prev} in
13439          -L | -R)
13440            # Internal compiler library paths should come after those
13441            # provided the user.  The postdeps already come after the
13442            # user supplied libs so there is no need to process them.
13443            if test -z "$compiler_lib_search_path_CXX"; then
13444              compiler_lib_search_path_CXX="${prev}${p}"
13445            else
13446              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13447            fi
13448            ;;
13449          # The "-l" case would never come before the object being
13450          # linked, so don't bother handling this case.
13451          esac
13452        else
13453          if test -z "$postdeps_CXX"; then
13454            postdeps_CXX="${prev}${p}"
13455          else
13456            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13457          fi
13458        fi
13459        prev=
13460        ;;
13461
13462     *.lto.$objext) ;; # Ignore GCC LTO objects
13463     *.$objext)
13464        # This assumes that the test object file only shows up
13465        # once in the compiler output.
13466        if test "$p" = "conftest.$objext"; then
13467          pre_test_object_deps_done=yes
13468          continue
13469        fi
13470
13471        if test "$pre_test_object_deps_done" = no; then
13472          if test -z "$predep_objects_CXX"; then
13473            predep_objects_CXX="$p"
13474          else
13475            predep_objects_CXX="$predep_objects_CXX $p"
13476          fi
13477        else
13478          if test -z "$postdep_objects_CXX"; then
13479            postdep_objects_CXX="$p"
13480          else
13481            postdep_objects_CXX="$postdep_objects_CXX $p"
13482          fi
13483        fi
13484        ;;
13485
13486     *) ;; # Ignore the rest.
13487
13488     esac
13489   done
13490
13491   # Clean up.
13492   rm -f a.out a.exe
13493 else
13494   echo "libtool.m4: error: problem compiling CXX test program"
13495 fi
13496
13497 $RM -f confest.$objext
13498 CFLAGS=$_lt_libdeps_save_CFLAGS
13499
13500 # PORTME: override above test on systems where it is broken
13501 case $host_os in
13502 interix[3-9]*)
13503   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13504   # hack all around it, let's just trust "g++" to DTRT.
13505   predep_objects_CXX=
13506   postdep_objects_CXX=
13507   postdeps_CXX=
13508   ;;
13509
13510 linux*)
13511   case `$CC -V 2>&1 | sed 5q` in
13512   *Sun\ C*)
13513     # Sun C++ 5.9
13514
13515     # The more standards-conforming stlport4 library is
13516     # incompatible with the Cstd library. Avoid specifying
13517     # it if it's in CXXFLAGS. Ignore libCrun as
13518     # -library=stlport4 depends on it.
13519     case " $CXX $CXXFLAGS " in
13520     *" -library=stlport4 "*)
13521       solaris_use_stlport4=yes
13522       ;;
13523     esac
13524
13525     if test "$solaris_use_stlport4" != yes; then
13526       postdeps_CXX='-library=Cstd -library=Crun'
13527     fi
13528     ;;
13529   esac
13530   ;;
13531
13532 solaris*)
13533   case $cc_basename in
13534   CC* | sunCC*)
13535     # The more standards-conforming stlport4 library is
13536     # incompatible with the Cstd library. Avoid specifying
13537     # it if it's in CXXFLAGS. Ignore libCrun as
13538     # -library=stlport4 depends on it.
13539     case " $CXX $CXXFLAGS " in
13540     *" -library=stlport4 "*)
13541       solaris_use_stlport4=yes
13542       ;;
13543     esac
13544
13545     # Adding this requires a known-good setup of shared libraries for
13546     # Sun compiler versions before 5.6, else PIC objects from an old
13547     # archive will be linked into the output, leading to subtle bugs.
13548     if test "$solaris_use_stlport4" != yes; then
13549       postdeps_CXX='-library=Cstd -library=Crun'
13550     fi
13551     ;;
13552   esac
13553   ;;
13554 esac
13555
13556
13557 case " $postdeps_CXX " in
13558 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13559 esac
13560  compiler_lib_search_dirs_CXX=
13561 if test -n "${compiler_lib_search_path_CXX}"; then
13562  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13563 fi
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595     lt_prog_compiler_wl_CXX=
13596 lt_prog_compiler_pic_CXX=
13597 lt_prog_compiler_static_CXX=
13598
13599
13600   # C++ specific cases for pic, static, wl, etc.
13601   if test "$GXX" = yes; then
13602     lt_prog_compiler_wl_CXX='-Wl,'
13603     lt_prog_compiler_static_CXX='-static'
13604
13605     case $host_os in
13606     aix*)
13607       # All AIX code is PIC.
13608       if test "$host_cpu" = ia64; then
13609         # AIX 5 now supports IA64 processor
13610         lt_prog_compiler_static_CXX='-Bstatic'
13611       fi
13612       ;;
13613
13614     amigaos*)
13615       case $host_cpu in
13616       powerpc)
13617             # see comment about AmigaOS4 .so support
13618             lt_prog_compiler_pic_CXX='-fPIC'
13619         ;;
13620       m68k)
13621             # FIXME: we need at least 68020 code to build shared libraries, but
13622             # adding the `-m68020' flag to GCC prevents building anything better,
13623             # like `-m68040'.
13624             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13625         ;;
13626       esac
13627       ;;
13628
13629     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13630       # PIC is the default for these OSes.
13631       ;;
13632     mingw* | cygwin* | os2* | pw32* | cegcc*)
13633       # This hack is so that the source file can tell whether it is being
13634       # built for inclusion in a dll (and should export symbols for example).
13635       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13636       # (--disable-auto-import) libraries
13637       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13638       ;;
13639     darwin* | rhapsody*)
13640       # PIC is the default on this platform
13641       # Common symbols not allowed in MH_DYLIB files
13642       lt_prog_compiler_pic_CXX='-fno-common'
13643       ;;
13644     *djgpp*)
13645       # DJGPP does not support shared libraries at all
13646       lt_prog_compiler_pic_CXX=
13647       ;;
13648     haiku*)
13649       # PIC is the default for Haiku.
13650       # The "-static" flag exists, but is broken.
13651       lt_prog_compiler_static_CXX=
13652       ;;
13653     interix[3-9]*)
13654       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13655       # Instead, we relocate shared libraries at runtime.
13656       ;;
13657     sysv4*MP*)
13658       if test -d /usr/nec; then
13659         lt_prog_compiler_pic_CXX=-Kconform_pic
13660       fi
13661       ;;
13662     hpux*)
13663       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13664       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13665       # sets the default TLS model and affects inlining.
13666       case $host_cpu in
13667       hppa*64*)
13668         ;;
13669       *)
13670         lt_prog_compiler_pic_CXX='-fPIC'
13671         ;;
13672       esac
13673       ;;
13674     *qnx* | *nto*)
13675       # QNX uses GNU C++, but need to define -shared option too, otherwise
13676       # it will coredump.
13677       lt_prog_compiler_pic_CXX='-fPIC -shared'
13678       ;;
13679     *)
13680       lt_prog_compiler_pic_CXX='-fPIC'
13681       ;;
13682     esac
13683   else
13684     case $host_os in
13685       aix[4-9]*)
13686         # All AIX code is PIC.
13687         if test "$host_cpu" = ia64; then
13688           # AIX 5 now supports IA64 processor
13689           lt_prog_compiler_static_CXX='-Bstatic'
13690         else
13691           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13692         fi
13693         ;;
13694       chorus*)
13695         case $cc_basename in
13696         cxch68*)
13697           # Green Hills C++ Compiler
13698           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13699           ;;
13700         esac
13701         ;;
13702       mingw* | cygwin* | os2* | pw32* | cegcc*)
13703         # This hack is so that the source file can tell whether it is being
13704         # built for inclusion in a dll (and should export symbols for example).
13705         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13706         ;;
13707       dgux*)
13708         case $cc_basename in
13709           ec++*)
13710             lt_prog_compiler_pic_CXX='-KPIC'
13711             ;;
13712           ghcx*)
13713             # Green Hills C++ Compiler
13714             lt_prog_compiler_pic_CXX='-pic'
13715             ;;
13716           *)
13717             ;;
13718         esac
13719         ;;
13720       freebsd* | dragonfly*)
13721         # FreeBSD uses GNU C++
13722         ;;
13723       hpux9* | hpux10* | hpux11*)
13724         case $cc_basename in
13725           CC*)
13726             lt_prog_compiler_wl_CXX='-Wl,'
13727             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13728             if test "$host_cpu" != ia64; then
13729               lt_prog_compiler_pic_CXX='+Z'
13730             fi
13731             ;;
13732           aCC*)
13733             lt_prog_compiler_wl_CXX='-Wl,'
13734             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13735             case $host_cpu in
13736             hppa*64*|ia64*)
13737               # +Z the default
13738               ;;
13739             *)
13740               lt_prog_compiler_pic_CXX='+Z'
13741               ;;
13742             esac
13743             ;;
13744           *)
13745             ;;
13746         esac
13747         ;;
13748       interix*)
13749         # This is c89, which is MS Visual C++ (no shared libs)
13750         # Anyone wants to do a port?
13751         ;;
13752       irix5* | irix6* | nonstopux*)
13753         case $cc_basename in
13754           CC*)
13755             lt_prog_compiler_wl_CXX='-Wl,'
13756             lt_prog_compiler_static_CXX='-non_shared'
13757             # CC pic flag -KPIC is the default.
13758             ;;
13759           *)
13760             ;;
13761         esac
13762         ;;
13763       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13764         case $cc_basename in
13765           KCC*)
13766             # KAI C++ Compiler
13767             lt_prog_compiler_wl_CXX='--backend -Wl,'
13768             lt_prog_compiler_pic_CXX='-fPIC'
13769             ;;
13770           ecpc* )
13771             # old Intel C++ for x86_64 which still supported -KPIC.
13772             lt_prog_compiler_wl_CXX='-Wl,'
13773             lt_prog_compiler_pic_CXX='-KPIC'
13774             lt_prog_compiler_static_CXX='-static'
13775             ;;
13776           icpc* )
13777             # Intel C++, used to be incompatible with GCC.
13778             # ICC 10 doesn't accept -KPIC any more.
13779             lt_prog_compiler_wl_CXX='-Wl,'
13780             lt_prog_compiler_pic_CXX='-fPIC'
13781             lt_prog_compiler_static_CXX='-static'
13782             ;;
13783           pgCC* | pgcpp*)
13784             # Portland Group C++ compiler
13785             lt_prog_compiler_wl_CXX='-Wl,'
13786             lt_prog_compiler_pic_CXX='-fpic'
13787             lt_prog_compiler_static_CXX='-Bstatic'
13788             ;;
13789           cxx*)
13790             # Compaq C++
13791             # Make sure the PIC flag is empty.  It appears that all Alpha
13792             # Linux and Compaq Tru64 Unix objects are PIC.
13793             lt_prog_compiler_pic_CXX=
13794             lt_prog_compiler_static_CXX='-non_shared'
13795             ;;
13796           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13797             # IBM XL 8.0, 9.0 on PPC and BlueGene
13798             lt_prog_compiler_wl_CXX='-Wl,'
13799             lt_prog_compiler_pic_CXX='-qpic'
13800             lt_prog_compiler_static_CXX='-qstaticlink'
13801             ;;
13802           *)
13803             case `$CC -V 2>&1 | sed 5q` in
13804             *Sun\ C*)
13805               # Sun C++ 5.9
13806               lt_prog_compiler_pic_CXX='-KPIC'
13807               lt_prog_compiler_static_CXX='-Bstatic'
13808               lt_prog_compiler_wl_CXX='-Qoption ld '
13809               ;;
13810             esac
13811             ;;
13812         esac
13813         ;;
13814       lynxos*)
13815         ;;
13816       m88k*)
13817         ;;
13818       mvs*)
13819         case $cc_basename in
13820           cxx*)
13821             lt_prog_compiler_pic_CXX='-W c,exportall'
13822             ;;
13823           *)
13824             ;;
13825         esac
13826         ;;
13827       netbsd*)
13828         ;;
13829       *qnx* | *nto*)
13830         # QNX uses GNU C++, but need to define -shared option too, otherwise
13831         # it will coredump.
13832         lt_prog_compiler_pic_CXX='-fPIC -shared'
13833         ;;
13834       osf3* | osf4* | osf5*)
13835         case $cc_basename in
13836           KCC*)
13837             lt_prog_compiler_wl_CXX='--backend -Wl,'
13838             ;;
13839           RCC*)
13840             # Rational C++ 2.4.1
13841             lt_prog_compiler_pic_CXX='-pic'
13842             ;;
13843           cxx*)
13844             # Digital/Compaq C++
13845             lt_prog_compiler_wl_CXX='-Wl,'
13846             # Make sure the PIC flag is empty.  It appears that all Alpha
13847             # Linux and Compaq Tru64 Unix objects are PIC.
13848             lt_prog_compiler_pic_CXX=
13849             lt_prog_compiler_static_CXX='-non_shared'
13850             ;;
13851           *)
13852             ;;
13853         esac
13854         ;;
13855       psos*)
13856         ;;
13857       solaris*)
13858         case $cc_basename in
13859           CC* | sunCC*)
13860             # Sun C++ 4.2, 5.x and Centerline C++
13861             lt_prog_compiler_pic_CXX='-KPIC'
13862             lt_prog_compiler_static_CXX='-Bstatic'
13863             lt_prog_compiler_wl_CXX='-Qoption ld '
13864             ;;
13865           gcx*)
13866             # Green Hills C++ Compiler
13867             lt_prog_compiler_pic_CXX='-PIC'
13868             ;;
13869           *)
13870             ;;
13871         esac
13872         ;;
13873       sunos4*)
13874         case $cc_basename in
13875           CC*)
13876             # Sun C++ 4.x
13877             lt_prog_compiler_pic_CXX='-pic'
13878             lt_prog_compiler_static_CXX='-Bstatic'
13879             ;;
13880           lcc*)
13881             # Lucid
13882             lt_prog_compiler_pic_CXX='-pic'
13883             ;;
13884           *)
13885             ;;
13886         esac
13887         ;;
13888       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13889         case $cc_basename in
13890           CC*)
13891             lt_prog_compiler_wl_CXX='-Wl,'
13892             lt_prog_compiler_pic_CXX='-KPIC'
13893             lt_prog_compiler_static_CXX='-Bstatic'
13894             ;;
13895         esac
13896         ;;
13897       tandem*)
13898         case $cc_basename in
13899           NCC*)
13900             # NonStop-UX NCC 3.20
13901             lt_prog_compiler_pic_CXX='-KPIC'
13902             ;;
13903           *)
13904             ;;
13905         esac
13906         ;;
13907       vxworks*)
13908         ;;
13909       *)
13910         lt_prog_compiler_can_build_shared_CXX=no
13911         ;;
13912     esac
13913   fi
13914
13915 case $host_os in
13916   # For platforms which do not support PIC, -DPIC is meaningless:
13917   *djgpp*)
13918     lt_prog_compiler_pic_CXX=
13919     ;;
13920   *)
13921     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13922     ;;
13923 esac
13924
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13926 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13927 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13928   $as_echo_n "(cached) " >&6
13929 else
13930   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13931 fi
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13933 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13934 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13935
13936 #
13937 # Check to make sure the PIC flag actually works.
13938 #
13939 if test -n "$lt_prog_compiler_pic_CXX"; then
13940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13941 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13942 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13943   $as_echo_n "(cached) " >&6
13944 else
13945   lt_cv_prog_compiler_pic_works_CXX=no
13946    ac_outfile=conftest.$ac_objext
13947    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13948    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13949    # Insert the option either (1) after the last *FLAGS variable, or
13950    # (2) before a word containing "conftest.", or (3) at the end.
13951    # Note that $ac_compile itself does not contain backslashes and begins
13952    # with a dollar sign (not a hyphen), so the echo should work correctly.
13953    # The option is referenced via a variable to avoid confusing sed.
13954    lt_compile=`echo "$ac_compile" | $SED \
13955    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13956    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13957    -e 's:$: $lt_compiler_flag:'`
13958    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13959    (eval "$lt_compile" 2>conftest.err)
13960    ac_status=$?
13961    cat conftest.err >&5
13962    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963    if (exit $ac_status) && test -s "$ac_outfile"; then
13964      # The compiler can only warn and ignore the option if not recognized
13965      # So say no if there are warnings other than the usual output.
13966      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13967      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13968      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13969        lt_cv_prog_compiler_pic_works_CXX=yes
13970      fi
13971    fi
13972    $RM conftest*
13973
13974 fi
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13976 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13977
13978 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13979     case $lt_prog_compiler_pic_CXX in
13980      "" | " "*) ;;
13981      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13982      esac
13983 else
13984     lt_prog_compiler_pic_CXX=
13985      lt_prog_compiler_can_build_shared_CXX=no
13986 fi
13987
13988 fi
13989
13990
13991
13992
13993
13994 #
13995 # Check to make sure the static flag actually works.
13996 #
13997 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14000 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14001   $as_echo_n "(cached) " >&6
14002 else
14003   lt_cv_prog_compiler_static_works_CXX=no
14004    save_LDFLAGS="$LDFLAGS"
14005    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14006    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14007    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14008      # The linker can only warn and ignore the option if not recognized
14009      # So say no if there are warnings
14010      if test -s conftest.err; then
14011        # Append any errors to the config.log.
14012        cat conftest.err 1>&5
14013        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14014        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14015        if diff conftest.exp conftest.er2 >/dev/null; then
14016          lt_cv_prog_compiler_static_works_CXX=yes
14017        fi
14018      else
14019        lt_cv_prog_compiler_static_works_CXX=yes
14020      fi
14021    fi
14022    $RM -r conftest*
14023    LDFLAGS="$save_LDFLAGS"
14024
14025 fi
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14027 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14028
14029 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14030     :
14031 else
14032     lt_prog_compiler_static_CXX=
14033 fi
14034
14035
14036
14037
14038     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14040 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14041   $as_echo_n "(cached) " >&6
14042 else
14043   lt_cv_prog_compiler_c_o_CXX=no
14044    $RM -r conftest 2>/dev/null
14045    mkdir conftest
14046    cd conftest
14047    mkdir out
14048    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14049
14050    lt_compiler_flag="-o out/conftest2.$ac_objext"
14051    # Insert the option either (1) after the last *FLAGS variable, or
14052    # (2) before a word containing "conftest.", or (3) at the end.
14053    # Note that $ac_compile itself does not contain backslashes and begins
14054    # with a dollar sign (not a hyphen), so the echo should work correctly.
14055    lt_compile=`echo "$ac_compile" | $SED \
14056    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14057    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14058    -e 's:$: $lt_compiler_flag:'`
14059    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14060    (eval "$lt_compile" 2>out/conftest.err)
14061    ac_status=$?
14062    cat out/conftest.err >&5
14063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14065    then
14066      # The compiler can only warn and ignore the option if not recognized
14067      # So say no if there are warnings
14068      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14069      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14070      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14071        lt_cv_prog_compiler_c_o_CXX=yes
14072      fi
14073    fi
14074    chmod u+w . 2>&5
14075    $RM conftest*
14076    # SGI C++ compiler will create directory out/ii_files/ for
14077    # template instantiation
14078    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14079    $RM out/* && rmdir out
14080    cd ..
14081    $RM -r conftest
14082    $RM conftest*
14083
14084 fi
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14086 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14087
14088
14089
14090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14091 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14092 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14093   $as_echo_n "(cached) " >&6
14094 else
14095   lt_cv_prog_compiler_c_o_CXX=no
14096    $RM -r conftest 2>/dev/null
14097    mkdir conftest
14098    cd conftest
14099    mkdir out
14100    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14101
14102    lt_compiler_flag="-o out/conftest2.$ac_objext"
14103    # Insert the option either (1) after the last *FLAGS variable, or
14104    # (2) before a word containing "conftest.", or (3) at the end.
14105    # Note that $ac_compile itself does not contain backslashes and begins
14106    # with a dollar sign (not a hyphen), so the echo should work correctly.
14107    lt_compile=`echo "$ac_compile" | $SED \
14108    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14109    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14110    -e 's:$: $lt_compiler_flag:'`
14111    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14112    (eval "$lt_compile" 2>out/conftest.err)
14113    ac_status=$?
14114    cat out/conftest.err >&5
14115    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14117    then
14118      # The compiler can only warn and ignore the option if not recognized
14119      # So say no if there are warnings
14120      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14121      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14122      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14123        lt_cv_prog_compiler_c_o_CXX=yes
14124      fi
14125    fi
14126    chmod u+w . 2>&5
14127    $RM conftest*
14128    # SGI C++ compiler will create directory out/ii_files/ for
14129    # template instantiation
14130    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14131    $RM out/* && rmdir out
14132    cd ..
14133    $RM -r conftest
14134    $RM conftest*
14135
14136 fi
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14138 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14139
14140
14141
14142
14143 hard_links="nottested"
14144 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14145   # do not overwrite the value of need_locks provided by the user
14146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14147 $as_echo_n "checking if we can lock with hard links... " >&6; }
14148   hard_links=yes
14149   $RM conftest*
14150   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14151   touch conftest.a
14152   ln conftest.a conftest.b 2>&5 || hard_links=no
14153   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14155 $as_echo "$hard_links" >&6; }
14156   if test "$hard_links" = no; then
14157     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14158 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14159     need_locks=warn
14160   fi
14161 else
14162   need_locks=no
14163 fi
14164
14165
14166
14167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14168 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14169
14170   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14171   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14172   case $host_os in
14173   aix[4-9]*)
14174     # If we're using GNU nm, then we don't want the "-C" option.
14175     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14176     # Also, AIX nm treats weak defined symbols like other global defined
14177     # symbols, whereas GNU nm marks them as "W".
14178     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14179       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14180     else
14181       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14182     fi
14183     ;;
14184   pw32*)
14185     export_symbols_cmds_CXX="$ltdll_cmds"
14186     ;;
14187   cygwin* | mingw* | cegcc*)
14188     case $cc_basename in
14189     cl*)
14190       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14191       ;;
14192     *)
14193       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14194       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14195       ;;
14196     esac
14197     ;;
14198   *)
14199     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14200     ;;
14201   esac
14202
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14204 $as_echo "$ld_shlibs_CXX" >&6; }
14205 test "$ld_shlibs_CXX" = no && can_build_shared=no
14206
14207 with_gnu_ld_CXX=$with_gnu_ld
14208
14209
14210
14211
14212
14213
14214 #
14215 # Do we need to explicitly link libc?
14216 #
14217 case "x$archive_cmds_need_lc_CXX" in
14218 x|xyes)
14219   # Assume -lc should be added
14220   archive_cmds_need_lc_CXX=yes
14221
14222   if test "$enable_shared" = yes && test "$GCC" = yes; then
14223     case $archive_cmds_CXX in
14224     *'~'*)
14225       # FIXME: we may have to deal with multi-command sequences.
14226       ;;
14227     '$CC '*)
14228       # Test whether the compiler implicitly links with -lc since on some
14229       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14230       # to ld, don't add -lc before -lgcc.
14231       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14232 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14233 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14234   $as_echo_n "(cached) " >&6
14235 else
14236   $RM conftest*
14237         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14238
14239         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14240   (eval $ac_compile) 2>&5
14241   ac_status=$?
14242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243   test $ac_status = 0; } 2>conftest.err; then
14244           soname=conftest
14245           lib=conftest
14246           libobjs=conftest.$ac_objext
14247           deplibs=
14248           wl=$lt_prog_compiler_wl_CXX
14249           pic_flag=$lt_prog_compiler_pic_CXX
14250           compiler_flags=-v
14251           linker_flags=-v
14252           verstring=
14253           output_objdir=.
14254           libname=conftest
14255           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14256           allow_undefined_flag_CXX=
14257           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14258   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14259   ac_status=$?
14260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14261   test $ac_status = 0; }
14262           then
14263             lt_cv_archive_cmds_need_lc_CXX=no
14264           else
14265             lt_cv_archive_cmds_need_lc_CXX=yes
14266           fi
14267           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14268         else
14269           cat conftest.err 1>&5
14270         fi
14271         $RM conftest*
14272
14273 fi
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14275 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14276       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14277       ;;
14278     esac
14279   fi
14280   ;;
14281 esac
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14345 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14346
14347 library_names_spec=
14348 libname_spec='lib$name'
14349 soname_spec=
14350 shrext_cmds=".so"
14351 postinstall_cmds=
14352 postuninstall_cmds=
14353 finish_cmds=
14354 finish_eval=
14355 shlibpath_var=
14356 shlibpath_overrides_runpath=unknown
14357 version_type=none
14358 dynamic_linker="$host_os ld.so"
14359 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14360 need_lib_prefix=unknown
14361 hardcode_into_libs=no
14362
14363 # when you set need_version to no, make sure it does not cause -set_version
14364 # flags to be left without arguments
14365 need_version=unknown
14366
14367 case $host_os in
14368 aix3*)
14369   version_type=linux # correct to gnu/linux during the next big refactor
14370   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14371   shlibpath_var=LIBPATH
14372
14373   # AIX 3 has no versioning support, so we append a major version to the name.
14374   soname_spec='${libname}${release}${shared_ext}$major'
14375   ;;
14376
14377 aix[4-9]*)
14378   version_type=linux # correct to gnu/linux during the next big refactor
14379   need_lib_prefix=no
14380   need_version=no
14381   hardcode_into_libs=yes
14382   if test "$host_cpu" = ia64; then
14383     # AIX 5 supports IA64
14384     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14385     shlibpath_var=LD_LIBRARY_PATH
14386   else
14387     # With GCC up to 2.95.x, collect2 would create an import file
14388     # for dependence libraries.  The import file would start with
14389     # the line `#! .'.  This would cause the generated library to
14390     # depend on `.', always an invalid library.  This was fixed in
14391     # development snapshots of GCC prior to 3.0.
14392     case $host_os in
14393       aix4 | aix4.[01] | aix4.[01].*)
14394       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14395            echo ' yes '
14396            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14397         :
14398       else
14399         can_build_shared=no
14400       fi
14401       ;;
14402     esac
14403     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14404     # soname into executable. Probably we can add versioning support to
14405     # collect2, so additional links can be useful in future.
14406     if test "$aix_use_runtimelinking" = yes; then
14407       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14408       # instead of lib<name>.a to let people know that these are not
14409       # typical AIX shared libraries.
14410       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411     else
14412       # We preserve .a as extension for shared libraries through AIX4.2
14413       # and later when we are not doing run time linking.
14414       library_names_spec='${libname}${release}.a $libname.a'
14415       soname_spec='${libname}${release}${shared_ext}$major'
14416     fi
14417     shlibpath_var=LIBPATH
14418   fi
14419   ;;
14420
14421 amigaos*)
14422   case $host_cpu in
14423   powerpc)
14424     # Since July 2007 AmigaOS4 officially supports .so libraries.
14425     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14426     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427     ;;
14428   m68k)
14429     library_names_spec='$libname.ixlibrary $libname.a'
14430     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14431     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'
14432     ;;
14433   esac
14434   ;;
14435
14436 beos*)
14437   library_names_spec='${libname}${shared_ext}'
14438   dynamic_linker="$host_os ld.so"
14439   shlibpath_var=LIBRARY_PATH
14440   ;;
14441
14442 bsdi[45]*)
14443   version_type=linux # correct to gnu/linux during the next big refactor
14444   need_version=no
14445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446   soname_spec='${libname}${release}${shared_ext}$major'
14447   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14448   shlibpath_var=LD_LIBRARY_PATH
14449   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14450   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14451   # the default ld.so.conf also contains /usr/contrib/lib and
14452   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14453   # libtool to hard-code these into programs
14454   ;;
14455
14456 cygwin* | mingw* | pw32* | cegcc*)
14457   version_type=windows
14458   shrext_cmds=".dll"
14459   need_version=no
14460   need_lib_prefix=no
14461
14462   case $GCC,$cc_basename in
14463   yes,*)
14464     # gcc
14465     library_names_spec='$libname.dll.a'
14466     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14467     postinstall_cmds='base_file=`basename \${file}`~
14468       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14469       dldir=$destdir/`dirname \$dlpath`~
14470       test -d \$dldir || mkdir -p \$dldir~
14471       $install_prog $dir/$dlname \$dldir/$dlname~
14472       chmod a+x \$dldir/$dlname~
14473       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14474         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14475       fi'
14476     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14477       dlpath=$dir/\$dldll~
14478        $RM \$dlpath'
14479     shlibpath_overrides_runpath=yes
14480
14481     case $host_os in
14482     cygwin*)
14483       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14484       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14485
14486       ;;
14487     mingw* | cegcc*)
14488       # MinGW DLLs use traditional 'lib' prefix
14489       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14490       ;;
14491     pw32*)
14492       # pw32 DLLs use 'pw' prefix rather than 'lib'
14493       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14494       ;;
14495     esac
14496     dynamic_linker='Win32 ld.exe'
14497     ;;
14498
14499   *,cl*)
14500     # Native MSVC
14501     libname_spec='$name'
14502     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14503     library_names_spec='${libname}.dll.lib'
14504
14505     case $build_os in
14506     mingw*)
14507       sys_lib_search_path_spec=
14508       lt_save_ifs=$IFS
14509       IFS=';'
14510       for lt_path in $LIB
14511       do
14512         IFS=$lt_save_ifs
14513         # Let DOS variable expansion print the short 8.3 style file name.
14514         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14515         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14516       done
14517       IFS=$lt_save_ifs
14518       # Convert to MSYS style.
14519       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14520       ;;
14521     cygwin*)
14522       # Convert to unix form, then to dos form, then back to unix form
14523       # but this time dos style (no spaces!) so that the unix form looks
14524       # like /cygdrive/c/PROGRA~1:/cygdr...
14525       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14526       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14527       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14528       ;;
14529     *)
14530       sys_lib_search_path_spec="$LIB"
14531       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14532         # It is most probably a Windows format PATH.
14533         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14534       else
14535         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14536       fi
14537       # FIXME: find the short name or the path components, as spaces are
14538       # common. (e.g. "Program Files" -> "PROGRA~1")
14539       ;;
14540     esac
14541
14542     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14543     postinstall_cmds='base_file=`basename \${file}`~
14544       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14545       dldir=$destdir/`dirname \$dlpath`~
14546       test -d \$dldir || mkdir -p \$dldir~
14547       $install_prog $dir/$dlname \$dldir/$dlname'
14548     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14549       dlpath=$dir/\$dldll~
14550        $RM \$dlpath'
14551     shlibpath_overrides_runpath=yes
14552     dynamic_linker='Win32 link.exe'
14553     ;;
14554
14555   *)
14556     # Assume MSVC wrapper
14557     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14558     dynamic_linker='Win32 ld.exe'
14559     ;;
14560   esac
14561   # FIXME: first we should search . and the directory the executable is in
14562   shlibpath_var=PATH
14563   ;;
14564
14565 darwin* | rhapsody*)
14566   dynamic_linker="$host_os dyld"
14567   version_type=darwin
14568   need_lib_prefix=no
14569   need_version=no
14570   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14571   soname_spec='${libname}${release}${major}$shared_ext'
14572   shlibpath_overrides_runpath=yes
14573   shlibpath_var=DYLD_LIBRARY_PATH
14574   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14575
14576   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14577   ;;
14578
14579 dgux*)
14580   version_type=linux # correct to gnu/linux during the next big refactor
14581   need_lib_prefix=no
14582   need_version=no
14583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14584   soname_spec='${libname}${release}${shared_ext}$major'
14585   shlibpath_var=LD_LIBRARY_PATH
14586   ;;
14587
14588 freebsd* | dragonfly*)
14589   # DragonFly does not have aout.  When/if they implement a new
14590   # versioning mechanism, adjust this.
14591   if test -x /usr/bin/objformat; then
14592     objformat=`/usr/bin/objformat`
14593   else
14594     case $host_os in
14595     freebsd[23].*) objformat=aout ;;
14596     *) objformat=elf ;;
14597     esac
14598   fi
14599   version_type=freebsd-$objformat
14600   case $version_type in
14601     freebsd-elf*)
14602       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14603       need_version=no
14604       need_lib_prefix=no
14605       ;;
14606     freebsd-*)
14607       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14608       need_version=yes
14609       ;;
14610   esac
14611   shlibpath_var=LD_LIBRARY_PATH
14612   case $host_os in
14613   freebsd2.*)
14614     shlibpath_overrides_runpath=yes
14615     ;;
14616   freebsd3.[01]* | freebsdelf3.[01]*)
14617     shlibpath_overrides_runpath=yes
14618     hardcode_into_libs=yes
14619     ;;
14620   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14621   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14622     shlibpath_overrides_runpath=no
14623     hardcode_into_libs=yes
14624     ;;
14625   *) # from 4.6 on, and DragonFly
14626     shlibpath_overrides_runpath=yes
14627     hardcode_into_libs=yes
14628     ;;
14629   esac
14630   ;;
14631
14632 gnu*)
14633   version_type=linux # correct to gnu/linux during the next big refactor
14634   need_lib_prefix=no
14635   need_version=no
14636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14637   soname_spec='${libname}${release}${shared_ext}$major'
14638   shlibpath_var=LD_LIBRARY_PATH
14639   shlibpath_overrides_runpath=no
14640   hardcode_into_libs=yes
14641   ;;
14642
14643 haiku*)
14644   version_type=linux # correct to gnu/linux during the next big refactor
14645   need_lib_prefix=no
14646   need_version=no
14647   dynamic_linker="$host_os runtime_loader"
14648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14649   soname_spec='${libname}${release}${shared_ext}$major'
14650   shlibpath_var=LIBRARY_PATH
14651   shlibpath_overrides_runpath=yes
14652   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14653   hardcode_into_libs=yes
14654   ;;
14655
14656 hpux9* | hpux10* | hpux11*)
14657   # Give a soname corresponding to the major version so that dld.sl refuses to
14658   # link against other versions.
14659   version_type=sunos
14660   need_lib_prefix=no
14661   need_version=no
14662   case $host_cpu in
14663   ia64*)
14664     shrext_cmds='.so'
14665     hardcode_into_libs=yes
14666     dynamic_linker="$host_os dld.so"
14667     shlibpath_var=LD_LIBRARY_PATH
14668     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14669     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670     soname_spec='${libname}${release}${shared_ext}$major'
14671     if test "X$HPUX_IA64_MODE" = X32; then
14672       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14673     else
14674       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14675     fi
14676     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14677     ;;
14678   hppa*64*)
14679     shrext_cmds='.sl'
14680     hardcode_into_libs=yes
14681     dynamic_linker="$host_os dld.sl"
14682     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14683     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14684     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14685     soname_spec='${libname}${release}${shared_ext}$major'
14686     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14687     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14688     ;;
14689   *)
14690     shrext_cmds='.sl'
14691     dynamic_linker="$host_os dld.sl"
14692     shlibpath_var=SHLIB_PATH
14693     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14694     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14695     soname_spec='${libname}${release}${shared_ext}$major'
14696     ;;
14697   esac
14698   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14699   postinstall_cmds='chmod 555 $lib'
14700   # or fails outright, so override atomically:
14701   install_override_mode=555
14702   ;;
14703
14704 interix[3-9]*)
14705   version_type=linux # correct to gnu/linux during the next big refactor
14706   need_lib_prefix=no
14707   need_version=no
14708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14709   soname_spec='${libname}${release}${shared_ext}$major'
14710   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14711   shlibpath_var=LD_LIBRARY_PATH
14712   shlibpath_overrides_runpath=no
14713   hardcode_into_libs=yes
14714   ;;
14715
14716 irix5* | irix6* | nonstopux*)
14717   case $host_os in
14718     nonstopux*) version_type=nonstopux ;;
14719     *)
14720         if test "$lt_cv_prog_gnu_ld" = yes; then
14721                 version_type=linux # correct to gnu/linux during the next big refactor
14722         else
14723                 version_type=irix
14724         fi ;;
14725   esac
14726   need_lib_prefix=no
14727   need_version=no
14728   soname_spec='${libname}${release}${shared_ext}$major'
14729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14730   case $host_os in
14731   irix5* | nonstopux*)
14732     libsuff= shlibsuff=
14733     ;;
14734   *)
14735     case $LD in # libtool.m4 will add one of these switches to LD
14736     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14737       libsuff= shlibsuff= libmagic=32-bit;;
14738     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14739       libsuff=32 shlibsuff=N32 libmagic=N32;;
14740     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14741       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14742     *) libsuff= shlibsuff= libmagic=never-match;;
14743     esac
14744     ;;
14745   esac
14746   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14747   shlibpath_overrides_runpath=no
14748   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14749   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14750   hardcode_into_libs=yes
14751   ;;
14752
14753 # No shared lib support for Linux oldld, aout, or coff.
14754 linux*oldld* | linux*aout* | linux*coff*)
14755   dynamic_linker=no
14756   ;;
14757
14758 # This must be glibc/ELF.
14759 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14760   version_type=linux # correct to gnu/linux during the next big refactor
14761   need_lib_prefix=no
14762   need_version=no
14763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764   soname_spec='${libname}${release}${shared_ext}$major'
14765   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14766   shlibpath_var=LD_LIBRARY_PATH
14767   shlibpath_overrides_runpath=no
14768
14769   # Some binutils ld are patched to set DT_RUNPATH
14770   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14771   $as_echo_n "(cached) " >&6
14772 else
14773   lt_cv_shlibpath_overrides_runpath=no
14774     save_LDFLAGS=$LDFLAGS
14775     save_libdir=$libdir
14776     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14777          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14778     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h.  */
14780
14781 int
14782 main ()
14783 {
14784
14785   ;
14786   return 0;
14787 }
14788 _ACEOF
14789 if ac_fn_cxx_try_link "$LINENO"; then :
14790   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14791   lt_cv_shlibpath_overrides_runpath=yes
14792 fi
14793 fi
14794 rm -f core conftest.err conftest.$ac_objext \
14795     conftest$ac_exeext conftest.$ac_ext
14796     LDFLAGS=$save_LDFLAGS
14797     libdir=$save_libdir
14798
14799 fi
14800
14801   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14802
14803   # This implies no fast_install, which is unacceptable.
14804   # Some rework will be needed to allow for fast_install
14805   # before this can be enabled.
14806   hardcode_into_libs=yes
14807
14808   # Append ld.so.conf contents to the search path
14809   if test -f /etc/ld.so.conf; then
14810     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' ' '`
14811     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14812   fi
14813
14814   # We used to test for /lib/ld.so.1 and disable shared libraries on
14815   # powerpc, because MkLinux only supported shared libraries with the
14816   # GNU dynamic linker.  Since this was broken with cross compilers,
14817   # most powerpc-linux boxes support dynamic linking these days and
14818   # people can always --disable-shared, the test was removed, and we
14819   # assume the GNU/Linux dynamic linker is in use.
14820   dynamic_linker='GNU/Linux ld.so'
14821   ;;
14822
14823 netbsd*)
14824   version_type=sunos
14825   need_lib_prefix=no
14826   need_version=no
14827   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14829     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14830     dynamic_linker='NetBSD (a.out) ld.so'
14831   else
14832     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14833     soname_spec='${libname}${release}${shared_ext}$major'
14834     dynamic_linker='NetBSD ld.elf_so'
14835   fi
14836   shlibpath_var=LD_LIBRARY_PATH
14837   shlibpath_overrides_runpath=yes
14838   hardcode_into_libs=yes
14839   ;;
14840
14841 newsos6)
14842   version_type=linux # correct to gnu/linux during the next big refactor
14843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14844   shlibpath_var=LD_LIBRARY_PATH
14845   shlibpath_overrides_runpath=yes
14846   ;;
14847
14848 *nto* | *qnx*)
14849   version_type=qnx
14850   need_lib_prefix=no
14851   need_version=no
14852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14853   soname_spec='${libname}${release}${shared_ext}$major'
14854   shlibpath_var=LD_LIBRARY_PATH
14855   shlibpath_overrides_runpath=no
14856   hardcode_into_libs=yes
14857   dynamic_linker='ldqnx.so'
14858   ;;
14859
14860 openbsd*)
14861   version_type=sunos
14862   sys_lib_dlsearch_path_spec="/usr/lib"
14863   need_lib_prefix=no
14864   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14865   case $host_os in
14866     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14867     *)                          need_version=no  ;;
14868   esac
14869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14870   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14871   shlibpath_var=LD_LIBRARY_PATH
14872   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14873     case $host_os in
14874       openbsd2.[89] | openbsd2.[89].*)
14875         shlibpath_overrides_runpath=no
14876         ;;
14877       *)
14878         shlibpath_overrides_runpath=yes
14879         ;;
14880       esac
14881   else
14882     shlibpath_overrides_runpath=yes
14883   fi
14884   ;;
14885
14886 os2*)
14887   libname_spec='$name'
14888   shrext_cmds=".dll"
14889   need_lib_prefix=no
14890   library_names_spec='$libname${shared_ext} $libname.a'
14891   dynamic_linker='OS/2 ld.exe'
14892   shlibpath_var=LIBPATH
14893   ;;
14894
14895 osf3* | osf4* | osf5*)
14896   version_type=osf
14897   need_lib_prefix=no
14898   need_version=no
14899   soname_spec='${libname}${release}${shared_ext}$major'
14900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14901   shlibpath_var=LD_LIBRARY_PATH
14902   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14903   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14904   ;;
14905
14906 rdos*)
14907   dynamic_linker=no
14908   ;;
14909
14910 solaris*)
14911   version_type=linux # correct to gnu/linux during the next big refactor
14912   need_lib_prefix=no
14913   need_version=no
14914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915   soname_spec='${libname}${release}${shared_ext}$major'
14916   shlibpath_var=LD_LIBRARY_PATH
14917   shlibpath_overrides_runpath=yes
14918   hardcode_into_libs=yes
14919   # ldd complains unless libraries are executable
14920   postinstall_cmds='chmod +x $lib'
14921   ;;
14922
14923 sunos4*)
14924   version_type=sunos
14925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14926   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14927   shlibpath_var=LD_LIBRARY_PATH
14928   shlibpath_overrides_runpath=yes
14929   if test "$with_gnu_ld" = yes; then
14930     need_lib_prefix=no
14931   fi
14932   need_version=yes
14933   ;;
14934
14935 sysv4 | sysv4.3*)
14936   version_type=linux # correct to gnu/linux during the next big refactor
14937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938   soname_spec='${libname}${release}${shared_ext}$major'
14939   shlibpath_var=LD_LIBRARY_PATH
14940   case $host_vendor in
14941     sni)
14942       shlibpath_overrides_runpath=no
14943       need_lib_prefix=no
14944       runpath_var=LD_RUN_PATH
14945       ;;
14946     siemens)
14947       need_lib_prefix=no
14948       ;;
14949     motorola)
14950       need_lib_prefix=no
14951       need_version=no
14952       shlibpath_overrides_runpath=no
14953       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14954       ;;
14955   esac
14956   ;;
14957
14958 sysv4*MP*)
14959   if test -d /usr/nec ;then
14960     version_type=linux # correct to gnu/linux during the next big refactor
14961     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14962     soname_spec='$libname${shared_ext}.$major'
14963     shlibpath_var=LD_LIBRARY_PATH
14964   fi
14965   ;;
14966
14967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14968   version_type=freebsd-elf
14969   need_lib_prefix=no
14970   need_version=no
14971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14972   soname_spec='${libname}${release}${shared_ext}$major'
14973   shlibpath_var=LD_LIBRARY_PATH
14974   shlibpath_overrides_runpath=yes
14975   hardcode_into_libs=yes
14976   if test "$with_gnu_ld" = yes; then
14977     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14978   else
14979     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14980     case $host_os in
14981       sco3.2v5*)
14982         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14983         ;;
14984     esac
14985   fi
14986   sys_lib_dlsearch_path_spec='/usr/lib'
14987   ;;
14988
14989 tpf*)
14990   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14991   version_type=linux # correct to gnu/linux during the next big refactor
14992   need_lib_prefix=no
14993   need_version=no
14994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995   shlibpath_var=LD_LIBRARY_PATH
14996   shlibpath_overrides_runpath=no
14997   hardcode_into_libs=yes
14998   ;;
14999
15000 uts4*)
15001   version_type=linux # correct to gnu/linux during the next big refactor
15002   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15003   soname_spec='${libname}${release}${shared_ext}$major'
15004   shlibpath_var=LD_LIBRARY_PATH
15005   ;;
15006
15007 *)
15008   dynamic_linker=no
15009   ;;
15010 esac
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15012 $as_echo "$dynamic_linker" >&6; }
15013 test "$dynamic_linker" = no && can_build_shared=no
15014
15015 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15016 if test "$GCC" = yes; then
15017   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15018 fi
15019
15020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15021   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15022 fi
15023 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15024   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15025 fi
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15065 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15066 hardcode_action_CXX=
15067 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15068    test -n "$runpath_var_CXX" ||
15069    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15070
15071   # We can hardcode non-existent directories.
15072   if test "$hardcode_direct_CXX" != no &&
15073      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15074      # have to relink, otherwise we might link with an installed library
15075      # when we should be linking with a yet-to-be-installed one
15076      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15077      test "$hardcode_minus_L_CXX" != no; then
15078     # Linking always hardcodes the temporary library directory.
15079     hardcode_action_CXX=relink
15080   else
15081     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15082     hardcode_action_CXX=immediate
15083   fi
15084 else
15085   # We cannot hardcode anything, or else we can only hardcode existing
15086   # directories.
15087   hardcode_action_CXX=unsupported
15088 fi
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15090 $as_echo "$hardcode_action_CXX" >&6; }
15091
15092 if test "$hardcode_action_CXX" = relink ||
15093    test "$inherit_rpath_CXX" = yes; then
15094   # Fast installation is not supported
15095   enable_fast_install=no
15096 elif test "$shlibpath_overrides_runpath" = yes ||
15097      test "$enable_shared" = no; then
15098   # Fast installation is not necessary
15099   enable_fast_install=needless
15100 fi
15101
15102
15103
15104
15105
15106
15107
15108   fi # test -n "$compiler"
15109
15110   CC=$lt_save_CC
15111   CFLAGS=$lt_save_CFLAGS
15112   LDCXX=$LD
15113   LD=$lt_save_LD
15114   GCC=$lt_save_GCC
15115   with_gnu_ld=$lt_save_with_gnu_ld
15116   lt_cv_path_LDCXX=$lt_cv_path_LD
15117   lt_cv_path_LD=$lt_save_path_LD
15118   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15119   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15120 fi # test "$_lt_caught_CXX_error" != yes
15121
15122 ac_ext=c
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142         ac_config_commands="$ac_config_commands libtool"
15143
15144
15145
15146
15147 # Only expand once:
15148
15149
15150
15151 if test -n "$ac_tool_prefix"; then
15152   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15155 $as_echo_n "checking for $ac_word... " >&6; }
15156 if ${ac_cv_prog_RANLIB+:} false; then :
15157   $as_echo_n "(cached) " >&6
15158 else
15159   if test -n "$RANLIB"; then
15160   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15161 else
15162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15163 for as_dir in $PATH
15164 do
15165   IFS=$as_save_IFS
15166   test -z "$as_dir" && as_dir=.
15167     for ac_exec_ext in '' $ac_executable_extensions; do
15168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15169     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15171     break 2
15172   fi
15173 done
15174   done
15175 IFS=$as_save_IFS
15176
15177 fi
15178 fi
15179 RANLIB=$ac_cv_prog_RANLIB
15180 if test -n "$RANLIB"; then
15181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
15182 $as_echo "$RANLIB" >&6; }
15183 else
15184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185 $as_echo "no" >&6; }
15186 fi
15187
15188
15189 fi
15190 if test -z "$ac_cv_prog_RANLIB"; then
15191   ac_ct_RANLIB=$RANLIB
15192   # Extract the first word of "ranlib", so it can be a program name with args.
15193 set dummy ranlib; ac_word=$2
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15195 $as_echo_n "checking for $ac_word... " >&6; }
15196 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15197   $as_echo_n "(cached) " >&6
15198 else
15199   if test -n "$ac_ct_RANLIB"; then
15200   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15201 else
15202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203 for as_dir in $PATH
15204 do
15205   IFS=$as_save_IFS
15206   test -z "$as_dir" && as_dir=.
15207     for ac_exec_ext in '' $ac_executable_extensions; do
15208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15209     ac_cv_prog_ac_ct_RANLIB="ranlib"
15210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15211     break 2
15212   fi
15213 done
15214   done
15215 IFS=$as_save_IFS
15216
15217 fi
15218 fi
15219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15220 if test -n "$ac_ct_RANLIB"; then
15221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15222 $as_echo "$ac_ct_RANLIB" >&6; }
15223 else
15224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15225 $as_echo "no" >&6; }
15226 fi
15227
15228   if test "x$ac_ct_RANLIB" = x; then
15229     RANLIB=":"
15230   else
15231     case $cross_compiling:$ac_tool_warned in
15232 yes:)
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15235 ac_tool_warned=yes ;;
15236 esac
15237     RANLIB=$ac_ct_RANLIB
15238   fi
15239 else
15240   RANLIB="$ac_cv_prog_RANLIB"
15241 fi
15242
15243
15244 # Check whether --enable-largefile was given.
15245 if test "${enable_largefile+set}" = set; then :
15246   enableval=$enable_largefile;
15247 fi
15248
15249 if test "$enable_largefile" != no; then
15250
15251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15253 if ${ac_cv_sys_largefile_CC+:} false; then :
15254   $as_echo_n "(cached) " >&6
15255 else
15256   ac_cv_sys_largefile_CC=no
15257      if test "$GCC" != yes; then
15258        ac_save_CC=$CC
15259        while :; do
15260          # IRIX 6.2 and later do not support large files by default,
15261          # so use the C compiler's -n32 option if that helps.
15262          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h.  */
15264 #include <sys/types.h>
15265  /* Check that off_t can represent 2**63 - 1 correctly.
15266     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15267     since some C++ compilers masquerading as C compilers
15268     incorrectly reject 9223372036854775807.  */
15269 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15270   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15271                        && LARGE_OFF_T % 2147483647 == 1)
15272                       ? 1 : -1];
15273 int
15274 main ()
15275 {
15276
15277   ;
15278   return 0;
15279 }
15280 _ACEOF
15281          if ac_fn_c_try_compile "$LINENO"; then :
15282   break
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext
15285          CC="$CC -n32"
15286          if ac_fn_c_try_compile "$LINENO"; then :
15287   ac_cv_sys_largefile_CC=' -n32'; break
15288 fi
15289 rm -f core conftest.err conftest.$ac_objext
15290          break
15291        done
15292        CC=$ac_save_CC
15293        rm -f conftest.$ac_ext
15294     fi
15295 fi
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15298   if test "$ac_cv_sys_largefile_CC" != no; then
15299     CC=$CC$ac_cv_sys_largefile_CC
15300   fi
15301
15302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15304 if ${ac_cv_sys_file_offset_bits+:} false; then :
15305   $as_echo_n "(cached) " >&6
15306 else
15307   while :; do
15308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h.  */
15310 #include <sys/types.h>
15311  /* Check that off_t can represent 2**63 - 1 correctly.
15312     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15313     since some C++ compilers masquerading as C compilers
15314     incorrectly reject 9223372036854775807.  */
15315 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15316   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15317                        && LARGE_OFF_T % 2147483647 == 1)
15318                       ? 1 : -1];
15319 int
15320 main ()
15321 {
15322
15323   ;
15324   return 0;
15325 }
15326 _ACEOF
15327 if ac_fn_c_try_compile "$LINENO"; then :
15328   ac_cv_sys_file_offset_bits=no; break
15329 fi
15330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h.  */
15333 #define _FILE_OFFSET_BITS 64
15334 #include <sys/types.h>
15335  /* Check that off_t can represent 2**63 - 1 correctly.
15336     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15337     since some C++ compilers masquerading as C compilers
15338     incorrectly reject 9223372036854775807.  */
15339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15340   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15341                        && LARGE_OFF_T % 2147483647 == 1)
15342                       ? 1 : -1];
15343 int
15344 main ()
15345 {
15346
15347   ;
15348   return 0;
15349 }
15350 _ACEOF
15351 if ac_fn_c_try_compile "$LINENO"; then :
15352   ac_cv_sys_file_offset_bits=64; break
15353 fi
15354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15355   ac_cv_sys_file_offset_bits=unknown
15356   break
15357 done
15358 fi
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15361 case $ac_cv_sys_file_offset_bits in #(
15362   no | unknown) ;;
15363   *)
15364 cat >>confdefs.h <<_ACEOF
15365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15366 _ACEOF
15367 ;;
15368 esac
15369 rm -rf conftest*
15370   if test $ac_cv_sys_file_offset_bits = unknown; then
15371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15373 if ${ac_cv_sys_large_files+:} false; then :
15374   $as_echo_n "(cached) " >&6
15375 else
15376   while :; do
15377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h.  */
15379 #include <sys/types.h>
15380  /* Check that off_t can represent 2**63 - 1 correctly.
15381     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15382     since some C++ compilers masquerading as C compilers
15383     incorrectly reject 9223372036854775807.  */
15384 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15385   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15386                        && LARGE_OFF_T % 2147483647 == 1)
15387                       ? 1 : -1];
15388 int
15389 main ()
15390 {
15391
15392   ;
15393   return 0;
15394 }
15395 _ACEOF
15396 if ac_fn_c_try_compile "$LINENO"; then :
15397   ac_cv_sys_large_files=no; break
15398 fi
15399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h.  */
15402 #define _LARGE_FILES 1
15403 #include <sys/types.h>
15404  /* Check that off_t can represent 2**63 - 1 correctly.
15405     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15406     since some C++ compilers masquerading as C compilers
15407     incorrectly reject 9223372036854775807.  */
15408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15409   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15410                        && LARGE_OFF_T % 2147483647 == 1)
15411                       ? 1 : -1];
15412 int
15413 main ()
15414 {
15415
15416   ;
15417   return 0;
15418 }
15419 _ACEOF
15420 if ac_fn_c_try_compile "$LINENO"; then :
15421   ac_cv_sys_large_files=1; break
15422 fi
15423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424   ac_cv_sys_large_files=unknown
15425   break
15426 done
15427 fi
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15429 $as_echo "$ac_cv_sys_large_files" >&6; }
15430 case $ac_cv_sys_large_files in #(
15431   no | unknown) ;;
15432   *)
15433 cat >>confdefs.h <<_ACEOF
15434 #define _LARGE_FILES $ac_cv_sys_large_files
15435 _ACEOF
15436 ;;
15437 esac
15438 rm -rf conftest*
15439   fi
15440
15441
15442 fi
15443
15444 if test "$ac_cv_sys_largefile_CC" != no; then
15445    CXX=$CXX$ac_cv_sys_largefile_CC
15446 fi
15447
15448
15449
15450 # Check whether --with-openssl was given.
15451 if test "${with_openssl+set}" = set; then :
15452   withval=$with_openssl;
15453         if test "$withval" = "yes"; then
15454             if test -d /var/local/ssl/include ; then
15455                 openssl_prefix=/var/local/ssl
15456             elif test -d /var/local/include/openssl ; then
15457                 openssl_prefix=/var/local
15458             elif test -d /usr/local/ssl/include ; then
15459                 openssl_prefix=/usr/local/ssl
15460             elif test -d /usr/lib/ssl/include ; then
15461                 openssl_prefix=/usr/lib/ssl
15462             elif test -d /usr/include/openssl ; then
15463                 openssl_prefix=/usr
15464             else
15465                 openssl_prefix=""
15466             fi
15467             openssl_requested="yes"
15468         elif test -d "$withval"; then
15469             openssl_prefix="$withval"
15470             openssl_requested="yes"
15471         else
15472             openssl_prefix=""
15473             openssl_requested="no"
15474         fi
15475
15476 else
15477
15478                 if test -d /var/local/ssl/include ; then
15479             openssl_prefix=/var/local/ssl
15480         elif test -d /var/local/include/openssl ; then
15481             openssl_prefix=/var/local
15482         elif test -d /usr/local/ssl/include ; then
15483             openssl_prefix=/usr/local/ssl
15484         elif test -d /usr/lib/ssl/include ; then
15485             openssl_prefix=/usr/lib/ssl
15486         elif test -d /usr/include/openssl ; then
15487             openssl_prefix=/usr
15488         else
15489             openssl_prefix=""
15490         fi
15491
15492
15493 fi
15494
15495
15496     OPENSSL_CPPFLAGS=""
15497     OPENSSL_LDFLAGS=""
15498     OPENSSL_VERSION=""
15499
15500                 run_openssl_test="no"
15501
15502     if test -n "$openssl_prefix"; then
15503         openssl_include_dir="$openssl_prefix/include"
15504         openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
15505         run_openssl_test="yes"
15506     elif test "$openssl_requested" = "yes"; then
15507         if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
15508             run_openssl_test="yes"
15509         fi
15510     else
15511         run_openssl_test="no"
15512     fi
15513
15514     openssl_libs="-lssl -lcrypto"
15515
15516                 if test "$run_openssl_test" = "yes"; then
15517
15518         saved_CPPFLAGS="$CPPFLAGS"
15519         CPPFLAGS="$CPPFLAGS -I$openssl_include_dir"
15520
15521         saved_LDFLAGS="$LDFLAGS"
15522         LDFLAGS="$LDFLAGS $openssl_ldflags"
15523
15524         saved_LIBS="$LIBS"
15525         LIBS="$openssl_libs $LIBS"
15526
15527                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers in $openssl_include_dir" >&5
15528 $as_echo_n "checking for OpenSSL headers in $openssl_include_dir... " >&6; }
15529
15530         ac_ext=c
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535
15536         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h.  */
15538
15539
15540 #include <openssl/opensslv.h>
15541 #include <openssl/ssl.h>
15542 #include <openssl/crypto.h>
15543
15544 int
15545 main ()
15546 {
15547
15548
15549   ;
15550   return 0;
15551 }
15552 _ACEOF
15553 if ac_fn_c_try_compile "$LINENO"; then :
15554
15555             OPENSSL_CPPFLAGS="-I$openssl_include_dir"
15556             openssl_header_found="yes"
15557             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15558 $as_echo "found" >&6; }
15559
15560 else
15561
15562             openssl_header_found="no"
15563             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15564 $as_echo "not found" >&6; }
15565
15566
15567 fi
15568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569         ac_ext=c
15570 ac_cpp='$CPP $CPPFLAGS'
15571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15574
15575
15576                                 if test "$openssl_header_found" = "yes"; then
15577
15578             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
15579 $as_echo_n "checking for OpenSSL libraries... " >&6; }
15580
15581             ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586
15587             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h.  */
15589
15590
15591 #include <openssl/opensslv.h>
15592 #include <openssl/ssl.h>
15593 #include <openssl/crypto.h>
15594 #if (OPENSSL_VERSION_NUMBER < 0x0090700f)
15595 #endif
15596
15597 int
15598 main ()
15599 {
15600
15601 SSL_library_init();
15602 SSLeay();
15603
15604
15605   ;
15606   return 0;
15607 }
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610
15611                 OPENSSL_LDFLAGS="$openssl_ldflags"
15612                 OPENSSL_LIBS="$openssl_libs"
15613                 openssl_lib_found="yes"
15614                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15615 $as_echo "found" >&6; }
15616
15617 else
15618
15619                 openssl_lib_found="no"
15620                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15621 $as_echo "not found" >&6; }
15622
15623
15624 fi
15625 rm -f core conftest.err conftest.$ac_objext \
15626     conftest$ac_exeext conftest.$ac_ext
15627             ac_ext=c
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632
15633         fi
15634
15635         CPPFLAGS="$saved_CPPFLAGS"
15636         LDFLAGS="$saved_LDFLAGS"
15637         LIBS="$saved_LIBS"
15638     fi
15639
15640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15641 $as_echo_n "checking for OpenSSL... " >&6; }
15642
15643     if test "$run_openssl_test" = "yes"; then
15644         if test "$openssl_header_found" = "yes" -a "$openssl_lib_found" = "yes"; then
15645
15646
15647
15648
15649
15650             HAVE_OPENSSL="yes"
15651         else
15652             HAVE_OPENSSL="no"
15653         fi
15654
15655         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15656 $as_echo "$HAVE_OPENSSL" >&6; }
15657
15658                                 if test "$HAVE_OPENSSL" = "yes"; then
15659
15660             openssl_version_req=0.9.7
15661
15662             if test  -n "$openssl_version_req"; then
15663
15664                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL version is >= $openssl_version_req" >&5
15665 $as_echo_n "checking if OpenSSL version is >= $openssl_version_req... " >&6; }
15666
15667                 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
15668
15669                     OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
15670                                     | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
15671
15672
15673                                         openssl_version_req_major=`expr $openssl_version_req : '\([0-9]*\)'`
15674                     openssl_version_req_minor=`expr $openssl_version_req : '[0-9]*\.\([0-9]*\)'`
15675                     openssl_version_req_revision=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15676                     openssl_version_req_patch=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.[0-9]*\([a-z]*\)'`
15677                     if test "x$openssl_version_req_revision" = "x"; then
15678                         openssl_version_req_revision="0"
15679                     fi
15680                     if test "x$openssl_version_req_patch" = "x"; then
15681                         openssl_version_req_patch="\`"
15682                     fi
15683
15684                     openssl_version_req_number=`expr $openssl_version_req_major \* $((0x10000000)) \
15685                                                \+ $openssl_version_req_minor \* $((0x100000)) \
15686                                                \+ $openssl_version_req_revision \* $((0x1000)) \
15687                                                \+ $((1 + $(printf "%d" \'$openssl_version_req_patch) - $(printf "%d" \'a))) \* $((0x10)) \
15688                                                \+ $((0xf))`
15689
15690                                         openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
15691
15692                     openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
15693                     if test "$openssl_version_check" = "1"; then
15694                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15695 $as_echo "yes" >&6; }
15696                     else
15697                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15698 $as_echo "no" >&6; }
15699                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&5
15700 $as_echo "$as_me: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&2;}
15701                     fi
15702                 else
15703                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 $as_echo "no" >&6; }
15705                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&5
15706 $as_echo "$as_me: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&2;}
15707                 fi
15708             fi
15709         fi
15710
15711     else
15712         HAVE_OPENSSL="no"
15713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15714 $as_echo "$HAVE_OPENSSL" >&6; }
15715
15716         if test "$openssl_requested" = "yes"; then
15717             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&5
15718 $as_echo "$as_me: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&2;}
15719         fi
15720     fi
15721     if test "$HAVE_OPENSSL" = "yes"; then
15722         CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1"
15723         LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS"
15724     fi
15725
15726
15727
15728 # Check whether --with-expat was given.
15729 if test "${with_expat+set}" = set; then :
15730   withval=$with_expat;
15731         if test "$withval" = "yes"; then
15732             if test -f /usr/local/include/expat.h ; then
15733                 expat_prefix=/usr/local
15734             elif test -f /usr/include/expat.h ; then
15735                 expat_prefix=/usr
15736             else
15737                 expat_prefix=""
15738             fi
15739             expat_requested="yes"
15740         elif test -d "$withval"; then
15741             expat_prefix="$withval"
15742             expat_requested="yes"
15743         else
15744             expat_prefix=""
15745             expat_requested="no"
15746         fi
15747
15748 else
15749
15750 #        dnl Default behavior is implicit yes
15751 #        if test -f /usr/local/include/expat.h ; then
15752 #            expat_prefix=/usr/local
15753 #        elif test -f /usr/include/expat.h ; then
15754 #            expat_prefix=/usr
15755 #        else
15756 #            expat_prefix=""
15757 #        fi
15758                 expat_prefix=""
15759         expat_requested="no"
15760
15761
15762 fi
15763
15764
15765
15766 # Check whether --with-expat-inc was given.
15767 if test "${with_expat_inc+set}" = set; then :
15768   withval=$with_expat_inc; expat_include_dir="$withval"
15769 else
15770   expat_include_dir=""
15771
15772 fi
15773
15774
15775 # Check whether --with-expat-lib was given.
15776 if test "${with_expat_lib+set}" = set; then :
15777   withval=$with_expat_lib; expat_lib_flags="$withval"
15778 else
15779   expat_lib_flags=""
15780
15781 fi
15782
15783
15784     EXPAT_CFLAGS=""
15785     EXPAT_LDFLAGS=""
15786     EXPAT_VERSION=""
15787
15788                 run_expat_test="no"
15789
15790     if test -n "$expat_prefix"; then
15791         expat_include_dir="$expat_prefix/include"
15792         expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
15793         run_expat_test="yes"
15794     elif test "$expat_requested" = "yes"; then
15795         if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
15796             run_expat_test="yes"
15797         fi
15798     else
15799         run_expat_test="no"
15800     fi
15801
15802                 if test "$run_expat_test" = "yes"; then
15803
15804         saved_CPPFLAGS="$CPPFLAGS"
15805         CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
15806
15807         saved_LDFLAGS="$LDFLAGS"
15808         LDFLAGS="$LDFLAGS $expat_lib_flags"
15809
15810                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
15811 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
15812
15813         ac_ext=cpp
15814 ac_cpp='$CXXCPP $CPPFLAGS'
15815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15818
15819         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h.  */
15821
15822
15823 #include <expat.h>
15824
15825 int
15826 main ()
15827 {
15828
15829
15830   ;
15831   return 0;
15832 }
15833 _ACEOF
15834 if ac_fn_cxx_try_compile "$LINENO"; then :
15835
15836             EXPAT_CFLAGS="-I$expat_include_dir"
15837             expat_header_found="yes"
15838             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15839 $as_echo "found" >&6; }
15840
15841 else
15842
15843             expat_header_found="no"
15844             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15845 $as_echo "not found" >&6; }
15846
15847
15848 fi
15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15850         ac_ext=c
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855
15856
15857                                 if test "$expat_header_found" = "yes"; then
15858
15859             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
15860 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
15861
15862             ac_ext=cpp
15863 ac_cpp='$CXXCPP $CPPFLAGS'
15864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15867
15868             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h.  */
15870
15871
15872 #include <expat.h>
15873
15874 int
15875 main ()
15876 {
15877
15878 XML_Parser p = XML_ParserCreate(NULL);
15879 XML_ParserFree(p);
15880 p = NULL;
15881
15882
15883   ;
15884   return 0;
15885 }
15886 _ACEOF
15887 if ac_fn_cxx_try_link "$LINENO"; then :
15888
15889                 EXPAT_LDFLAGS="$expat_lib_flags"
15890                 expat_lib_found="yes"
15891                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15892 $as_echo "found" >&6; }
15893
15894 else
15895
15896                 expat_lib_found="no"
15897                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15898 $as_echo "not found" >&6; }
15899
15900
15901 fi
15902 rm -f core conftest.err conftest.$ac_objext \
15903     conftest$ac_exeext conftest.$ac_ext
15904             ac_ext=c
15905 ac_cpp='$CPP $CPPFLAGS'
15906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15909
15910         fi
15911
15912         CPPFLAGS="$saved_CPPFLAGS"
15913         LDFLAGS="$saved_LDFLAGS"
15914     fi
15915
15916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
15917 $as_echo_n "checking for Expat XML Parser... " >&6; }
15918
15919     if test "$run_expat_test" = "yes"; then
15920         if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
15921
15922
15923
15924
15925             HAVE_EXPAT="yes"
15926         else
15927             HAVE_EXPAT="no"
15928         fi
15929
15930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15931 $as_echo "$HAVE_EXPAT" >&6; }
15932
15933                                 if test "$HAVE_EXPAT" = "yes"; then
15934
15935             expat_version_req=
15936
15937             if test  -n "$expat_version_req"; then
15938
15939                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
15940 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
15941
15942                 if test -f "$expat_include_dir/expat.h"; then
15943
15944                     expat_major=`cat $expat_include_dir/expat.h | \
15945                                     grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
15946                                     sed -e 's/#define XML_MAJOR_VERSION.//'`
15947
15948                     expat_minor=`cat $expat_include_dir/expat.h | \
15949                                     grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
15950                                     sed -e 's/#define XML_MINOR_VERSION.//'`
15951
15952                     expat_revision=`cat $expat_include_dir/expat.h | \
15953                                     grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
15954                                     sed -e 's/#define XML_MICRO_VERSION.//'`
15955
15956                     EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
15957
15958
15959                                         expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
15960                     expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
15961                     expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15962                     if test "x$expat_version_req_revision" = "x"; then
15963                         expat_version_req_revision="0"
15964                     fi
15965
15966                     expat_version_req_number=`expr $expat_version_req_major \* 10000 \
15967                                                \+ $expat_version_req_minor \* 100 \
15968                                                \+ $expat_version_req_revision`
15969
15970                                         expat_version_number=`expr $expat_major \* 10000 \
15971                                           \+ $expat_minor \* 100 \
15972                                            \+ $expat_revision`
15973
15974                     expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
15975                     if test "$expat_version_check" = "1"; then
15976                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15977 $as_echo "yes" >&6; }
15978                     else
15979                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980 $as_echo "no" >&6; }
15981                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
15982 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
15983                     fi
15984                 else
15985                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15986 $as_echo "no" >&6; }
15987                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
15988 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
15989                 fi
15990             fi
15991         fi
15992
15993     else
15994         HAVE_EXPAT="no"
15995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15996 $as_echo "$HAVE_EXPAT" >&6; }
15997
15998         if test "$expat_requested" = "yes"; then
15999             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
16000 $as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
16001         fi
16002     fi
16003     if test "$HAVE_EXPAT" = "yes"; then
16004         CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
16005         LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
16006     fi
16007
16008
16009 #    AC_REQUIRE([ACX_PTHREAD])
16010
16011
16012 # Check whether --with-xerces was given.
16013 if test "${with_xerces+set}" = set; then :
16014   withval=$with_xerces;
16015         if test "$withval" = "yes"; then
16016             if test -d /usr/local/include/xercesc ; then
16017                 xerces_prefix=/usr/local
16018             elif test -d /usr/include/xercesc ; then
16019                 xerces_prefix=/usr
16020             else
16021                 xerces_prefix=""
16022             fi
16023             xerces_requested="yes"
16024         elif test -d "$withval"; then
16025             xerces_prefix="$withval"
16026             xerces_requested="yes"
16027         else
16028             xerces_prefix=""
16029             xerces_requested="no"
16030         fi
16031
16032 else
16033
16034 #        dnl Default behavior is implicit yes
16035 #        if test -d /usr/local/include/xercesc ; then
16036 #            xerces_prefix=/usr/local
16037 #        elif test -d /usr/include/xercesc ; then
16038 #            xerces_prefix=/usr
16039 #        else
16040 #            xerces_prefix=""
16041 #        fi
16042                 xerces_prefix=""
16043         xerces_requested="no"
16044
16045
16046 fi
16047
16048
16049
16050 # Check whether --with-xerces-inc was given.
16051 if test "${with_xerces_inc+set}" = set; then :
16052   withval=$with_xerces_inc; xerces_include_dir="$withval"
16053 else
16054   xerces_include_dir=""
16055
16056 fi
16057
16058
16059 # Check whether --with-xerces-lib was given.
16060 if test "${with_xerces_lib+set}" = set; then :
16061   withval=$with_xerces_lib; xerces_ldflags="$withval"
16062 else
16063   xerces_ldflags=""
16064
16065 fi
16066
16067
16068     XERCES_CPPFLAGS=""
16069     XERCES_LDFLAGS=""
16070     XERCES_VERSION=""
16071
16072                 run_xerces_test="no"
16073
16074     if test -n "$xerces_prefix"; then
16075         xerces_include_dir="$xerces_prefix/include"
16076         xerces_include_dir2="$xerces_prefix/include/xercesc"
16077         xerces_ldflags="-L$xerces_prefix/lib"
16078         run_xerces_test="yes"
16079     elif test "$xerces_requested" = "yes"; then
16080         if test -n "$xerces_include_dir" -a -n "$xerces_lib_flags"; then
16081             xerces_include_dir2="$xerces_include_dir/xercesc"
16082             run_xerces_test="yes"
16083         fi
16084     else
16085         run_xerces_test="no"
16086     fi
16087
16088     xerces_libs="-lxerces-c"
16089
16090                 if test "$run_xerces_test" = "yes"; then
16091
16092         saved_CPPFLAGS="$CPPFLAGS"
16093         CPPFLAGS="$CPPFLAGS -I$xerces_include_dir -I$xerces_include_dir2"
16094
16095         saved_LDFLAGS="$LDFLAGS"
16096         LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS $LDFLAGS"
16097
16098         saved_LIBS="$LIBS"
16099         LIBS="$xerces_libs $PTHREAD_LIBS $LIBS"
16100
16101                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2" >&5
16102 $as_echo_n "checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2... " >&6; }
16103
16104         ac_ext=cpp
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16109
16110         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h.  */
16112
16113
16114 #include <xercesc/util/XercesDefs.hpp>
16115 #include <xercesc/util/PlatformUtils.hpp>
16116
16117 int
16118 main ()
16119 {
16120
16121
16122   ;
16123   return 0;
16124 }
16125 _ACEOF
16126 if ac_fn_cxx_try_compile "$LINENO"; then :
16127
16128             XERCES_CPPFLAGS="-I$xerces_include_dir -I$xerces_include_dir2"
16129             xerces_header_found="yes"
16130             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16131 $as_echo "found" >&6; }
16132
16133 else
16134
16135             xerces_header_found="no"
16136             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16137 $as_echo "not found" >&6; }
16138
16139
16140 fi
16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16142         ac_ext=c
16143 ac_cpp='$CPP $CPPFLAGS'
16144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16147
16148
16149                                 if test "$xerces_header_found" = "yes"; then
16150
16151             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser libraries" >&5
16152 $as_echo_n "checking for Xerces C++ Parser libraries... " >&6; }
16153
16154             ac_ext=cpp
16155 ac_cpp='$CXXCPP $CPPFLAGS'
16156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16159
16160             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h.  */
16162
16163
16164 #include <xercesc/util/XercesDefs.hpp>
16165 #include <xercesc/util/PlatformUtils.hpp>
16166 #if (_XERCES_VERSION >= 20200)
16167 XERCES_CPP_NAMESPACE_USE
16168 #endif
16169
16170 int
16171 main ()
16172 {
16173
16174 XMLPlatformUtils::Initialize();
16175
16176
16177   ;
16178   return 0;
16179 }
16180 _ACEOF
16181 if ac_fn_cxx_try_link "$LINENO"; then :
16182
16183                 XERCES_LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS"
16184                 XERCES_LIBS="$xerces_libs $PTHREAD_LIBS"
16185                 xerces_lib_found="yes"
16186                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16187 $as_echo "found" >&6; }
16188
16189 else
16190
16191                 xerces_lib_found="no"
16192                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16193 $as_echo "not found" >&6; }
16194
16195
16196 fi
16197 rm -f core conftest.err conftest.$ac_objext \
16198     conftest$ac_exeext conftest.$ac_ext
16199             ac_ext=c
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16204
16205         fi
16206
16207         CPPFLAGS="$saved_CPPFLAGS"
16208         LDFLAGS="$saved_LDFLAGS"
16209         LIBS="$saved_LIBS"
16210     fi
16211
16212     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser" >&5
16213 $as_echo_n "checking for Xerces C++ Parser... " >&6; }
16214
16215     if test "$run_xerces_test" = "yes"; then
16216         if test "$xerces_header_found" = "yes" -a "$xerces_lib_found" = "yes"; then
16217
16218
16219
16220
16221
16222             HAVE_XERCES="yes"
16223         else
16224             HAVE_XERCES="no"
16225         fi
16226
16227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16228 $as_echo "$HAVE_XERCES" >&6; }
16229
16230                                 if test "$HAVE_XERCES" = "yes"; then
16231
16232             xerces_version_req=
16233
16234             if test  -n "$xerces_version_req"; then
16235
16236                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xerces C++ Parser version is >= $xerces_version_req" >&5
16237 $as_echo_n "checking if Xerces C++ Parser version is >= $xerces_version_req... " >&6; }
16238
16239                 if test -f "$xerces_include_dir2/util/XercesVersion.hpp"; then
16240
16241                     xerces_major=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16242                                     grep '^#define.*XERCES_VERSION_MAJOR.*[0-9]$' | \
16243                                     sed -e 's/#define XERCES_VERSION_MAJOR.//'`
16244
16245                     xerces_minor=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16246                                     grep '^#define.*XERCES_VERSION_MINOR.*[0-9]$' | \
16247                                     sed -e 's/#define XERCES_VERSION_MINOR.//'`
16248
16249                     xerces_revision=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16250                                     grep '^#define.*XERCES_VERSION_REVISION.*[0-9]$' | \
16251                                     sed -e 's/#define XERCES_VERSION_REVISION.//'`
16252
16253                     XERCES_VERSION="$xerces_major.$xerces_minor.$xerces_revision"
16254
16255
16256                                         xerces_version_req_major=`expr $xerces_version_req : '\([0-9]*\)'`
16257                     xerces_version_req_minor=`expr $xerces_version_req : '[0-9]*\.\([0-9]*\)'`
16258                     xerces_version_req_revision=`expr $xerces_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16259                     if test "x$xerces_version_req_revision" = "x"; then
16260                         xerces_version_req_revision="0"
16261                     fi
16262
16263                     xerces_version_req_number=`expr $xerces_version_req_major \* 10000 \
16264                                                \+ $xerces_version_req_minor \* 100 \
16265                                                \+ $xerces_version_req_revision`
16266
16267                                         xerces_version_number=`expr $xerces_major \* 10000 \
16268                                           \+ $xerces_minor \* 100 \
16269                                            \+ $xerces_revision`
16270
16271                     xerces_version_check=`expr $xerces_version_number \>\= $xerces_version_req_number`
16272                     if test "$xerces_version_check" = "1"; then
16273                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16274 $as_echo "yes" >&6; }
16275                     else
16276                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16277 $as_echo "no" >&6; }
16278                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&5
16279 $as_echo "$as_me: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&2;}
16280                     fi
16281                 else
16282                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16283 $as_echo "no" >&6; }
16284                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&5
16285 $as_echo "$as_me: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&2;}
16286                 fi
16287             fi
16288         fi
16289
16290     else
16291         HAVE_XERCES="no"
16292         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16293 $as_echo "$HAVE_XERCES" >&6; }
16294
16295         if test "$xerces_requested" = "yes"; then
16296             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&5
16297 $as_echo "$as_me: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&2;}
16298         fi
16299     fi
16300     if test "$HAVE_XERCES" = "yes"; then
16301         CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
16302         LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
16303     fi
16304
16305 #AM_PATH_PYTHON([2.3], , [:])
16306
16307     az_python_use=false
16308      if test x"$az_python_use" = x"true"; then
16309   PYTHON_USE_TRUE=
16310   PYTHON_USE_FALSE='#'
16311 else
16312   PYTHON_USE_TRUE='#'
16313   PYTHON_USE_FALSE=
16314 fi
16315
16316
16317
16318
16319
16320     # unless PYTHON was supplied to us (as a precious variable),
16321     # see if --with-python[=PythonExecutablePath], --with-python,
16322     # --without-python or --with-python=no was given.
16323     if test -z "$PYTHON"
16324     then
16325         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5
16326 $as_echo_n "checking for --with-python... " >&6; }
16327
16328 # Check whether --with-python was given.
16329 if test "${with_python+set}" = set; then :
16330   withval=$with_python;
16331                 if test "$withval" = "yes"
16332                 then
16333                     # "yes" was specified, but we don't have a path
16334                     # for the executable.
16335                     # So, let's searth the PATH Environment Variable.
16336                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16337 $as_echo "yes" >&6; }
16338                     # Extract the first word of "python", so it can be a program name with args.
16339 set dummy python; ac_word=$2
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16341 $as_echo_n "checking for $ac_word... " >&6; }
16342 if ${ac_cv_path_PYTHON+:} false; then :
16343   $as_echo_n "(cached) " >&6
16344 else
16345   case $PYTHON in
16346   [\\/]* | ?:[\\/]*)
16347   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16348   ;;
16349   *)
16350   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16351 for as_dir in $PATH
16352 do
16353   IFS=$as_save_IFS
16354   test -z "$as_dir" && as_dir=.
16355     for ac_exec_ext in '' $ac_executable_extensions; do
16356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16357     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16359     break 2
16360   fi
16361 done
16362   done
16363 IFS=$as_save_IFS
16364
16365   ;;
16366 esac
16367 fi
16368 PYTHON=$ac_cv_path_PYTHON
16369 if test -n "$PYTHON"; then
16370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16371 $as_echo "$PYTHON" >&6; }
16372 else
16373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16374 $as_echo "no" >&6; }
16375 fi
16376
16377
16378                     if test -z "$PYTHON"
16379                     then
16380                         as_fn_error $? "no path to python found" "$LINENO" 5
16381                     fi
16382                     az_python_use=true
16383                      if test x"$az_python_use" = x"true"; then
16384   PYTHON_USE_TRUE=
16385   PYTHON_USE_FALSE='#'
16386 else
16387   PYTHON_USE_TRUE='#'
16388   PYTHON_USE_FALSE=
16389 fi
16390
16391
16392
16393     if test -n "$PYTHON"
16394     then
16395         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16396 $as_echo_n "checking for python include directory... " >&6; }
16397         az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16398         if test -z "$az_python_prefix"
16399         then
16400             as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16401         fi
16402         python_path=
16403         az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16404         az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16405         az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16406         if test x"$python_prefix" != x"$python_execprefix"; then
16407             az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16408             az_python_includespec="${az_python_includespec} $az_python_execspec"
16409         fi
16410         az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16411         az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16412         PYTHON_CSPEC=${az_python_cspec}
16413
16414         PYTHON_CPPFLAGS=${az_python_includespec}
16415
16416         PYTHON_SHORTVERSION="${az_python_version}"
16417
16418         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16419 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16420     fi
16421
16422
16423
16424     if test -n "$PYTHON"
16425     then
16426         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16427 $as_echo_n "checking for python linker flags... " >&6; }
16428
16429
16430     if test -z "$PYTHON"
16431     then
16432         as_fn_error $? "Python Executable not found" "$LINENO" 5
16433     else
16434         cat >conftest.py <<_ACEOF
16435
16436 import sys
16437 import distutils.sysconfig
16438 strUseFrameWork = "--enable-framework"
16439 dictConfig = distutils.sysconfig.get_config_vars( )
16440 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16441 strLinkSpec =  dictConfig.get('LDFLAGS')
16442 if -1 ==  strConfigArgs.find(strUseFrameWork):
16443     strLibPL = dictConfig.get("LIBPL")
16444     if strLibPL and (strLibPL != ""):
16445         strLinkSpec += " -L%s" % (strLibPL)
16446     strSys = dictConfig.get("SYSLIBS")
16447     if strSys and (strSys != ""):
16448         strLinkSpec += " %s" % (strSys)
16449     strSHL = dictConfig.get("SHLIBS")
16450     if strSHL and (strSHL != ""):
16451         strLinkSpec += " %s" % (strSHL)
16452     # Construct the Python Library Name.
16453     strTmplte = " -lpython%d.%d"
16454     if (sys.platform == "win32") or (sys.platform == "os2emx"):
16455         strTmplte = " -lpython%d%d"
16456     strWrk = strTmplte % ( (sys.hexversion >> 24),
16457                             ((sys.hexversion >> 16) & 0xff))
16458     strLinkSpec += strWrk
16459 else:
16460     # This is not ideal since it changes the search path
16461     # for Frameworks which could have side-effects on
16462     # other included Frameworks.  However, it is necessary
16463     # where someone has installed more than one frameworked
16464     # Python.  Frameworks are really only used in MacOSX.
16465     strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16466     if strLibFW and (strLibFW != ""):
16467         strLinkSpec += " -F%s" % (strLibFW)
16468 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16469 print strLinkSpec
16470
16471 _ACEOF
16472         az_python_output=`$PYTHON conftest.py`
16473         az_python_cc=$?
16474         rm conftest.py
16475         if test -f "conftest.pyc"
16476         then
16477             rm conftest.pyc
16478         fi
16479     fi
16480
16481         PYTHON_LSPEC=${az_python_output}
16482
16483         az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16484                 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16485                 distutils.sysconfig.get_config_var('VERSION');"`
16486         PYTHON_LDFLAGS=${az_python_ldflags}
16487
16488         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16489 $as_echo "$PYTHON_LDFLAGS" >&6; }
16490     fi
16491
16492
16493     if test -z "$PYTHON"
16494     then
16495         as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16496     fi
16497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16498 $as_echo_n "checking for python extension install directory... " >&6; }
16499     ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16500     ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16501     PYTHON_PREFIX="${ax_python_prefix}"
16502
16503     PYTHON_EXECPREFIX="${ax_python_execprefix}"
16504
16505     PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16506                 print distutils.sysconfig.get_python_lib();"`
16507
16508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16509 $as_echo "$PYTHON_EXECDIR" >&6; }
16510
16511                 elif test "$withval" = "no"
16512                 then
16513                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16514 $as_echo "no" >&6; }
16515                     az_python_use=false
16516                      if test x"$az_python_use" = x"true"; then
16517   PYTHON_USE_TRUE=
16518   PYTHON_USE_FALSE='#'
16519 else
16520   PYTHON_USE_TRUE='#'
16521   PYTHON_USE_FALSE=
16522 fi
16523
16524                 else
16525                     # $withval must be the executable path then.
16526                     PYTHON="${withval}"
16527
16528                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
16529 $as_echo "$withval" >&6; }
16530                     az_python_use=true
16531                      if test x"$az_python_use" = x"true"; then
16532   PYTHON_USE_TRUE=
16533   PYTHON_USE_FALSE='#'
16534 else
16535   PYTHON_USE_TRUE='#'
16536   PYTHON_USE_FALSE=
16537 fi
16538
16539
16540
16541     if test -n "$PYTHON"
16542     then
16543         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16544 $as_echo_n "checking for python include directory... " >&6; }
16545         az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16546         if test -z "$az_python_prefix"
16547         then
16548             as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16549         fi
16550         python_path=
16551         az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16552         az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16553         az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16554         if test x"$python_prefix" != x"$python_execprefix"; then
16555             az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16556             az_python_includespec="${az_python_includespec} $az_python_execspec"
16557         fi
16558         az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16559         az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16560         PYTHON_CSPEC=${az_python_cspec}
16561
16562         PYTHON_CPPFLAGS=${az_python_includespec}
16563
16564         PYTHON_SHORTVERSION="${az_python_version}"
16565
16566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16567 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16568     fi
16569
16570
16571
16572     if test -n "$PYTHON"
16573     then
16574         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16575 $as_echo_n "checking for python linker flags... " >&6; }
16576
16577
16578     if test -z "$PYTHON"
16579     then
16580         as_fn_error $? "Python Executable not found" "$LINENO" 5
16581     else
16582         cat >conftest.py <<_ACEOF
16583
16584 import sys
16585 import distutils.sysconfig
16586 strUseFrameWork = "--enable-framework"
16587 dictConfig = distutils.sysconfig.get_config_vars( )
16588 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16589 strLinkSpec =  dictConfig.get('LDFLAGS')
16590 if -1 ==  strConfigArgs.find(strUseFrameWork):
16591     strLibPL = dictConfig.get("LIBPL")
16592     if strLibPL and (strLibPL != ""):
16593         strLinkSpec += " -L%s" % (strLibPL)
16594     strSys = dictConfig.get("SYSLIBS")
16595     if strSys and (strSys != ""):
16596         strLinkSpec += " %s" % (strSys)
16597     strSHL = dictConfig.get("SHLIBS")
16598     if strSHL and (strSHL != ""):
16599         strLinkSpec += " %s" % (strSHL)
16600     # Construct the Python Library Name.
16601     strTmplte = " -lpython%d.%d"
16602     if (sys.platform == "win32") or (sys.platform == "os2emx"):
16603         strTmplte = " -lpython%d%d"
16604     strWrk = strTmplte % ( (sys.hexversion >> 24),
16605                             ((sys.hexversion >> 16) & 0xff))
16606     strLinkSpec += strWrk
16607 else:
16608     # This is not ideal since it changes the search path
16609     # for Frameworks which could have side-effects on
16610     # other included Frameworks.  However, it is necessary
16611     # where someone has installed more than one frameworked
16612     # Python.  Frameworks are really only used in MacOSX.
16613     strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16614     if strLibFW and (strLibFW != ""):
16615         strLinkSpec += " -F%s" % (strLibFW)
16616 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16617 print strLinkSpec
16618
16619 _ACEOF
16620         az_python_output=`$PYTHON conftest.py`
16621         az_python_cc=$?
16622         rm conftest.py
16623         if test -f "conftest.pyc"
16624         then
16625             rm conftest.pyc
16626         fi
16627     fi
16628
16629         PYTHON_LSPEC=${az_python_output}
16630
16631         az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16632                 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16633                 distutils.sysconfig.get_config_var('VERSION');"`
16634         PYTHON_LDFLAGS=${az_python_ldflags}
16635
16636         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16637 $as_echo "$PYTHON_LDFLAGS" >&6; }
16638     fi
16639
16640
16641     if test -z "$PYTHON"
16642     then
16643         as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16644     fi
16645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16646 $as_echo_n "checking for python extension install directory... " >&6; }
16647     ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16648     ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16649     PYTHON_PREFIX="${ax_python_prefix}"
16650
16651     PYTHON_EXECPREFIX="${ax_python_execprefix}"
16652
16653     PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16654                 print distutils.sysconfig.get_python_lib();"`
16655
16656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16657 $as_echo "$PYTHON_EXECDIR" >&6; }
16658
16659                 fi
16660
16661 else
16662
16663                 # --with-python was not specified.
16664                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16665 $as_echo "no" >&6; }
16666                 az_python_use=false
16667                  if test x"$az_python_use" = x"true"; then
16668   PYTHON_USE_TRUE=
16669   PYTHON_USE_FALSE='#'
16670 else
16671   PYTHON_USE_TRUE='#'
16672   PYTHON_USE_FALSE=
16673 fi
16674
16675
16676
16677 fi
16678
16679     fi
16680
16681
16682  if test "$PYTHON" != :; then
16683   HAVE_PYTHON_TRUE=
16684   HAVE_PYTHON_FALSE='#'
16685 else
16686   HAVE_PYTHON_TRUE='#'
16687   HAVE_PYTHON_FALSE=
16688 fi
16689
16690 # Check whether --enable-freedist was given.
16691 if test "${enable_freedist+set}" = set; then :
16692   enableval=$enable_freedist; case "${enableval}" in
16693        yes) freedist=true
16694        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BSD licensed ASDCPlib creation ENABLED." >&5
16695 $as_echo "$as_me: WARNING: BSD licensed ASDCPlib creation ENABLED." >&2;} ;;
16696        no)  freedist=false ;;
16697        *) as_fn_error $? "bad value ${enableval} for --enable-freedist" "$LINENO" 5 ;;
16698      esac
16699 else
16700   freedist=false
16701 fi
16702
16703       if test x$freedist = xtrue; then
16704   FREEDIST_TRUE=
16705   FREEDIST_FALSE='#'
16706 else
16707   FREEDIST_TRUE='#'
16708   FREEDIST_FALSE=
16709 fi
16710
16711 # Check whether --enable-dev-headers was given.
16712 if test "${enable_dev_headers+set}" = set; then :
16713   enableval=$enable_dev_headers; case "${enableval}" in
16714        yes) dev_headers=true ;;
16715        no)  dev_headers=false ;;
16716        *) as_fn_error $? "bad value ${enableval} for --enable-dev-headers" "$LINENO" 5 ;;
16717      esac
16718 else
16719   dev_headers=false
16720 fi
16721
16722       if test x$dev_headers = xtrue; then
16723   DEV_HEADERS_TRUE=
16724   DEV_HEADERS_FALSE='#'
16725 else
16726   DEV_HEADERS_TRUE='#'
16727   DEV_HEADERS_FALSE=
16728 fi
16729
16730 # Check whether --enable-random-case-UUID was given.
16731 if test "${enable_random_case_UUID+set}" = set; then :
16732   enableval=$enable_random_case_UUID; case "${enableval}" in
16733        yes) random_case_UUID=true ;;
16734        no)  random_case_UUID=false ;;
16735        *) as_fn_error $? "bad value ${enableval} for --enable-random-case-UUID" "$LINENO" 5 ;;
16736      esac
16737 else
16738   random_case_UUID=false
16739 fi
16740
16741       if test x$random_case_UUID = xtrue; then
16742   ENABLE_RANDOM_UUID_TRUE=
16743   ENABLE_RANDOM_UUID_FALSE='#'
16744 else
16745   ENABLE_RANDOM_UUID_TRUE='#'
16746   ENABLE_RANDOM_UUID_FALSE=
16747 fi
16748
16749 # Check whether --enable-as-02 was given.
16750 if test "${enable_as_02+set}" = set; then :
16751   enableval=$enable_as_02; case "${enableval}" in
16752        yes) as_02_use=true ;;
16753        no)  as_02_use=false ;;
16754        *) as_fn_error $? "bad value ${enableval} for --enable-as-02" "$LINENO" 5 ;;
16755      esac
16756 else
16757   as_02_use=false
16758 fi
16759
16760       if test x$as_02_use = xtrue; then
16761   USE_AS_02_TRUE=
16762   USE_AS_02_FALSE='#'
16763 else
16764   USE_AS_02_TRUE='#'
16765   USE_AS_02_FALSE=
16766 fi
16767
16768 # Check whether --enable-phdr was given.
16769 if test "${enable_phdr+set}" = set; then :
16770   enableval=$enable_phdr; case "${enableval}" in
16771        yes) phdr_use=true ;;
16772        no)  phdr_use=false ;;
16773        *) as_fn_error $? "bad value ${enableval} for --enable-phdr" "$LINENO" 5 ;;
16774      esac
16775 else
16776   phdr_use=false
16777 fi
16778
16779       if test x$phdr_use = xtrue; then
16780   USE_PHDR_TRUE=
16781   USE_PHDR_FALSE='#'
16782 else
16783   USE_PHDR_TRUE='#'
16784   USE_PHDR_FALSE=
16785 fi
16786
16787
16788 # Checks for libraries.
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16790 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16791 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16792   $as_echo_n "(cached) " >&6
16793 else
16794   ac_check_lib_save_LIBS=$LIBS
16795 LIBS="-lpthread  $LIBS"
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h.  */
16798
16799 /* Override any GCC internal prototype to avoid an error.
16800    Use char because int might match the return type of a GCC
16801    builtin and then its argument prototype would still apply.  */
16802 #ifdef __cplusplus
16803 extern "C"
16804 #endif
16805 char pthread_create ();
16806 int
16807 main ()
16808 {
16809 return pthread_create ();
16810   ;
16811   return 0;
16812 }
16813 _ACEOF
16814 if ac_fn_c_try_link "$LINENO"; then :
16815   ac_cv_lib_pthread_pthread_create=yes
16816 else
16817   ac_cv_lib_pthread_pthread_create=no
16818 fi
16819 rm -f core conftest.err conftest.$ac_objext \
16820     conftest$ac_exeext conftest.$ac_ext
16821 LIBS=$ac_check_lib_save_LIBS
16822 fi
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16824 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16825 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16826   cat >>confdefs.h <<_ACEOF
16827 #define HAVE_LIBPTHREAD 1
16828 _ACEOF
16829
16830   LIBS="-lpthread $LIBS"
16831
16832 fi
16833
16834
16835 # Checks for header files.
16836 #AC_HEADER_DIRENT
16837 #AC_HEADER_STDC
16838 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
16839
16840 # Checks for typedefs, structures, and compiler characteristics.
16841 #AC_C_CONST
16842 #AC_C_INLINE
16843 #AC_TYPE_OFF_T
16844 #AC_TYPE_SIZE_T
16845 #AC_STRUCT_TM
16846
16847 # Checks for library functions.
16848 #AC_FUNC_CLOSEDIR_VOID
16849 #AC_FUNC_MALLOC
16850 #AC_FUNC_MEMCMP
16851 #AC_FUNC_STAT
16852 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
16853
16854 ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile win32/Makefile.mak:win32/Makefile.wmk"
16855
16856 cat >confcache <<\_ACEOF
16857 # This file is a shell script that caches the results of configure
16858 # tests run on this system so they can be shared between configure
16859 # scripts and configure runs, see configure's option --config-cache.
16860 # It is not useful on other systems.  If it contains results you don't
16861 # want to keep, you may remove or edit it.
16862 #
16863 # config.status only pays attention to the cache file if you give it
16864 # the --recheck option to rerun configure.
16865 #
16866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16868 # following values.
16869
16870 _ACEOF
16871
16872 # The following way of writing the cache mishandles newlines in values,
16873 # but we know of no workaround that is simple, portable, and efficient.
16874 # So, we kill variables containing newlines.
16875 # Ultrix sh set writes to stderr and can't be redirected directly,
16876 # and sets the high bit in the cache file unless we assign to the vars.
16877 (
16878   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16879     eval ac_val=\$$ac_var
16880     case $ac_val in #(
16881     *${as_nl}*)
16882       case $ac_var in #(
16883       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16885       esac
16886       case $ac_var in #(
16887       _ | IFS | as_nl) ;; #(
16888       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16889       *) { eval $ac_var=; unset $ac_var;} ;;
16890       esac ;;
16891     esac
16892   done
16893
16894   (set) 2>&1 |
16895     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16896     *${as_nl}ac_space=\ *)
16897       # `set' does not quote correctly, so add quotes: double-quote
16898       # substitution turns \\\\ into \\, and sed turns \\ into \.
16899       sed -n \
16900         "s/'/'\\\\''/g;
16901           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16902       ;; #(
16903     *)
16904       # `set' quotes correctly as required by POSIX, so do not add quotes.
16905       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16906       ;;
16907     esac |
16908     sort
16909 ) |
16910   sed '
16911      /^ac_cv_env_/b end
16912      t clear
16913      :clear
16914      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16915      t end
16916      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16917      :end' >>confcache
16918 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16919   if test -w "$cache_file"; then
16920     if test "x$cache_file" != "x/dev/null"; then
16921       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16922 $as_echo "$as_me: updating cache $cache_file" >&6;}
16923       if test ! -f "$cache_file" || test -h "$cache_file"; then
16924         cat confcache >"$cache_file"
16925       else
16926         case $cache_file in #(
16927         */* | ?:*)
16928           mv -f confcache "$cache_file"$$ &&
16929           mv -f "$cache_file"$$ "$cache_file" ;; #(
16930         *)
16931           mv -f confcache "$cache_file" ;;
16932         esac
16933       fi
16934     fi
16935   else
16936     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16937 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16938   fi
16939 fi
16940 rm -f confcache
16941
16942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16943 # Let make expand exec_prefix.
16944 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16945
16946 # Transform confdefs.h into DEFS.
16947 # Protect against shell expansion while executing Makefile rules.
16948 # Protect against Makefile macro expansion.
16949 #
16950 # If the first sed substitution is executed (which looks for macros that
16951 # take arguments), then branch to the quote section.  Otherwise,
16952 # look for a macro that doesn't take arguments.
16953 ac_script='
16954 :mline
16955 /\\$/{
16956  N
16957  s,\\\n,,
16958  b mline
16959 }
16960 t clear
16961 :clear
16962 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
16963 t quote
16964 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
16965 t quote
16966 b any
16967 :quote
16968 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16969 s/\[/\\&/g
16970 s/\]/\\&/g
16971 s/\$/$$/g
16972 H
16973 :any
16974 ${
16975         g
16976         s/^\n//
16977         s/\n/ /g
16978         p
16979 }
16980 '
16981 DEFS=`sed -n "$ac_script" confdefs.h`
16982
16983
16984 ac_libobjs=
16985 ac_ltlibobjs=
16986 U=
16987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16988   # 1. Remove the extension, and $U if already installed.
16989   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16990   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16991   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16992   #    will be set to the directory where LIBOBJS objects are built.
16993   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16994   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16995 done
16996 LIBOBJS=$ac_libobjs
16997
16998 LTLIBOBJS=$ac_ltlibobjs
16999
17000
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17002 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17003    if test -n "$am_sleep_pid"; then
17004      # Hide warnings about reused PIDs.
17005      wait $am_sleep_pid 2>/dev/null
17006    fi
17007    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17008 $as_echo "done" >&6; }
17009  if test -n "$EXEEXT"; then
17010   am__EXEEXT_TRUE=
17011   am__EXEEXT_FALSE='#'
17012 else
17013   am__EXEEXT_TRUE='#'
17014   am__EXEEXT_FALSE=
17015 fi
17016
17017 if test -z "${OPENBSD_HOST_TRUE}" && test -z "${OPENBSD_HOST_FALSE}"; then
17018   as_fn_error $? "conditional \"OPENBSD_HOST\" was never defined.
17019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17020 fi
17021 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17022   as_fn_error $? "conditional \"AMDEP\" was never defined.
17023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17024 fi
17025 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17026   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17028 fi
17029 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17030   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17032 fi
17033 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17034   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17036 fi
17037 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17038   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17040 fi
17041 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17042   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17044 fi
17045 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17046   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17048 fi
17049 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17050   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17052 fi
17053 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17054   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17056 fi
17057 if test -z "${FREEDIST_TRUE}" && test -z "${FREEDIST_FALSE}"; then
17058   as_fn_error $? "conditional \"FREEDIST\" was never defined.
17059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17060 fi
17061 if test -z "${DEV_HEADERS_TRUE}" && test -z "${DEV_HEADERS_FALSE}"; then
17062   as_fn_error $? "conditional \"DEV_HEADERS\" was never defined.
17063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17064 fi
17065 if test -z "${ENABLE_RANDOM_UUID_TRUE}" && test -z "${ENABLE_RANDOM_UUID_FALSE}"; then
17066   as_fn_error $? "conditional \"ENABLE_RANDOM_UUID\" was never defined.
17067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17068 fi
17069 if test -z "${USE_AS_02_TRUE}" && test -z "${USE_AS_02_FALSE}"; then
17070   as_fn_error $? "conditional \"USE_AS_02\" was never defined.
17071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17072 fi
17073 if test -z "${USE_PHDR_TRUE}" && test -z "${USE_PHDR_FALSE}"; then
17074   as_fn_error $? "conditional \"USE_PHDR\" was never defined.
17075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17076 fi
17077
17078 : "${CONFIG_STATUS=./config.status}"
17079 ac_write_fail=0
17080 ac_clean_files_save=$ac_clean_files
17081 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17083 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17084 as_write_fail=0
17085 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17086 #! $SHELL
17087 # Generated by $as_me.
17088 # Run this file to recreate the current configuration.
17089 # Compiler output produced by configure, useful for debugging
17090 # configure, is in config.log if it exists.
17091
17092 debug=false
17093 ac_cs_recheck=false
17094 ac_cs_silent=false
17095
17096 SHELL=\${CONFIG_SHELL-$SHELL}
17097 export SHELL
17098 _ASEOF
17099 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17100 ## -------------------- ##
17101 ## M4sh Initialization. ##
17102 ## -------------------- ##
17103
17104 # Be more Bourne compatible
17105 DUALCASE=1; export DUALCASE # for MKS sh
17106 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17107   emulate sh
17108   NULLCMD=:
17109   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17110   # is contrary to our usage.  Disable this feature.
17111   alias -g '${1+"$@"}'='"$@"'
17112   setopt NO_GLOB_SUBST
17113 else
17114   case `(set -o) 2>/dev/null` in #(
17115   *posix*) :
17116     set -o posix ;; #(
17117   *) :
17118      ;;
17119 esac
17120 fi
17121
17122
17123 as_nl='
17124 '
17125 export as_nl
17126 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17127 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17130 # Prefer a ksh shell builtin over an external printf program on Solaris,
17131 # but without wasting forks for bash or zsh.
17132 if test -z "$BASH_VERSION$ZSH_VERSION" \
17133     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17134   as_echo='print -r --'
17135   as_echo_n='print -rn --'
17136 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17137   as_echo='printf %s\n'
17138   as_echo_n='printf %s'
17139 else
17140   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17141     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17142     as_echo_n='/usr/ucb/echo -n'
17143   else
17144     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17145     as_echo_n_body='eval
17146       arg=$1;
17147       case $arg in #(
17148       *"$as_nl"*)
17149         expr "X$arg" : "X\\(.*\\)$as_nl";
17150         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17151       esac;
17152       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17153     '
17154     export as_echo_n_body
17155     as_echo_n='sh -c $as_echo_n_body as_echo'
17156   fi
17157   export as_echo_body
17158   as_echo='sh -c $as_echo_body as_echo'
17159 fi
17160
17161 # The user is always right.
17162 if test "${PATH_SEPARATOR+set}" != set; then
17163   PATH_SEPARATOR=:
17164   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17165     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17166       PATH_SEPARATOR=';'
17167   }
17168 fi
17169
17170
17171 # IFS
17172 # We need space, tab and new line, in precisely that order.  Quoting is
17173 # there to prevent editors from complaining about space-tab.
17174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17175 # splitting by setting IFS to empty value.)
17176 IFS=" ""        $as_nl"
17177
17178 # Find who we are.  Look in the path if we contain no directory separator.
17179 as_myself=
17180 case $0 in #((
17181   *[\\/]* ) as_myself=$0 ;;
17182   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17183 for as_dir in $PATH
17184 do
17185   IFS=$as_save_IFS
17186   test -z "$as_dir" && as_dir=.
17187     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17188   done
17189 IFS=$as_save_IFS
17190
17191      ;;
17192 esac
17193 # We did not find ourselves, most probably we were run as `sh COMMAND'
17194 # in which case we are not to be found in the path.
17195 if test "x$as_myself" = x; then
17196   as_myself=$0
17197 fi
17198 if test ! -f "$as_myself"; then
17199   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17200   exit 1
17201 fi
17202
17203 # Unset variables that we do not need and which cause bugs (e.g. in
17204 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17205 # suppresses any "Segmentation fault" message there.  '((' could
17206 # trigger a bug in pdksh 5.2.14.
17207 for as_var in BASH_ENV ENV MAIL MAILPATH
17208 do eval test x\${$as_var+set} = xset \
17209   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17210 done
17211 PS1='$ '
17212 PS2='> '
17213 PS4='+ '
17214
17215 # NLS nuisances.
17216 LC_ALL=C
17217 export LC_ALL
17218 LANGUAGE=C
17219 export LANGUAGE
17220
17221 # CDPATH.
17222 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17223
17224
17225 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17226 # ----------------------------------------
17227 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17228 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17229 # script with STATUS, using 1 if that was 0.
17230 as_fn_error ()
17231 {
17232   as_status=$1; test $as_status -eq 0 && as_status=1
17233   if test "$4"; then
17234     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17235     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17236   fi
17237   $as_echo "$as_me: error: $2" >&2
17238   as_fn_exit $as_status
17239 } # as_fn_error
17240
17241
17242 # as_fn_set_status STATUS
17243 # -----------------------
17244 # Set $? to STATUS, without forking.
17245 as_fn_set_status ()
17246 {
17247   return $1
17248 } # as_fn_set_status
17249
17250 # as_fn_exit STATUS
17251 # -----------------
17252 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17253 as_fn_exit ()
17254 {
17255   set +e
17256   as_fn_set_status $1
17257   exit $1
17258 } # as_fn_exit
17259
17260 # as_fn_unset VAR
17261 # ---------------
17262 # Portably unset VAR.
17263 as_fn_unset ()
17264 {
17265   { eval $1=; unset $1;}
17266 }
17267 as_unset=as_fn_unset
17268 # as_fn_append VAR VALUE
17269 # ----------------------
17270 # Append the text in VALUE to the end of the definition contained in VAR. Take
17271 # advantage of any shell optimizations that allow amortized linear growth over
17272 # repeated appends, instead of the typical quadratic growth present in naive
17273 # implementations.
17274 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17275   eval 'as_fn_append ()
17276   {
17277     eval $1+=\$2
17278   }'
17279 else
17280   as_fn_append ()
17281   {
17282     eval $1=\$$1\$2
17283   }
17284 fi # as_fn_append
17285
17286 # as_fn_arith ARG...
17287 # ------------------
17288 # Perform arithmetic evaluation on the ARGs, and store the result in the
17289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17290 # must be portable across $(()) and expr.
17291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17292   eval 'as_fn_arith ()
17293   {
17294     as_val=$(( $* ))
17295   }'
17296 else
17297   as_fn_arith ()
17298   {
17299     as_val=`expr "$@" || test $? -eq 1`
17300   }
17301 fi # as_fn_arith
17302
17303
17304 if expr a : '\(a\)' >/dev/null 2>&1 &&
17305    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17306   as_expr=expr
17307 else
17308   as_expr=false
17309 fi
17310
17311 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17312   as_basename=basename
17313 else
17314   as_basename=false
17315 fi
17316
17317 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17318   as_dirname=dirname
17319 else
17320   as_dirname=false
17321 fi
17322
17323 as_me=`$as_basename -- "$0" ||
17324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17325          X"$0" : 'X\(//\)$' \| \
17326          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17327 $as_echo X/"$0" |
17328     sed '/^.*\/\([^/][^/]*\)\/*$/{
17329             s//\1/
17330             q
17331           }
17332           /^X\/\(\/\/\)$/{
17333             s//\1/
17334             q
17335           }
17336           /^X\/\(\/\).*/{
17337             s//\1/
17338             q
17339           }
17340           s/.*/./; q'`
17341
17342 # Avoid depending upon Character Ranges.
17343 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17346 as_cr_digits='0123456789'
17347 as_cr_alnum=$as_cr_Letters$as_cr_digits
17348
17349 ECHO_C= ECHO_N= ECHO_T=
17350 case `echo -n x` in #(((((
17351 -n*)
17352   case `echo 'xy\c'` in
17353   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17354   xy)  ECHO_C='\c';;
17355   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17356        ECHO_T=' ';;
17357   esac;;
17358 *)
17359   ECHO_N='-n';;
17360 esac
17361
17362 rm -f conf$$ conf$$.exe conf$$.file
17363 if test -d conf$$.dir; then
17364   rm -f conf$$.dir/conf$$.file
17365 else
17366   rm -f conf$$.dir
17367   mkdir conf$$.dir 2>/dev/null
17368 fi
17369 if (echo >conf$$.file) 2>/dev/null; then
17370   if ln -s conf$$.file conf$$ 2>/dev/null; then
17371     as_ln_s='ln -s'
17372     # ... but there are two gotchas:
17373     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17374     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17375     # In both cases, we have to default to `cp -pR'.
17376     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17377       as_ln_s='cp -pR'
17378   elif ln conf$$.file conf$$ 2>/dev/null; then
17379     as_ln_s=ln
17380   else
17381     as_ln_s='cp -pR'
17382   fi
17383 else
17384   as_ln_s='cp -pR'
17385 fi
17386 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17387 rmdir conf$$.dir 2>/dev/null
17388
17389
17390 # as_fn_mkdir_p
17391 # -------------
17392 # Create "$as_dir" as a directory, including parents if necessary.
17393 as_fn_mkdir_p ()
17394 {
17395
17396   case $as_dir in #(
17397   -*) as_dir=./$as_dir;;
17398   esac
17399   test -d "$as_dir" || eval $as_mkdir_p || {
17400     as_dirs=
17401     while :; do
17402       case $as_dir in #(
17403       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17404       *) as_qdir=$as_dir;;
17405       esac
17406       as_dirs="'$as_qdir' $as_dirs"
17407       as_dir=`$as_dirname -- "$as_dir" ||
17408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17409          X"$as_dir" : 'X\(//\)[^/]' \| \
17410          X"$as_dir" : 'X\(//\)$' \| \
17411          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17412 $as_echo X"$as_dir" |
17413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17414             s//\1/
17415             q
17416           }
17417           /^X\(\/\/\)[^/].*/{
17418             s//\1/
17419             q
17420           }
17421           /^X\(\/\/\)$/{
17422             s//\1/
17423             q
17424           }
17425           /^X\(\/\).*/{
17426             s//\1/
17427             q
17428           }
17429           s/.*/./; q'`
17430       test -d "$as_dir" && break
17431     done
17432     test -z "$as_dirs" || eval "mkdir $as_dirs"
17433   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17434
17435
17436 } # as_fn_mkdir_p
17437 if mkdir -p . 2>/dev/null; then
17438   as_mkdir_p='mkdir -p "$as_dir"'
17439 else
17440   test -d ./-p && rmdir ./-p
17441   as_mkdir_p=false
17442 fi
17443
17444
17445 # as_fn_executable_p FILE
17446 # -----------------------
17447 # Test if FILE is an executable regular file.
17448 as_fn_executable_p ()
17449 {
17450   test -f "$1" && test -x "$1"
17451 } # as_fn_executable_p
17452 as_test_x='test -x'
17453 as_executable_p=as_fn_executable_p
17454
17455 # Sed expression to map a string onto a valid CPP name.
17456 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17457
17458 # Sed expression to map a string onto a valid variable name.
17459 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17460
17461
17462 exec 6>&1
17463 ## ----------------------------------- ##
17464 ## Main body of $CONFIG_STATUS script. ##
17465 ## ----------------------------------- ##
17466 _ASEOF
17467 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17468
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17470 # Save the log message, to keep $0 and so on meaningful, and to
17471 # report actual input values of CONFIG_FILES etc. instead of their
17472 # values after options handling.
17473 ac_log="
17474 This file was extended by asdcplib $as_me 2.5.11, which was
17475 generated by GNU Autoconf 2.69.  Invocation command line was
17476
17477   CONFIG_FILES    = $CONFIG_FILES
17478   CONFIG_HEADERS  = $CONFIG_HEADERS
17479   CONFIG_LINKS    = $CONFIG_LINKS
17480   CONFIG_COMMANDS = $CONFIG_COMMANDS
17481   $ $0 $@
17482
17483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17484 "
17485
17486 _ACEOF
17487
17488 case $ac_config_files in *"
17489 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17490 esac
17491
17492
17493
17494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17495 # Files that config.status was made for.
17496 config_files="$ac_config_files"
17497 config_commands="$ac_config_commands"
17498
17499 _ACEOF
17500
17501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17502 ac_cs_usage="\
17503 \`$as_me' instantiates files and other configuration actions
17504 from templates according to the current configuration.  Unless the files
17505 and actions are specified as TAGs, all are instantiated by default.
17506
17507 Usage: $0 [OPTION]... [TAG]...
17508
17509   -h, --help       print this help, then exit
17510   -V, --version    print version number and configuration settings, then exit
17511       --config     print configuration, then exit
17512   -q, --quiet, --silent
17513                    do not print progress messages
17514   -d, --debug      don't remove temporary files
17515       --recheck    update $as_me by reconfiguring in the same conditions
17516       --file=FILE[:TEMPLATE]
17517                    instantiate the configuration file FILE
17518
17519 Configuration files:
17520 $config_files
17521
17522 Configuration commands:
17523 $config_commands
17524
17525 Report bugs to <asdcplib@cinecert.com>."
17526
17527 _ACEOF
17528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17530 ac_cs_version="\\
17531 asdcplib config.status 2.5.11
17532 configured by $0, generated by GNU Autoconf 2.69,
17533   with options \\"\$ac_cs_config\\"
17534
17535 Copyright (C) 2012 Free Software Foundation, Inc.
17536 This config.status script is free software; the Free Software Foundation
17537 gives unlimited permission to copy, distribute and modify it."
17538
17539 ac_pwd='$ac_pwd'
17540 srcdir='$srcdir'
17541 INSTALL='$INSTALL'
17542 MKDIR_P='$MKDIR_P'
17543 AWK='$AWK'
17544 test -n "\$AWK" || AWK=awk
17545 _ACEOF
17546
17547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17548 # The default lists apply if the user does not specify any file.
17549 ac_need_defaults=:
17550 while test $# != 0
17551 do
17552   case $1 in
17553   --*=?*)
17554     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17555     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17556     ac_shift=:
17557     ;;
17558   --*=)
17559     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17560     ac_optarg=
17561     ac_shift=:
17562     ;;
17563   *)
17564     ac_option=$1
17565     ac_optarg=$2
17566     ac_shift=shift
17567     ;;
17568   esac
17569
17570   case $ac_option in
17571   # Handling of the options.
17572   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17573     ac_cs_recheck=: ;;
17574   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17575     $as_echo "$ac_cs_version"; exit ;;
17576   --config | --confi | --conf | --con | --co | --c )
17577     $as_echo "$ac_cs_config"; exit ;;
17578   --debug | --debu | --deb | --de | --d | -d )
17579     debug=: ;;
17580   --file | --fil | --fi | --f )
17581     $ac_shift
17582     case $ac_optarg in
17583     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17584     '') as_fn_error $? "missing file argument" ;;
17585     esac
17586     as_fn_append CONFIG_FILES " '$ac_optarg'"
17587     ac_need_defaults=false;;
17588   --he | --h |  --help | --hel | -h )
17589     $as_echo "$ac_cs_usage"; exit ;;
17590   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17591   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17592     ac_cs_silent=: ;;
17593
17594   # This is an error.
17595   -*) as_fn_error $? "unrecognized option: \`$1'
17596 Try \`$0 --help' for more information." ;;
17597
17598   *) as_fn_append ac_config_targets " $1"
17599      ac_need_defaults=false ;;
17600
17601   esac
17602   shift
17603 done
17604
17605 ac_configure_extra_args=
17606
17607 if $ac_cs_silent; then
17608   exec 6>/dev/null
17609   ac_configure_extra_args="$ac_configure_extra_args --silent"
17610 fi
17611
17612 _ACEOF
17613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17614 if \$ac_cs_recheck; then
17615   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17616   shift
17617   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17618   CONFIG_SHELL='$SHELL'
17619   export CONFIG_SHELL
17620   exec "\$@"
17621 fi
17622
17623 _ACEOF
17624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17625 exec 5>>config.log
17626 {
17627   echo
17628   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17629 ## Running $as_me. ##
17630 _ASBOX
17631   $as_echo "$ac_log"
17632 } >&5
17633
17634 _ACEOF
17635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17636 #
17637 # INIT-COMMANDS
17638 #
17639 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17640
17641
17642 # The HP-UX ksh and POSIX shell print the target directory to stdout
17643 # if CDPATH is set.
17644 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17645
17646 sed_quote_subst='$sed_quote_subst'
17647 double_quote_subst='$double_quote_subst'
17648 delay_variable_subst='$delay_variable_subst'
17649 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17650 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17651 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17652 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17653 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17654 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17655 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17656 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17657 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17658 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17659 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17660 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17661 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17662 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17663 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17664 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17665 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17666 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17667 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17668 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17669 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17670 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17671 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17672 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17673 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17674 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17675 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17676 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17677 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17678 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17679 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17680 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17681 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17682 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17683 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17684 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17685 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17686 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17687 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17688 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17689 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17690 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17691 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17692 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17693 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17694 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17695 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17696 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17697 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17698 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17699 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17700 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17701 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17702 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17704 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17705 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"`'
17706 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17707 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17708 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17709 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17710 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17711 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17712 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17713 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17714 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17715 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17716 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17717 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17718 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17719 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17720 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17721 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17722 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17723 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17724 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17725 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17726 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17727 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17728 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17729 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17730 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17731 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17732 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17733 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17734 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17735 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17736 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17737 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17738 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17739 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17740 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17741 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17742 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17743 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17744 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17745 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17746 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17747 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17748 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17749 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17750 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17751 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17752 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17753 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17754 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17755 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17756 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17757 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17758 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17759 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17760 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17761 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17762 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17763 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17764 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17765 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17766 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17767 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17768 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17769 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17770 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17771 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17772 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17773 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17774 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17775 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17776 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17777 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17778 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17779 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17780 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17781 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17782 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17783 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17784 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17785 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17786 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17787 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17788 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17789 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17790 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17791 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17792 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17793 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17794 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17795 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17796 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17797 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17798 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17799 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17800 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17801 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17802 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17803 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17804 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17805 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17806 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17807 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17808 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17809 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17810 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17811 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17812 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17813 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17814 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17815 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17816 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17817 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17818 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17819 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17820 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17821 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17822 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17823 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17824 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17825 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17826 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17827 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17828 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17829 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17830 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17831 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17832 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17833
17834 LTCC='$LTCC'
17835 LTCFLAGS='$LTCFLAGS'
17836 compiler='$compiler_DEFAULT'
17837
17838 # A function that is used when there is no print builtin or printf.
17839 func_fallback_echo ()
17840 {
17841   eval 'cat <<_LTECHO_EOF
17842 \$1
17843 _LTECHO_EOF'
17844 }
17845
17846 # Quote evaled strings.
17847 for var in SHELL \
17848 ECHO \
17849 PATH_SEPARATOR \
17850 SED \
17851 GREP \
17852 EGREP \
17853 FGREP \
17854 LD \
17855 NM \
17856 LN_S \
17857 lt_SP2NL \
17858 lt_NL2SP \
17859 reload_flag \
17860 OBJDUMP \
17861 deplibs_check_method \
17862 file_magic_cmd \
17863 file_magic_glob \
17864 want_nocaseglob \
17865 DLLTOOL \
17866 sharedlib_from_linklib_cmd \
17867 AR \
17868 AR_FLAGS \
17869 archiver_list_spec \
17870 STRIP \
17871 RANLIB \
17872 CC \
17873 CFLAGS \
17874 compiler \
17875 lt_cv_sys_global_symbol_pipe \
17876 lt_cv_sys_global_symbol_to_cdecl \
17877 lt_cv_sys_global_symbol_to_c_name_address \
17878 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17879 nm_file_list_spec \
17880 lt_prog_compiler_no_builtin_flag \
17881 lt_prog_compiler_pic \
17882 lt_prog_compiler_wl \
17883 lt_prog_compiler_static \
17884 lt_cv_prog_compiler_c_o \
17885 need_locks \
17886 MANIFEST_TOOL \
17887 DSYMUTIL \
17888 NMEDIT \
17889 LIPO \
17890 OTOOL \
17891 OTOOL64 \
17892 shrext_cmds \
17893 export_dynamic_flag_spec \
17894 whole_archive_flag_spec \
17895 compiler_needs_object \
17896 with_gnu_ld \
17897 allow_undefined_flag \
17898 no_undefined_flag \
17899 hardcode_libdir_flag_spec \
17900 hardcode_libdir_separator \
17901 exclude_expsyms \
17902 include_expsyms \
17903 file_list_spec \
17904 variables_saved_for_relink \
17905 libname_spec \
17906 library_names_spec \
17907 soname_spec \
17908 install_override_mode \
17909 finish_eval \
17910 old_striplib \
17911 striplib \
17912 compiler_lib_search_dirs \
17913 predep_objects \
17914 postdep_objects \
17915 predeps \
17916 postdeps \
17917 compiler_lib_search_path \
17918 LD_CXX \
17919 reload_flag_CXX \
17920 compiler_CXX \
17921 lt_prog_compiler_no_builtin_flag_CXX \
17922 lt_prog_compiler_pic_CXX \
17923 lt_prog_compiler_wl_CXX \
17924 lt_prog_compiler_static_CXX \
17925 lt_cv_prog_compiler_c_o_CXX \
17926 export_dynamic_flag_spec_CXX \
17927 whole_archive_flag_spec_CXX \
17928 compiler_needs_object_CXX \
17929 with_gnu_ld_CXX \
17930 allow_undefined_flag_CXX \
17931 no_undefined_flag_CXX \
17932 hardcode_libdir_flag_spec_CXX \
17933 hardcode_libdir_separator_CXX \
17934 exclude_expsyms_CXX \
17935 include_expsyms_CXX \
17936 file_list_spec_CXX \
17937 compiler_lib_search_dirs_CXX \
17938 predep_objects_CXX \
17939 postdep_objects_CXX \
17940 predeps_CXX \
17941 postdeps_CXX \
17942 compiler_lib_search_path_CXX; do
17943     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17944     *[\\\\\\\`\\"\\\$]*)
17945       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17946       ;;
17947     *)
17948       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17949       ;;
17950     esac
17951 done
17952
17953 # Double-quote double-evaled strings.
17954 for var in reload_cmds \
17955 old_postinstall_cmds \
17956 old_postuninstall_cmds \
17957 old_archive_cmds \
17958 extract_expsyms_cmds \
17959 old_archive_from_new_cmds \
17960 old_archive_from_expsyms_cmds \
17961 archive_cmds \
17962 archive_expsym_cmds \
17963 module_cmds \
17964 module_expsym_cmds \
17965 export_symbols_cmds \
17966 prelink_cmds \
17967 postlink_cmds \
17968 postinstall_cmds \
17969 postuninstall_cmds \
17970 finish_cmds \
17971 sys_lib_search_path_spec \
17972 sys_lib_dlsearch_path_spec \
17973 reload_cmds_CXX \
17974 old_archive_cmds_CXX \
17975 old_archive_from_new_cmds_CXX \
17976 old_archive_from_expsyms_cmds_CXX \
17977 archive_cmds_CXX \
17978 archive_expsym_cmds_CXX \
17979 module_cmds_CXX \
17980 module_expsym_cmds_CXX \
17981 export_symbols_cmds_CXX \
17982 prelink_cmds_CXX \
17983 postlink_cmds_CXX; do
17984     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17985     *[\\\\\\\`\\"\\\$]*)
17986       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17987       ;;
17988     *)
17989       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17990       ;;
17991     esac
17992 done
17993
17994 ac_aux_dir='$ac_aux_dir'
17995 xsi_shell='$xsi_shell'
17996 lt_shell_append='$lt_shell_append'
17997
17998 # See if we are running on zsh, and set the options which allow our
17999 # commands through without removal of \ escapes INIT.
18000 if test -n "\${ZSH_VERSION+set}" ; then
18001    setopt NO_GLOB_SUBST
18002 fi
18003
18004
18005     PACKAGE='$PACKAGE'
18006     VERSION='$VERSION'
18007     TIMESTAMP='$TIMESTAMP'
18008     RM='$RM'
18009     ofile='$ofile'
18010
18011
18012
18013
18014
18015
18016 _ACEOF
18017
18018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18019
18020 # Handling of arguments.
18021 for ac_config_target in $ac_config_targets
18022 do
18023   case $ac_config_target in
18024     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18025     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18026     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18027     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18028     "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
18029     "win32/Makefile.mak") CONFIG_FILES="$CONFIG_FILES win32/Makefile.mak:win32/Makefile.wmk" ;;
18030
18031   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18032   esac
18033 done
18034
18035
18036 # If the user did not use the arguments to specify the items to instantiate,
18037 # then the envvar interface is used.  Set only those that are not.
18038 # We use the long form for the default assignment because of an extremely
18039 # bizarre bug on SunOS 4.1.3.
18040 if $ac_need_defaults; then
18041   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18042   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18043 fi
18044
18045 # Have a temporary directory for convenience.  Make it in the build tree
18046 # simply because there is no reason against having it here, and in addition,
18047 # creating and moving files from /tmp can sometimes cause problems.
18048 # Hook for its removal unless debugging.
18049 # Note that there is a small window in which the directory will not be cleaned:
18050 # after its creation but before its name has been assigned to `$tmp'.
18051 $debug ||
18052 {
18053   tmp= ac_tmp=
18054   trap 'exit_status=$?
18055   : "${ac_tmp:=$tmp}"
18056   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18057 ' 0
18058   trap 'as_fn_exit 1' 1 2 13 15
18059 }
18060 # Create a (secure) tmp directory for tmp files.
18061
18062 {
18063   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18064   test -d "$tmp"
18065 }  ||
18066 {
18067   tmp=./conf$$-$RANDOM
18068   (umask 077 && mkdir "$tmp")
18069 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18070 ac_tmp=$tmp
18071
18072 # Set up the scripts for CONFIG_FILES section.
18073 # No need to generate them if there are no CONFIG_FILES.
18074 # This happens for instance with `./config.status config.h'.
18075 if test -n "$CONFIG_FILES"; then
18076
18077
18078 ac_cr=`echo X | tr X '\015'`
18079 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18080 # But we know of no other shell where ac_cr would be empty at this
18081 # point, so we can use a bashism as a fallback.
18082 if test "x$ac_cr" = x; then
18083   eval ac_cr=\$\'\\r\'
18084 fi
18085 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18086 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18087   ac_cs_awk_cr='\\r'
18088 else
18089   ac_cs_awk_cr=$ac_cr
18090 fi
18091
18092 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18093 _ACEOF
18094
18095
18096 {
18097   echo "cat >conf$$subs.awk <<_ACEOF" &&
18098   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18099   echo "_ACEOF"
18100 } >conf$$subs.sh ||
18101   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18102 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18103 ac_delim='%!_!# '
18104 for ac_last_try in false false false false false :; do
18105   . ./conf$$subs.sh ||
18106     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18107
18108   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18109   if test $ac_delim_n = $ac_delim_num; then
18110     break
18111   elif $ac_last_try; then
18112     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18113   else
18114     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18115   fi
18116 done
18117 rm -f conf$$subs.sh
18118
18119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18120 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18121 _ACEOF
18122 sed -n '
18123 h
18124 s/^/S["/; s/!.*/"]=/
18125 p
18126 g
18127 s/^[^!]*!//
18128 :repl
18129 t repl
18130 s/'"$ac_delim"'$//
18131 t delim
18132 :nl
18133 h
18134 s/\(.\{148\}\)..*/\1/
18135 t more1
18136 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18137 p
18138 n
18139 b repl
18140 :more1
18141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18142 p
18143 g
18144 s/.\{148\}//
18145 t nl
18146 :delim
18147 h
18148 s/\(.\{148\}\)..*/\1/
18149 t more2
18150 s/["\\]/\\&/g; s/^/"/; s/$/"/
18151 p
18152 b
18153 :more2
18154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18155 p
18156 g
18157 s/.\{148\}//
18158 t delim
18159 ' <conf$$subs.awk | sed '
18160 /^[^""]/{
18161   N
18162   s/\n//
18163 }
18164 ' >>$CONFIG_STATUS || ac_write_fail=1
18165 rm -f conf$$subs.awk
18166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18167 _ACAWK
18168 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18169   for (key in S) S_is_set[key] = 1
18170   FS = "\a"
18171
18172 }
18173 {
18174   line = $ 0
18175   nfields = split(line, field, "@")
18176   substed = 0
18177   len = length(field[1])
18178   for (i = 2; i < nfields; i++) {
18179     key = field[i]
18180     keylen = length(key)
18181     if (S_is_set[key]) {
18182       value = S[key]
18183       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18184       len += length(value) + length(field[++i])
18185       substed = 1
18186     } else
18187       len += 1 + keylen
18188   }
18189
18190   print line
18191 }
18192
18193 _ACAWK
18194 _ACEOF
18195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18196 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18197   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18198 else
18199   cat
18200 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18201   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18202 _ACEOF
18203
18204 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18205 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18206 # trailing colons and then remove the whole line if VPATH becomes empty
18207 # (actually we leave an empty line to preserve line numbers).
18208 if test "x$srcdir" = x.; then
18209   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18210 h
18211 s///
18212 s/^/:/
18213 s/[      ]*$/:/
18214 s/:\$(srcdir):/:/g
18215 s/:\${srcdir}:/:/g
18216 s/:@srcdir@:/:/g
18217 s/^:*//
18218 s/:*$//
18219 x
18220 s/\(=[   ]*\).*/\1/
18221 G
18222 s/\n//
18223 s/^[^=]*=[       ]*$//
18224 }'
18225 fi
18226
18227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18228 fi # test -n "$CONFIG_FILES"
18229
18230
18231 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
18232 shift
18233 for ac_tag
18234 do
18235   case $ac_tag in
18236   :[FHLC]) ac_mode=$ac_tag; continue;;
18237   esac
18238   case $ac_mode$ac_tag in
18239   :[FHL]*:*);;
18240   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18241   :[FH]-) ac_tag=-:-;;
18242   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18243   esac
18244   ac_save_IFS=$IFS
18245   IFS=:
18246   set x $ac_tag
18247   IFS=$ac_save_IFS
18248   shift
18249   ac_file=$1
18250   shift
18251
18252   case $ac_mode in
18253   :L) ac_source=$1;;
18254   :[FH])
18255     ac_file_inputs=
18256     for ac_f
18257     do
18258       case $ac_f in
18259       -) ac_f="$ac_tmp/stdin";;
18260       *) # Look for the file first in the build tree, then in the source tree
18261          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18262          # because $ac_f cannot contain `:'.
18263          test -f "$ac_f" ||
18264            case $ac_f in
18265            [\\/$]*) false;;
18266            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18267            esac ||
18268            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18269       esac
18270       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18271       as_fn_append ac_file_inputs " '$ac_f'"
18272     done
18273
18274     # Let's still pretend it is `configure' which instantiates (i.e., don't
18275     # use $as_me), people would be surprised to read:
18276     #    /* config.h.  Generated by config.status.  */
18277     configure_input='Generated from '`
18278           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18279         `' by configure.'
18280     if test x"$ac_file" != x-; then
18281       configure_input="$ac_file.  $configure_input"
18282       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18283 $as_echo "$as_me: creating $ac_file" >&6;}
18284     fi
18285     # Neutralize special characters interpreted by sed in replacement strings.
18286     case $configure_input in #(
18287     *\&* | *\|* | *\\* )
18288        ac_sed_conf_input=`$as_echo "$configure_input" |
18289        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18290     *) ac_sed_conf_input=$configure_input;;
18291     esac
18292
18293     case $ac_tag in
18294     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18295       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18296     esac
18297     ;;
18298   esac
18299
18300   ac_dir=`$as_dirname -- "$ac_file" ||
18301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18302          X"$ac_file" : 'X\(//\)[^/]' \| \
18303          X"$ac_file" : 'X\(//\)$' \| \
18304          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18305 $as_echo X"$ac_file" |
18306     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18307             s//\1/
18308             q
18309           }
18310           /^X\(\/\/\)[^/].*/{
18311             s//\1/
18312             q
18313           }
18314           /^X\(\/\/\)$/{
18315             s//\1/
18316             q
18317           }
18318           /^X\(\/\).*/{
18319             s//\1/
18320             q
18321           }
18322           s/.*/./; q'`
18323   as_dir="$ac_dir"; as_fn_mkdir_p
18324   ac_builddir=.
18325
18326 case "$ac_dir" in
18327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18328 *)
18329   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18330   # A ".." for each directory in $ac_dir_suffix.
18331   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18332   case $ac_top_builddir_sub in
18333   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18334   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18335   esac ;;
18336 esac
18337 ac_abs_top_builddir=$ac_pwd
18338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18339 # for backward compatibility:
18340 ac_top_builddir=$ac_top_build_prefix
18341
18342 case $srcdir in
18343   .)  # We are building in place.
18344     ac_srcdir=.
18345     ac_top_srcdir=$ac_top_builddir_sub
18346     ac_abs_top_srcdir=$ac_pwd ;;
18347   [\\/]* | ?:[\\/]* )  # Absolute name.
18348     ac_srcdir=$srcdir$ac_dir_suffix;
18349     ac_top_srcdir=$srcdir
18350     ac_abs_top_srcdir=$srcdir ;;
18351   *) # Relative name.
18352     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18353     ac_top_srcdir=$ac_top_build_prefix$srcdir
18354     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18355 esac
18356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18357
18358
18359   case $ac_mode in
18360   :F)
18361   #
18362   # CONFIG_FILE
18363   #
18364
18365   case $INSTALL in
18366   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18367   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18368   esac
18369   ac_MKDIR_P=$MKDIR_P
18370   case $MKDIR_P in
18371   [\\/$]* | ?:[\\/]* ) ;;
18372   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18373   esac
18374 _ACEOF
18375
18376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18377 # If the template does not know about datarootdir, expand it.
18378 # FIXME: This hack should be removed a few years after 2.60.
18379 ac_datarootdir_hack=; ac_datarootdir_seen=
18380 ac_sed_dataroot='
18381 /datarootdir/ {
18382   p
18383   q
18384 }
18385 /@datadir@/p
18386 /@docdir@/p
18387 /@infodir@/p
18388 /@localedir@/p
18389 /@mandir@/p'
18390 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18391 *datarootdir*) ac_datarootdir_seen=yes;;
18392 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18393   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18394 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18395 _ACEOF
18396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18397   ac_datarootdir_hack='
18398   s&@datadir@&$datadir&g
18399   s&@docdir@&$docdir&g
18400   s&@infodir@&$infodir&g
18401   s&@localedir@&$localedir&g
18402   s&@mandir@&$mandir&g
18403   s&\\\${datarootdir}&$datarootdir&g' ;;
18404 esac
18405 _ACEOF
18406
18407 # Neutralize VPATH when `$srcdir' = `.'.
18408 # Shell code in configure.ac might set extrasub.
18409 # FIXME: do we really want to maintain this feature?
18410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411 ac_sed_extra="$ac_vpsub
18412 $extrasub
18413 _ACEOF
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 :t
18416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18417 s|@configure_input@|$ac_sed_conf_input|;t t
18418 s&@top_builddir@&$ac_top_builddir_sub&;t t
18419 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18420 s&@srcdir@&$ac_srcdir&;t t
18421 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18422 s&@top_srcdir@&$ac_top_srcdir&;t t
18423 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18424 s&@builddir@&$ac_builddir&;t t
18425 s&@abs_builddir@&$ac_abs_builddir&;t t
18426 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18427 s&@INSTALL@&$ac_INSTALL&;t t
18428 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18429 $ac_datarootdir_hack
18430 "
18431 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18432   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18433
18434 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18435   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18436   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18437       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18438   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18439 which seems to be undefined.  Please make sure it is defined" >&5
18440 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18441 which seems to be undefined.  Please make sure it is defined" >&2;}
18442
18443   rm -f "$ac_tmp/stdin"
18444   case $ac_file in
18445   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18446   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18447   esac \
18448   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18449  ;;
18450
18451
18452   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18453 $as_echo "$as_me: executing $ac_file commands" >&6;}
18454  ;;
18455   esac
18456
18457
18458   case $ac_file$ac_mode in
18459     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18460   # Older Autoconf quotes --file arguments for eval, but not when files
18461   # are listed without --file.  Let's play safe and only enable the eval
18462   # if we detect the quoting.
18463   case $CONFIG_FILES in
18464   *\'*) eval set x "$CONFIG_FILES" ;;
18465   *)   set x $CONFIG_FILES ;;
18466   esac
18467   shift
18468   for mf
18469   do
18470     # Strip MF so we end up with the name of the file.
18471     mf=`echo "$mf" | sed -e 's/:.*$//'`
18472     # Check whether this is an Automake generated Makefile or not.
18473     # We used to match only the files named 'Makefile.in', but
18474     # some people rename them; so instead we look at the file content.
18475     # Grep'ing the first line is not enough: some people post-process
18476     # each Makefile.in and add a new line on top of each file to say so.
18477     # Grep'ing the whole file is not good either: AIX grep has a line
18478     # limit of 2048, but all sed's we know have understand at least 4000.
18479     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18480       dirpart=`$as_dirname -- "$mf" ||
18481 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18482          X"$mf" : 'X\(//\)[^/]' \| \
18483          X"$mf" : 'X\(//\)$' \| \
18484          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18485 $as_echo X"$mf" |
18486     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18487             s//\1/
18488             q
18489           }
18490           /^X\(\/\/\)[^/].*/{
18491             s//\1/
18492             q
18493           }
18494           /^X\(\/\/\)$/{
18495             s//\1/
18496             q
18497           }
18498           /^X\(\/\).*/{
18499             s//\1/
18500             q
18501           }
18502           s/.*/./; q'`
18503     else
18504       continue
18505     fi
18506     # Extract the definition of DEPDIR, am__include, and am__quote
18507     # from the Makefile without running 'make'.
18508     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18509     test -z "$DEPDIR" && continue
18510     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18511     test -z "$am__include" && continue
18512     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18513     # Find all dependency output files, they are included files with
18514     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18515     # simplest approach to changing $(DEPDIR) to its actual value in the
18516     # expansion.
18517     for file in `sed -n "
18518       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18519          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18520       # Make sure the directory exists.
18521       test -f "$dirpart/$file" && continue
18522       fdir=`$as_dirname -- "$file" ||
18523 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18524          X"$file" : 'X\(//\)[^/]' \| \
18525          X"$file" : 'X\(//\)$' \| \
18526          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18527 $as_echo X"$file" |
18528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18529             s//\1/
18530             q
18531           }
18532           /^X\(\/\/\)[^/].*/{
18533             s//\1/
18534             q
18535           }
18536           /^X\(\/\/\)$/{
18537             s//\1/
18538             q
18539           }
18540           /^X\(\/\).*/{
18541             s//\1/
18542             q
18543           }
18544           s/.*/./; q'`
18545       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18546       # echo "creating $dirpart/$file"
18547       echo '# dummy' > "$dirpart/$file"
18548     done
18549   done
18550 }
18551  ;;
18552     "libtool":C)
18553
18554     # See if we are running on zsh, and set the options which allow our
18555     # commands through without removal of \ escapes.
18556     if test -n "${ZSH_VERSION+set}" ; then
18557       setopt NO_GLOB_SUBST
18558     fi
18559
18560     cfgfile="${ofile}T"
18561     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18562     $RM "$cfgfile"
18563
18564     cat <<_LT_EOF >> "$cfgfile"
18565 #! $SHELL
18566
18567 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18568 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18571 #
18572 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18573 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18574 #                 Foundation, Inc.
18575 #   Written by Gordon Matzigkeit, 1996
18576 #
18577 #   This file is part of GNU Libtool.
18578 #
18579 # GNU Libtool is free software; you can redistribute it and/or
18580 # modify it under the terms of the GNU General Public License as
18581 # published by the Free Software Foundation; either version 2 of
18582 # the License, or (at your option) any later version.
18583 #
18584 # As a special exception to the GNU General Public License,
18585 # if you distribute this file as part of a program or library that
18586 # is built using GNU Libtool, you may include this file under the
18587 # same distribution terms that you use for the rest of that program.
18588 #
18589 # GNU Libtool is distributed in the hope that it will be useful,
18590 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18592 # GNU General Public License for more details.
18593 #
18594 # You should have received a copy of the GNU General Public License
18595 # along with GNU Libtool; see the file COPYING.  If not, a copy
18596 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18597 # obtained by writing to the Free Software Foundation, Inc.,
18598 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18599
18600
18601 # The names of the tagged configurations supported by this script.
18602 available_tags="CXX "
18603
18604 # ### BEGIN LIBTOOL CONFIG
18605
18606 # Which release of libtool.m4 was used?
18607 macro_version=$macro_version
18608 macro_revision=$macro_revision
18609
18610 # Whether or not to build shared libraries.
18611 build_libtool_libs=$enable_shared
18612
18613 # Whether or not to build static libraries.
18614 build_old_libs=$enable_static
18615
18616 # What type of objects to build.
18617 pic_mode=$pic_mode
18618
18619 # Whether or not to optimize for fast installation.
18620 fast_install=$enable_fast_install
18621
18622 # Shell to use when invoking shell scripts.
18623 SHELL=$lt_SHELL
18624
18625 # An echo program that protects backslashes.
18626 ECHO=$lt_ECHO
18627
18628 # The PATH separator for the build system.
18629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18630
18631 # The host system.
18632 host_alias=$host_alias
18633 host=$host
18634 host_os=$host_os
18635
18636 # The build system.
18637 build_alias=$build_alias
18638 build=$build
18639 build_os=$build_os
18640
18641 # A sed program that does not truncate output.
18642 SED=$lt_SED
18643
18644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18645 Xsed="\$SED -e 1s/^X//"
18646
18647 # A grep program that handles long lines.
18648 GREP=$lt_GREP
18649
18650 # An ERE matcher.
18651 EGREP=$lt_EGREP
18652
18653 # A literal string matcher.
18654 FGREP=$lt_FGREP
18655
18656 # A BSD- or MS-compatible name lister.
18657 NM=$lt_NM
18658
18659 # Whether we need soft or hard links.
18660 LN_S=$lt_LN_S
18661
18662 # What is the maximum length of a command?
18663 max_cmd_len=$max_cmd_len
18664
18665 # Object file suffix (normally "o").
18666 objext=$ac_objext
18667
18668 # Executable file suffix (normally "").
18669 exeext=$exeext
18670
18671 # whether the shell understands "unset".
18672 lt_unset=$lt_unset
18673
18674 # turn spaces into newlines.
18675 SP2NL=$lt_lt_SP2NL
18676
18677 # turn newlines into spaces.
18678 NL2SP=$lt_lt_NL2SP
18679
18680 # convert \$build file names to \$host format.
18681 to_host_file_cmd=$lt_cv_to_host_file_cmd
18682
18683 # convert \$build files to toolchain format.
18684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18685
18686 # An object symbol dumper.
18687 OBJDUMP=$lt_OBJDUMP
18688
18689 # Method to check whether dependent libraries are shared objects.
18690 deplibs_check_method=$lt_deplibs_check_method
18691
18692 # Command to use when deplibs_check_method = "file_magic".
18693 file_magic_cmd=$lt_file_magic_cmd
18694
18695 # How to find potential files when deplibs_check_method = "file_magic".
18696 file_magic_glob=$lt_file_magic_glob
18697
18698 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18699 want_nocaseglob=$lt_want_nocaseglob
18700
18701 # DLL creation program.
18702 DLLTOOL=$lt_DLLTOOL
18703
18704 # Command to associate shared and link libraries.
18705 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18706
18707 # The archiver.
18708 AR=$lt_AR
18709
18710 # Flags to create an archive.
18711 AR_FLAGS=$lt_AR_FLAGS
18712
18713 # How to feed a file listing to the archiver.
18714 archiver_list_spec=$lt_archiver_list_spec
18715
18716 # A symbol stripping program.
18717 STRIP=$lt_STRIP
18718
18719 # Commands used to install an old-style archive.
18720 RANLIB=$lt_RANLIB
18721 old_postinstall_cmds=$lt_old_postinstall_cmds
18722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18723
18724 # Whether to use a lock for old archive extraction.
18725 lock_old_archive_extraction=$lock_old_archive_extraction
18726
18727 # A C compiler.
18728 LTCC=$lt_CC
18729
18730 # LTCC compiler flags.
18731 LTCFLAGS=$lt_CFLAGS
18732
18733 # Take the output of nm and produce a listing of raw symbols and C names.
18734 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18735
18736 # Transform the output of nm in a proper C declaration.
18737 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18738
18739 # Transform the output of nm in a C name address pair.
18740 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18741
18742 # Transform the output of nm in a C name address pair when lib prefix is needed.
18743 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18744
18745 # Specify filename containing input files for \$NM.
18746 nm_file_list_spec=$lt_nm_file_list_spec
18747
18748 # The root where to search for dependent libraries,and in which our libraries should be installed.
18749 lt_sysroot=$lt_sysroot
18750
18751 # The name of the directory that contains temporary libtool files.
18752 objdir=$objdir
18753
18754 # Used to examine libraries when file_magic_cmd begins with "file".
18755 MAGIC_CMD=$MAGIC_CMD
18756
18757 # Must we lock files when doing compilation?
18758 need_locks=$lt_need_locks
18759
18760 # Manifest tool.
18761 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18762
18763 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18764 DSYMUTIL=$lt_DSYMUTIL
18765
18766 # Tool to change global to local symbols on Mac OS X.
18767 NMEDIT=$lt_NMEDIT
18768
18769 # Tool to manipulate fat objects and archives on Mac OS X.
18770 LIPO=$lt_LIPO
18771
18772 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18773 OTOOL=$lt_OTOOL
18774
18775 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18776 OTOOL64=$lt_OTOOL64
18777
18778 # Old archive suffix (normally "a").
18779 libext=$libext
18780
18781 # Shared library suffix (normally ".so").
18782 shrext_cmds=$lt_shrext_cmds
18783
18784 # The commands to extract the exported symbol list from a shared archive.
18785 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18786
18787 # Variables whose values should be saved in libtool wrapper scripts and
18788 # restored at link time.
18789 variables_saved_for_relink=$lt_variables_saved_for_relink
18790
18791 # Do we need the "lib" prefix for modules?
18792 need_lib_prefix=$need_lib_prefix
18793
18794 # Do we need a version for libraries?
18795 need_version=$need_version
18796
18797 # Library versioning type.
18798 version_type=$version_type
18799
18800 # Shared library runtime path variable.
18801 runpath_var=$runpath_var
18802
18803 # Shared library path variable.
18804 shlibpath_var=$shlibpath_var
18805
18806 # Is shlibpath searched before the hard-coded library search path?
18807 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18808
18809 # Format of library name prefix.
18810 libname_spec=$lt_libname_spec
18811
18812 # List of archive names.  First name is the real one, the rest are links.
18813 # The last name is the one that the linker finds with -lNAME
18814 library_names_spec=$lt_library_names_spec
18815
18816 # The coded name of the library, if different from the real name.
18817 soname_spec=$lt_soname_spec
18818
18819 # Permission mode override for installation of shared libraries.
18820 install_override_mode=$lt_install_override_mode
18821
18822 # Command to use after installation of a shared archive.
18823 postinstall_cmds=$lt_postinstall_cmds
18824
18825 # Command to use after uninstallation of a shared archive.
18826 postuninstall_cmds=$lt_postuninstall_cmds
18827
18828 # Commands used to finish a libtool library installation in a directory.
18829 finish_cmds=$lt_finish_cmds
18830
18831 # As "finish_cmds", except a single script fragment to be evaled but
18832 # not shown.
18833 finish_eval=$lt_finish_eval
18834
18835 # Whether we should hardcode library paths into libraries.
18836 hardcode_into_libs=$hardcode_into_libs
18837
18838 # Compile-time system search path for libraries.
18839 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18840
18841 # Run-time system search path for libraries.
18842 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18843
18844 # Whether dlopen is supported.
18845 dlopen_support=$enable_dlopen
18846
18847 # Whether dlopen of programs is supported.
18848 dlopen_self=$enable_dlopen_self
18849
18850 # Whether dlopen of statically linked programs is supported.
18851 dlopen_self_static=$enable_dlopen_self_static
18852
18853 # Commands to strip libraries.
18854 old_striplib=$lt_old_striplib
18855 striplib=$lt_striplib
18856
18857
18858 # The linker used to build libraries.
18859 LD=$lt_LD
18860
18861 # How to create reloadable object files.
18862 reload_flag=$lt_reload_flag
18863 reload_cmds=$lt_reload_cmds
18864
18865 # Commands used to build an old-style archive.
18866 old_archive_cmds=$lt_old_archive_cmds
18867
18868 # A language specific compiler.
18869 CC=$lt_compiler
18870
18871 # Is the compiler the GNU compiler?
18872 with_gcc=$GCC
18873
18874 # Compiler flag to turn off builtin functions.
18875 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18876
18877 # Additional compiler flags for building library objects.
18878 pic_flag=$lt_lt_prog_compiler_pic
18879
18880 # How to pass a linker flag through the compiler.
18881 wl=$lt_lt_prog_compiler_wl
18882
18883 # Compiler flag to prevent dynamic linking.
18884 link_static_flag=$lt_lt_prog_compiler_static
18885
18886 # Does compiler simultaneously support -c and -o options?
18887 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18888
18889 # Whether or not to add -lc for building shared libraries.
18890 build_libtool_need_lc=$archive_cmds_need_lc
18891
18892 # Whether or not to disallow shared libs when runtime libs are static.
18893 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18894
18895 # Compiler flag to allow reflexive dlopens.
18896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18897
18898 # Compiler flag to generate shared objects directly from archives.
18899 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18900
18901 # Whether the compiler copes with passing no objects directly.
18902 compiler_needs_object=$lt_compiler_needs_object
18903
18904 # Create an old-style archive from a shared archive.
18905 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18906
18907 # Create a temporary old-style archive to link instead of a shared archive.
18908 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18909
18910 # Commands used to build a shared archive.
18911 archive_cmds=$lt_archive_cmds
18912 archive_expsym_cmds=$lt_archive_expsym_cmds
18913
18914 # Commands used to build a loadable module if different from building
18915 # a shared archive.
18916 module_cmds=$lt_module_cmds
18917 module_expsym_cmds=$lt_module_expsym_cmds
18918
18919 # Whether we are building with GNU ld or not.
18920 with_gnu_ld=$lt_with_gnu_ld
18921
18922 # Flag that allows shared libraries with undefined symbols to be built.
18923 allow_undefined_flag=$lt_allow_undefined_flag
18924
18925 # Flag that enforces no undefined symbols.
18926 no_undefined_flag=$lt_no_undefined_flag
18927
18928 # Flag to hardcode \$libdir into a binary during linking.
18929 # This must work even if \$libdir does not exist
18930 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18931
18932 # Whether we need a single "-rpath" flag with a separated argument.
18933 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18934
18935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18936 # DIR into the resulting binary.
18937 hardcode_direct=$hardcode_direct
18938
18939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18940 # DIR into the resulting binary and the resulting library dependency is
18941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18942 # library is relocated.
18943 hardcode_direct_absolute=$hardcode_direct_absolute
18944
18945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18946 # into the resulting binary.
18947 hardcode_minus_L=$hardcode_minus_L
18948
18949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18950 # into the resulting binary.
18951 hardcode_shlibpath_var=$hardcode_shlibpath_var
18952
18953 # Set to "yes" if building a shared library automatically hardcodes DIR
18954 # into the library and all subsequent libraries and executables linked
18955 # against it.
18956 hardcode_automatic=$hardcode_automatic
18957
18958 # Set to yes if linker adds runtime paths of dependent libraries
18959 # to runtime path list.
18960 inherit_rpath=$inherit_rpath
18961
18962 # Whether libtool must link a program against all its dependency libraries.
18963 link_all_deplibs=$link_all_deplibs
18964
18965 # Set to "yes" if exported symbols are required.
18966 always_export_symbols=$always_export_symbols
18967
18968 # The commands to list exported symbols.
18969 export_symbols_cmds=$lt_export_symbols_cmds
18970
18971 # Symbols that should not be listed in the preloaded symbols.
18972 exclude_expsyms=$lt_exclude_expsyms
18973
18974 # Symbols that must always be exported.
18975 include_expsyms=$lt_include_expsyms
18976
18977 # Commands necessary for linking programs (against libraries) with templates.
18978 prelink_cmds=$lt_prelink_cmds
18979
18980 # Commands necessary for finishing linking programs.
18981 postlink_cmds=$lt_postlink_cmds
18982
18983 # Specify filename containing input files.
18984 file_list_spec=$lt_file_list_spec
18985
18986 # How to hardcode a shared library path into an executable.
18987 hardcode_action=$hardcode_action
18988
18989 # The directories searched by this compiler when creating a shared library.
18990 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18991
18992 # Dependencies to place before and after the objects being linked to
18993 # create a shared library.
18994 predep_objects=$lt_predep_objects
18995 postdep_objects=$lt_postdep_objects
18996 predeps=$lt_predeps
18997 postdeps=$lt_postdeps
18998
18999 # The library search path used internally by the compiler when linking
19000 # a shared library.
19001 compiler_lib_search_path=$lt_compiler_lib_search_path
19002
19003 # ### END LIBTOOL CONFIG
19004
19005 _LT_EOF
19006
19007   case $host_os in
19008   aix3*)
19009     cat <<\_LT_EOF >> "$cfgfile"
19010 # AIX sometimes has problems with the GCC collect2 program.  For some
19011 # reason, if we set the COLLECT_NAMES environment variable, the problems
19012 # vanish in a puff of smoke.
19013 if test "X${COLLECT_NAMES+set}" != Xset; then
19014   COLLECT_NAMES=
19015   export COLLECT_NAMES
19016 fi
19017 _LT_EOF
19018     ;;
19019   esac
19020
19021
19022 ltmain="$ac_aux_dir/ltmain.sh"
19023
19024
19025   # We use sed instead of cat because bash on DJGPP gets confused if
19026   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19027   # text mode, it properly converts lines to CR/LF.  This bash problem
19028   # is reportedly fixed, but why not run on old versions too?
19029   sed '$q' "$ltmain" >> "$cfgfile" \
19030      || (rm -f "$cfgfile"; exit 1)
19031
19032   if test x"$xsi_shell" = xyes; then
19033   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19034 func_dirname ()\
19035 {\
19036 \    case ${1} in\
19037 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19038 \      *  ) func_dirname_result="${3}" ;;\
19039 \    esac\
19040 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19041   && mv -f "$cfgfile.tmp" "$cfgfile" \
19042     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19043 test 0 -eq $? || _lt_function_replace_fail=:
19044
19045
19046   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19047 func_basename ()\
19048 {\
19049 \    func_basename_result="${1##*/}"\
19050 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19051   && mv -f "$cfgfile.tmp" "$cfgfile" \
19052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19053 test 0 -eq $? || _lt_function_replace_fail=:
19054
19055
19056   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19057 func_dirname_and_basename ()\
19058 {\
19059 \    case ${1} in\
19060 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19061 \      *  ) func_dirname_result="${3}" ;;\
19062 \    esac\
19063 \    func_basename_result="${1##*/}"\
19064 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19065   && mv -f "$cfgfile.tmp" "$cfgfile" \
19066     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19067 test 0 -eq $? || _lt_function_replace_fail=:
19068
19069
19070   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19071 func_stripname ()\
19072 {\
19073 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19074 \    # positional parameters, so assign one to ordinary parameter first.\
19075 \    func_stripname_result=${3}\
19076 \    func_stripname_result=${func_stripname_result#"${1}"}\
19077 \    func_stripname_result=${func_stripname_result%"${2}"}\
19078 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19079   && mv -f "$cfgfile.tmp" "$cfgfile" \
19080     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19081 test 0 -eq $? || _lt_function_replace_fail=:
19082
19083
19084   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19085 func_split_long_opt ()\
19086 {\
19087 \    func_split_long_opt_name=${1%%=*}\
19088 \    func_split_long_opt_arg=${1#*=}\
19089 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19090   && mv -f "$cfgfile.tmp" "$cfgfile" \
19091     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19092 test 0 -eq $? || _lt_function_replace_fail=:
19093
19094
19095   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19096 func_split_short_opt ()\
19097 {\
19098 \    func_split_short_opt_arg=${1#??}\
19099 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19100 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19101   && mv -f "$cfgfile.tmp" "$cfgfile" \
19102     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19103 test 0 -eq $? || _lt_function_replace_fail=:
19104
19105
19106   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19107 func_lo2o ()\
19108 {\
19109 \    case ${1} in\
19110 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19111 \      *)    func_lo2o_result=${1} ;;\
19112 \    esac\
19113 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19114   && mv -f "$cfgfile.tmp" "$cfgfile" \
19115     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19116 test 0 -eq $? || _lt_function_replace_fail=:
19117
19118
19119   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19120 func_xform ()\
19121 {\
19122     func_xform_result=${1%.*}.lo\
19123 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19124   && mv -f "$cfgfile.tmp" "$cfgfile" \
19125     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19126 test 0 -eq $? || _lt_function_replace_fail=:
19127
19128
19129   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19130 func_arith ()\
19131 {\
19132     func_arith_result=$(( $* ))\
19133 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19134   && mv -f "$cfgfile.tmp" "$cfgfile" \
19135     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19136 test 0 -eq $? || _lt_function_replace_fail=:
19137
19138
19139   sed -e '/^func_len ()$/,/^} # func_len /c\
19140 func_len ()\
19141 {\
19142     func_len_result=${#1}\
19143 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19144   && mv -f "$cfgfile.tmp" "$cfgfile" \
19145     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19146 test 0 -eq $? || _lt_function_replace_fail=:
19147
19148 fi
19149
19150 if test x"$lt_shell_append" = xyes; then
19151   sed -e '/^func_append ()$/,/^} # func_append /c\
19152 func_append ()\
19153 {\
19154     eval "${1}+=\\${2}"\
19155 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19156   && mv -f "$cfgfile.tmp" "$cfgfile" \
19157     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19158 test 0 -eq $? || _lt_function_replace_fail=:
19159
19160
19161   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19162 func_append_quoted ()\
19163 {\
19164 \    func_quote_for_eval "${2}"\
19165 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19166 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19167   && mv -f "$cfgfile.tmp" "$cfgfile" \
19168     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19169 test 0 -eq $? || _lt_function_replace_fail=:
19170
19171
19172   # Save a `func_append' function call where possible by direct use of '+='
19173   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19174     && mv -f "$cfgfile.tmp" "$cfgfile" \
19175       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19176   test 0 -eq $? || _lt_function_replace_fail=:
19177 else
19178   # Save a `func_append' function call even when '+=' is not available
19179   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19180     && mv -f "$cfgfile.tmp" "$cfgfile" \
19181       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19182   test 0 -eq $? || _lt_function_replace_fail=:
19183 fi
19184
19185 if test x"$_lt_function_replace_fail" = x":"; then
19186   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19187 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19188 fi
19189
19190
19191    mv -f "$cfgfile" "$ofile" ||
19192     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19193   chmod +x "$ofile"
19194
19195
19196     cat <<_LT_EOF >> "$ofile"
19197
19198 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19199
19200 # The linker used to build libraries.
19201 LD=$lt_LD_CXX
19202
19203 # How to create reloadable object files.
19204 reload_flag=$lt_reload_flag_CXX
19205 reload_cmds=$lt_reload_cmds_CXX
19206
19207 # Commands used to build an old-style archive.
19208 old_archive_cmds=$lt_old_archive_cmds_CXX
19209
19210 # A language specific compiler.
19211 CC=$lt_compiler_CXX
19212
19213 # Is the compiler the GNU compiler?
19214 with_gcc=$GCC_CXX
19215
19216 # Compiler flag to turn off builtin functions.
19217 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19218
19219 # Additional compiler flags for building library objects.
19220 pic_flag=$lt_lt_prog_compiler_pic_CXX
19221
19222 # How to pass a linker flag through the compiler.
19223 wl=$lt_lt_prog_compiler_wl_CXX
19224
19225 # Compiler flag to prevent dynamic linking.
19226 link_static_flag=$lt_lt_prog_compiler_static_CXX
19227
19228 # Does compiler simultaneously support -c and -o options?
19229 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19230
19231 # Whether or not to add -lc for building shared libraries.
19232 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19233
19234 # Whether or not to disallow shared libs when runtime libs are static.
19235 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19236
19237 # Compiler flag to allow reflexive dlopens.
19238 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19239
19240 # Compiler flag to generate shared objects directly from archives.
19241 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19242
19243 # Whether the compiler copes with passing no objects directly.
19244 compiler_needs_object=$lt_compiler_needs_object_CXX
19245
19246 # Create an old-style archive from a shared archive.
19247 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19248
19249 # Create a temporary old-style archive to link instead of a shared archive.
19250 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19251
19252 # Commands used to build a shared archive.
19253 archive_cmds=$lt_archive_cmds_CXX
19254 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19255
19256 # Commands used to build a loadable module if different from building
19257 # a shared archive.
19258 module_cmds=$lt_module_cmds_CXX
19259 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19260
19261 # Whether we are building with GNU ld or not.
19262 with_gnu_ld=$lt_with_gnu_ld_CXX
19263
19264 # Flag that allows shared libraries with undefined symbols to be built.
19265 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19266
19267 # Flag that enforces no undefined symbols.
19268 no_undefined_flag=$lt_no_undefined_flag_CXX
19269
19270 # Flag to hardcode \$libdir into a binary during linking.
19271 # This must work even if \$libdir does not exist
19272 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19273
19274 # Whether we need a single "-rpath" flag with a separated argument.
19275 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19276
19277 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19278 # DIR into the resulting binary.
19279 hardcode_direct=$hardcode_direct_CXX
19280
19281 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19282 # DIR into the resulting binary and the resulting library dependency is
19283 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19284 # library is relocated.
19285 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19286
19287 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19288 # into the resulting binary.
19289 hardcode_minus_L=$hardcode_minus_L_CXX
19290
19291 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19292 # into the resulting binary.
19293 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19294
19295 # Set to "yes" if building a shared library automatically hardcodes DIR
19296 # into the library and all subsequent libraries and executables linked
19297 # against it.
19298 hardcode_automatic=$hardcode_automatic_CXX
19299
19300 # Set to yes if linker adds runtime paths of dependent libraries
19301 # to runtime path list.
19302 inherit_rpath=$inherit_rpath_CXX
19303
19304 # Whether libtool must link a program against all its dependency libraries.
19305 link_all_deplibs=$link_all_deplibs_CXX
19306
19307 # Set to "yes" if exported symbols are required.
19308 always_export_symbols=$always_export_symbols_CXX
19309
19310 # The commands to list exported symbols.
19311 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19312
19313 # Symbols that should not be listed in the preloaded symbols.
19314 exclude_expsyms=$lt_exclude_expsyms_CXX
19315
19316 # Symbols that must always be exported.
19317 include_expsyms=$lt_include_expsyms_CXX
19318
19319 # Commands necessary for linking programs (against libraries) with templates.
19320 prelink_cmds=$lt_prelink_cmds_CXX
19321
19322 # Commands necessary for finishing linking programs.
19323 postlink_cmds=$lt_postlink_cmds_CXX
19324
19325 # Specify filename containing input files.
19326 file_list_spec=$lt_file_list_spec_CXX
19327
19328 # How to hardcode a shared library path into an executable.
19329 hardcode_action=$hardcode_action_CXX
19330
19331 # The directories searched by this compiler when creating a shared library.
19332 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19333
19334 # Dependencies to place before and after the objects being linked to
19335 # create a shared library.
19336 predep_objects=$lt_predep_objects_CXX
19337 postdep_objects=$lt_postdep_objects_CXX
19338 predeps=$lt_predeps_CXX
19339 postdeps=$lt_postdeps_CXX
19340
19341 # The library search path used internally by the compiler when linking
19342 # a shared library.
19343 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19344
19345 # ### END LIBTOOL TAG CONFIG: CXX
19346 _LT_EOF
19347
19348  ;;
19349
19350   esac
19351 done # for ac_tag
19352
19353
19354 as_fn_exit 0
19355 _ACEOF
19356 ac_clean_files=$ac_clean_files_save
19357
19358 test $ac_write_fail = 0 ||
19359   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19360
19361
19362 # configure is writing to config.log, and then calls config.status.
19363 # config.status does its own redirection, appending to config.log.
19364 # Unfortunately, on DOS this fails, as config.log is still kept open
19365 # by configure, so config.status won't be able to write to it; its
19366 # output is simply discarded.  So we exec the FD to /dev/null,
19367 # effectively closing config.log, so it can be properly (re)opened and
19368 # appended to by config.status.  When coming back to configure, we
19369 # need to make the FD available again.
19370 if test "$no_create" != yes; then
19371   ac_cs_success=:
19372   ac_config_status_args=
19373   test "$silent" = yes &&
19374     ac_config_status_args="$ac_config_status_args --quiet"
19375   exec 5>/dev/null
19376   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19377   exec 5>>config.log
19378   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19379   # would make configure fail if this is the last instruction.
19380   $ac_cs_success || as_fn_exit 1
19381 fi
19382 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19383   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19384 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19385 fi
19386