More cleanups
[libacl.git] / configure
1 #! /data/data/com.termux/files/usr/bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ACL - Andromeda Class Library 0.1.
4 #
5 # Report bugs to <arjen@androemda.nl>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and arjen@androemda.nl
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/data/data/com.termux/files/usr/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='ACL - Andromeda Class Library'
592 PACKAGE_TARNAME='acl---andromeda-class-library'
593 PACKAGE_VERSION='0.1'
594 PACKAGE_STRING='ACL - Andromeda Class Library 0.1'
595 PACKAGE_BUGREPORT='arjen@androemda.nl'
596 PACKAGE_URL=''
597
598 ac_unique_file="src/date.cpp"
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 POW_LIB
639 LIBOBJS
640 CXXCPP
641 LT_SYS_LIBRARY_PATH
642 OTOOL64
643 OTOOL
644 LIPO
645 NMEDIT
646 DSYMUTIL
647 MANIFEST_TOOL
648 RANLIB
649 DLLTOOL
650 OBJDUMP
651 LN_S
652 NM
653 ac_ct_DUMPBIN
654 DUMPBIN
655 LD
656 FGREP
657 SED
658 host_os
659 host_vendor
660 host_cpu
661 host
662 build_os
663 build_vendor
664 build_cpu
665 build
666 LIBTOOL
667 ALLOCA
668 EGREP
669 GREP
670 CPP
671 ac_ct_AR
672 AR
673 am__fastdepCC_FALSE
674 am__fastdepCC_TRUE
675 CCDEPMODE
676 ac_ct_CC
677 CFLAGS
678 CC
679 am__fastdepCXX_FALSE
680 am__fastdepCXX_TRUE
681 CXXDEPMODE
682 am__nodep
683 AMDEPBACKSLASH
684 AMDEP_FALSE
685 AMDEP_TRUE
686 am__include
687 DEPDIR
688 OBJEXT
689 EXEEXT
690 ac_ct_CXX
691 CPPFLAGS
692 LDFLAGS
693 CXXFLAGS
694 CXX
695 AM_BACKSLASH
696 AM_DEFAULT_VERBOSITY
697 AM_DEFAULT_V
698 AM_V
699 am__untar
700 am__tar
701 AMTAR
702 am__leading_dot
703 SET_MAKE
704 AWK
705 mkdir_p
706 MKDIR_P
707 INSTALL_STRIP_PROGRAM
708 STRIP
709 install_sh
710 MAKEINFO
711 AUTOHEADER
712 AUTOMAKE
713 AUTOCONF
714 ACLOCAL
715 VERSION
716 PACKAGE
717 CYGPATH_W
718 am__isrc
719 INSTALL_DATA
720 INSTALL_SCRIPT
721 INSTALL_PROGRAM
722 target_alias
723 host_alias
724 build_alias
725 LIBS
726 ECHO_T
727 ECHO_N
728 ECHO_C
729 DEFS
730 mandir
731 localedir
732 libdir
733 psdir
734 pdfdir
735 dvidir
736 htmldir
737 infodir
738 docdir
739 oldincludedir
740 includedir
741 localstatedir
742 sharedstatedir
743 sysconfdir
744 datadir
745 datarootdir
746 libexecdir
747 sbindir
748 bindir
749 program_transform_name
750 prefix
751 exec_prefix
752 PACKAGE_URL
753 PACKAGE_BUGREPORT
754 PACKAGE_STRING
755 PACKAGE_VERSION
756 PACKAGE_TARNAME
757 PACKAGE_NAME
758 PATH_SEPARATOR
759 SHELL
760 am__quote'
761 ac_subst_files=''
762 ac_user_opts='
763 enable_option_checking
764 enable_silent_rules
765 enable_dependency_tracking
766 enable_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 with_aix_soname
771 with_gnu_ld
772 with_sysroot
773 enable_libtool_lock
774 '
775       ac_precious_vars='build_alias
776 host_alias
777 target_alias
778 CXX
779 CXXFLAGS
780 LDFLAGS
781 LIBS
782 CPPFLAGS
783 CCC
784 CC
785 CFLAGS
786 CPP
787 LT_SYS_LIBRARY_PATH
788 CXXCPP'
789
790
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 ac_unrecognized_opts=
795 ac_unrecognized_sep=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
812
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
838
839 ac_prev=
840 ac_dashdash=
841 for ac_option
842 do
843   # If the previous option needs an argument, assign it.
844   if test -n "$ac_prev"; then
845     eval $ac_prev=\$ac_option
846     ac_prev=
847     continue
848   fi
849
850   case $ac_option in
851   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852   *=)   ac_optarg= ;;
853   *)    ac_optarg=yes ;;
854   esac
855
856   # Accept the important Cygnus configure options, so we can diagnose typos.
857
858   case $ac_dashdash$ac_option in
859   --)
860     ac_dashdash=yes ;;
861
862   -bindir | --bindir | --bindi | --bind | --bin | --bi)
863     ac_prev=bindir ;;
864   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865     bindir=$ac_optarg ;;
866
867   -build | --build | --buil | --bui | --bu)
868     ac_prev=build_alias ;;
869   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870     build_alias=$ac_optarg ;;
871
872   -cache-file | --cache-file | --cache-fil | --cache-fi \
873   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874     ac_prev=cache_file ;;
875   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877     cache_file=$ac_optarg ;;
878
879   --config-cache | -C)
880     cache_file=config.cache ;;
881
882   -datadir | --datadir | --datadi | --datad)
883     ac_prev=datadir ;;
884   -datadir=* | --datadir=* | --datadi=* | --datad=*)
885     datadir=$ac_optarg ;;
886
887   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888   | --dataroo | --dataro | --datar)
889     ac_prev=datarootdir ;;
890   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892     datarootdir=$ac_optarg ;;
893
894   -disable-* | --disable-*)
895     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896     # Reject names that are not valid shell variable names.
897     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898       as_fn_error $? "invalid feature name: $ac_useropt"
899     ac_useropt_orig=$ac_useropt
900     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901     case $ac_user_opts in
902       *"
903 "enable_$ac_useropt"
904 "*) ;;
905       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906          ac_unrecognized_sep=', ';;
907     esac
908     eval enable_$ac_useropt=no ;;
909
910   -docdir | --docdir | --docdi | --doc | --do)
911     ac_prev=docdir ;;
912   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913     docdir=$ac_optarg ;;
914
915   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916     ac_prev=dvidir ;;
917   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918     dvidir=$ac_optarg ;;
919
920   -enable-* | --enable-*)
921     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922     # Reject names that are not valid shell variable names.
923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924       as_fn_error $? "invalid feature name: $ac_useropt"
925     ac_useropt_orig=$ac_useropt
926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927     case $ac_user_opts in
928       *"
929 "enable_$ac_useropt"
930 "*) ;;
931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932          ac_unrecognized_sep=', ';;
933     esac
934     eval enable_$ac_useropt=\$ac_optarg ;;
935
936   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938   | --exec | --exe | --ex)
939     ac_prev=exec_prefix ;;
940   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942   | --exec=* | --exe=* | --ex=*)
943     exec_prefix=$ac_optarg ;;
944
945   -gas | --gas | --ga | --g)
946     # Obsolete; use --with-gas.
947     with_gas=yes ;;
948
949   -help | --help | --hel | --he | -h)
950     ac_init_help=long ;;
951   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952     ac_init_help=recursive ;;
953   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954     ac_init_help=short ;;
955
956   -host | --host | --hos | --ho)
957     ac_prev=host_alias ;;
958   -host=* | --host=* | --hos=* | --ho=*)
959     host_alias=$ac_optarg ;;
960
961   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962     ac_prev=htmldir ;;
963   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964   | --ht=*)
965     htmldir=$ac_optarg ;;
966
967   -includedir | --includedir | --includedi | --included | --include \
968   | --includ | --inclu | --incl | --inc)
969     ac_prev=includedir ;;
970   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971   | --includ=* | --inclu=* | --incl=* | --inc=*)
972     includedir=$ac_optarg ;;
973
974   -infodir | --infodir | --infodi | --infod | --info | --inf)
975     ac_prev=infodir ;;
976   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977     infodir=$ac_optarg ;;
978
979   -libdir | --libdir | --libdi | --libd)
980     ac_prev=libdir ;;
981   -libdir=* | --libdir=* | --libdi=* | --libd=*)
982     libdir=$ac_optarg ;;
983
984   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985   | --libexe | --libex | --libe)
986     ac_prev=libexecdir ;;
987   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988   | --libexe=* | --libex=* | --libe=*)
989     libexecdir=$ac_optarg ;;
990
991   -localedir | --localedir | --localedi | --localed | --locale)
992     ac_prev=localedir ;;
993   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994     localedir=$ac_optarg ;;
995
996   -localstatedir | --localstatedir | --localstatedi | --localstated \
997   | --localstate | --localstat | --localsta | --localst | --locals)
998     ac_prev=localstatedir ;;
999   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001     localstatedir=$ac_optarg ;;
1002
1003   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004     ac_prev=mandir ;;
1005   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006     mandir=$ac_optarg ;;
1007
1008   -nfp | --nfp | --nf)
1009     # Obsolete; use --without-fp.
1010     with_fp=no ;;
1011
1012   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013   | --no-cr | --no-c | -n)
1014     no_create=yes ;;
1015
1016   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018     no_recursion=yes ;;
1019
1020   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022   | --oldin | --oldi | --old | --ol | --o)
1023     ac_prev=oldincludedir ;;
1024   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027     oldincludedir=$ac_optarg ;;
1028
1029   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030     ac_prev=prefix ;;
1031   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032     prefix=$ac_optarg ;;
1033
1034   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035   | --program-pre | --program-pr | --program-p)
1036     ac_prev=program_prefix ;;
1037   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039     program_prefix=$ac_optarg ;;
1040
1041   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042   | --program-suf | --program-su | --program-s)
1043     ac_prev=program_suffix ;;
1044   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046     program_suffix=$ac_optarg ;;
1047
1048   -program-transform-name | --program-transform-name \
1049   | --program-transform-nam | --program-transform-na \
1050   | --program-transform-n | --program-transform- \
1051   | --program-transform | --program-transfor \
1052   | --program-transfo | --program-transf \
1053   | --program-trans | --program-tran \
1054   | --progr-tra | --program-tr | --program-t)
1055     ac_prev=program_transform_name ;;
1056   -program-transform-name=* | --program-transform-name=* \
1057   | --program-transform-nam=* | --program-transform-na=* \
1058   | --program-transform-n=* | --program-transform-=* \
1059   | --program-transform=* | --program-transfor=* \
1060   | --program-transfo=* | --program-transf=* \
1061   | --program-trans=* | --program-tran=* \
1062   | --progr-tra=* | --program-tr=* | --program-t=*)
1063     program_transform_name=$ac_optarg ;;
1064
1065   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066     ac_prev=pdfdir ;;
1067   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068     pdfdir=$ac_optarg ;;
1069
1070   -psdir | --psdir | --psdi | --psd | --ps)
1071     ac_prev=psdir ;;
1072   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073     psdir=$ac_optarg ;;
1074
1075   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076   | -silent | --silent | --silen | --sile | --sil)
1077     silent=yes ;;
1078
1079   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080     ac_prev=sbindir ;;
1081   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082   | --sbi=* | --sb=*)
1083     sbindir=$ac_optarg ;;
1084
1085   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087   | --sharedst | --shareds | --shared | --share | --shar \
1088   | --sha | --sh)
1089     ac_prev=sharedstatedir ;;
1090   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093   | --sha=* | --sh=*)
1094     sharedstatedir=$ac_optarg ;;
1095
1096   -site | --site | --sit)
1097     ac_prev=site ;;
1098   -site=* | --site=* | --sit=*)
1099     site=$ac_optarg ;;
1100
1101   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102     ac_prev=srcdir ;;
1103   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104     srcdir=$ac_optarg ;;
1105
1106   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107   | --syscon | --sysco | --sysc | --sys | --sy)
1108     ac_prev=sysconfdir ;;
1109   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111     sysconfdir=$ac_optarg ;;
1112
1113   -target | --target | --targe | --targ | --tar | --ta | --t)
1114     ac_prev=target_alias ;;
1115   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116     target_alias=$ac_optarg ;;
1117
1118   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119     verbose=yes ;;
1120
1121   -version | --version | --versio | --versi | --vers | -V)
1122     ac_init_version=: ;;
1123
1124   -with-* | --with-*)
1125     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126     # Reject names that are not valid shell variable names.
1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128       as_fn_error $? "invalid package name: $ac_useropt"
1129     ac_useropt_orig=$ac_useropt
1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131     case $ac_user_opts in
1132       *"
1133 "with_$ac_useropt"
1134 "*) ;;
1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136          ac_unrecognized_sep=', ';;
1137     esac
1138     eval with_$ac_useropt=\$ac_optarg ;;
1139
1140   -without-* | --without-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error $? "invalid package name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "with_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval with_$ac_useropt=no ;;
1155
1156   --x)
1157     # Obsolete; use --with-x.
1158     with_x=yes ;;
1159
1160   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161   | --x-incl | --x-inc | --x-in | --x-i)
1162     ac_prev=x_includes ;;
1163   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165     x_includes=$ac_optarg ;;
1166
1167   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169     ac_prev=x_libraries ;;
1170   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172     x_libraries=$ac_optarg ;;
1173
1174   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information"
1176     ;;
1177
1178   *=*)
1179     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180     # Reject names that are not valid shell variable names.
1181     case $ac_envvar in #(
1182       '' | [0-9]* | *[!_$as_cr_alnum]* )
1183       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1184     esac
1185     eval $ac_envvar=\$ac_optarg
1186     export $ac_envvar ;;
1187
1188   *)
1189     # FIXME: should be removed in autoconf 3.0.
1190     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1194     ;;
1195
1196   esac
1197 done
1198
1199 if test -n "$ac_prev"; then
1200   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201   as_fn_error $? "missing argument to $ac_option"
1202 fi
1203
1204 if test -n "$ac_unrecognized_opts"; then
1205   case $enable_option_checking in
1206     no) ;;
1207     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1208     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1209   esac
1210 fi
1211
1212 # Check all directory arguments for consistency.
1213 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214                 datadir sysconfdir sharedstatedir localstatedir includedir \
1215                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216                 libdir localedir mandir
1217 do
1218   eval ac_val=\$$ac_var
1219   # Remove trailing slashes.
1220   case $ac_val in
1221     */ )
1222       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223       eval $ac_var=\$ac_val;;
1224   esac
1225   # Be sure to have absolute directory names.
1226   case $ac_val in
1227     [\\/$]* | ?:[\\/]* )  continue;;
1228     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229   esac
1230   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1231 done
1232
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1236 build=$build_alias
1237 host=$host_alias
1238 target=$target_alias
1239
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x; then
1242   if test "x$build_alias" = x; then
1243     cross_compiling=maybe
1244   elif test "x$build_alias" != "x$host_alias"; then
1245     cross_compiling=yes
1246   fi
1247 fi
1248
1249 ac_tool_prefix=
1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251
1252 test "$silent" = yes && exec 6>/dev/null
1253
1254
1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di=`ls -di .` &&
1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258   as_fn_error $? "working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260   as_fn_error $? "pwd does not report name of working directory"
1261
1262
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265   ac_srcdir_defaulted=yes
1266   # Try the directory containing this script, then the parent directory.
1267   ac_confdir=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269          X"$as_myself" : 'X\(//\)[^/]' \| \
1270          X"$as_myself" : 'X\(//\)$' \| \
1271          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1274             s//\1/
1275             q
1276           }
1277           /^X\(\/\/\)[^/].*/{
1278             s//\1/
1279             q
1280           }
1281           /^X\(\/\/\)$/{
1282             s//\1/
1283             q
1284           }
1285           /^X\(\/\).*/{
1286             s//\1/
1287             q
1288           }
1289           s/.*/./; q'`
1290   srcdir=$ac_confdir
1291   if test ! -r "$srcdir/$ac_unique_file"; then
1292     srcdir=..
1293   fi
1294 else
1295   ac_srcdir_defaulted=no
1296 fi
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1299   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1300 fi
1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 ac_abs_confdir=`(
1303         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1304         pwd)`
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1307   srcdir=.
1308 fi
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1312 case $srcdir in
1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 esac
1315 for ac_var in $ac_precious_vars; do
1316   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1317   eval ac_env_${ac_var}_value=\$${ac_var}
1318   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1319   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1320 done
1321
1322 #
1323 # Report the --help message.
1324 #
1325 if test "$ac_init_help" = "long"; then
1326   # Omit some internal or obsolete options to make the list less imposing.
1327   # This message is too long to be a string in the A/UX 3.1 sh.
1328   cat <<_ACEOF
1329 \`configure' configures ACL - Andromeda Class Library 0.1 to adapt to many kinds of systems.
1330
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1332
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE.  See below for descriptions of some of the useful variables.
1335
1336 Defaults for the options are specified in brackets.
1337
1338 Configuration:
1339   -h, --help              display this help and exit
1340       --help=short        display options specific to this package
1341       --help=recursive    display the short help of all the included packages
1342   -V, --version           display version information and exit
1343   -q, --quiet, --silent   do not print \`checking ...' messages
1344       --cache-file=FILE   cache test results in FILE [disabled]
1345   -C, --config-cache      alias for \`--cache-file=config.cache'
1346   -n, --no-create         do not create output files
1347       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1348
1349 Installation directories:
1350   --prefix=PREFIX         install architecture-independent files in PREFIX
1351                           [$ac_default_prefix]
1352   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1353                           [PREFIX]
1354
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1359
1360 For better control, use the options below.
1361
1362 Fine tuning of the installation directories:
1363   --bindir=DIR            user executables [EPREFIX/bin]
1364   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1365   --libexecdir=DIR        program executables [EPREFIX/libexec]
1366   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1367   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1368   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1369   --libdir=DIR            object code libraries [EPREFIX/lib]
1370   --includedir=DIR        C header files [PREFIX/include]
1371   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1372   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1373   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1374   --infodir=DIR           info documentation [DATAROOTDIR/info]
1375   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1376   --mandir=DIR            man documentation [DATAROOTDIR/man]
1377   --docdir=DIR            documentation root
1378                           [DATAROOTDIR/doc/acl---andromeda-class-library]
1379   --htmldir=DIR           html documentation [DOCDIR]
1380   --dvidir=DIR            dvi documentation [DOCDIR]
1381   --pdfdir=DIR            pdf documentation [DOCDIR]
1382   --psdir=DIR             ps documentation [DOCDIR]
1383 _ACEOF
1384
1385   cat <<\_ACEOF
1386
1387 Program names:
1388   --program-prefix=PREFIX            prepend PREFIX to installed program names
1389   --program-suffix=SUFFIX            append SUFFIX to installed program names
1390   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1391
1392 System types:
1393   --build=BUILD     configure for building on BUILD [guessed]
1394   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1395 _ACEOF
1396 fi
1397
1398 if test -n "$ac_init_help"; then
1399   case $ac_init_help in
1400      short | recursive ) echo "Configuration of ACL - Andromeda Class Library 0.1:";;
1401    esac
1402   cat <<\_ACEOF
1403
1404 Optional Features:
1405   --disable-option-checking  ignore unrecognized --enable/--with options
1406   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1407   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1408   --enable-silent-rules   less verbose build output (undo: "make V=1")
1409   --disable-silent-rules  verbose build output (undo: "make V=0")
1410   --enable-dependency-tracking
1411                           do not reject slow dependency extractors
1412   --disable-dependency-tracking
1413                           speeds up one-time build
1414   --enable-shared[=PKGS]  build shared libraries [default=yes]
1415   --enable-static[=PKGS]  build static libraries [default=yes]
1416   --enable-fast-install[=PKGS]
1417                           optimize for fast installation [default=yes]
1418   --disable-libtool-lock  avoid locking (might break parallel builds)
1419
1420 Optional Packages:
1421   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1422   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1423   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1424                           both]
1425   --with-aix-soname=aix|svr4|both
1426                           shared library versioning (aka "SONAME") variant to
1427                           provide on AIX, [default=aix].
1428   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1429   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1430                           compiler's sysroot if not specified).
1431
1432 Some influential environment variables:
1433   CXX         C++ compiler command
1434   CXXFLAGS    C++ compiler flags
1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1436               nonstandard directory <lib dir>
1437   LIBS        libraries to pass to the linker, e.g. -l<library>
1438   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1439               you have headers in a nonstandard directory <include dir>
1440   CC          C compiler command
1441   CFLAGS      C compiler flags
1442   CPP         C preprocessor
1443   LT_SYS_LIBRARY_PATH
1444               User-defined run-time library search path.
1445   CXXCPP      C++ preprocessor
1446
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1449
1450 Report bugs to <arjen@androemda.nl>.
1451 _ACEOF
1452 ac_status=$?
1453 fi
1454
1455 if test "$ac_init_help" = "recursive"; then
1456   # If there are subdirs, report their specific --help.
1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458     test -d "$ac_dir" ||
1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460       continue
1461     ac_builddir=.
1462
1463 case "$ac_dir" in
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *)
1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467   # A ".." for each directory in $ac_dir_suffix.
1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469   case $ac_top_builddir_sub in
1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472   esac ;;
1473 esac
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1478
1479 case $srcdir in
1480   .)  # We are building in place.
1481     ac_srcdir=.
1482     ac_top_srcdir=$ac_top_builddir_sub
1483     ac_abs_top_srcdir=$ac_pwd ;;
1484   [\\/]* | ?:[\\/]* )  # Absolute name.
1485     ac_srcdir=$srcdir$ac_dir_suffix;
1486     ac_top_srcdir=$srcdir
1487     ac_abs_top_srcdir=$srcdir ;;
1488   *) # Relative name.
1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 esac
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
1495     cd "$ac_dir" || { ac_status=$?; continue; }
1496     # Check for guested configure.
1497     if test -f "$ac_srcdir/configure.gnu"; then
1498       echo &&
1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500     elif test -f "$ac_srcdir/configure"; then
1501       echo &&
1502       $SHELL "$ac_srcdir/configure" --help=recursive
1503     else
1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505     fi || ac_status=$?
1506     cd "$ac_pwd" || { ac_status=$?; break; }
1507   done
1508 fi
1509
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1512   cat <<\_ACEOF
1513 ACL - Andromeda Class Library configure 0.1
1514 generated by GNU Autoconf 2.69
1515
1516 Copyright (C) 2012 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1519 _ACEOF
1520   exit
1521 fi
1522
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1526
1527 # ac_fn_cxx_try_compile LINENO
1528 # ----------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_cxx_try_compile ()
1531 {
1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533   rm -f conftest.$ac_objext
1534   if { { ac_try="$ac_compile"
1535 case "(($ac_try" in
1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537   *) ac_try_echo=$ac_try;;
1538 esac
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541   (eval "$ac_compile") 2>conftest.err
1542   ac_status=$?
1543   if test -s conftest.err; then
1544     grep -v '^ *+' conftest.err >conftest.er1
1545     cat conftest.er1 >&5
1546     mv -f conftest.er1 conftest.err
1547   fi
1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549   test $ac_status = 0; } && {
1550          test -z "$ac_cxx_werror_flag" ||
1551          test ! -s conftest.err
1552        } && test -s conftest.$ac_objext; then :
1553   ac_retval=0
1554 else
1555   $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1557
1558         ac_retval=1
1559 fi
1560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561   as_fn_set_status $ac_retval
1562
1563 } # ac_fn_cxx_try_compile
1564
1565 # ac_fn_c_try_compile LINENO
1566 # --------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_compile ()
1569 {
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   rm -f conftest.$ac_objext
1572   if { { ac_try="$ac_compile"
1573 case "(($ac_try" in
1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575   *) ac_try_echo=$ac_try;;
1576 esac
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579   (eval "$ac_compile") 2>conftest.err
1580   ac_status=$?
1581   if test -s conftest.err; then
1582     grep -v '^ *+' conftest.err >conftest.er1
1583     cat conftest.er1 >&5
1584     mv -f conftest.er1 conftest.err
1585   fi
1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587   test $ac_status = 0; } && {
1588          test -z "$ac_c_werror_flag" ||
1589          test ! -s conftest.err
1590        } && test -s conftest.$ac_objext; then :
1591   ac_retval=0
1592 else
1593   $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1595
1596         ac_retval=1
1597 fi
1598   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599   as_fn_set_status $ac_retval
1600
1601 } # ac_fn_c_try_compile
1602
1603 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1604 # -------------------------------------------
1605 # Tests whether TYPE exists after having included INCLUDES, setting cache
1606 # variable VAR accordingly.
1607 ac_fn_c_check_type ()
1608 {
1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \${$3+:} false; then :
1613   $as_echo_n "(cached) " >&6
1614 else
1615   eval "$3=no"
1616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h.  */
1618 $4
1619 int
1620 main ()
1621 {
1622 if (sizeof ($2))
1623          return 0;
1624   ;
1625   return 0;
1626 }
1627 _ACEOF
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h.  */
1631 $4
1632 int
1633 main ()
1634 {
1635 if (sizeof (($2)))
1636             return 0;
1637   ;
1638   return 0;
1639 }
1640 _ACEOF
1641 if ac_fn_c_try_compile "$LINENO"; then :
1642
1643 else
1644   eval "$3=yes"
1645 fi
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 fi
1648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 fi
1650 eval ac_res=\$$3
1651                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654
1655 } # ac_fn_c_check_type
1656
1657 # ac_fn_c_try_cpp LINENO
1658 # ----------------------
1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_c_try_cpp ()
1661 {
1662   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663   if { { ac_try="$ac_cpp conftest.$ac_ext"
1664 case "(($ac_try" in
1665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666   *) ac_try_echo=$ac_try;;
1667 esac
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1671   ac_status=$?
1672   if test -s conftest.err; then
1673     grep -v '^ *+' conftest.err >conftest.er1
1674     cat conftest.er1 >&5
1675     mv -f conftest.er1 conftest.err
1676   fi
1677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678   test $ac_status = 0; } > conftest.i && {
1679          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1680          test ! -s conftest.err
1681        }; then :
1682   ac_retval=0
1683 else
1684   $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687     ac_retval=1
1688 fi
1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690   as_fn_set_status $ac_retval
1691
1692 } # ac_fn_c_try_cpp
1693
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1698 ac_fn_c_try_run ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   if { { ac_try="$ac_link"
1702 case "(($ac_try" in
1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704   *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708   (eval "$ac_link") 2>&5
1709   ac_status=$?
1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712   { { case "(($ac_try" in
1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714   *) ac_try_echo=$ac_try;;
1715 esac
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718   (eval "$ac_try") 2>&5
1719   ac_status=$?
1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721   test $ac_status = 0; }; }; then :
1722   ac_retval=0
1723 else
1724   $as_echo "$as_me: program exited with status $ac_status" >&5
1725        $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1727
1728        ac_retval=$ac_status
1729 fi
1730   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732   as_fn_set_status $ac_retval
1733
1734 } # ac_fn_c_try_run
1735
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1741 {
1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746   $as_echo_n "(cached) " >&6
1747 else
1748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h.  */
1750 $4
1751 #include <$2>
1752 _ACEOF
1753 if ac_fn_c_try_compile "$LINENO"; then :
1754   eval "$3=yes"
1755 else
1756   eval "$3=no"
1757 fi
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 fi
1760 eval ac_res=\$$3
1761                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764
1765 } # ac_fn_c_check_header_compile
1766
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_link ()
1771 {
1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773   rm -f conftest.$ac_objext conftest$ac_exeext
1774   if { { ac_try="$ac_link"
1775 case "(($ac_try" in
1776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777   *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781   (eval "$ac_link") 2>conftest.err
1782   ac_status=$?
1783   if test -s conftest.err; then
1784     grep -v '^ *+' conftest.err >conftest.er1
1785     cat conftest.er1 >&5
1786     mv -f conftest.er1 conftest.err
1787   fi
1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789   test $ac_status = 0; } && {
1790          test -z "$ac_c_werror_flag" ||
1791          test ! -s conftest.err
1792        } && test -s conftest$ac_exeext && {
1793          test "$cross_compiling" = yes ||
1794          test -x conftest$ac_exeext
1795        }; then :
1796   ac_retval=0
1797 else
1798   $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1800
1801         ac_retval=1
1802 fi
1803   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805   # interfere with the next link command; also delete a directory that is
1806   # left behind by Apple's compiler.  We do this before executing the actions.
1807   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809   as_fn_set_status $ac_retval
1810
1811 } # ac_fn_c_try_link
1812
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1817 {
1818   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822   $as_echo_n "(cached) " >&6
1823 else
1824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h.  */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1828 #define $2 innocuous_$2
1829
1830 /* System header to define __stub macros and hopefully few prototypes,
1831     which can conflict with char $2 (); below.
1832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833     <limits.h> exists even on freestanding compilers.  */
1834
1835 #ifdef __STDC__
1836 # include <limits.h>
1837 #else
1838 # include <assert.h>
1839 #endif
1840
1841 #undef $2
1842
1843 /* Override any GCC internal prototype to avoid an error.
1844    Use char because int might match the return type of a GCC
1845    builtin and then its argument prototype would still apply.  */
1846 #ifdef __cplusplus
1847 extern "C"
1848 #endif
1849 char $2 ();
1850 /* The GNU C library defines this for functions which it implements
1851     to always fail with ENOSYS.  Some functions are actually named
1852     something starting with __ and the normal name is an alias.  */
1853 #if defined __stub_$2 || defined __stub___$2
1854 choke me
1855 #endif
1856
1857 int
1858 main ()
1859 {
1860 return $2 ();
1861   ;
1862   return 0;
1863 }
1864 _ACEOF
1865 if ac_fn_c_try_link "$LINENO"; then :
1866   eval "$3=yes"
1867 else
1868   eval "$3=no"
1869 fi
1870 rm -f core conftest.err conftest.$ac_objext \
1871     conftest$ac_exeext conftest.$ac_ext
1872 fi
1873 eval ac_res=\$$3
1874                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877
1878 } # ac_fn_c_check_func
1879
1880 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1881 # -------------------------------------------------------
1882 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1883 # the include files in INCLUDES and setting the cache variable VAR
1884 # accordingly.
1885 ac_fn_c_check_header_mongrel ()
1886 {
1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888   if eval \${$3+:} false; then :
1889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892   $as_echo_n "(cached) " >&6
1893 fi
1894 eval ac_res=\$$3
1895                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 else
1898   # Is the header compilable?
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1900 $as_echo_n "checking $2 usability... " >&6; }
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h.  */
1903 $4
1904 #include <$2>
1905 _ACEOF
1906 if ac_fn_c_try_compile "$LINENO"; then :
1907   ac_header_compiler=yes
1908 else
1909   ac_header_compiler=no
1910 fi
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1913 $as_echo "$ac_header_compiler" >&6; }
1914
1915 # Is the header present?
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1917 $as_echo_n "checking $2 presence... " >&6; }
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h.  */
1920 #include <$2>
1921 _ACEOF
1922 if ac_fn_c_try_cpp "$LINENO"; then :
1923   ac_header_preproc=yes
1924 else
1925   ac_header_preproc=no
1926 fi
1927 rm -f conftest.err conftest.i conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1929 $as_echo "$ac_header_preproc" >&6; }
1930
1931 # So?  What about this header?
1932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1933   yes:no: )
1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1935 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938     ;;
1939   no:yes:* )
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1941 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1943 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1945 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1947 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1950 ( $as_echo "## --------------------------------- ##
1951 ## Report this to arjen@androemda.nl ##
1952 ## --------------------------------- ##"
1953      ) | sed "s/^/$as_me: WARNING:     /" >&2
1954     ;;
1955 esac
1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959   $as_echo_n "(cached) " >&6
1960 else
1961   eval "$3=\$ac_header_compiler"
1962 fi
1963 eval ac_res=\$$3
1964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 fi
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
1969 } # ac_fn_c_check_header_mongrel
1970
1971 # ac_fn_cxx_try_cpp LINENO
1972 # ------------------------
1973 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1974 ac_fn_cxx_try_cpp ()
1975 {
1976   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977   if { { ac_try="$ac_cpp conftest.$ac_ext"
1978 case "(($ac_try" in
1979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980   *) ac_try_echo=$ac_try;;
1981 esac
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1985   ac_status=$?
1986   if test -s conftest.err; then
1987     grep -v '^ *+' conftest.err >conftest.er1
1988     cat conftest.er1 >&5
1989     mv -f conftest.er1 conftest.err
1990   fi
1991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992   test $ac_status = 0; } > conftest.i && {
1993          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1994          test ! -s conftest.err
1995        }; then :
1996   ac_retval=0
1997 else
1998   $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2000
2001     ac_retval=1
2002 fi
2003   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004   as_fn_set_status $ac_retval
2005
2006 } # ac_fn_cxx_try_cpp
2007
2008 # ac_fn_cxx_try_link LINENO
2009 # -------------------------
2010 # Try to link conftest.$ac_ext, and return whether this succeeded.
2011 ac_fn_cxx_try_link ()
2012 {
2013   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014   rm -f conftest.$ac_objext conftest$ac_exeext
2015   if { { ac_try="$ac_link"
2016 case "(($ac_try" in
2017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2018   *) ac_try_echo=$ac_try;;
2019 esac
2020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2021 $as_echo "$ac_try_echo"; } >&5
2022   (eval "$ac_link") 2>conftest.err
2023   ac_status=$?
2024   if test -s conftest.err; then
2025     grep -v '^ *+' conftest.err >conftest.er1
2026     cat conftest.er1 >&5
2027     mv -f conftest.er1 conftest.err
2028   fi
2029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2030   test $ac_status = 0; } && {
2031          test -z "$ac_cxx_werror_flag" ||
2032          test ! -s conftest.err
2033        } && test -s conftest$ac_exeext && {
2034          test "$cross_compiling" = yes ||
2035          test -x conftest$ac_exeext
2036        }; then :
2037   ac_retval=0
2038 else
2039   $as_echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2041
2042         ac_retval=1
2043 fi
2044   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2045   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2046   # interfere with the next link command; also delete a directory that is
2047   # left behind by Apple's compiler.  We do this before executing the actions.
2048   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2049   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050   as_fn_set_status $ac_retval
2051
2052 } # ac_fn_cxx_try_link
2053 cat >config.log <<_ACEOF
2054 This file contains any messages produced by compilers while
2055 running configure, to aid debugging if configure makes a mistake.
2056
2057 It was created by ACL - Andromeda Class Library $as_me 0.1, which was
2058 generated by GNU Autoconf 2.69.  Invocation command line was
2059
2060   $ $0 $@
2061
2062 _ACEOF
2063 exec 5>>config.log
2064 {
2065 cat <<_ASUNAME
2066 ## --------- ##
2067 ## Platform. ##
2068 ## --------- ##
2069
2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2075
2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2077 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2078
2079 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2080 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2082 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2083 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2084 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2085 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2086
2087 _ASUNAME
2088
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094     $as_echo "PATH: $as_dir"
2095   done
2096 IFS=$as_save_IFS
2097
2098 } >&5
2099
2100 cat >&5 <<_ACEOF
2101
2102
2103 ## ----------- ##
2104 ## Core tests. ##
2105 ## ----------- ##
2106
2107 _ACEOF
2108
2109
2110 # Keep a trace of the command line.
2111 # Strip out --no-create and --no-recursion so they do not pile up.
2112 # Strip out --silent because we don't want to record it for future runs.
2113 # Also quote any args containing shell meta-characters.
2114 # Make two passes to allow for proper duplicate-argument suppression.
2115 ac_configure_args=
2116 ac_configure_args0=
2117 ac_configure_args1=
2118 ac_must_keep_next=false
2119 for ac_pass in 1 2
2120 do
2121   for ac_arg
2122   do
2123     case $ac_arg in
2124     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2125     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2126     | -silent | --silent | --silen | --sile | --sil)
2127       continue ;;
2128     *\'*)
2129       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2130     esac
2131     case $ac_pass in
2132     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2133     2)
2134       as_fn_append ac_configure_args1 " '$ac_arg'"
2135       if test $ac_must_keep_next = true; then
2136         ac_must_keep_next=false # Got value, back to normal.
2137       else
2138         case $ac_arg in
2139           *=* | --config-cache | -C | -disable-* | --disable-* \
2140           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2141           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2142           | -with-* | --with-* | -without-* | --without-* | --x)
2143             case "$ac_configure_args0 " in
2144               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2145             esac
2146             ;;
2147           -* ) ac_must_keep_next=true ;;
2148         esac
2149       fi
2150       as_fn_append ac_configure_args " '$ac_arg'"
2151       ;;
2152     esac
2153   done
2154 done
2155 { ac_configure_args0=; unset ac_configure_args0;}
2156 { ac_configure_args1=; unset ac_configure_args1;}
2157
2158 # When interrupted or exit'd, cleanup temporary files, and complete
2159 # config.log.  We remove comments because anyway the quotes in there
2160 # would cause problems or look ugly.
2161 # WARNING: Use '\'' to represent an apostrophe within the trap.
2162 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2163 trap 'exit_status=$?
2164   # Save into config.log some information that might help in debugging.
2165   {
2166     echo
2167
2168     $as_echo "## ---------------- ##
2169 ## Cache variables. ##
2170 ## ---------------- ##"
2171     echo
2172     # The following way of writing the cache mishandles newlines in values,
2173 (
2174   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2175     eval ac_val=\$$ac_var
2176     case $ac_val in #(
2177     *${as_nl}*)
2178       case $ac_var in #(
2179       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2181       esac
2182       case $ac_var in #(
2183       _ | IFS | as_nl) ;; #(
2184       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2185       *) { eval $ac_var=; unset $ac_var;} ;;
2186       esac ;;
2187     esac
2188   done
2189   (set) 2>&1 |
2190     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2191     *${as_nl}ac_space=\ *)
2192       sed -n \
2193         "s/'\''/'\''\\\\'\'''\''/g;
2194           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2195       ;; #(
2196     *)
2197       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2198       ;;
2199     esac |
2200     sort
2201 )
2202     echo
2203
2204     $as_echo "## ----------------- ##
2205 ## Output variables. ##
2206 ## ----------------- ##"
2207     echo
2208     for ac_var in $ac_subst_vars
2209     do
2210       eval ac_val=\$$ac_var
2211       case $ac_val in
2212       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2213       esac
2214       $as_echo "$ac_var='\''$ac_val'\''"
2215     done | sort
2216     echo
2217
2218     if test -n "$ac_subst_files"; then
2219       $as_echo "## ------------------- ##
2220 ## File substitutions. ##
2221 ## ------------------- ##"
2222       echo
2223       for ac_var in $ac_subst_files
2224       do
2225         eval ac_val=\$$ac_var
2226         case $ac_val in
2227         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228         esac
2229         $as_echo "$ac_var='\''$ac_val'\''"
2230       done | sort
2231       echo
2232     fi
2233
2234     if test -s confdefs.h; then
2235       $as_echo "## ----------- ##
2236 ## confdefs.h. ##
2237 ## ----------- ##"
2238       echo
2239       cat confdefs.h
2240       echo
2241     fi
2242     test "$ac_signal" != 0 &&
2243       $as_echo "$as_me: caught signal $ac_signal"
2244     $as_echo "$as_me: exit $exit_status"
2245   } >&5
2246   rm -f core *.core core.conftest.* &&
2247     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2248     exit $exit_status
2249 ' 0
2250 for ac_signal in 1 2 13 15; do
2251   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2252 done
2253 ac_signal=0
2254
2255 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2256 rm -f -r conftest* confdefs.h
2257
2258 $as_echo "/* confdefs.h */" > confdefs.h
2259
2260 # Predefined preprocessor variables.
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_NAME "$PACKAGE_NAME"
2264 _ACEOF
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2268 _ACEOF
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2272 _ACEOF
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_STRING "$PACKAGE_STRING"
2276 _ACEOF
2277
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_URL "$PACKAGE_URL"
2284 _ACEOF
2285
2286
2287 # Let the site file select an alternate cache file if it wants to.
2288 # Prefer an explicitly selected file to automatically selected ones.
2289 ac_site_file1=NONE
2290 ac_site_file2=NONE
2291 if test -n "$CONFIG_SITE"; then
2292   # We do not want a PATH search for config.site.
2293   case $CONFIG_SITE in #((
2294     -*)  ac_site_file1=./$CONFIG_SITE;;
2295     */*) ac_site_file1=$CONFIG_SITE;;
2296     *)   ac_site_file1=./$CONFIG_SITE;;
2297   esac
2298 elif test "x$prefix" != xNONE; then
2299   ac_site_file1=$prefix/share/config.site
2300   ac_site_file2=$prefix/etc/config.site
2301 else
2302   ac_site_file1=$ac_default_prefix/share/config.site
2303   ac_site_file2=$ac_default_prefix/etc/config.site
2304 fi
2305 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2306 do
2307   test "x$ac_site_file" = xNONE && continue
2308   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2309     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2310 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2311     sed 's/^/| /' "$ac_site_file" >&5
2312     . "$ac_site_file" \
2313       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $? "failed to load site script $ac_site_file
2316 See \`config.log' for more details" "$LINENO" 5; }
2317   fi
2318 done
2319
2320 if test -r "$cache_file"; then
2321   # Some versions of bash will fail to source /dev/null (special files
2322   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2323   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2324     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2325 $as_echo "$as_me: loading cache $cache_file" >&6;}
2326     case $cache_file in
2327       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2328       *)                      . "./$cache_file";;
2329     esac
2330   fi
2331 else
2332   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2333 $as_echo "$as_me: creating cache $cache_file" >&6;}
2334   >$cache_file
2335 fi
2336
2337 # Check that the precious variables saved in the cache have kept the same
2338 # value.
2339 ac_cache_corrupted=false
2340 for ac_var in $ac_precious_vars; do
2341   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2342   eval ac_new_set=\$ac_env_${ac_var}_set
2343   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2344   eval ac_new_val=\$ac_env_${ac_var}_value
2345   case $ac_old_set,$ac_new_set in
2346     set,)
2347       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2348 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2349       ac_cache_corrupted=: ;;
2350     ,set)
2351       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2352 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2353       ac_cache_corrupted=: ;;
2354     ,);;
2355     *)
2356       if test "x$ac_old_val" != "x$ac_new_val"; then
2357         # differences in whitespace do not lead to failure.
2358         ac_old_val_w=`echo x $ac_old_val`
2359         ac_new_val_w=`echo x $ac_new_val`
2360         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2361           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2362 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2363           ac_cache_corrupted=:
2364         else
2365           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2366 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2367           eval $ac_var=\$ac_old_val
2368         fi
2369         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2370 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2371         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2372 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2373       fi;;
2374   esac
2375   # Pass precious variables to config.status.
2376   if test "$ac_new_set" = set; then
2377     case $ac_new_val in
2378     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2379     *) ac_arg=$ac_var=$ac_new_val ;;
2380     esac
2381     case " $ac_configure_args " in
2382       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2383       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2384     esac
2385   fi
2386 done
2387 if $ac_cache_corrupted; then
2388   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2391 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2392   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2393 fi
2394 ## -------------------- ##
2395 ## Main body of script. ##
2396 ## -------------------- ##
2397
2398 ac_ext=c
2399 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2403
2404
2405 am__api_version='1.16'
2406
2407 ac_aux_dir=
2408 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2409   if test -f "$ac_dir/install-sh"; then
2410     ac_aux_dir=$ac_dir
2411     ac_install_sh="$ac_aux_dir/install-sh -c"
2412     break
2413   elif test -f "$ac_dir/install.sh"; then
2414     ac_aux_dir=$ac_dir
2415     ac_install_sh="$ac_aux_dir/install.sh -c"
2416     break
2417   elif test -f "$ac_dir/shtool"; then
2418     ac_aux_dir=$ac_dir
2419     ac_install_sh="$ac_aux_dir/shtool install -c"
2420     break
2421   fi
2422 done
2423 if test -z "$ac_aux_dir"; then
2424   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2425 fi
2426
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2432 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2433 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2434
2435
2436 # Find a good install program.  We prefer a C program (faster),
2437 # so one script is as good as another.  But avoid the broken or
2438 # incompatible versions:
2439 # SysV /etc/install, /usr/sbin/install
2440 # SunOS /usr/etc/install
2441 # IRIX /sbin/install
2442 # AIX /bin/install
2443 # AmigaOS /C/install, which installs bootblocks on floppy discs
2444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2447 # OS/2's system install, which has a completely different semantic
2448 # ./install, which can be erroneously created by make from ./install.sh.
2449 # Reject install programs that cannot install multiple files.
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2451 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2452 if test -z "$INSTALL"; then
2453 if ${ac_cv_path_install+:} false; then :
2454   $as_echo_n "(cached) " >&6
2455 else
2456   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2458 do
2459   IFS=$as_save_IFS
2460   test -z "$as_dir" && as_dir=.
2461     # Account for people who put trailing slashes in PATH elements.
2462 case $as_dir/ in #((
2463   ./ | .// | /[cC]/* | \
2464   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2465   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2466   /usr/ucb/* ) ;;
2467   *)
2468     # OSF1 and SCO ODT 3.0 have their own names for install.
2469     # Don't use installbsd from OSF since it installs stuff as root
2470     # by default.
2471     for ac_prog in ginstall scoinst install; do
2472       for ac_exec_ext in '' $ac_executable_extensions; do
2473         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2474           if test $ac_prog = install &&
2475             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476             # AIX install.  It has an incompatible calling convention.
2477             :
2478           elif test $ac_prog = install &&
2479             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2480             # program-specific install script used by HP pwplus--don't use.
2481             :
2482           else
2483             rm -rf conftest.one conftest.two conftest.dir
2484             echo one > conftest.one
2485             echo two > conftest.two
2486             mkdir conftest.dir
2487             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2488               test -s conftest.one && test -s conftest.two &&
2489               test -s conftest.dir/conftest.one &&
2490               test -s conftest.dir/conftest.two
2491             then
2492               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2493               break 3
2494             fi
2495           fi
2496         fi
2497       done
2498     done
2499     ;;
2500 esac
2501
2502   done
2503 IFS=$as_save_IFS
2504
2505 rm -rf conftest.one conftest.two conftest.dir
2506
2507 fi
2508   if test "${ac_cv_path_install+set}" = set; then
2509     INSTALL=$ac_cv_path_install
2510   else
2511     # As a last resort, use the slow shell script.  Don't cache a
2512     # value for INSTALL within a source directory, because that will
2513     # break other packages using the cache if that directory is
2514     # removed, or if the value is a relative name.
2515     INSTALL=$ac_install_sh
2516   fi
2517 fi
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2519 $as_echo "$INSTALL" >&6; }
2520
2521 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2522 # It thinks the first close brace ends the variable substitution.
2523 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2524
2525 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2526
2527 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2528
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2530 $as_echo_n "checking whether build environment is sane... " >&6; }
2531 # Reject unsafe characters in $srcdir or the absolute working directory
2532 # name.  Accept space and tab only in the latter.
2533 am_lf='
2534 '
2535 case `pwd` in
2536   *[\\\"\#\$\&\'\`$am_lf]*)
2537     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2538 esac
2539 case $srcdir in
2540   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2541     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2542 esac
2543
2544 # Do 'set' in a subshell so we don't clobber the current shell's
2545 # arguments.  Must try -L first in case configure is actually a
2546 # symlink; some systems play weird games with the mod time of symlinks
2547 # (eg FreeBSD returns the mod time of the symlink's containing
2548 # directory).
2549 if (
2550    am_has_slept=no
2551    for am_try in 1 2; do
2552      echo "timestamp, slept: $am_has_slept" > conftest.file
2553      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2554      if test "$*" = "X"; then
2555         # -L didn't work.
2556         set X `ls -t "$srcdir/configure" conftest.file`
2557      fi
2558      if test "$*" != "X $srcdir/configure conftest.file" \
2559         && test "$*" != "X conftest.file $srcdir/configure"; then
2560
2561         # If neither matched, then we have a broken ls.  This can happen
2562         # if, for instance, CONFIG_SHELL is bash and it inherits a
2563         # broken ls alias from the environment.  This has actually
2564         # happened.  Such a system could not be considered "sane".
2565         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2566   alias in your environment" "$LINENO" 5
2567      fi
2568      if test "$2" = conftest.file || test $am_try -eq 2; then
2569        break
2570      fi
2571      # Just in case.
2572      sleep 1
2573      am_has_slept=yes
2574    done
2575    test "$2" = conftest.file
2576    )
2577 then
2578    # Ok.
2579    :
2580 else
2581    as_fn_error $? "newly created file is older than distributed files!
2582 Check your system clock" "$LINENO" 5
2583 fi
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2585 $as_echo "yes" >&6; }
2586 # If we didn't sleep, we still need to ensure time stamps of config.status and
2587 # generated files are strictly newer.
2588 am_sleep_pid=
2589 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2590   ( sleep 1 ) &
2591   am_sleep_pid=$!
2592 fi
2593
2594 rm -f conftest.file
2595
2596 test "$program_prefix" != NONE &&
2597   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2598 # Use a double $ so make ignores it.
2599 test "$program_suffix" != NONE &&
2600   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2601 # Double any \ or $.
2602 # By default was `s,x,x', remove it if useless.
2603 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2604 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2605
2606 # Expand $ac_aux_dir to an absolute path.
2607 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2608
2609 if test x"${MISSING+set}" != xset; then
2610   case $am_aux_dir in
2611   *\ * | *\     *)
2612     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2613   *)
2614     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2615   esac
2616 fi
2617 # Use eval to expand $SHELL
2618 if eval "$MISSING --is-lightweight"; then
2619   am_missing_run="$MISSING "
2620 else
2621   am_missing_run=
2622   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2623 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2624 fi
2625
2626 if test x"${install_sh+set}" != xset; then
2627   case $am_aux_dir in
2628   *\ * | *\     *)
2629     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2630   *)
2631     install_sh="\${SHELL} $am_aux_dir/install-sh"
2632   esac
2633 fi
2634
2635 # Installed binaries are usually stripped using 'strip' when the user
2636 # run "make install-strip".  However 'strip' might not be the right
2637 # tool to use in cross-compilation environments, therefore Automake
2638 # will honor the 'STRIP' environment variable to overrule this program.
2639 if test "$cross_compiling" != no; then
2640   if test -n "$ac_tool_prefix"; then
2641   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}strip; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_STRIP+:} false; then :
2646   $as_echo_n "(cached) " >&6
2647 else
2648   if test -n "$STRIP"; then
2649   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2650 else
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2652 for as_dir in $PATH
2653 do
2654   IFS=$as_save_IFS
2655   test -z "$as_dir" && as_dir=.
2656     for ac_exec_ext in '' $ac_executable_extensions; do
2657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660     break 2
2661   fi
2662 done
2663   done
2664 IFS=$as_save_IFS
2665
2666 fi
2667 fi
2668 STRIP=$ac_cv_prog_STRIP
2669 if test -n "$STRIP"; then
2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2671 $as_echo "$STRIP" >&6; }
2672 else
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675 fi
2676
2677
2678 fi
2679 if test -z "$ac_cv_prog_STRIP"; then
2680   ac_ct_STRIP=$STRIP
2681   # Extract the first word of "strip", so it can be a program name with args.
2682 set dummy strip; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2686   $as_echo_n "(cached) " >&6
2687 else
2688   if test -n "$ac_ct_STRIP"; then
2689   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2693 do
2694   IFS=$as_save_IFS
2695   test -z "$as_dir" && as_dir=.
2696     for ac_exec_ext in '' $ac_executable_extensions; do
2697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698     ac_cv_prog_ac_ct_STRIP="strip"
2699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700     break 2
2701   fi
2702 done
2703   done
2704 IFS=$as_save_IFS
2705
2706 fi
2707 fi
2708 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2709 if test -n "$ac_ct_STRIP"; then
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2711 $as_echo "$ac_ct_STRIP" >&6; }
2712 else
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2715 fi
2716
2717   if test "x$ac_ct_STRIP" = x; then
2718     STRIP=":"
2719   else
2720     case $cross_compiling:$ac_tool_warned in
2721 yes:)
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2725 esac
2726     STRIP=$ac_ct_STRIP
2727   fi
2728 else
2729   STRIP="$ac_cv_prog_STRIP"
2730 fi
2731
2732 fi
2733 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2734
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2736 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2737 if test -z "$MKDIR_P"; then
2738   if ${ac_cv_path_mkdir+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2743 do
2744   IFS=$as_save_IFS
2745   test -z "$as_dir" && as_dir=.
2746     for ac_prog in mkdir gmkdir; do
2747          for ac_exec_ext in '' $ac_executable_extensions; do
2748            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2749            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2750              'mkdir (GNU coreutils) '* | \
2751              'mkdir (coreutils) '* | \
2752              'mkdir (fileutils) '4.1*)
2753                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2754                break 3;;
2755            esac
2756          done
2757        done
2758   done
2759 IFS=$as_save_IFS
2760
2761 fi
2762
2763   test -d ./--version && rmdir ./--version
2764   if test "${ac_cv_path_mkdir+set}" = set; then
2765     MKDIR_P="$ac_cv_path_mkdir -p"
2766   else
2767     # As a last resort, use the slow shell script.  Don't cache a
2768     # value for MKDIR_P within a source directory, because that will
2769     # break other packages using the cache if that directory is
2770     # removed, or if the value is a relative name.
2771     MKDIR_P="$ac_install_sh -d"
2772   fi
2773 fi
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2775 $as_echo "$MKDIR_P" >&6; }
2776
2777 for ac_prog in gawk mawk nawk awk
2778 do
2779   # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_AWK+:} false; then :
2784   $as_echo_n "(cached) " >&6
2785 else
2786   if test -n "$AWK"; then
2787   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2788 else
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 for as_dir in $PATH
2791 do
2792   IFS=$as_save_IFS
2793   test -z "$as_dir" && as_dir=.
2794     for ac_exec_ext in '' $ac_executable_extensions; do
2795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796     ac_cv_prog_AWK="$ac_prog"
2797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798     break 2
2799   fi
2800 done
2801   done
2802 IFS=$as_save_IFS
2803
2804 fi
2805 fi
2806 AWK=$ac_cv_prog_AWK
2807 if test -n "$AWK"; then
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2809 $as_echo "$AWK" >&6; }
2810 else
2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2813 fi
2814
2815
2816   test -n "$AWK" && break
2817 done
2818
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2820 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2821 set x ${MAKE-make}
2822 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2823 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2824   $as_echo_n "(cached) " >&6
2825 else
2826   cat >conftest.make <<\_ACEOF
2827 SHELL = /data/data/com.termux/files/usr/bin/sh
2828 all:
2829         @echo '@@@%%%=$(MAKE)=@@@%%%'
2830 _ACEOF
2831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2832 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2833   *@@@%%%=?*=@@@%%%*)
2834     eval ac_cv_prog_make_${ac_make}_set=yes;;
2835   *)
2836     eval ac_cv_prog_make_${ac_make}_set=no;;
2837 esac
2838 rm -f conftest.make
2839 fi
2840 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2842 $as_echo "yes" >&6; }
2843   SET_MAKE=
2844 else
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2847   SET_MAKE="MAKE=${MAKE-make}"
2848 fi
2849
2850 rm -rf .tst 2>/dev/null
2851 mkdir .tst 2>/dev/null
2852 if test -d .tst; then
2853   am__leading_dot=.
2854 else
2855   am__leading_dot=_
2856 fi
2857 rmdir .tst 2>/dev/null
2858
2859 # Check whether --enable-silent-rules was given.
2860 if test "${enable_silent_rules+set}" = set; then :
2861   enableval=$enable_silent_rules;
2862 fi
2863
2864 case $enable_silent_rules in # (((
2865   yes) AM_DEFAULT_VERBOSITY=0;;
2866    no) AM_DEFAULT_VERBOSITY=1;;
2867     *) AM_DEFAULT_VERBOSITY=1;;
2868 esac
2869 am_make=${MAKE-make}
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2871 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2872 if ${am_cv_make_support_nested_variables+:} false; then :
2873   $as_echo_n "(cached) " >&6
2874 else
2875   if $as_echo 'TRUE=$(BAR$(V))
2876 BAR0=false
2877 BAR1=true
2878 V=1
2879 am__doit:
2880         @$(TRUE)
2881 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2882   am_cv_make_support_nested_variables=yes
2883 else
2884   am_cv_make_support_nested_variables=no
2885 fi
2886 fi
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2888 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2889 if test $am_cv_make_support_nested_variables = yes; then
2890     AM_V='$(V)'
2891   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2892 else
2893   AM_V=$AM_DEFAULT_VERBOSITY
2894   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2895 fi
2896 AM_BACKSLASH='\'
2897
2898 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2899   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2900   # is not polluted with repeated "-I."
2901   am__isrc=' -I$(srcdir)'
2902   # test to see if srcdir already configured
2903   if test -f $srcdir/config.status; then
2904     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2905   fi
2906 fi
2907
2908 # test whether we have cygpath
2909 if test -z "$CYGPATH_W"; then
2910   if (cygpath --version) >/dev/null 2>/dev/null; then
2911     CYGPATH_W='cygpath -w'
2912   else
2913     CYGPATH_W=echo
2914   fi
2915 fi
2916
2917
2918 # Define the identity of the package.
2919  PACKAGE='acl---andromeda-class-library'
2920  VERSION='0.1'
2921
2922
2923 cat >>confdefs.h <<_ACEOF
2924 #define PACKAGE "$PACKAGE"
2925 _ACEOF
2926
2927
2928 cat >>confdefs.h <<_ACEOF
2929 #define VERSION "$VERSION"
2930 _ACEOF
2931
2932 # Some tools Automake needs.
2933
2934 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2935
2936
2937 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2938
2939
2940 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2941
2942
2943 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2944
2945
2946 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2947
2948 # For better backward compatibility.  To be removed once Automake 1.9.x
2949 # dies out for good.  For more background, see:
2950 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2951 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2952 mkdir_p='$(MKDIR_P)'
2953
2954 # We need awk for the "check" target (and possibly the TAP driver).  The
2955 # system "awk" is bad on some platforms.
2956 # Always define AMTAR for backward compatibility.  Yes, it's still used
2957 # in the wild :-(  We should find a proper way to deprecate it ...
2958 AMTAR='$${TAR-tar}'
2959
2960
2961 # We'll loop over all known methods to create a tar archive until one works.
2962 _am_tools='gnutar  pax cpio none'
2963
2964 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2965
2966
2967
2968
2969
2970
2971 # POSIX will say in a future version that running "rm -f" with no argument
2972 # is OK; and we want to be able to make that assumption in our Makefile
2973 # recipes.  So use an aggressive probe to check that the usage we want is
2974 # actually supported "in the wild" to an acceptable degree.
2975 # See automake bug#10828.
2976 # To make any issue more visible, cause the running configure to be aborted
2977 # by default if the 'rm' program in use doesn't match our expectations; the
2978 # user can still override this though.
2979 if rm -f && rm -fr && rm -rf; then : OK; else
2980   cat >&2 <<'END'
2981 Oops!
2982
2983 Your 'rm' program seems unable to run without file operands specified
2984 on the command line, even when the '-f' option is present.  This is contrary
2985 to the behaviour of most rm programs out there, and not conforming with
2986 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2987
2988 Please tell bug-automake@gnu.org about your system, including the value
2989 of your $PATH and any error possibly output before this message.  This
2990 can help us improve future automake versions.
2991
2992 END
2993   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2994     echo 'Configuration will proceed anyway, since you have set the' >&2
2995     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2996     echo >&2
2997   else
2998     cat >&2 <<'END'
2999 Aborting the configuration process, to ensure you take notice of the issue.
3000
3001 You can download and install GNU coreutils to get an 'rm' implementation
3002 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3003
3004 If you want to complete the configuration process using your problematic
3005 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3006 to "yes", and re-run configure.
3007
3008 END
3009     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3010   fi
3011 fi
3012
3013
3014 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile doc/Makefile"
3015
3016
3017 ac_config_headers="$ac_config_headers config.h"
3018
3019
3020 # Checks for programs.
3021 ac_ext=cpp
3022 ac_cpp='$CXXCPP $CPPFLAGS'
3023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3026 if test -z "$CXX"; then
3027   if test -n "$CCC"; then
3028     CXX=$CCC
3029   else
3030     if test -n "$ac_tool_prefix"; then
3031   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3032   do
3033     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CXX+:} false; then :
3038   $as_echo_n "(cached) " >&6
3039 else
3040   if test -n "$CXX"; then
3041   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3042 else
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3045 do
3046   IFS=$as_save_IFS
3047   test -z "$as_dir" && as_dir=.
3048     for ac_exec_ext in '' $ac_executable_extensions; do
3049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052     break 2
3053   fi
3054 done
3055   done
3056 IFS=$as_save_IFS
3057
3058 fi
3059 fi
3060 CXX=$ac_cv_prog_CXX
3061 if test -n "$CXX"; then
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3063 $as_echo "$CXX" >&6; }
3064 else
3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3067 fi
3068
3069
3070     test -n "$CXX" && break
3071   done
3072 fi
3073 if test -z "$CXX"; then
3074   ac_ct_CXX=$CXX
3075   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3076 do
3077   # Extract the first word of "$ac_prog", so it can be a program name with args.
3078 set dummy $ac_prog; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   if test -n "$ac_ct_CXX"; then
3085   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3086 else
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3089 do
3090   IFS=$as_save_IFS
3091   test -z "$as_dir" && as_dir=.
3092     for ac_exec_ext in '' $ac_executable_extensions; do
3093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094     ac_cv_prog_ac_ct_CXX="$ac_prog"
3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096     break 2
3097   fi
3098 done
3099   done
3100 IFS=$as_save_IFS
3101
3102 fi
3103 fi
3104 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3105 if test -n "$ac_ct_CXX"; then
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3107 $as_echo "$ac_ct_CXX" >&6; }
3108 else
3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 fi
3112
3113
3114   test -n "$ac_ct_CXX" && break
3115 done
3116
3117   if test "x$ac_ct_CXX" = x; then
3118     CXX="g++"
3119   else
3120     case $cross_compiling:$ac_tool_warned in
3121 yes:)
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3124 ac_tool_warned=yes ;;
3125 esac
3126     CXX=$ac_ct_CXX
3127   fi
3128 fi
3129
3130   fi
3131 fi
3132 # Provide some information about the compiler.
3133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3134 set X $ac_compile
3135 ac_compiler=$2
3136 for ac_option in --version -v -V -qversion; do
3137   { { ac_try="$ac_compiler $ac_option >&5"
3138 case "(($ac_try" in
3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140   *) ac_try_echo=$ac_try;;
3141 esac
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3145   ac_status=$?
3146   if test -s conftest.err; then
3147     sed '10a\
3148 ... rest of stderr output deleted ...
3149          10q' conftest.err >conftest.er1
3150     cat conftest.er1 >&5
3151   fi
3152   rm -f conftest.er1 conftest.err
3153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154   test $ac_status = 0; }
3155 done
3156
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h.  */
3159
3160 int
3161 main ()
3162 {
3163
3164   ;
3165   return 0;
3166 }
3167 _ACEOF
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3172 # of exeext.
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3174 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3175 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3176
3177 # The possible output files:
3178 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3179
3180 ac_rmfiles=
3181 for ac_file in $ac_files
3182 do
3183   case $ac_file in
3184     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3186   esac
3187 done
3188 rm -f $ac_rmfiles
3189
3190 if { { ac_try="$ac_link_default"
3191 case "(($ac_try" in
3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193   *) ac_try_echo=$ac_try;;
3194 esac
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197   (eval "$ac_link_default") 2>&5
3198   ac_status=$?
3199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200   test $ac_status = 0; }; then :
3201   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3204 # so that the user can short-circuit this test for compilers unknown to
3205 # Autoconf.
3206 for ac_file in $ac_files ''
3207 do
3208   test -f "$ac_file" || continue
3209   case $ac_file in
3210     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3211         ;;
3212     [ab].out )
3213         # We found the default executable, but exeext='' is most
3214         # certainly right.
3215         break;;
3216     *.* )
3217         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3218         then :; else
3219            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3220         fi
3221         # We set ac_cv_exeext here because the later test for it is not
3222         # safe: cross compilers may not add the suffix if given an `-o'
3223         # argument, so we may need to know it at that point already.
3224         # Even if this section looks crufty: it has the advantage of
3225         # actually working.
3226         break;;
3227     * )
3228         break;;
3229   esac
3230 done
3231 test "$ac_cv_exeext" = no && ac_cv_exeext=
3232
3233 else
3234   ac_file=''
3235 fi
3236 if test -z "$ac_file"; then :
3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3241
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error 77 "C++ compiler cannot create executables
3245 See \`config.log' for more details" "$LINENO" 5; }
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3249 fi
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3251 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3253 $as_echo "$ac_file" >&6; }
3254 ac_exeext=$ac_cv_exeext
3255
3256 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3257 ac_clean_files=$ac_clean_files_save
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3259 $as_echo_n "checking for suffix of executables... " >&6; }
3260 if { { ac_try="$ac_link"
3261 case "(($ac_try" in
3262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263   *) ac_try_echo=$ac_try;;
3264 esac
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267   (eval "$ac_link") 2>&5
3268   ac_status=$?
3269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270   test $ac_status = 0; }; then :
3271   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3272 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3273 # work properly (i.e., refer to `conftest.exe'), while it won't with
3274 # `rm'.
3275 for ac_file in conftest.exe conftest conftest.*; do
3276   test -f "$ac_file" || continue
3277   case $ac_file in
3278     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3279     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3280           break;;
3281     * ) break;;
3282   esac
3283 done
3284 else
3285   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3288 See \`config.log' for more details" "$LINENO" 5; }
3289 fi
3290 rm -f conftest conftest$ac_cv_exeext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3292 $as_echo "$ac_cv_exeext" >&6; }
3293
3294 rm -f conftest.$ac_ext
3295 EXEEXT=$ac_cv_exeext
3296 ac_exeext=$EXEEXT
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h.  */
3299 #include <stdio.h>
3300 int
3301 main ()
3302 {
3303 FILE *f = fopen ("conftest.out", "w");
3304  return ferror (f) || fclose (f) != 0;
3305
3306   ;
3307   return 0;
3308 }
3309 _ACEOF
3310 ac_clean_files="$ac_clean_files conftest.out"
3311 # Check that the compiler produces executables we can run.  If not, either
3312 # the compiler is broken, or we cross compile.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3314 $as_echo_n "checking whether we are cross compiling... " >&6; }
3315 if test "$cross_compiling" != yes; then
3316   { { ac_try="$ac_link"
3317 case "(($ac_try" in
3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319   *) ac_try_echo=$ac_try;;
3320 esac
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323   (eval "$ac_link") 2>&5
3324   ac_status=$?
3325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326   test $ac_status = 0; }
3327   if { ac_try='./conftest$ac_cv_exeext'
3328   { { case "(($ac_try" in
3329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330   *) ac_try_echo=$ac_try;;
3331 esac
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334   (eval "$ac_try") 2>&5
3335   ac_status=$?
3336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337   test $ac_status = 0; }; }; then
3338     cross_compiling=no
3339   else
3340     if test "$cross_compiling" = maybe; then
3341         cross_compiling=yes
3342     else
3343         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $? "cannot run C++ compiled programs.
3346 If you meant to cross compile, use \`--host'.
3347 See \`config.log' for more details" "$LINENO" 5; }
3348     fi
3349   fi
3350 fi
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3352 $as_echo "$cross_compiling" >&6; }
3353
3354 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3355 ac_clean_files=$ac_clean_files_save
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3357 $as_echo_n "checking for suffix of object files... " >&6; }
3358 if ${ac_cv_objext+:} false; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h.  */
3363
3364 int
3365 main ()
3366 {
3367
3368   ;
3369   return 0;
3370 }
3371 _ACEOF
3372 rm -f conftest.o conftest.obj
3373 if { { ac_try="$ac_compile"
3374 case "(($ac_try" in
3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376   *) ac_try_echo=$ac_try;;
3377 esac
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380   (eval "$ac_compile") 2>&5
3381   ac_status=$?
3382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383   test $ac_status = 0; }; then :
3384   for ac_file in conftest.o conftest.obj conftest.*; do
3385   test -f "$ac_file" || continue;
3386   case $ac_file in
3387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3388     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3389        break;;
3390   esac
3391 done
3392 else
3393   $as_echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3395
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 as_fn_error $? "cannot compute suffix of object files: cannot compile
3399 See \`config.log' for more details" "$LINENO" 5; }
3400 fi
3401 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3402 fi
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3404 $as_echo "$ac_cv_objext" >&6; }
3405 OBJEXT=$ac_cv_objext
3406 ac_objext=$OBJEXT
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3408 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3409 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3410   $as_echo_n "(cached) " >&6
3411 else
3412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h.  */
3414
3415 int
3416 main ()
3417 {
3418 #ifndef __GNUC__
3419        choke me
3420 #endif
3421
3422   ;
3423   return 0;
3424 }
3425 _ACEOF
3426 if ac_fn_cxx_try_compile "$LINENO"; then :
3427   ac_compiler_gnu=yes
3428 else
3429   ac_compiler_gnu=no
3430 fi
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3433
3434 fi
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3436 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3437 if test $ac_compiler_gnu = yes; then
3438   GXX=yes
3439 else
3440   GXX=
3441 fi
3442 ac_test_CXXFLAGS=${CXXFLAGS+set}
3443 ac_save_CXXFLAGS=$CXXFLAGS
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3445 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3446 if ${ac_cv_prog_cxx_g+:} false; then :
3447   $as_echo_n "(cached) " >&6
3448 else
3449   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3450    ac_cxx_werror_flag=yes
3451    ac_cv_prog_cxx_g=no
3452    CXXFLAGS="-g"
3453    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h.  */
3455
3456 int
3457 main ()
3458 {
3459
3460   ;
3461   return 0;
3462 }
3463 _ACEOF
3464 if ac_fn_cxx_try_compile "$LINENO"; then :
3465   ac_cv_prog_cxx_g=yes
3466 else
3467   CXXFLAGS=""
3468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h.  */
3470
3471 int
3472 main ()
3473 {
3474
3475   ;
3476   return 0;
3477 }
3478 _ACEOF
3479 if ac_fn_cxx_try_compile "$LINENO"; then :
3480
3481 else
3482   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3483          CXXFLAGS="-g"
3484          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h.  */
3486
3487 int
3488 main ()
3489 {
3490
3491   ;
3492   return 0;
3493 }
3494 _ACEOF
3495 if ac_fn_cxx_try_compile "$LINENO"; then :
3496   ac_cv_prog_cxx_g=yes
3497 fi
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 fi
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 fi
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3504 fi
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3506 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3507 if test "$ac_test_CXXFLAGS" = set; then
3508   CXXFLAGS=$ac_save_CXXFLAGS
3509 elif test $ac_cv_prog_cxx_g = yes; then
3510   if test "$GXX" = yes; then
3511     CXXFLAGS="-g -O2"
3512   else
3513     CXXFLAGS="-g"
3514   fi
3515 else
3516   if test "$GXX" = yes; then
3517     CXXFLAGS="-O2"
3518   else
3519     CXXFLAGS=
3520   fi
3521 fi
3522 ac_ext=c
3523 ac_cpp='$CPP $CPPFLAGS'
3524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3527 DEPDIR="${am__leading_dot}deps"
3528
3529 ac_config_commands="$ac_config_commands depfiles"
3530
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3532 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3533 cat > confinc.mk << 'END'
3534 am__doit:
3535         @echo this is the am__doit target >confinc.out
3536 .PHONY: am__doit
3537 END
3538 am__include="#"
3539 am__quote=
3540 # BSD make does it like this.
3541 echo '.include "confinc.mk" # ignored' > confmf.BSD
3542 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3543 echo 'include confinc.mk # ignored' > confmf.GNU
3544 _am_result=no
3545 for s in GNU BSD; do
3546   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3547    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3548    ac_status=$?
3549    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550    (exit $ac_status); }
3551   case $?:`cat confinc.out 2>/dev/null` in #(
3552   '0:this is the am__doit target') :
3553     case $s in #(
3554   BSD) :
3555     am__include='.include' am__quote='"' ;; #(
3556   *) :
3557     am__include='include' am__quote='' ;;
3558 esac ;; #(
3559   *) :
3560      ;;
3561 esac
3562   if test "$am__include" != "#"; then
3563     _am_result="yes ($s style)"
3564     break
3565   fi
3566 done
3567 rm -f confinc.* confmf.*
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3569 $as_echo "${_am_result}" >&6; }
3570
3571 # Check whether --enable-dependency-tracking was given.
3572 if test "${enable_dependency_tracking+set}" = set; then :
3573   enableval=$enable_dependency_tracking;
3574 fi
3575
3576 if test "x$enable_dependency_tracking" != xno; then
3577   am_depcomp="$ac_aux_dir/depcomp"
3578   AMDEPBACKSLASH='\'
3579   am__nodep='_no'
3580 fi
3581  if test "x$enable_dependency_tracking" != xno; then
3582   AMDEP_TRUE=
3583   AMDEP_FALSE='#'
3584 else
3585   AMDEP_TRUE='#'
3586   AMDEP_FALSE=
3587 fi
3588
3589
3590
3591 depcc="$CXX"  am_compiler_list=
3592
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3594 $as_echo_n "checking dependency style of $depcc... " >&6; }
3595 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3596   $as_echo_n "(cached) " >&6
3597 else
3598   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3599   # We make a subdir and do the tests there.  Otherwise we can end up
3600   # making bogus files that we don't know about and never remove.  For
3601   # instance it was reported that on HP-UX the gcc test will end up
3602   # making a dummy file named 'D' -- because '-MD' means "put the output
3603   # in D".
3604   rm -rf conftest.dir
3605   mkdir conftest.dir
3606   # Copy depcomp to subdir because otherwise we won't find it if we're
3607   # using a relative directory.
3608   cp "$am_depcomp" conftest.dir
3609   cd conftest.dir
3610   # We will build objects and dependencies in a subdirectory because
3611   # it helps to detect inapplicable dependency modes.  For instance
3612   # both Tru64's cc and ICC support -MD to output dependencies as a
3613   # side effect of compilation, but ICC will put the dependencies in
3614   # the current directory while Tru64 will put them in the object
3615   # directory.
3616   mkdir sub
3617
3618   am_cv_CXX_dependencies_compiler_type=none
3619   if test "$am_compiler_list" = ""; then
3620      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3621   fi
3622   am__universal=false
3623   case " $depcc " in #(
3624      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3625      esac
3626
3627   for depmode in $am_compiler_list; do
3628     # Setup a source with many dependencies, because some compilers
3629     # like to wrap large dependency lists on column 80 (with \), and
3630     # we should not choose a depcomp mode which is confused by this.
3631     #
3632     # We need to recreate these files for each test, as the compiler may
3633     # overwrite some of them when testing with obscure command lines.
3634     # This happens at least with the AIX C compiler.
3635     : > sub/conftest.c
3636     for i in 1 2 3 4 5 6; do
3637       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3638       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3639       # Solaris 10 /bin/sh.
3640       echo '/* dummy */' > sub/conftst$i.h
3641     done
3642     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3643
3644     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3645     # mode.  It turns out that the SunPro C++ compiler does not properly
3646     # handle '-M -o', and we need to detect this.  Also, some Intel
3647     # versions had trouble with output in subdirs.
3648     am__obj=sub/conftest.${OBJEXT-o}
3649     am__minus_obj="-o $am__obj"
3650     case $depmode in
3651     gcc)
3652       # This depmode causes a compiler race in universal mode.
3653       test "$am__universal" = false || continue
3654       ;;
3655     nosideeffect)
3656       # After this tag, mechanisms are not by side-effect, so they'll
3657       # only be used when explicitly requested.
3658       if test "x$enable_dependency_tracking" = xyes; then
3659         continue
3660       else
3661         break
3662       fi
3663       ;;
3664     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3665       # This compiler won't grok '-c -o', but also, the minuso test has
3666       # not run yet.  These depmodes are late enough in the game, and
3667       # so weak that their functioning should not be impacted.
3668       am__obj=conftest.${OBJEXT-o}
3669       am__minus_obj=
3670       ;;
3671     none) break ;;
3672     esac
3673     if depmode=$depmode \
3674        source=sub/conftest.c object=$am__obj \
3675        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3676        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3677          >/dev/null 2>conftest.err &&
3678        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3679        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3680        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3681        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3682       # icc doesn't choke on unknown options, it will just issue warnings
3683       # or remarks (even with -Werror).  So we grep stderr for any message
3684       # that says an option was ignored or not supported.
3685       # When given -MP, icc 7.0 and 7.1 complain thusly:
3686       #   icc: Command line warning: ignoring option '-M'; no argument required
3687       # The diagnosis changed in icc 8.0:
3688       #   icc: Command line remark: option '-MP' not supported
3689       if (grep 'ignoring option' conftest.err ||
3690           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3691         am_cv_CXX_dependencies_compiler_type=$depmode
3692         break
3693       fi
3694     fi
3695   done
3696
3697   cd ..
3698   rm -rf conftest.dir
3699 else
3700   am_cv_CXX_dependencies_compiler_type=none
3701 fi
3702
3703 fi
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3705 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3706 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3707
3708  if
3709   test "x$enable_dependency_tracking" != xno \
3710   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3711   am__fastdepCXX_TRUE=
3712   am__fastdepCXX_FALSE='#'
3713 else
3714   am__fastdepCXX_TRUE='#'
3715   am__fastdepCXX_FALSE=
3716 fi
3717
3718
3719 ac_ext=c
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 if test -n "$ac_tool_prefix"; then
3725   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730   $as_echo_n "(cached) " >&6
3731 else
3732   if test -n "$CC"; then
3733   ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738   IFS=$as_save_IFS
3739   test -z "$as_dir" && as_dir=.
3740     for ac_exec_ext in '' $ac_executable_extensions; do
3741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744     break 2
3745   fi
3746 done
3747   done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 if test -z "$ac_cv_prog_CC"; then
3764   ac_ct_CC=$CC
3765   # Extract the first word of "gcc", so it can be a program name with args.
3766 set dummy gcc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3770   $as_echo_n "(cached) " >&6
3771 else
3772   if test -n "$ac_ct_CC"; then
3773   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3774 else
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3777 do
3778   IFS=$as_save_IFS
3779   test -z "$as_dir" && as_dir=.
3780     for ac_exec_ext in '' $ac_executable_extensions; do
3781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782     ac_cv_prog_ac_ct_CC="gcc"
3783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784     break 2
3785   fi
3786 done
3787   done
3788 IFS=$as_save_IFS
3789
3790 fi
3791 fi
3792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3793 if test -n "$ac_ct_CC"; then
3794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3795 $as_echo "$ac_ct_CC" >&6; }
3796 else
3797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3799 fi
3800
3801   if test "x$ac_ct_CC" = x; then
3802     CC=""
3803   else
3804     case $cross_compiling:$ac_tool_warned in
3805 yes:)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3808 ac_tool_warned=yes ;;
3809 esac
3810     CC=$ac_ct_CC
3811   fi
3812 else
3813   CC="$ac_cv_prog_CC"
3814 fi
3815
3816 if test -z "$CC"; then
3817           if test -n "$ac_tool_prefix"; then
3818     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3819 set dummy ${ac_tool_prefix}cc; ac_word=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_CC+:} false; then :
3823   $as_echo_n "(cached) " >&6
3824 else
3825   if test -n "$CC"; then
3826   ac_cv_prog_CC="$CC" # Let the user override the test.
3827 else
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3830 do
3831   IFS=$as_save_IFS
3832   test -z "$as_dir" && as_dir=.
3833     for ac_exec_ext in '' $ac_executable_extensions; do
3834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835     ac_cv_prog_CC="${ac_tool_prefix}cc"
3836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837     break 2
3838   fi
3839 done
3840   done
3841 IFS=$as_save_IFS
3842
3843 fi
3844 fi
3845 CC=$ac_cv_prog_CC
3846 if test -n "$CC"; then
3847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3849 else
3850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3852 fi
3853
3854
3855   fi
3856 fi
3857 if test -z "$CC"; then
3858   # Extract the first word of "cc", so it can be a program name with args.
3859 set dummy cc; ac_word=$2
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861 $as_echo_n "checking for $ac_word... " >&6; }
3862 if ${ac_cv_prog_CC+:} false; then :
3863   $as_echo_n "(cached) " >&6
3864 else
3865   if test -n "$CC"; then
3866   ac_cv_prog_CC="$CC" # Let the user override the test.
3867 else
3868   ac_prog_rejected=no
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3871 do
3872   IFS=$as_save_IFS
3873   test -z "$as_dir" && as_dir=.
3874     for ac_exec_ext in '' $ac_executable_extensions; do
3875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3877        ac_prog_rejected=yes
3878        continue
3879      fi
3880     ac_cv_prog_CC="cc"
3881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882     break 2
3883   fi
3884 done
3885   done
3886 IFS=$as_save_IFS
3887
3888 if test $ac_prog_rejected = yes; then
3889   # We found a bogon in the path, so make sure we never use it.
3890   set dummy $ac_cv_prog_CC
3891   shift
3892   if test $# != 0; then
3893     # We chose a different compiler from the bogus one.
3894     # However, it has the same basename, so the bogon will be chosen
3895     # first if we set CC to just the basename; use the full file name.
3896     shift
3897     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3898   fi
3899 fi
3900 fi
3901 fi
3902 CC=$ac_cv_prog_CC
3903 if test -n "$CC"; then
3904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3906 else
3907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3909 fi
3910
3911
3912 fi
3913 if test -z "$CC"; then
3914   if test -n "$ac_tool_prefix"; then
3915   for ac_prog in cl.exe
3916   do
3917     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false; then :
3922   $as_echo_n "(cached) " >&6
3923 else
3924   if test -n "$CC"; then
3925   ac_cv_prog_CC="$CC" # Let the user override the test.
3926 else
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in $PATH
3929 do
3930   IFS=$as_save_IFS
3931   test -z "$as_dir" && as_dir=.
3932     for ac_exec_ext in '' $ac_executable_extensions; do
3933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936     break 2
3937   fi
3938 done
3939   done
3940 IFS=$as_save_IFS
3941
3942 fi
3943 fi
3944 CC=$ac_cv_prog_CC
3945 if test -n "$CC"; then
3946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947 $as_echo "$CC" >&6; }
3948 else
3949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3951 fi
3952
3953
3954     test -n "$CC" && break
3955   done
3956 fi
3957 if test -z "$CC"; then
3958   ac_ct_CC=$CC
3959   for ac_prog in cl.exe
3960 do
3961   # Extract the first word of "$ac_prog", so it can be a program name with args.
3962 set dummy $ac_prog; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3966   $as_echo_n "(cached) " >&6
3967 else
3968   if test -n "$ac_ct_CC"; then
3969   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3970 else
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 for as_dir in $PATH
3973 do
3974   IFS=$as_save_IFS
3975   test -z "$as_dir" && as_dir=.
3976     for ac_exec_ext in '' $ac_executable_extensions; do
3977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978     ac_cv_prog_ac_ct_CC="$ac_prog"
3979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980     break 2
3981   fi
3982 done
3983   done
3984 IFS=$as_save_IFS
3985
3986 fi
3987 fi
3988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3989 if test -n "$ac_ct_CC"; then
3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3991 $as_echo "$ac_ct_CC" >&6; }
3992 else
3993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3995 fi
3996
3997
3998   test -n "$ac_ct_CC" && break
3999 done
4000
4001   if test "x$ac_ct_CC" = x; then
4002     CC=""
4003   else
4004     case $cross_compiling:$ac_tool_warned in
4005 yes:)
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned=yes ;;
4009 esac
4010     CC=$ac_ct_CC
4011   fi
4012 fi
4013
4014 fi
4015
4016
4017 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $? "no acceptable C compiler found in \$PATH
4020 See \`config.log' for more details" "$LINENO" 5; }
4021
4022 # Provide some information about the compiler.
4023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4024 set X $ac_compile
4025 ac_compiler=$2
4026 for ac_option in --version -v -V -qversion; do
4027   { { ac_try="$ac_compiler $ac_option >&5"
4028 case "(($ac_try" in
4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030   *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4035   ac_status=$?
4036   if test -s conftest.err; then
4037     sed '10a\
4038 ... rest of stderr output deleted ...
4039          10q' conftest.err >conftest.er1
4040     cat conftest.er1 >&5
4041   fi
4042   rm -f conftest.er1 conftest.err
4043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044   test $ac_status = 0; }
4045 done
4046
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4048 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4049 if ${ac_cv_c_compiler_gnu+:} false; then :
4050   $as_echo_n "(cached) " >&6
4051 else
4052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h.  */
4054
4055 int
4056 main ()
4057 {
4058 #ifndef __GNUC__
4059        choke me
4060 #endif
4061
4062   ;
4063   return 0;
4064 }
4065 _ACEOF
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067   ac_compiler_gnu=yes
4068 else
4069   ac_compiler_gnu=no
4070 fi
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4073
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4076 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4077 if test $ac_compiler_gnu = yes; then
4078   GCC=yes
4079 else
4080   GCC=
4081 fi
4082 ac_test_CFLAGS=${CFLAGS+set}
4083 ac_save_CFLAGS=$CFLAGS
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4085 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4086 if ${ac_cv_prog_cc_g+:} false; then :
4087   $as_echo_n "(cached) " >&6
4088 else
4089   ac_save_c_werror_flag=$ac_c_werror_flag
4090    ac_c_werror_flag=yes
4091    ac_cv_prog_cc_g=no
4092    CFLAGS="-g"
4093    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h.  */
4095
4096 int
4097 main ()
4098 {
4099
4100   ;
4101   return 0;
4102 }
4103 _ACEOF
4104 if ac_fn_c_try_compile "$LINENO"; then :
4105   ac_cv_prog_cc_g=yes
4106 else
4107   CFLAGS=""
4108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h.  */
4110
4111 int
4112 main ()
4113 {
4114
4115   ;
4116   return 0;
4117 }
4118 _ACEOF
4119 if ac_fn_c_try_compile "$LINENO"; then :
4120
4121 else
4122   ac_c_werror_flag=$ac_save_c_werror_flag
4123          CFLAGS="-g"
4124          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h.  */
4126
4127 int
4128 main ()
4129 {
4130
4131   ;
4132   return 0;
4133 }
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136   ac_cv_prog_cc_g=yes
4137 fi
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 fi
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 fi
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143    ac_c_werror_flag=$ac_save_c_werror_flag
4144 fi
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4146 $as_echo "$ac_cv_prog_cc_g" >&6; }
4147 if test "$ac_test_CFLAGS" = set; then
4148   CFLAGS=$ac_save_CFLAGS
4149 elif test $ac_cv_prog_cc_g = yes; then
4150   if test "$GCC" = yes; then
4151     CFLAGS="-g -O2"
4152   else
4153     CFLAGS="-g"
4154   fi
4155 else
4156   if test "$GCC" = yes; then
4157     CFLAGS="-O2"
4158   else
4159     CFLAGS=
4160   fi
4161 fi
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4163 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4164 if ${ac_cv_prog_cc_c89+:} false; then :
4165   $as_echo_n "(cached) " >&6
4166 else
4167   ac_cv_prog_cc_c89=no
4168 ac_save_CC=$CC
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h.  */
4171 #include <stdarg.h>
4172 #include <stdio.h>
4173 struct stat;
4174 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4175 struct buf { int x; };
4176 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4177 static char *e (p, i)
4178      char **p;
4179      int i;
4180 {
4181   return p[i];
4182 }
4183 static char *f (char * (*g) (char **, int), char **p, ...)
4184 {
4185   char *s;
4186   va_list v;
4187   va_start (v,p);
4188   s = g (p, va_arg (v,int));
4189   va_end (v);
4190   return s;
4191 }
4192
4193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4194    function prototypes and stuff, but not '\xHH' hex character constants.
4195    These don't provoke an error unfortunately, instead are silently treated
4196    as 'x'.  The following induces an error, until -std is added to get
4197    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4198    array size at least.  It's necessary to write '\x00'==0 to get something
4199    that's true only with -std.  */
4200 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4201
4202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4203    inside strings and character constants.  */
4204 #define FOO(x) 'x'
4205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4206
4207 int test (int i, double x);
4208 struct s1 {int (*f) (int a);};
4209 struct s2 {int (*f) (double a);};
4210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4211 int argc;
4212 char **argv;
4213 int
4214 main ()
4215 {
4216 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4217   ;
4218   return 0;
4219 }
4220 _ACEOF
4221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4222         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4223 do
4224   CC="$ac_save_CC $ac_arg"
4225   if ac_fn_c_try_compile "$LINENO"; then :
4226   ac_cv_prog_cc_c89=$ac_arg
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext
4229   test "x$ac_cv_prog_cc_c89" != "xno" && break
4230 done
4231 rm -f conftest.$ac_ext
4232 CC=$ac_save_CC
4233
4234 fi
4235 # AC_CACHE_VAL
4236 case "x$ac_cv_prog_cc_c89" in
4237   x)
4238     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4239 $as_echo "none needed" >&6; } ;;
4240   xno)
4241     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4242 $as_echo "unsupported" >&6; } ;;
4243   *)
4244     CC="$CC $ac_cv_prog_cc_c89"
4245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4247 esac
4248 if test "x$ac_cv_prog_cc_c89" != xno; then :
4249
4250 fi
4251
4252 ac_ext=c
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257
4258 ac_ext=c
4259 ac_cpp='$CPP $CPPFLAGS'
4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4264 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4265 if ${am_cv_prog_cc_c_o+:} false; then :
4266   $as_echo_n "(cached) " >&6
4267 else
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   # Make sure it works both with $CC and with simple cc.
4280   # Following AC_PROG_CC_C_O, we do the test twice because some
4281   # compilers refuse to overwrite an existing .o file with -o,
4282   # though they will create one.
4283   am_cv_prog_cc_c_o=yes
4284   for am_i in 1 2; do
4285     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4286    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4287    ac_status=$?
4288    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289    (exit $ac_status); } \
4290          && test -f conftest2.$ac_objext; then
4291       : OK
4292     else
4293       am_cv_prog_cc_c_o=no
4294       break
4295     fi
4296   done
4297   rm -f core conftest*
4298   unset am_i
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4301 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4302 if test "$am_cv_prog_cc_c_o" != yes; then
4303    # Losing compiler, so override with the script.
4304    # FIXME: It is wrong to rewrite CC.
4305    # But if we don't then we get into trouble of one sort or another.
4306    # A longer-term fix would be to have automake use am__CC in this case,
4307    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4308    CC="$am_aux_dir/compile $CC"
4309 fi
4310 ac_ext=c
4311 ac_cpp='$CPP $CPPFLAGS'
4312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4315
4316
4317 depcc="$CC"   am_compiler_list=
4318
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4320 $as_echo_n "checking dependency style of $depcc... " >&6; }
4321 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4322   $as_echo_n "(cached) " >&6
4323 else
4324   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4325   # We make a subdir and do the tests there.  Otherwise we can end up
4326   # making bogus files that we don't know about and never remove.  For
4327   # instance it was reported that on HP-UX the gcc test will end up
4328   # making a dummy file named 'D' -- because '-MD' means "put the output
4329   # in D".
4330   rm -rf conftest.dir
4331   mkdir conftest.dir
4332   # Copy depcomp to subdir because otherwise we won't find it if we're
4333   # using a relative directory.
4334   cp "$am_depcomp" conftest.dir
4335   cd conftest.dir
4336   # We will build objects and dependencies in a subdirectory because
4337   # it helps to detect inapplicable dependency modes.  For instance
4338   # both Tru64's cc and ICC support -MD to output dependencies as a
4339   # side effect of compilation, but ICC will put the dependencies in
4340   # the current directory while Tru64 will put them in the object
4341   # directory.
4342   mkdir sub
4343
4344   am_cv_CC_dependencies_compiler_type=none
4345   if test "$am_compiler_list" = ""; then
4346      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4347   fi
4348   am__universal=false
4349   case " $depcc " in #(
4350      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4351      esac
4352
4353   for depmode in $am_compiler_list; do
4354     # Setup a source with many dependencies, because some compilers
4355     # like to wrap large dependency lists on column 80 (with \), and
4356     # we should not choose a depcomp mode which is confused by this.
4357     #
4358     # We need to recreate these files for each test, as the compiler may
4359     # overwrite some of them when testing with obscure command lines.
4360     # This happens at least with the AIX C compiler.
4361     : > sub/conftest.c
4362     for i in 1 2 3 4 5 6; do
4363       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4364       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4365       # Solaris 10 /bin/sh.
4366       echo '/* dummy */' > sub/conftst$i.h
4367     done
4368     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4369
4370     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4371     # mode.  It turns out that the SunPro C++ compiler does not properly
4372     # handle '-M -o', and we need to detect this.  Also, some Intel
4373     # versions had trouble with output in subdirs.
4374     am__obj=sub/conftest.${OBJEXT-o}
4375     am__minus_obj="-o $am__obj"
4376     case $depmode in
4377     gcc)
4378       # This depmode causes a compiler race in universal mode.
4379       test "$am__universal" = false || continue
4380       ;;
4381     nosideeffect)
4382       # After this tag, mechanisms are not by side-effect, so they'll
4383       # only be used when explicitly requested.
4384       if test "x$enable_dependency_tracking" = xyes; then
4385         continue
4386       else
4387         break
4388       fi
4389       ;;
4390     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4391       # This compiler won't grok '-c -o', but also, the minuso test has
4392       # not run yet.  These depmodes are late enough in the game, and
4393       # so weak that their functioning should not be impacted.
4394       am__obj=conftest.${OBJEXT-o}
4395       am__minus_obj=
4396       ;;
4397     none) break ;;
4398     esac
4399     if depmode=$depmode \
4400        source=sub/conftest.c object=$am__obj \
4401        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4402        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4403          >/dev/null 2>conftest.err &&
4404        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4405        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4406        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4407        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4408       # icc doesn't choke on unknown options, it will just issue warnings
4409       # or remarks (even with -Werror).  So we grep stderr for any message
4410       # that says an option was ignored or not supported.
4411       # When given -MP, icc 7.0 and 7.1 complain thusly:
4412       #   icc: Command line warning: ignoring option '-M'; no argument required
4413       # The diagnosis changed in icc 8.0:
4414       #   icc: Command line remark: option '-MP' not supported
4415       if (grep 'ignoring option' conftest.err ||
4416           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4417         am_cv_CC_dependencies_compiler_type=$depmode
4418         break
4419       fi
4420     fi
4421   done
4422
4423   cd ..
4424   rm -rf conftest.dir
4425 else
4426   am_cv_CC_dependencies_compiler_type=none
4427 fi
4428
4429 fi
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4431 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4432 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4433
4434  if
4435   test "x$enable_dependency_tracking" != xno \
4436   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4437   am__fastdepCC_TRUE=
4438   am__fastdepCC_FALSE='#'
4439 else
4440   am__fastdepCC_TRUE='#'
4441   am__fastdepCC_FALSE=
4442 fi
4443
4444
4445
4446 if test -n "$ac_tool_prefix"; then
4447   for ac_prog in ar lib "link -lib"
4448   do
4449     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_AR+:} false; then :
4454   $as_echo_n "(cached) " >&6
4455 else
4456   if test -n "$AR"; then
4457   ac_cv_prog_AR="$AR" # Let the user override the test.
4458 else
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH
4461 do
4462   IFS=$as_save_IFS
4463   test -z "$as_dir" && as_dir=.
4464     for ac_exec_ext in '' $ac_executable_extensions; do
4465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468     break 2
4469   fi
4470 done
4471   done
4472 IFS=$as_save_IFS
4473
4474 fi
4475 fi
4476 AR=$ac_cv_prog_AR
4477 if test -n "$AR"; then
4478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4479 $as_echo "$AR" >&6; }
4480 else
4481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4483 fi
4484
4485
4486     test -n "$AR" && break
4487   done
4488 fi
4489 if test -z "$AR"; then
4490   ac_ct_AR=$AR
4491   for ac_prog in ar lib "link -lib"
4492 do
4493   # Extract the first word of "$ac_prog", so it can be a program name with args.
4494 set dummy $ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4498   $as_echo_n "(cached) " >&6
4499 else
4500   if test -n "$ac_ct_AR"; then
4501   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4505 do
4506   IFS=$as_save_IFS
4507   test -z "$as_dir" && as_dir=.
4508     for ac_exec_ext in '' $ac_executable_extensions; do
4509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510     ac_cv_prog_ac_ct_AR="$ac_prog"
4511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512     break 2
4513   fi
4514 done
4515   done
4516 IFS=$as_save_IFS
4517
4518 fi
4519 fi
4520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4521 if test -n "$ac_ct_AR"; then
4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4523 $as_echo "$ac_ct_AR" >&6; }
4524 else
4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4527 fi
4528
4529
4530   test -n "$ac_ct_AR" && break
4531 done
4532
4533   if test "x$ac_ct_AR" = x; then
4534     AR="false"
4535   else
4536     case $cross_compiling:$ac_tool_warned in
4537 yes:)
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4541 esac
4542     AR=$ac_ct_AR
4543   fi
4544 fi
4545
4546 : ${AR=ar}
4547
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4549 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4550 if ${am_cv_ar_interface+:} false; then :
4551   $as_echo_n "(cached) " >&6
4552 else
4553   ac_ext=c
4554 ac_cpp='$CPP $CPPFLAGS'
4555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4558
4559    am_cv_ar_interface=ar
4560    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h.  */
4562 int some_variable = 0;
4563 _ACEOF
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4566       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4567   (eval $am_ar_try) 2>&5
4568   ac_status=$?
4569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570   test $ac_status = 0; }
4571       if test "$ac_status" -eq 0; then
4572         am_cv_ar_interface=ar
4573       else
4574         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4575         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4576   (eval $am_ar_try) 2>&5
4577   ac_status=$?
4578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4579   test $ac_status = 0; }
4580         if test "$ac_status" -eq 0; then
4581           am_cv_ar_interface=lib
4582         else
4583           am_cv_ar_interface=unknown
4584         fi
4585       fi
4586       rm -f conftest.lib libconftest.a
4587
4588 fi
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590    ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4598 $as_echo "$am_cv_ar_interface" >&6; }
4599
4600 case $am_cv_ar_interface in
4601 ar)
4602   ;;
4603 lib)
4604   # Microsoft lib, so override with the ar-lib wrapper script.
4605   # FIXME: It is wrong to rewrite AR.
4606   # But if we don't then we get into trouble of one sort or another.
4607   # A longer-term fix would be to have automake use am__AR in this case,
4608   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4609   # similar.
4610   AR="$am_aux_dir/ar-lib $AR"
4611   ;;
4612 unknown)
4613   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4614   ;;
4615 esac
4616
4617
4618 # Checks for libraries.
4619
4620 # Checks for header files.
4621 ac_ext=c
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4627 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4628 # On Suns, sometimes $CPP names a directory.
4629 if test -n "$CPP" && test -d "$CPP"; then
4630   CPP=
4631 fi
4632 if test -z "$CPP"; then
4633   if ${ac_cv_prog_CPP+:} false; then :
4634   $as_echo_n "(cached) " >&6
4635 else
4636       # Double quotes because CPP needs to be expanded
4637     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4638     do
4639       ac_preproc_ok=false
4640 for ac_c_preproc_warn_flag in '' yes
4641 do
4642   # Use a header file that comes with gcc, so configuring glibc
4643   # with a fresh cross-compiler works.
4644   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4645   # <limits.h> exists even on freestanding compilers.
4646   # On the NeXT, cc -E runs the code through the compiler's parser,
4647   # not just through cpp. "Syntax error" is here to catch this case.
4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h.  */
4650 #ifdef __STDC__
4651 # include <limits.h>
4652 #else
4653 # include <assert.h>
4654 #endif
4655                      Syntax error
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658
4659 else
4660   # Broken: fails on valid input.
4661 continue
4662 fi
4663 rm -f conftest.err conftest.i conftest.$ac_ext
4664
4665   # OK, works on sane cases.  Now check whether nonexistent headers
4666   # can be detected and how.
4667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h.  */
4669 #include <ac_nonexistent.h>
4670 _ACEOF
4671 if ac_fn_c_try_cpp "$LINENO"; then :
4672   # Broken: success on invalid input.
4673 continue
4674 else
4675   # Passes both tests.
4676 ac_preproc_ok=:
4677 break
4678 fi
4679 rm -f conftest.err conftest.i conftest.$ac_ext
4680
4681 done
4682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4683 rm -f conftest.i conftest.err conftest.$ac_ext
4684 if $ac_preproc_ok; then :
4685   break
4686 fi
4687
4688     done
4689     ac_cv_prog_CPP=$CPP
4690
4691 fi
4692   CPP=$ac_cv_prog_CPP
4693 else
4694   ac_cv_prog_CPP=$CPP
4695 fi
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4697 $as_echo "$CPP" >&6; }
4698 ac_preproc_ok=false
4699 for ac_c_preproc_warn_flag in '' yes
4700 do
4701   # Use a header file that comes with gcc, so configuring glibc
4702   # with a fresh cross-compiler works.
4703   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4704   # <limits.h> exists even on freestanding compilers.
4705   # On the NeXT, cc -E runs the code through the compiler's parser,
4706   # not just through cpp. "Syntax error" is here to catch this case.
4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h.  */
4709 #ifdef __STDC__
4710 # include <limits.h>
4711 #else
4712 # include <assert.h>
4713 #endif
4714                      Syntax error
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717
4718 else
4719   # Broken: fails on valid input.
4720 continue
4721 fi
4722 rm -f conftest.err conftest.i conftest.$ac_ext
4723
4724   # OK, works on sane cases.  Now check whether nonexistent headers
4725   # can be detected and how.
4726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h.  */
4728 #include <ac_nonexistent.h>
4729 _ACEOF
4730 if ac_fn_c_try_cpp "$LINENO"; then :
4731   # Broken: success on invalid input.
4732 continue
4733 else
4734   # Passes both tests.
4735 ac_preproc_ok=:
4736 break
4737 fi
4738 rm -f conftest.err conftest.i conftest.$ac_ext
4739
4740 done
4741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4742 rm -f conftest.i conftest.err conftest.$ac_ext
4743 if $ac_preproc_ok; then :
4744
4745 else
4746   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4749 See \`config.log' for more details" "$LINENO" 5; }
4750 fi
4751
4752 ac_ext=c
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757
4758
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4760 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4761 if ${ac_cv_path_GREP+:} false; then :
4762   $as_echo_n "(cached) " >&6
4763 else
4764   if test -z "$GREP"; then
4765   ac_path_GREP_found=false
4766   # Loop through the user's path and test for each of PROGNAME-LIST
4767   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4769 do
4770   IFS=$as_save_IFS
4771   test -z "$as_dir" && as_dir=.
4772     for ac_prog in grep ggrep; do
4773     for ac_exec_ext in '' $ac_executable_extensions; do
4774       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4775       as_fn_executable_p "$ac_path_GREP" || continue
4776 # Check for GNU ac_path_GREP and select it if it is found.
4777   # Check for GNU $ac_path_GREP
4778 case `"$ac_path_GREP" --version 2>&1` in
4779 *GNU*)
4780   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4781 *)
4782   ac_count=0
4783   $as_echo_n 0123456789 >"conftest.in"
4784   while :
4785   do
4786     cat "conftest.in" "conftest.in" >"conftest.tmp"
4787     mv "conftest.tmp" "conftest.in"
4788     cp "conftest.in" "conftest.nl"
4789     $as_echo 'GREP' >> "conftest.nl"
4790     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4791     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4792     as_fn_arith $ac_count + 1 && ac_count=$as_val
4793     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4794       # Best one so far, save it but keep looking for a better one
4795       ac_cv_path_GREP="$ac_path_GREP"
4796       ac_path_GREP_max=$ac_count
4797     fi
4798     # 10*(2^10) chars as input seems more than enough
4799     test $ac_count -gt 10 && break
4800   done
4801   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4802 esac
4803
4804       $ac_path_GREP_found && break 3
4805     done
4806   done
4807   done
4808 IFS=$as_save_IFS
4809   if test -z "$ac_cv_path_GREP"; then
4810     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4811   fi
4812 else
4813   ac_cv_path_GREP=$GREP
4814 fi
4815
4816 fi
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4818 $as_echo "$ac_cv_path_GREP" >&6; }
4819  GREP="$ac_cv_path_GREP"
4820
4821
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4823 $as_echo_n "checking for egrep... " >&6; }
4824 if ${ac_cv_path_EGREP+:} false; then :
4825   $as_echo_n "(cached) " >&6
4826 else
4827   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4828    then ac_cv_path_EGREP="$GREP -E"
4829    else
4830      if test -z "$EGREP"; then
4831   ac_path_EGREP_found=false
4832   # Loop through the user's path and test for each of PROGNAME-LIST
4833   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4835 do
4836   IFS=$as_save_IFS
4837   test -z "$as_dir" && as_dir=.
4838     for ac_prog in egrep; do
4839     for ac_exec_ext in '' $ac_executable_extensions; do
4840       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4841       as_fn_executable_p "$ac_path_EGREP" || continue
4842 # Check for GNU ac_path_EGREP and select it if it is found.
4843   # Check for GNU $ac_path_EGREP
4844 case `"$ac_path_EGREP" --version 2>&1` in
4845 *GNU*)
4846   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4847 *)
4848   ac_count=0
4849   $as_echo_n 0123456789 >"conftest.in"
4850   while :
4851   do
4852     cat "conftest.in" "conftest.in" >"conftest.tmp"
4853     mv "conftest.tmp" "conftest.in"
4854     cp "conftest.in" "conftest.nl"
4855     $as_echo 'EGREP' >> "conftest.nl"
4856     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4857     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4858     as_fn_arith $ac_count + 1 && ac_count=$as_val
4859     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4860       # Best one so far, save it but keep looking for a better one
4861       ac_cv_path_EGREP="$ac_path_EGREP"
4862       ac_path_EGREP_max=$ac_count
4863     fi
4864     # 10*(2^10) chars as input seems more than enough
4865     test $ac_count -gt 10 && break
4866   done
4867   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4868 esac
4869
4870       $ac_path_EGREP_found && break 3
4871     done
4872   done
4873   done
4874 IFS=$as_save_IFS
4875   if test -z "$ac_cv_path_EGREP"; then
4876     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4877   fi
4878 else
4879   ac_cv_path_EGREP=$EGREP
4880 fi
4881
4882    fi
4883 fi
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4885 $as_echo "$ac_cv_path_EGREP" >&6; }
4886  EGREP="$ac_cv_path_EGREP"
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4890 $as_echo_n "checking for ANSI C header files... " >&6; }
4891 if ${ac_cv_header_stdc+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h.  */
4896 #include <stdlib.h>
4897 #include <stdarg.h>
4898 #include <string.h>
4899 #include <float.h>
4900
4901 int
4902 main ()
4903 {
4904
4905   ;
4906   return 0;
4907 }
4908 _ACEOF
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910   ac_cv_header_stdc=yes
4911 else
4912   ac_cv_header_stdc=no
4913 fi
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915
4916 if test $ac_cv_header_stdc = yes; then
4917   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h.  */
4920 #include <string.h>
4921
4922 _ACEOF
4923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4924   $EGREP "memchr" >/dev/null 2>&1; then :
4925
4926 else
4927   ac_cv_header_stdc=no
4928 fi
4929 rm -f conftest*
4930
4931 fi
4932
4933 if test $ac_cv_header_stdc = yes; then
4934   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h.  */
4937 #include <stdlib.h>
4938
4939 _ACEOF
4940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4941   $EGREP "free" >/dev/null 2>&1; then :
4942
4943 else
4944   ac_cv_header_stdc=no
4945 fi
4946 rm -f conftest*
4947
4948 fi
4949
4950 if test $ac_cv_header_stdc = yes; then
4951   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4952   if test "$cross_compiling" = yes; then :
4953   :
4954 else
4955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h.  */
4957 #include <ctype.h>
4958 #include <stdlib.h>
4959 #if ((' ' & 0x0FF) == 0x020)
4960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4962 #else
4963 # define ISLOWER(c) \
4964                    (('a' <= (c) && (c) <= 'i') \
4965                      || ('j' <= (c) && (c) <= 'r') \
4966                      || ('s' <= (c) && (c) <= 'z'))
4967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4968 #endif
4969
4970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4971 int
4972 main ()
4973 {
4974   int i;
4975   for (i = 0; i < 256; i++)
4976     if (XOR (islower (i), ISLOWER (i))
4977         || toupper (i) != TOUPPER (i))
4978       return 2;
4979   return 0;
4980 }
4981 _ACEOF
4982 if ac_fn_c_try_run "$LINENO"; then :
4983
4984 else
4985   ac_cv_header_stdc=no
4986 fi
4987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4988   conftest.$ac_objext conftest.beam conftest.$ac_ext
4989 fi
4990
4991 fi
4992 fi
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4994 $as_echo "$ac_cv_header_stdc" >&6; }
4995 if test $ac_cv_header_stdc = yes; then
4996
4997 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4998
4999 fi
5000
5001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5002 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5003                   inttypes.h stdint.h unistd.h
5004 do :
5005   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5007 "
5008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5009   cat >>confdefs.h <<_ACEOF
5010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5011 _ACEOF
5012
5013 fi
5014
5015 done
5016
5017
5018 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5019 if test "x$ac_cv_type_size_t" = xyes; then :
5020
5021 else
5022
5023 cat >>confdefs.h <<_ACEOF
5024 #define size_t unsigned int
5025 _ACEOF
5026
5027 fi
5028
5029 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5030 # for constant arguments.  Useless!
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5032 $as_echo_n "checking for working alloca.h... " >&6; }
5033 if ${ac_cv_working_alloca_h+:} false; then :
5034   $as_echo_n "(cached) " >&6
5035 else
5036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h.  */
5038 #include <alloca.h>
5039 int
5040 main ()
5041 {
5042 char *p = (char *) alloca (2 * sizeof (int));
5043                           if (p) return 0;
5044   ;
5045   return 0;
5046 }
5047 _ACEOF
5048 if ac_fn_c_try_link "$LINENO"; then :
5049   ac_cv_working_alloca_h=yes
5050 else
5051   ac_cv_working_alloca_h=no
5052 fi
5053 rm -f core conftest.err conftest.$ac_objext \
5054     conftest$ac_exeext conftest.$ac_ext
5055 fi
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5057 $as_echo "$ac_cv_working_alloca_h" >&6; }
5058 if test $ac_cv_working_alloca_h = yes; then
5059
5060 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5061
5062 fi
5063
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5065 $as_echo_n "checking for alloca... " >&6; }
5066 if ${ac_cv_func_alloca_works+:} false; then :
5067   $as_echo_n "(cached) " >&6
5068 else
5069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h.  */
5071 #ifdef __GNUC__
5072 # define alloca __builtin_alloca
5073 #else
5074 # ifdef _MSC_VER
5075 #  include <malloc.h>
5076 #  define alloca _alloca
5077 # else
5078 #  ifdef HAVE_ALLOCA_H
5079 #   include <alloca.h>
5080 #  else
5081 #   ifdef _AIX
5082  #pragma alloca
5083 #   else
5084 #    ifndef alloca /* predefined by HP cc +Olibcalls */
5085 void *alloca (size_t);
5086 #    endif
5087 #   endif
5088 #  endif
5089 # endif
5090 #endif
5091
5092 int
5093 main ()
5094 {
5095 char *p = (char *) alloca (1);
5096                                     if (p) return 0;
5097   ;
5098   return 0;
5099 }
5100 _ACEOF
5101 if ac_fn_c_try_link "$LINENO"; then :
5102   ac_cv_func_alloca_works=yes
5103 else
5104   ac_cv_func_alloca_works=no
5105 fi
5106 rm -f core conftest.err conftest.$ac_objext \
5107     conftest$ac_exeext conftest.$ac_ext
5108 fi
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5110 $as_echo "$ac_cv_func_alloca_works" >&6; }
5111
5112 if test $ac_cv_func_alloca_works = yes; then
5113
5114 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5115
5116 else
5117   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5118 # that cause trouble.  Some versions do not even contain alloca or
5119 # contain a buggy version.  If you still want to use their alloca,
5120 # use ar to extract alloca.o from them instead of compiling alloca.c.
5121
5122 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5123
5124 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5125
5126
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5128 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5129 if ${ac_cv_os_cray+:} false; then :
5130   $as_echo_n "(cached) " >&6
5131 else
5132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h.  */
5134 #if defined CRAY && ! defined CRAY2
5135 webecray
5136 #else
5137 wenotbecray
5138 #endif
5139
5140 _ACEOF
5141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5142   $EGREP "webecray" >/dev/null 2>&1; then :
5143   ac_cv_os_cray=yes
5144 else
5145   ac_cv_os_cray=no
5146 fi
5147 rm -f conftest*
5148
5149 fi
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5151 $as_echo "$ac_cv_os_cray" >&6; }
5152 if test $ac_cv_os_cray = yes; then
5153   for ac_func in _getb67 GETB67 getb67; do
5154     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5156 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5157
5158 cat >>confdefs.h <<_ACEOF
5159 #define CRAY_STACKSEG_END $ac_func
5160 _ACEOF
5161
5162     break
5163 fi
5164
5165   done
5166 fi
5167
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5169 $as_echo_n "checking stack direction for C alloca... " >&6; }
5170 if ${ac_cv_c_stack_direction+:} false; then :
5171   $as_echo_n "(cached) " >&6
5172 else
5173   if test "$cross_compiling" = yes; then :
5174   ac_cv_c_stack_direction=0
5175 else
5176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h.  */
5178 $ac_includes_default
5179 int
5180 find_stack_direction (int *addr, int depth)
5181 {
5182   int dir, dummy = 0;
5183   if (! addr)
5184     addr = &dummy;
5185   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5186   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5187   return dir + dummy;
5188 }
5189
5190 int
5191 main (int argc, char **argv)
5192 {
5193   return find_stack_direction (0, argc + !argv + 20) < 0;
5194 }
5195 _ACEOF
5196 if ac_fn_c_try_run "$LINENO"; then :
5197   ac_cv_c_stack_direction=1
5198 else
5199   ac_cv_c_stack_direction=-1
5200 fi
5201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5202   conftest.$ac_objext conftest.beam conftest.$ac_ext
5203 fi
5204
5205 fi
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5207 $as_echo "$ac_cv_c_stack_direction" >&6; }
5208 cat >>confdefs.h <<_ACEOF
5209 #define STACK_DIRECTION $ac_cv_c_stack_direction
5210 _ACEOF
5211
5212
5213 fi
5214
5215 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
5216 do :
5217   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5218 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5220   cat >>confdefs.h <<_ACEOF
5221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5222 _ACEOF
5223
5224 fi
5225
5226 done
5227
5228
5229 # Checks for typedefs, structures, and compiler characteristics.
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5231 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5232 if ${ac_cv_header_stdbool_h+:} false; then :
5233   $as_echo_n "(cached) " >&6
5234 else
5235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h.  */
5237
5238              #include <stdbool.h>
5239              #ifndef bool
5240               "error: bool is not defined"
5241              #endif
5242              #ifndef false
5243               "error: false is not defined"
5244              #endif
5245              #if false
5246               "error: false is not 0"
5247              #endif
5248              #ifndef true
5249               "error: true is not defined"
5250              #endif
5251              #if true != 1
5252               "error: true is not 1"
5253              #endif
5254              #ifndef __bool_true_false_are_defined
5255               "error: __bool_true_false_are_defined is not defined"
5256              #endif
5257
5258              struct s { _Bool s: 1; _Bool t; } s;
5259
5260              char a[true == 1 ? 1 : -1];
5261              char b[false == 0 ? 1 : -1];
5262              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5263              char d[(bool) 0.5 == true ? 1 : -1];
5264              /* See body of main program for 'e'.  */
5265              char f[(_Bool) 0.0 == false ? 1 : -1];
5266              char g[true];
5267              char h[sizeof (_Bool)];
5268              char i[sizeof s.t];
5269              enum { j = false, k = true, l = false * true, m = true * 256 };
5270              /* The following fails for
5271                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5272              _Bool n[m];
5273              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5274              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5275              /* Catch a bug in an HP-UX C compiler.  See
5276                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5277                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5278               */
5279              _Bool q = true;
5280              _Bool *pq = &q;
5281
5282 int
5283 main ()
5284 {
5285
5286              bool e = &s;
5287              *pq |= q;
5288              *pq |= ! q;
5289              /* Refer to every declared value, to avoid compiler optimizations.  */
5290              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5291                      + !m + !n + !o + !p + !q + !pq);
5292
5293   ;
5294   return 0;
5295 }
5296 _ACEOF
5297 if ac_fn_c_try_compile "$LINENO"; then :
5298   ac_cv_header_stdbool_h=yes
5299 else
5300   ac_cv_header_stdbool_h=no
5301 fi
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 fi
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5305 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5306    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5307 if test "x$ac_cv_type__Bool" = xyes; then :
5308
5309 cat >>confdefs.h <<_ACEOF
5310 #define HAVE__BOOL 1
5311 _ACEOF
5312
5313
5314 fi
5315
5316
5317 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5318 if test "x$ac_cv_type_size_t" = xyes; then :
5319
5320 else
5321
5322 cat >>confdefs.h <<_ACEOF
5323 #define size_t unsigned int
5324 _ACEOF
5325
5326 fi
5327
5328
5329 case `pwd` in
5330   *\ * | *\     *)
5331     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5332 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5333 esac
5334
5335
5336
5337 macro_version='2.4.6'
5338 macro_revision='2.4.6'
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352 ltmain=$ac_aux_dir/ltmain.sh
5353
5354 # Make sure we can run config.sub.
5355 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5356   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5357
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5359 $as_echo_n "checking build system type... " >&6; }
5360 if ${ac_cv_build+:} false; then :
5361   $as_echo_n "(cached) " >&6
5362 else
5363   ac_build_alias=$build_alias
5364 test "x$ac_build_alias" = x &&
5365   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5366 test "x$ac_build_alias" = x &&
5367   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5368 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5369   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5370
5371 fi
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5373 $as_echo "$ac_cv_build" >&6; }
5374 case $ac_cv_build in
5375 *-*-*) ;;
5376 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5377 esac
5378 build=$ac_cv_build
5379 ac_save_IFS=$IFS; IFS='-'
5380 set x $ac_cv_build
5381 shift
5382 build_cpu=$1
5383 build_vendor=$2
5384 shift; shift
5385 # Remember, the first character of IFS is used to create $*,
5386 # except with old shells:
5387 build_os=$*
5388 IFS=$ac_save_IFS
5389 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5390
5391
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5393 $as_echo_n "checking host system type... " >&6; }
5394 if ${ac_cv_host+:} false; then :
5395   $as_echo_n "(cached) " >&6
5396 else
5397   if test "x$host_alias" = x; then
5398   ac_cv_host=$ac_cv_build
5399 else
5400   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5401     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5402 fi
5403
5404 fi
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5406 $as_echo "$ac_cv_host" >&6; }
5407 case $ac_cv_host in
5408 *-*-*) ;;
5409 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5410 esac
5411 host=$ac_cv_host
5412 ac_save_IFS=$IFS; IFS='-'
5413 set x $ac_cv_host
5414 shift
5415 host_cpu=$1
5416 host_vendor=$2
5417 shift; shift
5418 # Remember, the first character of IFS is used to create $*,
5419 # except with old shells:
5420 host_os=$*
5421 IFS=$ac_save_IFS
5422 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5423
5424
5425 # Backslashify metacharacters that are still active within
5426 # double-quoted strings.
5427 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5428
5429 # Same as above, but do not quote variable references.
5430 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5431
5432 # Sed substitution to delay expansion of an escaped shell variable in a
5433 # double_quote_subst'ed string.
5434 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5435
5436 # Sed substitution to delay expansion of an escaped single quote.
5437 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5438
5439 # Sed substitution to avoid accidental globbing in evaled expressions
5440 no_glob_subst='s/\*/\\\*/g'
5441
5442 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5443 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5444 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5445
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5447 $as_echo_n "checking how to print strings... " >&6; }
5448 # Test print first, because it will be a builtin if present.
5449 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5450    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5451   ECHO='print -r --'
5452 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5453   ECHO='printf %s\n'
5454 else
5455   # Use this function as a fallback that always works.
5456   func_fallback_echo ()
5457   {
5458     eval 'cat <<_LTECHO_EOF
5459 $1
5460 _LTECHO_EOF'
5461   }
5462   ECHO='func_fallback_echo'
5463 fi
5464
5465 # func_echo_all arg...
5466 # Invoke $ECHO with all args, space-separated.
5467 func_echo_all ()
5468 {
5469     $ECHO ""
5470 }
5471
5472 case $ECHO in
5473   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5474 $as_echo "printf" >&6; } ;;
5475   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5476 $as_echo "print -r" >&6; } ;;
5477   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5478 $as_echo "cat" >&6; } ;;
5479 esac
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5495 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5496 if ${ac_cv_path_SED+:} false; then :
5497   $as_echo_n "(cached) " >&6
5498 else
5499             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5500      for ac_i in 1 2 3 4 5 6 7; do
5501        ac_script="$ac_script$as_nl$ac_script"
5502      done
5503      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5504      { ac_script=; unset ac_script;}
5505      if test -z "$SED"; then
5506   ac_path_SED_found=false
5507   # Loop through the user's path and test for each of PROGNAME-LIST
5508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5510 do
5511   IFS=$as_save_IFS
5512   test -z "$as_dir" && as_dir=.
5513     for ac_prog in sed gsed; do
5514     for ac_exec_ext in '' $ac_executable_extensions; do
5515       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5516       as_fn_executable_p "$ac_path_SED" || continue
5517 # Check for GNU ac_path_SED and select it if it is found.
5518   # Check for GNU $ac_path_SED
5519 case `"$ac_path_SED" --version 2>&1` in
5520 *GNU*)
5521   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5522 *)
5523   ac_count=0
5524   $as_echo_n 0123456789 >"conftest.in"
5525   while :
5526   do
5527     cat "conftest.in" "conftest.in" >"conftest.tmp"
5528     mv "conftest.tmp" "conftest.in"
5529     cp "conftest.in" "conftest.nl"
5530     $as_echo '' >> "conftest.nl"
5531     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533     as_fn_arith $ac_count + 1 && ac_count=$as_val
5534     if test $ac_count -gt ${ac_path_SED_max-0}; then
5535       # Best one so far, save it but keep looking for a better one
5536       ac_cv_path_SED="$ac_path_SED"
5537       ac_path_SED_max=$ac_count
5538     fi
5539     # 10*(2^10) chars as input seems more than enough
5540     test $ac_count -gt 10 && break
5541   done
5542   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5543 esac
5544
5545       $ac_path_SED_found && break 3
5546     done
5547   done
5548   done
5549 IFS=$as_save_IFS
5550   if test -z "$ac_cv_path_SED"; then
5551     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5552   fi
5553 else
5554   ac_cv_path_SED=$SED
5555 fi
5556
5557 fi
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5559 $as_echo "$ac_cv_path_SED" >&6; }
5560  SED="$ac_cv_path_SED"
5561   rm -f conftest.sed
5562
5563 test -z "$SED" && SED=sed
5564 Xsed="$SED -e 1s/^X//"
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5577 $as_echo_n "checking for fgrep... " >&6; }
5578 if ${ac_cv_path_FGREP+:} false; then :
5579   $as_echo_n "(cached) " >&6
5580 else
5581   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5582    then ac_cv_path_FGREP="$GREP -F"
5583    else
5584      if test -z "$FGREP"; then
5585   ac_path_FGREP_found=false
5586   # Loop through the user's path and test for each of PROGNAME-LIST
5587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5589 do
5590   IFS=$as_save_IFS
5591   test -z "$as_dir" && as_dir=.
5592     for ac_prog in fgrep; do
5593     for ac_exec_ext in '' $ac_executable_extensions; do
5594       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5595       as_fn_executable_p "$ac_path_FGREP" || continue
5596 # Check for GNU ac_path_FGREP and select it if it is found.
5597   # Check for GNU $ac_path_FGREP
5598 case `"$ac_path_FGREP" --version 2>&1` in
5599 *GNU*)
5600   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5601 *)
5602   ac_count=0
5603   $as_echo_n 0123456789 >"conftest.in"
5604   while :
5605   do
5606     cat "conftest.in" "conftest.in" >"conftest.tmp"
5607     mv "conftest.tmp" "conftest.in"
5608     cp "conftest.in" "conftest.nl"
5609     $as_echo 'FGREP' >> "conftest.nl"
5610     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5611     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5612     as_fn_arith $ac_count + 1 && ac_count=$as_val
5613     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5614       # Best one so far, save it but keep looking for a better one
5615       ac_cv_path_FGREP="$ac_path_FGREP"
5616       ac_path_FGREP_max=$ac_count
5617     fi
5618     # 10*(2^10) chars as input seems more than enough
5619     test $ac_count -gt 10 && break
5620   done
5621   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5622 esac
5623
5624       $ac_path_FGREP_found && break 3
5625     done
5626   done
5627   done
5628 IFS=$as_save_IFS
5629   if test -z "$ac_cv_path_FGREP"; then
5630     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5631   fi
5632 else
5633   ac_cv_path_FGREP=$FGREP
5634 fi
5635
5636    fi
5637 fi
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5639 $as_echo "$ac_cv_path_FGREP" >&6; }
5640  FGREP="$ac_cv_path_FGREP"
5641
5642
5643 test -z "$GREP" && GREP=grep
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 # Check whether --with-gnu-ld was given.
5664 if test "${with_gnu_ld+set}" = set; then :
5665   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5666 else
5667   with_gnu_ld=no
5668 fi
5669
5670 ac_prog=ld
5671 if test yes = "$GCC"; then
5672   # Check if gcc -print-prog-name=ld gives a path.
5673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5674 $as_echo_n "checking for ld used by $CC... " >&6; }
5675   case $host in
5676   *-*-mingw*)
5677     # gcc leaves a trailing carriage return, which upsets mingw
5678     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5679   *)
5680     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5681   esac
5682   case $ac_prog in
5683     # Accept absolute paths.
5684     [\\/]* | ?:[\\/]*)
5685       re_direlt='/[^/][^/]*/\.\./'
5686       # Canonicalize the pathname of ld
5687       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5688       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5689         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5690       done
5691       test -z "$LD" && LD=$ac_prog
5692       ;;
5693   "")
5694     # If it fails, then pretend we aren't using GCC.
5695     ac_prog=ld
5696     ;;
5697   *)
5698     # If it is relative, then search for the first ld in PATH.
5699     with_gnu_ld=unknown
5700     ;;
5701   esac
5702 elif test yes = "$with_gnu_ld"; then
5703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5704 $as_echo_n "checking for GNU ld... " >&6; }
5705 else
5706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5707 $as_echo_n "checking for non-GNU ld... " >&6; }
5708 fi
5709 if ${lt_cv_path_LD+:} false; then :
5710   $as_echo_n "(cached) " >&6
5711 else
5712   if test -z "$LD"; then
5713   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5714   for ac_dir in $PATH; do
5715     IFS=$lt_save_ifs
5716     test -z "$ac_dir" && ac_dir=.
5717     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5718       lt_cv_path_LD=$ac_dir/$ac_prog
5719       # Check to see if the program is GNU ld.  I'd rather use --version,
5720       # but apparently some variants of GNU ld only accept -v.
5721       # Break only if it was the GNU/non-GNU ld that we prefer.
5722       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5723       *GNU* | *'with BFD'*)
5724         test no != "$with_gnu_ld" && break
5725         ;;
5726       *)
5727         test yes != "$with_gnu_ld" && break
5728         ;;
5729       esac
5730     fi
5731   done
5732   IFS=$lt_save_ifs
5733 else
5734   lt_cv_path_LD=$LD # Let the user override the test with a path.
5735 fi
5736 fi
5737
5738 LD=$lt_cv_path_LD
5739 if test -n "$LD"; then
5740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5741 $as_echo "$LD" >&6; }
5742 else
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5745 fi
5746 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5748 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5749 if ${lt_cv_prog_gnu_ld+:} false; then :
5750   $as_echo_n "(cached) " >&6
5751 else
5752   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5753 case `$LD -v 2>&1 </dev/null` in
5754 *GNU* | *'with BFD'*)
5755   lt_cv_prog_gnu_ld=yes
5756   ;;
5757 *)
5758   lt_cv_prog_gnu_ld=no
5759   ;;
5760 esac
5761 fi
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5763 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5764 with_gnu_ld=$lt_cv_prog_gnu_ld
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5775 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5776 if ${lt_cv_path_NM+:} false; then :
5777   $as_echo_n "(cached) " >&6
5778 else
5779   if test -n "$NM"; then
5780   # Let the user override the test.
5781   lt_cv_path_NM=$NM
5782 else
5783   lt_nm_to_check=${ac_tool_prefix}nm
5784   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5785     lt_nm_to_check="$lt_nm_to_check nm"
5786   fi
5787   for lt_tmp_nm in $lt_nm_to_check; do
5788     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5789     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5790       IFS=$lt_save_ifs
5791       test -z "$ac_dir" && ac_dir=.
5792       tmp_nm=$ac_dir/$lt_tmp_nm
5793       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5794         # Check to see if the nm accepts a BSD-compat flag.
5795         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5796         #   nm: unknown option "B" ignored
5797         # Tru64's nm complains that /dev/null is an invalid object file
5798         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5799         case $build_os in
5800         mingw*) lt_bad_file=conftest.nm/nofile ;;
5801         *) lt_bad_file=/dev/null ;;
5802         esac
5803         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5804         *$lt_bad_file* | *'Invalid file or object type'*)
5805           lt_cv_path_NM="$tmp_nm -B"
5806           break 2
5807           ;;
5808         *)
5809           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5810           */dev/null*)
5811             lt_cv_path_NM="$tmp_nm -p"
5812             break 2
5813             ;;
5814           *)
5815             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5816             continue # so that we can try to find one that supports BSD flags
5817             ;;
5818           esac
5819           ;;
5820         esac
5821       fi
5822     done
5823     IFS=$lt_save_ifs
5824   done
5825   : ${lt_cv_path_NM=no}
5826 fi
5827 fi
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5829 $as_echo "$lt_cv_path_NM" >&6; }
5830 if test no != "$lt_cv_path_NM"; then
5831   NM=$lt_cv_path_NM
5832 else
5833   # Didn't find any BSD compatible name lister, look for dumpbin.
5834   if test -n "$DUMPBIN"; then :
5835     # Let the user override the test.
5836   else
5837     if test -n "$ac_tool_prefix"; then
5838   for ac_prog in dumpbin "link -dump"
5839   do
5840     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_DUMPBIN+:} false; then :
5845   $as_echo_n "(cached) " >&6
5846 else
5847   if test -n "$DUMPBIN"; then
5848   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5852 do
5853   IFS=$as_save_IFS
5854   test -z "$as_dir" && as_dir=.
5855     for ac_exec_ext in '' $ac_executable_extensions; do
5856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859     break 2
5860   fi
5861 done
5862   done
5863 IFS=$as_save_IFS
5864
5865 fi
5866 fi
5867 DUMPBIN=$ac_cv_prog_DUMPBIN
5868 if test -n "$DUMPBIN"; then
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5870 $as_echo "$DUMPBIN" >&6; }
5871 else
5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5874 fi
5875
5876
5877     test -n "$DUMPBIN" && break
5878   done
5879 fi
5880 if test -z "$DUMPBIN"; then
5881   ac_ct_DUMPBIN=$DUMPBIN
5882   for ac_prog in dumpbin "link -dump"
5883 do
5884   # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5889   $as_echo_n "(cached) " >&6
5890 else
5891   if test -n "$ac_ct_DUMPBIN"; then
5892   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5896 do
5897   IFS=$as_save_IFS
5898   test -z "$as_dir" && as_dir=.
5899     for ac_exec_ext in '' $ac_executable_extensions; do
5900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903     break 2
5904   fi
5905 done
5906   done
5907 IFS=$as_save_IFS
5908
5909 fi
5910 fi
5911 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5912 if test -n "$ac_ct_DUMPBIN"; then
5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5914 $as_echo "$ac_ct_DUMPBIN" >&6; }
5915 else
5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 fi
5919
5920
5921   test -n "$ac_ct_DUMPBIN" && break
5922 done
5923
5924   if test "x$ac_ct_DUMPBIN" = x; then
5925     DUMPBIN=":"
5926   else
5927     case $cross_compiling:$ac_tool_warned in
5928 yes:)
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned=yes ;;
5932 esac
5933     DUMPBIN=$ac_ct_DUMPBIN
5934   fi
5935 fi
5936
5937     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5938     *COFF*)
5939       DUMPBIN="$DUMPBIN -symbols -headers"
5940       ;;
5941     *)
5942       DUMPBIN=:
5943       ;;
5944     esac
5945   fi
5946
5947   if test : != "$DUMPBIN"; then
5948     NM=$DUMPBIN
5949   fi
5950 fi
5951 test -z "$NM" && NM=nm
5952
5953
5954
5955
5956
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5959 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5960 if ${lt_cv_nm_interface+:} false; then :
5961   $as_echo_n "(cached) " >&6
5962 else
5963   lt_cv_nm_interface="BSD nm"
5964   echo "int some_variable = 0;" > conftest.$ac_ext
5965   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5966   (eval "$ac_compile" 2>conftest.err)
5967   cat conftest.err >&5
5968   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5969   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5970   cat conftest.err >&5
5971   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5972   cat conftest.out >&5
5973   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5974     lt_cv_nm_interface="MS dumpbin"
5975   fi
5976   rm -f conftest*
5977 fi
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5979 $as_echo "$lt_cv_nm_interface" >&6; }
5980
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5982 $as_echo_n "checking whether ln -s works... " >&6; }
5983 LN_S=$as_ln_s
5984 if test "$LN_S" = "ln -s"; then
5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5986 $as_echo "yes" >&6; }
5987 else
5988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5989 $as_echo "no, using $LN_S" >&6; }
5990 fi
5991
5992 # find the maximum length of command line arguments
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5994 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5995 if ${lt_cv_sys_max_cmd_len+:} false; then :
5996   $as_echo_n "(cached) " >&6
5997 else
5998     i=0
5999   teststring=ABCD
6000
6001   case $build_os in
6002   msdosdjgpp*)
6003     # On DJGPP, this test can blow up pretty badly due to problems in libc
6004     # (any single argument exceeding 2000 bytes causes a buffer overrun
6005     # during glob expansion).  Even if it were fixed, the result of this
6006     # check would be larger than it should be.
6007     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6008     ;;
6009
6010   gnu*)
6011     # Under GNU Hurd, this test is not required because there is
6012     # no limit to the length of command line arguments.
6013     # Libtool will interpret -1 as no limit whatsoever
6014     lt_cv_sys_max_cmd_len=-1;
6015     ;;
6016
6017   cygwin* | mingw* | cegcc*)
6018     # On Win9x/ME, this test blows up -- it succeeds, but takes
6019     # about 5 minutes as the teststring grows exponentially.
6020     # Worse, since 9x/ME are not pre-emptively multitasking,
6021     # you end up with a "frozen" computer, even though with patience
6022     # the test eventually succeeds (with a max line length of 256k).
6023     # Instead, let's just punt: use the minimum linelength reported by
6024     # all of the supported platforms: 8192 (on NT/2K/XP).
6025     lt_cv_sys_max_cmd_len=8192;
6026     ;;
6027
6028   mint*)
6029     # On MiNT this can take a long time and run out of memory.
6030     lt_cv_sys_max_cmd_len=8192;
6031     ;;
6032
6033   amigaos*)
6034     # On AmigaOS with pdksh, this test takes hours, literally.
6035     # So we just punt and use a minimum line length of 8192.
6036     lt_cv_sys_max_cmd_len=8192;
6037     ;;
6038
6039   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6040     # This has been around since 386BSD, at least.  Likely further.
6041     if test -x /sbin/sysctl; then
6042       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6043     elif test -x /usr/sbin/sysctl; then
6044       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6045     else
6046       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6047     fi
6048     # And add a safety zone
6049     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6050     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6051     ;;
6052
6053   interix*)
6054     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6055     lt_cv_sys_max_cmd_len=196608
6056     ;;
6057
6058   os2*)
6059     # The test takes a long time on OS/2.
6060     lt_cv_sys_max_cmd_len=8192
6061     ;;
6062
6063   osf*)
6064     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6065     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6066     # nice to cause kernel panics so lets avoid the loop below.
6067     # First set a reasonable default.
6068     lt_cv_sys_max_cmd_len=16384
6069     #
6070     if test -x /sbin/sysconfig; then
6071       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6072         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6073       esac
6074     fi
6075     ;;
6076   sco3.2v5*)
6077     lt_cv_sys_max_cmd_len=102400
6078     ;;
6079   sysv5* | sco5v6* | sysv4.2uw2*)
6080     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6081     if test -n "$kargmax"; then
6082       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6083     else
6084       lt_cv_sys_max_cmd_len=32768
6085     fi
6086     ;;
6087   *)
6088     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6089     if test -n "$lt_cv_sys_max_cmd_len" && \
6090        test undefined != "$lt_cv_sys_max_cmd_len"; then
6091       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6092       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6093     else
6094       # Make teststring a little bigger before we do anything with it.
6095       # a 1K string should be a reasonable start.
6096       for i in 1 2 3 4 5 6 7 8; do
6097         teststring=$teststring$teststring
6098       done
6099       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6100       # If test is not a shell built-in, we'll probably end up computing a
6101       # maximum length that is only half of the actual maximum length, but
6102       # we can't tell.
6103       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6104                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6105               test 17 != "$i" # 1/2 MB should be enough
6106       do
6107         i=`expr $i + 1`
6108         teststring=$teststring$teststring
6109       done
6110       # Only check the string length outside the loop.
6111       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6112       teststring=
6113       # Add a significant safety factor because C++ compilers can tack on
6114       # massive amounts of additional arguments before passing them to the
6115       # linker.  It appears as though 1/2 is a usable value.
6116       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6117     fi
6118     ;;
6119   esac
6120
6121 fi
6122
6123 if test -n "$lt_cv_sys_max_cmd_len"; then
6124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6125 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6126 else
6127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6128 $as_echo "none" >&6; }
6129 fi
6130 max_cmd_len=$lt_cv_sys_max_cmd_len
6131
6132
6133
6134
6135
6136
6137 : ${CP="cp -f"}
6138 : ${MV="mv -f"}
6139 : ${RM="rm -f"}
6140
6141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6142   lt_unset=unset
6143 else
6144   lt_unset=false
6145 fi
6146
6147
6148
6149
6150
6151 # test EBCDIC or ASCII
6152 case `echo X|tr X '\101'` in
6153  A) # ASCII based system
6154     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6155   lt_SP2NL='tr \040 \012'
6156   lt_NL2SP='tr \015\012 \040\040'
6157   ;;
6158  *) # EBCDIC based system
6159   lt_SP2NL='tr \100 \n'
6160   lt_NL2SP='tr \r\n \100\100'
6161   ;;
6162 esac
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6173 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6174 if ${lt_cv_to_host_file_cmd+:} false; then :
6175   $as_echo_n "(cached) " >&6
6176 else
6177   case $host in
6178   *-*-mingw* )
6179     case $build in
6180       *-*-mingw* ) # actually msys
6181         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6182         ;;
6183       *-*-cygwin* )
6184         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6185         ;;
6186       * ) # otherwise, assume *nix
6187         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6188         ;;
6189     esac
6190     ;;
6191   *-*-cygwin* )
6192     case $build in
6193       *-*-mingw* ) # actually msys
6194         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6195         ;;
6196       *-*-cygwin* )
6197         lt_cv_to_host_file_cmd=func_convert_file_noop
6198         ;;
6199       * ) # otherwise, assume *nix
6200         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6201         ;;
6202     esac
6203     ;;
6204   * ) # unhandled hosts (and "normal" native builds)
6205     lt_cv_to_host_file_cmd=func_convert_file_noop
6206     ;;
6207 esac
6208
6209 fi
6210
6211 to_host_file_cmd=$lt_cv_to_host_file_cmd
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6213 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6214
6215
6216
6217
6218
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6220 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6221 if ${lt_cv_to_tool_file_cmd+:} false; then :
6222   $as_echo_n "(cached) " >&6
6223 else
6224   #assume ordinary cross tools, or native build.
6225 lt_cv_to_tool_file_cmd=func_convert_file_noop
6226 case $host in
6227   *-*-mingw* )
6228     case $build in
6229       *-*-mingw* ) # actually msys
6230         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6231         ;;
6232     esac
6233     ;;
6234 esac
6235
6236 fi
6237
6238 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6240 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6241
6242
6243
6244
6245
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6247 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6248 if ${lt_cv_ld_reload_flag+:} false; then :
6249   $as_echo_n "(cached) " >&6
6250 else
6251   lt_cv_ld_reload_flag='-r'
6252 fi
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6254 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6255 reload_flag=$lt_cv_ld_reload_flag
6256 case $reload_flag in
6257 "" | " "*) ;;
6258 *) reload_flag=" $reload_flag" ;;
6259 esac
6260 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6261 case $host_os in
6262   cygwin* | mingw* | pw32* | cegcc*)
6263     if test yes != "$GCC"; then
6264       reload_cmds=false
6265     fi
6266     ;;
6267   darwin*)
6268     if test yes = "$GCC"; then
6269       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6270     else
6271       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6272     fi
6273     ;;
6274 esac
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284 if test -n "$ac_tool_prefix"; then
6285   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if ${ac_cv_prog_OBJDUMP+:} false; then :
6290   $as_echo_n "(cached) " >&6
6291 else
6292   if test -n "$OBJDUMP"; then
6293   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6297 do
6298   IFS=$as_save_IFS
6299   test -z "$as_dir" && as_dir=.
6300     for ac_exec_ext in '' $ac_executable_extensions; do
6301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304     break 2
6305   fi
6306 done
6307   done
6308 IFS=$as_save_IFS
6309
6310 fi
6311 fi
6312 OBJDUMP=$ac_cv_prog_OBJDUMP
6313 if test -n "$OBJDUMP"; then
6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6315 $as_echo "$OBJDUMP" >&6; }
6316 else
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6319 fi
6320
6321
6322 fi
6323 if test -z "$ac_cv_prog_OBJDUMP"; then
6324   ac_ct_OBJDUMP=$OBJDUMP
6325   # Extract the first word of "objdump", so it can be a program name with args.
6326 set dummy objdump; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6330   $as_echo_n "(cached) " >&6
6331 else
6332   if test -n "$ac_ct_OBJDUMP"; then
6333   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6337 do
6338   IFS=$as_save_IFS
6339   test -z "$as_dir" && as_dir=.
6340     for ac_exec_ext in '' $ac_executable_extensions; do
6341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344     break 2
6345   fi
6346 done
6347   done
6348 IFS=$as_save_IFS
6349
6350 fi
6351 fi
6352 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6353 if test -n "$ac_ct_OBJDUMP"; then
6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6355 $as_echo "$ac_ct_OBJDUMP" >&6; }
6356 else
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6359 fi
6360
6361   if test "x$ac_ct_OBJDUMP" = x; then
6362     OBJDUMP="false"
6363   else
6364     case $cross_compiling:$ac_tool_warned in
6365 yes:)
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368 ac_tool_warned=yes ;;
6369 esac
6370     OBJDUMP=$ac_ct_OBJDUMP
6371   fi
6372 else
6373   OBJDUMP="$ac_cv_prog_OBJDUMP"
6374 fi
6375
6376 test -z "$OBJDUMP" && OBJDUMP=objdump
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6387 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6388 if ${lt_cv_deplibs_check_method+:} false; then :
6389   $as_echo_n "(cached) " >&6
6390 else
6391   lt_cv_file_magic_cmd='$MAGIC_CMD'
6392 lt_cv_file_magic_test_file=
6393 lt_cv_deplibs_check_method='unknown'
6394 # Need to set the preceding variable on all platforms that support
6395 # interlibrary dependencies.
6396 # 'none' -- dependencies not supported.
6397 # 'unknown' -- same as none, but documents that we really don't know.
6398 # 'pass_all' -- all dependencies passed with no checks.
6399 # 'test_compile' -- check by making test program.
6400 # 'file_magic [[regex]]' -- check by looking for files in library path
6401 # that responds to the $file_magic_cmd with a given extended regex.
6402 # If you have 'file' or equivalent on your system and you're not sure
6403 # whether 'pass_all' will *always* work, you probably want this one.
6404
6405 case $host_os in
6406 aix[4-9]*)
6407   lt_cv_deplibs_check_method=pass_all
6408   ;;
6409
6410 beos*)
6411   lt_cv_deplibs_check_method=pass_all
6412   ;;
6413
6414 bsdi[45]*)
6415   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6416   lt_cv_file_magic_cmd='/usr/bin/file -L'
6417   lt_cv_file_magic_test_file=/shlib/libc.so
6418   ;;
6419
6420 cygwin*)
6421   # func_win32_libid is a shell function defined in ltmain.sh
6422   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6423   lt_cv_file_magic_cmd='func_win32_libid'
6424   ;;
6425
6426 mingw* | pw32*)
6427   # Base MSYS/MinGW do not provide the 'file' command needed by
6428   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6429   # unless we find 'file', for example because we are cross-compiling.
6430   if ( file / ) >/dev/null 2>&1; then
6431     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6432     lt_cv_file_magic_cmd='func_win32_libid'
6433   else
6434     # Keep this pattern in sync with the one in func_win32_libid.
6435     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6436     lt_cv_file_magic_cmd='$OBJDUMP -f'
6437   fi
6438   ;;
6439
6440 cegcc*)
6441   # use the weaker test based on 'objdump'. See mingw*.
6442   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6443   lt_cv_file_magic_cmd='$OBJDUMP -f'
6444   ;;
6445
6446 darwin* | rhapsody*)
6447   lt_cv_deplibs_check_method=pass_all
6448   ;;
6449
6450 freebsd* | dragonfly*)
6451   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6452     case $host_cpu in
6453     i*86 )
6454       # Not sure whether the presence of OpenBSD here was a mistake.
6455       # Let's accept both of them until this is cleared up.
6456       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6457       lt_cv_file_magic_cmd=/usr/bin/file
6458       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6459       ;;
6460     esac
6461   else
6462     lt_cv_deplibs_check_method=pass_all
6463   fi
6464   ;;
6465
6466 haiku*)
6467   lt_cv_deplibs_check_method=pass_all
6468   ;;
6469
6470 hpux10.20* | hpux11*)
6471   lt_cv_file_magic_cmd=/usr/bin/file
6472   case $host_cpu in
6473   ia64*)
6474     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6475     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6476     ;;
6477   hppa*64*)
6478     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]'
6479     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6480     ;;
6481   *)
6482     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6483     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6484     ;;
6485   esac
6486   ;;
6487
6488 interix[3-9]*)
6489   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6490   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6491   ;;
6492
6493 irix5* | irix6* | nonstopux*)
6494   case $LD in
6495   *-32|*"-32 ") libmagic=32-bit;;
6496   *-n32|*"-n32 ") libmagic=N32;;
6497   *-64|*"-64 ") libmagic=64-bit;;
6498   *) libmagic=never-match;;
6499   esac
6500   lt_cv_deplibs_check_method=pass_all
6501   ;;
6502
6503 # This must be glibc/ELF.
6504 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6505   lt_cv_deplibs_check_method=pass_all
6506   ;;
6507
6508 netbsd*)
6509   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6510     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6511   else
6512     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6513   fi
6514   ;;
6515
6516 newos6*)
6517   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6518   lt_cv_file_magic_cmd=/usr/bin/file
6519   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6520   ;;
6521
6522 *nto* | *qnx*)
6523   lt_cv_deplibs_check_method=pass_all
6524   ;;
6525
6526 openbsd* | bitrig*)
6527   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6528     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6529   else
6530     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6531   fi
6532   ;;
6533
6534 osf3* | osf4* | osf5*)
6535   lt_cv_deplibs_check_method=pass_all
6536   ;;
6537
6538 rdos*)
6539   lt_cv_deplibs_check_method=pass_all
6540   ;;
6541
6542 solaris*)
6543   lt_cv_deplibs_check_method=pass_all
6544   ;;
6545
6546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6547   lt_cv_deplibs_check_method=pass_all
6548   ;;
6549
6550 sysv4 | sysv4.3*)
6551   case $host_vendor in
6552   motorola)
6553     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]'
6554     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6555     ;;
6556   ncr)
6557     lt_cv_deplibs_check_method=pass_all
6558     ;;
6559   sequent)
6560     lt_cv_file_magic_cmd='/bin/file'
6561     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6562     ;;
6563   sni)
6564     lt_cv_file_magic_cmd='/bin/file'
6565     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6566     lt_cv_file_magic_test_file=/lib/libc.so
6567     ;;
6568   siemens)
6569     lt_cv_deplibs_check_method=pass_all
6570     ;;
6571   pc)
6572     lt_cv_deplibs_check_method=pass_all
6573     ;;
6574   esac
6575   ;;
6576
6577 tpf*)
6578   lt_cv_deplibs_check_method=pass_all
6579   ;;
6580 os2*)
6581   lt_cv_deplibs_check_method=pass_all
6582   ;;
6583 esac
6584
6585 fi
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6587 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6588
6589 file_magic_glob=
6590 want_nocaseglob=no
6591 if test "$build" = "$host"; then
6592   case $host_os in
6593   mingw* | pw32*)
6594     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6595       want_nocaseglob=yes
6596     else
6597       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6598     fi
6599     ;;
6600   esac
6601 fi
6602
6603 file_magic_cmd=$lt_cv_file_magic_cmd
6604 deplibs_check_method=$lt_cv_deplibs_check_method
6605 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_DLLTOOL+:} false; then :
6634   $as_echo_n "(cached) " >&6
6635 else
6636   if test -n "$DLLTOOL"; then
6637   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642   IFS=$as_save_IFS
6643   test -z "$as_dir" && as_dir=.
6644     for ac_exec_ext in '' $ac_executable_extensions; do
6645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648     break 2
6649   fi
6650 done
6651   done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 DLLTOOL=$ac_cv_prog_DLLTOOL
6657 if test -n "$DLLTOOL"; then
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6659 $as_echo "$DLLTOOL" >&6; }
6660 else
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_DLLTOOL"; then
6668   ac_ct_DLLTOOL=$DLLTOOL
6669   # Extract the first word of "dlltool", so it can be a program name with args.
6670 set dummy dlltool; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6674   $as_echo_n "(cached) " >&6
6675 else
6676   if test -n "$ac_ct_DLLTOOL"; then
6677   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682   IFS=$as_save_IFS
6683   test -z "$as_dir" && as_dir=.
6684     for ac_exec_ext in '' $ac_executable_extensions; do
6685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688     break 2
6689   fi
6690 done
6691   done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6697 if test -n "$ac_ct_DLLTOOL"; then
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6699 $as_echo "$ac_ct_DLLTOOL" >&6; }
6700 else
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705   if test "x$ac_ct_DLLTOOL" = x; then
6706     DLLTOOL="false"
6707   else
6708     case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714     DLLTOOL=$ac_ct_DLLTOOL
6715   fi
6716 else
6717   DLLTOOL="$ac_cv_prog_DLLTOOL"
6718 fi
6719
6720 test -z "$DLLTOOL" && DLLTOOL=dlltool
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6732 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6733 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6734   $as_echo_n "(cached) " >&6
6735 else
6736   lt_cv_sharedlib_from_linklib_cmd='unknown'
6737
6738 case $host_os in
6739 cygwin* | mingw* | pw32* | cegcc*)
6740   # two different shell functions defined in ltmain.sh;
6741   # decide which one to use based on capabilities of $DLLTOOL
6742   case `$DLLTOOL --help 2>&1` in
6743   *--identify-strict*)
6744     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6745     ;;
6746   *)
6747     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6748     ;;
6749   esac
6750   ;;
6751 *)
6752   # fallback: assume linklib IS sharedlib
6753   lt_cv_sharedlib_from_linklib_cmd=$ECHO
6754   ;;
6755 esac
6756
6757 fi
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6759 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6760 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6761 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6762
6763
6764
6765
6766
6767
6768
6769 if test -n "$ac_tool_prefix"; then
6770   for ac_prog in ar
6771   do
6772     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_AR+:} false; then :
6777   $as_echo_n "(cached) " >&6
6778 else
6779   if test -n "$AR"; then
6780   ac_cv_prog_AR="$AR" # Let the user override the test.
6781 else
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 for as_dir in $PATH
6784 do
6785   IFS=$as_save_IFS
6786   test -z "$as_dir" && as_dir=.
6787     for ac_exec_ext in '' $ac_executable_extensions; do
6788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791     break 2
6792   fi
6793 done
6794   done
6795 IFS=$as_save_IFS
6796
6797 fi
6798 fi
6799 AR=$ac_cv_prog_AR
6800 if test -n "$AR"; then
6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6802 $as_echo "$AR" >&6; }
6803 else
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6806 fi
6807
6808
6809     test -n "$AR" && break
6810   done
6811 fi
6812 if test -z "$AR"; then
6813   ac_ct_AR=$AR
6814   for ac_prog in ar
6815 do
6816   # Extract the first word of "$ac_prog", so it can be a program name with args.
6817 set dummy $ac_prog; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6821   $as_echo_n "(cached) " >&6
6822 else
6823   if test -n "$ac_ct_AR"; then
6824   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6825 else
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6827 for as_dir in $PATH
6828 do
6829   IFS=$as_save_IFS
6830   test -z "$as_dir" && as_dir=.
6831     for ac_exec_ext in '' $ac_executable_extensions; do
6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833     ac_cv_prog_ac_ct_AR="$ac_prog"
6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6835     break 2
6836   fi
6837 done
6838   done
6839 IFS=$as_save_IFS
6840
6841 fi
6842 fi
6843 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6844 if test -n "$ac_ct_AR"; then
6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6846 $as_echo "$ac_ct_AR" >&6; }
6847 else
6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6850 fi
6851
6852
6853   test -n "$ac_ct_AR" && break
6854 done
6855
6856   if test "x$ac_ct_AR" = x; then
6857     AR="false"
6858   else
6859     case $cross_compiling:$ac_tool_warned in
6860 yes:)
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6864 esac
6865     AR=$ac_ct_AR
6866   fi
6867 fi
6868
6869 : ${AR=ar}
6870 : ${AR_FLAGS=cru}
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6883 $as_echo_n "checking for archiver @FILE support... " >&6; }
6884 if ${lt_cv_ar_at_file+:} false; then :
6885   $as_echo_n "(cached) " >&6
6886 else
6887   lt_cv_ar_at_file=no
6888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h.  */
6890
6891 int
6892 main ()
6893 {
6894
6895   ;
6896   return 0;
6897 }
6898 _ACEOF
6899 if ac_fn_c_try_compile "$LINENO"; then :
6900   echo conftest.$ac_objext > conftest.lst
6901       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6902       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6903   (eval $lt_ar_try) 2>&5
6904   ac_status=$?
6905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906   test $ac_status = 0; }
6907       if test 0 -eq "$ac_status"; then
6908         # Ensure the archiver fails upon bogus file names.
6909         rm -f conftest.$ac_objext libconftest.a
6910         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6911   (eval $lt_ar_try) 2>&5
6912   ac_status=$?
6913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914   test $ac_status = 0; }
6915         if test 0 -ne "$ac_status"; then
6916           lt_cv_ar_at_file=@
6917         fi
6918       fi
6919       rm -f conftest.* libconftest.a
6920
6921 fi
6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6923
6924 fi
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6926 $as_echo "$lt_cv_ar_at_file" >&6; }
6927
6928 if test no = "$lt_cv_ar_at_file"; then
6929   archiver_list_spec=
6930 else
6931   archiver_list_spec=$lt_cv_ar_at_file
6932 fi
6933
6934
6935
6936
6937
6938
6939
6940 if test -n "$ac_tool_prefix"; then
6941   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}strip; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_STRIP+:} false; then :
6946   $as_echo_n "(cached) " >&6
6947 else
6948   if test -n "$STRIP"; then
6949   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6950 else
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6952 for as_dir in $PATH
6953 do
6954   IFS=$as_save_IFS
6955   test -z "$as_dir" && as_dir=.
6956     for ac_exec_ext in '' $ac_executable_extensions; do
6957   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6960     break 2
6961   fi
6962 done
6963   done
6964 IFS=$as_save_IFS
6965
6966 fi
6967 fi
6968 STRIP=$ac_cv_prog_STRIP
6969 if test -n "$STRIP"; then
6970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6971 $as_echo "$STRIP" >&6; }
6972 else
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6975 fi
6976
6977
6978 fi
6979 if test -z "$ac_cv_prog_STRIP"; then
6980   ac_ct_STRIP=$STRIP
6981   # Extract the first word of "strip", so it can be a program name with args.
6982 set dummy strip; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6986   $as_echo_n "(cached) " >&6
6987 else
6988   if test -n "$ac_ct_STRIP"; then
6989   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6990 else
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992 for as_dir in $PATH
6993 do
6994   IFS=$as_save_IFS
6995   test -z "$as_dir" && as_dir=.
6996     for ac_exec_ext in '' $ac_executable_extensions; do
6997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998     ac_cv_prog_ac_ct_STRIP="strip"
6999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000     break 2
7001   fi
7002 done
7003   done
7004 IFS=$as_save_IFS
7005
7006 fi
7007 fi
7008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7009 if test -n "$ac_ct_STRIP"; then
7010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7011 $as_echo "$ac_ct_STRIP" >&6; }
7012 else
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7015 fi
7016
7017   if test "x$ac_ct_STRIP" = x; then
7018     STRIP=":"
7019   else
7020     case $cross_compiling:$ac_tool_warned in
7021 yes:)
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned=yes ;;
7025 esac
7026     STRIP=$ac_ct_STRIP
7027   fi
7028 else
7029   STRIP="$ac_cv_prog_STRIP"
7030 fi
7031
7032 test -z "$STRIP" && STRIP=:
7033
7034
7035
7036
7037
7038
7039 if test -n "$ac_tool_prefix"; then
7040   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
7045   $as_echo_n "(cached) " >&6
7046 else
7047   if test -n "$RANLIB"; then
7048   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
7068 if test -n "$RANLIB"; then
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7070 $as_echo "$RANLIB" >&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_RANLIB"; then
7079   ac_ct_RANLIB=$RANLIB
7080   # Extract the first word of "ranlib", so it can be a program name with args.
7081 set dummy ranlib; 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_RANLIB+:} false; then :
7085   $as_echo_n "(cached) " >&6
7086 else
7087   if test -n "$ac_ct_RANLIB"; then
7088   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7108 if test -n "$ac_ct_RANLIB"; then
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7110 $as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
7117     RANLIB=":"
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     RANLIB=$ac_ct_RANLIB
7126   fi
7127 else
7128   RANLIB="$ac_cv_prog_RANLIB"
7129 fi
7130
7131 test -z "$RANLIB" && RANLIB=:
7132
7133
7134
7135
7136
7137
7138 # Determine commands to create old-style static archives.
7139 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7140 old_postinstall_cmds='chmod 644 $oldlib'
7141 old_postuninstall_cmds=
7142
7143 if test -n "$RANLIB"; then
7144   case $host_os in
7145   bitrig* | openbsd*)
7146     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7147     ;;
7148   *)
7149     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7150     ;;
7151   esac
7152   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7153 fi
7154
7155 case $host_os in
7156   darwin*)
7157     lock_old_archive_extraction=yes ;;
7158   *)
7159     lock_old_archive_extraction=no ;;
7160 esac
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200 # If no C compiler was specified, use CC.
7201 LTCC=${LTCC-"$CC"}
7202
7203 # If no C compiler flags were specified, use CFLAGS.
7204 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7205
7206 # Allow CC to be a program name with arguments.
7207 compiler=$CC
7208
7209
7210 # Check for command to grab the raw symbol name followed by C symbol from nm.
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7212 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7213 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7214   $as_echo_n "(cached) " >&6
7215 else
7216
7217 # These are sane defaults that work on at least a few old systems.
7218 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7219
7220 # Character class describing NM global symbol codes.
7221 symcode='[BCDEGRST]'
7222
7223 # Regexp to match symbols that can be accessed directly from C.
7224 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7225
7226 # Define system-specific variables.
7227 case $host_os in
7228 aix*)
7229   symcode='[BCDT]'
7230   ;;
7231 cygwin* | mingw* | pw32* | cegcc*)
7232   symcode='[ABCDGISTW]'
7233   ;;
7234 hpux*)
7235   if test ia64 = "$host_cpu"; then
7236     symcode='[ABCDEGRST]'
7237   fi
7238   ;;
7239 irix* | nonstopux*)
7240   symcode='[BCDEGRST]'
7241   ;;
7242 osf*)
7243   symcode='[BCDEGQRST]'
7244   ;;
7245 solaris*)
7246   symcode='[BDRT]'
7247   ;;
7248 sco3.2v5*)
7249   symcode='[DT]'
7250   ;;
7251 sysv4.2uw2*)
7252   symcode='[DT]'
7253   ;;
7254 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7255   symcode='[ABDT]'
7256   ;;
7257 sysv4)
7258   symcode='[DFNSTU]'
7259   ;;
7260 esac
7261
7262 # If we're using GNU nm, then use its standard symbol codes.
7263 case `$NM -V 2>&1` in
7264 *GNU* | *'with BFD'*)
7265   symcode='[ABCDGIRSTW]' ;;
7266 esac
7267
7268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7269   # Gets list of data symbols to import.
7270   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7271   # Adjust the below global symbol transforms to fixup imported variables.
7272   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7273   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7274   lt_c_name_lib_hook="\
7275   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7276   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7277 else
7278   # Disable hooks by default.
7279   lt_cv_sys_global_symbol_to_import=
7280   lt_cdecl_hook=
7281   lt_c_name_hook=
7282   lt_c_name_lib_hook=
7283 fi
7284
7285 # Transform an extracted symbol line into a proper C declaration.
7286 # Some systems (esp. on ia64) link data and code symbols differently,
7287 # so use this general approach.
7288 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7289 $lt_cdecl_hook\
7290 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7291 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7292
7293 # Transform an extracted symbol line into symbol name and symbol address
7294 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7295 $lt_c_name_hook\
7296 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7297 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7298
7299 # Transform an extracted symbol line into symbol name with lib prefix and
7300 # symbol address.
7301 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7302 $lt_c_name_lib_hook\
7303 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7304 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7305 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7306
7307 # Handle CRLF in mingw tool chain
7308 opt_cr=
7309 case $build_os in
7310 mingw*)
7311   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7312   ;;
7313 esac
7314
7315 # Try without a prefix underscore, then with it.
7316 for ac_symprfx in "" "_"; do
7317
7318   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7319   symxfrm="\\1 $ac_symprfx\\2 \\2"
7320
7321   # Write the raw and C identifiers.
7322   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7323     # Fake it for dumpbin and say T for any non-static function,
7324     # D for any global variable and I for any imported variable.
7325     # Also find C++ and __fastcall symbols from MSVC++,
7326     # which start with @ or ?.
7327     lt_cv_sys_global_symbol_pipe="$AWK '"\
7328 "     {last_section=section; section=\$ 3};"\
7329 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7330 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7331 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7332 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7333 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7334 "     \$ 0!~/External *\|/{next};"\
7335 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7336 "     {if(hide[section]) next};"\
7337 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7338 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7339 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7340 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7341 "     ' prfx=^$ac_symprfx"
7342   else
7343     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7344   fi
7345   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7346
7347   # Check to see that the pipe works correctly.
7348   pipe_works=no
7349
7350   rm -f conftest*
7351   cat > conftest.$ac_ext <<_LT_EOF
7352 #ifdef __cplusplus
7353 extern "C" {
7354 #endif
7355 char nm_test_var;
7356 void nm_test_func(void);
7357 void nm_test_func(void){}
7358 #ifdef __cplusplus
7359 }
7360 #endif
7361 int main(){nm_test_var='a';nm_test_func();return(0);}
7362 _LT_EOF
7363
7364   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7365   (eval $ac_compile) 2>&5
7366   ac_status=$?
7367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368   test $ac_status = 0; }; then
7369     # Now try to grab the symbols.
7370     nlist=conftest.nm
7371     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7372   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7373   ac_status=$?
7374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375   test $ac_status = 0; } && test -s "$nlist"; then
7376       # Try sorting and uniquifying the output.
7377       if sort "$nlist" | uniq > "$nlist"T; then
7378         mv -f "$nlist"T "$nlist"
7379       else
7380         rm -f "$nlist"T
7381       fi
7382
7383       # Make sure that we snagged all the symbols we need.
7384       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7385         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7386           cat <<_LT_EOF > conftest.$ac_ext
7387 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7388 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7389 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7390    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7391 # define LT_DLSYM_CONST
7392 #elif defined __osf__
7393 /* This system does not cope well with relocations in const data.  */
7394 # define LT_DLSYM_CONST
7395 #else
7396 # define LT_DLSYM_CONST const
7397 #endif
7398
7399 #ifdef __cplusplus
7400 extern "C" {
7401 #endif
7402
7403 _LT_EOF
7404           # Now generate the symbol file.
7405           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7406
7407           cat <<_LT_EOF >> conftest.$ac_ext
7408
7409 /* The mapping between symbol names and symbols.  */
7410 LT_DLSYM_CONST struct {
7411   const char *name;
7412   void       *address;
7413 }
7414 lt__PROGRAM__LTX_preloaded_symbols[] =
7415 {
7416   { "@PROGRAM@", (void *) 0 },
7417 _LT_EOF
7418           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7419           cat <<\_LT_EOF >> conftest.$ac_ext
7420   {0, (void *) 0}
7421 };
7422
7423 /* This works around a problem in FreeBSD linker */
7424 #ifdef FREEBSD_WORKAROUND
7425 static const void *lt_preloaded_setup() {
7426   return lt__PROGRAM__LTX_preloaded_symbols;
7427 }
7428 #endif
7429
7430 #ifdef __cplusplus
7431 }
7432 #endif
7433 _LT_EOF
7434           # Now try linking the two files.
7435           mv conftest.$ac_objext conftstm.$ac_objext
7436           lt_globsym_save_LIBS=$LIBS
7437           lt_globsym_save_CFLAGS=$CFLAGS
7438           LIBS=conftstm.$ac_objext
7439           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7440           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7441   (eval $ac_link) 2>&5
7442   ac_status=$?
7443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7445             pipe_works=yes
7446           fi
7447           LIBS=$lt_globsym_save_LIBS
7448           CFLAGS=$lt_globsym_save_CFLAGS
7449         else
7450           echo "cannot find nm_test_func in $nlist" >&5
7451         fi
7452       else
7453         echo "cannot find nm_test_var in $nlist" >&5
7454       fi
7455     else
7456       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7457     fi
7458   else
7459     echo "$progname: failed program was:" >&5
7460     cat conftest.$ac_ext >&5
7461   fi
7462   rm -rf conftest* conftst*
7463
7464   # Do not use the global_symbol_pipe unless it works.
7465   if test yes = "$pipe_works"; then
7466     break
7467   else
7468     lt_cv_sys_global_symbol_pipe=
7469   fi
7470 done
7471
7472 fi
7473
7474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7475   lt_cv_sys_global_symbol_to_cdecl=
7476 fi
7477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7479 $as_echo "failed" >&6; }
7480 else
7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7482 $as_echo "ok" >&6; }
7483 fi
7484
7485 # Response file support.
7486 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7487   nm_file_list_spec='@'
7488 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7489   nm_file_list_spec='@'
7490 fi
7491
7492
7493
7494
7495
7496
7497
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
7526
7527
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7529 $as_echo_n "checking for sysroot... " >&6; }
7530
7531 # Check whether --with-sysroot was given.
7532 if test "${with_sysroot+set}" = set; then :
7533   withval=$with_sysroot;
7534 else
7535   with_sysroot=no
7536 fi
7537
7538
7539 lt_sysroot=
7540 case $with_sysroot in #(
7541  yes)
7542    if test yes = "$GCC"; then
7543      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7544    fi
7545    ;; #(
7546  /*)
7547    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7548    ;; #(
7549  no|'')
7550    ;; #(
7551  *)
7552    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7553 $as_echo "$with_sysroot" >&6; }
7554    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7555    ;;
7556 esac
7557
7558  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7559 $as_echo "${lt_sysroot:-no}" >&6; }
7560
7561
7562
7563
7564
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7566 $as_echo_n "checking for a working dd... " >&6; }
7567 if ${ac_cv_path_lt_DD+:} false; then :
7568   $as_echo_n "(cached) " >&6
7569 else
7570   printf 0123456789abcdef0123456789abcdef >conftest.i
7571 cat conftest.i conftest.i >conftest2.i
7572 : ${lt_DD:=$DD}
7573 if test -z "$lt_DD"; then
7574   ac_path_lt_DD_found=false
7575   # Loop through the user's path and test for each of PROGNAME-LIST
7576   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7578 do
7579   IFS=$as_save_IFS
7580   test -z "$as_dir" && as_dir=.
7581     for ac_prog in dd; do
7582     for ac_exec_ext in '' $ac_executable_extensions; do
7583       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7584       as_fn_executable_p "$ac_path_lt_DD" || continue
7585 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7586   cmp -s conftest.i conftest.out \
7587   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7588 fi
7589       $ac_path_lt_DD_found && break 3
7590     done
7591   done
7592   done
7593 IFS=$as_save_IFS
7594   if test -z "$ac_cv_path_lt_DD"; then
7595     :
7596   fi
7597 else
7598   ac_cv_path_lt_DD=$lt_DD
7599 fi
7600
7601 rm -f conftest.i conftest2.i conftest.out
7602 fi
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7604 $as_echo "$ac_cv_path_lt_DD" >&6; }
7605
7606
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7608 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7609 if ${lt_cv_truncate_bin+:} false; then :
7610   $as_echo_n "(cached) " >&6
7611 else
7612   printf 0123456789abcdef0123456789abcdef >conftest.i
7613 cat conftest.i conftest.i >conftest2.i
7614 lt_cv_truncate_bin=
7615 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7616   cmp -s conftest.i conftest.out \
7617   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7618 fi
7619 rm -f conftest.i conftest2.i conftest.out
7620 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7621 fi
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7623 $as_echo "$lt_cv_truncate_bin" >&6; }
7624
7625
7626
7627
7628
7629
7630
7631 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7632 func_cc_basename ()
7633 {
7634     for cc_temp in $*""; do
7635       case $cc_temp in
7636         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7637         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7638         \-*) ;;
7639         *) break;;
7640       esac
7641     done
7642     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7643 }
7644
7645 # Check whether --enable-libtool-lock was given.
7646 if test "${enable_libtool_lock+set}" = set; then :
7647   enableval=$enable_libtool_lock;
7648 fi
7649
7650 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7651
7652 # Some flags need to be propagated to the compiler or linker for good
7653 # libtool support.
7654 case $host in
7655 ia64-*-hpux*)
7656   # Find out what ABI is being produced by ac_compile, and set mode
7657   # options accordingly.
7658   echo 'int i;' > conftest.$ac_ext
7659   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660   (eval $ac_compile) 2>&5
7661   ac_status=$?
7662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663   test $ac_status = 0; }; then
7664     case `/usr/bin/file conftest.$ac_objext` in
7665       *ELF-32*)
7666         HPUX_IA64_MODE=32
7667         ;;
7668       *ELF-64*)
7669         HPUX_IA64_MODE=64
7670         ;;
7671     esac
7672   fi
7673   rm -rf conftest*
7674   ;;
7675 *-*-irix6*)
7676   # Find out what ABI is being produced by ac_compile, and set linker
7677   # options accordingly.
7678   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7680   (eval $ac_compile) 2>&5
7681   ac_status=$?
7682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7683   test $ac_status = 0; }; then
7684     if test yes = "$lt_cv_prog_gnu_ld"; then
7685       case `/usr/bin/file conftest.$ac_objext` in
7686         *32-bit*)
7687           LD="${LD-ld} -melf32bsmip"
7688           ;;
7689         *N32*)
7690           LD="${LD-ld} -melf32bmipn32"
7691           ;;
7692         *64-bit*)
7693           LD="${LD-ld} -melf64bmip"
7694         ;;
7695       esac
7696     else
7697       case `/usr/bin/file conftest.$ac_objext` in
7698         *32-bit*)
7699           LD="${LD-ld} -32"
7700           ;;
7701         *N32*)
7702           LD="${LD-ld} -n32"
7703           ;;
7704         *64-bit*)
7705           LD="${LD-ld} -64"
7706           ;;
7707       esac
7708     fi
7709   fi
7710   rm -rf conftest*
7711   ;;
7712
7713 mips64*-*linux*)
7714   # Find out what ABI is being produced by ac_compile, and set linker
7715   # options accordingly.
7716   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7718   (eval $ac_compile) 2>&5
7719   ac_status=$?
7720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7721   test $ac_status = 0; }; then
7722     emul=elf
7723     case `/usr/bin/file conftest.$ac_objext` in
7724       *32-bit*)
7725         emul="${emul}32"
7726         ;;
7727       *64-bit*)
7728         emul="${emul}64"
7729         ;;
7730     esac
7731     case `/usr/bin/file conftest.$ac_objext` in
7732       *MSB*)
7733         emul="${emul}btsmip"
7734         ;;
7735       *LSB*)
7736         emul="${emul}ltsmip"
7737         ;;
7738     esac
7739     case `/usr/bin/file conftest.$ac_objext` in
7740       *N32*)
7741         emul="${emul}n32"
7742         ;;
7743     esac
7744     LD="${LD-ld} -m $emul"
7745   fi
7746   rm -rf conftest*
7747   ;;
7748
7749 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7750 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7751   # Find out what ABI is being produced by ac_compile, and set linker
7752   # options accordingly.  Note that the listed cases only cover the
7753   # situations where additional linker options are needed (such as when
7754   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7755   # vice versa); the common cases where no linker options are needed do
7756   # not appear in the list.
7757   echo 'int i;' > conftest.$ac_ext
7758   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7759   (eval $ac_compile) 2>&5
7760   ac_status=$?
7761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7762   test $ac_status = 0; }; then
7763     case `/usr/bin/file conftest.o` in
7764       *32-bit*)
7765         case $host in
7766           x86_64-*kfreebsd*-gnu)
7767             LD="${LD-ld} -m elf_i386_fbsd"
7768             ;;
7769           x86_64-*linux*)
7770             case `/usr/bin/file conftest.o` in
7771               *x86-64*)
7772                 LD="${LD-ld} -m elf32_x86_64"
7773                 ;;
7774               *)
7775                 LD="${LD-ld} -m elf_i386"
7776                 ;;
7777             esac
7778             ;;
7779           powerpc64le-*linux*)
7780             LD="${LD-ld} -m elf32lppclinux"
7781             ;;
7782           powerpc64-*linux*)
7783             LD="${LD-ld} -m elf32ppclinux"
7784             ;;
7785           s390x-*linux*)
7786             LD="${LD-ld} -m elf_s390"
7787             ;;
7788           sparc64-*linux*)
7789             LD="${LD-ld} -m elf32_sparc"
7790             ;;
7791         esac
7792         ;;
7793       *64-bit*)
7794         case $host in
7795           x86_64-*kfreebsd*-gnu)
7796             LD="${LD-ld} -m elf_x86_64_fbsd"
7797             ;;
7798           x86_64-*linux*)
7799             LD="${LD-ld} -m elf_x86_64"
7800             ;;
7801           powerpcle-*linux*)
7802             LD="${LD-ld} -m elf64lppc"
7803             ;;
7804           powerpc-*linux*)
7805             LD="${LD-ld} -m elf64ppc"
7806             ;;
7807           s390*-*linux*|s390*-*tpf*)
7808             LD="${LD-ld} -m elf64_s390"
7809             ;;
7810           sparc*-*linux*)
7811             LD="${LD-ld} -m elf64_sparc"
7812             ;;
7813         esac
7814         ;;
7815     esac
7816   fi
7817   rm -rf conftest*
7818   ;;
7819
7820 *-*-sco3.2v5*)
7821   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7822   SAVE_CFLAGS=$CFLAGS
7823   CFLAGS="$CFLAGS -belf"
7824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7825 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7826 if ${lt_cv_cc_needs_belf+:} false; then :
7827   $as_echo_n "(cached) " >&6
7828 else
7829   ac_ext=c
7830 ac_cpp='$CPP $CPPFLAGS'
7831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7834
7835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h.  */
7837
7838 int
7839 main ()
7840 {
7841
7842   ;
7843   return 0;
7844 }
7845 _ACEOF
7846 if ac_fn_c_try_link "$LINENO"; then :
7847   lt_cv_cc_needs_belf=yes
7848 else
7849   lt_cv_cc_needs_belf=no
7850 fi
7851 rm -f core conftest.err conftest.$ac_objext \
7852     conftest$ac_exeext conftest.$ac_ext
7853      ac_ext=c
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7858
7859 fi
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7861 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7862   if test yes != "$lt_cv_cc_needs_belf"; then
7863     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7864     CFLAGS=$SAVE_CFLAGS
7865   fi
7866   ;;
7867 *-*solaris*)
7868   # Find out what ABI is being produced by ac_compile, and set linker
7869   # options accordingly.
7870   echo 'int i;' > conftest.$ac_ext
7871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7872   (eval $ac_compile) 2>&5
7873   ac_status=$?
7874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875   test $ac_status = 0; }; then
7876     case `/usr/bin/file conftest.o` in
7877     *64-bit*)
7878       case $lt_cv_prog_gnu_ld in
7879       yes*)
7880         case $host in
7881         i?86-*-solaris*|x86_64-*-solaris*)
7882           LD="${LD-ld} -m elf_x86_64"
7883           ;;
7884         sparc*-*-solaris*)
7885           LD="${LD-ld} -m elf64_sparc"
7886           ;;
7887         esac
7888         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7889         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7890           LD=${LD-ld}_sol2
7891         fi
7892         ;;
7893       *)
7894         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7895           LD="${LD-ld} -64"
7896         fi
7897         ;;
7898       esac
7899       ;;
7900     esac
7901   fi
7902   rm -rf conftest*
7903   ;;
7904 esac
7905
7906 need_locks=$enable_libtool_lock
7907
7908 if test -n "$ac_tool_prefix"; then
7909   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}mt; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7914   $as_echo_n "(cached) " >&6
7915 else
7916   if test -n "$MANIFEST_TOOL"; then
7917   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7921 do
7922   IFS=$as_save_IFS
7923   test -z "$as_dir" && as_dir=.
7924     for ac_exec_ext in '' $ac_executable_extensions; do
7925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7928     break 2
7929   fi
7930 done
7931   done
7932 IFS=$as_save_IFS
7933
7934 fi
7935 fi
7936 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7937 if test -n "$MANIFEST_TOOL"; then
7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7939 $as_echo "$MANIFEST_TOOL" >&6; }
7940 else
7941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7943 fi
7944
7945
7946 fi
7947 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7948   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7949   # Extract the first word of "mt", so it can be a program name with args.
7950 set dummy mt; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7954   $as_echo_n "(cached) " >&6
7955 else
7956   if test -n "$ac_ct_MANIFEST_TOOL"; then
7957   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7958 else
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 for as_dir in $PATH
7961 do
7962   IFS=$as_save_IFS
7963   test -z "$as_dir" && as_dir=.
7964     for ac_exec_ext in '' $ac_executable_extensions; do
7965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968     break 2
7969   fi
7970 done
7971   done
7972 IFS=$as_save_IFS
7973
7974 fi
7975 fi
7976 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7977 if test -n "$ac_ct_MANIFEST_TOOL"; then
7978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7979 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7980 else
7981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7983 fi
7984
7985   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7986     MANIFEST_TOOL=":"
7987   else
7988     case $cross_compiling:$ac_tool_warned in
7989 yes:)
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992 ac_tool_warned=yes ;;
7993 esac
7994     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7995   fi
7996 else
7997   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7998 fi
7999
8000 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8002 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8003 if ${lt_cv_path_mainfest_tool+:} false; then :
8004   $as_echo_n "(cached) " >&6
8005 else
8006   lt_cv_path_mainfest_tool=no
8007   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8008   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8009   cat conftest.err >&5
8010   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8011     lt_cv_path_mainfest_tool=yes
8012   fi
8013   rm -f conftest*
8014 fi
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8016 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8017 if test yes != "$lt_cv_path_mainfest_tool"; then
8018   MANIFEST_TOOL=:
8019 fi
8020
8021
8022
8023
8024
8025
8026   case $host_os in
8027     rhapsody* | darwin*)
8028     if test -n "$ac_tool_prefix"; then
8029   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8034   $as_echo_n "(cached) " >&6
8035 else
8036   if test -n "$DSYMUTIL"; then
8037   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8041 do
8042   IFS=$as_save_IFS
8043   test -z "$as_dir" && as_dir=.
8044     for ac_exec_ext in '' $ac_executable_extensions; do
8045   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048     break 2
8049   fi
8050 done
8051   done
8052 IFS=$as_save_IFS
8053
8054 fi
8055 fi
8056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8057 if test -n "$DSYMUTIL"; then
8058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8059 $as_echo "$DSYMUTIL" >&6; }
8060 else
8061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8063 fi
8064
8065
8066 fi
8067 if test -z "$ac_cv_prog_DSYMUTIL"; then
8068   ac_ct_DSYMUTIL=$DSYMUTIL
8069   # Extract the first word of "dsymutil", so it can be a program name with args.
8070 set dummy dsymutil; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8074   $as_echo_n "(cached) " >&6
8075 else
8076   if test -n "$ac_ct_DSYMUTIL"; then
8077   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8081 do
8082   IFS=$as_save_IFS
8083   test -z "$as_dir" && as_dir=.
8084     for ac_exec_ext in '' $ac_executable_extensions; do
8085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088     break 2
8089   fi
8090 done
8091   done
8092 IFS=$as_save_IFS
8093
8094 fi
8095 fi
8096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8097 if test -n "$ac_ct_DSYMUTIL"; then
8098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8100 else
8101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8103 fi
8104
8105   if test "x$ac_ct_DSYMUTIL" = x; then
8106     DSYMUTIL=":"
8107   else
8108     case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114     DSYMUTIL=$ac_ct_DSYMUTIL
8115   fi
8116 else
8117   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8118 fi
8119
8120     if test -n "$ac_tool_prefix"; then
8121   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_NMEDIT+:} false; then :
8126   $as_echo_n "(cached) " >&6
8127 else
8128   if test -n "$NMEDIT"; then
8129   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8133 do
8134   IFS=$as_save_IFS
8135   test -z "$as_dir" && as_dir=.
8136     for ac_exec_ext in '' $ac_executable_extensions; do
8137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140     break 2
8141   fi
8142 done
8143   done
8144 IFS=$as_save_IFS
8145
8146 fi
8147 fi
8148 NMEDIT=$ac_cv_prog_NMEDIT
8149 if test -n "$NMEDIT"; then
8150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8151 $as_echo "$NMEDIT" >&6; }
8152 else
8153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8155 fi
8156
8157
8158 fi
8159 if test -z "$ac_cv_prog_NMEDIT"; then
8160   ac_ct_NMEDIT=$NMEDIT
8161   # Extract the first word of "nmedit", so it can be a program name with args.
8162 set dummy nmedit; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8166   $as_echo_n "(cached) " >&6
8167 else
8168   if test -n "$ac_ct_NMEDIT"; then
8169   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8173 do
8174   IFS=$as_save_IFS
8175   test -z "$as_dir" && as_dir=.
8176     for ac_exec_ext in '' $ac_executable_extensions; do
8177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180     break 2
8181   fi
8182 done
8183   done
8184 IFS=$as_save_IFS
8185
8186 fi
8187 fi
8188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8189 if test -n "$ac_ct_NMEDIT"; then
8190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8191 $as_echo "$ac_ct_NMEDIT" >&6; }
8192 else
8193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8195 fi
8196
8197   if test "x$ac_ct_NMEDIT" = x; then
8198     NMEDIT=":"
8199   else
8200     case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206     NMEDIT=$ac_ct_NMEDIT
8207   fi
8208 else
8209   NMEDIT="$ac_cv_prog_NMEDIT"
8210 fi
8211
8212     if test -n "$ac_tool_prefix"; then
8213   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_LIPO+:} false; then :
8218   $as_echo_n "(cached) " >&6
8219 else
8220   if test -n "$LIPO"; then
8221   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8225 do
8226   IFS=$as_save_IFS
8227   test -z "$as_dir" && as_dir=.
8228     for ac_exec_ext in '' $ac_executable_extensions; do
8229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232     break 2
8233   fi
8234 done
8235   done
8236 IFS=$as_save_IFS
8237
8238 fi
8239 fi
8240 LIPO=$ac_cv_prog_LIPO
8241 if test -n "$LIPO"; then
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8243 $as_echo "$LIPO" >&6; }
8244 else
8245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 fi
8248
8249
8250 fi
8251 if test -z "$ac_cv_prog_LIPO"; then
8252   ac_ct_LIPO=$LIPO
8253   # Extract the first word of "lipo", so it can be a program name with args.
8254 set dummy lipo; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8258   $as_echo_n "(cached) " >&6
8259 else
8260   if test -n "$ac_ct_LIPO"; then
8261   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8265 do
8266   IFS=$as_save_IFS
8267   test -z "$as_dir" && as_dir=.
8268     for ac_exec_ext in '' $ac_executable_extensions; do
8269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270     ac_cv_prog_ac_ct_LIPO="lipo"
8271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272     break 2
8273   fi
8274 done
8275   done
8276 IFS=$as_save_IFS
8277
8278 fi
8279 fi
8280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8281 if test -n "$ac_ct_LIPO"; then
8282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8283 $as_echo "$ac_ct_LIPO" >&6; }
8284 else
8285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 fi
8288
8289   if test "x$ac_ct_LIPO" = x; then
8290     LIPO=":"
8291   else
8292     case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298     LIPO=$ac_ct_LIPO
8299   fi
8300 else
8301   LIPO="$ac_cv_prog_LIPO"
8302 fi
8303
8304     if test -n "$ac_tool_prefix"; then
8305   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL+:} false; then :
8310   $as_echo_n "(cached) " >&6
8311 else
8312   if test -n "$OTOOL"; then
8313   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8317 do
8318   IFS=$as_save_IFS
8319   test -z "$as_dir" && as_dir=.
8320     for ac_exec_ext in '' $ac_executable_extensions; do
8321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324     break 2
8325   fi
8326 done
8327   done
8328 IFS=$as_save_IFS
8329
8330 fi
8331 fi
8332 OTOOL=$ac_cv_prog_OTOOL
8333 if test -n "$OTOOL"; then
8334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 $as_echo "$OTOOL" >&6; }
8336 else
8337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8339 fi
8340
8341
8342 fi
8343 if test -z "$ac_cv_prog_OTOOL"; then
8344   ac_ct_OTOOL=$OTOOL
8345   # Extract the first word of "otool", so it can be a program name with args.
8346 set dummy otool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8350   $as_echo_n "(cached) " >&6
8351 else
8352   if test -n "$ac_ct_OTOOL"; then
8353   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8357 do
8358   IFS=$as_save_IFS
8359   test -z "$as_dir" && as_dir=.
8360     for ac_exec_ext in '' $ac_executable_extensions; do
8361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362     ac_cv_prog_ac_ct_OTOOL="otool"
8363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364     break 2
8365   fi
8366 done
8367   done
8368 IFS=$as_save_IFS
8369
8370 fi
8371 fi
8372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8373 if test -n "$ac_ct_OTOOL"; then
8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8375 $as_echo "$ac_ct_OTOOL" >&6; }
8376 else
8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 fi
8380
8381   if test "x$ac_ct_OTOOL" = x; then
8382     OTOOL=":"
8383   else
8384     case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390     OTOOL=$ac_ct_OTOOL
8391   fi
8392 else
8393   OTOOL="$ac_cv_prog_OTOOL"
8394 fi
8395
8396     if test -n "$ac_tool_prefix"; then
8397   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_OTOOL64+:} false; then :
8402   $as_echo_n "(cached) " >&6
8403 else
8404   if test -n "$OTOOL64"; then
8405   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8406 else
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 for as_dir in $PATH
8409 do
8410   IFS=$as_save_IFS
8411   test -z "$as_dir" && as_dir=.
8412     for ac_exec_ext in '' $ac_executable_extensions; do
8413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8416     break 2
8417   fi
8418 done
8419   done
8420 IFS=$as_save_IFS
8421
8422 fi
8423 fi
8424 OTOOL64=$ac_cv_prog_OTOOL64
8425 if test -n "$OTOOL64"; then
8426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8427 $as_echo "$OTOOL64" >&6; }
8428 else
8429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8431 fi
8432
8433
8434 fi
8435 if test -z "$ac_cv_prog_OTOOL64"; then
8436   ac_ct_OTOOL64=$OTOOL64
8437   # Extract the first word of "otool64", so it can be a program name with args.
8438 set dummy otool64; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8442   $as_echo_n "(cached) " >&6
8443 else
8444   if test -n "$ac_ct_OTOOL64"; then
8445   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8446 else
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 for as_dir in $PATH
8449 do
8450   IFS=$as_save_IFS
8451   test -z "$as_dir" && as_dir=.
8452     for ac_exec_ext in '' $ac_executable_extensions; do
8453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454     ac_cv_prog_ac_ct_OTOOL64="otool64"
8455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8456     break 2
8457   fi
8458 done
8459   done
8460 IFS=$as_save_IFS
8461
8462 fi
8463 fi
8464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8465 if test -n "$ac_ct_OTOOL64"; then
8466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8467 $as_echo "$ac_ct_OTOOL64" >&6; }
8468 else
8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8471 fi
8472
8473   if test "x$ac_ct_OTOOL64" = x; then
8474     OTOOL64=":"
8475   else
8476     case $cross_compiling:$ac_tool_warned in
8477 yes:)
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8481 esac
8482     OTOOL64=$ac_ct_OTOOL64
8483   fi
8484 else
8485   OTOOL64="$ac_cv_prog_OTOOL64"
8486 fi
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8515 $as_echo_n "checking for -single_module linker flag... " >&6; }
8516 if ${lt_cv_apple_cc_single_mod+:} false; then :
8517   $as_echo_n "(cached) " >&6
8518 else
8519   lt_cv_apple_cc_single_mod=no
8520       if test -z "$LT_MULTI_MODULE"; then
8521         # By default we will add the -single_module flag. You can override
8522         # by either setting the environment variable LT_MULTI_MODULE
8523         # non-empty at configure time, or by adding -multi_module to the
8524         # link flags.
8525         rm -rf libconftest.dylib*
8526         echo "int foo(void){return 1;}" > conftest.c
8527         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8528 -dynamiclib -Wl,-single_module conftest.c" >&5
8529         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8531         _lt_result=$?
8532         # If there is a non-empty error log, and "single_module"
8533         # appears in it, assume the flag caused a linker warning
8534         if test -s conftest.err && $GREP single_module conftest.err; then
8535           cat conftest.err >&5
8536         # Otherwise, if the output was created with a 0 exit code from
8537         # the compiler, it worked.
8538         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8539           lt_cv_apple_cc_single_mod=yes
8540         else
8541           cat conftest.err >&5
8542         fi
8543         rm -rf libconftest.dylib*
8544         rm -f conftest.*
8545       fi
8546 fi
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8548 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8549
8550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8551 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8552 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8553   $as_echo_n "(cached) " >&6
8554 else
8555   lt_cv_ld_exported_symbols_list=no
8556       save_LDFLAGS=$LDFLAGS
8557       echo "_main" > conftest.sym
8558       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h.  */
8561
8562 int
8563 main ()
8564 {
8565
8566   ;
8567   return 0;
8568 }
8569 _ACEOF
8570 if ac_fn_c_try_link "$LINENO"; then :
8571   lt_cv_ld_exported_symbols_list=yes
8572 else
8573   lt_cv_ld_exported_symbols_list=no
8574 fi
8575 rm -f core conftest.err conftest.$ac_objext \
8576     conftest$ac_exeext conftest.$ac_ext
8577         LDFLAGS=$save_LDFLAGS
8578
8579 fi
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8581 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8582
8583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8584 $as_echo_n "checking for -force_load linker flag... " >&6; }
8585 if ${lt_cv_ld_force_load+:} false; then :
8586   $as_echo_n "(cached) " >&6
8587 else
8588   lt_cv_ld_force_load=no
8589       cat > conftest.c << _LT_EOF
8590 int forced_loaded() { return 2;}
8591 _LT_EOF
8592       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8593       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8594       echo "$AR cru libconftest.a conftest.o" >&5
8595       $AR cru libconftest.a conftest.o 2>&5
8596       echo "$RANLIB libconftest.a" >&5
8597       $RANLIB libconftest.a 2>&5
8598       cat > conftest.c << _LT_EOF
8599 int main() { return 0;}
8600 _LT_EOF
8601       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8602       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8603       _lt_result=$?
8604       if test -s conftest.err && $GREP force_load conftest.err; then
8605         cat conftest.err >&5
8606       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8607         lt_cv_ld_force_load=yes
8608       else
8609         cat conftest.err >&5
8610       fi
8611         rm -f conftest.err libconftest.a conftest conftest.c
8612         rm -rf conftest.dSYM
8613
8614 fi
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8616 $as_echo "$lt_cv_ld_force_load" >&6; }
8617     case $host_os in
8618     rhapsody* | darwin1.[012])
8619       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8620     darwin1.*)
8621       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8622     darwin*) # darwin 5.x on
8623       # if running on 10.5 or later, the deployment target defaults
8624       # to the OS version, if on x86, and 10.4, the deployment
8625       # target defaults to 10.4. Don't you love it?
8626       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8627         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8628           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8629         10.[012][,.]*)
8630           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8631         10.*)
8632           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8633       esac
8634     ;;
8635   esac
8636     if test yes = "$lt_cv_apple_cc_single_mod"; then
8637       _lt_dar_single_mod='$single_module'
8638     fi
8639     if test yes = "$lt_cv_ld_exported_symbols_list"; then
8640       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8641     else
8642       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8643     fi
8644     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8645       _lt_dsymutil='~$DSYMUTIL $lib || :'
8646     else
8647       _lt_dsymutil=
8648     fi
8649     ;;
8650   esac
8651
8652 # func_munge_path_list VARIABLE PATH
8653 # -----------------------------------
8654 # VARIABLE is name of variable containing _space_ separated list of
8655 # directories to be munged by the contents of PATH, which is string
8656 # having a format:
8657 # "DIR[:DIR]:"
8658 #       string "DIR[ DIR]" will be prepended to VARIABLE
8659 # ":DIR[:DIR]"
8660 #       string "DIR[ DIR]" will be appended to VARIABLE
8661 # "DIRP[:DIRP]::[DIRA:]DIRA"
8662 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8663 #       "DIRA[ DIRA]" will be appended to VARIABLE
8664 # "DIR[:DIR]"
8665 #       VARIABLE will be replaced by "DIR[ DIR]"
8666 func_munge_path_list ()
8667 {
8668     case x$2 in
8669     x)
8670         ;;
8671     *:)
8672         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8673         ;;
8674     x:*)
8675         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8676         ;;
8677     *::*)
8678         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8679         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8680         ;;
8681     *)
8682         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8683         ;;
8684     esac
8685 }
8686
8687 for ac_header in dlfcn.h
8688 do :
8689   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8690 "
8691 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8692   cat >>confdefs.h <<_ACEOF
8693 #define HAVE_DLFCN_H 1
8694 _ACEOF
8695
8696 fi
8697
8698 done
8699
8700
8701
8702
8703 func_stripname_cnf ()
8704 {
8705   case $2 in
8706   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8707   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8708   esac
8709 } # func_stripname_cnf
8710
8711
8712
8713
8714
8715 # Set options
8716
8717
8718
8719         enable_dlopen=no
8720
8721
8722   enable_win32_dll=no
8723
8724
8725             # Check whether --enable-shared was given.
8726 if test "${enable_shared+set}" = set; then :
8727   enableval=$enable_shared; p=${PACKAGE-default}
8728     case $enableval in
8729     yes) enable_shared=yes ;;
8730     no) enable_shared=no ;;
8731     *)
8732       enable_shared=no
8733       # Look at the argument we got.  We use all the common list separators.
8734       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8735       for pkg in $enableval; do
8736         IFS=$lt_save_ifs
8737         if test "X$pkg" = "X$p"; then
8738           enable_shared=yes
8739         fi
8740       done
8741       IFS=$lt_save_ifs
8742       ;;
8743     esac
8744 else
8745   enable_shared=yes
8746 fi
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756   # Check whether --enable-static was given.
8757 if test "${enable_static+set}" = set; then :
8758   enableval=$enable_static; p=${PACKAGE-default}
8759     case $enableval in
8760     yes) enable_static=yes ;;
8761     no) enable_static=no ;;
8762     *)
8763      enable_static=no
8764       # Look at the argument we got.  We use all the common list separators.
8765       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8766       for pkg in $enableval; do
8767         IFS=$lt_save_ifs
8768         if test "X$pkg" = "X$p"; then
8769           enable_static=yes
8770         fi
8771       done
8772       IFS=$lt_save_ifs
8773       ;;
8774     esac
8775 else
8776   enable_static=yes
8777 fi
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788 # Check whether --with-pic was given.
8789 if test "${with_pic+set}" = set; then :
8790   withval=$with_pic; lt_p=${PACKAGE-default}
8791     case $withval in
8792     yes|no) pic_mode=$withval ;;
8793     *)
8794       pic_mode=default
8795       # Look at the argument we got.  We use all the common list separators.
8796       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8797       for lt_pkg in $withval; do
8798         IFS=$lt_save_ifs
8799         if test "X$lt_pkg" = "X$lt_p"; then
8800           pic_mode=yes
8801         fi
8802       done
8803       IFS=$lt_save_ifs
8804       ;;
8805     esac
8806 else
8807   pic_mode=default
8808 fi
8809
8810
8811
8812
8813
8814
8815
8816
8817   # Check whether --enable-fast-install was given.
8818 if test "${enable_fast_install+set}" = set; then :
8819   enableval=$enable_fast_install; p=${PACKAGE-default}
8820     case $enableval in
8821     yes) enable_fast_install=yes ;;
8822     no) enable_fast_install=no ;;
8823     *)
8824       enable_fast_install=no
8825       # Look at the argument we got.  We use all the common list separators.
8826       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8827       for pkg in $enableval; do
8828         IFS=$lt_save_ifs
8829         if test "X$pkg" = "X$p"; then
8830           enable_fast_install=yes
8831         fi
8832       done
8833       IFS=$lt_save_ifs
8834       ;;
8835     esac
8836 else
8837   enable_fast_install=yes
8838 fi
8839
8840
8841
8842
8843
8844
8845
8846
8847   shared_archive_member_spec=
8848 case $host,$enable_shared in
8849 power*-*-aix[5-9]*,yes)
8850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8851 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8852
8853 # Check whether --with-aix-soname was given.
8854 if test "${with_aix_soname+set}" = set; then :
8855   withval=$with_aix_soname; case $withval in
8856     aix|svr4|both)
8857       ;;
8858     *)
8859       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8860       ;;
8861     esac
8862     lt_cv_with_aix_soname=$with_aix_soname
8863 else
8864   if ${lt_cv_with_aix_soname+:} false; then :
8865   $as_echo_n "(cached) " >&6
8866 else
8867   lt_cv_with_aix_soname=aix
8868 fi
8869
8870     with_aix_soname=$lt_cv_with_aix_soname
8871 fi
8872
8873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8874 $as_echo "$with_aix_soname" >&6; }
8875   if test aix != "$with_aix_soname"; then
8876     # For the AIX way of multilib, we name the shared archive member
8877     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8878     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8879     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8880     # the AIX toolchain works better with OBJECT_MODE set (default 32).
8881     if test 64 = "${OBJECT_MODE-32}"; then
8882       shared_archive_member_spec=shr_64
8883     else
8884       shared_archive_member_spec=shr
8885     fi
8886   fi
8887   ;;
8888 *)
8889   with_aix_soname=aix
8890   ;;
8891 esac
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902 # This can be used to rebuild libtool when needed
8903 LIBTOOL_DEPS=$ltmain
8904
8905 # Always use our own libtool.
8906 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937 test -z "$LN_S" && LN_S="ln -s"
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952 if test -n "${ZSH_VERSION+set}"; then
8953    setopt NO_GLOB_SUBST
8954 fi
8955
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8957 $as_echo_n "checking for objdir... " >&6; }
8958 if ${lt_cv_objdir+:} false; then :
8959   $as_echo_n "(cached) " >&6
8960 else
8961   rm -f .libs 2>/dev/null
8962 mkdir .libs 2>/dev/null
8963 if test -d .libs; then
8964   lt_cv_objdir=.libs
8965 else
8966   # MS-DOS does not allow filenames that begin with a dot.
8967   lt_cv_objdir=_libs
8968 fi
8969 rmdir .libs 2>/dev/null
8970 fi
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8972 $as_echo "$lt_cv_objdir" >&6; }
8973 objdir=$lt_cv_objdir
8974
8975
8976
8977
8978
8979 cat >>confdefs.h <<_ACEOF
8980 #define LT_OBJDIR "$lt_cv_objdir/"
8981 _ACEOF
8982
8983
8984
8985
8986 case $host_os in
8987 aix3*)
8988   # AIX sometimes has problems with the GCC collect2 program.  For some
8989   # reason, if we set the COLLECT_NAMES environment variable, the problems
8990   # vanish in a puff of smoke.
8991   if test set != "${COLLECT_NAMES+set}"; then
8992     COLLECT_NAMES=
8993     export COLLECT_NAMES
8994   fi
8995   ;;
8996 esac
8997
8998 # Global variables:
8999 ofile=libtool
9000 can_build_shared=yes
9001
9002 # All known linkers require a '.a' archive for static linking (except MSVC,
9003 # which needs '.lib').
9004 libext=a
9005
9006 with_gnu_ld=$lt_cv_prog_gnu_ld
9007
9008 old_CC=$CC
9009 old_CFLAGS=$CFLAGS
9010
9011 # Set sane defaults for various variables
9012 test -z "$CC" && CC=cc
9013 test -z "$LTCC" && LTCC=$CC
9014 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9015 test -z "$LD" && LD=ld
9016 test -z "$ac_objext" && ac_objext=o
9017
9018 func_cc_basename $compiler
9019 cc_basename=$func_cc_basename_result
9020
9021
9022 # Only perform the check for file, if the check method requires it
9023 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9024 case $deplibs_check_method in
9025 file_magic*)
9026   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9028 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9029 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9030   $as_echo_n "(cached) " >&6
9031 else
9032   case $MAGIC_CMD in
9033 [\\/*] |  ?:[\\/]*)
9034   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9035   ;;
9036 *)
9037   lt_save_MAGIC_CMD=$MAGIC_CMD
9038   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9039   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9040   for ac_dir in $ac_dummy; do
9041     IFS=$lt_save_ifs
9042     test -z "$ac_dir" && ac_dir=.
9043     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9044       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9045       if test -n "$file_magic_test_file"; then
9046         case $deplibs_check_method in
9047         "file_magic "*)
9048           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9049           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9050           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9051             $EGREP "$file_magic_regex" > /dev/null; then
9052             :
9053           else
9054             cat <<_LT_EOF 1>&2
9055
9056 *** Warning: the command libtool uses to detect shared libraries,
9057 *** $file_magic_cmd, produces output that libtool cannot recognize.
9058 *** The result is that libtool may fail to recognize shared libraries
9059 *** as such.  This will affect the creation of libtool libraries that
9060 *** depend on shared libraries, but programs linked with such libtool
9061 *** libraries will work regardless of this problem.  Nevertheless, you
9062 *** may want to report the problem to your system manager and/or to
9063 *** bug-libtool@gnu.org
9064
9065 _LT_EOF
9066           fi ;;
9067         esac
9068       fi
9069       break
9070     fi
9071   done
9072   IFS=$lt_save_ifs
9073   MAGIC_CMD=$lt_save_MAGIC_CMD
9074   ;;
9075 esac
9076 fi
9077
9078 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9079 if test -n "$MAGIC_CMD"; then
9080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9081 $as_echo "$MAGIC_CMD" >&6; }
9082 else
9083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9085 fi
9086
9087
9088
9089
9090
9091 if test -z "$lt_cv_path_MAGIC_CMD"; then
9092   if test -n "$ac_tool_prefix"; then
9093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9094 $as_echo_n "checking for file... " >&6; }
9095 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9096   $as_echo_n "(cached) " >&6
9097 else
9098   case $MAGIC_CMD in
9099 [\\/*] |  ?:[\\/]*)
9100   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9101   ;;
9102 *)
9103   lt_save_MAGIC_CMD=$MAGIC_CMD
9104   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9105   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9106   for ac_dir in $ac_dummy; do
9107     IFS=$lt_save_ifs
9108     test -z "$ac_dir" && ac_dir=.
9109     if test -f "$ac_dir/file"; then
9110       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9111       if test -n "$file_magic_test_file"; then
9112         case $deplibs_check_method in
9113         "file_magic "*)
9114           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9115           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9116           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9117             $EGREP "$file_magic_regex" > /dev/null; then
9118             :
9119           else
9120             cat <<_LT_EOF 1>&2
9121
9122 *** Warning: the command libtool uses to detect shared libraries,
9123 *** $file_magic_cmd, produces output that libtool cannot recognize.
9124 *** The result is that libtool may fail to recognize shared libraries
9125 *** as such.  This will affect the creation of libtool libraries that
9126 *** depend on shared libraries, but programs linked with such libtool
9127 *** libraries will work regardless of this problem.  Nevertheless, you
9128 *** may want to report the problem to your system manager and/or to
9129 *** bug-libtool@gnu.org
9130
9131 _LT_EOF
9132           fi ;;
9133         esac
9134       fi
9135       break
9136     fi
9137   done
9138   IFS=$lt_save_ifs
9139   MAGIC_CMD=$lt_save_MAGIC_CMD
9140   ;;
9141 esac
9142 fi
9143
9144 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9145 if test -n "$MAGIC_CMD"; then
9146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9147 $as_echo "$MAGIC_CMD" >&6; }
9148 else
9149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9151 fi
9152
9153
9154   else
9155     MAGIC_CMD=:
9156   fi
9157 fi
9158
9159   fi
9160   ;;
9161 esac
9162
9163 # Use C for the default configuration in the libtool script
9164
9165 lt_save_CC=$CC
9166 ac_ext=c
9167 ac_cpp='$CPP $CPPFLAGS'
9168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9171
9172
9173 # Source file extension for C test sources.
9174 ac_ext=c
9175
9176 # Object file extension for compiled C test sources.
9177 objext=o
9178 objext=$objext
9179
9180 # Code to be used in simple compile tests
9181 lt_simple_compile_test_code="int some_variable = 0;"
9182
9183 # Code to be used in simple link tests
9184 lt_simple_link_test_code='int main(){return(0);}'
9185
9186
9187
9188
9189
9190
9191
9192 # If no C compiler was specified, use CC.
9193 LTCC=${LTCC-"$CC"}
9194
9195 # If no C compiler flags were specified, use CFLAGS.
9196 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9197
9198 # Allow CC to be a program name with arguments.
9199 compiler=$CC
9200
9201 # Save the default compiler, since it gets overwritten when the other
9202 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9203 compiler_DEFAULT=$CC
9204
9205 # save warnings/boilerplate of simple test code
9206 ac_outfile=conftest.$ac_objext
9207 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9208 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9209 _lt_compiler_boilerplate=`cat conftest.err`
9210 $RM conftest*
9211
9212 ac_outfile=conftest.$ac_objext
9213 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9214 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9215 _lt_linker_boilerplate=`cat conftest.err`
9216 $RM -r conftest*
9217
9218
9219 if test -n "$compiler"; then
9220
9221 lt_prog_compiler_no_builtin_flag=
9222
9223 if test yes = "$GCC"; then
9224   case $cc_basename in
9225   nvcc*)
9226     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9227   *)
9228     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9229   esac
9230
9231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9232 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9233 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9234   $as_echo_n "(cached) " >&6
9235 else
9236   lt_cv_prog_compiler_rtti_exceptions=no
9237    ac_outfile=conftest.$ac_objext
9238    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9239    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9240    # Insert the option either (1) after the last *FLAGS variable, or
9241    # (2) before a word containing "conftest.", or (3) at the end.
9242    # Note that $ac_compile itself does not contain backslashes and begins
9243    # with a dollar sign (not a hyphen), so the echo should work correctly.
9244    # The option is referenced via a variable to avoid confusing sed.
9245    lt_compile=`echo "$ac_compile" | $SED \
9246    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9247    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9248    -e 's:$: $lt_compiler_flag:'`
9249    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9250    (eval "$lt_compile" 2>conftest.err)
9251    ac_status=$?
9252    cat conftest.err >&5
9253    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254    if (exit $ac_status) && test -s "$ac_outfile"; then
9255      # The compiler can only warn and ignore the option if not recognized
9256      # So say no if there are warnings other than the usual output.
9257      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9258      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9259      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9260        lt_cv_prog_compiler_rtti_exceptions=yes
9261      fi
9262    fi
9263    $RM conftest*
9264
9265 fi
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9267 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9268
9269 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9270     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9271 else
9272     :
9273 fi
9274
9275 fi
9276
9277
9278
9279
9280
9281
9282   lt_prog_compiler_wl=
9283 lt_prog_compiler_pic=
9284 lt_prog_compiler_static=
9285
9286
9287   if test yes = "$GCC"; then
9288     lt_prog_compiler_wl='-Wl,'
9289     lt_prog_compiler_static='-static'
9290
9291     case $host_os in
9292       aix*)
9293       # All AIX code is PIC.
9294       if test ia64 = "$host_cpu"; then
9295         # AIX 5 now supports IA64 processor
9296         lt_prog_compiler_static='-Bstatic'
9297       fi
9298       lt_prog_compiler_pic='-fPIC'
9299       ;;
9300
9301     amigaos*)
9302       case $host_cpu in
9303       powerpc)
9304             # see comment about AmigaOS4 .so support
9305             lt_prog_compiler_pic='-fPIC'
9306         ;;
9307       m68k)
9308             # FIXME: we need at least 68020 code to build shared libraries, but
9309             # adding the '-m68020' flag to GCC prevents building anything better,
9310             # like '-m68040'.
9311             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9312         ;;
9313       esac
9314       ;;
9315
9316     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9317       # PIC is the default for these OSes.
9318       ;;
9319
9320     mingw* | cygwin* | pw32* | os2* | cegcc*)
9321       # This hack is so that the source file can tell whether it is being
9322       # built for inclusion in a dll (and should export symbols for example).
9323       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9324       # (--disable-auto-import) libraries
9325       lt_prog_compiler_pic='-DDLL_EXPORT'
9326       case $host_os in
9327       os2*)
9328         lt_prog_compiler_static='$wl-static'
9329         ;;
9330       esac
9331       ;;
9332
9333     darwin* | rhapsody*)
9334       # PIC is the default on this platform
9335       # Common symbols not allowed in MH_DYLIB files
9336       lt_prog_compiler_pic='-fno-common'
9337       ;;
9338
9339     haiku*)
9340       # PIC is the default for Haiku.
9341       # The "-static" flag exists, but is broken.
9342       lt_prog_compiler_static=
9343       ;;
9344
9345     hpux*)
9346       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9347       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9348       # sets the default TLS model and affects inlining.
9349       case $host_cpu in
9350       hppa*64*)
9351         # +Z the default
9352         ;;
9353       *)
9354         lt_prog_compiler_pic='-fPIC'
9355         ;;
9356       esac
9357       ;;
9358
9359     interix[3-9]*)
9360       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9361       # Instead, we relocate shared libraries at runtime.
9362       ;;
9363
9364     msdosdjgpp*)
9365       # Just because we use GCC doesn't mean we suddenly get shared libraries
9366       # on systems that don't support them.
9367       lt_prog_compiler_can_build_shared=no
9368       enable_shared=no
9369       ;;
9370
9371     *nto* | *qnx*)
9372       # QNX uses GNU C++, but need to define -shared option too, otherwise
9373       # it will coredump.
9374       lt_prog_compiler_pic='-fPIC -shared'
9375       ;;
9376
9377     sysv4*MP*)
9378       if test -d /usr/nec; then
9379         lt_prog_compiler_pic=-Kconform_pic
9380       fi
9381       ;;
9382
9383     *)
9384       lt_prog_compiler_pic='-fPIC'
9385       ;;
9386     esac
9387
9388     case $cc_basename in
9389     nvcc*) # Cuda Compiler Driver 2.2
9390       lt_prog_compiler_wl='-Xlinker '
9391       if test -n "$lt_prog_compiler_pic"; then
9392         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9393       fi
9394       ;;
9395     esac
9396   else
9397     # PORTME Check for flag to pass linker flags through the system compiler.
9398     case $host_os in
9399     aix*)
9400       lt_prog_compiler_wl='-Wl,'
9401       if test ia64 = "$host_cpu"; then
9402         # AIX 5 now supports IA64 processor
9403         lt_prog_compiler_static='-Bstatic'
9404       else
9405         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9406       fi
9407       ;;
9408
9409     darwin* | rhapsody*)
9410       # PIC is the default on this platform
9411       # Common symbols not allowed in MH_DYLIB files
9412       lt_prog_compiler_pic='-fno-common'
9413       case $cc_basename in
9414       nagfor*)
9415         # NAG Fortran compiler
9416         lt_prog_compiler_wl='-Wl,-Wl,,'
9417         lt_prog_compiler_pic='-PIC'
9418         lt_prog_compiler_static='-Bstatic'
9419         ;;
9420       esac
9421       ;;
9422
9423     mingw* | cygwin* | pw32* | os2* | cegcc*)
9424       # This hack is so that the source file can tell whether it is being
9425       # built for inclusion in a dll (and should export symbols for example).
9426       lt_prog_compiler_pic='-DDLL_EXPORT'
9427       case $host_os in
9428       os2*)
9429         lt_prog_compiler_static='$wl-static'
9430         ;;
9431       esac
9432       ;;
9433
9434     hpux9* | hpux10* | hpux11*)
9435       lt_prog_compiler_wl='-Wl,'
9436       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9437       # not for PA HP-UX.
9438       case $host_cpu in
9439       hppa*64*|ia64*)
9440         # +Z the default
9441         ;;
9442       *)
9443         lt_prog_compiler_pic='+Z'
9444         ;;
9445       esac
9446       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9447       lt_prog_compiler_static='$wl-a ${wl}archive'
9448       ;;
9449
9450     irix5* | irix6* | nonstopux*)
9451       lt_prog_compiler_wl='-Wl,'
9452       # PIC (with -KPIC) is the default.
9453       lt_prog_compiler_static='-non_shared'
9454       ;;
9455
9456     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9457       case $cc_basename in
9458       # old Intel for x86_64, which still supported -KPIC.
9459       ecc*)
9460         lt_prog_compiler_wl='-Wl,'
9461         lt_prog_compiler_pic='-KPIC'
9462         lt_prog_compiler_static='-static'
9463         ;;
9464       # icc used to be incompatible with GCC.
9465       # ICC 10 doesn't accept -KPIC any more.
9466       icc* | ifort*)
9467         lt_prog_compiler_wl='-Wl,'
9468         lt_prog_compiler_pic='-fPIC'
9469         lt_prog_compiler_static='-static'
9470         ;;
9471       # Lahey Fortran 8.1.
9472       lf95*)
9473         lt_prog_compiler_wl='-Wl,'
9474         lt_prog_compiler_pic='--shared'
9475         lt_prog_compiler_static='--static'
9476         ;;
9477       nagfor*)
9478         # NAG Fortran compiler
9479         lt_prog_compiler_wl='-Wl,-Wl,,'
9480         lt_prog_compiler_pic='-PIC'
9481         lt_prog_compiler_static='-Bstatic'
9482         ;;
9483       tcc*)
9484         # Fabrice Bellard et al's Tiny C Compiler
9485         lt_prog_compiler_wl='-Wl,'
9486         lt_prog_compiler_pic='-fPIC'
9487         lt_prog_compiler_static='-static'
9488         ;;
9489       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9490         # Portland Group compilers (*not* the Pentium gcc compiler,
9491         # which looks to be a dead project)
9492         lt_prog_compiler_wl='-Wl,'
9493         lt_prog_compiler_pic='-fpic'
9494         lt_prog_compiler_static='-Bstatic'
9495         ;;
9496       ccc*)
9497         lt_prog_compiler_wl='-Wl,'
9498         # All Alpha code is PIC.
9499         lt_prog_compiler_static='-non_shared'
9500         ;;
9501       xl* | bgxl* | bgf* | mpixl*)
9502         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9503         lt_prog_compiler_wl='-Wl,'
9504         lt_prog_compiler_pic='-qpic'
9505         lt_prog_compiler_static='-qstaticlink'
9506         ;;
9507       *)
9508         case `$CC -V 2>&1 | sed 5q` in
9509         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9510           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9511           lt_prog_compiler_pic='-KPIC'
9512           lt_prog_compiler_static='-Bstatic'
9513           lt_prog_compiler_wl=''
9514           ;;
9515         *Sun\ F* | *Sun*Fortran*)
9516           lt_prog_compiler_pic='-KPIC'
9517           lt_prog_compiler_static='-Bstatic'
9518           lt_prog_compiler_wl='-Qoption ld '
9519           ;;
9520         *Sun\ C*)
9521           # Sun C 5.9
9522           lt_prog_compiler_pic='-KPIC'
9523           lt_prog_compiler_static='-Bstatic'
9524           lt_prog_compiler_wl='-Wl,'
9525           ;;
9526         *Intel*\ [CF]*Compiler*)
9527           lt_prog_compiler_wl='-Wl,'
9528           lt_prog_compiler_pic='-fPIC'
9529           lt_prog_compiler_static='-static'
9530           ;;
9531         *Portland\ Group*)
9532           lt_prog_compiler_wl='-Wl,'
9533           lt_prog_compiler_pic='-fpic'
9534           lt_prog_compiler_static='-Bstatic'
9535           ;;
9536         esac
9537         ;;
9538       esac
9539       ;;
9540
9541     newsos6)
9542       lt_prog_compiler_pic='-KPIC'
9543       lt_prog_compiler_static='-Bstatic'
9544       ;;
9545
9546     *nto* | *qnx*)
9547       # QNX uses GNU C++, but need to define -shared option too, otherwise
9548       # it will coredump.
9549       lt_prog_compiler_pic='-fPIC -shared'
9550       ;;
9551
9552     osf3* | osf4* | osf5*)
9553       lt_prog_compiler_wl='-Wl,'
9554       # All OSF/1 code is PIC.
9555       lt_prog_compiler_static='-non_shared'
9556       ;;
9557
9558     rdos*)
9559       lt_prog_compiler_static='-non_shared'
9560       ;;
9561
9562     solaris*)
9563       lt_prog_compiler_pic='-KPIC'
9564       lt_prog_compiler_static='-Bstatic'
9565       case $cc_basename in
9566       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9567         lt_prog_compiler_wl='-Qoption ld ';;
9568       *)
9569         lt_prog_compiler_wl='-Wl,';;
9570       esac
9571       ;;
9572
9573     sunos4*)
9574       lt_prog_compiler_wl='-Qoption ld '
9575       lt_prog_compiler_pic='-PIC'
9576       lt_prog_compiler_static='-Bstatic'
9577       ;;
9578
9579     sysv4 | sysv4.2uw2* | sysv4.3*)
9580       lt_prog_compiler_wl='-Wl,'
9581       lt_prog_compiler_pic='-KPIC'
9582       lt_prog_compiler_static='-Bstatic'
9583       ;;
9584
9585     sysv4*MP*)
9586       if test -d /usr/nec; then
9587         lt_prog_compiler_pic='-Kconform_pic'
9588         lt_prog_compiler_static='-Bstatic'
9589       fi
9590       ;;
9591
9592     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9593       lt_prog_compiler_wl='-Wl,'
9594       lt_prog_compiler_pic='-KPIC'
9595       lt_prog_compiler_static='-Bstatic'
9596       ;;
9597
9598     unicos*)
9599       lt_prog_compiler_wl='-Wl,'
9600       lt_prog_compiler_can_build_shared=no
9601       ;;
9602
9603     uts4*)
9604       lt_prog_compiler_pic='-pic'
9605       lt_prog_compiler_static='-Bstatic'
9606       ;;
9607
9608     *)
9609       lt_prog_compiler_can_build_shared=no
9610       ;;
9611     esac
9612   fi
9613
9614 case $host_os in
9615   # For platforms that do not support PIC, -DPIC is meaningless:
9616   *djgpp*)
9617     lt_prog_compiler_pic=
9618     ;;
9619   *)
9620     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9621     ;;
9622 esac
9623
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9625 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9626 if ${lt_cv_prog_compiler_pic+:} false; then :
9627   $as_echo_n "(cached) " >&6
9628 else
9629   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9630 fi
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9632 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9633 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9634
9635 #
9636 # Check to make sure the PIC flag actually works.
9637 #
9638 if test -n "$lt_prog_compiler_pic"; then
9639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9640 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9641 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9642   $as_echo_n "(cached) " >&6
9643 else
9644   lt_cv_prog_compiler_pic_works=no
9645    ac_outfile=conftest.$ac_objext
9646    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9648    # Insert the option either (1) after the last *FLAGS variable, or
9649    # (2) before a word containing "conftest.", or (3) at the end.
9650    # Note that $ac_compile itself does not contain backslashes and begins
9651    # with a dollar sign (not a hyphen), so the echo should work correctly.
9652    # The option is referenced via a variable to avoid confusing sed.
9653    lt_compile=`echo "$ac_compile" | $SED \
9654    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9655    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9656    -e 's:$: $lt_compiler_flag:'`
9657    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9658    (eval "$lt_compile" 2>conftest.err)
9659    ac_status=$?
9660    cat conftest.err >&5
9661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662    if (exit $ac_status) && test -s "$ac_outfile"; then
9663      # The compiler can only warn and ignore the option if not recognized
9664      # So say no if there are warnings other than the usual output.
9665      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9666      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9667      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9668        lt_cv_prog_compiler_pic_works=yes
9669      fi
9670    fi
9671    $RM conftest*
9672
9673 fi
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9675 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9676
9677 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9678     case $lt_prog_compiler_pic in
9679      "" | " "*) ;;
9680      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9681      esac
9682 else
9683     lt_prog_compiler_pic=
9684      lt_prog_compiler_can_build_shared=no
9685 fi
9686
9687 fi
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699 #
9700 # Check to make sure the static flag actually works.
9701 #
9702 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9705 if ${lt_cv_prog_compiler_static_works+:} false; then :
9706   $as_echo_n "(cached) " >&6
9707 else
9708   lt_cv_prog_compiler_static_works=no
9709    save_LDFLAGS=$LDFLAGS
9710    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9711    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9712    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9713      # The linker can only warn and ignore the option if not recognized
9714      # So say no if there are warnings
9715      if test -s conftest.err; then
9716        # Append any errors to the config.log.
9717        cat conftest.err 1>&5
9718        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9719        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9720        if diff conftest.exp conftest.er2 >/dev/null; then
9721          lt_cv_prog_compiler_static_works=yes
9722        fi
9723      else
9724        lt_cv_prog_compiler_static_works=yes
9725      fi
9726    fi
9727    $RM -r conftest*
9728    LDFLAGS=$save_LDFLAGS
9729
9730 fi
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9732 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9733
9734 if test yes = "$lt_cv_prog_compiler_static_works"; then
9735     :
9736 else
9737     lt_prog_compiler_static=
9738 fi
9739
9740
9741
9742
9743
9744
9745
9746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9747 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9748 if ${lt_cv_prog_compiler_c_o+:} false; then :
9749   $as_echo_n "(cached) " >&6
9750 else
9751   lt_cv_prog_compiler_c_o=no
9752    $RM -r conftest 2>/dev/null
9753    mkdir conftest
9754    cd conftest
9755    mkdir out
9756    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9757
9758    lt_compiler_flag="-o out/conftest2.$ac_objext"
9759    # Insert the option either (1) after the last *FLAGS variable, or
9760    # (2) before a word containing "conftest.", or (3) at the end.
9761    # Note that $ac_compile itself does not contain backslashes and begins
9762    # with a dollar sign (not a hyphen), so the echo should work correctly.
9763    lt_compile=`echo "$ac_compile" | $SED \
9764    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9765    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9766    -e 's:$: $lt_compiler_flag:'`
9767    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9768    (eval "$lt_compile" 2>out/conftest.err)
9769    ac_status=$?
9770    cat out/conftest.err >&5
9771    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9773    then
9774      # The compiler can only warn and ignore the option if not recognized
9775      # So say no if there are warnings
9776      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9777      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9778      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9779        lt_cv_prog_compiler_c_o=yes
9780      fi
9781    fi
9782    chmod u+w . 2>&5
9783    $RM conftest*
9784    # SGI C++ compiler will create directory out/ii_files/ for
9785    # template instantiation
9786    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9787    $RM out/* && rmdir out
9788    cd ..
9789    $RM -r conftest
9790    $RM conftest*
9791
9792 fi
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9794 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9795
9796
9797
9798
9799
9800
9801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9802 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9803 if ${lt_cv_prog_compiler_c_o+:} false; then :
9804   $as_echo_n "(cached) " >&6
9805 else
9806   lt_cv_prog_compiler_c_o=no
9807    $RM -r conftest 2>/dev/null
9808    mkdir conftest
9809    cd conftest
9810    mkdir out
9811    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9812
9813    lt_compiler_flag="-o out/conftest2.$ac_objext"
9814    # Insert the option either (1) after the last *FLAGS variable, or
9815    # (2) before a word containing "conftest.", or (3) at the end.
9816    # Note that $ac_compile itself does not contain backslashes and begins
9817    # with a dollar sign (not a hyphen), so the echo should work correctly.
9818    lt_compile=`echo "$ac_compile" | $SED \
9819    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9820    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9821    -e 's:$: $lt_compiler_flag:'`
9822    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9823    (eval "$lt_compile" 2>out/conftest.err)
9824    ac_status=$?
9825    cat out/conftest.err >&5
9826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9828    then
9829      # The compiler can only warn and ignore the option if not recognized
9830      # So say no if there are warnings
9831      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9832      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9833      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9834        lt_cv_prog_compiler_c_o=yes
9835      fi
9836    fi
9837    chmod u+w . 2>&5
9838    $RM conftest*
9839    # SGI C++ compiler will create directory out/ii_files/ for
9840    # template instantiation
9841    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9842    $RM out/* && rmdir out
9843    cd ..
9844    $RM -r conftest
9845    $RM conftest*
9846
9847 fi
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9849 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9850
9851
9852
9853
9854 hard_links=nottested
9855 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9856   # do not overwrite the value of need_locks provided by the user
9857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9858 $as_echo_n "checking if we can lock with hard links... " >&6; }
9859   hard_links=yes
9860   $RM conftest*
9861   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9862   touch conftest.a
9863   ln conftest.a conftest.b 2>&5 || hard_links=no
9864   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9866 $as_echo "$hard_links" >&6; }
9867   if test no = "$hard_links"; then
9868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9869 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9870     need_locks=warn
9871   fi
9872 else
9873   need_locks=no
9874 fi
9875
9876
9877
9878
9879
9880
9881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9882 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9883
9884   runpath_var=
9885   allow_undefined_flag=
9886   always_export_symbols=no
9887   archive_cmds=
9888   archive_expsym_cmds=
9889   compiler_needs_object=no
9890   enable_shared_with_static_runtimes=no
9891   export_dynamic_flag_spec=
9892   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9893   hardcode_automatic=no
9894   hardcode_direct=no
9895   hardcode_direct_absolute=no
9896   hardcode_libdir_flag_spec=
9897   hardcode_libdir_separator=
9898   hardcode_minus_L=no
9899   hardcode_shlibpath_var=unsupported
9900   inherit_rpath=no
9901   link_all_deplibs=unknown
9902   module_cmds=
9903   module_expsym_cmds=
9904   old_archive_from_new_cmds=
9905   old_archive_from_expsyms_cmds=
9906   thread_safe_flag_spec=
9907   whole_archive_flag_spec=
9908   # include_expsyms should be a list of space-separated symbols to be *always*
9909   # included in the symbol list
9910   include_expsyms=
9911   # exclude_expsyms can be an extended regexp of symbols to exclude
9912   # it will be wrapped by ' (' and ')$', so one must not match beginning or
9913   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9914   # as well as any symbol that contains 'd'.
9915   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9916   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9917   # platforms (ab)use it in PIC code, but their linkers get confused if
9918   # the symbol is explicitly referenced.  Since portable code cannot
9919   # rely on this symbol name, it's probably fine to never include it in
9920   # preloaded symbol tables.
9921   # Exclude shared library initialization/finalization symbols.
9922   extract_expsyms_cmds=
9923
9924   case $host_os in
9925   cygwin* | mingw* | pw32* | cegcc*)
9926     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9927     # When not using gcc, we currently assume that we are using
9928     # Microsoft Visual C++.
9929     if test yes != "$GCC"; then
9930       with_gnu_ld=no
9931     fi
9932     ;;
9933   interix*)
9934     # we just hope/assume this is gcc and not c89 (= MSVC++)
9935     with_gnu_ld=yes
9936     ;;
9937   openbsd* | bitrig*)
9938     with_gnu_ld=no
9939     ;;
9940   esac
9941
9942   ld_shlibs=yes
9943
9944   # On some targets, GNU ld is compatible enough with the native linker
9945   # that we're better off using the native interface for both.
9946   lt_use_gnu_ld_interface=no
9947   if test yes = "$with_gnu_ld"; then
9948     case $host_os in
9949       aix*)
9950         # The AIX port of GNU ld has always aspired to compatibility
9951         # with the native linker.  However, as the warning in the GNU ld
9952         # block says, versions before 2.19.5* couldn't really create working
9953         # shared libraries, regardless of the interface used.
9954         case `$LD -v 2>&1` in
9955           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9956           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9957           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9958           *)
9959             lt_use_gnu_ld_interface=yes
9960             ;;
9961         esac
9962         ;;
9963       *)
9964         lt_use_gnu_ld_interface=yes
9965         ;;
9966     esac
9967   fi
9968
9969   if test yes = "$lt_use_gnu_ld_interface"; then
9970     # If archive_cmds runs LD, not CC, wlarc should be empty
9971     wlarc='$wl'
9972
9973     # Set some defaults for GNU ld with shared library support. These
9974     # are reset later if shared libraries are not supported. Putting them
9975     # here allows them to be overridden if necessary.
9976     runpath_var=LD_RUN_PATH
9977     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9978     export_dynamic_flag_spec='$wl--export-dynamic'
9979     # ancient GNU ld didn't support --whole-archive et. al.
9980     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9981       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9982     else
9983       whole_archive_flag_spec=
9984     fi
9985     supports_anon_versioning=no
9986     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9987       *GNU\ gold*) supports_anon_versioning=yes ;;
9988       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9989       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9990       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9991       *\ 2.11.*) ;; # other 2.11 versions
9992       *) supports_anon_versioning=yes ;;
9993     esac
9994
9995     # See if GNU ld supports shared libraries.
9996     case $host_os in
9997     aix[3-9]*)
9998       # On AIX/PPC, the GNU linker is very broken
9999       if test ia64 != "$host_cpu"; then
10000         ld_shlibs=no
10001         cat <<_LT_EOF 1>&2
10002
10003 *** Warning: the GNU linker, at least up to release 2.19, is reported
10004 *** to be unable to reliably create shared libraries on AIX.
10005 *** Therefore, libtool is disabling shared libraries support.  If you
10006 *** really care for shared libraries, you may want to install binutils
10007 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10008 *** You will then need to restart the configuration process.
10009
10010 _LT_EOF
10011       fi
10012       ;;
10013
10014     amigaos*)
10015       case $host_cpu in
10016       powerpc)
10017             # see comment about AmigaOS4 .so support
10018             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10019             archive_expsym_cmds=''
10020         ;;
10021       m68k)
10022             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)'
10023             hardcode_libdir_flag_spec='-L$libdir'
10024             hardcode_minus_L=yes
10025         ;;
10026       esac
10027       ;;
10028
10029     beos*)
10030       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10031         allow_undefined_flag=unsupported
10032         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10033         # support --undefined.  This deserves some investigation.  FIXME
10034         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10035       else
10036         ld_shlibs=no
10037       fi
10038       ;;
10039
10040     cygwin* | mingw* | pw32* | cegcc*)
10041       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10042       # as there is no search path for DLLs.
10043       hardcode_libdir_flag_spec='-L$libdir'
10044       export_dynamic_flag_spec='$wl--export-all-symbols'
10045       allow_undefined_flag=unsupported
10046       always_export_symbols=no
10047       enable_shared_with_static_runtimes=yes
10048       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'
10049       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10050
10051       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10052         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10053         # If the export-symbols file already is a .def file, use it as
10054         # is; otherwise, prepend EXPORTS...
10055         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10056           cp $export_symbols $output_objdir/$soname.def;
10057         else
10058           echo EXPORTS > $output_objdir/$soname.def;
10059           cat $export_symbols >> $output_objdir/$soname.def;
10060         fi~
10061         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10062       else
10063         ld_shlibs=no
10064       fi
10065       ;;
10066
10067     haiku*)
10068       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10069       link_all_deplibs=yes
10070       ;;
10071
10072     os2*)
10073       hardcode_libdir_flag_spec='-L$libdir'
10074       hardcode_minus_L=yes
10075       allow_undefined_flag=unsupported
10076       shrext_cmds=.dll
10077       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10078         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10079         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10080         $ECHO EXPORTS >> $output_objdir/$libname.def~
10081         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10082         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10083         emximp -o $lib $output_objdir/$libname.def'
10084       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10085         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10086         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10087         $ECHO EXPORTS >> $output_objdir/$libname.def~
10088         prefix_cmds="$SED"~
10089         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10090           prefix_cmds="$prefix_cmds -e 1d";
10091         fi~
10092         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10093         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10094         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10095         emximp -o $lib $output_objdir/$libname.def'
10096       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10097       enable_shared_with_static_runtimes=yes
10098       ;;
10099
10100     interix[3-9]*)
10101       hardcode_direct=no
10102       hardcode_shlibpath_var=no
10103       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10104       export_dynamic_flag_spec='$wl-E'
10105       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10106       # Instead, shared libraries are loaded at an image base (0x10000000 by
10107       # default) and relocated if they conflict, which is a slow very memory
10108       # consuming and fragmenting process.  To avoid this, we pick a random,
10109       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10110       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10111       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10112       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'
10113       ;;
10114
10115     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10116       tmp_diet=no
10117       if test linux-dietlibc = "$host_os"; then
10118         case $cc_basename in
10119           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10120         esac
10121       fi
10122       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10123          && test no = "$tmp_diet"
10124       then
10125         tmp_addflag=' $pic_flag'
10126         tmp_sharedflag='-shared'
10127         case $cc_basename,$host_cpu in
10128         pgcc*)                          # Portland Group C compiler
10129           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'
10130           tmp_addflag=' $pic_flag'
10131           ;;
10132         pgf77* | pgf90* | pgf95* | pgfortran*)
10133                                         # Portland Group f77 and f90 compilers
10134           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'
10135           tmp_addflag=' $pic_flag -Mnomain' ;;
10136         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10137           tmp_addflag=' -i_dynamic' ;;
10138         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10139           tmp_addflag=' -i_dynamic -nofor_main' ;;
10140         ifc* | ifort*)                  # Intel Fortran compiler
10141           tmp_addflag=' -nofor_main' ;;
10142         lf95*)                          # Lahey Fortran 8.1
10143           whole_archive_flag_spec=
10144           tmp_sharedflag='--shared' ;;
10145         nagfor*)                        # NAGFOR 5.3
10146           tmp_sharedflag='-Wl,-shared' ;;
10147         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10148           tmp_sharedflag='-qmkshrobj'
10149           tmp_addflag= ;;
10150         nvcc*)  # Cuda Compiler Driver 2.2
10151           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'
10152           compiler_needs_object=yes
10153           ;;
10154         esac
10155         case `$CC -V 2>&1 | sed 5q` in
10156         *Sun\ C*)                       # Sun C 5.9
10157           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'
10158           compiler_needs_object=yes
10159           tmp_sharedflag='-G' ;;
10160         *Sun\ F*)                       # Sun Fortran 8.3
10161           tmp_sharedflag='-G' ;;
10162         esac
10163         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10164
10165         if test yes = "$supports_anon_versioning"; then
10166           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10167             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10168             echo "local: *; };" >> $output_objdir/$libname.ver~
10169             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10170         fi
10171
10172         case $cc_basename in
10173         tcc*)
10174           export_dynamic_flag_spec='-rdynamic'
10175           ;;
10176         xlf* | bgf* | bgxlf* | mpixlf*)
10177           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10178           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10179           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10180           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10181           if test yes = "$supports_anon_versioning"; then
10182             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10183               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10184               echo "local: *; };" >> $output_objdir/$libname.ver~
10185               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10186           fi
10187           ;;
10188         esac
10189       else
10190         ld_shlibs=no
10191       fi
10192       ;;
10193
10194     netbsd*)
10195       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10196         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10197         wlarc=
10198       else
10199         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10200         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10201       fi
10202       ;;
10203
10204     solaris*)
10205       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10206         ld_shlibs=no
10207         cat <<_LT_EOF 1>&2
10208
10209 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10210 *** create shared libraries on Solaris systems.  Therefore, libtool
10211 *** is disabling shared libraries support.  We urge you to upgrade GNU
10212 *** binutils to release 2.9.1 or newer.  Another option is to modify
10213 *** your PATH or compiler configuration so that the native linker is
10214 *** used, and then restart.
10215
10216 _LT_EOF
10217       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10218         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10220       else
10221         ld_shlibs=no
10222       fi
10223       ;;
10224
10225     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10226       case `$LD -v 2>&1` in
10227         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10228         ld_shlibs=no
10229         cat <<_LT_EOF 1>&2
10230
10231 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10232 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10233 *** is disabling shared libraries support.  We urge you to upgrade GNU
10234 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10235 *** your PATH or compiler configuration so that the native linker is
10236 *** used, and then restart.
10237
10238 _LT_EOF
10239         ;;
10240         *)
10241           # For security reasons, it is highly recommended that you always
10242           # use absolute paths for naming shared libraries, and exclude the
10243           # DT_RUNPATH tag from executables and libraries.  But doing so
10244           # requires that you compile everything twice, which is a pain.
10245           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10246             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10247             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10248             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10249           else
10250             ld_shlibs=no
10251           fi
10252         ;;
10253       esac
10254       ;;
10255
10256     sunos4*)
10257       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10258       wlarc=
10259       hardcode_direct=yes
10260       hardcode_shlibpath_var=no
10261       ;;
10262
10263     *)
10264       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10265         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10266         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10267       else
10268         ld_shlibs=no
10269       fi
10270       ;;
10271     esac
10272
10273     if test no = "$ld_shlibs"; then
10274       runpath_var=
10275       hardcode_libdir_flag_spec=
10276       export_dynamic_flag_spec=
10277       whole_archive_flag_spec=
10278     fi
10279   else
10280     # PORTME fill in a description of your system's linker (not GNU ld)
10281     case $host_os in
10282     aix3*)
10283       allow_undefined_flag=unsupported
10284       always_export_symbols=yes
10285       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'
10286       # Note: this linker hardcodes the directories in LIBPATH if there
10287       # are no directories specified by -L.
10288       hardcode_minus_L=yes
10289       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10290         # Neither direct hardcoding nor static linking is supported with a
10291         # broken collect2.
10292         hardcode_direct=unsupported
10293       fi
10294       ;;
10295
10296     aix[4-9]*)
10297       if test ia64 = "$host_cpu"; then
10298         # On IA64, the linker does run time linking by default, so we don't
10299         # have to do anything special.
10300         aix_use_runtimelinking=no
10301         exp_sym_flag='-Bexport'
10302         no_entry_flag=
10303       else
10304         # If we're using GNU nm, then we don't want the "-C" option.
10305         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10306         # Without the "-l" option, or with the "-B" option, AIX nm treats
10307         # weak defined symbols like other global defined symbols, whereas
10308         # GNU nm marks them as "W".
10309         # While the 'weak' keyword is ignored in the Export File, we need
10310         # it in the Import File for the 'aix-soname' feature, so we have
10311         # to replace the "-B" option with "-P" for AIX nm.
10312         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10313           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10314         else
10315           export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10316         fi
10317         aix_use_runtimelinking=no
10318
10319         # Test if we are trying to use run time linking or normal
10320         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10321         # have runtime linking enabled, and use it for executables.
10322         # For shared libraries, we enable/disable runtime linking
10323         # depending on the kind of the shared library created -
10324         # when "with_aix_soname,aix_use_runtimelinking" is:
10325         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10326         # "aix,yes"  lib.so          shared, rtl:yes, for executables
10327         #            lib.a           static archive
10328         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
10329         #            lib.a(lib.so.V) shared, rtl:no,  for executables
10330         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10331         #            lib.a(lib.so.V) shared, rtl:no
10332         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10333         #            lib.a           static archive
10334         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10335           for ld_flag in $LDFLAGS; do
10336           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10337             aix_use_runtimelinking=yes
10338             break
10339           fi
10340           done
10341           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10342             # With aix-soname=svr4, we create the lib.so.V shared archives only,
10343             # so we don't have lib.a shared libs to link our executables.
10344             # We have to force runtime linking in this case.
10345             aix_use_runtimelinking=yes
10346             LDFLAGS="$LDFLAGS -Wl,-brtl"
10347           fi
10348           ;;
10349         esac
10350
10351         exp_sym_flag='-bexport'
10352         no_entry_flag='-bnoentry'
10353       fi
10354
10355       # When large executables or shared objects are built, AIX ld can
10356       # have problems creating the table of contents.  If linking a library
10357       # or program results in "error TOC overflow" add -mminimal-toc to
10358       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10359       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10360
10361       archive_cmds=''
10362       hardcode_direct=yes
10363       hardcode_direct_absolute=yes
10364       hardcode_libdir_separator=':'
10365       link_all_deplibs=yes
10366       file_list_spec='$wl-f,'
10367       case $with_aix_soname,$aix_use_runtimelinking in
10368       aix,*) ;; # traditional, no import file
10369       svr4,* | *,yes) # use import file
10370         # The Import File defines what to hardcode.
10371         hardcode_direct=no
10372         hardcode_direct_absolute=no
10373         ;;
10374       esac
10375
10376       if test yes = "$GCC"; then
10377         case $host_os in aix4.[012]|aix4.[012].*)
10378         # We only want to do this on AIX 4.2 and lower, the check
10379         # below for broken collect2 doesn't work under 4.3+
10380           collect2name=`$CC -print-prog-name=collect2`
10381           if test -f "$collect2name" &&
10382            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10383           then
10384           # We have reworked collect2
10385           :
10386           else
10387           # We have old collect2
10388           hardcode_direct=unsupported
10389           # It fails to find uninstalled libraries when the uninstalled
10390           # path is not listed in the libpath.  Setting hardcode_minus_L
10391           # to unsupported forces relinking
10392           hardcode_minus_L=yes
10393           hardcode_libdir_flag_spec='-L$libdir'
10394           hardcode_libdir_separator=
10395           fi
10396           ;;
10397         esac
10398         shared_flag='-shared'
10399         if test yes = "$aix_use_runtimelinking"; then
10400           shared_flag="$shared_flag "'$wl-G'
10401         fi
10402         # Need to ensure runtime linking is disabled for the traditional
10403         # shared library, or the linker may eventually find shared libraries
10404         # /with/ Import File - we do not want to mix them.
10405         shared_flag_aix='-shared'
10406         shared_flag_svr4='-shared $wl-G'
10407       else
10408         # not using gcc
10409         if test ia64 = "$host_cpu"; then
10410         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10411         # chokes on -Wl,-G. The following line is correct:
10412           shared_flag='-G'
10413         else
10414           if test yes = "$aix_use_runtimelinking"; then
10415             shared_flag='$wl-G'
10416           else
10417             shared_flag='$wl-bM:SRE'
10418           fi
10419           shared_flag_aix='$wl-bM:SRE'
10420           shared_flag_svr4='$wl-G'
10421         fi
10422       fi
10423
10424       export_dynamic_flag_spec='$wl-bexpall'
10425       # It seems that -bexpall does not export symbols beginning with
10426       # underscore (_), so it is better to generate a list of symbols to export.
10427       always_export_symbols=yes
10428       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10429         # Warning - without using the other runtime loading flags (-brtl),
10430         # -berok will link without error, but may produce a broken library.
10431         allow_undefined_flag='-berok'
10432         # Determine the default libpath from the value encoded in an
10433         # empty executable.
10434         if test set = "${lt_cv_aix_libpath+set}"; then
10435   aix_libpath=$lt_cv_aix_libpath
10436 else
10437   if ${lt_cv_aix_libpath_+:} false; then :
10438   $as_echo_n "(cached) " >&6
10439 else
10440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h.  */
10442
10443 int
10444 main ()
10445 {
10446
10447   ;
10448   return 0;
10449 }
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"; then :
10452
10453   lt_aix_libpath_sed='
10454       /Import File Strings/,/^$/ {
10455           /^0/ {
10456               s/^0  *\([^ ]*\) *$/\1/
10457               p
10458           }
10459       }'
10460   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10461   # Check for a 64-bit object if we didn't find anything.
10462   if test -z "$lt_cv_aix_libpath_"; then
10463     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10464   fi
10465 fi
10466 rm -f core conftest.err conftest.$ac_objext \
10467     conftest$ac_exeext conftest.$ac_ext
10468   if test -z "$lt_cv_aix_libpath_"; then
10469     lt_cv_aix_libpath_=/usr/lib:/lib
10470   fi
10471
10472 fi
10473
10474   aix_libpath=$lt_cv_aix_libpath_
10475 fi
10476
10477         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10478         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10479       else
10480         if test ia64 = "$host_cpu"; then
10481           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10482           allow_undefined_flag="-z nodefs"
10483           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"
10484         else
10485          # Determine the default libpath from the value encoded in an
10486          # empty executable.
10487          if test set = "${lt_cv_aix_libpath+set}"; then
10488   aix_libpath=$lt_cv_aix_libpath
10489 else
10490   if ${lt_cv_aix_libpath_+:} false; then :
10491   $as_echo_n "(cached) " >&6
10492 else
10493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h.  */
10495
10496 int
10497 main ()
10498 {
10499
10500   ;
10501   return 0;
10502 }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505
10506   lt_aix_libpath_sed='
10507       /Import File Strings/,/^$/ {
10508           /^0/ {
10509               s/^0  *\([^ ]*\) *$/\1/
10510               p
10511           }
10512       }'
10513   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10514   # Check for a 64-bit object if we didn't find anything.
10515   if test -z "$lt_cv_aix_libpath_"; then
10516     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10517   fi
10518 fi
10519 rm -f core conftest.err conftest.$ac_objext \
10520     conftest$ac_exeext conftest.$ac_ext
10521   if test -z "$lt_cv_aix_libpath_"; then
10522     lt_cv_aix_libpath_=/usr/lib:/lib
10523   fi
10524
10525 fi
10526
10527   aix_libpath=$lt_cv_aix_libpath_
10528 fi
10529
10530          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10531           # Warning - without using the other run time loading flags,
10532           # -berok will link without error, but may produce a broken library.
10533           no_undefined_flag=' $wl-bernotok'
10534           allow_undefined_flag=' $wl-berok'
10535           if test yes = "$with_gnu_ld"; then
10536             # We only use this code for GNU lds that support --whole-archive.
10537             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10538           else
10539             # Exported symbols can be pulled into shared objects from archives
10540             whole_archive_flag_spec='$convenience'
10541           fi
10542           archive_cmds_need_lc=yes
10543           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10544           # -brtl affects multiple linker settings, -berok does not and is overridden later
10545           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10546           if test svr4 != "$with_aix_soname"; then
10547             # This is similar to how AIX traditionally builds its shared libraries.
10548             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10549           fi
10550           if test aix != "$with_aix_soname"; then
10551             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10552           else
10553             # used by -dlpreopen to get the symbols
10554             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10555           fi
10556           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10557         fi
10558       fi
10559       ;;
10560
10561     amigaos*)
10562       case $host_cpu in
10563       powerpc)
10564             # see comment about AmigaOS4 .so support
10565             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10566             archive_expsym_cmds=''
10567         ;;
10568       m68k)
10569             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)'
10570             hardcode_libdir_flag_spec='-L$libdir'
10571             hardcode_minus_L=yes
10572         ;;
10573       esac
10574       ;;
10575
10576     bsdi[45]*)
10577       export_dynamic_flag_spec=-rdynamic
10578       ;;
10579
10580     cygwin* | mingw* | pw32* | cegcc*)
10581       # When not using gcc, we currently assume that we are using
10582       # Microsoft Visual C++.
10583       # hardcode_libdir_flag_spec is actually meaningless, as there is
10584       # no search path for DLLs.
10585       case $cc_basename in
10586       cl*)
10587         # Native MSVC
10588         hardcode_libdir_flag_spec=' '
10589         allow_undefined_flag=unsupported
10590         always_export_symbols=yes
10591         file_list_spec='@'
10592         # Tell ltmain to make .lib files, not .a files.
10593         libext=lib
10594         # Tell ltmain to make .dll files, not .so files.
10595         shrext_cmds=.dll
10596         # FIXME: Setting linknames here is a bad hack.
10597         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10598         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10599             cp "$export_symbols" "$output_objdir/$soname.def";
10600             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10601           else
10602             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10603           fi~
10604           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10605           linknames='
10606         # The linker will not automatically build a static lib if we build a DLL.
10607         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10608         enable_shared_with_static_runtimes=yes
10609         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10610         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10611         # Don't use ranlib
10612         old_postinstall_cmds='chmod 644 $oldlib'
10613         postlink_cmds='lt_outputfile="@OUTPUT@"~
10614           lt_tool_outputfile="@TOOL_OUTPUT@"~
10615           case $lt_outputfile in
10616             *.exe|*.EXE) ;;
10617             *)
10618               lt_outputfile=$lt_outputfile.exe
10619               lt_tool_outputfile=$lt_tool_outputfile.exe
10620               ;;
10621           esac~
10622           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10623             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10624             $RM "$lt_outputfile.manifest";
10625           fi'
10626         ;;
10627       *)
10628         # Assume MSVC wrapper
10629         hardcode_libdir_flag_spec=' '
10630         allow_undefined_flag=unsupported
10631         # Tell ltmain to make .lib files, not .a files.
10632         libext=lib
10633         # Tell ltmain to make .dll files, not .so files.
10634         shrext_cmds=.dll
10635         # FIXME: Setting linknames here is a bad hack.
10636         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10637         # The linker will automatically build a .lib file if we build a DLL.
10638         old_archive_from_new_cmds='true'
10639         # FIXME: Should let the user specify the lib program.
10640         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10641         enable_shared_with_static_runtimes=yes
10642         ;;
10643       esac
10644       ;;
10645
10646     darwin* | rhapsody*)
10647
10648
10649   archive_cmds_need_lc=no
10650   hardcode_direct=no
10651   hardcode_automatic=yes
10652   hardcode_shlibpath_var=unsupported
10653   if test yes = "$lt_cv_ld_force_load"; then
10654     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\"`'
10655
10656   else
10657     whole_archive_flag_spec=''
10658   fi
10659   link_all_deplibs=yes
10660   allow_undefined_flag=$_lt_dar_allow_undefined
10661   case $cc_basename in
10662      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10663      *) _lt_dar_can_shared=$GCC ;;
10664   esac
10665   if test yes = "$_lt_dar_can_shared"; then
10666     output_verbose_link_cmd=func_echo_all
10667     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10668     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10669     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"
10670     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"
10671
10672   else
10673   ld_shlibs=no
10674   fi
10675
10676       ;;
10677
10678     dgux*)
10679       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10680       hardcode_libdir_flag_spec='-L$libdir'
10681       hardcode_shlibpath_var=no
10682       ;;
10683
10684     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10685     # support.  Future versions do this automatically, but an explicit c++rt0.o
10686     # does not break anything, and helps significantly (at the cost of a little
10687     # extra space).
10688     freebsd2.2*)
10689       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10690       hardcode_libdir_flag_spec='-R$libdir'
10691       hardcode_direct=yes
10692       hardcode_shlibpath_var=no
10693       ;;
10694
10695     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10696     freebsd2.*)
10697       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10698       hardcode_direct=yes
10699       hardcode_minus_L=yes
10700       hardcode_shlibpath_var=no
10701       ;;
10702
10703     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10704     freebsd* | dragonfly*)
10705       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10706       hardcode_libdir_flag_spec='-R$libdir'
10707       hardcode_direct=yes
10708       hardcode_shlibpath_var=no
10709       ;;
10710
10711     hpux9*)
10712       if test yes = "$GCC"; then
10713         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10714       else
10715         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10716       fi
10717       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10718       hardcode_libdir_separator=:
10719       hardcode_direct=yes
10720
10721       # hardcode_minus_L: Not really in the search PATH,
10722       # but as the default location of the library.
10723       hardcode_minus_L=yes
10724       export_dynamic_flag_spec='$wl-E'
10725       ;;
10726
10727     hpux10*)
10728       if test yes,no = "$GCC,$with_gnu_ld"; then
10729         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10730       else
10731         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10732       fi
10733       if test no = "$with_gnu_ld"; then
10734         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10735         hardcode_libdir_separator=:
10736         hardcode_direct=yes
10737         hardcode_direct_absolute=yes
10738         export_dynamic_flag_spec='$wl-E'
10739         # hardcode_minus_L: Not really in the search PATH,
10740         # but as the default location of the library.
10741         hardcode_minus_L=yes
10742       fi
10743       ;;
10744
10745     hpux11*)
10746       if test yes,no = "$GCC,$with_gnu_ld"; then
10747         case $host_cpu in
10748         hppa*64*)
10749           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10750           ;;
10751         ia64*)
10752           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10753           ;;
10754         *)
10755           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10756           ;;
10757         esac
10758       else
10759         case $host_cpu in
10760         hppa*64*)
10761           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10762           ;;
10763         ia64*)
10764           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10765           ;;
10766         *)
10767
10768           # Older versions of the 11.00 compiler do not understand -b yet
10769           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10770           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10771 $as_echo_n "checking if $CC understands -b... " >&6; }
10772 if ${lt_cv_prog_compiler__b+:} false; then :
10773   $as_echo_n "(cached) " >&6
10774 else
10775   lt_cv_prog_compiler__b=no
10776    save_LDFLAGS=$LDFLAGS
10777    LDFLAGS="$LDFLAGS -b"
10778    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10779    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10780      # The linker can only warn and ignore the option if not recognized
10781      # So say no if there are warnings
10782      if test -s conftest.err; then
10783        # Append any errors to the config.log.
10784        cat conftest.err 1>&5
10785        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10786        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10787        if diff conftest.exp conftest.er2 >/dev/null; then
10788          lt_cv_prog_compiler__b=yes
10789        fi
10790      else
10791        lt_cv_prog_compiler__b=yes
10792      fi
10793    fi
10794    $RM -r conftest*
10795    LDFLAGS=$save_LDFLAGS
10796
10797 fi
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10799 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10800
10801 if test yes = "$lt_cv_prog_compiler__b"; then
10802     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10803 else
10804     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10805 fi
10806
10807           ;;
10808         esac
10809       fi
10810       if test no = "$with_gnu_ld"; then
10811         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10812         hardcode_libdir_separator=:
10813
10814         case $host_cpu in
10815         hppa*64*|ia64*)
10816           hardcode_direct=no
10817           hardcode_shlibpath_var=no
10818           ;;
10819         *)
10820           hardcode_direct=yes
10821           hardcode_direct_absolute=yes
10822           export_dynamic_flag_spec='$wl-E'
10823
10824           # hardcode_minus_L: Not really in the search PATH,
10825           # but as the default location of the library.
10826           hardcode_minus_L=yes
10827           ;;
10828         esac
10829       fi
10830       ;;
10831
10832     irix5* | irix6* | nonstopux*)
10833       if test yes = "$GCC"; then
10834         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'
10835         # Try to use the -exported_symbol ld option, if it does not
10836         # work, assume that -exports_file does not work either and
10837         # implicitly export all symbols.
10838         # This should be the same for all languages, so no per-tag cache variable.
10839         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10840 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10841 if ${lt_cv_irix_exported_symbol+:} false; then :
10842   $as_echo_n "(cached) " >&6
10843 else
10844   save_LDFLAGS=$LDFLAGS
10845            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10846            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h.  */
10848 int foo (void) { return 0; }
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851   lt_cv_irix_exported_symbol=yes
10852 else
10853   lt_cv_irix_exported_symbol=no
10854 fi
10855 rm -f core conftest.err conftest.$ac_objext \
10856     conftest$ac_exeext conftest.$ac_ext
10857            LDFLAGS=$save_LDFLAGS
10858 fi
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10860 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10861         if test yes = "$lt_cv_irix_exported_symbol"; then
10862           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'
10863         fi
10864       else
10865         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'
10866         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'
10867       fi
10868       archive_cmds_need_lc='no'
10869       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10870       hardcode_libdir_separator=:
10871       inherit_rpath=yes
10872       link_all_deplibs=yes
10873       ;;
10874
10875     linux*)
10876       case $cc_basename in
10877       tcc*)
10878         # Fabrice Bellard et al's Tiny C Compiler
10879         ld_shlibs=yes
10880         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10881         ;;
10882       esac
10883       ;;
10884
10885     netbsd*)
10886       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10887         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10888       else
10889         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10890       fi
10891       hardcode_libdir_flag_spec='-R$libdir'
10892       hardcode_direct=yes
10893       hardcode_shlibpath_var=no
10894       ;;
10895
10896     newsos6)
10897       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898       hardcode_direct=yes
10899       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10900       hardcode_libdir_separator=:
10901       hardcode_shlibpath_var=no
10902       ;;
10903
10904     *nto* | *qnx*)
10905       ;;
10906
10907     openbsd* | bitrig*)
10908       if test -f /usr/libexec/ld.so; then
10909         hardcode_direct=yes
10910         hardcode_shlibpath_var=no
10911         hardcode_direct_absolute=yes
10912         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10913           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10914           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10915           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10916           export_dynamic_flag_spec='$wl-E'
10917         else
10918           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10919           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10920         fi
10921       else
10922         ld_shlibs=no
10923       fi
10924       ;;
10925
10926     os2*)
10927       hardcode_libdir_flag_spec='-L$libdir'
10928       hardcode_minus_L=yes
10929       allow_undefined_flag=unsupported
10930       shrext_cmds=.dll
10931       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10932         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10933         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10934         $ECHO EXPORTS >> $output_objdir/$libname.def~
10935         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10936         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10937         emximp -o $lib $output_objdir/$libname.def'
10938       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10939         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10940         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10941         $ECHO EXPORTS >> $output_objdir/$libname.def~
10942         prefix_cmds="$SED"~
10943         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10944           prefix_cmds="$prefix_cmds -e 1d";
10945         fi~
10946         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10947         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10948         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10949         emximp -o $lib $output_objdir/$libname.def'
10950       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10951       enable_shared_with_static_runtimes=yes
10952       ;;
10953
10954     osf3*)
10955       if test yes = "$GCC"; then
10956         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10957         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'
10958       else
10959         allow_undefined_flag=' -expect_unresolved \*'
10960         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'
10961       fi
10962       archive_cmds_need_lc='no'
10963       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10964       hardcode_libdir_separator=:
10965       ;;
10966
10967     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10968       if test yes = "$GCC"; then
10969         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10970         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'
10971         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10972       else
10973         allow_undefined_flag=' -expect_unresolved \*'
10974         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'
10975         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~
10976           $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'
10977
10978         # Both c and cxx compiler support -rpath directly
10979         hardcode_libdir_flag_spec='-rpath $libdir'
10980       fi
10981       archive_cmds_need_lc='no'
10982       hardcode_libdir_separator=:
10983       ;;
10984
10985     solaris*)
10986       no_undefined_flag=' -z defs'
10987       if test yes = "$GCC"; then
10988         wlarc='$wl'
10989         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10990         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10991           $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'
10992       else
10993         case `$CC -V 2>&1` in
10994         *"Compilers 5.0"*)
10995           wlarc=''
10996           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10997           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10998             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10999           ;;
11000         *)
11001           wlarc='$wl'
11002           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11003           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11004             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11005           ;;
11006         esac
11007       fi
11008       hardcode_libdir_flag_spec='-R$libdir'
11009       hardcode_shlibpath_var=no
11010       case $host_os in
11011       solaris2.[0-5] | solaris2.[0-5].*) ;;
11012       *)
11013         # The compiler driver will combine and reorder linker options,
11014         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11015         # but is careful enough not to reorder.
11016         # Supported since Solaris 2.6 (maybe 2.5.1?)
11017         if test yes = "$GCC"; then
11018           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11019         else
11020           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11021         fi
11022         ;;
11023       esac
11024       link_all_deplibs=yes
11025       ;;
11026
11027     sunos4*)
11028       if test sequent = "$host_vendor"; then
11029         # Use $CC to link under sequent, because it throws in some extra .o
11030         # files that make .init and .fini sections work.
11031         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11032       else
11033         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11034       fi
11035       hardcode_libdir_flag_spec='-L$libdir'
11036       hardcode_direct=yes
11037       hardcode_minus_L=yes
11038       hardcode_shlibpath_var=no
11039       ;;
11040
11041     sysv4)
11042       case $host_vendor in
11043         sni)
11044           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11045           hardcode_direct=yes # is this really true???
11046         ;;
11047         siemens)
11048           ## LD is ld it makes a PLAMLIB
11049           ## CC just makes a GrossModule.
11050           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11051           reload_cmds='$CC -r -o $output$reload_objs'
11052           hardcode_direct=no
11053         ;;
11054         motorola)
11055           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11056           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11057         ;;
11058       esac
11059       runpath_var='LD_RUN_PATH'
11060       hardcode_shlibpath_var=no
11061       ;;
11062
11063     sysv4.3*)
11064       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11065       hardcode_shlibpath_var=no
11066       export_dynamic_flag_spec='-Bexport'
11067       ;;
11068
11069     sysv4*MP*)
11070       if test -d /usr/nec; then
11071         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11072         hardcode_shlibpath_var=no
11073         runpath_var=LD_RUN_PATH
11074         hardcode_runpath_var=yes
11075         ld_shlibs=yes
11076       fi
11077       ;;
11078
11079     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11080       no_undefined_flag='$wl-z,text'
11081       archive_cmds_need_lc=no
11082       hardcode_shlibpath_var=no
11083       runpath_var='LD_RUN_PATH'
11084
11085       if test yes = "$GCC"; then
11086         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11087         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11088       else
11089         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11090         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11091       fi
11092       ;;
11093
11094     sysv5* | sco3.2v5* | sco5v6*)
11095       # Note: We CANNOT use -z defs as we might desire, because we do not
11096       # link with -lc, and that would cause any symbols used from libc to
11097       # always be unresolved, which means just about no library would
11098       # ever link correctly.  If we're not using GNU ld we use -z text
11099       # though, which does catch some bad symbols but isn't as heavy-handed
11100       # as -z defs.
11101       no_undefined_flag='$wl-z,text'
11102       allow_undefined_flag='$wl-z,nodefs'
11103       archive_cmds_need_lc=no
11104       hardcode_shlibpath_var=no
11105       hardcode_libdir_flag_spec='$wl-R,$libdir'
11106       hardcode_libdir_separator=':'
11107       link_all_deplibs=yes
11108       export_dynamic_flag_spec='$wl-Bexport'
11109       runpath_var='LD_RUN_PATH'
11110
11111       if test yes = "$GCC"; then
11112         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11113         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11114       else
11115         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11116         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11117       fi
11118       ;;
11119
11120     uts4*)
11121       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11122       hardcode_libdir_flag_spec='-L$libdir'
11123       hardcode_shlibpath_var=no
11124       ;;
11125
11126     *)
11127       ld_shlibs=no
11128       ;;
11129     esac
11130
11131     if test sni = "$host_vendor"; then
11132       case $host in
11133       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11134         export_dynamic_flag_spec='$wl-Blargedynsym'
11135         ;;
11136       esac
11137     fi
11138   fi
11139
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11141 $as_echo "$ld_shlibs" >&6; }
11142 test no = "$ld_shlibs" && can_build_shared=no
11143
11144 with_gnu_ld=$with_gnu_ld
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160 #
11161 # Do we need to explicitly link libc?
11162 #
11163 case "x$archive_cmds_need_lc" in
11164 x|xyes)
11165   # Assume -lc should be added
11166   archive_cmds_need_lc=yes
11167
11168   if test yes,yes = "$GCC,$enable_shared"; then
11169     case $archive_cmds in
11170     *'~'*)
11171       # FIXME: we may have to deal with multi-command sequences.
11172       ;;
11173     '$CC '*)
11174       # Test whether the compiler implicitly links with -lc since on some
11175       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11176       # to ld, don't add -lc before -lgcc.
11177       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11178 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11179 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11180   $as_echo_n "(cached) " >&6
11181 else
11182   $RM conftest*
11183         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11184
11185         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11186   (eval $ac_compile) 2>&5
11187   ac_status=$?
11188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11189   test $ac_status = 0; } 2>conftest.err; then
11190           soname=conftest
11191           lib=conftest
11192           libobjs=conftest.$ac_objext
11193           deplibs=
11194           wl=$lt_prog_compiler_wl
11195           pic_flag=$lt_prog_compiler_pic
11196           compiler_flags=-v
11197           linker_flags=-v
11198           verstring=
11199           output_objdir=.
11200           libname=conftest
11201           lt_save_allow_undefined_flag=$allow_undefined_flag
11202           allow_undefined_flag=
11203           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11204   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11205   ac_status=$?
11206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207   test $ac_status = 0; }
11208           then
11209             lt_cv_archive_cmds_need_lc=no
11210           else
11211             lt_cv_archive_cmds_need_lc=yes
11212           fi
11213           allow_undefined_flag=$lt_save_allow_undefined_flag
11214         else
11215           cat conftest.err 1>&5
11216         fi
11217         $RM conftest*
11218
11219 fi
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11221 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11222       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11223       ;;
11224     esac
11225   fi
11226   ;;
11227 esac
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
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11381 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11382
11383 if test yes = "$GCC"; then
11384   case $host_os in
11385     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11386     *) lt_awk_arg='/^libraries:/' ;;
11387   esac
11388   case $host_os in
11389     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11390     *) lt_sed_strip_eq='s|=/|/|g' ;;
11391   esac
11392   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11393   case $lt_search_path_spec in
11394   *\;*)
11395     # if the path contains ";" then we assume it to be the separator
11396     # otherwise default to the standard path separator (i.e. ":") - it is
11397     # assumed that no part of a normal pathname contains ";" but that should
11398     # okay in the real world where ";" in dirpaths is itself problematic.
11399     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11400     ;;
11401   *)
11402     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11403     ;;
11404   esac
11405   # Ok, now we have the path, separated by spaces, we can step through it
11406   # and add multilib dir if necessary...
11407   lt_tmp_lt_search_path_spec=
11408   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11409   # ...but if some path component already ends with the multilib dir we assume
11410   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11411   case "$lt_multi_os_dir; $lt_search_path_spec " in
11412   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11413     lt_multi_os_dir=
11414     ;;
11415   esac
11416   for lt_sys_path in $lt_search_path_spec; do
11417     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11418       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11419     elif test -n "$lt_multi_os_dir"; then
11420       test -d "$lt_sys_path" && \
11421         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11422     fi
11423   done
11424   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11425 BEGIN {RS = " "; FS = "/|\n";} {
11426   lt_foo = "";
11427   lt_count = 0;
11428   for (lt_i = NF; lt_i > 0; lt_i--) {
11429     if ($lt_i != "" && $lt_i != ".") {
11430       if ($lt_i == "..") {
11431         lt_count++;
11432       } else {
11433         if (lt_count == 0) {
11434           lt_foo = "/" $lt_i lt_foo;
11435         } else {
11436           lt_count--;
11437         }
11438       }
11439     }
11440   }
11441   if (lt_foo != "") { lt_freq[lt_foo]++; }
11442   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11443 }'`
11444   # AWK program above erroneously prepends '/' to C:/dos/paths
11445   # for these hosts.
11446   case $host_os in
11447     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11448       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11449   esac
11450   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11451 else
11452   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11453 fi
11454 library_names_spec=
11455 libname_spec='lib$name'
11456 soname_spec=
11457 shrext_cmds=.so
11458 postinstall_cmds=
11459 postuninstall_cmds=
11460 finish_cmds=
11461 finish_eval=
11462 shlibpath_var=
11463 shlibpath_overrides_runpath=unknown
11464 version_type=none
11465 dynamic_linker="$host_os ld.so"
11466 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11467 need_lib_prefix=unknown
11468 hardcode_into_libs=no
11469
11470 # when you set need_version to no, make sure it does not cause -set_version
11471 # flags to be left without arguments
11472 need_version=unknown
11473
11474
11475
11476 case $host_os in
11477 aix3*)
11478   version_type=linux # correct to gnu/linux during the next big refactor
11479   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11480   shlibpath_var=LIBPATH
11481
11482   # AIX 3 has no versioning support, so we append a major version to the name.
11483   soname_spec='$libname$release$shared_ext$major'
11484   ;;
11485
11486 aix[4-9]*)
11487   version_type=linux # correct to gnu/linux during the next big refactor
11488   need_lib_prefix=no
11489   need_version=no
11490   hardcode_into_libs=yes
11491   if test ia64 = "$host_cpu"; then
11492     # AIX 5 supports IA64
11493     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11494     shlibpath_var=LD_LIBRARY_PATH
11495   else
11496     # With GCC up to 2.95.x, collect2 would create an import file
11497     # for dependence libraries.  The import file would start with
11498     # the line '#! .'.  This would cause the generated library to
11499     # depend on '.', always an invalid library.  This was fixed in
11500     # development snapshots of GCC prior to 3.0.
11501     case $host_os in
11502       aix4 | aix4.[01] | aix4.[01].*)
11503       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11504            echo ' yes '
11505            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11506         :
11507       else
11508         can_build_shared=no
11509       fi
11510       ;;
11511     esac
11512     # Using Import Files as archive members, it is possible to support
11513     # filename-based versioning of shared library archives on AIX. While
11514     # this would work for both with and without runtime linking, it will
11515     # prevent static linking of such archives. So we do filename-based
11516     # shared library versioning with .so extension only, which is used
11517     # when both runtime linking and shared linking is enabled.
11518     # Unfortunately, runtime linking may impact performance, so we do
11519     # not want this to be the default eventually. Also, we use the
11520     # versioned .so libs for executables only if there is the -brtl
11521     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11522     # To allow for filename-based versioning support, we need to create
11523     # libNAME.so.V as an archive file, containing:
11524     # *) an Import File, referring to the versioned filename of the
11525     #    archive as well as the shared archive member, telling the
11526     #    bitwidth (32 or 64) of that shared object, and providing the
11527     #    list of exported symbols of that shared object, eventually
11528     #    decorated with the 'weak' keyword
11529     # *) the shared object with the F_LOADONLY flag set, to really avoid
11530     #    it being seen by the linker.
11531     # At run time we better use the real file rather than another symlink,
11532     # but for link time we create the symlink libNAME.so -> libNAME.so.V
11533
11534     case $with_aix_soname,$aix_use_runtimelinking in
11535     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11536     # soname into executable. Probably we can add versioning support to
11537     # collect2, so additional links can be useful in future.
11538     aix,yes) # traditional libtool
11539       dynamic_linker='AIX unversionable lib.so'
11540       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11541       # instead of lib<name>.a to let people know that these are not
11542       # typical AIX shared libraries.
11543       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11544       ;;
11545     aix,no) # traditional AIX only
11546       dynamic_linker='AIX lib.a(lib.so.V)'
11547       # We preserve .a as extension for shared libraries through AIX4.2
11548       # and later when we are not doing run time linking.
11549       library_names_spec='$libname$release.a $libname.a'
11550       soname_spec='$libname$release$shared_ext$major'
11551       ;;
11552     svr4,*) # full svr4 only
11553       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11554       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11555       # We do not specify a path in Import Files, so LIBPATH fires.
11556       shlibpath_overrides_runpath=yes
11557       ;;
11558     *,yes) # both, prefer svr4
11559       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11560       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11561       # unpreferred sharedlib libNAME.a needs extra handling
11562       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11563       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11564       # We do not specify a path in Import Files, so LIBPATH fires.
11565       shlibpath_overrides_runpath=yes
11566       ;;
11567     *,no) # both, prefer aix
11568       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11569       library_names_spec='$libname$release.a $libname.a'
11570       soname_spec='$libname$release$shared_ext$major'
11571       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11572       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11573       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11574       ;;
11575     esac
11576     shlibpath_var=LIBPATH
11577   fi
11578   ;;
11579
11580 amigaos*)
11581   case $host_cpu in
11582   powerpc)
11583     # Since July 2007 AmigaOS4 officially supports .so libraries.
11584     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11585     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11586     ;;
11587   m68k)
11588     library_names_spec='$libname.ixlibrary $libname.a'
11589     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11590     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11591     ;;
11592   esac
11593   ;;
11594
11595 beos*)
11596   library_names_spec='$libname$shared_ext'
11597   dynamic_linker="$host_os ld.so"
11598   shlibpath_var=LIBRARY_PATH
11599   ;;
11600
11601 bsdi[45]*)
11602   version_type=linux # correct to gnu/linux during the next big refactor
11603   need_version=no
11604   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11605   soname_spec='$libname$release$shared_ext$major'
11606   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11607   shlibpath_var=LD_LIBRARY_PATH
11608   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11609   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11610   # the default ld.so.conf also contains /usr/contrib/lib and
11611   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11612   # libtool to hard-code these into programs
11613   ;;
11614
11615 cygwin* | mingw* | pw32* | cegcc*)
11616   version_type=windows
11617   shrext_cmds=.dll
11618   need_version=no
11619   need_lib_prefix=no
11620
11621   case $GCC,$cc_basename in
11622   yes,*)
11623     # gcc
11624     library_names_spec='$libname.dll.a'
11625     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11626     postinstall_cmds='base_file=`basename \$file`~
11627       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11628       dldir=$destdir/`dirname \$dlpath`~
11629       test -d \$dldir || mkdir -p \$dldir~
11630       $install_prog $dir/$dlname \$dldir/$dlname~
11631       chmod a+x \$dldir/$dlname~
11632       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11633         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11634       fi'
11635     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11636       dlpath=$dir/\$dldll~
11637        $RM \$dlpath'
11638     shlibpath_overrides_runpath=yes
11639
11640     case $host_os in
11641     cygwin*)
11642       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11643       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11644
11645       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11646       ;;
11647     mingw* | cegcc*)
11648       # MinGW DLLs use traditional 'lib' prefix
11649       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11650       ;;
11651     pw32*)
11652       # pw32 DLLs use 'pw' prefix rather than 'lib'
11653       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11654       ;;
11655     esac
11656     dynamic_linker='Win32 ld.exe'
11657     ;;
11658
11659   *,cl*)
11660     # Native MSVC
11661     libname_spec='$name'
11662     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11663     library_names_spec='$libname.dll.lib'
11664
11665     case $build_os in
11666     mingw*)
11667       sys_lib_search_path_spec=
11668       lt_save_ifs=$IFS
11669       IFS=';'
11670       for lt_path in $LIB
11671       do
11672         IFS=$lt_save_ifs
11673         # Let DOS variable expansion print the short 8.3 style file name.
11674         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11675         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11676       done
11677       IFS=$lt_save_ifs
11678       # Convert to MSYS style.
11679       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11680       ;;
11681     cygwin*)
11682       # Convert to unix form, then to dos form, then back to unix form
11683       # but this time dos style (no spaces!) so that the unix form looks
11684       # like /cygdrive/c/PROGRA~1:/cygdr...
11685       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11686       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11687       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11688       ;;
11689     *)
11690       sys_lib_search_path_spec=$LIB
11691       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11692         # It is most probably a Windows format PATH.
11693         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11694       else
11695         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11696       fi
11697       # FIXME: find the short name or the path components, as spaces are
11698       # common. (e.g. "Program Files" -> "PROGRA~1")
11699       ;;
11700     esac
11701
11702     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11703     postinstall_cmds='base_file=`basename \$file`~
11704       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11705       dldir=$destdir/`dirname \$dlpath`~
11706       test -d \$dldir || mkdir -p \$dldir~
11707       $install_prog $dir/$dlname \$dldir/$dlname'
11708     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11709       dlpath=$dir/\$dldll~
11710        $RM \$dlpath'
11711     shlibpath_overrides_runpath=yes
11712     dynamic_linker='Win32 link.exe'
11713     ;;
11714
11715   *)
11716     # Assume MSVC wrapper
11717     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11718     dynamic_linker='Win32 ld.exe'
11719     ;;
11720   esac
11721   # FIXME: first we should search . and the directory the executable is in
11722   shlibpath_var=PATH
11723   ;;
11724
11725 darwin* | rhapsody*)
11726   dynamic_linker="$host_os dyld"
11727   version_type=darwin
11728   need_lib_prefix=no
11729   need_version=no
11730   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11731   soname_spec='$libname$release$major$shared_ext'
11732   shlibpath_overrides_runpath=yes
11733   shlibpath_var=DYLD_LIBRARY_PATH
11734   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11735
11736   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11737   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11738   ;;
11739
11740 dgux*)
11741   version_type=linux # correct to gnu/linux during the next big refactor
11742   need_lib_prefix=no
11743   need_version=no
11744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11745   soname_spec='$libname$release$shared_ext$major'
11746   shlibpath_var=LD_LIBRARY_PATH
11747   ;;
11748
11749 freebsd* | dragonfly*)
11750   # DragonFly does not have aout.  When/if they implement a new
11751   # versioning mechanism, adjust this.
11752   if test -x /usr/bin/objformat; then
11753     objformat=`/usr/bin/objformat`
11754   else
11755     case $host_os in
11756     freebsd[23].*) objformat=aout ;;
11757     *) objformat=elf ;;
11758     esac
11759   fi
11760   version_type=freebsd-$objformat
11761   case $version_type in
11762     freebsd-elf*)
11763       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11764       soname_spec='$libname$release$shared_ext$major'
11765       need_version=no
11766       need_lib_prefix=no
11767       ;;
11768     freebsd-*)
11769       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11770       need_version=yes
11771       ;;
11772   esac
11773   shlibpath_var=LD_LIBRARY_PATH
11774   case $host_os in
11775   freebsd2.*)
11776     shlibpath_overrides_runpath=yes
11777     ;;
11778   freebsd3.[01]* | freebsdelf3.[01]*)
11779     shlibpath_overrides_runpath=yes
11780     hardcode_into_libs=yes
11781     ;;
11782   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11783   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11784     shlibpath_overrides_runpath=no
11785     hardcode_into_libs=yes
11786     ;;
11787   *) # from 4.6 on, and DragonFly
11788     shlibpath_overrides_runpath=yes
11789     hardcode_into_libs=yes
11790     ;;
11791   esac
11792   ;;
11793
11794 haiku*)
11795   version_type=linux # correct to gnu/linux during the next big refactor
11796   need_lib_prefix=no
11797   need_version=no
11798   dynamic_linker="$host_os runtime_loader"
11799   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11800   soname_spec='$libname$release$shared_ext$major'
11801   shlibpath_var=LIBRARY_PATH
11802   shlibpath_overrides_runpath=no
11803   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11804   hardcode_into_libs=yes
11805   ;;
11806
11807 hpux9* | hpux10* | hpux11*)
11808   # Give a soname corresponding to the major version so that dld.sl refuses to
11809   # link against other versions.
11810   version_type=sunos
11811   need_lib_prefix=no
11812   need_version=no
11813   case $host_cpu in
11814   ia64*)
11815     shrext_cmds='.so'
11816     hardcode_into_libs=yes
11817     dynamic_linker="$host_os dld.so"
11818     shlibpath_var=LD_LIBRARY_PATH
11819     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11820     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11821     soname_spec='$libname$release$shared_ext$major'
11822     if test 32 = "$HPUX_IA64_MODE"; then
11823       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11824       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11825     else
11826       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11827       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11828     fi
11829     ;;
11830   hppa*64*)
11831     shrext_cmds='.sl'
11832     hardcode_into_libs=yes
11833     dynamic_linker="$host_os dld.sl"
11834     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11835     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11836     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11837     soname_spec='$libname$release$shared_ext$major'
11838     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11839     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11840     ;;
11841   *)
11842     shrext_cmds='.sl'
11843     dynamic_linker="$host_os dld.sl"
11844     shlibpath_var=SHLIB_PATH
11845     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11846     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11847     soname_spec='$libname$release$shared_ext$major'
11848     ;;
11849   esac
11850   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11851   postinstall_cmds='chmod 555 $lib'
11852   # or fails outright, so override atomically:
11853   install_override_mode=555
11854   ;;
11855
11856 interix[3-9]*)
11857   version_type=linux # correct to gnu/linux during the next big refactor
11858   need_lib_prefix=no
11859   need_version=no
11860   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11861   soname_spec='$libname$release$shared_ext$major'
11862   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11863   shlibpath_var=LD_LIBRARY_PATH
11864   shlibpath_overrides_runpath=no
11865   hardcode_into_libs=yes
11866   ;;
11867
11868 irix5* | irix6* | nonstopux*)
11869   case $host_os in
11870     nonstopux*) version_type=nonstopux ;;
11871     *)
11872         if test yes = "$lt_cv_prog_gnu_ld"; then
11873                 version_type=linux # correct to gnu/linux during the next big refactor
11874         else
11875                 version_type=irix
11876         fi ;;
11877   esac
11878   need_lib_prefix=no
11879   need_version=no
11880   soname_spec='$libname$release$shared_ext$major'
11881   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11882   case $host_os in
11883   irix5* | nonstopux*)
11884     libsuff= shlibsuff=
11885     ;;
11886   *)
11887     case $LD in # libtool.m4 will add one of these switches to LD
11888     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11889       libsuff= shlibsuff= libmagic=32-bit;;
11890     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11891       libsuff=32 shlibsuff=N32 libmagic=N32;;
11892     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11893       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11894     *) libsuff= shlibsuff= libmagic=never-match;;
11895     esac
11896     ;;
11897   esac
11898   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11899   shlibpath_overrides_runpath=no
11900   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11901   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11902   hardcode_into_libs=yes
11903   ;;
11904
11905 # No shared lib support for Linux oldld, aout, or coff.
11906 linux*oldld* | linux*aout* | linux*coff*)
11907   dynamic_linker=no
11908   ;;
11909
11910 linux*android*)
11911   version_type=none # Android doesn't support versioned libraries.
11912   need_lib_prefix=no
11913   need_version=no
11914   library_names_spec='$libname$release$shared_ext'
11915   soname_spec='$libname$release$shared_ext'
11916   finish_cmds=
11917   shlibpath_var=LD_LIBRARY_PATH
11918   shlibpath_overrides_runpath=yes
11919
11920   # This implies no fast_install, which is unacceptable.
11921   # Some rework will be needed to allow for fast_install
11922   # before this can be enabled.
11923   hardcode_into_libs=yes
11924
11925   dynamic_linker='Android linker'
11926   # Don't embed -rpath directories since the linker doesn't support them.
11927   hardcode_libdir_flag_spec='-L$libdir'
11928   ;;
11929
11930 # This must be glibc/ELF.
11931 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11932   version_type=linux # correct to gnu/linux during the next big refactor
11933   need_lib_prefix=no
11934   need_version=no
11935   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11936   soname_spec='$libname$release$shared_ext$major'
11937   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11938   shlibpath_var=LD_LIBRARY_PATH
11939   shlibpath_overrides_runpath=no
11940
11941   # Some binutils ld are patched to set DT_RUNPATH
11942   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11943   $as_echo_n "(cached) " >&6
11944 else
11945   lt_cv_shlibpath_overrides_runpath=no
11946     save_LDFLAGS=$LDFLAGS
11947     save_libdir=$libdir
11948     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11949          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11950     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h.  */
11952
11953 int
11954 main ()
11955 {
11956
11957   ;
11958   return 0;
11959 }
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11963   lt_cv_shlibpath_overrides_runpath=yes
11964 fi
11965 fi
11966 rm -f core conftest.err conftest.$ac_objext \
11967     conftest$ac_exeext conftest.$ac_ext
11968     LDFLAGS=$save_LDFLAGS
11969     libdir=$save_libdir
11970
11971 fi
11972
11973   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11974
11975   # This implies no fast_install, which is unacceptable.
11976   # Some rework will be needed to allow for fast_install
11977   # before this can be enabled.
11978   hardcode_into_libs=yes
11979
11980   # Ideally, we could use ldconfig to report *all* directores which are
11981   # searched for libraries, however this is still not possible.  Aside from not
11982   # being certain /sbin/ldconfig is available, command
11983   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11984   # even though it is searched at run-time.  Try to do the best guess by
11985   # appending ld.so.conf contents (and includes) to the search path.
11986   if test -f /etc/ld.so.conf; then
11987     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' ' '`
11988     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11989   fi
11990
11991   # We used to test for /lib/ld.so.1 and disable shared libraries on
11992   # powerpc, because MkLinux only supported shared libraries with the
11993   # GNU dynamic linker.  Since this was broken with cross compilers,
11994   # most powerpc-linux boxes support dynamic linking these days and
11995   # people can always --disable-shared, the test was removed, and we
11996   # assume the GNU/Linux dynamic linker is in use.
11997   dynamic_linker='GNU/Linux ld.so'
11998   ;;
11999
12000 netbsd*)
12001   version_type=sunos
12002   need_lib_prefix=no
12003   need_version=no
12004   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12005     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12006     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12007     dynamic_linker='NetBSD (a.out) ld.so'
12008   else
12009     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12010     soname_spec='$libname$release$shared_ext$major'
12011     dynamic_linker='NetBSD ld.elf_so'
12012   fi
12013   shlibpath_var=LD_LIBRARY_PATH
12014   shlibpath_overrides_runpath=yes
12015   hardcode_into_libs=yes
12016   ;;
12017
12018 newsos6)
12019   version_type=linux # correct to gnu/linux during the next big refactor
12020   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12021   shlibpath_var=LD_LIBRARY_PATH
12022   shlibpath_overrides_runpath=yes
12023   ;;
12024
12025 *nto* | *qnx*)
12026   version_type=qnx
12027   need_lib_prefix=no
12028   need_version=no
12029   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12030   soname_spec='$libname$release$shared_ext$major'
12031   shlibpath_var=LD_LIBRARY_PATH
12032   shlibpath_overrides_runpath=no
12033   hardcode_into_libs=yes
12034   dynamic_linker='ldqnx.so'
12035   ;;
12036
12037 openbsd* | bitrig*)
12038   version_type=sunos
12039   sys_lib_dlsearch_path_spec=/usr/lib
12040   need_lib_prefix=no
12041   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12042     need_version=no
12043   else
12044     need_version=yes
12045   fi
12046   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12047   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12048   shlibpath_var=LD_LIBRARY_PATH
12049   shlibpath_overrides_runpath=yes
12050   ;;
12051
12052 os2*)
12053   libname_spec='$name'
12054   version_type=windows
12055   shrext_cmds=.dll
12056   need_version=no
12057   need_lib_prefix=no
12058   # OS/2 can only load a DLL with a base name of 8 characters or less.
12059   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12060     v=$($ECHO $release$versuffix | tr -d .-);
12061     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12062     $ECHO $n$v`$shared_ext'
12063   library_names_spec='${libname}_dll.$libext'
12064   dynamic_linker='OS/2 ld.exe'
12065   shlibpath_var=BEGINLIBPATH
12066   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12067   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12068   postinstall_cmds='base_file=`basename \$file`~
12069     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12070     dldir=$destdir/`dirname \$dlpath`~
12071     test -d \$dldir || mkdir -p \$dldir~
12072     $install_prog $dir/$dlname \$dldir/$dlname~
12073     chmod a+x \$dldir/$dlname~
12074     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12075       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12076     fi'
12077   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12078     dlpath=$dir/\$dldll~
12079     $RM \$dlpath'
12080   ;;
12081
12082 osf3* | osf4* | osf5*)
12083   version_type=osf
12084   need_lib_prefix=no
12085   need_version=no
12086   soname_spec='$libname$release$shared_ext$major'
12087   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12088   shlibpath_var=LD_LIBRARY_PATH
12089   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12090   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12091   ;;
12092
12093 rdos*)
12094   dynamic_linker=no
12095   ;;
12096
12097 solaris*)
12098   version_type=linux # correct to gnu/linux during the next big refactor
12099   need_lib_prefix=no
12100   need_version=no
12101   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12102   soname_spec='$libname$release$shared_ext$major'
12103   shlibpath_var=LD_LIBRARY_PATH
12104   shlibpath_overrides_runpath=yes
12105   hardcode_into_libs=yes
12106   # ldd complains unless libraries are executable
12107   postinstall_cmds='chmod +x $lib'
12108   ;;
12109
12110 sunos4*)
12111   version_type=sunos
12112   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12113   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12114   shlibpath_var=LD_LIBRARY_PATH
12115   shlibpath_overrides_runpath=yes
12116   if test yes = "$with_gnu_ld"; then
12117     need_lib_prefix=no
12118   fi
12119   need_version=yes
12120   ;;
12121
12122 sysv4 | sysv4.3*)
12123   version_type=linux # correct to gnu/linux during the next big refactor
12124   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12125   soname_spec='$libname$release$shared_ext$major'
12126   shlibpath_var=LD_LIBRARY_PATH
12127   case $host_vendor in
12128     sni)
12129       shlibpath_overrides_runpath=no
12130       need_lib_prefix=no
12131       runpath_var=LD_RUN_PATH
12132       ;;
12133     siemens)
12134       need_lib_prefix=no
12135       ;;
12136     motorola)
12137       need_lib_prefix=no
12138       need_version=no
12139       shlibpath_overrides_runpath=no
12140       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12141       ;;
12142   esac
12143   ;;
12144
12145 sysv4*MP*)
12146   if test -d /usr/nec; then
12147     version_type=linux # correct to gnu/linux during the next big refactor
12148     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12149     soname_spec='$libname$shared_ext.$major'
12150     shlibpath_var=LD_LIBRARY_PATH
12151   fi
12152   ;;
12153
12154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12155   version_type=sco
12156   need_lib_prefix=no
12157   need_version=no
12158   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12159   soname_spec='$libname$release$shared_ext$major'
12160   shlibpath_var=LD_LIBRARY_PATH
12161   shlibpath_overrides_runpath=yes
12162   hardcode_into_libs=yes
12163   if test yes = "$with_gnu_ld"; then
12164     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12165   else
12166     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12167     case $host_os in
12168       sco3.2v5*)
12169         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12170         ;;
12171     esac
12172   fi
12173   sys_lib_dlsearch_path_spec='/usr/lib'
12174   ;;
12175
12176 tpf*)
12177   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12178   version_type=linux # correct to gnu/linux during the next big refactor
12179   need_lib_prefix=no
12180   need_version=no
12181   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12182   shlibpath_var=LD_LIBRARY_PATH
12183   shlibpath_overrides_runpath=no
12184   hardcode_into_libs=yes
12185   ;;
12186
12187 uts4*)
12188   version_type=linux # correct to gnu/linux during the next big refactor
12189   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12190   soname_spec='$libname$release$shared_ext$major'
12191   shlibpath_var=LD_LIBRARY_PATH
12192   ;;
12193
12194 *)
12195   dynamic_linker=no
12196   ;;
12197 esac
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12199 $as_echo "$dynamic_linker" >&6; }
12200 test no = "$dynamic_linker" && can_build_shared=no
12201
12202 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12203 if test yes = "$GCC"; then
12204   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12205 fi
12206
12207 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12208   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12209 fi
12210
12211 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12212   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12213 fi
12214
12215 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12216 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12217
12218 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12219 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12220
12221 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12222 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12321 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12322 hardcode_action=
12323 if test -n "$hardcode_libdir_flag_spec" ||
12324    test -n "$runpath_var" ||
12325    test yes = "$hardcode_automatic"; then
12326
12327   # We can hardcode non-existent directories.
12328   if test no != "$hardcode_direct" &&
12329      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12330      # have to relink, otherwise we might link with an installed library
12331      # when we should be linking with a yet-to-be-installed one
12332      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12333      test no != "$hardcode_minus_L"; then
12334     # Linking always hardcodes the temporary library directory.
12335     hardcode_action=relink
12336   else
12337     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12338     hardcode_action=immediate
12339   fi
12340 else
12341   # We cannot hardcode anything, or else we can only hardcode existing
12342   # directories.
12343   hardcode_action=unsupported
12344 fi
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12346 $as_echo "$hardcode_action" >&6; }
12347
12348 if test relink = "$hardcode_action" ||
12349    test yes = "$inherit_rpath"; then
12350   # Fast installation is not supported
12351   enable_fast_install=no
12352 elif test yes = "$shlibpath_overrides_runpath" ||
12353      test no = "$enable_shared"; then
12354   # Fast installation is not necessary
12355   enable_fast_install=needless
12356 fi
12357
12358
12359
12360
12361
12362
12363   if test yes != "$enable_dlopen"; then
12364   enable_dlopen=unknown
12365   enable_dlopen_self=unknown
12366   enable_dlopen_self_static=unknown
12367 else
12368   lt_cv_dlopen=no
12369   lt_cv_dlopen_libs=
12370
12371   case $host_os in
12372   beos*)
12373     lt_cv_dlopen=load_add_on
12374     lt_cv_dlopen_libs=
12375     lt_cv_dlopen_self=yes
12376     ;;
12377
12378   mingw* | pw32* | cegcc*)
12379     lt_cv_dlopen=LoadLibrary
12380     lt_cv_dlopen_libs=
12381     ;;
12382
12383   cygwin*)
12384     lt_cv_dlopen=dlopen
12385     lt_cv_dlopen_libs=
12386     ;;
12387
12388   darwin*)
12389     # if libdl is installed we need to link against it
12390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12391 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12392 if ${ac_cv_lib_dl_dlopen+:} false; then :
12393   $as_echo_n "(cached) " >&6
12394 else
12395   ac_check_lib_save_LIBS=$LIBS
12396 LIBS="-ldl  $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h.  */
12399
12400 /* Override any GCC internal prototype to avoid an error.
12401    Use char because int might match the return type of a GCC
12402    builtin and then its argument prototype would still apply.  */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char dlopen ();
12407 int
12408 main ()
12409 {
12410 return dlopen ();
12411   ;
12412   return 0;
12413 }
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416   ac_cv_lib_dl_dlopen=yes
12417 else
12418   ac_cv_lib_dl_dlopen=no
12419 fi
12420 rm -f core conftest.err conftest.$ac_objext \
12421     conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_lib_save_LIBS
12423 fi
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12425 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12426 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12427   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12428 else
12429
12430     lt_cv_dlopen=dyld
12431     lt_cv_dlopen_libs=
12432     lt_cv_dlopen_self=yes
12433
12434 fi
12435
12436     ;;
12437
12438   tpf*)
12439     # Don't try to run any link tests for TPF.  We know it's impossible
12440     # because TPF is a cross-compiler, and we know how we open DSOs.
12441     lt_cv_dlopen=dlopen
12442     lt_cv_dlopen_libs=
12443     lt_cv_dlopen_self=no
12444     ;;
12445
12446   *)
12447     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12448 if test "x$ac_cv_func_shl_load" = xyes; then :
12449   lt_cv_dlopen=shl_load
12450 else
12451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12452 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12453 if ${ac_cv_lib_dld_shl_load+:} false; then :
12454   $as_echo_n "(cached) " >&6
12455 else
12456   ac_check_lib_save_LIBS=$LIBS
12457 LIBS="-ldld  $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h.  */
12460
12461 /* Override any GCC internal prototype to avoid an error.
12462    Use char because int might match the return type of a GCC
12463    builtin and then its argument prototype would still apply.  */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char shl_load ();
12468 int
12469 main ()
12470 {
12471 return shl_load ();
12472   ;
12473   return 0;
12474 }
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477   ac_cv_lib_dld_shl_load=yes
12478 else
12479   ac_cv_lib_dld_shl_load=no
12480 fi
12481 rm -f core conftest.err conftest.$ac_objext \
12482     conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12484 fi
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12487 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12488   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12489 else
12490   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12491 if test "x$ac_cv_func_dlopen" = xyes; then :
12492   lt_cv_dlopen=dlopen
12493 else
12494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12496 if ${ac_cv_lib_dl_dlopen+:} false; then :
12497   $as_echo_n "(cached) " >&6
12498 else
12499   ac_check_lib_save_LIBS=$LIBS
12500 LIBS="-ldl  $LIBS"
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h.  */
12503
12504 /* Override any GCC internal prototype to avoid an error.
12505    Use char because int might match the return type of a GCC
12506    builtin and then its argument prototype would still apply.  */
12507 #ifdef __cplusplus
12508 extern "C"
12509 #endif
12510 char dlopen ();
12511 int
12512 main ()
12513 {
12514 return dlopen ();
12515   ;
12516   return 0;
12517 }
12518 _ACEOF
12519 if ac_fn_c_try_link "$LINENO"; then :
12520   ac_cv_lib_dl_dlopen=yes
12521 else
12522   ac_cv_lib_dl_dlopen=no
12523 fi
12524 rm -f core conftest.err conftest.$ac_objext \
12525     conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12527 fi
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12530 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12531   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12532 else
12533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12534 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12535 if ${ac_cv_lib_svld_dlopen+:} false; then :
12536   $as_echo_n "(cached) " >&6
12537 else
12538   ac_check_lib_save_LIBS=$LIBS
12539 LIBS="-lsvld  $LIBS"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h.  */
12542
12543 /* Override any GCC internal prototype to avoid an error.
12544    Use char because int might match the return type of a GCC
12545    builtin and then its argument prototype would still apply.  */
12546 #ifdef __cplusplus
12547 extern "C"
12548 #endif
12549 char dlopen ();
12550 int
12551 main ()
12552 {
12553 return dlopen ();
12554   ;
12555   return 0;
12556 }
12557 _ACEOF
12558 if ac_fn_c_try_link "$LINENO"; then :
12559   ac_cv_lib_svld_dlopen=yes
12560 else
12561   ac_cv_lib_svld_dlopen=no
12562 fi
12563 rm -f core conftest.err conftest.$ac_objext \
12564     conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_lib_save_LIBS
12566 fi
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12568 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12569 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12570   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12571 else
12572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12573 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12574 if ${ac_cv_lib_dld_dld_link+:} false; then :
12575   $as_echo_n "(cached) " >&6
12576 else
12577   ac_check_lib_save_LIBS=$LIBS
12578 LIBS="-ldld  $LIBS"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h.  */
12581
12582 /* Override any GCC internal prototype to avoid an error.
12583    Use char because int might match the return type of a GCC
12584    builtin and then its argument prototype would still apply.  */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char dld_link ();
12589 int
12590 main ()
12591 {
12592 return dld_link ();
12593   ;
12594   return 0;
12595 }
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598   ac_cv_lib_dld_dld_link=yes
12599 else
12600   ac_cv_lib_dld_dld_link=no
12601 fi
12602 rm -f core conftest.err conftest.$ac_objext \
12603     conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12605 fi
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12608 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12609   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12610 fi
12611
12612
12613 fi
12614
12615
12616 fi
12617
12618
12619 fi
12620
12621
12622 fi
12623
12624
12625 fi
12626
12627     ;;
12628   esac
12629
12630   if test no = "$lt_cv_dlopen"; then
12631     enable_dlopen=no
12632   else
12633     enable_dlopen=yes
12634   fi
12635
12636   case $lt_cv_dlopen in
12637   dlopen)
12638     save_CPPFLAGS=$CPPFLAGS
12639     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12640
12641     save_LDFLAGS=$LDFLAGS
12642     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12643
12644     save_LIBS=$LIBS
12645     LIBS="$lt_cv_dlopen_libs $LIBS"
12646
12647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12649 if ${lt_cv_dlopen_self+:} false; then :
12650   $as_echo_n "(cached) " >&6
12651 else
12652           if test yes = "$cross_compiling"; then :
12653   lt_cv_dlopen_self=cross
12654 else
12655   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12656   lt_status=$lt_dlunknown
12657   cat > conftest.$ac_ext <<_LT_EOF
12658 #line $LINENO "configure"
12659 #include "confdefs.h"
12660
12661 #if HAVE_DLFCN_H
12662 #include <dlfcn.h>
12663 #endif
12664
12665 #include <stdio.h>
12666
12667 #ifdef RTLD_GLOBAL
12668 #  define LT_DLGLOBAL           RTLD_GLOBAL
12669 #else
12670 #  ifdef DL_GLOBAL
12671 #    define LT_DLGLOBAL         DL_GLOBAL
12672 #  else
12673 #    define LT_DLGLOBAL         0
12674 #  endif
12675 #endif
12676
12677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12678    find out it does not work in some platform. */
12679 #ifndef LT_DLLAZY_OR_NOW
12680 #  ifdef RTLD_LAZY
12681 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12682 #  else
12683 #    ifdef DL_LAZY
12684 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12685 #    else
12686 #      ifdef RTLD_NOW
12687 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12688 #      else
12689 #        ifdef DL_NOW
12690 #          define LT_DLLAZY_OR_NOW      DL_NOW
12691 #        else
12692 #          define LT_DLLAZY_OR_NOW      0
12693 #        endif
12694 #      endif
12695 #    endif
12696 #  endif
12697 #endif
12698
12699 /* When -fvisibility=hidden is used, assume the code has been annotated
12700    correspondingly for the symbols needed.  */
12701 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12702 int fnord () __attribute__((visibility("default")));
12703 #endif
12704
12705 int fnord () { return 42; }
12706 int main ()
12707 {
12708   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12709   int status = $lt_dlunknown;
12710
12711   if (self)
12712     {
12713       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12714       else
12715         {
12716           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12717           else puts (dlerror ());
12718         }
12719       /* dlclose (self); */
12720     }
12721   else
12722     puts (dlerror ());
12723
12724   return status;
12725 }
12726 _LT_EOF
12727   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12728   (eval $ac_link) 2>&5
12729   ac_status=$?
12730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12732     (./conftest; exit; ) >&5 2>/dev/null
12733     lt_status=$?
12734     case x$lt_status in
12735       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12736       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12737       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12738     esac
12739   else :
12740     # compilation failed
12741     lt_cv_dlopen_self=no
12742   fi
12743 fi
12744 rm -fr conftest*
12745
12746
12747 fi
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12749 $as_echo "$lt_cv_dlopen_self" >&6; }
12750
12751     if test yes = "$lt_cv_dlopen_self"; then
12752       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12753       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12755 if ${lt_cv_dlopen_self_static+:} false; then :
12756   $as_echo_n "(cached) " >&6
12757 else
12758           if test yes = "$cross_compiling"; then :
12759   lt_cv_dlopen_self_static=cross
12760 else
12761   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12762   lt_status=$lt_dlunknown
12763   cat > conftest.$ac_ext <<_LT_EOF
12764 #line $LINENO "configure"
12765 #include "confdefs.h"
12766
12767 #if HAVE_DLFCN_H
12768 #include <dlfcn.h>
12769 #endif
12770
12771 #include <stdio.h>
12772
12773 #ifdef RTLD_GLOBAL
12774 #  define LT_DLGLOBAL           RTLD_GLOBAL
12775 #else
12776 #  ifdef DL_GLOBAL
12777 #    define LT_DLGLOBAL         DL_GLOBAL
12778 #  else
12779 #    define LT_DLGLOBAL         0
12780 #  endif
12781 #endif
12782
12783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12784    find out it does not work in some platform. */
12785 #ifndef LT_DLLAZY_OR_NOW
12786 #  ifdef RTLD_LAZY
12787 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12788 #  else
12789 #    ifdef DL_LAZY
12790 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12791 #    else
12792 #      ifdef RTLD_NOW
12793 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12794 #      else
12795 #        ifdef DL_NOW
12796 #          define LT_DLLAZY_OR_NOW      DL_NOW
12797 #        else
12798 #          define LT_DLLAZY_OR_NOW      0
12799 #        endif
12800 #      endif
12801 #    endif
12802 #  endif
12803 #endif
12804
12805 /* When -fvisibility=hidden is used, assume the code has been annotated
12806    correspondingly for the symbols needed.  */
12807 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12808 int fnord () __attribute__((visibility("default")));
12809 #endif
12810
12811 int fnord () { return 42; }
12812 int main ()
12813 {
12814   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12815   int status = $lt_dlunknown;
12816
12817   if (self)
12818     {
12819       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12820       else
12821         {
12822           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12823           else puts (dlerror ());
12824         }
12825       /* dlclose (self); */
12826     }
12827   else
12828     puts (dlerror ());
12829
12830   return status;
12831 }
12832 _LT_EOF
12833   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12834   (eval $ac_link) 2>&5
12835   ac_status=$?
12836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12838     (./conftest; exit; ) >&5 2>/dev/null
12839     lt_status=$?
12840     case x$lt_status in
12841       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12842       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12843       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12844     esac
12845   else :
12846     # compilation failed
12847     lt_cv_dlopen_self_static=no
12848   fi
12849 fi
12850 rm -fr conftest*
12851
12852
12853 fi
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12856     fi
12857
12858     CPPFLAGS=$save_CPPFLAGS
12859     LDFLAGS=$save_LDFLAGS
12860     LIBS=$save_LIBS
12861     ;;
12862   esac
12863
12864   case $lt_cv_dlopen_self in
12865   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12866   *) enable_dlopen_self=unknown ;;
12867   esac
12868
12869   case $lt_cv_dlopen_self_static in
12870   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12871   *) enable_dlopen_self_static=unknown ;;
12872   esac
12873 fi
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891 striplib=
12892 old_striplib=
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12895 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12896   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12897   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12899 $as_echo "yes" >&6; }
12900 else
12901 # FIXME - insert some real tests, host_os isn't really good enough
12902   case $host_os in
12903   darwin*)
12904     if test -n "$STRIP"; then
12905       striplib="$STRIP -x"
12906       old_striplib="$STRIP -S"
12907       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12908 $as_echo "yes" >&6; }
12909     else
12910       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912     fi
12913     ;;
12914   *)
12915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12917     ;;
12918   esac
12919 fi
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932   # Report what library types will actually be built
12933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12936 $as_echo "$can_build_shared" >&6; }
12937
12938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12939 $as_echo_n "checking whether to build shared libraries... " >&6; }
12940   test no = "$can_build_shared" && enable_shared=no
12941
12942   # On AIX, shared libraries and static libraries use the same namespace, and
12943   # are all built from PIC.
12944   case $host_os in
12945   aix3*)
12946     test yes = "$enable_shared" && enable_static=no
12947     if test -n "$RANLIB"; then
12948       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12949       postinstall_cmds='$RANLIB $lib'
12950     fi
12951     ;;
12952
12953   aix[4-9]*)
12954     if test ia64 != "$host_cpu"; then
12955       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12956       yes,aix,yes) ;;                   # shared object as lib.so file only
12957       yes,svr4,*) ;;                    # shared object as lib.so archive member only
12958       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12959       esac
12960     fi
12961     ;;
12962   esac
12963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12964 $as_echo "$enable_shared" >&6; }
12965
12966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12967 $as_echo_n "checking whether to build static libraries... " >&6; }
12968   # Make sure either enable_shared or enable_static is yes.
12969   test yes = "$enable_shared" || enable_static=yes
12970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12971 $as_echo "$enable_static" >&6; }
12972
12973
12974
12975
12976 fi
12977 ac_ext=c
12978 ac_cpp='$CPP $CPPFLAGS'
12979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12982
12983 CC=$lt_save_CC
12984
12985       if test -n "$CXX" && ( test no != "$CXX" &&
12986     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12987     (test g++ != "$CXX"))); then
12988   ac_ext=cpp
12989 ac_cpp='$CXXCPP $CPPFLAGS'
12990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12994 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12995 if test -z "$CXXCPP"; then
12996   if ${ac_cv_prog_CXXCPP+:} false; then :
12997   $as_echo_n "(cached) " >&6
12998 else
12999       # Double quotes because CXXCPP needs to be expanded
13000     for CXXCPP in "$CXX -E" "/lib/cpp"
13001     do
13002       ac_preproc_ok=false
13003 for ac_cxx_preproc_warn_flag in '' yes
13004 do
13005   # Use a header file that comes with gcc, so configuring glibc
13006   # with a fresh cross-compiler works.
13007   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008   # <limits.h> exists even on freestanding compilers.
13009   # On the NeXT, cc -E runs the code through the compiler's parser,
13010   # not just through cpp. "Syntax error" is here to catch this case.
13011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h.  */
13013 #ifdef __STDC__
13014 # include <limits.h>
13015 #else
13016 # include <assert.h>
13017 #endif
13018                      Syntax error
13019 _ACEOF
13020 if ac_fn_cxx_try_cpp "$LINENO"; then :
13021
13022 else
13023   # Broken: fails on valid input.
13024 continue
13025 fi
13026 rm -f conftest.err conftest.i conftest.$ac_ext
13027
13028   # OK, works on sane cases.  Now check whether nonexistent headers
13029   # can be detected and how.
13030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h.  */
13032 #include <ac_nonexistent.h>
13033 _ACEOF
13034 if ac_fn_cxx_try_cpp "$LINENO"; then :
13035   # Broken: success on invalid input.
13036 continue
13037 else
13038   # Passes both tests.
13039 ac_preproc_ok=:
13040 break
13041 fi
13042 rm -f conftest.err conftest.i conftest.$ac_ext
13043
13044 done
13045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13046 rm -f conftest.i conftest.err conftest.$ac_ext
13047 if $ac_preproc_ok; then :
13048   break
13049 fi
13050
13051     done
13052     ac_cv_prog_CXXCPP=$CXXCPP
13053
13054 fi
13055   CXXCPP=$ac_cv_prog_CXXCPP
13056 else
13057   ac_cv_prog_CXXCPP=$CXXCPP
13058 fi
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13060 $as_echo "$CXXCPP" >&6; }
13061 ac_preproc_ok=false
13062 for ac_cxx_preproc_warn_flag in '' yes
13063 do
13064   # Use a header file that comes with gcc, so configuring glibc
13065   # with a fresh cross-compiler works.
13066   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13067   # <limits.h> exists even on freestanding compilers.
13068   # On the NeXT, cc -E runs the code through the compiler's parser,
13069   # not just through cpp. "Syntax error" is here to catch this case.
13070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h.  */
13072 #ifdef __STDC__
13073 # include <limits.h>
13074 #else
13075 # include <assert.h>
13076 #endif
13077                      Syntax error
13078 _ACEOF
13079 if ac_fn_cxx_try_cpp "$LINENO"; then :
13080
13081 else
13082   # Broken: fails on valid input.
13083 continue
13084 fi
13085 rm -f conftest.err conftest.i conftest.$ac_ext
13086
13087   # OK, works on sane cases.  Now check whether nonexistent headers
13088   # can be detected and how.
13089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h.  */
13091 #include <ac_nonexistent.h>
13092 _ACEOF
13093 if ac_fn_cxx_try_cpp "$LINENO"; then :
13094   # Broken: success on invalid input.
13095 continue
13096 else
13097   # Passes both tests.
13098 ac_preproc_ok=:
13099 break
13100 fi
13101 rm -f conftest.err conftest.i conftest.$ac_ext
13102
13103 done
13104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13105 rm -f conftest.i conftest.err conftest.$ac_ext
13106 if $ac_preproc_ok; then :
13107
13108 else
13109   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13111 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13112 See \`config.log' for more details" "$LINENO" 5; }
13113 fi
13114
13115 ac_ext=c
13116 ac_cpp='$CPP $CPPFLAGS'
13117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13120
13121 else
13122   _lt_caught_CXX_error=yes
13123 fi
13124
13125 ac_ext=cpp
13126 ac_cpp='$CXXCPP $CPPFLAGS'
13127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13130
13131 archive_cmds_need_lc_CXX=no
13132 allow_undefined_flag_CXX=
13133 always_export_symbols_CXX=no
13134 archive_expsym_cmds_CXX=
13135 compiler_needs_object_CXX=no
13136 export_dynamic_flag_spec_CXX=
13137 hardcode_direct_CXX=no
13138 hardcode_direct_absolute_CXX=no
13139 hardcode_libdir_flag_spec_CXX=
13140 hardcode_libdir_separator_CXX=
13141 hardcode_minus_L_CXX=no
13142 hardcode_shlibpath_var_CXX=unsupported
13143 hardcode_automatic_CXX=no
13144 inherit_rpath_CXX=no
13145 module_cmds_CXX=
13146 module_expsym_cmds_CXX=
13147 link_all_deplibs_CXX=unknown
13148 old_archive_cmds_CXX=$old_archive_cmds
13149 reload_flag_CXX=$reload_flag
13150 reload_cmds_CXX=$reload_cmds
13151 no_undefined_flag_CXX=
13152 whole_archive_flag_spec_CXX=
13153 enable_shared_with_static_runtimes_CXX=no
13154
13155 # Source file extension for C++ test sources.
13156 ac_ext=cpp
13157
13158 # Object file extension for compiled C++ test sources.
13159 objext=o
13160 objext_CXX=$objext
13161
13162 # No sense in running all these tests if we already determined that
13163 # the CXX compiler isn't working.  Some variables (like enable_shared)
13164 # are currently assumed to apply to all compilers on this platform,
13165 # and will be corrupted by setting them based on a non-working compiler.
13166 if test yes != "$_lt_caught_CXX_error"; then
13167   # Code to be used in simple compile tests
13168   lt_simple_compile_test_code="int some_variable = 0;"
13169
13170   # Code to be used in simple link tests
13171   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13172
13173   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13174
13175
13176
13177
13178
13179
13180 # If no C compiler was specified, use CC.
13181 LTCC=${LTCC-"$CC"}
13182
13183 # If no C compiler flags were specified, use CFLAGS.
13184 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13185
13186 # Allow CC to be a program name with arguments.
13187 compiler=$CC
13188
13189
13190   # save warnings/boilerplate of simple test code
13191   ac_outfile=conftest.$ac_objext
13192 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13193 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13194 _lt_compiler_boilerplate=`cat conftest.err`
13195 $RM conftest*
13196
13197   ac_outfile=conftest.$ac_objext
13198 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13199 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13200 _lt_linker_boilerplate=`cat conftest.err`
13201 $RM -r conftest*
13202
13203
13204   # Allow CC to be a program name with arguments.
13205   lt_save_CC=$CC
13206   lt_save_CFLAGS=$CFLAGS
13207   lt_save_LD=$LD
13208   lt_save_GCC=$GCC
13209   GCC=$GXX
13210   lt_save_with_gnu_ld=$with_gnu_ld
13211   lt_save_path_LD=$lt_cv_path_LD
13212   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13213     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13214   else
13215     $as_unset lt_cv_prog_gnu_ld
13216   fi
13217   if test -n "${lt_cv_path_LDCXX+set}"; then
13218     lt_cv_path_LD=$lt_cv_path_LDCXX
13219   else
13220     $as_unset lt_cv_path_LD
13221   fi
13222   test -z "${LDCXX+set}" || LD=$LDCXX
13223   CC=${CXX-"c++"}
13224   CFLAGS=$CXXFLAGS
13225   compiler=$CC
13226   compiler_CXX=$CC
13227   func_cc_basename $compiler
13228 cc_basename=$func_cc_basename_result
13229
13230
13231   if test -n "$compiler"; then
13232     # We don't want -fno-exception when compiling C++ code, so set the
13233     # no_builtin_flag separately
13234     if test yes = "$GXX"; then
13235       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13236     else
13237       lt_prog_compiler_no_builtin_flag_CXX=
13238     fi
13239
13240     if test yes = "$GXX"; then
13241       # Set up default GNU C++ configuration
13242
13243
13244
13245 # Check whether --with-gnu-ld was given.
13246 if test "${with_gnu_ld+set}" = set; then :
13247   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13248 else
13249   with_gnu_ld=no
13250 fi
13251
13252 ac_prog=ld
13253 if test yes = "$GCC"; then
13254   # Check if gcc -print-prog-name=ld gives a path.
13255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13256 $as_echo_n "checking for ld used by $CC... " >&6; }
13257   case $host in
13258   *-*-mingw*)
13259     # gcc leaves a trailing carriage return, which upsets mingw
13260     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13261   *)
13262     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13263   esac
13264   case $ac_prog in
13265     # Accept absolute paths.
13266     [\\/]* | ?:[\\/]*)
13267       re_direlt='/[^/][^/]*/\.\./'
13268       # Canonicalize the pathname of ld
13269       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13270       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13271         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13272       done
13273       test -z "$LD" && LD=$ac_prog
13274       ;;
13275   "")
13276     # If it fails, then pretend we aren't using GCC.
13277     ac_prog=ld
13278     ;;
13279   *)
13280     # If it is relative, then search for the first ld in PATH.
13281     with_gnu_ld=unknown
13282     ;;
13283   esac
13284 elif test yes = "$with_gnu_ld"; then
13285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13286 $as_echo_n "checking for GNU ld... " >&6; }
13287 else
13288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13289 $as_echo_n "checking for non-GNU ld... " >&6; }
13290 fi
13291 if ${lt_cv_path_LD+:} false; then :
13292   $as_echo_n "(cached) " >&6
13293 else
13294   if test -z "$LD"; then
13295   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13296   for ac_dir in $PATH; do
13297     IFS=$lt_save_ifs
13298     test -z "$ac_dir" && ac_dir=.
13299     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13300       lt_cv_path_LD=$ac_dir/$ac_prog
13301       # Check to see if the program is GNU ld.  I'd rather use --version,
13302       # but apparently some variants of GNU ld only accept -v.
13303       # Break only if it was the GNU/non-GNU ld that we prefer.
13304       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13305       *GNU* | *'with BFD'*)
13306         test no != "$with_gnu_ld" && break
13307         ;;
13308       *)
13309         test yes != "$with_gnu_ld" && break
13310         ;;
13311       esac
13312     fi
13313   done
13314   IFS=$lt_save_ifs
13315 else
13316   lt_cv_path_LD=$LD # Let the user override the test with a path.
13317 fi
13318 fi
13319
13320 LD=$lt_cv_path_LD
13321 if test -n "$LD"; then
13322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13323 $as_echo "$LD" >&6; }
13324 else
13325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13327 fi
13328 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13330 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13331 if ${lt_cv_prog_gnu_ld+:} false; then :
13332   $as_echo_n "(cached) " >&6
13333 else
13334   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13335 case `$LD -v 2>&1 </dev/null` in
13336 *GNU* | *'with BFD'*)
13337   lt_cv_prog_gnu_ld=yes
13338   ;;
13339 *)
13340   lt_cv_prog_gnu_ld=no
13341   ;;
13342 esac
13343 fi
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13345 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13346 with_gnu_ld=$lt_cv_prog_gnu_ld
13347
13348
13349
13350
13351
13352
13353
13354       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13355       # archiving commands below assume that GNU ld is being used.
13356       if test yes = "$with_gnu_ld"; then
13357         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13358         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'
13359
13360         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13361         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13362
13363         # If archive_cmds runs LD, not CC, wlarc should be empty
13364         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13365         #     investigate it a little bit more. (MM)
13366         wlarc='$wl'
13367
13368         # ancient GNU ld didn't support --whole-archive et. al.
13369         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13370           $GREP 'no-whole-archive' > /dev/null; then
13371           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13372         else
13373           whole_archive_flag_spec_CXX=
13374         fi
13375       else
13376         with_gnu_ld=no
13377         wlarc=
13378
13379         # A generic and very simple default shared library creation
13380         # command for GNU C++ for the case where it uses the native
13381         # linker, instead of GNU ld.  If possible, this setting should
13382         # overridden to take advantage of the native linker features on
13383         # the platform it is being used on.
13384         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13385       fi
13386
13387       # Commands to make compiler produce verbose output that lists
13388       # what "hidden" libraries, object files and flags are used when
13389       # linking a shared library.
13390       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13391
13392     else
13393       GXX=no
13394       with_gnu_ld=no
13395       wlarc=
13396     fi
13397
13398     # PORTME: fill in a description of your system's C++ link characteristics
13399     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13400 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13401     ld_shlibs_CXX=yes
13402     case $host_os in
13403       aix3*)
13404         # FIXME: insert proper C++ library support
13405         ld_shlibs_CXX=no
13406         ;;
13407       aix[4-9]*)
13408         if test ia64 = "$host_cpu"; then
13409           # On IA64, the linker does run time linking by default, so we don't
13410           # have to do anything special.
13411           aix_use_runtimelinking=no
13412           exp_sym_flag='-Bexport'
13413           no_entry_flag=
13414         else
13415           aix_use_runtimelinking=no
13416
13417           # Test if we are trying to use run time linking or normal
13418           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13419           # have runtime linking enabled, and use it for executables.
13420           # For shared libraries, we enable/disable runtime linking
13421           # depending on the kind of the shared library created -
13422           # when "with_aix_soname,aix_use_runtimelinking" is:
13423           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13424           # "aix,yes"  lib.so          shared, rtl:yes, for executables
13425           #            lib.a           static archive
13426           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13427           #            lib.a(lib.so.V) shared, rtl:no,  for executables
13428           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13429           #            lib.a(lib.so.V) shared, rtl:no
13430           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13431           #            lib.a           static archive
13432           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13433             for ld_flag in $LDFLAGS; do
13434               case $ld_flag in
13435               *-brtl*)
13436                 aix_use_runtimelinking=yes
13437                 break
13438                 ;;
13439               esac
13440             done
13441             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13442               # With aix-soname=svr4, we create the lib.so.V shared archives only,
13443               # so we don't have lib.a shared libs to link our executables.
13444               # We have to force runtime linking in this case.
13445               aix_use_runtimelinking=yes
13446               LDFLAGS="$LDFLAGS -Wl,-brtl"
13447             fi
13448             ;;
13449           esac
13450
13451           exp_sym_flag='-bexport'
13452           no_entry_flag='-bnoentry'
13453         fi
13454
13455         # When large executables or shared objects are built, AIX ld can
13456         # have problems creating the table of contents.  If linking a library
13457         # or program results in "error TOC overflow" add -mminimal-toc to
13458         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13459         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13460
13461         archive_cmds_CXX=''
13462         hardcode_direct_CXX=yes
13463         hardcode_direct_absolute_CXX=yes
13464         hardcode_libdir_separator_CXX=':'
13465         link_all_deplibs_CXX=yes
13466         file_list_spec_CXX='$wl-f,'
13467         case $with_aix_soname,$aix_use_runtimelinking in
13468         aix,*) ;;       # no import file
13469         svr4,* | *,yes) # use import file
13470           # The Import File defines what to hardcode.
13471           hardcode_direct_CXX=no
13472           hardcode_direct_absolute_CXX=no
13473           ;;
13474         esac
13475
13476         if test yes = "$GXX"; then
13477           case $host_os in aix4.[012]|aix4.[012].*)
13478           # We only want to do this on AIX 4.2 and lower, the check
13479           # below for broken collect2 doesn't work under 4.3+
13480           collect2name=`$CC -print-prog-name=collect2`
13481           if test -f "$collect2name" &&
13482              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13483           then
13484             # We have reworked collect2
13485             :
13486           else
13487             # We have old collect2
13488             hardcode_direct_CXX=unsupported
13489             # It fails to find uninstalled libraries when the uninstalled
13490             # path is not listed in the libpath.  Setting hardcode_minus_L
13491             # to unsupported forces relinking
13492             hardcode_minus_L_CXX=yes
13493             hardcode_libdir_flag_spec_CXX='-L$libdir'
13494             hardcode_libdir_separator_CXX=
13495           fi
13496           esac
13497           shared_flag='-shared'
13498           if test yes = "$aix_use_runtimelinking"; then
13499             shared_flag=$shared_flag' $wl-G'
13500           fi
13501           # Need to ensure runtime linking is disabled for the traditional
13502           # shared library, or the linker may eventually find shared libraries
13503           # /with/ Import File - we do not want to mix them.
13504           shared_flag_aix='-shared'
13505           shared_flag_svr4='-shared $wl-G'
13506         else
13507           # not using gcc
13508           if test ia64 = "$host_cpu"; then
13509           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13510           # chokes on -Wl,-G. The following line is correct:
13511           shared_flag='-G'
13512           else
13513             if test yes = "$aix_use_runtimelinking"; then
13514               shared_flag='$wl-G'
13515             else
13516               shared_flag='$wl-bM:SRE'
13517             fi
13518             shared_flag_aix='$wl-bM:SRE'
13519             shared_flag_svr4='$wl-G'
13520           fi
13521         fi
13522
13523         export_dynamic_flag_spec_CXX='$wl-bexpall'
13524         # It seems that -bexpall does not export symbols beginning with
13525         # underscore (_), so it is better to generate a list of symbols to
13526         # export.
13527         always_export_symbols_CXX=yes
13528         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13529           # Warning - without using the other runtime loading flags (-brtl),
13530           # -berok will link without error, but may produce a broken library.
13531           # The "-G" linker flag allows undefined symbols.
13532           no_undefined_flag_CXX='-bernotok'
13533           # Determine the default libpath from the value encoded in an empty
13534           # executable.
13535           if test set = "${lt_cv_aix_libpath+set}"; then
13536   aix_libpath=$lt_cv_aix_libpath
13537 else
13538   if ${lt_cv_aix_libpath__CXX+:} false; then :
13539   $as_echo_n "(cached) " >&6
13540 else
13541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h.  */
13543
13544 int
13545 main ()
13546 {
13547
13548   ;
13549   return 0;
13550 }
13551 _ACEOF
13552 if ac_fn_cxx_try_link "$LINENO"; then :
13553
13554   lt_aix_libpath_sed='
13555       /Import File Strings/,/^$/ {
13556           /^0/ {
13557               s/^0  *\([^ ]*\) *$/\1/
13558               p
13559           }
13560       }'
13561   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13562   # Check for a 64-bit object if we didn't find anything.
13563   if test -z "$lt_cv_aix_libpath__CXX"; then
13564     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13565   fi
13566 fi
13567 rm -f core conftest.err conftest.$ac_objext \
13568     conftest$ac_exeext conftest.$ac_ext
13569   if test -z "$lt_cv_aix_libpath__CXX"; then
13570     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13571   fi
13572
13573 fi
13574
13575   aix_libpath=$lt_cv_aix_libpath__CXX
13576 fi
13577
13578           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13579
13580           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13581         else
13582           if test ia64 = "$host_cpu"; then
13583             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13584             allow_undefined_flag_CXX="-z nodefs"
13585             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"
13586           else
13587             # Determine the default libpath from the value encoded in an
13588             # empty executable.
13589             if test set = "${lt_cv_aix_libpath+set}"; then
13590   aix_libpath=$lt_cv_aix_libpath
13591 else
13592   if ${lt_cv_aix_libpath__CXX+:} false; then :
13593   $as_echo_n "(cached) " >&6
13594 else
13595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h.  */
13597
13598 int
13599 main ()
13600 {
13601
13602   ;
13603   return 0;
13604 }
13605 _ACEOF
13606 if ac_fn_cxx_try_link "$LINENO"; then :
13607
13608   lt_aix_libpath_sed='
13609       /Import File Strings/,/^$/ {
13610           /^0/ {
13611               s/^0  *\([^ ]*\) *$/\1/
13612               p
13613           }
13614       }'
13615   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13616   # Check for a 64-bit object if we didn't find anything.
13617   if test -z "$lt_cv_aix_libpath__CXX"; then
13618     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13619   fi
13620 fi
13621 rm -f core conftest.err conftest.$ac_objext \
13622     conftest$ac_exeext conftest.$ac_ext
13623   if test -z "$lt_cv_aix_libpath__CXX"; then
13624     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13625   fi
13626
13627 fi
13628
13629   aix_libpath=$lt_cv_aix_libpath__CXX
13630 fi
13631
13632             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13633             # Warning - without using the other run time loading flags,
13634             # -berok will link without error, but may produce a broken library.
13635             no_undefined_flag_CXX=' $wl-bernotok'
13636             allow_undefined_flag_CXX=' $wl-berok'
13637             if test yes = "$with_gnu_ld"; then
13638               # We only use this code for GNU lds that support --whole-archive.
13639               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13640             else
13641               # Exported symbols can be pulled into shared objects from archives
13642               whole_archive_flag_spec_CXX='$convenience'
13643             fi
13644             archive_cmds_need_lc_CXX=yes
13645             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13646             # -brtl affects multiple linker settings, -berok does not and is overridden later
13647             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13648             if test svr4 != "$with_aix_soname"; then
13649               # This is similar to how AIX traditionally builds its shared
13650               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13651               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13652             fi
13653             if test aix != "$with_aix_soname"; then
13654               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13655             else
13656               # used by -dlpreopen to get the symbols
13657               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13658             fi
13659             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13660           fi
13661         fi
13662         ;;
13663
13664       beos*)
13665         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13666           allow_undefined_flag_CXX=unsupported
13667           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13668           # support --undefined.  This deserves some investigation.  FIXME
13669           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13670         else
13671           ld_shlibs_CXX=no
13672         fi
13673         ;;
13674
13675       chorus*)
13676         case $cc_basename in
13677           *)
13678           # FIXME: insert proper C++ library support
13679           ld_shlibs_CXX=no
13680           ;;
13681         esac
13682         ;;
13683
13684       cygwin* | mingw* | pw32* | cegcc*)
13685         case $GXX,$cc_basename in
13686         ,cl* | no,cl*)
13687           # Native MSVC
13688           # hardcode_libdir_flag_spec is actually meaningless, as there is
13689           # no search path for DLLs.
13690           hardcode_libdir_flag_spec_CXX=' '
13691           allow_undefined_flag_CXX=unsupported
13692           always_export_symbols_CXX=yes
13693           file_list_spec_CXX='@'
13694           # Tell ltmain to make .lib files, not .a files.
13695           libext=lib
13696           # Tell ltmain to make .dll files, not .so files.
13697           shrext_cmds=.dll
13698           # FIXME: Setting linknames here is a bad hack.
13699           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13700           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13701               cp "$export_symbols" "$output_objdir/$soname.def";
13702               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13703             else
13704               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13705             fi~
13706             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13707             linknames='
13708           # The linker will not automatically build a static lib if we build a DLL.
13709           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13710           enable_shared_with_static_runtimes_CXX=yes
13711           # Don't use ranlib
13712           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13713           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13714             lt_tool_outputfile="@TOOL_OUTPUT@"~
13715             case $lt_outputfile in
13716               *.exe|*.EXE) ;;
13717               *)
13718                 lt_outputfile=$lt_outputfile.exe
13719                 lt_tool_outputfile=$lt_tool_outputfile.exe
13720                 ;;
13721             esac~
13722             func_to_tool_file "$lt_outputfile"~
13723             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13724               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13725               $RM "$lt_outputfile.manifest";
13726             fi'
13727           ;;
13728         *)
13729           # g++
13730           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13731           # as there is no search path for DLLs.
13732           hardcode_libdir_flag_spec_CXX='-L$libdir'
13733           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13734           allow_undefined_flag_CXX=unsupported
13735           always_export_symbols_CXX=no
13736           enable_shared_with_static_runtimes_CXX=yes
13737
13738           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13739             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'
13740             # If the export-symbols file already is a .def file, use it as
13741             # is; otherwise, prepend EXPORTS...
13742             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13743               cp $export_symbols $output_objdir/$soname.def;
13744             else
13745               echo EXPORTS > $output_objdir/$soname.def;
13746               cat $export_symbols >> $output_objdir/$soname.def;
13747             fi~
13748             $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'
13749           else
13750             ld_shlibs_CXX=no
13751           fi
13752           ;;
13753         esac
13754         ;;
13755       darwin* | rhapsody*)
13756
13757
13758   archive_cmds_need_lc_CXX=no
13759   hardcode_direct_CXX=no
13760   hardcode_automatic_CXX=yes
13761   hardcode_shlibpath_var_CXX=unsupported
13762   if test yes = "$lt_cv_ld_force_load"; then
13763     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\"`'
13764
13765   else
13766     whole_archive_flag_spec_CXX=''
13767   fi
13768   link_all_deplibs_CXX=yes
13769   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13770   case $cc_basename in
13771      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13772      *) _lt_dar_can_shared=$GCC ;;
13773   esac
13774   if test yes = "$_lt_dar_can_shared"; then
13775     output_verbose_link_cmd=func_echo_all
13776     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"
13777     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13778     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"
13779     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"
13780        if test yes != "$lt_cv_apple_cc_single_mod"; then
13781       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"
13782       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"
13783     fi
13784
13785   else
13786   ld_shlibs_CXX=no
13787   fi
13788
13789         ;;
13790
13791       os2*)
13792         hardcode_libdir_flag_spec_CXX='-L$libdir'
13793         hardcode_minus_L_CXX=yes
13794         allow_undefined_flag_CXX=unsupported
13795         shrext_cmds=.dll
13796         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13797           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13798           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13799           $ECHO EXPORTS >> $output_objdir/$libname.def~
13800           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13801           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13802           emximp -o $lib $output_objdir/$libname.def'
13803         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13804           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13805           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13806           $ECHO EXPORTS >> $output_objdir/$libname.def~
13807           prefix_cmds="$SED"~
13808           if test EXPORTS = "`$SED 1q $export_symbols`"; then
13809             prefix_cmds="$prefix_cmds -e 1d";
13810           fi~
13811           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13812           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13813           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13814           emximp -o $lib $output_objdir/$libname.def'
13815         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13816         enable_shared_with_static_runtimes_CXX=yes
13817         ;;
13818
13819       dgux*)
13820         case $cc_basename in
13821           ec++*)
13822             # FIXME: insert proper C++ library support
13823             ld_shlibs_CXX=no
13824             ;;
13825           ghcx*)
13826             # Green Hills C++ Compiler
13827             # FIXME: insert proper C++ library support
13828             ld_shlibs_CXX=no
13829             ;;
13830           *)
13831             # FIXME: insert proper C++ library support
13832             ld_shlibs_CXX=no
13833             ;;
13834         esac
13835         ;;
13836
13837       freebsd2.*)
13838         # C++ shared libraries reported to be fairly broken before
13839         # switch to ELF
13840         ld_shlibs_CXX=no
13841         ;;
13842
13843       freebsd-elf*)
13844         archive_cmds_need_lc_CXX=no
13845         ;;
13846
13847       freebsd* | dragonfly*)
13848         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13849         # conventions
13850         ld_shlibs_CXX=yes
13851         ;;
13852
13853       haiku*)
13854         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13855         link_all_deplibs_CXX=yes
13856         ;;
13857
13858       hpux9*)
13859         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13860         hardcode_libdir_separator_CXX=:
13861         export_dynamic_flag_spec_CXX='$wl-E'
13862         hardcode_direct_CXX=yes
13863         hardcode_minus_L_CXX=yes # Not in the search PATH,
13864                                              # but as the default
13865                                              # location of the library.
13866
13867         case $cc_basename in
13868           CC*)
13869             # FIXME: insert proper C++ library support
13870             ld_shlibs_CXX=no
13871             ;;
13872           aCC*)
13873             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13874             # Commands to make compiler produce verbose output that lists
13875             # what "hidden" libraries, object files and flags are used when
13876             # linking a shared library.
13877             #
13878             # There doesn't appear to be a way to prevent this compiler from
13879             # explicitly linking system object files so we need to strip them
13880             # from the output so that they don't get included in the library
13881             # dependencies.
13882             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"'
13883             ;;
13884           *)
13885             if test yes = "$GXX"; then
13886               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13887             else
13888               # FIXME: insert proper C++ library support
13889               ld_shlibs_CXX=no
13890             fi
13891             ;;
13892         esac
13893         ;;
13894
13895       hpux10*|hpux11*)
13896         if test no = "$with_gnu_ld"; then
13897           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13898           hardcode_libdir_separator_CXX=:
13899
13900           case $host_cpu in
13901             hppa*64*|ia64*)
13902               ;;
13903             *)
13904               export_dynamic_flag_spec_CXX='$wl-E'
13905               ;;
13906           esac
13907         fi
13908         case $host_cpu in
13909           hppa*64*|ia64*)
13910             hardcode_direct_CXX=no
13911             hardcode_shlibpath_var_CXX=no
13912             ;;
13913           *)
13914             hardcode_direct_CXX=yes
13915             hardcode_direct_absolute_CXX=yes
13916             hardcode_minus_L_CXX=yes # Not in the search PATH,
13917                                                  # but as the default
13918                                                  # location of the library.
13919             ;;
13920         esac
13921
13922         case $cc_basename in
13923           CC*)
13924             # FIXME: insert proper C++ library support
13925             ld_shlibs_CXX=no
13926             ;;
13927           aCC*)
13928             case $host_cpu in
13929               hppa*64*)
13930                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13931                 ;;
13932               ia64*)
13933                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13934                 ;;
13935               *)
13936                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13937                 ;;
13938             esac
13939             # Commands to make compiler produce verbose output that lists
13940             # what "hidden" libraries, object files and flags are used when
13941             # linking a shared library.
13942             #
13943             # There doesn't appear to be a way to prevent this compiler from
13944             # explicitly linking system object files so we need to strip them
13945             # from the output so that they don't get included in the library
13946             # dependencies.
13947             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"'
13948             ;;
13949           *)
13950             if test yes = "$GXX"; then
13951               if test no = "$with_gnu_ld"; then
13952                 case $host_cpu in
13953                   hppa*64*)
13954                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13955                     ;;
13956                   ia64*)
13957                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13958                     ;;
13959                   *)
13960                     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'
13961                     ;;
13962                 esac
13963               fi
13964             else
13965               # FIXME: insert proper C++ library support
13966               ld_shlibs_CXX=no
13967             fi
13968             ;;
13969         esac
13970         ;;
13971
13972       interix[3-9]*)
13973         hardcode_direct_CXX=no
13974         hardcode_shlibpath_var_CXX=no
13975         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13976         export_dynamic_flag_spec_CXX='$wl-E'
13977         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13978         # Instead, shared libraries are loaded at an image base (0x10000000 by
13979         # default) and relocated if they conflict, which is a slow very memory
13980         # consuming and fragmenting process.  To avoid this, we pick a random,
13981         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13982         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13983         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'
13984         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'
13985         ;;
13986       irix5* | irix6*)
13987         case $cc_basename in
13988           CC*)
13989             # SGI C++
13990             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'
13991
13992             # Archives containing C++ object files must be created using
13993             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13994             # necessary to make sure instantiated templates are included
13995             # in the archive.
13996             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13997             ;;
13998           *)
13999             if test yes = "$GXX"; then
14000               if test no = "$with_gnu_ld"; then
14001                 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'
14002               else
14003                 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'
14004               fi
14005             fi
14006             link_all_deplibs_CXX=yes
14007             ;;
14008         esac
14009         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14010         hardcode_libdir_separator_CXX=:
14011         inherit_rpath_CXX=yes
14012         ;;
14013
14014       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14015         case $cc_basename in
14016           KCC*)
14017             # Kuck and Associates, Inc. (KAI) C++ Compiler
14018
14019             # KCC will only create a shared library if the output file
14020             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14021             # to its proper name (with version) after linking.
14022             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'
14023             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'
14024             # Commands to make compiler produce verbose output that lists
14025             # what "hidden" libraries, object files and flags are used when
14026             # linking a shared library.
14027             #
14028             # There doesn't appear to be a way to prevent this compiler from
14029             # explicitly linking system object files so we need to strip them
14030             # from the output so that they don't get included in the library
14031             # dependencies.
14032             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"'
14033
14034             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14035             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14036
14037             # Archives containing C++ object files must be created using
14038             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14039             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14040             ;;
14041           icpc* | ecpc* )
14042             # Intel C++
14043             with_gnu_ld=yes
14044             # version 8.0 and above of icpc choke on multiply defined symbols
14045             # if we add $predep_objects and $postdep_objects, however 7.1 and
14046             # earlier do not add the objects themselves.
14047             case `$CC -V 2>&1` in
14048               *"Version 7."*)
14049                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14050                 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'
14051                 ;;
14052               *)  # Version 8.0 or newer
14053                 tmp_idyn=
14054                 case $host_cpu in
14055                   ia64*) tmp_idyn=' -i_dynamic';;
14056                 esac
14057                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14058                 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'
14059                 ;;
14060             esac
14061             archive_cmds_need_lc_CXX=no
14062             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14063             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14064             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14065             ;;
14066           pgCC* | pgcpp*)
14067             # Portland Group C++ compiler
14068             case `$CC -V` in
14069             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14070               prelink_cmds_CXX='tpldir=Template.dir~
14071                rm -rf $tpldir~
14072                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14073                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14074               old_archive_cmds_CXX='tpldir=Template.dir~
14075                 rm -rf $tpldir~
14076                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14077                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14078                 $RANLIB $oldlib'
14079               archive_cmds_CXX='tpldir=Template.dir~
14080                 rm -rf $tpldir~
14081                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14082                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14083               archive_expsym_cmds_CXX='tpldir=Template.dir~
14084                 rm -rf $tpldir~
14085                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14086                 $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'
14087               ;;
14088             *) # Version 6 and above use weak symbols
14089               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14090               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'
14091               ;;
14092             esac
14093
14094             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14095             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14096             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'
14097             ;;
14098           cxx*)
14099             # Compaq C++
14100             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14101             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'
14102
14103             runpath_var=LD_RUN_PATH
14104             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14105             hardcode_libdir_separator_CXX=:
14106
14107             # Commands to make compiler produce verbose output that lists
14108             # what "hidden" libraries, object files and flags are used when
14109             # linking a shared library.
14110             #
14111             # There doesn't appear to be a way to prevent this compiler from
14112             # explicitly linking system object files so we need to strip them
14113             # from the output so that they don't get included in the library
14114             # dependencies.
14115             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'
14116             ;;
14117           xl* | mpixl* | bgxl*)
14118             # IBM XL 8.0 on PPC, with GNU ld
14119             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14120             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14121             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14122             if test yes = "$supports_anon_versioning"; then
14123               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14124                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14125                 echo "local: *; };" >> $output_objdir/$libname.ver~
14126                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14127             fi
14128             ;;
14129           *)
14130             case `$CC -V 2>&1 | sed 5q` in
14131             *Sun\ C*)
14132               # Sun C++ 5.9
14133               no_undefined_flag_CXX=' -zdefs'
14134               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14135               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'
14136               hardcode_libdir_flag_spec_CXX='-R$libdir'
14137               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'
14138               compiler_needs_object_CXX=yes
14139
14140               # Not sure whether something based on
14141               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14142               # would be better.
14143               output_verbose_link_cmd='func_echo_all'
14144
14145               # Archives containing C++ object files must be created using
14146               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14147               # necessary to make sure instantiated templates are included
14148               # in the archive.
14149               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14150               ;;
14151             esac
14152             ;;
14153         esac
14154         ;;
14155
14156       lynxos*)
14157         # FIXME: insert proper C++ library support
14158         ld_shlibs_CXX=no
14159         ;;
14160
14161       m88k*)
14162         # FIXME: insert proper C++ library support
14163         ld_shlibs_CXX=no
14164         ;;
14165
14166       mvs*)
14167         case $cc_basename in
14168           cxx*)
14169             # FIXME: insert proper C++ library support
14170             ld_shlibs_CXX=no
14171             ;;
14172           *)
14173             # FIXME: insert proper C++ library support
14174             ld_shlibs_CXX=no
14175             ;;
14176         esac
14177         ;;
14178
14179       netbsd*)
14180         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14181           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14182           wlarc=
14183           hardcode_libdir_flag_spec_CXX='-R$libdir'
14184           hardcode_direct_CXX=yes
14185           hardcode_shlibpath_var_CXX=no
14186         fi
14187         # Workaround some broken pre-1.5 toolchains
14188         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14189         ;;
14190
14191       *nto* | *qnx*)
14192         ld_shlibs_CXX=yes
14193         ;;
14194
14195       openbsd* | bitrig*)
14196         if test -f /usr/libexec/ld.so; then
14197           hardcode_direct_CXX=yes
14198           hardcode_shlibpath_var_CXX=no
14199           hardcode_direct_absolute_CXX=yes
14200           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14201           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14202           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14203             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14204             export_dynamic_flag_spec_CXX='$wl-E'
14205             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14206           fi
14207           output_verbose_link_cmd=func_echo_all
14208         else
14209           ld_shlibs_CXX=no
14210         fi
14211         ;;
14212
14213       osf3* | osf4* | osf5*)
14214         case $cc_basename in
14215           KCC*)
14216             # Kuck and Associates, Inc. (KAI) C++ Compiler
14217
14218             # KCC will only create a shared library if the output file
14219             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14220             # to its proper name (with version) after linking.
14221             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'
14222
14223             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14224             hardcode_libdir_separator_CXX=:
14225
14226             # Archives containing C++ object files must be created using
14227             # the KAI C++ compiler.
14228             case $host in
14229               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14230               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14231             esac
14232             ;;
14233           RCC*)
14234             # Rational C++ 2.4.1
14235             # FIXME: insert proper C++ library support
14236             ld_shlibs_CXX=no
14237             ;;
14238           cxx*)
14239             case $host in
14240               osf3*)
14241                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14242                 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'
14243                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14244                 ;;
14245               *)
14246                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14247                 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'
14248                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14249                   echo "-hidden">> $lib.exp~
14250                   $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~
14251                   $RM $lib.exp'
14252                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14253                 ;;
14254             esac
14255
14256             hardcode_libdir_separator_CXX=:
14257
14258             # Commands to make compiler produce verbose output that lists
14259             # what "hidden" libraries, object files and flags are used when
14260             # linking a shared library.
14261             #
14262             # There doesn't appear to be a way to prevent this compiler from
14263             # explicitly linking system object files so we need to strip them
14264             # from the output so that they don't get included in the library
14265             # dependencies.
14266             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"'
14267             ;;
14268           *)
14269             if test yes,no = "$GXX,$with_gnu_ld"; then
14270               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14271               case $host in
14272                 osf3*)
14273                   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'
14274                   ;;
14275                 *)
14276                   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'
14277                   ;;
14278               esac
14279
14280               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14281               hardcode_libdir_separator_CXX=:
14282
14283               # Commands to make compiler produce verbose output that lists
14284               # what "hidden" libraries, object files and flags are used when
14285               # linking a shared library.
14286               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14287
14288             else
14289               # FIXME: insert proper C++ library support
14290               ld_shlibs_CXX=no
14291             fi
14292             ;;
14293         esac
14294         ;;
14295
14296       psos*)
14297         # FIXME: insert proper C++ library support
14298         ld_shlibs_CXX=no
14299         ;;
14300
14301       sunos4*)
14302         case $cc_basename in
14303           CC*)
14304             # Sun C++ 4.x
14305             # FIXME: insert proper C++ library support
14306             ld_shlibs_CXX=no
14307             ;;
14308           lcc*)
14309             # Lucid
14310             # FIXME: insert proper C++ library support
14311             ld_shlibs_CXX=no
14312             ;;
14313           *)
14314             # FIXME: insert proper C++ library support
14315             ld_shlibs_CXX=no
14316             ;;
14317         esac
14318         ;;
14319
14320       solaris*)
14321         case $cc_basename in
14322           CC* | sunCC*)
14323             # Sun C++ 4.2, 5.x and Centerline C++
14324             archive_cmds_need_lc_CXX=yes
14325             no_undefined_flag_CXX=' -zdefs'
14326             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14327             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14328               $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'
14329
14330             hardcode_libdir_flag_spec_CXX='-R$libdir'
14331             hardcode_shlibpath_var_CXX=no
14332             case $host_os in
14333               solaris2.[0-5] | solaris2.[0-5].*) ;;
14334               *)
14335                 # The compiler driver will combine and reorder linker options,
14336                 # but understands '-z linker_flag'.
14337                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14338                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14339                 ;;
14340             esac
14341             link_all_deplibs_CXX=yes
14342
14343             output_verbose_link_cmd='func_echo_all'
14344
14345             # Archives containing C++ object files must be created using
14346             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14347             # necessary to make sure instantiated templates are included
14348             # in the archive.
14349             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14350             ;;
14351           gcx*)
14352             # Green Hills C++ Compiler
14353             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14354
14355             # The C++ compiler must be used to create the archive.
14356             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14357             ;;
14358           *)
14359             # GNU C++ compiler with Solaris linker
14360             if test yes,no = "$GXX,$with_gnu_ld"; then
14361               no_undefined_flag_CXX=' $wl-z ${wl}defs'
14362               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14363                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14364                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14365                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14366
14367                 # Commands to make compiler produce verbose output that lists
14368                 # what "hidden" libraries, object files and flags are used when
14369                 # linking a shared library.
14370                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14371               else
14372                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14373                 # platform.
14374                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14375                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14376                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14377
14378                 # Commands to make compiler produce verbose output that lists
14379                 # what "hidden" libraries, object files and flags are used when
14380                 # linking a shared library.
14381                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14382               fi
14383
14384               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14385               case $host_os in
14386                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14387                 *)
14388                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14389                   ;;
14390               esac
14391             fi
14392             ;;
14393         esac
14394         ;;
14395
14396     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14397       no_undefined_flag_CXX='$wl-z,text'
14398       archive_cmds_need_lc_CXX=no
14399       hardcode_shlibpath_var_CXX=no
14400       runpath_var='LD_RUN_PATH'
14401
14402       case $cc_basename in
14403         CC*)
14404           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14405           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14406           ;;
14407         *)
14408           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14409           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14410           ;;
14411       esac
14412       ;;
14413
14414       sysv5* | sco3.2v5* | sco5v6*)
14415         # Note: We CANNOT use -z defs as we might desire, because we do not
14416         # link with -lc, and that would cause any symbols used from libc to
14417         # always be unresolved, which means just about no library would
14418         # ever link correctly.  If we're not using GNU ld we use -z text
14419         # though, which does catch some bad symbols but isn't as heavy-handed
14420         # as -z defs.
14421         no_undefined_flag_CXX='$wl-z,text'
14422         allow_undefined_flag_CXX='$wl-z,nodefs'
14423         archive_cmds_need_lc_CXX=no
14424         hardcode_shlibpath_var_CXX=no
14425         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14426         hardcode_libdir_separator_CXX=':'
14427         link_all_deplibs_CXX=yes
14428         export_dynamic_flag_spec_CXX='$wl-Bexport'
14429         runpath_var='LD_RUN_PATH'
14430
14431         case $cc_basename in
14432           CC*)
14433             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14434             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14435             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14436               '"$old_archive_cmds_CXX"
14437             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14438               '"$reload_cmds_CXX"
14439             ;;
14440           *)
14441             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14442             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14443             ;;
14444         esac
14445       ;;
14446
14447       tandem*)
14448         case $cc_basename in
14449           NCC*)
14450             # NonStop-UX NCC 3.20
14451             # FIXME: insert proper C++ library support
14452             ld_shlibs_CXX=no
14453             ;;
14454           *)
14455             # FIXME: insert proper C++ library support
14456             ld_shlibs_CXX=no
14457             ;;
14458         esac
14459         ;;
14460
14461       vxworks*)
14462         # FIXME: insert proper C++ library support
14463         ld_shlibs_CXX=no
14464         ;;
14465
14466       *)
14467         # FIXME: insert proper C++ library support
14468         ld_shlibs_CXX=no
14469         ;;
14470     esac
14471
14472     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14473 $as_echo "$ld_shlibs_CXX" >&6; }
14474     test no = "$ld_shlibs_CXX" && can_build_shared=no
14475
14476     GCC_CXX=$GXX
14477     LD_CXX=$LD
14478
14479     ## CAVEAT EMPTOR:
14480     ## There is no encapsulation within the following macros, do not change
14481     ## the running order or otherwise move them around unless you know exactly
14482     ## what you are doing...
14483     # Dependencies to place before and after the object being linked:
14484 predep_objects_CXX=
14485 postdep_objects_CXX=
14486 predeps_CXX=
14487 postdeps_CXX=
14488 compiler_lib_search_path_CXX=
14489
14490 cat > conftest.$ac_ext <<_LT_EOF
14491 class Foo
14492 {
14493 public:
14494   Foo (void) { a = 0; }
14495 private:
14496   int a;
14497 };
14498 _LT_EOF
14499
14500
14501 _lt_libdeps_save_CFLAGS=$CFLAGS
14502 case "$CC $CFLAGS " in #(
14503 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14504 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14505 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14506 esac
14507
14508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14509   (eval $ac_compile) 2>&5
14510   ac_status=$?
14511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512   test $ac_status = 0; }; then
14513   # Parse the compiler output and extract the necessary
14514   # objects, libraries and library flags.
14515
14516   # Sentinel used to keep track of whether or not we are before
14517   # the conftest object file.
14518   pre_test_object_deps_done=no
14519
14520   for p in `eval "$output_verbose_link_cmd"`; do
14521     case $prev$p in
14522
14523     -L* | -R* | -l*)
14524        # Some compilers place space between "-{L,R}" and the path.
14525        # Remove the space.
14526        if test x-L = "$p" ||
14527           test x-R = "$p"; then
14528          prev=$p
14529          continue
14530        fi
14531
14532        # Expand the sysroot to ease extracting the directories later.
14533        if test -z "$prev"; then
14534          case $p in
14535          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14536          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14537          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14538          esac
14539        fi
14540        case $p in
14541        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14542        esac
14543        if test no = "$pre_test_object_deps_done"; then
14544          case $prev in
14545          -L | -R)
14546            # Internal compiler library paths should come after those
14547            # provided the user.  The postdeps already come after the
14548            # user supplied libs so there is no need to process them.
14549            if test -z "$compiler_lib_search_path_CXX"; then
14550              compiler_lib_search_path_CXX=$prev$p
14551            else
14552              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14553            fi
14554            ;;
14555          # The "-l" case would never come before the object being
14556          # linked, so don't bother handling this case.
14557          esac
14558        else
14559          if test -z "$postdeps_CXX"; then
14560            postdeps_CXX=$prev$p
14561          else
14562            postdeps_CXX="${postdeps_CXX} $prev$p"
14563          fi
14564        fi
14565        prev=
14566        ;;
14567
14568     *.lto.$objext) ;; # Ignore GCC LTO objects
14569     *.$objext)
14570        # This assumes that the test object file only shows up
14571        # once in the compiler output.
14572        if test "$p" = "conftest.$objext"; then
14573          pre_test_object_deps_done=yes
14574          continue
14575        fi
14576
14577        if test no = "$pre_test_object_deps_done"; then
14578          if test -z "$predep_objects_CXX"; then
14579            predep_objects_CXX=$p
14580          else
14581            predep_objects_CXX="$predep_objects_CXX $p"
14582          fi
14583        else
14584          if test -z "$postdep_objects_CXX"; then
14585            postdep_objects_CXX=$p
14586          else
14587            postdep_objects_CXX="$postdep_objects_CXX $p"
14588          fi
14589        fi
14590        ;;
14591
14592     *) ;; # Ignore the rest.
14593
14594     esac
14595   done
14596
14597   # Clean up.
14598   rm -f a.out a.exe
14599 else
14600   echo "libtool.m4: error: problem compiling CXX test program"
14601 fi
14602
14603 $RM -f confest.$objext
14604 CFLAGS=$_lt_libdeps_save_CFLAGS
14605
14606 # PORTME: override above test on systems where it is broken
14607 case $host_os in
14608 interix[3-9]*)
14609   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14610   # hack all around it, let's just trust "g++" to DTRT.
14611   predep_objects_CXX=
14612   postdep_objects_CXX=
14613   postdeps_CXX=
14614   ;;
14615 esac
14616
14617
14618 case " $postdeps_CXX " in
14619 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14620 esac
14621  compiler_lib_search_dirs_CXX=
14622 if test -n "${compiler_lib_search_path_CXX}"; then
14623  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14624 fi
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656     lt_prog_compiler_wl_CXX=
14657 lt_prog_compiler_pic_CXX=
14658 lt_prog_compiler_static_CXX=
14659
14660
14661   # C++ specific cases for pic, static, wl, etc.
14662   if test yes = "$GXX"; then
14663     lt_prog_compiler_wl_CXX='-Wl,'
14664     lt_prog_compiler_static_CXX='-static'
14665
14666     case $host_os in
14667     aix*)
14668       # All AIX code is PIC.
14669       if test ia64 = "$host_cpu"; then
14670         # AIX 5 now supports IA64 processor
14671         lt_prog_compiler_static_CXX='-Bstatic'
14672       fi
14673       lt_prog_compiler_pic_CXX='-fPIC'
14674       ;;
14675
14676     amigaos*)
14677       case $host_cpu in
14678       powerpc)
14679             # see comment about AmigaOS4 .so support
14680             lt_prog_compiler_pic_CXX='-fPIC'
14681         ;;
14682       m68k)
14683             # FIXME: we need at least 68020 code to build shared libraries, but
14684             # adding the '-m68020' flag to GCC prevents building anything better,
14685             # like '-m68040'.
14686             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14687         ;;
14688       esac
14689       ;;
14690
14691     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14692       # PIC is the default for these OSes.
14693       ;;
14694     mingw* | cygwin* | os2* | pw32* | cegcc*)
14695       # This hack is so that the source file can tell whether it is being
14696       # built for inclusion in a dll (and should export symbols for example).
14697       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14698       # (--disable-auto-import) libraries
14699       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14700       case $host_os in
14701       os2*)
14702         lt_prog_compiler_static_CXX='$wl-static'
14703         ;;
14704       esac
14705       ;;
14706     darwin* | rhapsody*)
14707       # PIC is the default on this platform
14708       # Common symbols not allowed in MH_DYLIB files
14709       lt_prog_compiler_pic_CXX='-fno-common'
14710       ;;
14711     *djgpp*)
14712       # DJGPP does not support shared libraries at all
14713       lt_prog_compiler_pic_CXX=
14714       ;;
14715     haiku*)
14716       # PIC is the default for Haiku.
14717       # The "-static" flag exists, but is broken.
14718       lt_prog_compiler_static_CXX=
14719       ;;
14720     interix[3-9]*)
14721       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14722       # Instead, we relocate shared libraries at runtime.
14723       ;;
14724     sysv4*MP*)
14725       if test -d /usr/nec; then
14726         lt_prog_compiler_pic_CXX=-Kconform_pic
14727       fi
14728       ;;
14729     hpux*)
14730       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14731       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14732       # sets the default TLS model and affects inlining.
14733       case $host_cpu in
14734       hppa*64*)
14735         ;;
14736       *)
14737         lt_prog_compiler_pic_CXX='-fPIC'
14738         ;;
14739       esac
14740       ;;
14741     *qnx* | *nto*)
14742       # QNX uses GNU C++, but need to define -shared option too, otherwise
14743       # it will coredump.
14744       lt_prog_compiler_pic_CXX='-fPIC -shared'
14745       ;;
14746     *)
14747       lt_prog_compiler_pic_CXX='-fPIC'
14748       ;;
14749     esac
14750   else
14751     case $host_os in
14752       aix[4-9]*)
14753         # All AIX code is PIC.
14754         if test ia64 = "$host_cpu"; then
14755           # AIX 5 now supports IA64 processor
14756           lt_prog_compiler_static_CXX='-Bstatic'
14757         else
14758           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14759         fi
14760         ;;
14761       chorus*)
14762         case $cc_basename in
14763         cxch68*)
14764           # Green Hills C++ Compiler
14765           # _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"
14766           ;;
14767         esac
14768         ;;
14769       mingw* | cygwin* | os2* | pw32* | cegcc*)
14770         # This hack is so that the source file can tell whether it is being
14771         # built for inclusion in a dll (and should export symbols for example).
14772         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14773         ;;
14774       dgux*)
14775         case $cc_basename in
14776           ec++*)
14777             lt_prog_compiler_pic_CXX='-KPIC'
14778             ;;
14779           ghcx*)
14780             # Green Hills C++ Compiler
14781             lt_prog_compiler_pic_CXX='-pic'
14782             ;;
14783           *)
14784             ;;
14785         esac
14786         ;;
14787       freebsd* | dragonfly*)
14788         # FreeBSD uses GNU C++
14789         ;;
14790       hpux9* | hpux10* | hpux11*)
14791         case $cc_basename in
14792           CC*)
14793             lt_prog_compiler_wl_CXX='-Wl,'
14794             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14795             if test ia64 != "$host_cpu"; then
14796               lt_prog_compiler_pic_CXX='+Z'
14797             fi
14798             ;;
14799           aCC*)
14800             lt_prog_compiler_wl_CXX='-Wl,'
14801             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14802             case $host_cpu in
14803             hppa*64*|ia64*)
14804               # +Z the default
14805               ;;
14806             *)
14807               lt_prog_compiler_pic_CXX='+Z'
14808               ;;
14809             esac
14810             ;;
14811           *)
14812             ;;
14813         esac
14814         ;;
14815       interix*)
14816         # This is c89, which is MS Visual C++ (no shared libs)
14817         # Anyone wants to do a port?
14818         ;;
14819       irix5* | irix6* | nonstopux*)
14820         case $cc_basename in
14821           CC*)
14822             lt_prog_compiler_wl_CXX='-Wl,'
14823             lt_prog_compiler_static_CXX='-non_shared'
14824             # CC pic flag -KPIC is the default.
14825             ;;
14826           *)
14827             ;;
14828         esac
14829         ;;
14830       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14831         case $cc_basename in
14832           KCC*)
14833             # KAI C++ Compiler
14834             lt_prog_compiler_wl_CXX='--backend -Wl,'
14835             lt_prog_compiler_pic_CXX='-fPIC'
14836             ;;
14837           ecpc* )
14838             # old Intel C++ for x86_64, which still supported -KPIC.
14839             lt_prog_compiler_wl_CXX='-Wl,'
14840             lt_prog_compiler_pic_CXX='-KPIC'
14841             lt_prog_compiler_static_CXX='-static'
14842             ;;
14843           icpc* )
14844             # Intel C++, used to be incompatible with GCC.
14845             # ICC 10 doesn't accept -KPIC any more.
14846             lt_prog_compiler_wl_CXX='-Wl,'
14847             lt_prog_compiler_pic_CXX='-fPIC'
14848             lt_prog_compiler_static_CXX='-static'
14849             ;;
14850           pgCC* | pgcpp*)
14851             # Portland Group C++ compiler
14852             lt_prog_compiler_wl_CXX='-Wl,'
14853             lt_prog_compiler_pic_CXX='-fpic'
14854             lt_prog_compiler_static_CXX='-Bstatic'
14855             ;;
14856           cxx*)
14857             # Compaq C++
14858             # Make sure the PIC flag is empty.  It appears that all Alpha
14859             # Linux and Compaq Tru64 Unix objects are PIC.
14860             lt_prog_compiler_pic_CXX=
14861             lt_prog_compiler_static_CXX='-non_shared'
14862             ;;
14863           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14864             # IBM XL 8.0, 9.0 on PPC and BlueGene
14865             lt_prog_compiler_wl_CXX='-Wl,'
14866             lt_prog_compiler_pic_CXX='-qpic'
14867             lt_prog_compiler_static_CXX='-qstaticlink'
14868             ;;
14869           *)
14870             case `$CC -V 2>&1 | sed 5q` in
14871             *Sun\ C*)
14872               # Sun C++ 5.9
14873               lt_prog_compiler_pic_CXX='-KPIC'
14874               lt_prog_compiler_static_CXX='-Bstatic'
14875               lt_prog_compiler_wl_CXX='-Qoption ld '
14876               ;;
14877             esac
14878             ;;
14879         esac
14880         ;;
14881       lynxos*)
14882         ;;
14883       m88k*)
14884         ;;
14885       mvs*)
14886         case $cc_basename in
14887           cxx*)
14888             lt_prog_compiler_pic_CXX='-W c,exportall'
14889             ;;
14890           *)
14891             ;;
14892         esac
14893         ;;
14894       netbsd*)
14895         ;;
14896       *qnx* | *nto*)
14897         # QNX uses GNU C++, but need to define -shared option too, otherwise
14898         # it will coredump.
14899         lt_prog_compiler_pic_CXX='-fPIC -shared'
14900         ;;
14901       osf3* | osf4* | osf5*)
14902         case $cc_basename in
14903           KCC*)
14904             lt_prog_compiler_wl_CXX='--backend -Wl,'
14905             ;;
14906           RCC*)
14907             # Rational C++ 2.4.1
14908             lt_prog_compiler_pic_CXX='-pic'
14909             ;;
14910           cxx*)
14911             # Digital/Compaq C++
14912             lt_prog_compiler_wl_CXX='-Wl,'
14913             # Make sure the PIC flag is empty.  It appears that all Alpha
14914             # Linux and Compaq Tru64 Unix objects are PIC.
14915             lt_prog_compiler_pic_CXX=
14916             lt_prog_compiler_static_CXX='-non_shared'
14917             ;;
14918           *)
14919             ;;
14920         esac
14921         ;;
14922       psos*)
14923         ;;
14924       solaris*)
14925         case $cc_basename in
14926           CC* | sunCC*)
14927             # Sun C++ 4.2, 5.x and Centerline C++
14928             lt_prog_compiler_pic_CXX='-KPIC'
14929             lt_prog_compiler_static_CXX='-Bstatic'
14930             lt_prog_compiler_wl_CXX='-Qoption ld '
14931             ;;
14932           gcx*)
14933             # Green Hills C++ Compiler
14934             lt_prog_compiler_pic_CXX='-PIC'
14935             ;;
14936           *)
14937             ;;
14938         esac
14939         ;;
14940       sunos4*)
14941         case $cc_basename in
14942           CC*)
14943             # Sun C++ 4.x
14944             lt_prog_compiler_pic_CXX='-pic'
14945             lt_prog_compiler_static_CXX='-Bstatic'
14946             ;;
14947           lcc*)
14948             # Lucid
14949             lt_prog_compiler_pic_CXX='-pic'
14950             ;;
14951           *)
14952             ;;
14953         esac
14954         ;;
14955       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14956         case $cc_basename in
14957           CC*)
14958             lt_prog_compiler_wl_CXX='-Wl,'
14959             lt_prog_compiler_pic_CXX='-KPIC'
14960             lt_prog_compiler_static_CXX='-Bstatic'
14961             ;;
14962         esac
14963         ;;
14964       tandem*)
14965         case $cc_basename in
14966           NCC*)
14967             # NonStop-UX NCC 3.20
14968             lt_prog_compiler_pic_CXX='-KPIC'
14969             ;;
14970           *)
14971             ;;
14972         esac
14973         ;;
14974       vxworks*)
14975         ;;
14976       *)
14977         lt_prog_compiler_can_build_shared_CXX=no
14978         ;;
14979     esac
14980   fi
14981
14982 case $host_os in
14983   # For platforms that do not support PIC, -DPIC is meaningless:
14984   *djgpp*)
14985     lt_prog_compiler_pic_CXX=
14986     ;;
14987   *)
14988     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14989     ;;
14990 esac
14991
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14994 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14995   $as_echo_n "(cached) " >&6
14996 else
14997   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14998 fi
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15000 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15001 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15002
15003 #
15004 # Check to make sure the PIC flag actually works.
15005 #
15006 if test -n "$lt_prog_compiler_pic_CXX"; then
15007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15009 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15010   $as_echo_n "(cached) " >&6
15011 else
15012   lt_cv_prog_compiler_pic_works_CXX=no
15013    ac_outfile=conftest.$ac_objext
15014    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15015    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15016    # Insert the option either (1) after the last *FLAGS variable, or
15017    # (2) before a word containing "conftest.", or (3) at the end.
15018    # Note that $ac_compile itself does not contain backslashes and begins
15019    # with a dollar sign (not a hyphen), so the echo should work correctly.
15020    # The option is referenced via a variable to avoid confusing sed.
15021    lt_compile=`echo "$ac_compile" | $SED \
15022    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15023    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15024    -e 's:$: $lt_compiler_flag:'`
15025    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15026    (eval "$lt_compile" 2>conftest.err)
15027    ac_status=$?
15028    cat conftest.err >&5
15029    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030    if (exit $ac_status) && test -s "$ac_outfile"; then
15031      # The compiler can only warn and ignore the option if not recognized
15032      # So say no if there are warnings other than the usual output.
15033      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15034      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15035      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15036        lt_cv_prog_compiler_pic_works_CXX=yes
15037      fi
15038    fi
15039    $RM conftest*
15040
15041 fi
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15043 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15044
15045 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15046     case $lt_prog_compiler_pic_CXX in
15047      "" | " "*) ;;
15048      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15049      esac
15050 else
15051     lt_prog_compiler_pic_CXX=
15052      lt_prog_compiler_can_build_shared_CXX=no
15053 fi
15054
15055 fi
15056
15057
15058
15059
15060
15061 #
15062 # Check to make sure the static flag actually works.
15063 #
15064 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15066 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15067 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15068   $as_echo_n "(cached) " >&6
15069 else
15070   lt_cv_prog_compiler_static_works_CXX=no
15071    save_LDFLAGS=$LDFLAGS
15072    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15073    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15074    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15075      # The linker can only warn and ignore the option if not recognized
15076      # So say no if there are warnings
15077      if test -s conftest.err; then
15078        # Append any errors to the config.log.
15079        cat conftest.err 1>&5
15080        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15081        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15082        if diff conftest.exp conftest.er2 >/dev/null; then
15083          lt_cv_prog_compiler_static_works_CXX=yes
15084        fi
15085      else
15086        lt_cv_prog_compiler_static_works_CXX=yes
15087      fi
15088    fi
15089    $RM -r conftest*
15090    LDFLAGS=$save_LDFLAGS
15091
15092 fi
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15094 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15095
15096 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15097     :
15098 else
15099     lt_prog_compiler_static_CXX=
15100 fi
15101
15102
15103
15104
15105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15106 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15107 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15108   $as_echo_n "(cached) " >&6
15109 else
15110   lt_cv_prog_compiler_c_o_CXX=no
15111    $RM -r conftest 2>/dev/null
15112    mkdir conftest
15113    cd conftest
15114    mkdir out
15115    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15116
15117    lt_compiler_flag="-o out/conftest2.$ac_objext"
15118    # Insert the option either (1) after the last *FLAGS variable, or
15119    # (2) before a word containing "conftest.", or (3) at the end.
15120    # Note that $ac_compile itself does not contain backslashes and begins
15121    # with a dollar sign (not a hyphen), so the echo should work correctly.
15122    lt_compile=`echo "$ac_compile" | $SED \
15123    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15124    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15125    -e 's:$: $lt_compiler_flag:'`
15126    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15127    (eval "$lt_compile" 2>out/conftest.err)
15128    ac_status=$?
15129    cat out/conftest.err >&5
15130    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15132    then
15133      # The compiler can only warn and ignore the option if not recognized
15134      # So say no if there are warnings
15135      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15136      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15137      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15138        lt_cv_prog_compiler_c_o_CXX=yes
15139      fi
15140    fi
15141    chmod u+w . 2>&5
15142    $RM conftest*
15143    # SGI C++ compiler will create directory out/ii_files/ for
15144    # template instantiation
15145    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15146    $RM out/* && rmdir out
15147    cd ..
15148    $RM -r conftest
15149    $RM conftest*
15150
15151 fi
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15153 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15154
15155
15156
15157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15158 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15159 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15160   $as_echo_n "(cached) " >&6
15161 else
15162   lt_cv_prog_compiler_c_o_CXX=no
15163    $RM -r conftest 2>/dev/null
15164    mkdir conftest
15165    cd conftest
15166    mkdir out
15167    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15168
15169    lt_compiler_flag="-o out/conftest2.$ac_objext"
15170    # Insert the option either (1) after the last *FLAGS variable, or
15171    # (2) before a word containing "conftest.", or (3) at the end.
15172    # Note that $ac_compile itself does not contain backslashes and begins
15173    # with a dollar sign (not a hyphen), so the echo should work correctly.
15174    lt_compile=`echo "$ac_compile" | $SED \
15175    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15176    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15177    -e 's:$: $lt_compiler_flag:'`
15178    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15179    (eval "$lt_compile" 2>out/conftest.err)
15180    ac_status=$?
15181    cat out/conftest.err >&5
15182    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15184    then
15185      # The compiler can only warn and ignore the option if not recognized
15186      # So say no if there are warnings
15187      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15188      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15189      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15190        lt_cv_prog_compiler_c_o_CXX=yes
15191      fi
15192    fi
15193    chmod u+w . 2>&5
15194    $RM conftest*
15195    # SGI C++ compiler will create directory out/ii_files/ for
15196    # template instantiation
15197    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15198    $RM out/* && rmdir out
15199    cd ..
15200    $RM -r conftest
15201    $RM conftest*
15202
15203 fi
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15205 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15206
15207
15208
15209
15210 hard_links=nottested
15211 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15212   # do not overwrite the value of need_locks provided by the user
15213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15214 $as_echo_n "checking if we can lock with hard links... " >&6; }
15215   hard_links=yes
15216   $RM conftest*
15217   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15218   touch conftest.a
15219   ln conftest.a conftest.b 2>&5 || hard_links=no
15220   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15222 $as_echo "$hard_links" >&6; }
15223   if test no = "$hard_links"; then
15224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15225 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15226     need_locks=warn
15227   fi
15228 else
15229   need_locks=no
15230 fi
15231
15232
15233
15234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15236
15237   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15238   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15239   case $host_os in
15240   aix[4-9]*)
15241     # If we're using GNU nm, then we don't want the "-C" option.
15242     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15243     # Without the "-l" option, or with the "-B" option, AIX nm treats
15244     # weak defined symbols like other global defined symbols, whereas
15245     # GNU nm marks them as "W".
15246     # While the 'weak' keyword is ignored in the Export File, we need
15247     # it in the Import File for the 'aix-soname' feature, so we have
15248     # to replace the "-B" option with "-P" for AIX nm.
15249     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15250       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15251     else
15252       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15253     fi
15254     ;;
15255   pw32*)
15256     export_symbols_cmds_CXX=$ltdll_cmds
15257     ;;
15258   cygwin* | mingw* | cegcc*)
15259     case $cc_basename in
15260     cl*)
15261       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15262       ;;
15263     *)
15264       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'
15265       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15266       ;;
15267     esac
15268     ;;
15269   *)
15270     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15271     ;;
15272   esac
15273
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15275 $as_echo "$ld_shlibs_CXX" >&6; }
15276 test no = "$ld_shlibs_CXX" && can_build_shared=no
15277
15278 with_gnu_ld_CXX=$with_gnu_ld
15279
15280
15281
15282
15283
15284
15285 #
15286 # Do we need to explicitly link libc?
15287 #
15288 case "x$archive_cmds_need_lc_CXX" in
15289 x|xyes)
15290   # Assume -lc should be added
15291   archive_cmds_need_lc_CXX=yes
15292
15293   if test yes,yes = "$GCC,$enable_shared"; then
15294     case $archive_cmds_CXX in
15295     *'~'*)
15296       # FIXME: we may have to deal with multi-command sequences.
15297       ;;
15298     '$CC '*)
15299       # Test whether the compiler implicitly links with -lc since on some
15300       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15301       # to ld, don't add -lc before -lgcc.
15302       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15303 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15304 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15305   $as_echo_n "(cached) " >&6
15306 else
15307   $RM conftest*
15308         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15309
15310         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15311   (eval $ac_compile) 2>&5
15312   ac_status=$?
15313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15314   test $ac_status = 0; } 2>conftest.err; then
15315           soname=conftest
15316           lib=conftest
15317           libobjs=conftest.$ac_objext
15318           deplibs=
15319           wl=$lt_prog_compiler_wl_CXX
15320           pic_flag=$lt_prog_compiler_pic_CXX
15321           compiler_flags=-v
15322           linker_flags=-v
15323           verstring=
15324           output_objdir=.
15325           libname=conftest
15326           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15327           allow_undefined_flag_CXX=
15328           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15329   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15330   ac_status=$?
15331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15332   test $ac_status = 0; }
15333           then
15334             lt_cv_archive_cmds_need_lc_CXX=no
15335           else
15336             lt_cv_archive_cmds_need_lc_CXX=yes
15337           fi
15338           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15339         else
15340           cat conftest.err 1>&5
15341         fi
15342         $RM conftest*
15343
15344 fi
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15346 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15347       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15348       ;;
15349     esac
15350   fi
15351   ;;
15352 esac
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15416 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15417
15418 library_names_spec=
15419 libname_spec='lib$name'
15420 soname_spec=
15421 shrext_cmds=.so
15422 postinstall_cmds=
15423 postuninstall_cmds=
15424 finish_cmds=
15425 finish_eval=
15426 shlibpath_var=
15427 shlibpath_overrides_runpath=unknown
15428 version_type=none
15429 dynamic_linker="$host_os ld.so"
15430 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15431 need_lib_prefix=unknown
15432 hardcode_into_libs=no
15433
15434 # when you set need_version to no, make sure it does not cause -set_version
15435 # flags to be left without arguments
15436 need_version=unknown
15437
15438
15439
15440 case $host_os in
15441 aix3*)
15442   version_type=linux # correct to gnu/linux during the next big refactor
15443   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15444   shlibpath_var=LIBPATH
15445
15446   # AIX 3 has no versioning support, so we append a major version to the name.
15447   soname_spec='$libname$release$shared_ext$major'
15448   ;;
15449
15450 aix[4-9]*)
15451   version_type=linux # correct to gnu/linux during the next big refactor
15452   need_lib_prefix=no
15453   need_version=no
15454   hardcode_into_libs=yes
15455   if test ia64 = "$host_cpu"; then
15456     # AIX 5 supports IA64
15457     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15458     shlibpath_var=LD_LIBRARY_PATH
15459   else
15460     # With GCC up to 2.95.x, collect2 would create an import file
15461     # for dependence libraries.  The import file would start with
15462     # the line '#! .'.  This would cause the generated library to
15463     # depend on '.', always an invalid library.  This was fixed in
15464     # development snapshots of GCC prior to 3.0.
15465     case $host_os in
15466       aix4 | aix4.[01] | aix4.[01].*)
15467       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15468            echo ' yes '
15469            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15470         :
15471       else
15472         can_build_shared=no
15473       fi
15474       ;;
15475     esac
15476     # Using Import Files as archive members, it is possible to support
15477     # filename-based versioning of shared library archives on AIX. While
15478     # this would work for both with and without runtime linking, it will
15479     # prevent static linking of such archives. So we do filename-based
15480     # shared library versioning with .so extension only, which is used
15481     # when both runtime linking and shared linking is enabled.
15482     # Unfortunately, runtime linking may impact performance, so we do
15483     # not want this to be the default eventually. Also, we use the
15484     # versioned .so libs for executables only if there is the -brtl
15485     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15486     # To allow for filename-based versioning support, we need to create
15487     # libNAME.so.V as an archive file, containing:
15488     # *) an Import File, referring to the versioned filename of the
15489     #    archive as well as the shared archive member, telling the
15490     #    bitwidth (32 or 64) of that shared object, and providing the
15491     #    list of exported symbols of that shared object, eventually
15492     #    decorated with the 'weak' keyword
15493     # *) the shared object with the F_LOADONLY flag set, to really avoid
15494     #    it being seen by the linker.
15495     # At run time we better use the real file rather than another symlink,
15496     # but for link time we create the symlink libNAME.so -> libNAME.so.V
15497
15498     case $with_aix_soname,$aix_use_runtimelinking in
15499     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15500     # soname into executable. Probably we can add versioning support to
15501     # collect2, so additional links can be useful in future.
15502     aix,yes) # traditional libtool
15503       dynamic_linker='AIX unversionable lib.so'
15504       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15505       # instead of lib<name>.a to let people know that these are not
15506       # typical AIX shared libraries.
15507       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15508       ;;
15509     aix,no) # traditional AIX only
15510       dynamic_linker='AIX lib.a(lib.so.V)'
15511       # We preserve .a as extension for shared libraries through AIX4.2
15512       # and later when we are not doing run time linking.
15513       library_names_spec='$libname$release.a $libname.a'
15514       soname_spec='$libname$release$shared_ext$major'
15515       ;;
15516     svr4,*) # full svr4 only
15517       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15518       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15519       # We do not specify a path in Import Files, so LIBPATH fires.
15520       shlibpath_overrides_runpath=yes
15521       ;;
15522     *,yes) # both, prefer svr4
15523       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15524       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15525       # unpreferred sharedlib libNAME.a needs extra handling
15526       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15527       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15528       # We do not specify a path in Import Files, so LIBPATH fires.
15529       shlibpath_overrides_runpath=yes
15530       ;;
15531     *,no) # both, prefer aix
15532       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15533       library_names_spec='$libname$release.a $libname.a'
15534       soname_spec='$libname$release$shared_ext$major'
15535       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15536       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15537       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15538       ;;
15539     esac
15540     shlibpath_var=LIBPATH
15541   fi
15542   ;;
15543
15544 amigaos*)
15545   case $host_cpu in
15546   powerpc)
15547     # Since July 2007 AmigaOS4 officially supports .so libraries.
15548     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15549     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15550     ;;
15551   m68k)
15552     library_names_spec='$libname.ixlibrary $libname.a'
15553     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15554     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15555     ;;
15556   esac
15557   ;;
15558
15559 beos*)
15560   library_names_spec='$libname$shared_ext'
15561   dynamic_linker="$host_os ld.so"
15562   shlibpath_var=LIBRARY_PATH
15563   ;;
15564
15565 bsdi[45]*)
15566   version_type=linux # correct to gnu/linux during the next big refactor
15567   need_version=no
15568   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15569   soname_spec='$libname$release$shared_ext$major'
15570   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15571   shlibpath_var=LD_LIBRARY_PATH
15572   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15573   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15574   # the default ld.so.conf also contains /usr/contrib/lib and
15575   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15576   # libtool to hard-code these into programs
15577   ;;
15578
15579 cygwin* | mingw* | pw32* | cegcc*)
15580   version_type=windows
15581   shrext_cmds=.dll
15582   need_version=no
15583   need_lib_prefix=no
15584
15585   case $GCC,$cc_basename in
15586   yes,*)
15587     # gcc
15588     library_names_spec='$libname.dll.a'
15589     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15590     postinstall_cmds='base_file=`basename \$file`~
15591       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15592       dldir=$destdir/`dirname \$dlpath`~
15593       test -d \$dldir || mkdir -p \$dldir~
15594       $install_prog $dir/$dlname \$dldir/$dlname~
15595       chmod a+x \$dldir/$dlname~
15596       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15597         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15598       fi'
15599     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15600       dlpath=$dir/\$dldll~
15601        $RM \$dlpath'
15602     shlibpath_overrides_runpath=yes
15603
15604     case $host_os in
15605     cygwin*)
15606       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15607       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15608
15609       ;;
15610     mingw* | cegcc*)
15611       # MinGW DLLs use traditional 'lib' prefix
15612       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15613       ;;
15614     pw32*)
15615       # pw32 DLLs use 'pw' prefix rather than 'lib'
15616       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15617       ;;
15618     esac
15619     dynamic_linker='Win32 ld.exe'
15620     ;;
15621
15622   *,cl*)
15623     # Native MSVC
15624     libname_spec='$name'
15625     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15626     library_names_spec='$libname.dll.lib'
15627
15628     case $build_os in
15629     mingw*)
15630       sys_lib_search_path_spec=
15631       lt_save_ifs=$IFS
15632       IFS=';'
15633       for lt_path in $LIB
15634       do
15635         IFS=$lt_save_ifs
15636         # Let DOS variable expansion print the short 8.3 style file name.
15637         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15638         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15639       done
15640       IFS=$lt_save_ifs
15641       # Convert to MSYS style.
15642       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15643       ;;
15644     cygwin*)
15645       # Convert to unix form, then to dos form, then back to unix form
15646       # but this time dos style (no spaces!) so that the unix form looks
15647       # like /cygdrive/c/PROGRA~1:/cygdr...
15648       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15649       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15650       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15651       ;;
15652     *)
15653       sys_lib_search_path_spec=$LIB
15654       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15655         # It is most probably a Windows format PATH.
15656         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15657       else
15658         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15659       fi
15660       # FIXME: find the short name or the path components, as spaces are
15661       # common. (e.g. "Program Files" -> "PROGRA~1")
15662       ;;
15663     esac
15664
15665     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15666     postinstall_cmds='base_file=`basename \$file`~
15667       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15668       dldir=$destdir/`dirname \$dlpath`~
15669       test -d \$dldir || mkdir -p \$dldir~
15670       $install_prog $dir/$dlname \$dldir/$dlname'
15671     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15672       dlpath=$dir/\$dldll~
15673        $RM \$dlpath'
15674     shlibpath_overrides_runpath=yes
15675     dynamic_linker='Win32 link.exe'
15676     ;;
15677
15678   *)
15679     # Assume MSVC wrapper
15680     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15681     dynamic_linker='Win32 ld.exe'
15682     ;;
15683   esac
15684   # FIXME: first we should search . and the directory the executable is in
15685   shlibpath_var=PATH
15686   ;;
15687
15688 darwin* | rhapsody*)
15689   dynamic_linker="$host_os dyld"
15690   version_type=darwin
15691   need_lib_prefix=no
15692   need_version=no
15693   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15694   soname_spec='$libname$release$major$shared_ext'
15695   shlibpath_overrides_runpath=yes
15696   shlibpath_var=DYLD_LIBRARY_PATH
15697   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15698
15699   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15700   ;;
15701
15702 dgux*)
15703   version_type=linux # correct to gnu/linux during the next big refactor
15704   need_lib_prefix=no
15705   need_version=no
15706   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15707   soname_spec='$libname$release$shared_ext$major'
15708   shlibpath_var=LD_LIBRARY_PATH
15709   ;;
15710
15711 freebsd* | dragonfly*)
15712   # DragonFly does not have aout.  When/if they implement a new
15713   # versioning mechanism, adjust this.
15714   if test -x /usr/bin/objformat; then
15715     objformat=`/usr/bin/objformat`
15716   else
15717     case $host_os in
15718     freebsd[23].*) objformat=aout ;;
15719     *) objformat=elf ;;
15720     esac
15721   fi
15722   version_type=freebsd-$objformat
15723   case $version_type in
15724     freebsd-elf*)
15725       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15726       soname_spec='$libname$release$shared_ext$major'
15727       need_version=no
15728       need_lib_prefix=no
15729       ;;
15730     freebsd-*)
15731       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15732       need_version=yes
15733       ;;
15734   esac
15735   shlibpath_var=LD_LIBRARY_PATH
15736   case $host_os in
15737   freebsd2.*)
15738     shlibpath_overrides_runpath=yes
15739     ;;
15740   freebsd3.[01]* | freebsdelf3.[01]*)
15741     shlibpath_overrides_runpath=yes
15742     hardcode_into_libs=yes
15743     ;;
15744   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15745   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15746     shlibpath_overrides_runpath=no
15747     hardcode_into_libs=yes
15748     ;;
15749   *) # from 4.6 on, and DragonFly
15750     shlibpath_overrides_runpath=yes
15751     hardcode_into_libs=yes
15752     ;;
15753   esac
15754   ;;
15755
15756 haiku*)
15757   version_type=linux # correct to gnu/linux during the next big refactor
15758   need_lib_prefix=no
15759   need_version=no
15760   dynamic_linker="$host_os runtime_loader"
15761   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15762   soname_spec='$libname$release$shared_ext$major'
15763   shlibpath_var=LIBRARY_PATH
15764   shlibpath_overrides_runpath=no
15765   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15766   hardcode_into_libs=yes
15767   ;;
15768
15769 hpux9* | hpux10* | hpux11*)
15770   # Give a soname corresponding to the major version so that dld.sl refuses to
15771   # link against other versions.
15772   version_type=sunos
15773   need_lib_prefix=no
15774   need_version=no
15775   case $host_cpu in
15776   ia64*)
15777     shrext_cmds='.so'
15778     hardcode_into_libs=yes
15779     dynamic_linker="$host_os dld.so"
15780     shlibpath_var=LD_LIBRARY_PATH
15781     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15782     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15783     soname_spec='$libname$release$shared_ext$major'
15784     if test 32 = "$HPUX_IA64_MODE"; then
15785       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15786       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15787     else
15788       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15789       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15790     fi
15791     ;;
15792   hppa*64*)
15793     shrext_cmds='.sl'
15794     hardcode_into_libs=yes
15795     dynamic_linker="$host_os dld.sl"
15796     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15797     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15798     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15799     soname_spec='$libname$release$shared_ext$major'
15800     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15801     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15802     ;;
15803   *)
15804     shrext_cmds='.sl'
15805     dynamic_linker="$host_os dld.sl"
15806     shlibpath_var=SHLIB_PATH
15807     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15808     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15809     soname_spec='$libname$release$shared_ext$major'
15810     ;;
15811   esac
15812   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15813   postinstall_cmds='chmod 555 $lib'
15814   # or fails outright, so override atomically:
15815   install_override_mode=555
15816   ;;
15817
15818 interix[3-9]*)
15819   version_type=linux # correct to gnu/linux during the next big refactor
15820   need_lib_prefix=no
15821   need_version=no
15822   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15823   soname_spec='$libname$release$shared_ext$major'
15824   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15825   shlibpath_var=LD_LIBRARY_PATH
15826   shlibpath_overrides_runpath=no
15827   hardcode_into_libs=yes
15828   ;;
15829
15830 irix5* | irix6* | nonstopux*)
15831   case $host_os in
15832     nonstopux*) version_type=nonstopux ;;
15833     *)
15834         if test yes = "$lt_cv_prog_gnu_ld"; then
15835                 version_type=linux # correct to gnu/linux during the next big refactor
15836         else
15837                 version_type=irix
15838         fi ;;
15839   esac
15840   need_lib_prefix=no
15841   need_version=no
15842   soname_spec='$libname$release$shared_ext$major'
15843   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15844   case $host_os in
15845   irix5* | nonstopux*)
15846     libsuff= shlibsuff=
15847     ;;
15848   *)
15849     case $LD in # libtool.m4 will add one of these switches to LD
15850     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15851       libsuff= shlibsuff= libmagic=32-bit;;
15852     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15853       libsuff=32 shlibsuff=N32 libmagic=N32;;
15854     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15855       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15856     *) libsuff= shlibsuff= libmagic=never-match;;
15857     esac
15858     ;;
15859   esac
15860   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15861   shlibpath_overrides_runpath=no
15862   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15863   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15864   hardcode_into_libs=yes
15865   ;;
15866
15867 # No shared lib support for Linux oldld, aout, or coff.
15868 linux*oldld* | linux*aout* | linux*coff*)
15869   dynamic_linker=no
15870   ;;
15871
15872 linux*android*)
15873   version_type=none # Android doesn't support versioned libraries.
15874   need_lib_prefix=no
15875   need_version=no
15876   library_names_spec='$libname$release$shared_ext'
15877   soname_spec='$libname$release$shared_ext'
15878   finish_cmds=
15879   shlibpath_var=LD_LIBRARY_PATH
15880   shlibpath_overrides_runpath=yes
15881
15882   # This implies no fast_install, which is unacceptable.
15883   # Some rework will be needed to allow for fast_install
15884   # before this can be enabled.
15885   hardcode_into_libs=yes
15886
15887   dynamic_linker='Android linker'
15888   # Don't embed -rpath directories since the linker doesn't support them.
15889   hardcode_libdir_flag_spec_CXX='-L$libdir'
15890   ;;
15891
15892 # This must be glibc/ELF.
15893 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15894   version_type=linux # correct to gnu/linux during the next big refactor
15895   need_lib_prefix=no
15896   need_version=no
15897   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15898   soname_spec='$libname$release$shared_ext$major'
15899   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15900   shlibpath_var=LD_LIBRARY_PATH
15901   shlibpath_overrides_runpath=no
15902
15903   # Some binutils ld are patched to set DT_RUNPATH
15904   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15905   $as_echo_n "(cached) " >&6
15906 else
15907   lt_cv_shlibpath_overrides_runpath=no
15908     save_LDFLAGS=$LDFLAGS
15909     save_libdir=$libdir
15910     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15911          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15912     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h.  */
15914
15915 int
15916 main ()
15917 {
15918
15919   ;
15920   return 0;
15921 }
15922 _ACEOF
15923 if ac_fn_cxx_try_link "$LINENO"; then :
15924   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15925   lt_cv_shlibpath_overrides_runpath=yes
15926 fi
15927 fi
15928 rm -f core conftest.err conftest.$ac_objext \
15929     conftest$ac_exeext conftest.$ac_ext
15930     LDFLAGS=$save_LDFLAGS
15931     libdir=$save_libdir
15932
15933 fi
15934
15935   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15936
15937   # This implies no fast_install, which is unacceptable.
15938   # Some rework will be needed to allow for fast_install
15939   # before this can be enabled.
15940   hardcode_into_libs=yes
15941
15942   # Ideally, we could use ldconfig to report *all* directores which are
15943   # searched for libraries, however this is still not possible.  Aside from not
15944   # being certain /sbin/ldconfig is available, command
15945   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15946   # even though it is searched at run-time.  Try to do the best guess by
15947   # appending ld.so.conf contents (and includes) to the search path.
15948   if test -f /etc/ld.so.conf; then
15949     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' ' '`
15950     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15951   fi
15952
15953   # We used to test for /lib/ld.so.1 and disable shared libraries on
15954   # powerpc, because MkLinux only supported shared libraries with the
15955   # GNU dynamic linker.  Since this was broken with cross compilers,
15956   # most powerpc-linux boxes support dynamic linking these days and
15957   # people can always --disable-shared, the test was removed, and we
15958   # assume the GNU/Linux dynamic linker is in use.
15959   dynamic_linker='GNU/Linux ld.so'
15960   ;;
15961
15962 netbsd*)
15963   version_type=sunos
15964   need_lib_prefix=no
15965   need_version=no
15966   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15967     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15968     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15969     dynamic_linker='NetBSD (a.out) ld.so'
15970   else
15971     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15972     soname_spec='$libname$release$shared_ext$major'
15973     dynamic_linker='NetBSD ld.elf_so'
15974   fi
15975   shlibpath_var=LD_LIBRARY_PATH
15976   shlibpath_overrides_runpath=yes
15977   hardcode_into_libs=yes
15978   ;;
15979
15980 newsos6)
15981   version_type=linux # correct to gnu/linux during the next big refactor
15982   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15983   shlibpath_var=LD_LIBRARY_PATH
15984   shlibpath_overrides_runpath=yes
15985   ;;
15986
15987 *nto* | *qnx*)
15988   version_type=qnx
15989   need_lib_prefix=no
15990   need_version=no
15991   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15992   soname_spec='$libname$release$shared_ext$major'
15993   shlibpath_var=LD_LIBRARY_PATH
15994   shlibpath_overrides_runpath=no
15995   hardcode_into_libs=yes
15996   dynamic_linker='ldqnx.so'
15997   ;;
15998
15999 openbsd* | bitrig*)
16000   version_type=sunos
16001   sys_lib_dlsearch_path_spec=/usr/lib
16002   need_lib_prefix=no
16003   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16004     need_version=no
16005   else
16006     need_version=yes
16007   fi
16008   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16009   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16010   shlibpath_var=LD_LIBRARY_PATH
16011   shlibpath_overrides_runpath=yes
16012   ;;
16013
16014 os2*)
16015   libname_spec='$name'
16016   version_type=windows
16017   shrext_cmds=.dll
16018   need_version=no
16019   need_lib_prefix=no
16020   # OS/2 can only load a DLL with a base name of 8 characters or less.
16021   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16022     v=$($ECHO $release$versuffix | tr -d .-);
16023     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16024     $ECHO $n$v`$shared_ext'
16025   library_names_spec='${libname}_dll.$libext'
16026   dynamic_linker='OS/2 ld.exe'
16027   shlibpath_var=BEGINLIBPATH
16028   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16029   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16030   postinstall_cmds='base_file=`basename \$file`~
16031     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16032     dldir=$destdir/`dirname \$dlpath`~
16033     test -d \$dldir || mkdir -p \$dldir~
16034     $install_prog $dir/$dlname \$dldir/$dlname~
16035     chmod a+x \$dldir/$dlname~
16036     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16037       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16038     fi'
16039   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16040     dlpath=$dir/\$dldll~
16041     $RM \$dlpath'
16042   ;;
16043
16044 osf3* | osf4* | osf5*)
16045   version_type=osf
16046   need_lib_prefix=no
16047   need_version=no
16048   soname_spec='$libname$release$shared_ext$major'
16049   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16050   shlibpath_var=LD_LIBRARY_PATH
16051   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16052   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16053   ;;
16054
16055 rdos*)
16056   dynamic_linker=no
16057   ;;
16058
16059 solaris*)
16060   version_type=linux # correct to gnu/linux during the next big refactor
16061   need_lib_prefix=no
16062   need_version=no
16063   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16064   soname_spec='$libname$release$shared_ext$major'
16065   shlibpath_var=LD_LIBRARY_PATH
16066   shlibpath_overrides_runpath=yes
16067   hardcode_into_libs=yes
16068   # ldd complains unless libraries are executable
16069   postinstall_cmds='chmod +x $lib'
16070   ;;
16071
16072 sunos4*)
16073   version_type=sunos
16074   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16075   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16076   shlibpath_var=LD_LIBRARY_PATH
16077   shlibpath_overrides_runpath=yes
16078   if test yes = "$with_gnu_ld"; then
16079     need_lib_prefix=no
16080   fi
16081   need_version=yes
16082   ;;
16083
16084 sysv4 | sysv4.3*)
16085   version_type=linux # correct to gnu/linux during the next big refactor
16086   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16087   soname_spec='$libname$release$shared_ext$major'
16088   shlibpath_var=LD_LIBRARY_PATH
16089   case $host_vendor in
16090     sni)
16091       shlibpath_overrides_runpath=no
16092       need_lib_prefix=no
16093       runpath_var=LD_RUN_PATH
16094       ;;
16095     siemens)
16096       need_lib_prefix=no
16097       ;;
16098     motorola)
16099       need_lib_prefix=no
16100       need_version=no
16101       shlibpath_overrides_runpath=no
16102       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16103       ;;
16104   esac
16105   ;;
16106
16107 sysv4*MP*)
16108   if test -d /usr/nec; then
16109     version_type=linux # correct to gnu/linux during the next big refactor
16110     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16111     soname_spec='$libname$shared_ext.$major'
16112     shlibpath_var=LD_LIBRARY_PATH
16113   fi
16114   ;;
16115
16116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16117   version_type=sco
16118   need_lib_prefix=no
16119   need_version=no
16120   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16121   soname_spec='$libname$release$shared_ext$major'
16122   shlibpath_var=LD_LIBRARY_PATH
16123   shlibpath_overrides_runpath=yes
16124   hardcode_into_libs=yes
16125   if test yes = "$with_gnu_ld"; then
16126     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16127   else
16128     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16129     case $host_os in
16130       sco3.2v5*)
16131         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16132         ;;
16133     esac
16134   fi
16135   sys_lib_dlsearch_path_spec='/usr/lib'
16136   ;;
16137
16138 tpf*)
16139   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16140   version_type=linux # correct to gnu/linux during the next big refactor
16141   need_lib_prefix=no
16142   need_version=no
16143   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16144   shlibpath_var=LD_LIBRARY_PATH
16145   shlibpath_overrides_runpath=no
16146   hardcode_into_libs=yes
16147   ;;
16148
16149 uts4*)
16150   version_type=linux # correct to gnu/linux during the next big refactor
16151   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16152   soname_spec='$libname$release$shared_ext$major'
16153   shlibpath_var=LD_LIBRARY_PATH
16154   ;;
16155
16156 *)
16157   dynamic_linker=no
16158   ;;
16159 esac
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16161 $as_echo "$dynamic_linker" >&6; }
16162 test no = "$dynamic_linker" && can_build_shared=no
16163
16164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16165 if test yes = "$GCC"; then
16166   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16167 fi
16168
16169 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16170   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16171 fi
16172
16173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16174   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16175 fi
16176
16177 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16178 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16179
16180 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16181 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16182
16183 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16184 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16226 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16227 hardcode_action_CXX=
16228 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16229    test -n "$runpath_var_CXX" ||
16230    test yes = "$hardcode_automatic_CXX"; then
16231
16232   # We can hardcode non-existent directories.
16233   if test no != "$hardcode_direct_CXX" &&
16234      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16235      # have to relink, otherwise we might link with an installed library
16236      # when we should be linking with a yet-to-be-installed one
16237      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16238      test no != "$hardcode_minus_L_CXX"; then
16239     # Linking always hardcodes the temporary library directory.
16240     hardcode_action_CXX=relink
16241   else
16242     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16243     hardcode_action_CXX=immediate
16244   fi
16245 else
16246   # We cannot hardcode anything, or else we can only hardcode existing
16247   # directories.
16248   hardcode_action_CXX=unsupported
16249 fi
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16251 $as_echo "$hardcode_action_CXX" >&6; }
16252
16253 if test relink = "$hardcode_action_CXX" ||
16254    test yes = "$inherit_rpath_CXX"; then
16255   # Fast installation is not supported
16256   enable_fast_install=no
16257 elif test yes = "$shlibpath_overrides_runpath" ||
16258      test no = "$enable_shared"; then
16259   # Fast installation is not necessary
16260   enable_fast_install=needless
16261 fi
16262
16263
16264
16265
16266
16267
16268
16269   fi # test -n "$compiler"
16270
16271   CC=$lt_save_CC
16272   CFLAGS=$lt_save_CFLAGS
16273   LDCXX=$LD
16274   LD=$lt_save_LD
16275   GCC=$lt_save_GCC
16276   with_gnu_ld=$lt_save_with_gnu_ld
16277   lt_cv_path_LDCXX=$lt_cv_path_LD
16278   lt_cv_path_LD=$lt_save_path_LD
16279   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16280   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16281 fi # test yes != "$_lt_caught_CXX_error"
16282
16283 ac_ext=c
16284 ac_cpp='$CPP $CPPFLAGS'
16285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303         ac_config_commands="$ac_config_commands libtool"
16304
16305
16306
16307
16308 # Only expand once:
16309
16310
16311
16312 # Checks for library functions.
16313 for ac_header in stdlib.h
16314 do :
16315   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16317   cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STDLIB_H 1
16319 _ACEOF
16320
16321 fi
16322
16323 done
16324
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16326 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16327 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16328   $as_echo_n "(cached) " >&6
16329 else
16330   if test "$cross_compiling" = yes; then :
16331   ac_cv_func_malloc_0_nonnull=no
16332 else
16333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h.  */
16335 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16336 # include <stdlib.h>
16337 #else
16338 char *malloc ();
16339 #endif
16340
16341 int
16342 main ()
16343 {
16344 return ! malloc (0);
16345   ;
16346   return 0;
16347 }
16348 _ACEOF
16349 if ac_fn_c_try_run "$LINENO"; then :
16350   ac_cv_func_malloc_0_nonnull=yes
16351 else
16352   ac_cv_func_malloc_0_nonnull=no
16353 fi
16354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16355   conftest.$ac_objext conftest.beam conftest.$ac_ext
16356 fi
16357
16358 fi
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16360 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16361 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16362
16363 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16364
16365 else
16366   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16367
16368    case " $LIBOBJS " in
16369   *" malloc.$ac_objext "* ) ;;
16370   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16371  ;;
16372 esac
16373
16374
16375 $as_echo "#define malloc rpl_malloc" >>confdefs.h
16376
16377 fi
16378
16379
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16381 $as_echo_n "checking for working strtod... " >&6; }
16382 if ${ac_cv_func_strtod+:} false; then :
16383   $as_echo_n "(cached) " >&6
16384 else
16385   if test "$cross_compiling" = yes; then :
16386   ac_cv_func_strtod=no
16387 else
16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h.  */
16390
16391 $ac_includes_default
16392 #ifndef strtod
16393 double strtod ();
16394 #endif
16395 int
16396 main()
16397 {
16398   {
16399     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
16400     char *string = " +69";
16401     char *term;
16402     double value;
16403     value = strtod (string, &term);
16404     if (value != 69 || term != (string + 4))
16405       return 1;
16406   }
16407
16408   {
16409     /* Under Solaris 2.4, strtod returns the wrong value for the
16410        terminating character under some conditions.  */
16411     char *string = "NaN";
16412     char *term;
16413     strtod (string, &term);
16414     if (term != string && *(term - 1) == 0)
16415       return 1;
16416   }
16417   return 0;
16418 }
16419
16420 _ACEOF
16421 if ac_fn_c_try_run "$LINENO"; then :
16422   ac_cv_func_strtod=yes
16423 else
16424   ac_cv_func_strtod=no
16425 fi
16426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16427   conftest.$ac_objext conftest.beam conftest.$ac_ext
16428 fi
16429
16430 fi
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
16432 $as_echo "$ac_cv_func_strtod" >&6; }
16433 if test $ac_cv_func_strtod = no; then
16434   case " $LIBOBJS " in
16435   *" strtod.$ac_objext "* ) ;;
16436   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
16437  ;;
16438 esac
16439
16440 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
16441 if test "x$ac_cv_func_pow" = xyes; then :
16442
16443 fi
16444
16445 if test $ac_cv_func_pow = no; then
16446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
16447 $as_echo_n "checking for pow in -lm... " >&6; }
16448 if ${ac_cv_lib_m_pow+:} false; then :
16449   $as_echo_n "(cached) " >&6
16450 else
16451   ac_check_lib_save_LIBS=$LIBS
16452 LIBS="-lm  $LIBS"
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h.  */
16455
16456 /* Override any GCC internal prototype to avoid an error.
16457    Use char because int might match the return type of a GCC
16458    builtin and then its argument prototype would still apply.  */
16459 #ifdef __cplusplus
16460 extern "C"
16461 #endif
16462 char pow ();
16463 int
16464 main ()
16465 {
16466 return pow ();
16467   ;
16468   return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"; then :
16472   ac_cv_lib_m_pow=yes
16473 else
16474   ac_cv_lib_m_pow=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext \
16477     conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_lib_save_LIBS
16479 fi
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
16481 $as_echo "$ac_cv_lib_m_pow" >&6; }
16482 if test "x$ac_cv_lib_m_pow" = xyes; then :
16483   POW_LIB=-lm
16484 else
16485   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
16486 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16487 fi
16488
16489 fi
16490
16491 fi
16492
16493 for ac_func in regcomp strchr strrchr strstr strtol strtoul
16494 do :
16495   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16498   cat >>confdefs.h <<_ACEOF
16499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16500 _ACEOF
16501
16502 fi
16503 done
16504
16505
16506 cat >confcache <<\_ACEOF
16507 # This file is a shell script that caches the results of configure
16508 # tests run on this system so they can be shared between configure
16509 # scripts and configure runs, see configure's option --config-cache.
16510 # It is not useful on other systems.  If it contains results you don't
16511 # want to keep, you may remove or edit it.
16512 #
16513 # config.status only pays attention to the cache file if you give it
16514 # the --recheck option to rerun configure.
16515 #
16516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16518 # following values.
16519
16520 _ACEOF
16521
16522 # The following way of writing the cache mishandles newlines in values,
16523 # but we know of no workaround that is simple, portable, and efficient.
16524 # So, we kill variables containing newlines.
16525 # Ultrix sh set writes to stderr and can't be redirected directly,
16526 # and sets the high bit in the cache file unless we assign to the vars.
16527 (
16528   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16529     eval ac_val=\$$ac_var
16530     case $ac_val in #(
16531     *${as_nl}*)
16532       case $ac_var in #(
16533       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16535       esac
16536       case $ac_var in #(
16537       _ | IFS | as_nl) ;; #(
16538       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16539       *) { eval $ac_var=; unset $ac_var;} ;;
16540       esac ;;
16541     esac
16542   done
16543
16544   (set) 2>&1 |
16545     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16546     *${as_nl}ac_space=\ *)
16547       # `set' does not quote correctly, so add quotes: double-quote
16548       # substitution turns \\\\ into \\, and sed turns \\ into \.
16549       sed -n \
16550         "s/'/'\\\\''/g;
16551           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16552       ;; #(
16553     *)
16554       # `set' quotes correctly as required by POSIX, so do not add quotes.
16555       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16556       ;;
16557     esac |
16558     sort
16559 ) |
16560   sed '
16561      /^ac_cv_env_/b end
16562      t clear
16563      :clear
16564      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16565      t end
16566      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16567      :end' >>confcache
16568 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16569   if test -w "$cache_file"; then
16570     if test "x$cache_file" != "x/dev/null"; then
16571       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16572 $as_echo "$as_me: updating cache $cache_file" >&6;}
16573       if test ! -f "$cache_file" || test -h "$cache_file"; then
16574         cat confcache >"$cache_file"
16575       else
16576         case $cache_file in #(
16577         */* | ?:*)
16578           mv -f confcache "$cache_file"$$ &&
16579           mv -f "$cache_file"$$ "$cache_file" ;; #(
16580         *)
16581           mv -f confcache "$cache_file" ;;
16582         esac
16583       fi
16584     fi
16585   else
16586     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16588   fi
16589 fi
16590 rm -f confcache
16591
16592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16593 # Let make expand exec_prefix.
16594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16595
16596 DEFS=-DHAVE_CONFIG_H
16597
16598 ac_libobjs=
16599 ac_ltlibobjs=
16600 U=
16601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16602   # 1. Remove the extension, and $U if already installed.
16603   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16604   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16605   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16606   #    will be set to the directory where LIBOBJS objects are built.
16607   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16608   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16609 done
16610 LIBOBJS=$ac_libobjs
16611
16612 LTLIBOBJS=$ac_ltlibobjs
16613
16614
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16616 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16617    if test -n "$am_sleep_pid"; then
16618      # Hide warnings about reused PIDs.
16619      wait $am_sleep_pid 2>/dev/null
16620    fi
16621    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16622 $as_echo "done" >&6; }
16623  if test -n "$EXEEXT"; then
16624   am__EXEEXT_TRUE=
16625   am__EXEEXT_FALSE='#'
16626 else
16627   am__EXEEXT_TRUE='#'
16628   am__EXEEXT_FALSE=
16629 fi
16630
16631 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16632   as_fn_error $? "conditional \"AMDEP\" was never defined.
16633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16634 fi
16635 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16636   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16638 fi
16639 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16640   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16642 fi
16643
16644 : "${CONFIG_STATUS=./config.status}"
16645 ac_write_fail=0
16646 ac_clean_files_save=$ac_clean_files
16647 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16650 as_write_fail=0
16651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16652 #! $SHELL
16653 # Generated by $as_me.
16654 # Run this file to recreate the current configuration.
16655 # Compiler output produced by configure, useful for debugging
16656 # configure, is in config.log if it exists.
16657
16658 debug=false
16659 ac_cs_recheck=false
16660 ac_cs_silent=false
16661
16662 SHELL=\${CONFIG_SHELL-$SHELL}
16663 export SHELL
16664 _ASEOF
16665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16666 ## -------------------- ##
16667 ## M4sh Initialization. ##
16668 ## -------------------- ##
16669
16670 # Be more Bourne compatible
16671 DUALCASE=1; export DUALCASE # for MKS sh
16672 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16673   emulate sh
16674   NULLCMD=:
16675   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16676   # is contrary to our usage.  Disable this feature.
16677   alias -g '${1+"$@"}'='"$@"'
16678   setopt NO_GLOB_SUBST
16679 else
16680   case `(set -o) 2>/dev/null` in #(
16681   *posix*) :
16682     set -o posix ;; #(
16683   *) :
16684      ;;
16685 esac
16686 fi
16687
16688
16689 as_nl='
16690 '
16691 export as_nl
16692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16693 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16696 # Prefer a ksh shell builtin over an external printf program on Solaris,
16697 # but without wasting forks for bash or zsh.
16698 if test -z "$BASH_VERSION$ZSH_VERSION" \
16699     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16700   as_echo='print -r --'
16701   as_echo_n='print -rn --'
16702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16703   as_echo='printf %s\n'
16704   as_echo_n='printf %s'
16705 else
16706   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16707     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16708     as_echo_n='/usr/ucb/echo -n'
16709   else
16710     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16711     as_echo_n_body='eval
16712       arg=$1;
16713       case $arg in #(
16714       *"$as_nl"*)
16715         expr "X$arg" : "X\\(.*\\)$as_nl";
16716         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16717       esac;
16718       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16719     '
16720     export as_echo_n_body
16721     as_echo_n='sh -c $as_echo_n_body as_echo'
16722   fi
16723   export as_echo_body
16724   as_echo='sh -c $as_echo_body as_echo'
16725 fi
16726
16727 # The user is always right.
16728 if test "${PATH_SEPARATOR+set}" != set; then
16729   PATH_SEPARATOR=:
16730   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16731     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16732       PATH_SEPARATOR=';'
16733   }
16734 fi
16735
16736
16737 # IFS
16738 # We need space, tab and new line, in precisely that order.  Quoting is
16739 # there to prevent editors from complaining about space-tab.
16740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16741 # splitting by setting IFS to empty value.)
16742 IFS=" ""        $as_nl"
16743
16744 # Find who we are.  Look in the path if we contain no directory separator.
16745 as_myself=
16746 case $0 in #((
16747   *[\\/]* ) as_myself=$0 ;;
16748   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16749 for as_dir in $PATH
16750 do
16751   IFS=$as_save_IFS
16752   test -z "$as_dir" && as_dir=.
16753     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16754   done
16755 IFS=$as_save_IFS
16756
16757      ;;
16758 esac
16759 # We did not find ourselves, most probably we were run as `sh COMMAND'
16760 # in which case we are not to be found in the path.
16761 if test "x$as_myself" = x; then
16762   as_myself=$0
16763 fi
16764 if test ! -f "$as_myself"; then
16765   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16766   exit 1
16767 fi
16768
16769 # Unset variables that we do not need and which cause bugs (e.g. in
16770 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16771 # suppresses any "Segmentation fault" message there.  '((' could
16772 # trigger a bug in pdksh 5.2.14.
16773 for as_var in BASH_ENV ENV MAIL MAILPATH
16774 do eval test x\${$as_var+set} = xset \
16775   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16776 done
16777 PS1='$ '
16778 PS2='> '
16779 PS4='+ '
16780
16781 # NLS nuisances.
16782 LC_ALL=C
16783 export LC_ALL
16784 LANGUAGE=C
16785 export LANGUAGE
16786
16787 # CDPATH.
16788 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16789
16790
16791 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16792 # ----------------------------------------
16793 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16794 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16795 # script with STATUS, using 1 if that was 0.
16796 as_fn_error ()
16797 {
16798   as_status=$1; test $as_status -eq 0 && as_status=1
16799   if test "$4"; then
16800     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16801     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16802   fi
16803   $as_echo "$as_me: error: $2" >&2
16804   as_fn_exit $as_status
16805 } # as_fn_error
16806
16807
16808 # as_fn_set_status STATUS
16809 # -----------------------
16810 # Set $? to STATUS, without forking.
16811 as_fn_set_status ()
16812 {
16813   return $1
16814 } # as_fn_set_status
16815
16816 # as_fn_exit STATUS
16817 # -----------------
16818 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16819 as_fn_exit ()
16820 {
16821   set +e
16822   as_fn_set_status $1
16823   exit $1
16824 } # as_fn_exit
16825
16826 # as_fn_unset VAR
16827 # ---------------
16828 # Portably unset VAR.
16829 as_fn_unset ()
16830 {
16831   { eval $1=; unset $1;}
16832 }
16833 as_unset=as_fn_unset
16834 # as_fn_append VAR VALUE
16835 # ----------------------
16836 # Append the text in VALUE to the end of the definition contained in VAR. Take
16837 # advantage of any shell optimizations that allow amortized linear growth over
16838 # repeated appends, instead of the typical quadratic growth present in naive
16839 # implementations.
16840 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16841   eval 'as_fn_append ()
16842   {
16843     eval $1+=\$2
16844   }'
16845 else
16846   as_fn_append ()
16847   {
16848     eval $1=\$$1\$2
16849   }
16850 fi # as_fn_append
16851
16852 # as_fn_arith ARG...
16853 # ------------------
16854 # Perform arithmetic evaluation on the ARGs, and store the result in the
16855 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16856 # must be portable across $(()) and expr.
16857 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16858   eval 'as_fn_arith ()
16859   {
16860     as_val=$(( $* ))
16861   }'
16862 else
16863   as_fn_arith ()
16864   {
16865     as_val=`expr "$@" || test $? -eq 1`
16866   }
16867 fi # as_fn_arith
16868
16869
16870 if expr a : '\(a\)' >/dev/null 2>&1 &&
16871    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16872   as_expr=expr
16873 else
16874   as_expr=false
16875 fi
16876
16877 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16878   as_basename=basename
16879 else
16880   as_basename=false
16881 fi
16882
16883 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16884   as_dirname=dirname
16885 else
16886   as_dirname=false
16887 fi
16888
16889 as_me=`$as_basename -- "$0" ||
16890 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16891          X"$0" : 'X\(//\)$' \| \
16892          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16893 $as_echo X/"$0" |
16894     sed '/^.*\/\([^/][^/]*\)\/*$/{
16895             s//\1/
16896             q
16897           }
16898           /^X\/\(\/\/\)$/{
16899             s//\1/
16900             q
16901           }
16902           /^X\/\(\/\).*/{
16903             s//\1/
16904             q
16905           }
16906           s/.*/./; q'`
16907
16908 # Avoid depending upon Character Ranges.
16909 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16910 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16911 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16912 as_cr_digits='0123456789'
16913 as_cr_alnum=$as_cr_Letters$as_cr_digits
16914
16915 ECHO_C= ECHO_N= ECHO_T=
16916 case `echo -n x` in #(((((
16917 -n*)
16918   case `echo 'xy\c'` in
16919   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16920   xy)  ECHO_C='\c';;
16921   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16922        ECHO_T=' ';;
16923   esac;;
16924 *)
16925   ECHO_N='-n';;
16926 esac
16927
16928 rm -f conf$$ conf$$.exe conf$$.file
16929 if test -d conf$$.dir; then
16930   rm -f conf$$.dir/conf$$.file
16931 else
16932   rm -f conf$$.dir
16933   mkdir conf$$.dir 2>/dev/null
16934 fi
16935 if (echo >conf$$.file) 2>/dev/null; then
16936   if ln -s conf$$.file conf$$ 2>/dev/null; then
16937     as_ln_s='ln -s'
16938     # ... but there are two gotchas:
16939     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16940     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16941     # In both cases, we have to default to `cp -pR'.
16942     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16943       as_ln_s='cp -pR'
16944   elif ln conf$$.file conf$$ 2>/dev/null; then
16945     as_ln_s=ln
16946   else
16947     as_ln_s='cp -pR'
16948   fi
16949 else
16950   as_ln_s='cp -pR'
16951 fi
16952 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16953 rmdir conf$$.dir 2>/dev/null
16954
16955
16956 # as_fn_mkdir_p
16957 # -------------
16958 # Create "$as_dir" as a directory, including parents if necessary.
16959 as_fn_mkdir_p ()
16960 {
16961
16962   case $as_dir in #(
16963   -*) as_dir=./$as_dir;;
16964   esac
16965   test -d "$as_dir" || eval $as_mkdir_p || {
16966     as_dirs=
16967     while :; do
16968       case $as_dir in #(
16969       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16970       *) as_qdir=$as_dir;;
16971       esac
16972       as_dirs="'$as_qdir' $as_dirs"
16973       as_dir=`$as_dirname -- "$as_dir" ||
16974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16975          X"$as_dir" : 'X\(//\)[^/]' \| \
16976          X"$as_dir" : 'X\(//\)$' \| \
16977          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16978 $as_echo X"$as_dir" |
16979     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16980             s//\1/
16981             q
16982           }
16983           /^X\(\/\/\)[^/].*/{
16984             s//\1/
16985             q
16986           }
16987           /^X\(\/\/\)$/{
16988             s//\1/
16989             q
16990           }
16991           /^X\(\/\).*/{
16992             s//\1/
16993             q
16994           }
16995           s/.*/./; q'`
16996       test -d "$as_dir" && break
16997     done
16998     test -z "$as_dirs" || eval "mkdir $as_dirs"
16999   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17000
17001
17002 } # as_fn_mkdir_p
17003 if mkdir -p . 2>/dev/null; then
17004   as_mkdir_p='mkdir -p "$as_dir"'
17005 else
17006   test -d ./-p && rmdir ./-p
17007   as_mkdir_p=false
17008 fi
17009
17010
17011 # as_fn_executable_p FILE
17012 # -----------------------
17013 # Test if FILE is an executable regular file.
17014 as_fn_executable_p ()
17015 {
17016   test -f "$1" && test -x "$1"
17017 } # as_fn_executable_p
17018 as_test_x='test -x'
17019 as_executable_p=as_fn_executable_p
17020
17021 # Sed expression to map a string onto a valid CPP name.
17022 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17023
17024 # Sed expression to map a string onto a valid variable name.
17025 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17026
17027
17028 exec 6>&1
17029 ## ----------------------------------- ##
17030 ## Main body of $CONFIG_STATUS script. ##
17031 ## ----------------------------------- ##
17032 _ASEOF
17033 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17034
17035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17036 # Save the log message, to keep $0 and so on meaningful, and to
17037 # report actual input values of CONFIG_FILES etc. instead of their
17038 # values after options handling.
17039 ac_log="
17040 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17041 generated by GNU Autoconf 2.69.  Invocation command line was
17042
17043   CONFIG_FILES    = $CONFIG_FILES
17044   CONFIG_HEADERS  = $CONFIG_HEADERS
17045   CONFIG_LINKS    = $CONFIG_LINKS
17046   CONFIG_COMMANDS = $CONFIG_COMMANDS
17047   $ $0 $@
17048
17049 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17050 "
17051
17052 _ACEOF
17053
17054 case $ac_config_files in *"
17055 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17056 esac
17057
17058 case $ac_config_headers in *"
17059 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17060 esac
17061
17062
17063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17064 # Files that config.status was made for.
17065 config_files="$ac_config_files"
17066 config_headers="$ac_config_headers"
17067 config_commands="$ac_config_commands"
17068
17069 _ACEOF
17070
17071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17072 ac_cs_usage="\
17073 \`$as_me' instantiates files and other configuration actions
17074 from templates according to the current configuration.  Unless the files
17075 and actions are specified as TAGs, all are instantiated by default.
17076
17077 Usage: $0 [OPTION]... [TAG]...
17078
17079   -h, --help       print this help, then exit
17080   -V, --version    print version number and configuration settings, then exit
17081       --config     print configuration, then exit
17082   -q, --quiet, --silent
17083                    do not print progress messages
17084   -d, --debug      don't remove temporary files
17085       --recheck    update $as_me by reconfiguring in the same conditions
17086       --file=FILE[:TEMPLATE]
17087                    instantiate the configuration file FILE
17088       --header=FILE[:TEMPLATE]
17089                    instantiate the configuration header FILE
17090
17091 Configuration files:
17092 $config_files
17093
17094 Configuration headers:
17095 $config_headers
17096
17097 Configuration commands:
17098 $config_commands
17099
17100 Report bugs to <arjen@androemda.nl>."
17101
17102 _ACEOF
17103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17104 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17105 ac_cs_version="\\
17106 ACL - Andromeda Class Library config.status 0.1
17107 configured by $0, generated by GNU Autoconf 2.69,
17108   with options \\"\$ac_cs_config\\"
17109
17110 Copyright (C) 2012 Free Software Foundation, Inc.
17111 This config.status script is free software; the Free Software Foundation
17112 gives unlimited permission to copy, distribute and modify it."
17113
17114 ac_pwd='$ac_pwd'
17115 srcdir='$srcdir'
17116 INSTALL='$INSTALL'
17117 MKDIR_P='$MKDIR_P'
17118 AWK='$AWK'
17119 test -n "\$AWK" || AWK=awk
17120 _ACEOF
17121
17122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17123 # The default lists apply if the user does not specify any file.
17124 ac_need_defaults=:
17125 while test $# != 0
17126 do
17127   case $1 in
17128   --*=?*)
17129     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17130     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17131     ac_shift=:
17132     ;;
17133   --*=)
17134     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17135     ac_optarg=
17136     ac_shift=:
17137     ;;
17138   *)
17139     ac_option=$1
17140     ac_optarg=$2
17141     ac_shift=shift
17142     ;;
17143   esac
17144
17145   case $ac_option in
17146   # Handling of the options.
17147   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17148     ac_cs_recheck=: ;;
17149   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17150     $as_echo "$ac_cs_version"; exit ;;
17151   --config | --confi | --conf | --con | --co | --c )
17152     $as_echo "$ac_cs_config"; exit ;;
17153   --debug | --debu | --deb | --de | --d | -d )
17154     debug=: ;;
17155   --file | --fil | --fi | --f )
17156     $ac_shift
17157     case $ac_optarg in
17158     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17159     '') as_fn_error $? "missing file argument" ;;
17160     esac
17161     as_fn_append CONFIG_FILES " '$ac_optarg'"
17162     ac_need_defaults=false;;
17163   --header | --heade | --head | --hea )
17164     $ac_shift
17165     case $ac_optarg in
17166     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17167     esac
17168     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17169     ac_need_defaults=false;;
17170   --he | --h)
17171     # Conflict between --help and --header
17172     as_fn_error $? "ambiguous option: \`$1'
17173 Try \`$0 --help' for more information.";;
17174   --help | --hel | -h )
17175     $as_echo "$ac_cs_usage"; exit ;;
17176   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17177   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17178     ac_cs_silent=: ;;
17179
17180   # This is an error.
17181   -*) as_fn_error $? "unrecognized option: \`$1'
17182 Try \`$0 --help' for more information." ;;
17183
17184   *) as_fn_append ac_config_targets " $1"
17185      ac_need_defaults=false ;;
17186
17187   esac
17188   shift
17189 done
17190
17191 ac_configure_extra_args=
17192
17193 if $ac_cs_silent; then
17194   exec 6>/dev/null
17195   ac_configure_extra_args="$ac_configure_extra_args --silent"
17196 fi
17197
17198 _ACEOF
17199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17200 if \$ac_cs_recheck; then
17201   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17202   shift
17203   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17204   CONFIG_SHELL='$SHELL'
17205   export CONFIG_SHELL
17206   exec "\$@"
17207 fi
17208
17209 _ACEOF
17210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17211 exec 5>>config.log
17212 {
17213   echo
17214   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17215 ## Running $as_me. ##
17216 _ASBOX
17217   $as_echo "$ac_log"
17218 } >&5
17219
17220 _ACEOF
17221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17222 #
17223 # INIT-COMMANDS
17224 #
17225 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17226
17227
17228 # The HP-UX ksh and POSIX shell print the target directory to stdout
17229 # if CDPATH is set.
17230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17231
17232 sed_quote_subst='$sed_quote_subst'
17233 double_quote_subst='$double_quote_subst'
17234 delay_variable_subst='$delay_variable_subst'
17235 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17236 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17237 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17238 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17239 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17240 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17241 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17242 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17243 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17244 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17245 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17246 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17247 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17248 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17249 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17250 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17251 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17252 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17253 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17254 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17255 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17256 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17257 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17258 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17259 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17260 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17261 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17262 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17263 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17264 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17265 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17266 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17267 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17268 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17269 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17270 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17271 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17272 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17273 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17274 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17275 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17276 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17277 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17278 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17279 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17280 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17281 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17282 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17283 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17284 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17285 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17286 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17287 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17288 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17289 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17290 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17291 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17292 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17293 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"`'
17294 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17295 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17296 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17297 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17298 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17299 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17300 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17301 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17302 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17303 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17304 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17305 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17306 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17307 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17308 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17309 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17310 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17311 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17312 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17313 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17314 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17315 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17316 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17317 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17318 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17319 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17320 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17321 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17322 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17323 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17324 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17325 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17326 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17327 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17328 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17329 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17330 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17331 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17332 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17333 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17334 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17335 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17336 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17337 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17338 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17339 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17340 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17341 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17342 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17343 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17344 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17345 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17346 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17347 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17348 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17349 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17350 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17351 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17352 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17353 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17354 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17355 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17356 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17357 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17358 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17359 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17360 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17361 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17362 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17363 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17364 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17365 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17366 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17367 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17368 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17369 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17370 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17371 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17372 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17373 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17374 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17375 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17376 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17377 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17378 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17379 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17380 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17381 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17382 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17383 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17384 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17385 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17386 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17387 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17388 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17389 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17390 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17391 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17392 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17393 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17394 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17395 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17396 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17397 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17398 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17399 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17400 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17401 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17402 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17403 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17404 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17405 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17406 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17407 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17408 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17409 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17410 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17411 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17412 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17413 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17414 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17415 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17416 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17417 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17418 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17419 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17420 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17421 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17422 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17423 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17424
17425 LTCC='$LTCC'
17426 LTCFLAGS='$LTCFLAGS'
17427 compiler='$compiler_DEFAULT'
17428
17429 # A function that is used when there is no print builtin or printf.
17430 func_fallback_echo ()
17431 {
17432   eval 'cat <<_LTECHO_EOF
17433 \$1
17434 _LTECHO_EOF'
17435 }
17436
17437 # Quote evaled strings.
17438 for var in SHELL \
17439 ECHO \
17440 PATH_SEPARATOR \
17441 SED \
17442 GREP \
17443 EGREP \
17444 FGREP \
17445 LD \
17446 NM \
17447 LN_S \
17448 lt_SP2NL \
17449 lt_NL2SP \
17450 reload_flag \
17451 OBJDUMP \
17452 deplibs_check_method \
17453 file_magic_cmd \
17454 file_magic_glob \
17455 want_nocaseglob \
17456 DLLTOOL \
17457 sharedlib_from_linklib_cmd \
17458 AR \
17459 AR_FLAGS \
17460 archiver_list_spec \
17461 STRIP \
17462 RANLIB \
17463 CC \
17464 CFLAGS \
17465 compiler \
17466 lt_cv_sys_global_symbol_pipe \
17467 lt_cv_sys_global_symbol_to_cdecl \
17468 lt_cv_sys_global_symbol_to_import \
17469 lt_cv_sys_global_symbol_to_c_name_address \
17470 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17471 lt_cv_nm_interface \
17472 nm_file_list_spec \
17473 lt_cv_truncate_bin \
17474 lt_prog_compiler_no_builtin_flag \
17475 lt_prog_compiler_pic \
17476 lt_prog_compiler_wl \
17477 lt_prog_compiler_static \
17478 lt_cv_prog_compiler_c_o \
17479 need_locks \
17480 MANIFEST_TOOL \
17481 DSYMUTIL \
17482 NMEDIT \
17483 LIPO \
17484 OTOOL \
17485 OTOOL64 \
17486 shrext_cmds \
17487 export_dynamic_flag_spec \
17488 whole_archive_flag_spec \
17489 compiler_needs_object \
17490 with_gnu_ld \
17491 allow_undefined_flag \
17492 no_undefined_flag \
17493 hardcode_libdir_flag_spec \
17494 hardcode_libdir_separator \
17495 exclude_expsyms \
17496 include_expsyms \
17497 file_list_spec \
17498 variables_saved_for_relink \
17499 libname_spec \
17500 library_names_spec \
17501 soname_spec \
17502 install_override_mode \
17503 finish_eval \
17504 old_striplib \
17505 striplib \
17506 compiler_lib_search_dirs \
17507 predep_objects \
17508 postdep_objects \
17509 predeps \
17510 postdeps \
17511 compiler_lib_search_path \
17512 LD_CXX \
17513 reload_flag_CXX \
17514 compiler_CXX \
17515 lt_prog_compiler_no_builtin_flag_CXX \
17516 lt_prog_compiler_pic_CXX \
17517 lt_prog_compiler_wl_CXX \
17518 lt_prog_compiler_static_CXX \
17519 lt_cv_prog_compiler_c_o_CXX \
17520 export_dynamic_flag_spec_CXX \
17521 whole_archive_flag_spec_CXX \
17522 compiler_needs_object_CXX \
17523 with_gnu_ld_CXX \
17524 allow_undefined_flag_CXX \
17525 no_undefined_flag_CXX \
17526 hardcode_libdir_flag_spec_CXX \
17527 hardcode_libdir_separator_CXX \
17528 exclude_expsyms_CXX \
17529 include_expsyms_CXX \
17530 file_list_spec_CXX \
17531 compiler_lib_search_dirs_CXX \
17532 predep_objects_CXX \
17533 postdep_objects_CXX \
17534 predeps_CXX \
17535 postdeps_CXX \
17536 compiler_lib_search_path_CXX; do
17537     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17538     *[\\\\\\\`\\"\\\$]*)
17539       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17540       ;;
17541     *)
17542       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17543       ;;
17544     esac
17545 done
17546
17547 # Double-quote double-evaled strings.
17548 for var in reload_cmds \
17549 old_postinstall_cmds \
17550 old_postuninstall_cmds \
17551 old_archive_cmds \
17552 extract_expsyms_cmds \
17553 old_archive_from_new_cmds \
17554 old_archive_from_expsyms_cmds \
17555 archive_cmds \
17556 archive_expsym_cmds \
17557 module_cmds \
17558 module_expsym_cmds \
17559 export_symbols_cmds \
17560 prelink_cmds \
17561 postlink_cmds \
17562 postinstall_cmds \
17563 postuninstall_cmds \
17564 finish_cmds \
17565 sys_lib_search_path_spec \
17566 configure_time_dlsearch_path \
17567 configure_time_lt_sys_library_path \
17568 reload_cmds_CXX \
17569 old_archive_cmds_CXX \
17570 old_archive_from_new_cmds_CXX \
17571 old_archive_from_expsyms_cmds_CXX \
17572 archive_cmds_CXX \
17573 archive_expsym_cmds_CXX \
17574 module_cmds_CXX \
17575 module_expsym_cmds_CXX \
17576 export_symbols_cmds_CXX \
17577 prelink_cmds_CXX \
17578 postlink_cmds_CXX; do
17579     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17580     *[\\\\\\\`\\"\\\$]*)
17581       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17582       ;;
17583     *)
17584       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17585       ;;
17586     esac
17587 done
17588
17589 ac_aux_dir='$ac_aux_dir'
17590
17591 # See if we are running on zsh, and set the options that allow our
17592 # commands through without removal of \ escapes INIT.
17593 if test -n "\${ZSH_VERSION+set}"; then
17594    setopt NO_GLOB_SUBST
17595 fi
17596
17597
17598     PACKAGE='$PACKAGE'
17599     VERSION='$VERSION'
17600     RM='$RM'
17601     ofile='$ofile'
17602
17603
17604
17605
17606
17607
17608 _ACEOF
17609
17610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17611
17612 # Handling of arguments.
17613 for ac_config_target in $ac_config_targets
17614 do
17615   case $ac_config_target in
17616     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17617     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17618     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17619     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17620     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17621     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17622     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17623
17624   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17625   esac
17626 done
17627
17628
17629 # If the user did not use the arguments to specify the items to instantiate,
17630 # then the envvar interface is used.  Set only those that are not.
17631 # We use the long form for the default assignment because of an extremely
17632 # bizarre bug on SunOS 4.1.3.
17633 if $ac_need_defaults; then
17634   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17635   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17636   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17637 fi
17638
17639 # Have a temporary directory for convenience.  Make it in the build tree
17640 # simply because there is no reason against having it here, and in addition,
17641 # creating and moving files from /tmp can sometimes cause problems.
17642 # Hook for its removal unless debugging.
17643 # Note that there is a small window in which the directory will not be cleaned:
17644 # after its creation but before its name has been assigned to `$tmp'.
17645 $debug ||
17646 {
17647   tmp= ac_tmp=
17648   trap 'exit_status=$?
17649   : "${ac_tmp:=$tmp}"
17650   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17651 ' 0
17652   trap 'as_fn_exit 1' 1 2 13 15
17653 }
17654 # Create a (secure) tmp directory for tmp files.
17655
17656 {
17657   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17658   test -d "$tmp"
17659 }  ||
17660 {
17661   tmp=./conf$$-$RANDOM
17662   (umask 077 && mkdir "$tmp")
17663 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17664 ac_tmp=$tmp
17665
17666 # Set up the scripts for CONFIG_FILES section.
17667 # No need to generate them if there are no CONFIG_FILES.
17668 # This happens for instance with `./config.status config.h'.
17669 if test -n "$CONFIG_FILES"; then
17670
17671
17672 ac_cr=`echo X | tr X '\015'`
17673 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17674 # But we know of no other shell where ac_cr would be empty at this
17675 # point, so we can use a bashism as a fallback.
17676 if test "x$ac_cr" = x; then
17677   eval ac_cr=\$\'\\r\'
17678 fi
17679 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17680 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17681   ac_cs_awk_cr='\\r'
17682 else
17683   ac_cs_awk_cr=$ac_cr
17684 fi
17685
17686 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17687 _ACEOF
17688
17689
17690 {
17691   echo "cat >conf$$subs.awk <<_ACEOF" &&
17692   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17693   echo "_ACEOF"
17694 } >conf$$subs.sh ||
17695   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17696 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17697 ac_delim='%!_!# '
17698 for ac_last_try in false false false false false :; do
17699   . ./conf$$subs.sh ||
17700     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17701
17702   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17703   if test $ac_delim_n = $ac_delim_num; then
17704     break
17705   elif $ac_last_try; then
17706     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17707   else
17708     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17709   fi
17710 done
17711 rm -f conf$$subs.sh
17712
17713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17714 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17715 _ACEOF
17716 sed -n '
17717 h
17718 s/^/S["/; s/!.*/"]=/
17719 p
17720 g
17721 s/^[^!]*!//
17722 :repl
17723 t repl
17724 s/'"$ac_delim"'$//
17725 t delim
17726 :nl
17727 h
17728 s/\(.\{148\}\)..*/\1/
17729 t more1
17730 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17731 p
17732 n
17733 b repl
17734 :more1
17735 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17736 p
17737 g
17738 s/.\{148\}//
17739 t nl
17740 :delim
17741 h
17742 s/\(.\{148\}\)..*/\1/
17743 t more2
17744 s/["\\]/\\&/g; s/^/"/; s/$/"/
17745 p
17746 b
17747 :more2
17748 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17749 p
17750 g
17751 s/.\{148\}//
17752 t delim
17753 ' <conf$$subs.awk | sed '
17754 /^[^""]/{
17755   N
17756   s/\n//
17757 }
17758 ' >>$CONFIG_STATUS || ac_write_fail=1
17759 rm -f conf$$subs.awk
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761 _ACAWK
17762 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17763   for (key in S) S_is_set[key] = 1
17764   FS = "\a"
17765
17766 }
17767 {
17768   line = $ 0
17769   nfields = split(line, field, "@")
17770   substed = 0
17771   len = length(field[1])
17772   for (i = 2; i < nfields; i++) {
17773     key = field[i]
17774     keylen = length(key)
17775     if (S_is_set[key]) {
17776       value = S[key]
17777       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17778       len += length(value) + length(field[++i])
17779       substed = 1
17780     } else
17781       len += 1 + keylen
17782   }
17783
17784   print line
17785 }
17786
17787 _ACAWK
17788 _ACEOF
17789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17790 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17791   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17792 else
17793   cat
17794 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17795   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17796 _ACEOF
17797
17798 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17799 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17800 # trailing colons and then remove the whole line if VPATH becomes empty
17801 # (actually we leave an empty line to preserve line numbers).
17802 if test "x$srcdir" = x.; then
17803   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17804 h
17805 s///
17806 s/^/:/
17807 s/[      ]*$/:/
17808 s/:\$(srcdir):/:/g
17809 s/:\${srcdir}:/:/g
17810 s/:@srcdir@:/:/g
17811 s/^:*//
17812 s/:*$//
17813 x
17814 s/\(=[   ]*\).*/\1/
17815 G
17816 s/\n//
17817 s/^[^=]*=[       ]*$//
17818 }'
17819 fi
17820
17821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17822 fi # test -n "$CONFIG_FILES"
17823
17824 # Set up the scripts for CONFIG_HEADERS section.
17825 # No need to generate them if there are no CONFIG_HEADERS.
17826 # This happens for instance with `./config.status Makefile'.
17827 if test -n "$CONFIG_HEADERS"; then
17828 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17829 BEGIN {
17830 _ACEOF
17831
17832 # Transform confdefs.h into an awk script `defines.awk', embedded as
17833 # here-document in config.status, that substitutes the proper values into
17834 # config.h.in to produce config.h.
17835
17836 # Create a delimiter string that does not exist in confdefs.h, to ease
17837 # handling of long lines.
17838 ac_delim='%!_!# '
17839 for ac_last_try in false false :; do
17840   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17841   if test -z "$ac_tt"; then
17842     break
17843   elif $ac_last_try; then
17844     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17845   else
17846     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17847   fi
17848 done
17849
17850 # For the awk script, D is an array of macro values keyed by name,
17851 # likewise P contains macro parameters if any.  Preserve backslash
17852 # newline sequences.
17853
17854 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17855 sed -n '
17856 s/.\{148\}/&'"$ac_delim"'/g
17857 t rset
17858 :rset
17859 s/^[     ]*#[    ]*define[       ][      ]*/ /
17860 t def
17861 d
17862 :def
17863 s/\\$//
17864 t bsnl
17865 s/["\\]/\\&/g
17866 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17867 D["\1"]=" \3"/p
17868 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17869 d
17870 :bsnl
17871 s/["\\]/\\&/g
17872 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17873 D["\1"]=" \3\\\\\\n"\\/p
17874 t cont
17875 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17876 t cont
17877 d
17878 :cont
17879 n
17880 s/.\{148\}/&'"$ac_delim"'/g
17881 t clear
17882 :clear
17883 s/\\$//
17884 t bsnlc
17885 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17886 d
17887 :bsnlc
17888 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17889 b cont
17890 ' <confdefs.h | sed '
17891 s/'"$ac_delim"'/"\\\
17892 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17893
17894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17895   for (key in D) D_is_set[key] = 1
17896   FS = "\a"
17897 }
17898 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17899   line = \$ 0
17900   split(line, arg, " ")
17901   if (arg[1] == "#") {
17902     defundef = arg[2]
17903     mac1 = arg[3]
17904   } else {
17905     defundef = substr(arg[1], 2)
17906     mac1 = arg[2]
17907   }
17908   split(mac1, mac2, "(") #)
17909   macro = mac2[1]
17910   prefix = substr(line, 1, index(line, defundef) - 1)
17911   if (D_is_set[macro]) {
17912     # Preserve the white space surrounding the "#".
17913     print prefix "define", macro P[macro] D[macro]
17914     next
17915   } else {
17916     # Replace #undef with comments.  This is necessary, for example,
17917     # in the case of _POSIX_SOURCE, which is predefined and required
17918     # on some systems where configure will not decide to define it.
17919     if (defundef == "undef") {
17920       print "/*", prefix defundef, macro, "*/"
17921       next
17922     }
17923   }
17924 }
17925 { print }
17926 _ACAWK
17927 _ACEOF
17928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17929   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17930 fi # test -n "$CONFIG_HEADERS"
17931
17932
17933 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17934 shift
17935 for ac_tag
17936 do
17937   case $ac_tag in
17938   :[FHLC]) ac_mode=$ac_tag; continue;;
17939   esac
17940   case $ac_mode$ac_tag in
17941   :[FHL]*:*);;
17942   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17943   :[FH]-) ac_tag=-:-;;
17944   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17945   esac
17946   ac_save_IFS=$IFS
17947   IFS=:
17948   set x $ac_tag
17949   IFS=$ac_save_IFS
17950   shift
17951   ac_file=$1
17952   shift
17953
17954   case $ac_mode in
17955   :L) ac_source=$1;;
17956   :[FH])
17957     ac_file_inputs=
17958     for ac_f
17959     do
17960       case $ac_f in
17961       -) ac_f="$ac_tmp/stdin";;
17962       *) # Look for the file first in the build tree, then in the source tree
17963          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17964          # because $ac_f cannot contain `:'.
17965          test -f "$ac_f" ||
17966            case $ac_f in
17967            [\\/$]*) false;;
17968            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17969            esac ||
17970            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17971       esac
17972       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17973       as_fn_append ac_file_inputs " '$ac_f'"
17974     done
17975
17976     # Let's still pretend it is `configure' which instantiates (i.e., don't
17977     # use $as_me), people would be surprised to read:
17978     #    /* config.h.  Generated by config.status.  */
17979     configure_input='Generated from '`
17980           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17981         `' by configure.'
17982     if test x"$ac_file" != x-; then
17983       configure_input="$ac_file.  $configure_input"
17984       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17985 $as_echo "$as_me: creating $ac_file" >&6;}
17986     fi
17987     # Neutralize special characters interpreted by sed in replacement strings.
17988     case $configure_input in #(
17989     *\&* | *\|* | *\\* )
17990        ac_sed_conf_input=`$as_echo "$configure_input" |
17991        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17992     *) ac_sed_conf_input=$configure_input;;
17993     esac
17994
17995     case $ac_tag in
17996     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17997       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17998     esac
17999     ;;
18000   esac
18001
18002   ac_dir=`$as_dirname -- "$ac_file" ||
18003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18004          X"$ac_file" : 'X\(//\)[^/]' \| \
18005          X"$ac_file" : 'X\(//\)$' \| \
18006          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18007 $as_echo X"$ac_file" |
18008     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18009             s//\1/
18010             q
18011           }
18012           /^X\(\/\/\)[^/].*/{
18013             s//\1/
18014             q
18015           }
18016           /^X\(\/\/\)$/{
18017             s//\1/
18018             q
18019           }
18020           /^X\(\/\).*/{
18021             s//\1/
18022             q
18023           }
18024           s/.*/./; q'`
18025   as_dir="$ac_dir"; as_fn_mkdir_p
18026   ac_builddir=.
18027
18028 case "$ac_dir" in
18029 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18030 *)
18031   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18032   # A ".." for each directory in $ac_dir_suffix.
18033   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18034   case $ac_top_builddir_sub in
18035   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18036   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18037   esac ;;
18038 esac
18039 ac_abs_top_builddir=$ac_pwd
18040 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18041 # for backward compatibility:
18042 ac_top_builddir=$ac_top_build_prefix
18043
18044 case $srcdir in
18045   .)  # We are building in place.
18046     ac_srcdir=.
18047     ac_top_srcdir=$ac_top_builddir_sub
18048     ac_abs_top_srcdir=$ac_pwd ;;
18049   [\\/]* | ?:[\\/]* )  # Absolute name.
18050     ac_srcdir=$srcdir$ac_dir_suffix;
18051     ac_top_srcdir=$srcdir
18052     ac_abs_top_srcdir=$srcdir ;;
18053   *) # Relative name.
18054     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18055     ac_top_srcdir=$ac_top_build_prefix$srcdir
18056     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18057 esac
18058 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18059
18060
18061   case $ac_mode in
18062   :F)
18063   #
18064   # CONFIG_FILE
18065   #
18066
18067   case $INSTALL in
18068   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18069   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18070   esac
18071   ac_MKDIR_P=$MKDIR_P
18072   case $MKDIR_P in
18073   [\\/$]* | ?:[\\/]* ) ;;
18074   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18075   esac
18076 _ACEOF
18077
18078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18079 # If the template does not know about datarootdir, expand it.
18080 # FIXME: This hack should be removed a few years after 2.60.
18081 ac_datarootdir_hack=; ac_datarootdir_seen=
18082 ac_sed_dataroot='
18083 /datarootdir/ {
18084   p
18085   q
18086 }
18087 /@datadir@/p
18088 /@docdir@/p
18089 /@infodir@/p
18090 /@localedir@/p
18091 /@mandir@/p'
18092 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18093 *datarootdir*) ac_datarootdir_seen=yes;;
18094 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18095   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18096 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18097 _ACEOF
18098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18099   ac_datarootdir_hack='
18100   s&@datadir@&$datadir&g
18101   s&@docdir@&$docdir&g
18102   s&@infodir@&$infodir&g
18103   s&@localedir@&$localedir&g
18104   s&@mandir@&$mandir&g
18105   s&\\\${datarootdir}&$datarootdir&g' ;;
18106 esac
18107 _ACEOF
18108
18109 # Neutralize VPATH when `$srcdir' = `.'.
18110 # Shell code in configure.ac might set extrasub.
18111 # FIXME: do we really want to maintain this feature?
18112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18113 ac_sed_extra="$ac_vpsub
18114 $extrasub
18115 _ACEOF
18116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18117 :t
18118 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18119 s|@configure_input@|$ac_sed_conf_input|;t t
18120 s&@top_builddir@&$ac_top_builddir_sub&;t t
18121 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18122 s&@srcdir@&$ac_srcdir&;t t
18123 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18124 s&@top_srcdir@&$ac_top_srcdir&;t t
18125 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18126 s&@builddir@&$ac_builddir&;t t
18127 s&@abs_builddir@&$ac_abs_builddir&;t t
18128 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18129 s&@INSTALL@&$ac_INSTALL&;t t
18130 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18131 $ac_datarootdir_hack
18132 "
18133 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18134   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18135
18136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18137   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18138   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18139       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18140   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18141 which seems to be undefined.  Please make sure it is defined" >&5
18142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18143 which seems to be undefined.  Please make sure it is defined" >&2;}
18144
18145   rm -f "$ac_tmp/stdin"
18146   case $ac_file in
18147   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18148   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18149   esac \
18150   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18151  ;;
18152   :H)
18153   #
18154   # CONFIG_HEADER
18155   #
18156   if test x"$ac_file" != x-; then
18157     {
18158       $as_echo "/* $configure_input  */" \
18159       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18160     } >"$ac_tmp/config.h" \
18161       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18162     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18163       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18164 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18165     else
18166       rm -f "$ac_file"
18167       mv "$ac_tmp/config.h" "$ac_file" \
18168         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18169     fi
18170   else
18171     $as_echo "/* $configure_input  */" \
18172       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18173       || as_fn_error $? "could not create -" "$LINENO" 5
18174   fi
18175 # Compute "$ac_file"'s index in $config_headers.
18176 _am_arg="$ac_file"
18177 _am_stamp_count=1
18178 for _am_header in $config_headers :; do
18179   case $_am_header in
18180     $_am_arg | $_am_arg:* )
18181       break ;;
18182     * )
18183       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18184   esac
18185 done
18186 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18187 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18188          X"$_am_arg" : 'X\(//\)[^/]' \| \
18189          X"$_am_arg" : 'X\(//\)$' \| \
18190          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18191 $as_echo X"$_am_arg" |
18192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18193             s//\1/
18194             q
18195           }
18196           /^X\(\/\/\)[^/].*/{
18197             s//\1/
18198             q
18199           }
18200           /^X\(\/\/\)$/{
18201             s//\1/
18202             q
18203           }
18204           /^X\(\/\).*/{
18205             s//\1/
18206             q
18207           }
18208           s/.*/./; q'`/stamp-h$_am_stamp_count
18209  ;;
18210
18211   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18212 $as_echo "$as_me: executing $ac_file commands" >&6;}
18213  ;;
18214   esac
18215
18216
18217   case $ac_file$ac_mode in
18218     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18219   # Older Autoconf quotes --file arguments for eval, but not when files
18220   # are listed without --file.  Let's play safe and only enable the eval
18221   # if we detect the quoting.
18222   # TODO: see whether this extra hack can be removed once we start
18223   # requiring Autoconf 2.70 or later.
18224   case $CONFIG_FILES in #(
18225   *\'*) :
18226     eval set x "$CONFIG_FILES" ;; #(
18227   *) :
18228     set x $CONFIG_FILES ;; #(
18229   *) :
18230      ;;
18231 esac
18232   shift
18233   # Used to flag and report bootstrapping failures.
18234   am_rc=0
18235   for am_mf
18236   do
18237     # Strip MF so we end up with the name of the file.
18238     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18239     # Check whether this is an Automake generated Makefile which includes
18240     # dependency-tracking related rules and includes.
18241     # Grep'ing the whole file directly is not great: AIX grep has a line
18242     # limit of 2048, but all sed's we know have understand at least 4000.
18243     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18244       || continue
18245     am_dirpart=`$as_dirname -- "$am_mf" ||
18246 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18247          X"$am_mf" : 'X\(//\)[^/]' \| \
18248          X"$am_mf" : 'X\(//\)$' \| \
18249          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18250 $as_echo X"$am_mf" |
18251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18252             s//\1/
18253             q
18254           }
18255           /^X\(\/\/\)[^/].*/{
18256             s//\1/
18257             q
18258           }
18259           /^X\(\/\/\)$/{
18260             s//\1/
18261             q
18262           }
18263           /^X\(\/\).*/{
18264             s//\1/
18265             q
18266           }
18267           s/.*/./; q'`
18268     am_filepart=`$as_basename -- "$am_mf" ||
18269 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18270          X"$am_mf" : 'X\(//\)$' \| \
18271          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18272 $as_echo X/"$am_mf" |
18273     sed '/^.*\/\([^/][^/]*\)\/*$/{
18274             s//\1/
18275             q
18276           }
18277           /^X\/\(\/\/\)$/{
18278             s//\1/
18279             q
18280           }
18281           /^X\/\(\/\).*/{
18282             s//\1/
18283             q
18284           }
18285           s/.*/./; q'`
18286     { echo "$as_me:$LINENO: cd "$am_dirpart" \
18287       && sed -e '/# am--include-marker/d' "$am_filepart" \
18288         | $MAKE -f - am--depfiles" >&5
18289    (cd "$am_dirpart" \
18290       && sed -e '/# am--include-marker/d' "$am_filepart" \
18291         | $MAKE -f - am--depfiles) >&5 2>&5
18292    ac_status=$?
18293    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294    (exit $ac_status); } || am_rc=$?
18295   done
18296   if test $am_rc -ne 0; then
18297     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18299 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18300     for automatic dependency tracking.  Try re-running configure with the
18301     '--disable-dependency-tracking' option to at least be able to build
18302     the package (albeit without support for automatic dependency tracking).
18303 See \`config.log' for more details" "$LINENO" 5; }
18304   fi
18305   { am_dirpart=; unset am_dirpart;}
18306   { am_filepart=; unset am_filepart;}
18307   { am_mf=; unset am_mf;}
18308   { am_rc=; unset am_rc;}
18309   rm -f conftest-deps.mk
18310 }
18311  ;;
18312     "libtool":C)
18313
18314     # See if we are running on zsh, and set the options that allow our
18315     # commands through without removal of \ escapes.
18316     if test -n "${ZSH_VERSION+set}"; then
18317       setopt NO_GLOB_SUBST
18318     fi
18319
18320     cfgfile=${ofile}T
18321     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18322     $RM "$cfgfile"
18323
18324     cat <<_LT_EOF >> "$cfgfile"
18325 #! $SHELL
18326 # Generated automatically by $as_me ($PACKAGE) $VERSION
18327 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18328 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18329
18330 # Provide generalized library-building support services.
18331 # Written by Gordon Matzigkeit, 1996
18332
18333 # Copyright (C) 2014 Free Software Foundation, Inc.
18334 # This is free software; see the source for copying conditions.  There is NO
18335 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18336
18337 # GNU Libtool is free software; you can redistribute it and/or modify
18338 # it under the terms of the GNU General Public License as published by
18339 # the Free Software Foundation; either version 2 of of the License, or
18340 # (at your option) any later version.
18341 #
18342 # As a special exception to the GNU General Public License, if you
18343 # distribute this file as part of a program or library that is built
18344 # using GNU Libtool, you may include this file under the  same
18345 # distribution terms that you use for the rest of that program.
18346 #
18347 # GNU Libtool is distributed in the hope that it will be useful, but
18348 # WITHOUT ANY WARRANTY; without even the implied warranty of
18349 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18350 # GNU General Public License for more details.
18351 #
18352 # You should have received a copy of the GNU General Public License
18353 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18354
18355
18356 # The names of the tagged configurations supported by this script.
18357 available_tags='CXX '
18358
18359 # Configured defaults for sys_lib_dlsearch_path munging.
18360 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18361
18362 # ### BEGIN LIBTOOL CONFIG
18363
18364 # Which release of libtool.m4 was used?
18365 macro_version=$macro_version
18366 macro_revision=$macro_revision
18367
18368 # Whether or not to build shared libraries.
18369 build_libtool_libs=$enable_shared
18370
18371 # Whether or not to build static libraries.
18372 build_old_libs=$enable_static
18373
18374 # What type of objects to build.
18375 pic_mode=$pic_mode
18376
18377 # Whether or not to optimize for fast installation.
18378 fast_install=$enable_fast_install
18379
18380 # Shared archive member basename,for filename based shared library versioning on AIX.
18381 shared_archive_member_spec=$shared_archive_member_spec
18382
18383 # Shell to use when invoking shell scripts.
18384 SHELL=$lt_SHELL
18385
18386 # An echo program that protects backslashes.
18387 ECHO=$lt_ECHO
18388
18389 # The PATH separator for the build system.
18390 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18391
18392 # The host system.
18393 host_alias=$host_alias
18394 host=$host
18395 host_os=$host_os
18396
18397 # The build system.
18398 build_alias=$build_alias
18399 build=$build
18400 build_os=$build_os
18401
18402 # A sed program that does not truncate output.
18403 SED=$lt_SED
18404
18405 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18406 Xsed="\$SED -e 1s/^X//"
18407
18408 # A grep program that handles long lines.
18409 GREP=$lt_GREP
18410
18411 # An ERE matcher.
18412 EGREP=$lt_EGREP
18413
18414 # A literal string matcher.
18415 FGREP=$lt_FGREP
18416
18417 # A BSD- or MS-compatible name lister.
18418 NM=$lt_NM
18419
18420 # Whether we need soft or hard links.
18421 LN_S=$lt_LN_S
18422
18423 # What is the maximum length of a command?
18424 max_cmd_len=$max_cmd_len
18425
18426 # Object file suffix (normally "o").
18427 objext=$ac_objext
18428
18429 # Executable file suffix (normally "").
18430 exeext=$exeext
18431
18432 # whether the shell understands "unset".
18433 lt_unset=$lt_unset
18434
18435 # turn spaces into newlines.
18436 SP2NL=$lt_lt_SP2NL
18437
18438 # turn newlines into spaces.
18439 NL2SP=$lt_lt_NL2SP
18440
18441 # convert \$build file names to \$host format.
18442 to_host_file_cmd=$lt_cv_to_host_file_cmd
18443
18444 # convert \$build files to toolchain format.
18445 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18446
18447 # An object symbol dumper.
18448 OBJDUMP=$lt_OBJDUMP
18449
18450 # Method to check whether dependent libraries are shared objects.
18451 deplibs_check_method=$lt_deplibs_check_method
18452
18453 # Command to use when deplibs_check_method = "file_magic".
18454 file_magic_cmd=$lt_file_magic_cmd
18455
18456 # How to find potential files when deplibs_check_method = "file_magic".
18457 file_magic_glob=$lt_file_magic_glob
18458
18459 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18460 want_nocaseglob=$lt_want_nocaseglob
18461
18462 # DLL creation program.
18463 DLLTOOL=$lt_DLLTOOL
18464
18465 # Command to associate shared and link libraries.
18466 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18467
18468 # The archiver.
18469 AR=$lt_AR
18470
18471 # Flags to create an archive.
18472 AR_FLAGS=$lt_AR_FLAGS
18473
18474 # How to feed a file listing to the archiver.
18475 archiver_list_spec=$lt_archiver_list_spec
18476
18477 # A symbol stripping program.
18478 STRIP=$lt_STRIP
18479
18480 # Commands used to install an old-style archive.
18481 RANLIB=$lt_RANLIB
18482 old_postinstall_cmds=$lt_old_postinstall_cmds
18483 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18484
18485 # Whether to use a lock for old archive extraction.
18486 lock_old_archive_extraction=$lock_old_archive_extraction
18487
18488 # A C compiler.
18489 LTCC=$lt_CC
18490
18491 # LTCC compiler flags.
18492 LTCFLAGS=$lt_CFLAGS
18493
18494 # Take the output of nm and produce a listing of raw symbols and C names.
18495 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18496
18497 # Transform the output of nm in a proper C declaration.
18498 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18499
18500 # Transform the output of nm into a list of symbols to manually relocate.
18501 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18502
18503 # Transform the output of nm in a C name address pair.
18504 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18505
18506 # Transform the output of nm in a C name address pair when lib prefix is needed.
18507 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18508
18509 # The name lister interface.
18510 nm_interface=$lt_lt_cv_nm_interface
18511
18512 # Specify filename containing input files for \$NM.
18513 nm_file_list_spec=$lt_nm_file_list_spec
18514
18515 # The root where to search for dependent libraries,and where our libraries should be installed.
18516 lt_sysroot=$lt_sysroot
18517
18518 # Command to truncate a binary pipe.
18519 lt_truncate_bin=$lt_lt_cv_truncate_bin
18520
18521 # The name of the directory that contains temporary libtool files.
18522 objdir=$objdir
18523
18524 # Used to examine libraries when file_magic_cmd begins with "file".
18525 MAGIC_CMD=$MAGIC_CMD
18526
18527 # Must we lock files when doing compilation?
18528 need_locks=$lt_need_locks
18529
18530 # Manifest tool.
18531 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18532
18533 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18534 DSYMUTIL=$lt_DSYMUTIL
18535
18536 # Tool to change global to local symbols on Mac OS X.
18537 NMEDIT=$lt_NMEDIT
18538
18539 # Tool to manipulate fat objects and archives on Mac OS X.
18540 LIPO=$lt_LIPO
18541
18542 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18543 OTOOL=$lt_OTOOL
18544
18545 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18546 OTOOL64=$lt_OTOOL64
18547
18548 # Old archive suffix (normally "a").
18549 libext=$libext
18550
18551 # Shared library suffix (normally ".so").
18552 shrext_cmds=$lt_shrext_cmds
18553
18554 # The commands to extract the exported symbol list from a shared archive.
18555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18556
18557 # Variables whose values should be saved in libtool wrapper scripts and
18558 # restored at link time.
18559 variables_saved_for_relink=$lt_variables_saved_for_relink
18560
18561 # Do we need the "lib" prefix for modules?
18562 need_lib_prefix=$need_lib_prefix
18563
18564 # Do we need a version for libraries?
18565 need_version=$need_version
18566
18567 # Library versioning type.
18568 version_type=$version_type
18569
18570 # Shared library runtime path variable.
18571 runpath_var=$runpath_var
18572
18573 # Shared library path variable.
18574 shlibpath_var=$shlibpath_var
18575
18576 # Is shlibpath searched before the hard-coded library search path?
18577 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18578
18579 # Format of library name prefix.
18580 libname_spec=$lt_libname_spec
18581
18582 # List of archive names.  First name is the real one, the rest are links.
18583 # The last name is the one that the linker finds with -lNAME
18584 library_names_spec=$lt_library_names_spec
18585
18586 # The coded name of the library, if different from the real name.
18587 soname_spec=$lt_soname_spec
18588
18589 # Permission mode override for installation of shared libraries.
18590 install_override_mode=$lt_install_override_mode
18591
18592 # Command to use after installation of a shared archive.
18593 postinstall_cmds=$lt_postinstall_cmds
18594
18595 # Command to use after uninstallation of a shared archive.
18596 postuninstall_cmds=$lt_postuninstall_cmds
18597
18598 # Commands used to finish a libtool library installation in a directory.
18599 finish_cmds=$lt_finish_cmds
18600
18601 # As "finish_cmds", except a single script fragment to be evaled but
18602 # not shown.
18603 finish_eval=$lt_finish_eval
18604
18605 # Whether we should hardcode library paths into libraries.
18606 hardcode_into_libs=$hardcode_into_libs
18607
18608 # Compile-time system search path for libraries.
18609 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18610
18611 # Detected run-time system search path for libraries.
18612 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18613
18614 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18615 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18616
18617 # Whether dlopen is supported.
18618 dlopen_support=$enable_dlopen
18619
18620 # Whether dlopen of programs is supported.
18621 dlopen_self=$enable_dlopen_self
18622
18623 # Whether dlopen of statically linked programs is supported.
18624 dlopen_self_static=$enable_dlopen_self_static
18625
18626 # Commands to strip libraries.
18627 old_striplib=$lt_old_striplib
18628 striplib=$lt_striplib
18629
18630
18631 # The linker used to build libraries.
18632 LD=$lt_LD
18633
18634 # How to create reloadable object files.
18635 reload_flag=$lt_reload_flag
18636 reload_cmds=$lt_reload_cmds
18637
18638 # Commands used to build an old-style archive.
18639 old_archive_cmds=$lt_old_archive_cmds
18640
18641 # A language specific compiler.
18642 CC=$lt_compiler
18643
18644 # Is the compiler the GNU compiler?
18645 with_gcc=$GCC
18646
18647 # Compiler flag to turn off builtin functions.
18648 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18649
18650 # Additional compiler flags for building library objects.
18651 pic_flag=$lt_lt_prog_compiler_pic
18652
18653 # How to pass a linker flag through the compiler.
18654 wl=$lt_lt_prog_compiler_wl
18655
18656 # Compiler flag to prevent dynamic linking.
18657 link_static_flag=$lt_lt_prog_compiler_static
18658
18659 # Does compiler simultaneously support -c and -o options?
18660 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18661
18662 # Whether or not to add -lc for building shared libraries.
18663 build_libtool_need_lc=$archive_cmds_need_lc
18664
18665 # Whether or not to disallow shared libs when runtime libs are static.
18666 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18667
18668 # Compiler flag to allow reflexive dlopens.
18669 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18670
18671 # Compiler flag to generate shared objects directly from archives.
18672 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18673
18674 # Whether the compiler copes with passing no objects directly.
18675 compiler_needs_object=$lt_compiler_needs_object
18676
18677 # Create an old-style archive from a shared archive.
18678 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18679
18680 # Create a temporary old-style archive to link instead of a shared archive.
18681 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18682
18683 # Commands used to build a shared archive.
18684 archive_cmds=$lt_archive_cmds
18685 archive_expsym_cmds=$lt_archive_expsym_cmds
18686
18687 # Commands used to build a loadable module if different from building
18688 # a shared archive.
18689 module_cmds=$lt_module_cmds
18690 module_expsym_cmds=$lt_module_expsym_cmds
18691
18692 # Whether we are building with GNU ld or not.
18693 with_gnu_ld=$lt_with_gnu_ld
18694
18695 # Flag that allows shared libraries with undefined symbols to be built.
18696 allow_undefined_flag=$lt_allow_undefined_flag
18697
18698 # Flag that enforces no undefined symbols.
18699 no_undefined_flag=$lt_no_undefined_flag
18700
18701 # Flag to hardcode \$libdir into a binary during linking.
18702 # This must work even if \$libdir does not exist
18703 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18704
18705 # Whether we need a single "-rpath" flag with a separated argument.
18706 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18707
18708 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18709 # DIR into the resulting binary.
18710 hardcode_direct=$hardcode_direct
18711
18712 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18713 # DIR into the resulting binary and the resulting library dependency is
18714 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18715 # library is relocated.
18716 hardcode_direct_absolute=$hardcode_direct_absolute
18717
18718 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18719 # into the resulting binary.
18720 hardcode_minus_L=$hardcode_minus_L
18721
18722 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18723 # into the resulting binary.
18724 hardcode_shlibpath_var=$hardcode_shlibpath_var
18725
18726 # Set to "yes" if building a shared library automatically hardcodes DIR
18727 # into the library and all subsequent libraries and executables linked
18728 # against it.
18729 hardcode_automatic=$hardcode_automatic
18730
18731 # Set to yes if linker adds runtime paths of dependent libraries
18732 # to runtime path list.
18733 inherit_rpath=$inherit_rpath
18734
18735 # Whether libtool must link a program against all its dependency libraries.
18736 link_all_deplibs=$link_all_deplibs
18737
18738 # Set to "yes" if exported symbols are required.
18739 always_export_symbols=$always_export_symbols
18740
18741 # The commands to list exported symbols.
18742 export_symbols_cmds=$lt_export_symbols_cmds
18743
18744 # Symbols that should not be listed in the preloaded symbols.
18745 exclude_expsyms=$lt_exclude_expsyms
18746
18747 # Symbols that must always be exported.
18748 include_expsyms=$lt_include_expsyms
18749
18750 # Commands necessary for linking programs (against libraries) with templates.
18751 prelink_cmds=$lt_prelink_cmds
18752
18753 # Commands necessary for finishing linking programs.
18754 postlink_cmds=$lt_postlink_cmds
18755
18756 # Specify filename containing input files.
18757 file_list_spec=$lt_file_list_spec
18758
18759 # How to hardcode a shared library path into an executable.
18760 hardcode_action=$hardcode_action
18761
18762 # The directories searched by this compiler when creating a shared library.
18763 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18764
18765 # Dependencies to place before and after the objects being linked to
18766 # create a shared library.
18767 predep_objects=$lt_predep_objects
18768 postdep_objects=$lt_postdep_objects
18769 predeps=$lt_predeps
18770 postdeps=$lt_postdeps
18771
18772 # The library search path used internally by the compiler when linking
18773 # a shared library.
18774 compiler_lib_search_path=$lt_compiler_lib_search_path
18775
18776 # ### END LIBTOOL CONFIG
18777
18778 _LT_EOF
18779
18780     cat <<'_LT_EOF' >> "$cfgfile"
18781
18782 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18783
18784 # func_munge_path_list VARIABLE PATH
18785 # -----------------------------------
18786 # VARIABLE is name of variable containing _space_ separated list of
18787 # directories to be munged by the contents of PATH, which is string
18788 # having a format:
18789 # "DIR[:DIR]:"
18790 #       string "DIR[ DIR]" will be prepended to VARIABLE
18791 # ":DIR[:DIR]"
18792 #       string "DIR[ DIR]" will be appended to VARIABLE
18793 # "DIRP[:DIRP]::[DIRA:]DIRA"
18794 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18795 #       "DIRA[ DIRA]" will be appended to VARIABLE
18796 # "DIR[:DIR]"
18797 #       VARIABLE will be replaced by "DIR[ DIR]"
18798 func_munge_path_list ()
18799 {
18800     case x$2 in
18801     x)
18802         ;;
18803     *:)
18804         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18805         ;;
18806     x:*)
18807         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18808         ;;
18809     *::*)
18810         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18811         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18812         ;;
18813     *)
18814         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18815         ;;
18816     esac
18817 }
18818
18819
18820 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18821 func_cc_basename ()
18822 {
18823     for cc_temp in $*""; do
18824       case $cc_temp in
18825         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18826         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18827         \-*) ;;
18828         *) break;;
18829       esac
18830     done
18831     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18832 }
18833
18834
18835 # ### END FUNCTIONS SHARED WITH CONFIGURE
18836
18837 _LT_EOF
18838
18839   case $host_os in
18840   aix3*)
18841     cat <<\_LT_EOF >> "$cfgfile"
18842 # AIX sometimes has problems with the GCC collect2 program.  For some
18843 # reason, if we set the COLLECT_NAMES environment variable, the problems
18844 # vanish in a puff of smoke.
18845 if test set != "${COLLECT_NAMES+set}"; then
18846   COLLECT_NAMES=
18847   export COLLECT_NAMES
18848 fi
18849 _LT_EOF
18850     ;;
18851   esac
18852
18853
18854 ltmain=$ac_aux_dir/ltmain.sh
18855
18856
18857   # We use sed instead of cat because bash on DJGPP gets confused if
18858   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18859   # text mode, it properly converts lines to CR/LF.  This bash problem
18860   # is reportedly fixed, but why not run on old versions too?
18861   sed '$q' "$ltmain" >> "$cfgfile" \
18862      || (rm -f "$cfgfile"; exit 1)
18863
18864    mv -f "$cfgfile" "$ofile" ||
18865     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18866   chmod +x "$ofile"
18867
18868
18869     cat <<_LT_EOF >> "$ofile"
18870
18871 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18872
18873 # The linker used to build libraries.
18874 LD=$lt_LD_CXX
18875
18876 # How to create reloadable object files.
18877 reload_flag=$lt_reload_flag_CXX
18878 reload_cmds=$lt_reload_cmds_CXX
18879
18880 # Commands used to build an old-style archive.
18881 old_archive_cmds=$lt_old_archive_cmds_CXX
18882
18883 # A language specific compiler.
18884 CC=$lt_compiler_CXX
18885
18886 # Is the compiler the GNU compiler?
18887 with_gcc=$GCC_CXX
18888
18889 # Compiler flag to turn off builtin functions.
18890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18891
18892 # Additional compiler flags for building library objects.
18893 pic_flag=$lt_lt_prog_compiler_pic_CXX
18894
18895 # How to pass a linker flag through the compiler.
18896 wl=$lt_lt_prog_compiler_wl_CXX
18897
18898 # Compiler flag to prevent dynamic linking.
18899 link_static_flag=$lt_lt_prog_compiler_static_CXX
18900
18901 # Does compiler simultaneously support -c and -o options?
18902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18903
18904 # Whether or not to add -lc for building shared libraries.
18905 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18906
18907 # Whether or not to disallow shared libs when runtime libs are static.
18908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18909
18910 # Compiler flag to allow reflexive dlopens.
18911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18912
18913 # Compiler flag to generate shared objects directly from archives.
18914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18915
18916 # Whether the compiler copes with passing no objects directly.
18917 compiler_needs_object=$lt_compiler_needs_object_CXX
18918
18919 # Create an old-style archive from a shared archive.
18920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18921
18922 # Create a temporary old-style archive to link instead of a shared archive.
18923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18924
18925 # Commands used to build a shared archive.
18926 archive_cmds=$lt_archive_cmds_CXX
18927 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18928
18929 # Commands used to build a loadable module if different from building
18930 # a shared archive.
18931 module_cmds=$lt_module_cmds_CXX
18932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18933
18934 # Whether we are building with GNU ld or not.
18935 with_gnu_ld=$lt_with_gnu_ld_CXX
18936
18937 # Flag that allows shared libraries with undefined symbols to be built.
18938 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18939
18940 # Flag that enforces no undefined symbols.
18941 no_undefined_flag=$lt_no_undefined_flag_CXX
18942
18943 # Flag to hardcode \$libdir into a binary during linking.
18944 # This must work even if \$libdir does not exist
18945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18946
18947 # Whether we need a single "-rpath" flag with a separated argument.
18948 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18949
18950 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18951 # DIR into the resulting binary.
18952 hardcode_direct=$hardcode_direct_CXX
18953
18954 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18955 # DIR into the resulting binary and the resulting library dependency is
18956 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18957 # library is relocated.
18958 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18959
18960 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18961 # into the resulting binary.
18962 hardcode_minus_L=$hardcode_minus_L_CXX
18963
18964 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18965 # into the resulting binary.
18966 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18967
18968 # Set to "yes" if building a shared library automatically hardcodes DIR
18969 # into the library and all subsequent libraries and executables linked
18970 # against it.
18971 hardcode_automatic=$hardcode_automatic_CXX
18972
18973 # Set to yes if linker adds runtime paths of dependent libraries
18974 # to runtime path list.
18975 inherit_rpath=$inherit_rpath_CXX
18976
18977 # Whether libtool must link a program against all its dependency libraries.
18978 link_all_deplibs=$link_all_deplibs_CXX
18979
18980 # Set to "yes" if exported symbols are required.
18981 always_export_symbols=$always_export_symbols_CXX
18982
18983 # The commands to list exported symbols.
18984 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18985
18986 # Symbols that should not be listed in the preloaded symbols.
18987 exclude_expsyms=$lt_exclude_expsyms_CXX
18988
18989 # Symbols that must always be exported.
18990 include_expsyms=$lt_include_expsyms_CXX
18991
18992 # Commands necessary for linking programs (against libraries) with templates.
18993 prelink_cmds=$lt_prelink_cmds_CXX
18994
18995 # Commands necessary for finishing linking programs.
18996 postlink_cmds=$lt_postlink_cmds_CXX
18997
18998 # Specify filename containing input files.
18999 file_list_spec=$lt_file_list_spec_CXX
19000
19001 # How to hardcode a shared library path into an executable.
19002 hardcode_action=$hardcode_action_CXX
19003
19004 # The directories searched by this compiler when creating a shared library.
19005 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19006
19007 # Dependencies to place before and after the objects being linked to
19008 # create a shared library.
19009 predep_objects=$lt_predep_objects_CXX
19010 postdep_objects=$lt_postdep_objects_CXX
19011 predeps=$lt_predeps_CXX
19012 postdeps=$lt_postdeps_CXX
19013
19014 # The library search path used internally by the compiler when linking
19015 # a shared library.
19016 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19017
19018 # ### END LIBTOOL TAG CONFIG: CXX
19019 _LT_EOF
19020
19021  ;;
19022
19023   esac
19024 done # for ac_tag
19025
19026
19027 as_fn_exit 0
19028 _ACEOF
19029 ac_clean_files=$ac_clean_files_save
19030
19031 test $ac_write_fail = 0 ||
19032   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19033
19034
19035 # configure is writing to config.log, and then calls config.status.
19036 # config.status does its own redirection, appending to config.log.
19037 # Unfortunately, on DOS this fails, as config.log is still kept open
19038 # by configure, so config.status won't be able to write to it; its
19039 # output is simply discarded.  So we exec the FD to /dev/null,
19040 # effectively closing config.log, so it can be properly (re)opened and
19041 # appended to by config.status.  When coming back to configure, we
19042 # need to make the FD available again.
19043 if test "$no_create" != yes; then
19044   ac_cs_success=:
19045   ac_config_status_args=
19046   test "$silent" = yes &&
19047     ac_config_status_args="$ac_config_status_args --quiet"
19048   exec 5>/dev/null
19049   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19050   exec 5>>config.log
19051   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19052   # would make configure fail if this is the last instruction.
19053   $ac_cs_success || as_fn_exit 1
19054 fi
19055 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19056   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19057 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19058 fi
19059