riscv64: update config.sub and config.guess
[platform/upstream/libtool.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.6.
4 #
5 # Report bugs to <bug-libtool@gnu.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: bug-libtool@gnu.org about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 lt_ltdl_dir='libltdl'
568
569 SHELL=${CONFIG_SHELL-/bin/sh}
570
571 lt_dlopen_dir=$lt_ltdl_dir; lt_libobj_prefix=$lt_ltdl_dir/
572
573
574 test -n "$DJDIR" || exec 7<&0 </dev/null
575 exec 6>&1
576
577 # Name of the host.
578 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579 # so uname gets run too.
580 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
582 #
583 # Initializations.
584 #
585 ac_default_prefix=/usr/local
586 ac_clean_files=
587 ac_config_libobj_dir=.
588 LIBOBJS=
589 cross_compiling=no
590 subdirs=
591 MFLAGS=
592 MAKEFLAGS=
593
594 # Identity of this package.
595 PACKAGE_NAME='GNU Libtool'
596 PACKAGE_TARNAME='libtool'
597 PACKAGE_VERSION='2.4.6'
598 PACKAGE_STRING='GNU Libtool 2.4.6'
599 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
600 PACKAGE_URL='http://www.gnu.org/software/libtool/'
601
602 ac_unique_file="libtoolize.in"
603 ac_config_libobj_dir=libltdl
604 # Factoring default headers for most tests.
605 ac_includes_default="\
606 #include <stdio.h>
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
609 #endif
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
612 #endif
613 #ifdef STDC_HEADERS
614 # include <stdlib.h>
615 # include <stddef.h>
616 #else
617 # ifdef HAVE_STDLIB_H
618 #  include <stdlib.h>
619 # endif
620 #endif
621 #ifdef HAVE_STRING_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #  include <memory.h>
624 # endif
625 # include <string.h>
626 #endif
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
629 #endif
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
632 #endif
633 #ifdef HAVE_STDINT_H
634 # include <stdint.h>
635 #endif
636 #ifdef HAVE_UNISTD_H
637 # include <unistd.h>
638 #endif"
639
640 ac_subst_vars='GLtests_LTLIBOBJS
641 GLtests_LIBOBJS
642 GL_LTLIBOBJS
643 GL_LIBOBJS
644 CONFIG_INCLUDE
645 am__EXEEXT_FALSE
646 am__EXEEXT_TRUE
647 LTLIBOBJS
648 HELP2MAN
649 GLtests_WITNESS
650 GL_COND_LIBTOOL_FALSE
651 GL_COND_LIBTOOL_TRUE
652 with_aix_soname
653 to_tool_file_cmd
654 to_host_file_cmd
655 RC
656 GCJFLAGS
657 GCJ
658 GOC
659 ac_ct_FC
660 FCFLAGS
661 FC
662 ac_ct_F77
663 FFLAGS
664 F77
665 CXXCPP
666 am__fastdepCXX_FALSE
667 am__fastdepCXX_TRUE
668 CXXDEPMODE
669 ac_ct_CXX
670 CXXFLAGS
671 CXX
672 LTDLOPEN
673 LT_CONFIG_H
674 CONVENIENCE_LTDL_FALSE
675 CONVENIENCE_LTDL_TRUE
676 INSTALL_LTDL_FALSE
677 INSTALL_LTDL_TRUE
678 LT_ARGZ_H
679 LIBOBJS
680 sys_symbol_underscore
681 LIBADD_DL
682 LT_DLPREOPEN
683 LIBADD_DLD_LINK
684 LIBADD_SHL_LOAD
685 LIBADD_DLOPEN
686 LT_DLLOADERS
687 LT_SYS_LIBRARY_PATH
688 OTOOL64
689 OTOOL
690 LIPO
691 NMEDIT
692 DSYMUTIL
693 MANIFEST_TOOL
694 ac_ct_AR
695 LN_S
696 NM
697 ac_ct_DUMPBIN
698 DUMPBIN
699 LD
700 FGREP
701 SED
702 LIBTOOL
703 OBJDUMP
704 DLLTOOL
705 AS
706 RANLIB
707 ARFLAGS
708 AR
709 EGREP
710 GREP
711 CPP
712 am__fastdepCC_FALSE
713 am__fastdepCC_TRUE
714 CCDEPMODE
715 am__nodep
716 AMDEPBACKSLASH
717 AMDEP_FALSE
718 AMDEP_TRUE
719 am__quote
720 am__include
721 DEPDIR
722 OBJEXT
723 EXEEXT
724 ac_ct_CC
725 CPPFLAGS
726 LDFLAGS
727 CFLAGS
728 CC
729 pkgaux_scripts
730 pkgdatadir
731 aclocaldir
732 CONFIG_STATUS_DEPENDENCIES
733 host_os
734 host_vendor
735 host_cpu
736 host
737 build_os
738 build_vendor
739 build_cpu
740 build
741 AM_BACKSLASH
742 AM_DEFAULT_VERBOSITY
743 AM_DEFAULT_V
744 AM_V
745 am__untar
746 am__tar
747 AMTAR
748 am__leading_dot
749 SET_MAKE
750 AWK
751 mkdir_p
752 MKDIR_P
753 INSTALL_STRIP_PROGRAM
754 STRIP
755 install_sh
756 MAKEINFO
757 AUTOHEADER
758 AUTOMAKE
759 AUTOCONF
760 ACLOCAL
761 VERSION
762 PACKAGE
763 CYGPATH_W
764 am__isrc
765 INSTALL_DATA
766 INSTALL_SCRIPT
767 INSTALL_PROGRAM
768 M4_DEBUGFILE
769 M4_GNU
770 M4
771 AUTOTEST
772 AUTOM4TE
773 package_revision
774 macro_dir
775 aux_dir
776 ltdl_dir
777 target_alias
778 host_alias
779 build_alias
780 LIBS
781 ECHO_T
782 ECHO_N
783 ECHO_C
784 DEFS
785 mandir
786 localedir
787 libdir
788 psdir
789 pdfdir
790 dvidir
791 htmldir
792 infodir
793 docdir
794 oldincludedir
795 includedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_silent_rules
819 enable_ltdl_install
820 enable_dependency_tracking
821 enable_shared
822 enable_static
823 with_pic
824 enable_fast_install
825 with_aix_soname
826 with_gnu_ld
827 with_sysroot
828 enable_libtool_lock
829 '
830       ac_precious_vars='build_alias
831 host_alias
832 target_alias
833 M4
834 CC
835 CFLAGS
836 LDFLAGS
837 LIBS
838 CPPFLAGS
839 CPP
840 LT_SYS_LIBRARY_PATH
841 CXX
842 CXXFLAGS
843 CCC
844 CXXCPP
845 F77
846 FFLAGS
847 FC
848 FCFLAGS'
849
850
851 # Initialize some variables set by options.
852 ac_init_help=
853 ac_init_version=false
854 ac_unrecognized_opts=
855 ac_unrecognized_sep=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
858 cache_file=/dev/null
859 exec_prefix=NONE
860 no_create=
861 no_recursion=
862 prefix=NONE
863 program_prefix=NONE
864 program_suffix=NONE
865 program_transform_name=s,x,x,
866 silent=
867 site=
868 srcdir=
869 verbose=
870 x_includes=NONE
871 x_libraries=NONE
872
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
898
899 ac_prev=
900 ac_dashdash=
901 for ac_option
902 do
903   # If the previous option needs an argument, assign it.
904   if test -n "$ac_prev"; then
905     eval $ac_prev=\$ac_option
906     ac_prev=
907     continue
908   fi
909
910   case $ac_option in
911   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912   *=)   ac_optarg= ;;
913   *)    ac_optarg=yes ;;
914   esac
915
916   # Accept the important Cygnus configure options, so we can diagnose typos.
917
918   case $ac_dashdash$ac_option in
919   --)
920     ac_dashdash=yes ;;
921
922   -bindir | --bindir | --bindi | --bind | --bin | --bi)
923     ac_prev=bindir ;;
924   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925     bindir=$ac_optarg ;;
926
927   -build | --build | --buil | --bui | --bu)
928     ac_prev=build_alias ;;
929   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930     build_alias=$ac_optarg ;;
931
932   -cache-file | --cache-file | --cache-fil | --cache-fi \
933   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934     ac_prev=cache_file ;;
935   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937     cache_file=$ac_optarg ;;
938
939   --config-cache | -C)
940     cache_file=config.cache ;;
941
942   -datadir | --datadir | --datadi | --datad)
943     ac_prev=datadir ;;
944   -datadir=* | --datadir=* | --datadi=* | --datad=*)
945     datadir=$ac_optarg ;;
946
947   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948   | --dataroo | --dataro | --datar)
949     ac_prev=datarootdir ;;
950   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952     datarootdir=$ac_optarg ;;
953
954   -disable-* | --disable-*)
955     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956     # Reject names that are not valid shell variable names.
957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958       as_fn_error $? "invalid feature name: $ac_useropt"
959     ac_useropt_orig=$ac_useropt
960     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961     case $ac_user_opts in
962       *"
963 "enable_$ac_useropt"
964 "*) ;;
965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966          ac_unrecognized_sep=', ';;
967     esac
968     eval enable_$ac_useropt=no ;;
969
970   -docdir | --docdir | --docdi | --doc | --do)
971     ac_prev=docdir ;;
972   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973     docdir=$ac_optarg ;;
974
975   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
976     ac_prev=dvidir ;;
977   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978     dvidir=$ac_optarg ;;
979
980   -enable-* | --enable-*)
981     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982     # Reject names that are not valid shell variable names.
983     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984       as_fn_error $? "invalid feature name: $ac_useropt"
985     ac_useropt_orig=$ac_useropt
986     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987     case $ac_user_opts in
988       *"
989 "enable_$ac_useropt"
990 "*) ;;
991       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992          ac_unrecognized_sep=', ';;
993     esac
994     eval enable_$ac_useropt=\$ac_optarg ;;
995
996   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998   | --exec | --exe | --ex)
999     ac_prev=exec_prefix ;;
1000   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002   | --exec=* | --exe=* | --ex=*)
1003     exec_prefix=$ac_optarg ;;
1004
1005   -gas | --gas | --ga | --g)
1006     # Obsolete; use --with-gas.
1007     with_gas=yes ;;
1008
1009   -help | --help | --hel | --he | -h)
1010     ac_init_help=long ;;
1011   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1012     ac_init_help=recursive ;;
1013   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014     ac_init_help=short ;;
1015
1016   -host | --host | --hos | --ho)
1017     ac_prev=host_alias ;;
1018   -host=* | --host=* | --hos=* | --ho=*)
1019     host_alias=$ac_optarg ;;
1020
1021   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1022     ac_prev=htmldir ;;
1023   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1024   | --ht=*)
1025     htmldir=$ac_optarg ;;
1026
1027   -includedir | --includedir | --includedi | --included | --include \
1028   | --includ | --inclu | --incl | --inc)
1029     ac_prev=includedir ;;
1030   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031   | --includ=* | --inclu=* | --incl=* | --inc=*)
1032     includedir=$ac_optarg ;;
1033
1034   -infodir | --infodir | --infodi | --infod | --info | --inf)
1035     ac_prev=infodir ;;
1036   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037     infodir=$ac_optarg ;;
1038
1039   -libdir | --libdir | --libdi | --libd)
1040     ac_prev=libdir ;;
1041   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042     libdir=$ac_optarg ;;
1043
1044   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045   | --libexe | --libex | --libe)
1046     ac_prev=libexecdir ;;
1047   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048   | --libexe=* | --libex=* | --libe=*)
1049     libexecdir=$ac_optarg ;;
1050
1051   -localedir | --localedir | --localedi | --localed | --locale)
1052     ac_prev=localedir ;;
1053   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054     localedir=$ac_optarg ;;
1055
1056   -localstatedir | --localstatedir | --localstatedi | --localstated \
1057   | --localstate | --localstat | --localsta | --localst | --locals)
1058     ac_prev=localstatedir ;;
1059   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061     localstatedir=$ac_optarg ;;
1062
1063   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1064     ac_prev=mandir ;;
1065   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066     mandir=$ac_optarg ;;
1067
1068   -nfp | --nfp | --nf)
1069     # Obsolete; use --without-fp.
1070     with_fp=no ;;
1071
1072   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073   | --no-cr | --no-c | -n)
1074     no_create=yes ;;
1075
1076   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078     no_recursion=yes ;;
1079
1080   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082   | --oldin | --oldi | --old | --ol | --o)
1083     ac_prev=oldincludedir ;;
1084   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087     oldincludedir=$ac_optarg ;;
1088
1089   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1090     ac_prev=prefix ;;
1091   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092     prefix=$ac_optarg ;;
1093
1094   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095   | --program-pre | --program-pr | --program-p)
1096     ac_prev=program_prefix ;;
1097   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099     program_prefix=$ac_optarg ;;
1100
1101   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102   | --program-suf | --program-su | --program-s)
1103     ac_prev=program_suffix ;;
1104   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106     program_suffix=$ac_optarg ;;
1107
1108   -program-transform-name | --program-transform-name \
1109   | --program-transform-nam | --program-transform-na \
1110   | --program-transform-n | --program-transform- \
1111   | --program-transform | --program-transfor \
1112   | --program-transfo | --program-transf \
1113   | --program-trans | --program-tran \
1114   | --progr-tra | --program-tr | --program-t)
1115     ac_prev=program_transform_name ;;
1116   -program-transform-name=* | --program-transform-name=* \
1117   | --program-transform-nam=* | --program-transform-na=* \
1118   | --program-transform-n=* | --program-transform-=* \
1119   | --program-transform=* | --program-transfor=* \
1120   | --program-transfo=* | --program-transf=* \
1121   | --program-trans=* | --program-tran=* \
1122   | --progr-tra=* | --program-tr=* | --program-t=*)
1123     program_transform_name=$ac_optarg ;;
1124
1125   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1126     ac_prev=pdfdir ;;
1127   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128     pdfdir=$ac_optarg ;;
1129
1130   -psdir | --psdir | --psdi | --psd | --ps)
1131     ac_prev=psdir ;;
1132   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133     psdir=$ac_optarg ;;
1134
1135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136   | -silent | --silent | --silen | --sile | --sil)
1137     silent=yes ;;
1138
1139   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1140     ac_prev=sbindir ;;
1141   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1142   | --sbi=* | --sb=*)
1143     sbindir=$ac_optarg ;;
1144
1145   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1146   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1147   | --sharedst | --shareds | --shared | --share | --shar \
1148   | --sha | --sh)
1149     ac_prev=sharedstatedir ;;
1150   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1151   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1152   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1153   | --sha=* | --sh=*)
1154     sharedstatedir=$ac_optarg ;;
1155
1156   -site | --site | --sit)
1157     ac_prev=site ;;
1158   -site=* | --site=* | --sit=*)
1159     site=$ac_optarg ;;
1160
1161   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1162     ac_prev=srcdir ;;
1163   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1164     srcdir=$ac_optarg ;;
1165
1166   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1167   | --syscon | --sysco | --sysc | --sys | --sy)
1168     ac_prev=sysconfdir ;;
1169   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1170   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1171     sysconfdir=$ac_optarg ;;
1172
1173   -target | --target | --targe | --targ | --tar | --ta | --t)
1174     ac_prev=target_alias ;;
1175   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1176     target_alias=$ac_optarg ;;
1177
1178   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1179     verbose=yes ;;
1180
1181   -version | --version | --versio | --versi | --vers | -V)
1182     ac_init_version=: ;;
1183
1184   -with-* | --with-*)
1185     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186     # Reject names that are not valid shell variable names.
1187     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188       as_fn_error $? "invalid package name: $ac_useropt"
1189     ac_useropt_orig=$ac_useropt
1190     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191     case $ac_user_opts in
1192       *"
1193 "with_$ac_useropt"
1194 "*) ;;
1195       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196          ac_unrecognized_sep=', ';;
1197     esac
1198     eval with_$ac_useropt=\$ac_optarg ;;
1199
1200   -without-* | --without-*)
1201     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202     # Reject names that are not valid shell variable names.
1203     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204       as_fn_error $? "invalid package name: $ac_useropt"
1205     ac_useropt_orig=$ac_useropt
1206     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207     case $ac_user_opts in
1208       *"
1209 "with_$ac_useropt"
1210 "*) ;;
1211       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212          ac_unrecognized_sep=', ';;
1213     esac
1214     eval with_$ac_useropt=no ;;
1215
1216   --x)
1217     # Obsolete; use --with-x.
1218     with_x=yes ;;
1219
1220   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1221   | --x-incl | --x-inc | --x-in | --x-i)
1222     ac_prev=x_includes ;;
1223   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1224   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1225     x_includes=$ac_optarg ;;
1226
1227   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1228   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1229     ac_prev=x_libraries ;;
1230   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1231   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1232     x_libraries=$ac_optarg ;;
1233
1234   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1236     ;;
1237
1238   *=*)
1239     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1240     # Reject names that are not valid shell variable names.
1241     case $ac_envvar in #(
1242       '' | [0-9]* | *[!_$as_cr_alnum]* )
1243       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1244     esac
1245     eval $ac_envvar=\$ac_optarg
1246     export $ac_envvar ;;
1247
1248   *)
1249     # FIXME: should be removed in autoconf 3.0.
1250     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1252       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1254     ;;
1255
1256   esac
1257 done
1258
1259 if test -n "$ac_prev"; then
1260   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1261   as_fn_error $? "missing argument to $ac_option"
1262 fi
1263
1264 if test -n "$ac_unrecognized_opts"; then
1265   case $enable_option_checking in
1266     no) ;;
1267     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1268     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269   esac
1270 fi
1271
1272 # Check all directory arguments for consistency.
1273 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274                 datadir sysconfdir sharedstatedir localstatedir includedir \
1275                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276                 libdir localedir mandir
1277 do
1278   eval ac_val=\$$ac_var
1279   # Remove trailing slashes.
1280   case $ac_val in
1281     */ )
1282       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283       eval $ac_var=\$ac_val;;
1284   esac
1285   # Be sure to have absolute directory names.
1286   case $ac_val in
1287     [\\/$]* | ?:[\\/]* )  continue;;
1288     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289   esac
1290   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1291 done
1292
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1296 build=$build_alias
1297 host=$host_alias
1298 target=$target_alias
1299
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302   if test "x$build_alias" = x; then
1303     cross_compiling=maybe
1304   elif test "x$build_alias" != "x$host_alias"; then
1305     cross_compiling=yes
1306   fi
1307 fi
1308
1309 ac_tool_prefix=
1310 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1311
1312 test "$silent" = yes && exec 6>/dev/null
1313
1314
1315 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di=`ls -di .` &&
1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1318   as_fn_error $? "working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320   as_fn_error $? "pwd does not report name of working directory"
1321
1322
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325   ac_srcdir_defaulted=yes
1326   # Try the directory containing this script, then the parent directory.
1327   ac_confdir=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329          X"$as_myself" : 'X\(//\)[^/]' \| \
1330          X"$as_myself" : 'X\(//\)$' \| \
1331          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334             s//\1/
1335             q
1336           }
1337           /^X\(\/\/\)[^/].*/{
1338             s//\1/
1339             q
1340           }
1341           /^X\(\/\/\)$/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\).*/{
1346             s//\1/
1347             q
1348           }
1349           s/.*/./; q'`
1350   srcdir=$ac_confdir
1351   if test ! -r "$srcdir/$ac_unique_file"; then
1352     srcdir=..
1353   fi
1354 else
1355   ac_srcdir_defaulted=no
1356 fi
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1359   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1360 fi
1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1362 ac_abs_confdir=`(
1363         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1364         pwd)`
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1367   srcdir=.
1368 fi
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1372 case $srcdir in
1373 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 esac
1375 for ac_var in $ac_precious_vars; do
1376   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1377   eval ac_env_${ac_var}_value=\$${ac_var}
1378   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1379   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1380 done
1381
1382 #
1383 # Report the --help message.
1384 #
1385 if test "$ac_init_help" = "long"; then
1386   # Omit some internal or obsolete options to make the list less imposing.
1387   # This message is too long to be a string in the A/UX 3.1 sh.
1388   cat <<_ACEOF
1389 \`configure' configures GNU Libtool 2.4.6 to adapt to many kinds of systems.
1390
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1392
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE.  See below for descriptions of some of the useful variables.
1395
1396 Defaults for the options are specified in brackets.
1397
1398 Configuration:
1399   -h, --help              display this help and exit
1400       --help=short        display options specific to this package
1401       --help=recursive    display the short help of all the included packages
1402   -V, --version           display version information and exit
1403   -q, --quiet, --silent   do not print \`checking ...' messages
1404       --cache-file=FILE   cache test results in FILE [disabled]
1405   -C, --config-cache      alias for \`--cache-file=config.cache'
1406   -n, --no-create         do not create output files
1407       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1408
1409 Installation directories:
1410   --prefix=PREFIX         install architecture-independent files in PREFIX
1411                           [$ac_default_prefix]
1412   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1413                           [PREFIX]
1414
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1419
1420 For better control, use the options below.
1421
1422 Fine tuning of the installation directories:
1423   --bindir=DIR            user executables [EPREFIX/bin]
1424   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1425   --libexecdir=DIR        program executables [EPREFIX/libexec]
1426   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1427   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1428   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1429   --libdir=DIR            object code libraries [EPREFIX/lib]
1430   --includedir=DIR        C header files [PREFIX/include]
1431   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1432   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1433   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1434   --infodir=DIR           info documentation [DATAROOTDIR/info]
1435   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1436   --mandir=DIR            man documentation [DATAROOTDIR/man]
1437   --docdir=DIR            documentation root [DATAROOTDIR/doc/libtool]
1438   --htmldir=DIR           html documentation [DOCDIR]
1439   --dvidir=DIR            dvi documentation [DOCDIR]
1440   --pdfdir=DIR            pdf documentation [DOCDIR]
1441   --psdir=DIR             ps documentation [DOCDIR]
1442 _ACEOF
1443
1444   cat <<\_ACEOF
1445
1446 Program names:
1447   --program-prefix=PREFIX            prepend PREFIX to installed program names
1448   --program-suffix=SUFFIX            append SUFFIX to installed program names
1449   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1450
1451 System types:
1452   --build=BUILD     configure for building on BUILD [guessed]
1453   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1454 _ACEOF
1455 fi
1456
1457 if test -n "$ac_init_help"; then
1458   case $ac_init_help in
1459      short | recursive ) echo "Configuration of GNU Libtool 2.4.6:";;
1460    esac
1461   cat <<\_ACEOF
1462
1463 Optional Features:
1464   --disable-option-checking  ignore unrecognized --enable/--with options
1465   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1466   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1467   --enable-silent-rules   less verbose build output (undo: "make V=1")
1468   --disable-silent-rules  verbose build output (undo: "make V=0")
1469   --disable-ltdl-install  do not install libltdl
1470   --enable-dependency-tracking
1471                           do not reject slow dependency extractors
1472   --disable-dependency-tracking
1473                           speeds up one-time build
1474   --enable-shared[=PKGS]  build shared libraries [default=yes]
1475   --enable-static[=PKGS]  build static libraries [default=yes]
1476   --enable-fast-install[=PKGS]
1477                           optimize for fast installation [default=yes]
1478   --disable-libtool-lock  avoid locking (might break parallel builds)
1479   --enable-ltdl-install   install libltdl
1480
1481 Optional Packages:
1482   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1483   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1484   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1485                           both]
1486   --with-aix-soname=aix|svr4|both
1487                           shared library versioning (aka "SONAME") variant to
1488                           provide on AIX, [default=aix].
1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1490   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1491                           compiler's sysroot if not specified).
1492
1493 Some influential environment variables:
1494   M4          Location of GNU M4 1.4.6 or later. Defaults to the first program
1495               of 'm4', 'gm4', or 'gnum4' on PATH that meets Autoconf needs.
1496   CC          C compiler command
1497   CFLAGS      C compiler flags
1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1499               nonstandard directory <lib dir>
1500   LIBS        libraries to pass to the linker, e.g. -l<library>
1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1502               you have headers in a nonstandard directory <include dir>
1503   CPP         C preprocessor
1504   LT_SYS_LIBRARY_PATH
1505               User-defined run-time library search path.
1506   CXX         C++ compiler command
1507   CXXFLAGS    C++ compiler flags
1508   CXXCPP      C++ preprocessor
1509   F77         Fortran 77 compiler command
1510   FFLAGS      Fortran 77 compiler flags
1511   FC          Fortran compiler command
1512   FCFLAGS     Fortran compiler flags
1513
1514 Use these variables to override the choices made by `configure' or to help
1515 it to find libraries and programs with nonstandard names/locations.
1516
1517 Report bugs to <bug-libtool@gnu.org>.
1518 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
1519 General help using GNU software: <http://www.gnu.org/gethelp/>.
1520 _ACEOF
1521 ac_status=$?
1522 fi
1523
1524 if test "$ac_init_help" = "recursive"; then
1525   # If there are subdirs, report their specific --help.
1526   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1527     test -d "$ac_dir" ||
1528       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1529       continue
1530     ac_builddir=.
1531
1532 case "$ac_dir" in
1533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *)
1535   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1536   # A ".." for each directory in $ac_dir_suffix.
1537   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1538   case $ac_top_builddir_sub in
1539   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1541   esac ;;
1542 esac
1543 ac_abs_top_builddir=$ac_pwd
1544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1545 # for backward compatibility:
1546 ac_top_builddir=$ac_top_build_prefix
1547
1548 case $srcdir in
1549   .)  # We are building in place.
1550     ac_srcdir=.
1551     ac_top_srcdir=$ac_top_builddir_sub
1552     ac_abs_top_srcdir=$ac_pwd ;;
1553   [\\/]* | ?:[\\/]* )  # Absolute name.
1554     ac_srcdir=$srcdir$ac_dir_suffix;
1555     ac_top_srcdir=$srcdir
1556     ac_abs_top_srcdir=$srcdir ;;
1557   *) # Relative name.
1558     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1559     ac_top_srcdir=$ac_top_build_prefix$srcdir
1560     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 esac
1562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563
1564     cd "$ac_dir" || { ac_status=$?; continue; }
1565     # Check for guested configure.
1566     if test -f "$ac_srcdir/configure.gnu"; then
1567       echo &&
1568       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1569     elif test -f "$ac_srcdir/configure"; then
1570       echo &&
1571       $SHELL "$ac_srcdir/configure" --help=recursive
1572     else
1573       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574     fi || ac_status=$?
1575     cd "$ac_pwd" || { ac_status=$?; break; }
1576   done
1577 fi
1578
1579 test -n "$ac_init_help" && exit $ac_status
1580 if $ac_init_version; then
1581   cat <<\_ACEOF
1582 GNU Libtool configure 2.4.6
1583 generated by GNU Autoconf 2.69
1584
1585 Copyright (C) 2012 Free Software Foundation, Inc.
1586 This configure script is free software; the Free Software Foundation
1587 gives unlimited permission to copy, distribute and modify it.
1588 _ACEOF
1589   exit
1590 fi
1591
1592 ## ------------------------ ##
1593 ## Autoconf initialization. ##
1594 ## ------------------------ ##
1595
1596 # ac_fn_c_try_compile LINENO
1597 # --------------------------
1598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_compile ()
1600 {
1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602   rm -f conftest.$ac_objext
1603   if { { ac_try="$ac_compile"
1604 case "(($ac_try" in
1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606   *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610   (eval "$ac_compile") 2>conftest.err
1611   ac_status=$?
1612   if test -s conftest.err; then
1613     grep -v '^ *+' conftest.err >conftest.er1
1614     cat conftest.er1 >&5
1615     mv -f conftest.er1 conftest.err
1616   fi
1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618   test $ac_status = 0; } && {
1619          test -z "$ac_c_werror_flag" ||
1620          test ! -s conftest.err
1621        } && test -s conftest.$ac_objext; then :
1622   ac_retval=0
1623 else
1624   $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1626
1627         ac_retval=1
1628 fi
1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630   as_fn_set_status $ac_retval
1631
1632 } # ac_fn_c_try_compile
1633
1634 # ac_fn_c_try_cpp LINENO
1635 # ----------------------
1636 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1637 ac_fn_c_try_cpp ()
1638 {
1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640   if { { ac_try="$ac_cpp conftest.$ac_ext"
1641 case "(($ac_try" in
1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643   *) ac_try_echo=$ac_try;;
1644 esac
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1648   ac_status=$?
1649   if test -s conftest.err; then
1650     grep -v '^ *+' conftest.err >conftest.er1
1651     cat conftest.er1 >&5
1652     mv -f conftest.er1 conftest.err
1653   fi
1654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655   test $ac_status = 0; } > conftest.i && {
1656          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1657          test ! -s conftest.err
1658        }; then :
1659   ac_retval=0
1660 else
1661   $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1663
1664     ac_retval=1
1665 fi
1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667   as_fn_set_status $ac_retval
1668
1669 } # ac_fn_c_try_cpp
1670
1671 # ac_fn_c_try_link LINENO
1672 # -----------------------
1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_c_try_link ()
1675 {
1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677   rm -f conftest.$ac_objext conftest$ac_exeext
1678   if { { ac_try="$ac_link"
1679 case "(($ac_try" in
1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681   *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685   (eval "$ac_link") 2>conftest.err
1686   ac_status=$?
1687   if test -s conftest.err; then
1688     grep -v '^ *+' conftest.err >conftest.er1
1689     cat conftest.er1 >&5
1690     mv -f conftest.er1 conftest.err
1691   fi
1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693   test $ac_status = 0; } && {
1694          test -z "$ac_c_werror_flag" ||
1695          test ! -s conftest.err
1696        } && test -s conftest$ac_exeext && {
1697          test "$cross_compiling" = yes ||
1698          test -x conftest$ac_exeext
1699        }; then :
1700   ac_retval=0
1701 else
1702   $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705         ac_retval=1
1706 fi
1707   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1708   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1709   # interfere with the next link command; also delete a directory that is
1710   # left behind by Apple's compiler.  We do this before executing the actions.
1711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1713   as_fn_set_status $ac_retval
1714
1715 } # ac_fn_c_try_link
1716
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists and can be compiled using the include files in
1720 # INCLUDES, setting the cache variable VAR accordingly.
1721 ac_fn_c_check_header_compile ()
1722 {
1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727   $as_echo_n "(cached) " >&6
1728 else
1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h.  */
1731 $4
1732 #include <$2>
1733 _ACEOF
1734 if ac_fn_c_try_compile "$LINENO"; then :
1735   eval "$3=yes"
1736 else
1737   eval "$3=no"
1738 fi
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1740 fi
1741 eval ac_res=\$$3
1742                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745
1746 } # ac_fn_c_check_header_compile
1747
1748 # ac_fn_c_try_run LINENO
1749 # ----------------------
1750 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1751 # that executables *can* be run.
1752 ac_fn_c_try_run ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   if { { ac_try="$ac_link"
1756 case "(($ac_try" in
1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758   *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762   (eval "$ac_link") 2>&5
1763   ac_status=$?
1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1766   { { case "(($ac_try" in
1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768   *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772   (eval "$ac_try") 2>&5
1773   ac_status=$?
1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775   test $ac_status = 0; }; }; then :
1776   ac_retval=0
1777 else
1778   $as_echo "$as_me: program exited with status $ac_status" >&5
1779        $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1781
1782        ac_retval=$ac_status
1783 fi
1784   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1785   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786   as_fn_set_status $ac_retval
1787
1788 } # ac_fn_c_try_run
1789
1790 # ac_fn_c_check_func LINENO FUNC VAR
1791 # ----------------------------------
1792 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1793 ac_fn_c_check_func ()
1794 {
1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if eval \${$3+:} false; then :
1799   $as_echo_n "(cached) " >&6
1800 else
1801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h.  */
1803 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1805 #define $2 innocuous_$2
1806
1807 /* System header to define __stub macros and hopefully few prototypes,
1808     which can conflict with char $2 (); below.
1809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1810     <limits.h> exists even on freestanding compilers.  */
1811
1812 #ifdef __STDC__
1813 # include <limits.h>
1814 #else
1815 # include <assert.h>
1816 #endif
1817
1818 #undef $2
1819
1820 /* Override any GCC internal prototype to avoid an error.
1821    Use char because int might match the return type of a GCC
1822    builtin and then its argument prototype would still apply.  */
1823 #ifdef __cplusplus
1824 extern "C"
1825 #endif
1826 char $2 ();
1827 /* The GNU C library defines this for functions which it implements
1828     to always fail with ENOSYS.  Some functions are actually named
1829     something starting with __ and the normal name is an alias.  */
1830 #if defined __stub_$2 || defined __stub___$2
1831 choke me
1832 #endif
1833
1834 int
1835 main ()
1836 {
1837 return $2 ();
1838   ;
1839   return 0;
1840 }
1841 _ACEOF
1842 if ac_fn_c_try_link "$LINENO"; then :
1843   eval "$3=yes"
1844 else
1845   eval "$3=no"
1846 fi
1847 rm -f core conftest.err conftest.$ac_objext \
1848     conftest$ac_exeext conftest.$ac_ext
1849 fi
1850 eval ac_res=\$$3
1851                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854
1855 } # ac_fn_c_check_func
1856
1857 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1858 # ---------------------------------------------
1859 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1860 # accordingly.
1861 ac_fn_c_check_decl ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   as_decl_name=`echo $2|sed 's/ *(.*//'`
1865   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1867 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1868 if eval \${$3+:} false; then :
1869   $as_echo_n "(cached) " >&6
1870 else
1871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h.  */
1873 $4
1874 int
1875 main ()
1876 {
1877 #ifndef $as_decl_name
1878 #ifdef __cplusplus
1879   (void) $as_decl_use;
1880 #else
1881   (void) $as_decl_name;
1882 #endif
1883 #endif
1884
1885   ;
1886   return 0;
1887 }
1888 _ACEOF
1889 if ac_fn_c_try_compile "$LINENO"; then :
1890   eval "$3=yes"
1891 else
1892   eval "$3=no"
1893 fi
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 fi
1896 eval ac_res=\$$3
1897                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901 } # ac_fn_c_check_decl
1902
1903 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1904 # -------------------------------------------
1905 # Tests whether TYPE exists after having included INCLUDES, setting cache
1906 # variable VAR accordingly.
1907 ac_fn_c_check_type ()
1908 {
1909   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913   $as_echo_n "(cached) " >&6
1914 else
1915   eval "$3=no"
1916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h.  */
1918 $4
1919 int
1920 main ()
1921 {
1922 if (sizeof ($2))
1923          return 0;
1924   ;
1925   return 0;
1926 }
1927 _ACEOF
1928 if ac_fn_c_try_compile "$LINENO"; then :
1929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h.  */
1931 $4
1932 int
1933 main ()
1934 {
1935 if (sizeof (($2)))
1936             return 0;
1937   ;
1938   return 0;
1939 }
1940 _ACEOF
1941 if ac_fn_c_try_compile "$LINENO"; then :
1942
1943 else
1944   eval "$3=yes"
1945 fi
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 fi
1948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1949 fi
1950 eval ac_res=\$$3
1951                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954
1955 } # ac_fn_c_check_type
1956
1957 # ac_fn_cxx_try_compile LINENO
1958 # ----------------------------
1959 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1960 ac_fn_cxx_try_compile ()
1961 {
1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963   rm -f conftest.$ac_objext
1964   if { { ac_try="$ac_compile"
1965 case "(($ac_try" in
1966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1967   *) ac_try_echo=$ac_try;;
1968 esac
1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971   (eval "$ac_compile") 2>conftest.err
1972   ac_status=$?
1973   if test -s conftest.err; then
1974     grep -v '^ *+' conftest.err >conftest.er1
1975     cat conftest.er1 >&5
1976     mv -f conftest.er1 conftest.err
1977   fi
1978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979   test $ac_status = 0; } && {
1980          test -z "$ac_cxx_werror_flag" ||
1981          test ! -s conftest.err
1982        } && test -s conftest.$ac_objext; then :
1983   ac_retval=0
1984 else
1985   $as_echo "$as_me: failed program was:" >&5
1986 sed 's/^/| /' conftest.$ac_ext >&5
1987
1988         ac_retval=1
1989 fi
1990   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991   as_fn_set_status $ac_retval
1992
1993 } # ac_fn_cxx_try_compile
1994
1995 # ac_fn_cxx_try_cpp LINENO
1996 # ------------------------
1997 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1998 ac_fn_cxx_try_cpp ()
1999 {
2000   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001   if { { ac_try="$ac_cpp conftest.$ac_ext"
2002 case "(($ac_try" in
2003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004   *) ac_try_echo=$ac_try;;
2005 esac
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2009   ac_status=$?
2010   if test -s conftest.err; then
2011     grep -v '^ *+' conftest.err >conftest.er1
2012     cat conftest.er1 >&5
2013     mv -f conftest.er1 conftest.err
2014   fi
2015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016   test $ac_status = 0; } > conftest.i && {
2017          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2018          test ! -s conftest.err
2019        }; then :
2020   ac_retval=0
2021 else
2022   $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2024
2025     ac_retval=1
2026 fi
2027   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028   as_fn_set_status $ac_retval
2029
2030 } # ac_fn_cxx_try_cpp
2031
2032 # ac_fn_cxx_try_link LINENO
2033 # -------------------------
2034 # Try to link conftest.$ac_ext, and return whether this succeeded.
2035 ac_fn_cxx_try_link ()
2036 {
2037   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038   rm -f conftest.$ac_objext conftest$ac_exeext
2039   if { { ac_try="$ac_link"
2040 case "(($ac_try" in
2041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2042   *) ac_try_echo=$ac_try;;
2043 esac
2044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2045 $as_echo "$ac_try_echo"; } >&5
2046   (eval "$ac_link") 2>conftest.err
2047   ac_status=$?
2048   if test -s conftest.err; then
2049     grep -v '^ *+' conftest.err >conftest.er1
2050     cat conftest.er1 >&5
2051     mv -f conftest.er1 conftest.err
2052   fi
2053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2054   test $ac_status = 0; } && {
2055          test -z "$ac_cxx_werror_flag" ||
2056          test ! -s conftest.err
2057        } && test -s conftest$ac_exeext && {
2058          test "$cross_compiling" = yes ||
2059          test -x conftest$ac_exeext
2060        }; then :
2061   ac_retval=0
2062 else
2063   $as_echo "$as_me: failed program was:" >&5
2064 sed 's/^/| /' conftest.$ac_ext >&5
2065
2066         ac_retval=1
2067 fi
2068   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2069   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2070   # interfere with the next link command; also delete a directory that is
2071   # left behind by Apple's compiler.  We do this before executing the actions.
2072   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2073   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074   as_fn_set_status $ac_retval
2075
2076 } # ac_fn_cxx_try_link
2077
2078 # ac_fn_f77_try_compile LINENO
2079 # ----------------------------
2080 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2081 ac_fn_f77_try_compile ()
2082 {
2083   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084   rm -f conftest.$ac_objext
2085   if { { ac_try="$ac_compile"
2086 case "(($ac_try" in
2087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088   *) ac_try_echo=$ac_try;;
2089 esac
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092   (eval "$ac_compile") 2>conftest.err
2093   ac_status=$?
2094   if test -s conftest.err; then
2095     grep -v '^ *+' conftest.err >conftest.er1
2096     cat conftest.er1 >&5
2097     mv -f conftest.er1 conftest.err
2098   fi
2099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100   test $ac_status = 0; } && {
2101          test -z "$ac_f77_werror_flag" ||
2102          test ! -s conftest.err
2103        } && test -s conftest.$ac_objext; then :
2104   ac_retval=0
2105 else
2106   $as_echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2108
2109         ac_retval=1
2110 fi
2111   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112   as_fn_set_status $ac_retval
2113
2114 } # ac_fn_f77_try_compile
2115
2116 # ac_fn_f77_try_link LINENO
2117 # -------------------------
2118 # Try to link conftest.$ac_ext, and return whether this succeeded.
2119 ac_fn_f77_try_link ()
2120 {
2121   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122   rm -f conftest.$ac_objext conftest$ac_exeext
2123   if { { ac_try="$ac_link"
2124 case "(($ac_try" in
2125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126   *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130   (eval "$ac_link") 2>conftest.err
2131   ac_status=$?
2132   if test -s conftest.err; then
2133     grep -v '^ *+' conftest.err >conftest.er1
2134     cat conftest.er1 >&5
2135     mv -f conftest.er1 conftest.err
2136   fi
2137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138   test $ac_status = 0; } && {
2139          test -z "$ac_f77_werror_flag" ||
2140          test ! -s conftest.err
2141        } && test -s conftest$ac_exeext && {
2142          test "$cross_compiling" = yes ||
2143          test -x conftest$ac_exeext
2144        }; then :
2145   ac_retval=0
2146 else
2147   $as_echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.$ac_ext >&5
2149
2150         ac_retval=1
2151 fi
2152   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2153   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2154   # interfere with the next link command; also delete a directory that is
2155   # left behind by Apple's compiler.  We do this before executing the actions.
2156   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2157   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158   as_fn_set_status $ac_retval
2159
2160 } # ac_fn_f77_try_link
2161
2162 # ac_fn_fc_try_compile LINENO
2163 # ---------------------------
2164 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2165 ac_fn_fc_try_compile ()
2166 {
2167   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2168   rm -f conftest.$ac_objext
2169   if { { ac_try="$ac_compile"
2170 case "(($ac_try" in
2171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2172   *) ac_try_echo=$ac_try;;
2173 esac
2174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176   (eval "$ac_compile") 2>conftest.err
2177   ac_status=$?
2178   if test -s conftest.err; then
2179     grep -v '^ *+' conftest.err >conftest.er1
2180     cat conftest.er1 >&5
2181     mv -f conftest.er1 conftest.err
2182   fi
2183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2184   test $ac_status = 0; } && {
2185          test -z "$ac_fc_werror_flag" ||
2186          test ! -s conftest.err
2187        } && test -s conftest.$ac_objext; then :
2188   ac_retval=0
2189 else
2190   $as_echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.$ac_ext >&5
2192
2193         ac_retval=1
2194 fi
2195   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196   as_fn_set_status $ac_retval
2197
2198 } # ac_fn_fc_try_compile
2199
2200 # ac_fn_fc_try_link LINENO
2201 # ------------------------
2202 # Try to link conftest.$ac_ext, and return whether this succeeded.
2203 ac_fn_fc_try_link ()
2204 {
2205   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2206   rm -f conftest.$ac_objext conftest$ac_exeext
2207   if { { ac_try="$ac_link"
2208 case "(($ac_try" in
2209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210   *) ac_try_echo=$ac_try;;
2211 esac
2212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2213 $as_echo "$ac_try_echo"; } >&5
2214   (eval "$ac_link") 2>conftest.err
2215   ac_status=$?
2216   if test -s conftest.err; then
2217     grep -v '^ *+' conftest.err >conftest.er1
2218     cat conftest.er1 >&5
2219     mv -f conftest.er1 conftest.err
2220   fi
2221   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2222   test $ac_status = 0; } && {
2223          test -z "$ac_fc_werror_flag" ||
2224          test ! -s conftest.err
2225        } && test -s conftest$ac_exeext && {
2226          test "$cross_compiling" = yes ||
2227          test -x conftest$ac_exeext
2228        }; then :
2229   ac_retval=0
2230 else
2231   $as_echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.$ac_ext >&5
2233
2234         ac_retval=1
2235 fi
2236   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2237   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2238   # interfere with the next link command; also delete a directory that is
2239   # left behind by Apple's compiler.  We do this before executing the actions.
2240   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2241   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242   as_fn_set_status $ac_retval
2243
2244 } # ac_fn_fc_try_link
2245 cat >config.log <<_ACEOF
2246 This file contains any messages produced by compilers while
2247 running configure, to aid debugging if configure makes a mistake.
2248
2249 It was created by GNU Libtool $as_me 2.4.6, which was
2250 generated by GNU Autoconf 2.69.  Invocation command line was
2251
2252   $ $0 $@
2253
2254 _ACEOF
2255 exec 5>>config.log
2256 {
2257 cat <<_ASUNAME
2258 ## --------- ##
2259 ## Platform. ##
2260 ## --------- ##
2261
2262 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2263 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2264 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2265 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2266 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2267
2268 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2269 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2270
2271 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2272 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2273 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2274 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2275 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2276 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2277 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2278
2279 _ASUNAME
2280
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2283 do
2284   IFS=$as_save_IFS
2285   test -z "$as_dir" && as_dir=.
2286     $as_echo "PATH: $as_dir"
2287   done
2288 IFS=$as_save_IFS
2289
2290 } >&5
2291
2292 cat >&5 <<_ACEOF
2293
2294
2295 ## ----------- ##
2296 ## Core tests. ##
2297 ## ----------- ##
2298
2299 _ACEOF
2300
2301
2302 # Keep a trace of the command line.
2303 # Strip out --no-create and --no-recursion so they do not pile up.
2304 # Strip out --silent because we don't want to record it for future runs.
2305 # Also quote any args containing shell meta-characters.
2306 # Make two passes to allow for proper duplicate-argument suppression.
2307 ac_configure_args=
2308 ac_configure_args0=
2309 ac_configure_args1=
2310 ac_must_keep_next=false
2311 for ac_pass in 1 2
2312 do
2313   for ac_arg
2314   do
2315     case $ac_arg in
2316     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2317     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318     | -silent | --silent | --silen | --sile | --sil)
2319       continue ;;
2320     *\'*)
2321       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2322     esac
2323     case $ac_pass in
2324     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2325     2)
2326       as_fn_append ac_configure_args1 " '$ac_arg'"
2327       if test $ac_must_keep_next = true; then
2328         ac_must_keep_next=false # Got value, back to normal.
2329       else
2330         case $ac_arg in
2331           *=* | --config-cache | -C | -disable-* | --disable-* \
2332           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2333           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2334           | -with-* | --with-* | -without-* | --without-* | --x)
2335             case "$ac_configure_args0 " in
2336               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2337             esac
2338             ;;
2339           -* ) ac_must_keep_next=true ;;
2340         esac
2341       fi
2342       as_fn_append ac_configure_args " '$ac_arg'"
2343       ;;
2344     esac
2345   done
2346 done
2347 { ac_configure_args0=; unset ac_configure_args0;}
2348 { ac_configure_args1=; unset ac_configure_args1;}
2349
2350 # When interrupted or exit'd, cleanup temporary files, and complete
2351 # config.log.  We remove comments because anyway the quotes in there
2352 # would cause problems or look ugly.
2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2355 trap 'exit_status=$?
2356   # Save into config.log some information that might help in debugging.
2357   {
2358     echo
2359
2360     $as_echo "## ---------------- ##
2361 ## Cache variables. ##
2362 ## ---------------- ##"
2363     echo
2364     # The following way of writing the cache mishandles newlines in values,
2365 (
2366   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2367     eval ac_val=\$$ac_var
2368     case $ac_val in #(
2369     *${as_nl}*)
2370       case $ac_var in #(
2371       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2373       esac
2374       case $ac_var in #(
2375       _ | IFS | as_nl) ;; #(
2376       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2377       *) { eval $ac_var=; unset $ac_var;} ;;
2378       esac ;;
2379     esac
2380   done
2381   (set) 2>&1 |
2382     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2383     *${as_nl}ac_space=\ *)
2384       sed -n \
2385         "s/'\''/'\''\\\\'\'''\''/g;
2386           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2387       ;; #(
2388     *)
2389       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2390       ;;
2391     esac |
2392     sort
2393 )
2394     echo
2395
2396     $as_echo "## ----------------- ##
2397 ## Output variables. ##
2398 ## ----------------- ##"
2399     echo
2400     for ac_var in $ac_subst_vars
2401     do
2402       eval ac_val=\$$ac_var
2403       case $ac_val in
2404       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2405       esac
2406       $as_echo "$ac_var='\''$ac_val'\''"
2407     done | sort
2408     echo
2409
2410     if test -n "$ac_subst_files"; then
2411       $as_echo "## ------------------- ##
2412 ## File substitutions. ##
2413 ## ------------------- ##"
2414       echo
2415       for ac_var in $ac_subst_files
2416       do
2417         eval ac_val=\$$ac_var
2418         case $ac_val in
2419         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420         esac
2421         $as_echo "$ac_var='\''$ac_val'\''"
2422       done | sort
2423       echo
2424     fi
2425
2426     if test -s confdefs.h; then
2427       $as_echo "## ----------- ##
2428 ## confdefs.h. ##
2429 ## ----------- ##"
2430       echo
2431       cat confdefs.h
2432       echo
2433     fi
2434     test "$ac_signal" != 0 &&
2435       $as_echo "$as_me: caught signal $ac_signal"
2436     $as_echo "$as_me: exit $exit_status"
2437   } >&5
2438   rm -f core *.core core.conftest.* &&
2439     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2440     exit $exit_status
2441 ' 0
2442 for ac_signal in 1 2 13 15; do
2443   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2444 done
2445 ac_signal=0
2446
2447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2448 rm -f -r conftest* confdefs.h
2449
2450 $as_echo "/* confdefs.h */" > confdefs.h
2451
2452 # Predefined preprocessor variables.
2453
2454 cat >>confdefs.h <<_ACEOF
2455 #define PACKAGE_NAME "$PACKAGE_NAME"
2456 _ACEOF
2457
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2460 _ACEOF
2461
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2464 _ACEOF
2465
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_STRING "$PACKAGE_STRING"
2468 _ACEOF
2469
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2472 _ACEOF
2473
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_URL "$PACKAGE_URL"
2476 _ACEOF
2477
2478
2479 # Let the site file select an alternate cache file if it wants to.
2480 # Prefer an explicitly selected file to automatically selected ones.
2481 ac_site_file1=NONE
2482 ac_site_file2=NONE
2483 if test -n "$CONFIG_SITE"; then
2484   # We do not want a PATH search for config.site.
2485   case $CONFIG_SITE in #((
2486     -*)  ac_site_file1=./$CONFIG_SITE;;
2487     */*) ac_site_file1=$CONFIG_SITE;;
2488     *)   ac_site_file1=./$CONFIG_SITE;;
2489   esac
2490 elif test "x$prefix" != xNONE; then
2491   ac_site_file1=$prefix/share/config.site
2492   ac_site_file2=$prefix/etc/config.site
2493 else
2494   ac_site_file1=$ac_default_prefix/share/config.site
2495   ac_site_file2=$ac_default_prefix/etc/config.site
2496 fi
2497 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2498 do
2499   test "x$ac_site_file" = xNONE && continue
2500   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2501     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2502 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2503     sed 's/^/| /' "$ac_site_file" >&5
2504     . "$ac_site_file" \
2505       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2507 as_fn_error $? "failed to load site script $ac_site_file
2508 See \`config.log' for more details" "$LINENO" 5; }
2509   fi
2510 done
2511
2512 if test -r "$cache_file"; then
2513   # Some versions of bash will fail to source /dev/null (special files
2514   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2515   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2516     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2517 $as_echo "$as_me: loading cache $cache_file" >&6;}
2518     case $cache_file in
2519       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2520       *)                      . "./$cache_file";;
2521     esac
2522   fi
2523 else
2524   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2525 $as_echo "$as_me: creating cache $cache_file" >&6;}
2526   >$cache_file
2527 fi
2528
2529 # Check that the precious variables saved in the cache have kept the same
2530 # value.
2531 ac_cache_corrupted=false
2532 for ac_var in $ac_precious_vars; do
2533   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2534   eval ac_new_set=\$ac_env_${ac_var}_set
2535   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2536   eval ac_new_val=\$ac_env_${ac_var}_value
2537   case $ac_old_set,$ac_new_set in
2538     set,)
2539       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2540 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2541       ac_cache_corrupted=: ;;
2542     ,set)
2543       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2544 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2545       ac_cache_corrupted=: ;;
2546     ,);;
2547     *)
2548       if test "x$ac_old_val" != "x$ac_new_val"; then
2549         # differences in whitespace do not lead to failure.
2550         ac_old_val_w=`echo x $ac_old_val`
2551         ac_new_val_w=`echo x $ac_new_val`
2552         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2553           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2554 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2555           ac_cache_corrupted=:
2556         else
2557           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2558 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2559           eval $ac_var=\$ac_old_val
2560         fi
2561         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2562 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2563         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2564 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2565       fi;;
2566   esac
2567   # Pass precious variables to config.status.
2568   if test "$ac_new_set" = set; then
2569     case $ac_new_val in
2570     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2571     *) ac_arg=$ac_var=$ac_new_val ;;
2572     esac
2573     case " $ac_configure_args " in
2574       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2575       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2576     esac
2577   fi
2578 done
2579 if $ac_cache_corrupted; then
2580   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2583 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2584   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2585 fi
2586 ## -------------------- ##
2587 ## Main body of script. ##
2588 ## -------------------- ##
2589
2590 ac_ext=c
2591 ac_cpp='$CPP $CPPFLAGS'
2592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2595
2596
2597
2598
2599 # Remove this when a released Autoconf is capable of bootstrapping
2600 # Libtool without it (probably after autoconf-2.70).
2601
2602
2603 # Since we already declare these directories in this file, save those
2604 # choices, and push the results into Makefile.am to avoid declaring
2605 # them in two places making renames error prone, and where copies
2606 # might get out of sync.
2607
2608
2609
2610
2611 ac_config_headers="$ac_config_headers config.h:config-h.in"
2612
2613
2614
2615
2616
2617
2618
2619
2620 ltdl_dir=libltdl
2621
2622 ac_aux_dir=
2623 for ac_dir in build-aux "$srcdir"/build-aux; do
2624   if test -f "$ac_dir/install-sh"; then
2625     ac_aux_dir=$ac_dir
2626     ac_install_sh="$ac_aux_dir/install-sh -c"
2627     break
2628   elif test -f "$ac_dir/install.sh"; then
2629     ac_aux_dir=$ac_dir
2630     ac_install_sh="$ac_aux_dir/install.sh -c"
2631     break
2632   elif test -f "$ac_dir/shtool"; then
2633     ac_aux_dir=$ac_dir
2634     ac_install_sh="$ac_aux_dir/shtool install -c"
2635     break
2636   fi
2637 done
2638 if test -z "$ac_aux_dir"; then
2639   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2640 fi
2641
2642 # These three variables are undocumented and unsupported,
2643 # and are intended to be withdrawn in a future Autoconf release.
2644 # They can cause serious problems if a builder's source tree is in a directory
2645 # whose full name contains unusual characters.
2646 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2647 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2648 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2649
2650 aux_dir=build-aux
2651
2652 macro_dir=m4
2653
2654
2655
2656 package_revision=`$SHELL $ac_aux_dir/git-version-gen .tarball-version`
2657
2658
2659 ## ------------------------ ##
2660 ## Autotest initialisation. ##
2661 ## ------------------------ ##
2662
2663 ac_config_commands="$ac_config_commands tests/atconfig"
2664
2665 AUTOM4TE=${AUTOM4TE=autom4te}
2666
2667 AUTOTEST='$(AUTOM4TE) --language=autotest'
2668
2669
2670
2671 ## ---------------------------------------- ##
2672 ## Display a configure time version banner. ##
2673 ## ---------------------------------------- ##
2674
2675 # This is a sanity check so we can see what version is used in bug reports.
2676 $as_echo "## ------------------------- ##
2677 ## Configuring libtool 2.4.6 ##
2678 ## ------------------------- ##"
2679 echo
2680
2681
2682 ## ------------ ##
2683 ## Shell tools. ##
2684 ## ------------ ##
2685
2686
2687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU M4 that supports accurate traces" >&5
2688 $as_echo_n "checking for GNU M4 that supports accurate traces... " >&6; }
2689 if ${ac_cv_path_M4+:} false; then :
2690   $as_echo_n "(cached) " >&6
2691 else
2692   rm -f conftest.m4f
2693 ac_had_posixly_correct=${POSIXLY_CORRECT:+yes}
2694 { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}
2695 if test -z "$M4"; then
2696   ac_path_M4_found=false
2697   # Loop through the user's path and test for each of PROGNAME-LIST
2698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2700 do
2701   IFS=$as_save_IFS
2702   test -z "$as_dir" && as_dir=.
2703     for ac_prog in m4 gm4 gnum4; do
2704     for ac_exec_ext in '' $ac_executable_extensions; do
2705       ac_path_M4="$as_dir/$ac_prog$ac_exec_ext"
2706       as_fn_executable_p "$ac_path_M4" || continue
2707       # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
2708       # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
2709       # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
2710       # false positive strstr.
2711       ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
2712       ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
2713       ac_snippet=$ac_snippet${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
2714       ac_snippet=$ac_snippet${as_nl}if'else(in''dex(;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
2715       test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
2716       && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
2717       && test -f conftest.m4f \
2718       && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
2719       rm -f conftest.m4f
2720       $ac_path_M4_found && break 3
2721     done
2722   done
2723   done
2724 IFS=$as_save_IFS
2725   if test -z "$ac_cv_path_M4"; then
2726     as_fn_error $? "no acceptable m4 could be found in \$PATH.
2727 GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
2728 GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
2729 Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug." "$LINENO" 5
2730   fi
2731 else
2732   ac_cv_path_M4=$M4
2733 fi
2734
2735 fi
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
2737 $as_echo "$ac_cv_path_M4" >&6; }
2738   M4=$ac_cv_path_M4
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $ac_cv_path_M4 accepts --gnu" >&5
2740 $as_echo_n "checking whether $ac_cv_path_M4 accepts --gnu... " >&6; }
2741 if ${ac_cv_prog_gnu_m4_gnu+:} false; then :
2742   $as_echo_n "(cached) " >&6
2743 else
2744   case `$M4 --help < /dev/null 2>&1` in
2745       *--gnu*) ac_cv_prog_gnu_m4_gnu=yes ;;
2746       *) ac_cv_prog_gnu_m4_gnu=no ;;
2747     esac
2748 fi
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_gnu" >&5
2750 $as_echo "$ac_cv_prog_gnu_m4_gnu" >&6; }
2751   if test yes = "$ac_cv_prog_gnu_m4_gnu"; then
2752     M4_GNU=--gnu
2753   else
2754     M4_GNU=
2755   fi
2756
2757   if test yes = "$ac_had_posixly_correct"; then
2758     POSIXLY_CORRECT=:
2759     if test no = $ac_cv_prog_gnu_m4_gnu; then
2760       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the version of M4 that was found does not support -g" >&5
2761 $as_echo "$as_me: WARNING: the version of M4 that was found does not support -g" >&2;}
2762       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&5
2763 $as_echo "$as_me: WARNING: using it with POSIXLY_CORRECT set may cause problems" >&2;}
2764     fi
2765   fi
2766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how m4 supports trace files" >&5
2767 $as_echo_n "checking how m4 supports trace files... " >&6; }
2768 if ${ac_cv_prog_gnu_m4_debugfile+:} false; then :
2769   $as_echo_n "(cached) " >&6
2770 else
2771   case `$M4 --help < /dev/null 2>&1` in
2772       *debugfile*) ac_cv_prog_gnu_m4_debugfile=--debugfile ;;
2773       *) ac_cv_prog_gnu_m4_debugfile=--error-output ;;
2774     esac
2775 fi
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gnu_m4_debugfile" >&5
2777 $as_echo "$ac_cv_prog_gnu_m4_debugfile" >&6; }
2778   M4_DEBUGFILE=$ac_cv_prog_gnu_m4_debugfile
2779
2780
2781
2782
2783 ## ------------------------ ##
2784 ## Automake Initialisation. ##
2785 ## ------------------------ ##
2786
2787 am__api_version='1.15'
2788
2789 # Find a good install program.  We prefer a C program (faster),
2790 # so one script is as good as another.  But avoid the broken or
2791 # incompatible versions:
2792 # SysV /etc/install, /usr/sbin/install
2793 # SunOS /usr/etc/install
2794 # IRIX /sbin/install
2795 # AIX /bin/install
2796 # AmigaOS /C/install, which installs bootblocks on floppy discs
2797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2800 # OS/2's system install, which has a completely different semantic
2801 # ./install, which can be erroneously created by make from ./install.sh.
2802 # Reject install programs that cannot install multiple files.
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2804 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2805 if test -z "$INSTALL"; then
2806 if ${ac_cv_path_install+:} false; then :
2807   $as_echo_n "(cached) " >&6
2808 else
2809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 for as_dir in $PATH
2811 do
2812   IFS=$as_save_IFS
2813   test -z "$as_dir" && as_dir=.
2814     # Account for people who put trailing slashes in PATH elements.
2815 case $as_dir/ in #((
2816   ./ | .// | /[cC]/* | \
2817   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2818   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2819   /usr/ucb/* ) ;;
2820   *)
2821     # OSF1 and SCO ODT 3.0 have their own names for install.
2822     # Don't use installbsd from OSF since it installs stuff as root
2823     # by default.
2824     for ac_prog in ginstall scoinst install; do
2825       for ac_exec_ext in '' $ac_executable_extensions; do
2826         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2827           if test $ac_prog = install &&
2828             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2829             # AIX install.  It has an incompatible calling convention.
2830             :
2831           elif test $ac_prog = install &&
2832             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2833             # program-specific install script used by HP pwplus--don't use.
2834             :
2835           else
2836             rm -rf conftest.one conftest.two conftest.dir
2837             echo one > conftest.one
2838             echo two > conftest.two
2839             mkdir conftest.dir
2840             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2841               test -s conftest.one && test -s conftest.two &&
2842               test -s conftest.dir/conftest.one &&
2843               test -s conftest.dir/conftest.two
2844             then
2845               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2846               break 3
2847             fi
2848           fi
2849         fi
2850       done
2851     done
2852     ;;
2853 esac
2854
2855   done
2856 IFS=$as_save_IFS
2857
2858 rm -rf conftest.one conftest.two conftest.dir
2859
2860 fi
2861   if test "${ac_cv_path_install+set}" = set; then
2862     INSTALL=$ac_cv_path_install
2863   else
2864     # As a last resort, use the slow shell script.  Don't cache a
2865     # value for INSTALL within a source directory, because that will
2866     # break other packages using the cache if that directory is
2867     # removed, or if the value is a relative name.
2868     INSTALL=$ac_install_sh
2869   fi
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2872 $as_echo "$INSTALL" >&6; }
2873
2874 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2875 # It thinks the first close brace ends the variable substitution.
2876 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2877
2878 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2879
2880 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2881
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2883 $as_echo_n "checking whether build environment is sane... " >&6; }
2884 # Reject unsafe characters in $srcdir or the absolute working directory
2885 # name.  Accept space and tab only in the latter.
2886 am_lf='
2887 '
2888 case `pwd` in
2889   *[\\\"\#\$\&\'\`$am_lf]*)
2890     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2891 esac
2892 case $srcdir in
2893   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2894     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2895 esac
2896
2897 # Do 'set' in a subshell so we don't clobber the current shell's
2898 # arguments.  Must try -L first in case configure is actually a
2899 # symlink; some systems play weird games with the mod time of symlinks
2900 # (eg FreeBSD returns the mod time of the symlink's containing
2901 # directory).
2902 if (
2903    am_has_slept=no
2904    for am_try in 1 2; do
2905      echo "timestamp, slept: $am_has_slept" > conftest.file
2906      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2907      if test "$*" = "X"; then
2908         # -L didn't work.
2909         set X `ls -t "$srcdir/configure" conftest.file`
2910      fi
2911      if test "$*" != "X $srcdir/configure conftest.file" \
2912         && test "$*" != "X conftest.file $srcdir/configure"; then
2913
2914         # If neither matched, then we have a broken ls.  This can happen
2915         # if, for instance, CONFIG_SHELL is bash and it inherits a
2916         # broken ls alias from the environment.  This has actually
2917         # happened.  Such a system could not be considered "sane".
2918         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2919   alias in your environment" "$LINENO" 5
2920      fi
2921      if test "$2" = conftest.file || test $am_try -eq 2; then
2922        break
2923      fi
2924      # Just in case.
2925      sleep 1
2926      am_has_slept=yes
2927    done
2928    test "$2" = conftest.file
2929    )
2930 then
2931    # Ok.
2932    :
2933 else
2934    as_fn_error $? "newly created file is older than distributed files!
2935 Check your system clock" "$LINENO" 5
2936 fi
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938 $as_echo "yes" >&6; }
2939 # If we didn't sleep, we still need to ensure time stamps of config.status and
2940 # generated files are strictly newer.
2941 am_sleep_pid=
2942 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2943   ( sleep 1 ) &
2944   am_sleep_pid=$!
2945 fi
2946
2947 rm -f conftest.file
2948
2949 test "$program_prefix" != NONE &&
2950   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2951 # Use a double $ so make ignores it.
2952 test "$program_suffix" != NONE &&
2953   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2954 # Double any \ or $.
2955 # By default was `s,x,x', remove it if useless.
2956 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2957 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2958
2959 # Expand $ac_aux_dir to an absolute path.
2960 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2961
2962 if test x"${MISSING+set}" != xset; then
2963   case $am_aux_dir in
2964   *\ * | *\     *)
2965     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2966   *)
2967     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2968   esac
2969 fi
2970 # Use eval to expand $SHELL
2971 if eval "$MISSING --is-lightweight"; then
2972   am_missing_run="$MISSING "
2973 else
2974   am_missing_run=
2975   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2976 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2977 fi
2978
2979 if test x"${install_sh+set}" != xset; then
2980   case $am_aux_dir in
2981   *\ * | *\     *)
2982     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2983   *)
2984     install_sh="\${SHELL} $am_aux_dir/install-sh"
2985   esac
2986 fi
2987
2988 # Installed binaries are usually stripped using 'strip' when the user
2989 # run "make install-strip".  However 'strip' might not be the right
2990 # tool to use in cross-compilation environments, therefore Automake
2991 # will honor the 'STRIP' environment variable to overrule this program.
2992 if test "$cross_compiling" != no; then
2993   if test -n "$ac_tool_prefix"; then
2994   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}strip; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_STRIP+:} false; then :
2999   $as_echo_n "(cached) " >&6
3000 else
3001   if test -n "$STRIP"; then
3002   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3006 do
3007   IFS=$as_save_IFS
3008   test -z "$as_dir" && as_dir=.
3009     for ac_exec_ext in '' $ac_executable_extensions; do
3010   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013     break 2
3014   fi
3015 done
3016   done
3017 IFS=$as_save_IFS
3018
3019 fi
3020 fi
3021 STRIP=$ac_cv_prog_STRIP
3022 if test -n "$STRIP"; then
3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3024 $as_echo "$STRIP" >&6; }
3025 else
3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3028 fi
3029
3030
3031 fi
3032 if test -z "$ac_cv_prog_STRIP"; then
3033   ac_ct_STRIP=$STRIP
3034   # Extract the first word of "strip", so it can be a program name with args.
3035 set dummy strip; ac_word=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3039   $as_echo_n "(cached) " >&6
3040 else
3041   if test -n "$ac_ct_STRIP"; then
3042   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3046 do
3047   IFS=$as_save_IFS
3048   test -z "$as_dir" && as_dir=.
3049     for ac_exec_ext in '' $ac_executable_extensions; do
3050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3051     ac_cv_prog_ac_ct_STRIP="strip"
3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3053     break 2
3054   fi
3055 done
3056   done
3057 IFS=$as_save_IFS
3058
3059 fi
3060 fi
3061 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3062 if test -n "$ac_ct_STRIP"; then
3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3064 $as_echo "$ac_ct_STRIP" >&6; }
3065 else
3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3068 fi
3069
3070   if test "x$ac_ct_STRIP" = x; then
3071     STRIP=":"
3072   else
3073     case $cross_compiling:$ac_tool_warned in
3074 yes:)
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077 ac_tool_warned=yes ;;
3078 esac
3079     STRIP=$ac_ct_STRIP
3080   fi
3081 else
3082   STRIP="$ac_cv_prog_STRIP"
3083 fi
3084
3085 fi
3086 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3087
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3089 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3090 if test -z "$MKDIR_P"; then
3091   if ${ac_cv_path_mkdir+:} false; then :
3092   $as_echo_n "(cached) " >&6
3093 else
3094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3096 do
3097   IFS=$as_save_IFS
3098   test -z "$as_dir" && as_dir=.
3099     for ac_prog in mkdir gmkdir; do
3100          for ac_exec_ext in '' $ac_executable_extensions; do
3101            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3102            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3103              'mkdir (GNU coreutils) '* | \
3104              'mkdir (coreutils) '* | \
3105              'mkdir (fileutils) '4.1*)
3106                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3107                break 3;;
3108            esac
3109          done
3110        done
3111   done
3112 IFS=$as_save_IFS
3113
3114 fi
3115
3116   test -d ./--version && rmdir ./--version
3117   if test "${ac_cv_path_mkdir+set}" = set; then
3118     MKDIR_P="$ac_cv_path_mkdir -p"
3119   else
3120     # As a last resort, use the slow shell script.  Don't cache a
3121     # value for MKDIR_P within a source directory, because that will
3122     # break other packages using the cache if that directory is
3123     # removed, or if the value is a relative name.
3124     MKDIR_P="$ac_install_sh -d"
3125   fi
3126 fi
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3128 $as_echo "$MKDIR_P" >&6; }
3129
3130 for ac_prog in gawk mawk nawk awk
3131 do
3132   # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy $ac_prog; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_AWK+:} false; then :
3137   $as_echo_n "(cached) " >&6
3138 else
3139   if test -n "$AWK"; then
3140   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3141 else
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH
3144 do
3145   IFS=$as_save_IFS
3146   test -z "$as_dir" && as_dir=.
3147     for ac_exec_ext in '' $ac_executable_extensions; do
3148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149     ac_cv_prog_AWK="$ac_prog"
3150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151     break 2
3152   fi
3153 done
3154   done
3155 IFS=$as_save_IFS
3156
3157 fi
3158 fi
3159 AWK=$ac_cv_prog_AWK
3160 if test -n "$AWK"; then
3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3162 $as_echo "$AWK" >&6; }
3163 else
3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3166 fi
3167
3168
3169   test -n "$AWK" && break
3170 done
3171
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3173 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3174 set x ${MAKE-make}
3175 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3176 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3177   $as_echo_n "(cached) " >&6
3178 else
3179   cat >conftest.make <<\_ACEOF
3180 SHELL = /bin/sh
3181 all:
3182         @echo '@@@%%%=$(MAKE)=@@@%%%'
3183 _ACEOF
3184 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3185 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3186   *@@@%%%=?*=@@@%%%*)
3187     eval ac_cv_prog_make_${ac_make}_set=yes;;
3188   *)
3189     eval ac_cv_prog_make_${ac_make}_set=no;;
3190 esac
3191 rm -f conftest.make
3192 fi
3193 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3196   SET_MAKE=
3197 else
3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200   SET_MAKE="MAKE=${MAKE-make}"
3201 fi
3202
3203 rm -rf .tst 2>/dev/null
3204 mkdir .tst 2>/dev/null
3205 if test -d .tst; then
3206   am__leading_dot=.
3207 else
3208   am__leading_dot=_
3209 fi
3210 rmdir .tst 2>/dev/null
3211
3212 # Check whether --enable-silent-rules was given.
3213 if test "${enable_silent_rules+set}" = set; then :
3214   enableval=$enable_silent_rules;
3215 fi
3216
3217 case $enable_silent_rules in # (((
3218   yes) AM_DEFAULT_VERBOSITY=0;;
3219    no) AM_DEFAULT_VERBOSITY=1;;
3220     *) AM_DEFAULT_VERBOSITY=1;;
3221 esac
3222 am_make=${MAKE-make}
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3224 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3225 if ${am_cv_make_support_nested_variables+:} false; then :
3226   $as_echo_n "(cached) " >&6
3227 else
3228   if $as_echo 'TRUE=$(BAR$(V))
3229 BAR0=false
3230 BAR1=true
3231 V=1
3232 am__doit:
3233         @$(TRUE)
3234 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3235   am_cv_make_support_nested_variables=yes
3236 else
3237   am_cv_make_support_nested_variables=no
3238 fi
3239 fi
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3241 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3242 if test $am_cv_make_support_nested_variables = yes; then
3243     AM_V='$(V)'
3244   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3245 else
3246   AM_V=$AM_DEFAULT_VERBOSITY
3247   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3248 fi
3249 AM_BACKSLASH='\'
3250
3251 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3252   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3253   # is not polluted with repeated "-I."
3254   am__isrc=' -I$(srcdir)'
3255   # test to see if srcdir already configured
3256   if test -f $srcdir/config.status; then
3257     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3258   fi
3259 fi
3260
3261 # test whether we have cygpath
3262 if test -z "$CYGPATH_W"; then
3263   if (cygpath --version) >/dev/null 2>/dev/null; then
3264     CYGPATH_W='cygpath -w'
3265   else
3266     CYGPATH_W=echo
3267   fi
3268 fi
3269
3270
3271 # Define the identity of the package.
3272  PACKAGE='libtool'
3273  VERSION='2.4.6'
3274
3275
3276 cat >>confdefs.h <<_ACEOF
3277 #define PACKAGE "$PACKAGE"
3278 _ACEOF
3279
3280
3281 cat >>confdefs.h <<_ACEOF
3282 #define VERSION "$VERSION"
3283 _ACEOF
3284
3285 # Some tools Automake needs.
3286
3287 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3288
3289
3290 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3291
3292
3293 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3294
3295
3296 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3297
3298
3299 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3300
3301 # For better backward compatibility.  To be removed once Automake 1.9.x
3302 # dies out for good.  For more background, see:
3303 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3304 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3305 mkdir_p='$(MKDIR_P)'
3306
3307 # We need awk for the "check" target (and possibly the TAP driver).  The
3308 # system "awk" is bad on some platforms.
3309 # Always define AMTAR for backward compatibility.  Yes, it's still used
3310 # in the wild :-(  We should find a proper way to deprecate it ...
3311 AMTAR='$${TAR-tar}'
3312
3313
3314 # We'll loop over all known methods to create a tar archive until one works.
3315 _am_tools='gnutar  pax cpio none'
3316
3317 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3318
3319
3320
3321
3322
3323
3324 # POSIX will say in a future version that running "rm -f" with no argument
3325 # is OK; and we want to be able to make that assumption in our Makefile
3326 # recipes.  So use an aggressive probe to check that the usage we want is
3327 # actually supported "in the wild" to an acceptable degree.
3328 # See automake bug#10828.
3329 # To make any issue more visible, cause the running configure to be aborted
3330 # by default if the 'rm' program in use doesn't match our expectations; the
3331 # user can still override this though.
3332 if rm -f && rm -fr && rm -rf; then : OK; else
3333   cat >&2 <<'END'
3334 Oops!
3335
3336 Your 'rm' program seems unable to run without file operands specified
3337 on the command line, even when the '-f' option is present.  This is contrary
3338 to the behaviour of most rm programs out there, and not conforming with
3339 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3340
3341 Please tell bug-automake@gnu.org about your system, including the value
3342 of your $PATH and any error possibly output before this message.  This
3343 can help us improve future automake versions.
3344
3345 END
3346   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3347     echo 'Configuration will proceed anyway, since you have set the' >&2
3348     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3349     echo >&2
3350   else
3351     cat >&2 <<'END'
3352 Aborting the configuration process, to ensure you take notice of the issue.
3353
3354 You can download and install GNU coreutils to get an 'rm' implementation
3355 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3356
3357 If you want to complete the configuration process using your problematic
3358 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3359 to "yes", and re-run configure.
3360
3361 END
3362     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3363   fi
3364 fi
3365
3366 # Check whether --enable-silent-rules was given.
3367 if test "${enable_silent_rules+set}" = set; then :
3368   enableval=$enable_silent_rules;
3369 fi
3370
3371 case $enable_silent_rules in # (((
3372   yes) AM_DEFAULT_VERBOSITY=0;;
3373    no) AM_DEFAULT_VERBOSITY=1;;
3374     *) AM_DEFAULT_VERBOSITY=0;;
3375 esac
3376 am_make=${MAKE-make}
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3378 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3379 if ${am_cv_make_support_nested_variables+:} false; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   if $as_echo 'TRUE=$(BAR$(V))
3383 BAR0=false
3384 BAR1=true
3385 V=1
3386 am__doit:
3387         @$(TRUE)
3388 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3389   am_cv_make_support_nested_variables=yes
3390 else
3391   am_cv_make_support_nested_variables=no
3392 fi
3393 fi
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3395 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3396 if test $am_cv_make_support_nested_variables = yes; then
3397     AM_V='$(V)'
3398   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3399 else
3400   AM_V=$AM_DEFAULT_VERBOSITY
3401   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3402 fi
3403 AM_BACKSLASH='\'
3404
3405
3406
3407 ## ------------------------- ##
3408 ## Autobuild initialisation. ##
3409 ## ------------------------- ##
3410
3411 # You can set autobuild_mode at configure time to specify a "unique"
3412 # string for this build.
3413 : ${autobuild_mode=default}
3414 AB_VERSION='2.4.6'
3415 # Make sure we can run config.sub.
3416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3417   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3418
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3420 $as_echo_n "checking build system type... " >&6; }
3421 if ${ac_cv_build+:} false; then :
3422   $as_echo_n "(cached) " >&6
3423 else
3424   ac_build_alias=$build_alias
3425 test "x$ac_build_alias" = x &&
3426   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3427 test "x$ac_build_alias" = x &&
3428   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3429 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3430   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3431
3432 fi
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3434 $as_echo "$ac_cv_build" >&6; }
3435 case $ac_cv_build in
3436 *-*-*) ;;
3437 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3438 esac
3439 build=$ac_cv_build
3440 ac_save_IFS=$IFS; IFS='-'
3441 set x $ac_cv_build
3442 shift
3443 build_cpu=$1
3444 build_vendor=$2
3445 shift; shift
3446 # Remember, the first character of IFS is used to create $*,
3447 # except with old shells:
3448 build_os=$*
3449 IFS=$ac_save_IFS
3450 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3451
3452
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3454 $as_echo_n "checking host system type... " >&6; }
3455 if ${ac_cv_host+:} false; then :
3456   $as_echo_n "(cached) " >&6
3457 else
3458   if test "x$host_alias" = x; then
3459   ac_cv_host=$ac_cv_build
3460 else
3461   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3462     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3463 fi
3464
3465 fi
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3467 $as_echo "$ac_cv_host" >&6; }
3468 case $ac_cv_host in
3469 *-*-*) ;;
3470 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3471 esac
3472 host=$ac_cv_host
3473 ac_save_IFS=$IFS; IFS='-'
3474 set x $ac_cv_host
3475 shift
3476 host_cpu=$1
3477 host_vendor=$2
3478 shift; shift
3479 # Remember, the first character of IFS is used to create $*,
3480 # except with old shells:
3481 host_os=$*
3482 IFS=$ac_save_IFS
3483 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3484
3485
3486
3487
3488
3489
3490   if test -z "$AB_PACKAGE"; then
3491     AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
3492   fi
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
3494 $as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
3495
3496   if test -z "$AB_VERSION"; then
3497     AB_VERSION=${PACKAGE_VERSION:-$VERSION}
3498   fi
3499   { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
3500 $as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
3501
3502   hostname=`hostname`
3503   if test "$hostname"; then
3504     { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
3505 $as_echo "$as_me: autobuild hostname... $hostname" >&6;}
3506   fi
3507
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild mode... $autobuild_mode" >&5
3509 $as_echo "$as_me: autobuild mode... $autobuild_mode" >&6;}
3510
3511   date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
3512   if test "$?" != 0; then
3513     date=`date`
3514   fi
3515   if test "$date"; then
3516     { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
3517 $as_echo "$as_me: autobuild timestamp... $date" >&6;}
3518   fi
3519
3520
3521
3522 CONFIG_STATUS_DEPENDENCIES='$(srcdir)/.version'
3523
3524
3525
3526 ## ------------------------------- ##
3527 ## Libtool specific configuration. ##
3528 ## ------------------------------- ##
3529
3530 aclocaldir="\$(datadir)/aclocal"
3531
3532 pkgdatadir="\$(datadir)/$PACKAGE"
3533
3534
3535 # Check whether --enable-ltdl-install was given.
3536 if test "${enable_ltdl_install+set}" = set; then :
3537   enableval=$enable_ltdl_install;
3538 fi
3539
3540 if test set != "${enable_ltdl_install+set}"; then
3541   enable_ltdl_install=yes
3542 fi
3543
3544 # The list of scripts required to build libltdl, and which need to be
3545 # installed by libtoolize --ltdl, and consequently need to be placed in
3546 # $pkgdatadir by our make install rule.
3547 pkgaux_scripts="compile config.guess config.sub depcomp install-sh missing"
3548
3549
3550
3551 ## ---------------- ##
3552 ## compiler checks. ##
3553 ## ---------------- ##
3554
3555 # Need to be sure that we have a working C compiler, otherwise even with
3556 # a good C compiler: if the following C++ tests fail, the whole libtool
3557 # build fails!
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_CC+:} false; then :
3569   $as_echo_n "(cached) " >&6
3570 else
3571   if test -n "$CC"; then
3572   ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577   IFS=$as_save_IFS
3578   test -z "$as_dir" && as_dir=.
3579     for ac_exec_ext in '' $ac_executable_extensions; do
3580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583     break 2
3584   fi
3585 done
3586   done
3587 IFS=$as_save_IFS
3588
3589 fi
3590 fi
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 fi
3599
3600
3601 fi
3602 if test -z "$ac_cv_prog_CC"; then
3603   ac_ct_CC=$CC
3604   # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3609   $as_echo_n "(cached) " >&6
3610 else
3611   if test -n "$ac_ct_CC"; then
3612   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3616 do
3617   IFS=$as_save_IFS
3618   test -z "$as_dir" && as_dir=.
3619     for ac_exec_ext in '' $ac_executable_extensions; do
3620   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3621     ac_cv_prog_ac_ct_CC="gcc"
3622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623     break 2
3624   fi
3625 done
3626   done
3627 IFS=$as_save_IFS
3628
3629 fi
3630 fi
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 fi
3639
3640   if test "x$ac_ct_CC" = x; then
3641     CC=""
3642   else
3643     case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649     CC=$ac_ct_CC
3650   fi
3651 else
3652   CC="$ac_cv_prog_CC"
3653 fi
3654
3655 if test -z "$CC"; then
3656           if test -n "$ac_tool_prefix"; then
3657     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_CC+:} false; then :
3662   $as_echo_n "(cached) " >&6
3663 else
3664   if test -n "$CC"; then
3665   ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3669 do
3670   IFS=$as_save_IFS
3671   test -z "$as_dir" && as_dir=.
3672     for ac_exec_ext in '' $ac_executable_extensions; do
3673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674     ac_cv_prog_CC="${ac_tool_prefix}cc"
3675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676     break 2
3677   fi
3678 done
3679   done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694   fi
3695 fi
3696 if test -z "$CC"; then
3697   # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false; then :
3702   $as_echo_n "(cached) " >&6
3703 else
3704   if test -n "$CC"; then
3705   ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707   ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711   IFS=$as_save_IFS
3712   test -z "$as_dir" && as_dir=.
3713     for ac_exec_ext in '' $ac_executable_extensions; do
3714   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3715     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716        ac_prog_rejected=yes
3717        continue
3718      fi
3719     ac_cv_prog_CC="cc"
3720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721     break 2
3722   fi
3723 done
3724   done
3725 IFS=$as_save_IFS
3726
3727 if test $ac_prog_rejected = yes; then
3728   # We found a bogon in the path, so make sure we never use it.
3729   set dummy $ac_cv_prog_CC
3730   shift
3731   if test $# != 0; then
3732     # We chose a different compiler from the bogus one.
3733     # However, it has the same basename, so the bogon will be chosen
3734     # first if we set CC to just the basename; use the full file name.
3735     shift
3736     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737   fi
3738 fi
3739 fi
3740 fi
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 fi
3749
3750
3751 fi
3752 if test -z "$CC"; then
3753   if test -n "$ac_tool_prefix"; then
3754   for ac_prog in cl.exe
3755   do
3756     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false; then :
3761   $as_echo_n "(cached) " >&6
3762 else
3763   if test -n "$CC"; then
3764   ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769   IFS=$as_save_IFS
3770   test -z "$as_dir" && as_dir=.
3771     for ac_exec_ext in '' $ac_executable_extensions; do
3772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775     break 2
3776   fi
3777 done
3778   done
3779 IFS=$as_save_IFS
3780
3781 fi
3782 fi
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3790 fi
3791
3792
3793     test -n "$CC" && break
3794   done
3795 fi
3796 if test -z "$CC"; then
3797   ac_ct_CC=$CC
3798   for ac_prog in cl.exe
3799 do
3800   # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3805   $as_echo_n "(cached) " >&6
3806 else
3807   if test -n "$ac_ct_CC"; then
3808   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3812 do
3813   IFS=$as_save_IFS
3814   test -z "$as_dir" && as_dir=.
3815     for ac_exec_ext in '' $ac_executable_extensions; do
3816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3817     ac_cv_prog_ac_ct_CC="$ac_prog"
3818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819     break 2
3820   fi
3821 done
3822   done
3823 IFS=$as_save_IFS
3824
3825 fi
3826 fi
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 fi
3835
3836
3837   test -n "$ac_ct_CC" && break
3838 done
3839
3840   if test "x$ac_ct_CC" = x; then
3841     CC=""
3842   else
3843     case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849     CC=$ac_ct_CC
3850   fi
3851 fi
3852
3853 fi
3854
3855
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details" "$LINENO" 5; }
3860
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866   { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869   *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874   ac_status=$?
3875   if test -s conftest.err; then
3876     sed '10a\
3877 ... rest of stderr output deleted ...
3878          10q' conftest.err >conftest.er1
3879     cat conftest.er1 >&5
3880   fi
3881   rm -f conftest.er1 conftest.err
3882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883   test $ac_status = 0; }
3884 done
3885
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h.  */
3888
3889 int
3890 main ()
3891 {
3892
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3901 # of exeext.
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3903 $as_echo_n "checking whether the C compiler works... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3905
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3908
3909 ac_rmfiles=
3910 for ac_file in $ac_files
3911 do
3912   case $ac_file in
3913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3915   esac
3916 done
3917 rm -f $ac_rmfiles
3918
3919 if { { ac_try="$ac_link_default"
3920 case "(($ac_try" in
3921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922   *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926   (eval "$ac_link_default") 2>&5
3927   ac_status=$?
3928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929   test $ac_status = 0; }; then :
3930   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3934 # Autoconf.
3935 for ac_file in $ac_files ''
3936 do
3937   test -f "$ac_file" || continue
3938   case $ac_file in
3939     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3940         ;;
3941     [ab].out )
3942         # We found the default executable, but exeext='' is most
3943         # certainly right.
3944         break;;
3945     *.* )
3946         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3947         then :; else
3948            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949         fi
3950         # We set ac_cv_exeext here because the later test for it is not
3951         # safe: cross compilers may not add the suffix if given an `-o'
3952         # argument, so we may need to know it at that point already.
3953         # Even if this section looks crufty: it has the advantage of
3954         # actually working.
3955         break;;
3956     * )
3957         break;;
3958   esac
3959 done
3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
3961
3962 else
3963   ac_file=''
3964 fi
3965 if test -z "$ac_file"; then :
3966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3970
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error 77 "C compiler cannot create executables
3974 See \`config.log' for more details" "$LINENO" 5; }
3975 else
3976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3980 $as_echo_n "checking for C compiler default output file name... " >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 ac_exeext=$ac_cv_exeext
3984
3985 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3986 ac_clean_files=$ac_clean_files_save
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3988 $as_echo_n "checking for suffix of executables... " >&6; }
3989 if { { ac_try="$ac_link"
3990 case "(($ac_try" in
3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992   *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996   (eval "$ac_link") 2>&5
3997   ac_status=$?
3998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999   test $ac_status = 0; }; then :
4000   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4001 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4002 # work properly (i.e., refer to `conftest.exe'), while it won't with
4003 # `rm'.
4004 for ac_file in conftest.exe conftest conftest.*; do
4005   test -f "$ac_file" || continue
4006   case $ac_file in
4007     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4008     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009           break;;
4010     * ) break;;
4011   esac
4012 done
4013 else
4014   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4017 See \`config.log' for more details" "$LINENO" 5; }
4018 fi
4019 rm -f conftest conftest$ac_cv_exeext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4021 $as_echo "$ac_cv_exeext" >&6; }
4022
4023 rm -f conftest.$ac_ext
4024 EXEEXT=$ac_cv_exeext
4025 ac_exeext=$EXEEXT
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h.  */
4028 #include <stdio.h>
4029 int
4030 main ()
4031 {
4032 FILE *f = fopen ("conftest.out", "w");
4033  return ferror (f) || fclose (f) != 0;
4034
4035   ;
4036   return 0;
4037 }
4038 _ACEOF
4039 ac_clean_files="$ac_clean_files conftest.out"
4040 # Check that the compiler produces executables we can run.  If not, either
4041 # the compiler is broken, or we cross compile.
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4043 $as_echo_n "checking whether we are cross compiling... " >&6; }
4044 if test "$cross_compiling" != yes; then
4045   { { ac_try="$ac_link"
4046 case "(($ac_try" in
4047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048   *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052   (eval "$ac_link") 2>&5
4053   ac_status=$?
4054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055   test $ac_status = 0; }
4056   if { ac_try='./conftest$ac_cv_exeext'
4057   { { case "(($ac_try" in
4058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059   *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063   (eval "$ac_try") 2>&5
4064   ac_status=$?
4065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066   test $ac_status = 0; }; }; then
4067     cross_compiling=no
4068   else
4069     if test "$cross_compiling" = maybe; then
4070         cross_compiling=yes
4071     else
4072         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $? "cannot run C compiled programs.
4075 If you meant to cross compile, use \`--host'.
4076 See \`config.log' for more details" "$LINENO" 5; }
4077     fi
4078   fi
4079 fi
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4081 $as_echo "$cross_compiling" >&6; }
4082
4083 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4084 ac_clean_files=$ac_clean_files_save
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if ${ac_cv_objext+:} false; then :
4088   $as_echo_n "(cached) " >&6
4089 else
4090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h.  */
4092
4093 int
4094 main ()
4095 {
4096
4097   ;
4098   return 0;
4099 }
4100 _ACEOF
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try="$ac_compile"
4103 case "(($ac_try" in
4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105   *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109   (eval "$ac_compile") 2>&5
4110   ac_status=$?
4111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112   test $ac_status = 0; }; then :
4113   for ac_file in conftest.o conftest.obj conftest.*; do
4114   test -f "$ac_file" || continue;
4115   case $ac_file in
4116     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4118        break;;
4119   esac
4120 done
4121 else
4122   $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4124
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot compute suffix of object files: cannot compile
4128 See \`config.log' for more details" "$LINENO" 5; }
4129 fi
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4131 fi
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4135 ac_objext=$OBJEXT
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if ${ac_cv_c_compiler_gnu+:} false; then :
4139   $as_echo_n "(cached) " >&6
4140 else
4141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h.  */
4143
4144 int
4145 main ()
4146 {
4147 #ifndef __GNUC__
4148        choke me
4149 #endif
4150
4151   ;
4152   return 0;
4153 }
4154 _ACEOF
4155 if ac_fn_c_try_compile "$LINENO"; then :
4156   ac_compiler_gnu=yes
4157 else
4158   ac_compiler_gnu=no
4159 fi
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4162
4163 fi
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4167   GCC=yes
4168 else
4169   GCC=
4170 fi
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if ${ac_cv_prog_cc_g+:} false; then :
4176   $as_echo_n "(cached) " >&6
4177 else
4178   ac_save_c_werror_flag=$ac_c_werror_flag
4179    ac_c_werror_flag=yes
4180    ac_cv_prog_cc_g=no
4181    CFLAGS="-g"
4182    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h.  */
4184
4185 int
4186 main ()
4187 {
4188
4189   ;
4190   return 0;
4191 }
4192 _ACEOF
4193 if ac_fn_c_try_compile "$LINENO"; then :
4194   ac_cv_prog_cc_g=yes
4195 else
4196   CFLAGS=""
4197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h.  */
4199
4200 int
4201 main ()
4202 {
4203
4204   ;
4205   return 0;
4206 }
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209
4210 else
4211   ac_c_werror_flag=$ac_save_c_werror_flag
4212          CFLAGS="-g"
4213          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h.  */
4215
4216 int
4217 main ()
4218 {
4219
4220   ;
4221   return 0;
4222 }
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4225   ac_cv_prog_cc_g=yes
4226 fi
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 fi
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232    ac_c_werror_flag=$ac_save_c_werror_flag
4233 fi
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237   CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239   if test "$GCC" = yes; then
4240     CFLAGS="-g -O2"
4241   else
4242     CFLAGS="-g"
4243   fi
4244 else
4245   if test "$GCC" = yes; then
4246     CFLAGS="-O2"
4247   else
4248     CFLAGS=
4249   fi
4250 fi
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if ${ac_cv_prog_cc_c89+:} false; then :
4254   $as_echo_n "(cached) " >&6
4255 else
4256   ac_cv_prog_cc_c89=no
4257 ac_save_CC=$CC
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h.  */
4260 #include <stdarg.h>
4261 #include <stdio.h>
4262 struct stat;
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4267      char **p;
4268      int i;
4269 {
4270   return p[i];
4271 }
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4273 {
4274   char *s;
4275   va_list v;
4276   va_start (v,p);
4277   s = g (p, va_arg (v,int));
4278   va_end (v);
4279   return s;
4280 }
4281
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4283    function prototypes and stuff, but not '\xHH' hex character constants.
4284    These don't provoke an error unfortunately, instead are silently treated
4285    as 'x'.  The following induces an error, until -std is added to get
4286    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4287    array size at least.  It's necessary to write '\x00'==0 to get something
4288    that's true only with -std.  */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292    inside strings and character constants.  */
4293 #define FOO(x) 'x'
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4300 int argc;
4301 char **argv;
4302 int
4303 main ()
4304 {
4305 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4306   ;
4307   return 0;
4308 }
4309 _ACEOF
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 do
4313   CC="$ac_save_CC $ac_arg"
4314   if ac_fn_c_try_compile "$LINENO"; then :
4315   ac_cv_prog_cc_c89=$ac_arg
4316 fi
4317 rm -f core conftest.err conftest.$ac_objext
4318   test "x$ac_cv_prog_cc_c89" != "xno" && break
4319 done
4320 rm -f conftest.$ac_ext
4321 CC=$ac_save_CC
4322
4323 fi
4324 # AC_CACHE_VAL
4325 case "x$ac_cv_prog_cc_c89" in
4326   x)
4327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4329   xno)
4330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4332   *)
4333     CC="$CC $ac_cv_prog_cc_c89"
4334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4336 esac
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4338
4339 fi
4340
4341 ac_ext=c
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346
4347 ac_ext=c
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4353 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4354 if ${am_cv_prog_cc_c_o+:} false; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h.  */
4359
4360 int
4361 main ()
4362 {
4363
4364   ;
4365   return 0;
4366 }
4367 _ACEOF
4368   # Make sure it works both with $CC and with simple cc.
4369   # Following AC_PROG_CC_C_O, we do the test twice because some
4370   # compilers refuse to overwrite an existing .o file with -o,
4371   # though they will create one.
4372   am_cv_prog_cc_c_o=yes
4373   for am_i in 1 2; do
4374     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4375    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4376    ac_status=$?
4377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378    (exit $ac_status); } \
4379          && test -f conftest2.$ac_objext; then
4380       : OK
4381     else
4382       am_cv_prog_cc_c_o=no
4383       break
4384     fi
4385   done
4386   rm -f core conftest*
4387   unset am_i
4388 fi
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4390 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4391 if test "$am_cv_prog_cc_c_o" != yes; then
4392    # Losing compiler, so override with the script.
4393    # FIXME: It is wrong to rewrite CC.
4394    # But if we don't then we get into trouble of one sort or another.
4395    # A longer-term fix would be to have automake use am__CC in this case,
4396    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4397    CC="$am_aux_dir/compile $CC"
4398 fi
4399 ac_ext=c
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404
4405 DEPDIR="${am__leading_dot}deps"
4406
4407 ac_config_commands="$ac_config_commands depfiles"
4408
4409
4410 am_make=${MAKE-make}
4411 cat > confinc << 'END'
4412 am__doit:
4413         @echo this is the am__doit target
4414 .PHONY: am__doit
4415 END
4416 # If we don't find an include directive, just comment out the code.
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4418 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4419 am__include="#"
4420 am__quote=
4421 _am_result=none
4422 # First try GNU make style include.
4423 echo "include confinc" > confmf
4424 # Ignore all kinds of additional output from 'make'.
4425 case `$am_make -s -f confmf 2> /dev/null` in #(
4426 *the\ am__doit\ target*)
4427   am__include=include
4428   am__quote=
4429   _am_result=GNU
4430   ;;
4431 esac
4432 # Now try BSD make style include.
4433 if test "$am__include" = "#"; then
4434    echo '.include "confinc"' > confmf
4435    case `$am_make -s -f confmf 2> /dev/null` in #(
4436    *the\ am__doit\ target*)
4437      am__include=.include
4438      am__quote="\""
4439      _am_result=BSD
4440      ;;
4441    esac
4442 fi
4443
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4446 $as_echo "$_am_result" >&6; }
4447 rm -f confinc confmf
4448
4449 # Check whether --enable-dependency-tracking was given.
4450 if test "${enable_dependency_tracking+set}" = set; then :
4451   enableval=$enable_dependency_tracking;
4452 fi
4453
4454 if test "x$enable_dependency_tracking" != xno; then
4455   am_depcomp="$ac_aux_dir/depcomp"
4456   AMDEPBACKSLASH='\'
4457   am__nodep='_no'
4458 fi
4459  if test "x$enable_dependency_tracking" != xno; then
4460   AMDEP_TRUE=
4461   AMDEP_FALSE='#'
4462 else
4463   AMDEP_TRUE='#'
4464   AMDEP_FALSE=
4465 fi
4466
4467
4468
4469 depcc="$CC"   am_compiler_list=
4470
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4472 $as_echo_n "checking dependency style of $depcc... " >&6; }
4473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4474   $as_echo_n "(cached) " >&6
4475 else
4476   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4477   # We make a subdir and do the tests there.  Otherwise we can end up
4478   # making bogus files that we don't know about and never remove.  For
4479   # instance it was reported that on HP-UX the gcc test will end up
4480   # making a dummy file named 'D' -- because '-MD' means "put the output
4481   # in D".
4482   rm -rf conftest.dir
4483   mkdir conftest.dir
4484   # Copy depcomp to subdir because otherwise we won't find it if we're
4485   # using a relative directory.
4486   cp "$am_depcomp" conftest.dir
4487   cd conftest.dir
4488   # We will build objects and dependencies in a subdirectory because
4489   # it helps to detect inapplicable dependency modes.  For instance
4490   # both Tru64's cc and ICC support -MD to output dependencies as a
4491   # side effect of compilation, but ICC will put the dependencies in
4492   # the current directory while Tru64 will put them in the object
4493   # directory.
4494   mkdir sub
4495
4496   am_cv_CC_dependencies_compiler_type=none
4497   if test "$am_compiler_list" = ""; then
4498      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4499   fi
4500   am__universal=false
4501   case " $depcc " in #(
4502      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4503      esac
4504
4505   for depmode in $am_compiler_list; do
4506     # Setup a source with many dependencies, because some compilers
4507     # like to wrap large dependency lists on column 80 (with \), and
4508     # we should not choose a depcomp mode which is confused by this.
4509     #
4510     # We need to recreate these files for each test, as the compiler may
4511     # overwrite some of them when testing with obscure command lines.
4512     # This happens at least with the AIX C compiler.
4513     : > sub/conftest.c
4514     for i in 1 2 3 4 5 6; do
4515       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4516       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4517       # Solaris 10 /bin/sh.
4518       echo '/* dummy */' > sub/conftst$i.h
4519     done
4520     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4521
4522     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4523     # mode.  It turns out that the SunPro C++ compiler does not properly
4524     # handle '-M -o', and we need to detect this.  Also, some Intel
4525     # versions had trouble with output in subdirs.
4526     am__obj=sub/conftest.${OBJEXT-o}
4527     am__minus_obj="-o $am__obj"
4528     case $depmode in
4529     gcc)
4530       # This depmode causes a compiler race in universal mode.
4531       test "$am__universal" = false || continue
4532       ;;
4533     nosideeffect)
4534       # After this tag, mechanisms are not by side-effect, so they'll
4535       # only be used when explicitly requested.
4536       if test "x$enable_dependency_tracking" = xyes; then
4537         continue
4538       else
4539         break
4540       fi
4541       ;;
4542     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4543       # This compiler won't grok '-c -o', but also, the minuso test has
4544       # not run yet.  These depmodes are late enough in the game, and
4545       # so weak that their functioning should not be impacted.
4546       am__obj=conftest.${OBJEXT-o}
4547       am__minus_obj=
4548       ;;
4549     none) break ;;
4550     esac
4551     if depmode=$depmode \
4552        source=sub/conftest.c object=$am__obj \
4553        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4554        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4555          >/dev/null 2>conftest.err &&
4556        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4557        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4558        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4559        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4560       # icc doesn't choke on unknown options, it will just issue warnings
4561       # or remarks (even with -Werror).  So we grep stderr for any message
4562       # that says an option was ignored or not supported.
4563       # When given -MP, icc 7.0 and 7.1 complain thusly:
4564       #   icc: Command line warning: ignoring option '-M'; no argument required
4565       # The diagnosis changed in icc 8.0:
4566       #   icc: Command line remark: option '-MP' not supported
4567       if (grep 'ignoring option' conftest.err ||
4568           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4569         am_cv_CC_dependencies_compiler_type=$depmode
4570         break
4571       fi
4572     fi
4573   done
4574
4575   cd ..
4576   rm -rf conftest.dir
4577 else
4578   am_cv_CC_dependencies_compiler_type=none
4579 fi
4580
4581 fi
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4585
4586  if
4587   test "x$enable_dependency_tracking" != xno \
4588   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4589   am__fastdepCC_TRUE=
4590   am__fastdepCC_FALSE='#'
4591 else
4592   am__fastdepCC_TRUE='#'
4593   am__fastdepCC_FALSE=
4594 fi
4595
4596
4597
4598 ac_ext=c
4599 ac_cpp='$CPP $CPPFLAGS'
4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4605 # On Suns, sometimes $CPP names a directory.
4606 if test -n "$CPP" && test -d "$CPP"; then
4607   CPP=
4608 fi
4609 if test -z "$CPP"; then
4610   if ${ac_cv_prog_CPP+:} false; then :
4611   $as_echo_n "(cached) " >&6
4612 else
4613       # Double quotes because CPP needs to be expanded
4614     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4615     do
4616       ac_preproc_ok=false
4617 for ac_c_preproc_warn_flag in '' yes
4618 do
4619   # Use a header file that comes with gcc, so configuring glibc
4620   # with a fresh cross-compiler works.
4621   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622   # <limits.h> exists even on freestanding compilers.
4623   # On the NeXT, cc -E runs the code through the compiler's parser,
4624   # not just through cpp. "Syntax error" is here to catch this case.
4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h.  */
4627 #ifdef __STDC__
4628 # include <limits.h>
4629 #else
4630 # include <assert.h>
4631 #endif
4632                      Syntax error
4633 _ACEOF
4634 if ac_fn_c_try_cpp "$LINENO"; then :
4635
4636 else
4637   # Broken: fails on valid input.
4638 continue
4639 fi
4640 rm -f conftest.err conftest.i conftest.$ac_ext
4641
4642   # OK, works on sane cases.  Now check whether nonexistent headers
4643   # can be detected and how.
4644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h.  */
4646 #include <ac_nonexistent.h>
4647 _ACEOF
4648 if ac_fn_c_try_cpp "$LINENO"; then :
4649   # Broken: success on invalid input.
4650 continue
4651 else
4652   # Passes both tests.
4653 ac_preproc_ok=:
4654 break
4655 fi
4656 rm -f conftest.err conftest.i conftest.$ac_ext
4657
4658 done
4659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4660 rm -f conftest.i conftest.err conftest.$ac_ext
4661 if $ac_preproc_ok; then :
4662   break
4663 fi
4664
4665     done
4666     ac_cv_prog_CPP=$CPP
4667
4668 fi
4669   CPP=$ac_cv_prog_CPP
4670 else
4671   ac_cv_prog_CPP=$CPP
4672 fi
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4674 $as_echo "$CPP" >&6; }
4675 ac_preproc_ok=false
4676 for ac_c_preproc_warn_flag in '' yes
4677 do
4678   # Use a header file that comes with gcc, so configuring glibc
4679   # with a fresh cross-compiler works.
4680   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4681   # <limits.h> exists even on freestanding compilers.
4682   # On the NeXT, cc -E runs the code through the compiler's parser,
4683   # not just through cpp. "Syntax error" is here to catch this case.
4684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h.  */
4686 #ifdef __STDC__
4687 # include <limits.h>
4688 #else
4689 # include <assert.h>
4690 #endif
4691                      Syntax error
4692 _ACEOF
4693 if ac_fn_c_try_cpp "$LINENO"; then :
4694
4695 else
4696   # Broken: fails on valid input.
4697 continue
4698 fi
4699 rm -f conftest.err conftest.i conftest.$ac_ext
4700
4701   # OK, works on sane cases.  Now check whether nonexistent headers
4702   # can be detected and how.
4703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h.  */
4705 #include <ac_nonexistent.h>
4706 _ACEOF
4707 if ac_fn_c_try_cpp "$LINENO"; then :
4708   # Broken: success on invalid input.
4709 continue
4710 else
4711   # Passes both tests.
4712 ac_preproc_ok=:
4713 break
4714 fi
4715 rm -f conftest.err conftest.i conftest.$ac_ext
4716
4717 done
4718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4719 rm -f conftest.i conftest.err conftest.$ac_ext
4720 if $ac_preproc_ok; then :
4721
4722 else
4723   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4726 See \`config.log' for more details" "$LINENO" 5; }
4727 fi
4728
4729 ac_ext=c
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
4735
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4737 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4738 if ${ac_cv_path_GREP+:} false; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   if test -z "$GREP"; then
4742   ac_path_GREP_found=false
4743   # Loop through the user's path and test for each of PROGNAME-LIST
4744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4746 do
4747   IFS=$as_save_IFS
4748   test -z "$as_dir" && as_dir=.
4749     for ac_prog in grep ggrep; do
4750     for ac_exec_ext in '' $ac_executable_extensions; do
4751       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4752       as_fn_executable_p "$ac_path_GREP" || continue
4753 # Check for GNU ac_path_GREP and select it if it is found.
4754   # Check for GNU $ac_path_GREP
4755 case `"$ac_path_GREP" --version 2>&1` in
4756 *GNU*)
4757   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4758 *)
4759   ac_count=0
4760   $as_echo_n 0123456789 >"conftest.in"
4761   while :
4762   do
4763     cat "conftest.in" "conftest.in" >"conftest.tmp"
4764     mv "conftest.tmp" "conftest.in"
4765     cp "conftest.in" "conftest.nl"
4766     $as_echo 'GREP' >> "conftest.nl"
4767     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4768     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4769     as_fn_arith $ac_count + 1 && ac_count=$as_val
4770     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4771       # Best one so far, save it but keep looking for a better one
4772       ac_cv_path_GREP="$ac_path_GREP"
4773       ac_path_GREP_max=$ac_count
4774     fi
4775     # 10*(2^10) chars as input seems more than enough
4776     test $ac_count -gt 10 && break
4777   done
4778   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4779 esac
4780
4781       $ac_path_GREP_found && break 3
4782     done
4783   done
4784   done
4785 IFS=$as_save_IFS
4786   if test -z "$ac_cv_path_GREP"; then
4787     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4788   fi
4789 else
4790   ac_cv_path_GREP=$GREP
4791 fi
4792
4793 fi
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4795 $as_echo "$ac_cv_path_GREP" >&6; }
4796  GREP="$ac_cv_path_GREP"
4797
4798
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4800 $as_echo_n "checking for egrep... " >&6; }
4801 if ${ac_cv_path_EGREP+:} false; then :
4802   $as_echo_n "(cached) " >&6
4803 else
4804   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4805    then ac_cv_path_EGREP="$GREP -E"
4806    else
4807      if test -z "$EGREP"; then
4808   ac_path_EGREP_found=false
4809   # Loop through the user's path and test for each of PROGNAME-LIST
4810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4812 do
4813   IFS=$as_save_IFS
4814   test -z "$as_dir" && as_dir=.
4815     for ac_prog in egrep; do
4816     for ac_exec_ext in '' $ac_executable_extensions; do
4817       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4818       as_fn_executable_p "$ac_path_EGREP" || continue
4819 # Check for GNU ac_path_EGREP and select it if it is found.
4820   # Check for GNU $ac_path_EGREP
4821 case `"$ac_path_EGREP" --version 2>&1` in
4822 *GNU*)
4823   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4824 *)
4825   ac_count=0
4826   $as_echo_n 0123456789 >"conftest.in"
4827   while :
4828   do
4829     cat "conftest.in" "conftest.in" >"conftest.tmp"
4830     mv "conftest.tmp" "conftest.in"
4831     cp "conftest.in" "conftest.nl"
4832     $as_echo 'EGREP' >> "conftest.nl"
4833     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4834     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4835     as_fn_arith $ac_count + 1 && ac_count=$as_val
4836     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4837       # Best one so far, save it but keep looking for a better one
4838       ac_cv_path_EGREP="$ac_path_EGREP"
4839       ac_path_EGREP_max=$ac_count
4840     fi
4841     # 10*(2^10) chars as input seems more than enough
4842     test $ac_count -gt 10 && break
4843   done
4844   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4845 esac
4846
4847       $ac_path_EGREP_found && break 3
4848     done
4849   done
4850   done
4851 IFS=$as_save_IFS
4852   if test -z "$ac_cv_path_EGREP"; then
4853     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4854   fi
4855 else
4856   ac_cv_path_EGREP=$EGREP
4857 fi
4858
4859    fi
4860 fi
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4862 $as_echo "$ac_cv_path_EGREP" >&6; }
4863  EGREP="$ac_cv_path_EGREP"
4864
4865
4866
4867
4868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5
4869 $as_echo_n "checking for Minix Amsterdam compiler... " >&6; }
4870 if ${gl_cv_c_amsterdam_compiler+:} false; then :
4871   $as_echo_n "(cached) " >&6
4872 else
4873
4874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4875 /* end confdefs.h.  */
4876
4877 #ifdef __ACK__
4878 Amsterdam
4879 #endif
4880
4881 _ACEOF
4882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4883   $EGREP "Amsterdam" >/dev/null 2>&1; then :
4884   gl_cv_c_amsterdam_compiler=yes
4885 else
4886   gl_cv_c_amsterdam_compiler=no
4887 fi
4888 rm -f conftest*
4889
4890
4891 fi
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5
4893 $as_echo "$gl_cv_c_amsterdam_compiler" >&6; }
4894   if test -z "$AR"; then
4895     if test $gl_cv_c_amsterdam_compiler = yes; then
4896       AR='cc -c.a'
4897       if test -z "$ARFLAGS"; then
4898         ARFLAGS='-o'
4899       fi
4900     else
4901                   if test -n "$ac_tool_prefix"; then
4902   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4903 set dummy ${ac_tool_prefix}ar; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_AR+:} false; then :
4907   $as_echo_n "(cached) " >&6
4908 else
4909   if test -n "$AR"; then
4910   ac_cv_prog_AR="$AR" # Let the user override the test.
4911 else
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH
4914 do
4915   IFS=$as_save_IFS
4916   test -z "$as_dir" && as_dir=.
4917     for ac_exec_ext in '' $ac_executable_extensions; do
4918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4919     ac_cv_prog_AR="${ac_tool_prefix}ar"
4920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921     break 2
4922   fi
4923 done
4924   done
4925 IFS=$as_save_IFS
4926
4927 fi
4928 fi
4929 AR=$ac_cv_prog_AR
4930 if test -n "$AR"; then
4931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4932 $as_echo "$AR" >&6; }
4933 else
4934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4936 fi
4937
4938
4939 fi
4940 if test -z "$ac_cv_prog_AR"; then
4941   ac_ct_AR=$AR
4942   # Extract the first word of "ar", so it can be a program name with args.
4943 set dummy ar; ac_word=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4947   $as_echo_n "(cached) " >&6
4948 else
4949   if test -n "$ac_ct_AR"; then
4950   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4951 else
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4954 do
4955   IFS=$as_save_IFS
4956   test -z "$as_dir" && as_dir=.
4957     for ac_exec_ext in '' $ac_executable_extensions; do
4958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959     ac_cv_prog_ac_ct_AR="ar"
4960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961     break 2
4962   fi
4963 done
4964   done
4965 IFS=$as_save_IFS
4966
4967 fi
4968 fi
4969 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4970 if test -n "$ac_ct_AR"; then
4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4972 $as_echo "$ac_ct_AR" >&6; }
4973 else
4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4976 fi
4977
4978   if test "x$ac_ct_AR" = x; then
4979     AR="ar"
4980   else
4981     case $cross_compiling:$ac_tool_warned in
4982 yes:)
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4985 ac_tool_warned=yes ;;
4986 esac
4987     AR=$ac_ct_AR
4988   fi
4989 else
4990   AR="$ac_cv_prog_AR"
4991 fi
4992
4993       if test -z "$ARFLAGS"; then
4994         ARFLAGS='cru'
4995       fi
4996     fi
4997   else
4998     if test -z "$ARFLAGS"; then
4999       ARFLAGS='cru'
5000     fi
5001   fi
5002
5003
5004   if test -z "$RANLIB"; then
5005     if test $gl_cv_c_amsterdam_compiler = yes; then
5006       RANLIB=':'
5007     else
5008             if test -n "$ac_tool_prefix"; then
5009   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_RANLIB+:} false; then :
5014   $as_echo_n "(cached) " >&6
5015 else
5016   if test -n "$RANLIB"; then
5017   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5021 do
5022   IFS=$as_save_IFS
5023   test -z "$as_dir" && as_dir=.
5024     for ac_exec_ext in '' $ac_executable_extensions; do
5025   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028     break 2
5029   fi
5030 done
5031   done
5032 IFS=$as_save_IFS
5033
5034 fi
5035 fi
5036 RANLIB=$ac_cv_prog_RANLIB
5037 if test -n "$RANLIB"; then
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5039 $as_echo "$RANLIB" >&6; }
5040 else
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 fi
5044
5045
5046 fi
5047 if test -z "$ac_cv_prog_RANLIB"; then
5048   ac_ct_RANLIB=$RANLIB
5049   # Extract the first word of "ranlib", so it can be a program name with args.
5050 set dummy ranlib; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5054   $as_echo_n "(cached) " >&6
5055 else
5056   if test -n "$ac_ct_RANLIB"; then
5057   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5061 do
5062   IFS=$as_save_IFS
5063   test -z "$as_dir" && as_dir=.
5064     for ac_exec_ext in '' $ac_executable_extensions; do
5065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066     ac_cv_prog_ac_ct_RANLIB="ranlib"
5067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068     break 2
5069   fi
5070 done
5071   done
5072 IFS=$as_save_IFS
5073
5074 fi
5075 fi
5076 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5077 if test -n "$ac_ct_RANLIB"; then
5078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5079 $as_echo "$ac_ct_RANLIB" >&6; }
5080 else
5081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 fi
5084
5085   if test "x$ac_ct_RANLIB" = x; then
5086     RANLIB=":"
5087   else
5088     case $cross_compiling:$ac_tool_warned in
5089 yes:)
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5093 esac
5094     RANLIB=$ac_ct_RANLIB
5095   fi
5096 else
5097   RANLIB="$ac_cv_prog_RANLIB"
5098 fi
5099
5100     fi
5101   fi
5102
5103
5104
5105
5106   # Code from module announce-gen:
5107   # Code from module bootstrap:
5108   # Code from module do-release-commit-and-tag:
5109   # Code from module extract-trace:
5110   # Code from module funclib.sh:
5111   # Code from module gendocs:
5112   # Code from module git-version-gen:
5113   # Code from module gitlog-to-changelog:
5114   # Code from module gnu-web-doc-update:
5115   # Code from module gnumakefile:
5116   # Code from module gnupload:
5117   # Code from module inline-source:
5118   # Code from module maintainer-makefile:
5119   # Code from module options-parser:
5120   # Code from module readme-release:
5121   # Code from module update-copyright:
5122   # Code from module useless-if-before-free:
5123   # Code from module vc-list-files:
5124
5125
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5132 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5133 # On Suns, sometimes $CPP names a directory.
5134 if test -n "$CPP" && test -d "$CPP"; then
5135   CPP=
5136 fi
5137 if test -z "$CPP"; then
5138   if ${ac_cv_prog_CPP+:} false; then :
5139   $as_echo_n "(cached) " >&6
5140 else
5141       # Double quotes because CPP needs to be expanded
5142     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5143     do
5144       ac_preproc_ok=false
5145 for ac_c_preproc_warn_flag in '' yes
5146 do
5147   # Use a header file that comes with gcc, so configuring glibc
5148   # with a fresh cross-compiler works.
5149   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5150   # <limits.h> exists even on freestanding compilers.
5151   # On the NeXT, cc -E runs the code through the compiler's parser,
5152   # not just through cpp. "Syntax error" is here to catch this case.
5153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h.  */
5155 #ifdef __STDC__
5156 # include <limits.h>
5157 #else
5158 # include <assert.h>
5159 #endif
5160                      Syntax error
5161 _ACEOF
5162 if ac_fn_c_try_cpp "$LINENO"; then :
5163
5164 else
5165   # Broken: fails on valid input.
5166 continue
5167 fi
5168 rm -f conftest.err conftest.i conftest.$ac_ext
5169
5170   # OK, works on sane cases.  Now check whether nonexistent headers
5171   # can be detected and how.
5172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5173 /* end confdefs.h.  */
5174 #include <ac_nonexistent.h>
5175 _ACEOF
5176 if ac_fn_c_try_cpp "$LINENO"; then :
5177   # Broken: success on invalid input.
5178 continue
5179 else
5180   # Passes both tests.
5181 ac_preproc_ok=:
5182 break
5183 fi
5184 rm -f conftest.err conftest.i conftest.$ac_ext
5185
5186 done
5187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5188 rm -f conftest.i conftest.err conftest.$ac_ext
5189 if $ac_preproc_ok; then :
5190   break
5191 fi
5192
5193     done
5194     ac_cv_prog_CPP=$CPP
5195
5196 fi
5197   CPP=$ac_cv_prog_CPP
5198 else
5199   ac_cv_prog_CPP=$CPP
5200 fi
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5202 $as_echo "$CPP" >&6; }
5203 ac_preproc_ok=false
5204 for ac_c_preproc_warn_flag in '' yes
5205 do
5206   # Use a header file that comes with gcc, so configuring glibc
5207   # with a fresh cross-compiler works.
5208   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5209   # <limits.h> exists even on freestanding compilers.
5210   # On the NeXT, cc -E runs the code through the compiler's parser,
5211   # not just through cpp. "Syntax error" is here to catch this case.
5212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h.  */
5214 #ifdef __STDC__
5215 # include <limits.h>
5216 #else
5217 # include <assert.h>
5218 #endif
5219                      Syntax error
5220 _ACEOF
5221 if ac_fn_c_try_cpp "$LINENO"; then :
5222
5223 else
5224   # Broken: fails on valid input.
5225 continue
5226 fi
5227 rm -f conftest.err conftest.i conftest.$ac_ext
5228
5229   # OK, works on sane cases.  Now check whether nonexistent headers
5230   # can be detected and how.
5231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h.  */
5233 #include <ac_nonexistent.h>
5234 _ACEOF
5235 if ac_fn_c_try_cpp "$LINENO"; then :
5236   # Broken: success on invalid input.
5237 continue
5238 else
5239   # Passes both tests.
5240 ac_preproc_ok=:
5241 break
5242 fi
5243 rm -f conftest.err conftest.i conftest.$ac_ext
5244
5245 done
5246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5247 rm -f conftest.i conftest.err conftest.$ac_ext
5248 if $ac_preproc_ok; then :
5249
5250 else
5251   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5254 See \`config.log' for more details" "$LINENO" 5; }
5255 fi
5256
5257 ac_ext=c
5258 ac_cpp='$CPP $CPPFLAGS'
5259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5262
5263
5264 ## ----------------------- ##
5265 ## Libtool initialisation. ##
5266 ## ----------------------- ##
5267 case `pwd` in
5268   *\ * | *\     *)
5269     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5270 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5271 esac
5272
5273
5274
5275 macro_version='2.4.6'
5276 macro_revision='2.4.6'
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290 ltmain=$ac_aux_dir/ltmain.sh
5291
5292 # Backslashify metacharacters that are still active within
5293 # double-quoted strings.
5294 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5295
5296 # Same as above, but do not quote variable references.
5297 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5298
5299 # Sed substitution to delay expansion of an escaped shell variable in a
5300 # double_quote_subst'ed string.
5301 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5302
5303 # Sed substitution to delay expansion of an escaped single quote.
5304 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5305
5306 # Sed substitution to avoid accidental globbing in evaled expressions
5307 no_glob_subst='s/\*/\\\*/g'
5308
5309 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5310 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5311 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5312
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5314 $as_echo_n "checking how to print strings... " >&6; }
5315 # Test print first, because it will be a builtin if present.
5316 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5317    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5318   ECHO='print -r --'
5319 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5320   ECHO='printf %s\n'
5321 else
5322   # Use this function as a fallback that always works.
5323   func_fallback_echo ()
5324   {
5325     eval 'cat <<_LTECHO_EOF
5326 $1
5327 _LTECHO_EOF'
5328   }
5329   ECHO='func_fallback_echo'
5330 fi
5331
5332 # func_echo_all arg...
5333 # Invoke $ECHO with all args, space-separated.
5334 func_echo_all ()
5335 {
5336     $ECHO ""
5337 }
5338
5339 case $ECHO in
5340   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5341 $as_echo "printf" >&6; } ;;
5342   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5343 $as_echo "print -r" >&6; } ;;
5344   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5345 $as_echo "cat" >&6; } ;;
5346 esac
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5362 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5363 if ${ac_cv_path_SED+:} false; then :
5364   $as_echo_n "(cached) " >&6
5365 else
5366             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5367      for ac_i in 1 2 3 4 5 6 7; do
5368        ac_script="$ac_script$as_nl$ac_script"
5369      done
5370      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5371      { ac_script=; unset ac_script;}
5372      if test -z "$SED"; then
5373   ac_path_SED_found=false
5374   # Loop through the user's path and test for each of PROGNAME-LIST
5375   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5377 do
5378   IFS=$as_save_IFS
5379   test -z "$as_dir" && as_dir=.
5380     for ac_prog in sed gsed; do
5381     for ac_exec_ext in '' $ac_executable_extensions; do
5382       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5383       as_fn_executable_p "$ac_path_SED" || continue
5384 # Check for GNU ac_path_SED and select it if it is found.
5385   # Check for GNU $ac_path_SED
5386 case `"$ac_path_SED" --version 2>&1` in
5387 *GNU*)
5388   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5389 *)
5390   ac_count=0
5391   $as_echo_n 0123456789 >"conftest.in"
5392   while :
5393   do
5394     cat "conftest.in" "conftest.in" >"conftest.tmp"
5395     mv "conftest.tmp" "conftest.in"
5396     cp "conftest.in" "conftest.nl"
5397     $as_echo '' >> "conftest.nl"
5398     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5399     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5400     as_fn_arith $ac_count + 1 && ac_count=$as_val
5401     if test $ac_count -gt ${ac_path_SED_max-0}; then
5402       # Best one so far, save it but keep looking for a better one
5403       ac_cv_path_SED="$ac_path_SED"
5404       ac_path_SED_max=$ac_count
5405     fi
5406     # 10*(2^10) chars as input seems more than enough
5407     test $ac_count -gt 10 && break
5408   done
5409   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5410 esac
5411
5412       $ac_path_SED_found && break 3
5413     done
5414   done
5415   done
5416 IFS=$as_save_IFS
5417   if test -z "$ac_cv_path_SED"; then
5418     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5419   fi
5420 else
5421   ac_cv_path_SED=$SED
5422 fi
5423
5424 fi
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5426 $as_echo "$ac_cv_path_SED" >&6; }
5427  SED="$ac_cv_path_SED"
5428   rm -f conftest.sed
5429
5430 test -z "$SED" && SED=sed
5431 Xsed="$SED -e 1s/^X//"
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5444 $as_echo_n "checking for fgrep... " >&6; }
5445 if ${ac_cv_path_FGREP+:} false; then :
5446   $as_echo_n "(cached) " >&6
5447 else
5448   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5449    then ac_cv_path_FGREP="$GREP -F"
5450    else
5451      if test -z "$FGREP"; then
5452   ac_path_FGREP_found=false
5453   # Loop through the user's path and test for each of PROGNAME-LIST
5454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5456 do
5457   IFS=$as_save_IFS
5458   test -z "$as_dir" && as_dir=.
5459     for ac_prog in fgrep; do
5460     for ac_exec_ext in '' $ac_executable_extensions; do
5461       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5462       as_fn_executable_p "$ac_path_FGREP" || continue
5463 # Check for GNU ac_path_FGREP and select it if it is found.
5464   # Check for GNU $ac_path_FGREP
5465 case `"$ac_path_FGREP" --version 2>&1` in
5466 *GNU*)
5467   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5468 *)
5469   ac_count=0
5470   $as_echo_n 0123456789 >"conftest.in"
5471   while :
5472   do
5473     cat "conftest.in" "conftest.in" >"conftest.tmp"
5474     mv "conftest.tmp" "conftest.in"
5475     cp "conftest.in" "conftest.nl"
5476     $as_echo 'FGREP' >> "conftest.nl"
5477     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5478     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5479     as_fn_arith $ac_count + 1 && ac_count=$as_val
5480     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5481       # Best one so far, save it but keep looking for a better one
5482       ac_cv_path_FGREP="$ac_path_FGREP"
5483       ac_path_FGREP_max=$ac_count
5484     fi
5485     # 10*(2^10) chars as input seems more than enough
5486     test $ac_count -gt 10 && break
5487   done
5488   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5489 esac
5490
5491       $ac_path_FGREP_found && break 3
5492     done
5493   done
5494   done
5495 IFS=$as_save_IFS
5496   if test -z "$ac_cv_path_FGREP"; then
5497     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5498   fi
5499 else
5500   ac_cv_path_FGREP=$FGREP
5501 fi
5502
5503    fi
5504 fi
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5506 $as_echo "$ac_cv_path_FGREP" >&6; }
5507  FGREP="$ac_cv_path_FGREP"
5508
5509
5510 test -z "$GREP" && GREP=grep
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530 # Check whether --with-gnu-ld was given.
5531 if test "${with_gnu_ld+set}" = set; then :
5532   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5533 else
5534   with_gnu_ld=no
5535 fi
5536
5537 ac_prog=ld
5538 if test yes = "$GCC"; then
5539   # Check if gcc -print-prog-name=ld gives a path.
5540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5541 $as_echo_n "checking for ld used by $CC... " >&6; }
5542   case $host in
5543   *-*-mingw*)
5544     # gcc leaves a trailing carriage return, which upsets mingw
5545     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5546   *)
5547     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5548   esac
5549   case $ac_prog in
5550     # Accept absolute paths.
5551     [\\/]* | ?:[\\/]*)
5552       re_direlt='/[^/][^/]*/\.\./'
5553       # Canonicalize the pathname of ld
5554       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5555       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5556         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5557       done
5558       test -z "$LD" && LD=$ac_prog
5559       ;;
5560   "")
5561     # If it fails, then pretend we aren't using GCC.
5562     ac_prog=ld
5563     ;;
5564   *)
5565     # If it is relative, then search for the first ld in PATH.
5566     with_gnu_ld=unknown
5567     ;;
5568   esac
5569 elif test yes = "$with_gnu_ld"; then
5570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5571 $as_echo_n "checking for GNU ld... " >&6; }
5572 else
5573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5574 $as_echo_n "checking for non-GNU ld... " >&6; }
5575 fi
5576 if ${lt_cv_path_LD+:} false; then :
5577   $as_echo_n "(cached) " >&6
5578 else
5579   if test -z "$LD"; then
5580   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5581   for ac_dir in $PATH; do
5582     IFS=$lt_save_ifs
5583     test -z "$ac_dir" && ac_dir=.
5584     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5585       lt_cv_path_LD=$ac_dir/$ac_prog
5586       # Check to see if the program is GNU ld.  I'd rather use --version,
5587       # but apparently some variants of GNU ld only accept -v.
5588       # Break only if it was the GNU/non-GNU ld that we prefer.
5589       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5590       *GNU* | *'with BFD'*)
5591         test no != "$with_gnu_ld" && break
5592         ;;
5593       *)
5594         test yes != "$with_gnu_ld" && break
5595         ;;
5596       esac
5597     fi
5598   done
5599   IFS=$lt_save_ifs
5600 else
5601   lt_cv_path_LD=$LD # Let the user override the test with a path.
5602 fi
5603 fi
5604
5605 LD=$lt_cv_path_LD
5606 if test -n "$LD"; then
5607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5608 $as_echo "$LD" >&6; }
5609 else
5610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611 $as_echo "no" >&6; }
5612 fi
5613 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5615 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5616 if ${lt_cv_prog_gnu_ld+:} false; then :
5617   $as_echo_n "(cached) " >&6
5618 else
5619   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5620 case `$LD -v 2>&1 </dev/null` in
5621 *GNU* | *'with BFD'*)
5622   lt_cv_prog_gnu_ld=yes
5623   ;;
5624 *)
5625   lt_cv_prog_gnu_ld=no
5626   ;;
5627 esac
5628 fi
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5630 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5631 with_gnu_ld=$lt_cv_prog_gnu_ld
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5642 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5643 if ${lt_cv_path_NM+:} false; then :
5644   $as_echo_n "(cached) " >&6
5645 else
5646   if test -n "$NM"; then
5647   # Let the user override the test.
5648   lt_cv_path_NM=$NM
5649 else
5650   lt_nm_to_check=${ac_tool_prefix}nm
5651   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5652     lt_nm_to_check="$lt_nm_to_check nm"
5653   fi
5654   for lt_tmp_nm in $lt_nm_to_check; do
5655     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5656     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5657       IFS=$lt_save_ifs
5658       test -z "$ac_dir" && ac_dir=.
5659       tmp_nm=$ac_dir/$lt_tmp_nm
5660       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5661         # Check to see if the nm accepts a BSD-compat flag.
5662         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5663         #   nm: unknown option "B" ignored
5664         # Tru64's nm complains that /dev/null is an invalid object file
5665         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5666         case $build_os in
5667         mingw*) lt_bad_file=conftest.nm/nofile ;;
5668         *) lt_bad_file=/dev/null ;;
5669         esac
5670         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5671         *$lt_bad_file* | *'Invalid file or object type'*)
5672           lt_cv_path_NM="$tmp_nm -B"
5673           break 2
5674           ;;
5675         *)
5676           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5677           */dev/null*)
5678             lt_cv_path_NM="$tmp_nm -p"
5679             break 2
5680             ;;
5681           *)
5682             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5683             continue # so that we can try to find one that supports BSD flags
5684             ;;
5685           esac
5686           ;;
5687         esac
5688       fi
5689     done
5690     IFS=$lt_save_ifs
5691   done
5692   : ${lt_cv_path_NM=no}
5693 fi
5694 fi
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5696 $as_echo "$lt_cv_path_NM" >&6; }
5697 if test no != "$lt_cv_path_NM"; then
5698   NM=$lt_cv_path_NM
5699 else
5700   # Didn't find any BSD compatible name lister, look for dumpbin.
5701   if test -n "$DUMPBIN"; then :
5702     # Let the user override the test.
5703   else
5704     if test -n "$ac_tool_prefix"; then
5705   for ac_prog in dumpbin "link -dump"
5706   do
5707     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_DUMPBIN+:} false; then :
5712   $as_echo_n "(cached) " >&6
5713 else
5714   if test -n "$DUMPBIN"; then
5715   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5716 else
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH
5719 do
5720   IFS=$as_save_IFS
5721   test -z "$as_dir" && as_dir=.
5722     for ac_exec_ext in '' $ac_executable_extensions; do
5723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726     break 2
5727   fi
5728 done
5729   done
5730 IFS=$as_save_IFS
5731
5732 fi
5733 fi
5734 DUMPBIN=$ac_cv_prog_DUMPBIN
5735 if test -n "$DUMPBIN"; then
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5737 $as_echo "$DUMPBIN" >&6; }
5738 else
5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5741 fi
5742
5743
5744     test -n "$DUMPBIN" && break
5745   done
5746 fi
5747 if test -z "$DUMPBIN"; then
5748   ac_ct_DUMPBIN=$DUMPBIN
5749   for ac_prog in dumpbin "link -dump"
5750 do
5751   # Extract the first word of "$ac_prog", so it can be a program name with args.
5752 set dummy $ac_prog; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5756   $as_echo_n "(cached) " >&6
5757 else
5758   if test -n "$ac_ct_DUMPBIN"; then
5759   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5763 do
5764   IFS=$as_save_IFS
5765   test -z "$as_dir" && as_dir=.
5766     for ac_exec_ext in '' $ac_executable_extensions; do
5767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770     break 2
5771   fi
5772 done
5773   done
5774 IFS=$as_save_IFS
5775
5776 fi
5777 fi
5778 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5779 if test -n "$ac_ct_DUMPBIN"; then
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5781 $as_echo "$ac_ct_DUMPBIN" >&6; }
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 fi
5786
5787
5788   test -n "$ac_ct_DUMPBIN" && break
5789 done
5790
5791   if test "x$ac_ct_DUMPBIN" = x; then
5792     DUMPBIN=":"
5793   else
5794     case $cross_compiling:$ac_tool_warned in
5795 yes:)
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5798 ac_tool_warned=yes ;;
5799 esac
5800     DUMPBIN=$ac_ct_DUMPBIN
5801   fi
5802 fi
5803
5804     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5805     *COFF*)
5806       DUMPBIN="$DUMPBIN -symbols -headers"
5807       ;;
5808     *)
5809       DUMPBIN=:
5810       ;;
5811     esac
5812   fi
5813
5814   if test : != "$DUMPBIN"; then
5815     NM=$DUMPBIN
5816   fi
5817 fi
5818 test -z "$NM" && NM=nm
5819
5820
5821
5822
5823
5824
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5826 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5827 if ${lt_cv_nm_interface+:} false; then :
5828   $as_echo_n "(cached) " >&6
5829 else
5830   lt_cv_nm_interface="BSD nm"
5831   echo "int some_variable = 0;" > conftest.$ac_ext
5832   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5833   (eval "$ac_compile" 2>conftest.err)
5834   cat conftest.err >&5
5835   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5836   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5837   cat conftest.err >&5
5838   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5839   cat conftest.out >&5
5840   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5841     lt_cv_nm_interface="MS dumpbin"
5842   fi
5843   rm -f conftest*
5844 fi
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5846 $as_echo "$lt_cv_nm_interface" >&6; }
5847
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5849 $as_echo_n "checking whether ln -s works... " >&6; }
5850 LN_S=$as_ln_s
5851 if test "$LN_S" = "ln -s"; then
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5853 $as_echo "yes" >&6; }
5854 else
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5856 $as_echo "no, using $LN_S" >&6; }
5857 fi
5858
5859 # find the maximum length of command line arguments
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5861 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5862 if ${lt_cv_sys_max_cmd_len+:} false; then :
5863   $as_echo_n "(cached) " >&6
5864 else
5865     i=0
5866   teststring=ABCD
5867
5868   case $build_os in
5869   msdosdjgpp*)
5870     # On DJGPP, this test can blow up pretty badly due to problems in libc
5871     # (any single argument exceeding 2000 bytes causes a buffer overrun
5872     # during glob expansion).  Even if it were fixed, the result of this
5873     # check would be larger than it should be.
5874     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5875     ;;
5876
5877   gnu*)
5878     # Under GNU Hurd, this test is not required because there is
5879     # no limit to the length of command line arguments.
5880     # Libtool will interpret -1 as no limit whatsoever
5881     lt_cv_sys_max_cmd_len=-1;
5882     ;;
5883
5884   cygwin* | mingw* | cegcc*)
5885     # On Win9x/ME, this test blows up -- it succeeds, but takes
5886     # about 5 minutes as the teststring grows exponentially.
5887     # Worse, since 9x/ME are not pre-emptively multitasking,
5888     # you end up with a "frozen" computer, even though with patience
5889     # the test eventually succeeds (with a max line length of 256k).
5890     # Instead, let's just punt: use the minimum linelength reported by
5891     # all of the supported platforms: 8192 (on NT/2K/XP).
5892     lt_cv_sys_max_cmd_len=8192;
5893     ;;
5894
5895   mint*)
5896     # On MiNT this can take a long time and run out of memory.
5897     lt_cv_sys_max_cmd_len=8192;
5898     ;;
5899
5900   amigaos*)
5901     # On AmigaOS with pdksh, this test takes hours, literally.
5902     # So we just punt and use a minimum line length of 8192.
5903     lt_cv_sys_max_cmd_len=8192;
5904     ;;
5905
5906   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5907     # This has been around since 386BSD, at least.  Likely further.
5908     if test -x /sbin/sysctl; then
5909       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5910     elif test -x /usr/sbin/sysctl; then
5911       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5912     else
5913       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5914     fi
5915     # And add a safety zone
5916     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5917     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5918     ;;
5919
5920   interix*)
5921     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5922     lt_cv_sys_max_cmd_len=196608
5923     ;;
5924
5925   os2*)
5926     # The test takes a long time on OS/2.
5927     lt_cv_sys_max_cmd_len=8192
5928     ;;
5929
5930   osf*)
5931     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5932     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5933     # nice to cause kernel panics so lets avoid the loop below.
5934     # First set a reasonable default.
5935     lt_cv_sys_max_cmd_len=16384
5936     #
5937     if test -x /sbin/sysconfig; then
5938       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5939         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5940       esac
5941     fi
5942     ;;
5943   sco3.2v5*)
5944     lt_cv_sys_max_cmd_len=102400
5945     ;;
5946   sysv5* | sco5v6* | sysv4.2uw2*)
5947     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5948     if test -n "$kargmax"; then
5949       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5950     else
5951       lt_cv_sys_max_cmd_len=32768
5952     fi
5953     ;;
5954   *)
5955     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5956     if test -n "$lt_cv_sys_max_cmd_len" && \
5957        test undefined != "$lt_cv_sys_max_cmd_len"; then
5958       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960     else
5961       # Make teststring a little bigger before we do anything with it.
5962       # a 1K string should be a reasonable start.
5963       for i in 1 2 3 4 5 6 7 8; do
5964         teststring=$teststring$teststring
5965       done
5966       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967       # If test is not a shell built-in, we'll probably end up computing a
5968       # maximum length that is only half of the actual maximum length, but
5969       # we can't tell.
5970       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5971                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972               test 17 != "$i" # 1/2 MB should be enough
5973       do
5974         i=`expr $i + 1`
5975         teststring=$teststring$teststring
5976       done
5977       # Only check the string length outside the loop.
5978       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979       teststring=
5980       # Add a significant safety factor because C++ compilers can tack on
5981       # massive amounts of additional arguments before passing them to the
5982       # linker.  It appears as though 1/2 is a usable value.
5983       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5984     fi
5985     ;;
5986   esac
5987
5988 fi
5989
5990 if test -n "$lt_cv_sys_max_cmd_len"; then
5991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5996 fi
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
5998
5999
6000
6001
6002
6003
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6007
6008 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6009   lt_unset=unset
6010 else
6011   lt_unset=false
6012 fi
6013
6014
6015
6016
6017
6018 # test EBCDIC or ASCII
6019 case `echo X|tr X '\101'` in
6020  A) # ASCII based system
6021     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6022   lt_SP2NL='tr \040 \012'
6023   lt_NL2SP='tr \015\012 \040\040'
6024   ;;
6025  *) # EBCDIC based system
6026   lt_SP2NL='tr \100 \n'
6027   lt_NL2SP='tr \r\n \100\100'
6028   ;;
6029 esac
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6040 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6041 if ${lt_cv_to_host_file_cmd+:} false; then :
6042   $as_echo_n "(cached) " >&6
6043 else
6044   case $host in
6045   *-*-mingw* )
6046     case $build in
6047       *-*-mingw* ) # actually msys
6048         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6049         ;;
6050       *-*-cygwin* )
6051         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6052         ;;
6053       * ) # otherwise, assume *nix
6054         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6055         ;;
6056     esac
6057     ;;
6058   *-*-cygwin* )
6059     case $build in
6060       *-*-mingw* ) # actually msys
6061         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6062         ;;
6063       *-*-cygwin* )
6064         lt_cv_to_host_file_cmd=func_convert_file_noop
6065         ;;
6066       * ) # otherwise, assume *nix
6067         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6068         ;;
6069     esac
6070     ;;
6071   * ) # unhandled hosts (and "normal" native builds)
6072     lt_cv_to_host_file_cmd=func_convert_file_noop
6073     ;;
6074 esac
6075
6076 fi
6077
6078 to_host_file_cmd=$lt_cv_to_host_file_cmd
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6080 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6081
6082
6083
6084
6085
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6087 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6088 if ${lt_cv_to_tool_file_cmd+:} false; then :
6089   $as_echo_n "(cached) " >&6
6090 else
6091   #assume ordinary cross tools, or native build.
6092 lt_cv_to_tool_file_cmd=func_convert_file_noop
6093 case $host in
6094   *-*-mingw* )
6095     case $build in
6096       *-*-mingw* ) # actually msys
6097         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6098         ;;
6099     esac
6100     ;;
6101 esac
6102
6103 fi
6104
6105 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6107 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6108
6109
6110
6111
6112
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6114 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6115 if ${lt_cv_ld_reload_flag+:} false; then :
6116   $as_echo_n "(cached) " >&6
6117 else
6118   lt_cv_ld_reload_flag='-r'
6119 fi
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6121 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6122 reload_flag=$lt_cv_ld_reload_flag
6123 case $reload_flag in
6124 "" | " "*) ;;
6125 *) reload_flag=" $reload_flag" ;;
6126 esac
6127 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6128 case $host_os in
6129   cygwin* | mingw* | pw32* | cegcc*)
6130     if test yes != "$GCC"; then
6131       reload_cmds=false
6132     fi
6133     ;;
6134   darwin*)
6135     if test yes = "$GCC"; then
6136       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6137     else
6138       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6139     fi
6140     ;;
6141 esac
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151 if test -n "$ac_tool_prefix"; then
6152   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6153 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if ${ac_cv_prog_OBJDUMP+:} false; then :
6157   $as_echo_n "(cached) " >&6
6158 else
6159   if test -n "$OBJDUMP"; then
6160   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165   IFS=$as_save_IFS
6166   test -z "$as_dir" && as_dir=.
6167     for ac_exec_ext in '' $ac_executable_extensions; do
6168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171     break 2
6172   fi
6173 done
6174   done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 OBJDUMP=$ac_cv_prog_OBJDUMP
6180 if test -n "$OBJDUMP"; then
6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6182 $as_echo "$OBJDUMP" >&6; }
6183 else
6184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188
6189 fi
6190 if test -z "$ac_cv_prog_OBJDUMP"; then
6191   ac_ct_OBJDUMP=$OBJDUMP
6192   # Extract the first word of "objdump", so it can be a program name with args.
6193 set dummy objdump; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6197   $as_echo_n "(cached) " >&6
6198 else
6199   if test -n "$ac_ct_OBJDUMP"; then
6200   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6204 do
6205   IFS=$as_save_IFS
6206   test -z "$as_dir" && as_dir=.
6207     for ac_exec_ext in '' $ac_executable_extensions; do
6208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211     break 2
6212   fi
6213 done
6214   done
6215 IFS=$as_save_IFS
6216
6217 fi
6218 fi
6219 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6220 if test -n "$ac_ct_OBJDUMP"; then
6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6222 $as_echo "$ac_ct_OBJDUMP" >&6; }
6223 else
6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 fi
6227
6228   if test "x$ac_ct_OBJDUMP" = x; then
6229     OBJDUMP="false"
6230   else
6231     case $cross_compiling:$ac_tool_warned in
6232 yes:)
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6235 ac_tool_warned=yes ;;
6236 esac
6237     OBJDUMP=$ac_ct_OBJDUMP
6238   fi
6239 else
6240   OBJDUMP="$ac_cv_prog_OBJDUMP"
6241 fi
6242
6243 test -z "$OBJDUMP" && OBJDUMP=objdump
6244
6245
6246
6247
6248
6249
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6251 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6252 if ${lt_cv_deplibs_check_method+:} false; then :
6253   $as_echo_n "(cached) " >&6
6254 else
6255   lt_cv_file_magic_cmd='$MAGIC_CMD'
6256 lt_cv_file_magic_test_file=
6257 lt_cv_deplibs_check_method='unknown'
6258 # Need to set the preceding variable on all platforms that support
6259 # interlibrary dependencies.
6260 # 'none' -- dependencies not supported.
6261 # 'unknown' -- same as none, but documents that we really don't know.
6262 # 'pass_all' -- all dependencies passed with no checks.
6263 # 'test_compile' -- check by making test program.
6264 # 'file_magic [[regex]]' -- check by looking for files in library path
6265 # that responds to the $file_magic_cmd with a given extended regex.
6266 # If you have 'file' or equivalent on your system and you're not sure
6267 # whether 'pass_all' will *always* work, you probably want this one.
6268
6269 case $host_os in
6270 aix[4-9]*)
6271   lt_cv_deplibs_check_method=pass_all
6272   ;;
6273
6274 beos*)
6275   lt_cv_deplibs_check_method=pass_all
6276   ;;
6277
6278 bsdi[45]*)
6279   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6280   lt_cv_file_magic_cmd='/usr/bin/file -L'
6281   lt_cv_file_magic_test_file=/shlib/libc.so
6282   ;;
6283
6284 cygwin*)
6285   # func_win32_libid is a shell function defined in ltmain.sh
6286   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6287   lt_cv_file_magic_cmd='func_win32_libid'
6288   ;;
6289
6290 mingw* | pw32*)
6291   # Base MSYS/MinGW do not provide the 'file' command needed by
6292   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6293   # unless we find 'file', for example because we are cross-compiling.
6294   if ( file / ) >/dev/null 2>&1; then
6295     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6296     lt_cv_file_magic_cmd='func_win32_libid'
6297   else
6298     # Keep this pattern in sync with the one in func_win32_libid.
6299     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6300     lt_cv_file_magic_cmd='$OBJDUMP -f'
6301   fi
6302   ;;
6303
6304 cegcc*)
6305   # use the weaker test based on 'objdump'. See mingw*.
6306   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6307   lt_cv_file_magic_cmd='$OBJDUMP -f'
6308   ;;
6309
6310 darwin* | rhapsody*)
6311   lt_cv_deplibs_check_method=pass_all
6312   ;;
6313
6314 freebsd* | dragonfly*)
6315   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6316     case $host_cpu in
6317     i*86 )
6318       # Not sure whether the presence of OpenBSD here was a mistake.
6319       # Let's accept both of them until this is cleared up.
6320       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6321       lt_cv_file_magic_cmd=/usr/bin/file
6322       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6323       ;;
6324     esac
6325   else
6326     lt_cv_deplibs_check_method=pass_all
6327   fi
6328   ;;
6329
6330 haiku*)
6331   lt_cv_deplibs_check_method=pass_all
6332   ;;
6333
6334 hpux10.20* | hpux11*)
6335   lt_cv_file_magic_cmd=/usr/bin/file
6336   case $host_cpu in
6337   ia64*)
6338     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6339     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6340     ;;
6341   hppa*64*)
6342     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]'
6343     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6344     ;;
6345   *)
6346     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6347     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6348     ;;
6349   esac
6350   ;;
6351
6352 interix[3-9]*)
6353   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6354   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6355   ;;
6356
6357 irix5* | irix6* | nonstopux*)
6358   case $LD in
6359   *-32|*"-32 ") libmagic=32-bit;;
6360   *-n32|*"-n32 ") libmagic=N32;;
6361   *-64|*"-64 ") libmagic=64-bit;;
6362   *) libmagic=never-match;;
6363   esac
6364   lt_cv_deplibs_check_method=pass_all
6365   ;;
6366
6367 # This must be glibc/ELF.
6368 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6369   lt_cv_deplibs_check_method=pass_all
6370   ;;
6371
6372 netbsd*)
6373   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6374     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6375   else
6376     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6377   fi
6378   ;;
6379
6380 newos6*)
6381   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6382   lt_cv_file_magic_cmd=/usr/bin/file
6383   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6384   ;;
6385
6386 *nto* | *qnx*)
6387   lt_cv_deplibs_check_method=pass_all
6388   ;;
6389
6390 openbsd* | bitrig*)
6391   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6392     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6393   else
6394     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6395   fi
6396   ;;
6397
6398 osf3* | osf4* | osf5*)
6399   lt_cv_deplibs_check_method=pass_all
6400   ;;
6401
6402 rdos*)
6403   lt_cv_deplibs_check_method=pass_all
6404   ;;
6405
6406 solaris*)
6407   lt_cv_deplibs_check_method=pass_all
6408   ;;
6409
6410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6411   lt_cv_deplibs_check_method=pass_all
6412   ;;
6413
6414 sysv4 | sysv4.3*)
6415   case $host_vendor in
6416   motorola)
6417     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]'
6418     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6419     ;;
6420   ncr)
6421     lt_cv_deplibs_check_method=pass_all
6422     ;;
6423   sequent)
6424     lt_cv_file_magic_cmd='/bin/file'
6425     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6426     ;;
6427   sni)
6428     lt_cv_file_magic_cmd='/bin/file'
6429     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6430     lt_cv_file_magic_test_file=/lib/libc.so
6431     ;;
6432   siemens)
6433     lt_cv_deplibs_check_method=pass_all
6434     ;;
6435   pc)
6436     lt_cv_deplibs_check_method=pass_all
6437     ;;
6438   esac
6439   ;;
6440
6441 tpf*)
6442   lt_cv_deplibs_check_method=pass_all
6443   ;;
6444 os2*)
6445   lt_cv_deplibs_check_method=pass_all
6446   ;;
6447 esac
6448
6449 fi
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6451 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6452
6453 file_magic_glob=
6454 want_nocaseglob=no
6455 if test "$build" = "$host"; then
6456   case $host_os in
6457   mingw* | pw32*)
6458     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6459       want_nocaseglob=yes
6460     else
6461       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6462     fi
6463     ;;
6464   esac
6465 fi
6466
6467 file_magic_cmd=$lt_cv_file_magic_cmd
6468 deplibs_check_method=$lt_cv_deplibs_check_method
6469 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492 if test -n "$ac_tool_prefix"; then
6493   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6494 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_prog_DLLTOOL+:} false; then :
6498   $as_echo_n "(cached) " >&6
6499 else
6500   if test -n "$DLLTOOL"; then
6501   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6502 else
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504 for as_dir in $PATH
6505 do
6506   IFS=$as_save_IFS
6507   test -z "$as_dir" && as_dir=.
6508     for ac_exec_ext in '' $ac_executable_extensions; do
6509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512     break 2
6513   fi
6514 done
6515   done
6516 IFS=$as_save_IFS
6517
6518 fi
6519 fi
6520 DLLTOOL=$ac_cv_prog_DLLTOOL
6521 if test -n "$DLLTOOL"; then
6522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6523 $as_echo "$DLLTOOL" >&6; }
6524 else
6525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6527 fi
6528
6529
6530 fi
6531 if test -z "$ac_cv_prog_DLLTOOL"; then
6532   ac_ct_DLLTOOL=$DLLTOOL
6533   # Extract the first word of "dlltool", so it can be a program name with args.
6534 set dummy dlltool; ac_word=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6538   $as_echo_n "(cached) " >&6
6539 else
6540   if test -n "$ac_ct_DLLTOOL"; then
6541   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6542 else
6543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544 for as_dir in $PATH
6545 do
6546   IFS=$as_save_IFS
6547   test -z "$as_dir" && as_dir=.
6548     for ac_exec_ext in '' $ac_executable_extensions; do
6549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6550     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552     break 2
6553   fi
6554 done
6555   done
6556 IFS=$as_save_IFS
6557
6558 fi
6559 fi
6560 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6561 if test -n "$ac_ct_DLLTOOL"; then
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6563 $as_echo "$ac_ct_DLLTOOL" >&6; }
6564 else
6565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6567 fi
6568
6569   if test "x$ac_ct_DLLTOOL" = x; then
6570     DLLTOOL="false"
6571   else
6572     case $cross_compiling:$ac_tool_warned in
6573 yes:)
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6576 ac_tool_warned=yes ;;
6577 esac
6578     DLLTOOL=$ac_ct_DLLTOOL
6579   fi
6580 else
6581   DLLTOOL="$ac_cv_prog_DLLTOOL"
6582 fi
6583
6584 test -z "$DLLTOOL" && DLLTOOL=dlltool
6585
6586
6587
6588
6589
6590
6591
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6593 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6594 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6595   $as_echo_n "(cached) " >&6
6596 else
6597   lt_cv_sharedlib_from_linklib_cmd='unknown'
6598
6599 case $host_os in
6600 cygwin* | mingw* | pw32* | cegcc*)
6601   # two different shell functions defined in ltmain.sh;
6602   # decide which one to use based on capabilities of $DLLTOOL
6603   case `$DLLTOOL --help 2>&1` in
6604   *--identify-strict*)
6605     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6606     ;;
6607   *)
6608     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6609     ;;
6610   esac
6611   ;;
6612 *)
6613   # fallback: assume linklib IS sharedlib
6614   lt_cv_sharedlib_from_linklib_cmd=$ECHO
6615   ;;
6616 esac
6617
6618 fi
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6620 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6621 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6622 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6623
6624
6625
6626
6627
6628
6629
6630 if test -n "$ac_tool_prefix"; then
6631   for ac_prog in ar
6632   do
6633     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_AR+:} false; then :
6638   $as_echo_n "(cached) " >&6
6639 else
6640   if test -n "$AR"; then
6641   ac_cv_prog_AR="$AR" # Let the user override the test.
6642 else
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 for as_dir in $PATH
6645 do
6646   IFS=$as_save_IFS
6647   test -z "$as_dir" && as_dir=.
6648     for ac_exec_ext in '' $ac_executable_extensions; do
6649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652     break 2
6653   fi
6654 done
6655   done
6656 IFS=$as_save_IFS
6657
6658 fi
6659 fi
6660 AR=$ac_cv_prog_AR
6661 if test -n "$AR"; then
6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6663 $as_echo "$AR" >&6; }
6664 else
6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6667 fi
6668
6669
6670     test -n "$AR" && break
6671   done
6672 fi
6673 if test -z "$AR"; then
6674   ac_ct_AR=$AR
6675   for ac_prog in ar
6676 do
6677   # Extract the first word of "$ac_prog", so it can be a program name with args.
6678 set dummy $ac_prog; ac_word=$2
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 $as_echo_n "checking for $ac_word... " >&6; }
6681 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6682   $as_echo_n "(cached) " >&6
6683 else
6684   if test -n "$ac_ct_AR"; then
6685   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6686 else
6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6688 for as_dir in $PATH
6689 do
6690   IFS=$as_save_IFS
6691   test -z "$as_dir" && as_dir=.
6692     for ac_exec_ext in '' $ac_executable_extensions; do
6693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6694     ac_cv_prog_ac_ct_AR="$ac_prog"
6695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696     break 2
6697   fi
6698 done
6699   done
6700 IFS=$as_save_IFS
6701
6702 fi
6703 fi
6704 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6705 if test -n "$ac_ct_AR"; then
6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6707 $as_echo "$ac_ct_AR" >&6; }
6708 else
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6711 fi
6712
6713
6714   test -n "$ac_ct_AR" && break
6715 done
6716
6717   if test "x$ac_ct_AR" = x; then
6718     AR="false"
6719   else
6720     case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726     AR=$ac_ct_AR
6727   fi
6728 fi
6729
6730 : ${AR=ar}
6731 : ${AR_FLAGS=cru}
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6744 $as_echo_n "checking for archiver @FILE support... " >&6; }
6745 if ${lt_cv_ar_at_file+:} false; then :
6746   $as_echo_n "(cached) " >&6
6747 else
6748   lt_cv_ar_at_file=no
6749    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h.  */
6751
6752 int
6753 main ()
6754 {
6755
6756   ;
6757   return 0;
6758 }
6759 _ACEOF
6760 if ac_fn_c_try_compile "$LINENO"; then :
6761   echo conftest.$ac_objext > conftest.lst
6762       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6763       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6764   (eval $lt_ar_try) 2>&5
6765   ac_status=$?
6766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6767   test $ac_status = 0; }
6768       if test 0 -eq "$ac_status"; then
6769         # Ensure the archiver fails upon bogus file names.
6770         rm -f conftest.$ac_objext libconftest.a
6771         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6772   (eval $lt_ar_try) 2>&5
6773   ac_status=$?
6774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6775   test $ac_status = 0; }
6776         if test 0 -ne "$ac_status"; then
6777           lt_cv_ar_at_file=@
6778         fi
6779       fi
6780       rm -f conftest.* libconftest.a
6781
6782 fi
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6784
6785 fi
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6787 $as_echo "$lt_cv_ar_at_file" >&6; }
6788
6789 if test no = "$lt_cv_ar_at_file"; then
6790   archiver_list_spec=
6791 else
6792   archiver_list_spec=$lt_cv_ar_at_file
6793 fi
6794
6795
6796
6797
6798
6799
6800
6801 if test -n "$ac_tool_prefix"; then
6802   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}strip; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_STRIP+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$STRIP"; then
6810   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 STRIP=$ac_cv_prog_STRIP
6830 if test -n "$STRIP"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6832 $as_echo "$STRIP" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839 fi
6840 if test -z "$ac_cv_prog_STRIP"; then
6841   ac_ct_STRIP=$STRIP
6842   # Extract the first word of "strip", so it can be a program name with args.
6843 set dummy strip; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6847   $as_echo_n "(cached) " >&6
6848 else
6849   if test -n "$ac_ct_STRIP"; then
6850   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6851 else
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 for as_dir in $PATH
6854 do
6855   IFS=$as_save_IFS
6856   test -z "$as_dir" && as_dir=.
6857     for ac_exec_ext in '' $ac_executable_extensions; do
6858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6859     ac_cv_prog_ac_ct_STRIP="strip"
6860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861     break 2
6862   fi
6863 done
6864   done
6865 IFS=$as_save_IFS
6866
6867 fi
6868 fi
6869 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6870 if test -n "$ac_ct_STRIP"; then
6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6872 $as_echo "$ac_ct_STRIP" >&6; }
6873 else
6874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6876 fi
6877
6878   if test "x$ac_ct_STRIP" = x; then
6879     STRIP=":"
6880   else
6881     case $cross_compiling:$ac_tool_warned in
6882 yes:)
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6886 esac
6887     STRIP=$ac_ct_STRIP
6888   fi
6889 else
6890   STRIP="$ac_cv_prog_STRIP"
6891 fi
6892
6893 test -z "$STRIP" && STRIP=:
6894
6895
6896
6897
6898
6899
6900 if test -n "$ac_tool_prefix"; then
6901   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6904 $as_echo_n "checking for $ac_word... " >&6; }
6905 if ${ac_cv_prog_RANLIB+:} false; then :
6906   $as_echo_n "(cached) " >&6
6907 else
6908   if test -n "$RANLIB"; then
6909   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6910 else
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912 for as_dir in $PATH
6913 do
6914   IFS=$as_save_IFS
6915   test -z "$as_dir" && as_dir=.
6916     for ac_exec_ext in '' $ac_executable_extensions; do
6917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6920     break 2
6921   fi
6922 done
6923   done
6924 IFS=$as_save_IFS
6925
6926 fi
6927 fi
6928 RANLIB=$ac_cv_prog_RANLIB
6929 if test -n "$RANLIB"; then
6930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6931 $as_echo "$RANLIB" >&6; }
6932 else
6933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6934 $as_echo "no" >&6; }
6935 fi
6936
6937
6938 fi
6939 if test -z "$ac_cv_prog_RANLIB"; then
6940   ac_ct_RANLIB=$RANLIB
6941   # Extract the first word of "ranlib", so it can be a program name with args.
6942 set dummy ranlib; 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_ac_ct_RANLIB+:} false; then :
6946   $as_echo_n "(cached) " >&6
6947 else
6948   if test -n "$ac_ct_RANLIB"; then
6949   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6969 if test -n "$ac_ct_RANLIB"; then
6970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6971 $as_echo "$ac_ct_RANLIB" >&6; }
6972 else
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6975 fi
6976
6977   if test "x$ac_ct_RANLIB" = x; then
6978     RANLIB=":"
6979   else
6980     case $cross_compiling:$ac_tool_warned in
6981 yes:)
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6984 ac_tool_warned=yes ;;
6985 esac
6986     RANLIB=$ac_ct_RANLIB
6987   fi
6988 else
6989   RANLIB="$ac_cv_prog_RANLIB"
6990 fi
6991
6992 test -z "$RANLIB" && RANLIB=:
6993
6994
6995
6996
6997
6998
6999 # Determine commands to create old-style static archives.
7000 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7001 old_postinstall_cmds='chmod 644 $oldlib'
7002 old_postuninstall_cmds=
7003
7004 if test -n "$RANLIB"; then
7005   case $host_os in
7006   bitrig* | openbsd*)
7007     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7008     ;;
7009   *)
7010     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7011     ;;
7012   esac
7013   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7014 fi
7015
7016 case $host_os in
7017   darwin*)
7018     lock_old_archive_extraction=yes ;;
7019   *)
7020     lock_old_archive_extraction=no ;;
7021 esac
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061 # If no C compiler was specified, use CC.
7062 LTCC=${LTCC-"$CC"}
7063
7064 # If no C compiler flags were specified, use CFLAGS.
7065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7066
7067 # Allow CC to be a program name with arguments.
7068 compiler=$CC
7069
7070
7071 # Check for command to grab the raw symbol name followed by C symbol from nm.
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7073 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7074 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7075   $as_echo_n "(cached) " >&6
7076 else
7077
7078 # These are sane defaults that work on at least a few old systems.
7079 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7080
7081 # Character class describing NM global symbol codes.
7082 symcode='[BCDEGRST]'
7083
7084 # Regexp to match symbols that can be accessed directly from C.
7085 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7086
7087 # Define system-specific variables.
7088 case $host_os in
7089 aix*)
7090   symcode='[BCDT]'
7091   ;;
7092 cygwin* | mingw* | pw32* | cegcc*)
7093   symcode='[ABCDGISTW]'
7094   ;;
7095 hpux*)
7096   if test ia64 = "$host_cpu"; then
7097     symcode='[ABCDEGRST]'
7098   fi
7099   ;;
7100 irix* | nonstopux*)
7101   symcode='[BCDEGRST]'
7102   ;;
7103 osf*)
7104   symcode='[BCDEGQRST]'
7105   ;;
7106 solaris*)
7107   symcode='[BDRT]'
7108   ;;
7109 sco3.2v5*)
7110   symcode='[DT]'
7111   ;;
7112 sysv4.2uw2*)
7113   symcode='[DT]'
7114   ;;
7115 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7116   symcode='[ABDT]'
7117   ;;
7118 sysv4)
7119   symcode='[DFNSTU]'
7120   ;;
7121 esac
7122
7123 # If we're using GNU nm, then use its standard symbol codes.
7124 case `$NM -V 2>&1` in
7125 *GNU* | *'with BFD'*)
7126   symcode='[ABCDGIRSTW]' ;;
7127 esac
7128
7129 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7130   # Gets list of data symbols to import.
7131   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7132   # Adjust the below global symbol transforms to fixup imported variables.
7133   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7134   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7135   lt_c_name_lib_hook="\
7136   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7137   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7138 else
7139   # Disable hooks by default.
7140   lt_cv_sys_global_symbol_to_import=
7141   lt_cdecl_hook=
7142   lt_c_name_hook=
7143   lt_c_name_lib_hook=
7144 fi
7145
7146 # Transform an extracted symbol line into a proper C declaration.
7147 # Some systems (esp. on ia64) link data and code symbols differently,
7148 # so use this general approach.
7149 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7150 $lt_cdecl_hook\
7151 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7152 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7153
7154 # Transform an extracted symbol line into symbol name and symbol address
7155 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7156 $lt_c_name_hook\
7157 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7158 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7159
7160 # Transform an extracted symbol line into symbol name with lib prefix and
7161 # symbol address.
7162 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7163 $lt_c_name_lib_hook\
7164 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7165 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7166 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7167
7168 # Handle CRLF in mingw tool chain
7169 opt_cr=
7170 case $build_os in
7171 mingw*)
7172   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7173   ;;
7174 esac
7175
7176 # Try without a prefix underscore, then with it.
7177 for ac_symprfx in "" "_"; do
7178
7179   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7180   symxfrm="\\1 $ac_symprfx\\2 \\2"
7181
7182   # Write the raw and C identifiers.
7183   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7184     # Fake it for dumpbin and say T for any non-static function,
7185     # D for any global variable and I for any imported variable.
7186     # Also find C++ and __fastcall symbols from MSVC++,
7187     # which start with @ or ?.
7188     lt_cv_sys_global_symbol_pipe="$AWK '"\
7189 "     {last_section=section; section=\$ 3};"\
7190 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7191 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7192 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7193 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7194 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7195 "     \$ 0!~/External *\|/{next};"\
7196 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7197 "     {if(hide[section]) next};"\
7198 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7199 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7200 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7201 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7202 "     ' prfx=^$ac_symprfx"
7203   else
7204     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7205   fi
7206   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7207
7208   # Check to see that the pipe works correctly.
7209   pipe_works=no
7210
7211   rm -f conftest*
7212   cat > conftest.$ac_ext <<_LT_EOF
7213 #ifdef __cplusplus
7214 extern "C" {
7215 #endif
7216 char nm_test_var;
7217 void nm_test_func(void);
7218 void nm_test_func(void){}
7219 #ifdef __cplusplus
7220 }
7221 #endif
7222 int main(){nm_test_var='a';nm_test_func();return(0);}
7223 _LT_EOF
7224
7225   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7226   (eval $ac_compile) 2>&5
7227   ac_status=$?
7228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7229   test $ac_status = 0; }; then
7230     # Now try to grab the symbols.
7231     nlist=conftest.nm
7232     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7233   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7234   ac_status=$?
7235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7236   test $ac_status = 0; } && test -s "$nlist"; then
7237       # Try sorting and uniquifying the output.
7238       if sort "$nlist" | uniq > "$nlist"T; then
7239         mv -f "$nlist"T "$nlist"
7240       else
7241         rm -f "$nlist"T
7242       fi
7243
7244       # Make sure that we snagged all the symbols we need.
7245       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7246         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7247           cat <<_LT_EOF > conftest.$ac_ext
7248 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7249 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7250 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7251    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7252 # define LT_DLSYM_CONST
7253 #elif defined __osf__
7254 /* This system does not cope well with relocations in const data.  */
7255 # define LT_DLSYM_CONST
7256 #else
7257 # define LT_DLSYM_CONST const
7258 #endif
7259
7260 #ifdef __cplusplus
7261 extern "C" {
7262 #endif
7263
7264 _LT_EOF
7265           # Now generate the symbol file.
7266           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7267
7268           cat <<_LT_EOF >> conftest.$ac_ext
7269
7270 /* The mapping between symbol names and symbols.  */
7271 LT_DLSYM_CONST struct {
7272   const char *name;
7273   void       *address;
7274 }
7275 lt__PROGRAM__LTX_preloaded_symbols[] =
7276 {
7277   { "@PROGRAM@", (void *) 0 },
7278 _LT_EOF
7279           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7280           cat <<\_LT_EOF >> conftest.$ac_ext
7281   {0, (void *) 0}
7282 };
7283
7284 /* This works around a problem in FreeBSD linker */
7285 #ifdef FREEBSD_WORKAROUND
7286 static const void *lt_preloaded_setup() {
7287   return lt__PROGRAM__LTX_preloaded_symbols;
7288 }
7289 #endif
7290
7291 #ifdef __cplusplus
7292 }
7293 #endif
7294 _LT_EOF
7295           # Now try linking the two files.
7296           mv conftest.$ac_objext conftstm.$ac_objext
7297           lt_globsym_save_LIBS=$LIBS
7298           lt_globsym_save_CFLAGS=$CFLAGS
7299           LIBS=conftstm.$ac_objext
7300           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7301           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7302   (eval $ac_link) 2>&5
7303   ac_status=$?
7304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7305   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7306             pipe_works=yes
7307           fi
7308           LIBS=$lt_globsym_save_LIBS
7309           CFLAGS=$lt_globsym_save_CFLAGS
7310         else
7311           echo "cannot find nm_test_func in $nlist" >&5
7312         fi
7313       else
7314         echo "cannot find nm_test_var in $nlist" >&5
7315       fi
7316     else
7317       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7318     fi
7319   else
7320     echo "$progname: failed program was:" >&5
7321     cat conftest.$ac_ext >&5
7322   fi
7323   rm -rf conftest* conftst*
7324
7325   # Do not use the global_symbol_pipe unless it works.
7326   if test yes = "$pipe_works"; then
7327     break
7328   else
7329     lt_cv_sys_global_symbol_pipe=
7330   fi
7331 done
7332
7333 fi
7334
7335 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7336   lt_cv_sys_global_symbol_to_cdecl=
7337 fi
7338 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7340 $as_echo "failed" >&6; }
7341 else
7342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7343 $as_echo "ok" >&6; }
7344 fi
7345
7346 # Response file support.
7347 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7348   nm_file_list_spec='@'
7349 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7350   nm_file_list_spec='@'
7351 fi
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7390 $as_echo_n "checking for sysroot... " >&6; }
7391
7392 # Check whether --with-sysroot was given.
7393 if test "${with_sysroot+set}" = set; then :
7394   withval=$with_sysroot;
7395 else
7396   with_sysroot=no
7397 fi
7398
7399
7400 lt_sysroot=
7401 case $with_sysroot in #(
7402  yes)
7403    if test yes = "$GCC"; then
7404      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7405    fi
7406    ;; #(
7407  /*)
7408    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7409    ;; #(
7410  no|'')
7411    ;; #(
7412  *)
7413    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7414 $as_echo "$with_sysroot" >&6; }
7415    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7416    ;;
7417 esac
7418
7419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7420 $as_echo "${lt_sysroot:-no}" >&6; }
7421
7422
7423
7424
7425
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7427 $as_echo_n "checking for a working dd... " >&6; }
7428 if ${ac_cv_path_lt_DD+:} false; then :
7429   $as_echo_n "(cached) " >&6
7430 else
7431   printf 0123456789abcdef0123456789abcdef >conftest.i
7432 cat conftest.i conftest.i >conftest2.i
7433 : ${lt_DD:=$DD}
7434 if test -z "$lt_DD"; then
7435   ac_path_lt_DD_found=false
7436   # Loop through the user's path and test for each of PROGNAME-LIST
7437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440   IFS=$as_save_IFS
7441   test -z "$as_dir" && as_dir=.
7442     for ac_prog in dd; do
7443     for ac_exec_ext in '' $ac_executable_extensions; do
7444       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7445       as_fn_executable_p "$ac_path_lt_DD" || continue
7446 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7447   cmp -s conftest.i conftest.out \
7448   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7449 fi
7450       $ac_path_lt_DD_found && break 3
7451     done
7452   done
7453   done
7454 IFS=$as_save_IFS
7455   if test -z "$ac_cv_path_lt_DD"; then
7456     :
7457   fi
7458 else
7459   ac_cv_path_lt_DD=$lt_DD
7460 fi
7461
7462 rm -f conftest.i conftest2.i conftest.out
7463 fi
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7465 $as_echo "$ac_cv_path_lt_DD" >&6; }
7466
7467
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7469 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7470 if ${lt_cv_truncate_bin+:} false; then :
7471   $as_echo_n "(cached) " >&6
7472 else
7473   printf 0123456789abcdef0123456789abcdef >conftest.i
7474 cat conftest.i conftest.i >conftest2.i
7475 lt_cv_truncate_bin=
7476 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7477   cmp -s conftest.i conftest.out \
7478   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7479 fi
7480 rm -f conftest.i conftest2.i conftest.out
7481 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7482 fi
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7484 $as_echo "$lt_cv_truncate_bin" >&6; }
7485
7486
7487
7488
7489
7490
7491
7492 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7493 func_cc_basename ()
7494 {
7495     for cc_temp in $*""; do
7496       case $cc_temp in
7497         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7498         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7499         \-*) ;;
7500         *) break;;
7501       esac
7502     done
7503     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7504 }
7505
7506 # Check whether --enable-libtool-lock was given.
7507 if test "${enable_libtool_lock+set}" = set; then :
7508   enableval=$enable_libtool_lock;
7509 fi
7510
7511 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7512
7513 # Some flags need to be propagated to the compiler or linker for good
7514 # libtool support.
7515 case $host in
7516 ia64-*-hpux*)
7517   # Find out what ABI is being produced by ac_compile, and set mode
7518   # options accordingly.
7519   echo 'int i;' > conftest.$ac_ext
7520   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7521   (eval $ac_compile) 2>&5
7522   ac_status=$?
7523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7524   test $ac_status = 0; }; then
7525     case `/usr/bin/file conftest.$ac_objext` in
7526       *ELF-32*)
7527         HPUX_IA64_MODE=32
7528         ;;
7529       *ELF-64*)
7530         HPUX_IA64_MODE=64
7531         ;;
7532     esac
7533   fi
7534   rm -rf conftest*
7535   ;;
7536 *-*-irix6*)
7537   # Find out what ABI is being produced by ac_compile, and set linker
7538   # options accordingly.
7539   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7540   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7541   (eval $ac_compile) 2>&5
7542   ac_status=$?
7543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544   test $ac_status = 0; }; then
7545     if test yes = "$lt_cv_prog_gnu_ld"; then
7546       case `/usr/bin/file conftest.$ac_objext` in
7547         *32-bit*)
7548           LD="${LD-ld} -melf32bsmip"
7549           ;;
7550         *N32*)
7551           LD="${LD-ld} -melf32bmipn32"
7552           ;;
7553         *64-bit*)
7554           LD="${LD-ld} -melf64bmip"
7555         ;;
7556       esac
7557     else
7558       case `/usr/bin/file conftest.$ac_objext` in
7559         *32-bit*)
7560           LD="${LD-ld} -32"
7561           ;;
7562         *N32*)
7563           LD="${LD-ld} -n32"
7564           ;;
7565         *64-bit*)
7566           LD="${LD-ld} -64"
7567           ;;
7568       esac
7569     fi
7570   fi
7571   rm -rf conftest*
7572   ;;
7573
7574 mips64*-*linux*)
7575   # Find out what ABI is being produced by ac_compile, and set linker
7576   # options accordingly.
7577   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7578   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579   (eval $ac_compile) 2>&5
7580   ac_status=$?
7581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582   test $ac_status = 0; }; then
7583     emul=elf
7584     case `/usr/bin/file conftest.$ac_objext` in
7585       *32-bit*)
7586         emul="${emul}32"
7587         ;;
7588       *64-bit*)
7589         emul="${emul}64"
7590         ;;
7591     esac
7592     case `/usr/bin/file conftest.$ac_objext` in
7593       *MSB*)
7594         emul="${emul}btsmip"
7595         ;;
7596       *LSB*)
7597         emul="${emul}ltsmip"
7598         ;;
7599     esac
7600     case `/usr/bin/file conftest.$ac_objext` in
7601       *N32*)
7602         emul="${emul}n32"
7603         ;;
7604     esac
7605     LD="${LD-ld} -m $emul"
7606   fi
7607   rm -rf conftest*
7608   ;;
7609
7610 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7611 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7612   # Find out what ABI is being produced by ac_compile, and set linker
7613   # options accordingly.  Note that the listed cases only cover the
7614   # situations where additional linker options are needed (such as when
7615   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7616   # vice versa); the common cases where no linker options are needed do
7617   # not appear in the list.
7618   echo 'int i;' > conftest.$ac_ext
7619   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7620   (eval $ac_compile) 2>&5
7621   ac_status=$?
7622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7623   test $ac_status = 0; }; then
7624     case `/usr/bin/file conftest.o` in
7625       *32-bit*)
7626         case $host in
7627           x86_64-*kfreebsd*-gnu)
7628             LD="${LD-ld} -m elf_i386_fbsd"
7629             ;;
7630           x86_64-*linux*)
7631             case `/usr/bin/file conftest.o` in
7632               *x86-64*)
7633                 LD="${LD-ld} -m elf32_x86_64"
7634                 ;;
7635               *)
7636                 LD="${LD-ld} -m elf_i386"
7637                 ;;
7638             esac
7639             ;;
7640           powerpc64le-*linux*)
7641             LD="${LD-ld} -m elf32lppclinux"
7642             ;;
7643           powerpc64-*linux*)
7644             LD="${LD-ld} -m elf32ppclinux"
7645             ;;
7646           s390x-*linux*)
7647             LD="${LD-ld} -m elf_s390"
7648             ;;
7649           sparc64-*linux*)
7650             LD="${LD-ld} -m elf32_sparc"
7651             ;;
7652         esac
7653         ;;
7654       *64-bit*)
7655         case $host in
7656           x86_64-*kfreebsd*-gnu)
7657             LD="${LD-ld} -m elf_x86_64_fbsd"
7658             ;;
7659           x86_64-*linux*)
7660             LD="${LD-ld} -m elf_x86_64"
7661             ;;
7662           powerpcle-*linux*)
7663             LD="${LD-ld} -m elf64lppc"
7664             ;;
7665           powerpc-*linux*)
7666             LD="${LD-ld} -m elf64ppc"
7667             ;;
7668           s390*-*linux*|s390*-*tpf*)
7669             LD="${LD-ld} -m elf64_s390"
7670             ;;
7671           sparc*-*linux*)
7672             LD="${LD-ld} -m elf64_sparc"
7673             ;;
7674         esac
7675         ;;
7676     esac
7677   fi
7678   rm -rf conftest*
7679   ;;
7680
7681 *-*-sco3.2v5*)
7682   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7683   SAVE_CFLAGS=$CFLAGS
7684   CFLAGS="$CFLAGS -belf"
7685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7686 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7687 if ${lt_cv_cc_needs_belf+:} false; then :
7688   $as_echo_n "(cached) " >&6
7689 else
7690   ac_ext=c
7691 ac_cpp='$CPP $CPPFLAGS'
7692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7695
7696      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h.  */
7698
7699 int
7700 main ()
7701 {
7702
7703   ;
7704   return 0;
7705 }
7706 _ACEOF
7707 if ac_fn_c_try_link "$LINENO"; then :
7708   lt_cv_cc_needs_belf=yes
7709 else
7710   lt_cv_cc_needs_belf=no
7711 fi
7712 rm -f core conftest.err conftest.$ac_objext \
7713     conftest$ac_exeext conftest.$ac_ext
7714      ac_ext=c
7715 ac_cpp='$CPP $CPPFLAGS'
7716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7719
7720 fi
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7722 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7723   if test yes != "$lt_cv_cc_needs_belf"; then
7724     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7725     CFLAGS=$SAVE_CFLAGS
7726   fi
7727   ;;
7728 *-*solaris*)
7729   # Find out what ABI is being produced by ac_compile, and set linker
7730   # options accordingly.
7731   echo 'int i;' > conftest.$ac_ext
7732   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7733   (eval $ac_compile) 2>&5
7734   ac_status=$?
7735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736   test $ac_status = 0; }; then
7737     case `/usr/bin/file conftest.o` in
7738     *64-bit*)
7739       case $lt_cv_prog_gnu_ld in
7740       yes*)
7741         case $host in
7742         i?86-*-solaris*|x86_64-*-solaris*)
7743           LD="${LD-ld} -m elf_x86_64"
7744           ;;
7745         sparc*-*-solaris*)
7746           LD="${LD-ld} -m elf64_sparc"
7747           ;;
7748         esac
7749         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7750         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7751           LD=${LD-ld}_sol2
7752         fi
7753         ;;
7754       *)
7755         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7756           LD="${LD-ld} -64"
7757         fi
7758         ;;
7759       esac
7760       ;;
7761     esac
7762   fi
7763   rm -rf conftest*
7764   ;;
7765 esac
7766
7767 need_locks=$enable_libtool_lock
7768
7769 if test -n "$ac_tool_prefix"; then
7770   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7771 set dummy ${ac_tool_prefix}mt; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773 $as_echo_n "checking for $ac_word... " >&6; }
7774 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7775   $as_echo_n "(cached) " >&6
7776 else
7777   if test -n "$MANIFEST_TOOL"; then
7778   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7779 else
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781 for as_dir in $PATH
7782 do
7783   IFS=$as_save_IFS
7784   test -z "$as_dir" && as_dir=.
7785     for ac_exec_ext in '' $ac_executable_extensions; do
7786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789     break 2
7790   fi
7791 done
7792   done
7793 IFS=$as_save_IFS
7794
7795 fi
7796 fi
7797 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7798 if test -n "$MANIFEST_TOOL"; then
7799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7800 $as_echo "$MANIFEST_TOOL" >&6; }
7801 else
7802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7804 fi
7805
7806
7807 fi
7808 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7809   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7810   # Extract the first word of "mt", so it can be a program name with args.
7811 set dummy mt; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7814 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7815   $as_echo_n "(cached) " >&6
7816 else
7817   if test -n "$ac_ct_MANIFEST_TOOL"; then
7818   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7819 else
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 for as_dir in $PATH
7822 do
7823   IFS=$as_save_IFS
7824   test -z "$as_dir" && as_dir=.
7825     for ac_exec_ext in '' $ac_executable_extensions; do
7826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829     break 2
7830   fi
7831 done
7832   done
7833 IFS=$as_save_IFS
7834
7835 fi
7836 fi
7837 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7838 if test -n "$ac_ct_MANIFEST_TOOL"; then
7839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7840 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7841 else
7842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7844 fi
7845
7846   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7847     MANIFEST_TOOL=":"
7848   else
7849     case $cross_compiling:$ac_tool_warned in
7850 yes:)
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7853 ac_tool_warned=yes ;;
7854 esac
7855     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7856   fi
7857 else
7858   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7859 fi
7860
7861 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7863 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7864 if ${lt_cv_path_mainfest_tool+:} false; then :
7865   $as_echo_n "(cached) " >&6
7866 else
7867   lt_cv_path_mainfest_tool=no
7868   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7869   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7870   cat conftest.err >&5
7871   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7872     lt_cv_path_mainfest_tool=yes
7873   fi
7874   rm -f conftest*
7875 fi
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7877 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7878 if test yes != "$lt_cv_path_mainfest_tool"; then
7879   MANIFEST_TOOL=:
7880 fi
7881
7882
7883
7884
7885
7886
7887   case $host_os in
7888     rhapsody* | darwin*)
7889     if test -n "$ac_tool_prefix"; then
7890   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7891 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893 $as_echo_n "checking for $ac_word... " >&6; }
7894 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7895   $as_echo_n "(cached) " >&6
7896 else
7897   if test -n "$DSYMUTIL"; then
7898   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7899 else
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901 for as_dir in $PATH
7902 do
7903   IFS=$as_save_IFS
7904   test -z "$as_dir" && as_dir=.
7905     for ac_exec_ext in '' $ac_executable_extensions; do
7906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909     break 2
7910   fi
7911 done
7912   done
7913 IFS=$as_save_IFS
7914
7915 fi
7916 fi
7917 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7918 if test -n "$DSYMUTIL"; then
7919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7920 $as_echo "$DSYMUTIL" >&6; }
7921 else
7922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7924 fi
7925
7926
7927 fi
7928 if test -z "$ac_cv_prog_DSYMUTIL"; then
7929   ac_ct_DSYMUTIL=$DSYMUTIL
7930   # Extract the first word of "dsymutil", so it can be a program name with args.
7931 set dummy dsymutil; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7935   $as_echo_n "(cached) " >&6
7936 else
7937   if test -n "$ac_ct_DSYMUTIL"; then
7938   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7942 do
7943   IFS=$as_save_IFS
7944   test -z "$as_dir" && as_dir=.
7945     for ac_exec_ext in '' $ac_executable_extensions; do
7946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7947     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949     break 2
7950   fi
7951 done
7952   done
7953 IFS=$as_save_IFS
7954
7955 fi
7956 fi
7957 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7958 if test -n "$ac_ct_DSYMUTIL"; then
7959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7960 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7961 else
7962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7964 fi
7965
7966   if test "x$ac_ct_DSYMUTIL" = x; then
7967     DSYMUTIL=":"
7968   else
7969     case $cross_compiling:$ac_tool_warned in
7970 yes:)
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973 ac_tool_warned=yes ;;
7974 esac
7975     DSYMUTIL=$ac_ct_DSYMUTIL
7976   fi
7977 else
7978   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7979 fi
7980
7981     if test -n "$ac_tool_prefix"; then
7982   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7983 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if ${ac_cv_prog_NMEDIT+:} false; then :
7987   $as_echo_n "(cached) " >&6
7988 else
7989   if test -n "$NMEDIT"; then
7990   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7991 else
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 for as_dir in $PATH
7994 do
7995   IFS=$as_save_IFS
7996   test -z "$as_dir" && as_dir=.
7997     for ac_exec_ext in '' $ac_executable_extensions; do
7998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001     break 2
8002   fi
8003 done
8004   done
8005 IFS=$as_save_IFS
8006
8007 fi
8008 fi
8009 NMEDIT=$ac_cv_prog_NMEDIT
8010 if test -n "$NMEDIT"; then
8011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8012 $as_echo "$NMEDIT" >&6; }
8013 else
8014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8016 fi
8017
8018
8019 fi
8020 if test -z "$ac_cv_prog_NMEDIT"; then
8021   ac_ct_NMEDIT=$NMEDIT
8022   # Extract the first word of "nmedit", so it can be a program name with args.
8023 set dummy nmedit; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8027   $as_echo_n "(cached) " >&6
8028 else
8029   if test -n "$ac_ct_NMEDIT"; then
8030   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8031 else
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 for as_dir in $PATH
8034 do
8035   IFS=$as_save_IFS
8036   test -z "$as_dir" && as_dir=.
8037     for ac_exec_ext in '' $ac_executable_extensions; do
8038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8039     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041     break 2
8042   fi
8043 done
8044   done
8045 IFS=$as_save_IFS
8046
8047 fi
8048 fi
8049 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8050 if test -n "$ac_ct_NMEDIT"; then
8051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8052 $as_echo "$ac_ct_NMEDIT" >&6; }
8053 else
8054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055 $as_echo "no" >&6; }
8056 fi
8057
8058   if test "x$ac_ct_NMEDIT" = x; then
8059     NMEDIT=":"
8060   else
8061     case $cross_compiling:$ac_tool_warned in
8062 yes:)
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065 ac_tool_warned=yes ;;
8066 esac
8067     NMEDIT=$ac_ct_NMEDIT
8068   fi
8069 else
8070   NMEDIT="$ac_cv_prog_NMEDIT"
8071 fi
8072
8073     if test -n "$ac_tool_prefix"; then
8074   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8075 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077 $as_echo_n "checking for $ac_word... " >&6; }
8078 if ${ac_cv_prog_LIPO+:} false; then :
8079   $as_echo_n "(cached) " >&6
8080 else
8081   if test -n "$LIPO"; then
8082   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8083 else
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 for as_dir in $PATH
8086 do
8087   IFS=$as_save_IFS
8088   test -z "$as_dir" && as_dir=.
8089     for ac_exec_ext in '' $ac_executable_extensions; do
8090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093     break 2
8094   fi
8095 done
8096   done
8097 IFS=$as_save_IFS
8098
8099 fi
8100 fi
8101 LIPO=$ac_cv_prog_LIPO
8102 if test -n "$LIPO"; then
8103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8104 $as_echo "$LIPO" >&6; }
8105 else
8106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107 $as_echo "no" >&6; }
8108 fi
8109
8110
8111 fi
8112 if test -z "$ac_cv_prog_LIPO"; then
8113   ac_ct_LIPO=$LIPO
8114   # Extract the first word of "lipo", so it can be a program name with args.
8115 set dummy lipo; ac_word=$2
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117 $as_echo_n "checking for $ac_word... " >&6; }
8118 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8119   $as_echo_n "(cached) " >&6
8120 else
8121   if test -n "$ac_ct_LIPO"; then
8122   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8123 else
8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 for as_dir in $PATH
8126 do
8127   IFS=$as_save_IFS
8128   test -z "$as_dir" && as_dir=.
8129     for ac_exec_ext in '' $ac_executable_extensions; do
8130   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8131     ac_cv_prog_ac_ct_LIPO="lipo"
8132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133     break 2
8134   fi
8135 done
8136   done
8137 IFS=$as_save_IFS
8138
8139 fi
8140 fi
8141 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8142 if test -n "$ac_ct_LIPO"; then
8143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8144 $as_echo "$ac_ct_LIPO" >&6; }
8145 else
8146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8148 fi
8149
8150   if test "x$ac_ct_LIPO" = x; then
8151     LIPO=":"
8152   else
8153     case $cross_compiling:$ac_tool_warned in
8154 yes:)
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157 ac_tool_warned=yes ;;
8158 esac
8159     LIPO=$ac_ct_LIPO
8160   fi
8161 else
8162   LIPO="$ac_cv_prog_LIPO"
8163 fi
8164
8165     if test -n "$ac_tool_prefix"; then
8166   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8167 set dummy ${ac_tool_prefix}otool; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if ${ac_cv_prog_OTOOL+:} false; then :
8171   $as_echo_n "(cached) " >&6
8172 else
8173   if test -n "$OTOOL"; then
8174   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8178 do
8179   IFS=$as_save_IFS
8180   test -z "$as_dir" && as_dir=.
8181     for ac_exec_ext in '' $ac_executable_extensions; do
8182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8183     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185     break 2
8186   fi
8187 done
8188   done
8189 IFS=$as_save_IFS
8190
8191 fi
8192 fi
8193 OTOOL=$ac_cv_prog_OTOOL
8194 if test -n "$OTOOL"; then
8195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8196 $as_echo "$OTOOL" >&6; }
8197 else
8198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199 $as_echo "no" >&6; }
8200 fi
8201
8202
8203 fi
8204 if test -z "$ac_cv_prog_OTOOL"; then
8205   ac_ct_OTOOL=$OTOOL
8206   # Extract the first word of "otool", so it can be a program name with args.
8207 set dummy otool; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8211   $as_echo_n "(cached) " >&6
8212 else
8213   if test -n "$ac_ct_OTOOL"; then
8214   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8215 else
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 for as_dir in $PATH
8218 do
8219   IFS=$as_save_IFS
8220   test -z "$as_dir" && as_dir=.
8221     for ac_exec_ext in '' $ac_executable_extensions; do
8222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8223     ac_cv_prog_ac_ct_OTOOL="otool"
8224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225     break 2
8226   fi
8227 done
8228   done
8229 IFS=$as_save_IFS
8230
8231 fi
8232 fi
8233 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8234 if test -n "$ac_ct_OTOOL"; then
8235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8236 $as_echo "$ac_ct_OTOOL" >&6; }
8237 else
8238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8240 fi
8241
8242   if test "x$ac_ct_OTOOL" = x; then
8243     OTOOL=":"
8244   else
8245     case $cross_compiling:$ac_tool_warned in
8246 yes:)
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8249 ac_tool_warned=yes ;;
8250 esac
8251     OTOOL=$ac_ct_OTOOL
8252   fi
8253 else
8254   OTOOL="$ac_cv_prog_OTOOL"
8255 fi
8256
8257     if test -n "$ac_tool_prefix"; then
8258   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8259 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8261 $as_echo_n "checking for $ac_word... " >&6; }
8262 if ${ac_cv_prog_OTOOL64+:} false; then :
8263   $as_echo_n "(cached) " >&6
8264 else
8265   if test -n "$OTOOL64"; then
8266   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8267 else
8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 for as_dir in $PATH
8270 do
8271   IFS=$as_save_IFS
8272   test -z "$as_dir" && as_dir=.
8273     for ac_exec_ext in '' $ac_executable_extensions; do
8274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8275     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8277     break 2
8278   fi
8279 done
8280   done
8281 IFS=$as_save_IFS
8282
8283 fi
8284 fi
8285 OTOOL64=$ac_cv_prog_OTOOL64
8286 if test -n "$OTOOL64"; then
8287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8288 $as_echo "$OTOOL64" >&6; }
8289 else
8290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291 $as_echo "no" >&6; }
8292 fi
8293
8294
8295 fi
8296 if test -z "$ac_cv_prog_OTOOL64"; then
8297   ac_ct_OTOOL64=$OTOOL64
8298   # Extract the first word of "otool64", so it can be a program name with args.
8299 set dummy otool64; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301 $as_echo_n "checking for $ac_word... " >&6; }
8302 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8303   $as_echo_n "(cached) " >&6
8304 else
8305   if test -n "$ac_ct_OTOOL64"; then
8306   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8307 else
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 for as_dir in $PATH
8310 do
8311   IFS=$as_save_IFS
8312   test -z "$as_dir" && as_dir=.
8313     for ac_exec_ext in '' $ac_executable_extensions; do
8314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8315     ac_cv_prog_ac_ct_OTOOL64="otool64"
8316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8317     break 2
8318   fi
8319 done
8320   done
8321 IFS=$as_save_IFS
8322
8323 fi
8324 fi
8325 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8326 if test -n "$ac_ct_OTOOL64"; then
8327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8328 $as_echo "$ac_ct_OTOOL64" >&6; }
8329 else
8330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8332 fi
8333
8334   if test "x$ac_ct_OTOOL64" = x; then
8335     OTOOL64=":"
8336   else
8337     case $cross_compiling:$ac_tool_warned in
8338 yes:)
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8341 ac_tool_warned=yes ;;
8342 esac
8343     OTOOL64=$ac_ct_OTOOL64
8344   fi
8345 else
8346   OTOOL64="$ac_cv_prog_OTOOL64"
8347 fi
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8376 $as_echo_n "checking for -single_module linker flag... " >&6; }
8377 if ${lt_cv_apple_cc_single_mod+:} false; then :
8378   $as_echo_n "(cached) " >&6
8379 else
8380   lt_cv_apple_cc_single_mod=no
8381       if test -z "$LT_MULTI_MODULE"; then
8382         # By default we will add the -single_module flag. You can override
8383         # by either setting the environment variable LT_MULTI_MODULE
8384         # non-empty at configure time, or by adding -multi_module to the
8385         # link flags.
8386         rm -rf libconftest.dylib*
8387         echo "int foo(void){return 1;}" > conftest.c
8388         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8389 -dynamiclib -Wl,-single_module conftest.c" >&5
8390         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8391           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8392         _lt_result=$?
8393         # If there is a non-empty error log, and "single_module"
8394         # appears in it, assume the flag caused a linker warning
8395         if test -s conftest.err && $GREP single_module conftest.err; then
8396           cat conftest.err >&5
8397         # Otherwise, if the output was created with a 0 exit code from
8398         # the compiler, it worked.
8399         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8400           lt_cv_apple_cc_single_mod=yes
8401         else
8402           cat conftest.err >&5
8403         fi
8404         rm -rf libconftest.dylib*
8405         rm -f conftest.*
8406       fi
8407 fi
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8409 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8410
8411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8412 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8413 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8414   $as_echo_n "(cached) " >&6
8415 else
8416   lt_cv_ld_exported_symbols_list=no
8417       save_LDFLAGS=$LDFLAGS
8418       echo "_main" > conftest.sym
8419       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h.  */
8422
8423 int
8424 main ()
8425 {
8426
8427   ;
8428   return 0;
8429 }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432   lt_cv_ld_exported_symbols_list=yes
8433 else
8434   lt_cv_ld_exported_symbols_list=no
8435 fi
8436 rm -f core conftest.err conftest.$ac_objext \
8437     conftest$ac_exeext conftest.$ac_ext
8438         LDFLAGS=$save_LDFLAGS
8439
8440 fi
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8442 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8443
8444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8445 $as_echo_n "checking for -force_load linker flag... " >&6; }
8446 if ${lt_cv_ld_force_load+:} false; then :
8447   $as_echo_n "(cached) " >&6
8448 else
8449   lt_cv_ld_force_load=no
8450       cat > conftest.c << _LT_EOF
8451 int forced_loaded() { return 2;}
8452 _LT_EOF
8453       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8454       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8455       echo "$AR cru libconftest.a conftest.o" >&5
8456       $AR cru libconftest.a conftest.o 2>&5
8457       echo "$RANLIB libconftest.a" >&5
8458       $RANLIB libconftest.a 2>&5
8459       cat > conftest.c << _LT_EOF
8460 int main() { return 0;}
8461 _LT_EOF
8462       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8463       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8464       _lt_result=$?
8465       if test -s conftest.err && $GREP force_load conftest.err; then
8466         cat conftest.err >&5
8467       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8468         lt_cv_ld_force_load=yes
8469       else
8470         cat conftest.err >&5
8471       fi
8472         rm -f conftest.err libconftest.a conftest conftest.c
8473         rm -rf conftest.dSYM
8474
8475 fi
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8477 $as_echo "$lt_cv_ld_force_load" >&6; }
8478     case $host_os in
8479     rhapsody* | darwin1.[012])
8480       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8481     darwin1.*)
8482       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8483     darwin*) # darwin 5.x on
8484       # if running on 10.5 or later, the deployment target defaults
8485       # to the OS version, if on x86, and 10.4, the deployment
8486       # target defaults to 10.4. Don't you love it?
8487       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8488         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8489           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8490         10.[012][,.]*)
8491           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8492         10.*)
8493           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8494       esac
8495     ;;
8496   esac
8497     if test yes = "$lt_cv_apple_cc_single_mod"; then
8498       _lt_dar_single_mod='$single_module'
8499     fi
8500     if test yes = "$lt_cv_ld_exported_symbols_list"; then
8501       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8502     else
8503       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8504     fi
8505     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8506       _lt_dsymutil='~$DSYMUTIL $lib || :'
8507     else
8508       _lt_dsymutil=
8509     fi
8510     ;;
8511   esac
8512
8513 # func_munge_path_list VARIABLE PATH
8514 # -----------------------------------
8515 # VARIABLE is name of variable containing _space_ separated list of
8516 # directories to be munged by the contents of PATH, which is string
8517 # having a format:
8518 # "DIR[:DIR]:"
8519 #       string "DIR[ DIR]" will be prepended to VARIABLE
8520 # ":DIR[:DIR]"
8521 #       string "DIR[ DIR]" will be appended to VARIABLE
8522 # "DIRP[:DIRP]::[DIRA:]DIRA"
8523 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8524 #       "DIRA[ DIRA]" will be appended to VARIABLE
8525 # "DIR[:DIR]"
8526 #       VARIABLE will be replaced by "DIR[ DIR]"
8527 func_munge_path_list ()
8528 {
8529     case x$2 in
8530     x)
8531         ;;
8532     *:)
8533         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8534         ;;
8535     x:*)
8536         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8537         ;;
8538     *::*)
8539         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8540         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8541         ;;
8542     *)
8543         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8544         ;;
8545     esac
8546 }
8547
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8549 $as_echo_n "checking for ANSI C header files... " >&6; }
8550 if ${ac_cv_header_stdc+:} false; then :
8551   $as_echo_n "(cached) " >&6
8552 else
8553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h.  */
8555 #include <stdlib.h>
8556 #include <stdarg.h>
8557 #include <string.h>
8558 #include <float.h>
8559
8560 int
8561 main ()
8562 {
8563
8564   ;
8565   return 0;
8566 }
8567 _ACEOF
8568 if ac_fn_c_try_compile "$LINENO"; then :
8569   ac_cv_header_stdc=yes
8570 else
8571   ac_cv_header_stdc=no
8572 fi
8573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8574
8575 if test $ac_cv_header_stdc = yes; then
8576   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h.  */
8579 #include <string.h>
8580
8581 _ACEOF
8582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8583   $EGREP "memchr" >/dev/null 2>&1; then :
8584
8585 else
8586   ac_cv_header_stdc=no
8587 fi
8588 rm -f conftest*
8589
8590 fi
8591
8592 if test $ac_cv_header_stdc = yes; then
8593   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h.  */
8596 #include <stdlib.h>
8597
8598 _ACEOF
8599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8600   $EGREP "free" >/dev/null 2>&1; then :
8601
8602 else
8603   ac_cv_header_stdc=no
8604 fi
8605 rm -f conftest*
8606
8607 fi
8608
8609 if test $ac_cv_header_stdc = yes; then
8610   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8611   if test "$cross_compiling" = yes; then :
8612   :
8613 else
8614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h.  */
8616 #include <ctype.h>
8617 #include <stdlib.h>
8618 #if ((' ' & 0x0FF) == 0x020)
8619 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8620 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8621 #else
8622 # define ISLOWER(c) \
8623                    (('a' <= (c) && (c) <= 'i') \
8624                      || ('j' <= (c) && (c) <= 'r') \
8625                      || ('s' <= (c) && (c) <= 'z'))
8626 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8627 #endif
8628
8629 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8630 int
8631 main ()
8632 {
8633   int i;
8634   for (i = 0; i < 256; i++)
8635     if (XOR (islower (i), ISLOWER (i))
8636         || toupper (i) != TOUPPER (i))
8637       return 2;
8638   return 0;
8639 }
8640 _ACEOF
8641 if ac_fn_c_try_run "$LINENO"; then :
8642
8643 else
8644   ac_cv_header_stdc=no
8645 fi
8646 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8647   conftest.$ac_objext conftest.beam conftest.$ac_ext
8648 fi
8649
8650 fi
8651 fi
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8653 $as_echo "$ac_cv_header_stdc" >&6; }
8654 if test $ac_cv_header_stdc = yes; then
8655
8656 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8657
8658 fi
8659
8660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8661 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8662                   inttypes.h stdint.h unistd.h
8663 do :
8664   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8665 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8666 "
8667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8668   cat >>confdefs.h <<_ACEOF
8669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8670 _ACEOF
8671
8672 fi
8673
8674 done
8675
8676
8677 for ac_header in dlfcn.h
8678 do :
8679   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8680 "
8681 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8682   cat >>confdefs.h <<_ACEOF
8683 #define HAVE_DLFCN_H 1
8684 _ACEOF
8685
8686 fi
8687
8688 done
8689
8690
8691
8692
8693
8694 # Set options
8695 enable_dlopen=yes
8696 enable_win32_dll=yes
8697
8698 case $host in
8699 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8700   if test -n "$ac_tool_prefix"; then
8701   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8702 set dummy ${ac_tool_prefix}as; ac_word=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_prog_AS+:} false; then :
8706   $as_echo_n "(cached) " >&6
8707 else
8708   if test -n "$AS"; then
8709   ac_cv_prog_AS="$AS" # Let the user override the test.
8710 else
8711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8712 for as_dir in $PATH
8713 do
8714   IFS=$as_save_IFS
8715   test -z "$as_dir" && as_dir=.
8716     for ac_exec_ext in '' $ac_executable_extensions; do
8717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8718     ac_cv_prog_AS="${ac_tool_prefix}as"
8719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720     break 2
8721   fi
8722 done
8723   done
8724 IFS=$as_save_IFS
8725
8726 fi
8727 fi
8728 AS=$ac_cv_prog_AS
8729 if test -n "$AS"; then
8730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8731 $as_echo "$AS" >&6; }
8732 else
8733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734 $as_echo "no" >&6; }
8735 fi
8736
8737
8738 fi
8739 if test -z "$ac_cv_prog_AS"; then
8740   ac_ct_AS=$AS
8741   # Extract the first word of "as", so it can be a program name with args.
8742 set dummy as; ac_word=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8746   $as_echo_n "(cached) " >&6
8747 else
8748   if test -n "$ac_ct_AS"; then
8749   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8750 else
8751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8752 for as_dir in $PATH
8753 do
8754   IFS=$as_save_IFS
8755   test -z "$as_dir" && as_dir=.
8756     for ac_exec_ext in '' $ac_executable_extensions; do
8757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8758     ac_cv_prog_ac_ct_AS="as"
8759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760     break 2
8761   fi
8762 done
8763   done
8764 IFS=$as_save_IFS
8765
8766 fi
8767 fi
8768 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8769 if test -n "$ac_ct_AS"; then
8770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8771 $as_echo "$ac_ct_AS" >&6; }
8772 else
8773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8775 fi
8776
8777   if test "x$ac_ct_AS" = x; then
8778     AS="false"
8779   else
8780     case $cross_compiling:$ac_tool_warned in
8781 yes:)
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8784 ac_tool_warned=yes ;;
8785 esac
8786     AS=$ac_ct_AS
8787   fi
8788 else
8789   AS="$ac_cv_prog_AS"
8790 fi
8791
8792   if test -n "$ac_tool_prefix"; then
8793   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8794 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8796 $as_echo_n "checking for $ac_word... " >&6; }
8797 if ${ac_cv_prog_DLLTOOL+:} false; then :
8798   $as_echo_n "(cached) " >&6
8799 else
8800   if test -n "$DLLTOOL"; then
8801   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8802 else
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 for as_dir in $PATH
8805 do
8806   IFS=$as_save_IFS
8807   test -z "$as_dir" && as_dir=.
8808     for ac_exec_ext in '' $ac_executable_extensions; do
8809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8812     break 2
8813   fi
8814 done
8815   done
8816 IFS=$as_save_IFS
8817
8818 fi
8819 fi
8820 DLLTOOL=$ac_cv_prog_DLLTOOL
8821 if test -n "$DLLTOOL"; then
8822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8823 $as_echo "$DLLTOOL" >&6; }
8824 else
8825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8826 $as_echo "no" >&6; }
8827 fi
8828
8829
8830 fi
8831 if test -z "$ac_cv_prog_DLLTOOL"; then
8832   ac_ct_DLLTOOL=$DLLTOOL
8833   # Extract the first word of "dlltool", so it can be a program name with args.
8834 set dummy dlltool; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8838   $as_echo_n "(cached) " >&6
8839 else
8840   if test -n "$ac_ct_DLLTOOL"; then
8841   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8842 else
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844 for as_dir in $PATH
8845 do
8846   IFS=$as_save_IFS
8847   test -z "$as_dir" && as_dir=.
8848     for ac_exec_ext in '' $ac_executable_extensions; do
8849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852     break 2
8853   fi
8854 done
8855   done
8856 IFS=$as_save_IFS
8857
8858 fi
8859 fi
8860 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8861 if test -n "$ac_ct_DLLTOOL"; then
8862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8863 $as_echo "$ac_ct_DLLTOOL" >&6; }
8864 else
8865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8867 fi
8868
8869   if test "x$ac_ct_DLLTOOL" = x; then
8870     DLLTOOL="false"
8871   else
8872     case $cross_compiling:$ac_tool_warned in
8873 yes:)
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8876 ac_tool_warned=yes ;;
8877 esac
8878     DLLTOOL=$ac_ct_DLLTOOL
8879   fi
8880 else
8881   DLLTOOL="$ac_cv_prog_DLLTOOL"
8882 fi
8883
8884   if test -n "$ac_tool_prefix"; then
8885   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8886 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8888 $as_echo_n "checking for $ac_word... " >&6; }
8889 if ${ac_cv_prog_OBJDUMP+:} false; then :
8890   $as_echo_n "(cached) " >&6
8891 else
8892   if test -n "$OBJDUMP"; then
8893   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8894 else
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 for as_dir in $PATH
8897 do
8898   IFS=$as_save_IFS
8899   test -z "$as_dir" && as_dir=.
8900     for ac_exec_ext in '' $ac_executable_extensions; do
8901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8902     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8904     break 2
8905   fi
8906 done
8907   done
8908 IFS=$as_save_IFS
8909
8910 fi
8911 fi
8912 OBJDUMP=$ac_cv_prog_OBJDUMP
8913 if test -n "$OBJDUMP"; then
8914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8915 $as_echo "$OBJDUMP" >&6; }
8916 else
8917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8918 $as_echo "no" >&6; }
8919 fi
8920
8921
8922 fi
8923 if test -z "$ac_cv_prog_OBJDUMP"; then
8924   ac_ct_OBJDUMP=$OBJDUMP
8925   # Extract the first word of "objdump", so it can be a program name with args.
8926 set dummy objdump; ac_word=$2
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8928 $as_echo_n "checking for $ac_word... " >&6; }
8929 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8930   $as_echo_n "(cached) " >&6
8931 else
8932   if test -n "$ac_ct_OBJDUMP"; then
8933   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8934 else
8935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936 for as_dir in $PATH
8937 do
8938   IFS=$as_save_IFS
8939   test -z "$as_dir" && as_dir=.
8940     for ac_exec_ext in '' $ac_executable_extensions; do
8941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944     break 2
8945   fi
8946 done
8947   done
8948 IFS=$as_save_IFS
8949
8950 fi
8951 fi
8952 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8953 if test -n "$ac_ct_OBJDUMP"; then
8954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8955 $as_echo "$ac_ct_OBJDUMP" >&6; }
8956 else
8957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8958 $as_echo "no" >&6; }
8959 fi
8960
8961   if test "x$ac_ct_OBJDUMP" = x; then
8962     OBJDUMP="false"
8963   else
8964     case $cross_compiling:$ac_tool_warned in
8965 yes:)
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8968 ac_tool_warned=yes ;;
8969 esac
8970     OBJDUMP=$ac_ct_OBJDUMP
8971   fi
8972 else
8973   OBJDUMP="$ac_cv_prog_OBJDUMP"
8974 fi
8975
8976   ;;
8977 esac
8978
8979 test -z "$AS" && AS=as
8980
8981
8982
8983
8984
8985 test -z "$DLLTOOL" && DLLTOOL=dlltool
8986
8987
8988
8989
8990
8991 test -z "$OBJDUMP" && OBJDUMP=objdump
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001             # Check whether --enable-shared was given.
9002 if test "${enable_shared+set}" = set; then :
9003   enableval=$enable_shared; p=${PACKAGE-default}
9004     case $enableval in
9005     yes) enable_shared=yes ;;
9006     no) enable_shared=no ;;
9007     *)
9008       enable_shared=no
9009       # Look at the argument we got.  We use all the common list separators.
9010       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9011       for pkg in $enableval; do
9012         IFS=$lt_save_ifs
9013         if test "X$pkg" = "X$p"; then
9014           enable_shared=yes
9015         fi
9016       done
9017       IFS=$lt_save_ifs
9018       ;;
9019     esac
9020 else
9021   enable_shared=yes
9022 fi
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032   # Check whether --enable-static was given.
9033 if test "${enable_static+set}" = set; then :
9034   enableval=$enable_static; p=${PACKAGE-default}
9035     case $enableval in
9036     yes) enable_static=yes ;;
9037     no) enable_static=no ;;
9038     *)
9039      enable_static=no
9040       # Look at the argument we got.  We use all the common list separators.
9041       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9042       for pkg in $enableval; do
9043         IFS=$lt_save_ifs
9044         if test "X$pkg" = "X$p"; then
9045           enable_static=yes
9046         fi
9047       done
9048       IFS=$lt_save_ifs
9049       ;;
9050     esac
9051 else
9052   enable_static=yes
9053 fi
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064 # Check whether --with-pic was given.
9065 if test "${with_pic+set}" = set; then :
9066   withval=$with_pic; lt_p=${PACKAGE-default}
9067     case $withval in
9068     yes|no) pic_mode=$withval ;;
9069     *)
9070       pic_mode=default
9071       # Look at the argument we got.  We use all the common list separators.
9072       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9073       for lt_pkg in $withval; do
9074         IFS=$lt_save_ifs
9075         if test "X$lt_pkg" = "X$lt_p"; then
9076           pic_mode=yes
9077         fi
9078       done
9079       IFS=$lt_save_ifs
9080       ;;
9081     esac
9082 else
9083   pic_mode=default
9084 fi
9085
9086
9087
9088
9089
9090
9091
9092
9093   # Check whether --enable-fast-install was given.
9094 if test "${enable_fast_install+set}" = set; then :
9095   enableval=$enable_fast_install; p=${PACKAGE-default}
9096     case $enableval in
9097     yes) enable_fast_install=yes ;;
9098     no) enable_fast_install=no ;;
9099     *)
9100       enable_fast_install=no
9101       # Look at the argument we got.  We use all the common list separators.
9102       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9103       for pkg in $enableval; do
9104         IFS=$lt_save_ifs
9105         if test "X$pkg" = "X$p"; then
9106           enable_fast_install=yes
9107         fi
9108       done
9109       IFS=$lt_save_ifs
9110       ;;
9111     esac
9112 else
9113   enable_fast_install=yes
9114 fi
9115
9116
9117
9118
9119
9120
9121
9122
9123   shared_archive_member_spec=
9124 case $host,$enable_shared in
9125 power*-*-aix[5-9]*,yes)
9126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9127 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9128
9129 # Check whether --with-aix-soname was given.
9130 if test "${with_aix_soname+set}" = set; then :
9131   withval=$with_aix_soname; case $withval in
9132     aix|svr4|both)
9133       ;;
9134     *)
9135       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9136       ;;
9137     esac
9138     lt_cv_with_aix_soname=$with_aix_soname
9139 else
9140   if ${lt_cv_with_aix_soname+:} false; then :
9141   $as_echo_n "(cached) " >&6
9142 else
9143   lt_cv_with_aix_soname=aix
9144 fi
9145
9146     with_aix_soname=$lt_cv_with_aix_soname
9147 fi
9148
9149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9150 $as_echo "$with_aix_soname" >&6; }
9151   if test aix != "$with_aix_soname"; then
9152     # For the AIX way of multilib, we name the shared archive member
9153     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9154     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9155     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9156     # the AIX toolchain works better with OBJECT_MODE set (default 32).
9157     if test 64 = "${OBJECT_MODE-32}"; then
9158       shared_archive_member_spec=shr_64
9159     else
9160       shared_archive_member_spec=shr
9161     fi
9162   fi
9163   ;;
9164 *)
9165   with_aix_soname=aix
9166   ;;
9167 esac
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178 # This can be used to rebuild libtool when needed
9179 LIBTOOL_DEPS=$ltmain
9180
9181 # Always use our own libtool.
9182 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213 test -z "$LN_S" && LN_S="ln -s"
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228 if test -n "${ZSH_VERSION+set}"; then
9229    setopt NO_GLOB_SUBST
9230 fi
9231
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9233 $as_echo_n "checking for objdir... " >&6; }
9234 if ${lt_cv_objdir+:} false; then :
9235   $as_echo_n "(cached) " >&6
9236 else
9237   rm -f .libs 2>/dev/null
9238 mkdir .libs 2>/dev/null
9239 if test -d .libs; then
9240   lt_cv_objdir=.libs
9241 else
9242   # MS-DOS does not allow filenames that begin with a dot.
9243   lt_cv_objdir=_libs
9244 fi
9245 rmdir .libs 2>/dev/null
9246 fi
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9248 $as_echo "$lt_cv_objdir" >&6; }
9249 objdir=$lt_cv_objdir
9250
9251
9252
9253
9254
9255 cat >>confdefs.h <<_ACEOF
9256 #define LT_OBJDIR "$lt_cv_objdir/"
9257 _ACEOF
9258
9259
9260
9261
9262 case $host_os in
9263 aix3*)
9264   # AIX sometimes has problems with the GCC collect2 program.  For some
9265   # reason, if we set the COLLECT_NAMES environment variable, the problems
9266   # vanish in a puff of smoke.
9267   if test set != "${COLLECT_NAMES+set}"; then
9268     COLLECT_NAMES=
9269     export COLLECT_NAMES
9270   fi
9271   ;;
9272 esac
9273
9274 # Global variables:
9275 ofile=libtool
9276 can_build_shared=yes
9277
9278 # All known linkers require a '.a' archive for static linking (except MSVC,
9279 # which needs '.lib').
9280 libext=a
9281
9282 with_gnu_ld=$lt_cv_prog_gnu_ld
9283
9284 old_CC=$CC
9285 old_CFLAGS=$CFLAGS
9286
9287 # Set sane defaults for various variables
9288 test -z "$CC" && CC=cc
9289 test -z "$LTCC" && LTCC=$CC
9290 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9291 test -z "$LD" && LD=ld
9292 test -z "$ac_objext" && ac_objext=o
9293
9294 func_cc_basename $compiler
9295 cc_basename=$func_cc_basename_result
9296
9297
9298 # Only perform the check for file, if the check method requires it
9299 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9300 case $deplibs_check_method in
9301 file_magic*)
9302   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9303     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9304 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9305 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9306   $as_echo_n "(cached) " >&6
9307 else
9308   case $MAGIC_CMD in
9309 [\\/*] |  ?:[\\/]*)
9310   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9311   ;;
9312 *)
9313   lt_save_MAGIC_CMD=$MAGIC_CMD
9314   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9315   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9316   for ac_dir in $ac_dummy; do
9317     IFS=$lt_save_ifs
9318     test -z "$ac_dir" && ac_dir=.
9319     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9320       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9321       if test -n "$file_magic_test_file"; then
9322         case $deplibs_check_method in
9323         "file_magic "*)
9324           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9325           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9326           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9327             $EGREP "$file_magic_regex" > /dev/null; then
9328             :
9329           else
9330             cat <<_LT_EOF 1>&2
9331
9332 *** Warning: the command libtool uses to detect shared libraries,
9333 *** $file_magic_cmd, produces output that libtool cannot recognize.
9334 *** The result is that libtool may fail to recognize shared libraries
9335 *** as such.  This will affect the creation of libtool libraries that
9336 *** depend on shared libraries, but programs linked with such libtool
9337 *** libraries will work regardless of this problem.  Nevertheless, you
9338 *** may want to report the problem to your system manager and/or to
9339 *** bug-libtool@gnu.org
9340
9341 _LT_EOF
9342           fi ;;
9343         esac
9344       fi
9345       break
9346     fi
9347   done
9348   IFS=$lt_save_ifs
9349   MAGIC_CMD=$lt_save_MAGIC_CMD
9350   ;;
9351 esac
9352 fi
9353
9354 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9355 if test -n "$MAGIC_CMD"; then
9356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9357 $as_echo "$MAGIC_CMD" >&6; }
9358 else
9359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9360 $as_echo "no" >&6; }
9361 fi
9362
9363
9364
9365
9366
9367 if test -z "$lt_cv_path_MAGIC_CMD"; then
9368   if test -n "$ac_tool_prefix"; then
9369     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9370 $as_echo_n "checking for file... " >&6; }
9371 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9372   $as_echo_n "(cached) " >&6
9373 else
9374   case $MAGIC_CMD in
9375 [\\/*] |  ?:[\\/]*)
9376   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9377   ;;
9378 *)
9379   lt_save_MAGIC_CMD=$MAGIC_CMD
9380   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9381   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9382   for ac_dir in $ac_dummy; do
9383     IFS=$lt_save_ifs
9384     test -z "$ac_dir" && ac_dir=.
9385     if test -f "$ac_dir/file"; then
9386       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9387       if test -n "$file_magic_test_file"; then
9388         case $deplibs_check_method in
9389         "file_magic "*)
9390           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9391           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9392           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9393             $EGREP "$file_magic_regex" > /dev/null; then
9394             :
9395           else
9396             cat <<_LT_EOF 1>&2
9397
9398 *** Warning: the command libtool uses to detect shared libraries,
9399 *** $file_magic_cmd, produces output that libtool cannot recognize.
9400 *** The result is that libtool may fail to recognize shared libraries
9401 *** as such.  This will affect the creation of libtool libraries that
9402 *** depend on shared libraries, but programs linked with such libtool
9403 *** libraries will work regardless of this problem.  Nevertheless, you
9404 *** may want to report the problem to your system manager and/or to
9405 *** bug-libtool@gnu.org
9406
9407 _LT_EOF
9408           fi ;;
9409         esac
9410       fi
9411       break
9412     fi
9413   done
9414   IFS=$lt_save_ifs
9415   MAGIC_CMD=$lt_save_MAGIC_CMD
9416   ;;
9417 esac
9418 fi
9419
9420 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9421 if test -n "$MAGIC_CMD"; then
9422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9423 $as_echo "$MAGIC_CMD" >&6; }
9424 else
9425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9426 $as_echo "no" >&6; }
9427 fi
9428
9429
9430   else
9431     MAGIC_CMD=:
9432   fi
9433 fi
9434
9435   fi
9436   ;;
9437 esac
9438
9439 # Use C for the default configuration in the libtool script
9440
9441 lt_save_CC=$CC
9442 ac_ext=c
9443 ac_cpp='$CPP $CPPFLAGS'
9444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9447
9448
9449 # Source file extension for C test sources.
9450 ac_ext=c
9451
9452 # Object file extension for compiled C test sources.
9453 objext=o
9454 objext=$objext
9455
9456 # Code to be used in simple compile tests
9457 lt_simple_compile_test_code="int some_variable = 0;"
9458
9459 # Code to be used in simple link tests
9460 lt_simple_link_test_code='int main(){return(0);}'
9461
9462
9463
9464
9465
9466
9467
9468 # If no C compiler was specified, use CC.
9469 LTCC=${LTCC-"$CC"}
9470
9471 # If no C compiler flags were specified, use CFLAGS.
9472 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9473
9474 # Allow CC to be a program name with arguments.
9475 compiler=$CC
9476
9477 # Save the default compiler, since it gets overwritten when the other
9478 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9479 compiler_DEFAULT=$CC
9480
9481 # save warnings/boilerplate of simple test code
9482 ac_outfile=conftest.$ac_objext
9483 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9484 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9485 _lt_compiler_boilerplate=`cat conftest.err`
9486 $RM conftest*
9487
9488 ac_outfile=conftest.$ac_objext
9489 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9490 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9491 _lt_linker_boilerplate=`cat conftest.err`
9492 $RM -r conftest*
9493
9494
9495 ## CAVEAT EMPTOR:
9496 ## There is no encapsulation within the following macros, do not change
9497 ## the running order or otherwise move them around unless you know exactly
9498 ## what you are doing...
9499 if test -n "$compiler"; then
9500
9501 lt_prog_compiler_no_builtin_flag=
9502
9503 if test yes = "$GCC"; then
9504   case $cc_basename in
9505   nvcc*)
9506     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9507   *)
9508     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9509   esac
9510
9511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9512 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9513 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9514   $as_echo_n "(cached) " >&6
9515 else
9516   lt_cv_prog_compiler_rtti_exceptions=no
9517    ac_outfile=conftest.$ac_objext
9518    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9519    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9520    # Insert the option either (1) after the last *FLAGS variable, or
9521    # (2) before a word containing "conftest.", or (3) at the end.
9522    # Note that $ac_compile itself does not contain backslashes and begins
9523    # with a dollar sign (not a hyphen), so the echo should work correctly.
9524    # The option is referenced via a variable to avoid confusing sed.
9525    lt_compile=`echo "$ac_compile" | $SED \
9526    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9527    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9528    -e 's:$: $lt_compiler_flag:'`
9529    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9530    (eval "$lt_compile" 2>conftest.err)
9531    ac_status=$?
9532    cat conftest.err >&5
9533    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534    if (exit $ac_status) && test -s "$ac_outfile"; then
9535      # The compiler can only warn and ignore the option if not recognized
9536      # So say no if there are warnings other than the usual output.
9537      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9538      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9539      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9540        lt_cv_prog_compiler_rtti_exceptions=yes
9541      fi
9542    fi
9543    $RM conftest*
9544
9545 fi
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9547 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9548
9549 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9550     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9551 else
9552     :
9553 fi
9554
9555 fi
9556
9557
9558
9559
9560
9561
9562   lt_prog_compiler_wl=
9563 lt_prog_compiler_pic=
9564 lt_prog_compiler_static=
9565
9566
9567   if test yes = "$GCC"; then
9568     lt_prog_compiler_wl='-Wl,'
9569     lt_prog_compiler_static='-static'
9570
9571     case $host_os in
9572       aix*)
9573       # All AIX code is PIC.
9574       if test ia64 = "$host_cpu"; then
9575         # AIX 5 now supports IA64 processor
9576         lt_prog_compiler_static='-Bstatic'
9577       fi
9578       lt_prog_compiler_pic='-fPIC'
9579       ;;
9580
9581     amigaos*)
9582       case $host_cpu in
9583       powerpc)
9584             # see comment about AmigaOS4 .so support
9585             lt_prog_compiler_pic='-fPIC'
9586         ;;
9587       m68k)
9588             # FIXME: we need at least 68020 code to build shared libraries, but
9589             # adding the '-m68020' flag to GCC prevents building anything better,
9590             # like '-m68040'.
9591             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9592         ;;
9593       esac
9594       ;;
9595
9596     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9597       # PIC is the default for these OSes.
9598       ;;
9599
9600     mingw* | cygwin* | pw32* | os2* | cegcc*)
9601       # This hack is so that the source file can tell whether it is being
9602       # built for inclusion in a dll (and should export symbols for example).
9603       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9604       # (--disable-auto-import) libraries
9605       lt_prog_compiler_pic='-DDLL_EXPORT'
9606       case $host_os in
9607       os2*)
9608         lt_prog_compiler_static='$wl-static'
9609         ;;
9610       esac
9611       ;;
9612
9613     darwin* | rhapsody*)
9614       # PIC is the default on this platform
9615       # Common symbols not allowed in MH_DYLIB files
9616       lt_prog_compiler_pic='-fno-common'
9617       ;;
9618
9619     haiku*)
9620       # PIC is the default for Haiku.
9621       # The "-static" flag exists, but is broken.
9622       lt_prog_compiler_static=
9623       ;;
9624
9625     hpux*)
9626       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9627       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9628       # sets the default TLS model and affects inlining.
9629       case $host_cpu in
9630       hppa*64*)
9631         # +Z the default
9632         ;;
9633       *)
9634         lt_prog_compiler_pic='-fPIC'
9635         ;;
9636       esac
9637       ;;
9638
9639     interix[3-9]*)
9640       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9641       # Instead, we relocate shared libraries at runtime.
9642       ;;
9643
9644     msdosdjgpp*)
9645       # Just because we use GCC doesn't mean we suddenly get shared libraries
9646       # on systems that don't support them.
9647       lt_prog_compiler_can_build_shared=no
9648       enable_shared=no
9649       ;;
9650
9651     *nto* | *qnx*)
9652       # QNX uses GNU C++, but need to define -shared option too, otherwise
9653       # it will coredump.
9654       lt_prog_compiler_pic='-fPIC -shared'
9655       ;;
9656
9657     sysv4*MP*)
9658       if test -d /usr/nec; then
9659         lt_prog_compiler_pic=-Kconform_pic
9660       fi
9661       ;;
9662
9663     *)
9664       lt_prog_compiler_pic='-fPIC'
9665       ;;
9666     esac
9667
9668     case $cc_basename in
9669     nvcc*) # Cuda Compiler Driver 2.2
9670       lt_prog_compiler_wl='-Xlinker '
9671       if test -n "$lt_prog_compiler_pic"; then
9672         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9673       fi
9674       ;;
9675     esac
9676   else
9677     # PORTME Check for flag to pass linker flags through the system compiler.
9678     case $host_os in
9679     aix*)
9680       lt_prog_compiler_wl='-Wl,'
9681       if test ia64 = "$host_cpu"; then
9682         # AIX 5 now supports IA64 processor
9683         lt_prog_compiler_static='-Bstatic'
9684       else
9685         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9686       fi
9687       ;;
9688
9689     darwin* | rhapsody*)
9690       # PIC is the default on this platform
9691       # Common symbols not allowed in MH_DYLIB files
9692       lt_prog_compiler_pic='-fno-common'
9693       case $cc_basename in
9694       nagfor*)
9695         # NAG Fortran compiler
9696         lt_prog_compiler_wl='-Wl,-Wl,,'
9697         lt_prog_compiler_pic='-PIC'
9698         lt_prog_compiler_static='-Bstatic'
9699         ;;
9700       esac
9701       ;;
9702
9703     mingw* | cygwin* | pw32* | os2* | cegcc*)
9704       # This hack is so that the source file can tell whether it is being
9705       # built for inclusion in a dll (and should export symbols for example).
9706       lt_prog_compiler_pic='-DDLL_EXPORT'
9707       case $host_os in
9708       os2*)
9709         lt_prog_compiler_static='$wl-static'
9710         ;;
9711       esac
9712       ;;
9713
9714     hpux9* | hpux10* | hpux11*)
9715       lt_prog_compiler_wl='-Wl,'
9716       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9717       # not for PA HP-UX.
9718       case $host_cpu in
9719       hppa*64*|ia64*)
9720         # +Z the default
9721         ;;
9722       *)
9723         lt_prog_compiler_pic='+Z'
9724         ;;
9725       esac
9726       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9727       lt_prog_compiler_static='$wl-a ${wl}archive'
9728       ;;
9729
9730     irix5* | irix6* | nonstopux*)
9731       lt_prog_compiler_wl='-Wl,'
9732       # PIC (with -KPIC) is the default.
9733       lt_prog_compiler_static='-non_shared'
9734       ;;
9735
9736     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9737       case $cc_basename in
9738       # old Intel for x86_64, which still supported -KPIC.
9739       ecc*)
9740         lt_prog_compiler_wl='-Wl,'
9741         lt_prog_compiler_pic='-KPIC'
9742         lt_prog_compiler_static='-static'
9743         ;;
9744       # icc used to be incompatible with GCC.
9745       # ICC 10 doesn't accept -KPIC any more.
9746       icc* | ifort*)
9747         lt_prog_compiler_wl='-Wl,'
9748         lt_prog_compiler_pic='-fPIC'
9749         lt_prog_compiler_static='-static'
9750         ;;
9751       # Lahey Fortran 8.1.
9752       lf95*)
9753         lt_prog_compiler_wl='-Wl,'
9754         lt_prog_compiler_pic='--shared'
9755         lt_prog_compiler_static='--static'
9756         ;;
9757       nagfor*)
9758         # NAG Fortran compiler
9759         lt_prog_compiler_wl='-Wl,-Wl,,'
9760         lt_prog_compiler_pic='-PIC'
9761         lt_prog_compiler_static='-Bstatic'
9762         ;;
9763       tcc*)
9764         # Fabrice Bellard et al's Tiny C Compiler
9765         lt_prog_compiler_wl='-Wl,'
9766         lt_prog_compiler_pic='-fPIC'
9767         lt_prog_compiler_static='-static'
9768         ;;
9769       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9770         # Portland Group compilers (*not* the Pentium gcc compiler,
9771         # which looks to be a dead project)
9772         lt_prog_compiler_wl='-Wl,'
9773         lt_prog_compiler_pic='-fpic'
9774         lt_prog_compiler_static='-Bstatic'
9775         ;;
9776       ccc*)
9777         lt_prog_compiler_wl='-Wl,'
9778         # All Alpha code is PIC.
9779         lt_prog_compiler_static='-non_shared'
9780         ;;
9781       xl* | bgxl* | bgf* | mpixl*)
9782         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9783         lt_prog_compiler_wl='-Wl,'
9784         lt_prog_compiler_pic='-qpic'
9785         lt_prog_compiler_static='-qstaticlink'
9786         ;;
9787       *)
9788         case `$CC -V 2>&1 | sed 5q` in
9789         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9790           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9791           lt_prog_compiler_pic='-KPIC'
9792           lt_prog_compiler_static='-Bstatic'
9793           lt_prog_compiler_wl=''
9794           ;;
9795         *Sun\ F* | *Sun*Fortran*)
9796           lt_prog_compiler_pic='-KPIC'
9797           lt_prog_compiler_static='-Bstatic'
9798           lt_prog_compiler_wl='-Qoption ld '
9799           ;;
9800         *Sun\ C*)
9801           # Sun C 5.9
9802           lt_prog_compiler_pic='-KPIC'
9803           lt_prog_compiler_static='-Bstatic'
9804           lt_prog_compiler_wl='-Wl,'
9805           ;;
9806         *Intel*\ [CF]*Compiler*)
9807           lt_prog_compiler_wl='-Wl,'
9808           lt_prog_compiler_pic='-fPIC'
9809           lt_prog_compiler_static='-static'
9810           ;;
9811         *Portland\ Group*)
9812           lt_prog_compiler_wl='-Wl,'
9813           lt_prog_compiler_pic='-fpic'
9814           lt_prog_compiler_static='-Bstatic'
9815           ;;
9816         esac
9817         ;;
9818       esac
9819       ;;
9820
9821     newsos6)
9822       lt_prog_compiler_pic='-KPIC'
9823       lt_prog_compiler_static='-Bstatic'
9824       ;;
9825
9826     *nto* | *qnx*)
9827       # QNX uses GNU C++, but need to define -shared option too, otherwise
9828       # it will coredump.
9829       lt_prog_compiler_pic='-fPIC -shared'
9830       ;;
9831
9832     osf3* | osf4* | osf5*)
9833       lt_prog_compiler_wl='-Wl,'
9834       # All OSF/1 code is PIC.
9835       lt_prog_compiler_static='-non_shared'
9836       ;;
9837
9838     rdos*)
9839       lt_prog_compiler_static='-non_shared'
9840       ;;
9841
9842     solaris*)
9843       lt_prog_compiler_pic='-KPIC'
9844       lt_prog_compiler_static='-Bstatic'
9845       case $cc_basename in
9846       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9847         lt_prog_compiler_wl='-Qoption ld ';;
9848       *)
9849         lt_prog_compiler_wl='-Wl,';;
9850       esac
9851       ;;
9852
9853     sunos4*)
9854       lt_prog_compiler_wl='-Qoption ld '
9855       lt_prog_compiler_pic='-PIC'
9856       lt_prog_compiler_static='-Bstatic'
9857       ;;
9858
9859     sysv4 | sysv4.2uw2* | sysv4.3*)
9860       lt_prog_compiler_wl='-Wl,'
9861       lt_prog_compiler_pic='-KPIC'
9862       lt_prog_compiler_static='-Bstatic'
9863       ;;
9864
9865     sysv4*MP*)
9866       if test -d /usr/nec; then
9867         lt_prog_compiler_pic='-Kconform_pic'
9868         lt_prog_compiler_static='-Bstatic'
9869       fi
9870       ;;
9871
9872     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9873       lt_prog_compiler_wl='-Wl,'
9874       lt_prog_compiler_pic='-KPIC'
9875       lt_prog_compiler_static='-Bstatic'
9876       ;;
9877
9878     unicos*)
9879       lt_prog_compiler_wl='-Wl,'
9880       lt_prog_compiler_can_build_shared=no
9881       ;;
9882
9883     uts4*)
9884       lt_prog_compiler_pic='-pic'
9885       lt_prog_compiler_static='-Bstatic'
9886       ;;
9887
9888     *)
9889       lt_prog_compiler_can_build_shared=no
9890       ;;
9891     esac
9892   fi
9893
9894 case $host_os in
9895   # For platforms that do not support PIC, -DPIC is meaningless:
9896   *djgpp*)
9897     lt_prog_compiler_pic=
9898     ;;
9899   *)
9900     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9901     ;;
9902 esac
9903
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9905 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9906 if ${lt_cv_prog_compiler_pic+:} false; then :
9907   $as_echo_n "(cached) " >&6
9908 else
9909   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9910 fi
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9912 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9913 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9914
9915 #
9916 # Check to make sure the PIC flag actually works.
9917 #
9918 if test -n "$lt_prog_compiler_pic"; then
9919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9921 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9922   $as_echo_n "(cached) " >&6
9923 else
9924   lt_cv_prog_compiler_pic_works=no
9925    ac_outfile=conftest.$ac_objext
9926    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9927    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9928    # Insert the option either (1) after the last *FLAGS variable, or
9929    # (2) before a word containing "conftest.", or (3) at the end.
9930    # Note that $ac_compile itself does not contain backslashes and begins
9931    # with a dollar sign (not a hyphen), so the echo should work correctly.
9932    # The option is referenced via a variable to avoid confusing sed.
9933    lt_compile=`echo "$ac_compile" | $SED \
9934    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9935    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9936    -e 's:$: $lt_compiler_flag:'`
9937    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9938    (eval "$lt_compile" 2>conftest.err)
9939    ac_status=$?
9940    cat conftest.err >&5
9941    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942    if (exit $ac_status) && test -s "$ac_outfile"; then
9943      # The compiler can only warn and ignore the option if not recognized
9944      # So say no if there are warnings other than the usual output.
9945      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9946      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9947      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9948        lt_cv_prog_compiler_pic_works=yes
9949      fi
9950    fi
9951    $RM conftest*
9952
9953 fi
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9956
9957 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9958     case $lt_prog_compiler_pic in
9959      "" | " "*) ;;
9960      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9961      esac
9962 else
9963     lt_prog_compiler_pic=
9964      lt_prog_compiler_can_build_shared=no
9965 fi
9966
9967 fi
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979 #
9980 # Check to make sure the static flag actually works.
9981 #
9982 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9984 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9985 if ${lt_cv_prog_compiler_static_works+:} false; then :
9986   $as_echo_n "(cached) " >&6
9987 else
9988   lt_cv_prog_compiler_static_works=no
9989    save_LDFLAGS=$LDFLAGS
9990    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9991    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9992    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9993      # The linker can only warn and ignore the option if not recognized
9994      # So say no if there are warnings
9995      if test -s conftest.err; then
9996        # Append any errors to the config.log.
9997        cat conftest.err 1>&5
9998        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9999        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10000        if diff conftest.exp conftest.er2 >/dev/null; then
10001          lt_cv_prog_compiler_static_works=yes
10002        fi
10003      else
10004        lt_cv_prog_compiler_static_works=yes
10005      fi
10006    fi
10007    $RM -r conftest*
10008    LDFLAGS=$save_LDFLAGS
10009
10010 fi
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10012 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10013
10014 if test yes = "$lt_cv_prog_compiler_static_works"; then
10015     :
10016 else
10017     lt_prog_compiler_static=
10018 fi
10019
10020
10021
10022
10023
10024
10025
10026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10027 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10028 if ${lt_cv_prog_compiler_c_o+:} false; then :
10029   $as_echo_n "(cached) " >&6
10030 else
10031   lt_cv_prog_compiler_c_o=no
10032    $RM -r conftest 2>/dev/null
10033    mkdir conftest
10034    cd conftest
10035    mkdir out
10036    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10037
10038    lt_compiler_flag="-o out/conftest2.$ac_objext"
10039    # Insert the option either (1) after the last *FLAGS variable, or
10040    # (2) before a word containing "conftest.", or (3) at the end.
10041    # Note that $ac_compile itself does not contain backslashes and begins
10042    # with a dollar sign (not a hyphen), so the echo should work correctly.
10043    lt_compile=`echo "$ac_compile" | $SED \
10044    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10045    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10046    -e 's:$: $lt_compiler_flag:'`
10047    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10048    (eval "$lt_compile" 2>out/conftest.err)
10049    ac_status=$?
10050    cat out/conftest.err >&5
10051    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10053    then
10054      # The compiler can only warn and ignore the option if not recognized
10055      # So say no if there are warnings
10056      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10057      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10058      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10059        lt_cv_prog_compiler_c_o=yes
10060      fi
10061    fi
10062    chmod u+w . 2>&5
10063    $RM conftest*
10064    # SGI C++ compiler will create directory out/ii_files/ for
10065    # template instantiation
10066    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10067    $RM out/* && rmdir out
10068    cd ..
10069    $RM -r conftest
10070    $RM conftest*
10071
10072 fi
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10074 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10075
10076
10077
10078
10079
10080
10081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10082 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10083 if ${lt_cv_prog_compiler_c_o+:} false; then :
10084   $as_echo_n "(cached) " >&6
10085 else
10086   lt_cv_prog_compiler_c_o=no
10087    $RM -r conftest 2>/dev/null
10088    mkdir conftest
10089    cd conftest
10090    mkdir out
10091    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10092
10093    lt_compiler_flag="-o out/conftest2.$ac_objext"
10094    # Insert the option either (1) after the last *FLAGS variable, or
10095    # (2) before a word containing "conftest.", or (3) at the end.
10096    # Note that $ac_compile itself does not contain backslashes and begins
10097    # with a dollar sign (not a hyphen), so the echo should work correctly.
10098    lt_compile=`echo "$ac_compile" | $SED \
10099    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10100    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10101    -e 's:$: $lt_compiler_flag:'`
10102    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10103    (eval "$lt_compile" 2>out/conftest.err)
10104    ac_status=$?
10105    cat out/conftest.err >&5
10106    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10108    then
10109      # The compiler can only warn and ignore the option if not recognized
10110      # So say no if there are warnings
10111      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10112      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10113      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10114        lt_cv_prog_compiler_c_o=yes
10115      fi
10116    fi
10117    chmod u+w . 2>&5
10118    $RM conftest*
10119    # SGI C++ compiler will create directory out/ii_files/ for
10120    # template instantiation
10121    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10122    $RM out/* && rmdir out
10123    cd ..
10124    $RM -r conftest
10125    $RM conftest*
10126
10127 fi
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10129 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10130
10131
10132
10133
10134 hard_links=nottested
10135 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10136   # do not overwrite the value of need_locks provided by the user
10137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10138 $as_echo_n "checking if we can lock with hard links... " >&6; }
10139   hard_links=yes
10140   $RM conftest*
10141   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10142   touch conftest.a
10143   ln conftest.a conftest.b 2>&5 || hard_links=no
10144   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10146 $as_echo "$hard_links" >&6; }
10147   if test no = "$hard_links"; then
10148     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10149 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10150     need_locks=warn
10151   fi
10152 else
10153   need_locks=no
10154 fi
10155
10156
10157
10158
10159
10160
10161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10162 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10163
10164   runpath_var=
10165   allow_undefined_flag=
10166   always_export_symbols=no
10167   archive_cmds=
10168   archive_expsym_cmds=
10169   compiler_needs_object=no
10170   enable_shared_with_static_runtimes=no
10171   export_dynamic_flag_spec=
10172   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10173   hardcode_automatic=no
10174   hardcode_direct=no
10175   hardcode_direct_absolute=no
10176   hardcode_libdir_flag_spec=
10177   hardcode_libdir_separator=
10178   hardcode_minus_L=no
10179   hardcode_shlibpath_var=unsupported
10180   inherit_rpath=no
10181   link_all_deplibs=unknown
10182   module_cmds=
10183   module_expsym_cmds=
10184   old_archive_from_new_cmds=
10185   old_archive_from_expsyms_cmds=
10186   thread_safe_flag_spec=
10187   whole_archive_flag_spec=
10188   # include_expsyms should be a list of space-separated symbols to be *always*
10189   # included in the symbol list
10190   include_expsyms=
10191   # exclude_expsyms can be an extended regexp of symbols to exclude
10192   # it will be wrapped by ' (' and ')$', so one must not match beginning or
10193   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10194   # as well as any symbol that contains 'd'.
10195   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10196   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10197   # platforms (ab)use it in PIC code, but their linkers get confused if
10198   # the symbol is explicitly referenced.  Since portable code cannot
10199   # rely on this symbol name, it's probably fine to never include it in
10200   # preloaded symbol tables.
10201   # Exclude shared library initialization/finalization symbols.
10202   extract_expsyms_cmds=
10203
10204   case $host_os in
10205   cygwin* | mingw* | pw32* | cegcc*)
10206     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10207     # When not using gcc, we currently assume that we are using
10208     # Microsoft Visual C++.
10209     if test yes != "$GCC"; then
10210       with_gnu_ld=no
10211     fi
10212     ;;
10213   interix*)
10214     # we just hope/assume this is gcc and not c89 (= MSVC++)
10215     with_gnu_ld=yes
10216     ;;
10217   openbsd* | bitrig*)
10218     with_gnu_ld=no
10219     ;;
10220   esac
10221
10222   ld_shlibs=yes
10223
10224   # On some targets, GNU ld is compatible enough with the native linker
10225   # that we're better off using the native interface for both.
10226   lt_use_gnu_ld_interface=no
10227   if test yes = "$with_gnu_ld"; then
10228     case $host_os in
10229       aix*)
10230         # The AIX port of GNU ld has always aspired to compatibility
10231         # with the native linker.  However, as the warning in the GNU ld
10232         # block says, versions before 2.19.5* couldn't really create working
10233         # shared libraries, regardless of the interface used.
10234         case `$LD -v 2>&1` in
10235           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10236           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10237           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10238           *)
10239             lt_use_gnu_ld_interface=yes
10240             ;;
10241         esac
10242         ;;
10243       *)
10244         lt_use_gnu_ld_interface=yes
10245         ;;
10246     esac
10247   fi
10248
10249   if test yes = "$lt_use_gnu_ld_interface"; then
10250     # If archive_cmds runs LD, not CC, wlarc should be empty
10251     wlarc='$wl'
10252
10253     # Set some defaults for GNU ld with shared library support. These
10254     # are reset later if shared libraries are not supported. Putting them
10255     # here allows them to be overridden if necessary.
10256     runpath_var=LD_RUN_PATH
10257     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10258     export_dynamic_flag_spec='$wl--export-dynamic'
10259     # ancient GNU ld didn't support --whole-archive et. al.
10260     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10261       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10262     else
10263       whole_archive_flag_spec=
10264     fi
10265     supports_anon_versioning=no
10266     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10267       *GNU\ gold*) supports_anon_versioning=yes ;;
10268       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10269       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10270       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10271       *\ 2.11.*) ;; # other 2.11 versions
10272       *) supports_anon_versioning=yes ;;
10273     esac
10274
10275     # See if GNU ld supports shared libraries.
10276     case $host_os in
10277     aix[3-9]*)
10278       # On AIX/PPC, the GNU linker is very broken
10279       if test ia64 != "$host_cpu"; then
10280         ld_shlibs=no
10281         cat <<_LT_EOF 1>&2
10282
10283 *** Warning: the GNU linker, at least up to release 2.19, is reported
10284 *** to be unable to reliably create shared libraries on AIX.
10285 *** Therefore, libtool is disabling shared libraries support.  If you
10286 *** really care for shared libraries, you may want to install binutils
10287 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10288 *** You will then need to restart the configuration process.
10289
10290 _LT_EOF
10291       fi
10292       ;;
10293
10294     amigaos*)
10295       case $host_cpu in
10296       powerpc)
10297             # see comment about AmigaOS4 .so support
10298             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10299             archive_expsym_cmds=''
10300         ;;
10301       m68k)
10302             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)'
10303             hardcode_libdir_flag_spec='-L$libdir'
10304             hardcode_minus_L=yes
10305         ;;
10306       esac
10307       ;;
10308
10309     beos*)
10310       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10311         allow_undefined_flag=unsupported
10312         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10313         # support --undefined.  This deserves some investigation.  FIXME
10314         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10315       else
10316         ld_shlibs=no
10317       fi
10318       ;;
10319
10320     cygwin* | mingw* | pw32* | cegcc*)
10321       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10322       # as there is no search path for DLLs.
10323       hardcode_libdir_flag_spec='-L$libdir'
10324       export_dynamic_flag_spec='$wl--export-all-symbols'
10325       allow_undefined_flag=unsupported
10326       always_export_symbols=no
10327       enable_shared_with_static_runtimes=yes
10328       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'
10329       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10330
10331       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10332         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10333         # If the export-symbols file already is a .def file, use it as
10334         # is; otherwise, prepend EXPORTS...
10335         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10336           cp $export_symbols $output_objdir/$soname.def;
10337         else
10338           echo EXPORTS > $output_objdir/$soname.def;
10339           cat $export_symbols >> $output_objdir/$soname.def;
10340         fi~
10341         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10342       else
10343         ld_shlibs=no
10344       fi
10345       ;;
10346
10347     haiku*)
10348       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10349       link_all_deplibs=yes
10350       ;;
10351
10352     os2*)
10353       hardcode_libdir_flag_spec='-L$libdir'
10354       hardcode_minus_L=yes
10355       allow_undefined_flag=unsupported
10356       shrext_cmds=.dll
10357       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10358         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10359         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10360         $ECHO EXPORTS >> $output_objdir/$libname.def~
10361         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10362         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10363         emximp -o $lib $output_objdir/$libname.def'
10364       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10365         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10366         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10367         $ECHO EXPORTS >> $output_objdir/$libname.def~
10368         prefix_cmds="$SED"~
10369         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10370           prefix_cmds="$prefix_cmds -e 1d";
10371         fi~
10372         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10373         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10374         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10375         emximp -o $lib $output_objdir/$libname.def'
10376       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10377       enable_shared_with_static_runtimes=yes
10378       ;;
10379
10380     interix[3-9]*)
10381       hardcode_direct=no
10382       hardcode_shlibpath_var=no
10383       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10384       export_dynamic_flag_spec='$wl-E'
10385       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10386       # Instead, shared libraries are loaded at an image base (0x10000000 by
10387       # default) and relocated if they conflict, which is a slow very memory
10388       # consuming and fragmenting process.  To avoid this, we pick a random,
10389       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10390       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10391       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10392       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'
10393       ;;
10394
10395     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10396       tmp_diet=no
10397       if test linux-dietlibc = "$host_os"; then
10398         case $cc_basename in
10399           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10400         esac
10401       fi
10402       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10403          && test no = "$tmp_diet"
10404       then
10405         tmp_addflag=' $pic_flag'
10406         tmp_sharedflag='-shared'
10407         case $cc_basename,$host_cpu in
10408         pgcc*)                          # Portland Group C compiler
10409           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'
10410           tmp_addflag=' $pic_flag'
10411           ;;
10412         pgf77* | pgf90* | pgf95* | pgfortran*)
10413                                         # Portland Group f77 and f90 compilers
10414           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'
10415           tmp_addflag=' $pic_flag -Mnomain' ;;
10416         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10417           tmp_addflag=' -i_dynamic' ;;
10418         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10419           tmp_addflag=' -i_dynamic -nofor_main' ;;
10420         ifc* | ifort*)                  # Intel Fortran compiler
10421           tmp_addflag=' -nofor_main' ;;
10422         lf95*)                          # Lahey Fortran 8.1
10423           whole_archive_flag_spec=
10424           tmp_sharedflag='--shared' ;;
10425         nagfor*)                        # NAGFOR 5.3
10426           tmp_sharedflag='-Wl,-shared' ;;
10427         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10428           tmp_sharedflag='-qmkshrobj'
10429           tmp_addflag= ;;
10430         nvcc*)  # Cuda Compiler Driver 2.2
10431           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'
10432           compiler_needs_object=yes
10433           ;;
10434         esac
10435         case `$CC -V 2>&1 | sed 5q` in
10436         *Sun\ C*)                       # Sun C 5.9
10437           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'
10438           compiler_needs_object=yes
10439           tmp_sharedflag='-G' ;;
10440         *Sun\ F*)                       # Sun Fortran 8.3
10441           tmp_sharedflag='-G' ;;
10442         esac
10443         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10444
10445         if test yes = "$supports_anon_versioning"; then
10446           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10447             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10448             echo "local: *; };" >> $output_objdir/$libname.ver~
10449             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10450         fi
10451
10452         case $cc_basename in
10453         tcc*)
10454           export_dynamic_flag_spec='-rdynamic'
10455           ;;
10456         xlf* | bgf* | bgxlf* | mpixlf*)
10457           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10458           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10459           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10460           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10461           if test yes = "$supports_anon_versioning"; then
10462             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10463               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10464               echo "local: *; };" >> $output_objdir/$libname.ver~
10465               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10466           fi
10467           ;;
10468         esac
10469       else
10470         ld_shlibs=no
10471       fi
10472       ;;
10473
10474     netbsd*)
10475       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10476         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10477         wlarc=
10478       else
10479         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10480         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10481       fi
10482       ;;
10483
10484     solaris*)
10485       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10486         ld_shlibs=no
10487         cat <<_LT_EOF 1>&2
10488
10489 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10490 *** create shared libraries on Solaris systems.  Therefore, libtool
10491 *** is disabling shared libraries support.  We urge you to upgrade GNU
10492 *** binutils to release 2.9.1 or newer.  Another option is to modify
10493 *** your PATH or compiler configuration so that the native linker is
10494 *** used, and then restart.
10495
10496 _LT_EOF
10497       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10498         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10499         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10500       else
10501         ld_shlibs=no
10502       fi
10503       ;;
10504
10505     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10506       case `$LD -v 2>&1` in
10507         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10508         ld_shlibs=no
10509         cat <<_LT_EOF 1>&2
10510
10511 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10512 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10513 *** is disabling shared libraries support.  We urge you to upgrade GNU
10514 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10515 *** your PATH or compiler configuration so that the native linker is
10516 *** used, and then restart.
10517
10518 _LT_EOF
10519         ;;
10520         *)
10521           # For security reasons, it is highly recommended that you always
10522           # use absolute paths for naming shared libraries, and exclude the
10523           # DT_RUNPATH tag from executables and libraries.  But doing so
10524           # requires that you compile everything twice, which is a pain.
10525           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10526             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10527             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10528             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10529           else
10530             ld_shlibs=no
10531           fi
10532         ;;
10533       esac
10534       ;;
10535
10536     sunos4*)
10537       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10538       wlarc=
10539       hardcode_direct=yes
10540       hardcode_shlibpath_var=no
10541       ;;
10542
10543     *)
10544       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10545         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10546         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10547       else
10548         ld_shlibs=no
10549       fi
10550       ;;
10551     esac
10552
10553     if test no = "$ld_shlibs"; then
10554       runpath_var=
10555       hardcode_libdir_flag_spec=
10556       export_dynamic_flag_spec=
10557       whole_archive_flag_spec=
10558     fi
10559   else
10560     # PORTME fill in a description of your system's linker (not GNU ld)
10561     case $host_os in
10562     aix3*)
10563       allow_undefined_flag=unsupported
10564       always_export_symbols=yes
10565       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'
10566       # Note: this linker hardcodes the directories in LIBPATH if there
10567       # are no directories specified by -L.
10568       hardcode_minus_L=yes
10569       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10570         # Neither direct hardcoding nor static linking is supported with a
10571         # broken collect2.
10572         hardcode_direct=unsupported
10573       fi
10574       ;;
10575
10576     aix[4-9]*)
10577       if test ia64 = "$host_cpu"; then
10578         # On IA64, the linker does run time linking by default, so we don't
10579         # have to do anything special.
10580         aix_use_runtimelinking=no
10581         exp_sym_flag='-Bexport'
10582         no_entry_flag=
10583       else
10584         # If we're using GNU nm, then we don't want the "-C" option.
10585         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10586         # Without the "-l" option, or with the "-B" option, AIX nm treats
10587         # weak defined symbols like other global defined symbols, whereas
10588         # GNU nm marks them as "W".
10589         # While the 'weak' keyword is ignored in the Export File, we need
10590         # it in the Import File for the 'aix-soname' feature, so we have
10591         # to replace the "-B" option with "-P" for AIX nm.
10592         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10593           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'
10594         else
10595           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'
10596         fi
10597         aix_use_runtimelinking=no
10598
10599         # Test if we are trying to use run time linking or normal
10600         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10601         # have runtime linking enabled, and use it for executables.
10602         # For shared libraries, we enable/disable runtime linking
10603         # depending on the kind of the shared library created -
10604         # when "with_aix_soname,aix_use_runtimelinking" is:
10605         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10606         # "aix,yes"  lib.so          shared, rtl:yes, for executables
10607         #            lib.a           static archive
10608         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
10609         #            lib.a(lib.so.V) shared, rtl:no,  for executables
10610         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10611         #            lib.a(lib.so.V) shared, rtl:no
10612         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10613         #            lib.a           static archive
10614         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10615           for ld_flag in $LDFLAGS; do
10616           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10617             aix_use_runtimelinking=yes
10618             break
10619           fi
10620           done
10621           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10622             # With aix-soname=svr4, we create the lib.so.V shared archives only,
10623             # so we don't have lib.a shared libs to link our executables.
10624             # We have to force runtime linking in this case.
10625             aix_use_runtimelinking=yes
10626             LDFLAGS="$LDFLAGS -Wl,-brtl"
10627           fi
10628           ;;
10629         esac
10630
10631         exp_sym_flag='-bexport'
10632         no_entry_flag='-bnoentry'
10633       fi
10634
10635       # When large executables or shared objects are built, AIX ld can
10636       # have problems creating the table of contents.  If linking a library
10637       # or program results in "error TOC overflow" add -mminimal-toc to
10638       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10639       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10640
10641       archive_cmds=''
10642       hardcode_direct=yes
10643       hardcode_direct_absolute=yes
10644       hardcode_libdir_separator=':'
10645       link_all_deplibs=yes
10646       file_list_spec='$wl-f,'
10647       case $with_aix_soname,$aix_use_runtimelinking in
10648       aix,*) ;; # traditional, no import file
10649       svr4,* | *,yes) # use import file
10650         # The Import File defines what to hardcode.
10651         hardcode_direct=no
10652         hardcode_direct_absolute=no
10653         ;;
10654       esac
10655
10656       if test yes = "$GCC"; then
10657         case $host_os in aix4.[012]|aix4.[012].*)
10658         # We only want to do this on AIX 4.2 and lower, the check
10659         # below for broken collect2 doesn't work under 4.3+
10660           collect2name=`$CC -print-prog-name=collect2`
10661           if test -f "$collect2name" &&
10662            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10663           then
10664           # We have reworked collect2
10665           :
10666           else
10667           # We have old collect2
10668           hardcode_direct=unsupported
10669           # It fails to find uninstalled libraries when the uninstalled
10670           # path is not listed in the libpath.  Setting hardcode_minus_L
10671           # to unsupported forces relinking
10672           hardcode_minus_L=yes
10673           hardcode_libdir_flag_spec='-L$libdir'
10674           hardcode_libdir_separator=
10675           fi
10676           ;;
10677         esac
10678         shared_flag='-shared'
10679         if test yes = "$aix_use_runtimelinking"; then
10680           shared_flag="$shared_flag "'$wl-G'
10681         fi
10682         # Need to ensure runtime linking is disabled for the traditional
10683         # shared library, or the linker may eventually find shared libraries
10684         # /with/ Import File - we do not want to mix them.
10685         shared_flag_aix='-shared'
10686         shared_flag_svr4='-shared $wl-G'
10687       else
10688         # not using gcc
10689         if test ia64 = "$host_cpu"; then
10690         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10691         # chokes on -Wl,-G. The following line is correct:
10692           shared_flag='-G'
10693         else
10694           if test yes = "$aix_use_runtimelinking"; then
10695             shared_flag='$wl-G'
10696           else
10697             shared_flag='$wl-bM:SRE'
10698           fi
10699           shared_flag_aix='$wl-bM:SRE'
10700           shared_flag_svr4='$wl-G'
10701         fi
10702       fi
10703
10704       export_dynamic_flag_spec='$wl-bexpall'
10705       # It seems that -bexpall does not export symbols beginning with
10706       # underscore (_), so it is better to generate a list of symbols to export.
10707       always_export_symbols=yes
10708       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10709         # Warning - without using the other runtime loading flags (-brtl),
10710         # -berok will link without error, but may produce a broken library.
10711         allow_undefined_flag='-berok'
10712         # Determine the default libpath from the value encoded in an
10713         # empty executable.
10714         if test set = "${lt_cv_aix_libpath+set}"; then
10715   aix_libpath=$lt_cv_aix_libpath
10716 else
10717   if ${lt_cv_aix_libpath_+:} false; then :
10718   $as_echo_n "(cached) " >&6
10719 else
10720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h.  */
10722
10723 int
10724 main ()
10725 {
10726
10727   ;
10728   return 0;
10729 }
10730 _ACEOF
10731 if ac_fn_c_try_link "$LINENO"; then :
10732
10733   lt_aix_libpath_sed='
10734       /Import File Strings/,/^$/ {
10735           /^0/ {
10736               s/^0  *\([^ ]*\) *$/\1/
10737               p
10738           }
10739       }'
10740   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741   # Check for a 64-bit object if we didn't find anything.
10742   if test -z "$lt_cv_aix_libpath_"; then
10743     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10744   fi
10745 fi
10746 rm -f core conftest.err conftest.$ac_objext \
10747     conftest$ac_exeext conftest.$ac_ext
10748   if test -z "$lt_cv_aix_libpath_"; then
10749     lt_cv_aix_libpath_=/usr/lib:/lib
10750   fi
10751
10752 fi
10753
10754   aix_libpath=$lt_cv_aix_libpath_
10755 fi
10756
10757         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10758         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
10759       else
10760         if test ia64 = "$host_cpu"; then
10761           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10762           allow_undefined_flag="-z nodefs"
10763           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"
10764         else
10765          # Determine the default libpath from the value encoded in an
10766          # empty executable.
10767          if test set = "${lt_cv_aix_libpath+set}"; then
10768   aix_libpath=$lt_cv_aix_libpath
10769 else
10770   if ${lt_cv_aix_libpath_+:} false; then :
10771   $as_echo_n "(cached) " >&6
10772 else
10773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h.  */
10775
10776 int
10777 main ()
10778 {
10779
10780   ;
10781   return 0;
10782 }
10783 _ACEOF
10784 if ac_fn_c_try_link "$LINENO"; then :
10785
10786   lt_aix_libpath_sed='
10787       /Import File Strings/,/^$/ {
10788           /^0/ {
10789               s/^0  *\([^ ]*\) *$/\1/
10790               p
10791           }
10792       }'
10793   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10794   # Check for a 64-bit object if we didn't find anything.
10795   if test -z "$lt_cv_aix_libpath_"; then
10796     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10797   fi
10798 fi
10799 rm -f core conftest.err conftest.$ac_objext \
10800     conftest$ac_exeext conftest.$ac_ext
10801   if test -z "$lt_cv_aix_libpath_"; then
10802     lt_cv_aix_libpath_=/usr/lib:/lib
10803   fi
10804
10805 fi
10806
10807   aix_libpath=$lt_cv_aix_libpath_
10808 fi
10809
10810          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10811           # Warning - without using the other run time loading flags,
10812           # -berok will link without error, but may produce a broken library.
10813           no_undefined_flag=' $wl-bernotok'
10814           allow_undefined_flag=' $wl-berok'
10815           if test yes = "$with_gnu_ld"; then
10816             # We only use this code for GNU lds that support --whole-archive.
10817             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10818           else
10819             # Exported symbols can be pulled into shared objects from archives
10820             whole_archive_flag_spec='$convenience'
10821           fi
10822           archive_cmds_need_lc=yes
10823           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10824           # -brtl affects multiple linker settings, -berok does not and is overridden later
10825           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10826           if test svr4 != "$with_aix_soname"; then
10827             # This is similar to how AIX traditionally builds its shared libraries.
10828             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'
10829           fi
10830           if test aix != "$with_aix_soname"; then
10831             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'
10832           else
10833             # used by -dlpreopen to get the symbols
10834             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10835           fi
10836           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10837         fi
10838       fi
10839       ;;
10840
10841     amigaos*)
10842       case $host_cpu in
10843       powerpc)
10844             # see comment about AmigaOS4 .so support
10845             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10846             archive_expsym_cmds=''
10847         ;;
10848       m68k)
10849             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)'
10850             hardcode_libdir_flag_spec='-L$libdir'
10851             hardcode_minus_L=yes
10852         ;;
10853       esac
10854       ;;
10855
10856     bsdi[45]*)
10857       export_dynamic_flag_spec=-rdynamic
10858       ;;
10859
10860     cygwin* | mingw* | pw32* | cegcc*)
10861       # When not using gcc, we currently assume that we are using
10862       # Microsoft Visual C++.
10863       # hardcode_libdir_flag_spec is actually meaningless, as there is
10864       # no search path for DLLs.
10865       case $cc_basename in
10866       cl*)
10867         # Native MSVC
10868         hardcode_libdir_flag_spec=' '
10869         allow_undefined_flag=unsupported
10870         always_export_symbols=yes
10871         file_list_spec='@'
10872         # Tell ltmain to make .lib files, not .a files.
10873         libext=lib
10874         # Tell ltmain to make .dll files, not .so files.
10875         shrext_cmds=.dll
10876         # FIXME: Setting linknames here is a bad hack.
10877         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10878         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10879             cp "$export_symbols" "$output_objdir/$soname.def";
10880             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10881           else
10882             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10883           fi~
10884           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10885           linknames='
10886         # The linker will not automatically build a static lib if we build a DLL.
10887         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10888         enable_shared_with_static_runtimes=yes
10889         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10890         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10891         # Don't use ranlib
10892         old_postinstall_cmds='chmod 644 $oldlib'
10893         postlink_cmds='lt_outputfile="@OUTPUT@"~
10894           lt_tool_outputfile="@TOOL_OUTPUT@"~
10895           case $lt_outputfile in
10896             *.exe|*.EXE) ;;
10897             *)
10898               lt_outputfile=$lt_outputfile.exe
10899               lt_tool_outputfile=$lt_tool_outputfile.exe
10900               ;;
10901           esac~
10902           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10903             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10904             $RM "$lt_outputfile.manifest";
10905           fi'
10906         ;;
10907       *)
10908         # Assume MSVC wrapper
10909         hardcode_libdir_flag_spec=' '
10910         allow_undefined_flag=unsupported
10911         # Tell ltmain to make .lib files, not .a files.
10912         libext=lib
10913         # Tell ltmain to make .dll files, not .so files.
10914         shrext_cmds=.dll
10915         # FIXME: Setting linknames here is a bad hack.
10916         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10917         # The linker will automatically build a .lib file if we build a DLL.
10918         old_archive_from_new_cmds='true'
10919         # FIXME: Should let the user specify the lib program.
10920         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10921         enable_shared_with_static_runtimes=yes
10922         ;;
10923       esac
10924       ;;
10925
10926     darwin* | rhapsody*)
10927
10928
10929   archive_cmds_need_lc=no
10930   hardcode_direct=no
10931   hardcode_automatic=yes
10932   hardcode_shlibpath_var=unsupported
10933   if test yes = "$lt_cv_ld_force_load"; then
10934     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\"`'
10935
10936   else
10937     whole_archive_flag_spec=''
10938   fi
10939   link_all_deplibs=yes
10940   allow_undefined_flag=$_lt_dar_allow_undefined
10941   case $cc_basename in
10942      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10943      *) _lt_dar_can_shared=$GCC ;;
10944   esac
10945   if test yes = "$_lt_dar_can_shared"; then
10946     output_verbose_link_cmd=func_echo_all
10947     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10948     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10949     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"
10950     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"
10951
10952   else
10953   ld_shlibs=no
10954   fi
10955
10956       ;;
10957
10958     dgux*)
10959       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10960       hardcode_libdir_flag_spec='-L$libdir'
10961       hardcode_shlibpath_var=no
10962       ;;
10963
10964     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10965     # support.  Future versions do this automatically, but an explicit c++rt0.o
10966     # does not break anything, and helps significantly (at the cost of a little
10967     # extra space).
10968     freebsd2.2*)
10969       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10970       hardcode_libdir_flag_spec='-R$libdir'
10971       hardcode_direct=yes
10972       hardcode_shlibpath_var=no
10973       ;;
10974
10975     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10976     freebsd2.*)
10977       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10978       hardcode_direct=yes
10979       hardcode_minus_L=yes
10980       hardcode_shlibpath_var=no
10981       ;;
10982
10983     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10984     freebsd* | dragonfly*)
10985       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10986       hardcode_libdir_flag_spec='-R$libdir'
10987       hardcode_direct=yes
10988       hardcode_shlibpath_var=no
10989       ;;
10990
10991     hpux9*)
10992       if test yes = "$GCC"; then
10993         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'
10994       else
10995         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'
10996       fi
10997       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10998       hardcode_libdir_separator=:
10999       hardcode_direct=yes
11000
11001       # hardcode_minus_L: Not really in the search PATH,
11002       # but as the default location of the library.
11003       hardcode_minus_L=yes
11004       export_dynamic_flag_spec='$wl-E'
11005       ;;
11006
11007     hpux10*)
11008       if test yes,no = "$GCC,$with_gnu_ld"; then
11009         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11010       else
11011         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11012       fi
11013       if test no = "$with_gnu_ld"; then
11014         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11015         hardcode_libdir_separator=:
11016         hardcode_direct=yes
11017         hardcode_direct_absolute=yes
11018         export_dynamic_flag_spec='$wl-E'
11019         # hardcode_minus_L: Not really in the search PATH,
11020         # but as the default location of the library.
11021         hardcode_minus_L=yes
11022       fi
11023       ;;
11024
11025     hpux11*)
11026       if test yes,no = "$GCC,$with_gnu_ld"; then
11027         case $host_cpu in
11028         hppa*64*)
11029           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11030           ;;
11031         ia64*)
11032           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11033           ;;
11034         *)
11035           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11036           ;;
11037         esac
11038       else
11039         case $host_cpu in
11040         hppa*64*)
11041           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11042           ;;
11043         ia64*)
11044           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11045           ;;
11046         *)
11047
11048           # Older versions of the 11.00 compiler do not understand -b yet
11049           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11050           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11051 $as_echo_n "checking if $CC understands -b... " >&6; }
11052 if ${lt_cv_prog_compiler__b+:} false; then :
11053   $as_echo_n "(cached) " >&6
11054 else
11055   lt_cv_prog_compiler__b=no
11056    save_LDFLAGS=$LDFLAGS
11057    LDFLAGS="$LDFLAGS -b"
11058    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11059    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11060      # The linker can only warn and ignore the option if not recognized
11061      # So say no if there are warnings
11062      if test -s conftest.err; then
11063        # Append any errors to the config.log.
11064        cat conftest.err 1>&5
11065        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11066        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11067        if diff conftest.exp conftest.er2 >/dev/null; then
11068          lt_cv_prog_compiler__b=yes
11069        fi
11070      else
11071        lt_cv_prog_compiler__b=yes
11072      fi
11073    fi
11074    $RM -r conftest*
11075    LDFLAGS=$save_LDFLAGS
11076
11077 fi
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11079 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11080
11081 if test yes = "$lt_cv_prog_compiler__b"; then
11082     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11083 else
11084     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11085 fi
11086
11087           ;;
11088         esac
11089       fi
11090       if test no = "$with_gnu_ld"; then
11091         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11092         hardcode_libdir_separator=:
11093
11094         case $host_cpu in
11095         hppa*64*|ia64*)
11096           hardcode_direct=no
11097           hardcode_shlibpath_var=no
11098           ;;
11099         *)
11100           hardcode_direct=yes
11101           hardcode_direct_absolute=yes
11102           export_dynamic_flag_spec='$wl-E'
11103
11104           # hardcode_minus_L: Not really in the search PATH,
11105           # but as the default location of the library.
11106           hardcode_minus_L=yes
11107           ;;
11108         esac
11109       fi
11110       ;;
11111
11112     irix5* | irix6* | nonstopux*)
11113       if test yes = "$GCC"; then
11114         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'
11115         # Try to use the -exported_symbol ld option, if it does not
11116         # work, assume that -exports_file does not work either and
11117         # implicitly export all symbols.
11118         # This should be the same for all languages, so no per-tag cache variable.
11119         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11120 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11121 if ${lt_cv_irix_exported_symbol+:} false; then :
11122   $as_echo_n "(cached) " >&6
11123 else
11124   save_LDFLAGS=$LDFLAGS
11125            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11126            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h.  */
11128 int foo (void) { return 0; }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131   lt_cv_irix_exported_symbol=yes
11132 else
11133   lt_cv_irix_exported_symbol=no
11134 fi
11135 rm -f core conftest.err conftest.$ac_objext \
11136     conftest$ac_exeext conftest.$ac_ext
11137            LDFLAGS=$save_LDFLAGS
11138 fi
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11140 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11141         if test yes = "$lt_cv_irix_exported_symbol"; then
11142           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'
11143         fi
11144       else
11145         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'
11146         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'
11147       fi
11148       archive_cmds_need_lc='no'
11149       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150       hardcode_libdir_separator=:
11151       inherit_rpath=yes
11152       link_all_deplibs=yes
11153       ;;
11154
11155     linux*)
11156       case $cc_basename in
11157       tcc*)
11158         # Fabrice Bellard et al's Tiny C Compiler
11159         ld_shlibs=yes
11160         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11161         ;;
11162       esac
11163       ;;
11164
11165     netbsd*)
11166       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11167         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11168       else
11169         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11170       fi
11171       hardcode_libdir_flag_spec='-R$libdir'
11172       hardcode_direct=yes
11173       hardcode_shlibpath_var=no
11174       ;;
11175
11176     newsos6)
11177       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11178       hardcode_direct=yes
11179       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11180       hardcode_libdir_separator=:
11181       hardcode_shlibpath_var=no
11182       ;;
11183
11184     *nto* | *qnx*)
11185       ;;
11186
11187     openbsd* | bitrig*)
11188       if test -f /usr/libexec/ld.so; then
11189         hardcode_direct=yes
11190         hardcode_shlibpath_var=no
11191         hardcode_direct_absolute=yes
11192         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11193           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11194           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11195           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11196           export_dynamic_flag_spec='$wl-E'
11197         else
11198           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11199           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11200         fi
11201       else
11202         ld_shlibs=no
11203       fi
11204       ;;
11205
11206     os2*)
11207       hardcode_libdir_flag_spec='-L$libdir'
11208       hardcode_minus_L=yes
11209       allow_undefined_flag=unsupported
11210       shrext_cmds=.dll
11211       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11212         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11213         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11214         $ECHO EXPORTS >> $output_objdir/$libname.def~
11215         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11216         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11217         emximp -o $lib $output_objdir/$libname.def'
11218       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11219         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11220         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11221         $ECHO EXPORTS >> $output_objdir/$libname.def~
11222         prefix_cmds="$SED"~
11223         if test EXPORTS = "`$SED 1q $export_symbols`"; then
11224           prefix_cmds="$prefix_cmds -e 1d";
11225         fi~
11226         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11227         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11228         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11229         emximp -o $lib $output_objdir/$libname.def'
11230       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11231       enable_shared_with_static_runtimes=yes
11232       ;;
11233
11234     osf3*)
11235       if test yes = "$GCC"; then
11236         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11237         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'
11238       else
11239         allow_undefined_flag=' -expect_unresolved \*'
11240         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'
11241       fi
11242       archive_cmds_need_lc='no'
11243       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11244       hardcode_libdir_separator=:
11245       ;;
11246
11247     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11248       if test yes = "$GCC"; then
11249         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11250         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'
11251         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11252       else
11253         allow_undefined_flag=' -expect_unresolved \*'
11254         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'
11255         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~
11256           $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'
11257
11258         # Both c and cxx compiler support -rpath directly
11259         hardcode_libdir_flag_spec='-rpath $libdir'
11260       fi
11261       archive_cmds_need_lc='no'
11262       hardcode_libdir_separator=:
11263       ;;
11264
11265     solaris*)
11266       no_undefined_flag=' -z defs'
11267       if test yes = "$GCC"; then
11268         wlarc='$wl'
11269         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11270         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11271           $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'
11272       else
11273         case `$CC -V 2>&1` in
11274         *"Compilers 5.0"*)
11275           wlarc=''
11276           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11277           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11278             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11279           ;;
11280         *)
11281           wlarc='$wl'
11282           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11283           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11284             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11285           ;;
11286         esac
11287       fi
11288       hardcode_libdir_flag_spec='-R$libdir'
11289       hardcode_shlibpath_var=no
11290       case $host_os in
11291       solaris2.[0-5] | solaris2.[0-5].*) ;;
11292       *)
11293         # The compiler driver will combine and reorder linker options,
11294         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11295         # but is careful enough not to reorder.
11296         # Supported since Solaris 2.6 (maybe 2.5.1?)
11297         if test yes = "$GCC"; then
11298           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11299         else
11300           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11301         fi
11302         ;;
11303       esac
11304       link_all_deplibs=yes
11305       ;;
11306
11307     sunos4*)
11308       if test sequent = "$host_vendor"; then
11309         # Use $CC to link under sequent, because it throws in some extra .o
11310         # files that make .init and .fini sections work.
11311         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11312       else
11313         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11314       fi
11315       hardcode_libdir_flag_spec='-L$libdir'
11316       hardcode_direct=yes
11317       hardcode_minus_L=yes
11318       hardcode_shlibpath_var=no
11319       ;;
11320
11321     sysv4)
11322       case $host_vendor in
11323         sni)
11324           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11325           hardcode_direct=yes # is this really true???
11326         ;;
11327         siemens)
11328           ## LD is ld it makes a PLAMLIB
11329           ## CC just makes a GrossModule.
11330           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11331           reload_cmds='$CC -r -o $output$reload_objs'
11332           hardcode_direct=no
11333         ;;
11334         motorola)
11335           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11336           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11337         ;;
11338       esac
11339       runpath_var='LD_RUN_PATH'
11340       hardcode_shlibpath_var=no
11341       ;;
11342
11343     sysv4.3*)
11344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11345       hardcode_shlibpath_var=no
11346       export_dynamic_flag_spec='-Bexport'
11347       ;;
11348
11349     sysv4*MP*)
11350       if test -d /usr/nec; then
11351         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11352         hardcode_shlibpath_var=no
11353         runpath_var=LD_RUN_PATH
11354         hardcode_runpath_var=yes
11355         ld_shlibs=yes
11356       fi
11357       ;;
11358
11359     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11360       no_undefined_flag='$wl-z,text'
11361       archive_cmds_need_lc=no
11362       hardcode_shlibpath_var=no
11363       runpath_var='LD_RUN_PATH'
11364
11365       if test yes = "$GCC"; then
11366         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11367         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11368       else
11369         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11370         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11371       fi
11372       ;;
11373
11374     sysv5* | sco3.2v5* | sco5v6*)
11375       # Note: We CANNOT use -z defs as we might desire, because we do not
11376       # link with -lc, and that would cause any symbols used from libc to
11377       # always be unresolved, which means just about no library would
11378       # ever link correctly.  If we're not using GNU ld we use -z text
11379       # though, which does catch some bad symbols but isn't as heavy-handed
11380       # as -z defs.
11381       no_undefined_flag='$wl-z,text'
11382       allow_undefined_flag='$wl-z,nodefs'
11383       archive_cmds_need_lc=no
11384       hardcode_shlibpath_var=no
11385       hardcode_libdir_flag_spec='$wl-R,$libdir'
11386       hardcode_libdir_separator=':'
11387       link_all_deplibs=yes
11388       export_dynamic_flag_spec='$wl-Bexport'
11389       runpath_var='LD_RUN_PATH'
11390
11391       if test yes = "$GCC"; then
11392         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11393         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11394       else
11395         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11396         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11397       fi
11398       ;;
11399
11400     uts4*)
11401       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11402       hardcode_libdir_flag_spec='-L$libdir'
11403       hardcode_shlibpath_var=no
11404       ;;
11405
11406     *)
11407       ld_shlibs=no
11408       ;;
11409     esac
11410
11411     if test sni = "$host_vendor"; then
11412       case $host in
11413       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11414         export_dynamic_flag_spec='$wl-Blargedynsym'
11415         ;;
11416       esac
11417     fi
11418   fi
11419
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11421 $as_echo "$ld_shlibs" >&6; }
11422 test no = "$ld_shlibs" && can_build_shared=no
11423
11424 with_gnu_ld=$with_gnu_ld
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440 #
11441 # Do we need to explicitly link libc?
11442 #
11443 case "x$archive_cmds_need_lc" in
11444 x|xyes)
11445   # Assume -lc should be added
11446   archive_cmds_need_lc=yes
11447
11448   if test yes,yes = "$GCC,$enable_shared"; then
11449     case $archive_cmds in
11450     *'~'*)
11451       # FIXME: we may have to deal with multi-command sequences.
11452       ;;
11453     '$CC '*)
11454       # Test whether the compiler implicitly links with -lc since on some
11455       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11456       # to ld, don't add -lc before -lgcc.
11457       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11458 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11459 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11460   $as_echo_n "(cached) " >&6
11461 else
11462   $RM conftest*
11463         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11464
11465         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11466   (eval $ac_compile) 2>&5
11467   ac_status=$?
11468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11469   test $ac_status = 0; } 2>conftest.err; then
11470           soname=conftest
11471           lib=conftest
11472           libobjs=conftest.$ac_objext
11473           deplibs=
11474           wl=$lt_prog_compiler_wl
11475           pic_flag=$lt_prog_compiler_pic
11476           compiler_flags=-v
11477           linker_flags=-v
11478           verstring=
11479           output_objdir=.
11480           libname=conftest
11481           lt_save_allow_undefined_flag=$allow_undefined_flag
11482           allow_undefined_flag=
11483           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11484   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11485   ac_status=$?
11486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11487   test $ac_status = 0; }
11488           then
11489             lt_cv_archive_cmds_need_lc=no
11490           else
11491             lt_cv_archive_cmds_need_lc=yes
11492           fi
11493           allow_undefined_flag=$lt_save_allow_undefined_flag
11494         else
11495           cat conftest.err 1>&5
11496         fi
11497         $RM conftest*
11498
11499 fi
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11501 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11502       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11503       ;;
11504     esac
11505   fi
11506   ;;
11507 esac
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11661 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11662
11663 if test yes = "$GCC"; then
11664   case $host_os in
11665     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11666     *) lt_awk_arg='/^libraries:/' ;;
11667   esac
11668   case $host_os in
11669     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11670     *) lt_sed_strip_eq='s|=/|/|g' ;;
11671   esac
11672   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11673   case $lt_search_path_spec in
11674   *\;*)
11675     # if the path contains ";" then we assume it to be the separator
11676     # otherwise default to the standard path separator (i.e. ":") - it is
11677     # assumed that no part of a normal pathname contains ";" but that should
11678     # okay in the real world where ";" in dirpaths is itself problematic.
11679     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11680     ;;
11681   *)
11682     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11683     ;;
11684   esac
11685   # Ok, now we have the path, separated by spaces, we can step through it
11686   # and add multilib dir if necessary...
11687   lt_tmp_lt_search_path_spec=
11688   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11689   # ...but if some path component already ends with the multilib dir we assume
11690   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11691   case "$lt_multi_os_dir; $lt_search_path_spec " in
11692   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11693     lt_multi_os_dir=
11694     ;;
11695   esac
11696   for lt_sys_path in $lt_search_path_spec; do
11697     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11698       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11699     elif test -n "$lt_multi_os_dir"; then
11700       test -d "$lt_sys_path" && \
11701         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11702     fi
11703   done
11704   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11705 BEGIN {RS = " "; FS = "/|\n";} {
11706   lt_foo = "";
11707   lt_count = 0;
11708   for (lt_i = NF; lt_i > 0; lt_i--) {
11709     if ($lt_i != "" && $lt_i != ".") {
11710       if ($lt_i == "..") {
11711         lt_count++;
11712       } else {
11713         if (lt_count == 0) {
11714           lt_foo = "/" $lt_i lt_foo;
11715         } else {
11716           lt_count--;
11717         }
11718       }
11719     }
11720   }
11721   if (lt_foo != "") { lt_freq[lt_foo]++; }
11722   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11723 }'`
11724   # AWK program above erroneously prepends '/' to C:/dos/paths
11725   # for these hosts.
11726   case $host_os in
11727     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11728       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11729   esac
11730   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11731 else
11732   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11733 fi
11734 library_names_spec=
11735 libname_spec='lib$name'
11736 soname_spec=
11737 shrext_cmds=.so
11738 postinstall_cmds=
11739 postuninstall_cmds=
11740 finish_cmds=
11741 finish_eval=
11742 shlibpath_var=
11743 shlibpath_overrides_runpath=unknown
11744 version_type=none
11745 dynamic_linker="$host_os ld.so"
11746 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11747 need_lib_prefix=unknown
11748 hardcode_into_libs=no
11749
11750 # when you set need_version to no, make sure it does not cause -set_version
11751 # flags to be left without arguments
11752 need_version=unknown
11753
11754
11755
11756 case $host_os in
11757 aix3*)
11758   version_type=linux # correct to gnu/linux during the next big refactor
11759   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11760   shlibpath_var=LIBPATH
11761
11762   # AIX 3 has no versioning support, so we append a major version to the name.
11763   soname_spec='$libname$release$shared_ext$major'
11764   ;;
11765
11766 aix[4-9]*)
11767   version_type=linux # correct to gnu/linux during the next big refactor
11768   need_lib_prefix=no
11769   need_version=no
11770   hardcode_into_libs=yes
11771   if test ia64 = "$host_cpu"; then
11772     # AIX 5 supports IA64
11773     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11774     shlibpath_var=LD_LIBRARY_PATH
11775   else
11776     # With GCC up to 2.95.x, collect2 would create an import file
11777     # for dependence libraries.  The import file would start with
11778     # the line '#! .'.  This would cause the generated library to
11779     # depend on '.', always an invalid library.  This was fixed in
11780     # development snapshots of GCC prior to 3.0.
11781     case $host_os in
11782       aix4 | aix4.[01] | aix4.[01].*)
11783       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11784            echo ' yes '
11785            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11786         :
11787       else
11788         can_build_shared=no
11789       fi
11790       ;;
11791     esac
11792     # Using Import Files as archive members, it is possible to support
11793     # filename-based versioning of shared library archives on AIX. While
11794     # this would work for both with and without runtime linking, it will
11795     # prevent static linking of such archives. So we do filename-based
11796     # shared library versioning with .so extension only, which is used
11797     # when both runtime linking and shared linking is enabled.
11798     # Unfortunately, runtime linking may impact performance, so we do
11799     # not want this to be the default eventually. Also, we use the
11800     # versioned .so libs for executables only if there is the -brtl
11801     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11802     # To allow for filename-based versioning support, we need to create
11803     # libNAME.so.V as an archive file, containing:
11804     # *) an Import File, referring to the versioned filename of the
11805     #    archive as well as the shared archive member, telling the
11806     #    bitwidth (32 or 64) of that shared object, and providing the
11807     #    list of exported symbols of that shared object, eventually
11808     #    decorated with the 'weak' keyword
11809     # *) the shared object with the F_LOADONLY flag set, to really avoid
11810     #    it being seen by the linker.
11811     # At run time we better use the real file rather than another symlink,
11812     # but for link time we create the symlink libNAME.so -> libNAME.so.V
11813
11814     case $with_aix_soname,$aix_use_runtimelinking in
11815     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11816     # soname into executable. Probably we can add versioning support to
11817     # collect2, so additional links can be useful in future.
11818     aix,yes) # traditional libtool
11819       dynamic_linker='AIX unversionable lib.so'
11820       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11821       # instead of lib<name>.a to let people know that these are not
11822       # typical AIX shared libraries.
11823       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11824       ;;
11825     aix,no) # traditional AIX only
11826       dynamic_linker='AIX lib.a(lib.so.V)'
11827       # We preserve .a as extension for shared libraries through AIX4.2
11828       # and later when we are not doing run time linking.
11829       library_names_spec='$libname$release.a $libname.a'
11830       soname_spec='$libname$release$shared_ext$major'
11831       ;;
11832     svr4,*) # full svr4 only
11833       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11834       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11835       # We do not specify a path in Import Files, so LIBPATH fires.
11836       shlibpath_overrides_runpath=yes
11837       ;;
11838     *,yes) # both, prefer svr4
11839       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11840       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11841       # unpreferred sharedlib libNAME.a needs extra handling
11842       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"'
11843       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"'
11844       # We do not specify a path in Import Files, so LIBPATH fires.
11845       shlibpath_overrides_runpath=yes
11846       ;;
11847     *,no) # both, prefer aix
11848       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11849       library_names_spec='$libname$release.a $libname.a'
11850       soname_spec='$libname$release$shared_ext$major'
11851       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11852       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)'
11853       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"'
11854       ;;
11855     esac
11856     shlibpath_var=LIBPATH
11857   fi
11858   ;;
11859
11860 amigaos*)
11861   case $host_cpu in
11862   powerpc)
11863     # Since July 2007 AmigaOS4 officially supports .so libraries.
11864     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11865     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11866     ;;
11867   m68k)
11868     library_names_spec='$libname.ixlibrary $libname.a'
11869     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11870     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'
11871     ;;
11872   esac
11873   ;;
11874
11875 beos*)
11876   library_names_spec='$libname$shared_ext'
11877   dynamic_linker="$host_os ld.so"
11878   shlibpath_var=LIBRARY_PATH
11879   ;;
11880
11881 bsdi[45]*)
11882   version_type=linux # correct to gnu/linux during the next big refactor
11883   need_version=no
11884   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11885   soname_spec='$libname$release$shared_ext$major'
11886   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11887   shlibpath_var=LD_LIBRARY_PATH
11888   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11889   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11890   # the default ld.so.conf also contains /usr/contrib/lib and
11891   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11892   # libtool to hard-code these into programs
11893   ;;
11894
11895 cygwin* | mingw* | pw32* | cegcc*)
11896   version_type=windows
11897   shrext_cmds=.dll
11898   need_version=no
11899   need_lib_prefix=no
11900
11901   case $GCC,$cc_basename in
11902   yes,*)
11903     # gcc
11904     library_names_spec='$libname.dll.a'
11905     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11906     postinstall_cmds='base_file=`basename \$file`~
11907       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11908       dldir=$destdir/`dirname \$dlpath`~
11909       test -d \$dldir || mkdir -p \$dldir~
11910       $install_prog $dir/$dlname \$dldir/$dlname~
11911       chmod a+x \$dldir/$dlname~
11912       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11913         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11914       fi'
11915     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11916       dlpath=$dir/\$dldll~
11917        $RM \$dlpath'
11918     shlibpath_overrides_runpath=yes
11919
11920     case $host_os in
11921     cygwin*)
11922       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11923       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11924
11925       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11926       ;;
11927     mingw* | cegcc*)
11928       # MinGW DLLs use traditional 'lib' prefix
11929       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11930       ;;
11931     pw32*)
11932       # pw32 DLLs use 'pw' prefix rather than 'lib'
11933       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11934       ;;
11935     esac
11936     dynamic_linker='Win32 ld.exe'
11937     ;;
11938
11939   *,cl*)
11940     # Native MSVC
11941     libname_spec='$name'
11942     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11943     library_names_spec='$libname.dll.lib'
11944
11945     case $build_os in
11946     mingw*)
11947       sys_lib_search_path_spec=
11948       lt_save_ifs=$IFS
11949       IFS=';'
11950       for lt_path in $LIB
11951       do
11952         IFS=$lt_save_ifs
11953         # Let DOS variable expansion print the short 8.3 style file name.
11954         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11955         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11956       done
11957       IFS=$lt_save_ifs
11958       # Convert to MSYS style.
11959       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11960       ;;
11961     cygwin*)
11962       # Convert to unix form, then to dos form, then back to unix form
11963       # but this time dos style (no spaces!) so that the unix form looks
11964       # like /cygdrive/c/PROGRA~1:/cygdr...
11965       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11966       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11967       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11968       ;;
11969     *)
11970       sys_lib_search_path_spec=$LIB
11971       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11972         # It is most probably a Windows format PATH.
11973         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11974       else
11975         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11976       fi
11977       # FIXME: find the short name or the path components, as spaces are
11978       # common. (e.g. "Program Files" -> "PROGRA~1")
11979       ;;
11980     esac
11981
11982     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11983     postinstall_cmds='base_file=`basename \$file`~
11984       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11985       dldir=$destdir/`dirname \$dlpath`~
11986       test -d \$dldir || mkdir -p \$dldir~
11987       $install_prog $dir/$dlname \$dldir/$dlname'
11988     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11989       dlpath=$dir/\$dldll~
11990        $RM \$dlpath'
11991     shlibpath_overrides_runpath=yes
11992     dynamic_linker='Win32 link.exe'
11993     ;;
11994
11995   *)
11996     # Assume MSVC wrapper
11997     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11998     dynamic_linker='Win32 ld.exe'
11999     ;;
12000   esac
12001   # FIXME: first we should search . and the directory the executable is in
12002   shlibpath_var=PATH
12003   ;;
12004
12005 darwin* | rhapsody*)
12006   dynamic_linker="$host_os dyld"
12007   version_type=darwin
12008   need_lib_prefix=no
12009   need_version=no
12010   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12011   soname_spec='$libname$release$major$shared_ext'
12012   shlibpath_overrides_runpath=yes
12013   shlibpath_var=DYLD_LIBRARY_PATH
12014   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12015
12016   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12017   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12018   ;;
12019
12020 dgux*)
12021   version_type=linux # correct to gnu/linux during the next big refactor
12022   need_lib_prefix=no
12023   need_version=no
12024   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12025   soname_spec='$libname$release$shared_ext$major'
12026   shlibpath_var=LD_LIBRARY_PATH
12027   ;;
12028
12029 freebsd* | dragonfly*)
12030   # DragonFly does not have aout.  When/if they implement a new
12031   # versioning mechanism, adjust this.
12032   if test -x /usr/bin/objformat; then
12033     objformat=`/usr/bin/objformat`
12034   else
12035     case $host_os in
12036     freebsd[23].*) objformat=aout ;;
12037     *) objformat=elf ;;
12038     esac
12039   fi
12040   version_type=freebsd-$objformat
12041   case $version_type in
12042     freebsd-elf*)
12043       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12044       soname_spec='$libname$release$shared_ext$major'
12045       need_version=no
12046       need_lib_prefix=no
12047       ;;
12048     freebsd-*)
12049       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12050       need_version=yes
12051       ;;
12052   esac
12053   shlibpath_var=LD_LIBRARY_PATH
12054   case $host_os in
12055   freebsd2.*)
12056     shlibpath_overrides_runpath=yes
12057     ;;
12058   freebsd3.[01]* | freebsdelf3.[01]*)
12059     shlibpath_overrides_runpath=yes
12060     hardcode_into_libs=yes
12061     ;;
12062   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12063   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12064     shlibpath_overrides_runpath=no
12065     hardcode_into_libs=yes
12066     ;;
12067   *) # from 4.6 on, and DragonFly
12068     shlibpath_overrides_runpath=yes
12069     hardcode_into_libs=yes
12070     ;;
12071   esac
12072   ;;
12073
12074 haiku*)
12075   version_type=linux # correct to gnu/linux during the next big refactor
12076   need_lib_prefix=no
12077   need_version=no
12078   dynamic_linker="$host_os runtime_loader"
12079   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12080   soname_spec='$libname$release$shared_ext$major'
12081   shlibpath_var=LIBRARY_PATH
12082   shlibpath_overrides_runpath=no
12083   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12084   hardcode_into_libs=yes
12085   ;;
12086
12087 hpux9* | hpux10* | hpux11*)
12088   # Give a soname corresponding to the major version so that dld.sl refuses to
12089   # link against other versions.
12090   version_type=sunos
12091   need_lib_prefix=no
12092   need_version=no
12093   case $host_cpu in
12094   ia64*)
12095     shrext_cmds='.so'
12096     hardcode_into_libs=yes
12097     dynamic_linker="$host_os dld.so"
12098     shlibpath_var=LD_LIBRARY_PATH
12099     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12100     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12101     soname_spec='$libname$release$shared_ext$major'
12102     if test 32 = "$HPUX_IA64_MODE"; then
12103       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12104       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12105     else
12106       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12107       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12108     fi
12109     ;;
12110   hppa*64*)
12111     shrext_cmds='.sl'
12112     hardcode_into_libs=yes
12113     dynamic_linker="$host_os dld.sl"
12114     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12115     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12116     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12117     soname_spec='$libname$release$shared_ext$major'
12118     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12119     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12120     ;;
12121   *)
12122     shrext_cmds='.sl'
12123     dynamic_linker="$host_os dld.sl"
12124     shlibpath_var=SHLIB_PATH
12125     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12126     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12127     soname_spec='$libname$release$shared_ext$major'
12128     ;;
12129   esac
12130   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12131   postinstall_cmds='chmod 555 $lib'
12132   # or fails outright, so override atomically:
12133   install_override_mode=555
12134   ;;
12135
12136 interix[3-9]*)
12137   version_type=linux # correct to gnu/linux during the next big refactor
12138   need_lib_prefix=no
12139   need_version=no
12140   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12141   soname_spec='$libname$release$shared_ext$major'
12142   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12143   shlibpath_var=LD_LIBRARY_PATH
12144   shlibpath_overrides_runpath=no
12145   hardcode_into_libs=yes
12146   ;;
12147
12148 irix5* | irix6* | nonstopux*)
12149   case $host_os in
12150     nonstopux*) version_type=nonstopux ;;
12151     *)
12152         if test yes = "$lt_cv_prog_gnu_ld"; then
12153                 version_type=linux # correct to gnu/linux during the next big refactor
12154         else
12155                 version_type=irix
12156         fi ;;
12157   esac
12158   need_lib_prefix=no
12159   need_version=no
12160   soname_spec='$libname$release$shared_ext$major'
12161   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12162   case $host_os in
12163   irix5* | nonstopux*)
12164     libsuff= shlibsuff=
12165     ;;
12166   *)
12167     case $LD in # libtool.m4 will add one of these switches to LD
12168     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12169       libsuff= shlibsuff= libmagic=32-bit;;
12170     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12171       libsuff=32 shlibsuff=N32 libmagic=N32;;
12172     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12173       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12174     *) libsuff= shlibsuff= libmagic=never-match;;
12175     esac
12176     ;;
12177   esac
12178   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12179   shlibpath_overrides_runpath=no
12180   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12181   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12182   hardcode_into_libs=yes
12183   ;;
12184
12185 # No shared lib support for Linux oldld, aout, or coff.
12186 linux*oldld* | linux*aout* | linux*coff*)
12187   dynamic_linker=no
12188   ;;
12189
12190 linux*android*)
12191   version_type=none # Android doesn't support versioned libraries.
12192   need_lib_prefix=no
12193   need_version=no
12194   library_names_spec='$libname$release$shared_ext'
12195   soname_spec='$libname$release$shared_ext'
12196   finish_cmds=
12197   shlibpath_var=LD_LIBRARY_PATH
12198   shlibpath_overrides_runpath=yes
12199
12200   # This implies no fast_install, which is unacceptable.
12201   # Some rework will be needed to allow for fast_install
12202   # before this can be enabled.
12203   hardcode_into_libs=yes
12204
12205   dynamic_linker='Android linker'
12206   # Don't embed -rpath directories since the linker doesn't support them.
12207   hardcode_libdir_flag_spec='-L$libdir'
12208   ;;
12209
12210 # This must be glibc/ELF.
12211 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12212   version_type=linux # correct to gnu/linux during the next big refactor
12213   need_lib_prefix=no
12214   need_version=no
12215   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12216   soname_spec='$libname$release$shared_ext$major'
12217   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12218   shlibpath_var=LD_LIBRARY_PATH
12219   shlibpath_overrides_runpath=no
12220
12221   # Some binutils ld are patched to set DT_RUNPATH
12222   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12223   $as_echo_n "(cached) " >&6
12224 else
12225   lt_cv_shlibpath_overrides_runpath=no
12226     save_LDFLAGS=$LDFLAGS
12227     save_libdir=$libdir
12228     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12229          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12230     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h.  */
12232
12233 int
12234 main ()
12235 {
12236
12237   ;
12238   return 0;
12239 }
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12243   lt_cv_shlibpath_overrides_runpath=yes
12244 fi
12245 fi
12246 rm -f core conftest.err conftest.$ac_objext \
12247     conftest$ac_exeext conftest.$ac_ext
12248     LDFLAGS=$save_LDFLAGS
12249     libdir=$save_libdir
12250
12251 fi
12252
12253   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12254
12255   # This implies no fast_install, which is unacceptable.
12256   # Some rework will be needed to allow for fast_install
12257   # before this can be enabled.
12258   hardcode_into_libs=yes
12259
12260   # Ideally, we could use ldconfig to report *all* directores which are
12261   # searched for libraries, however this is still not possible.  Aside from not
12262   # being certain /sbin/ldconfig is available, command
12263   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12264   # even though it is searched at run-time.  Try to do the best guess by
12265   # appending ld.so.conf contents (and includes) to the search path.
12266   if test -f /etc/ld.so.conf; then
12267     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' ' '`
12268     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12269   fi
12270
12271   # We used to test for /lib/ld.so.1 and disable shared libraries on
12272   # powerpc, because MkLinux only supported shared libraries with the
12273   # GNU dynamic linker.  Since this was broken with cross compilers,
12274   # most powerpc-linux boxes support dynamic linking these days and
12275   # people can always --disable-shared, the test was removed, and we
12276   # assume the GNU/Linux dynamic linker is in use.
12277   dynamic_linker='GNU/Linux ld.so'
12278   ;;
12279
12280 netbsd*)
12281   version_type=sunos
12282   need_lib_prefix=no
12283   need_version=no
12284   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12285     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12286     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12287     dynamic_linker='NetBSD (a.out) ld.so'
12288   else
12289     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12290     soname_spec='$libname$release$shared_ext$major'
12291     dynamic_linker='NetBSD ld.elf_so'
12292   fi
12293   shlibpath_var=LD_LIBRARY_PATH
12294   shlibpath_overrides_runpath=yes
12295   hardcode_into_libs=yes
12296   ;;
12297
12298 newsos6)
12299   version_type=linux # correct to gnu/linux during the next big refactor
12300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12301   shlibpath_var=LD_LIBRARY_PATH
12302   shlibpath_overrides_runpath=yes
12303   ;;
12304
12305 *nto* | *qnx*)
12306   version_type=qnx
12307   need_lib_prefix=no
12308   need_version=no
12309   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12310   soname_spec='$libname$release$shared_ext$major'
12311   shlibpath_var=LD_LIBRARY_PATH
12312   shlibpath_overrides_runpath=no
12313   hardcode_into_libs=yes
12314   dynamic_linker='ldqnx.so'
12315   ;;
12316
12317 openbsd* | bitrig*)
12318   version_type=sunos
12319   sys_lib_dlsearch_path_spec=/usr/lib
12320   need_lib_prefix=no
12321   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12322     need_version=no
12323   else
12324     need_version=yes
12325   fi
12326   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12327   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12328   shlibpath_var=LD_LIBRARY_PATH
12329   shlibpath_overrides_runpath=yes
12330   ;;
12331
12332 os2*)
12333   libname_spec='$name'
12334   version_type=windows
12335   shrext_cmds=.dll
12336   need_version=no
12337   need_lib_prefix=no
12338   # OS/2 can only load a DLL with a base name of 8 characters or less.
12339   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12340     v=$($ECHO $release$versuffix | tr -d .-);
12341     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12342     $ECHO $n$v`$shared_ext'
12343   library_names_spec='${libname}_dll.$libext'
12344   dynamic_linker='OS/2 ld.exe'
12345   shlibpath_var=BEGINLIBPATH
12346   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12347   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12348   postinstall_cmds='base_file=`basename \$file`~
12349     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12350     dldir=$destdir/`dirname \$dlpath`~
12351     test -d \$dldir || mkdir -p \$dldir~
12352     $install_prog $dir/$dlname \$dldir/$dlname~
12353     chmod a+x \$dldir/$dlname~
12354     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12355       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12356     fi'
12357   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12358     dlpath=$dir/\$dldll~
12359     $RM \$dlpath'
12360   ;;
12361
12362 osf3* | osf4* | osf5*)
12363   version_type=osf
12364   need_lib_prefix=no
12365   need_version=no
12366   soname_spec='$libname$release$shared_ext$major'
12367   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12368   shlibpath_var=LD_LIBRARY_PATH
12369   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12370   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12371   ;;
12372
12373 rdos*)
12374   dynamic_linker=no
12375   ;;
12376
12377 solaris*)
12378   version_type=linux # correct to gnu/linux during the next big refactor
12379   need_lib_prefix=no
12380   need_version=no
12381   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12382   soname_spec='$libname$release$shared_ext$major'
12383   shlibpath_var=LD_LIBRARY_PATH
12384   shlibpath_overrides_runpath=yes
12385   hardcode_into_libs=yes
12386   # ldd complains unless libraries are executable
12387   postinstall_cmds='chmod +x $lib'
12388   ;;
12389
12390 sunos4*)
12391   version_type=sunos
12392   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12393   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12394   shlibpath_var=LD_LIBRARY_PATH
12395   shlibpath_overrides_runpath=yes
12396   if test yes = "$with_gnu_ld"; then
12397     need_lib_prefix=no
12398   fi
12399   need_version=yes
12400   ;;
12401
12402 sysv4 | sysv4.3*)
12403   version_type=linux # correct to gnu/linux during the next big refactor
12404   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12405   soname_spec='$libname$release$shared_ext$major'
12406   shlibpath_var=LD_LIBRARY_PATH
12407   case $host_vendor in
12408     sni)
12409       shlibpath_overrides_runpath=no
12410       need_lib_prefix=no
12411       runpath_var=LD_RUN_PATH
12412       ;;
12413     siemens)
12414       need_lib_prefix=no
12415       ;;
12416     motorola)
12417       need_lib_prefix=no
12418       need_version=no
12419       shlibpath_overrides_runpath=no
12420       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12421       ;;
12422   esac
12423   ;;
12424
12425 sysv4*MP*)
12426   if test -d /usr/nec; then
12427     version_type=linux # correct to gnu/linux during the next big refactor
12428     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12429     soname_spec='$libname$shared_ext.$major'
12430     shlibpath_var=LD_LIBRARY_PATH
12431   fi
12432   ;;
12433
12434 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12435   version_type=sco
12436   need_lib_prefix=no
12437   need_version=no
12438   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12439   soname_spec='$libname$release$shared_ext$major'
12440   shlibpath_var=LD_LIBRARY_PATH
12441   shlibpath_overrides_runpath=yes
12442   hardcode_into_libs=yes
12443   if test yes = "$with_gnu_ld"; then
12444     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12445   else
12446     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12447     case $host_os in
12448       sco3.2v5*)
12449         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12450         ;;
12451     esac
12452   fi
12453   sys_lib_dlsearch_path_spec='/usr/lib'
12454   ;;
12455
12456 tpf*)
12457   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12458   version_type=linux # correct to gnu/linux during the next big refactor
12459   need_lib_prefix=no
12460   need_version=no
12461   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12462   shlibpath_var=LD_LIBRARY_PATH
12463   shlibpath_overrides_runpath=no
12464   hardcode_into_libs=yes
12465   ;;
12466
12467 uts4*)
12468   version_type=linux # correct to gnu/linux during the next big refactor
12469   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12470   soname_spec='$libname$release$shared_ext$major'
12471   shlibpath_var=LD_LIBRARY_PATH
12472   ;;
12473
12474 *)
12475   dynamic_linker=no
12476   ;;
12477 esac
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12479 $as_echo "$dynamic_linker" >&6; }
12480 test no = "$dynamic_linker" && can_build_shared=no
12481
12482 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12483 if test yes = "$GCC"; then
12484   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12485 fi
12486
12487 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12488   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12489 fi
12490
12491 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12492   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12493 fi
12494
12495 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12496 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12497
12498 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12499 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12500
12501 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12502 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12601 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12602 hardcode_action=
12603 if test -n "$hardcode_libdir_flag_spec" ||
12604    test -n "$runpath_var" ||
12605    test yes = "$hardcode_automatic"; then
12606
12607   # We can hardcode non-existent directories.
12608   if test no != "$hardcode_direct" &&
12609      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12610      # have to relink, otherwise we might link with an installed library
12611      # when we should be linking with a yet-to-be-installed one
12612      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12613      test no != "$hardcode_minus_L"; then
12614     # Linking always hardcodes the temporary library directory.
12615     hardcode_action=relink
12616   else
12617     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12618     hardcode_action=immediate
12619   fi
12620 else
12621   # We cannot hardcode anything, or else we can only hardcode existing
12622   # directories.
12623   hardcode_action=unsupported
12624 fi
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12626 $as_echo "$hardcode_action" >&6; }
12627
12628 if test relink = "$hardcode_action" ||
12629    test yes = "$inherit_rpath"; then
12630   # Fast installation is not supported
12631   enable_fast_install=no
12632 elif test yes = "$shlibpath_overrides_runpath" ||
12633      test no = "$enable_shared"; then
12634   # Fast installation is not necessary
12635   enable_fast_install=needless
12636 fi
12637
12638
12639
12640
12641
12642
12643   if test yes != "$enable_dlopen"; then
12644   enable_dlopen=unknown
12645   enable_dlopen_self=unknown
12646   enable_dlopen_self_static=unknown
12647 else
12648   lt_cv_dlopen=no
12649   lt_cv_dlopen_libs=
12650
12651   case $host_os in
12652   beos*)
12653     lt_cv_dlopen=load_add_on
12654     lt_cv_dlopen_libs=
12655     lt_cv_dlopen_self=yes
12656     ;;
12657
12658   mingw* | pw32* | cegcc*)
12659     lt_cv_dlopen=LoadLibrary
12660     lt_cv_dlopen_libs=
12661     ;;
12662
12663   cygwin*)
12664     lt_cv_dlopen=dlopen
12665     lt_cv_dlopen_libs=
12666     ;;
12667
12668   darwin*)
12669     # if libdl is installed we need to link against it
12670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12671 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12672 if ${ac_cv_lib_dl_dlopen+:} false; then :
12673   $as_echo_n "(cached) " >&6
12674 else
12675   ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-ldl  $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h.  */
12679
12680 /* Override any GCC internal prototype to avoid an error.
12681    Use char because int might match the return type of a GCC
12682    builtin and then its argument prototype would still apply.  */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char dlopen ();
12687 int
12688 main ()
12689 {
12690 return dlopen ();
12691   ;
12692   return 0;
12693 }
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696   ac_cv_lib_dl_dlopen=yes
12697 else
12698   ac_cv_lib_dl_dlopen=no
12699 fi
12700 rm -f core conftest.err conftest.$ac_objext \
12701     conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12703 fi
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12705 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12706 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12707   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12708 else
12709
12710     lt_cv_dlopen=dyld
12711     lt_cv_dlopen_libs=
12712     lt_cv_dlopen_self=yes
12713
12714 fi
12715
12716     ;;
12717
12718   tpf*)
12719     # Don't try to run any link tests for TPF.  We know it's impossible
12720     # because TPF is a cross-compiler, and we know how we open DSOs.
12721     lt_cv_dlopen=dlopen
12722     lt_cv_dlopen_libs=
12723     lt_cv_dlopen_self=no
12724     ;;
12725
12726   *)
12727     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12728 if test "x$ac_cv_func_shl_load" = xyes; then :
12729   lt_cv_dlopen=shl_load
12730 else
12731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12732 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12733 if ${ac_cv_lib_dld_shl_load+:} false; then :
12734   $as_echo_n "(cached) " >&6
12735 else
12736   ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-ldld  $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h.  */
12740
12741 /* Override any GCC internal prototype to avoid an error.
12742    Use char because int might match the return type of a GCC
12743    builtin and then its argument prototype would still apply.  */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char shl_load ();
12748 int
12749 main ()
12750 {
12751 return shl_load ();
12752   ;
12753   return 0;
12754 }
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757   ac_cv_lib_dld_shl_load=yes
12758 else
12759   ac_cv_lib_dld_shl_load=no
12760 fi
12761 rm -f core conftest.err conftest.$ac_objext \
12762     conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12764 fi
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12766 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12767 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12768   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12769 else
12770   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12771 if test "x$ac_cv_func_dlopen" = xyes; then :
12772   lt_cv_dlopen=dlopen
12773 else
12774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12776 if ${ac_cv_lib_dl_dlopen+:} false; then :
12777   $as_echo_n "(cached) " >&6
12778 else
12779   ac_check_lib_save_LIBS=$LIBS
12780 LIBS="-ldl  $LIBS"
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h.  */
12783
12784 /* Override any GCC internal prototype to avoid an error.
12785    Use char because int might match the return type of a GCC
12786    builtin and then its argument prototype would still apply.  */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char dlopen ();
12791 int
12792 main ()
12793 {
12794 return dlopen ();
12795   ;
12796   return 0;
12797 }
12798 _ACEOF
12799 if ac_fn_c_try_link "$LINENO"; then :
12800   ac_cv_lib_dl_dlopen=yes
12801 else
12802   ac_cv_lib_dl_dlopen=no
12803 fi
12804 rm -f core conftest.err conftest.$ac_objext \
12805     conftest$ac_exeext conftest.$ac_ext
12806 LIBS=$ac_check_lib_save_LIBS
12807 fi
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12810 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12811   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12812 else
12813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12814 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12815 if ${ac_cv_lib_svld_dlopen+:} false; then :
12816   $as_echo_n "(cached) " >&6
12817 else
12818   ac_check_lib_save_LIBS=$LIBS
12819 LIBS="-lsvld  $LIBS"
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h.  */
12822
12823 /* Override any GCC internal prototype to avoid an error.
12824    Use char because int might match the return type of a GCC
12825    builtin and then its argument prototype would still apply.  */
12826 #ifdef __cplusplus
12827 extern "C"
12828 #endif
12829 char dlopen ();
12830 int
12831 main ()
12832 {
12833 return dlopen ();
12834   ;
12835   return 0;
12836 }
12837 _ACEOF
12838 if ac_fn_c_try_link "$LINENO"; then :
12839   ac_cv_lib_svld_dlopen=yes
12840 else
12841   ac_cv_lib_svld_dlopen=no
12842 fi
12843 rm -f core conftest.err conftest.$ac_objext \
12844     conftest$ac_exeext conftest.$ac_ext
12845 LIBS=$ac_check_lib_save_LIBS
12846 fi
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12848 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12849 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12850   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12851 else
12852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12853 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12854 if ${ac_cv_lib_dld_dld_link+:} false; then :
12855   $as_echo_n "(cached) " >&6
12856 else
12857   ac_check_lib_save_LIBS=$LIBS
12858 LIBS="-ldld  $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h.  */
12861
12862 /* Override any GCC internal prototype to avoid an error.
12863    Use char because int might match the return type of a GCC
12864    builtin and then its argument prototype would still apply.  */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 char dld_link ();
12869 int
12870 main ()
12871 {
12872 return dld_link ();
12873   ;
12874   return 0;
12875 }
12876 _ACEOF
12877 if ac_fn_c_try_link "$LINENO"; then :
12878   ac_cv_lib_dld_dld_link=yes
12879 else
12880   ac_cv_lib_dld_dld_link=no
12881 fi
12882 rm -f core conftest.err conftest.$ac_objext \
12883     conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_lib_save_LIBS
12885 fi
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12887 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12888 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12889   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12890 fi
12891
12892
12893 fi
12894
12895
12896 fi
12897
12898
12899 fi
12900
12901
12902 fi
12903
12904
12905 fi
12906
12907     ;;
12908   esac
12909
12910   if test no = "$lt_cv_dlopen"; then
12911     enable_dlopen=no
12912   else
12913     enable_dlopen=yes
12914   fi
12915
12916   case $lt_cv_dlopen in
12917   dlopen)
12918     save_CPPFLAGS=$CPPFLAGS
12919     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12920
12921     save_LDFLAGS=$LDFLAGS
12922     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12923
12924     save_LIBS=$LIBS
12925     LIBS="$lt_cv_dlopen_libs $LIBS"
12926
12927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12928 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12929 if ${lt_cv_dlopen_self+:} false; then :
12930   $as_echo_n "(cached) " >&6
12931 else
12932           if test yes = "$cross_compiling"; then :
12933   lt_cv_dlopen_self=cross
12934 else
12935   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12936   lt_status=$lt_dlunknown
12937   cat > conftest.$ac_ext <<_LT_EOF
12938 #line $LINENO "configure"
12939 #include "confdefs.h"
12940
12941 #if HAVE_DLFCN_H
12942 #include <dlfcn.h>
12943 #endif
12944
12945 #include <stdio.h>
12946
12947 #ifdef RTLD_GLOBAL
12948 #  define LT_DLGLOBAL           RTLD_GLOBAL
12949 #else
12950 #  ifdef DL_GLOBAL
12951 #    define LT_DLGLOBAL         DL_GLOBAL
12952 #  else
12953 #    define LT_DLGLOBAL         0
12954 #  endif
12955 #endif
12956
12957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12958    find out it does not work in some platform. */
12959 #ifndef LT_DLLAZY_OR_NOW
12960 #  ifdef RTLD_LAZY
12961 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12962 #  else
12963 #    ifdef DL_LAZY
12964 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12965 #    else
12966 #      ifdef RTLD_NOW
12967 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12968 #      else
12969 #        ifdef DL_NOW
12970 #          define LT_DLLAZY_OR_NOW      DL_NOW
12971 #        else
12972 #          define LT_DLLAZY_OR_NOW      0
12973 #        endif
12974 #      endif
12975 #    endif
12976 #  endif
12977 #endif
12978
12979 /* When -fvisibility=hidden is used, assume the code has been annotated
12980    correspondingly for the symbols needed.  */
12981 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12982 int fnord () __attribute__((visibility("default")));
12983 #endif
12984
12985 int fnord () { return 42; }
12986 int main ()
12987 {
12988   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12989   int status = $lt_dlunknown;
12990
12991   if (self)
12992     {
12993       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12994       else
12995         {
12996           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12997           else puts (dlerror ());
12998         }
12999       /* dlclose (self); */
13000     }
13001   else
13002     puts (dlerror ());
13003
13004   return status;
13005 }
13006 _LT_EOF
13007   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13008   (eval $ac_link) 2>&5
13009   ac_status=$?
13010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13011   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13012     (./conftest; exit; ) >&5 2>/dev/null
13013     lt_status=$?
13014     case x$lt_status in
13015       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13016       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13017       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13018     esac
13019   else :
13020     # compilation failed
13021     lt_cv_dlopen_self=no
13022   fi
13023 fi
13024 rm -fr conftest*
13025
13026
13027 fi
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13029 $as_echo "$lt_cv_dlopen_self" >&6; }
13030
13031     if test yes = "$lt_cv_dlopen_self"; then
13032       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13033       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13034 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13035 if ${lt_cv_dlopen_self_static+:} false; then :
13036   $as_echo_n "(cached) " >&6
13037 else
13038           if test yes = "$cross_compiling"; then :
13039   lt_cv_dlopen_self_static=cross
13040 else
13041   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13042   lt_status=$lt_dlunknown
13043   cat > conftest.$ac_ext <<_LT_EOF
13044 #line $LINENO "configure"
13045 #include "confdefs.h"
13046
13047 #if HAVE_DLFCN_H
13048 #include <dlfcn.h>
13049 #endif
13050
13051 #include <stdio.h>
13052
13053 #ifdef RTLD_GLOBAL
13054 #  define LT_DLGLOBAL           RTLD_GLOBAL
13055 #else
13056 #  ifdef DL_GLOBAL
13057 #    define LT_DLGLOBAL         DL_GLOBAL
13058 #  else
13059 #    define LT_DLGLOBAL         0
13060 #  endif
13061 #endif
13062
13063 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13064    find out it does not work in some platform. */
13065 #ifndef LT_DLLAZY_OR_NOW
13066 #  ifdef RTLD_LAZY
13067 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13068 #  else
13069 #    ifdef DL_LAZY
13070 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13071 #    else
13072 #      ifdef RTLD_NOW
13073 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13074 #      else
13075 #        ifdef DL_NOW
13076 #          define LT_DLLAZY_OR_NOW      DL_NOW
13077 #        else
13078 #          define LT_DLLAZY_OR_NOW      0
13079 #        endif
13080 #      endif
13081 #    endif
13082 #  endif
13083 #endif
13084
13085 /* When -fvisibility=hidden is used, assume the code has been annotated
13086    correspondingly for the symbols needed.  */
13087 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13088 int fnord () __attribute__((visibility("default")));
13089 #endif
13090
13091 int fnord () { return 42; }
13092 int main ()
13093 {
13094   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13095   int status = $lt_dlunknown;
13096
13097   if (self)
13098     {
13099       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13100       else
13101         {
13102           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13103           else puts (dlerror ());
13104         }
13105       /* dlclose (self); */
13106     }
13107   else
13108     puts (dlerror ());
13109
13110   return status;
13111 }
13112 _LT_EOF
13113   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13114   (eval $ac_link) 2>&5
13115   ac_status=$?
13116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13117   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13118     (./conftest; exit; ) >&5 2>/dev/null
13119     lt_status=$?
13120     case x$lt_status in
13121       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13122       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13123       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13124     esac
13125   else :
13126     # compilation failed
13127     lt_cv_dlopen_self_static=no
13128   fi
13129 fi
13130 rm -fr conftest*
13131
13132
13133 fi
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13135 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13136     fi
13137
13138     CPPFLAGS=$save_CPPFLAGS
13139     LDFLAGS=$save_LDFLAGS
13140     LIBS=$save_LIBS
13141     ;;
13142   esac
13143
13144   case $lt_cv_dlopen_self in
13145   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13146   *) enable_dlopen_self=unknown ;;
13147   esac
13148
13149   case $lt_cv_dlopen_self_static in
13150   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13151   *) enable_dlopen_self_static=unknown ;;
13152   esac
13153 fi
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171 striplib=
13172 old_striplib=
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13174 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13175 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13176   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13177   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13179 $as_echo "yes" >&6; }
13180 else
13181 # FIXME - insert some real tests, host_os isn't really good enough
13182   case $host_os in
13183   darwin*)
13184     if test -n "$STRIP"; then
13185       striplib="$STRIP -x"
13186       old_striplib="$STRIP -S"
13187       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13188 $as_echo "yes" >&6; }
13189     else
13190       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13191 $as_echo "no" >&6; }
13192     fi
13193     ;;
13194   *)
13195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13196 $as_echo "no" >&6; }
13197     ;;
13198   esac
13199 fi
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212   # Report what library types will actually be built
13213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13214 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13216 $as_echo "$can_build_shared" >&6; }
13217
13218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13219 $as_echo_n "checking whether to build shared libraries... " >&6; }
13220   test no = "$can_build_shared" && enable_shared=no
13221
13222   # On AIX, shared libraries and static libraries use the same namespace, and
13223   # are all built from PIC.
13224   case $host_os in
13225   aix3*)
13226     test yes = "$enable_shared" && enable_static=no
13227     if test -n "$RANLIB"; then
13228       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13229       postinstall_cmds='$RANLIB $lib'
13230     fi
13231     ;;
13232
13233   aix[4-9]*)
13234     if test ia64 != "$host_cpu"; then
13235       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13236       yes,aix,yes) ;;                   # shared object as lib.so file only
13237       yes,svr4,*) ;;                    # shared object as lib.so archive member only
13238       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
13239       esac
13240     fi
13241     ;;
13242   esac
13243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13244 $as_echo "$enable_shared" >&6; }
13245
13246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13247 $as_echo_n "checking whether to build static libraries... " >&6; }
13248   # Make sure either enable_shared or enable_static is yes.
13249   test yes = "$enable_shared" || enable_static=yes
13250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13251 $as_echo "$enable_static" >&6; }
13252
13253
13254
13255
13256 fi
13257 ac_ext=c
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13262
13263 CC=$lt_save_CC
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279         ac_config_commands="$ac_config_commands libtool"
13280
13281
13282
13283
13284 # Only expand once:
13285
13286
13287
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
13289 $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
13290 if ${libltdl_cv_shlibext+:} false; then :
13291   $as_echo_n "(cached) " >&6
13292 else
13293
13294 module=yes
13295 eval libltdl_cv_shlibext=$shrext_cmds
13296 module=no
13297 eval libltdl_cv_shrext=$shrext_cmds
13298
13299 fi
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
13301 $as_echo "$libltdl_cv_shlibext" >&6; }
13302 if test -n "$libltdl_cv_shlibext"; then
13303
13304 cat >>confdefs.h <<_ACEOF
13305 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
13306 _ACEOF
13307
13308 fi
13309 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
13310
13311 cat >>confdefs.h <<_ACEOF
13312 #define LT_SHARED_EXT "$libltdl_cv_shrext"
13313 _ACEOF
13314
13315 fi
13316 if test -n "$shared_archive_member_spec"; then
13317
13318 cat >>confdefs.h <<_ACEOF
13319 #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
13320 _ACEOF
13321
13322 fi
13323
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
13325 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
13326 if ${lt_cv_module_path_var+:} false; then :
13327   $as_echo_n "(cached) " >&6
13328 else
13329   lt_cv_module_path_var=$shlibpath_var
13330 fi
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
13332 $as_echo "$lt_cv_module_path_var" >&6; }
13333 if test -n "$lt_cv_module_path_var"; then
13334
13335 cat >>confdefs.h <<_ACEOF
13336 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
13337 _ACEOF
13338
13339 fi
13340
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
13342 $as_echo_n "checking for the default library search path... " >&6; }
13343 if ${lt_cv_sys_dlsearch_path+:} false; then :
13344   $as_echo_n "(cached) " >&6
13345 else
13346   lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec
13347 fi
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
13349 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
13350 if test -n "$lt_cv_sys_dlsearch_path"; then
13351   sys_dlsearch_path=
13352   for dir in $lt_cv_sys_dlsearch_path; do
13353     if test -z "$sys_dlsearch_path"; then
13354       sys_dlsearch_path=$dir
13355     else
13356       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
13357     fi
13358   done
13359
13360 cat >>confdefs.h <<_ACEOF
13361 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
13362 _ACEOF
13363
13364 fi
13365
13366
13367 LT_DLLOADERS=
13368
13369
13370 ac_ext=c
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13375
13376 lt_dlload_save_LIBS=$LIBS
13377
13378 LIBADD_DLOPEN=
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13380 $as_echo_n "checking for library containing dlopen... " >&6; }
13381 if ${ac_cv_search_dlopen+:} false; then :
13382   $as_echo_n "(cached) " >&6
13383 else
13384   ac_func_search_save_LIBS=$LIBS
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h.  */
13387
13388 /* Override any GCC internal prototype to avoid an error.
13389    Use char because int might match the return type of a GCC
13390    builtin and then its argument prototype would still apply.  */
13391 #ifdef __cplusplus
13392 extern "C"
13393 #endif
13394 char dlopen ();
13395 int
13396 main ()
13397 {
13398 return dlopen ();
13399   ;
13400   return 0;
13401 }
13402 _ACEOF
13403 for ac_lib in '' dl; do
13404   if test -z "$ac_lib"; then
13405     ac_res="none required"
13406   else
13407     ac_res=-l$ac_lib
13408     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13409   fi
13410   if ac_fn_c_try_link "$LINENO"; then :
13411   ac_cv_search_dlopen=$ac_res
13412 fi
13413 rm -f core conftest.err conftest.$ac_objext \
13414     conftest$ac_exeext
13415   if ${ac_cv_search_dlopen+:} false; then :
13416   break
13417 fi
13418 done
13419 if ${ac_cv_search_dlopen+:} false; then :
13420
13421 else
13422   ac_cv_search_dlopen=no
13423 fi
13424 rm conftest.$ac_ext
13425 LIBS=$ac_func_search_save_LIBS
13426 fi
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13428 $as_echo "$ac_cv_search_dlopen" >&6; }
13429 ac_res=$ac_cv_search_dlopen
13430 if test "$ac_res" != no; then :
13431   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13432
13433 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13434
13435         if test "$ac_cv_search_dlopen" != "none required"; then
13436           LIBADD_DLOPEN=-ldl
13437         fi
13438         libltdl_cv_lib_dl_dlopen=yes
13439         LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13440 else
13441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h.  */
13443 #if HAVE_DLFCN_H
13444 #  include <dlfcn.h>
13445 #endif
13446
13447 int
13448 main ()
13449 {
13450 dlopen(0, 0);
13451   ;
13452   return 0;
13453 }
13454 _ACEOF
13455 if ac_fn_c_try_link "$LINENO"; then :
13456
13457 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13458
13459             libltdl_cv_func_dlopen=yes
13460             LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13461 else
13462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13463 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13464 if ${ac_cv_lib_svld_dlopen+:} false; then :
13465   $as_echo_n "(cached) " >&6
13466 else
13467   ac_check_lib_save_LIBS=$LIBS
13468 LIBS="-lsvld  $LIBS"
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h.  */
13471
13472 /* Override any GCC internal prototype to avoid an error.
13473    Use char because int might match the return type of a GCC
13474    builtin and then its argument prototype would still apply.  */
13475 #ifdef __cplusplus
13476 extern "C"
13477 #endif
13478 char dlopen ();
13479 int
13480 main ()
13481 {
13482 return dlopen ();
13483   ;
13484   return 0;
13485 }
13486 _ACEOF
13487 if ac_fn_c_try_link "$LINENO"; then :
13488   ac_cv_lib_svld_dlopen=yes
13489 else
13490   ac_cv_lib_svld_dlopen=no
13491 fi
13492 rm -f core conftest.err conftest.$ac_objext \
13493     conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_lib_save_LIBS
13495 fi
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13497 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13498 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13499
13500 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
13501
13502                 LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
13503                 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
13504 fi
13505
13506 fi
13507 rm -f core conftest.err conftest.$ac_objext \
13508     conftest$ac_exeext conftest.$ac_ext
13509 fi
13510
13511 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
13512 then
13513   lt_save_LIBS=$LIBS
13514   LIBS="$LIBS $LIBADD_DLOPEN"
13515   for ac_func in dlerror
13516 do :
13517   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
13518 if test "x$ac_cv_func_dlerror" = xyes; then :
13519   cat >>confdefs.h <<_ACEOF
13520 #define HAVE_DLERROR 1
13521 _ACEOF
13522
13523 fi
13524 done
13525
13526   LIBS=$lt_save_LIBS
13527 fi
13528
13529
13530 LIBADD_SHL_LOAD=
13531 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13532 if test "x$ac_cv_func_shl_load" = xyes; then :
13533
13534 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13535
13536         LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13537 else
13538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13539 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13540 if ${ac_cv_lib_dld_shl_load+:} false; then :
13541   $as_echo_n "(cached) " >&6
13542 else
13543   ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-ldld  $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h.  */
13547
13548 /* Override any GCC internal prototype to avoid an error.
13549    Use char because int might match the return type of a GCC
13550    builtin and then its argument prototype would still apply.  */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char shl_load ();
13555 int
13556 main ()
13557 {
13558 return shl_load ();
13559   ;
13560   return 0;
13561 }
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564   ac_cv_lib_dld_shl_load=yes
13565 else
13566   ac_cv_lib_dld_shl_load=no
13567 fi
13568 rm -f core conftest.err conftest.$ac_objext \
13569     conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13571 fi
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13573 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13574 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13575
13576 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
13577
13578             LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
13579             LIBADD_SHL_LOAD=-ldld
13580 fi
13581
13582 fi
13583
13584
13585
13586 case $host_os in
13587 darwin[1567].*)
13588 # We only want this for pre-Mac OS X 10.4.
13589   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
13590 if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
13591
13592 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
13593
13594         LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
13595 fi
13596
13597   ;;
13598 beos*)
13599   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
13600   ;;
13601 cygwin* | mingw* | pw32*)
13602   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
13603 "
13604 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
13605   ac_have_decl=1
13606 else
13607   ac_have_decl=0
13608 fi
13609
13610 cat >>confdefs.h <<_ACEOF
13611 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
13612 _ACEOF
13613
13614   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
13615   ;;
13616 esac
13617
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13619 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13620 if ${ac_cv_lib_dld_dld_link+:} false; then :
13621   $as_echo_n "(cached) " >&6
13622 else
13623   ac_check_lib_save_LIBS=$LIBS
13624 LIBS="-ldld  $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h.  */
13627
13628 /* Override any GCC internal prototype to avoid an error.
13629    Use char because int might match the return type of a GCC
13630    builtin and then its argument prototype would still apply.  */
13631 #ifdef __cplusplus
13632 extern "C"
13633 #endif
13634 char dld_link ();
13635 int
13636 main ()
13637 {
13638 return dld_link ();
13639   ;
13640   return 0;
13641 }
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644   ac_cv_lib_dld_dld_link=yes
13645 else
13646   ac_cv_lib_dld_dld_link=no
13647 fi
13648 rm -f core conftest.err conftest.$ac_objext \
13649     conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13651 fi
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13653 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13654 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13655
13656 $as_echo "#define HAVE_DLD 1" >>confdefs.h
13657
13658                 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
13659 fi
13660
13661
13662
13663
13664 LT_DLPREOPEN=
13665 if test -n "$LT_DLLOADERS"
13666 then
13667   for lt_loader in $LT_DLLOADERS; do
13668     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
13669   done
13670
13671 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
13672
13673 fi
13674
13675
13676 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
13677
13678
13679 LIBS=$lt_dlload_save_LIBS
13680 ac_ext=c
13681 ac_cpp='$CPP $CPPFLAGS'
13682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13685
13686
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
13688 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
13689 if ${lt_cv_sys_symbol_underscore+:} false; then :
13690   $as_echo_n "(cached) " >&6
13691 else
13692   lt_cv_sys_symbol_underscore=no
13693   cat > conftest.$ac_ext <<_LT_EOF
13694 void nm_test_func(){}
13695 int main(){nm_test_func;return 0;}
13696 _LT_EOF
13697   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13698   (eval $ac_compile) 2>&5
13699   ac_status=$?
13700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701   test $ac_status = 0; }; then
13702     # Now try to grab the symbols.
13703     ac_nlist=conftest.nm
13704     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
13705   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
13706   ac_status=$?
13707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13708   test $ac_status = 0; } && test -s "$ac_nlist"; then
13709       # See whether the symbols have a leading underscore.
13710       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
13711         lt_cv_sys_symbol_underscore=yes
13712       else
13713         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
13714           :
13715         else
13716           echo "configure: cannot find nm_test_func in $ac_nlist" >&5
13717         fi
13718       fi
13719     else
13720       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
13721     fi
13722   else
13723     echo "configure: failed program was:" >&5
13724     cat conftest.c >&5
13725   fi
13726   rm -rf conftest*
13727
13728 fi
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
13730 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
13731   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
13732
13733
13734 if test yes = "$lt_cv_sys_symbol_underscore"; then
13735   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
13736     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
13737 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
13738 if ${libltdl_cv_need_uscore+:} false; then :
13739   $as_echo_n "(cached) " >&6
13740 else
13741   libltdl_cv_need_uscore=unknown
13742       dlsym_uscore_save_LIBS=$LIBS
13743       LIBS="$LIBS $LIBADD_DLOPEN"
13744       libname=conftmod # stay within 8.3 filename limits!
13745       cat >$libname.$ac_ext <<_LT_EOF
13746 #line $LINENO "configure"
13747 #include "confdefs.h"
13748 /* When -fvisibility=hidden is used, assume the code has been annotated
13749    correspondingly for the symbols needed.  */
13750 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13751 int fnord () __attribute__((visibility("default")));
13752 #endif
13753 int fnord () { return 42; }
13754 _LT_EOF
13755
13756       # ltfn_module_cmds module_cmds
13757       # Execute tilde-delimited MODULE_CMDS with environment primed for
13758       # $module_cmds or $archive_cmds type content.
13759       ltfn_module_cmds ()
13760       {( # subshell avoids polluting parent global environment
13761           module_cmds_save_ifs=$IFS; IFS='~'
13762           for cmd in $1; do
13763             IFS=$module_cmds_save_ifs
13764             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
13765             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
13766             major=; versuffix=; verstring=; deplibs=
13767             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
13768             eval $cmd
13769           done
13770           IFS=$module_cmds_save_ifs
13771       )}
13772
13773       # Compile a loadable module using libtool macro expansion results.
13774       $CC $pic_flag -c $libname.$ac_ext
13775       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
13776
13777       # Try to fetch fnord with dlsym().
13778       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
13779       cat >conftest.$ac_ext <<_LT_EOF
13780 #line $LINENO "configure"
13781 #include "confdefs.h"
13782 #if HAVE_DLFCN_H
13783 #include <dlfcn.h>
13784 #endif
13785 #include <stdio.h>
13786 #ifndef RTLD_GLOBAL
13787 #  ifdef DL_GLOBAL
13788 #    define RTLD_GLOBAL DL_GLOBAL
13789 #  else
13790 #    define RTLD_GLOBAL 0
13791 #  endif
13792 #endif
13793 #ifndef RTLD_NOW
13794 #  ifdef DL_NOW
13795 #    define RTLD_NOW DL_NOW
13796 #  else
13797 #    define RTLD_NOW 0
13798 #  endif
13799 #endif
13800 int main () {
13801   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
13802   int status = $libltdl_dlunknown;
13803   if (handle) {
13804     if (dlsym (handle, "fnord"))
13805       status = $libltdl_dlnouscore;
13806     else {
13807       if (dlsym (handle, "_fnord"))
13808         status = $libltdl_dluscore;
13809       else
13810         puts (dlerror ());
13811     }
13812     dlclose (handle);
13813   } else
13814     puts (dlerror ());
13815   return status;
13816 }
13817 _LT_EOF
13818       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13819   (eval $ac_link) 2>&5
13820   ac_status=$?
13821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13822   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13823         (./conftest; exit; ) >&5 2>/dev/null
13824         libltdl_status=$?
13825         case x$libltdl_status in
13826           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
13827           x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
13828           x*) libltdl_cv_need_uscore=unknown ;;
13829         esac
13830       fi
13831       rm -rf conftest* $libname*
13832       LIBS=$dlsym_uscore_save_LIBS
13833
13834 fi
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
13836 $as_echo "$libltdl_cv_need_uscore" >&6; }
13837   fi
13838 fi
13839
13840 if test yes = "$libltdl_cv_need_uscore"; then
13841
13842 $as_echo "#define NEED_USCORE 1" >>confdefs.h
13843
13844 fi
13845
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
13847 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
13848 if ${lt_cv_sys_dlopen_deplibs+:} false; then :
13849   $as_echo_n "(cached) " >&6
13850 else
13851   # PORTME does your system automatically load deplibs for dlopen?
13852   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
13853   # For now, we just catch OSes we know something about -- in the
13854   # future, we'll try test this programmatically.
13855   lt_cv_sys_dlopen_deplibs=unknown
13856   case $host_os in
13857   aix3*|aix4.1.*|aix4.2.*)
13858     # Unknown whether this is true for these versions of AIX, but
13859     # we want this 'case' here to explicitly catch those versions.
13860     lt_cv_sys_dlopen_deplibs=unknown
13861     ;;
13862   aix[4-9]*)
13863     lt_cv_sys_dlopen_deplibs=yes
13864     ;;
13865   amigaos*)
13866     case $host_cpu in
13867     powerpc)
13868       lt_cv_sys_dlopen_deplibs=no
13869       ;;
13870     esac
13871     ;;
13872   bitrig*)
13873     lt_cv_sys_dlopen_deplibs=yes
13874     ;;
13875   darwin*)
13876     # Assuming the user has installed a libdl from somewhere, this is true
13877     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
13878     lt_cv_sys_dlopen_deplibs=yes
13879     ;;
13880   freebsd* | dragonfly*)
13881     lt_cv_sys_dlopen_deplibs=yes
13882     ;;
13883   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
13884     # GNU and its variants, using gnu ld.so (Glibc)
13885     lt_cv_sys_dlopen_deplibs=yes
13886     ;;
13887   hpux10*|hpux11*)
13888     lt_cv_sys_dlopen_deplibs=yes
13889     ;;
13890   interix*)
13891     lt_cv_sys_dlopen_deplibs=yes
13892     ;;
13893   irix[12345]*|irix6.[01]*)
13894     # Catch all versions of IRIX before 6.2, and indicate that we don't
13895     # know how it worked for any of those versions.
13896     lt_cv_sys_dlopen_deplibs=unknown
13897     ;;
13898   irix*)
13899     # The case above catches anything before 6.2, and it's known that
13900     # at 6.2 and later dlopen does load deplibs.
13901     lt_cv_sys_dlopen_deplibs=yes
13902     ;;
13903   netbsd*)
13904     lt_cv_sys_dlopen_deplibs=yes
13905     ;;
13906   openbsd*)
13907     lt_cv_sys_dlopen_deplibs=yes
13908     ;;
13909   osf[1234]*)
13910     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
13911     # it did *not* use an RPATH in a shared library to find objects the
13912     # library depends on, so we explicitly say 'no'.
13913     lt_cv_sys_dlopen_deplibs=no
13914     ;;
13915   osf5.0|osf5.0a|osf5.1)
13916     # dlopen *does* load deplibs and with the right loader patch applied
13917     # it even uses RPATH in a shared library to search for shared objects
13918     # that the library depends on, but there's no easy way to know if that
13919     # patch is installed.  Since this is the case, all we can really
13920     # say is unknown -- it depends on the patch being installed.  If
13921     # it is, this changes to 'yes'.  Without it, it would be 'no'.
13922     lt_cv_sys_dlopen_deplibs=unknown
13923     ;;
13924   osf*)
13925     # the two cases above should catch all versions of osf <= 5.1.  Read
13926     # the comments above for what we know about them.
13927     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
13928     # is used to find them so we can finally say 'yes'.
13929     lt_cv_sys_dlopen_deplibs=yes
13930     ;;
13931   qnx*)
13932     lt_cv_sys_dlopen_deplibs=yes
13933     ;;
13934   solaris*)
13935     lt_cv_sys_dlopen_deplibs=yes
13936     ;;
13937   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13938     libltdl_cv_sys_dlopen_deplibs=yes
13939     ;;
13940   esac
13941
13942 fi
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
13944 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
13945 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
13946
13947 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
13948
13949 fi
13950
13951
13952 for ac_header in argz.h
13953 do :
13954   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
13955 "
13956 if test "x$ac_cv_header_argz_h" = xyes; then :
13957   cat >>confdefs.h <<_ACEOF
13958 #define HAVE_ARGZ_H 1
13959 _ACEOF
13960
13961 fi
13962
13963 done
13964
13965
13966 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13967 #  include <argz.h>
13968 #endif
13969 "
13970 if test "x$ac_cv_type_error_t" = xyes; then :
13971
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_ERROR_T 1
13974 _ACEOF
13975
13976
13977 else
13978
13979 $as_echo "#define error_t int" >>confdefs.h
13980
13981
13982 $as_echo "#define __error_t_defined 1" >>confdefs.h
13983
13984 fi
13985
13986
13987 LT_ARGZ_H=
13988 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
13989         argz_next argz_stringify
13990 do :
13991   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13994   cat >>confdefs.h <<_ACEOF
13995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13996 _ACEOF
13997
13998 else
13999   LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
14000   *" lt__argz.$ac_objext "* ) ;;
14001   *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14002  ;;
14003 esac
14004
14005 fi
14006 done
14007
14008
14009 if test -z "$LT_ARGZ_H"; then :
14010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
14011 $as_echo_n "checking if argz actually works... " >&6; }
14012 if ${lt_cv_sys_argz_works+:} false; then :
14013   $as_echo_n "(cached) " >&6
14014 else
14015   case $host_os in #(
14016          *cygwin*)
14017            lt_cv_sys_argz_works=no
14018            if test no != "$cross_compiling"; then
14019              lt_cv_sys_argz_works="guessing no"
14020            else
14021              lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
14022              save_IFS=$IFS
14023              IFS=-.
14024              set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
14025              IFS=$save_IFS
14026              lt_os_major=${2-0}
14027              lt_os_minor=${3-0}
14028              lt_os_micro=${4-0}
14029              if test 1 -lt "$lt_os_major" \
14030                 || { test 1 -eq "$lt_os_major" \
14031                   && { test 5 -lt "$lt_os_minor" \
14032                     || { test 5 -eq "$lt_os_minor" \
14033                       && test 24 -lt "$lt_os_micro"; }; }; }; then
14034                lt_cv_sys_argz_works=yes
14035              fi
14036            fi
14037            ;; #(
14038          *) lt_cv_sys_argz_works=yes ;;
14039          esac
14040 fi
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
14042 $as_echo "$lt_cv_sys_argz_works" >&6; }
14043      if test yes = "$lt_cv_sys_argz_works"; then :
14044
14045 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
14046
14047 else
14048   LT_ARGZ_H=lt__argz.h
14049         case " $LIBOBJS " in
14050   *" lt__argz.$ac_objext "* ) ;;
14051   *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
14052  ;;
14053 esac
14054
14055 fi
14056 fi
14057
14058
14059
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
14061 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
14062 if ${libltdl_cv_preloaded_symbols+:} false; then :
14063   $as_echo_n "(cached) " >&6
14064 else
14065   if test -n "$lt_cv_sys_global_symbol_pipe"; then
14066     libltdl_cv_preloaded_symbols=yes
14067   else
14068     libltdl_cv_preloaded_symbols=no
14069   fi
14070
14071 fi
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
14073 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
14074 if test yes = "$libltdl_cv_preloaded_symbols"; then
14075
14076 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
14077
14078 fi
14079
14080
14081
14082 # Check whether --enable-ltdl-install was given.
14083 if test "${enable_ltdl_install+set}" = set; then :
14084   enableval=$enable_ltdl_install;
14085 fi
14086
14087
14088 case ,$enable_ltdl_install,$enable_ltdl_convenience in
14089   *yes*) ;;
14090   *) enable_ltdl_convenience=yes ;;
14091 esac
14092
14093  if test no != "${enable_ltdl_install-no}"; then
14094   INSTALL_LTDL_TRUE=
14095   INSTALL_LTDL_FALSE='#'
14096 else
14097   INSTALL_LTDL_TRUE='#'
14098   INSTALL_LTDL_FALSE=
14099 fi
14100
14101   if test no != "${enable_ltdl_convenience-no}"; then
14102   CONVENIENCE_LTDL_TRUE=
14103   CONVENIENCE_LTDL_FALSE='#'
14104 else
14105   CONVENIENCE_LTDL_TRUE='#'
14106   CONVENIENCE_LTDL_FALSE=
14107 fi
14108
14109
14110
14111
14112
14113
14114 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
14115 # the user used.  This is so that ltdl.h can pick up the parent projects
14116 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
14117 # definitions required by ltdl.c.
14118 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
14119
14120
14121
14122 for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
14123 do :
14124   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14126 "
14127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14128   cat >>confdefs.h <<_ACEOF
14129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14130 _ACEOF
14131
14132 fi
14133
14134 done
14135
14136
14137 for ac_func in closedir opendir readdir
14138 do :
14139   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14140 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14142   cat >>confdefs.h <<_ACEOF
14143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14144 _ACEOF
14145
14146 else
14147   case " $LIBOBJS " in
14148   *" lt__dirent.$ac_objext "* ) ;;
14149   *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
14150  ;;
14151 esac
14152
14153 fi
14154 done
14155
14156 for ac_func in strlcat strlcpy
14157 do :
14158   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14161   cat >>confdefs.h <<_ACEOF
14162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14163 _ACEOF
14164
14165 else
14166   case " $LIBOBJS " in
14167   *" lt__strl.$ac_objext "* ) ;;
14168   *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
14169  ;;
14170 esac
14171
14172 fi
14173 done
14174
14175
14176
14177 cat >>confdefs.h <<_ACEOF
14178 #define LT_LIBEXT "$libext"
14179 _ACEOF
14180
14181
14182 name=
14183 eval "lt_libprefix=\"$libname_spec\""
14184
14185 cat >>confdefs.h <<_ACEOF
14186 #define LT_LIBPREFIX "$lt_libprefix"
14187 _ACEOF
14188
14189
14190 name=ltdl
14191 eval "LTDLOPEN=\"$libname_spec\""
14192
14193
14194
14195 # Enable all the language support we can
14196 ac_ext=cpp
14197 ac_cpp='$CXXCPP $CPPFLAGS'
14198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14201 if test -z "$CXX"; then
14202   if test -n "$CCC"; then
14203     CXX=$CCC
14204   else
14205     if test -n "$ac_tool_prefix"; then
14206   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14207   do
14208     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14211 $as_echo_n "checking for $ac_word... " >&6; }
14212 if ${ac_cv_prog_CXX+:} false; then :
14213   $as_echo_n "(cached) " >&6
14214 else
14215   if test -n "$CXX"; then
14216   ac_cv_prog_CXX="$CXX" # Let the user override the test.
14217 else
14218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14219 for as_dir in $PATH
14220 do
14221   IFS=$as_save_IFS
14222   test -z "$as_dir" && as_dir=.
14223     for ac_exec_ext in '' $ac_executable_extensions; do
14224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14225     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14227     break 2
14228   fi
14229 done
14230   done
14231 IFS=$as_save_IFS
14232
14233 fi
14234 fi
14235 CXX=$ac_cv_prog_CXX
14236 if test -n "$CXX"; then
14237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14238 $as_echo "$CXX" >&6; }
14239 else
14240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14242 fi
14243
14244
14245     test -n "$CXX" && break
14246   done
14247 fi
14248 if test -z "$CXX"; then
14249   ac_ct_CXX=$CXX
14250   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14251 do
14252   # Extract the first word of "$ac_prog", so it can be a program name with args.
14253 set dummy $ac_prog; ac_word=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
14257   $as_echo_n "(cached) " >&6
14258 else
14259   if test -n "$ac_ct_CXX"; then
14260   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14261 else
14262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14263 for as_dir in $PATH
14264 do
14265   IFS=$as_save_IFS
14266   test -z "$as_dir" && as_dir=.
14267     for ac_exec_ext in '' $ac_executable_extensions; do
14268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14269     ac_cv_prog_ac_ct_CXX="$ac_prog"
14270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271     break 2
14272   fi
14273 done
14274   done
14275 IFS=$as_save_IFS
14276
14277 fi
14278 fi
14279 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14280 if test -n "$ac_ct_CXX"; then
14281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14282 $as_echo "$ac_ct_CXX" >&6; }
14283 else
14284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14286 fi
14287
14288
14289   test -n "$ac_ct_CXX" && break
14290 done
14291
14292   if test "x$ac_ct_CXX" = x; then
14293     CXX="g++"
14294   else
14295     case $cross_compiling:$ac_tool_warned in
14296 yes:)
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14299 ac_tool_warned=yes ;;
14300 esac
14301     CXX=$ac_ct_CXX
14302   fi
14303 fi
14304
14305   fi
14306 fi
14307 # Provide some information about the compiler.
14308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14309 set X $ac_compile
14310 ac_compiler=$2
14311 for ac_option in --version -v -V -qversion; do
14312   { { ac_try="$ac_compiler $ac_option >&5"
14313 case "(($ac_try" in
14314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14315   *) ac_try_echo=$ac_try;;
14316 esac
14317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14318 $as_echo "$ac_try_echo"; } >&5
14319   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14320   ac_status=$?
14321   if test -s conftest.err; then
14322     sed '10a\
14323 ... rest of stderr output deleted ...
14324          10q' conftest.err >conftest.er1
14325     cat conftest.er1 >&5
14326   fi
14327   rm -f conftest.er1 conftest.err
14328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14329   test $ac_status = 0; }
14330 done
14331
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14333 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14334 if ${ac_cv_cxx_compiler_gnu+:} false; then :
14335   $as_echo_n "(cached) " >&6
14336 else
14337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h.  */
14339
14340 int
14341 main ()
14342 {
14343 #ifndef __GNUC__
14344        choke me
14345 #endif
14346
14347   ;
14348   return 0;
14349 }
14350 _ACEOF
14351 if ac_fn_cxx_try_compile "$LINENO"; then :
14352   ac_compiler_gnu=yes
14353 else
14354   ac_compiler_gnu=no
14355 fi
14356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14358
14359 fi
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
14361 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
14362 if test $ac_compiler_gnu = yes; then
14363   GXX=yes
14364 else
14365   GXX=
14366 fi
14367 ac_test_CXXFLAGS=${CXXFLAGS+set}
14368 ac_save_CXXFLAGS=$CXXFLAGS
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
14370 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
14371 if ${ac_cv_prog_cxx_g+:} false; then :
14372   $as_echo_n "(cached) " >&6
14373 else
14374   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
14375    ac_cxx_werror_flag=yes
14376    ac_cv_prog_cxx_g=no
14377    CXXFLAGS="-g"
14378    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h.  */
14380
14381 int
14382 main ()
14383 {
14384
14385   ;
14386   return 0;
14387 }
14388 _ACEOF
14389 if ac_fn_cxx_try_compile "$LINENO"; then :
14390   ac_cv_prog_cxx_g=yes
14391 else
14392   CXXFLAGS=""
14393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h.  */
14395
14396 int
14397 main ()
14398 {
14399
14400   ;
14401   return 0;
14402 }
14403 _ACEOF
14404 if ac_fn_cxx_try_compile "$LINENO"; then :
14405
14406 else
14407   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14408          CXXFLAGS="-g"
14409          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h.  */
14411
14412 int
14413 main ()
14414 {
14415
14416   ;
14417   return 0;
14418 }
14419 _ACEOF
14420 if ac_fn_cxx_try_compile "$LINENO"; then :
14421   ac_cv_prog_cxx_g=yes
14422 fi
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14424 fi
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 fi
14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14428    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
14429 fi
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
14431 $as_echo "$ac_cv_prog_cxx_g" >&6; }
14432 if test "$ac_test_CXXFLAGS" = set; then
14433   CXXFLAGS=$ac_save_CXXFLAGS
14434 elif test $ac_cv_prog_cxx_g = yes; then
14435   if test "$GXX" = yes; then
14436     CXXFLAGS="-g -O2"
14437   else
14438     CXXFLAGS="-g"
14439   fi
14440 else
14441   if test "$GXX" = yes; then
14442     CXXFLAGS="-O2"
14443   else
14444     CXXFLAGS=
14445   fi
14446 fi
14447 ac_ext=c
14448 ac_cpp='$CPP $CPPFLAGS'
14449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14452
14453 depcc="$CXX"  am_compiler_list=
14454
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14456 $as_echo_n "checking dependency style of $depcc... " >&6; }
14457 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
14458   $as_echo_n "(cached) " >&6
14459 else
14460   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14461   # We make a subdir and do the tests there.  Otherwise we can end up
14462   # making bogus files that we don't know about and never remove.  For
14463   # instance it was reported that on HP-UX the gcc test will end up
14464   # making a dummy file named 'D' -- because '-MD' means "put the output
14465   # in D".
14466   rm -rf conftest.dir
14467   mkdir conftest.dir
14468   # Copy depcomp to subdir because otherwise we won't find it if we're
14469   # using a relative directory.
14470   cp "$am_depcomp" conftest.dir
14471   cd conftest.dir
14472   # We will build objects and dependencies in a subdirectory because
14473   # it helps to detect inapplicable dependency modes.  For instance
14474   # both Tru64's cc and ICC support -MD to output dependencies as a
14475   # side effect of compilation, but ICC will put the dependencies in
14476   # the current directory while Tru64 will put them in the object
14477   # directory.
14478   mkdir sub
14479
14480   am_cv_CXX_dependencies_compiler_type=none
14481   if test "$am_compiler_list" = ""; then
14482      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14483   fi
14484   am__universal=false
14485   case " $depcc " in #(
14486      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14487      esac
14488
14489   for depmode in $am_compiler_list; do
14490     # Setup a source with many dependencies, because some compilers
14491     # like to wrap large dependency lists on column 80 (with \), and
14492     # we should not choose a depcomp mode which is confused by this.
14493     #
14494     # We need to recreate these files for each test, as the compiler may
14495     # overwrite some of them when testing with obscure command lines.
14496     # This happens at least with the AIX C compiler.
14497     : > sub/conftest.c
14498     for i in 1 2 3 4 5 6; do
14499       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14500       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14501       # Solaris 10 /bin/sh.
14502       echo '/* dummy */' > sub/conftst$i.h
14503     done
14504     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14505
14506     # We check with '-c' and '-o' for the sake of the "dashmstdout"
14507     # mode.  It turns out that the SunPro C++ compiler does not properly
14508     # handle '-M -o', and we need to detect this.  Also, some Intel
14509     # versions had trouble with output in subdirs.
14510     am__obj=sub/conftest.${OBJEXT-o}
14511     am__minus_obj="-o $am__obj"
14512     case $depmode in
14513     gcc)
14514       # This depmode causes a compiler race in universal mode.
14515       test "$am__universal" = false || continue
14516       ;;
14517     nosideeffect)
14518       # After this tag, mechanisms are not by side-effect, so they'll
14519       # only be used when explicitly requested.
14520       if test "x$enable_dependency_tracking" = xyes; then
14521         continue
14522       else
14523         break
14524       fi
14525       ;;
14526     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14527       # This compiler won't grok '-c -o', but also, the minuso test has
14528       # not run yet.  These depmodes are late enough in the game, and
14529       # so weak that their functioning should not be impacted.
14530       am__obj=conftest.${OBJEXT-o}
14531       am__minus_obj=
14532       ;;
14533     none) break ;;
14534     esac
14535     if depmode=$depmode \
14536        source=sub/conftest.c object=$am__obj \
14537        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14538        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14539          >/dev/null 2>conftest.err &&
14540        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14541        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14542        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14543        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14544       # icc doesn't choke on unknown options, it will just issue warnings
14545       # or remarks (even with -Werror).  So we grep stderr for any message
14546       # that says an option was ignored or not supported.
14547       # When given -MP, icc 7.0 and 7.1 complain thusly:
14548       #   icc: Command line warning: ignoring option '-M'; no argument required
14549       # The diagnosis changed in icc 8.0:
14550       #   icc: Command line remark: option '-MP' not supported
14551       if (grep 'ignoring option' conftest.err ||
14552           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14553         am_cv_CXX_dependencies_compiler_type=$depmode
14554         break
14555       fi
14556     fi
14557   done
14558
14559   cd ..
14560   rm -rf conftest.dir
14561 else
14562   am_cv_CXX_dependencies_compiler_type=none
14563 fi
14564
14565 fi
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14567 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14568 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14569
14570  if
14571   test "x$enable_dependency_tracking" != xno \
14572   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14573   am__fastdepCXX_TRUE=
14574   am__fastdepCXX_FALSE='#'
14575 else
14576   am__fastdepCXX_TRUE='#'
14577   am__fastdepCXX_FALSE=
14578 fi
14579
14580
14581
14582
14583
14584 func_stripname_cnf ()
14585 {
14586   case $2 in
14587   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
14588   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
14589   esac
14590 } # func_stripname_cnf
14591
14592       if test -n "$CXX" && ( test no != "$CXX" &&
14593     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
14594     (test g++ != "$CXX"))); then
14595   ac_ext=cpp
14596 ac_cpp='$CXXCPP $CPPFLAGS'
14597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14601 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14602 if test -z "$CXXCPP"; then
14603   if ${ac_cv_prog_CXXCPP+:} false; then :
14604   $as_echo_n "(cached) " >&6
14605 else
14606       # Double quotes because CXXCPP needs to be expanded
14607     for CXXCPP in "$CXX -E" "/lib/cpp"
14608     do
14609       ac_preproc_ok=false
14610 for ac_cxx_preproc_warn_flag in '' yes
14611 do
14612   # Use a header file that comes with gcc, so configuring glibc
14613   # with a fresh cross-compiler works.
14614   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14615   # <limits.h> exists even on freestanding compilers.
14616   # On the NeXT, cc -E runs the code through the compiler's parser,
14617   # not just through cpp. "Syntax error" is here to catch this case.
14618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h.  */
14620 #ifdef __STDC__
14621 # include <limits.h>
14622 #else
14623 # include <assert.h>
14624 #endif
14625                      Syntax error
14626 _ACEOF
14627 if ac_fn_cxx_try_cpp "$LINENO"; then :
14628
14629 else
14630   # Broken: fails on valid input.
14631 continue
14632 fi
14633 rm -f conftest.err conftest.i conftest.$ac_ext
14634
14635   # OK, works on sane cases.  Now check whether nonexistent headers
14636   # can be detected and how.
14637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h.  */
14639 #include <ac_nonexistent.h>
14640 _ACEOF
14641 if ac_fn_cxx_try_cpp "$LINENO"; then :
14642   # Broken: success on invalid input.
14643 continue
14644 else
14645   # Passes both tests.
14646 ac_preproc_ok=:
14647 break
14648 fi
14649 rm -f conftest.err conftest.i conftest.$ac_ext
14650
14651 done
14652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14653 rm -f conftest.i conftest.err conftest.$ac_ext
14654 if $ac_preproc_ok; then :
14655   break
14656 fi
14657
14658     done
14659     ac_cv_prog_CXXCPP=$CXXCPP
14660
14661 fi
14662   CXXCPP=$ac_cv_prog_CXXCPP
14663 else
14664   ac_cv_prog_CXXCPP=$CXXCPP
14665 fi
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14667 $as_echo "$CXXCPP" >&6; }
14668 ac_preproc_ok=false
14669 for ac_cxx_preproc_warn_flag in '' yes
14670 do
14671   # Use a header file that comes with gcc, so configuring glibc
14672   # with a fresh cross-compiler works.
14673   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14674   # <limits.h> exists even on freestanding compilers.
14675   # On the NeXT, cc -E runs the code through the compiler's parser,
14676   # not just through cpp. "Syntax error" is here to catch this case.
14677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h.  */
14679 #ifdef __STDC__
14680 # include <limits.h>
14681 #else
14682 # include <assert.h>
14683 #endif
14684                      Syntax error
14685 _ACEOF
14686 if ac_fn_cxx_try_cpp "$LINENO"; then :
14687
14688 else
14689   # Broken: fails on valid input.
14690 continue
14691 fi
14692 rm -f conftest.err conftest.i conftest.$ac_ext
14693
14694   # OK, works on sane cases.  Now check whether nonexistent headers
14695   # can be detected and how.
14696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h.  */
14698 #include <ac_nonexistent.h>
14699 _ACEOF
14700 if ac_fn_cxx_try_cpp "$LINENO"; then :
14701   # Broken: success on invalid input.
14702 continue
14703 else
14704   # Passes both tests.
14705 ac_preproc_ok=:
14706 break
14707 fi
14708 rm -f conftest.err conftest.i conftest.$ac_ext
14709
14710 done
14711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14712 rm -f conftest.i conftest.err conftest.$ac_ext
14713 if $ac_preproc_ok; then :
14714
14715 else
14716   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14718 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14719 See \`config.log' for more details" "$LINENO" 5; }
14720 fi
14721
14722 ac_ext=c
14723 ac_cpp='$CPP $CPPFLAGS'
14724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14727
14728 else
14729   _lt_caught_CXX_error=yes
14730 fi
14731
14732 ac_ext=cpp
14733 ac_cpp='$CXXCPP $CPPFLAGS'
14734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14737
14738 archive_cmds_need_lc_CXX=no
14739 allow_undefined_flag_CXX=
14740 always_export_symbols_CXX=no
14741 archive_expsym_cmds_CXX=
14742 compiler_needs_object_CXX=no
14743 export_dynamic_flag_spec_CXX=
14744 hardcode_direct_CXX=no
14745 hardcode_direct_absolute_CXX=no
14746 hardcode_libdir_flag_spec_CXX=
14747 hardcode_libdir_separator_CXX=
14748 hardcode_minus_L_CXX=no
14749 hardcode_shlibpath_var_CXX=unsupported
14750 hardcode_automatic_CXX=no
14751 inherit_rpath_CXX=no
14752 module_cmds_CXX=
14753 module_expsym_cmds_CXX=
14754 link_all_deplibs_CXX=unknown
14755 old_archive_cmds_CXX=$old_archive_cmds
14756 reload_flag_CXX=$reload_flag
14757 reload_cmds_CXX=$reload_cmds
14758 no_undefined_flag_CXX=
14759 whole_archive_flag_spec_CXX=
14760 enable_shared_with_static_runtimes_CXX=no
14761
14762 # Source file extension for C++ test sources.
14763 ac_ext=cpp
14764
14765 # Object file extension for compiled C++ test sources.
14766 objext=o
14767 objext_CXX=$objext
14768
14769 # No sense in running all these tests if we already determined that
14770 # the CXX compiler isn't working.  Some variables (like enable_shared)
14771 # are currently assumed to apply to all compilers on this platform,
14772 # and will be corrupted by setting them based on a non-working compiler.
14773 if test yes != "$_lt_caught_CXX_error"; then
14774   # Code to be used in simple compile tests
14775   lt_simple_compile_test_code="int some_variable = 0;"
14776
14777   # Code to be used in simple link tests
14778   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14779
14780   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14781
14782
14783
14784
14785
14786
14787 # If no C compiler was specified, use CC.
14788 LTCC=${LTCC-"$CC"}
14789
14790 # If no C compiler flags were specified, use CFLAGS.
14791 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14792
14793 # Allow CC to be a program name with arguments.
14794 compiler=$CC
14795
14796
14797   # save warnings/boilerplate of simple test code
14798   ac_outfile=conftest.$ac_objext
14799 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14800 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14801 _lt_compiler_boilerplate=`cat conftest.err`
14802 $RM conftest*
14803
14804   ac_outfile=conftest.$ac_objext
14805 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14806 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14807 _lt_linker_boilerplate=`cat conftest.err`
14808 $RM -r conftest*
14809
14810
14811   # Allow CC to be a program name with arguments.
14812   lt_save_CC=$CC
14813   lt_save_CFLAGS=$CFLAGS
14814   lt_save_LD=$LD
14815   lt_save_GCC=$GCC
14816   GCC=$GXX
14817   lt_save_with_gnu_ld=$with_gnu_ld
14818   lt_save_path_LD=$lt_cv_path_LD
14819   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14820     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14821   else
14822     $as_unset lt_cv_prog_gnu_ld
14823   fi
14824   if test -n "${lt_cv_path_LDCXX+set}"; then
14825     lt_cv_path_LD=$lt_cv_path_LDCXX
14826   else
14827     $as_unset lt_cv_path_LD
14828   fi
14829   test -z "${LDCXX+set}" || LD=$LDCXX
14830   CC=${CXX-"c++"}
14831   CFLAGS=$CXXFLAGS
14832   compiler=$CC
14833   compiler_CXX=$CC
14834   func_cc_basename $compiler
14835 cc_basename=$func_cc_basename_result
14836
14837
14838   if test -n "$compiler"; then
14839     # We don't want -fno-exception when compiling C++ code, so set the
14840     # no_builtin_flag separately
14841     if test yes = "$GXX"; then
14842       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14843     else
14844       lt_prog_compiler_no_builtin_flag_CXX=
14845     fi
14846
14847     if test yes = "$GXX"; then
14848       # Set up default GNU C++ configuration
14849
14850
14851
14852 # Check whether --with-gnu-ld was given.
14853 if test "${with_gnu_ld+set}" = set; then :
14854   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14855 else
14856   with_gnu_ld=no
14857 fi
14858
14859 ac_prog=ld
14860 if test yes = "$GCC"; then
14861   # Check if gcc -print-prog-name=ld gives a path.
14862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14863 $as_echo_n "checking for ld used by $CC... " >&6; }
14864   case $host in
14865   *-*-mingw*)
14866     # gcc leaves a trailing carriage return, which upsets mingw
14867     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14868   *)
14869     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14870   esac
14871   case $ac_prog in
14872     # Accept absolute paths.
14873     [\\/]* | ?:[\\/]*)
14874       re_direlt='/[^/][^/]*/\.\./'
14875       # Canonicalize the pathname of ld
14876       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14877       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14878         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14879       done
14880       test -z "$LD" && LD=$ac_prog
14881       ;;
14882   "")
14883     # If it fails, then pretend we aren't using GCC.
14884     ac_prog=ld
14885     ;;
14886   *)
14887     # If it is relative, then search for the first ld in PATH.
14888     with_gnu_ld=unknown
14889     ;;
14890   esac
14891 elif test yes = "$with_gnu_ld"; then
14892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14893 $as_echo_n "checking for GNU ld... " >&6; }
14894 else
14895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14896 $as_echo_n "checking for non-GNU ld... " >&6; }
14897 fi
14898 if ${lt_cv_path_LD+:} false; then :
14899   $as_echo_n "(cached) " >&6
14900 else
14901   if test -z "$LD"; then
14902   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14903   for ac_dir in $PATH; do
14904     IFS=$lt_save_ifs
14905     test -z "$ac_dir" && ac_dir=.
14906     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14907       lt_cv_path_LD=$ac_dir/$ac_prog
14908       # Check to see if the program is GNU ld.  I'd rather use --version,
14909       # but apparently some variants of GNU ld only accept -v.
14910       # Break only if it was the GNU/non-GNU ld that we prefer.
14911       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14912       *GNU* | *'with BFD'*)
14913         test no != "$with_gnu_ld" && break
14914         ;;
14915       *)
14916         test yes != "$with_gnu_ld" && break
14917         ;;
14918       esac
14919     fi
14920   done
14921   IFS=$lt_save_ifs
14922 else
14923   lt_cv_path_LD=$LD # Let the user override the test with a path.
14924 fi
14925 fi
14926
14927 LD=$lt_cv_path_LD
14928 if test -n "$LD"; then
14929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14930 $as_echo "$LD" >&6; }
14931 else
14932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14933 $as_echo "no" >&6; }
14934 fi
14935 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14937 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14938 if ${lt_cv_prog_gnu_ld+:} false; then :
14939   $as_echo_n "(cached) " >&6
14940 else
14941   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14942 case `$LD -v 2>&1 </dev/null` in
14943 *GNU* | *'with BFD'*)
14944   lt_cv_prog_gnu_ld=yes
14945   ;;
14946 *)
14947   lt_cv_prog_gnu_ld=no
14948   ;;
14949 esac
14950 fi
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14952 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14953 with_gnu_ld=$lt_cv_prog_gnu_ld
14954
14955
14956
14957
14958
14959
14960
14961       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14962       # archiving commands below assume that GNU ld is being used.
14963       if test yes = "$with_gnu_ld"; then
14964         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14965         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'
14966
14967         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14968         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14969
14970         # If archive_cmds runs LD, not CC, wlarc should be empty
14971         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14972         #     investigate it a little bit more. (MM)
14973         wlarc='$wl'
14974
14975         # ancient GNU ld didn't support --whole-archive et. al.
14976         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14977           $GREP 'no-whole-archive' > /dev/null; then
14978           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14979         else
14980           whole_archive_flag_spec_CXX=
14981         fi
14982       else
14983         with_gnu_ld=no
14984         wlarc=
14985
14986         # A generic and very simple default shared library creation
14987         # command for GNU C++ for the case where it uses the native
14988         # linker, instead of GNU ld.  If possible, this setting should
14989         # overridden to take advantage of the native linker features on
14990         # the platform it is being used on.
14991         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14992       fi
14993
14994       # Commands to make compiler produce verbose output that lists
14995       # what "hidden" libraries, object files and flags are used when
14996       # linking a shared library.
14997       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14998
14999     else
15000       GXX=no
15001       with_gnu_ld=no
15002       wlarc=
15003     fi
15004
15005     # PORTME: fill in a description of your system's C++ link characteristics
15006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15008     ld_shlibs_CXX=yes
15009     case $host_os in
15010       aix3*)
15011         # FIXME: insert proper C++ library support
15012         ld_shlibs_CXX=no
15013         ;;
15014       aix[4-9]*)
15015         if test ia64 = "$host_cpu"; then
15016           # On IA64, the linker does run time linking by default, so we don't
15017           # have to do anything special.
15018           aix_use_runtimelinking=no
15019           exp_sym_flag='-Bexport'
15020           no_entry_flag=
15021         else
15022           aix_use_runtimelinking=no
15023
15024           # Test if we are trying to use run time linking or normal
15025           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15026           # have runtime linking enabled, and use it for executables.
15027           # For shared libraries, we enable/disable runtime linking
15028           # depending on the kind of the shared library created -
15029           # when "with_aix_soname,aix_use_runtimelinking" is:
15030           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
15031           # "aix,yes"  lib.so          shared, rtl:yes, for executables
15032           #            lib.a           static archive
15033           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
15034           #            lib.a(lib.so.V) shared, rtl:no,  for executables
15035           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15036           #            lib.a(lib.so.V) shared, rtl:no
15037           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
15038           #            lib.a           static archive
15039           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15040             for ld_flag in $LDFLAGS; do
15041               case $ld_flag in
15042               *-brtl*)
15043                 aix_use_runtimelinking=yes
15044                 break
15045                 ;;
15046               esac
15047             done
15048             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15049               # With aix-soname=svr4, we create the lib.so.V shared archives only,
15050               # so we don't have lib.a shared libs to link our executables.
15051               # We have to force runtime linking in this case.
15052               aix_use_runtimelinking=yes
15053               LDFLAGS="$LDFLAGS -Wl,-brtl"
15054             fi
15055             ;;
15056           esac
15057
15058           exp_sym_flag='-bexport'
15059           no_entry_flag='-bnoentry'
15060         fi
15061
15062         # When large executables or shared objects are built, AIX ld can
15063         # have problems creating the table of contents.  If linking a library
15064         # or program results in "error TOC overflow" add -mminimal-toc to
15065         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15066         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15067
15068         archive_cmds_CXX=''
15069         hardcode_direct_CXX=yes
15070         hardcode_direct_absolute_CXX=yes
15071         hardcode_libdir_separator_CXX=':'
15072         link_all_deplibs_CXX=yes
15073         file_list_spec_CXX='$wl-f,'
15074         case $with_aix_soname,$aix_use_runtimelinking in
15075         aix,*) ;;       # no import file
15076         svr4,* | *,yes) # use import file
15077           # The Import File defines what to hardcode.
15078           hardcode_direct_CXX=no
15079           hardcode_direct_absolute_CXX=no
15080           ;;
15081         esac
15082
15083         if test yes = "$GXX"; then
15084           case $host_os in aix4.[012]|aix4.[012].*)
15085           # We only want to do this on AIX 4.2 and lower, the check
15086           # below for broken collect2 doesn't work under 4.3+
15087           collect2name=`$CC -print-prog-name=collect2`
15088           if test -f "$collect2name" &&
15089              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15090           then
15091             # We have reworked collect2
15092             :
15093           else
15094             # We have old collect2
15095             hardcode_direct_CXX=unsupported
15096             # It fails to find uninstalled libraries when the uninstalled
15097             # path is not listed in the libpath.  Setting hardcode_minus_L
15098             # to unsupported forces relinking
15099             hardcode_minus_L_CXX=yes
15100             hardcode_libdir_flag_spec_CXX='-L$libdir'
15101             hardcode_libdir_separator_CXX=
15102           fi
15103           esac
15104           shared_flag='-shared'
15105           if test yes = "$aix_use_runtimelinking"; then
15106             shared_flag=$shared_flag' $wl-G'
15107           fi
15108           # Need to ensure runtime linking is disabled for the traditional
15109           # shared library, or the linker may eventually find shared libraries
15110           # /with/ Import File - we do not want to mix them.
15111           shared_flag_aix='-shared'
15112           shared_flag_svr4='-shared $wl-G'
15113         else
15114           # not using gcc
15115           if test ia64 = "$host_cpu"; then
15116           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15117           # chokes on -Wl,-G. The following line is correct:
15118           shared_flag='-G'
15119           else
15120             if test yes = "$aix_use_runtimelinking"; then
15121               shared_flag='$wl-G'
15122             else
15123               shared_flag='$wl-bM:SRE'
15124             fi
15125             shared_flag_aix='$wl-bM:SRE'
15126             shared_flag_svr4='$wl-G'
15127           fi
15128         fi
15129
15130         export_dynamic_flag_spec_CXX='$wl-bexpall'
15131         # It seems that -bexpall does not export symbols beginning with
15132         # underscore (_), so it is better to generate a list of symbols to
15133         # export.
15134         always_export_symbols_CXX=yes
15135         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15136           # Warning - without using the other runtime loading flags (-brtl),
15137           # -berok will link without error, but may produce a broken library.
15138           # The "-G" linker flag allows undefined symbols.
15139           no_undefined_flag_CXX='-bernotok'
15140           # Determine the default libpath from the value encoded in an empty
15141           # executable.
15142           if test set = "${lt_cv_aix_libpath+set}"; then
15143   aix_libpath=$lt_cv_aix_libpath
15144 else
15145   if ${lt_cv_aix_libpath__CXX+:} false; then :
15146   $as_echo_n "(cached) " >&6
15147 else
15148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h.  */
15150
15151 int
15152 main ()
15153 {
15154
15155   ;
15156   return 0;
15157 }
15158 _ACEOF
15159 if ac_fn_cxx_try_link "$LINENO"; then :
15160
15161   lt_aix_libpath_sed='
15162       /Import File Strings/,/^$/ {
15163           /^0/ {
15164               s/^0  *\([^ ]*\) *$/\1/
15165               p
15166           }
15167       }'
15168   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15169   # Check for a 64-bit object if we didn't find anything.
15170   if test -z "$lt_cv_aix_libpath__CXX"; then
15171     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15172   fi
15173 fi
15174 rm -f core conftest.err conftest.$ac_objext \
15175     conftest$ac_exeext conftest.$ac_ext
15176   if test -z "$lt_cv_aix_libpath__CXX"; then
15177     lt_cv_aix_libpath__CXX=/usr/lib:/lib
15178   fi
15179
15180 fi
15181
15182   aix_libpath=$lt_cv_aix_libpath__CXX
15183 fi
15184
15185           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15186
15187           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
15188         else
15189           if test ia64 = "$host_cpu"; then
15190             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15191             allow_undefined_flag_CXX="-z nodefs"
15192             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"
15193           else
15194             # Determine the default libpath from the value encoded in an
15195             # empty executable.
15196             if test set = "${lt_cv_aix_libpath+set}"; then
15197   aix_libpath=$lt_cv_aix_libpath
15198 else
15199   if ${lt_cv_aix_libpath__CXX+:} false; then :
15200   $as_echo_n "(cached) " >&6
15201 else
15202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h.  */
15204
15205 int
15206 main ()
15207 {
15208
15209   ;
15210   return 0;
15211 }
15212 _ACEOF
15213 if ac_fn_cxx_try_link "$LINENO"; then :
15214
15215   lt_aix_libpath_sed='
15216       /Import File Strings/,/^$/ {
15217           /^0/ {
15218               s/^0  *\([^ ]*\) *$/\1/
15219               p
15220           }
15221       }'
15222   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15223   # Check for a 64-bit object if we didn't find anything.
15224   if test -z "$lt_cv_aix_libpath__CXX"; then
15225     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15226   fi
15227 fi
15228 rm -f core conftest.err conftest.$ac_objext \
15229     conftest$ac_exeext conftest.$ac_ext
15230   if test -z "$lt_cv_aix_libpath__CXX"; then
15231     lt_cv_aix_libpath__CXX=/usr/lib:/lib
15232   fi
15233
15234 fi
15235
15236   aix_libpath=$lt_cv_aix_libpath__CXX
15237 fi
15238
15239             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15240             # Warning - without using the other run time loading flags,
15241             # -berok will link without error, but may produce a broken library.
15242             no_undefined_flag_CXX=' $wl-bernotok'
15243             allow_undefined_flag_CXX=' $wl-berok'
15244             if test yes = "$with_gnu_ld"; then
15245               # We only use this code for GNU lds that support --whole-archive.
15246               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15247             else
15248               # Exported symbols can be pulled into shared objects from archives
15249               whole_archive_flag_spec_CXX='$convenience'
15250             fi
15251             archive_cmds_need_lc_CXX=yes
15252             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15253             # -brtl affects multiple linker settings, -berok does not and is overridden later
15254             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15255             if test svr4 != "$with_aix_soname"; then
15256               # This is similar to how AIX traditionally builds its shared
15257               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15258               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'
15259             fi
15260             if test aix != "$with_aix_soname"; then
15261               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'
15262             else
15263               # used by -dlpreopen to get the symbols
15264               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
15265             fi
15266             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15267           fi
15268         fi
15269         ;;
15270
15271       beos*)
15272         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15273           allow_undefined_flag_CXX=unsupported
15274           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15275           # support --undefined.  This deserves some investigation.  FIXME
15276           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15277         else
15278           ld_shlibs_CXX=no
15279         fi
15280         ;;
15281
15282       chorus*)
15283         case $cc_basename in
15284           *)
15285           # FIXME: insert proper C++ library support
15286           ld_shlibs_CXX=no
15287           ;;
15288         esac
15289         ;;
15290
15291       cygwin* | mingw* | pw32* | cegcc*)
15292         case $GXX,$cc_basename in
15293         ,cl* | no,cl*)
15294           # Native MSVC
15295           # hardcode_libdir_flag_spec is actually meaningless, as there is
15296           # no search path for DLLs.
15297           hardcode_libdir_flag_spec_CXX=' '
15298           allow_undefined_flag_CXX=unsupported
15299           always_export_symbols_CXX=yes
15300           file_list_spec_CXX='@'
15301           # Tell ltmain to make .lib files, not .a files.
15302           libext=lib
15303           # Tell ltmain to make .dll files, not .so files.
15304           shrext_cmds=.dll
15305           # FIXME: Setting linknames here is a bad hack.
15306           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15307           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15308               cp "$export_symbols" "$output_objdir/$soname.def";
15309               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15310             else
15311               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15312             fi~
15313             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15314             linknames='
15315           # The linker will not automatically build a static lib if we build a DLL.
15316           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15317           enable_shared_with_static_runtimes_CXX=yes
15318           # Don't use ranlib
15319           old_postinstall_cmds_CXX='chmod 644 $oldlib'
15320           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15321             lt_tool_outputfile="@TOOL_OUTPUT@"~
15322             case $lt_outputfile in
15323               *.exe|*.EXE) ;;
15324               *)
15325                 lt_outputfile=$lt_outputfile.exe
15326                 lt_tool_outputfile=$lt_tool_outputfile.exe
15327                 ;;
15328             esac~
15329             func_to_tool_file "$lt_outputfile"~
15330             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15331               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15332               $RM "$lt_outputfile.manifest";
15333             fi'
15334           ;;
15335         *)
15336           # g++
15337           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15338           # as there is no search path for DLLs.
15339           hardcode_libdir_flag_spec_CXX='-L$libdir'
15340           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15341           allow_undefined_flag_CXX=unsupported
15342           always_export_symbols_CXX=no
15343           enable_shared_with_static_runtimes_CXX=yes
15344
15345           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15346             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'
15347             # If the export-symbols file already is a .def file, use it as
15348             # is; otherwise, prepend EXPORTS...
15349             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
15350               cp $export_symbols $output_objdir/$soname.def;
15351             else
15352               echo EXPORTS > $output_objdir/$soname.def;
15353               cat $export_symbols >> $output_objdir/$soname.def;
15354             fi~
15355             $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'
15356           else
15357             ld_shlibs_CXX=no
15358           fi
15359           ;;
15360         esac
15361         ;;
15362       darwin* | rhapsody*)
15363
15364
15365   archive_cmds_need_lc_CXX=no
15366   hardcode_direct_CXX=no
15367   hardcode_automatic_CXX=yes
15368   hardcode_shlibpath_var_CXX=unsupported
15369   if test yes = "$lt_cv_ld_force_load"; then
15370     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\"`'
15371
15372   else
15373     whole_archive_flag_spec_CXX=''
15374   fi
15375   link_all_deplibs_CXX=yes
15376   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15377   case $cc_basename in
15378      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15379      *) _lt_dar_can_shared=$GCC ;;
15380   esac
15381   if test yes = "$_lt_dar_can_shared"; then
15382     output_verbose_link_cmd=func_echo_all
15383     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"
15384     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15385     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"
15386     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"
15387        if test yes != "$lt_cv_apple_cc_single_mod"; then
15388       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"
15389       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"
15390     fi
15391
15392   else
15393   ld_shlibs_CXX=no
15394   fi
15395
15396         ;;
15397
15398       os2*)
15399         hardcode_libdir_flag_spec_CXX='-L$libdir'
15400         hardcode_minus_L_CXX=yes
15401         allow_undefined_flag_CXX=unsupported
15402         shrext_cmds=.dll
15403         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15404           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15405           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15406           $ECHO EXPORTS >> $output_objdir/$libname.def~
15407           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15408           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15409           emximp -o $lib $output_objdir/$libname.def'
15410         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15411           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15412           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15413           $ECHO EXPORTS >> $output_objdir/$libname.def~
15414           prefix_cmds="$SED"~
15415           if test EXPORTS = "`$SED 1q $export_symbols`"; then
15416             prefix_cmds="$prefix_cmds -e 1d";
15417           fi~
15418           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15419           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15420           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15421           emximp -o $lib $output_objdir/$libname.def'
15422         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15423         enable_shared_with_static_runtimes_CXX=yes
15424         ;;
15425
15426       dgux*)
15427         case $cc_basename in
15428           ec++*)
15429             # FIXME: insert proper C++ library support
15430             ld_shlibs_CXX=no
15431             ;;
15432           ghcx*)
15433             # Green Hills C++ Compiler
15434             # FIXME: insert proper C++ library support
15435             ld_shlibs_CXX=no
15436             ;;
15437           *)
15438             # FIXME: insert proper C++ library support
15439             ld_shlibs_CXX=no
15440             ;;
15441         esac
15442         ;;
15443
15444       freebsd2.*)
15445         # C++ shared libraries reported to be fairly broken before
15446         # switch to ELF
15447         ld_shlibs_CXX=no
15448         ;;
15449
15450       freebsd-elf*)
15451         archive_cmds_need_lc_CXX=no
15452         ;;
15453
15454       freebsd* | dragonfly*)
15455         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15456         # conventions
15457         ld_shlibs_CXX=yes
15458         ;;
15459
15460       haiku*)
15461         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15462         link_all_deplibs_CXX=yes
15463         ;;
15464
15465       hpux9*)
15466         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15467         hardcode_libdir_separator_CXX=:
15468         export_dynamic_flag_spec_CXX='$wl-E'
15469         hardcode_direct_CXX=yes
15470         hardcode_minus_L_CXX=yes # Not in the search PATH,
15471                                              # but as the default
15472                                              # location of the library.
15473
15474         case $cc_basename in
15475           CC*)
15476             # FIXME: insert proper C++ library support
15477             ld_shlibs_CXX=no
15478             ;;
15479           aCC*)
15480             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'
15481             # Commands to make compiler produce verbose output that lists
15482             # what "hidden" libraries, object files and flags are used when
15483             # linking a shared library.
15484             #
15485             # There doesn't appear to be a way to prevent this compiler from
15486             # explicitly linking system object files so we need to strip them
15487             # from the output so that they don't get included in the library
15488             # dependencies.
15489             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"'
15490             ;;
15491           *)
15492             if test yes = "$GXX"; then
15493               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'
15494             else
15495               # FIXME: insert proper C++ library support
15496               ld_shlibs_CXX=no
15497             fi
15498             ;;
15499         esac
15500         ;;
15501
15502       hpux10*|hpux11*)
15503         if test no = "$with_gnu_ld"; then
15504           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15505           hardcode_libdir_separator_CXX=:
15506
15507           case $host_cpu in
15508             hppa*64*|ia64*)
15509               ;;
15510             *)
15511               export_dynamic_flag_spec_CXX='$wl-E'
15512               ;;
15513           esac
15514         fi
15515         case $host_cpu in
15516           hppa*64*|ia64*)
15517             hardcode_direct_CXX=no
15518             hardcode_shlibpath_var_CXX=no
15519             ;;
15520           *)
15521             hardcode_direct_CXX=yes
15522             hardcode_direct_absolute_CXX=yes
15523             hardcode_minus_L_CXX=yes # Not in the search PATH,
15524                                                  # but as the default
15525                                                  # location of the library.
15526             ;;
15527         esac
15528
15529         case $cc_basename in
15530           CC*)
15531             # FIXME: insert proper C++ library support
15532             ld_shlibs_CXX=no
15533             ;;
15534           aCC*)
15535             case $host_cpu in
15536               hppa*64*)
15537                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15538                 ;;
15539               ia64*)
15540                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15541                 ;;
15542               *)
15543                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15544                 ;;
15545             esac
15546             # Commands to make compiler produce verbose output that lists
15547             # what "hidden" libraries, object files and flags are used when
15548             # linking a shared library.
15549             #
15550             # There doesn't appear to be a way to prevent this compiler from
15551             # explicitly linking system object files so we need to strip them
15552             # from the output so that they don't get included in the library
15553             # dependencies.
15554             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"'
15555             ;;
15556           *)
15557             if test yes = "$GXX"; then
15558               if test no = "$with_gnu_ld"; then
15559                 case $host_cpu in
15560                   hppa*64*)
15561                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15562                     ;;
15563                   ia64*)
15564                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15565                     ;;
15566                   *)
15567                     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'
15568                     ;;
15569                 esac
15570               fi
15571             else
15572               # FIXME: insert proper C++ library support
15573               ld_shlibs_CXX=no
15574             fi
15575             ;;
15576         esac
15577         ;;
15578
15579       interix[3-9]*)
15580         hardcode_direct_CXX=no
15581         hardcode_shlibpath_var_CXX=no
15582         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15583         export_dynamic_flag_spec_CXX='$wl-E'
15584         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15585         # Instead, shared libraries are loaded at an image base (0x10000000 by
15586         # default) and relocated if they conflict, which is a slow very memory
15587         # consuming and fragmenting process.  To avoid this, we pick a random,
15588         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15589         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15590         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'
15591         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'
15592         ;;
15593       irix5* | irix6*)
15594         case $cc_basename in
15595           CC*)
15596             # SGI C++
15597             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'
15598
15599             # Archives containing C++ object files must be created using
15600             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15601             # necessary to make sure instantiated templates are included
15602             # in the archive.
15603             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15604             ;;
15605           *)
15606             if test yes = "$GXX"; then
15607               if test no = "$with_gnu_ld"; then
15608                 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'
15609               else
15610                 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'
15611               fi
15612             fi
15613             link_all_deplibs_CXX=yes
15614             ;;
15615         esac
15616         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15617         hardcode_libdir_separator_CXX=:
15618         inherit_rpath_CXX=yes
15619         ;;
15620
15621       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15622         case $cc_basename in
15623           KCC*)
15624             # Kuck and Associates, Inc. (KAI) C++ Compiler
15625
15626             # KCC will only create a shared library if the output file
15627             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15628             # to its proper name (with version) after linking.
15629             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'
15630             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'
15631             # Commands to make compiler produce verbose output that lists
15632             # what "hidden" libraries, object files and flags are used when
15633             # linking a shared library.
15634             #
15635             # There doesn't appear to be a way to prevent this compiler from
15636             # explicitly linking system object files so we need to strip them
15637             # from the output so that they don't get included in the library
15638             # dependencies.
15639             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"'
15640
15641             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15642             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15643
15644             # Archives containing C++ object files must be created using
15645             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15646             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15647             ;;
15648           icpc* | ecpc* )
15649             # Intel C++
15650             with_gnu_ld=yes
15651             # version 8.0 and above of icpc choke on multiply defined symbols
15652             # if we add $predep_objects and $postdep_objects, however 7.1 and
15653             # earlier do not add the objects themselves.
15654             case `$CC -V 2>&1` in
15655               *"Version 7."*)
15656                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15657                 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'
15658                 ;;
15659               *)  # Version 8.0 or newer
15660                 tmp_idyn=
15661                 case $host_cpu in
15662                   ia64*) tmp_idyn=' -i_dynamic';;
15663                 esac
15664                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15665                 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'
15666                 ;;
15667             esac
15668             archive_cmds_need_lc_CXX=no
15669             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15670             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15671             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15672             ;;
15673           pgCC* | pgcpp*)
15674             # Portland Group C++ compiler
15675             case `$CC -V` in
15676             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15677               prelink_cmds_CXX='tpldir=Template.dir~
15678                rm -rf $tpldir~
15679                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15680                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15681               old_archive_cmds_CXX='tpldir=Template.dir~
15682                 rm -rf $tpldir~
15683                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15684                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15685                 $RANLIB $oldlib'
15686               archive_cmds_CXX='tpldir=Template.dir~
15687                 rm -rf $tpldir~
15688                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15689                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15690               archive_expsym_cmds_CXX='tpldir=Template.dir~
15691                 rm -rf $tpldir~
15692                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15693                 $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'
15694               ;;
15695             *) # Version 6 and above use weak symbols
15696               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15697               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'
15698               ;;
15699             esac
15700
15701             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15702             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15703             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'
15704             ;;
15705           cxx*)
15706             # Compaq C++
15707             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15708             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'
15709
15710             runpath_var=LD_RUN_PATH
15711             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15712             hardcode_libdir_separator_CXX=:
15713
15714             # Commands to make compiler produce verbose output that lists
15715             # what "hidden" libraries, object files and flags are used when
15716             # linking a shared library.
15717             #
15718             # There doesn't appear to be a way to prevent this compiler from
15719             # explicitly linking system object files so we need to strip them
15720             # from the output so that they don't get included in the library
15721             # dependencies.
15722             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'
15723             ;;
15724           xl* | mpixl* | bgxl*)
15725             # IBM XL 8.0 on PPC, with GNU ld
15726             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15727             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15728             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15729             if test yes = "$supports_anon_versioning"; then
15730               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15731                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15732                 echo "local: *; };" >> $output_objdir/$libname.ver~
15733                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15734             fi
15735             ;;
15736           *)
15737             case `$CC -V 2>&1 | sed 5q` in
15738             *Sun\ C*)
15739               # Sun C++ 5.9
15740               no_undefined_flag_CXX=' -zdefs'
15741               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15742               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'
15743               hardcode_libdir_flag_spec_CXX='-R$libdir'
15744               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'
15745               compiler_needs_object_CXX=yes
15746
15747               # Not sure whether something based on
15748               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15749               # would be better.
15750               output_verbose_link_cmd='func_echo_all'
15751
15752               # Archives containing C++ object files must be created using
15753               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15754               # necessary to make sure instantiated templates are included
15755               # in the archive.
15756               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15757               ;;
15758             esac
15759             ;;
15760         esac
15761         ;;
15762
15763       lynxos*)
15764         # FIXME: insert proper C++ library support
15765         ld_shlibs_CXX=no
15766         ;;
15767
15768       m88k*)
15769         # FIXME: insert proper C++ library support
15770         ld_shlibs_CXX=no
15771         ;;
15772
15773       mvs*)
15774         case $cc_basename in
15775           cxx*)
15776             # FIXME: insert proper C++ library support
15777             ld_shlibs_CXX=no
15778             ;;
15779           *)
15780             # FIXME: insert proper C++ library support
15781             ld_shlibs_CXX=no
15782             ;;
15783         esac
15784         ;;
15785
15786       netbsd*)
15787         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15788           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15789           wlarc=
15790           hardcode_libdir_flag_spec_CXX='-R$libdir'
15791           hardcode_direct_CXX=yes
15792           hardcode_shlibpath_var_CXX=no
15793         fi
15794         # Workaround some broken pre-1.5 toolchains
15795         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15796         ;;
15797
15798       *nto* | *qnx*)
15799         ld_shlibs_CXX=yes
15800         ;;
15801
15802       openbsd* | bitrig*)
15803         if test -f /usr/libexec/ld.so; then
15804           hardcode_direct_CXX=yes
15805           hardcode_shlibpath_var_CXX=no
15806           hardcode_direct_absolute_CXX=yes
15807           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15808           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15809           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15810             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15811             export_dynamic_flag_spec_CXX='$wl-E'
15812             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15813           fi
15814           output_verbose_link_cmd=func_echo_all
15815         else
15816           ld_shlibs_CXX=no
15817         fi
15818         ;;
15819
15820       osf3* | osf4* | osf5*)
15821         case $cc_basename in
15822           KCC*)
15823             # Kuck and Associates, Inc. (KAI) C++ Compiler
15824
15825             # KCC will only create a shared library if the output file
15826             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15827             # to its proper name (with version) after linking.
15828             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'
15829
15830             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15831             hardcode_libdir_separator_CXX=:
15832
15833             # Archives containing C++ object files must be created using
15834             # the KAI C++ compiler.
15835             case $host in
15836               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15837               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15838             esac
15839             ;;
15840           RCC*)
15841             # Rational C++ 2.4.1
15842             # FIXME: insert proper C++ library support
15843             ld_shlibs_CXX=no
15844             ;;
15845           cxx*)
15846             case $host in
15847               osf3*)
15848                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15849                 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'
15850                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15851                 ;;
15852               *)
15853                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15854                 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'
15855                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15856                   echo "-hidden">> $lib.exp~
15857                   $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~
15858                   $RM $lib.exp'
15859                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15860                 ;;
15861             esac
15862
15863             hardcode_libdir_separator_CXX=:
15864
15865             # Commands to make compiler produce verbose output that lists
15866             # what "hidden" libraries, object files and flags are used when
15867             # linking a shared library.
15868             #
15869             # There doesn't appear to be a way to prevent this compiler from
15870             # explicitly linking system object files so we need to strip them
15871             # from the output so that they don't get included in the library
15872             # dependencies.
15873             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"'
15874             ;;
15875           *)
15876             if test yes,no = "$GXX,$with_gnu_ld"; then
15877               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15878               case $host in
15879                 osf3*)
15880                   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'
15881                   ;;
15882                 *)
15883                   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'
15884                   ;;
15885               esac
15886
15887               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15888               hardcode_libdir_separator_CXX=:
15889
15890               # Commands to make compiler produce verbose output that lists
15891               # what "hidden" libraries, object files and flags are used when
15892               # linking a shared library.
15893               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15894
15895             else
15896               # FIXME: insert proper C++ library support
15897               ld_shlibs_CXX=no
15898             fi
15899             ;;
15900         esac
15901         ;;
15902
15903       psos*)
15904         # FIXME: insert proper C++ library support
15905         ld_shlibs_CXX=no
15906         ;;
15907
15908       sunos4*)
15909         case $cc_basename in
15910           CC*)
15911             # Sun C++ 4.x
15912             # FIXME: insert proper C++ library support
15913             ld_shlibs_CXX=no
15914             ;;
15915           lcc*)
15916             # Lucid
15917             # FIXME: insert proper C++ library support
15918             ld_shlibs_CXX=no
15919             ;;
15920           *)
15921             # FIXME: insert proper C++ library support
15922             ld_shlibs_CXX=no
15923             ;;
15924         esac
15925         ;;
15926
15927       solaris*)
15928         case $cc_basename in
15929           CC* | sunCC*)
15930             # Sun C++ 4.2, 5.x and Centerline C++
15931             archive_cmds_need_lc_CXX=yes
15932             no_undefined_flag_CXX=' -zdefs'
15933             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15934             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15935               $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'
15936
15937             hardcode_libdir_flag_spec_CXX='-R$libdir'
15938             hardcode_shlibpath_var_CXX=no
15939             case $host_os in
15940               solaris2.[0-5] | solaris2.[0-5].*) ;;
15941               *)
15942                 # The compiler driver will combine and reorder linker options,
15943                 # but understands '-z linker_flag'.
15944                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15945                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15946                 ;;
15947             esac
15948             link_all_deplibs_CXX=yes
15949
15950             output_verbose_link_cmd='func_echo_all'
15951
15952             # Archives containing C++ object files must be created using
15953             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15954             # necessary to make sure instantiated templates are included
15955             # in the archive.
15956             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15957             ;;
15958           gcx*)
15959             # Green Hills C++ Compiler
15960             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15961
15962             # The C++ compiler must be used to create the archive.
15963             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15964             ;;
15965           *)
15966             # GNU C++ compiler with Solaris linker
15967             if test yes,no = "$GXX,$with_gnu_ld"; then
15968               no_undefined_flag_CXX=' $wl-z ${wl}defs'
15969               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15970                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15971                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15972                   $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'
15973
15974                 # Commands to make compiler produce verbose output that lists
15975                 # what "hidden" libraries, object files and flags are used when
15976                 # linking a shared library.
15977                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15978               else
15979                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
15980                 # platform.
15981                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15982                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15983                   $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'
15984
15985                 # Commands to make compiler produce verbose output that lists
15986                 # what "hidden" libraries, object files and flags are used when
15987                 # linking a shared library.
15988                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15989               fi
15990
15991               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15992               case $host_os in
15993                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15994                 *)
15995                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15996                   ;;
15997               esac
15998             fi
15999             ;;
16000         esac
16001         ;;
16002
16003     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16004       no_undefined_flag_CXX='$wl-z,text'
16005       archive_cmds_need_lc_CXX=no
16006       hardcode_shlibpath_var_CXX=no
16007       runpath_var='LD_RUN_PATH'
16008
16009       case $cc_basename in
16010         CC*)
16011           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16012           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16013           ;;
16014         *)
16015           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16016           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16017           ;;
16018       esac
16019       ;;
16020
16021       sysv5* | sco3.2v5* | sco5v6*)
16022         # Note: We CANNOT use -z defs as we might desire, because we do not
16023         # link with -lc, and that would cause any symbols used from libc to
16024         # always be unresolved, which means just about no library would
16025         # ever link correctly.  If we're not using GNU ld we use -z text
16026         # though, which does catch some bad symbols but isn't as heavy-handed
16027         # as -z defs.
16028         no_undefined_flag_CXX='$wl-z,text'
16029         allow_undefined_flag_CXX='$wl-z,nodefs'
16030         archive_cmds_need_lc_CXX=no
16031         hardcode_shlibpath_var_CXX=no
16032         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16033         hardcode_libdir_separator_CXX=':'
16034         link_all_deplibs_CXX=yes
16035         export_dynamic_flag_spec_CXX='$wl-Bexport'
16036         runpath_var='LD_RUN_PATH'
16037
16038         case $cc_basename in
16039           CC*)
16040             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16041             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16042             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16043               '"$old_archive_cmds_CXX"
16044             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16045               '"$reload_cmds_CXX"
16046             ;;
16047           *)
16048             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16049             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16050             ;;
16051         esac
16052       ;;
16053
16054       tandem*)
16055         case $cc_basename in
16056           NCC*)
16057             # NonStop-UX NCC 3.20
16058             # FIXME: insert proper C++ library support
16059             ld_shlibs_CXX=no
16060             ;;
16061           *)
16062             # FIXME: insert proper C++ library support
16063             ld_shlibs_CXX=no
16064             ;;
16065         esac
16066         ;;
16067
16068       vxworks*)
16069         # FIXME: insert proper C++ library support
16070         ld_shlibs_CXX=no
16071         ;;
16072
16073       *)
16074         # FIXME: insert proper C++ library support
16075         ld_shlibs_CXX=no
16076         ;;
16077     esac
16078
16079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16080 $as_echo "$ld_shlibs_CXX" >&6; }
16081     test no = "$ld_shlibs_CXX" && can_build_shared=no
16082
16083     GCC_CXX=$GXX
16084     LD_CXX=$LD
16085
16086     ## CAVEAT EMPTOR:
16087     ## There is no encapsulation within the following macros, do not change
16088     ## the running order or otherwise move them around unless you know exactly
16089     ## what you are doing...
16090     # Dependencies to place before and after the object being linked:
16091 predep_objects_CXX=
16092 postdep_objects_CXX=
16093 predeps_CXX=
16094 postdeps_CXX=
16095 compiler_lib_search_path_CXX=
16096
16097 cat > conftest.$ac_ext <<_LT_EOF
16098 class Foo
16099 {
16100 public:
16101   Foo (void) { a = 0; }
16102 private:
16103   int a;
16104 };
16105 _LT_EOF
16106
16107
16108 _lt_libdeps_save_CFLAGS=$CFLAGS
16109 case "$CC $CFLAGS " in #(
16110 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16111 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16112 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16113 esac
16114
16115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16116   (eval $ac_compile) 2>&5
16117   ac_status=$?
16118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16119   test $ac_status = 0; }; then
16120   # Parse the compiler output and extract the necessary
16121   # objects, libraries and library flags.
16122
16123   # Sentinel used to keep track of whether or not we are before
16124   # the conftest object file.
16125   pre_test_object_deps_done=no
16126
16127   for p in `eval "$output_verbose_link_cmd"`; do
16128     case $prev$p in
16129
16130     -L* | -R* | -l*)
16131        # Some compilers place space between "-{L,R}" and the path.
16132        # Remove the space.
16133        if test x-L = "$p" ||
16134           test x-R = "$p"; then
16135          prev=$p
16136          continue
16137        fi
16138
16139        # Expand the sysroot to ease extracting the directories later.
16140        if test -z "$prev"; then
16141          case $p in
16142          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16143          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16144          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16145          esac
16146        fi
16147        case $p in
16148        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16149        esac
16150        if test no = "$pre_test_object_deps_done"; then
16151          case $prev in
16152          -L | -R)
16153            # Internal compiler library paths should come after those
16154            # provided the user.  The postdeps already come after the
16155            # user supplied libs so there is no need to process them.
16156            if test -z "$compiler_lib_search_path_CXX"; then
16157              compiler_lib_search_path_CXX=$prev$p
16158            else
16159              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16160            fi
16161            ;;
16162          # The "-l" case would never come before the object being
16163          # linked, so don't bother handling this case.
16164          esac
16165        else
16166          if test -z "$postdeps_CXX"; then
16167            postdeps_CXX=$prev$p
16168          else
16169            postdeps_CXX="${postdeps_CXX} $prev$p"
16170          fi
16171        fi
16172        prev=
16173        ;;
16174
16175     *.lto.$objext) ;; # Ignore GCC LTO objects
16176     *.$objext)
16177        # This assumes that the test object file only shows up
16178        # once in the compiler output.
16179        if test "$p" = "conftest.$objext"; then
16180          pre_test_object_deps_done=yes
16181          continue
16182        fi
16183
16184        if test no = "$pre_test_object_deps_done"; then
16185          if test -z "$predep_objects_CXX"; then
16186            predep_objects_CXX=$p
16187          else
16188            predep_objects_CXX="$predep_objects_CXX $p"
16189          fi
16190        else
16191          if test -z "$postdep_objects_CXX"; then
16192            postdep_objects_CXX=$p
16193          else
16194            postdep_objects_CXX="$postdep_objects_CXX $p"
16195          fi
16196        fi
16197        ;;
16198
16199     *) ;; # Ignore the rest.
16200
16201     esac
16202   done
16203
16204   # Clean up.
16205   rm -f a.out a.exe
16206 else
16207   echo "libtool.m4: error: problem compiling CXX test program"
16208 fi
16209
16210 $RM -f confest.$objext
16211 CFLAGS=$_lt_libdeps_save_CFLAGS
16212
16213 # PORTME: override above test on systems where it is broken
16214 case $host_os in
16215 interix[3-9]*)
16216   # Interix 3.5 installs completely hosed .la files for C++, so rather than
16217   # hack all around it, let's just trust "g++" to DTRT.
16218   predep_objects_CXX=
16219   postdep_objects_CXX=
16220   postdeps_CXX=
16221   ;;
16222 esac
16223
16224
16225 case " $postdeps_CXX " in
16226 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16227 esac
16228  compiler_lib_search_dirs_CXX=
16229 if test -n "${compiler_lib_search_path_CXX}"; then
16230  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16231 fi
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263     lt_prog_compiler_wl_CXX=
16264 lt_prog_compiler_pic_CXX=
16265 lt_prog_compiler_static_CXX=
16266
16267
16268   # C++ specific cases for pic, static, wl, etc.
16269   if test yes = "$GXX"; then
16270     lt_prog_compiler_wl_CXX='-Wl,'
16271     lt_prog_compiler_static_CXX='-static'
16272
16273     case $host_os in
16274     aix*)
16275       # All AIX code is PIC.
16276       if test ia64 = "$host_cpu"; then
16277         # AIX 5 now supports IA64 processor
16278         lt_prog_compiler_static_CXX='-Bstatic'
16279       fi
16280       lt_prog_compiler_pic_CXX='-fPIC'
16281       ;;
16282
16283     amigaos*)
16284       case $host_cpu in
16285       powerpc)
16286             # see comment about AmigaOS4 .so support
16287             lt_prog_compiler_pic_CXX='-fPIC'
16288         ;;
16289       m68k)
16290             # FIXME: we need at least 68020 code to build shared libraries, but
16291             # adding the '-m68020' flag to GCC prevents building anything better,
16292             # like '-m68040'.
16293             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16294         ;;
16295       esac
16296       ;;
16297
16298     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16299       # PIC is the default for these OSes.
16300       ;;
16301     mingw* | cygwin* | os2* | pw32* | cegcc*)
16302       # This hack is so that the source file can tell whether it is being
16303       # built for inclusion in a dll (and should export symbols for example).
16304       # Although the cygwin gcc ignores -fPIC, still need this for old-style
16305       # (--disable-auto-import) libraries
16306       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16307       case $host_os in
16308       os2*)
16309         lt_prog_compiler_static_CXX='$wl-static'
16310         ;;
16311       esac
16312       ;;
16313     darwin* | rhapsody*)
16314       # PIC is the default on this platform
16315       # Common symbols not allowed in MH_DYLIB files
16316       lt_prog_compiler_pic_CXX='-fno-common'
16317       ;;
16318     *djgpp*)
16319       # DJGPP does not support shared libraries at all
16320       lt_prog_compiler_pic_CXX=
16321       ;;
16322     haiku*)
16323       # PIC is the default for Haiku.
16324       # The "-static" flag exists, but is broken.
16325       lt_prog_compiler_static_CXX=
16326       ;;
16327     interix[3-9]*)
16328       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16329       # Instead, we relocate shared libraries at runtime.
16330       ;;
16331     sysv4*MP*)
16332       if test -d /usr/nec; then
16333         lt_prog_compiler_pic_CXX=-Kconform_pic
16334       fi
16335       ;;
16336     hpux*)
16337       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16338       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
16339       # sets the default TLS model and affects inlining.
16340       case $host_cpu in
16341       hppa*64*)
16342         ;;
16343       *)
16344         lt_prog_compiler_pic_CXX='-fPIC'
16345         ;;
16346       esac
16347       ;;
16348     *qnx* | *nto*)
16349       # QNX uses GNU C++, but need to define -shared option too, otherwise
16350       # it will coredump.
16351       lt_prog_compiler_pic_CXX='-fPIC -shared'
16352       ;;
16353     *)
16354       lt_prog_compiler_pic_CXX='-fPIC'
16355       ;;
16356     esac
16357   else
16358     case $host_os in
16359       aix[4-9]*)
16360         # All AIX code is PIC.
16361         if test ia64 = "$host_cpu"; then
16362           # AIX 5 now supports IA64 processor
16363           lt_prog_compiler_static_CXX='-Bstatic'
16364         else
16365           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16366         fi
16367         ;;
16368       chorus*)
16369         case $cc_basename in
16370         cxch68*)
16371           # Green Hills C++ Compiler
16372           # _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"
16373           ;;
16374         esac
16375         ;;
16376       mingw* | cygwin* | os2* | pw32* | cegcc*)
16377         # This hack is so that the source file can tell whether it is being
16378         # built for inclusion in a dll (and should export symbols for example).
16379         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16380         ;;
16381       dgux*)
16382         case $cc_basename in
16383           ec++*)
16384             lt_prog_compiler_pic_CXX='-KPIC'
16385             ;;
16386           ghcx*)
16387             # Green Hills C++ Compiler
16388             lt_prog_compiler_pic_CXX='-pic'
16389             ;;
16390           *)
16391             ;;
16392         esac
16393         ;;
16394       freebsd* | dragonfly*)
16395         # FreeBSD uses GNU C++
16396         ;;
16397       hpux9* | hpux10* | hpux11*)
16398         case $cc_basename in
16399           CC*)
16400             lt_prog_compiler_wl_CXX='-Wl,'
16401             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16402             if test ia64 != "$host_cpu"; then
16403               lt_prog_compiler_pic_CXX='+Z'
16404             fi
16405             ;;
16406           aCC*)
16407             lt_prog_compiler_wl_CXX='-Wl,'
16408             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16409             case $host_cpu in
16410             hppa*64*|ia64*)
16411               # +Z the default
16412               ;;
16413             *)
16414               lt_prog_compiler_pic_CXX='+Z'
16415               ;;
16416             esac
16417             ;;
16418           *)
16419             ;;
16420         esac
16421         ;;
16422       interix*)
16423         # This is c89, which is MS Visual C++ (no shared libs)
16424         # Anyone wants to do a port?
16425         ;;
16426       irix5* | irix6* | nonstopux*)
16427         case $cc_basename in
16428           CC*)
16429             lt_prog_compiler_wl_CXX='-Wl,'
16430             lt_prog_compiler_static_CXX='-non_shared'
16431             # CC pic flag -KPIC is the default.
16432             ;;
16433           *)
16434             ;;
16435         esac
16436         ;;
16437       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16438         case $cc_basename in
16439           KCC*)
16440             # KAI C++ Compiler
16441             lt_prog_compiler_wl_CXX='--backend -Wl,'
16442             lt_prog_compiler_pic_CXX='-fPIC'
16443             ;;
16444           ecpc* )
16445             # old Intel C++ for x86_64, which still supported -KPIC.
16446             lt_prog_compiler_wl_CXX='-Wl,'
16447             lt_prog_compiler_pic_CXX='-KPIC'
16448             lt_prog_compiler_static_CXX='-static'
16449             ;;
16450           icpc* )
16451             # Intel C++, used to be incompatible with GCC.
16452             # ICC 10 doesn't accept -KPIC any more.
16453             lt_prog_compiler_wl_CXX='-Wl,'
16454             lt_prog_compiler_pic_CXX='-fPIC'
16455             lt_prog_compiler_static_CXX='-static'
16456             ;;
16457           pgCC* | pgcpp*)
16458             # Portland Group C++ compiler
16459             lt_prog_compiler_wl_CXX='-Wl,'
16460             lt_prog_compiler_pic_CXX='-fpic'
16461             lt_prog_compiler_static_CXX='-Bstatic'
16462             ;;
16463           cxx*)
16464             # Compaq C++
16465             # Make sure the PIC flag is empty.  It appears that all Alpha
16466             # Linux and Compaq Tru64 Unix objects are PIC.
16467             lt_prog_compiler_pic_CXX=
16468             lt_prog_compiler_static_CXX='-non_shared'
16469             ;;
16470           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16471             # IBM XL 8.0, 9.0 on PPC and BlueGene
16472             lt_prog_compiler_wl_CXX='-Wl,'
16473             lt_prog_compiler_pic_CXX='-qpic'
16474             lt_prog_compiler_static_CXX='-qstaticlink'
16475             ;;
16476           *)
16477             case `$CC -V 2>&1 | sed 5q` in
16478             *Sun\ C*)
16479               # Sun C++ 5.9
16480               lt_prog_compiler_pic_CXX='-KPIC'
16481               lt_prog_compiler_static_CXX='-Bstatic'
16482               lt_prog_compiler_wl_CXX='-Qoption ld '
16483               ;;
16484             esac
16485             ;;
16486         esac
16487         ;;
16488       lynxos*)
16489         ;;
16490       m88k*)
16491         ;;
16492       mvs*)
16493         case $cc_basename in
16494           cxx*)
16495             lt_prog_compiler_pic_CXX='-W c,exportall'
16496             ;;
16497           *)
16498             ;;
16499         esac
16500         ;;
16501       netbsd*)
16502         ;;
16503       *qnx* | *nto*)
16504         # QNX uses GNU C++, but need to define -shared option too, otherwise
16505         # it will coredump.
16506         lt_prog_compiler_pic_CXX='-fPIC -shared'
16507         ;;
16508       osf3* | osf4* | osf5*)
16509         case $cc_basename in
16510           KCC*)
16511             lt_prog_compiler_wl_CXX='--backend -Wl,'
16512             ;;
16513           RCC*)
16514             # Rational C++ 2.4.1
16515             lt_prog_compiler_pic_CXX='-pic'
16516             ;;
16517           cxx*)
16518             # Digital/Compaq C++
16519             lt_prog_compiler_wl_CXX='-Wl,'
16520             # Make sure the PIC flag is empty.  It appears that all Alpha
16521             # Linux and Compaq Tru64 Unix objects are PIC.
16522             lt_prog_compiler_pic_CXX=
16523             lt_prog_compiler_static_CXX='-non_shared'
16524             ;;
16525           *)
16526             ;;
16527         esac
16528         ;;
16529       psos*)
16530         ;;
16531       solaris*)
16532         case $cc_basename in
16533           CC* | sunCC*)
16534             # Sun C++ 4.2, 5.x and Centerline C++
16535             lt_prog_compiler_pic_CXX='-KPIC'
16536             lt_prog_compiler_static_CXX='-Bstatic'
16537             lt_prog_compiler_wl_CXX='-Qoption ld '
16538             ;;
16539           gcx*)
16540             # Green Hills C++ Compiler
16541             lt_prog_compiler_pic_CXX='-PIC'
16542             ;;
16543           *)
16544             ;;
16545         esac
16546         ;;
16547       sunos4*)
16548         case $cc_basename in
16549           CC*)
16550             # Sun C++ 4.x
16551             lt_prog_compiler_pic_CXX='-pic'
16552             lt_prog_compiler_static_CXX='-Bstatic'
16553             ;;
16554           lcc*)
16555             # Lucid
16556             lt_prog_compiler_pic_CXX='-pic'
16557             ;;
16558           *)
16559             ;;
16560         esac
16561         ;;
16562       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16563         case $cc_basename in
16564           CC*)
16565             lt_prog_compiler_wl_CXX='-Wl,'
16566             lt_prog_compiler_pic_CXX='-KPIC'
16567             lt_prog_compiler_static_CXX='-Bstatic'
16568             ;;
16569         esac
16570         ;;
16571       tandem*)
16572         case $cc_basename in
16573           NCC*)
16574             # NonStop-UX NCC 3.20
16575             lt_prog_compiler_pic_CXX='-KPIC'
16576             ;;
16577           *)
16578             ;;
16579         esac
16580         ;;
16581       vxworks*)
16582         ;;
16583       *)
16584         lt_prog_compiler_can_build_shared_CXX=no
16585         ;;
16586     esac
16587   fi
16588
16589 case $host_os in
16590   # For platforms that do not support PIC, -DPIC is meaningless:
16591   *djgpp*)
16592     lt_prog_compiler_pic_CXX=
16593     ;;
16594   *)
16595     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16596     ;;
16597 esac
16598
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16600 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16601 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16605 fi
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16607 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16608 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16609
16610 #
16611 # Check to make sure the PIC flag actually works.
16612 #
16613 if test -n "$lt_prog_compiler_pic_CXX"; then
16614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16615 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16616 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16617   $as_echo_n "(cached) " >&6
16618 else
16619   lt_cv_prog_compiler_pic_works_CXX=no
16620    ac_outfile=conftest.$ac_objext
16621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16622    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
16623    # Insert the option either (1) after the last *FLAGS variable, or
16624    # (2) before a word containing "conftest.", or (3) at the end.
16625    # Note that $ac_compile itself does not contain backslashes and begins
16626    # with a dollar sign (not a hyphen), so the echo should work correctly.
16627    # The option is referenced via a variable to avoid confusing sed.
16628    lt_compile=`echo "$ac_compile" | $SED \
16629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16631    -e 's:$: $lt_compiler_flag:'`
16632    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16633    (eval "$lt_compile" 2>conftest.err)
16634    ac_status=$?
16635    cat conftest.err >&5
16636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637    if (exit $ac_status) && test -s "$ac_outfile"; then
16638      # The compiler can only warn and ignore the option if not recognized
16639      # So say no if there are warnings other than the usual output.
16640      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16641      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16642      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16643        lt_cv_prog_compiler_pic_works_CXX=yes
16644      fi
16645    fi
16646    $RM conftest*
16647
16648 fi
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16650 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16651
16652 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16653     case $lt_prog_compiler_pic_CXX in
16654      "" | " "*) ;;
16655      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16656      esac
16657 else
16658     lt_prog_compiler_pic_CXX=
16659      lt_prog_compiler_can_build_shared_CXX=no
16660 fi
16661
16662 fi
16663
16664
16665
16666
16667
16668 #
16669 # Check to make sure the static flag actually works.
16670 #
16671 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16673 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16674 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16675   $as_echo_n "(cached) " >&6
16676 else
16677   lt_cv_prog_compiler_static_works_CXX=no
16678    save_LDFLAGS=$LDFLAGS
16679    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16680    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16681    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16682      # The linker can only warn and ignore the option if not recognized
16683      # So say no if there are warnings
16684      if test -s conftest.err; then
16685        # Append any errors to the config.log.
16686        cat conftest.err 1>&5
16687        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16688        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16689        if diff conftest.exp conftest.er2 >/dev/null; then
16690          lt_cv_prog_compiler_static_works_CXX=yes
16691        fi
16692      else
16693        lt_cv_prog_compiler_static_works_CXX=yes
16694      fi
16695    fi
16696    $RM -r conftest*
16697    LDFLAGS=$save_LDFLAGS
16698
16699 fi
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16701 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16702
16703 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16704     :
16705 else
16706     lt_prog_compiler_static_CXX=
16707 fi
16708
16709
16710
16711
16712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16714 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16715   $as_echo_n "(cached) " >&6
16716 else
16717   lt_cv_prog_compiler_c_o_CXX=no
16718    $RM -r conftest 2>/dev/null
16719    mkdir conftest
16720    cd conftest
16721    mkdir out
16722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16723
16724    lt_compiler_flag="-o out/conftest2.$ac_objext"
16725    # Insert the option either (1) after the last *FLAGS variable, or
16726    # (2) before a word containing "conftest.", or (3) at the end.
16727    # Note that $ac_compile itself does not contain backslashes and begins
16728    # with a dollar sign (not a hyphen), so the echo should work correctly.
16729    lt_compile=`echo "$ac_compile" | $SED \
16730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16732    -e 's:$: $lt_compiler_flag:'`
16733    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16734    (eval "$lt_compile" 2>out/conftest.err)
16735    ac_status=$?
16736    cat out/conftest.err >&5
16737    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16739    then
16740      # The compiler can only warn and ignore the option if not recognized
16741      # So say no if there are warnings
16742      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16743      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16744      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16745        lt_cv_prog_compiler_c_o_CXX=yes
16746      fi
16747    fi
16748    chmod u+w . 2>&5
16749    $RM conftest*
16750    # SGI C++ compiler will create directory out/ii_files/ for
16751    # template instantiation
16752    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16753    $RM out/* && rmdir out
16754    cd ..
16755    $RM -r conftest
16756    $RM conftest*
16757
16758 fi
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16760 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16761
16762
16763
16764     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16766 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16767   $as_echo_n "(cached) " >&6
16768 else
16769   lt_cv_prog_compiler_c_o_CXX=no
16770    $RM -r conftest 2>/dev/null
16771    mkdir conftest
16772    cd conftest
16773    mkdir out
16774    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16775
16776    lt_compiler_flag="-o out/conftest2.$ac_objext"
16777    # Insert the option either (1) after the last *FLAGS variable, or
16778    # (2) before a word containing "conftest.", or (3) at the end.
16779    # Note that $ac_compile itself does not contain backslashes and begins
16780    # with a dollar sign (not a hyphen), so the echo should work correctly.
16781    lt_compile=`echo "$ac_compile" | $SED \
16782    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16783    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16784    -e 's:$: $lt_compiler_flag:'`
16785    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16786    (eval "$lt_compile" 2>out/conftest.err)
16787    ac_status=$?
16788    cat out/conftest.err >&5
16789    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16791    then
16792      # The compiler can only warn and ignore the option if not recognized
16793      # So say no if there are warnings
16794      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16795      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16796      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16797        lt_cv_prog_compiler_c_o_CXX=yes
16798      fi
16799    fi
16800    chmod u+w . 2>&5
16801    $RM conftest*
16802    # SGI C++ compiler will create directory out/ii_files/ for
16803    # template instantiation
16804    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16805    $RM out/* && rmdir out
16806    cd ..
16807    $RM -r conftest
16808    $RM conftest*
16809
16810 fi
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16812 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16813
16814
16815
16816
16817 hard_links=nottested
16818 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16819   # do not overwrite the value of need_locks provided by the user
16820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16821 $as_echo_n "checking if we can lock with hard links... " >&6; }
16822   hard_links=yes
16823   $RM conftest*
16824   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16825   touch conftest.a
16826   ln conftest.a conftest.b 2>&5 || hard_links=no
16827   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16829 $as_echo "$hard_links" >&6; }
16830   if test no = "$hard_links"; then
16831     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16832 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16833     need_locks=warn
16834   fi
16835 else
16836   need_locks=no
16837 fi
16838
16839
16840
16841     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16842 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16843
16844   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16845   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16846   case $host_os in
16847   aix[4-9]*)
16848     # If we're using GNU nm, then we don't want the "-C" option.
16849     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16850     # Without the "-l" option, or with the "-B" option, AIX nm treats
16851     # weak defined symbols like other global defined symbols, whereas
16852     # GNU nm marks them as "W".
16853     # While the 'weak' keyword is ignored in the Export File, we need
16854     # it in the Import File for the 'aix-soname' feature, so we have
16855     # to replace the "-B" option with "-P" for AIX nm.
16856     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16857       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'
16858     else
16859       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'
16860     fi
16861     ;;
16862   pw32*)
16863     export_symbols_cmds_CXX=$ltdll_cmds
16864     ;;
16865   cygwin* | mingw* | cegcc*)
16866     case $cc_basename in
16867     cl*)
16868       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16869       ;;
16870     *)
16871       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'
16872       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16873       ;;
16874     esac
16875     ;;
16876   *)
16877     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16878     ;;
16879   esac
16880
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16882 $as_echo "$ld_shlibs_CXX" >&6; }
16883 test no = "$ld_shlibs_CXX" && can_build_shared=no
16884
16885 with_gnu_ld_CXX=$with_gnu_ld
16886
16887
16888
16889
16890
16891
16892 #
16893 # Do we need to explicitly link libc?
16894 #
16895 case "x$archive_cmds_need_lc_CXX" in
16896 x|xyes)
16897   # Assume -lc should be added
16898   archive_cmds_need_lc_CXX=yes
16899
16900   if test yes,yes = "$GCC,$enable_shared"; then
16901     case $archive_cmds_CXX in
16902     *'~'*)
16903       # FIXME: we may have to deal with multi-command sequences.
16904       ;;
16905     '$CC '*)
16906       # Test whether the compiler implicitly links with -lc since on some
16907       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16908       # to ld, don't add -lc before -lgcc.
16909       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16910 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16911 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16912   $as_echo_n "(cached) " >&6
16913 else
16914   $RM conftest*
16915         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16916
16917         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16918   (eval $ac_compile) 2>&5
16919   ac_status=$?
16920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16921   test $ac_status = 0; } 2>conftest.err; then
16922           soname=conftest
16923           lib=conftest
16924           libobjs=conftest.$ac_objext
16925           deplibs=
16926           wl=$lt_prog_compiler_wl_CXX
16927           pic_flag=$lt_prog_compiler_pic_CXX
16928           compiler_flags=-v
16929           linker_flags=-v
16930           verstring=
16931           output_objdir=.
16932           libname=conftest
16933           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16934           allow_undefined_flag_CXX=
16935           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16936   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16937   ac_status=$?
16938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16939   test $ac_status = 0; }
16940           then
16941             lt_cv_archive_cmds_need_lc_CXX=no
16942           else
16943             lt_cv_archive_cmds_need_lc_CXX=yes
16944           fi
16945           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16946         else
16947           cat conftest.err 1>&5
16948         fi
16949         $RM conftest*
16950
16951 fi
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16953 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16954       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16955       ;;
16956     esac
16957   fi
16958   ;;
16959 esac
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17023 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17024
17025 library_names_spec=
17026 libname_spec='lib$name'
17027 soname_spec=
17028 shrext_cmds=.so
17029 postinstall_cmds=
17030 postuninstall_cmds=
17031 finish_cmds=
17032 finish_eval=
17033 shlibpath_var=
17034 shlibpath_overrides_runpath=unknown
17035 version_type=none
17036 dynamic_linker="$host_os ld.so"
17037 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17038 need_lib_prefix=unknown
17039 hardcode_into_libs=no
17040
17041 # when you set need_version to no, make sure it does not cause -set_version
17042 # flags to be left without arguments
17043 need_version=unknown
17044
17045
17046
17047 case $host_os in
17048 aix3*)
17049   version_type=linux # correct to gnu/linux during the next big refactor
17050   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17051   shlibpath_var=LIBPATH
17052
17053   # AIX 3 has no versioning support, so we append a major version to the name.
17054   soname_spec='$libname$release$shared_ext$major'
17055   ;;
17056
17057 aix[4-9]*)
17058   version_type=linux # correct to gnu/linux during the next big refactor
17059   need_lib_prefix=no
17060   need_version=no
17061   hardcode_into_libs=yes
17062   if test ia64 = "$host_cpu"; then
17063     # AIX 5 supports IA64
17064     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17065     shlibpath_var=LD_LIBRARY_PATH
17066   else
17067     # With GCC up to 2.95.x, collect2 would create an import file
17068     # for dependence libraries.  The import file would start with
17069     # the line '#! .'.  This would cause the generated library to
17070     # depend on '.', always an invalid library.  This was fixed in
17071     # development snapshots of GCC prior to 3.0.
17072     case $host_os in
17073       aix4 | aix4.[01] | aix4.[01].*)
17074       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17075            echo ' yes '
17076            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17077         :
17078       else
17079         can_build_shared=no
17080       fi
17081       ;;
17082     esac
17083     # Using Import Files as archive members, it is possible to support
17084     # filename-based versioning of shared library archives on AIX. While
17085     # this would work for both with and without runtime linking, it will
17086     # prevent static linking of such archives. So we do filename-based
17087     # shared library versioning with .so extension only, which is used
17088     # when both runtime linking and shared linking is enabled.
17089     # Unfortunately, runtime linking may impact performance, so we do
17090     # not want this to be the default eventually. Also, we use the
17091     # versioned .so libs for executables only if there is the -brtl
17092     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17093     # To allow for filename-based versioning support, we need to create
17094     # libNAME.so.V as an archive file, containing:
17095     # *) an Import File, referring to the versioned filename of the
17096     #    archive as well as the shared archive member, telling the
17097     #    bitwidth (32 or 64) of that shared object, and providing the
17098     #    list of exported symbols of that shared object, eventually
17099     #    decorated with the 'weak' keyword
17100     # *) the shared object with the F_LOADONLY flag set, to really avoid
17101     #    it being seen by the linker.
17102     # At run time we better use the real file rather than another symlink,
17103     # but for link time we create the symlink libNAME.so -> libNAME.so.V
17104
17105     case $with_aix_soname,$aix_use_runtimelinking in
17106     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17107     # soname into executable. Probably we can add versioning support to
17108     # collect2, so additional links can be useful in future.
17109     aix,yes) # traditional libtool
17110       dynamic_linker='AIX unversionable lib.so'
17111       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17112       # instead of lib<name>.a to let people know that these are not
17113       # typical AIX shared libraries.
17114       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17115       ;;
17116     aix,no) # traditional AIX only
17117       dynamic_linker='AIX lib.a(lib.so.V)'
17118       # We preserve .a as extension for shared libraries through AIX4.2
17119       # and later when we are not doing run time linking.
17120       library_names_spec='$libname$release.a $libname.a'
17121       soname_spec='$libname$release$shared_ext$major'
17122       ;;
17123     svr4,*) # full svr4 only
17124       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17125       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17126       # We do not specify a path in Import Files, so LIBPATH fires.
17127       shlibpath_overrides_runpath=yes
17128       ;;
17129     *,yes) # both, prefer svr4
17130       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17131       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17132       # unpreferred sharedlib libNAME.a needs extra handling
17133       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"'
17134       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"'
17135       # We do not specify a path in Import Files, so LIBPATH fires.
17136       shlibpath_overrides_runpath=yes
17137       ;;
17138     *,no) # both, prefer aix
17139       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17140       library_names_spec='$libname$release.a $libname.a'
17141       soname_spec='$libname$release$shared_ext$major'
17142       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17143       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)'
17144       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"'
17145       ;;
17146     esac
17147     shlibpath_var=LIBPATH
17148   fi
17149   ;;
17150
17151 amigaos*)
17152   case $host_cpu in
17153   powerpc)
17154     # Since July 2007 AmigaOS4 officially supports .so libraries.
17155     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17156     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17157     ;;
17158   m68k)
17159     library_names_spec='$libname.ixlibrary $libname.a'
17160     # Create ${libname}_ixlibrary.a entries in /sys/libs.
17161     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'
17162     ;;
17163   esac
17164   ;;
17165
17166 beos*)
17167   library_names_spec='$libname$shared_ext'
17168   dynamic_linker="$host_os ld.so"
17169   shlibpath_var=LIBRARY_PATH
17170   ;;
17171
17172 bsdi[45]*)
17173   version_type=linux # correct to gnu/linux during the next big refactor
17174   need_version=no
17175   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17176   soname_spec='$libname$release$shared_ext$major'
17177   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17178   shlibpath_var=LD_LIBRARY_PATH
17179   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17180   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17181   # the default ld.so.conf also contains /usr/contrib/lib and
17182   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17183   # libtool to hard-code these into programs
17184   ;;
17185
17186 cygwin* | mingw* | pw32* | cegcc*)
17187   version_type=windows
17188   shrext_cmds=.dll
17189   need_version=no
17190   need_lib_prefix=no
17191
17192   case $GCC,$cc_basename in
17193   yes,*)
17194     # gcc
17195     library_names_spec='$libname.dll.a'
17196     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17197     postinstall_cmds='base_file=`basename \$file`~
17198       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17199       dldir=$destdir/`dirname \$dlpath`~
17200       test -d \$dldir || mkdir -p \$dldir~
17201       $install_prog $dir/$dlname \$dldir/$dlname~
17202       chmod a+x \$dldir/$dlname~
17203       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17204         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17205       fi'
17206     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17207       dlpath=$dir/\$dldll~
17208        $RM \$dlpath'
17209     shlibpath_overrides_runpath=yes
17210
17211     case $host_os in
17212     cygwin*)
17213       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17214       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17215
17216       ;;
17217     mingw* | cegcc*)
17218       # MinGW DLLs use traditional 'lib' prefix
17219       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17220       ;;
17221     pw32*)
17222       # pw32 DLLs use 'pw' prefix rather than 'lib'
17223       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17224       ;;
17225     esac
17226     dynamic_linker='Win32 ld.exe'
17227     ;;
17228
17229   *,cl*)
17230     # Native MSVC
17231     libname_spec='$name'
17232     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17233     library_names_spec='$libname.dll.lib'
17234
17235     case $build_os in
17236     mingw*)
17237       sys_lib_search_path_spec=
17238       lt_save_ifs=$IFS
17239       IFS=';'
17240       for lt_path in $LIB
17241       do
17242         IFS=$lt_save_ifs
17243         # Let DOS variable expansion print the short 8.3 style file name.
17244         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17245         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17246       done
17247       IFS=$lt_save_ifs
17248       # Convert to MSYS style.
17249       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17250       ;;
17251     cygwin*)
17252       # Convert to unix form, then to dos form, then back to unix form
17253       # but this time dos style (no spaces!) so that the unix form looks
17254       # like /cygdrive/c/PROGRA~1:/cygdr...
17255       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17256       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17257       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17258       ;;
17259     *)
17260       sys_lib_search_path_spec=$LIB
17261       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17262         # It is most probably a Windows format PATH.
17263         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17264       else
17265         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17266       fi
17267       # FIXME: find the short name or the path components, as spaces are
17268       # common. (e.g. "Program Files" -> "PROGRA~1")
17269       ;;
17270     esac
17271
17272     # DLL is installed to $(libdir)/../bin by postinstall_cmds
17273     postinstall_cmds='base_file=`basename \$file`~
17274       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17275       dldir=$destdir/`dirname \$dlpath`~
17276       test -d \$dldir || mkdir -p \$dldir~
17277       $install_prog $dir/$dlname \$dldir/$dlname'
17278     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17279       dlpath=$dir/\$dldll~
17280        $RM \$dlpath'
17281     shlibpath_overrides_runpath=yes
17282     dynamic_linker='Win32 link.exe'
17283     ;;
17284
17285   *)
17286     # Assume MSVC wrapper
17287     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17288     dynamic_linker='Win32 ld.exe'
17289     ;;
17290   esac
17291   # FIXME: first we should search . and the directory the executable is in
17292   shlibpath_var=PATH
17293   ;;
17294
17295 darwin* | rhapsody*)
17296   dynamic_linker="$host_os dyld"
17297   version_type=darwin
17298   need_lib_prefix=no
17299   need_version=no
17300   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17301   soname_spec='$libname$release$major$shared_ext'
17302   shlibpath_overrides_runpath=yes
17303   shlibpath_var=DYLD_LIBRARY_PATH
17304   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17305
17306   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17307   ;;
17308
17309 dgux*)
17310   version_type=linux # correct to gnu/linux during the next big refactor
17311   need_lib_prefix=no
17312   need_version=no
17313   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17314   soname_spec='$libname$release$shared_ext$major'
17315   shlibpath_var=LD_LIBRARY_PATH
17316   ;;
17317
17318 freebsd* | dragonfly*)
17319   # DragonFly does not have aout.  When/if they implement a new
17320   # versioning mechanism, adjust this.
17321   if test -x /usr/bin/objformat; then
17322     objformat=`/usr/bin/objformat`
17323   else
17324     case $host_os in
17325     freebsd[23].*) objformat=aout ;;
17326     *) objformat=elf ;;
17327     esac
17328   fi
17329   version_type=freebsd-$objformat
17330   case $version_type in
17331     freebsd-elf*)
17332       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17333       soname_spec='$libname$release$shared_ext$major'
17334       need_version=no
17335       need_lib_prefix=no
17336       ;;
17337     freebsd-*)
17338       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17339       need_version=yes
17340       ;;
17341   esac
17342   shlibpath_var=LD_LIBRARY_PATH
17343   case $host_os in
17344   freebsd2.*)
17345     shlibpath_overrides_runpath=yes
17346     ;;
17347   freebsd3.[01]* | freebsdelf3.[01]*)
17348     shlibpath_overrides_runpath=yes
17349     hardcode_into_libs=yes
17350     ;;
17351   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17352   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17353     shlibpath_overrides_runpath=no
17354     hardcode_into_libs=yes
17355     ;;
17356   *) # from 4.6 on, and DragonFly
17357     shlibpath_overrides_runpath=yes
17358     hardcode_into_libs=yes
17359     ;;
17360   esac
17361   ;;
17362
17363 haiku*)
17364   version_type=linux # correct to gnu/linux during the next big refactor
17365   need_lib_prefix=no
17366   need_version=no
17367   dynamic_linker="$host_os runtime_loader"
17368   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17369   soname_spec='$libname$release$shared_ext$major'
17370   shlibpath_var=LIBRARY_PATH
17371   shlibpath_overrides_runpath=no
17372   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17373   hardcode_into_libs=yes
17374   ;;
17375
17376 hpux9* | hpux10* | hpux11*)
17377   # Give a soname corresponding to the major version so that dld.sl refuses to
17378   # link against other versions.
17379   version_type=sunos
17380   need_lib_prefix=no
17381   need_version=no
17382   case $host_cpu in
17383   ia64*)
17384     shrext_cmds='.so'
17385     hardcode_into_libs=yes
17386     dynamic_linker="$host_os dld.so"
17387     shlibpath_var=LD_LIBRARY_PATH
17388     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17389     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17390     soname_spec='$libname$release$shared_ext$major'
17391     if test 32 = "$HPUX_IA64_MODE"; then
17392       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17393       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17394     else
17395       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17396       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17397     fi
17398     ;;
17399   hppa*64*)
17400     shrext_cmds='.sl'
17401     hardcode_into_libs=yes
17402     dynamic_linker="$host_os dld.sl"
17403     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17404     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17405     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17406     soname_spec='$libname$release$shared_ext$major'
17407     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17408     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17409     ;;
17410   *)
17411     shrext_cmds='.sl'
17412     dynamic_linker="$host_os dld.sl"
17413     shlibpath_var=SHLIB_PATH
17414     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17415     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17416     soname_spec='$libname$release$shared_ext$major'
17417     ;;
17418   esac
17419   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17420   postinstall_cmds='chmod 555 $lib'
17421   # or fails outright, so override atomically:
17422   install_override_mode=555
17423   ;;
17424
17425 interix[3-9]*)
17426   version_type=linux # correct to gnu/linux during the next big refactor
17427   need_lib_prefix=no
17428   need_version=no
17429   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17430   soname_spec='$libname$release$shared_ext$major'
17431   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17432   shlibpath_var=LD_LIBRARY_PATH
17433   shlibpath_overrides_runpath=no
17434   hardcode_into_libs=yes
17435   ;;
17436
17437 irix5* | irix6* | nonstopux*)
17438   case $host_os in
17439     nonstopux*) version_type=nonstopux ;;
17440     *)
17441         if test yes = "$lt_cv_prog_gnu_ld"; then
17442                 version_type=linux # correct to gnu/linux during the next big refactor
17443         else
17444                 version_type=irix
17445         fi ;;
17446   esac
17447   need_lib_prefix=no
17448   need_version=no
17449   soname_spec='$libname$release$shared_ext$major'
17450   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17451   case $host_os in
17452   irix5* | nonstopux*)
17453     libsuff= shlibsuff=
17454     ;;
17455   *)
17456     case $LD in # libtool.m4 will add one of these switches to LD
17457     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17458       libsuff= shlibsuff= libmagic=32-bit;;
17459     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17460       libsuff=32 shlibsuff=N32 libmagic=N32;;
17461     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17462       libsuff=64 shlibsuff=64 libmagic=64-bit;;
17463     *) libsuff= shlibsuff= libmagic=never-match;;
17464     esac
17465     ;;
17466   esac
17467   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17468   shlibpath_overrides_runpath=no
17469   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17470   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17471   hardcode_into_libs=yes
17472   ;;
17473
17474 # No shared lib support for Linux oldld, aout, or coff.
17475 linux*oldld* | linux*aout* | linux*coff*)
17476   dynamic_linker=no
17477   ;;
17478
17479 linux*android*)
17480   version_type=none # Android doesn't support versioned libraries.
17481   need_lib_prefix=no
17482   need_version=no
17483   library_names_spec='$libname$release$shared_ext'
17484   soname_spec='$libname$release$shared_ext'
17485   finish_cmds=
17486   shlibpath_var=LD_LIBRARY_PATH
17487   shlibpath_overrides_runpath=yes
17488
17489   # This implies no fast_install, which is unacceptable.
17490   # Some rework will be needed to allow for fast_install
17491   # before this can be enabled.
17492   hardcode_into_libs=yes
17493
17494   dynamic_linker='Android linker'
17495   # Don't embed -rpath directories since the linker doesn't support them.
17496   hardcode_libdir_flag_spec_CXX='-L$libdir'
17497   ;;
17498
17499 # This must be glibc/ELF.
17500 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17501   version_type=linux # correct to gnu/linux during the next big refactor
17502   need_lib_prefix=no
17503   need_version=no
17504   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17505   soname_spec='$libname$release$shared_ext$major'
17506   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17507   shlibpath_var=LD_LIBRARY_PATH
17508   shlibpath_overrides_runpath=no
17509
17510   # Some binutils ld are patched to set DT_RUNPATH
17511   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17512   $as_echo_n "(cached) " >&6
17513 else
17514   lt_cv_shlibpath_overrides_runpath=no
17515     save_LDFLAGS=$LDFLAGS
17516     save_libdir=$libdir
17517     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17518          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17519     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h.  */
17521
17522 int
17523 main ()
17524 {
17525
17526   ;
17527   return 0;
17528 }
17529 _ACEOF
17530 if ac_fn_cxx_try_link "$LINENO"; then :
17531   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17532   lt_cv_shlibpath_overrides_runpath=yes
17533 fi
17534 fi
17535 rm -f core conftest.err conftest.$ac_objext \
17536     conftest$ac_exeext conftest.$ac_ext
17537     LDFLAGS=$save_LDFLAGS
17538     libdir=$save_libdir
17539
17540 fi
17541
17542   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17543
17544   # This implies no fast_install, which is unacceptable.
17545   # Some rework will be needed to allow for fast_install
17546   # before this can be enabled.
17547   hardcode_into_libs=yes
17548
17549   # Ideally, we could use ldconfig to report *all* directores which are
17550   # searched for libraries, however this is still not possible.  Aside from not
17551   # being certain /sbin/ldconfig is available, command
17552   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
17553   # even though it is searched at run-time.  Try to do the best guess by
17554   # appending ld.so.conf contents (and includes) to the search path.
17555   if test -f /etc/ld.so.conf; then
17556     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' ' '`
17557     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17558   fi
17559
17560   # We used to test for /lib/ld.so.1 and disable shared libraries on
17561   # powerpc, because MkLinux only supported shared libraries with the
17562   # GNU dynamic linker.  Since this was broken with cross compilers,
17563   # most powerpc-linux boxes support dynamic linking these days and
17564   # people can always --disable-shared, the test was removed, and we
17565   # assume the GNU/Linux dynamic linker is in use.
17566   dynamic_linker='GNU/Linux ld.so'
17567   ;;
17568
17569 netbsd*)
17570   version_type=sunos
17571   need_lib_prefix=no
17572   need_version=no
17573   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17574     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17575     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17576     dynamic_linker='NetBSD (a.out) ld.so'
17577   else
17578     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17579     soname_spec='$libname$release$shared_ext$major'
17580     dynamic_linker='NetBSD ld.elf_so'
17581   fi
17582   shlibpath_var=LD_LIBRARY_PATH
17583   shlibpath_overrides_runpath=yes
17584   hardcode_into_libs=yes
17585   ;;
17586
17587 newsos6)
17588   version_type=linux # correct to gnu/linux during the next big refactor
17589   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17590   shlibpath_var=LD_LIBRARY_PATH
17591   shlibpath_overrides_runpath=yes
17592   ;;
17593
17594 *nto* | *qnx*)
17595   version_type=qnx
17596   need_lib_prefix=no
17597   need_version=no
17598   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17599   soname_spec='$libname$release$shared_ext$major'
17600   shlibpath_var=LD_LIBRARY_PATH
17601   shlibpath_overrides_runpath=no
17602   hardcode_into_libs=yes
17603   dynamic_linker='ldqnx.so'
17604   ;;
17605
17606 openbsd* | bitrig*)
17607   version_type=sunos
17608   sys_lib_dlsearch_path_spec=/usr/lib
17609   need_lib_prefix=no
17610   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
17611     need_version=no
17612   else
17613     need_version=yes
17614   fi
17615   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17616   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17617   shlibpath_var=LD_LIBRARY_PATH
17618   shlibpath_overrides_runpath=yes
17619   ;;
17620
17621 os2*)
17622   libname_spec='$name'
17623   version_type=windows
17624   shrext_cmds=.dll
17625   need_version=no
17626   need_lib_prefix=no
17627   # OS/2 can only load a DLL with a base name of 8 characters or less.
17628   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17629     v=$($ECHO $release$versuffix | tr -d .-);
17630     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17631     $ECHO $n$v`$shared_ext'
17632   library_names_spec='${libname}_dll.$libext'
17633   dynamic_linker='OS/2 ld.exe'
17634   shlibpath_var=BEGINLIBPATH
17635   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17636   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17637   postinstall_cmds='base_file=`basename \$file`~
17638     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17639     dldir=$destdir/`dirname \$dlpath`~
17640     test -d \$dldir || mkdir -p \$dldir~
17641     $install_prog $dir/$dlname \$dldir/$dlname~
17642     chmod a+x \$dldir/$dlname~
17643     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17644       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17645     fi'
17646   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17647     dlpath=$dir/\$dldll~
17648     $RM \$dlpath'
17649   ;;
17650
17651 osf3* | osf4* | osf5*)
17652   version_type=osf
17653   need_lib_prefix=no
17654   need_version=no
17655   soname_spec='$libname$release$shared_ext$major'
17656   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17657   shlibpath_var=LD_LIBRARY_PATH
17658   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17659   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17660   ;;
17661
17662 rdos*)
17663   dynamic_linker=no
17664   ;;
17665
17666 solaris*)
17667   version_type=linux # correct to gnu/linux during the next big refactor
17668   need_lib_prefix=no
17669   need_version=no
17670   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17671   soname_spec='$libname$release$shared_ext$major'
17672   shlibpath_var=LD_LIBRARY_PATH
17673   shlibpath_overrides_runpath=yes
17674   hardcode_into_libs=yes
17675   # ldd complains unless libraries are executable
17676   postinstall_cmds='chmod +x $lib'
17677   ;;
17678
17679 sunos4*)
17680   version_type=sunos
17681   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17682   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17683   shlibpath_var=LD_LIBRARY_PATH
17684   shlibpath_overrides_runpath=yes
17685   if test yes = "$with_gnu_ld"; then
17686     need_lib_prefix=no
17687   fi
17688   need_version=yes
17689   ;;
17690
17691 sysv4 | sysv4.3*)
17692   version_type=linux # correct to gnu/linux during the next big refactor
17693   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17694   soname_spec='$libname$release$shared_ext$major'
17695   shlibpath_var=LD_LIBRARY_PATH
17696   case $host_vendor in
17697     sni)
17698       shlibpath_overrides_runpath=no
17699       need_lib_prefix=no
17700       runpath_var=LD_RUN_PATH
17701       ;;
17702     siemens)
17703       need_lib_prefix=no
17704       ;;
17705     motorola)
17706       need_lib_prefix=no
17707       need_version=no
17708       shlibpath_overrides_runpath=no
17709       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17710       ;;
17711   esac
17712   ;;
17713
17714 sysv4*MP*)
17715   if test -d /usr/nec; then
17716     version_type=linux # correct to gnu/linux during the next big refactor
17717     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17718     soname_spec='$libname$shared_ext.$major'
17719     shlibpath_var=LD_LIBRARY_PATH
17720   fi
17721   ;;
17722
17723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17724   version_type=sco
17725   need_lib_prefix=no
17726   need_version=no
17727   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17728   soname_spec='$libname$release$shared_ext$major'
17729   shlibpath_var=LD_LIBRARY_PATH
17730   shlibpath_overrides_runpath=yes
17731   hardcode_into_libs=yes
17732   if test yes = "$with_gnu_ld"; then
17733     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17734   else
17735     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17736     case $host_os in
17737       sco3.2v5*)
17738         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17739         ;;
17740     esac
17741   fi
17742   sys_lib_dlsearch_path_spec='/usr/lib'
17743   ;;
17744
17745 tpf*)
17746   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17747   version_type=linux # correct to gnu/linux during the next big refactor
17748   need_lib_prefix=no
17749   need_version=no
17750   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17751   shlibpath_var=LD_LIBRARY_PATH
17752   shlibpath_overrides_runpath=no
17753   hardcode_into_libs=yes
17754   ;;
17755
17756 uts4*)
17757   version_type=linux # correct to gnu/linux during the next big refactor
17758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17759   soname_spec='$libname$release$shared_ext$major'
17760   shlibpath_var=LD_LIBRARY_PATH
17761   ;;
17762
17763 *)
17764   dynamic_linker=no
17765   ;;
17766 esac
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17768 $as_echo "$dynamic_linker" >&6; }
17769 test no = "$dynamic_linker" && can_build_shared=no
17770
17771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17772 if test yes = "$GCC"; then
17773   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17774 fi
17775
17776 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17777   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17778 fi
17779
17780 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17781   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17782 fi
17783
17784 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17785 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17786
17787 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17788 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17789
17790 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17791 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17833 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17834 hardcode_action_CXX=
17835 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17836    test -n "$runpath_var_CXX" ||
17837    test yes = "$hardcode_automatic_CXX"; then
17838
17839   # We can hardcode non-existent directories.
17840   if test no != "$hardcode_direct_CXX" &&
17841      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17842      # have to relink, otherwise we might link with an installed library
17843      # when we should be linking with a yet-to-be-installed one
17844      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17845      test no != "$hardcode_minus_L_CXX"; then
17846     # Linking always hardcodes the temporary library directory.
17847     hardcode_action_CXX=relink
17848   else
17849     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17850     hardcode_action_CXX=immediate
17851   fi
17852 else
17853   # We cannot hardcode anything, or else we can only hardcode existing
17854   # directories.
17855   hardcode_action_CXX=unsupported
17856 fi
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17858 $as_echo "$hardcode_action_CXX" >&6; }
17859
17860 if test relink = "$hardcode_action_CXX" ||
17861    test yes = "$inherit_rpath_CXX"; then
17862   # Fast installation is not supported
17863   enable_fast_install=no
17864 elif test yes = "$shlibpath_overrides_runpath" ||
17865      test no = "$enable_shared"; then
17866   # Fast installation is not necessary
17867   enable_fast_install=needless
17868 fi
17869
17870
17871
17872
17873
17874
17875
17876   fi # test -n "$compiler"
17877
17878   CC=$lt_save_CC
17879   CFLAGS=$lt_save_CFLAGS
17880   LDCXX=$LD
17881   LD=$lt_save_LD
17882   GCC=$lt_save_GCC
17883   with_gnu_ld=$lt_save_with_gnu_ld
17884   lt_cv_path_LDCXX=$lt_cv_path_LD
17885   lt_cv_path_LD=$lt_save_path_LD
17886   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17887   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17888 fi # test yes != "$_lt_caught_CXX_error"
17889
17890 ac_ext=c
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17895
17896
17897 ac_ext=f
17898 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
17899 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
17901 if test -n "$ac_tool_prefix"; then
17902   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
17903   do
17904     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17907 $as_echo_n "checking for $ac_word... " >&6; }
17908 if ${ac_cv_prog_F77+:} false; then :
17909   $as_echo_n "(cached) " >&6
17910 else
17911   if test -n "$F77"; then
17912   ac_cv_prog_F77="$F77" # Let the user override the test.
17913 else
17914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17915 for as_dir in $PATH
17916 do
17917   IFS=$as_save_IFS
17918   test -z "$as_dir" && as_dir=.
17919     for ac_exec_ext in '' $ac_executable_extensions; do
17920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17921     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
17922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17923     break 2
17924   fi
17925 done
17926   done
17927 IFS=$as_save_IFS
17928
17929 fi
17930 fi
17931 F77=$ac_cv_prog_F77
17932 if test -n "$F77"; then
17933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
17934 $as_echo "$F77" >&6; }
17935 else
17936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17937 $as_echo "no" >&6; }
17938 fi
17939
17940
17941     test -n "$F77" && break
17942   done
17943 fi
17944 if test -z "$F77"; then
17945   ac_ct_F77=$F77
17946   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
17947 do
17948   # Extract the first word of "$ac_prog", so it can be a program name with args.
17949 set dummy $ac_prog; ac_word=$2
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17951 $as_echo_n "checking for $ac_word... " >&6; }
17952 if ${ac_cv_prog_ac_ct_F77+:} false; then :
17953   $as_echo_n "(cached) " >&6
17954 else
17955   if test -n "$ac_ct_F77"; then
17956   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
17957 else
17958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH
17960 do
17961   IFS=$as_save_IFS
17962   test -z "$as_dir" && as_dir=.
17963     for ac_exec_ext in '' $ac_executable_extensions; do
17964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17965     ac_cv_prog_ac_ct_F77="$ac_prog"
17966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17967     break 2
17968   fi
17969 done
17970   done
17971 IFS=$as_save_IFS
17972
17973 fi
17974 fi
17975 ac_ct_F77=$ac_cv_prog_ac_ct_F77
17976 if test -n "$ac_ct_F77"; then
17977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
17978 $as_echo "$ac_ct_F77" >&6; }
17979 else
17980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17982 fi
17983
17984
17985   test -n "$ac_ct_F77" && break
17986 done
17987
17988   if test "x$ac_ct_F77" = x; then
17989     F77=""
17990   else
17991     case $cross_compiling:$ac_tool_warned in
17992 yes:)
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17995 ac_tool_warned=yes ;;
17996 esac
17997     F77=$ac_ct_F77
17998   fi
17999 fi
18000
18001
18002 # Provide some information about the compiler.
18003 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
18004 set X $ac_compile
18005 ac_compiler=$2
18006 for ac_option in --version -v -V -qversion; do
18007   { { ac_try="$ac_compiler $ac_option >&5"
18008 case "(($ac_try" in
18009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010   *) ac_try_echo=$ac_try;;
18011 esac
18012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18013 $as_echo "$ac_try_echo"; } >&5
18014   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18015   ac_status=$?
18016   if test -s conftest.err; then
18017     sed '10a\
18018 ... rest of stderr output deleted ...
18019          10q' conftest.err >conftest.er1
18020     cat conftest.er1 >&5
18021   fi
18022   rm -f conftest.er1 conftest.err
18023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18024   test $ac_status = 0; }
18025 done
18026 rm -f a.out
18027
18028 # If we don't use `.F' as extension, the preprocessor is not run on the
18029 # input file.  (Note that this only needs to work for GNU compilers.)
18030 ac_save_ext=$ac_ext
18031 ac_ext=F
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
18033 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
18034 if ${ac_cv_f77_compiler_gnu+:} false; then :
18035   $as_echo_n "(cached) " >&6
18036 else
18037   cat > conftest.$ac_ext <<_ACEOF
18038       program main
18039 #ifndef __GNUC__
18040        choke me
18041 #endif
18042
18043       end
18044 _ACEOF
18045 if ac_fn_f77_try_compile "$LINENO"; then :
18046   ac_compiler_gnu=yes
18047 else
18048   ac_compiler_gnu=no
18049 fi
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
18052
18053 fi
18054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
18055 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
18056 ac_ext=$ac_save_ext
18057 ac_test_FFLAGS=${FFLAGS+set}
18058 ac_save_FFLAGS=$FFLAGS
18059 FFLAGS=
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
18061 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
18062 if ${ac_cv_prog_f77_g+:} false; then :
18063   $as_echo_n "(cached) " >&6
18064 else
18065   FFLAGS=-g
18066 cat > conftest.$ac_ext <<_ACEOF
18067       program main
18068
18069       end
18070 _ACEOF
18071 if ac_fn_f77_try_compile "$LINENO"; then :
18072   ac_cv_prog_f77_g=yes
18073 else
18074   ac_cv_prog_f77_g=no
18075 fi
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077
18078 fi
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
18080 $as_echo "$ac_cv_prog_f77_g" >&6; }
18081 if test "$ac_test_FFLAGS" = set; then
18082   FFLAGS=$ac_save_FFLAGS
18083 elif test $ac_cv_prog_f77_g = yes; then
18084   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18085     FFLAGS="-g -O2"
18086   else
18087     FFLAGS="-g"
18088   fi
18089 else
18090   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
18091     FFLAGS="-O2"
18092   else
18093     FFLAGS=
18094   fi
18095 fi
18096
18097 if test $ac_compiler_gnu = yes; then
18098   G77=yes
18099 else
18100   G77=
18101 fi
18102 ac_ext=f
18103 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18104 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18105 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18106
18107
18108       ac_ext=f
18109 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18110 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18111 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18112
18113 if test -z "$F77" || test no = "$F77"; then
18114   _lt_disable_F77=yes
18115 fi
18116
18117 archive_cmds_need_lc_F77=no
18118 allow_undefined_flag_F77=
18119 always_export_symbols_F77=no
18120 archive_expsym_cmds_F77=
18121 export_dynamic_flag_spec_F77=
18122 hardcode_direct_F77=no
18123 hardcode_direct_absolute_F77=no
18124 hardcode_libdir_flag_spec_F77=
18125 hardcode_libdir_separator_F77=
18126 hardcode_minus_L_F77=no
18127 hardcode_automatic_F77=no
18128 inherit_rpath_F77=no
18129 module_cmds_F77=
18130 module_expsym_cmds_F77=
18131 link_all_deplibs_F77=unknown
18132 old_archive_cmds_F77=$old_archive_cmds
18133 reload_flag_F77=$reload_flag
18134 reload_cmds_F77=$reload_cmds
18135 no_undefined_flag_F77=
18136 whole_archive_flag_spec_F77=
18137 enable_shared_with_static_runtimes_F77=no
18138
18139 # Source file extension for f77 test sources.
18140 ac_ext=f
18141
18142 # Object file extension for compiled f77 test sources.
18143 objext=o
18144 objext_F77=$objext
18145
18146 # No sense in running all these tests if we already determined that
18147 # the F77 compiler isn't working.  Some variables (like enable_shared)
18148 # are currently assumed to apply to all compilers on this platform,
18149 # and will be corrupted by setting them based on a non-working compiler.
18150 if test yes != "$_lt_disable_F77"; then
18151   # Code to be used in simple compile tests
18152   lt_simple_compile_test_code="\
18153       subroutine t
18154       return
18155       end
18156 "
18157
18158   # Code to be used in simple link tests
18159   lt_simple_link_test_code="\
18160       program t
18161       end
18162 "
18163
18164   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18165
18166
18167
18168
18169
18170
18171 # If no C compiler was specified, use CC.
18172 LTCC=${LTCC-"$CC"}
18173
18174 # If no C compiler flags were specified, use CFLAGS.
18175 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18176
18177 # Allow CC to be a program name with arguments.
18178 compiler=$CC
18179
18180
18181   # save warnings/boilerplate of simple test code
18182   ac_outfile=conftest.$ac_objext
18183 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18184 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18185 _lt_compiler_boilerplate=`cat conftest.err`
18186 $RM conftest*
18187
18188   ac_outfile=conftest.$ac_objext
18189 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18190 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18191 _lt_linker_boilerplate=`cat conftest.err`
18192 $RM -r conftest*
18193
18194
18195   # Allow CC to be a program name with arguments.
18196   lt_save_CC=$CC
18197   lt_save_GCC=$GCC
18198   lt_save_CFLAGS=$CFLAGS
18199   CC=${F77-"f77"}
18200   CFLAGS=$FFLAGS
18201   compiler=$CC
18202   compiler_F77=$CC
18203   func_cc_basename $compiler
18204 cc_basename=$func_cc_basename_result
18205
18206   GCC=$G77
18207   if test -n "$compiler"; then
18208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
18209 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
18210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
18211 $as_echo "$can_build_shared" >&6; }
18212
18213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
18214 $as_echo_n "checking whether to build shared libraries... " >&6; }
18215     test no = "$can_build_shared" && enable_shared=no
18216
18217     # On AIX, shared libraries and static libraries use the same namespace, and
18218     # are all built from PIC.
18219     case $host_os in
18220       aix3*)
18221         test yes = "$enable_shared" && enable_static=no
18222         if test -n "$RANLIB"; then
18223           archive_cmds="$archive_cmds~\$RANLIB \$lib"
18224           postinstall_cmds='$RANLIB $lib'
18225         fi
18226         ;;
18227       aix[4-9]*)
18228         if test ia64 != "$host_cpu"; then
18229           case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
18230           yes,aix,yes) ;;               # shared object as lib.so file only
18231           yes,svr4,*) ;;                # shared object as lib.so archive member only
18232           yes,*) enable_static=no ;;    # shared object in lib.a archive as well
18233           esac
18234         fi
18235         ;;
18236     esac
18237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
18238 $as_echo "$enable_shared" >&6; }
18239
18240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
18241 $as_echo_n "checking whether to build static libraries... " >&6; }
18242     # Make sure either enable_shared or enable_static is yes.
18243     test yes = "$enable_shared" || enable_static=yes
18244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
18245 $as_echo "$enable_static" >&6; }
18246
18247     GCC_F77=$G77
18248     LD_F77=$LD
18249
18250     ## CAVEAT EMPTOR:
18251     ## There is no encapsulation within the following macros, do not change
18252     ## the running order or otherwise move them around unless you know exactly
18253     ## what you are doing...
18254     lt_prog_compiler_wl_F77=
18255 lt_prog_compiler_pic_F77=
18256 lt_prog_compiler_static_F77=
18257
18258
18259   if test yes = "$GCC"; then
18260     lt_prog_compiler_wl_F77='-Wl,'
18261     lt_prog_compiler_static_F77='-static'
18262
18263     case $host_os in
18264       aix*)
18265       # All AIX code is PIC.
18266       if test ia64 = "$host_cpu"; then
18267         # AIX 5 now supports IA64 processor
18268         lt_prog_compiler_static_F77='-Bstatic'
18269       fi
18270       lt_prog_compiler_pic_F77='-fPIC'
18271       ;;
18272
18273     amigaos*)
18274       case $host_cpu in
18275       powerpc)
18276             # see comment about AmigaOS4 .so support
18277             lt_prog_compiler_pic_F77='-fPIC'
18278         ;;
18279       m68k)
18280             # FIXME: we need at least 68020 code to build shared libraries, but
18281             # adding the '-m68020' flag to GCC prevents building anything better,
18282             # like '-m68040'.
18283             lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
18284         ;;
18285       esac
18286       ;;
18287
18288     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18289       # PIC is the default for these OSes.
18290       ;;
18291
18292     mingw* | cygwin* | pw32* | os2* | cegcc*)
18293       # This hack is so that the source file can tell whether it is being
18294       # built for inclusion in a dll (and should export symbols for example).
18295       # Although the cygwin gcc ignores -fPIC, still need this for old-style
18296       # (--disable-auto-import) libraries
18297       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18298       case $host_os in
18299       os2*)
18300         lt_prog_compiler_static_F77='$wl-static'
18301         ;;
18302       esac
18303       ;;
18304
18305     darwin* | rhapsody*)
18306       # PIC is the default on this platform
18307       # Common symbols not allowed in MH_DYLIB files
18308       lt_prog_compiler_pic_F77='-fno-common'
18309       ;;
18310
18311     haiku*)
18312       # PIC is the default for Haiku.
18313       # The "-static" flag exists, but is broken.
18314       lt_prog_compiler_static_F77=
18315       ;;
18316
18317     hpux*)
18318       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18319       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
18320       # sets the default TLS model and affects inlining.
18321       case $host_cpu in
18322       hppa*64*)
18323         # +Z the default
18324         ;;
18325       *)
18326         lt_prog_compiler_pic_F77='-fPIC'
18327         ;;
18328       esac
18329       ;;
18330
18331     interix[3-9]*)
18332       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18333       # Instead, we relocate shared libraries at runtime.
18334       ;;
18335
18336     msdosdjgpp*)
18337       # Just because we use GCC doesn't mean we suddenly get shared libraries
18338       # on systems that don't support them.
18339       lt_prog_compiler_can_build_shared_F77=no
18340       enable_shared=no
18341       ;;
18342
18343     *nto* | *qnx*)
18344       # QNX uses GNU C++, but need to define -shared option too, otherwise
18345       # it will coredump.
18346       lt_prog_compiler_pic_F77='-fPIC -shared'
18347       ;;
18348
18349     sysv4*MP*)
18350       if test -d /usr/nec; then
18351         lt_prog_compiler_pic_F77=-Kconform_pic
18352       fi
18353       ;;
18354
18355     *)
18356       lt_prog_compiler_pic_F77='-fPIC'
18357       ;;
18358     esac
18359
18360     case $cc_basename in
18361     nvcc*) # Cuda Compiler Driver 2.2
18362       lt_prog_compiler_wl_F77='-Xlinker '
18363       if test -n "$lt_prog_compiler_pic_F77"; then
18364         lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
18365       fi
18366       ;;
18367     esac
18368   else
18369     # PORTME Check for flag to pass linker flags through the system compiler.
18370     case $host_os in
18371     aix*)
18372       lt_prog_compiler_wl_F77='-Wl,'
18373       if test ia64 = "$host_cpu"; then
18374         # AIX 5 now supports IA64 processor
18375         lt_prog_compiler_static_F77='-Bstatic'
18376       else
18377         lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
18378       fi
18379       ;;
18380
18381     darwin* | rhapsody*)
18382       # PIC is the default on this platform
18383       # Common symbols not allowed in MH_DYLIB files
18384       lt_prog_compiler_pic_F77='-fno-common'
18385       case $cc_basename in
18386       nagfor*)
18387         # NAG Fortran compiler
18388         lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18389         lt_prog_compiler_pic_F77='-PIC'
18390         lt_prog_compiler_static_F77='-Bstatic'
18391         ;;
18392       esac
18393       ;;
18394
18395     mingw* | cygwin* | pw32* | os2* | cegcc*)
18396       # This hack is so that the source file can tell whether it is being
18397       # built for inclusion in a dll (and should export symbols for example).
18398       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18399       case $host_os in
18400       os2*)
18401         lt_prog_compiler_static_F77='$wl-static'
18402         ;;
18403       esac
18404       ;;
18405
18406     hpux9* | hpux10* | hpux11*)
18407       lt_prog_compiler_wl_F77='-Wl,'
18408       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18409       # not for PA HP-UX.
18410       case $host_cpu in
18411       hppa*64*|ia64*)
18412         # +Z the default
18413         ;;
18414       *)
18415         lt_prog_compiler_pic_F77='+Z'
18416         ;;
18417       esac
18418       # Is there a better lt_prog_compiler_static that works with the bundled CC?
18419       lt_prog_compiler_static_F77='$wl-a ${wl}archive'
18420       ;;
18421
18422     irix5* | irix6* | nonstopux*)
18423       lt_prog_compiler_wl_F77='-Wl,'
18424       # PIC (with -KPIC) is the default.
18425       lt_prog_compiler_static_F77='-non_shared'
18426       ;;
18427
18428     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18429       case $cc_basename in
18430       # old Intel for x86_64, which still supported -KPIC.
18431       ecc*)
18432         lt_prog_compiler_wl_F77='-Wl,'
18433         lt_prog_compiler_pic_F77='-KPIC'
18434         lt_prog_compiler_static_F77='-static'
18435         ;;
18436       # icc used to be incompatible with GCC.
18437       # ICC 10 doesn't accept -KPIC any more.
18438       icc* | ifort*)
18439         lt_prog_compiler_wl_F77='-Wl,'
18440         lt_prog_compiler_pic_F77='-fPIC'
18441         lt_prog_compiler_static_F77='-static'
18442         ;;
18443       # Lahey Fortran 8.1.
18444       lf95*)
18445         lt_prog_compiler_wl_F77='-Wl,'
18446         lt_prog_compiler_pic_F77='--shared'
18447         lt_prog_compiler_static_F77='--static'
18448         ;;
18449       nagfor*)
18450         # NAG Fortran compiler
18451         lt_prog_compiler_wl_F77='-Wl,-Wl,,'
18452         lt_prog_compiler_pic_F77='-PIC'
18453         lt_prog_compiler_static_F77='-Bstatic'
18454         ;;
18455       tcc*)
18456         # Fabrice Bellard et al's Tiny C Compiler
18457         lt_prog_compiler_wl_F77='-Wl,'
18458         lt_prog_compiler_pic_F77='-fPIC'
18459         lt_prog_compiler_static_F77='-static'
18460         ;;
18461       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
18462         # Portland Group compilers (*not* the Pentium gcc compiler,
18463         # which looks to be a dead project)
18464         lt_prog_compiler_wl_F77='-Wl,'
18465         lt_prog_compiler_pic_F77='-fpic'
18466         lt_prog_compiler_static_F77='-Bstatic'
18467         ;;
18468       ccc*)
18469         lt_prog_compiler_wl_F77='-Wl,'
18470         # All Alpha code is PIC.
18471         lt_prog_compiler_static_F77='-non_shared'
18472         ;;
18473       xl* | bgxl* | bgf* | mpixl*)
18474         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
18475         lt_prog_compiler_wl_F77='-Wl,'
18476         lt_prog_compiler_pic_F77='-qpic'
18477         lt_prog_compiler_static_F77='-qstaticlink'
18478         ;;
18479       *)
18480         case `$CC -V 2>&1 | sed 5q` in
18481         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
18482           # Sun Fortran 8.3 passes all unrecognized flags to the linker
18483           lt_prog_compiler_pic_F77='-KPIC'
18484           lt_prog_compiler_static_F77='-Bstatic'
18485           lt_prog_compiler_wl_F77=''
18486           ;;
18487         *Sun\ F* | *Sun*Fortran*)
18488           lt_prog_compiler_pic_F77='-KPIC'
18489           lt_prog_compiler_static_F77='-Bstatic'
18490           lt_prog_compiler_wl_F77='-Qoption ld '
18491           ;;
18492         *Sun\ C*)
18493           # Sun C 5.9
18494           lt_prog_compiler_pic_F77='-KPIC'
18495           lt_prog_compiler_static_F77='-Bstatic'
18496           lt_prog_compiler_wl_F77='-Wl,'
18497           ;;
18498         *Intel*\ [CF]*Compiler*)
18499           lt_prog_compiler_wl_F77='-Wl,'
18500           lt_prog_compiler_pic_F77='-fPIC'
18501           lt_prog_compiler_static_F77='-static'
18502           ;;
18503         *Portland\ Group*)
18504           lt_prog_compiler_wl_F77='-Wl,'
18505           lt_prog_compiler_pic_F77='-fpic'
18506           lt_prog_compiler_static_F77='-Bstatic'
18507           ;;
18508         esac
18509         ;;
18510       esac
18511       ;;
18512
18513     newsos6)
18514       lt_prog_compiler_pic_F77='-KPIC'
18515       lt_prog_compiler_static_F77='-Bstatic'
18516       ;;
18517
18518     *nto* | *qnx*)
18519       # QNX uses GNU C++, but need to define -shared option too, otherwise
18520       # it will coredump.
18521       lt_prog_compiler_pic_F77='-fPIC -shared'
18522       ;;
18523
18524     osf3* | osf4* | osf5*)
18525       lt_prog_compiler_wl_F77='-Wl,'
18526       # All OSF/1 code is PIC.
18527       lt_prog_compiler_static_F77='-non_shared'
18528       ;;
18529
18530     rdos*)
18531       lt_prog_compiler_static_F77='-non_shared'
18532       ;;
18533
18534     solaris*)
18535       lt_prog_compiler_pic_F77='-KPIC'
18536       lt_prog_compiler_static_F77='-Bstatic'
18537       case $cc_basename in
18538       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
18539         lt_prog_compiler_wl_F77='-Qoption ld ';;
18540       *)
18541         lt_prog_compiler_wl_F77='-Wl,';;
18542       esac
18543       ;;
18544
18545     sunos4*)
18546       lt_prog_compiler_wl_F77='-Qoption ld '
18547       lt_prog_compiler_pic_F77='-PIC'
18548       lt_prog_compiler_static_F77='-Bstatic'
18549       ;;
18550
18551     sysv4 | sysv4.2uw2* | sysv4.3*)
18552       lt_prog_compiler_wl_F77='-Wl,'
18553       lt_prog_compiler_pic_F77='-KPIC'
18554       lt_prog_compiler_static_F77='-Bstatic'
18555       ;;
18556
18557     sysv4*MP*)
18558       if test -d /usr/nec; then
18559         lt_prog_compiler_pic_F77='-Kconform_pic'
18560         lt_prog_compiler_static_F77='-Bstatic'
18561       fi
18562       ;;
18563
18564     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18565       lt_prog_compiler_wl_F77='-Wl,'
18566       lt_prog_compiler_pic_F77='-KPIC'
18567       lt_prog_compiler_static_F77='-Bstatic'
18568       ;;
18569
18570     unicos*)
18571       lt_prog_compiler_wl_F77='-Wl,'
18572       lt_prog_compiler_can_build_shared_F77=no
18573       ;;
18574
18575     uts4*)
18576       lt_prog_compiler_pic_F77='-pic'
18577       lt_prog_compiler_static_F77='-Bstatic'
18578       ;;
18579
18580     *)
18581       lt_prog_compiler_can_build_shared_F77=no
18582       ;;
18583     esac
18584   fi
18585
18586 case $host_os in
18587   # For platforms that do not support PIC, -DPIC is meaningless:
18588   *djgpp*)
18589     lt_prog_compiler_pic_F77=
18590     ;;
18591   *)
18592     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18593     ;;
18594 esac
18595
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18598 if ${lt_cv_prog_compiler_pic_F77+:} false; then :
18599   $as_echo_n "(cached) " >&6
18600 else
18601   lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
18602 fi
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
18604 $as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
18605 lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
18606
18607 #
18608 # Check to make sure the PIC flag actually works.
18609 #
18610 if test -n "$lt_prog_compiler_pic_F77"; then
18611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
18613 if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
18614   $as_echo_n "(cached) " >&6
18615 else
18616   lt_cv_prog_compiler_pic_works_F77=no
18617    ac_outfile=conftest.$ac_objext
18618    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18619    lt_compiler_flag="$lt_prog_compiler_pic_F77"  ## exclude from sc_useless_quotes_in_assignment
18620    # Insert the option either (1) after the last *FLAGS variable, or
18621    # (2) before a word containing "conftest.", or (3) at the end.
18622    # Note that $ac_compile itself does not contain backslashes and begins
18623    # with a dollar sign (not a hyphen), so the echo should work correctly.
18624    # The option is referenced via a variable to avoid confusing sed.
18625    lt_compile=`echo "$ac_compile" | $SED \
18626    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18627    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18628    -e 's:$: $lt_compiler_flag:'`
18629    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18630    (eval "$lt_compile" 2>conftest.err)
18631    ac_status=$?
18632    cat conftest.err >&5
18633    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634    if (exit $ac_status) && test -s "$ac_outfile"; then
18635      # The compiler can only warn and ignore the option if not recognized
18636      # So say no if there are warnings other than the usual output.
18637      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
18638      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18639      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18640        lt_cv_prog_compiler_pic_works_F77=yes
18641      fi
18642    fi
18643    $RM conftest*
18644
18645 fi
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18647 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
18648
18649 if test yes = "$lt_cv_prog_compiler_pic_works_F77"; then
18650     case $lt_prog_compiler_pic_F77 in
18651      "" | " "*) ;;
18652      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18653      esac
18654 else
18655     lt_prog_compiler_pic_F77=
18656      lt_prog_compiler_can_build_shared_F77=no
18657 fi
18658
18659 fi
18660
18661
18662
18663
18664
18665 #
18666 # Check to make sure the static flag actually works.
18667 #
18668 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18670 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18671 if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
18672   $as_echo_n "(cached) " >&6
18673 else
18674   lt_cv_prog_compiler_static_works_F77=no
18675    save_LDFLAGS=$LDFLAGS
18676    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18677    echo "$lt_simple_link_test_code" > conftest.$ac_ext
18678    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18679      # The linker can only warn and ignore the option if not recognized
18680      # So say no if there are warnings
18681      if test -s conftest.err; then
18682        # Append any errors to the config.log.
18683        cat conftest.err 1>&5
18684        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
18685        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18686        if diff conftest.exp conftest.er2 >/dev/null; then
18687          lt_cv_prog_compiler_static_works_F77=yes
18688        fi
18689      else
18690        lt_cv_prog_compiler_static_works_F77=yes
18691      fi
18692    fi
18693    $RM -r conftest*
18694    LDFLAGS=$save_LDFLAGS
18695
18696 fi
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
18698 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
18699
18700 if test yes = "$lt_cv_prog_compiler_static_works_F77"; then
18701     :
18702 else
18703     lt_prog_compiler_static_F77=
18704 fi
18705
18706
18707
18708
18709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18710 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18711 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18712   $as_echo_n "(cached) " >&6
18713 else
18714   lt_cv_prog_compiler_c_o_F77=no
18715    $RM -r conftest 2>/dev/null
18716    mkdir conftest
18717    cd conftest
18718    mkdir out
18719    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18720
18721    lt_compiler_flag="-o out/conftest2.$ac_objext"
18722    # Insert the option either (1) after the last *FLAGS variable, or
18723    # (2) before a word containing "conftest.", or (3) at the end.
18724    # Note that $ac_compile itself does not contain backslashes and begins
18725    # with a dollar sign (not a hyphen), so the echo should work correctly.
18726    lt_compile=`echo "$ac_compile" | $SED \
18727    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18728    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18729    -e 's:$: $lt_compiler_flag:'`
18730    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18731    (eval "$lt_compile" 2>out/conftest.err)
18732    ac_status=$?
18733    cat out/conftest.err >&5
18734    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735    if (exit $ac_status) && test -s out/conftest2.$ac_objext
18736    then
18737      # The compiler can only warn and ignore the option if not recognized
18738      # So say no if there are warnings
18739      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18740      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18741      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18742        lt_cv_prog_compiler_c_o_F77=yes
18743      fi
18744    fi
18745    chmod u+w . 2>&5
18746    $RM conftest*
18747    # SGI C++ compiler will create directory out/ii_files/ for
18748    # template instantiation
18749    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18750    $RM out/* && rmdir out
18751    cd ..
18752    $RM -r conftest
18753    $RM conftest*
18754
18755 fi
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
18757 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18758
18759
18760
18761     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18763 if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
18764   $as_echo_n "(cached) " >&6
18765 else
18766   lt_cv_prog_compiler_c_o_F77=no
18767    $RM -r conftest 2>/dev/null
18768    mkdir conftest
18769    cd conftest
18770    mkdir out
18771    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18772
18773    lt_compiler_flag="-o out/conftest2.$ac_objext"
18774    # Insert the option either (1) after the last *FLAGS variable, or
18775    # (2) before a word containing "conftest.", or (3) at the end.
18776    # Note that $ac_compile itself does not contain backslashes and begins
18777    # with a dollar sign (not a hyphen), so the echo should work correctly.
18778    lt_compile=`echo "$ac_compile" | $SED \
18779    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18780    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18781    -e 's:$: $lt_compiler_flag:'`
18782    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
18783    (eval "$lt_compile" 2>out/conftest.err)
18784    ac_status=$?
18785    cat out/conftest.err >&5
18786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787    if (exit $ac_status) && test -s out/conftest2.$ac_objext
18788    then
18789      # The compiler can only warn and ignore the option if not recognized
18790      # So say no if there are warnings
18791      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
18792      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18793      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18794        lt_cv_prog_compiler_c_o_F77=yes
18795      fi
18796    fi
18797    chmod u+w . 2>&5
18798    $RM conftest*
18799    # SGI C++ compiler will create directory out/ii_files/ for
18800    # template instantiation
18801    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
18802    $RM out/* && rmdir out
18803    cd ..
18804    $RM -r conftest
18805    $RM conftest*
18806
18807 fi
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
18809 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18810
18811
18812
18813
18814 hard_links=nottested
18815 if test no = "$lt_cv_prog_compiler_c_o_F77" && test no != "$need_locks"; then
18816   # do not overwrite the value of need_locks provided by the user
18817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18818 $as_echo_n "checking if we can lock with hard links... " >&6; }
18819   hard_links=yes
18820   $RM conftest*
18821   ln conftest.a conftest.b 2>/dev/null && hard_links=no
18822   touch conftest.a
18823   ln conftest.a conftest.b 2>&5 || hard_links=no
18824   ln conftest.a conftest.b 2>/dev/null && hard_links=no
18825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18826 $as_echo "$hard_links" >&6; }
18827   if test no = "$hard_links"; then
18828     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
18829 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
18830     need_locks=warn
18831   fi
18832 else
18833   need_locks=no
18834 fi
18835
18836
18837
18838     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18839 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18840
18841   runpath_var=
18842   allow_undefined_flag_F77=
18843   always_export_symbols_F77=no
18844   archive_cmds_F77=
18845   archive_expsym_cmds_F77=
18846   compiler_needs_object_F77=no
18847   enable_shared_with_static_runtimes_F77=no
18848   export_dynamic_flag_spec_F77=
18849   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18850   hardcode_automatic_F77=no
18851   hardcode_direct_F77=no
18852   hardcode_direct_absolute_F77=no
18853   hardcode_libdir_flag_spec_F77=
18854   hardcode_libdir_separator_F77=
18855   hardcode_minus_L_F77=no
18856   hardcode_shlibpath_var_F77=unsupported
18857   inherit_rpath_F77=no
18858   link_all_deplibs_F77=unknown
18859   module_cmds_F77=
18860   module_expsym_cmds_F77=
18861   old_archive_from_new_cmds_F77=
18862   old_archive_from_expsyms_cmds_F77=
18863   thread_safe_flag_spec_F77=
18864   whole_archive_flag_spec_F77=
18865   # include_expsyms should be a list of space-separated symbols to be *always*
18866   # included in the symbol list
18867   include_expsyms_F77=
18868   # exclude_expsyms can be an extended regexp of symbols to exclude
18869   # it will be wrapped by ' (' and ')$', so one must not match beginning or
18870   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
18871   # as well as any symbol that contains 'd'.
18872   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18873   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18874   # platforms (ab)use it in PIC code, but their linkers get confused if
18875   # the symbol is explicitly referenced.  Since portable code cannot
18876   # rely on this symbol name, it's probably fine to never include it in
18877   # preloaded symbol tables.
18878   # Exclude shared library initialization/finalization symbols.
18879   extract_expsyms_cmds=
18880
18881   case $host_os in
18882   cygwin* | mingw* | pw32* | cegcc*)
18883     # FIXME: the MSVC++ port hasn't been tested in a loooong time
18884     # When not using gcc, we currently assume that we are using
18885     # Microsoft Visual C++.
18886     if test yes != "$GCC"; then
18887       with_gnu_ld=no
18888     fi
18889     ;;
18890   interix*)
18891     # we just hope/assume this is gcc and not c89 (= MSVC++)
18892     with_gnu_ld=yes
18893     ;;
18894   openbsd* | bitrig*)
18895     with_gnu_ld=no
18896     ;;
18897   esac
18898
18899   ld_shlibs_F77=yes
18900
18901   # On some targets, GNU ld is compatible enough with the native linker
18902   # that we're better off using the native interface for both.
18903   lt_use_gnu_ld_interface=no
18904   if test yes = "$with_gnu_ld"; then
18905     case $host_os in
18906       aix*)
18907         # The AIX port of GNU ld has always aspired to compatibility
18908         # with the native linker.  However, as the warning in the GNU ld
18909         # block says, versions before 2.19.5* couldn't really create working
18910         # shared libraries, regardless of the interface used.
18911         case `$LD -v 2>&1` in
18912           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
18913           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
18914           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
18915           *)
18916             lt_use_gnu_ld_interface=yes
18917             ;;
18918         esac
18919         ;;
18920       *)
18921         lt_use_gnu_ld_interface=yes
18922         ;;
18923     esac
18924   fi
18925
18926   if test yes = "$lt_use_gnu_ld_interface"; then
18927     # If archive_cmds runs LD, not CC, wlarc should be empty
18928     wlarc='$wl'
18929
18930     # Set some defaults for GNU ld with shared library support. These
18931     # are reset later if shared libraries are not supported. Putting them
18932     # here allows them to be overridden if necessary.
18933     runpath_var=LD_RUN_PATH
18934     hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
18935     export_dynamic_flag_spec_F77='$wl--export-dynamic'
18936     # ancient GNU ld didn't support --whole-archive et. al.
18937     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
18938       whole_archive_flag_spec_F77=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
18939     else
18940       whole_archive_flag_spec_F77=
18941     fi
18942     supports_anon_versioning=no
18943     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
18944       *GNU\ gold*) supports_anon_versioning=yes ;;
18945       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18946       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18947       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18948       *\ 2.11.*) ;; # other 2.11 versions
18949       *) supports_anon_versioning=yes ;;
18950     esac
18951
18952     # See if GNU ld supports shared libraries.
18953     case $host_os in
18954     aix[3-9]*)
18955       # On AIX/PPC, the GNU linker is very broken
18956       if test ia64 != "$host_cpu"; then
18957         ld_shlibs_F77=no
18958         cat <<_LT_EOF 1>&2
18959
18960 *** Warning: the GNU linker, at least up to release 2.19, is reported
18961 *** to be unable to reliably create shared libraries on AIX.
18962 *** Therefore, libtool is disabling shared libraries support.  If you
18963 *** really care for shared libraries, you may want to install binutils
18964 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
18965 *** You will then need to restart the configuration process.
18966
18967 _LT_EOF
18968       fi
18969       ;;
18970
18971     amigaos*)
18972       case $host_cpu in
18973       powerpc)
18974             # see comment about AmigaOS4 .so support
18975             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18976             archive_expsym_cmds_F77=''
18977         ;;
18978       m68k)
18979             archive_cmds_F77='$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)'
18980             hardcode_libdir_flag_spec_F77='-L$libdir'
18981             hardcode_minus_L_F77=yes
18982         ;;
18983       esac
18984       ;;
18985
18986     beos*)
18987       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18988         allow_undefined_flag_F77=unsupported
18989         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18990         # support --undefined.  This deserves some investigation.  FIXME
18991         archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
18992       else
18993         ld_shlibs_F77=no
18994       fi
18995       ;;
18996
18997     cygwin* | mingw* | pw32* | cegcc*)
18998       # _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
18999       # as there is no search path for DLLs.
19000       hardcode_libdir_flag_spec_F77='-L$libdir'
19001       export_dynamic_flag_spec_F77='$wl--export-all-symbols'
19002       allow_undefined_flag_F77=unsupported
19003       always_export_symbols_F77=no
19004       enable_shared_with_static_runtimes_F77=yes
19005       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19006       exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19007
19008       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19009         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19010         # If the export-symbols file already is a .def file, use it as
19011         # is; otherwise, prepend EXPORTS...
19012         archive_expsym_cmds_F77='if   test DEF = "`$SED -n     -e '\''s/^[       ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19013           cp $export_symbols $output_objdir/$soname.def;
19014         else
19015           echo EXPORTS > $output_objdir/$soname.def;
19016           cat $export_symbols >> $output_objdir/$soname.def;
19017         fi~
19018         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19019       else
19020         ld_shlibs_F77=no
19021       fi
19022       ;;
19023
19024     haiku*)
19025       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19026       link_all_deplibs_F77=yes
19027       ;;
19028
19029     os2*)
19030       hardcode_libdir_flag_spec_F77='-L$libdir'
19031       hardcode_minus_L_F77=yes
19032       allow_undefined_flag_F77=unsupported
19033       shrext_cmds=.dll
19034       archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19035         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19036         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19037         $ECHO EXPORTS >> $output_objdir/$libname.def~
19038         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19039         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19040         emximp -o $lib $output_objdir/$libname.def'
19041       archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19042         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19043         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19044         $ECHO EXPORTS >> $output_objdir/$libname.def~
19045         prefix_cmds="$SED"~
19046         if test EXPORTS = "`$SED 1q $export_symbols`"; then
19047           prefix_cmds="$prefix_cmds -e 1d";
19048         fi~
19049         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19050         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19051         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19052         emximp -o $lib $output_objdir/$libname.def'
19053       old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19054       enable_shared_with_static_runtimes_F77=yes
19055       ;;
19056
19057     interix[3-9]*)
19058       hardcode_direct_F77=no
19059       hardcode_shlibpath_var_F77=no
19060       hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19061       export_dynamic_flag_spec_F77='$wl-E'
19062       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19063       # Instead, shared libraries are loaded at an image base (0x10000000 by
19064       # default) and relocated if they conflict, which is a slow very memory
19065       # consuming and fragmenting process.  To avoid this, we pick a random,
19066       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19067       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
19068       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19069       archive_expsym_cmds_F77='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'
19070       ;;
19071
19072     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
19073       tmp_diet=no
19074       if test linux-dietlibc = "$host_os"; then
19075         case $cc_basename in
19076           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
19077         esac
19078       fi
19079       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
19080          && test no = "$tmp_diet"
19081       then
19082         tmp_addflag=' $pic_flag'
19083         tmp_sharedflag='-shared'
19084         case $cc_basename,$host_cpu in
19085         pgcc*)                          # Portland Group C compiler
19086           whole_archive_flag_spec_F77='$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'
19087           tmp_addflag=' $pic_flag'
19088           ;;
19089         pgf77* | pgf90* | pgf95* | pgfortran*)
19090                                         # Portland Group f77 and f90 compilers
19091           whole_archive_flag_spec_F77='$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'
19092           tmp_addflag=' $pic_flag -Mnomain' ;;
19093         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
19094           tmp_addflag=' -i_dynamic' ;;
19095         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
19096           tmp_addflag=' -i_dynamic -nofor_main' ;;
19097         ifc* | ifort*)                  # Intel Fortran compiler
19098           tmp_addflag=' -nofor_main' ;;
19099         lf95*)                          # Lahey Fortran 8.1
19100           whole_archive_flag_spec_F77=
19101           tmp_sharedflag='--shared' ;;
19102         nagfor*)                        # NAGFOR 5.3
19103           tmp_sharedflag='-Wl,-shared' ;;
19104         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
19105           tmp_sharedflag='-qmkshrobj'
19106           tmp_addflag= ;;
19107         nvcc*)  # Cuda Compiler Driver 2.2
19108           whole_archive_flag_spec_F77='$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'
19109           compiler_needs_object_F77=yes
19110           ;;
19111         esac
19112         case `$CC -V 2>&1 | sed 5q` in
19113         *Sun\ C*)                       # Sun C 5.9
19114           whole_archive_flag_spec_F77='$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'
19115           compiler_needs_object_F77=yes
19116           tmp_sharedflag='-G' ;;
19117         *Sun\ F*)                       # Sun Fortran 8.3
19118           tmp_sharedflag='-G' ;;
19119         esac
19120         archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19121
19122         if test yes = "$supports_anon_versioning"; then
19123           archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19124             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19125             echo "local: *; };" >> $output_objdir/$libname.ver~
19126             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
19127         fi
19128
19129         case $cc_basename in
19130         tcc*)
19131           export_dynamic_flag_spec_F77='-rdynamic'
19132           ;;
19133         xlf* | bgf* | bgxlf* | mpixlf*)
19134           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
19135           whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
19136           hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19137           archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
19138           if test yes = "$supports_anon_versioning"; then
19139             archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
19140               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19141               echo "local: *; };" >> $output_objdir/$libname.ver~
19142               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
19143           fi
19144           ;;
19145         esac
19146       else
19147         ld_shlibs_F77=no
19148       fi
19149       ;;
19150
19151     netbsd*)
19152       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19153         archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19154         wlarc=
19155       else
19156         archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19157         archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19158       fi
19159       ;;
19160
19161     solaris*)
19162       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
19163         ld_shlibs_F77=no
19164         cat <<_LT_EOF 1>&2
19165
19166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19167 *** create shared libraries on Solaris systems.  Therefore, libtool
19168 *** is disabling shared libraries support.  We urge you to upgrade GNU
19169 *** binutils to release 2.9.1 or newer.  Another option is to modify
19170 *** your PATH or compiler configuration so that the native linker is
19171 *** used, and then restart.
19172
19173 _LT_EOF
19174       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19175         archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19176         archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19177       else
19178         ld_shlibs_F77=no
19179       fi
19180       ;;
19181
19182     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19183       case `$LD -v 2>&1` in
19184         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19185         ld_shlibs_F77=no
19186         cat <<_LT_EOF 1>&2
19187
19188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
19189 *** reliably create shared libraries on SCO systems.  Therefore, libtool
19190 *** is disabling shared libraries support.  We urge you to upgrade GNU
19191 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
19192 *** your PATH or compiler configuration so that the native linker is
19193 *** used, and then restart.
19194
19195 _LT_EOF
19196         ;;
19197         *)
19198           # For security reasons, it is highly recommended that you always
19199           # use absolute paths for naming shared libraries, and exclude the
19200           # DT_RUNPATH tag from executables and libraries.  But doing so
19201           # requires that you compile everything twice, which is a pain.
19202           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19203             hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19204             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19205             archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19206           else
19207             ld_shlibs_F77=no
19208           fi
19209         ;;
19210       esac
19211       ;;
19212
19213     sunos4*)
19214       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19215       wlarc=
19216       hardcode_direct_F77=yes
19217       hardcode_shlibpath_var_F77=no
19218       ;;
19219
19220     *)
19221       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19222         archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19223         archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
19224       else
19225         ld_shlibs_F77=no
19226       fi
19227       ;;
19228     esac
19229
19230     if test no = "$ld_shlibs_F77"; then
19231       runpath_var=
19232       hardcode_libdir_flag_spec_F77=
19233       export_dynamic_flag_spec_F77=
19234       whole_archive_flag_spec_F77=
19235     fi
19236   else
19237     # PORTME fill in a description of your system's linker (not GNU ld)
19238     case $host_os in
19239     aix3*)
19240       allow_undefined_flag_F77=unsupported
19241       always_export_symbols_F77=yes
19242       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19243       # Note: this linker hardcodes the directories in LIBPATH if there
19244       # are no directories specified by -L.
19245       hardcode_minus_L_F77=yes
19246       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
19247         # Neither direct hardcoding nor static linking is supported with a
19248         # broken collect2.
19249         hardcode_direct_F77=unsupported
19250       fi
19251       ;;
19252
19253     aix[4-9]*)
19254       if test ia64 = "$host_cpu"; then
19255         # On IA64, the linker does run time linking by default, so we don't
19256         # have to do anything special.
19257         aix_use_runtimelinking=no
19258         exp_sym_flag='-Bexport'
19259         no_entry_flag=
19260       else
19261         # If we're using GNU nm, then we don't want the "-C" option.
19262         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
19263         # Without the "-l" option, or with the "-B" option, AIX nm treats
19264         # weak defined symbols like other global defined symbols, whereas
19265         # GNU nm marks them as "W".
19266         # While the 'weak' keyword is ignored in the Export File, we need
19267         # it in the Import File for the 'aix-soname' feature, so we have
19268         # to replace the "-B" option with "-P" for AIX nm.
19269         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19270           export_symbols_cmds_F77='$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'
19271         else
19272           export_symbols_cmds_F77='`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'
19273         fi
19274         aix_use_runtimelinking=no
19275
19276         # Test if we are trying to use run time linking or normal
19277         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19278         # have runtime linking enabled, and use it for executables.
19279         # For shared libraries, we enable/disable runtime linking
19280         # depending on the kind of the shared library created -
19281         # when "with_aix_soname,aix_use_runtimelinking" is:
19282         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
19283         # "aix,yes"  lib.so          shared, rtl:yes, for executables
19284         #            lib.a           static archive
19285         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
19286         #            lib.a(lib.so.V) shared, rtl:no,  for executables
19287         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
19288         #            lib.a(lib.so.V) shared, rtl:no
19289         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
19290         #            lib.a           static archive
19291         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19292           for ld_flag in $LDFLAGS; do
19293           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
19294             aix_use_runtimelinking=yes
19295             break
19296           fi
19297           done
19298           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
19299             # With aix-soname=svr4, we create the lib.so.V shared archives only,
19300             # so we don't have lib.a shared libs to link our executables.
19301             # We have to force runtime linking in this case.
19302             aix_use_runtimelinking=yes
19303             LDFLAGS="$LDFLAGS -Wl,-brtl"
19304           fi
19305           ;;
19306         esac
19307
19308         exp_sym_flag='-bexport'
19309         no_entry_flag='-bnoentry'
19310       fi
19311
19312       # When large executables or shared objects are built, AIX ld can
19313       # have problems creating the table of contents.  If linking a library
19314       # or program results in "error TOC overflow" add -mminimal-toc to
19315       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19316       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19317
19318       archive_cmds_F77=''
19319       hardcode_direct_F77=yes
19320       hardcode_direct_absolute_F77=yes
19321       hardcode_libdir_separator_F77=':'
19322       link_all_deplibs_F77=yes
19323       file_list_spec_F77='$wl-f,'
19324       case $with_aix_soname,$aix_use_runtimelinking in
19325       aix,*) ;; # traditional, no import file
19326       svr4,* | *,yes) # use import file
19327         # The Import File defines what to hardcode.
19328         hardcode_direct_F77=no
19329         hardcode_direct_absolute_F77=no
19330         ;;
19331       esac
19332
19333       if test yes = "$GCC"; then
19334         case $host_os in aix4.[012]|aix4.[012].*)
19335         # We only want to do this on AIX 4.2 and lower, the check
19336         # below for broken collect2 doesn't work under 4.3+
19337           collect2name=`$CC -print-prog-name=collect2`
19338           if test -f "$collect2name" &&
19339            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
19340           then
19341           # We have reworked collect2
19342           :
19343           else
19344           # We have old collect2
19345           hardcode_direct_F77=unsupported
19346           # It fails to find uninstalled libraries when the uninstalled
19347           # path is not listed in the libpath.  Setting hardcode_minus_L
19348           # to unsupported forces relinking
19349           hardcode_minus_L_F77=yes
19350           hardcode_libdir_flag_spec_F77='-L$libdir'
19351           hardcode_libdir_separator_F77=
19352           fi
19353           ;;
19354         esac
19355         shared_flag='-shared'
19356         if test yes = "$aix_use_runtimelinking"; then
19357           shared_flag="$shared_flag "'$wl-G'
19358         fi
19359         # Need to ensure runtime linking is disabled for the traditional
19360         # shared library, or the linker may eventually find shared libraries
19361         # /with/ Import File - we do not want to mix them.
19362         shared_flag_aix='-shared'
19363         shared_flag_svr4='-shared $wl-G'
19364       else
19365         # not using gcc
19366         if test ia64 = "$host_cpu"; then
19367         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19368         # chokes on -Wl,-G. The following line is correct:
19369           shared_flag='-G'
19370         else
19371           if test yes = "$aix_use_runtimelinking"; then
19372             shared_flag='$wl-G'
19373           else
19374             shared_flag='$wl-bM:SRE'
19375           fi
19376           shared_flag_aix='$wl-bM:SRE'
19377           shared_flag_svr4='$wl-G'
19378         fi
19379       fi
19380
19381       export_dynamic_flag_spec_F77='$wl-bexpall'
19382       # It seems that -bexpall does not export symbols beginning with
19383       # underscore (_), so it is better to generate a list of symbols to export.
19384       always_export_symbols_F77=yes
19385       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
19386         # Warning - without using the other runtime loading flags (-brtl),
19387         # -berok will link without error, but may produce a broken library.
19388         allow_undefined_flag_F77='-berok'
19389         # Determine the default libpath from the value encoded in an
19390         # empty executable.
19391         if test set = "${lt_cv_aix_libpath+set}"; then
19392   aix_libpath=$lt_cv_aix_libpath
19393 else
19394   if ${lt_cv_aix_libpath__F77+:} false; then :
19395   $as_echo_n "(cached) " >&6
19396 else
19397   cat > conftest.$ac_ext <<_ACEOF
19398       program main
19399
19400       end
19401 _ACEOF
19402 if ac_fn_f77_try_link "$LINENO"; then :
19403
19404   lt_aix_libpath_sed='
19405       /Import File Strings/,/^$/ {
19406           /^0/ {
19407               s/^0  *\([^ ]*\) *$/\1/
19408               p
19409           }
19410       }'
19411   lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19412   # Check for a 64-bit object if we didn't find anything.
19413   if test -z "$lt_cv_aix_libpath__F77"; then
19414     lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19415   fi
19416 fi
19417 rm -f core conftest.err conftest.$ac_objext \
19418     conftest$ac_exeext conftest.$ac_ext
19419   if test -z "$lt_cv_aix_libpath__F77"; then
19420     lt_cv_aix_libpath__F77=/usr/lib:/lib
19421   fi
19422
19423 fi
19424
19425   aix_libpath=$lt_cv_aix_libpath__F77
19426 fi
19427
19428         hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19429         archive_expsym_cmds_F77='$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
19430       else
19431         if test ia64 = "$host_cpu"; then
19432           hardcode_libdir_flag_spec_F77='$wl-R $libdir:/usr/lib:/lib'
19433           allow_undefined_flag_F77="-z nodefs"
19434           archive_expsym_cmds_F77="\$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"
19435         else
19436          # Determine the default libpath from the value encoded in an
19437          # empty executable.
19438          if test set = "${lt_cv_aix_libpath+set}"; then
19439   aix_libpath=$lt_cv_aix_libpath
19440 else
19441   if ${lt_cv_aix_libpath__F77+:} false; then :
19442   $as_echo_n "(cached) " >&6
19443 else
19444   cat > conftest.$ac_ext <<_ACEOF
19445       program main
19446
19447       end
19448 _ACEOF
19449 if ac_fn_f77_try_link "$LINENO"; then :
19450
19451   lt_aix_libpath_sed='
19452       /Import File Strings/,/^$/ {
19453           /^0/ {
19454               s/^0  *\([^ ]*\) *$/\1/
19455               p
19456           }
19457       }'
19458   lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19459   # Check for a 64-bit object if we didn't find anything.
19460   if test -z "$lt_cv_aix_libpath__F77"; then
19461     lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19462   fi
19463 fi
19464 rm -f core conftest.err conftest.$ac_objext \
19465     conftest$ac_exeext conftest.$ac_ext
19466   if test -z "$lt_cv_aix_libpath__F77"; then
19467     lt_cv_aix_libpath__F77=/usr/lib:/lib
19468   fi
19469
19470 fi
19471
19472   aix_libpath=$lt_cv_aix_libpath__F77
19473 fi
19474
19475          hardcode_libdir_flag_spec_F77='$wl-blibpath:$libdir:'"$aix_libpath"
19476           # Warning - without using the other run time loading flags,
19477           # -berok will link without error, but may produce a broken library.
19478           no_undefined_flag_F77=' $wl-bernotok'
19479           allow_undefined_flag_F77=' $wl-berok'
19480           if test yes = "$with_gnu_ld"; then
19481             # We only use this code for GNU lds that support --whole-archive.
19482             whole_archive_flag_spec_F77='$wl--whole-archive$convenience $wl--no-whole-archive'
19483           else
19484             # Exported symbols can be pulled into shared objects from archives
19485             whole_archive_flag_spec_F77='$convenience'
19486           fi
19487           archive_cmds_need_lc_F77=yes
19488           archive_expsym_cmds_F77='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
19489           # -brtl affects multiple linker settings, -berok does not and is overridden later
19490           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
19491           if test svr4 != "$with_aix_soname"; then
19492             # This is similar to how AIX traditionally builds its shared libraries.
19493             archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$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'
19494           fi
19495           if test aix != "$with_aix_soname"; then
19496             archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$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'
19497           else
19498             # used by -dlpreopen to get the symbols
19499             archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
19500           fi
19501           archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$RM -r $output_objdir/$realname.d'
19502         fi
19503       fi
19504       ;;
19505
19506     amigaos*)
19507       case $host_cpu in
19508       powerpc)
19509             # see comment about AmigaOS4 .so support
19510             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
19511             archive_expsym_cmds_F77=''
19512         ;;
19513       m68k)
19514             archive_cmds_F77='$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)'
19515             hardcode_libdir_flag_spec_F77='-L$libdir'
19516             hardcode_minus_L_F77=yes
19517         ;;
19518       esac
19519       ;;
19520
19521     bsdi[45]*)
19522       export_dynamic_flag_spec_F77=-rdynamic
19523       ;;
19524
19525     cygwin* | mingw* | pw32* | cegcc*)
19526       # When not using gcc, we currently assume that we are using
19527       # Microsoft Visual C++.
19528       # hardcode_libdir_flag_spec is actually meaningless, as there is
19529       # no search path for DLLs.
19530       case $cc_basename in
19531       cl*)
19532         # Native MSVC
19533         hardcode_libdir_flag_spec_F77=' '
19534         allow_undefined_flag_F77=unsupported
19535         always_export_symbols_F77=yes
19536         file_list_spec_F77='@'
19537         # Tell ltmain to make .lib files, not .a files.
19538         libext=lib
19539         # Tell ltmain to make .dll files, not .so files.
19540         shrext_cmds=.dll
19541         # FIXME: Setting linknames here is a bad hack.
19542         archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
19543         archive_expsym_cmds_F77='if   test DEF = "`$SED -n     -e '\''s/^[       ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
19544             cp "$export_symbols" "$output_objdir/$soname.def";
19545             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
19546           else
19547             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
19548           fi~
19549           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19550           linknames='
19551         # The linker will not automatically build a static lib if we build a DLL.
19552         # _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
19553         enable_shared_with_static_runtimes_F77=yes
19554         exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19555         export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19556         # Don't use ranlib
19557         old_postinstall_cmds_F77='chmod 644 $oldlib'
19558         postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
19559           lt_tool_outputfile="@TOOL_OUTPUT@"~
19560           case $lt_outputfile in
19561             *.exe|*.EXE) ;;
19562             *)
19563               lt_outputfile=$lt_outputfile.exe
19564               lt_tool_outputfile=$lt_tool_outputfile.exe
19565               ;;
19566           esac~
19567           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
19568             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19569             $RM "$lt_outputfile.manifest";
19570           fi'
19571         ;;
19572       *)
19573         # Assume MSVC wrapper
19574         hardcode_libdir_flag_spec_F77=' '
19575         allow_undefined_flag_F77=unsupported
19576         # Tell ltmain to make .lib files, not .a files.
19577         libext=lib
19578         # Tell ltmain to make .dll files, not .so files.
19579         shrext_cmds=.dll
19580         # FIXME: Setting linknames here is a bad hack.
19581         archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
19582         # The linker will automatically build a .lib file if we build a DLL.
19583         old_archive_from_new_cmds_F77='true'
19584         # FIXME: Should let the user specify the lib program.
19585         old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
19586         enable_shared_with_static_runtimes_F77=yes
19587         ;;
19588       esac
19589       ;;
19590
19591     darwin* | rhapsody*)
19592
19593
19594   archive_cmds_need_lc_F77=no
19595   hardcode_direct_F77=no
19596   hardcode_automatic_F77=yes
19597   hardcode_shlibpath_var_F77=unsupported
19598   if test yes = "$lt_cv_ld_force_load"; then
19599     whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
19600     compiler_needs_object_F77=yes
19601   else
19602     whole_archive_flag_spec_F77=''
19603   fi
19604   link_all_deplibs_F77=yes
19605   allow_undefined_flag_F77=$_lt_dar_allow_undefined
19606   case $cc_basename in
19607      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
19608      *) _lt_dar_can_shared=$GCC ;;
19609   esac
19610   if test yes = "$_lt_dar_can_shared"; then
19611     output_verbose_link_cmd=func_echo_all
19612     archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
19613     module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
19614     archive_expsym_cmds_F77="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"
19615     module_expsym_cmds_F77="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"
19616
19617   else
19618   ld_shlibs_F77=no
19619   fi
19620
19621       ;;
19622
19623     dgux*)
19624       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19625       hardcode_libdir_flag_spec_F77='-L$libdir'
19626       hardcode_shlibpath_var_F77=no
19627       ;;
19628
19629     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19630     # support.  Future versions do this automatically, but an explicit c++rt0.o
19631     # does not break anything, and helps significantly (at the cost of a little
19632     # extra space).
19633     freebsd2.2*)
19634       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19635       hardcode_libdir_flag_spec_F77='-R$libdir'
19636       hardcode_direct_F77=yes
19637       hardcode_shlibpath_var_F77=no
19638       ;;
19639
19640     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19641     freebsd2.*)
19642       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19643       hardcode_direct_F77=yes
19644       hardcode_minus_L_F77=yes
19645       hardcode_shlibpath_var_F77=no
19646       ;;
19647
19648     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19649     freebsd* | dragonfly*)
19650       archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19651       hardcode_libdir_flag_spec_F77='-R$libdir'
19652       hardcode_direct_F77=yes
19653       hardcode_shlibpath_var_F77=no
19654       ;;
19655
19656     hpux9*)
19657       if test yes = "$GCC"; then
19658         archive_cmds_F77='$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'
19659       else
19660         archive_cmds_F77='$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'
19661       fi
19662       hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19663       hardcode_libdir_separator_F77=:
19664       hardcode_direct_F77=yes
19665
19666       # hardcode_minus_L: Not really in the search PATH,
19667       # but as the default location of the library.
19668       hardcode_minus_L_F77=yes
19669       export_dynamic_flag_spec_F77='$wl-E'
19670       ;;
19671
19672     hpux10*)
19673       if test yes,no = "$GCC,$with_gnu_ld"; then
19674         archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19675       else
19676         archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19677       fi
19678       if test no = "$with_gnu_ld"; then
19679         hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19680         hardcode_libdir_separator_F77=:
19681         hardcode_direct_F77=yes
19682         hardcode_direct_absolute_F77=yes
19683         export_dynamic_flag_spec_F77='$wl-E'
19684         # hardcode_minus_L: Not really in the search PATH,
19685         # but as the default location of the library.
19686         hardcode_minus_L_F77=yes
19687       fi
19688       ;;
19689
19690     hpux11*)
19691       if test yes,no = "$GCC,$with_gnu_ld"; then
19692         case $host_cpu in
19693         hppa*64*)
19694           archive_cmds_F77='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19695           ;;
19696         ia64*)
19697           archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19698           ;;
19699         *)
19700           archive_cmds_F77='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19701           ;;
19702         esac
19703       else
19704         case $host_cpu in
19705         hppa*64*)
19706           archive_cmds_F77='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19707           ;;
19708         ia64*)
19709           archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19710           ;;
19711         *)
19712         archive_cmds_F77='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19713           ;;
19714         esac
19715       fi
19716       if test no = "$with_gnu_ld"; then
19717         hardcode_libdir_flag_spec_F77='$wl+b $wl$libdir'
19718         hardcode_libdir_separator_F77=:
19719
19720         case $host_cpu in
19721         hppa*64*|ia64*)
19722           hardcode_direct_F77=no
19723           hardcode_shlibpath_var_F77=no
19724           ;;
19725         *)
19726           hardcode_direct_F77=yes
19727           hardcode_direct_absolute_F77=yes
19728           export_dynamic_flag_spec_F77='$wl-E'
19729
19730           # hardcode_minus_L: Not really in the search PATH,
19731           # but as the default location of the library.
19732           hardcode_minus_L_F77=yes
19733           ;;
19734         esac
19735       fi
19736       ;;
19737
19738     irix5* | irix6* | nonstopux*)
19739       if test yes = "$GCC"; then
19740         archive_cmds_F77='$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'
19741         # Try to use the -exported_symbol ld option, if it does not
19742         # work, assume that -exports_file does not work either and
19743         # implicitly export all symbols.
19744         # This should be the same for all languages, so no per-tag cache variable.
19745         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
19746 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
19747 if ${lt_cv_irix_exported_symbol+:} false; then :
19748   $as_echo_n "(cached) " >&6
19749 else
19750   save_LDFLAGS=$LDFLAGS
19751            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
19752            cat > conftest.$ac_ext <<_ACEOF
19753
19754       subroutine foo
19755       end
19756 _ACEOF
19757 if ac_fn_f77_try_link "$LINENO"; then :
19758   lt_cv_irix_exported_symbol=yes
19759 else
19760   lt_cv_irix_exported_symbol=no
19761 fi
19762 rm -f core conftest.err conftest.$ac_objext \
19763     conftest$ac_exeext conftest.$ac_ext
19764            LDFLAGS=$save_LDFLAGS
19765 fi
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
19767 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
19768         if test yes = "$lt_cv_irix_exported_symbol"; then
19769           archive_expsym_cmds_F77='$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'
19770         fi
19771       else
19772         archive_cmds_F77='$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'
19773         archive_expsym_cmds_F77='$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'
19774       fi
19775       archive_cmds_need_lc_F77='no'
19776       hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19777       hardcode_libdir_separator_F77=:
19778       inherit_rpath_F77=yes
19779       link_all_deplibs_F77=yes
19780       ;;
19781
19782     linux*)
19783       case $cc_basename in
19784       tcc*)
19785         # Fabrice Bellard et al's Tiny C Compiler
19786         ld_shlibs_F77=yes
19787         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19788         ;;
19789       esac
19790       ;;
19791
19792     netbsd*)
19793       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19794         archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19795       else
19796         archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19797       fi
19798       hardcode_libdir_flag_spec_F77='-R$libdir'
19799       hardcode_direct_F77=yes
19800       hardcode_shlibpath_var_F77=no
19801       ;;
19802
19803     newsos6)
19804       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19805       hardcode_direct_F77=yes
19806       hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19807       hardcode_libdir_separator_F77=:
19808       hardcode_shlibpath_var_F77=no
19809       ;;
19810
19811     *nto* | *qnx*)
19812       ;;
19813
19814     openbsd* | bitrig*)
19815       if test -f /usr/libexec/ld.so; then
19816         hardcode_direct_F77=yes
19817         hardcode_shlibpath_var_F77=no
19818         hardcode_direct_absolute_F77=yes
19819         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
19820           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19821           archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
19822           hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19823           export_dynamic_flag_spec_F77='$wl-E'
19824         else
19825           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19826           hardcode_libdir_flag_spec_F77='$wl-rpath,$libdir'
19827         fi
19828       else
19829         ld_shlibs_F77=no
19830       fi
19831       ;;
19832
19833     os2*)
19834       hardcode_libdir_flag_spec_F77='-L$libdir'
19835       hardcode_minus_L_F77=yes
19836       allow_undefined_flag_F77=unsupported
19837       shrext_cmds=.dll
19838       archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19839         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19840         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19841         $ECHO EXPORTS >> $output_objdir/$libname.def~
19842         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
19843         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19844         emximp -o $lib $output_objdir/$libname.def'
19845       archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
19846         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
19847         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
19848         $ECHO EXPORTS >> $output_objdir/$libname.def~
19849         prefix_cmds="$SED"~
19850         if test EXPORTS = "`$SED 1q $export_symbols`"; then
19851           prefix_cmds="$prefix_cmds -e 1d";
19852         fi~
19853         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
19854         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
19855         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
19856         emximp -o $lib $output_objdir/$libname.def'
19857       old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
19858       enable_shared_with_static_runtimes_F77=yes
19859       ;;
19860
19861     osf3*)
19862       if test yes = "$GCC"; then
19863         allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
19864         archive_cmds_F77='$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'
19865       else
19866         allow_undefined_flag_F77=' -expect_unresolved \*'
19867         archive_cmds_F77='$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'
19868       fi
19869       archive_cmds_need_lc_F77='no'
19870       hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19871       hardcode_libdir_separator_F77=:
19872       ;;
19873
19874     osf4* | osf5*)      # as osf3* with the addition of -msym flag
19875       if test yes = "$GCC"; then
19876         allow_undefined_flag_F77=' $wl-expect_unresolved $wl\*'
19877         archive_cmds_F77='$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'
19878         hardcode_libdir_flag_spec_F77='$wl-rpath $wl$libdir'
19879       else
19880         allow_undefined_flag_F77=' -expect_unresolved \*'
19881         archive_cmds_F77='$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'
19882         archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
19883           $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'
19884
19885         # Both c and cxx compiler support -rpath directly
19886         hardcode_libdir_flag_spec_F77='-rpath $libdir'
19887       fi
19888       archive_cmds_need_lc_F77='no'
19889       hardcode_libdir_separator_F77=:
19890       ;;
19891
19892     solaris*)
19893       no_undefined_flag_F77=' -z defs'
19894       if test yes = "$GCC"; then
19895         wlarc='$wl'
19896         archive_cmds_F77='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
19897         archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19898           $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'
19899       else
19900         case `$CC -V 2>&1` in
19901         *"Compilers 5.0"*)
19902           wlarc=''
19903           archive_cmds_F77='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
19904           archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19905             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
19906           ;;
19907         *)
19908           wlarc='$wl'
19909           archive_cmds_F77='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
19910           archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19911             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
19912           ;;
19913         esac
19914       fi
19915       hardcode_libdir_flag_spec_F77='-R$libdir'
19916       hardcode_shlibpath_var_F77=no
19917       case $host_os in
19918       solaris2.[0-5] | solaris2.[0-5].*) ;;
19919       *)
19920         # The compiler driver will combine and reorder linker options,
19921         # but understands '-z linker_flag'.  GCC discards it without '$wl',
19922         # but is careful enough not to reorder.
19923         # Supported since Solaris 2.6 (maybe 2.5.1?)
19924         if test yes = "$GCC"; then
19925           whole_archive_flag_spec_F77='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
19926         else
19927           whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
19928         fi
19929         ;;
19930       esac
19931       link_all_deplibs_F77=yes
19932       ;;
19933
19934     sunos4*)
19935       if test sequent = "$host_vendor"; then
19936         # Use $CC to link under sequent, because it throws in some extra .o
19937         # files that make .init and .fini sections work.
19938         archive_cmds_F77='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19939       else
19940         archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19941       fi
19942       hardcode_libdir_flag_spec_F77='-L$libdir'
19943       hardcode_direct_F77=yes
19944       hardcode_minus_L_F77=yes
19945       hardcode_shlibpath_var_F77=no
19946       ;;
19947
19948     sysv4)
19949       case $host_vendor in
19950         sni)
19951           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19952           hardcode_direct_F77=yes # is this really true???
19953         ;;
19954         siemens)
19955           ## LD is ld it makes a PLAMLIB
19956           ## CC just makes a GrossModule.
19957           archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19958           reload_cmds_F77='$CC -r -o $output$reload_objs'
19959           hardcode_direct_F77=no
19960         ;;
19961         motorola)
19962           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19963           hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
19964         ;;
19965       esac
19966       runpath_var='LD_RUN_PATH'
19967       hardcode_shlibpath_var_F77=no
19968       ;;
19969
19970     sysv4.3*)
19971       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19972       hardcode_shlibpath_var_F77=no
19973       export_dynamic_flag_spec_F77='-Bexport'
19974       ;;
19975
19976     sysv4*MP*)
19977       if test -d /usr/nec; then
19978         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19979         hardcode_shlibpath_var_F77=no
19980         runpath_var=LD_RUN_PATH
19981         hardcode_runpath_var=yes
19982         ld_shlibs_F77=yes
19983       fi
19984       ;;
19985
19986     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19987       no_undefined_flag_F77='$wl-z,text'
19988       archive_cmds_need_lc_F77=no
19989       hardcode_shlibpath_var_F77=no
19990       runpath_var='LD_RUN_PATH'
19991
19992       if test yes = "$GCC"; then
19993         archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19994         archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19995       else
19996         archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19997         archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19998       fi
19999       ;;
20000
20001     sysv5* | sco3.2v5* | sco5v6*)
20002       # Note: We CANNOT use -z defs as we might desire, because we do not
20003       # link with -lc, and that would cause any symbols used from libc to
20004       # always be unresolved, which means just about no library would
20005       # ever link correctly.  If we're not using GNU ld we use -z text
20006       # though, which does catch some bad symbols but isn't as heavy-handed
20007       # as -z defs.
20008       no_undefined_flag_F77='$wl-z,text'
20009       allow_undefined_flag_F77='$wl-z,nodefs'
20010       archive_cmds_need_lc_F77=no
20011       hardcode_shlibpath_var_F77=no
20012       hardcode_libdir_flag_spec_F77='$wl-R,$libdir'
20013       hardcode_libdir_separator_F77=':'
20014       link_all_deplibs_F77=yes
20015       export_dynamic_flag_spec_F77='$wl-Bexport'
20016       runpath_var='LD_RUN_PATH'
20017
20018       if test yes = "$GCC"; then
20019         archive_cmds_F77='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20020         archive_expsym_cmds_F77='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20021       else
20022         archive_cmds_F77='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20023         archive_expsym_cmds_F77='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
20024       fi
20025       ;;
20026
20027     uts4*)
20028       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20029       hardcode_libdir_flag_spec_F77='-L$libdir'
20030       hardcode_shlibpath_var_F77=no
20031       ;;
20032
20033     *)
20034       ld_shlibs_F77=no
20035       ;;
20036     esac
20037
20038     if test sni = "$host_vendor"; then
20039       case $host in
20040       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20041         export_dynamic_flag_spec_F77='$wl-Blargedynsym'
20042         ;;
20043       esac
20044     fi
20045   fi
20046
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
20048 $as_echo "$ld_shlibs_F77" >&6; }
20049 test no = "$ld_shlibs_F77" && can_build_shared=no
20050
20051 with_gnu_ld_F77=$with_gnu_ld
20052
20053
20054
20055
20056
20057
20058 #
20059 # Do we need to explicitly link libc?
20060 #
20061 case "x$archive_cmds_need_lc_F77" in
20062 x|xyes)
20063   # Assume -lc should be added
20064   archive_cmds_need_lc_F77=yes
20065
20066   if test yes,yes = "$GCC,$enable_shared"; then
20067     case $archive_cmds_F77 in
20068     *'~'*)
20069       # FIXME: we may have to deal with multi-command sequences.
20070       ;;
20071     '$CC '*)
20072       # Test whether the compiler implicitly links with -lc since on some
20073       # systems, -lgcc has to come before -lc. If gcc already passes -lc
20074       # to ld, don't add -lc before -lgcc.
20075       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20076 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20077 if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
20078   $as_echo_n "(cached) " >&6
20079 else
20080   $RM conftest*
20081         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20082
20083         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20084   (eval $ac_compile) 2>&5
20085   ac_status=$?
20086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20087   test $ac_status = 0; } 2>conftest.err; then
20088           soname=conftest
20089           lib=conftest
20090           libobjs=conftest.$ac_objext
20091           deplibs=
20092           wl=$lt_prog_compiler_wl_F77
20093           pic_flag=$lt_prog_compiler_pic_F77
20094           compiler_flags=-v
20095           linker_flags=-v
20096           verstring=
20097           output_objdir=.
20098           libname=conftest
20099           lt_save_allow_undefined_flag=$allow_undefined_flag_F77
20100           allow_undefined_flag_F77=
20101           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20102   (eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20103   ac_status=$?
20104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20105   test $ac_status = 0; }
20106           then
20107             lt_cv_archive_cmds_need_lc_F77=no
20108           else
20109             lt_cv_archive_cmds_need_lc_F77=yes
20110           fi
20111           allow_undefined_flag_F77=$lt_save_allow_undefined_flag
20112         else
20113           cat conftest.err 1>&5
20114         fi
20115         $RM conftest*
20116
20117 fi
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
20119 $as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
20120       archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
20121       ;;
20122     esac
20123   fi
20124   ;;
20125 esac
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20189 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20190
20191 library_names_spec=
20192 libname_spec='lib$name'
20193 soname_spec=
20194 shrext_cmds=.so
20195 postinstall_cmds=
20196 postuninstall_cmds=
20197 finish_cmds=
20198 finish_eval=
20199 shlibpath_var=
20200 shlibpath_overrides_runpath=unknown
20201 version_type=none
20202 dynamic_linker="$host_os ld.so"
20203 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20204 need_lib_prefix=unknown
20205 hardcode_into_libs=no
20206
20207 # when you set need_version to no, make sure it does not cause -set_version
20208 # flags to be left without arguments
20209 need_version=unknown
20210
20211
20212
20213 case $host_os in
20214 aix3*)
20215   version_type=linux # correct to gnu/linux during the next big refactor
20216   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
20217   shlibpath_var=LIBPATH
20218
20219   # AIX 3 has no versioning support, so we append a major version to the name.
20220   soname_spec='$libname$release$shared_ext$major'
20221   ;;
20222
20223 aix[4-9]*)
20224   version_type=linux # correct to gnu/linux during the next big refactor
20225   need_lib_prefix=no
20226   need_version=no
20227   hardcode_into_libs=yes
20228   if test ia64 = "$host_cpu"; then
20229     # AIX 5 supports IA64
20230     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
20231     shlibpath_var=LD_LIBRARY_PATH
20232   else
20233     # With GCC up to 2.95.x, collect2 would create an import file
20234     # for dependence libraries.  The import file would start with
20235     # the line '#! .'.  This would cause the generated library to
20236     # depend on '.', always an invalid library.  This was fixed in
20237     # development snapshots of GCC prior to 3.0.
20238     case $host_os in
20239       aix4 | aix4.[01] | aix4.[01].*)
20240       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20241            echo ' yes '
20242            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
20243         :
20244       else
20245         can_build_shared=no
20246       fi
20247       ;;
20248     esac
20249     # Using Import Files as archive members, it is possible to support
20250     # filename-based versioning of shared library archives on AIX. While
20251     # this would work for both with and without runtime linking, it will
20252     # prevent static linking of such archives. So we do filename-based
20253     # shared library versioning with .so extension only, which is used
20254     # when both runtime linking and shared linking is enabled.
20255     # Unfortunately, runtime linking may impact performance, so we do
20256     # not want this to be the default eventually. Also, we use the
20257     # versioned .so libs for executables only if there is the -brtl
20258     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
20259     # To allow for filename-based versioning support, we need to create
20260     # libNAME.so.V as an archive file, containing:
20261     # *) an Import File, referring to the versioned filename of the
20262     #    archive as well as the shared archive member, telling the
20263     #    bitwidth (32 or 64) of that shared object, and providing the
20264     #    list of exported symbols of that shared object, eventually
20265     #    decorated with the 'weak' keyword
20266     # *) the shared object with the F_LOADONLY flag set, to really avoid
20267     #    it being seen by the linker.
20268     # At run time we better use the real file rather than another symlink,
20269     # but for link time we create the symlink libNAME.so -> libNAME.so.V
20270
20271     case $with_aix_soname,$aix_use_runtimelinking in
20272     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
20273     # soname into executable. Probably we can add versioning support to
20274     # collect2, so additional links can be useful in future.
20275     aix,yes) # traditional libtool
20276       dynamic_linker='AIX unversionable lib.so'
20277       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20278       # instead of lib<name>.a to let people know that these are not
20279       # typical AIX shared libraries.
20280       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20281       ;;
20282     aix,no) # traditional AIX only
20283       dynamic_linker='AIX lib.a(lib.so.V)'
20284       # We preserve .a as extension for shared libraries through AIX4.2
20285       # and later when we are not doing run time linking.
20286       library_names_spec='$libname$release.a $libname.a'
20287       soname_spec='$libname$release$shared_ext$major'
20288       ;;
20289     svr4,*) # full svr4 only
20290       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
20291       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20292       # We do not specify a path in Import Files, so LIBPATH fires.
20293       shlibpath_overrides_runpath=yes
20294       ;;
20295     *,yes) # both, prefer svr4
20296       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
20297       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
20298       # unpreferred sharedlib libNAME.a needs extra handling
20299       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"'
20300       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"'
20301       # We do not specify a path in Import Files, so LIBPATH fires.
20302       shlibpath_overrides_runpath=yes
20303       ;;
20304     *,no) # both, prefer aix
20305       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
20306       library_names_spec='$libname$release.a $libname.a'
20307       soname_spec='$libname$release$shared_ext$major'
20308       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
20309       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)'
20310       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"'
20311       ;;
20312     esac
20313     shlibpath_var=LIBPATH
20314   fi
20315   ;;
20316
20317 amigaos*)
20318   case $host_cpu in
20319   powerpc)
20320     # Since July 2007 AmigaOS4 officially supports .so libraries.
20321     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20322     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20323     ;;
20324   m68k)
20325     library_names_spec='$libname.ixlibrary $libname.a'
20326     # Create ${libname}_ixlibrary.a entries in /sys/libs.
20327     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'
20328     ;;
20329   esac
20330   ;;
20331
20332 beos*)
20333   library_names_spec='$libname$shared_ext'
20334   dynamic_linker="$host_os ld.so"
20335   shlibpath_var=LIBRARY_PATH
20336   ;;
20337
20338 bsdi[45]*)
20339   version_type=linux # correct to gnu/linux during the next big refactor
20340   need_version=no
20341   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20342   soname_spec='$libname$release$shared_ext$major'
20343   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20344   shlibpath_var=LD_LIBRARY_PATH
20345   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20346   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20347   # the default ld.so.conf also contains /usr/contrib/lib and
20348   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20349   # libtool to hard-code these into programs
20350   ;;
20351
20352 cygwin* | mingw* | pw32* | cegcc*)
20353   version_type=windows
20354   shrext_cmds=.dll
20355   need_version=no
20356   need_lib_prefix=no
20357
20358   case $GCC,$cc_basename in
20359   yes,*)
20360     # gcc
20361     library_names_spec='$libname.dll.a'
20362     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20363     postinstall_cmds='base_file=`basename \$file`~
20364       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20365       dldir=$destdir/`dirname \$dlpath`~
20366       test -d \$dldir || mkdir -p \$dldir~
20367       $install_prog $dir/$dlname \$dldir/$dlname~
20368       chmod a+x \$dldir/$dlname~
20369       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20370         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20371       fi'
20372     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20373       dlpath=$dir/\$dldll~
20374        $RM \$dlpath'
20375     shlibpath_overrides_runpath=yes
20376
20377     case $host_os in
20378     cygwin*)
20379       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20380       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20381
20382       ;;
20383     mingw* | cegcc*)
20384       # MinGW DLLs use traditional 'lib' prefix
20385       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20386       ;;
20387     pw32*)
20388       # pw32 DLLs use 'pw' prefix rather than 'lib'
20389       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20390       ;;
20391     esac
20392     dynamic_linker='Win32 ld.exe'
20393     ;;
20394
20395   *,cl*)
20396     # Native MSVC
20397     libname_spec='$name'
20398     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
20399     library_names_spec='$libname.dll.lib'
20400
20401     case $build_os in
20402     mingw*)
20403       sys_lib_search_path_spec=
20404       lt_save_ifs=$IFS
20405       IFS=';'
20406       for lt_path in $LIB
20407       do
20408         IFS=$lt_save_ifs
20409         # Let DOS variable expansion print the short 8.3 style file name.
20410         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20411         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20412       done
20413       IFS=$lt_save_ifs
20414       # Convert to MSYS style.
20415       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20416       ;;
20417     cygwin*)
20418       # Convert to unix form, then to dos form, then back to unix form
20419       # but this time dos style (no spaces!) so that the unix form looks
20420       # like /cygdrive/c/PROGRA~1:/cygdr...
20421       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20422       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20423       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20424       ;;
20425     *)
20426       sys_lib_search_path_spec=$LIB
20427       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20428         # It is most probably a Windows format PATH.
20429         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20430       else
20431         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20432       fi
20433       # FIXME: find the short name or the path components, as spaces are
20434       # common. (e.g. "Program Files" -> "PROGRA~1")
20435       ;;
20436     esac
20437
20438     # DLL is installed to $(libdir)/../bin by postinstall_cmds
20439     postinstall_cmds='base_file=`basename \$file`~
20440       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
20441       dldir=$destdir/`dirname \$dlpath`~
20442       test -d \$dldir || mkdir -p \$dldir~
20443       $install_prog $dir/$dlname \$dldir/$dlname'
20444     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20445       dlpath=$dir/\$dldll~
20446        $RM \$dlpath'
20447     shlibpath_overrides_runpath=yes
20448     dynamic_linker='Win32 link.exe'
20449     ;;
20450
20451   *)
20452     # Assume MSVC wrapper
20453     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
20454     dynamic_linker='Win32 ld.exe'
20455     ;;
20456   esac
20457   # FIXME: first we should search . and the directory the executable is in
20458   shlibpath_var=PATH
20459   ;;
20460
20461 darwin* | rhapsody*)
20462   dynamic_linker="$host_os dyld"
20463   version_type=darwin
20464   need_lib_prefix=no
20465   need_version=no
20466   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
20467   soname_spec='$libname$release$major$shared_ext'
20468   shlibpath_overrides_runpath=yes
20469   shlibpath_var=DYLD_LIBRARY_PATH
20470   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20471
20472   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20473   ;;
20474
20475 dgux*)
20476   version_type=linux # correct to gnu/linux during the next big refactor
20477   need_lib_prefix=no
20478   need_version=no
20479   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20480   soname_spec='$libname$release$shared_ext$major'
20481   shlibpath_var=LD_LIBRARY_PATH
20482   ;;
20483
20484 freebsd* | dragonfly*)
20485   # DragonFly does not have aout.  When/if they implement a new
20486   # versioning mechanism, adjust this.
20487   if test -x /usr/bin/objformat; then
20488     objformat=`/usr/bin/objformat`
20489   else
20490     case $host_os in
20491     freebsd[23].*) objformat=aout ;;
20492     *) objformat=elf ;;
20493     esac
20494   fi
20495   version_type=freebsd-$objformat
20496   case $version_type in
20497     freebsd-elf*)
20498       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20499       soname_spec='$libname$release$shared_ext$major'
20500       need_version=no
20501       need_lib_prefix=no
20502       ;;
20503     freebsd-*)
20504       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20505       need_version=yes
20506       ;;
20507   esac
20508   shlibpath_var=LD_LIBRARY_PATH
20509   case $host_os in
20510   freebsd2.*)
20511     shlibpath_overrides_runpath=yes
20512     ;;
20513   freebsd3.[01]* | freebsdelf3.[01]*)
20514     shlibpath_overrides_runpath=yes
20515     hardcode_into_libs=yes
20516     ;;
20517   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20518   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20519     shlibpath_overrides_runpath=no
20520     hardcode_into_libs=yes
20521     ;;
20522   *) # from 4.6 on, and DragonFly
20523     shlibpath_overrides_runpath=yes
20524     hardcode_into_libs=yes
20525     ;;
20526   esac
20527   ;;
20528
20529 haiku*)
20530   version_type=linux # correct to gnu/linux during the next big refactor
20531   need_lib_prefix=no
20532   need_version=no
20533   dynamic_linker="$host_os runtime_loader"
20534   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20535   soname_spec='$libname$release$shared_ext$major'
20536   shlibpath_var=LIBRARY_PATH
20537   shlibpath_overrides_runpath=no
20538   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20539   hardcode_into_libs=yes
20540   ;;
20541
20542 hpux9* | hpux10* | hpux11*)
20543   # Give a soname corresponding to the major version so that dld.sl refuses to
20544   # link against other versions.
20545   version_type=sunos
20546   need_lib_prefix=no
20547   need_version=no
20548   case $host_cpu in
20549   ia64*)
20550     shrext_cmds='.so'
20551     hardcode_into_libs=yes
20552     dynamic_linker="$host_os dld.so"
20553     shlibpath_var=LD_LIBRARY_PATH
20554     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20555     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20556     soname_spec='$libname$release$shared_ext$major'
20557     if test 32 = "$HPUX_IA64_MODE"; then
20558       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20559       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
20560     else
20561       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20562       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
20563     fi
20564     ;;
20565   hppa*64*)
20566     shrext_cmds='.sl'
20567     hardcode_into_libs=yes
20568     dynamic_linker="$host_os dld.sl"
20569     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20570     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20571     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20572     soname_spec='$libname$release$shared_ext$major'
20573     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20574     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20575     ;;
20576   *)
20577     shrext_cmds='.sl'
20578     dynamic_linker="$host_os dld.sl"
20579     shlibpath_var=SHLIB_PATH
20580     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20581     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20582     soname_spec='$libname$release$shared_ext$major'
20583     ;;
20584   esac
20585   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20586   postinstall_cmds='chmod 555 $lib'
20587   # or fails outright, so override atomically:
20588   install_override_mode=555
20589   ;;
20590
20591 interix[3-9]*)
20592   version_type=linux # correct to gnu/linux during the next big refactor
20593   need_lib_prefix=no
20594   need_version=no
20595   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20596   soname_spec='$libname$release$shared_ext$major'
20597   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20598   shlibpath_var=LD_LIBRARY_PATH
20599   shlibpath_overrides_runpath=no
20600   hardcode_into_libs=yes
20601   ;;
20602
20603 irix5* | irix6* | nonstopux*)
20604   case $host_os in
20605     nonstopux*) version_type=nonstopux ;;
20606     *)
20607         if test yes = "$lt_cv_prog_gnu_ld"; then
20608                 version_type=linux # correct to gnu/linux during the next big refactor
20609         else
20610                 version_type=irix
20611         fi ;;
20612   esac
20613   need_lib_prefix=no
20614   need_version=no
20615   soname_spec='$libname$release$shared_ext$major'
20616   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
20617   case $host_os in
20618   irix5* | nonstopux*)
20619     libsuff= shlibsuff=
20620     ;;
20621   *)
20622     case $LD in # libtool.m4 will add one of these switches to LD
20623     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20624       libsuff= shlibsuff= libmagic=32-bit;;
20625     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20626       libsuff=32 shlibsuff=N32 libmagic=N32;;
20627     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20628       libsuff=64 shlibsuff=64 libmagic=64-bit;;
20629     *) libsuff= shlibsuff= libmagic=never-match;;
20630     esac
20631     ;;
20632   esac
20633   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20634   shlibpath_overrides_runpath=no
20635   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
20636   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
20637   hardcode_into_libs=yes
20638   ;;
20639
20640 # No shared lib support for Linux oldld, aout, or coff.
20641 linux*oldld* | linux*aout* | linux*coff*)
20642   dynamic_linker=no
20643   ;;
20644
20645 linux*android*)
20646   version_type=none # Android doesn't support versioned libraries.
20647   need_lib_prefix=no
20648   need_version=no
20649   library_names_spec='$libname$release$shared_ext'
20650   soname_spec='$libname$release$shared_ext'
20651   finish_cmds=
20652   shlibpath_var=LD_LIBRARY_PATH
20653   shlibpath_overrides_runpath=yes
20654
20655   # This implies no fast_install, which is unacceptable.
20656   # Some rework will be needed to allow for fast_install
20657   # before this can be enabled.
20658   hardcode_into_libs=yes
20659
20660   dynamic_linker='Android linker'
20661   # Don't embed -rpath directories since the linker doesn't support them.
20662   hardcode_libdir_flag_spec_F77='-L$libdir'
20663   ;;
20664
20665 # This must be glibc/ELF.
20666 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
20667   version_type=linux # correct to gnu/linux during the next big refactor
20668   need_lib_prefix=no
20669   need_version=no
20670   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20671   soname_spec='$libname$release$shared_ext$major'
20672   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20673   shlibpath_var=LD_LIBRARY_PATH
20674   shlibpath_overrides_runpath=no
20675
20676   # Some binutils ld are patched to set DT_RUNPATH
20677   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20678   $as_echo_n "(cached) " >&6
20679 else
20680   lt_cv_shlibpath_overrides_runpath=no
20681     save_LDFLAGS=$LDFLAGS
20682     save_libdir=$libdir
20683     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
20684          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
20685     cat > conftest.$ac_ext <<_ACEOF
20686       program main
20687
20688       end
20689 _ACEOF
20690 if ac_fn_f77_try_link "$LINENO"; then :
20691   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20692   lt_cv_shlibpath_overrides_runpath=yes
20693 fi
20694 fi
20695 rm -f core conftest.err conftest.$ac_objext \
20696     conftest$ac_exeext conftest.$ac_ext
20697     LDFLAGS=$save_LDFLAGS
20698     libdir=$save_libdir
20699
20700 fi
20701
20702   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20703
20704   # This implies no fast_install, which is unacceptable.
20705   # Some rework will be needed to allow for fast_install
20706   # before this can be enabled.
20707   hardcode_into_libs=yes
20708
20709   # Ideally, we could use ldconfig to report *all* directores which are
20710   # searched for libraries, however this is still not possible.  Aside from not
20711   # being certain /sbin/ldconfig is available, command
20712   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
20713   # even though it is searched at run-time.  Try to do the best guess by
20714   # appending ld.so.conf contents (and includes) to the search path.
20715   if test -f /etc/ld.so.conf; then
20716     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' ' '`
20717     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20718   fi
20719
20720   # We used to test for /lib/ld.so.1 and disable shared libraries on
20721   # powerpc, because MkLinux only supported shared libraries with the
20722   # GNU dynamic linker.  Since this was broken with cross compilers,
20723   # most powerpc-linux boxes support dynamic linking these days and
20724   # people can always --disable-shared, the test was removed, and we
20725   # assume the GNU/Linux dynamic linker is in use.
20726   dynamic_linker='GNU/Linux ld.so'
20727   ;;
20728
20729 netbsd*)
20730   version_type=sunos
20731   need_lib_prefix=no
20732   need_version=no
20733   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20734     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20735     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20736     dynamic_linker='NetBSD (a.out) ld.so'
20737   else
20738     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20739     soname_spec='$libname$release$shared_ext$major'
20740     dynamic_linker='NetBSD ld.elf_so'
20741   fi
20742   shlibpath_var=LD_LIBRARY_PATH
20743   shlibpath_overrides_runpath=yes
20744   hardcode_into_libs=yes
20745   ;;
20746
20747 newsos6)
20748   version_type=linux # correct to gnu/linux during the next big refactor
20749   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20750   shlibpath_var=LD_LIBRARY_PATH
20751   shlibpath_overrides_runpath=yes
20752   ;;
20753
20754 *nto* | *qnx*)
20755   version_type=qnx
20756   need_lib_prefix=no
20757   need_version=no
20758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20759   soname_spec='$libname$release$shared_ext$major'
20760   shlibpath_var=LD_LIBRARY_PATH
20761   shlibpath_overrides_runpath=no
20762   hardcode_into_libs=yes
20763   dynamic_linker='ldqnx.so'
20764   ;;
20765
20766 openbsd* | bitrig*)
20767   version_type=sunos
20768   sys_lib_dlsearch_path_spec=/usr/lib
20769   need_lib_prefix=no
20770   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
20771     need_version=no
20772   else
20773     need_version=yes
20774   fi
20775   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20776   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20777   shlibpath_var=LD_LIBRARY_PATH
20778   shlibpath_overrides_runpath=yes
20779   ;;
20780
20781 os2*)
20782   libname_spec='$name'
20783   version_type=windows
20784   shrext_cmds=.dll
20785   need_version=no
20786   need_lib_prefix=no
20787   # OS/2 can only load a DLL with a base name of 8 characters or less.
20788   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
20789     v=$($ECHO $release$versuffix | tr -d .-);
20790     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
20791     $ECHO $n$v`$shared_ext'
20792   library_names_spec='${libname}_dll.$libext'
20793   dynamic_linker='OS/2 ld.exe'
20794   shlibpath_var=BEGINLIBPATH
20795   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20796   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20797   postinstall_cmds='base_file=`basename \$file`~
20798     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
20799     dldir=$destdir/`dirname \$dlpath`~
20800     test -d \$dldir || mkdir -p \$dldir~
20801     $install_prog $dir/$dlname \$dldir/$dlname~
20802     chmod a+x \$dldir/$dlname~
20803     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20804       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20805     fi'
20806   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
20807     dlpath=$dir/\$dldll~
20808     $RM \$dlpath'
20809   ;;
20810
20811 osf3* | osf4* | osf5*)
20812   version_type=osf
20813   need_lib_prefix=no
20814   need_version=no
20815   soname_spec='$libname$release$shared_ext$major'
20816   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20817   shlibpath_var=LD_LIBRARY_PATH
20818   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20819   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20820   ;;
20821
20822 rdos*)
20823   dynamic_linker=no
20824   ;;
20825
20826 solaris*)
20827   version_type=linux # correct to gnu/linux during the next big refactor
20828   need_lib_prefix=no
20829   need_version=no
20830   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20831   soname_spec='$libname$release$shared_ext$major'
20832   shlibpath_var=LD_LIBRARY_PATH
20833   shlibpath_overrides_runpath=yes
20834   hardcode_into_libs=yes
20835   # ldd complains unless libraries are executable
20836   postinstall_cmds='chmod +x $lib'
20837   ;;
20838
20839 sunos4*)
20840   version_type=sunos
20841   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
20842   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20843   shlibpath_var=LD_LIBRARY_PATH
20844   shlibpath_overrides_runpath=yes
20845   if test yes = "$with_gnu_ld"; then
20846     need_lib_prefix=no
20847   fi
20848   need_version=yes
20849   ;;
20850
20851 sysv4 | sysv4.3*)
20852   version_type=linux # correct to gnu/linux during the next big refactor
20853   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20854   soname_spec='$libname$release$shared_ext$major'
20855   shlibpath_var=LD_LIBRARY_PATH
20856   case $host_vendor in
20857     sni)
20858       shlibpath_overrides_runpath=no
20859       need_lib_prefix=no
20860       runpath_var=LD_RUN_PATH
20861       ;;
20862     siemens)
20863       need_lib_prefix=no
20864       ;;
20865     motorola)
20866       need_lib_prefix=no
20867       need_version=no
20868       shlibpath_overrides_runpath=no
20869       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20870       ;;
20871   esac
20872   ;;
20873
20874 sysv4*MP*)
20875   if test -d /usr/nec; then
20876     version_type=linux # correct to gnu/linux during the next big refactor
20877     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
20878     soname_spec='$libname$shared_ext.$major'
20879     shlibpath_var=LD_LIBRARY_PATH
20880   fi
20881   ;;
20882
20883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20884   version_type=sco
20885   need_lib_prefix=no
20886   need_version=no
20887   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
20888   soname_spec='$libname$release$shared_ext$major'
20889   shlibpath_var=LD_LIBRARY_PATH
20890   shlibpath_overrides_runpath=yes
20891   hardcode_into_libs=yes
20892   if test yes = "$with_gnu_ld"; then
20893     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20894   else
20895     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20896     case $host_os in
20897       sco3.2v5*)
20898         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20899         ;;
20900     esac
20901   fi
20902   sys_lib_dlsearch_path_spec='/usr/lib'
20903   ;;
20904
20905 tpf*)
20906   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
20907   version_type=linux # correct to gnu/linux during the next big refactor
20908   need_lib_prefix=no
20909   need_version=no
20910   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20911   shlibpath_var=LD_LIBRARY_PATH
20912   shlibpath_overrides_runpath=no
20913   hardcode_into_libs=yes
20914   ;;
20915
20916 uts4*)
20917   version_type=linux # correct to gnu/linux during the next big refactor
20918   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
20919   soname_spec='$libname$release$shared_ext$major'
20920   shlibpath_var=LD_LIBRARY_PATH
20921   ;;
20922
20923 *)
20924   dynamic_linker=no
20925   ;;
20926 esac
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20928 $as_echo "$dynamic_linker" >&6; }
20929 test no = "$dynamic_linker" && can_build_shared=no
20930
20931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20932 if test yes = "$GCC"; then
20933   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20934 fi
20935
20936 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
20937   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
20938 fi
20939
20940 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
20941   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
20942 fi
20943
20944 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
20945 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
20946
20947 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
20948 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
20949
20950 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
20951 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20994 hardcode_action_F77=
20995 if test -n "$hardcode_libdir_flag_spec_F77" ||
20996    test -n "$runpath_var_F77" ||
20997    test yes = "$hardcode_automatic_F77"; then
20998
20999   # We can hardcode non-existent directories.
21000   if test no != "$hardcode_direct_F77" &&
21001      # If the only mechanism to avoid hardcoding is shlibpath_var, we
21002      # have to relink, otherwise we might link with an installed library
21003      # when we should be linking with a yet-to-be-installed one
21004      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" &&
21005      test no != "$hardcode_minus_L_F77"; then
21006     # Linking always hardcodes the temporary library directory.
21007     hardcode_action_F77=relink
21008   else
21009     # We can link without hardcoding, and we can hardcode nonexisting dirs.
21010     hardcode_action_F77=immediate
21011   fi
21012 else
21013   # We cannot hardcode anything, or else we can only hardcode existing
21014   # directories.
21015   hardcode_action_F77=unsupported
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
21018 $as_echo "$hardcode_action_F77" >&6; }
21019
21020 if test relink = "$hardcode_action_F77" ||
21021    test yes = "$inherit_rpath_F77"; then
21022   # Fast installation is not supported
21023   enable_fast_install=no
21024 elif test yes = "$shlibpath_overrides_runpath" ||
21025      test no = "$enable_shared"; then
21026   # Fast installation is not necessary
21027   enable_fast_install=needless
21028 fi
21029
21030
21031
21032
21033
21034
21035
21036   fi # test -n "$compiler"
21037
21038   GCC=$lt_save_GCC
21039   CC=$lt_save_CC
21040   CFLAGS=$lt_save_CFLAGS
21041 fi # test yes != "$_lt_disable_F77"
21042
21043 ac_ext=c
21044 ac_cpp='$CPP $CPPFLAGS'
21045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21048
21049
21050 ac_ext=${ac_fc_srcext-f}
21051 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21052 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21054 if test -n "$ac_tool_prefix"; then
21055   for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
21056   do
21057     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21060 $as_echo_n "checking for $ac_word... " >&6; }
21061 if ${ac_cv_prog_FC+:} false; then :
21062   $as_echo_n "(cached) " >&6
21063 else
21064   if test -n "$FC"; then
21065   ac_cv_prog_FC="$FC" # Let the user override the test.
21066 else
21067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21068 for as_dir in $PATH
21069 do
21070   IFS=$as_save_IFS
21071   test -z "$as_dir" && as_dir=.
21072     for ac_exec_ext in '' $ac_executable_extensions; do
21073   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21074     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
21075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21076     break 2
21077   fi
21078 done
21079   done
21080 IFS=$as_save_IFS
21081
21082 fi
21083 fi
21084 FC=$ac_cv_prog_FC
21085 if test -n "$FC"; then
21086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
21087 $as_echo "$FC" >&6; }
21088 else
21089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21090 $as_echo "no" >&6; }
21091 fi
21092
21093
21094     test -n "$FC" && break
21095   done
21096 fi
21097 if test -z "$FC"; then
21098   ac_ct_FC=$FC
21099   for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
21100 do
21101   # Extract the first word of "$ac_prog", so it can be a program name with args.
21102 set dummy $ac_prog; ac_word=$2
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21104 $as_echo_n "checking for $ac_word... " >&6; }
21105 if ${ac_cv_prog_ac_ct_FC+:} false; then :
21106   $as_echo_n "(cached) " >&6
21107 else
21108   if test -n "$ac_ct_FC"; then
21109   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
21110 else
21111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21112 for as_dir in $PATH
21113 do
21114   IFS=$as_save_IFS
21115   test -z "$as_dir" && as_dir=.
21116     for ac_exec_ext in '' $ac_executable_extensions; do
21117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21118     ac_cv_prog_ac_ct_FC="$ac_prog"
21119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21120     break 2
21121   fi
21122 done
21123   done
21124 IFS=$as_save_IFS
21125
21126 fi
21127 fi
21128 ac_ct_FC=$ac_cv_prog_ac_ct_FC
21129 if test -n "$ac_ct_FC"; then
21130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
21131 $as_echo "$ac_ct_FC" >&6; }
21132 else
21133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21134 $as_echo "no" >&6; }
21135 fi
21136
21137
21138   test -n "$ac_ct_FC" && break
21139 done
21140
21141   if test "x$ac_ct_FC" = x; then
21142     FC=""
21143   else
21144     case $cross_compiling:$ac_tool_warned in
21145 yes:)
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21148 ac_tool_warned=yes ;;
21149 esac
21150     FC=$ac_ct_FC
21151   fi
21152 fi
21153
21154
21155 # Provide some information about the compiler.
21156 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
21157 set X $ac_compile
21158 ac_compiler=$2
21159 for ac_option in --version -v -V -qversion; do
21160   { { ac_try="$ac_compiler $ac_option >&5"
21161 case "(($ac_try" in
21162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163   *) ac_try_echo=$ac_try;;
21164 esac
21165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21166 $as_echo "$ac_try_echo"; } >&5
21167   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21168   ac_status=$?
21169   if test -s conftest.err; then
21170     sed '10a\
21171 ... rest of stderr output deleted ...
21172          10q' conftest.err >conftest.er1
21173     cat conftest.er1 >&5
21174   fi
21175   rm -f conftest.er1 conftest.err
21176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21177   test $ac_status = 0; }
21178 done
21179 rm -f a.out
21180
21181 # If we don't use `.F' as extension, the preprocessor is not run on the
21182 # input file.  (Note that this only needs to work for GNU compilers.)
21183 ac_save_ext=$ac_ext
21184 ac_ext=F
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
21186 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
21187 if ${ac_cv_fc_compiler_gnu+:} false; then :
21188   $as_echo_n "(cached) " >&6
21189 else
21190   cat > conftest.$ac_ext <<_ACEOF
21191       program main
21192 #ifndef __GNUC__
21193        choke me
21194 #endif
21195
21196       end
21197 _ACEOF
21198 if ac_fn_fc_try_compile "$LINENO"; then :
21199   ac_compiler_gnu=yes
21200 else
21201   ac_compiler_gnu=no
21202 fi
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
21205
21206 fi
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
21208 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
21209 ac_ext=$ac_save_ext
21210 ac_test_FCFLAGS=${FCFLAGS+set}
21211 ac_save_FCFLAGS=$FCFLAGS
21212 FCFLAGS=
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
21214 $as_echo_n "checking whether $FC accepts -g... " >&6; }
21215 if ${ac_cv_prog_fc_g+:} false; then :
21216   $as_echo_n "(cached) " >&6
21217 else
21218   FCFLAGS=-g
21219 cat > conftest.$ac_ext <<_ACEOF
21220       program main
21221
21222       end
21223 _ACEOF
21224 if ac_fn_fc_try_compile "$LINENO"; then :
21225   ac_cv_prog_fc_g=yes
21226 else
21227   ac_cv_prog_fc_g=no
21228 fi
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230
21231 fi
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
21233 $as_echo "$ac_cv_prog_fc_g" >&6; }
21234 if test "$ac_test_FCFLAGS" = set; then
21235   FCFLAGS=$ac_save_FCFLAGS
21236 elif test $ac_cv_prog_fc_g = yes; then
21237   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21238     FCFLAGS="-g -O2"
21239   else
21240     FCFLAGS="-g"
21241   fi
21242 else
21243   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
21244     FCFLAGS="-O2"
21245   else
21246     FCFLAGS=
21247   fi
21248 fi
21249
21250 if test $ac_compiler_gnu = yes; then
21251   GFC=yes
21252 else
21253   GFC=
21254 fi
21255 ac_ext=${ac_fc_srcext-f}
21256 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21257 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21259
21260
21261       ac_ext=${ac_fc_srcext-f}
21262 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
21263 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
21265
21266
21267 if test -z "$FC" || test no = "$FC"; then
21268   _lt_disable_FC=yes
21269 fi
21270
21271 archive_cmds_need_lc_FC=no
21272 allow_undefined_flag_FC=
21273 always_export_symbols_FC=no
21274 archive_expsym_cmds_FC=
21275 export_dynamic_flag_spec_FC=
21276 hardcode_direct_FC=no
21277 hardcode_direct_absolute_FC=no
21278 hardcode_libdir_flag_spec_FC=
21279 hardcode_libdir_separator_FC=
21280 hardcode_minus_L_FC=no
21281 hardcode_automatic_FC=no
21282 inherit_rpath_FC=no
21283 module_cmds_FC=
21284 module_expsym_cmds_FC=
21285 link_all_deplibs_FC=unknown
21286 old_archive_cmds_FC=$old_archive_cmds
21287 reload_flag_FC=$reload_flag
21288 reload_cmds_FC=$reload_cmds
21289 no_undefined_flag_FC=
21290 whole_archive_flag_spec_FC=
21291 enable_shared_with_static_runtimes_FC=no
21292
21293 # Source file extension for fc test sources.
21294 ac_ext=${ac_fc_srcext-f}
21295
21296 # Object file extension for compiled fc test sources.
21297 objext=o
21298 objext_FC=$objext
21299
21300 # No sense in running all these tests if we already determined that
21301 # the FC compiler isn't working.  Some variables (like enable_shared)
21302 # are currently assumed to apply to all compilers on this platform,
21303 # and will be corrupted by setting them based on a non-working compiler.
21304 if test yes != "$_lt_disable_FC"; then
21305   # Code to be used in simple compile tests
21306   lt_simple_compile_test_code="\
21307       subroutine t
21308       return
21309       end
21310 "
21311
21312   # Code to be used in simple link tests
21313   lt_simple_link_test_code="\
21314       program t
21315       end
21316 "
21317
21318   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
21319
21320
21321
21322
21323
21324
21325 # If no C compiler was specified, use CC.
21326 LTCC=${LTCC-"$CC"}
21327
21328 # If no C compiler flags were specified, use CFLAGS.
21329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
21330
21331 # Allow CC to be a program name with arguments.
21332 compiler=$CC
21333
21334
21335   # save warnings/boilerplate of simple test code
21336   ac_outfile=conftest.$ac_objext
21337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
21338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21339 _lt_compiler_boilerplate=`cat conftest.err`
21340 $RM conftest*
21341
21342   ac_outfile=conftest.$ac_objext
21343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
21344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
21345 _lt_linker_boilerplate=`cat conftest.err`
21346 $RM -r conftest*
21347
21348
21349   # Allow CC to be a program name with arguments.
21350   lt_save_CC=$CC
21351   lt_save_GCC=$GCC
21352   lt_save_CFLAGS=$CFLAGS
21353   CC=${FC-"f95"}
21354   CFLAGS=$FCFLAGS
21355   compiler=$CC
21356   GCC=$ac_cv_fc_compiler_gnu
21357
21358   compiler_FC=$CC
21359   func_cc_basename $compiler
21360 cc_basename=$func_cc_basename_result
21361
21362
21363   if test -n "$compiler"; then
21364     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
21365 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
21366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
21367 $as_echo "$can_build_shared" >&6; }
21368
21369     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
21370 $as_echo_n "checking whether to build shared libraries... " >&6; }
21371     test no = "$can_build_shared" && enable_shared=no
21372
21373     # On AIX, shared libraries and static libraries use the same namespace, and
21374     # are all built from PIC.
21375     case $host_os in
21376       aix3*)
21377         test yes = "$enable_shared" && enable_static=no
21378         if test -n "$RANLIB"; then
21379           archive_cmds="$archive_cmds~\$RANLIB \$lib"
21380           postinstall_cmds='$RANLIB $lib'
21381         fi
21382         ;;
21383       aix[4-9]*)
21384         if test ia64 != "$host_cpu"; then
21385           case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
21386           yes,aix,yes) ;;               # shared object as lib.so file only
21387           yes,svr4,*) ;;                # shared object as lib.so archive member only
21388           yes,*) enable_static=no ;;    # shared object in lib.a archive as well
21389           esac
21390         fi
21391         ;;
21392     esac
21393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
21394 $as_echo "$enable_shared" >&6; }
21395
21396     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
21397 $as_echo_n "checking whether to build static libraries... " >&6; }
21398     # Make sure either enable_shared or enable_static is yes.
21399     test yes = "$enable_shared" || enable_static=yes
21400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
21401 $as_echo "$enable_static" >&6; }
21402
21403     GCC_FC=$ac_cv_fc_compiler_gnu
21404     LD_FC=$LD
21405
21406     ## CAVEAT EMPTOR:
21407     ## There is no encapsulation within the following macros, do not change
21408     ## the running order or otherwise move them around unless you know exactly
21409     ## what you are doing...
21410     # Dependencies to place before and after the object being linked:
21411 predep_objects_FC=
21412 postdep_objects_FC=
21413 predeps_FC=
21414 postdeps_FC=
21415 compiler_lib_search_path_FC=
21416
21417 cat > conftest.$ac_ext <<_LT_EOF
21418       subroutine foo
21419       implicit none
21420       integer a
21421       a=0
21422       return
21423       end
21424 _LT_EOF
21425
21426
21427 _lt_libdeps_save_CFLAGS=$CFLAGS
21428 case "$CC $CFLAGS " in #(
21429 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
21430 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
21431 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
21432 esac
21433
21434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
21435   (eval $ac_compile) 2>&5
21436   ac_status=$?
21437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21438   test $ac_status = 0; }; then
21439   # Parse the compiler output and extract the necessary
21440   # objects, libraries and library flags.
21441
21442   # Sentinel used to keep track of whether or not we are before
21443   # the conftest object file.
21444   pre_test_object_deps_done=no
21445
21446   for p in `eval "$output_verbose_link_cmd"`; do
21447     case $prev$p in
21448
21449     -L* | -R* | -l*)
21450        # Some compilers place space between "-{L,R}" and the path.
21451        # Remove the space.
21452        if test x-L = "$p" ||
21453           test x-R = "$p"; then
21454          prev=$p
21455          continue
21456        fi
21457
21458        # Expand the sysroot to ease extracting the directories later.
21459        if test -z "$prev"; then
21460          case $p in
21461          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
21462          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
21463          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
21464          esac
21465        fi
21466        case $p in
21467        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
21468        esac
21469        if test no = "$pre_test_object_deps_done"; then
21470          case $prev in
21471          -L | -R)
21472            # Internal compiler library paths should come after those
21473            # provided the user.  The postdeps already come after the
21474            # user supplied libs so there is no need to process them.
21475            if test -z "$compiler_lib_search_path_FC"; then
21476              compiler_lib_search_path_FC=$prev$p
21477            else
21478              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} $prev$p"
21479            fi
21480            ;;
21481          # The "-l" case would never come before the object being
21482          # linked, so don't bother handling this case.
21483          esac
21484        else
21485          if test -z "$postdeps_FC"; then
21486            postdeps_FC=$prev$p
21487          else
21488            postdeps_FC="${postdeps_FC} $prev$p"
21489          fi
21490        fi
21491        prev=
21492        ;;
21493
21494     *.lto.$objext) ;; # Ignore GCC LTO objects
21495     *.$objext)
21496        # This assumes that the test object file only shows up
21497        # once in the compiler output.
21498        if test "$p" = "conftest.$objext"; then
21499          pre_test_object_deps_done=yes
21500          continue
21501        fi
21502
21503        if test no = "$pre_test_object_deps_done"; then
21504          if test -z "$predep_objects_FC"; then
21505            predep_objects_FC=$p
21506          else
21507            predep_objects_FC="$predep_objects_FC $p"
21508          fi
21509        else
21510          if test -z "$postdep_objects_FC"; then
21511            postdep_objects_FC=$p
21512          else
21513            postdep_objects_FC="$postdep_objects_FC $p"
21514          fi
21515        fi
21516        ;;
21517
21518     *) ;; # Ignore the rest.
21519
21520     esac
21521   done
21522
21523   # Clean up.
21524   rm -f a.out a.exe
21525 else
21526   echo "libtool.m4: error: problem compiling FC test program"
21527 fi
21528
21529 $RM -f confest.$objext
21530 CFLAGS=$_lt_libdeps_save_CFLAGS
21531
21532 # PORTME: override above test on systems where it is broken
21533
21534
21535 case " $postdeps_FC " in
21536 *" -lc "*) archive_cmds_need_lc_FC=no ;;
21537 esac
21538  compiler_lib_search_dirs_FC=
21539 if test -n "${compiler_lib_search_path_FC}"; then
21540  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | $SED -e 's! -L! !g' -e 's!^ !!'`
21541 fi
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555     lt_prog_compiler_wl_FC=
21556 lt_prog_compiler_pic_FC=
21557 lt_prog_compiler_static_FC=
21558
21559
21560   if test yes = "$GCC"; then
21561     lt_prog_compiler_wl_FC='-Wl,'
21562     lt_prog_compiler_static_FC='-static'
21563
21564     case $host_os in
21565       aix*)
21566       # All AIX code is PIC.
21567       if test ia64 = "$host_cpu"; then
21568         # AIX 5 now supports IA64 processor
21569         lt_prog_compiler_static_FC='-Bstatic'
21570       fi
21571       lt_prog_compiler_pic_FC='-fPIC'
21572       ;;
21573
21574     amigaos*)
21575       case $host_cpu in
21576       powerpc)
21577             # see comment about AmigaOS4 .so support
21578             lt_prog_compiler_pic_FC='-fPIC'
21579         ;;
21580       m68k)
21581             # FIXME: we need at least 68020 code to build shared libraries, but
21582             # adding the '-m68020' flag to GCC prevents building anything better,
21583             # like '-m68040'.
21584             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
21585         ;;
21586       esac
21587       ;;
21588
21589     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
21590       # PIC is the default for these OSes.
21591       ;;
21592
21593     mingw* | cygwin* | pw32* | os2* | cegcc*)
21594       # This hack is so that the source file can tell whether it is being
21595       # built for inclusion in a dll (and should export symbols for example).
21596       # Although the cygwin gcc ignores -fPIC, still need this for old-style
21597       # (--disable-auto-import) libraries
21598       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21599       case $host_os in
21600       os2*)
21601         lt_prog_compiler_static_FC='$wl-static'
21602         ;;
21603       esac
21604       ;;
21605
21606     darwin* | rhapsody*)
21607       # PIC is the default on this platform
21608       # Common symbols not allowed in MH_DYLIB files
21609       lt_prog_compiler_pic_FC='-fno-common'
21610       ;;
21611
21612     haiku*)
21613       # PIC is the default for Haiku.
21614       # The "-static" flag exists, but is broken.
21615       lt_prog_compiler_static_FC=
21616       ;;
21617
21618     hpux*)
21619       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
21620       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
21621       # sets the default TLS model and affects inlining.
21622       case $host_cpu in
21623       hppa*64*)
21624         # +Z the default
21625         ;;
21626       *)
21627         lt_prog_compiler_pic_FC='-fPIC'
21628         ;;
21629       esac
21630       ;;
21631
21632     interix[3-9]*)
21633       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21634       # Instead, we relocate shared libraries at runtime.
21635       ;;
21636
21637     msdosdjgpp*)
21638       # Just because we use GCC doesn't mean we suddenly get shared libraries
21639       # on systems that don't support them.
21640       lt_prog_compiler_can_build_shared_FC=no
21641       enable_shared=no
21642       ;;
21643
21644     *nto* | *qnx*)
21645       # QNX uses GNU C++, but need to define -shared option too, otherwise
21646       # it will coredump.
21647       lt_prog_compiler_pic_FC='-fPIC -shared'
21648       ;;
21649
21650     sysv4*MP*)
21651       if test -d /usr/nec; then
21652         lt_prog_compiler_pic_FC=-Kconform_pic
21653       fi
21654       ;;
21655
21656     *)
21657       lt_prog_compiler_pic_FC='-fPIC'
21658       ;;
21659     esac
21660
21661     case $cc_basename in
21662     nvcc*) # Cuda Compiler Driver 2.2
21663       lt_prog_compiler_wl_FC='-Xlinker '
21664       if test -n "$lt_prog_compiler_pic_FC"; then
21665         lt_prog_compiler_pic_FC="-Xcompiler $lt_prog_compiler_pic_FC"
21666       fi
21667       ;;
21668     esac
21669   else
21670     # PORTME Check for flag to pass linker flags through the system compiler.
21671     case $host_os in
21672     aix*)
21673       lt_prog_compiler_wl_FC='-Wl,'
21674       if test ia64 = "$host_cpu"; then
21675         # AIX 5 now supports IA64 processor
21676         lt_prog_compiler_static_FC='-Bstatic'
21677       else
21678         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
21679       fi
21680       ;;
21681
21682     darwin* | rhapsody*)
21683       # PIC is the default on this platform
21684       # Common symbols not allowed in MH_DYLIB files
21685       lt_prog_compiler_pic_FC='-fno-common'
21686       case $cc_basename in
21687       nagfor*)
21688         # NAG Fortran compiler
21689         lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21690         lt_prog_compiler_pic_FC='-PIC'
21691         lt_prog_compiler_static_FC='-Bstatic'
21692         ;;
21693       esac
21694       ;;
21695
21696     mingw* | cygwin* | pw32* | os2* | cegcc*)
21697       # This hack is so that the source file can tell whether it is being
21698       # built for inclusion in a dll (and should export symbols for example).
21699       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
21700       case $host_os in
21701       os2*)
21702         lt_prog_compiler_static_FC='$wl-static'
21703         ;;
21704       esac
21705       ;;
21706
21707     hpux9* | hpux10* | hpux11*)
21708       lt_prog_compiler_wl_FC='-Wl,'
21709       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21710       # not for PA HP-UX.
21711       case $host_cpu in
21712       hppa*64*|ia64*)
21713         # +Z the default
21714         ;;
21715       *)
21716         lt_prog_compiler_pic_FC='+Z'
21717         ;;
21718       esac
21719       # Is there a better lt_prog_compiler_static that works with the bundled CC?
21720       lt_prog_compiler_static_FC='$wl-a ${wl}archive'
21721       ;;
21722
21723     irix5* | irix6* | nonstopux*)
21724       lt_prog_compiler_wl_FC='-Wl,'
21725       # PIC (with -KPIC) is the default.
21726       lt_prog_compiler_static_FC='-non_shared'
21727       ;;
21728
21729     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21730       case $cc_basename in
21731       # old Intel for x86_64, which still supported -KPIC.
21732       ecc*)
21733         lt_prog_compiler_wl_FC='-Wl,'
21734         lt_prog_compiler_pic_FC='-KPIC'
21735         lt_prog_compiler_static_FC='-static'
21736         ;;
21737       # icc used to be incompatible with GCC.
21738       # ICC 10 doesn't accept -KPIC any more.
21739       icc* | ifort*)
21740         lt_prog_compiler_wl_FC='-Wl,'
21741         lt_prog_compiler_pic_FC='-fPIC'
21742         lt_prog_compiler_static_FC='-static'
21743         ;;
21744       # Lahey Fortran 8.1.
21745       lf95*)
21746         lt_prog_compiler_wl_FC='-Wl,'
21747         lt_prog_compiler_pic_FC='--shared'
21748         lt_prog_compiler_static_FC='--static'
21749         ;;
21750       nagfor*)
21751         # NAG Fortran compiler
21752         lt_prog_compiler_wl_FC='-Wl,-Wl,,'
21753         lt_prog_compiler_pic_FC='-PIC'
21754         lt_prog_compiler_static_FC='-Bstatic'
21755         ;;
21756       tcc*)
21757         # Fabrice Bellard et al's Tiny C Compiler
21758         lt_prog_compiler_wl_FC='-Wl,'
21759         lt_prog_compiler_pic_FC='-fPIC'
21760         lt_prog_compiler_static_FC='-static'
21761         ;;
21762       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
21763         # Portland Group compilers (*not* the Pentium gcc compiler,
21764         # which looks to be a dead project)
21765         lt_prog_compiler_wl_FC='-Wl,'
21766         lt_prog_compiler_pic_FC='-fpic'
21767         lt_prog_compiler_static_FC='-Bstatic'
21768         ;;
21769       ccc*)
21770         lt_prog_compiler_wl_FC='-Wl,'
21771         # All Alpha code is PIC.
21772         lt_prog_compiler_static_FC='-non_shared'
21773         ;;
21774       xl* | bgxl* | bgf* | mpixl*)
21775         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
21776         lt_prog_compiler_wl_FC='-Wl,'
21777         lt_prog_compiler_pic_FC='-qpic'
21778         lt_prog_compiler_static_FC='-qstaticlink'
21779         ;;
21780       *)
21781         case `$CC -V 2>&1 | sed 5q` in
21782         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
21783           # Sun Fortran 8.3 passes all unrecognized flags to the linker
21784           lt_prog_compiler_pic_FC='-KPIC'
21785           lt_prog_compiler_static_FC='-Bstatic'
21786           lt_prog_compiler_wl_FC=''
21787           ;;
21788         *Sun\ F* | *Sun*Fortran*)
21789           lt_prog_compiler_pic_FC='-KPIC'
21790           lt_prog_compiler_static_FC='-Bstatic'
21791           lt_prog_compiler_wl_FC='-Qoption ld '
21792           ;;
21793         *Sun\ C*)
21794           # Sun C 5.9
21795           lt_prog_compiler_pic_FC='-KPIC'
21796           lt_prog_compiler_static_FC='-Bstatic'
21797           lt_prog_compiler_wl_FC='-Wl,'
21798           ;;
21799         *Intel*\ [CF]*Compiler*)
21800           lt_prog_compiler_wl_FC='-Wl,'
21801           lt_prog_compiler_pic_FC='-fPIC'
21802           lt_prog_compiler_static_FC='-static'
21803           ;;
21804         *Portland\ Group*)
21805           lt_prog_compiler_wl_FC='-Wl,'
21806           lt_prog_compiler_pic_FC='-fpic'
21807           lt_prog_compiler_static_FC='-Bstatic'
21808           ;;
21809         esac
21810         ;;
21811       esac
21812       ;;
21813
21814     newsos6)
21815       lt_prog_compiler_pic_FC='-KPIC'
21816       lt_prog_compiler_static_FC='-Bstatic'
21817       ;;
21818
21819     *nto* | *qnx*)
21820       # QNX uses GNU C++, but need to define -shared option too, otherwise
21821       # it will coredump.
21822       lt_prog_compiler_pic_FC='-fPIC -shared'
21823       ;;
21824
21825     osf3* | osf4* | osf5*)
21826       lt_prog_compiler_wl_FC='-Wl,'
21827       # All OSF/1 code is PIC.
21828       lt_prog_compiler_static_FC='-non_shared'
21829       ;;
21830
21831     rdos*)
21832       lt_prog_compiler_static_FC='-non_shared'
21833       ;;
21834
21835     solaris*)
21836       lt_prog_compiler_pic_FC='-KPIC'
21837       lt_prog_compiler_static_FC='-Bstatic'
21838       case $cc_basename in
21839       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
21840         lt_prog_compiler_wl_FC='-Qoption ld ';;
21841       *)
21842         lt_prog_compiler_wl_FC='-Wl,';;
21843       esac
21844       ;;
21845
21846     sunos4*)
21847       lt_prog_compiler_wl_FC='-Qoption ld '
21848       lt_prog_compiler_pic_FC='-PIC'
21849       lt_prog_compiler_static_FC='-Bstatic'
21850       ;;
21851
21852     sysv4 | sysv4.2uw2* | sysv4.3*)
21853       lt_prog_compiler_wl_FC='-Wl,'
21854       lt_prog_compiler_pic_FC='-KPIC'
21855       lt_prog_compiler_static_FC='-Bstatic'
21856       ;;
21857
21858     sysv4*MP*)
21859       if test -d /usr/nec; then
21860         lt_prog_compiler_pic_FC='-Kconform_pic'
21861         lt_prog_compiler_static_FC='-Bstatic'
21862       fi
21863       ;;
21864
21865     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21866       lt_prog_compiler_wl_FC='-Wl,'
21867       lt_prog_compiler_pic_FC='-KPIC'
21868       lt_prog_compiler_static_FC='-Bstatic'
21869       ;;
21870
21871     unicos*)
21872       lt_prog_compiler_wl_FC='-Wl,'
21873       lt_prog_compiler_can_build_shared_FC=no
21874       ;;
21875
21876     uts4*)
21877       lt_prog_compiler_pic_FC='-pic'
21878       lt_prog_compiler_static_FC='-Bstatic'
21879       ;;
21880
21881     *)
21882       lt_prog_compiler_can_build_shared_FC=no
21883       ;;
21884     esac
21885   fi
21886
21887 case $host_os in
21888   # For platforms that do not support PIC, -DPIC is meaningless:
21889   *djgpp*)
21890     lt_prog_compiler_pic_FC=
21891     ;;
21892   *)
21893     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
21894     ;;
21895 esac
21896
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
21898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
21899 if ${lt_cv_prog_compiler_pic_FC+:} false; then :
21900   $as_echo_n "(cached) " >&6
21901 else
21902   lt_cv_prog_compiler_pic_FC=$lt_prog_compiler_pic_FC
21903 fi
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_FC" >&5
21905 $as_echo "$lt_cv_prog_compiler_pic_FC" >&6; }
21906 lt_prog_compiler_pic_FC=$lt_cv_prog_compiler_pic_FC
21907
21908 #
21909 # Check to make sure the PIC flag actually works.
21910 #
21911 if test -n "$lt_prog_compiler_pic_FC"; then
21912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
21913 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
21914 if ${lt_cv_prog_compiler_pic_works_FC+:} false; then :
21915   $as_echo_n "(cached) " >&6
21916 else
21917   lt_cv_prog_compiler_pic_works_FC=no
21918    ac_outfile=conftest.$ac_objext
21919    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21920    lt_compiler_flag="$lt_prog_compiler_pic_FC"  ## exclude from sc_useless_quotes_in_assignment
21921    # Insert the option either (1) after the last *FLAGS variable, or
21922    # (2) before a word containing "conftest.", or (3) at the end.
21923    # Note that $ac_compile itself does not contain backslashes and begins
21924    # with a dollar sign (not a hyphen), so the echo should work correctly.
21925    # The option is referenced via a variable to avoid confusing sed.
21926    lt_compile=`echo "$ac_compile" | $SED \
21927    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21928    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21929    -e 's:$: $lt_compiler_flag:'`
21930    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
21931    (eval "$lt_compile" 2>conftest.err)
21932    ac_status=$?
21933    cat conftest.err >&5
21934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935    if (exit $ac_status) && test -s "$ac_outfile"; then
21936      # The compiler can only warn and ignore the option if not recognized
21937      # So say no if there are warnings other than the usual output.
21938      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
21939      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21940      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21941        lt_cv_prog_compiler_pic_works_FC=yes
21942      fi
21943    fi
21944    $RM conftest*
21945
21946 fi
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
21948 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
21949
21950 if test yes = "$lt_cv_prog_compiler_pic_works_FC"; then
21951     case $lt_prog_compiler_pic_FC in
21952      "" | " "*) ;;
21953      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
21954      esac
21955 else
21956     lt_prog_compiler_pic_FC=
21957      lt_prog_compiler_can_build_shared_FC=no
21958 fi
21959
21960 fi
21961
21962
21963
21964
21965
21966 #
21967 # Check to make sure the static flag actually works.
21968 #
21969 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21971 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21972 if ${lt_cv_prog_compiler_static_works_FC+:} false; then :
21973   $as_echo_n "(cached) " >&6
21974 else
21975   lt_cv_prog_compiler_static_works_FC=no
21976    save_LDFLAGS=$LDFLAGS
21977    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21978    echo "$lt_simple_link_test_code" > conftest.$ac_ext
21979    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21980      # The linker can only warn and ignore the option if not recognized
21981      # So say no if there are warnings
21982      if test -s conftest.err; then
21983        # Append any errors to the config.log.
21984        cat conftest.err 1>&5
21985        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
21986        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21987        if diff conftest.exp conftest.er2 >/dev/null; then
21988          lt_cv_prog_compiler_static_works_FC=yes
21989        fi
21990      else
21991        lt_cv_prog_compiler_static_works_FC=yes
21992      fi
21993    fi
21994    $RM -r conftest*
21995    LDFLAGS=$save_LDFLAGS
21996
21997 fi
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
21999 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
22000
22001 if test yes = "$lt_cv_prog_compiler_static_works_FC"; then
22002     :
22003 else
22004     lt_prog_compiler_static_FC=
22005 fi
22006
22007
22008
22009
22010     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22012 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22013   $as_echo_n "(cached) " >&6
22014 else
22015   lt_cv_prog_compiler_c_o_FC=no
22016    $RM -r conftest 2>/dev/null
22017    mkdir conftest
22018    cd conftest
22019    mkdir out
22020    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22021
22022    lt_compiler_flag="-o out/conftest2.$ac_objext"
22023    # Insert the option either (1) after the last *FLAGS variable, or
22024    # (2) before a word containing "conftest.", or (3) at the end.
22025    # Note that $ac_compile itself does not contain backslashes and begins
22026    # with a dollar sign (not a hyphen), so the echo should work correctly.
22027    lt_compile=`echo "$ac_compile" | $SED \
22028    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22029    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22030    -e 's:$: $lt_compiler_flag:'`
22031    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22032    (eval "$lt_compile" 2>out/conftest.err)
22033    ac_status=$?
22034    cat out/conftest.err >&5
22035    echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036    if (exit $ac_status) && test -s out/conftest2.$ac_objext
22037    then
22038      # The compiler can only warn and ignore the option if not recognized
22039      # So say no if there are warnings
22040      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22041      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22042      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22043        lt_cv_prog_compiler_c_o_FC=yes
22044      fi
22045    fi
22046    chmod u+w . 2>&5
22047    $RM conftest*
22048    # SGI C++ compiler will create directory out/ii_files/ for
22049    # template instantiation
22050    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22051    $RM out/* && rmdir out
22052    cd ..
22053    $RM -r conftest
22054    $RM conftest*
22055
22056 fi
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22058 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22059
22060
22061
22062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
22063 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
22064 if ${lt_cv_prog_compiler_c_o_FC+:} false; then :
22065   $as_echo_n "(cached) " >&6
22066 else
22067   lt_cv_prog_compiler_c_o_FC=no
22068    $RM -r conftest 2>/dev/null
22069    mkdir conftest
22070    cd conftest
22071    mkdir out
22072    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22073
22074    lt_compiler_flag="-o out/conftest2.$ac_objext"
22075    # Insert the option either (1) after the last *FLAGS variable, or
22076    # (2) before a word containing "conftest.", or (3) at the end.
22077    # Note that $ac_compile itself does not contain backslashes and begins
22078    # with a dollar sign (not a hyphen), so the echo should work correctly.
22079    lt_compile=`echo "$ac_compile" | $SED \
22080    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
22081    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
22082    -e 's:$: $lt_compiler_flag:'`
22083    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
22084    (eval "$lt_compile" 2>out/conftest.err)
22085    ac_status=$?
22086    cat out/conftest.err >&5
22087    echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088    if (exit $ac_status) && test -s out/conftest2.$ac_objext
22089    then
22090      # The compiler can only warn and ignore the option if not recognized
22091      # So say no if there are warnings
22092      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
22093      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
22094      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
22095        lt_cv_prog_compiler_c_o_FC=yes
22096      fi
22097    fi
22098    chmod u+w . 2>&5
22099    $RM conftest*
22100    # SGI C++ compiler will create directory out/ii_files/ for
22101    # template instantiation
22102    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
22103    $RM out/* && rmdir out
22104    cd ..
22105    $RM -r conftest
22106    $RM conftest*
22107
22108 fi
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
22110 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
22111
22112
22113
22114
22115 hard_links=nottested
22116 if test no = "$lt_cv_prog_compiler_c_o_FC" && test no != "$need_locks"; then
22117   # do not overwrite the value of need_locks provided by the user
22118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
22119 $as_echo_n "checking if we can lock with hard links... " >&6; }
22120   hard_links=yes
22121   $RM conftest*
22122   ln conftest.a conftest.b 2>/dev/null && hard_links=no
22123   touch conftest.a
22124   ln conftest.a conftest.b 2>&5 || hard_links=no
22125   ln conftest.a conftest.b 2>/dev/null && hard_links=no
22126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
22127 $as_echo "$hard_links" >&6; }
22128   if test no = "$hard_links"; then
22129     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
22130 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
22131     need_locks=warn
22132   fi
22133 else
22134   need_locks=no
22135 fi
22136
22137
22138
22139     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
22140 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
22141
22142   runpath_var=
22143   allow_undefined_flag_FC=
22144   always_export_symbols_FC=no
22145   archive_cmds_FC=
22146   archive_expsym_cmds_FC=
22147   compiler_needs_object_FC=no
22148   enable_shared_with_static_runtimes_FC=no
22149   export_dynamic_flag_spec_FC=
22150   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
22151   hardcode_automatic_FC=no
22152   hardcode_direct_FC=no
22153   hardcode_direct_absolute_FC=no
22154   hardcode_libdir_flag_spec_FC=
22155   hardcode_libdir_separator_FC=
22156   hardcode_minus_L_FC=no
22157   hardcode_shlibpath_var_FC=unsupported
22158   inherit_rpath_FC=no
22159   link_all_deplibs_FC=unknown
22160   module_cmds_FC=
22161   module_expsym_cmds_FC=
22162   old_archive_from_new_cmds_FC=
22163   old_archive_from_expsyms_cmds_FC=
22164   thread_safe_flag_spec_FC=
22165   whole_archive_flag_spec_FC=
22166   # include_expsyms should be a list of space-separated symbols to be *always*
22167   # included in the symbol list
22168   include_expsyms_FC=
22169   # exclude_expsyms can be an extended regexp of symbols to exclude
22170   # it will be wrapped by ' (' and ')$', so one must not match beginning or
22171   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
22172   # as well as any symbol that contains 'd'.
22173   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
22174   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
22175   # platforms (ab)use it in PIC code, but their linkers get confused if
22176   # the symbol is explicitly referenced.  Since portable code cannot
22177   # rely on this symbol name, it's probably fine to never include it in
22178   # preloaded symbol tables.
22179   # Exclude shared library initialization/finalization symbols.
22180   extract_expsyms_cmds=
22181
22182   case $host_os in
22183   cygwin* | mingw* | pw32* | cegcc*)
22184     # FIXME: the MSVC++ port hasn't been tested in a loooong time
22185     # When not using gcc, we currently assume that we are using
22186     # Microsoft Visual C++.
22187     if test yes != "$GCC"; then
22188       with_gnu_ld=no
22189     fi
22190     ;;
22191   interix*)
22192     # we just hope/assume this is gcc and not c89 (= MSVC++)
22193     with_gnu_ld=yes
22194     ;;
22195   openbsd* | bitrig*)
22196     with_gnu_ld=no
22197     ;;
22198   esac
22199
22200   ld_shlibs_FC=yes
22201
22202   # On some targets, GNU ld is compatible enough with the native linker
22203   # that we're better off using the native interface for both.
22204   lt_use_gnu_ld_interface=no
22205   if test yes = "$with_gnu_ld"; then
22206     case $host_os in
22207       aix*)
22208         # The AIX port of GNU ld has always aspired to compatibility
22209         # with the native linker.  However, as the warning in the GNU ld
22210         # block says, versions before 2.19.5* couldn't really create working
22211         # shared libraries, regardless of the interface used.
22212         case `$LD -v 2>&1` in
22213           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
22214           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
22215           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
22216           *)
22217             lt_use_gnu_ld_interface=yes
22218             ;;
22219         esac
22220         ;;
22221       *)
22222         lt_use_gnu_ld_interface=yes
22223         ;;
22224     esac
22225   fi
22226
22227   if test yes = "$lt_use_gnu_ld_interface"; then
22228     # If archive_cmds runs LD, not CC, wlarc should be empty
22229     wlarc='$wl'
22230
22231     # Set some defaults for GNU ld with shared library support. These
22232     # are reset later if shared libraries are not supported. Putting them
22233     # here allows them to be overridden if necessary.
22234     runpath_var=LD_RUN_PATH
22235     hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22236     export_dynamic_flag_spec_FC='$wl--export-dynamic'
22237     # ancient GNU ld didn't support --whole-archive et. al.
22238     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
22239       whole_archive_flag_spec_FC=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
22240     else
22241       whole_archive_flag_spec_FC=
22242     fi
22243     supports_anon_versioning=no
22244     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
22245       *GNU\ gold*) supports_anon_versioning=yes ;;
22246       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
22247       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
22248       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
22249       *\ 2.11.*) ;; # other 2.11 versions
22250       *) supports_anon_versioning=yes ;;
22251     esac
22252
22253     # See if GNU ld supports shared libraries.
22254     case $host_os in
22255     aix[3-9]*)
22256       # On AIX/PPC, the GNU linker is very broken
22257       if test ia64 != "$host_cpu"; then
22258         ld_shlibs_FC=no
22259         cat <<_LT_EOF 1>&2
22260
22261 *** Warning: the GNU linker, at least up to release 2.19, is reported
22262 *** to be unable to reliably create shared libraries on AIX.
22263 *** Therefore, libtool is disabling shared libraries support.  If you
22264 *** really care for shared libraries, you may want to install binutils
22265 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
22266 *** You will then need to restart the configuration process.
22267
22268 _LT_EOF
22269       fi
22270       ;;
22271
22272     amigaos*)
22273       case $host_cpu in
22274       powerpc)
22275             # see comment about AmigaOS4 .so support
22276             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22277             archive_expsym_cmds_FC=''
22278         ;;
22279       m68k)
22280             archive_cmds_FC='$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)'
22281             hardcode_libdir_flag_spec_FC='-L$libdir'
22282             hardcode_minus_L_FC=yes
22283         ;;
22284       esac
22285       ;;
22286
22287     beos*)
22288       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22289         allow_undefined_flag_FC=unsupported
22290         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
22291         # support --undefined.  This deserves some investigation.  FIXME
22292         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22293       else
22294         ld_shlibs_FC=no
22295       fi
22296       ;;
22297
22298     cygwin* | mingw* | pw32* | cegcc*)
22299       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
22300       # as there is no search path for DLLs.
22301       hardcode_libdir_flag_spec_FC='-L$libdir'
22302       export_dynamic_flag_spec_FC='$wl--export-all-symbols'
22303       allow_undefined_flag_FC=unsupported
22304       always_export_symbols_FC=no
22305       enable_shared_with_static_runtimes_FC=yes
22306       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
22307       exclude_expsyms_FC='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
22308
22309       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
22310         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22311         # If the export-symbols file already is a .def file, use it as
22312         # is; otherwise, prepend EXPORTS...
22313         archive_expsym_cmds_FC='if   test DEF = "`$SED -n     -e '\''s/^[        ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
22314           cp $export_symbols $output_objdir/$soname.def;
22315         else
22316           echo EXPORTS > $output_objdir/$soname.def;
22317           cat $export_symbols >> $output_objdir/$soname.def;
22318         fi~
22319         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
22320       else
22321         ld_shlibs_FC=no
22322       fi
22323       ;;
22324
22325     haiku*)
22326       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22327       link_all_deplibs_FC=yes
22328       ;;
22329
22330     os2*)
22331       hardcode_libdir_flag_spec_FC='-L$libdir'
22332       hardcode_minus_L_FC=yes
22333       allow_undefined_flag_FC=unsupported
22334       shrext_cmds=.dll
22335       archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22336         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22337         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22338         $ECHO EXPORTS >> $output_objdir/$libname.def~
22339         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
22340         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22341         emximp -o $lib $output_objdir/$libname.def'
22342       archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
22343         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
22344         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
22345         $ECHO EXPORTS >> $output_objdir/$libname.def~
22346         prefix_cmds="$SED"~
22347         if test EXPORTS = "`$SED 1q $export_symbols`"; then
22348           prefix_cmds="$prefix_cmds -e 1d";
22349         fi~
22350         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
22351         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
22352         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22353         emximp -o $lib $output_objdir/$libname.def'
22354       old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
22355       enable_shared_with_static_runtimes_FC=yes
22356       ;;
22357
22358     interix[3-9]*)
22359       hardcode_direct_FC=no
22360       hardcode_shlibpath_var_FC=no
22361       hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
22362       export_dynamic_flag_spec_FC='$wl-E'
22363       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
22364       # Instead, shared libraries are loaded at an image base (0x10000000 by
22365       # default) and relocated if they conflict, which is a slow very memory
22366       # consuming and fragmenting process.  To avoid this, we pick a random,
22367       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
22368       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
22369       archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
22370       archive_expsym_cmds_FC='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'
22371       ;;
22372
22373     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
22374       tmp_diet=no
22375       if test linux-dietlibc = "$host_os"; then
22376         case $cc_basename in
22377           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
22378         esac
22379       fi
22380       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
22381          && test no = "$tmp_diet"
22382       then
22383         tmp_addflag=' $pic_flag'
22384         tmp_sharedflag='-shared'
22385         case $cc_basename,$host_cpu in
22386         pgcc*)                          # Portland Group C compiler
22387           whole_archive_flag_spec_FC='$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'
22388           tmp_addflag=' $pic_flag'
22389           ;;
22390         pgf77* | pgf90* | pgf95* | pgfortran*)
22391                                         # Portland Group f77 and f90 compilers
22392           whole_archive_flag_spec_FC='$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'
22393           tmp_addflag=' $pic_flag -Mnomain' ;;
22394         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
22395           tmp_addflag=' -i_dynamic' ;;
22396         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
22397           tmp_addflag=' -i_dynamic -nofor_main' ;;
22398         ifc* | ifort*)                  # Intel Fortran compiler
22399           tmp_addflag=' -nofor_main' ;;
22400         lf95*)                          # Lahey Fortran 8.1
22401           whole_archive_flag_spec_FC=
22402           tmp_sharedflag='--shared' ;;
22403         nagfor*)                        # NAGFOR 5.3
22404           tmp_sharedflag='-Wl,-shared' ;;
22405         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
22406           tmp_sharedflag='-qmkshrobj'
22407           tmp_addflag= ;;
22408         nvcc*)  # Cuda Compiler Driver 2.2
22409           whole_archive_flag_spec_FC='$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'
22410           compiler_needs_object_FC=yes
22411           ;;
22412         esac
22413         case `$CC -V 2>&1 | sed 5q` in
22414         *Sun\ C*)                       # Sun C 5.9
22415           whole_archive_flag_spec_FC='$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'
22416           compiler_needs_object_FC=yes
22417           tmp_sharedflag='-G' ;;
22418         *Sun\ F*)                       # Sun Fortran 8.3
22419           tmp_sharedflag='-G' ;;
22420         esac
22421         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22422
22423         if test yes = "$supports_anon_versioning"; then
22424           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22425             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22426             echo "local: *; };" >> $output_objdir/$libname.ver~
22427             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
22428         fi
22429
22430         case $cc_basename in
22431         tcc*)
22432           export_dynamic_flag_spec_FC='-rdynamic'
22433           ;;
22434         xlf* | bgf* | bgxlf* | mpixlf*)
22435           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
22436           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
22437           hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22438           archive_cmds_FC='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
22439           if test yes = "$supports_anon_versioning"; then
22440             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
22441               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
22442               echo "local: *; };" >> $output_objdir/$libname.ver~
22443               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
22444           fi
22445           ;;
22446         esac
22447       else
22448         ld_shlibs_FC=no
22449       fi
22450       ;;
22451
22452     netbsd*)
22453       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22454         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
22455         wlarc=
22456       else
22457         archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22458         archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22459       fi
22460       ;;
22461
22462     solaris*)
22463       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
22464         ld_shlibs_FC=no
22465         cat <<_LT_EOF 1>&2
22466
22467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
22468 *** create shared libraries on Solaris systems.  Therefore, libtool
22469 *** is disabling shared libraries support.  We urge you to upgrade GNU
22470 *** binutils to release 2.9.1 or newer.  Another option is to modify
22471 *** your PATH or compiler configuration so that the native linker is
22472 *** used, and then restart.
22473
22474 _LT_EOF
22475       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22476         archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22477         archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22478       else
22479         ld_shlibs_FC=no
22480       fi
22481       ;;
22482
22483     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
22484       case `$LD -v 2>&1` in
22485         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22486         ld_shlibs_FC=no
22487         cat <<_LT_EOF 1>&2
22488
22489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
22490 *** reliably create shared libraries on SCO systems.  Therefore, libtool
22491 *** is disabling shared libraries support.  We urge you to upgrade GNU
22492 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
22493 *** your PATH or compiler configuration so that the native linker is
22494 *** used, and then restart.
22495
22496 _LT_EOF
22497         ;;
22498         *)
22499           # For security reasons, it is highly recommended that you always
22500           # use absolute paths for naming shared libraries, and exclude the
22501           # DT_RUNPATH tag from executables and libraries.  But doing so
22502           # requires that you compile everything twice, which is a pain.
22503           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22504             hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
22505             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22506             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22507           else
22508             ld_shlibs_FC=no
22509           fi
22510         ;;
22511       esac
22512       ;;
22513
22514     sunos4*)
22515       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22516       wlarc=
22517       hardcode_direct_FC=yes
22518       hardcode_shlibpath_var_FC=no
22519       ;;
22520
22521     *)
22522       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22523         archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22524         archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22525       else
22526         ld_shlibs_FC=no
22527       fi
22528       ;;
22529     esac
22530
22531     if test no = "$ld_shlibs_FC"; then
22532       runpath_var=
22533       hardcode_libdir_flag_spec_FC=
22534       export_dynamic_flag_spec_FC=
22535       whole_archive_flag_spec_FC=
22536     fi
22537   else
22538     # PORTME fill in a description of your system's linker (not GNU ld)
22539     case $host_os in
22540     aix3*)
22541       allow_undefined_flag_FC=unsupported
22542       always_export_symbols_FC=yes
22543       archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
22544       # Note: this linker hardcodes the directories in LIBPATH if there
22545       # are no directories specified by -L.
22546       hardcode_minus_L_FC=yes
22547       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
22548         # Neither direct hardcoding nor static linking is supported with a
22549         # broken collect2.
22550         hardcode_direct_FC=unsupported
22551       fi
22552       ;;
22553
22554     aix[4-9]*)
22555       if test ia64 = "$host_cpu"; then
22556         # On IA64, the linker does run time linking by default, so we don't
22557         # have to do anything special.
22558         aix_use_runtimelinking=no
22559         exp_sym_flag='-Bexport'
22560         no_entry_flag=
22561       else
22562         # If we're using GNU nm, then we don't want the "-C" option.
22563         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
22564         # Without the "-l" option, or with the "-B" option, AIX nm treats
22565         # weak defined symbols like other global defined symbols, whereas
22566         # GNU nm marks them as "W".
22567         # While the 'weak' keyword is ignored in the Export File, we need
22568         # it in the Import File for the 'aix-soname' feature, so we have
22569         # to replace the "-B" option with "-P" for AIX nm.
22570         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
22571           export_symbols_cmds_FC='$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'
22572         else
22573           export_symbols_cmds_FC='`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'
22574         fi
22575         aix_use_runtimelinking=no
22576
22577         # Test if we are trying to use run time linking or normal
22578         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22579         # have runtime linking enabled, and use it for executables.
22580         # For shared libraries, we enable/disable runtime linking
22581         # depending on the kind of the shared library created -
22582         # when "with_aix_soname,aix_use_runtimelinking" is:
22583         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
22584         # "aix,yes"  lib.so          shared, rtl:yes, for executables
22585         #            lib.a           static archive
22586         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
22587         #            lib.a(lib.so.V) shared, rtl:no,  for executables
22588         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
22589         #            lib.a(lib.so.V) shared, rtl:no
22590         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
22591         #            lib.a           static archive
22592         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22593           for ld_flag in $LDFLAGS; do
22594           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
22595             aix_use_runtimelinking=yes
22596             break
22597           fi
22598           done
22599           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
22600             # With aix-soname=svr4, we create the lib.so.V shared archives only,
22601             # so we don't have lib.a shared libs to link our executables.
22602             # We have to force runtime linking in this case.
22603             aix_use_runtimelinking=yes
22604             LDFLAGS="$LDFLAGS -Wl,-brtl"
22605           fi
22606           ;;
22607         esac
22608
22609         exp_sym_flag='-bexport'
22610         no_entry_flag='-bnoentry'
22611       fi
22612
22613       # When large executables or shared objects are built, AIX ld can
22614       # have problems creating the table of contents.  If linking a library
22615       # or program results in "error TOC overflow" add -mminimal-toc to
22616       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
22617       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22618
22619       archive_cmds_FC=''
22620       hardcode_direct_FC=yes
22621       hardcode_direct_absolute_FC=yes
22622       hardcode_libdir_separator_FC=':'
22623       link_all_deplibs_FC=yes
22624       file_list_spec_FC='$wl-f,'
22625       case $with_aix_soname,$aix_use_runtimelinking in
22626       aix,*) ;; # traditional, no import file
22627       svr4,* | *,yes) # use import file
22628         # The Import File defines what to hardcode.
22629         hardcode_direct_FC=no
22630         hardcode_direct_absolute_FC=no
22631         ;;
22632       esac
22633
22634       if test yes = "$GCC"; then
22635         case $host_os in aix4.[012]|aix4.[012].*)
22636         # We only want to do this on AIX 4.2 and lower, the check
22637         # below for broken collect2 doesn't work under 4.3+
22638           collect2name=`$CC -print-prog-name=collect2`
22639           if test -f "$collect2name" &&
22640            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
22641           then
22642           # We have reworked collect2
22643           :
22644           else
22645           # We have old collect2
22646           hardcode_direct_FC=unsupported
22647           # It fails to find uninstalled libraries when the uninstalled
22648           # path is not listed in the libpath.  Setting hardcode_minus_L
22649           # to unsupported forces relinking
22650           hardcode_minus_L_FC=yes
22651           hardcode_libdir_flag_spec_FC='-L$libdir'
22652           hardcode_libdir_separator_FC=
22653           fi
22654           ;;
22655         esac
22656         shared_flag='-shared'
22657         if test yes = "$aix_use_runtimelinking"; then
22658           shared_flag="$shared_flag "'$wl-G'
22659         fi
22660         # Need to ensure runtime linking is disabled for the traditional
22661         # shared library, or the linker may eventually find shared libraries
22662         # /with/ Import File - we do not want to mix them.
22663         shared_flag_aix='-shared'
22664         shared_flag_svr4='-shared $wl-G'
22665       else
22666         # not using gcc
22667         if test ia64 = "$host_cpu"; then
22668         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22669         # chokes on -Wl,-G. The following line is correct:
22670           shared_flag='-G'
22671         else
22672           if test yes = "$aix_use_runtimelinking"; then
22673             shared_flag='$wl-G'
22674           else
22675             shared_flag='$wl-bM:SRE'
22676           fi
22677           shared_flag_aix='$wl-bM:SRE'
22678           shared_flag_svr4='$wl-G'
22679         fi
22680       fi
22681
22682       export_dynamic_flag_spec_FC='$wl-bexpall'
22683       # It seems that -bexpall does not export symbols beginning with
22684       # underscore (_), so it is better to generate a list of symbols to export.
22685       always_export_symbols_FC=yes
22686       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
22687         # Warning - without using the other runtime loading flags (-brtl),
22688         # -berok will link without error, but may produce a broken library.
22689         allow_undefined_flag_FC='-berok'
22690         # Determine the default libpath from the value encoded in an
22691         # empty executable.
22692         if test set = "${lt_cv_aix_libpath+set}"; then
22693   aix_libpath=$lt_cv_aix_libpath
22694 else
22695   if ${lt_cv_aix_libpath__FC+:} false; then :
22696   $as_echo_n "(cached) " >&6
22697 else
22698   cat > conftest.$ac_ext <<_ACEOF
22699       program main
22700
22701       end
22702 _ACEOF
22703 if ac_fn_fc_try_link "$LINENO"; then :
22704
22705   lt_aix_libpath_sed='
22706       /Import File Strings/,/^$/ {
22707           /^0/ {
22708               s/^0  *\([^ ]*\) *$/\1/
22709               p
22710           }
22711       }'
22712   lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22713   # Check for a 64-bit object if we didn't find anything.
22714   if test -z "$lt_cv_aix_libpath__FC"; then
22715     lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22716   fi
22717 fi
22718 rm -f core conftest.err conftest.$ac_objext \
22719     conftest$ac_exeext conftest.$ac_ext
22720   if test -z "$lt_cv_aix_libpath__FC"; then
22721     lt_cv_aix_libpath__FC=/usr/lib:/lib
22722   fi
22723
22724 fi
22725
22726   aix_libpath=$lt_cv_aix_libpath__FC
22727 fi
22728
22729         hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
22730         archive_expsym_cmds_FC='$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
22731       else
22732         if test ia64 = "$host_cpu"; then
22733           hardcode_libdir_flag_spec_FC='$wl-R $libdir:/usr/lib:/lib'
22734           allow_undefined_flag_FC="-z nodefs"
22735           archive_expsym_cmds_FC="\$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"
22736         else
22737          # Determine the default libpath from the value encoded in an
22738          # empty executable.
22739          if test set = "${lt_cv_aix_libpath+set}"; then
22740   aix_libpath=$lt_cv_aix_libpath
22741 else
22742   if ${lt_cv_aix_libpath__FC+:} false; then :
22743   $as_echo_n "(cached) " >&6
22744 else
22745   cat > conftest.$ac_ext <<_ACEOF
22746       program main
22747
22748       end
22749 _ACEOF
22750 if ac_fn_fc_try_link "$LINENO"; then :
22751
22752   lt_aix_libpath_sed='
22753       /Import File Strings/,/^$/ {
22754           /^0/ {
22755               s/^0  *\([^ ]*\) *$/\1/
22756               p
22757           }
22758       }'
22759   lt_cv_aix_libpath__FC=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22760   # Check for a 64-bit object if we didn't find anything.
22761   if test -z "$lt_cv_aix_libpath__FC"; then
22762     lt_cv_aix_libpath__FC=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22763   fi
22764 fi
22765 rm -f core conftest.err conftest.$ac_objext \
22766     conftest$ac_exeext conftest.$ac_ext
22767   if test -z "$lt_cv_aix_libpath__FC"; then
22768     lt_cv_aix_libpath__FC=/usr/lib:/lib
22769   fi
22770
22771 fi
22772
22773   aix_libpath=$lt_cv_aix_libpath__FC
22774 fi
22775
22776          hardcode_libdir_flag_spec_FC='$wl-blibpath:$libdir:'"$aix_libpath"
22777           # Warning - without using the other run time loading flags,
22778           # -berok will link without error, but may produce a broken library.
22779           no_undefined_flag_FC=' $wl-bernotok'
22780           allow_undefined_flag_FC=' $wl-berok'
22781           if test yes = "$with_gnu_ld"; then
22782             # We only use this code for GNU lds that support --whole-archive.
22783             whole_archive_flag_spec_FC='$wl--whole-archive$convenience $wl--no-whole-archive'
22784           else
22785             # Exported symbols can be pulled into shared objects from archives
22786             whole_archive_flag_spec_FC='$convenience'
22787           fi
22788           archive_cmds_need_lc_FC=yes
22789           archive_expsym_cmds_FC='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
22790           # -brtl affects multiple linker settings, -berok does not and is overridden later
22791           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
22792           if test svr4 != "$with_aix_soname"; then
22793             # This is similar to how AIX traditionally builds its shared libraries.
22794             archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$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'
22795           fi
22796           if test aix != "$with_aix_soname"; then
22797             archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$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'
22798           else
22799             # used by -dlpreopen to get the symbols
22800             archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
22801           fi
22802           archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$RM -r $output_objdir/$realname.d'
22803         fi
22804       fi
22805       ;;
22806
22807     amigaos*)
22808       case $host_cpu in
22809       powerpc)
22810             # see comment about AmigaOS4 .so support
22811             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22812             archive_expsym_cmds_FC=''
22813         ;;
22814       m68k)
22815             archive_cmds_FC='$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)'
22816             hardcode_libdir_flag_spec_FC='-L$libdir'
22817             hardcode_minus_L_FC=yes
22818         ;;
22819       esac
22820       ;;
22821
22822     bsdi[45]*)
22823       export_dynamic_flag_spec_FC=-rdynamic
22824       ;;
22825
22826     cygwin* | mingw* | pw32* | cegcc*)
22827       # When not using gcc, we currently assume that we are using
22828       # Microsoft Visual C++.
22829       # hardcode_libdir_flag_spec is actually meaningless, as there is
22830       # no search path for DLLs.
22831       case $cc_basename in
22832       cl*)
22833         # Native MSVC
22834         hardcode_libdir_flag_spec_FC=' '
22835         allow_undefined_flag_FC=unsupported
22836         always_export_symbols_FC=yes
22837         file_list_spec_FC='@'
22838         # Tell ltmain to make .lib files, not .a files.
22839         libext=lib
22840         # Tell ltmain to make .dll files, not .so files.
22841         shrext_cmds=.dll
22842         # FIXME: Setting linknames here is a bad hack.
22843         archive_cmds_FC='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
22844         archive_expsym_cmds_FC='if   test DEF = "`$SED -n     -e '\''s/^[        ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
22845             cp "$export_symbols" "$output_objdir/$soname.def";
22846             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
22847           else
22848             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
22849           fi~
22850           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
22851           linknames='
22852         # The linker will not automatically build a static lib if we build a DLL.
22853         # _LT_TAGVAR(old_archive_from_new_cmds, FC)='true'
22854         enable_shared_with_static_runtimes_FC=yes
22855         exclude_expsyms_FC='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
22856         export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22857         # Don't use ranlib
22858         old_postinstall_cmds_FC='chmod 644 $oldlib'
22859         postlink_cmds_FC='lt_outputfile="@OUTPUT@"~
22860           lt_tool_outputfile="@TOOL_OUTPUT@"~
22861           case $lt_outputfile in
22862             *.exe|*.EXE) ;;
22863             *)
22864               lt_outputfile=$lt_outputfile.exe
22865               lt_tool_outputfile=$lt_tool_outputfile.exe
22866               ;;
22867           esac~
22868           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
22869             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
22870             $RM "$lt_outputfile.manifest";
22871           fi'
22872         ;;
22873       *)
22874         # Assume MSVC wrapper
22875         hardcode_libdir_flag_spec_FC=' '
22876         allow_undefined_flag_FC=unsupported
22877         # Tell ltmain to make .lib files, not .a files.
22878         libext=lib
22879         # Tell ltmain to make .dll files, not .so files.
22880         shrext_cmds=.dll
22881         # FIXME: Setting linknames here is a bad hack.
22882         archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
22883         # The linker will automatically build a .lib file if we build a DLL.
22884         old_archive_from_new_cmds_FC='true'
22885         # FIXME: Should let the user specify the lib program.
22886         old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
22887         enable_shared_with_static_runtimes_FC=yes
22888         ;;
22889       esac
22890       ;;
22891
22892     darwin* | rhapsody*)
22893
22894
22895   archive_cmds_need_lc_FC=no
22896   hardcode_direct_FC=no
22897   hardcode_automatic_FC=yes
22898   hardcode_shlibpath_var_FC=unsupported
22899   if test yes = "$lt_cv_ld_force_load"; then
22900     whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
22901     compiler_needs_object_FC=yes
22902   else
22903     whole_archive_flag_spec_FC=''
22904   fi
22905   link_all_deplibs_FC=yes
22906   allow_undefined_flag_FC=$_lt_dar_allow_undefined
22907   case $cc_basename in
22908      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
22909      *) _lt_dar_can_shared=$GCC ;;
22910   esac
22911   if test yes = "$_lt_dar_can_shared"; then
22912     output_verbose_link_cmd=func_echo_all
22913     archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
22914     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
22915     archive_expsym_cmds_FC="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"
22916     module_expsym_cmds_FC="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"
22917
22918   else
22919   ld_shlibs_FC=no
22920   fi
22921
22922       ;;
22923
22924     dgux*)
22925       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22926       hardcode_libdir_flag_spec_FC='-L$libdir'
22927       hardcode_shlibpath_var_FC=no
22928       ;;
22929
22930     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
22931     # support.  Future versions do this automatically, but an explicit c++rt0.o
22932     # does not break anything, and helps significantly (at the cost of a little
22933     # extra space).
22934     freebsd2.2*)
22935       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22936       hardcode_libdir_flag_spec_FC='-R$libdir'
22937       hardcode_direct_FC=yes
22938       hardcode_shlibpath_var_FC=no
22939       ;;
22940
22941     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
22942     freebsd2.*)
22943       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22944       hardcode_direct_FC=yes
22945       hardcode_minus_L_FC=yes
22946       hardcode_shlibpath_var_FC=no
22947       ;;
22948
22949     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22950     freebsd* | dragonfly*)
22951       archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22952       hardcode_libdir_flag_spec_FC='-R$libdir'
22953       hardcode_direct_FC=yes
22954       hardcode_shlibpath_var_FC=no
22955       ;;
22956
22957     hpux9*)
22958       if test yes = "$GCC"; then
22959         archive_cmds_FC='$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'
22960       else
22961         archive_cmds_FC='$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'
22962       fi
22963       hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
22964       hardcode_libdir_separator_FC=:
22965       hardcode_direct_FC=yes
22966
22967       # hardcode_minus_L: Not really in the search PATH,
22968       # but as the default location of the library.
22969       hardcode_minus_L_FC=yes
22970       export_dynamic_flag_spec_FC='$wl-E'
22971       ;;
22972
22973     hpux10*)
22974       if test yes,no = "$GCC,$with_gnu_ld"; then
22975         archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22976       else
22977         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22978       fi
22979       if test no = "$with_gnu_ld"; then
22980         hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
22981         hardcode_libdir_separator_FC=:
22982         hardcode_direct_FC=yes
22983         hardcode_direct_absolute_FC=yes
22984         export_dynamic_flag_spec_FC='$wl-E'
22985         # hardcode_minus_L: Not really in the search PATH,
22986         # but as the default location of the library.
22987         hardcode_minus_L_FC=yes
22988       fi
22989       ;;
22990
22991     hpux11*)
22992       if test yes,no = "$GCC,$with_gnu_ld"; then
22993         case $host_cpu in
22994         hppa*64*)
22995           archive_cmds_FC='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
22996           ;;
22997         ia64*)
22998           archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22999           ;;
23000         *)
23001           archive_cmds_FC='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23002           ;;
23003         esac
23004       else
23005         case $host_cpu in
23006         hppa*64*)
23007           archive_cmds_FC='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23008           ;;
23009         ia64*)
23010           archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
23011           ;;
23012         *)
23013         archive_cmds_FC='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
23014           ;;
23015         esac
23016       fi
23017       if test no = "$with_gnu_ld"; then
23018         hardcode_libdir_flag_spec_FC='$wl+b $wl$libdir'
23019         hardcode_libdir_separator_FC=:
23020
23021         case $host_cpu in
23022         hppa*64*|ia64*)
23023           hardcode_direct_FC=no
23024           hardcode_shlibpath_var_FC=no
23025           ;;
23026         *)
23027           hardcode_direct_FC=yes
23028           hardcode_direct_absolute_FC=yes
23029           export_dynamic_flag_spec_FC='$wl-E'
23030
23031           # hardcode_minus_L: Not really in the search PATH,
23032           # but as the default location of the library.
23033           hardcode_minus_L_FC=yes
23034           ;;
23035         esac
23036       fi
23037       ;;
23038
23039     irix5* | irix6* | nonstopux*)
23040       if test yes = "$GCC"; then
23041         archive_cmds_FC='$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'
23042         # Try to use the -exported_symbol ld option, if it does not
23043         # work, assume that -exports_file does not work either and
23044         # implicitly export all symbols.
23045         # This should be the same for all languages, so no per-tag cache variable.
23046         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
23047 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
23048 if ${lt_cv_irix_exported_symbol+:} false; then :
23049   $as_echo_n "(cached) " >&6
23050 else
23051   save_LDFLAGS=$LDFLAGS
23052            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
23053            cat > conftest.$ac_ext <<_ACEOF
23054
23055       subroutine foo
23056       end
23057 _ACEOF
23058 if ac_fn_fc_try_link "$LINENO"; then :
23059   lt_cv_irix_exported_symbol=yes
23060 else
23061   lt_cv_irix_exported_symbol=no
23062 fi
23063 rm -f core conftest.err conftest.$ac_objext \
23064     conftest$ac_exeext conftest.$ac_ext
23065            LDFLAGS=$save_LDFLAGS
23066 fi
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
23068 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
23069         if test yes = "$lt_cv_irix_exported_symbol"; then
23070           archive_expsym_cmds_FC='$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'
23071         fi
23072       else
23073         archive_cmds_FC='$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'
23074         archive_expsym_cmds_FC='$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'
23075       fi
23076       archive_cmds_need_lc_FC='no'
23077       hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23078       hardcode_libdir_separator_FC=:
23079       inherit_rpath_FC=yes
23080       link_all_deplibs_FC=yes
23081       ;;
23082
23083     linux*)
23084       case $cc_basename in
23085       tcc*)
23086         # Fabrice Bellard et al's Tiny C Compiler
23087         ld_shlibs_FC=yes
23088         archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23089         ;;
23090       esac
23091       ;;
23092
23093     netbsd*)
23094       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23095         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
23096       else
23097         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
23098       fi
23099       hardcode_libdir_flag_spec_FC='-R$libdir'
23100       hardcode_direct_FC=yes
23101       hardcode_shlibpath_var_FC=no
23102       ;;
23103
23104     newsos6)
23105       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23106       hardcode_direct_FC=yes
23107       hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23108       hardcode_libdir_separator_FC=:
23109       hardcode_shlibpath_var_FC=no
23110       ;;
23111
23112     *nto* | *qnx*)
23113       ;;
23114
23115     openbsd* | bitrig*)
23116       if test -f /usr/libexec/ld.so; then
23117         hardcode_direct_FC=yes
23118         hardcode_shlibpath_var_FC=no
23119         hardcode_direct_absolute_FC=yes
23120         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
23121           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23122           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
23123           hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23124           export_dynamic_flag_spec_FC='$wl-E'
23125         else
23126           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
23127           hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
23128         fi
23129       else
23130         ld_shlibs_FC=no
23131       fi
23132       ;;
23133
23134     os2*)
23135       hardcode_libdir_flag_spec_FC='-L$libdir'
23136       hardcode_minus_L_FC=yes
23137       allow_undefined_flag_FC=unsupported
23138       shrext_cmds=.dll
23139       archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23140         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23141         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23142         $ECHO EXPORTS >> $output_objdir/$libname.def~
23143         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
23144         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23145         emximp -o $lib $output_objdir/$libname.def'
23146       archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
23147         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
23148         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
23149         $ECHO EXPORTS >> $output_objdir/$libname.def~
23150         prefix_cmds="$SED"~
23151         if test EXPORTS = "`$SED 1q $export_symbols`"; then
23152           prefix_cmds="$prefix_cmds -e 1d";
23153         fi~
23154         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
23155         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
23156         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
23157         emximp -o $lib $output_objdir/$libname.def'
23158       old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
23159       enable_shared_with_static_runtimes_FC=yes
23160       ;;
23161
23162     osf3*)
23163       if test yes = "$GCC"; then
23164         allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23165         archive_cmds_FC='$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'
23166       else
23167         allow_undefined_flag_FC=' -expect_unresolved \*'
23168         archive_cmds_FC='$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'
23169       fi
23170       archive_cmds_need_lc_FC='no'
23171       hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23172       hardcode_libdir_separator_FC=:
23173       ;;
23174
23175     osf4* | osf5*)      # as osf3* with the addition of -msym flag
23176       if test yes = "$GCC"; then
23177         allow_undefined_flag_FC=' $wl-expect_unresolved $wl\*'
23178         archive_cmds_FC='$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'
23179         hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
23180       else
23181         allow_undefined_flag_FC=' -expect_unresolved \*'
23182         archive_cmds_FC='$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'
23183         archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
23184           $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'
23185
23186         # Both c and cxx compiler support -rpath directly
23187         hardcode_libdir_flag_spec_FC='-rpath $libdir'
23188       fi
23189       archive_cmds_need_lc_FC='no'
23190       hardcode_libdir_separator_FC=:
23191       ;;
23192
23193     solaris*)
23194       no_undefined_flag_FC=' -z defs'
23195       if test yes = "$GCC"; then
23196         wlarc='$wl'
23197         archive_cmds_FC='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
23198         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23199           $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'
23200       else
23201         case `$CC -V 2>&1` in
23202         *"Compilers 5.0"*)
23203           wlarc=''
23204           archive_cmds_FC='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
23205           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23206             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
23207           ;;
23208         *)
23209           wlarc='$wl'
23210           archive_cmds_FC='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
23211           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
23212             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
23213           ;;
23214         esac
23215       fi
23216       hardcode_libdir_flag_spec_FC='-R$libdir'
23217       hardcode_shlibpath_var_FC=no
23218       case $host_os in
23219       solaris2.[0-5] | solaris2.[0-5].*) ;;
23220       *)
23221         # The compiler driver will combine and reorder linker options,
23222         # but understands '-z linker_flag'.  GCC discards it without '$wl',
23223         # but is careful enough not to reorder.
23224         # Supported since Solaris 2.6 (maybe 2.5.1?)
23225         if test yes = "$GCC"; then
23226           whole_archive_flag_spec_FC='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
23227         else
23228           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
23229         fi
23230         ;;
23231       esac
23232       link_all_deplibs_FC=yes
23233       ;;
23234
23235     sunos4*)
23236       if test sequent = "$host_vendor"; then
23237         # Use $CC to link under sequent, because it throws in some extra .o
23238         # files that make .init and .fini sections work.
23239         archive_cmds_FC='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
23240       else
23241         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
23242       fi
23243       hardcode_libdir_flag_spec_FC='-L$libdir'
23244       hardcode_direct_FC=yes
23245       hardcode_minus_L_FC=yes
23246       hardcode_shlibpath_var_FC=no
23247       ;;
23248
23249     sysv4)
23250       case $host_vendor in
23251         sni)
23252           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23253           hardcode_direct_FC=yes # is this really true???
23254         ;;
23255         siemens)
23256           ## LD is ld it makes a PLAMLIB
23257           ## CC just makes a GrossModule.
23258           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
23259           reload_cmds_FC='$CC -r -o $output$reload_objs'
23260           hardcode_direct_FC=no
23261         ;;
23262         motorola)
23263           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23264           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
23265         ;;
23266       esac
23267       runpath_var='LD_RUN_PATH'
23268       hardcode_shlibpath_var_FC=no
23269       ;;
23270
23271     sysv4.3*)
23272       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23273       hardcode_shlibpath_var_FC=no
23274       export_dynamic_flag_spec_FC='-Bexport'
23275       ;;
23276
23277     sysv4*MP*)
23278       if test -d /usr/nec; then
23279         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23280         hardcode_shlibpath_var_FC=no
23281         runpath_var=LD_RUN_PATH
23282         hardcode_runpath_var=yes
23283         ld_shlibs_FC=yes
23284       fi
23285       ;;
23286
23287     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
23288       no_undefined_flag_FC='$wl-z,text'
23289       archive_cmds_need_lc_FC=no
23290       hardcode_shlibpath_var_FC=no
23291       runpath_var='LD_RUN_PATH'
23292
23293       if test yes = "$GCC"; then
23294         archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23295         archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23296       else
23297         archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23298         archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23299       fi
23300       ;;
23301
23302     sysv5* | sco3.2v5* | sco5v6*)
23303       # Note: We CANNOT use -z defs as we might desire, because we do not
23304       # link with -lc, and that would cause any symbols used from libc to
23305       # always be unresolved, which means just about no library would
23306       # ever link correctly.  If we're not using GNU ld we use -z text
23307       # though, which does catch some bad symbols but isn't as heavy-handed
23308       # as -z defs.
23309       no_undefined_flag_FC='$wl-z,text'
23310       allow_undefined_flag_FC='$wl-z,nodefs'
23311       archive_cmds_need_lc_FC=no
23312       hardcode_shlibpath_var_FC=no
23313       hardcode_libdir_flag_spec_FC='$wl-R,$libdir'
23314       hardcode_libdir_separator_FC=':'
23315       link_all_deplibs_FC=yes
23316       export_dynamic_flag_spec_FC='$wl-Bexport'
23317       runpath_var='LD_RUN_PATH'
23318
23319       if test yes = "$GCC"; then
23320         archive_cmds_FC='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23321         archive_expsym_cmds_FC='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23322       else
23323         archive_cmds_FC='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23324         archive_expsym_cmds_FC='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
23325       fi
23326       ;;
23327
23328     uts4*)
23329       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
23330       hardcode_libdir_flag_spec_FC='-L$libdir'
23331       hardcode_shlibpath_var_FC=no
23332       ;;
23333
23334     *)
23335       ld_shlibs_FC=no
23336       ;;
23337     esac
23338
23339     if test sni = "$host_vendor"; then
23340       case $host in
23341       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
23342         export_dynamic_flag_spec_FC='$wl-Blargedynsym'
23343         ;;
23344       esac
23345     fi
23346   fi
23347
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
23349 $as_echo "$ld_shlibs_FC" >&6; }
23350 test no = "$ld_shlibs_FC" && can_build_shared=no
23351
23352 with_gnu_ld_FC=$with_gnu_ld
23353
23354
23355
23356
23357
23358
23359 #
23360 # Do we need to explicitly link libc?
23361 #
23362 case "x$archive_cmds_need_lc_FC" in
23363 x|xyes)
23364   # Assume -lc should be added
23365   archive_cmds_need_lc_FC=yes
23366
23367   if test yes,yes = "$GCC,$enable_shared"; then
23368     case $archive_cmds_FC in
23369     *'~'*)
23370       # FIXME: we may have to deal with multi-command sequences.
23371       ;;
23372     '$CC '*)
23373       # Test whether the compiler implicitly links with -lc since on some
23374       # systems, -lgcc has to come before -lc. If gcc already passes -lc
23375       # to ld, don't add -lc before -lgcc.
23376       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
23377 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
23378 if ${lt_cv_archive_cmds_need_lc_FC+:} false; then :
23379   $as_echo_n "(cached) " >&6
23380 else
23381   $RM conftest*
23382         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
23383
23384         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
23385   (eval $ac_compile) 2>&5
23386   ac_status=$?
23387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23388   test $ac_status = 0; } 2>conftest.err; then
23389           soname=conftest
23390           lib=conftest
23391           libobjs=conftest.$ac_objext
23392           deplibs=
23393           wl=$lt_prog_compiler_wl_FC
23394           pic_flag=$lt_prog_compiler_pic_FC
23395           compiler_flags=-v
23396           linker_flags=-v
23397           verstring=
23398           output_objdir=.
23399           libname=conftest
23400           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
23401           allow_undefined_flag_FC=
23402           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
23403   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
23404   ac_status=$?
23405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23406   test $ac_status = 0; }
23407           then
23408             lt_cv_archive_cmds_need_lc_FC=no
23409           else
23410             lt_cv_archive_cmds_need_lc_FC=yes
23411           fi
23412           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
23413         else
23414           cat conftest.err 1>&5
23415         fi
23416         $RM conftest*
23417
23418 fi
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
23420 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
23421       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
23422       ;;
23423     esac
23424   fi
23425   ;;
23426 esac
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
23490 $as_echo_n "checking dynamic linker characteristics... " >&6; }
23491
23492 library_names_spec=
23493 libname_spec='lib$name'
23494 soname_spec=
23495 shrext_cmds=.so
23496 postinstall_cmds=
23497 postuninstall_cmds=
23498 finish_cmds=
23499 finish_eval=
23500 shlibpath_var=
23501 shlibpath_overrides_runpath=unknown
23502 version_type=none
23503 dynamic_linker="$host_os ld.so"
23504 sys_lib_dlsearch_path_spec="/lib /usr/lib"
23505 need_lib_prefix=unknown
23506 hardcode_into_libs=no
23507
23508 # when you set need_version to no, make sure it does not cause -set_version
23509 # flags to be left without arguments
23510 need_version=unknown
23511
23512
23513
23514 case $host_os in
23515 aix3*)
23516   version_type=linux # correct to gnu/linux during the next big refactor
23517   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
23518   shlibpath_var=LIBPATH
23519
23520   # AIX 3 has no versioning support, so we append a major version to the name.
23521   soname_spec='$libname$release$shared_ext$major'
23522   ;;
23523
23524 aix[4-9]*)
23525   version_type=linux # correct to gnu/linux during the next big refactor
23526   need_lib_prefix=no
23527   need_version=no
23528   hardcode_into_libs=yes
23529   if test ia64 = "$host_cpu"; then
23530     # AIX 5 supports IA64
23531     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
23532     shlibpath_var=LD_LIBRARY_PATH
23533   else
23534     # With GCC up to 2.95.x, collect2 would create an import file
23535     # for dependence libraries.  The import file would start with
23536     # the line '#! .'.  This would cause the generated library to
23537     # depend on '.', always an invalid library.  This was fixed in
23538     # development snapshots of GCC prior to 3.0.
23539     case $host_os in
23540       aix4 | aix4.[01] | aix4.[01].*)
23541       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
23542            echo ' yes '
23543            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
23544         :
23545       else
23546         can_build_shared=no
23547       fi
23548       ;;
23549     esac
23550     # Using Import Files as archive members, it is possible to support
23551     # filename-based versioning of shared library archives on AIX. While
23552     # this would work for both with and without runtime linking, it will
23553     # prevent static linking of such archives. So we do filename-based
23554     # shared library versioning with .so extension only, which is used
23555     # when both runtime linking and shared linking is enabled.
23556     # Unfortunately, runtime linking may impact performance, so we do
23557     # not want this to be the default eventually. Also, we use the
23558     # versioned .so libs for executables only if there is the -brtl
23559     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
23560     # To allow for filename-based versioning support, we need to create
23561     # libNAME.so.V as an archive file, containing:
23562     # *) an Import File, referring to the versioned filename of the
23563     #    archive as well as the shared archive member, telling the
23564     #    bitwidth (32 or 64) of that shared object, and providing the
23565     #    list of exported symbols of that shared object, eventually
23566     #    decorated with the 'weak' keyword
23567     # *) the shared object with the F_LOADONLY flag set, to really avoid
23568     #    it being seen by the linker.
23569     # At run time we better use the real file rather than another symlink,
23570     # but for link time we create the symlink libNAME.so -> libNAME.so.V
23571
23572     case $with_aix_soname,$aix_use_runtimelinking in
23573     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
23574     # soname into executable. Probably we can add versioning support to
23575     # collect2, so additional links can be useful in future.
23576     aix,yes) # traditional libtool
23577       dynamic_linker='AIX unversionable lib.so'
23578       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
23579       # instead of lib<name>.a to let people know that these are not
23580       # typical AIX shared libraries.
23581       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23582       ;;
23583     aix,no) # traditional AIX only
23584       dynamic_linker='AIX lib.a(lib.so.V)'
23585       # We preserve .a as extension for shared libraries through AIX4.2
23586       # and later when we are not doing run time linking.
23587       library_names_spec='$libname$release.a $libname.a'
23588       soname_spec='$libname$release$shared_ext$major'
23589       ;;
23590     svr4,*) # full svr4 only
23591       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
23592       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23593       # We do not specify a path in Import Files, so LIBPATH fires.
23594       shlibpath_overrides_runpath=yes
23595       ;;
23596     *,yes) # both, prefer svr4
23597       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
23598       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
23599       # unpreferred sharedlib libNAME.a needs extra handling
23600       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"'
23601       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"'
23602       # We do not specify a path in Import Files, so LIBPATH fires.
23603       shlibpath_overrides_runpath=yes
23604       ;;
23605     *,no) # both, prefer aix
23606       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
23607       library_names_spec='$libname$release.a $libname.a'
23608       soname_spec='$libname$release$shared_ext$major'
23609       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
23610       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)'
23611       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"'
23612       ;;
23613     esac
23614     shlibpath_var=LIBPATH
23615   fi
23616   ;;
23617
23618 amigaos*)
23619   case $host_cpu in
23620   powerpc)
23621     # Since July 2007 AmigaOS4 officially supports .so libraries.
23622     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
23623     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23624     ;;
23625   m68k)
23626     library_names_spec='$libname.ixlibrary $libname.a'
23627     # Create ${libname}_ixlibrary.a entries in /sys/libs.
23628     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'
23629     ;;
23630   esac
23631   ;;
23632
23633 beos*)
23634   library_names_spec='$libname$shared_ext'
23635   dynamic_linker="$host_os ld.so"
23636   shlibpath_var=LIBRARY_PATH
23637   ;;
23638
23639 bsdi[45]*)
23640   version_type=linux # correct to gnu/linux during the next big refactor
23641   need_version=no
23642   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23643   soname_spec='$libname$release$shared_ext$major'
23644   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
23645   shlibpath_var=LD_LIBRARY_PATH
23646   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
23647   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
23648   # the default ld.so.conf also contains /usr/contrib/lib and
23649   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
23650   # libtool to hard-code these into programs
23651   ;;
23652
23653 cygwin* | mingw* | pw32* | cegcc*)
23654   version_type=windows
23655   shrext_cmds=.dll
23656   need_version=no
23657   need_lib_prefix=no
23658
23659   case $GCC,$cc_basename in
23660   yes,*)
23661     # gcc
23662     library_names_spec='$libname.dll.a'
23663     # DLL is installed to $(libdir)/../bin by postinstall_cmds
23664     postinstall_cmds='base_file=`basename \$file`~
23665       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23666       dldir=$destdir/`dirname \$dlpath`~
23667       test -d \$dldir || mkdir -p \$dldir~
23668       $install_prog $dir/$dlname \$dldir/$dlname~
23669       chmod a+x \$dldir/$dlname~
23670       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23671         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
23672       fi'
23673     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23674       dlpath=$dir/\$dldll~
23675        $RM \$dlpath'
23676     shlibpath_overrides_runpath=yes
23677
23678     case $host_os in
23679     cygwin*)
23680       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
23681       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23682
23683       ;;
23684     mingw* | cegcc*)
23685       # MinGW DLLs use traditional 'lib' prefix
23686       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23687       ;;
23688     pw32*)
23689       # pw32 DLLs use 'pw' prefix rather than 'lib'
23690       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23691       ;;
23692     esac
23693     dynamic_linker='Win32 ld.exe'
23694     ;;
23695
23696   *,cl*)
23697     # Native MSVC
23698     libname_spec='$name'
23699     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23700     library_names_spec='$libname.dll.lib'
23701
23702     case $build_os in
23703     mingw*)
23704       sys_lib_search_path_spec=
23705       lt_save_ifs=$IFS
23706       IFS=';'
23707       for lt_path in $LIB
23708       do
23709         IFS=$lt_save_ifs
23710         # Let DOS variable expansion print the short 8.3 style file name.
23711         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
23712         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
23713       done
23714       IFS=$lt_save_ifs
23715       # Convert to MSYS style.
23716       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
23717       ;;
23718     cygwin*)
23719       # Convert to unix form, then to dos form, then back to unix form
23720       # but this time dos style (no spaces!) so that the unix form looks
23721       # like /cygdrive/c/PROGRA~1:/cygdr...
23722       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
23723       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
23724       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23725       ;;
23726     *)
23727       sys_lib_search_path_spec=$LIB
23728       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
23729         # It is most probably a Windows format PATH.
23730         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23731       else
23732         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23733       fi
23734       # FIXME: find the short name or the path components, as spaces are
23735       # common. (e.g. "Program Files" -> "PROGRA~1")
23736       ;;
23737     esac
23738
23739     # DLL is installed to $(libdir)/../bin by postinstall_cmds
23740     postinstall_cmds='base_file=`basename \$file`~
23741       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23742       dldir=$destdir/`dirname \$dlpath`~
23743       test -d \$dldir || mkdir -p \$dldir~
23744       $install_prog $dir/$dlname \$dldir/$dlname'
23745     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23746       dlpath=$dir/\$dldll~
23747        $RM \$dlpath'
23748     shlibpath_overrides_runpath=yes
23749     dynamic_linker='Win32 link.exe'
23750     ;;
23751
23752   *)
23753     # Assume MSVC wrapper
23754     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
23755     dynamic_linker='Win32 ld.exe'
23756     ;;
23757   esac
23758   # FIXME: first we should search . and the directory the executable is in
23759   shlibpath_var=PATH
23760   ;;
23761
23762 darwin* | rhapsody*)
23763   dynamic_linker="$host_os dyld"
23764   version_type=darwin
23765   need_lib_prefix=no
23766   need_version=no
23767   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
23768   soname_spec='$libname$release$major$shared_ext'
23769   shlibpath_overrides_runpath=yes
23770   shlibpath_var=DYLD_LIBRARY_PATH
23771   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
23772
23773   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
23774   ;;
23775
23776 dgux*)
23777   version_type=linux # correct to gnu/linux during the next big refactor
23778   need_lib_prefix=no
23779   need_version=no
23780   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23781   soname_spec='$libname$release$shared_ext$major'
23782   shlibpath_var=LD_LIBRARY_PATH
23783   ;;
23784
23785 freebsd* | dragonfly*)
23786   # DragonFly does not have aout.  When/if they implement a new
23787   # versioning mechanism, adjust this.
23788   if test -x /usr/bin/objformat; then
23789     objformat=`/usr/bin/objformat`
23790   else
23791     case $host_os in
23792     freebsd[23].*) objformat=aout ;;
23793     *) objformat=elf ;;
23794     esac
23795   fi
23796   version_type=freebsd-$objformat
23797   case $version_type in
23798     freebsd-elf*)
23799       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23800       soname_spec='$libname$release$shared_ext$major'
23801       need_version=no
23802       need_lib_prefix=no
23803       ;;
23804     freebsd-*)
23805       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
23806       need_version=yes
23807       ;;
23808   esac
23809   shlibpath_var=LD_LIBRARY_PATH
23810   case $host_os in
23811   freebsd2.*)
23812     shlibpath_overrides_runpath=yes
23813     ;;
23814   freebsd3.[01]* | freebsdelf3.[01]*)
23815     shlibpath_overrides_runpath=yes
23816     hardcode_into_libs=yes
23817     ;;
23818   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23819   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23820     shlibpath_overrides_runpath=no
23821     hardcode_into_libs=yes
23822     ;;
23823   *) # from 4.6 on, and DragonFly
23824     shlibpath_overrides_runpath=yes
23825     hardcode_into_libs=yes
23826     ;;
23827   esac
23828   ;;
23829
23830 haiku*)
23831   version_type=linux # correct to gnu/linux during the next big refactor
23832   need_lib_prefix=no
23833   need_version=no
23834   dynamic_linker="$host_os runtime_loader"
23835   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23836   soname_spec='$libname$release$shared_ext$major'
23837   shlibpath_var=LIBRARY_PATH
23838   shlibpath_overrides_runpath=no
23839   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
23840   hardcode_into_libs=yes
23841   ;;
23842
23843 hpux9* | hpux10* | hpux11*)
23844   # Give a soname corresponding to the major version so that dld.sl refuses to
23845   # link against other versions.
23846   version_type=sunos
23847   need_lib_prefix=no
23848   need_version=no
23849   case $host_cpu in
23850   ia64*)
23851     shrext_cmds='.so'
23852     hardcode_into_libs=yes
23853     dynamic_linker="$host_os dld.so"
23854     shlibpath_var=LD_LIBRARY_PATH
23855     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23856     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23857     soname_spec='$libname$release$shared_ext$major'
23858     if test 32 = "$HPUX_IA64_MODE"; then
23859       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
23860       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
23861     else
23862       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
23863       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
23864     fi
23865     ;;
23866   hppa*64*)
23867     shrext_cmds='.sl'
23868     hardcode_into_libs=yes
23869     dynamic_linker="$host_os dld.sl"
23870     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
23871     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
23872     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23873     soname_spec='$libname$release$shared_ext$major'
23874     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
23875     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
23876     ;;
23877   *)
23878     shrext_cmds='.sl'
23879     dynamic_linker="$host_os dld.sl"
23880     shlibpath_var=SHLIB_PATH
23881     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
23882     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23883     soname_spec='$libname$release$shared_ext$major'
23884     ;;
23885   esac
23886   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
23887   postinstall_cmds='chmod 555 $lib'
23888   # or fails outright, so override atomically:
23889   install_override_mode=555
23890   ;;
23891
23892 interix[3-9]*)
23893   version_type=linux # correct to gnu/linux during the next big refactor
23894   need_lib_prefix=no
23895   need_version=no
23896   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23897   soname_spec='$libname$release$shared_ext$major'
23898   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
23899   shlibpath_var=LD_LIBRARY_PATH
23900   shlibpath_overrides_runpath=no
23901   hardcode_into_libs=yes
23902   ;;
23903
23904 irix5* | irix6* | nonstopux*)
23905   case $host_os in
23906     nonstopux*) version_type=nonstopux ;;
23907     *)
23908         if test yes = "$lt_cv_prog_gnu_ld"; then
23909                 version_type=linux # correct to gnu/linux during the next big refactor
23910         else
23911                 version_type=irix
23912         fi ;;
23913   esac
23914   need_lib_prefix=no
23915   need_version=no
23916   soname_spec='$libname$release$shared_ext$major'
23917   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
23918   case $host_os in
23919   irix5* | nonstopux*)
23920     libsuff= shlibsuff=
23921     ;;
23922   *)
23923     case $LD in # libtool.m4 will add one of these switches to LD
23924     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23925       libsuff= shlibsuff= libmagic=32-bit;;
23926     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23927       libsuff=32 shlibsuff=N32 libmagic=N32;;
23928     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23929       libsuff=64 shlibsuff=64 libmagic=64-bit;;
23930     *) libsuff= shlibsuff= libmagic=never-match;;
23931     esac
23932     ;;
23933   esac
23934   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
23935   shlibpath_overrides_runpath=no
23936   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
23937   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
23938   hardcode_into_libs=yes
23939   ;;
23940
23941 # No shared lib support for Linux oldld, aout, or coff.
23942 linux*oldld* | linux*aout* | linux*coff*)
23943   dynamic_linker=no
23944   ;;
23945
23946 linux*android*)
23947   version_type=none # Android doesn't support versioned libraries.
23948   need_lib_prefix=no
23949   need_version=no
23950   library_names_spec='$libname$release$shared_ext'
23951   soname_spec='$libname$release$shared_ext'
23952   finish_cmds=
23953   shlibpath_var=LD_LIBRARY_PATH
23954   shlibpath_overrides_runpath=yes
23955
23956   # This implies no fast_install, which is unacceptable.
23957   # Some rework will be needed to allow for fast_install
23958   # before this can be enabled.
23959   hardcode_into_libs=yes
23960
23961   dynamic_linker='Android linker'
23962   # Don't embed -rpath directories since the linker doesn't support them.
23963   hardcode_libdir_flag_spec_FC='-L$libdir'
23964   ;;
23965
23966 # This must be glibc/ELF.
23967 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
23968   version_type=linux # correct to gnu/linux during the next big refactor
23969   need_lib_prefix=no
23970   need_version=no
23971   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
23972   soname_spec='$libname$release$shared_ext$major'
23973   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23974   shlibpath_var=LD_LIBRARY_PATH
23975   shlibpath_overrides_runpath=no
23976
23977   # Some binutils ld are patched to set DT_RUNPATH
23978   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
23979   $as_echo_n "(cached) " >&6
23980 else
23981   lt_cv_shlibpath_overrides_runpath=no
23982     save_LDFLAGS=$LDFLAGS
23983     save_libdir=$libdir
23984     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
23985          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
23986     cat > conftest.$ac_ext <<_ACEOF
23987       program main
23988
23989       end
23990 _ACEOF
23991 if ac_fn_fc_try_link "$LINENO"; then :
23992   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
23993   lt_cv_shlibpath_overrides_runpath=yes
23994 fi
23995 fi
23996 rm -f core conftest.err conftest.$ac_objext \
23997     conftest$ac_exeext conftest.$ac_ext
23998     LDFLAGS=$save_LDFLAGS
23999     libdir=$save_libdir
24000
24001 fi
24002
24003   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
24004
24005   # This implies no fast_install, which is unacceptable.
24006   # Some rework will be needed to allow for fast_install
24007   # before this can be enabled.
24008   hardcode_into_libs=yes
24009
24010   # Ideally, we could use ldconfig to report *all* directores which are
24011   # searched for libraries, however this is still not possible.  Aside from not
24012   # being certain /sbin/ldconfig is available, command
24013   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
24014   # even though it is searched at run-time.  Try to do the best guess by
24015   # appending ld.so.conf contents (and includes) to the search path.
24016   if test -f /etc/ld.so.conf; then
24017     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' ' '`
24018     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24019   fi
24020
24021   # We used to test for /lib/ld.so.1 and disable shared libraries on
24022   # powerpc, because MkLinux only supported shared libraries with the
24023   # GNU dynamic linker.  Since this was broken with cross compilers,
24024   # most powerpc-linux boxes support dynamic linking these days and
24025   # people can always --disable-shared, the test was removed, and we
24026   # assume the GNU/Linux dynamic linker is in use.
24027   dynamic_linker='GNU/Linux ld.so'
24028   ;;
24029
24030 netbsd*)
24031   version_type=sunos
24032   need_lib_prefix=no
24033   need_version=no
24034   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
24035     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24036     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24037     dynamic_linker='NetBSD (a.out) ld.so'
24038   else
24039     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24040     soname_spec='$libname$release$shared_ext$major'
24041     dynamic_linker='NetBSD ld.elf_so'
24042   fi
24043   shlibpath_var=LD_LIBRARY_PATH
24044   shlibpath_overrides_runpath=yes
24045   hardcode_into_libs=yes
24046   ;;
24047
24048 newsos6)
24049   version_type=linux # correct to gnu/linux during the next big refactor
24050   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24051   shlibpath_var=LD_LIBRARY_PATH
24052   shlibpath_overrides_runpath=yes
24053   ;;
24054
24055 *nto* | *qnx*)
24056   version_type=qnx
24057   need_lib_prefix=no
24058   need_version=no
24059   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24060   soname_spec='$libname$release$shared_ext$major'
24061   shlibpath_var=LD_LIBRARY_PATH
24062   shlibpath_overrides_runpath=no
24063   hardcode_into_libs=yes
24064   dynamic_linker='ldqnx.so'
24065   ;;
24066
24067 openbsd* | bitrig*)
24068   version_type=sunos
24069   sys_lib_dlsearch_path_spec=/usr/lib
24070   need_lib_prefix=no
24071   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
24072     need_version=no
24073   else
24074     need_version=yes
24075   fi
24076   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24077   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
24078   shlibpath_var=LD_LIBRARY_PATH
24079   shlibpath_overrides_runpath=yes
24080   ;;
24081
24082 os2*)
24083   libname_spec='$name'
24084   version_type=windows
24085   shrext_cmds=.dll
24086   need_version=no
24087   need_lib_prefix=no
24088   # OS/2 can only load a DLL with a base name of 8 characters or less.
24089   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
24090     v=$($ECHO $release$versuffix | tr -d .-);
24091     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
24092     $ECHO $n$v`$shared_ext'
24093   library_names_spec='${libname}_dll.$libext'
24094   dynamic_linker='OS/2 ld.exe'
24095   shlibpath_var=BEGINLIBPATH
24096   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
24097   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24098   postinstall_cmds='base_file=`basename \$file`~
24099     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
24100     dldir=$destdir/`dirname \$dlpath`~
24101     test -d \$dldir || mkdir -p \$dldir~
24102     $install_prog $dir/$dlname \$dldir/$dlname~
24103     chmod a+x \$dldir/$dlname~
24104     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
24105       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
24106     fi'
24107   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
24108     dlpath=$dir/\$dldll~
24109     $RM \$dlpath'
24110   ;;
24111
24112 osf3* | osf4* | osf5*)
24113   version_type=osf
24114   need_lib_prefix=no
24115   need_version=no
24116   soname_spec='$libname$release$shared_ext$major'
24117   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24118   shlibpath_var=LD_LIBRARY_PATH
24119   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
24120   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
24121   ;;
24122
24123 rdos*)
24124   dynamic_linker=no
24125   ;;
24126
24127 solaris*)
24128   version_type=linux # correct to gnu/linux during the next big refactor
24129   need_lib_prefix=no
24130   need_version=no
24131   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24132   soname_spec='$libname$release$shared_ext$major'
24133   shlibpath_var=LD_LIBRARY_PATH
24134   shlibpath_overrides_runpath=yes
24135   hardcode_into_libs=yes
24136   # ldd complains unless libraries are executable
24137   postinstall_cmds='chmod +x $lib'
24138   ;;
24139
24140 sunos4*)
24141   version_type=sunos
24142   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
24143   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
24144   shlibpath_var=LD_LIBRARY_PATH
24145   shlibpath_overrides_runpath=yes
24146   if test yes = "$with_gnu_ld"; then
24147     need_lib_prefix=no
24148   fi
24149   need_version=yes
24150   ;;
24151
24152 sysv4 | sysv4.3*)
24153   version_type=linux # correct to gnu/linux during the next big refactor
24154   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24155   soname_spec='$libname$release$shared_ext$major'
24156   shlibpath_var=LD_LIBRARY_PATH
24157   case $host_vendor in
24158     sni)
24159       shlibpath_overrides_runpath=no
24160       need_lib_prefix=no
24161       runpath_var=LD_RUN_PATH
24162       ;;
24163     siemens)
24164       need_lib_prefix=no
24165       ;;
24166     motorola)
24167       need_lib_prefix=no
24168       need_version=no
24169       shlibpath_overrides_runpath=no
24170       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
24171       ;;
24172   esac
24173   ;;
24174
24175 sysv4*MP*)
24176   if test -d /usr/nec; then
24177     version_type=linux # correct to gnu/linux during the next big refactor
24178     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
24179     soname_spec='$libname$shared_ext.$major'
24180     shlibpath_var=LD_LIBRARY_PATH
24181   fi
24182   ;;
24183
24184 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
24185   version_type=sco
24186   need_lib_prefix=no
24187   need_version=no
24188   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
24189   soname_spec='$libname$release$shared_ext$major'
24190   shlibpath_var=LD_LIBRARY_PATH
24191   shlibpath_overrides_runpath=yes
24192   hardcode_into_libs=yes
24193   if test yes = "$with_gnu_ld"; then
24194     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
24195   else
24196     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
24197     case $host_os in
24198       sco3.2v5*)
24199         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
24200         ;;
24201     esac
24202   fi
24203   sys_lib_dlsearch_path_spec='/usr/lib'
24204   ;;
24205
24206 tpf*)
24207   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
24208   version_type=linux # correct to gnu/linux during the next big refactor
24209   need_lib_prefix=no
24210   need_version=no
24211   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24212   shlibpath_var=LD_LIBRARY_PATH
24213   shlibpath_overrides_runpath=no
24214   hardcode_into_libs=yes
24215   ;;
24216
24217 uts4*)
24218   version_type=linux # correct to gnu/linux during the next big refactor
24219   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
24220   soname_spec='$libname$release$shared_ext$major'
24221   shlibpath_var=LD_LIBRARY_PATH
24222   ;;
24223
24224 *)
24225   dynamic_linker=no
24226   ;;
24227 esac
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
24229 $as_echo "$dynamic_linker" >&6; }
24230 test no = "$dynamic_linker" && can_build_shared=no
24231
24232 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
24233 if test yes = "$GCC"; then
24234   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
24235 fi
24236
24237 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
24238   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
24239 fi
24240
24241 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
24242   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
24243 fi
24244
24245 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
24246 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
24247
24248 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
24249 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
24250
24251 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
24252 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
24294 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
24295 hardcode_action_FC=
24296 if test -n "$hardcode_libdir_flag_spec_FC" ||
24297    test -n "$runpath_var_FC" ||
24298    test yes = "$hardcode_automatic_FC"; then
24299
24300   # We can hardcode non-existent directories.
24301   if test no != "$hardcode_direct_FC" &&
24302      # If the only mechanism to avoid hardcoding is shlibpath_var, we
24303      # have to relink, otherwise we might link with an installed library
24304      # when we should be linking with a yet-to-be-installed one
24305      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" &&
24306      test no != "$hardcode_minus_L_FC"; then
24307     # Linking always hardcodes the temporary library directory.
24308     hardcode_action_FC=relink
24309   else
24310     # We can link without hardcoding, and we can hardcode nonexisting dirs.
24311     hardcode_action_FC=immediate
24312   fi
24313 else
24314   # We cannot hardcode anything, or else we can only hardcode existing
24315   # directories.
24316   hardcode_action_FC=unsupported
24317 fi
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
24319 $as_echo "$hardcode_action_FC" >&6; }
24320
24321 if test relink = "$hardcode_action_FC" ||
24322    test yes = "$inherit_rpath_FC"; then
24323   # Fast installation is not supported
24324   enable_fast_install=no
24325 elif test yes = "$shlibpath_overrides_runpath" ||
24326      test no = "$enable_shared"; then
24327   # Fast installation is not necessary
24328   enable_fast_install=needless
24329 fi
24330
24331
24332
24333
24334
24335
24336
24337   fi # test -n "$compiler"
24338
24339   GCC=$lt_save_GCC
24340   CC=$lt_save_CC
24341   CFLAGS=$lt_save_CFLAGS
24342 fi # test yes != "$_lt_disable_FC"
24343
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24349
24350
24351 if test -n "$ac_tool_prefix"; then
24352   # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
24353 set dummy ${ac_tool_prefix}gccgo; ac_word=$2
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24355 $as_echo_n "checking for $ac_word... " >&6; }
24356 if ${ac_cv_prog_GOC+:} false; then :
24357   $as_echo_n "(cached) " >&6
24358 else
24359   if test -n "$GOC"; then
24360   ac_cv_prog_GOC="$GOC" # Let the user override the test.
24361 else
24362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24363 for as_dir in $PATH
24364 do
24365   IFS=$as_save_IFS
24366   test -z "$as_dir" && as_dir=.
24367     for ac_exec_ext in '' $ac_executable_extensions; do
24368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24369     ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
24370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24371     break 2
24372   fi
24373 done
24374   done
24375 IFS=$as_save_IFS
24376
24377 fi
24378 fi
24379 GOC=$ac_cv_prog_GOC
24380 if test -n "$GOC"; then
24381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
24382 $as_echo "$GOC" >&6; }
24383 else
24384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24385 $as_echo "no" >&6; }
24386 fi
24387
24388
24389 fi
24390 if test -z "$ac_cv_prog_GOC"; then
24391   ac_ct_GOC=$GOC
24392   # Extract the first word of "gccgo", so it can be a program name with args.
24393 set dummy gccgo; ac_word=$2
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24395 $as_echo_n "checking for $ac_word... " >&6; }
24396 if ${ac_cv_prog_ac_ct_GOC+:} false; then :
24397   $as_echo_n "(cached) " >&6
24398 else
24399   if test -n "$ac_ct_GOC"; then
24400   ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
24401 else
24402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24403 for as_dir in $PATH
24404 do
24405   IFS=$as_save_IFS
24406   test -z "$as_dir" && as_dir=.
24407     for ac_exec_ext in '' $ac_executable_extensions; do
24408   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24409     ac_cv_prog_ac_ct_GOC="gccgo"
24410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24411     break 2
24412   fi
24413 done
24414   done
24415 IFS=$as_save_IFS
24416
24417 fi
24418 fi
24419 ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
24420 if test -n "$ac_ct_GOC"; then
24421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
24422 $as_echo "$ac_ct_GOC" >&6; }
24423 else
24424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24425 $as_echo "no" >&6; }
24426 fi
24427
24428   if test "x$ac_ct_GOC" = x; then
24429     GOC=""
24430   else
24431     case $cross_compiling:$ac_tool_warned in
24432 yes:)
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24435 ac_tool_warned=yes ;;
24436 esac
24437     GOC=$ac_ct_GOC
24438   fi
24439 else
24440   GOC="$ac_cv_prog_GOC"
24441 fi
24442
24443
24444
24445
24446 # Source file extension for Go test sources.
24447 ac_ext=go
24448
24449 # Object file extension for compiled Go test sources.
24450 objext=o
24451 objext_GO=$objext
24452
24453 # Code to be used in simple compile tests
24454 lt_simple_compile_test_code="package main; func main() { }"
24455
24456 # Code to be used in simple link tests
24457 lt_simple_link_test_code='package main; func main() { }'
24458
24459 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
24460
24461
24462
24463
24464
24465
24466 # If no C compiler was specified, use CC.
24467 LTCC=${LTCC-"$CC"}
24468
24469 # If no C compiler flags were specified, use CFLAGS.
24470 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
24471
24472 # Allow CC to be a program name with arguments.
24473 compiler=$CC
24474
24475
24476 # save warnings/boilerplate of simple test code
24477 ac_outfile=conftest.$ac_objext
24478 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
24479 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24480 _lt_compiler_boilerplate=`cat conftest.err`
24481 $RM conftest*
24482
24483 ac_outfile=conftest.$ac_objext
24484 echo "$lt_simple_link_test_code" >conftest.$ac_ext
24485 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
24486 _lt_linker_boilerplate=`cat conftest.err`
24487 $RM -r conftest*
24488
24489
24490 # Allow CC to be a program name with arguments.
24491 lt_save_CC=$CC
24492 lt_save_CFLAGS=$CFLAGS
24493 lt_save_GCC=$GCC
24494 GCC=yes
24495 CC=${GOC-"gccgo"}
24496 CFLAGS=$GOFLAGS
24497 compiler=$CC
24498 compiler_GO=$CC
24499 LD_GO=$LD
24500 func_cc_basename $compiler
24501 cc_basename=$func_cc_basename_result
24502
24503
24504 # Go did not exist at the time GCC didn't implicitly link libc in.
24505 archive_cmds_need_lc_GO=no
24506
24507 old_archive_cmds_GO=$old_archive_cmds
24508 reload_flag_GO=$reload_flag
24509 reload_cmds_GO=$reload_cmds
24510
24511 ## CAVEAT EMPTOR:
24512 ## There is no encapsulation within the following macros, do not change
24513 ## the running order or otherwise move them around unless you know exactly
24514 ## what you are doing...
24515 if test -n "$compiler"; then
24516
24517 lt_prog_compiler_no_builtin_flag_GO=
24518
24519 if test yes = "$GCC"; then
24520   case $cc_basename in
24521   nvcc*)
24522     lt_prog_compiler_no_builtin_flag_GO=' -Xcompiler -fno-builtin' ;;
24523   *)
24524     lt_prog_compiler_no_builtin_flag_GO=' -fno-builtin' ;;
24525   esac
24526
24527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
24528 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
24529 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
24530   $as_echo_n "(cached) " >&6
24531 else
24532   lt_cv_prog_compiler_rtti_exceptions=no
24533    ac_outfile=conftest.$ac_objext
24534    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24535    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
24536    # Insert the option either (1) after the last *FLAGS variable, or
24537    # (2) before a word containing "conftest.", or (3) at the end.
24538    # Note that $ac_compile itself does not contain backslashes and begins
24539    # with a dollar sign (not a hyphen), so the echo should work correctly.
24540    # The option is referenced via a variable to avoid confusing sed.
24541    lt_compile=`echo "$ac_compile" | $SED \
24542    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24543    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24544    -e 's:$: $lt_compiler_flag:'`
24545    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
24546    (eval "$lt_compile" 2>conftest.err)
24547    ac_status=$?
24548    cat conftest.err >&5
24549    echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550    if (exit $ac_status) && test -s "$ac_outfile"; then
24551      # The compiler can only warn and ignore the option if not recognized
24552      # So say no if there are warnings other than the usual output.
24553      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
24554      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24555      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24556        lt_cv_prog_compiler_rtti_exceptions=yes
24557      fi
24558    fi
24559    $RM conftest*
24560
24561 fi
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
24563 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
24564
24565 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
24566     lt_prog_compiler_no_builtin_flag_GO="$lt_prog_compiler_no_builtin_flag_GO -fno-rtti -fno-exceptions"
24567 else
24568     :
24569 fi
24570
24571 fi
24572
24573
24574
24575   lt_prog_compiler_wl_GO=
24576 lt_prog_compiler_pic_GO=
24577 lt_prog_compiler_static_GO=
24578
24579
24580   if test yes = "$GCC"; then
24581     lt_prog_compiler_wl_GO='-Wl,'
24582     lt_prog_compiler_static_GO='-static'
24583
24584     case $host_os in
24585       aix*)
24586       # All AIX code is PIC.
24587       if test ia64 = "$host_cpu"; then
24588         # AIX 5 now supports IA64 processor
24589         lt_prog_compiler_static_GO='-Bstatic'
24590       fi
24591       lt_prog_compiler_pic_GO='-fPIC'
24592       ;;
24593
24594     amigaos*)
24595       case $host_cpu in
24596       powerpc)
24597             # see comment about AmigaOS4 .so support
24598             lt_prog_compiler_pic_GO='-fPIC'
24599         ;;
24600       m68k)
24601             # FIXME: we need at least 68020 code to build shared libraries, but
24602             # adding the '-m68020' flag to GCC prevents building anything better,
24603             # like '-m68040'.
24604             lt_prog_compiler_pic_GO='-m68020 -resident32 -malways-restore-a4'
24605         ;;
24606       esac
24607       ;;
24608
24609     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
24610       # PIC is the default for these OSes.
24611       ;;
24612
24613     mingw* | cygwin* | pw32* | os2* | cegcc*)
24614       # This hack is so that the source file can tell whether it is being
24615       # built for inclusion in a dll (and should export symbols for example).
24616       # Although the cygwin gcc ignores -fPIC, still need this for old-style
24617       # (--disable-auto-import) libraries
24618       lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24619       case $host_os in
24620       os2*)
24621         lt_prog_compiler_static_GO='$wl-static'
24622         ;;
24623       esac
24624       ;;
24625
24626     darwin* | rhapsody*)
24627       # PIC is the default on this platform
24628       # Common symbols not allowed in MH_DYLIB files
24629       lt_prog_compiler_pic_GO='-fno-common'
24630       ;;
24631
24632     haiku*)
24633       # PIC is the default for Haiku.
24634       # The "-static" flag exists, but is broken.
24635       lt_prog_compiler_static_GO=
24636       ;;
24637
24638     hpux*)
24639       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
24640       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
24641       # sets the default TLS model and affects inlining.
24642       case $host_cpu in
24643       hppa*64*)
24644         # +Z the default
24645         ;;
24646       *)
24647         lt_prog_compiler_pic_GO='-fPIC'
24648         ;;
24649       esac
24650       ;;
24651
24652     interix[3-9]*)
24653       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
24654       # Instead, we relocate shared libraries at runtime.
24655       ;;
24656
24657     msdosdjgpp*)
24658       # Just because we use GCC doesn't mean we suddenly get shared libraries
24659       # on systems that don't support them.
24660       lt_prog_compiler_can_build_shared_GO=no
24661       enable_shared=no
24662       ;;
24663
24664     *nto* | *qnx*)
24665       # QNX uses GNU C++, but need to define -shared option too, otherwise
24666       # it will coredump.
24667       lt_prog_compiler_pic_GO='-fPIC -shared'
24668       ;;
24669
24670     sysv4*MP*)
24671       if test -d /usr/nec; then
24672         lt_prog_compiler_pic_GO=-Kconform_pic
24673       fi
24674       ;;
24675
24676     *)
24677       lt_prog_compiler_pic_GO='-fPIC'
24678       ;;
24679     esac
24680
24681     case $cc_basename in
24682     nvcc*) # Cuda Compiler Driver 2.2
24683       lt_prog_compiler_wl_GO='-Xlinker '
24684       if test -n "$lt_prog_compiler_pic_GO"; then
24685         lt_prog_compiler_pic_GO="-Xcompiler $lt_prog_compiler_pic_GO"
24686       fi
24687       ;;
24688     esac
24689   else
24690     # PORTME Check for flag to pass linker flags through the system compiler.
24691     case $host_os in
24692     aix*)
24693       lt_prog_compiler_wl_GO='-Wl,'
24694       if test ia64 = "$host_cpu"; then
24695         # AIX 5 now supports IA64 processor
24696         lt_prog_compiler_static_GO='-Bstatic'
24697       else
24698         lt_prog_compiler_static_GO='-bnso -bI:/lib/syscalls.exp'
24699       fi
24700       ;;
24701
24702     darwin* | rhapsody*)
24703       # PIC is the default on this platform
24704       # Common symbols not allowed in MH_DYLIB files
24705       lt_prog_compiler_pic_GO='-fno-common'
24706       case $cc_basename in
24707       nagfor*)
24708         # NAG Fortran compiler
24709         lt_prog_compiler_wl_GO='-Wl,-Wl,,'
24710         lt_prog_compiler_pic_GO='-PIC'
24711         lt_prog_compiler_static_GO='-Bstatic'
24712         ;;
24713       esac
24714       ;;
24715
24716     mingw* | cygwin* | pw32* | os2* | cegcc*)
24717       # This hack is so that the source file can tell whether it is being
24718       # built for inclusion in a dll (and should export symbols for example).
24719       lt_prog_compiler_pic_GO='-DDLL_EXPORT'
24720       case $host_os in
24721       os2*)
24722         lt_prog_compiler_static_GO='$wl-static'
24723         ;;
24724       esac
24725       ;;
24726
24727     hpux9* | hpux10* | hpux11*)
24728       lt_prog_compiler_wl_GO='-Wl,'
24729       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
24730       # not for PA HP-UX.
24731       case $host_cpu in
24732       hppa*64*|ia64*)
24733         # +Z the default
24734         ;;
24735       *)
24736         lt_prog_compiler_pic_GO='+Z'
24737         ;;
24738       esac
24739       # Is there a better lt_prog_compiler_static that works with the bundled CC?
24740       lt_prog_compiler_static_GO='$wl-a ${wl}archive'
24741       ;;
24742
24743     irix5* | irix6* | nonstopux*)
24744       lt_prog_compiler_wl_GO='-Wl,'
24745       # PIC (with -KPIC) is the default.
24746       lt_prog_compiler_static_GO='-non_shared'
24747       ;;
24748
24749     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
24750       case $cc_basename in
24751       # old Intel for x86_64, which still supported -KPIC.
24752       ecc*)
24753         lt_prog_compiler_wl_GO='-Wl,'
24754         lt_prog_compiler_pic_GO='-KPIC'
24755         lt_prog_compiler_static_GO='-static'
24756         ;;
24757       # icc used to be incompatible with GCC.
24758       # ICC 10 doesn't accept -KPIC any more.
24759       icc* | ifort*)
24760         lt_prog_compiler_wl_GO='-Wl,'
24761         lt_prog_compiler_pic_GO='-fPIC'
24762         lt_prog_compiler_static_GO='-static'
24763         ;;
24764       # Lahey Fortran 8.1.
24765       lf95*)
24766         lt_prog_compiler_wl_GO='-Wl,'
24767         lt_prog_compiler_pic_GO='--shared'
24768         lt_prog_compiler_static_GO='--static'
24769         ;;
24770       nagfor*)
24771         # NAG Fortran compiler
24772         lt_prog_compiler_wl_GO='-Wl,-Wl,,'
24773         lt_prog_compiler_pic_GO='-PIC'
24774         lt_prog_compiler_static_GO='-Bstatic'
24775         ;;
24776       tcc*)
24777         # Fabrice Bellard et al's Tiny C Compiler
24778         lt_prog_compiler_wl_GO='-Wl,'
24779         lt_prog_compiler_pic_GO='-fPIC'
24780         lt_prog_compiler_static_GO='-static'
24781         ;;
24782       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
24783         # Portland Group compilers (*not* the Pentium gcc compiler,
24784         # which looks to be a dead project)
24785         lt_prog_compiler_wl_GO='-Wl,'
24786         lt_prog_compiler_pic_GO='-fpic'
24787         lt_prog_compiler_static_GO='-Bstatic'
24788         ;;
24789       ccc*)
24790         lt_prog_compiler_wl_GO='-Wl,'
24791         # All Alpha code is PIC.
24792         lt_prog_compiler_static_GO='-non_shared'
24793         ;;
24794       xl* | bgxl* | bgf* | mpixl*)
24795         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
24796         lt_prog_compiler_wl_GO='-Wl,'
24797         lt_prog_compiler_pic_GO='-qpic'
24798         lt_prog_compiler_static_GO='-qstaticlink'
24799         ;;
24800       *)
24801         case `$CC -V 2>&1 | sed 5q` in
24802         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
24803           # Sun Fortran 8.3 passes all unrecognized flags to the linker
24804           lt_prog_compiler_pic_GO='-KPIC'
24805           lt_prog_compiler_static_GO='-Bstatic'
24806           lt_prog_compiler_wl_GO=''
24807           ;;
24808         *Sun\ F* | *Sun*Fortran*)
24809           lt_prog_compiler_pic_GO='-KPIC'
24810           lt_prog_compiler_static_GO='-Bstatic'
24811           lt_prog_compiler_wl_GO='-Qoption ld '
24812           ;;
24813         *Sun\ C*)
24814           # Sun C 5.9
24815           lt_prog_compiler_pic_GO='-KPIC'
24816           lt_prog_compiler_static_GO='-Bstatic'
24817           lt_prog_compiler_wl_GO='-Wl,'
24818           ;;
24819         *Intel*\ [CF]*Compiler*)
24820           lt_prog_compiler_wl_GO='-Wl,'
24821           lt_prog_compiler_pic_GO='-fPIC'
24822           lt_prog_compiler_static_GO='-static'
24823           ;;
24824         *Portland\ Group*)
24825           lt_prog_compiler_wl_GO='-Wl,'
24826           lt_prog_compiler_pic_GO='-fpic'
24827           lt_prog_compiler_static_GO='-Bstatic'
24828           ;;
24829         esac
24830         ;;
24831       esac
24832       ;;
24833
24834     newsos6)
24835       lt_prog_compiler_pic_GO='-KPIC'
24836       lt_prog_compiler_static_GO='-Bstatic'
24837       ;;
24838
24839     *nto* | *qnx*)
24840       # QNX uses GNU C++, but need to define -shared option too, otherwise
24841       # it will coredump.
24842       lt_prog_compiler_pic_GO='-fPIC -shared'
24843       ;;
24844
24845     osf3* | osf4* | osf5*)
24846       lt_prog_compiler_wl_GO='-Wl,'
24847       # All OSF/1 code is PIC.
24848       lt_prog_compiler_static_GO='-non_shared'
24849       ;;
24850
24851     rdos*)
24852       lt_prog_compiler_static_GO='-non_shared'
24853       ;;
24854
24855     solaris*)
24856       lt_prog_compiler_pic_GO='-KPIC'
24857       lt_prog_compiler_static_GO='-Bstatic'
24858       case $cc_basename in
24859       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
24860         lt_prog_compiler_wl_GO='-Qoption ld ';;
24861       *)
24862         lt_prog_compiler_wl_GO='-Wl,';;
24863       esac
24864       ;;
24865
24866     sunos4*)
24867       lt_prog_compiler_wl_GO='-Qoption ld '
24868       lt_prog_compiler_pic_GO='-PIC'
24869       lt_prog_compiler_static_GO='-Bstatic'
24870       ;;
24871
24872     sysv4 | sysv4.2uw2* | sysv4.3*)
24873       lt_prog_compiler_wl_GO='-Wl,'
24874       lt_prog_compiler_pic_GO='-KPIC'
24875       lt_prog_compiler_static_GO='-Bstatic'
24876       ;;
24877
24878     sysv4*MP*)
24879       if test -d /usr/nec; then
24880         lt_prog_compiler_pic_GO='-Kconform_pic'
24881         lt_prog_compiler_static_GO='-Bstatic'
24882       fi
24883       ;;
24884
24885     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
24886       lt_prog_compiler_wl_GO='-Wl,'
24887       lt_prog_compiler_pic_GO='-KPIC'
24888       lt_prog_compiler_static_GO='-Bstatic'
24889       ;;
24890
24891     unicos*)
24892       lt_prog_compiler_wl_GO='-Wl,'
24893       lt_prog_compiler_can_build_shared_GO=no
24894       ;;
24895
24896     uts4*)
24897       lt_prog_compiler_pic_GO='-pic'
24898       lt_prog_compiler_static_GO='-Bstatic'
24899       ;;
24900
24901     *)
24902       lt_prog_compiler_can_build_shared_GO=no
24903       ;;
24904     esac
24905   fi
24906
24907 case $host_os in
24908   # For platforms that do not support PIC, -DPIC is meaningless:
24909   *djgpp*)
24910     lt_prog_compiler_pic_GO=
24911     ;;
24912   *)
24913     lt_prog_compiler_pic_GO="$lt_prog_compiler_pic_GO"
24914     ;;
24915 esac
24916
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
24918 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
24919 if ${lt_cv_prog_compiler_pic_GO+:} false; then :
24920   $as_echo_n "(cached) " >&6
24921 else
24922   lt_cv_prog_compiler_pic_GO=$lt_prog_compiler_pic_GO
24923 fi
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GO" >&5
24925 $as_echo "$lt_cv_prog_compiler_pic_GO" >&6; }
24926 lt_prog_compiler_pic_GO=$lt_cv_prog_compiler_pic_GO
24927
24928 #
24929 # Check to make sure the PIC flag actually works.
24930 #
24931 if test -n "$lt_prog_compiler_pic_GO"; then
24932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GO works" >&5
24933 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GO works... " >&6; }
24934 if ${lt_cv_prog_compiler_pic_works_GO+:} false; then :
24935   $as_echo_n "(cached) " >&6
24936 else
24937   lt_cv_prog_compiler_pic_works_GO=no
24938    ac_outfile=conftest.$ac_objext
24939    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
24940    lt_compiler_flag="$lt_prog_compiler_pic_GO"  ## exclude from sc_useless_quotes_in_assignment
24941    # Insert the option either (1) after the last *FLAGS variable, or
24942    # (2) before a word containing "conftest.", or (3) at the end.
24943    # Note that $ac_compile itself does not contain backslashes and begins
24944    # with a dollar sign (not a hyphen), so the echo should work correctly.
24945    # The option is referenced via a variable to avoid confusing sed.
24946    lt_compile=`echo "$ac_compile" | $SED \
24947    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
24948    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
24949    -e 's:$: $lt_compiler_flag:'`
24950    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
24951    (eval "$lt_compile" 2>conftest.err)
24952    ac_status=$?
24953    cat conftest.err >&5
24954    echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955    if (exit $ac_status) && test -s "$ac_outfile"; then
24956      # The compiler can only warn and ignore the option if not recognized
24957      # So say no if there are warnings other than the usual output.
24958      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
24959      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
24960      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
24961        lt_cv_prog_compiler_pic_works_GO=yes
24962      fi
24963    fi
24964    $RM conftest*
24965
24966 fi
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GO" >&5
24968 $as_echo "$lt_cv_prog_compiler_pic_works_GO" >&6; }
24969
24970 if test yes = "$lt_cv_prog_compiler_pic_works_GO"; then
24971     case $lt_prog_compiler_pic_GO in
24972      "" | " "*) ;;
24973      *) lt_prog_compiler_pic_GO=" $lt_prog_compiler_pic_GO" ;;
24974      esac
24975 else
24976     lt_prog_compiler_pic_GO=
24977      lt_prog_compiler_can_build_shared_GO=no
24978 fi
24979
24980 fi
24981
24982
24983
24984
24985
24986 #
24987 # Check to make sure the static flag actually works.
24988 #
24989 wl=$lt_prog_compiler_wl_GO eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GO\"
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
24991 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
24992 if ${lt_cv_prog_compiler_static_works_GO+:} false; then :
24993   $as_echo_n "(cached) " >&6
24994 else
24995   lt_cv_prog_compiler_static_works_GO=no
24996    save_LDFLAGS=$LDFLAGS
24997    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
24998    echo "$lt_simple_link_test_code" > conftest.$ac_ext
24999    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
25000      # The linker can only warn and ignore the option if not recognized
25001      # So say no if there are warnings
25002      if test -s conftest.err; then
25003        # Append any errors to the config.log.
25004        cat conftest.err 1>&5
25005        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
25006        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
25007        if diff conftest.exp conftest.er2 >/dev/null; then
25008          lt_cv_prog_compiler_static_works_GO=yes
25009        fi
25010      else
25011        lt_cv_prog_compiler_static_works_GO=yes
25012      fi
25013    fi
25014    $RM -r conftest*
25015    LDFLAGS=$save_LDFLAGS
25016
25017 fi
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GO" >&5
25019 $as_echo "$lt_cv_prog_compiler_static_works_GO" >&6; }
25020
25021 if test yes = "$lt_cv_prog_compiler_static_works_GO"; then
25022     :
25023 else
25024     lt_prog_compiler_static_GO=
25025 fi
25026
25027
25028
25029
25030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25031 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25032 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25033   $as_echo_n "(cached) " >&6
25034 else
25035   lt_cv_prog_compiler_c_o_GO=no
25036    $RM -r conftest 2>/dev/null
25037    mkdir conftest
25038    cd conftest
25039    mkdir out
25040    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25041
25042    lt_compiler_flag="-o out/conftest2.$ac_objext"
25043    # Insert the option either (1) after the last *FLAGS variable, or
25044    # (2) before a word containing "conftest.", or (3) at the end.
25045    # Note that $ac_compile itself does not contain backslashes and begins
25046    # with a dollar sign (not a hyphen), so the echo should work correctly.
25047    lt_compile=`echo "$ac_compile" | $SED \
25048    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25049    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25050    -e 's:$: $lt_compiler_flag:'`
25051    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25052    (eval "$lt_compile" 2>out/conftest.err)
25053    ac_status=$?
25054    cat out/conftest.err >&5
25055    echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056    if (exit $ac_status) && test -s out/conftest2.$ac_objext
25057    then
25058      # The compiler can only warn and ignore the option if not recognized
25059      # So say no if there are warnings
25060      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25061      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25062      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25063        lt_cv_prog_compiler_c_o_GO=yes
25064      fi
25065    fi
25066    chmod u+w . 2>&5
25067    $RM conftest*
25068    # SGI C++ compiler will create directory out/ii_files/ for
25069    # template instantiation
25070    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25071    $RM out/* && rmdir out
25072    cd ..
25073    $RM -r conftest
25074    $RM conftest*
25075
25076 fi
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25078 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25079
25080
25081
25082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
25083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
25084 if ${lt_cv_prog_compiler_c_o_GO+:} false; then :
25085   $as_echo_n "(cached) " >&6
25086 else
25087   lt_cv_prog_compiler_c_o_GO=no
25088    $RM -r conftest 2>/dev/null
25089    mkdir conftest
25090    cd conftest
25091    mkdir out
25092    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
25093
25094    lt_compiler_flag="-o out/conftest2.$ac_objext"
25095    # Insert the option either (1) after the last *FLAGS variable, or
25096    # (2) before a word containing "conftest.", or (3) at the end.
25097    # Note that $ac_compile itself does not contain backslashes and begins
25098    # with a dollar sign (not a hyphen), so the echo should work correctly.
25099    lt_compile=`echo "$ac_compile" | $SED \
25100    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
25101    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
25102    -e 's:$: $lt_compiler_flag:'`
25103    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
25104    (eval "$lt_compile" 2>out/conftest.err)
25105    ac_status=$?
25106    cat out/conftest.err >&5
25107    echo "$as_me:$LINENO: \$? = $ac_status" >&5
25108    if (exit $ac_status) && test -s out/conftest2.$ac_objext
25109    then
25110      # The compiler can only warn and ignore the option if not recognized
25111      # So say no if there are warnings
25112      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
25113      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
25114      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
25115        lt_cv_prog_compiler_c_o_GO=yes
25116      fi
25117    fi
25118    chmod u+w . 2>&5
25119    $RM conftest*
25120    # SGI C++ compiler will create directory out/ii_files/ for
25121    # template instantiation
25122    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
25123    $RM out/* && rmdir out
25124    cd ..
25125    $RM -r conftest
25126    $RM conftest*
25127
25128 fi
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GO" >&5
25130 $as_echo "$lt_cv_prog_compiler_c_o_GO" >&6; }
25131
25132
25133
25134
25135 hard_links=nottested
25136 if test no = "$lt_cv_prog_compiler_c_o_GO" && test no != "$need_locks"; then
25137   # do not overwrite the value of need_locks provided by the user
25138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
25139 $as_echo_n "checking if we can lock with hard links... " >&6; }
25140   hard_links=yes
25141   $RM conftest*
25142   ln conftest.a conftest.b 2>/dev/null && hard_links=no
25143   touch conftest.a
25144   ln conftest.a conftest.b 2>&5 || hard_links=no
25145   ln conftest.a conftest.b 2>/dev/null && hard_links=no
25146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
25147 $as_echo "$hard_links" >&6; }
25148   if test no = "$hard_links"; then
25149     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
25150 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
25151     need_locks=warn
25152   fi
25153 else
25154   need_locks=no
25155 fi
25156
25157
25158
25159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
25160 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
25161
25162   runpath_var=
25163   allow_undefined_flag_GO=
25164   always_export_symbols_GO=no
25165   archive_cmds_GO=
25166   archive_expsym_cmds_GO=
25167   compiler_needs_object_GO=no
25168   enable_shared_with_static_runtimes_GO=no
25169   export_dynamic_flag_spec_GO=
25170   export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
25171   hardcode_automatic_GO=no
25172   hardcode_direct_GO=no
25173   hardcode_direct_absolute_GO=no
25174   hardcode_libdir_flag_spec_GO=
25175   hardcode_libdir_separator_GO=
25176   hardcode_minus_L_GO=no
25177   hardcode_shlibpath_var_GO=unsupported
25178   inherit_rpath_GO=no
25179   link_all_deplibs_GO=unknown
25180   module_cmds_GO=
25181   module_expsym_cmds_GO=
25182   old_archive_from_new_cmds_GO=
25183   old_archive_from_expsyms_cmds_GO=
25184   thread_safe_flag_spec_GO=
25185   whole_archive_flag_spec_GO=
25186   # include_expsyms should be a list of space-separated symbols to be *always*
25187   # included in the symbol list
25188   include_expsyms_GO=
25189   # exclude_expsyms can be an extended regexp of symbols to exclude
25190   # it will be wrapped by ' (' and ')$', so one must not match beginning or
25191   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
25192   # as well as any symbol that contains 'd'.
25193   exclude_expsyms_GO='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
25194   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
25195   # platforms (ab)use it in PIC code, but their linkers get confused if
25196   # the symbol is explicitly referenced.  Since portable code cannot
25197   # rely on this symbol name, it's probably fine to never include it in
25198   # preloaded symbol tables.
25199   # Exclude shared library initialization/finalization symbols.
25200   extract_expsyms_cmds=
25201
25202   case $host_os in
25203   cygwin* | mingw* | pw32* | cegcc*)
25204     # FIXME: the MSVC++ port hasn't been tested in a loooong time
25205     # When not using gcc, we currently assume that we are using
25206     # Microsoft Visual C++.
25207     if test yes != "$GCC"; then
25208       with_gnu_ld=no
25209     fi
25210     ;;
25211   interix*)
25212     # we just hope/assume this is gcc and not c89 (= MSVC++)
25213     with_gnu_ld=yes
25214     ;;
25215   openbsd* | bitrig*)
25216     with_gnu_ld=no
25217     ;;
25218   esac
25219
25220   ld_shlibs_GO=yes
25221
25222   # On some targets, GNU ld is compatible enough with the native linker
25223   # that we're better off using the native interface for both.
25224   lt_use_gnu_ld_interface=no
25225   if test yes = "$with_gnu_ld"; then
25226     case $host_os in
25227       aix*)
25228         # The AIX port of GNU ld has always aspired to compatibility
25229         # with the native linker.  However, as the warning in the GNU ld
25230         # block says, versions before 2.19.5* couldn't really create working
25231         # shared libraries, regardless of the interface used.
25232         case `$LD -v 2>&1` in
25233           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
25234           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
25235           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
25236           *)
25237             lt_use_gnu_ld_interface=yes
25238             ;;
25239         esac
25240         ;;
25241       *)
25242         lt_use_gnu_ld_interface=yes
25243         ;;
25244     esac
25245   fi
25246
25247   if test yes = "$lt_use_gnu_ld_interface"; then
25248     # If archive_cmds runs LD, not CC, wlarc should be empty
25249     wlarc='$wl'
25250
25251     # Set some defaults for GNU ld with shared library support. These
25252     # are reset later if shared libraries are not supported. Putting them
25253     # here allows them to be overridden if necessary.
25254     runpath_var=LD_RUN_PATH
25255     hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25256     export_dynamic_flag_spec_GO='$wl--export-dynamic'
25257     # ancient GNU ld didn't support --whole-archive et. al.
25258     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
25259       whole_archive_flag_spec_GO=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
25260     else
25261       whole_archive_flag_spec_GO=
25262     fi
25263     supports_anon_versioning=no
25264     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
25265       *GNU\ gold*) supports_anon_versioning=yes ;;
25266       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
25267       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
25268       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
25269       *\ 2.11.*) ;; # other 2.11 versions
25270       *) supports_anon_versioning=yes ;;
25271     esac
25272
25273     # See if GNU ld supports shared libraries.
25274     case $host_os in
25275     aix[3-9]*)
25276       # On AIX/PPC, the GNU linker is very broken
25277       if test ia64 != "$host_cpu"; then
25278         ld_shlibs_GO=no
25279         cat <<_LT_EOF 1>&2
25280
25281 *** Warning: the GNU linker, at least up to release 2.19, is reported
25282 *** to be unable to reliably create shared libraries on AIX.
25283 *** Therefore, libtool is disabling shared libraries support.  If you
25284 *** really care for shared libraries, you may want to install binutils
25285 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
25286 *** You will then need to restart the configuration process.
25287
25288 _LT_EOF
25289       fi
25290       ;;
25291
25292     amigaos*)
25293       case $host_cpu in
25294       powerpc)
25295             # see comment about AmigaOS4 .so support
25296             archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25297             archive_expsym_cmds_GO=''
25298         ;;
25299       m68k)
25300             archive_cmds_GO='$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)'
25301             hardcode_libdir_flag_spec_GO='-L$libdir'
25302             hardcode_minus_L_GO=yes
25303         ;;
25304       esac
25305       ;;
25306
25307     beos*)
25308       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25309         allow_undefined_flag_GO=unsupported
25310         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
25311         # support --undefined.  This deserves some investigation.  FIXME
25312         archive_cmds_GO='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25313       else
25314         ld_shlibs_GO=no
25315       fi
25316       ;;
25317
25318     cygwin* | mingw* | pw32* | cegcc*)
25319       # _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
25320       # as there is no search path for DLLs.
25321       hardcode_libdir_flag_spec_GO='-L$libdir'
25322       export_dynamic_flag_spec_GO='$wl--export-all-symbols'
25323       allow_undefined_flag_GO=unsupported
25324       always_export_symbols_GO=no
25325       enable_shared_with_static_runtimes_GO=yes
25326       export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
25327       exclude_expsyms_GO='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
25328
25329       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
25330         archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25331         # If the export-symbols file already is a .def file, use it as
25332         # is; otherwise, prepend EXPORTS...
25333         archive_expsym_cmds_GO='if   test DEF = "`$SED -n     -e '\''s/^[        ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
25334           cp $export_symbols $output_objdir/$soname.def;
25335         else
25336           echo EXPORTS > $output_objdir/$soname.def;
25337           cat $export_symbols >> $output_objdir/$soname.def;
25338         fi~
25339         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
25340       else
25341         ld_shlibs_GO=no
25342       fi
25343       ;;
25344
25345     haiku*)
25346       archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25347       link_all_deplibs_GO=yes
25348       ;;
25349
25350     os2*)
25351       hardcode_libdir_flag_spec_GO='-L$libdir'
25352       hardcode_minus_L_GO=yes
25353       allow_undefined_flag_GO=unsupported
25354       shrext_cmds=.dll
25355       archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25356         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25357         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25358         $ECHO EXPORTS >> $output_objdir/$libname.def~
25359         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
25360         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25361         emximp -o $lib $output_objdir/$libname.def'
25362       archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
25363         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
25364         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
25365         $ECHO EXPORTS >> $output_objdir/$libname.def~
25366         prefix_cmds="$SED"~
25367         if test EXPORTS = "`$SED 1q $export_symbols`"; then
25368           prefix_cmds="$prefix_cmds -e 1d";
25369         fi~
25370         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
25371         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
25372         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
25373         emximp -o $lib $output_objdir/$libname.def'
25374       old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
25375       enable_shared_with_static_runtimes_GO=yes
25376       ;;
25377
25378     interix[3-9]*)
25379       hardcode_direct_GO=no
25380       hardcode_shlibpath_var_GO=no
25381       hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
25382       export_dynamic_flag_spec_GO='$wl-E'
25383       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
25384       # Instead, shared libraries are loaded at an image base (0x10000000 by
25385       # default) and relocated if they conflict, which is a slow very memory
25386       # consuming and fragmenting process.  To avoid this, we pick a random,
25387       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
25388       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
25389       archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
25390       archive_expsym_cmds_GO='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'
25391       ;;
25392
25393     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
25394       tmp_diet=no
25395       if test linux-dietlibc = "$host_os"; then
25396         case $cc_basename in
25397           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
25398         esac
25399       fi
25400       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
25401          && test no = "$tmp_diet"
25402       then
25403         tmp_addflag=' $pic_flag'
25404         tmp_sharedflag='-shared'
25405         case $cc_basename,$host_cpu in
25406         pgcc*)                          # Portland Group C compiler
25407           whole_archive_flag_spec_GO='$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'
25408           tmp_addflag=' $pic_flag'
25409           ;;
25410         pgf77* | pgf90* | pgf95* | pgfortran*)
25411                                         # Portland Group f77 and f90 compilers
25412           whole_archive_flag_spec_GO='$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'
25413           tmp_addflag=' $pic_flag -Mnomain' ;;
25414         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
25415           tmp_addflag=' -i_dynamic' ;;
25416         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
25417           tmp_addflag=' -i_dynamic -nofor_main' ;;
25418         ifc* | ifort*)                  # Intel Fortran compiler
25419           tmp_addflag=' -nofor_main' ;;
25420         lf95*)                          # Lahey Fortran 8.1
25421           whole_archive_flag_spec_GO=
25422           tmp_sharedflag='--shared' ;;
25423         nagfor*)                        # NAGFOR 5.3
25424           tmp_sharedflag='-Wl,-shared' ;;
25425         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
25426           tmp_sharedflag='-qmkshrobj'
25427           tmp_addflag= ;;
25428         nvcc*)  # Cuda Compiler Driver 2.2
25429           whole_archive_flag_spec_GO='$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'
25430           compiler_needs_object_GO=yes
25431           ;;
25432         esac
25433         case `$CC -V 2>&1 | sed 5q` in
25434         *Sun\ C*)                       # Sun C 5.9
25435           whole_archive_flag_spec_GO='$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'
25436           compiler_needs_object_GO=yes
25437           tmp_sharedflag='-G' ;;
25438         *Sun\ F*)                       # Sun Fortran 8.3
25439           tmp_sharedflag='-G' ;;
25440         esac
25441         archive_cmds_GO='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25442
25443         if test yes = "$supports_anon_versioning"; then
25444           archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25445             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25446             echo "local: *; };" >> $output_objdir/$libname.ver~
25447             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
25448         fi
25449
25450         case $cc_basename in
25451         tcc*)
25452           export_dynamic_flag_spec_GO='-rdynamic'
25453           ;;
25454         xlf* | bgf* | bgxlf* | mpixlf*)
25455           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
25456           whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
25457           hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25458           archive_cmds_GO='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
25459           if test yes = "$supports_anon_versioning"; then
25460             archive_expsym_cmds_GO='echo "{ global:" > $output_objdir/$libname.ver~
25461               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
25462               echo "local: *; };" >> $output_objdir/$libname.ver~
25463               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
25464           fi
25465           ;;
25466         esac
25467       else
25468         ld_shlibs_GO=no
25469       fi
25470       ;;
25471
25472     netbsd*)
25473       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
25474         archive_cmds_GO='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
25475         wlarc=
25476       else
25477         archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25478         archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25479       fi
25480       ;;
25481
25482     solaris*)
25483       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
25484         ld_shlibs_GO=no
25485         cat <<_LT_EOF 1>&2
25486
25487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
25488 *** create shared libraries on Solaris systems.  Therefore, libtool
25489 *** is disabling shared libraries support.  We urge you to upgrade GNU
25490 *** binutils to release 2.9.1 or newer.  Another option is to modify
25491 *** your PATH or compiler configuration so that the native linker is
25492 *** used, and then restart.
25493
25494 _LT_EOF
25495       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25496         archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25497         archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25498       else
25499         ld_shlibs_GO=no
25500       fi
25501       ;;
25502
25503     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
25504       case `$LD -v 2>&1` in
25505         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
25506         ld_shlibs_GO=no
25507         cat <<_LT_EOF 1>&2
25508
25509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
25510 *** reliably create shared libraries on SCO systems.  Therefore, libtool
25511 *** is disabling shared libraries support.  We urge you to upgrade GNU
25512 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
25513 *** your PATH or compiler configuration so that the native linker is
25514 *** used, and then restart.
25515
25516 _LT_EOF
25517         ;;
25518         *)
25519           # For security reasons, it is highly recommended that you always
25520           # use absolute paths for naming shared libraries, and exclude the
25521           # DT_RUNPATH tag from executables and libraries.  But doing so
25522           # requires that you compile everything twice, which is a pain.
25523           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25524             hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
25525             archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25526             archive_expsym_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25527           else
25528             ld_shlibs_GO=no
25529           fi
25530         ;;
25531       esac
25532       ;;
25533
25534     sunos4*)
25535       archive_cmds_GO='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25536       wlarc=
25537       hardcode_direct_GO=yes
25538       hardcode_shlibpath_var_GO=no
25539       ;;
25540
25541     *)
25542       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
25543         archive_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25544         archive_expsym_cmds_GO='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
25545       else
25546         ld_shlibs_GO=no
25547       fi
25548       ;;
25549     esac
25550
25551     if test no = "$ld_shlibs_GO"; then
25552       runpath_var=
25553       hardcode_libdir_flag_spec_GO=
25554       export_dynamic_flag_spec_GO=
25555       whole_archive_flag_spec_GO=
25556     fi
25557   else
25558     # PORTME fill in a description of your system's linker (not GNU ld)
25559     case $host_os in
25560     aix3*)
25561       allow_undefined_flag_GO=unsupported
25562       always_export_symbols_GO=yes
25563       archive_expsym_cmds_GO='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
25564       # Note: this linker hardcodes the directories in LIBPATH if there
25565       # are no directories specified by -L.
25566       hardcode_minus_L_GO=yes
25567       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
25568         # Neither direct hardcoding nor static linking is supported with a
25569         # broken collect2.
25570         hardcode_direct_GO=unsupported
25571       fi
25572       ;;
25573
25574     aix[4-9]*)
25575       if test ia64 = "$host_cpu"; then
25576         # On IA64, the linker does run time linking by default, so we don't
25577         # have to do anything special.
25578         aix_use_runtimelinking=no
25579         exp_sym_flag='-Bexport'
25580         no_entry_flag=
25581       else
25582         # If we're using GNU nm, then we don't want the "-C" option.
25583         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
25584         # Without the "-l" option, or with the "-B" option, AIX nm treats
25585         # weak defined symbols like other global defined symbols, whereas
25586         # GNU nm marks them as "W".
25587         # While the 'weak' keyword is ignored in the Export File, we need
25588         # it in the Import File for the 'aix-soname' feature, so we have
25589         # to replace the "-B" option with "-P" for AIX nm.
25590         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
25591           export_symbols_cmds_GO='$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'
25592         else
25593           export_symbols_cmds_GO='`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'
25594         fi
25595         aix_use_runtimelinking=no
25596
25597         # Test if we are trying to use run time linking or normal
25598         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
25599         # have runtime linking enabled, and use it for executables.
25600         # For shared libraries, we enable/disable runtime linking
25601         # depending on the kind of the shared library created -
25602         # when "with_aix_soname,aix_use_runtimelinking" is:
25603         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
25604         # "aix,yes"  lib.so          shared, rtl:yes, for executables
25605         #            lib.a           static archive
25606         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
25607         #            lib.a(lib.so.V) shared, rtl:no,  for executables
25608         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
25609         #            lib.a(lib.so.V) shared, rtl:no
25610         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
25611         #            lib.a           static archive
25612         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
25613           for ld_flag in $LDFLAGS; do
25614           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
25615             aix_use_runtimelinking=yes
25616             break
25617           fi
25618           done
25619           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
25620             # With aix-soname=svr4, we create the lib.so.V shared archives only,
25621             # so we don't have lib.a shared libs to link our executables.
25622             # We have to force runtime linking in this case.
25623             aix_use_runtimelinking=yes
25624             LDFLAGS="$LDFLAGS -Wl,-brtl"
25625           fi
25626           ;;
25627         esac
25628
25629         exp_sym_flag='-bexport'
25630         no_entry_flag='-bnoentry'
25631       fi
25632
25633       # When large executables or shared objects are built, AIX ld can
25634       # have problems creating the table of contents.  If linking a library
25635       # or program results in "error TOC overflow" add -mminimal-toc to
25636       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
25637       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
25638
25639       archive_cmds_GO=''
25640       hardcode_direct_GO=yes
25641       hardcode_direct_absolute_GO=yes
25642       hardcode_libdir_separator_GO=':'
25643       link_all_deplibs_GO=yes
25644       file_list_spec_GO='$wl-f,'
25645       case $with_aix_soname,$aix_use_runtimelinking in
25646       aix,*) ;; # traditional, no import file
25647       svr4,* | *,yes) # use import file
25648         # The Import File defines what to hardcode.
25649         hardcode_direct_GO=no
25650         hardcode_direct_absolute_GO=no
25651         ;;
25652       esac
25653
25654       if test yes = "$GCC"; then
25655         case $host_os in aix4.[012]|aix4.[012].*)
25656         # We only want to do this on AIX 4.2 and lower, the check
25657         # below for broken collect2 doesn't work under 4.3+
25658           collect2name=`$CC -print-prog-name=collect2`
25659           if test -f "$collect2name" &&
25660            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
25661           then
25662           # We have reworked collect2
25663           :
25664           else
25665           # We have old collect2
25666           hardcode_direct_GO=unsupported
25667           # It fails to find uninstalled libraries when the uninstalled
25668           # path is not listed in the libpath.  Setting hardcode_minus_L
25669           # to unsupported forces relinking
25670           hardcode_minus_L_GO=yes
25671           hardcode_libdir_flag_spec_GO='-L$libdir'
25672           hardcode_libdir_separator_GO=
25673           fi
25674           ;;
25675         esac
25676         shared_flag='-shared'
25677         if test yes = "$aix_use_runtimelinking"; then
25678           shared_flag="$shared_flag "'$wl-G'
25679         fi
25680         # Need to ensure runtime linking is disabled for the traditional
25681         # shared library, or the linker may eventually find shared libraries
25682         # /with/ Import File - we do not want to mix them.
25683         shared_flag_aix='-shared'
25684         shared_flag_svr4='-shared $wl-G'
25685       else
25686         # not using gcc
25687         if test ia64 = "$host_cpu"; then
25688         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
25689         # chokes on -Wl,-G. The following line is correct:
25690           shared_flag='-G'
25691         else
25692           if test yes = "$aix_use_runtimelinking"; then
25693             shared_flag='$wl-G'
25694           else
25695             shared_flag='$wl-bM:SRE'
25696           fi
25697           shared_flag_aix='$wl-bM:SRE'
25698           shared_flag_svr4='$wl-G'
25699         fi
25700       fi
25701
25702       export_dynamic_flag_spec_GO='$wl-bexpall'
25703       # It seems that -bexpall does not export symbols beginning with
25704       # underscore (_), so it is better to generate a list of symbols to export.
25705       always_export_symbols_GO=yes
25706       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
25707         # Warning - without using the other runtime loading flags (-brtl),
25708         # -berok will link without error, but may produce a broken library.
25709         allow_undefined_flag_GO='-berok'
25710         # Determine the default libpath from the value encoded in an
25711         # empty executable.
25712         if test set = "${lt_cv_aix_libpath+set}"; then
25713   aix_libpath=$lt_cv_aix_libpath
25714 else
25715   if ${lt_cv_aix_libpath__GO+:} false; then :
25716   $as_echo_n "(cached) " >&6
25717 else
25718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25719 /* end confdefs.h.  */
25720
25721 int
25722 main ()
25723 {
25724
25725   ;
25726   return 0;
25727 }
25728 _ACEOF
25729 if ac_fn_c_try_link "$LINENO"; then :
25730
25731   lt_aix_libpath_sed='
25732       /Import File Strings/,/^$/ {
25733           /^0/ {
25734               s/^0  *\([^ ]*\) *$/\1/
25735               p
25736           }
25737       }'
25738   lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25739   # Check for a 64-bit object if we didn't find anything.
25740   if test -z "$lt_cv_aix_libpath__GO"; then
25741     lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25742   fi
25743 fi
25744 rm -f core conftest.err conftest.$ac_objext \
25745     conftest$ac_exeext conftest.$ac_ext
25746   if test -z "$lt_cv_aix_libpath__GO"; then
25747     lt_cv_aix_libpath__GO=/usr/lib:/lib
25748   fi
25749
25750 fi
25751
25752   aix_libpath=$lt_cv_aix_libpath__GO
25753 fi
25754
25755         hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
25756         archive_expsym_cmds_GO='$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
25757       else
25758         if test ia64 = "$host_cpu"; then
25759           hardcode_libdir_flag_spec_GO='$wl-R $libdir:/usr/lib:/lib'
25760           allow_undefined_flag_GO="-z nodefs"
25761           archive_expsym_cmds_GO="\$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"
25762         else
25763          # Determine the default libpath from the value encoded in an
25764          # empty executable.
25765          if test set = "${lt_cv_aix_libpath+set}"; then
25766   aix_libpath=$lt_cv_aix_libpath
25767 else
25768   if ${lt_cv_aix_libpath__GO+:} false; then :
25769   $as_echo_n "(cached) " >&6
25770 else
25771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h.  */
25773
25774 int
25775 main ()
25776 {
25777
25778   ;
25779   return 0;
25780 }
25781 _ACEOF
25782 if ac_fn_c_try_link "$LINENO"; then :
25783
25784   lt_aix_libpath_sed='
25785       /Import File Strings/,/^$/ {
25786           /^0/ {
25787               s/^0  *\([^ ]*\) *$/\1/
25788               p
25789           }
25790       }'
25791   lt_cv_aix_libpath__GO=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25792   # Check for a 64-bit object if we didn't find anything.
25793   if test -z "$lt_cv_aix_libpath__GO"; then
25794     lt_cv_aix_libpath__GO=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
25795   fi
25796 fi
25797 rm -f core conftest.err conftest.$ac_objext \
25798     conftest$ac_exeext conftest.$ac_ext
25799   if test -z "$lt_cv_aix_libpath__GO"; then
25800     lt_cv_aix_libpath__GO=/usr/lib:/lib
25801   fi
25802
25803 fi
25804
25805   aix_libpath=$lt_cv_aix_libpath__GO
25806 fi
25807
25808          hardcode_libdir_flag_spec_GO='$wl-blibpath:$libdir:'"$aix_libpath"
25809           # Warning - without using the other run time loading flags,
25810           # -berok will link without error, but may produce a broken library.
25811           no_undefined_flag_GO=' $wl-bernotok'
25812           allow_undefined_flag_GO=' $wl-berok'
25813           if test yes = "$with_gnu_ld"; then
25814             # We only use this code for GNU lds that support --whole-archive.
25815             whole_archive_flag_spec_GO='$wl--whole-archive$convenience $wl--no-whole-archive'
25816           else
25817             # Exported symbols can be pulled into shared objects from archives
25818             whole_archive_flag_spec_GO='$convenience'
25819           fi
25820           archive_cmds_need_lc_GO=yes
25821           archive_expsym_cmds_GO='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
25822           # -brtl affects multiple linker settings, -berok does not and is overridden later
25823           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
25824           if test svr4 != "$with_aix_soname"; then
25825             # This is similar to how AIX traditionally builds its shared libraries.
25826             archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$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'
25827           fi
25828           if test aix != "$with_aix_soname"; then
25829             archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$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'
25830           else
25831             # used by -dlpreopen to get the symbols
25832             archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
25833           fi
25834           archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$RM -r $output_objdir/$realname.d'
25835         fi
25836       fi
25837       ;;
25838
25839     amigaos*)
25840       case $host_cpu in
25841       powerpc)
25842             # see comment about AmigaOS4 .so support
25843             archive_cmds_GO='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
25844             archive_expsym_cmds_GO=''
25845         ;;
25846       m68k)
25847             archive_cmds_GO='$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)'
25848             hardcode_libdir_flag_spec_GO='-L$libdir'
25849             hardcode_minus_L_GO=yes
25850         ;;
25851       esac
25852       ;;
25853
25854     bsdi[45]*)
25855       export_dynamic_flag_spec_GO=-rdynamic
25856       ;;
25857
25858     cygwin* | mingw* | pw32* | cegcc*)
25859       # When not using gcc, we currently assume that we are using
25860       # Microsoft Visual C++.
25861       # hardcode_libdir_flag_spec is actually meaningless, as there is
25862       # no search path for DLLs.
25863       case $cc_basename in
25864       cl*)
25865         # Native MSVC
25866         hardcode_libdir_flag_spec_GO=' '
25867         allow_undefined_flag_GO=unsupported
25868         always_export_symbols_GO=yes
25869         file_list_spec_GO='@'
25870         # Tell ltmain to make .lib files, not .a files.
25871         libext=lib
25872         # Tell ltmain to make .dll files, not .so files.
25873         shrext_cmds=.dll
25874         # FIXME: Setting linknames here is a bad hack.
25875         archive_cmds_GO='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
25876         archive_expsym_cmds_GO='if   test DEF = "`$SED -n     -e '\''s/^[        ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
25877             cp "$export_symbols" "$output_objdir/$soname.def";
25878             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
25879           else
25880             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
25881           fi~
25882           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
25883           linknames='
25884         # The linker will not automatically build a static lib if we build a DLL.
25885         # _LT_TAGVAR(old_archive_from_new_cmds, GO)='true'
25886         enable_shared_with_static_runtimes_GO=yes
25887         exclude_expsyms_GO='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
25888         export_symbols_cmds_GO='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
25889         # Don't use ranlib
25890         old_postinstall_cmds_GO='chmod 644 $oldlib'
25891         postlink_cmds_GO='lt_outputfile="@OUTPUT@"~
25892           lt_tool_outputfile="@TOOL_OUTPUT@"~
25893           case $lt_outputfile in
25894             *.exe|*.EXE) ;;
25895             *)
25896               lt_outputfile=$lt_outputfile.exe
25897               lt_tool_outputfile=$lt_tool_outputfile.exe
25898               ;;
25899           esac~
25900           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
25901             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
25902             $RM "$lt_outputfile.manifest";
25903           fi'
25904         ;;
25905       *)
25906         # Assume MSVC wrapper
25907         hardcode_libdir_flag_spec_GO=' '
25908         allow_undefined_flag_GO=unsupported
25909         # Tell ltmain to make .lib files, not .a files.
25910         libext=lib
25911         # Tell ltmain to make .dll files, not .so files.
25912         shrext_cmds=.dll
25913         # FIXME: Setting linknames here is a bad hack.
25914         archive_cmds_GO='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
25915         # The linker will automatically build a .lib file if we build a DLL.
25916         old_archive_from_new_cmds_GO='true'
25917         # FIXME: Should let the user specify the lib program.
25918         old_archive_cmds_GO='lib -OUT:$oldlib$oldobjs$old_deplibs'
25919         enable_shared_with_static_runtimes_GO=yes
25920         ;;
25921       esac
25922       ;;
25923
25924     darwin* | rhapsody*)
25925
25926
25927   archive_cmds_need_lc_GO=no
25928   hardcode_direct_GO=no
25929   hardcode_automatic_GO=yes
25930   hardcode_shlibpath_var_GO=unsupported
25931   if test yes = "$lt_cv_ld_force_load"; then
25932     whole_archive_flag_spec_GO='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
25933
25934   else
25935     whole_archive_flag_spec_GO=''
25936   fi
25937   link_all_deplibs_GO=yes
25938   allow_undefined_flag_GO=$_lt_dar_allow_undefined
25939   case $cc_basename in
25940      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
25941      *) _lt_dar_can_shared=$GCC ;;
25942   esac
25943   if test yes = "$_lt_dar_can_shared"; then
25944     output_verbose_link_cmd=func_echo_all
25945     archive_cmds_GO="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
25946     module_cmds_GO="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
25947     archive_expsym_cmds_GO="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"
25948     module_expsym_cmds_GO="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"
25949
25950   else
25951   ld_shlibs_GO=no
25952   fi
25953
25954       ;;
25955
25956     dgux*)
25957       archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
25958       hardcode_libdir_flag_spec_GO='-L$libdir'
25959       hardcode_shlibpath_var_GO=no
25960       ;;
25961
25962     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
25963     # support.  Future versions do this automatically, but an explicit c++rt0.o
25964     # does not break anything, and helps significantly (at the cost of a little
25965     # extra space).
25966     freebsd2.2*)
25967       archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
25968       hardcode_libdir_flag_spec_GO='-R$libdir'
25969       hardcode_direct_GO=yes
25970       hardcode_shlibpath_var_GO=no
25971       ;;
25972
25973     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
25974     freebsd2.*)
25975       archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
25976       hardcode_direct_GO=yes
25977       hardcode_minus_L_GO=yes
25978       hardcode_shlibpath_var_GO=no
25979       ;;
25980
25981     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
25982     freebsd* | dragonfly*)
25983       archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
25984       hardcode_libdir_flag_spec_GO='-R$libdir'
25985       hardcode_direct_GO=yes
25986       hardcode_shlibpath_var_GO=no
25987       ;;
25988
25989     hpux9*)
25990       if test yes = "$GCC"; then
25991         archive_cmds_GO='$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'
25992       else
25993         archive_cmds_GO='$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'
25994       fi
25995       hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
25996       hardcode_libdir_separator_GO=:
25997       hardcode_direct_GO=yes
25998
25999       # hardcode_minus_L: Not really in the search PATH,
26000       # but as the default location of the library.
26001       hardcode_minus_L_GO=yes
26002       export_dynamic_flag_spec_GO='$wl-E'
26003       ;;
26004
26005     hpux10*)
26006       if test yes,no = "$GCC,$with_gnu_ld"; then
26007         archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26008       else
26009         archive_cmds_GO='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
26010       fi
26011       if test no = "$with_gnu_ld"; then
26012         hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26013         hardcode_libdir_separator_GO=:
26014         hardcode_direct_GO=yes
26015         hardcode_direct_absolute_GO=yes
26016         export_dynamic_flag_spec_GO='$wl-E'
26017         # hardcode_minus_L: Not really in the search PATH,
26018         # but as the default location of the library.
26019         hardcode_minus_L_GO=yes
26020       fi
26021       ;;
26022
26023     hpux11*)
26024       if test yes,no = "$GCC,$with_gnu_ld"; then
26025         case $host_cpu in
26026         hppa*64*)
26027           archive_cmds_GO='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26028           ;;
26029         ia64*)
26030           archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26031           ;;
26032         *)
26033           archive_cmds_GO='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26034           ;;
26035         esac
26036       else
26037         case $host_cpu in
26038         hppa*64*)
26039           archive_cmds_GO='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26040           ;;
26041         ia64*)
26042           archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
26043           ;;
26044         *)
26045         archive_cmds_GO='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
26046           ;;
26047         esac
26048       fi
26049       if test no = "$with_gnu_ld"; then
26050         hardcode_libdir_flag_spec_GO='$wl+b $wl$libdir'
26051         hardcode_libdir_separator_GO=:
26052
26053         case $host_cpu in
26054         hppa*64*|ia64*)
26055           hardcode_direct_GO=no
26056           hardcode_shlibpath_var_GO=no
26057           ;;
26058         *)
26059           hardcode_direct_GO=yes
26060           hardcode_direct_absolute_GO=yes
26061           export_dynamic_flag_spec_GO='$wl-E'
26062
26063           # hardcode_minus_L: Not really in the search PATH,
26064           # but as the default location of the library.
26065           hardcode_minus_L_GO=yes
26066           ;;
26067         esac
26068       fi
26069       ;;
26070
26071     irix5* | irix6* | nonstopux*)
26072       if test yes = "$GCC"; then
26073         archive_cmds_GO='$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'
26074         # Try to use the -exported_symbol ld option, if it does not
26075         # work, assume that -exports_file does not work either and
26076         # implicitly export all symbols.
26077         # This should be the same for all languages, so no per-tag cache variable.
26078         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
26079 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
26080 if ${lt_cv_irix_exported_symbol+:} false; then :
26081   $as_echo_n "(cached) " >&6
26082 else
26083   save_LDFLAGS=$LDFLAGS
26084            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
26085            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26086 /* end confdefs.h.  */
26087 int foo (void) { return 0; }
26088 _ACEOF
26089 if ac_fn_c_try_link "$LINENO"; then :
26090   lt_cv_irix_exported_symbol=yes
26091 else
26092   lt_cv_irix_exported_symbol=no
26093 fi
26094 rm -f core conftest.err conftest.$ac_objext \
26095     conftest$ac_exeext conftest.$ac_ext
26096            LDFLAGS=$save_LDFLAGS
26097 fi
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
26099 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
26100         if test yes = "$lt_cv_irix_exported_symbol"; then
26101           archive_expsym_cmds_GO='$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'
26102         fi
26103       else
26104         archive_cmds_GO='$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'
26105         archive_expsym_cmds_GO='$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'
26106       fi
26107       archive_cmds_need_lc_GO='no'
26108       hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26109       hardcode_libdir_separator_GO=:
26110       inherit_rpath_GO=yes
26111       link_all_deplibs_GO=yes
26112       ;;
26113
26114     linux*)
26115       case $cc_basename in
26116       tcc*)
26117         # Fabrice Bellard et al's Tiny C Compiler
26118         ld_shlibs_GO=yes
26119         archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26120         ;;
26121       esac
26122       ;;
26123
26124     netbsd*)
26125       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
26126         archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
26127       else
26128         archive_cmds_GO='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
26129       fi
26130       hardcode_libdir_flag_spec_GO='-R$libdir'
26131       hardcode_direct_GO=yes
26132       hardcode_shlibpath_var_GO=no
26133       ;;
26134
26135     newsos6)
26136       archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26137       hardcode_direct_GO=yes
26138       hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26139       hardcode_libdir_separator_GO=:
26140       hardcode_shlibpath_var_GO=no
26141       ;;
26142
26143     *nto* | *qnx*)
26144       ;;
26145
26146     openbsd* | bitrig*)
26147       if test -f /usr/libexec/ld.so; then
26148         hardcode_direct_GO=yes
26149         hardcode_shlibpath_var_GO=no
26150         hardcode_direct_absolute_GO=yes
26151         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
26152           archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26153           archive_expsym_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
26154           hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26155           export_dynamic_flag_spec_GO='$wl-E'
26156         else
26157           archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
26158           hardcode_libdir_flag_spec_GO='$wl-rpath,$libdir'
26159         fi
26160       else
26161         ld_shlibs_GO=no
26162       fi
26163       ;;
26164
26165     os2*)
26166       hardcode_libdir_flag_spec_GO='-L$libdir'
26167       hardcode_minus_L_GO=yes
26168       allow_undefined_flag_GO=unsupported
26169       shrext_cmds=.dll
26170       archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26171         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26172         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26173         $ECHO EXPORTS >> $output_objdir/$libname.def~
26174         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
26175         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26176         emximp -o $lib $output_objdir/$libname.def'
26177       archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
26178         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
26179         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
26180         $ECHO EXPORTS >> $output_objdir/$libname.def~
26181         prefix_cmds="$SED"~
26182         if test EXPORTS = "`$SED 1q $export_symbols`"; then
26183           prefix_cmds="$prefix_cmds -e 1d";
26184         fi~
26185         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
26186         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
26187         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
26188         emximp -o $lib $output_objdir/$libname.def'
26189       old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
26190       enable_shared_with_static_runtimes_GO=yes
26191       ;;
26192
26193     osf3*)
26194       if test yes = "$GCC"; then
26195         allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26196         archive_cmds_GO='$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'
26197       else
26198         allow_undefined_flag_GO=' -expect_unresolved \*'
26199         archive_cmds_GO='$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'
26200       fi
26201       archive_cmds_need_lc_GO='no'
26202       hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26203       hardcode_libdir_separator_GO=:
26204       ;;
26205
26206     osf4* | osf5*)      # as osf3* with the addition of -msym flag
26207       if test yes = "$GCC"; then
26208         allow_undefined_flag_GO=' $wl-expect_unresolved $wl\*'
26209         archive_cmds_GO='$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'
26210         hardcode_libdir_flag_spec_GO='$wl-rpath $wl$libdir'
26211       else
26212         allow_undefined_flag_GO=' -expect_unresolved \*'
26213         archive_cmds_GO='$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'
26214         archive_expsym_cmds_GO='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
26215           $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'
26216
26217         # Both c and cxx compiler support -rpath directly
26218         hardcode_libdir_flag_spec_GO='-rpath $libdir'
26219       fi
26220       archive_cmds_need_lc_GO='no'
26221       hardcode_libdir_separator_GO=:
26222       ;;
26223
26224     solaris*)
26225       no_undefined_flag_GO=' -z defs'
26226       if test yes = "$GCC"; then
26227         wlarc='$wl'
26228         archive_cmds_GO='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
26229         archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26230           $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'
26231       else
26232         case `$CC -V 2>&1` in
26233         *"Compilers 5.0"*)
26234           wlarc=''
26235           archive_cmds_GO='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
26236           archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26237             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
26238           ;;
26239         *)
26240           wlarc='$wl'
26241           archive_cmds_GO='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
26242           archive_expsym_cmds_GO='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
26243             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
26244           ;;
26245         esac
26246       fi
26247       hardcode_libdir_flag_spec_GO='-R$libdir'
26248       hardcode_shlibpath_var_GO=no
26249       case $host_os in
26250       solaris2.[0-5] | solaris2.[0-5].*) ;;
26251       *)
26252         # The compiler driver will combine and reorder linker options,
26253         # but understands '-z linker_flag'.  GCC discards it without '$wl',
26254         # but is careful enough not to reorder.
26255         # Supported since Solaris 2.6 (maybe 2.5.1?)
26256         if test yes = "$GCC"; then
26257           whole_archive_flag_spec_GO='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
26258         else
26259           whole_archive_flag_spec_GO='-z allextract$convenience -z defaultextract'
26260         fi
26261         ;;
26262       esac
26263       link_all_deplibs_GO=yes
26264       ;;
26265
26266     sunos4*)
26267       if test sequent = "$host_vendor"; then
26268         # Use $CC to link under sequent, because it throws in some extra .o
26269         # files that make .init and .fini sections work.
26270         archive_cmds_GO='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
26271       else
26272         archive_cmds_GO='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
26273       fi
26274       hardcode_libdir_flag_spec_GO='-L$libdir'
26275       hardcode_direct_GO=yes
26276       hardcode_minus_L_GO=yes
26277       hardcode_shlibpath_var_GO=no
26278       ;;
26279
26280     sysv4)
26281       case $host_vendor in
26282         sni)
26283           archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26284           hardcode_direct_GO=yes # is this really true???
26285         ;;
26286         siemens)
26287           ## LD is ld it makes a PLAMLIB
26288           ## CC just makes a GrossModule.
26289           archive_cmds_GO='$LD -G -o $lib $libobjs $deplibs $linker_flags'
26290           reload_cmds_GO='$CC -r -o $output$reload_objs'
26291           hardcode_direct_GO=no
26292         ;;
26293         motorola)
26294           archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26295           hardcode_direct_GO=no #Motorola manual says yes, but my tests say they lie
26296         ;;
26297       esac
26298       runpath_var='LD_RUN_PATH'
26299       hardcode_shlibpath_var_GO=no
26300       ;;
26301
26302     sysv4.3*)
26303       archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26304       hardcode_shlibpath_var_GO=no
26305       export_dynamic_flag_spec_GO='-Bexport'
26306       ;;
26307
26308     sysv4*MP*)
26309       if test -d /usr/nec; then
26310         archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26311         hardcode_shlibpath_var_GO=no
26312         runpath_var=LD_RUN_PATH
26313         hardcode_runpath_var=yes
26314         ld_shlibs_GO=yes
26315       fi
26316       ;;
26317
26318     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
26319       no_undefined_flag_GO='$wl-z,text'
26320       archive_cmds_need_lc_GO=no
26321       hardcode_shlibpath_var_GO=no
26322       runpath_var='LD_RUN_PATH'
26323
26324       if test yes = "$GCC"; then
26325         archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26326         archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26327       else
26328         archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26329         archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26330       fi
26331       ;;
26332
26333     sysv5* | sco3.2v5* | sco5v6*)
26334       # Note: We CANNOT use -z defs as we might desire, because we do not
26335       # link with -lc, and that would cause any symbols used from libc to
26336       # always be unresolved, which means just about no library would
26337       # ever link correctly.  If we're not using GNU ld we use -z text
26338       # though, which does catch some bad symbols but isn't as heavy-handed
26339       # as -z defs.
26340       no_undefined_flag_GO='$wl-z,text'
26341       allow_undefined_flag_GO='$wl-z,nodefs'
26342       archive_cmds_need_lc_GO=no
26343       hardcode_shlibpath_var_GO=no
26344       hardcode_libdir_flag_spec_GO='$wl-R,$libdir'
26345       hardcode_libdir_separator_GO=':'
26346       link_all_deplibs_GO=yes
26347       export_dynamic_flag_spec_GO='$wl-Bexport'
26348       runpath_var='LD_RUN_PATH'
26349
26350       if test yes = "$GCC"; then
26351         archive_cmds_GO='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26352         archive_expsym_cmds_GO='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26353       else
26354         archive_cmds_GO='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26355         archive_expsym_cmds_GO='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
26356       fi
26357       ;;
26358
26359     uts4*)
26360       archive_cmds_GO='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
26361       hardcode_libdir_flag_spec_GO='-L$libdir'
26362       hardcode_shlibpath_var_GO=no
26363       ;;
26364
26365     *)
26366       ld_shlibs_GO=no
26367       ;;
26368     esac
26369
26370     if test sni = "$host_vendor"; then
26371       case $host in
26372       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
26373         export_dynamic_flag_spec_GO='$wl-Blargedynsym'
26374         ;;
26375       esac
26376     fi
26377   fi
26378
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GO" >&5
26380 $as_echo "$ld_shlibs_GO" >&6; }
26381 test no = "$ld_shlibs_GO" && can_build_shared=no
26382
26383 with_gnu_ld_GO=$with_gnu_ld
26384
26385
26386
26387
26388
26389
26390 #
26391 # Do we need to explicitly link libc?
26392 #
26393 case "x$archive_cmds_need_lc_GO" in
26394 x|xyes)
26395   # Assume -lc should be added
26396   archive_cmds_need_lc_GO=yes
26397
26398   if test yes,yes = "$GCC,$enable_shared"; then
26399     case $archive_cmds_GO in
26400     *'~'*)
26401       # FIXME: we may have to deal with multi-command sequences.
26402       ;;
26403     '$CC '*)
26404       # Test whether the compiler implicitly links with -lc since on some
26405       # systems, -lgcc has to come before -lc. If gcc already passes -lc
26406       # to ld, don't add -lc before -lgcc.
26407       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
26408 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
26409 if ${lt_cv_archive_cmds_need_lc_GO+:} false; then :
26410   $as_echo_n "(cached) " >&6
26411 else
26412   $RM conftest*
26413         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26414
26415         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
26416   (eval $ac_compile) 2>&5
26417   ac_status=$?
26418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26419   test $ac_status = 0; } 2>conftest.err; then
26420           soname=conftest
26421           lib=conftest
26422           libobjs=conftest.$ac_objext
26423           deplibs=
26424           wl=$lt_prog_compiler_wl_GO
26425           pic_flag=$lt_prog_compiler_pic_GO
26426           compiler_flags=-v
26427           linker_flags=-v
26428           verstring=
26429           output_objdir=.
26430           libname=conftest
26431           lt_save_allow_undefined_flag=$allow_undefined_flag_GO
26432           allow_undefined_flag_GO=
26433           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
26434   (eval $archive_cmds_GO 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
26435   ac_status=$?
26436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26437   test $ac_status = 0; }
26438           then
26439             lt_cv_archive_cmds_need_lc_GO=no
26440           else
26441             lt_cv_archive_cmds_need_lc_GO=yes
26442           fi
26443           allow_undefined_flag_GO=$lt_save_allow_undefined_flag
26444         else
26445           cat conftest.err 1>&5
26446         fi
26447         $RM conftest*
26448
26449 fi
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GO" >&5
26451 $as_echo "$lt_cv_archive_cmds_need_lc_GO" >&6; }
26452       archive_cmds_need_lc_GO=$lt_cv_archive_cmds_need_lc_GO
26453       ;;
26454     esac
26455   fi
26456   ;;
26457 esac
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
26521 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
26522 hardcode_action_GO=
26523 if test -n "$hardcode_libdir_flag_spec_GO" ||
26524    test -n "$runpath_var_GO" ||
26525    test yes = "$hardcode_automatic_GO"; then
26526
26527   # We can hardcode non-existent directories.
26528   if test no != "$hardcode_direct_GO" &&
26529      # If the only mechanism to avoid hardcoding is shlibpath_var, we
26530      # have to relink, otherwise we might link with an installed library
26531      # when we should be linking with a yet-to-be-installed one
26532      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GO)" &&
26533      test no != "$hardcode_minus_L_GO"; then
26534     # Linking always hardcodes the temporary library directory.
26535     hardcode_action_GO=relink
26536   else
26537     # We can link without hardcoding, and we can hardcode nonexisting dirs.
26538     hardcode_action_GO=immediate
26539   fi
26540 else
26541   # We cannot hardcode anything, or else we can only hardcode existing
26542   # directories.
26543   hardcode_action_GO=unsupported
26544 fi
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GO" >&5
26546 $as_echo "$hardcode_action_GO" >&6; }
26547
26548 if test relink = "$hardcode_action_GO" ||
26549    test yes = "$inherit_rpath_GO"; then
26550   # Fast installation is not supported
26551   enable_fast_install=no
26552 elif test yes = "$shlibpath_overrides_runpath" ||
26553      test no = "$enable_shared"; then
26554   # Fast installation is not necessary
26555   enable_fast_install=needless
26556 fi
26557
26558
26559
26560
26561
26562
26563
26564 fi
26565
26566 ac_ext=c
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26571
26572
26573 GCC=$lt_save_GCC
26574 CC=$lt_save_CC
26575 CFLAGS=$lt_save_CFLAGS
26576
26577 if test -n "$ac_tool_prefix"; then
26578   # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
26579 set dummy ${ac_tool_prefix}gcj; ac_word=$2
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26581 $as_echo_n "checking for $ac_word... " >&6; }
26582 if ${ac_cv_prog_GCJ+:} false; then :
26583   $as_echo_n "(cached) " >&6
26584 else
26585   if test -n "$GCJ"; then
26586   ac_cv_prog_GCJ="$GCJ" # Let the user override the test.
26587 else
26588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26589 for as_dir in $PATH
26590 do
26591   IFS=$as_save_IFS
26592   test -z "$as_dir" && as_dir=.
26593     for ac_exec_ext in '' $ac_executable_extensions; do
26594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26595     ac_cv_prog_GCJ="${ac_tool_prefix}gcj"
26596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26597     break 2
26598   fi
26599 done
26600   done
26601 IFS=$as_save_IFS
26602
26603 fi
26604 fi
26605 GCJ=$ac_cv_prog_GCJ
26606 if test -n "$GCJ"; then
26607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
26608 $as_echo "$GCJ" >&6; }
26609 else
26610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26611 $as_echo "no" >&6; }
26612 fi
26613
26614
26615 fi
26616 if test -z "$ac_cv_prog_GCJ"; then
26617   ac_ct_GCJ=$GCJ
26618   # Extract the first word of "gcj", so it can be a program name with args.
26619 set dummy gcj; ac_word=$2
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26621 $as_echo_n "checking for $ac_word... " >&6; }
26622 if ${ac_cv_prog_ac_ct_GCJ+:} false; then :
26623   $as_echo_n "(cached) " >&6
26624 else
26625   if test -n "$ac_ct_GCJ"; then
26626   ac_cv_prog_ac_ct_GCJ="$ac_ct_GCJ" # Let the user override the test.
26627 else
26628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26629 for as_dir in $PATH
26630 do
26631   IFS=$as_save_IFS
26632   test -z "$as_dir" && as_dir=.
26633     for ac_exec_ext in '' $ac_executable_extensions; do
26634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26635     ac_cv_prog_ac_ct_GCJ="gcj"
26636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26637     break 2
26638   fi
26639 done
26640   done
26641 IFS=$as_save_IFS
26642
26643 fi
26644 fi
26645 ac_ct_GCJ=$ac_cv_prog_ac_ct_GCJ
26646 if test -n "$ac_ct_GCJ"; then
26647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
26648 $as_echo "$ac_ct_GCJ" >&6; }
26649 else
26650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26651 $as_echo "no" >&6; }
26652 fi
26653
26654   if test "x$ac_ct_GCJ" = x; then
26655     GCJ=""
26656   else
26657     case $cross_compiling:$ac_tool_warned in
26658 yes:)
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26661 ac_tool_warned=yes ;;
26662 esac
26663     GCJ=$ac_ct_GCJ
26664   fi
26665 else
26666   GCJ="$ac_cv_prog_GCJ"
26667 fi
26668
26669       test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
26670
26671
26672
26673 # Source file extension for Java test sources.
26674 ac_ext=java
26675
26676 # Object file extension for compiled Java test sources.
26677 objext=o
26678 objext_GCJ=$objext
26679
26680 # Code to be used in simple compile tests
26681 lt_simple_compile_test_code="class foo {}"
26682
26683 # Code to be used in simple link tests
26684 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
26685
26686 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
26687
26688
26689
26690
26691
26692
26693 # If no C compiler was specified, use CC.
26694 LTCC=${LTCC-"$CC"}
26695
26696 # If no C compiler flags were specified, use CFLAGS.
26697 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
26698
26699 # Allow CC to be a program name with arguments.
26700 compiler=$CC
26701
26702
26703 # save warnings/boilerplate of simple test code
26704 ac_outfile=conftest.$ac_objext
26705 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
26706 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26707 _lt_compiler_boilerplate=`cat conftest.err`
26708 $RM conftest*
26709
26710 ac_outfile=conftest.$ac_objext
26711 echo "$lt_simple_link_test_code" >conftest.$ac_ext
26712 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
26713 _lt_linker_boilerplate=`cat conftest.err`
26714 $RM -r conftest*
26715
26716
26717 # Allow CC to be a program name with arguments.
26718 lt_save_CC=$CC
26719 lt_save_CFLAGS=$CFLAGS
26720 lt_save_GCC=$GCC
26721 GCC=yes
26722 CC=${GCJ-"gcj"}
26723 CFLAGS=$GCJFLAGS
26724 compiler=$CC
26725 compiler_GCJ=$CC
26726 LD_GCJ=$LD
26727 func_cc_basename $compiler
26728 cc_basename=$func_cc_basename_result
26729
26730
26731 # GCJ did not exist at the time GCC didn't implicitly link libc in.
26732 archive_cmds_need_lc_GCJ=no
26733
26734 old_archive_cmds_GCJ=$old_archive_cmds
26735 reload_flag_GCJ=$reload_flag
26736 reload_cmds_GCJ=$reload_cmds
26737
26738 ## CAVEAT EMPTOR:
26739 ## There is no encapsulation within the following macros, do not change
26740 ## the running order or otherwise move them around unless you know exactly
26741 ## what you are doing...
26742 if test -n "$compiler"; then
26743
26744 lt_prog_compiler_no_builtin_flag_GCJ=
26745
26746 if test yes = "$GCC"; then
26747   case $cc_basename in
26748   nvcc*)
26749     lt_prog_compiler_no_builtin_flag_GCJ=' -Xcompiler -fno-builtin' ;;
26750   *)
26751     lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' ;;
26752   esac
26753
26754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
26755 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
26756 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
26757   $as_echo_n "(cached) " >&6
26758 else
26759   lt_cv_prog_compiler_rtti_exceptions=no
26760    ac_outfile=conftest.$ac_objext
26761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
26762    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
26763    # Insert the option either (1) after the last *FLAGS variable, or
26764    # (2) before a word containing "conftest.", or (3) at the end.
26765    # Note that $ac_compile itself does not contain backslashes and begins
26766    # with a dollar sign (not a hyphen), so the echo should work correctly.
26767    # The option is referenced via a variable to avoid confusing sed.
26768    lt_compile=`echo "$ac_compile" | $SED \
26769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
26770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
26771    -e 's:$: $lt_compiler_flag:'`
26772    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
26773    (eval "$lt_compile" 2>conftest.err)
26774    ac_status=$?
26775    cat conftest.err >&5
26776    echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777    if (exit $ac_status) && test -s "$ac_outfile"; then
26778      # The compiler can only warn and ignore the option if not recognized
26779      # So say no if there are warnings other than the usual output.
26780      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
26781      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
26782      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
26783        lt_cv_prog_compiler_rtti_exceptions=yes
26784      fi
26785    fi
26786    $RM conftest*
26787
26788 fi
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
26790 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
26791
26792 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
26793     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
26794 else
26795     :
26796 fi
26797
26798 fi
26799
26800
26801
26802   lt_prog_compiler_wl_GCJ=
26803 lt_prog_compiler_pic_GCJ=
26804 lt_prog_compiler_static_GCJ=
26805
26806
26807   if test yes = "$GCC"; then
26808     lt_prog_compiler_wl_GCJ='-Wl,'
26809     lt_prog_compiler_static_GCJ='-static'
26810
26811     case $host_os in
26812       aix*)
26813       # All AIX code is PIC.
26814       if test ia64 = "$host_cpu"; then
26815         # AIX 5 now supports IA64 processor
26816         lt_prog_compiler_static_GCJ='-Bstatic'
26817       fi
26818       lt_prog_compiler_pic_GCJ='-fPIC'
26819       ;;
26820
26821     amigaos*)
26822       case $host_cpu in
26823       powerpc)
26824             # see comment about AmigaOS4 .so support
26825             lt_prog_compiler_pic_GCJ='-fPIC'
26826         ;;
26827       m68k)
26828             # FIXME: we need at least 68020 code to build shared libraries, but
26829             # adding the '-m68020' flag to GCC prevents building anything better,
26830             # like '-m68040'.
26831             lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
26832         ;;
26833       esac
26834       ;;
26835
26836     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
26837       # PIC is the default for these OSes.
26838       ;;
26839
26840     mingw* | cygwin* | pw32* | os2* | cegcc*)
26841       # This hack is so that the source file can tell whether it is being
26842       # built for inclusion in a dll (and should export symbols for example).
26843       # Although the cygwin gcc ignores -fPIC, still need this for old-style
26844       # (--disable-auto-import) libraries
26845
26846       case $host_os in
26847       os2*)
26848         lt_prog_compiler_static_GCJ='$wl-static'
26849         ;;
26850       esac
26851       ;;
26852
26853     darwin* | rhapsody*)
26854       # PIC is the default on this platform
26855       # Common symbols not allowed in MH_DYLIB files
26856       lt_prog_compiler_pic_GCJ='-fno-common'
26857       ;;
26858
26859     haiku*)
26860       # PIC is the default for Haiku.
26861       # The "-static" flag exists, but is broken.
26862       lt_prog_compiler_static_GCJ=
26863       ;;
26864
26865     hpux*)
26866       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
26867       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
26868       # sets the default TLS model and affects inlining.
26869       case $host_cpu in
26870       hppa*64*)
26871         # +Z the default
26872         ;;
26873       *)
26874         lt_prog_compiler_pic_GCJ='-fPIC'
26875         ;;
26876       esac
26877       ;;
26878
26879     interix[3-9]*)
26880       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
26881       # Instead, we relocate shared libraries at runtime.
26882       ;;
26883
26884     msdosdjgpp*)
26885       # Just because we use GCC doesn't mean we suddenly get shared libraries
26886       # on systems that don't support them.
26887       lt_prog_compiler_can_build_shared_GCJ=no
26888       enable_shared=no
26889       ;;
26890
26891     *nto* | *qnx*)
26892       # QNX uses GNU C++, but need to define -shared option too, otherwise
26893       # it will coredump.
26894       lt_prog_compiler_pic_GCJ='-fPIC -shared'
26895       ;;
26896
26897     sysv4*MP*)
26898       if test -d /usr/nec; then
26899         lt_prog_compiler_pic_GCJ=-Kconform_pic
26900       fi
26901       ;;
26902
26903     *)
26904       lt_prog_compiler_pic_GCJ='-fPIC'
26905       ;;
26906     esac
26907
26908     case $cc_basename in
26909     nvcc*) # Cuda Compiler Driver 2.2
26910       lt_prog_compiler_wl_GCJ='-Xlinker '
26911       if test -n "$lt_prog_compiler_pic_GCJ"; then
26912         lt_prog_compiler_pic_GCJ="-Xcompiler $lt_prog_compiler_pic_GCJ"
26913       fi
26914       ;;
26915     esac
26916   else
26917     # PORTME Check for flag to pass linker flags through the system compiler.
26918     case $host_os in
26919     aix*)
26920       lt_prog_compiler_wl_GCJ='-Wl,'
26921       if test ia64 = "$host_cpu"; then
26922         # AIX 5 now supports IA64 processor
26923         lt_prog_compiler_static_GCJ='-Bstatic'
26924       else
26925         lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
26926       fi
26927       ;;
26928
26929     darwin* | rhapsody*)
26930       # PIC is the default on this platform
26931       # Common symbols not allowed in MH_DYLIB files
26932       lt_prog_compiler_pic_GCJ='-fno-common'
26933       case $cc_basename in
26934       nagfor*)
26935         # NAG Fortran compiler
26936         lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
26937         lt_prog_compiler_pic_GCJ='-PIC'
26938         lt_prog_compiler_static_GCJ='-Bstatic'
26939         ;;
26940       esac
26941       ;;
26942
26943     mingw* | cygwin* | pw32* | os2* | cegcc*)
26944       # This hack is so that the source file can tell whether it is being
26945       # built for inclusion in a dll (and should export symbols for example).
26946
26947       case $host_os in
26948       os2*)
26949         lt_prog_compiler_static_GCJ='$wl-static'
26950         ;;
26951       esac
26952       ;;
26953
26954     hpux9* | hpux10* | hpux11*)
26955       lt_prog_compiler_wl_GCJ='-Wl,'
26956       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
26957       # not for PA HP-UX.
26958       case $host_cpu in
26959       hppa*64*|ia64*)
26960         # +Z the default
26961         ;;
26962       *)
26963         lt_prog_compiler_pic_GCJ='+Z'
26964         ;;
26965       esac
26966       # Is there a better lt_prog_compiler_static that works with the bundled CC?
26967       lt_prog_compiler_static_GCJ='$wl-a ${wl}archive'
26968       ;;
26969
26970     irix5* | irix6* | nonstopux*)
26971       lt_prog_compiler_wl_GCJ='-Wl,'
26972       # PIC (with -KPIC) is the default.
26973       lt_prog_compiler_static_GCJ='-non_shared'
26974       ;;
26975
26976     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
26977       case $cc_basename in
26978       # old Intel for x86_64, which still supported -KPIC.
26979       ecc*)
26980         lt_prog_compiler_wl_GCJ='-Wl,'
26981         lt_prog_compiler_pic_GCJ='-KPIC'
26982         lt_prog_compiler_static_GCJ='-static'
26983         ;;
26984       # icc used to be incompatible with GCC.
26985       # ICC 10 doesn't accept -KPIC any more.
26986       icc* | ifort*)
26987         lt_prog_compiler_wl_GCJ='-Wl,'
26988         lt_prog_compiler_pic_GCJ='-fPIC'
26989         lt_prog_compiler_static_GCJ='-static'
26990         ;;
26991       # Lahey Fortran 8.1.
26992       lf95*)
26993         lt_prog_compiler_wl_GCJ='-Wl,'
26994         lt_prog_compiler_pic_GCJ='--shared'
26995         lt_prog_compiler_static_GCJ='--static'
26996         ;;
26997       nagfor*)
26998         # NAG Fortran compiler
26999         lt_prog_compiler_wl_GCJ='-Wl,-Wl,,'
27000         lt_prog_compiler_pic_GCJ='-PIC'
27001         lt_prog_compiler_static_GCJ='-Bstatic'
27002         ;;
27003       tcc*)
27004         # Fabrice Bellard et al's Tiny C Compiler
27005         lt_prog_compiler_wl_GCJ='-Wl,'
27006         lt_prog_compiler_pic_GCJ='-fPIC'
27007         lt_prog_compiler_static_GCJ='-static'
27008         ;;
27009       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
27010         # Portland Group compilers (*not* the Pentium gcc compiler,
27011         # which looks to be a dead project)
27012         lt_prog_compiler_wl_GCJ='-Wl,'
27013         lt_prog_compiler_pic_GCJ='-fpic'
27014         lt_prog_compiler_static_GCJ='-Bstatic'
27015         ;;
27016       ccc*)
27017         lt_prog_compiler_wl_GCJ='-Wl,'
27018         # All Alpha code is PIC.
27019         lt_prog_compiler_static_GCJ='-non_shared'
27020         ;;
27021       xl* | bgxl* | bgf* | mpixl*)
27022         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
27023         lt_prog_compiler_wl_GCJ='-Wl,'
27024         lt_prog_compiler_pic_GCJ='-qpic'
27025         lt_prog_compiler_static_GCJ='-qstaticlink'
27026         ;;
27027       *)
27028         case `$CC -V 2>&1 | sed 5q` in
27029         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
27030           # Sun Fortran 8.3 passes all unrecognized flags to the linker
27031           lt_prog_compiler_pic_GCJ='-KPIC'
27032           lt_prog_compiler_static_GCJ='-Bstatic'
27033           lt_prog_compiler_wl_GCJ=''
27034           ;;
27035         *Sun\ F* | *Sun*Fortran*)
27036           lt_prog_compiler_pic_GCJ='-KPIC'
27037           lt_prog_compiler_static_GCJ='-Bstatic'
27038           lt_prog_compiler_wl_GCJ='-Qoption ld '
27039           ;;
27040         *Sun\ C*)
27041           # Sun C 5.9
27042           lt_prog_compiler_pic_GCJ='-KPIC'
27043           lt_prog_compiler_static_GCJ='-Bstatic'
27044           lt_prog_compiler_wl_GCJ='-Wl,'
27045           ;;
27046         *Intel*\ [CF]*Compiler*)
27047           lt_prog_compiler_wl_GCJ='-Wl,'
27048           lt_prog_compiler_pic_GCJ='-fPIC'
27049           lt_prog_compiler_static_GCJ='-static'
27050           ;;
27051         *Portland\ Group*)
27052           lt_prog_compiler_wl_GCJ='-Wl,'
27053           lt_prog_compiler_pic_GCJ='-fpic'
27054           lt_prog_compiler_static_GCJ='-Bstatic'
27055           ;;
27056         esac
27057         ;;
27058       esac
27059       ;;
27060
27061     newsos6)
27062       lt_prog_compiler_pic_GCJ='-KPIC'
27063       lt_prog_compiler_static_GCJ='-Bstatic'
27064       ;;
27065
27066     *nto* | *qnx*)
27067       # QNX uses GNU C++, but need to define -shared option too, otherwise
27068       # it will coredump.
27069       lt_prog_compiler_pic_GCJ='-fPIC -shared'
27070       ;;
27071
27072     osf3* | osf4* | osf5*)
27073       lt_prog_compiler_wl_GCJ='-Wl,'
27074       # All OSF/1 code is PIC.
27075       lt_prog_compiler_static_GCJ='-non_shared'
27076       ;;
27077
27078     rdos*)
27079       lt_prog_compiler_static_GCJ='-non_shared'
27080       ;;
27081
27082     solaris*)
27083       lt_prog_compiler_pic_GCJ='-KPIC'
27084       lt_prog_compiler_static_GCJ='-Bstatic'
27085       case $cc_basename in
27086       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
27087         lt_prog_compiler_wl_GCJ='-Qoption ld ';;
27088       *)
27089         lt_prog_compiler_wl_GCJ='-Wl,';;
27090       esac
27091       ;;
27092
27093     sunos4*)
27094       lt_prog_compiler_wl_GCJ='-Qoption ld '
27095       lt_prog_compiler_pic_GCJ='-PIC'
27096       lt_prog_compiler_static_GCJ='-Bstatic'
27097       ;;
27098
27099     sysv4 | sysv4.2uw2* | sysv4.3*)
27100       lt_prog_compiler_wl_GCJ='-Wl,'
27101       lt_prog_compiler_pic_GCJ='-KPIC'
27102       lt_prog_compiler_static_GCJ='-Bstatic'
27103       ;;
27104
27105     sysv4*MP*)
27106       if test -d /usr/nec; then
27107         lt_prog_compiler_pic_GCJ='-Kconform_pic'
27108         lt_prog_compiler_static_GCJ='-Bstatic'
27109       fi
27110       ;;
27111
27112     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
27113       lt_prog_compiler_wl_GCJ='-Wl,'
27114       lt_prog_compiler_pic_GCJ='-KPIC'
27115       lt_prog_compiler_static_GCJ='-Bstatic'
27116       ;;
27117
27118     unicos*)
27119       lt_prog_compiler_wl_GCJ='-Wl,'
27120       lt_prog_compiler_can_build_shared_GCJ=no
27121       ;;
27122
27123     uts4*)
27124       lt_prog_compiler_pic_GCJ='-pic'
27125       lt_prog_compiler_static_GCJ='-Bstatic'
27126       ;;
27127
27128     *)
27129       lt_prog_compiler_can_build_shared_GCJ=no
27130       ;;
27131     esac
27132   fi
27133
27134 case $host_os in
27135   # For platforms that do not support PIC, -DPIC is meaningless:
27136   *djgpp*)
27137     lt_prog_compiler_pic_GCJ=
27138     ;;
27139   *)
27140     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
27141     ;;
27142 esac
27143
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
27145 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
27146 if ${lt_cv_prog_compiler_pic_GCJ+:} false; then :
27147   $as_echo_n "(cached) " >&6
27148 else
27149   lt_cv_prog_compiler_pic_GCJ=$lt_prog_compiler_pic_GCJ
27150 fi
27151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_GCJ" >&5
27152 $as_echo "$lt_cv_prog_compiler_pic_GCJ" >&6; }
27153 lt_prog_compiler_pic_GCJ=$lt_cv_prog_compiler_pic_GCJ
27154
27155 #
27156 # Check to make sure the PIC flag actually works.
27157 #
27158 if test -n "$lt_prog_compiler_pic_GCJ"; then
27159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
27160 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
27161 if ${lt_cv_prog_compiler_pic_works_GCJ+:} false; then :
27162   $as_echo_n "(cached) " >&6
27163 else
27164   lt_cv_prog_compiler_pic_works_GCJ=no
27165    ac_outfile=conftest.$ac_objext
27166    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27167    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"  ## exclude from sc_useless_quotes_in_assignment
27168    # Insert the option either (1) after the last *FLAGS variable, or
27169    # (2) before a word containing "conftest.", or (3) at the end.
27170    # Note that $ac_compile itself does not contain backslashes and begins
27171    # with a dollar sign (not a hyphen), so the echo should work correctly.
27172    # The option is referenced via a variable to avoid confusing sed.
27173    lt_compile=`echo "$ac_compile" | $SED \
27174    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27175    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27176    -e 's:$: $lt_compiler_flag:'`
27177    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27178    (eval "$lt_compile" 2>conftest.err)
27179    ac_status=$?
27180    cat conftest.err >&5
27181    echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182    if (exit $ac_status) && test -s "$ac_outfile"; then
27183      # The compiler can only warn and ignore the option if not recognized
27184      # So say no if there are warnings other than the usual output.
27185      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
27186      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27187      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
27188        lt_cv_prog_compiler_pic_works_GCJ=yes
27189      fi
27190    fi
27191    $RM conftest*
27192
27193 fi
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
27195 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
27196
27197 if test yes = "$lt_cv_prog_compiler_pic_works_GCJ"; then
27198     case $lt_prog_compiler_pic_GCJ in
27199      "" | " "*) ;;
27200      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
27201      esac
27202 else
27203     lt_prog_compiler_pic_GCJ=
27204      lt_prog_compiler_can_build_shared_GCJ=no
27205 fi
27206
27207 fi
27208
27209
27210
27211
27212
27213 #
27214 # Check to make sure the static flag actually works.
27215 #
27216 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
27218 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
27219 if ${lt_cv_prog_compiler_static_works_GCJ+:} false; then :
27220   $as_echo_n "(cached) " >&6
27221 else
27222   lt_cv_prog_compiler_static_works_GCJ=no
27223    save_LDFLAGS=$LDFLAGS
27224    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
27225    echo "$lt_simple_link_test_code" > conftest.$ac_ext
27226    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
27227      # The linker can only warn and ignore the option if not recognized
27228      # So say no if there are warnings
27229      if test -s conftest.err; then
27230        # Append any errors to the config.log.
27231        cat conftest.err 1>&5
27232        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
27233        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
27234        if diff conftest.exp conftest.er2 >/dev/null; then
27235          lt_cv_prog_compiler_static_works_GCJ=yes
27236        fi
27237      else
27238        lt_cv_prog_compiler_static_works_GCJ=yes
27239      fi
27240    fi
27241    $RM -r conftest*
27242    LDFLAGS=$save_LDFLAGS
27243
27244 fi
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
27246 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
27247
27248 if test yes = "$lt_cv_prog_compiler_static_works_GCJ"; then
27249     :
27250 else
27251     lt_prog_compiler_static_GCJ=
27252 fi
27253
27254
27255
27256
27257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27259 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27260   $as_echo_n "(cached) " >&6
27261 else
27262   lt_cv_prog_compiler_c_o_GCJ=no
27263    $RM -r conftest 2>/dev/null
27264    mkdir conftest
27265    cd conftest
27266    mkdir out
27267    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27268
27269    lt_compiler_flag="-o out/conftest2.$ac_objext"
27270    # Insert the option either (1) after the last *FLAGS variable, or
27271    # (2) before a word containing "conftest.", or (3) at the end.
27272    # Note that $ac_compile itself does not contain backslashes and begins
27273    # with a dollar sign (not a hyphen), so the echo should work correctly.
27274    lt_compile=`echo "$ac_compile" | $SED \
27275    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27276    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27277    -e 's:$: $lt_compiler_flag:'`
27278    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27279    (eval "$lt_compile" 2>out/conftest.err)
27280    ac_status=$?
27281    cat out/conftest.err >&5
27282    echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283    if (exit $ac_status) && test -s out/conftest2.$ac_objext
27284    then
27285      # The compiler can only warn and ignore the option if not recognized
27286      # So say no if there are warnings
27287      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27288      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27289      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27290        lt_cv_prog_compiler_c_o_GCJ=yes
27291      fi
27292    fi
27293    chmod u+w . 2>&5
27294    $RM conftest*
27295    # SGI C++ compiler will create directory out/ii_files/ for
27296    # template instantiation
27297    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27298    $RM out/* && rmdir out
27299    cd ..
27300    $RM -r conftest
27301    $RM conftest*
27302
27303 fi
27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27305 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27306
27307
27308
27309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
27310 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
27311 if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
27312   $as_echo_n "(cached) " >&6
27313 else
27314   lt_cv_prog_compiler_c_o_GCJ=no
27315    $RM -r conftest 2>/dev/null
27316    mkdir conftest
27317    cd conftest
27318    mkdir out
27319    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
27320
27321    lt_compiler_flag="-o out/conftest2.$ac_objext"
27322    # Insert the option either (1) after the last *FLAGS variable, or
27323    # (2) before a word containing "conftest.", or (3) at the end.
27324    # Note that $ac_compile itself does not contain backslashes and begins
27325    # with a dollar sign (not a hyphen), so the echo should work correctly.
27326    lt_compile=`echo "$ac_compile" | $SED \
27327    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
27328    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
27329    -e 's:$: $lt_compiler_flag:'`
27330    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
27331    (eval "$lt_compile" 2>out/conftest.err)
27332    ac_status=$?
27333    cat out/conftest.err >&5
27334    echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335    if (exit $ac_status) && test -s out/conftest2.$ac_objext
27336    then
27337      # The compiler can only warn and ignore the option if not recognized
27338      # So say no if there are warnings
27339      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
27340      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
27341      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
27342        lt_cv_prog_compiler_c_o_GCJ=yes
27343      fi
27344    fi
27345    chmod u+w . 2>&5
27346    $RM conftest*
27347    # SGI C++ compiler will create directory out/ii_files/ for
27348    # template instantiation
27349    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
27350    $RM out/* && rmdir out
27351    cd ..
27352    $RM -r conftest
27353    $RM conftest*
27354
27355 fi
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
27357 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
27358
27359
27360
27361
27362 hard_links=nottested
27363 if test no = "$lt_cv_prog_compiler_c_o_GCJ" && test no != "$need_locks"; then
27364   # do not overwrite the value of need_locks provided by the user
27365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
27366 $as_echo_n "checking if we can lock with hard links... " >&6; }
27367   hard_links=yes
27368   $RM conftest*
27369   ln conftest.a conftest.b 2>/dev/null && hard_links=no
27370   touch conftest.a
27371   ln conftest.a conftest.b 2>&5 || hard_links=no
27372   ln conftest.a conftest.b 2>/dev/null && hard_links=no
27373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
27374 $as_echo "$hard_links" >&6; }
27375   if test no = "$hard_links"; then
27376     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
27377 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
27378     need_locks=warn
27379   fi
27380 else
27381   need_locks=no
27382 fi
27383
27384
27385
27386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
27387 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
27388
27389   runpath_var=
27390   allow_undefined_flag_GCJ=
27391   always_export_symbols_GCJ=no
27392   archive_cmds_GCJ=
27393   archive_expsym_cmds_GCJ=
27394   compiler_needs_object_GCJ=no
27395   enable_shared_with_static_runtimes_GCJ=no
27396   export_dynamic_flag_spec_GCJ=
27397   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
27398   hardcode_automatic_GCJ=no
27399   hardcode_direct_GCJ=no
27400   hardcode_direct_absolute_GCJ=no
27401   hardcode_libdir_flag_spec_GCJ=
27402   hardcode_libdir_separator_GCJ=
27403   hardcode_minus_L_GCJ=no
27404   hardcode_shlibpath_var_GCJ=unsupported
27405   inherit_rpath_GCJ=no
27406   link_all_deplibs_GCJ=unknown
27407   module_cmds_GCJ=
27408   module_expsym_cmds_GCJ=
27409   old_archive_from_new_cmds_GCJ=
27410   old_archive_from_expsyms_cmds_GCJ=
27411   thread_safe_flag_spec_GCJ=
27412   whole_archive_flag_spec_GCJ=
27413   # include_expsyms should be a list of space-separated symbols to be *always*
27414   # included in the symbol list
27415   include_expsyms_GCJ=
27416   # exclude_expsyms can be an extended regexp of symbols to exclude
27417   # it will be wrapped by ' (' and ')$', so one must not match beginning or
27418   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
27419   # as well as any symbol that contains 'd'.
27420   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
27421   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
27422   # platforms (ab)use it in PIC code, but their linkers get confused if
27423   # the symbol is explicitly referenced.  Since portable code cannot
27424   # rely on this symbol name, it's probably fine to never include it in
27425   # preloaded symbol tables.
27426   # Exclude shared library initialization/finalization symbols.
27427   extract_expsyms_cmds=
27428
27429   case $host_os in
27430   cygwin* | mingw* | pw32* | cegcc*)
27431     # FIXME: the MSVC++ port hasn't been tested in a loooong time
27432     # When not using gcc, we currently assume that we are using
27433     # Microsoft Visual C++.
27434     if test yes != "$GCC"; then
27435       with_gnu_ld=no
27436     fi
27437     ;;
27438   interix*)
27439     # we just hope/assume this is gcc and not c89 (= MSVC++)
27440     with_gnu_ld=yes
27441     ;;
27442   openbsd* | bitrig*)
27443     with_gnu_ld=no
27444     ;;
27445   esac
27446
27447   ld_shlibs_GCJ=yes
27448
27449   # On some targets, GNU ld is compatible enough with the native linker
27450   # that we're better off using the native interface for both.
27451   lt_use_gnu_ld_interface=no
27452   if test yes = "$with_gnu_ld"; then
27453     case $host_os in
27454       aix*)
27455         # The AIX port of GNU ld has always aspired to compatibility
27456         # with the native linker.  However, as the warning in the GNU ld
27457         # block says, versions before 2.19.5* couldn't really create working
27458         # shared libraries, regardless of the interface used.
27459         case `$LD -v 2>&1` in
27460           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
27461           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
27462           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
27463           *)
27464             lt_use_gnu_ld_interface=yes
27465             ;;
27466         esac
27467         ;;
27468       *)
27469         lt_use_gnu_ld_interface=yes
27470         ;;
27471     esac
27472   fi
27473
27474   if test yes = "$lt_use_gnu_ld_interface"; then
27475     # If archive_cmds runs LD, not CC, wlarc should be empty
27476     wlarc='$wl'
27477
27478     # Set some defaults for GNU ld with shared library support. These
27479     # are reset later if shared libraries are not supported. Putting them
27480     # here allows them to be overridden if necessary.
27481     runpath_var=LD_RUN_PATH
27482     hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27483     export_dynamic_flag_spec_GCJ='$wl--export-dynamic'
27484     # ancient GNU ld didn't support --whole-archive et. al.
27485     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
27486       whole_archive_flag_spec_GCJ=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
27487     else
27488       whole_archive_flag_spec_GCJ=
27489     fi
27490     supports_anon_versioning=no
27491     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
27492       *GNU\ gold*) supports_anon_versioning=yes ;;
27493       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
27494       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
27495       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
27496       *\ 2.11.*) ;; # other 2.11 versions
27497       *) supports_anon_versioning=yes ;;
27498     esac
27499
27500     # See if GNU ld supports shared libraries.
27501     case $host_os in
27502     aix[3-9]*)
27503       # On AIX/PPC, the GNU linker is very broken
27504       if test ia64 != "$host_cpu"; then
27505         ld_shlibs_GCJ=no
27506         cat <<_LT_EOF 1>&2
27507
27508 *** Warning: the GNU linker, at least up to release 2.19, is reported
27509 *** to be unable to reliably create shared libraries on AIX.
27510 *** Therefore, libtool is disabling shared libraries support.  If you
27511 *** really care for shared libraries, you may want to install binutils
27512 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
27513 *** You will then need to restart the configuration process.
27514
27515 _LT_EOF
27516       fi
27517       ;;
27518
27519     amigaos*)
27520       case $host_cpu in
27521       powerpc)
27522             # see comment about AmigaOS4 .so support
27523             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27524             archive_expsym_cmds_GCJ=''
27525         ;;
27526       m68k)
27527             archive_cmds_GCJ='$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)'
27528             hardcode_libdir_flag_spec_GCJ='-L$libdir'
27529             hardcode_minus_L_GCJ=yes
27530         ;;
27531       esac
27532       ;;
27533
27534     beos*)
27535       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27536         allow_undefined_flag_GCJ=unsupported
27537         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
27538         # support --undefined.  This deserves some investigation.  FIXME
27539         archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27540       else
27541         ld_shlibs_GCJ=no
27542       fi
27543       ;;
27544
27545     cygwin* | mingw* | pw32* | cegcc*)
27546       # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
27547       # as there is no search path for DLLs.
27548       hardcode_libdir_flag_spec_GCJ='-L$libdir'
27549       export_dynamic_flag_spec_GCJ='$wl--export-all-symbols'
27550       allow_undefined_flag_GCJ=unsupported
27551       always_export_symbols_GCJ=no
27552       enable_shared_with_static_runtimes_GCJ=yes
27553       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
27554       exclude_expsyms_GCJ='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
27555
27556       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
27557         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27558         # If the export-symbols file already is a .def file, use it as
27559         # is; otherwise, prepend EXPORTS...
27560         archive_expsym_cmds_GCJ='if   test DEF = "`$SED -n     -e '\''s/^[       ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
27561           cp $export_symbols $output_objdir/$soname.def;
27562         else
27563           echo EXPORTS > $output_objdir/$soname.def;
27564           cat $export_symbols >> $output_objdir/$soname.def;
27565         fi~
27566         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
27567       else
27568         ld_shlibs_GCJ=no
27569       fi
27570       ;;
27571
27572     haiku*)
27573       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27574       link_all_deplibs_GCJ=yes
27575       ;;
27576
27577     os2*)
27578       hardcode_libdir_flag_spec_GCJ='-L$libdir'
27579       hardcode_minus_L_GCJ=yes
27580       allow_undefined_flag_GCJ=unsupported
27581       shrext_cmds=.dll
27582       archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27583         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27584         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27585         $ECHO EXPORTS >> $output_objdir/$libname.def~
27586         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
27587         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27588         emximp -o $lib $output_objdir/$libname.def'
27589       archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
27590         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
27591         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
27592         $ECHO EXPORTS >> $output_objdir/$libname.def~
27593         prefix_cmds="$SED"~
27594         if test EXPORTS = "`$SED 1q $export_symbols`"; then
27595           prefix_cmds="$prefix_cmds -e 1d";
27596         fi~
27597         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
27598         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
27599         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
27600         emximp -o $lib $output_objdir/$libname.def'
27601       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
27602       enable_shared_with_static_runtimes_GCJ=yes
27603       ;;
27604
27605     interix[3-9]*)
27606       hardcode_direct_GCJ=no
27607       hardcode_shlibpath_var_GCJ=no
27608       hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
27609       export_dynamic_flag_spec_GCJ='$wl-E'
27610       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
27611       # Instead, shared libraries are loaded at an image base (0x10000000 by
27612       # default) and relocated if they conflict, which is a slow very memory
27613       # consuming and fragmenting process.  To avoid this, we pick a random,
27614       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
27615       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
27616       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
27617       archive_expsym_cmds_GCJ='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'
27618       ;;
27619
27620     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
27621       tmp_diet=no
27622       if test linux-dietlibc = "$host_os"; then
27623         case $cc_basename in
27624           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
27625         esac
27626       fi
27627       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
27628          && test no = "$tmp_diet"
27629       then
27630         tmp_addflag=' $pic_flag'
27631         tmp_sharedflag='-shared'
27632         case $cc_basename,$host_cpu in
27633         pgcc*)                          # Portland Group C compiler
27634           whole_archive_flag_spec_GCJ='$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'
27635           tmp_addflag=' $pic_flag'
27636           ;;
27637         pgf77* | pgf90* | pgf95* | pgfortran*)
27638                                         # Portland Group f77 and f90 compilers
27639           whole_archive_flag_spec_GCJ='$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'
27640           tmp_addflag=' $pic_flag -Mnomain' ;;
27641         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
27642           tmp_addflag=' -i_dynamic' ;;
27643         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
27644           tmp_addflag=' -i_dynamic -nofor_main' ;;
27645         ifc* | ifort*)                  # Intel Fortran compiler
27646           tmp_addflag=' -nofor_main' ;;
27647         lf95*)                          # Lahey Fortran 8.1
27648           whole_archive_flag_spec_GCJ=
27649           tmp_sharedflag='--shared' ;;
27650         nagfor*)                        # NAGFOR 5.3
27651           tmp_sharedflag='-Wl,-shared' ;;
27652         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
27653           tmp_sharedflag='-qmkshrobj'
27654           tmp_addflag= ;;
27655         nvcc*)  # Cuda Compiler Driver 2.2
27656           whole_archive_flag_spec_GCJ='$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'
27657           compiler_needs_object_GCJ=yes
27658           ;;
27659         esac
27660         case `$CC -V 2>&1 | sed 5q` in
27661         *Sun\ C*)                       # Sun C 5.9
27662           whole_archive_flag_spec_GCJ='$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'
27663           compiler_needs_object_GCJ=yes
27664           tmp_sharedflag='-G' ;;
27665         *Sun\ F*)                       # Sun Fortran 8.3
27666           tmp_sharedflag='-G' ;;
27667         esac
27668         archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27669
27670         if test yes = "$supports_anon_versioning"; then
27671           archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27672             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27673             echo "local: *; };" >> $output_objdir/$libname.ver~
27674             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
27675         fi
27676
27677         case $cc_basename in
27678         tcc*)
27679           export_dynamic_flag_spec_GCJ='-rdynamic'
27680           ;;
27681         xlf* | bgf* | bgxlf* | mpixlf*)
27682           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
27683           whole_archive_flag_spec_GCJ='--whole-archive$convenience --no-whole-archive'
27684           hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27685           archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
27686           if test yes = "$supports_anon_versioning"; then
27687             archive_expsym_cmds_GCJ='echo "{ global:" > $output_objdir/$libname.ver~
27688               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
27689               echo "local: *; };" >> $output_objdir/$libname.ver~
27690               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
27691           fi
27692           ;;
27693         esac
27694       else
27695         ld_shlibs_GCJ=no
27696       fi
27697       ;;
27698
27699     netbsd*)
27700       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
27701         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
27702         wlarc=
27703       else
27704         archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27705         archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27706       fi
27707       ;;
27708
27709     solaris*)
27710       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
27711         ld_shlibs_GCJ=no
27712         cat <<_LT_EOF 1>&2
27713
27714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
27715 *** create shared libraries on Solaris systems.  Therefore, libtool
27716 *** is disabling shared libraries support.  We urge you to upgrade GNU
27717 *** binutils to release 2.9.1 or newer.  Another option is to modify
27718 *** your PATH or compiler configuration so that the native linker is
27719 *** used, and then restart.
27720
27721 _LT_EOF
27722       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27723         archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27724         archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27725       else
27726         ld_shlibs_GCJ=no
27727       fi
27728       ;;
27729
27730     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
27731       case `$LD -v 2>&1` in
27732         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
27733         ld_shlibs_GCJ=no
27734         cat <<_LT_EOF 1>&2
27735
27736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
27737 *** reliably create shared libraries on SCO systems.  Therefore, libtool
27738 *** is disabling shared libraries support.  We urge you to upgrade GNU
27739 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
27740 *** your PATH or compiler configuration so that the native linker is
27741 *** used, and then restart.
27742
27743 _LT_EOF
27744         ;;
27745         *)
27746           # For security reasons, it is highly recommended that you always
27747           # use absolute paths for naming shared libraries, and exclude the
27748           # DT_RUNPATH tag from executables and libraries.  But doing so
27749           # requires that you compile everything twice, which is a pain.
27750           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27751             hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
27752             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27753             archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27754           else
27755             ld_shlibs_GCJ=no
27756           fi
27757         ;;
27758       esac
27759       ;;
27760
27761     sunos4*)
27762       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
27763       wlarc=
27764       hardcode_direct_GCJ=yes
27765       hardcode_shlibpath_var_GCJ=no
27766       ;;
27767
27768     *)
27769       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
27770         archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
27771         archive_expsym_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
27772       else
27773         ld_shlibs_GCJ=no
27774       fi
27775       ;;
27776     esac
27777
27778     if test no = "$ld_shlibs_GCJ"; then
27779       runpath_var=
27780       hardcode_libdir_flag_spec_GCJ=
27781       export_dynamic_flag_spec_GCJ=
27782       whole_archive_flag_spec_GCJ=
27783     fi
27784   else
27785     # PORTME fill in a description of your system's linker (not GNU ld)
27786     case $host_os in
27787     aix3*)
27788       allow_undefined_flag_GCJ=unsupported
27789       always_export_symbols_GCJ=yes
27790       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
27791       # Note: this linker hardcodes the directories in LIBPATH if there
27792       # are no directories specified by -L.
27793       hardcode_minus_L_GCJ=yes
27794       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
27795         # Neither direct hardcoding nor static linking is supported with a
27796         # broken collect2.
27797         hardcode_direct_GCJ=unsupported
27798       fi
27799       ;;
27800
27801     aix[4-9]*)
27802       if test ia64 = "$host_cpu"; then
27803         # On IA64, the linker does run time linking by default, so we don't
27804         # have to do anything special.
27805         aix_use_runtimelinking=no
27806         exp_sym_flag='-Bexport'
27807         no_entry_flag=
27808       else
27809         # If we're using GNU nm, then we don't want the "-C" option.
27810         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
27811         # Without the "-l" option, or with the "-B" option, AIX nm treats
27812         # weak defined symbols like other global defined symbols, whereas
27813         # GNU nm marks them as "W".
27814         # While the 'weak' keyword is ignored in the Export File, we need
27815         # it in the Import File for the 'aix-soname' feature, so we have
27816         # to replace the "-B" option with "-P" for AIX nm.
27817         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
27818           export_symbols_cmds_GCJ='$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'
27819         else
27820           export_symbols_cmds_GCJ='`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'
27821         fi
27822         aix_use_runtimelinking=no
27823
27824         # Test if we are trying to use run time linking or normal
27825         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
27826         # have runtime linking enabled, and use it for executables.
27827         # For shared libraries, we enable/disable runtime linking
27828         # depending on the kind of the shared library created -
27829         # when "with_aix_soname,aix_use_runtimelinking" is:
27830         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
27831         # "aix,yes"  lib.so          shared, rtl:yes, for executables
27832         #            lib.a           static archive
27833         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
27834         #            lib.a(lib.so.V) shared, rtl:no,  for executables
27835         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
27836         #            lib.a(lib.so.V) shared, rtl:no
27837         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
27838         #            lib.a           static archive
27839         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
27840           for ld_flag in $LDFLAGS; do
27841           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
27842             aix_use_runtimelinking=yes
27843             break
27844           fi
27845           done
27846           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
27847             # With aix-soname=svr4, we create the lib.so.V shared archives only,
27848             # so we don't have lib.a shared libs to link our executables.
27849             # We have to force runtime linking in this case.
27850             aix_use_runtimelinking=yes
27851             LDFLAGS="$LDFLAGS -Wl,-brtl"
27852           fi
27853           ;;
27854         esac
27855
27856         exp_sym_flag='-bexport'
27857         no_entry_flag='-bnoentry'
27858       fi
27859
27860       # When large executables or shared objects are built, AIX ld can
27861       # have problems creating the table of contents.  If linking a library
27862       # or program results in "error TOC overflow" add -mminimal-toc to
27863       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
27864       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
27865
27866       archive_cmds_GCJ=''
27867       hardcode_direct_GCJ=yes
27868       hardcode_direct_absolute_GCJ=yes
27869       hardcode_libdir_separator_GCJ=':'
27870       link_all_deplibs_GCJ=yes
27871       file_list_spec_GCJ='$wl-f,'
27872       case $with_aix_soname,$aix_use_runtimelinking in
27873       aix,*) ;; # traditional, no import file
27874       svr4,* | *,yes) # use import file
27875         # The Import File defines what to hardcode.
27876         hardcode_direct_GCJ=no
27877         hardcode_direct_absolute_GCJ=no
27878         ;;
27879       esac
27880
27881       if test yes = "$GCC"; then
27882         case $host_os in aix4.[012]|aix4.[012].*)
27883         # We only want to do this on AIX 4.2 and lower, the check
27884         # below for broken collect2 doesn't work under 4.3+
27885           collect2name=`$CC -print-prog-name=collect2`
27886           if test -f "$collect2name" &&
27887            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
27888           then
27889           # We have reworked collect2
27890           :
27891           else
27892           # We have old collect2
27893           hardcode_direct_GCJ=unsupported
27894           # It fails to find uninstalled libraries when the uninstalled
27895           # path is not listed in the libpath.  Setting hardcode_minus_L
27896           # to unsupported forces relinking
27897           hardcode_minus_L_GCJ=yes
27898           hardcode_libdir_flag_spec_GCJ='-L$libdir'
27899           hardcode_libdir_separator_GCJ=
27900           fi
27901           ;;
27902         esac
27903         shared_flag='-shared'
27904         if test yes = "$aix_use_runtimelinking"; then
27905           shared_flag="$shared_flag "'$wl-G'
27906         fi
27907         # Need to ensure runtime linking is disabled for the traditional
27908         # shared library, or the linker may eventually find shared libraries
27909         # /with/ Import File - we do not want to mix them.
27910         shared_flag_aix='-shared'
27911         shared_flag_svr4='-shared $wl-G'
27912       else
27913         # not using gcc
27914         if test ia64 = "$host_cpu"; then
27915         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
27916         # chokes on -Wl,-G. The following line is correct:
27917           shared_flag='-G'
27918         else
27919           if test yes = "$aix_use_runtimelinking"; then
27920             shared_flag='$wl-G'
27921           else
27922             shared_flag='$wl-bM:SRE'
27923           fi
27924           shared_flag_aix='$wl-bM:SRE'
27925           shared_flag_svr4='$wl-G'
27926         fi
27927       fi
27928
27929       export_dynamic_flag_spec_GCJ='$wl-bexpall'
27930       # It seems that -bexpall does not export symbols beginning with
27931       # underscore (_), so it is better to generate a list of symbols to export.
27932       always_export_symbols_GCJ=yes
27933       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
27934         # Warning - without using the other runtime loading flags (-brtl),
27935         # -berok will link without error, but may produce a broken library.
27936         allow_undefined_flag_GCJ='-berok'
27937         # Determine the default libpath from the value encoded in an
27938         # empty executable.
27939         if test set = "${lt_cv_aix_libpath+set}"; then
27940   aix_libpath=$lt_cv_aix_libpath
27941 else
27942   if ${lt_cv_aix_libpath__GCJ+:} false; then :
27943   $as_echo_n "(cached) " >&6
27944 else
27945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27946 /* end confdefs.h.  */
27947
27948 int
27949 main ()
27950 {
27951
27952   ;
27953   return 0;
27954 }
27955 _ACEOF
27956 if ac_fn_c_try_link "$LINENO"; then :
27957
27958   lt_aix_libpath_sed='
27959       /Import File Strings/,/^$/ {
27960           /^0/ {
27961               s/^0  *\([^ ]*\) *$/\1/
27962               p
27963           }
27964       }'
27965   lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27966   # Check for a 64-bit object if we didn't find anything.
27967   if test -z "$lt_cv_aix_libpath__GCJ"; then
27968     lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
27969   fi
27970 fi
27971 rm -f core conftest.err conftest.$ac_objext \
27972     conftest$ac_exeext conftest.$ac_ext
27973   if test -z "$lt_cv_aix_libpath__GCJ"; then
27974     lt_cv_aix_libpath__GCJ=/usr/lib:/lib
27975   fi
27976
27977 fi
27978
27979   aix_libpath=$lt_cv_aix_libpath__GCJ
27980 fi
27981
27982         hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
27983         archive_expsym_cmds_GCJ='$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
27984       else
27985         if test ia64 = "$host_cpu"; then
27986           hardcode_libdir_flag_spec_GCJ='$wl-R $libdir:/usr/lib:/lib'
27987           allow_undefined_flag_GCJ="-z nodefs"
27988           archive_expsym_cmds_GCJ="\$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"
27989         else
27990          # Determine the default libpath from the value encoded in an
27991          # empty executable.
27992          if test set = "${lt_cv_aix_libpath+set}"; then
27993   aix_libpath=$lt_cv_aix_libpath
27994 else
27995   if ${lt_cv_aix_libpath__GCJ+:} false; then :
27996   $as_echo_n "(cached) " >&6
27997 else
27998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27999 /* end confdefs.h.  */
28000
28001 int
28002 main ()
28003 {
28004
28005   ;
28006   return 0;
28007 }
28008 _ACEOF
28009 if ac_fn_c_try_link "$LINENO"; then :
28010
28011   lt_aix_libpath_sed='
28012       /Import File Strings/,/^$/ {
28013           /^0/ {
28014               s/^0  *\([^ ]*\) *$/\1/
28015               p
28016           }
28017       }'
28018   lt_cv_aix_libpath__GCJ=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28019   # Check for a 64-bit object if we didn't find anything.
28020   if test -z "$lt_cv_aix_libpath__GCJ"; then
28021     lt_cv_aix_libpath__GCJ=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
28022   fi
28023 fi
28024 rm -f core conftest.err conftest.$ac_objext \
28025     conftest$ac_exeext conftest.$ac_ext
28026   if test -z "$lt_cv_aix_libpath__GCJ"; then
28027     lt_cv_aix_libpath__GCJ=/usr/lib:/lib
28028   fi
28029
28030 fi
28031
28032   aix_libpath=$lt_cv_aix_libpath__GCJ
28033 fi
28034
28035          hardcode_libdir_flag_spec_GCJ='$wl-blibpath:$libdir:'"$aix_libpath"
28036           # Warning - without using the other run time loading flags,
28037           # -berok will link without error, but may produce a broken library.
28038           no_undefined_flag_GCJ=' $wl-bernotok'
28039           allow_undefined_flag_GCJ=' $wl-berok'
28040           if test yes = "$with_gnu_ld"; then
28041             # We only use this code for GNU lds that support --whole-archive.
28042             whole_archive_flag_spec_GCJ='$wl--whole-archive$convenience $wl--no-whole-archive'
28043           else
28044             # Exported symbols can be pulled into shared objects from archives
28045             whole_archive_flag_spec_GCJ='$convenience'
28046           fi
28047           archive_cmds_need_lc_GCJ=yes
28048           archive_expsym_cmds_GCJ='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
28049           # -brtl affects multiple linker settings, -berok does not and is overridden later
28050           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
28051           if test svr4 != "$with_aix_soname"; then
28052             # This is similar to how AIX traditionally builds its shared libraries.
28053             archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$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'
28054           fi
28055           if test aix != "$with_aix_soname"; then
28056             archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$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'
28057           else
28058             # used by -dlpreopen to get the symbols
28059             archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
28060           fi
28061           archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$RM -r $output_objdir/$realname.d'
28062         fi
28063       fi
28064       ;;
28065
28066     amigaos*)
28067       case $host_cpu in
28068       powerpc)
28069             # see comment about AmigaOS4 .so support
28070             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
28071             archive_expsym_cmds_GCJ=''
28072         ;;
28073       m68k)
28074             archive_cmds_GCJ='$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)'
28075             hardcode_libdir_flag_spec_GCJ='-L$libdir'
28076             hardcode_minus_L_GCJ=yes
28077         ;;
28078       esac
28079       ;;
28080
28081     bsdi[45]*)
28082       export_dynamic_flag_spec_GCJ=-rdynamic
28083       ;;
28084
28085     cygwin* | mingw* | pw32* | cegcc*)
28086       # When not using gcc, we currently assume that we are using
28087       # Microsoft Visual C++.
28088       # hardcode_libdir_flag_spec is actually meaningless, as there is
28089       # no search path for DLLs.
28090       case $cc_basename in
28091       cl*)
28092         # Native MSVC
28093         hardcode_libdir_flag_spec_GCJ=' '
28094         allow_undefined_flag_GCJ=unsupported
28095         always_export_symbols_GCJ=yes
28096         file_list_spec_GCJ='@'
28097         # Tell ltmain to make .lib files, not .a files.
28098         libext=lib
28099         # Tell ltmain to make .dll files, not .so files.
28100         shrext_cmds=.dll
28101         # FIXME: Setting linknames here is a bad hack.
28102         archive_cmds_GCJ='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
28103         archive_expsym_cmds_GCJ='if   test DEF = "`$SED -n     -e '\''s/^[       ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
28104             cp "$export_symbols" "$output_objdir/$soname.def";
28105             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
28106           else
28107             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
28108           fi~
28109           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
28110           linknames='
28111         # The linker will not automatically build a static lib if we build a DLL.
28112         # _LT_TAGVAR(old_archive_from_new_cmds, GCJ)='true'
28113         enable_shared_with_static_runtimes_GCJ=yes
28114         exclude_expsyms_GCJ='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
28115         export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
28116         # Don't use ranlib
28117         old_postinstall_cmds_GCJ='chmod 644 $oldlib'
28118         postlink_cmds_GCJ='lt_outputfile="@OUTPUT@"~
28119           lt_tool_outputfile="@TOOL_OUTPUT@"~
28120           case $lt_outputfile in
28121             *.exe|*.EXE) ;;
28122             *)
28123               lt_outputfile=$lt_outputfile.exe
28124               lt_tool_outputfile=$lt_tool_outputfile.exe
28125               ;;
28126           esac~
28127           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
28128             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
28129             $RM "$lt_outputfile.manifest";
28130           fi'
28131         ;;
28132       *)
28133         # Assume MSVC wrapper
28134         hardcode_libdir_flag_spec_GCJ=' '
28135         allow_undefined_flag_GCJ=unsupported
28136         # Tell ltmain to make .lib files, not .a files.
28137         libext=lib
28138         # Tell ltmain to make .dll files, not .so files.
28139         shrext_cmds=.dll
28140         # FIXME: Setting linknames here is a bad hack.
28141         archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
28142         # The linker will automatically build a .lib file if we build a DLL.
28143         old_archive_from_new_cmds_GCJ='true'
28144         # FIXME: Should let the user specify the lib program.
28145         old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
28146         enable_shared_with_static_runtimes_GCJ=yes
28147         ;;
28148       esac
28149       ;;
28150
28151     darwin* | rhapsody*)
28152
28153
28154   archive_cmds_need_lc_GCJ=no
28155   hardcode_direct_GCJ=no
28156   hardcode_automatic_GCJ=yes
28157   hardcode_shlibpath_var_GCJ=unsupported
28158   if test yes = "$lt_cv_ld_force_load"; then
28159     whole_archive_flag_spec_GCJ='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
28160
28161   else
28162     whole_archive_flag_spec_GCJ=''
28163   fi
28164   link_all_deplibs_GCJ=yes
28165   allow_undefined_flag_GCJ=$_lt_dar_allow_undefined
28166   case $cc_basename in
28167      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
28168      *) _lt_dar_can_shared=$GCC ;;
28169   esac
28170   if test yes = "$_lt_dar_can_shared"; then
28171     output_verbose_link_cmd=func_echo_all
28172     archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
28173     module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
28174     archive_expsym_cmds_GCJ="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"
28175     module_expsym_cmds_GCJ="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"
28176
28177   else
28178   ld_shlibs_GCJ=no
28179   fi
28180
28181       ;;
28182
28183     dgux*)
28184       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28185       hardcode_libdir_flag_spec_GCJ='-L$libdir'
28186       hardcode_shlibpath_var_GCJ=no
28187       ;;
28188
28189     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
28190     # support.  Future versions do this automatically, but an explicit c++rt0.o
28191     # does not break anything, and helps significantly (at the cost of a little
28192     # extra space).
28193     freebsd2.2*)
28194       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
28195       hardcode_libdir_flag_spec_GCJ='-R$libdir'
28196       hardcode_direct_GCJ=yes
28197       hardcode_shlibpath_var_GCJ=no
28198       ;;
28199
28200     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
28201     freebsd2.*)
28202       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
28203       hardcode_direct_GCJ=yes
28204       hardcode_minus_L_GCJ=yes
28205       hardcode_shlibpath_var_GCJ=no
28206       ;;
28207
28208     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
28209     freebsd* | dragonfly*)
28210       archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28211       hardcode_libdir_flag_spec_GCJ='-R$libdir'
28212       hardcode_direct_GCJ=yes
28213       hardcode_shlibpath_var_GCJ=no
28214       ;;
28215
28216     hpux9*)
28217       if test yes = "$GCC"; then
28218         archive_cmds_GCJ='$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'
28219       else
28220         archive_cmds_GCJ='$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'
28221       fi
28222       hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28223       hardcode_libdir_separator_GCJ=:
28224       hardcode_direct_GCJ=yes
28225
28226       # hardcode_minus_L: Not really in the search PATH,
28227       # but as the default location of the library.
28228       hardcode_minus_L_GCJ=yes
28229       export_dynamic_flag_spec_GCJ='$wl-E'
28230       ;;
28231
28232     hpux10*)
28233       if test yes,no = "$GCC,$with_gnu_ld"; then
28234         archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28235       else
28236         archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
28237       fi
28238       if test no = "$with_gnu_ld"; then
28239         hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28240         hardcode_libdir_separator_GCJ=:
28241         hardcode_direct_GCJ=yes
28242         hardcode_direct_absolute_GCJ=yes
28243         export_dynamic_flag_spec_GCJ='$wl-E'
28244         # hardcode_minus_L: Not really in the search PATH,
28245         # but as the default location of the library.
28246         hardcode_minus_L_GCJ=yes
28247       fi
28248       ;;
28249
28250     hpux11*)
28251       if test yes,no = "$GCC,$with_gnu_ld"; then
28252         case $host_cpu in
28253         hppa*64*)
28254           archive_cmds_GCJ='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28255           ;;
28256         ia64*)
28257           archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28258           ;;
28259         *)
28260           archive_cmds_GCJ='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28261           ;;
28262         esac
28263       else
28264         case $host_cpu in
28265         hppa*64*)
28266           archive_cmds_GCJ='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28267           ;;
28268         ia64*)
28269           archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
28270           ;;
28271         *)
28272         archive_cmds_GCJ='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
28273           ;;
28274         esac
28275       fi
28276       if test no = "$with_gnu_ld"; then
28277         hardcode_libdir_flag_spec_GCJ='$wl+b $wl$libdir'
28278         hardcode_libdir_separator_GCJ=:
28279
28280         case $host_cpu in
28281         hppa*64*|ia64*)
28282           hardcode_direct_GCJ=no
28283           hardcode_shlibpath_var_GCJ=no
28284           ;;
28285         *)
28286           hardcode_direct_GCJ=yes
28287           hardcode_direct_absolute_GCJ=yes
28288           export_dynamic_flag_spec_GCJ='$wl-E'
28289
28290           # hardcode_minus_L: Not really in the search PATH,
28291           # but as the default location of the library.
28292           hardcode_minus_L_GCJ=yes
28293           ;;
28294         esac
28295       fi
28296       ;;
28297
28298     irix5* | irix6* | nonstopux*)
28299       if test yes = "$GCC"; then
28300         archive_cmds_GCJ='$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'
28301         # Try to use the -exported_symbol ld option, if it does not
28302         # work, assume that -exports_file does not work either and
28303         # implicitly export all symbols.
28304         # This should be the same for all languages, so no per-tag cache variable.
28305         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
28306 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
28307 if ${lt_cv_irix_exported_symbol+:} false; then :
28308   $as_echo_n "(cached) " >&6
28309 else
28310   save_LDFLAGS=$LDFLAGS
28311            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
28312            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h.  */
28314 int foo (void) { return 0; }
28315 _ACEOF
28316 if ac_fn_c_try_link "$LINENO"; then :
28317   lt_cv_irix_exported_symbol=yes
28318 else
28319   lt_cv_irix_exported_symbol=no
28320 fi
28321 rm -f core conftest.err conftest.$ac_objext \
28322     conftest$ac_exeext conftest.$ac_ext
28323            LDFLAGS=$save_LDFLAGS
28324 fi
28325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
28326 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
28327         if test yes = "$lt_cv_irix_exported_symbol"; then
28328           archive_expsym_cmds_GCJ='$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'
28329         fi
28330       else
28331         archive_cmds_GCJ='$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'
28332         archive_expsym_cmds_GCJ='$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'
28333       fi
28334       archive_cmds_need_lc_GCJ='no'
28335       hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28336       hardcode_libdir_separator_GCJ=:
28337       inherit_rpath_GCJ=yes
28338       link_all_deplibs_GCJ=yes
28339       ;;
28340
28341     linux*)
28342       case $cc_basename in
28343       tcc*)
28344         # Fabrice Bellard et al's Tiny C Compiler
28345         ld_shlibs_GCJ=yes
28346         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28347         ;;
28348       esac
28349       ;;
28350
28351     netbsd*)
28352       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
28353         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
28354       else
28355         archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
28356       fi
28357       hardcode_libdir_flag_spec_GCJ='-R$libdir'
28358       hardcode_direct_GCJ=yes
28359       hardcode_shlibpath_var_GCJ=no
28360       ;;
28361
28362     newsos6)
28363       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28364       hardcode_direct_GCJ=yes
28365       hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28366       hardcode_libdir_separator_GCJ=:
28367       hardcode_shlibpath_var_GCJ=no
28368       ;;
28369
28370     *nto* | *qnx*)
28371       ;;
28372
28373     openbsd* | bitrig*)
28374       if test -f /usr/libexec/ld.so; then
28375         hardcode_direct_GCJ=yes
28376         hardcode_shlibpath_var_GCJ=no
28377         hardcode_direct_absolute_GCJ=yes
28378         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
28379           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28380           archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
28381           hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28382           export_dynamic_flag_spec_GCJ='$wl-E'
28383         else
28384           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
28385           hardcode_libdir_flag_spec_GCJ='$wl-rpath,$libdir'
28386         fi
28387       else
28388         ld_shlibs_GCJ=no
28389       fi
28390       ;;
28391
28392     os2*)
28393       hardcode_libdir_flag_spec_GCJ='-L$libdir'
28394       hardcode_minus_L_GCJ=yes
28395       allow_undefined_flag_GCJ=unsupported
28396       shrext_cmds=.dll
28397       archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28398         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28399         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28400         $ECHO EXPORTS >> $output_objdir/$libname.def~
28401         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
28402         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28403         emximp -o $lib $output_objdir/$libname.def'
28404       archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
28405         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
28406         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
28407         $ECHO EXPORTS >> $output_objdir/$libname.def~
28408         prefix_cmds="$SED"~
28409         if test EXPORTS = "`$SED 1q $export_symbols`"; then
28410           prefix_cmds="$prefix_cmds -e 1d";
28411         fi~
28412         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
28413         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
28414         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
28415         emximp -o $lib $output_objdir/$libname.def'
28416       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
28417       enable_shared_with_static_runtimes_GCJ=yes
28418       ;;
28419
28420     osf3*)
28421       if test yes = "$GCC"; then
28422         allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28423         archive_cmds_GCJ='$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'
28424       else
28425         allow_undefined_flag_GCJ=' -expect_unresolved \*'
28426         archive_cmds_GCJ='$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'
28427       fi
28428       archive_cmds_need_lc_GCJ='no'
28429       hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28430       hardcode_libdir_separator_GCJ=:
28431       ;;
28432
28433     osf4* | osf5*)      # as osf3* with the addition of -msym flag
28434       if test yes = "$GCC"; then
28435         allow_undefined_flag_GCJ=' $wl-expect_unresolved $wl\*'
28436         archive_cmds_GCJ='$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'
28437         hardcode_libdir_flag_spec_GCJ='$wl-rpath $wl$libdir'
28438       else
28439         allow_undefined_flag_GCJ=' -expect_unresolved \*'
28440         archive_cmds_GCJ='$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'
28441         archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
28442           $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'
28443
28444         # Both c and cxx compiler support -rpath directly
28445         hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
28446       fi
28447       archive_cmds_need_lc_GCJ='no'
28448       hardcode_libdir_separator_GCJ=:
28449       ;;
28450
28451     solaris*)
28452       no_undefined_flag_GCJ=' -z defs'
28453       if test yes = "$GCC"; then
28454         wlarc='$wl'
28455         archive_cmds_GCJ='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
28456         archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28457           $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'
28458       else
28459         case `$CC -V 2>&1` in
28460         *"Compilers 5.0"*)
28461           wlarc=''
28462           archive_cmds_GCJ='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
28463           archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28464             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
28465           ;;
28466         *)
28467           wlarc='$wl'
28468           archive_cmds_GCJ='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
28469           archive_expsym_cmds_GCJ='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
28470             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
28471           ;;
28472         esac
28473       fi
28474       hardcode_libdir_flag_spec_GCJ='-R$libdir'
28475       hardcode_shlibpath_var_GCJ=no
28476       case $host_os in
28477       solaris2.[0-5] | solaris2.[0-5].*) ;;
28478       *)
28479         # The compiler driver will combine and reorder linker options,
28480         # but understands '-z linker_flag'.  GCC discards it without '$wl',
28481         # but is careful enough not to reorder.
28482         # Supported since Solaris 2.6 (maybe 2.5.1?)
28483         if test yes = "$GCC"; then
28484           whole_archive_flag_spec_GCJ='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
28485         else
28486           whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
28487         fi
28488         ;;
28489       esac
28490       link_all_deplibs_GCJ=yes
28491       ;;
28492
28493     sunos4*)
28494       if test sequent = "$host_vendor"; then
28495         # Use $CC to link under sequent, because it throws in some extra .o
28496         # files that make .init and .fini sections work.
28497         archive_cmds_GCJ='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
28498       else
28499         archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
28500       fi
28501       hardcode_libdir_flag_spec_GCJ='-L$libdir'
28502       hardcode_direct_GCJ=yes
28503       hardcode_minus_L_GCJ=yes
28504       hardcode_shlibpath_var_GCJ=no
28505       ;;
28506
28507     sysv4)
28508       case $host_vendor in
28509         sni)
28510           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28511           hardcode_direct_GCJ=yes # is this really true???
28512         ;;
28513         siemens)
28514           ## LD is ld it makes a PLAMLIB
28515           ## CC just makes a GrossModule.
28516           archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
28517           reload_cmds_GCJ='$CC -r -o $output$reload_objs'
28518           hardcode_direct_GCJ=no
28519         ;;
28520         motorola)
28521           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28522           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
28523         ;;
28524       esac
28525       runpath_var='LD_RUN_PATH'
28526       hardcode_shlibpath_var_GCJ=no
28527       ;;
28528
28529     sysv4.3*)
28530       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28531       hardcode_shlibpath_var_GCJ=no
28532       export_dynamic_flag_spec_GCJ='-Bexport'
28533       ;;
28534
28535     sysv4*MP*)
28536       if test -d /usr/nec; then
28537         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28538         hardcode_shlibpath_var_GCJ=no
28539         runpath_var=LD_RUN_PATH
28540         hardcode_runpath_var=yes
28541         ld_shlibs_GCJ=yes
28542       fi
28543       ;;
28544
28545     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
28546       no_undefined_flag_GCJ='$wl-z,text'
28547       archive_cmds_need_lc_GCJ=no
28548       hardcode_shlibpath_var_GCJ=no
28549       runpath_var='LD_RUN_PATH'
28550
28551       if test yes = "$GCC"; then
28552         archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28553         archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28554       else
28555         archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28556         archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28557       fi
28558       ;;
28559
28560     sysv5* | sco3.2v5* | sco5v6*)
28561       # Note: We CANNOT use -z defs as we might desire, because we do not
28562       # link with -lc, and that would cause any symbols used from libc to
28563       # always be unresolved, which means just about no library would
28564       # ever link correctly.  If we're not using GNU ld we use -z text
28565       # though, which does catch some bad symbols but isn't as heavy-handed
28566       # as -z defs.
28567       no_undefined_flag_GCJ='$wl-z,text'
28568       allow_undefined_flag_GCJ='$wl-z,nodefs'
28569       archive_cmds_need_lc_GCJ=no
28570       hardcode_shlibpath_var_GCJ=no
28571       hardcode_libdir_flag_spec_GCJ='$wl-R,$libdir'
28572       hardcode_libdir_separator_GCJ=':'
28573       link_all_deplibs_GCJ=yes
28574       export_dynamic_flag_spec_GCJ='$wl-Bexport'
28575       runpath_var='LD_RUN_PATH'
28576
28577       if test yes = "$GCC"; then
28578         archive_cmds_GCJ='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28579         archive_expsym_cmds_GCJ='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28580       else
28581         archive_cmds_GCJ='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28582         archive_expsym_cmds_GCJ='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
28583       fi
28584       ;;
28585
28586     uts4*)
28587       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
28588       hardcode_libdir_flag_spec_GCJ='-L$libdir'
28589       hardcode_shlibpath_var_GCJ=no
28590       ;;
28591
28592     *)
28593       ld_shlibs_GCJ=no
28594       ;;
28595     esac
28596
28597     if test sni = "$host_vendor"; then
28598       case $host in
28599       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
28600         export_dynamic_flag_spec_GCJ='$wl-Blargedynsym'
28601         ;;
28602       esac
28603     fi
28604   fi
28605
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
28607 $as_echo "$ld_shlibs_GCJ" >&6; }
28608 test no = "$ld_shlibs_GCJ" && can_build_shared=no
28609
28610 with_gnu_ld_GCJ=$with_gnu_ld
28611
28612
28613
28614
28615
28616
28617 #
28618 # Do we need to explicitly link libc?
28619 #
28620 case "x$archive_cmds_need_lc_GCJ" in
28621 x|xyes)
28622   # Assume -lc should be added
28623   archive_cmds_need_lc_GCJ=yes
28624
28625   if test yes,yes = "$GCC,$enable_shared"; then
28626     case $archive_cmds_GCJ in
28627     *'~'*)
28628       # FIXME: we may have to deal with multi-command sequences.
28629       ;;
28630     '$CC '*)
28631       # Test whether the compiler implicitly links with -lc since on some
28632       # systems, -lgcc has to come before -lc. If gcc already passes -lc
28633       # to ld, don't add -lc before -lgcc.
28634       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
28635 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
28636 if ${lt_cv_archive_cmds_need_lc_GCJ+:} false; then :
28637   $as_echo_n "(cached) " >&6
28638 else
28639   $RM conftest*
28640         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
28641
28642         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
28643   (eval $ac_compile) 2>&5
28644   ac_status=$?
28645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28646   test $ac_status = 0; } 2>conftest.err; then
28647           soname=conftest
28648           lib=conftest
28649           libobjs=conftest.$ac_objext
28650           deplibs=
28651           wl=$lt_prog_compiler_wl_GCJ
28652           pic_flag=$lt_prog_compiler_pic_GCJ
28653           compiler_flags=-v
28654           linker_flags=-v
28655           verstring=
28656           output_objdir=.
28657           libname=conftest
28658           lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
28659           allow_undefined_flag_GCJ=
28660           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
28661   (eval $archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
28662   ac_status=$?
28663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28664   test $ac_status = 0; }
28665           then
28666             lt_cv_archive_cmds_need_lc_GCJ=no
28667           else
28668             lt_cv_archive_cmds_need_lc_GCJ=yes
28669           fi
28670           allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
28671         else
28672           cat conftest.err 1>&5
28673         fi
28674         $RM conftest*
28675
28676 fi
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
28678 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
28679       archive_cmds_need_lc_GCJ=$lt_cv_archive_cmds_need_lc_GCJ
28680       ;;
28681     esac
28682   fi
28683   ;;
28684 esac
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
28748 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
28749 hardcode_action_GCJ=
28750 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
28751    test -n "$runpath_var_GCJ" ||
28752    test yes = "$hardcode_automatic_GCJ"; then
28753
28754   # We can hardcode non-existent directories.
28755   if test no != "$hardcode_direct_GCJ" &&
28756      # If the only mechanism to avoid hardcoding is shlibpath_var, we
28757      # have to relink, otherwise we might link with an installed library
28758      # when we should be linking with a yet-to-be-installed one
28759      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" &&
28760      test no != "$hardcode_minus_L_GCJ"; then
28761     # Linking always hardcodes the temporary library directory.
28762     hardcode_action_GCJ=relink
28763   else
28764     # We can link without hardcoding, and we can hardcode nonexisting dirs.
28765     hardcode_action_GCJ=immediate
28766   fi
28767 else
28768   # We cannot hardcode anything, or else we can only hardcode existing
28769   # directories.
28770   hardcode_action_GCJ=unsupported
28771 fi
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
28773 $as_echo "$hardcode_action_GCJ" >&6; }
28774
28775 if test relink = "$hardcode_action_GCJ" ||
28776    test yes = "$inherit_rpath_GCJ"; then
28777   # Fast installation is not supported
28778   enable_fast_install=no
28779 elif test yes = "$shlibpath_overrides_runpath" ||
28780      test no = "$enable_shared"; then
28781   # Fast installation is not necessary
28782   enable_fast_install=needless
28783 fi
28784
28785
28786
28787
28788
28789
28790
28791 fi
28792
28793 ac_ext=c
28794 ac_cpp='$CPP $CPPFLAGS'
28795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28798
28799
28800 GCC=$lt_save_GCC
28801 CC=$lt_save_CC
28802 CFLAGS=$lt_save_CFLAGS
28803
28804 if test -n "$ac_tool_prefix"; then
28805   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
28806 set dummy ${ac_tool_prefix}windres; ac_word=$2
28807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28808 $as_echo_n "checking for $ac_word... " >&6; }
28809 if ${ac_cv_prog_RC+:} false; then :
28810   $as_echo_n "(cached) " >&6
28811 else
28812   if test -n "$RC"; then
28813   ac_cv_prog_RC="$RC" # Let the user override the test.
28814 else
28815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28816 for as_dir in $PATH
28817 do
28818   IFS=$as_save_IFS
28819   test -z "$as_dir" && as_dir=.
28820     for ac_exec_ext in '' $ac_executable_extensions; do
28821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28822     ac_cv_prog_RC="${ac_tool_prefix}windres"
28823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28824     break 2
28825   fi
28826 done
28827   done
28828 IFS=$as_save_IFS
28829
28830 fi
28831 fi
28832 RC=$ac_cv_prog_RC
28833 if test -n "$RC"; then
28834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
28835 $as_echo "$RC" >&6; }
28836 else
28837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28838 $as_echo "no" >&6; }
28839 fi
28840
28841
28842 fi
28843 if test -z "$ac_cv_prog_RC"; then
28844   ac_ct_RC=$RC
28845   # Extract the first word of "windres", so it can be a program name with args.
28846 set dummy windres; ac_word=$2
28847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28848 $as_echo_n "checking for $ac_word... " >&6; }
28849 if ${ac_cv_prog_ac_ct_RC+:} false; then :
28850   $as_echo_n "(cached) " >&6
28851 else
28852   if test -n "$ac_ct_RC"; then
28853   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
28854 else
28855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28856 for as_dir in $PATH
28857 do
28858   IFS=$as_save_IFS
28859   test -z "$as_dir" && as_dir=.
28860     for ac_exec_ext in '' $ac_executable_extensions; do
28861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28862     ac_cv_prog_ac_ct_RC="windres"
28863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28864     break 2
28865   fi
28866 done
28867   done
28868 IFS=$as_save_IFS
28869
28870 fi
28871 fi
28872 ac_ct_RC=$ac_cv_prog_ac_ct_RC
28873 if test -n "$ac_ct_RC"; then
28874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
28875 $as_echo "$ac_ct_RC" >&6; }
28876 else
28877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28878 $as_echo "no" >&6; }
28879 fi
28880
28881   if test "x$ac_ct_RC" = x; then
28882     RC=""
28883   else
28884     case $cross_compiling:$ac_tool_warned in
28885 yes:)
28886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28888 ac_tool_warned=yes ;;
28889 esac
28890     RC=$ac_ct_RC
28891   fi
28892 else
28893   RC="$ac_cv_prog_RC"
28894 fi
28895
28896
28897
28898
28899 # Source file extension for RC test sources.
28900 ac_ext=rc
28901
28902 # Object file extension for compiled RC test sources.
28903 objext=o
28904 objext_RC=$objext
28905
28906 # Code to be used in simple compile tests
28907 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
28908
28909 # Code to be used in simple link tests
28910 lt_simple_link_test_code=$lt_simple_compile_test_code
28911
28912 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
28913
28914
28915
28916
28917
28918
28919 # If no C compiler was specified, use CC.
28920 LTCC=${LTCC-"$CC"}
28921
28922 # If no C compiler flags were specified, use CFLAGS.
28923 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
28924
28925 # Allow CC to be a program name with arguments.
28926 compiler=$CC
28927
28928
28929 # save warnings/boilerplate of simple test code
28930 ac_outfile=conftest.$ac_objext
28931 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
28932 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28933 _lt_compiler_boilerplate=`cat conftest.err`
28934 $RM conftest*
28935
28936 ac_outfile=conftest.$ac_objext
28937 echo "$lt_simple_link_test_code" >conftest.$ac_ext
28938 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
28939 _lt_linker_boilerplate=`cat conftest.err`
28940 $RM -r conftest*
28941
28942
28943 # Allow CC to be a program name with arguments.
28944 lt_save_CC=$CC
28945 lt_save_CFLAGS=$CFLAGS
28946 lt_save_GCC=$GCC
28947 GCC=
28948 CC=${RC-"windres"}
28949 CFLAGS=
28950 compiler=$CC
28951 compiler_RC=$CC
28952 func_cc_basename $compiler
28953 cc_basename=$func_cc_basename_result
28954
28955 lt_cv_prog_compiler_c_o_RC=yes
28956
28957 if test -n "$compiler"; then
28958   :
28959
28960
28961
28962 fi
28963
28964 GCC=$lt_save_GCC
28965 ac_ext=c
28966 ac_cpp='$CPP $CPPFLAGS'
28967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28970
28971 CC=$lt_save_CC
28972 CFLAGS=$lt_save_CFLAGS
28973
28974
28975 # Ensure the correct file name (and path) conversion function
28976 # is available to the test suite.
28977
28978 # Propagate --with-aix-soname option to the testsuite.
28979
28980 ## ---------------------- ##
28981 ## Gnulib initialisation. ##
28982 ## ---------------------- ##
28983
28984
28985
28986
28987
28988           LIBC_FATAL_STDERR_=1
28989   export LIBC_FATAL_STDERR_
28990
28991
28992    if true; then
28993   GL_COND_LIBTOOL_TRUE=
28994   GL_COND_LIBTOOL_FALSE='#'
28995 else
28996   GL_COND_LIBTOOL_TRUE='#'
28997   GL_COND_LIBTOOL_FALSE=
28998 fi
28999
29000   gl_cond_libtool=true
29001   gl_m4_base='m4'
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011   gl_source_base='lib'
29012   # Autoconf 2.61a.99 and earlier don't support linking a file only
29013   # in VPATH builds.  But since GNUmakefile is for maintainer use
29014   # only, it does not matter if we skip the link with older autoconf.
29015   # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
29016   # builds, so use a shell variable to bypass this.
29017   GNUmakefile=GNUmakefile
29018   ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
29019
29020
29021
29022   # End of code from modules
29023
29024
29025
29026
29027
29028
29029
29030   gltests_libdeps=
29031   gltests_ltlibdeps=
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041   gl_source_base='tests'
29042   GLtests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
29043
29044   gl_module_indicator_condition=$GLtests_WITNESS
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056 ## ------------- ##
29057 ## Documentation ##
29058 ## ------------- ##
29059
29060 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
29061
29062
29063 ## -------- ##
29064 ## Outputs. ##
29065 ## -------- ##
29066 ac_config_files="$ac_config_files Makefile"
29067
29068 cat >confcache <<\_ACEOF
29069 # This file is a shell script that caches the results of configure
29070 # tests run on this system so they can be shared between configure
29071 # scripts and configure runs, see configure's option --config-cache.
29072 # It is not useful on other systems.  If it contains results you don't
29073 # want to keep, you may remove or edit it.
29074 #
29075 # config.status only pays attention to the cache file if you give it
29076 # the --recheck option to rerun configure.
29077 #
29078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29080 # following values.
29081
29082 _ACEOF
29083
29084 # The following way of writing the cache mishandles newlines in values,
29085 # but we know of no workaround that is simple, portable, and efficient.
29086 # So, we kill variables containing newlines.
29087 # Ultrix sh set writes to stderr and can't be redirected directly,
29088 # and sets the high bit in the cache file unless we assign to the vars.
29089 (
29090   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29091     eval ac_val=\$$ac_var
29092     case $ac_val in #(
29093     *${as_nl}*)
29094       case $ac_var in #(
29095       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
29096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
29097       esac
29098       case $ac_var in #(
29099       _ | IFS | as_nl) ;; #(
29100       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29101       *) { eval $ac_var=; unset $ac_var;} ;;
29102       esac ;;
29103     esac
29104   done
29105
29106   (set) 2>&1 |
29107     case $as_nl`(ac_space=' '; set) 2>&1` in #(
29108     *${as_nl}ac_space=\ *)
29109       # `set' does not quote correctly, so add quotes: double-quote
29110       # substitution turns \\\\ into \\, and sed turns \\ into \.
29111       sed -n \
29112         "s/'/'\\\\''/g;
29113           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29114       ;; #(
29115     *)
29116       # `set' quotes correctly as required by POSIX, so do not add quotes.
29117       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29118       ;;
29119     esac |
29120     sort
29121 ) |
29122   sed '
29123      /^ac_cv_env_/b end
29124      t clear
29125      :clear
29126      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29127      t end
29128      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29129      :end' >>confcache
29130 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29131   if test -w "$cache_file"; then
29132     if test "x$cache_file" != "x/dev/null"; then
29133       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
29134 $as_echo "$as_me: updating cache $cache_file" >&6;}
29135       if test ! -f "$cache_file" || test -h "$cache_file"; then
29136         cat confcache >"$cache_file"
29137       else
29138         case $cache_file in #(
29139         */* | ?:*)
29140           mv -f confcache "$cache_file"$$ &&
29141           mv -f "$cache_file"$$ "$cache_file" ;; #(
29142         *)
29143           mv -f confcache "$cache_file" ;;
29144         esac
29145       fi
29146     fi
29147   else
29148     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
29149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29150   fi
29151 fi
29152 rm -f confcache
29153
29154 test "x$prefix" = xNONE && prefix=$ac_default_prefix
29155 # Let make expand exec_prefix.
29156 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
29157
29158 DEFS=-DHAVE_CONFIG_H
29159
29160 ac_libobjs=
29161 ac_ltlibobjs=
29162 U=
29163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29164   # 1. Remove the extension, and $U if already installed.
29165   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29166   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29167   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
29168   #    will be set to the directory where LIBOBJS objects are built.
29169   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29170   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
29171 done
29172 LIBOBJS=$ac_libobjs
29173
29174 LTLIBOBJS=$ac_ltlibobjs
29175
29176
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
29178 $as_echo_n "checking that generated files are newer than configure... " >&6; }
29179    if test -n "$am_sleep_pid"; then
29180      # Hide warnings about reused PIDs.
29181      wait $am_sleep_pid 2>/dev/null
29182    fi
29183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
29184 $as_echo "done" >&6; }
29185  if test -n "$EXEEXT"; then
29186   am__EXEEXT_TRUE=
29187   am__EXEEXT_FALSE='#'
29188 else
29189   am__EXEEXT_TRUE='#'
29190   am__EXEEXT_FALSE=
29191 fi
29192
29193 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29194   as_fn_error $? "conditional \"AMDEP\" was never defined.
29195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29196 fi
29197 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29198   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
29199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29200 fi
29201 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
29202   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
29203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29204 fi
29205 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
29206   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
29207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29208 fi
29209 LT_CONFIG_H=config.h
29210 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29211   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
29212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29213 fi
29214 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
29215   as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
29216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
29217 fi
29218 CONFIG_INCLUDE=config.h
29219
29220
29221     GL_libobjs=
29222     GL_ltlibobjs=
29223     if test -n "$GL_LIBOBJS"; then
29224       # Remove the extension.
29225       sed_drop_objext='s/\.o$//;s/\.obj$//'
29226       for i in `for i in $GL_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29227         GL_libobjs="$GL_libobjs $i.$ac_objext"
29228         GL_ltlibobjs="$GL_ltlibobjs $i.lo"
29229       done
29230     fi
29231     GL_LIBOBJS=$GL_libobjs
29232
29233     GL_LTLIBOBJS=$GL_ltlibobjs
29234
29235
29236
29237     GLtests_libobjs=
29238     GLtests_ltlibobjs=
29239     if test -n "$GLtests_LIBOBJS"; then
29240       # Remove the extension.
29241       sed_drop_objext='s/\.o$//;s/\.obj$//'
29242       for i in `for i in $GLtests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
29243         GLtests_libobjs="$GLtests_libobjs $i.$ac_objext"
29244         GLtests_ltlibobjs="$GLtests_ltlibobjs $i.lo"
29245       done
29246     fi
29247     GLtests_LIBOBJS=$GLtests_libobjs
29248
29249     GLtests_LTLIBOBJS=$GLtests_ltlibobjs
29250
29251
29252
29253 : "${CONFIG_STATUS=./config.status}"
29254 ac_write_fail=0
29255 ac_clean_files_save=$ac_clean_files
29256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29258 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29259 as_write_fail=0
29260 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
29261 #! $SHELL
29262 # Generated by $as_me.
29263 # Run this file to recreate the current configuration.
29264 # Compiler output produced by configure, useful for debugging
29265 # configure, is in config.log if it exists.
29266
29267 debug=false
29268 ac_cs_recheck=false
29269 ac_cs_silent=false
29270
29271 SHELL=\${CONFIG_SHELL-$SHELL}
29272 export SHELL
29273 _ASEOF
29274 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
29275 ## -------------------- ##
29276 ## M4sh Initialization. ##
29277 ## -------------------- ##
29278
29279 # Be more Bourne compatible
29280 DUALCASE=1; export DUALCASE # for MKS sh
29281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
29282   emulate sh
29283   NULLCMD=:
29284   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29285   # is contrary to our usage.  Disable this feature.
29286   alias -g '${1+"$@"}'='"$@"'
29287   setopt NO_GLOB_SUBST
29288 else
29289   case `(set -o) 2>/dev/null` in #(
29290   *posix*) :
29291     set -o posix ;; #(
29292   *) :
29293      ;;
29294 esac
29295 fi
29296
29297
29298 as_nl='
29299 '
29300 export as_nl
29301 # Printing a long string crashes Solaris 7 /usr/bin/printf.
29302 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29304 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29305 # Prefer a ksh shell builtin over an external printf program on Solaris,
29306 # but without wasting forks for bash or zsh.
29307 if test -z "$BASH_VERSION$ZSH_VERSION" \
29308     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
29309   as_echo='print -r --'
29310   as_echo_n='print -rn --'
29311 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29312   as_echo='printf %s\n'
29313   as_echo_n='printf %s'
29314 else
29315   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29316     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
29317     as_echo_n='/usr/ucb/echo -n'
29318   else
29319     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29320     as_echo_n_body='eval
29321       arg=$1;
29322       case $arg in #(
29323       *"$as_nl"*)
29324         expr "X$arg" : "X\\(.*\\)$as_nl";
29325         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29326       esac;
29327       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
29328     '
29329     export as_echo_n_body
29330     as_echo_n='sh -c $as_echo_n_body as_echo'
29331   fi
29332   export as_echo_body
29333   as_echo='sh -c $as_echo_body as_echo'
29334 fi
29335
29336 # The user is always right.
29337 if test "${PATH_SEPARATOR+set}" != set; then
29338   PATH_SEPARATOR=:
29339   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29340     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29341       PATH_SEPARATOR=';'
29342   }
29343 fi
29344
29345
29346 # IFS
29347 # We need space, tab and new line, in precisely that order.  Quoting is
29348 # there to prevent editors from complaining about space-tab.
29349 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29350 # splitting by setting IFS to empty value.)
29351 IFS=" ""        $as_nl"
29352
29353 # Find who we are.  Look in the path if we contain no directory separator.
29354 as_myself=
29355 case $0 in #((
29356   *[\\/]* ) as_myself=$0 ;;
29357   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29358 for as_dir in $PATH
29359 do
29360   IFS=$as_save_IFS
29361   test -z "$as_dir" && as_dir=.
29362     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29363   done
29364 IFS=$as_save_IFS
29365
29366      ;;
29367 esac
29368 # We did not find ourselves, most probably we were run as `sh COMMAND'
29369 # in which case we are not to be found in the path.
29370 if test "x$as_myself" = x; then
29371   as_myself=$0
29372 fi
29373 if test ! -f "$as_myself"; then
29374   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29375   exit 1
29376 fi
29377
29378 # Unset variables that we do not need and which cause bugs (e.g. in
29379 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
29380 # suppresses any "Segmentation fault" message there.  '((' could
29381 # trigger a bug in pdksh 5.2.14.
29382 for as_var in BASH_ENV ENV MAIL MAILPATH
29383 do eval test x\${$as_var+set} = xset \
29384   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
29385 done
29386 PS1='$ '
29387 PS2='> '
29388 PS4='+ '
29389
29390 # NLS nuisances.
29391 LC_ALL=C
29392 export LC_ALL
29393 LANGUAGE=C
29394 export LANGUAGE
29395
29396 # CDPATH.
29397 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29398
29399
29400 # as_fn_error STATUS ERROR [LINENO LOG_FD]
29401 # ----------------------------------------
29402 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
29403 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
29404 # script with STATUS, using 1 if that was 0.
29405 as_fn_error ()
29406 {
29407   as_status=$1; test $as_status -eq 0 && as_status=1
29408   if test "$4"; then
29409     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29410     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
29411   fi
29412   $as_echo "$as_me: error: $2" >&2
29413   as_fn_exit $as_status
29414 } # as_fn_error
29415
29416
29417 # as_fn_set_status STATUS
29418 # -----------------------
29419 # Set $? to STATUS, without forking.
29420 as_fn_set_status ()
29421 {
29422   return $1
29423 } # as_fn_set_status
29424
29425 # as_fn_exit STATUS
29426 # -----------------
29427 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29428 as_fn_exit ()
29429 {
29430   set +e
29431   as_fn_set_status $1
29432   exit $1
29433 } # as_fn_exit
29434
29435 # as_fn_unset VAR
29436 # ---------------
29437 # Portably unset VAR.
29438 as_fn_unset ()
29439 {
29440   { eval $1=; unset $1;}
29441 }
29442 as_unset=as_fn_unset
29443 # as_fn_append VAR VALUE
29444 # ----------------------
29445 # Append the text in VALUE to the end of the definition contained in VAR. Take
29446 # advantage of any shell optimizations that allow amortized linear growth over
29447 # repeated appends, instead of the typical quadratic growth present in naive
29448 # implementations.
29449 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
29450   eval 'as_fn_append ()
29451   {
29452     eval $1+=\$2
29453   }'
29454 else
29455   as_fn_append ()
29456   {
29457     eval $1=\$$1\$2
29458   }
29459 fi # as_fn_append
29460
29461 # as_fn_arith ARG...
29462 # ------------------
29463 # Perform arithmetic evaluation on the ARGs, and store the result in the
29464 # global $as_val. Take advantage of shells that can avoid forks. The arguments
29465 # must be portable across $(()) and expr.
29466 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
29467   eval 'as_fn_arith ()
29468   {
29469     as_val=$(( $* ))
29470   }'
29471 else
29472   as_fn_arith ()
29473   {
29474     as_val=`expr "$@" || test $? -eq 1`
29475   }
29476 fi # as_fn_arith
29477
29478
29479 if expr a : '\(a\)' >/dev/null 2>&1 &&
29480    test "X`expr 00001 : '.*\(...\)'`" = X001; then
29481   as_expr=expr
29482 else
29483   as_expr=false
29484 fi
29485
29486 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29487   as_basename=basename
29488 else
29489   as_basename=false
29490 fi
29491
29492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29493   as_dirname=dirname
29494 else
29495   as_dirname=false
29496 fi
29497
29498 as_me=`$as_basename -- "$0" ||
29499 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29500          X"$0" : 'X\(//\)$' \| \
29501          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29502 $as_echo X/"$0" |
29503     sed '/^.*\/\([^/][^/]*\)\/*$/{
29504             s//\1/
29505             q
29506           }
29507           /^X\/\(\/\/\)$/{
29508             s//\1/
29509             q
29510           }
29511           /^X\/\(\/\).*/{
29512             s//\1/
29513             q
29514           }
29515           s/.*/./; q'`
29516
29517 # Avoid depending upon Character Ranges.
29518 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
29519 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29520 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29521 as_cr_digits='0123456789'
29522 as_cr_alnum=$as_cr_Letters$as_cr_digits
29523
29524 ECHO_C= ECHO_N= ECHO_T=
29525 case `echo -n x` in #(((((
29526 -n*)
29527   case `echo 'xy\c'` in
29528   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
29529   xy)  ECHO_C='\c';;
29530   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
29531        ECHO_T=' ';;
29532   esac;;
29533 *)
29534   ECHO_N='-n';;
29535 esac
29536
29537 rm -f conf$$ conf$$.exe conf$$.file
29538 if test -d conf$$.dir; then
29539   rm -f conf$$.dir/conf$$.file
29540 else
29541   rm -f conf$$.dir
29542   mkdir conf$$.dir 2>/dev/null
29543 fi
29544 if (echo >conf$$.file) 2>/dev/null; then
29545   if ln -s conf$$.file conf$$ 2>/dev/null; then
29546     as_ln_s='ln -s'
29547     # ... but there are two gotchas:
29548     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29549     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29550     # In both cases, we have to default to `cp -pR'.
29551     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29552       as_ln_s='cp -pR'
29553   elif ln conf$$.file conf$$ 2>/dev/null; then
29554     as_ln_s=ln
29555   else
29556     as_ln_s='cp -pR'
29557   fi
29558 else
29559   as_ln_s='cp -pR'
29560 fi
29561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29562 rmdir conf$$.dir 2>/dev/null
29563
29564
29565 # as_fn_mkdir_p
29566 # -------------
29567 # Create "$as_dir" as a directory, including parents if necessary.
29568 as_fn_mkdir_p ()
29569 {
29570
29571   case $as_dir in #(
29572   -*) as_dir=./$as_dir;;
29573   esac
29574   test -d "$as_dir" || eval $as_mkdir_p || {
29575     as_dirs=
29576     while :; do
29577       case $as_dir in #(
29578       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
29579       *) as_qdir=$as_dir;;
29580       esac
29581       as_dirs="'$as_qdir' $as_dirs"
29582       as_dir=`$as_dirname -- "$as_dir" ||
29583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29584          X"$as_dir" : 'X\(//\)[^/]' \| \
29585          X"$as_dir" : 'X\(//\)$' \| \
29586          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
29587 $as_echo X"$as_dir" |
29588     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29589             s//\1/
29590             q
29591           }
29592           /^X\(\/\/\)[^/].*/{
29593             s//\1/
29594             q
29595           }
29596           /^X\(\/\/\)$/{
29597             s//\1/
29598             q
29599           }
29600           /^X\(\/\).*/{
29601             s//\1/
29602             q
29603           }
29604           s/.*/./; q'`
29605       test -d "$as_dir" && break
29606     done
29607     test -z "$as_dirs" || eval "mkdir $as_dirs"
29608   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
29609
29610
29611 } # as_fn_mkdir_p
29612 if mkdir -p . 2>/dev/null; then
29613   as_mkdir_p='mkdir -p "$as_dir"'
29614 else
29615   test -d ./-p && rmdir ./-p
29616   as_mkdir_p=false
29617 fi
29618
29619
29620 # as_fn_executable_p FILE
29621 # -----------------------
29622 # Test if FILE is an executable regular file.
29623 as_fn_executable_p ()
29624 {
29625   test -f "$1" && test -x "$1"
29626 } # as_fn_executable_p
29627 as_test_x='test -x'
29628 as_executable_p=as_fn_executable_p
29629
29630 # Sed expression to map a string onto a valid CPP name.
29631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29632
29633 # Sed expression to map a string onto a valid variable name.
29634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29635
29636
29637 exec 6>&1
29638 ## ----------------------------------- ##
29639 ## Main body of $CONFIG_STATUS script. ##
29640 ## ----------------------------------- ##
29641 _ASEOF
29642 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
29643
29644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29645 # Save the log message, to keep $0 and so on meaningful, and to
29646 # report actual input values of CONFIG_FILES etc. instead of their
29647 # values after options handling.
29648 ac_log="
29649 This file was extended by GNU Libtool $as_me 2.4.6, which was
29650 generated by GNU Autoconf 2.69.  Invocation command line was
29651
29652   CONFIG_FILES    = $CONFIG_FILES
29653   CONFIG_HEADERS  = $CONFIG_HEADERS
29654   CONFIG_LINKS    = $CONFIG_LINKS
29655   CONFIG_COMMANDS = $CONFIG_COMMANDS
29656   $ $0 $@
29657
29658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29659 "
29660
29661 _ACEOF
29662
29663 case $ac_config_files in *"
29664 "*) set x $ac_config_files; shift; ac_config_files=$*;;
29665 esac
29666
29667 case $ac_config_headers in *"
29668 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
29669 esac
29670
29671
29672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29673 # Files that config.status was made for.
29674 config_files="$ac_config_files"
29675 config_headers="$ac_config_headers"
29676 config_links="$ac_config_links"
29677 config_commands="$ac_config_commands"
29678
29679 _ACEOF
29680
29681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29682 ac_cs_usage="\
29683 \`$as_me' instantiates files and other configuration actions
29684 from templates according to the current configuration.  Unless the files
29685 and actions are specified as TAGs, all are instantiated by default.
29686
29687 Usage: $0 [OPTION]... [TAG]...
29688
29689   -h, --help       print this help, then exit
29690   -V, --version    print version number and configuration settings, then exit
29691       --config     print configuration, then exit
29692   -q, --quiet, --silent
29693                    do not print progress messages
29694   -d, --debug      don't remove temporary files
29695       --recheck    update $as_me by reconfiguring in the same conditions
29696       --file=FILE[:TEMPLATE]
29697                    instantiate the configuration file FILE
29698       --header=FILE[:TEMPLATE]
29699                    instantiate the configuration header FILE
29700
29701 Configuration files:
29702 $config_files
29703
29704 Configuration headers:
29705 $config_headers
29706
29707 Configuration links:
29708 $config_links
29709
29710 Configuration commands:
29711 $config_commands
29712
29713 Report bugs to <bug-libtool@gnu.org>.
29714 GNU Libtool home page: <http://www.gnu.org/software/libtool/>.
29715 General help using GNU software: <http://www.gnu.org/gethelp/>."
29716
29717 _ACEOF
29718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29719 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
29720 ac_cs_version="\\
29721 GNU Libtool config.status 2.4.6
29722 configured by $0, generated by GNU Autoconf 2.69,
29723   with options \\"\$ac_cs_config\\"
29724
29725 Copyright (C) 2012 Free Software Foundation, Inc.
29726 This config.status script is free software; the Free Software Foundation
29727 gives unlimited permission to copy, distribute and modify it."
29728
29729 ac_pwd='$ac_pwd'
29730 srcdir='$srcdir'
29731 INSTALL='$INSTALL'
29732 MKDIR_P='$MKDIR_P'
29733 AWK='$AWK'
29734 test -n "\$AWK" || AWK=awk
29735 _ACEOF
29736
29737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29738 # The default lists apply if the user does not specify any file.
29739 ac_need_defaults=:
29740 while test $# != 0
29741 do
29742   case $1 in
29743   --*=?*)
29744     ac_option=`expr "X$1" : 'X\([^=]*\)='`
29745     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
29746     ac_shift=:
29747     ;;
29748   --*=)
29749     ac_option=`expr "X$1" : 'X\([^=]*\)='`
29750     ac_optarg=
29751     ac_shift=:
29752     ;;
29753   *)
29754     ac_option=$1
29755     ac_optarg=$2
29756     ac_shift=shift
29757     ;;
29758   esac
29759
29760   case $ac_option in
29761   # Handling of the options.
29762   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29763     ac_cs_recheck=: ;;
29764   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29765     $as_echo "$ac_cs_version"; exit ;;
29766   --config | --confi | --conf | --con | --co | --c )
29767     $as_echo "$ac_cs_config"; exit ;;
29768   --debug | --debu | --deb | --de | --d | -d )
29769     debug=: ;;
29770   --file | --fil | --fi | --f )
29771     $ac_shift
29772     case $ac_optarg in
29773     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29774     '') as_fn_error $? "missing file argument" ;;
29775     esac
29776     as_fn_append CONFIG_FILES " '$ac_optarg'"
29777     ac_need_defaults=false;;
29778   --header | --heade | --head | --hea )
29779     $ac_shift
29780     case $ac_optarg in
29781     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29782     esac
29783     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
29784     ac_need_defaults=false;;
29785   --he | --h)
29786     # Conflict between --help and --header
29787     as_fn_error $? "ambiguous option: \`$1'
29788 Try \`$0 --help' for more information.";;
29789   --help | --hel | -h )
29790     $as_echo "$ac_cs_usage"; exit ;;
29791   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29792   | -silent | --silent | --silen | --sile | --sil | --si | --s)
29793     ac_cs_silent=: ;;
29794
29795   # This is an error.
29796   -*) as_fn_error $? "unrecognized option: \`$1'
29797 Try \`$0 --help' for more information." ;;
29798
29799   *) as_fn_append ac_config_targets " $1"
29800      ac_need_defaults=false ;;
29801
29802   esac
29803   shift
29804 done
29805
29806 ac_configure_extra_args=
29807
29808 if $ac_cs_silent; then
29809   exec 6>/dev/null
29810   ac_configure_extra_args="$ac_configure_extra_args --silent"
29811 fi
29812
29813 _ACEOF
29814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29815 if \$ac_cs_recheck; then
29816   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29817   shift
29818   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29819   CONFIG_SHELL='$SHELL'
29820   export CONFIG_SHELL
29821   exec "\$@"
29822 fi
29823
29824 _ACEOF
29825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29826 exec 5>>config.log
29827 {
29828   echo
29829   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29830 ## Running $as_me. ##
29831 _ASBOX
29832   $as_echo "$ac_log"
29833 } >&5
29834
29835 _ACEOF
29836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29837 #
29838 # INIT-COMMANDS
29839 #
29840
29841 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29842
29843
29844 # The HP-UX ksh and POSIX shell print the target directory to stdout
29845 # if CDPATH is set.
29846 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29847
29848 sed_quote_subst='$sed_quote_subst'
29849 double_quote_subst='$double_quote_subst'
29850 delay_variable_subst='$delay_variable_subst'
29851 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
29852 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
29853 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
29854 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
29855 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
29856 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
29857 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
29858 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
29859 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
29860 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
29861 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
29862 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
29863 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
29864 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
29865 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
29866 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
29867 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
29868 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
29869 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
29870 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
29871 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
29872 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
29873 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
29874 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
29875 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
29876 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
29877 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
29878 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
29879 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
29880 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
29881 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
29882 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
29883 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
29884 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
29885 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
29886 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
29887 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
29888 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
29889 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
29890 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
29891 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
29892 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
29893 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
29894 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
29895 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
29896 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
29897 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
29898 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29899 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29900 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
29901 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
29902 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
29903 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
29904 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
29905 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
29906 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
29907 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
29908 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
29909 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
29910 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"`'
29911 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
29912 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
29913 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
29914 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
29915 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
29916 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
29917 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
29918 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
29919 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
29920 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
29921 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
29922 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
29923 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
29924 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
29925 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
29926 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
29927 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
29928 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
29929 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
29930 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
29931 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29932 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
29933 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
29934 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
29935 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
29936 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
29937 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
29938 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
29939 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
29940 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29941 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
29942 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
29943 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
29944 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
29945 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
29946 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
29947 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
29948 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
29949 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
29950 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
29951 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
29952 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
29953 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
29954 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
29955 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
29956 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
29957 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
29958 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
29959 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
29960 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
29961 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
29962 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
29963 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
29964 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
29965 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
29966 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
29967 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
29968 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
29969 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
29970 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
29971 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
29972 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
29973 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
29974 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
29975 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
29976 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
29977 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
29978 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
29979 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
29980 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
29981 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
29982 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
29983 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
29984 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
29985 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
29986 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
29987 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
29988 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
29989 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
29990 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
29991 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
29992 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
29993 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
29994 LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
29995 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
29996 LD_GO='`$ECHO "$LD_GO" | $SED "$delay_single_quote_subst"`'
29997 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
29998 LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`'
29999 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
30000 reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
30001 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
30002 reload_flag_GO='`$ECHO "$reload_flag_GO" | $SED "$delay_single_quote_subst"`'
30003 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30004 reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`'
30005 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30006 reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
30007 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
30008 reload_cmds_GO='`$ECHO "$reload_cmds_GO" | $SED "$delay_single_quote_subst"`'
30009 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30010 reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`'
30011 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30012 old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30013 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30014 old_archive_cmds_GO='`$ECHO "$old_archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30015 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30016 old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30017 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
30018 compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
30019 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
30020 compiler_GO='`$ECHO "$compiler_GO" | $SED "$delay_single_quote_subst"`'
30021 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
30022 compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`'
30023 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
30024 GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
30025 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
30026 GCC_GO='`$ECHO "$GCC_GO" | $SED "$delay_single_quote_subst"`'
30027 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
30028 GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`'
30029 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
30030 lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
30031 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
30032 lt_prog_compiler_no_builtin_flag_GO='`$ECHO "$lt_prog_compiler_no_builtin_flag_GO" | $SED "$delay_single_quote_subst"`'
30033 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30034 lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`'
30035 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
30036 lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
30037 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
30038 lt_prog_compiler_pic_GO='`$ECHO "$lt_prog_compiler_pic_GO" | $SED "$delay_single_quote_subst"`'
30039 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
30040 lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`'
30041 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
30042 lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
30043 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
30044 lt_prog_compiler_wl_GO='`$ECHO "$lt_prog_compiler_wl_GO" | $SED "$delay_single_quote_subst"`'
30045 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
30046 lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`'
30047 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
30048 lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
30049 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
30050 lt_prog_compiler_static_GO='`$ECHO "$lt_prog_compiler_static_GO" | $SED "$delay_single_quote_subst"`'
30051 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
30052 lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`'
30053 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
30054 lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
30055 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
30056 lt_cv_prog_compiler_c_o_GO='`$ECHO "$lt_cv_prog_compiler_c_o_GO" | $SED "$delay_single_quote_subst"`'
30057 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
30058 lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`'
30059 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
30060 archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
30061 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
30062 archive_cmds_need_lc_GO='`$ECHO "$archive_cmds_need_lc_GO" | $SED "$delay_single_quote_subst"`'
30063 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
30064 archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`'
30065 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
30066 enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
30067 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
30068 enable_shared_with_static_runtimes_GO='`$ECHO "$enable_shared_with_static_runtimes_GO" | $SED "$delay_single_quote_subst"`'
30069 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
30070 enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`'
30071 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30072 export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30073 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30074 export_dynamic_flag_spec_GO='`$ECHO "$export_dynamic_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30075 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30076 export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30077 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30078 whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30079 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30080 whole_archive_flag_spec_GO='`$ECHO "$whole_archive_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30081 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30082 whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30083 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
30084 compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
30085 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
30086 compiler_needs_object_GO='`$ECHO "$compiler_needs_object_GO" | $SED "$delay_single_quote_subst"`'
30087 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
30088 compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`'
30089 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30090 old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
30091 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
30092 old_archive_from_new_cmds_GO='`$ECHO "$old_archive_from_new_cmds_GO" | $SED "$delay_single_quote_subst"`'
30093 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30094 old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`'
30095 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30096 old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
30097 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
30098 old_archive_from_expsyms_cmds_GO='`$ECHO "$old_archive_from_expsyms_cmds_GO" | $SED "$delay_single_quote_subst"`'
30099 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30100 old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`'
30101 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30102 archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
30103 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
30104 archive_cmds_GO='`$ECHO "$archive_cmds_GO" | $SED "$delay_single_quote_subst"`'
30105 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30106 archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`'
30107 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30108 archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30109 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30110 archive_expsym_cmds_GO='`$ECHO "$archive_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30111 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30112 archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30113 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30114 module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
30115 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
30116 module_cmds_GO='`$ECHO "$module_cmds_GO" | $SED "$delay_single_quote_subst"`'
30117 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30118 module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`'
30119 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30120 module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
30121 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
30122 module_expsym_cmds_GO='`$ECHO "$module_expsym_cmds_GO" | $SED "$delay_single_quote_subst"`'
30123 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30124 module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`'
30125 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
30126 with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
30127 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
30128 with_gnu_ld_GO='`$ECHO "$with_gnu_ld_GO" | $SED "$delay_single_quote_subst"`'
30129 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
30130 with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`'
30131 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30132 allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30133 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30134 allow_undefined_flag_GO='`$ECHO "$allow_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30135 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30136 allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30137 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
30138 no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
30139 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
30140 no_undefined_flag_GO='`$ECHO "$no_undefined_flag_GO" | $SED "$delay_single_quote_subst"`'
30141 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
30142 no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`'
30143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
30144 hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
30145 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
30146 hardcode_libdir_flag_spec_GO='`$ECHO "$hardcode_libdir_flag_spec_GO" | $SED "$delay_single_quote_subst"`'
30147 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30148 hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`'
30149 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
30150 hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
30151 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
30152 hardcode_libdir_separator_GO='`$ECHO "$hardcode_libdir_separator_GO" | $SED "$delay_single_quote_subst"`'
30153 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
30154 hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`'
30155 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
30156 hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
30157 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
30158 hardcode_direct_GO='`$ECHO "$hardcode_direct_GO" | $SED "$delay_single_quote_subst"`'
30159 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
30160 hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`'
30161 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
30162 hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
30163 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
30164 hardcode_direct_absolute_GO='`$ECHO "$hardcode_direct_absolute_GO" | $SED "$delay_single_quote_subst"`'
30165 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
30166 hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`'
30167 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
30168 hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
30169 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
30170 hardcode_minus_L_GO='`$ECHO "$hardcode_minus_L_GO" | $SED "$delay_single_quote_subst"`'
30171 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
30172 hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`'
30173 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
30174 hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
30175 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
30176 hardcode_shlibpath_var_GO='`$ECHO "$hardcode_shlibpath_var_GO" | $SED "$delay_single_quote_subst"`'
30177 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
30178 hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`'
30179 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
30180 hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
30181 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
30182 hardcode_automatic_GO='`$ECHO "$hardcode_automatic_GO" | $SED "$delay_single_quote_subst"`'
30183 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
30184 hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`'
30185 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
30186 inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
30187 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
30188 inherit_rpath_GO='`$ECHO "$inherit_rpath_GO" | $SED "$delay_single_quote_subst"`'
30189 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
30190 inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`'
30191 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
30192 link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
30193 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
30194 link_all_deplibs_GO='`$ECHO "$link_all_deplibs_GO" | $SED "$delay_single_quote_subst"`'
30195 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
30196 link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`'
30197 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
30198 always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
30199 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
30200 always_export_symbols_GO='`$ECHO "$always_export_symbols_GO" | $SED "$delay_single_quote_subst"`'
30201 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
30202 always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`'
30203 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30204 export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
30205 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
30206 export_symbols_cmds_GO='`$ECHO "$export_symbols_cmds_GO" | $SED "$delay_single_quote_subst"`'
30207 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30208 export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`'
30209 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30210 exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30211 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30212 exclude_expsyms_GO='`$ECHO "$exclude_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30213 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30214 exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30215 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
30216 include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
30217 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
30218 include_expsyms_GO='`$ECHO "$include_expsyms_GO" | $SED "$delay_single_quote_subst"`'
30219 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
30220 include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`'
30221 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30222 prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30223 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30224 prelink_cmds_GO='`$ECHO "$prelink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30225 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30226 prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30227 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
30228 postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
30229 postlink_cmds_FC='`$ECHO "$postlink_cmds_FC" | $SED "$delay_single_quote_subst"`'
30230 postlink_cmds_GO='`$ECHO "$postlink_cmds_GO" | $SED "$delay_single_quote_subst"`'
30231 postlink_cmds_GCJ='`$ECHO "$postlink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
30232 postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`'
30233 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
30234 file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
30235 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
30236 file_list_spec_GO='`$ECHO "$file_list_spec_GO" | $SED "$delay_single_quote_subst"`'
30237 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
30238 file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`'
30239 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
30240 hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
30241 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
30242 hardcode_action_GO='`$ECHO "$hardcode_action_GO" | $SED "$delay_single_quote_subst"`'
30243 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
30244 hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`'
30245 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
30246 compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
30247 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
30248 compiler_lib_search_dirs_GO='`$ECHO "$compiler_lib_search_dirs_GO" | $SED "$delay_single_quote_subst"`'
30249 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
30250 compiler_lib_search_dirs_RC='`$ECHO "$compiler_lib_search_dirs_RC" | $SED "$delay_single_quote_subst"`'
30251 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30252 predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
30253 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
30254 predep_objects_GO='`$ECHO "$predep_objects_GO" | $SED "$delay_single_quote_subst"`'
30255 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30256 predep_objects_RC='`$ECHO "$predep_objects_RC" | $SED "$delay_single_quote_subst"`'
30257 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
30258 postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
30259 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
30260 postdep_objects_GO='`$ECHO "$postdep_objects_GO" | $SED "$delay_single_quote_subst"`'
30261 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
30262 postdep_objects_RC='`$ECHO "$postdep_objects_RC" | $SED "$delay_single_quote_subst"`'
30263 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
30264 predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
30265 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
30266 predeps_GO='`$ECHO "$predeps_GO" | $SED "$delay_single_quote_subst"`'
30267 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
30268 predeps_RC='`$ECHO "$predeps_RC" | $SED "$delay_single_quote_subst"`'
30269 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
30270 postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
30271 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
30272 postdeps_GO='`$ECHO "$postdeps_GO" | $SED "$delay_single_quote_subst"`'
30273 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
30274 postdeps_RC='`$ECHO "$postdeps_RC" | $SED "$delay_single_quote_subst"`'
30275 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
30276 compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
30277 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
30278 compiler_lib_search_path_GO='`$ECHO "$compiler_lib_search_path_GO" | $SED "$delay_single_quote_subst"`'
30279 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
30280 compiler_lib_search_path_RC='`$ECHO "$compiler_lib_search_path_RC" | $SED "$delay_single_quote_subst"`'
30281
30282 LTCC='$LTCC'
30283 LTCFLAGS='$LTCFLAGS'
30284 compiler='$compiler_DEFAULT'
30285
30286 # A function that is used when there is no print builtin or printf.
30287 func_fallback_echo ()
30288 {
30289   eval 'cat <<_LTECHO_EOF
30290 \$1
30291 _LTECHO_EOF'
30292 }
30293
30294 # Quote evaled strings.
30295 for var in AS \
30296 DLLTOOL \
30297 OBJDUMP \
30298 SHELL \
30299 ECHO \
30300 PATH_SEPARATOR \
30301 SED \
30302 GREP \
30303 EGREP \
30304 FGREP \
30305 LD \
30306 NM \
30307 LN_S \
30308 lt_SP2NL \
30309 lt_NL2SP \
30310 reload_flag \
30311 deplibs_check_method \
30312 file_magic_cmd \
30313 file_magic_glob \
30314 want_nocaseglob \
30315 sharedlib_from_linklib_cmd \
30316 AR \
30317 AR_FLAGS \
30318 archiver_list_spec \
30319 STRIP \
30320 RANLIB \
30321 CC \
30322 CFLAGS \
30323 compiler \
30324 lt_cv_sys_global_symbol_pipe \
30325 lt_cv_sys_global_symbol_to_cdecl \
30326 lt_cv_sys_global_symbol_to_import \
30327 lt_cv_sys_global_symbol_to_c_name_address \
30328 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
30329 lt_cv_nm_interface \
30330 nm_file_list_spec \
30331 lt_cv_truncate_bin \
30332 lt_prog_compiler_no_builtin_flag \
30333 lt_prog_compiler_pic \
30334 lt_prog_compiler_wl \
30335 lt_prog_compiler_static \
30336 lt_cv_prog_compiler_c_o \
30337 need_locks \
30338 MANIFEST_TOOL \
30339 DSYMUTIL \
30340 NMEDIT \
30341 LIPO \
30342 OTOOL \
30343 OTOOL64 \
30344 shrext_cmds \
30345 export_dynamic_flag_spec \
30346 whole_archive_flag_spec \
30347 compiler_needs_object \
30348 with_gnu_ld \
30349 allow_undefined_flag \
30350 no_undefined_flag \
30351 hardcode_libdir_flag_spec \
30352 hardcode_libdir_separator \
30353 exclude_expsyms \
30354 include_expsyms \
30355 file_list_spec \
30356 variables_saved_for_relink \
30357 libname_spec \
30358 library_names_spec \
30359 soname_spec \
30360 install_override_mode \
30361 finish_eval \
30362 old_striplib \
30363 striplib \
30364 compiler_lib_search_dirs \
30365 predep_objects \
30366 postdep_objects \
30367 predeps \
30368 postdeps \
30369 compiler_lib_search_path \
30370 LD_CXX \
30371 LD_F77 \
30372 LD_FC \
30373 LD_GO \
30374 LD_GCJ \
30375 LD_RC \
30376 reload_flag_CXX \
30377 reload_flag_F77 \
30378 reload_flag_FC \
30379 reload_flag_GO \
30380 reload_flag_GCJ \
30381 reload_flag_RC \
30382 compiler_CXX \
30383 compiler_F77 \
30384 compiler_FC \
30385 compiler_GO \
30386 compiler_GCJ \
30387 compiler_RC \
30388 lt_prog_compiler_no_builtin_flag_CXX \
30389 lt_prog_compiler_no_builtin_flag_F77 \
30390 lt_prog_compiler_no_builtin_flag_FC \
30391 lt_prog_compiler_no_builtin_flag_GO \
30392 lt_prog_compiler_no_builtin_flag_GCJ \
30393 lt_prog_compiler_no_builtin_flag_RC \
30394 lt_prog_compiler_pic_CXX \
30395 lt_prog_compiler_pic_F77 \
30396 lt_prog_compiler_pic_FC \
30397 lt_prog_compiler_pic_GO \
30398 lt_prog_compiler_pic_GCJ \
30399 lt_prog_compiler_pic_RC \
30400 lt_prog_compiler_wl_CXX \
30401 lt_prog_compiler_wl_F77 \
30402 lt_prog_compiler_wl_FC \
30403 lt_prog_compiler_wl_GO \
30404 lt_prog_compiler_wl_GCJ \
30405 lt_prog_compiler_wl_RC \
30406 lt_prog_compiler_static_CXX \
30407 lt_prog_compiler_static_F77 \
30408 lt_prog_compiler_static_FC \
30409 lt_prog_compiler_static_GO \
30410 lt_prog_compiler_static_GCJ \
30411 lt_prog_compiler_static_RC \
30412 lt_cv_prog_compiler_c_o_CXX \
30413 lt_cv_prog_compiler_c_o_F77 \
30414 lt_cv_prog_compiler_c_o_FC \
30415 lt_cv_prog_compiler_c_o_GO \
30416 lt_cv_prog_compiler_c_o_GCJ \
30417 lt_cv_prog_compiler_c_o_RC \
30418 export_dynamic_flag_spec_CXX \
30419 export_dynamic_flag_spec_F77 \
30420 export_dynamic_flag_spec_FC \
30421 export_dynamic_flag_spec_GO \
30422 export_dynamic_flag_spec_GCJ \
30423 export_dynamic_flag_spec_RC \
30424 whole_archive_flag_spec_CXX \
30425 whole_archive_flag_spec_F77 \
30426 whole_archive_flag_spec_FC \
30427 whole_archive_flag_spec_GO \
30428 whole_archive_flag_spec_GCJ \
30429 whole_archive_flag_spec_RC \
30430 compiler_needs_object_CXX \
30431 compiler_needs_object_F77 \
30432 compiler_needs_object_FC \
30433 compiler_needs_object_GO \
30434 compiler_needs_object_GCJ \
30435 compiler_needs_object_RC \
30436 with_gnu_ld_CXX \
30437 with_gnu_ld_F77 \
30438 with_gnu_ld_FC \
30439 with_gnu_ld_GO \
30440 with_gnu_ld_GCJ \
30441 with_gnu_ld_RC \
30442 allow_undefined_flag_CXX \
30443 allow_undefined_flag_F77 \
30444 allow_undefined_flag_FC \
30445 allow_undefined_flag_GO \
30446 allow_undefined_flag_GCJ \
30447 allow_undefined_flag_RC \
30448 no_undefined_flag_CXX \
30449 no_undefined_flag_F77 \
30450 no_undefined_flag_FC \
30451 no_undefined_flag_GO \
30452 no_undefined_flag_GCJ \
30453 no_undefined_flag_RC \
30454 hardcode_libdir_flag_spec_CXX \
30455 hardcode_libdir_flag_spec_F77 \
30456 hardcode_libdir_flag_spec_FC \
30457 hardcode_libdir_flag_spec_GO \
30458 hardcode_libdir_flag_spec_GCJ \
30459 hardcode_libdir_flag_spec_RC \
30460 hardcode_libdir_separator_CXX \
30461 hardcode_libdir_separator_F77 \
30462 hardcode_libdir_separator_FC \
30463 hardcode_libdir_separator_GO \
30464 hardcode_libdir_separator_GCJ \
30465 hardcode_libdir_separator_RC \
30466 exclude_expsyms_CXX \
30467 exclude_expsyms_F77 \
30468 exclude_expsyms_FC \
30469 exclude_expsyms_GO \
30470 exclude_expsyms_GCJ \
30471 exclude_expsyms_RC \
30472 include_expsyms_CXX \
30473 include_expsyms_F77 \
30474 include_expsyms_FC \
30475 include_expsyms_GO \
30476 include_expsyms_GCJ \
30477 include_expsyms_RC \
30478 file_list_spec_CXX \
30479 file_list_spec_F77 \
30480 file_list_spec_FC \
30481 file_list_spec_GO \
30482 file_list_spec_GCJ \
30483 file_list_spec_RC \
30484 compiler_lib_search_dirs_CXX \
30485 compiler_lib_search_dirs_F77 \
30486 compiler_lib_search_dirs_FC \
30487 compiler_lib_search_dirs_GO \
30488 compiler_lib_search_dirs_GCJ \
30489 compiler_lib_search_dirs_RC \
30490 predep_objects_CXX \
30491 predep_objects_F77 \
30492 predep_objects_FC \
30493 predep_objects_GO \
30494 predep_objects_GCJ \
30495 predep_objects_RC \
30496 postdep_objects_CXX \
30497 postdep_objects_F77 \
30498 postdep_objects_FC \
30499 postdep_objects_GO \
30500 postdep_objects_GCJ \
30501 postdep_objects_RC \
30502 predeps_CXX \
30503 predeps_F77 \
30504 predeps_FC \
30505 predeps_GO \
30506 predeps_GCJ \
30507 predeps_RC \
30508 postdeps_CXX \
30509 postdeps_F77 \
30510 postdeps_FC \
30511 postdeps_GO \
30512 postdeps_GCJ \
30513 postdeps_RC \
30514 compiler_lib_search_path_CXX \
30515 compiler_lib_search_path_F77 \
30516 compiler_lib_search_path_FC \
30517 compiler_lib_search_path_GO \
30518 compiler_lib_search_path_GCJ \
30519 compiler_lib_search_path_RC; do
30520     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30521     *[\\\\\\\`\\"\\\$]*)
30522       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30523       ;;
30524     *)
30525       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30526       ;;
30527     esac
30528 done
30529
30530 # Double-quote double-evaled strings.
30531 for var in reload_cmds \
30532 old_postinstall_cmds \
30533 old_postuninstall_cmds \
30534 old_archive_cmds \
30535 extract_expsyms_cmds \
30536 old_archive_from_new_cmds \
30537 old_archive_from_expsyms_cmds \
30538 archive_cmds \
30539 archive_expsym_cmds \
30540 module_cmds \
30541 module_expsym_cmds \
30542 export_symbols_cmds \
30543 prelink_cmds \
30544 postlink_cmds \
30545 postinstall_cmds \
30546 postuninstall_cmds \
30547 finish_cmds \
30548 sys_lib_search_path_spec \
30549 configure_time_dlsearch_path \
30550 configure_time_lt_sys_library_path \
30551 reload_cmds_CXX \
30552 reload_cmds_F77 \
30553 reload_cmds_FC \
30554 reload_cmds_GO \
30555 reload_cmds_GCJ \
30556 reload_cmds_RC \
30557 old_archive_cmds_CXX \
30558 old_archive_cmds_F77 \
30559 old_archive_cmds_FC \
30560 old_archive_cmds_GO \
30561 old_archive_cmds_GCJ \
30562 old_archive_cmds_RC \
30563 old_archive_from_new_cmds_CXX \
30564 old_archive_from_new_cmds_F77 \
30565 old_archive_from_new_cmds_FC \
30566 old_archive_from_new_cmds_GO \
30567 old_archive_from_new_cmds_GCJ \
30568 old_archive_from_new_cmds_RC \
30569 old_archive_from_expsyms_cmds_CXX \
30570 old_archive_from_expsyms_cmds_F77 \
30571 old_archive_from_expsyms_cmds_FC \
30572 old_archive_from_expsyms_cmds_GO \
30573 old_archive_from_expsyms_cmds_GCJ \
30574 old_archive_from_expsyms_cmds_RC \
30575 archive_cmds_CXX \
30576 archive_cmds_F77 \
30577 archive_cmds_FC \
30578 archive_cmds_GO \
30579 archive_cmds_GCJ \
30580 archive_cmds_RC \
30581 archive_expsym_cmds_CXX \
30582 archive_expsym_cmds_F77 \
30583 archive_expsym_cmds_FC \
30584 archive_expsym_cmds_GO \
30585 archive_expsym_cmds_GCJ \
30586 archive_expsym_cmds_RC \
30587 module_cmds_CXX \
30588 module_cmds_F77 \
30589 module_cmds_FC \
30590 module_cmds_GO \
30591 module_cmds_GCJ \
30592 module_cmds_RC \
30593 module_expsym_cmds_CXX \
30594 module_expsym_cmds_F77 \
30595 module_expsym_cmds_FC \
30596 module_expsym_cmds_GO \
30597 module_expsym_cmds_GCJ \
30598 module_expsym_cmds_RC \
30599 export_symbols_cmds_CXX \
30600 export_symbols_cmds_F77 \
30601 export_symbols_cmds_FC \
30602 export_symbols_cmds_GO \
30603 export_symbols_cmds_GCJ \
30604 export_symbols_cmds_RC \
30605 prelink_cmds_CXX \
30606 prelink_cmds_F77 \
30607 prelink_cmds_FC \
30608 prelink_cmds_GO \
30609 prelink_cmds_GCJ \
30610 prelink_cmds_RC \
30611 postlink_cmds_CXX \
30612 postlink_cmds_F77 \
30613 postlink_cmds_FC \
30614 postlink_cmds_GO \
30615 postlink_cmds_GCJ \
30616 postlink_cmds_RC; do
30617     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
30618     *[\\\\\\\`\\"\\\$]*)
30619       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
30620       ;;
30621     *)
30622       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
30623       ;;
30624     esac
30625 done
30626
30627 ac_aux_dir='$ac_aux_dir'
30628
30629 # See if we are running on zsh, and set the options that allow our
30630 # commands through without removal of \ escapes INIT.
30631 if test -n "\${ZSH_VERSION+set}"; then
30632    setopt NO_GLOB_SUBST
30633 fi
30634
30635
30636     PACKAGE='$PACKAGE'
30637     VERSION='$VERSION'
30638     RM='$RM'
30639     ofile='$ofile'
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655 GNUmakefile=$GNUmakefile
30656
30657 _ACEOF
30658
30659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30660
30661 # Handling of arguments.
30662 for ac_config_target in $ac_config_targets
30663 do
30664   case $ac_config_target in
30665     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
30666     "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
30667     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
30668     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
30669     "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
30670     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
30671
30672   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
30673   esac
30674 done
30675
30676
30677 # If the user did not use the arguments to specify the items to instantiate,
30678 # then the envvar interface is used.  Set only those that are not.
30679 # We use the long form for the default assignment because of an extremely
30680 # bizarre bug on SunOS 4.1.3.
30681 if $ac_need_defaults; then
30682   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
30683   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
30684   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
30685   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
30686 fi
30687
30688 # Have a temporary directory for convenience.  Make it in the build tree
30689 # simply because there is no reason against having it here, and in addition,
30690 # creating and moving files from /tmp can sometimes cause problems.
30691 # Hook for its removal unless debugging.
30692 # Note that there is a small window in which the directory will not be cleaned:
30693 # after its creation but before its name has been assigned to `$tmp'.
30694 $debug ||
30695 {
30696   tmp= ac_tmp=
30697   trap 'exit_status=$?
30698   : "${ac_tmp:=$tmp}"
30699   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
30700 ' 0
30701   trap 'as_fn_exit 1' 1 2 13 15
30702 }
30703 # Create a (secure) tmp directory for tmp files.
30704
30705 {
30706   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
30707   test -d "$tmp"
30708 }  ||
30709 {
30710   tmp=./conf$$-$RANDOM
30711   (umask 077 && mkdir "$tmp")
30712 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
30713 ac_tmp=$tmp
30714
30715 # Set up the scripts for CONFIG_FILES section.
30716 # No need to generate them if there are no CONFIG_FILES.
30717 # This happens for instance with `./config.status config.h'.
30718 if test -n "$CONFIG_FILES"; then
30719
30720
30721 ac_cr=`echo X | tr X '\015'`
30722 # On cygwin, bash can eat \r inside `` if the user requested igncr.
30723 # But we know of no other shell where ac_cr would be empty at this
30724 # point, so we can use a bashism as a fallback.
30725 if test "x$ac_cr" = x; then
30726   eval ac_cr=\$\'\\r\'
30727 fi
30728 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30729 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30730   ac_cs_awk_cr='\\r'
30731 else
30732   ac_cs_awk_cr=$ac_cr
30733 fi
30734
30735 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
30736 _ACEOF
30737
30738
30739 {
30740   echo "cat >conf$$subs.awk <<_ACEOF" &&
30741   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
30742   echo "_ACEOF"
30743 } >conf$$subs.sh ||
30744   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30745 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
30746 ac_delim='%!_!# '
30747 for ac_last_try in false false false false false :; do
30748   . ./conf$$subs.sh ||
30749     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30750
30751   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
30752   if test $ac_delim_n = $ac_delim_num; then
30753     break
30754   elif $ac_last_try; then
30755     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
30756   else
30757     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30758   fi
30759 done
30760 rm -f conf$$subs.sh
30761
30762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30763 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
30764 _ACEOF
30765 sed -n '
30766 h
30767 s/^/S["/; s/!.*/"]=/
30768 p
30769 g
30770 s/^[^!]*!//
30771 :repl
30772 t repl
30773 s/'"$ac_delim"'$//
30774 t delim
30775 :nl
30776 h
30777 s/\(.\{148\}\)..*/\1/
30778 t more1
30779 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
30780 p
30781 n
30782 b repl
30783 :more1
30784 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30785 p
30786 g
30787 s/.\{148\}//
30788 t nl
30789 :delim
30790 h
30791 s/\(.\{148\}\)..*/\1/
30792 t more2
30793 s/["\\]/\\&/g; s/^/"/; s/$/"/
30794 p
30795 b
30796 :more2
30797 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
30798 p
30799 g
30800 s/.\{148\}//
30801 t delim
30802 ' <conf$$subs.awk | sed '
30803 /^[^""]/{
30804   N
30805   s/\n//
30806 }
30807 ' >>$CONFIG_STATUS || ac_write_fail=1
30808 rm -f conf$$subs.awk
30809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30810 _ACAWK
30811 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
30812   for (key in S) S_is_set[key] = 1
30813   FS = "\a"
30814
30815 }
30816 {
30817   line = $ 0
30818   nfields = split(line, field, "@")
30819   substed = 0
30820   len = length(field[1])
30821   for (i = 2; i < nfields; i++) {
30822     key = field[i]
30823     keylen = length(key)
30824     if (S_is_set[key]) {
30825       value = S[key]
30826       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30827       len += length(value) + length(field[++i])
30828       substed = 1
30829     } else
30830       len += 1 + keylen
30831   }
30832
30833   print line
30834 }
30835
30836 _ACAWK
30837 _ACEOF
30838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30839 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
30840   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
30841 else
30842   cat
30843 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
30844   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
30845 _ACEOF
30846
30847 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
30848 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
30849 # trailing colons and then remove the whole line if VPATH becomes empty
30850 # (actually we leave an empty line to preserve line numbers).
30851 if test "x$srcdir" = x.; then
30852   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
30853 h
30854 s///
30855 s/^/:/
30856 s/[      ]*$/:/
30857 s/:\$(srcdir):/:/g
30858 s/:\${srcdir}:/:/g
30859 s/:@srcdir@:/:/g
30860 s/^:*//
30861 s/:*$//
30862 x
30863 s/\(=[   ]*\).*/\1/
30864 G
30865 s/\n//
30866 s/^[^=]*=[       ]*$//
30867 }'
30868 fi
30869
30870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30871 fi # test -n "$CONFIG_FILES"
30872
30873 # Set up the scripts for CONFIG_HEADERS section.
30874 # No need to generate them if there are no CONFIG_HEADERS.
30875 # This happens for instance with `./config.status Makefile'.
30876 if test -n "$CONFIG_HEADERS"; then
30877 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
30878 BEGIN {
30879 _ACEOF
30880
30881 # Transform confdefs.h into an awk script `defines.awk', embedded as
30882 # here-document in config.status, that substitutes the proper values into
30883 # config.h.in to produce config.h.
30884
30885 # Create a delimiter string that does not exist in confdefs.h, to ease
30886 # handling of long lines.
30887 ac_delim='%!_!# '
30888 for ac_last_try in false false :; do
30889   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
30890   if test -z "$ac_tt"; then
30891     break
30892   elif $ac_last_try; then
30893     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
30894   else
30895     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30896   fi
30897 done
30898
30899 # For the awk script, D is an array of macro values keyed by name,
30900 # likewise P contains macro parameters if any.  Preserve backslash
30901 # newline sequences.
30902
30903 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30904 sed -n '
30905 s/.\{148\}/&'"$ac_delim"'/g
30906 t rset
30907 :rset
30908 s/^[     ]*#[    ]*define[       ][      ]*/ /
30909 t def
30910 d
30911 :def
30912 s/\\$//
30913 t bsnl
30914 s/["\\]/\\&/g
30915 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
30916 D["\1"]=" \3"/p
30917 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
30918 d
30919 :bsnl
30920 s/["\\]/\\&/g
30921 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
30922 D["\1"]=" \3\\\\\\n"\\/p
30923 t cont
30924 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
30925 t cont
30926 d
30927 :cont
30928 n
30929 s/.\{148\}/&'"$ac_delim"'/g
30930 t clear
30931 :clear
30932 s/\\$//
30933 t bsnlc
30934 s/["\\]/\\&/g; s/^/"/; s/$/"/p
30935 d
30936 :bsnlc
30937 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
30938 b cont
30939 ' <confdefs.h | sed '
30940 s/'"$ac_delim"'/"\\\
30941 "/g' >>$CONFIG_STATUS || ac_write_fail=1
30942
30943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30944   for (key in D) D_is_set[key] = 1
30945   FS = "\a"
30946 }
30947 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
30948   line = \$ 0
30949   split(line, arg, " ")
30950   if (arg[1] == "#") {
30951     defundef = arg[2]
30952     mac1 = arg[3]
30953   } else {
30954     defundef = substr(arg[1], 2)
30955     mac1 = arg[2]
30956   }
30957   split(mac1, mac2, "(") #)
30958   macro = mac2[1]
30959   prefix = substr(line, 1, index(line, defundef) - 1)
30960   if (D_is_set[macro]) {
30961     # Preserve the white space surrounding the "#".
30962     print prefix "define", macro P[macro] D[macro]
30963     next
30964   } else {
30965     # Replace #undef with comments.  This is necessary, for example,
30966     # in the case of _POSIX_SOURCE, which is predefined and required
30967     # on some systems where configure will not decide to define it.
30968     if (defundef == "undef") {
30969       print "/*", prefix defundef, macro, "*/"
30970       next
30971     }
30972   }
30973 }
30974 { print }
30975 _ACAWK
30976 _ACEOF
30977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30978   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
30979 fi # test -n "$CONFIG_HEADERS"
30980
30981
30982 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
30983 shift
30984 for ac_tag
30985 do
30986   case $ac_tag in
30987   :[FHLC]) ac_mode=$ac_tag; continue;;
30988   esac
30989   case $ac_mode$ac_tag in
30990   :[FHL]*:*);;
30991   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
30992   :[FH]-) ac_tag=-:-;;
30993   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
30994   esac
30995   ac_save_IFS=$IFS
30996   IFS=:
30997   set x $ac_tag
30998   IFS=$ac_save_IFS
30999   shift
31000   ac_file=$1
31001   shift
31002
31003   case $ac_mode in
31004   :L) ac_source=$1;;
31005   :[FH])
31006     ac_file_inputs=
31007     for ac_f
31008     do
31009       case $ac_f in
31010       -) ac_f="$ac_tmp/stdin";;
31011       *) # Look for the file first in the build tree, then in the source tree
31012          # (if the path is not absolute).  The absolute path cannot be DOS-style,
31013          # because $ac_f cannot contain `:'.
31014          test -f "$ac_f" ||
31015            case $ac_f in
31016            [\\/$]*) false;;
31017            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
31018            esac ||
31019            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
31020       esac
31021       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31022       as_fn_append ac_file_inputs " '$ac_f'"
31023     done
31024
31025     # Let's still pretend it is `configure' which instantiates (i.e., don't
31026     # use $as_me), people would be surprised to read:
31027     #    /* config.h.  Generated by config.status.  */
31028     configure_input='Generated from '`
31029           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31030         `' by configure.'
31031     if test x"$ac_file" != x-; then
31032       configure_input="$ac_file.  $configure_input"
31033       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
31034 $as_echo "$as_me: creating $ac_file" >&6;}
31035     fi
31036     # Neutralize special characters interpreted by sed in replacement strings.
31037     case $configure_input in #(
31038     *\&* | *\|* | *\\* )
31039        ac_sed_conf_input=`$as_echo "$configure_input" |
31040        sed 's/[\\\\&|]/\\\\&/g'`;; #(
31041     *) ac_sed_conf_input=$configure_input;;
31042     esac
31043
31044     case $ac_tag in
31045     *:-:* | *:-) cat >"$ac_tmp/stdin" \
31046       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
31047     esac
31048     ;;
31049   esac
31050
31051   ac_dir=`$as_dirname -- "$ac_file" ||
31052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31053          X"$ac_file" : 'X\(//\)[^/]' \| \
31054          X"$ac_file" : 'X\(//\)$' \| \
31055          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31056 $as_echo X"$ac_file" |
31057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31058             s//\1/
31059             q
31060           }
31061           /^X\(\/\/\)[^/].*/{
31062             s//\1/
31063             q
31064           }
31065           /^X\(\/\/\)$/{
31066             s//\1/
31067             q
31068           }
31069           /^X\(\/\).*/{
31070             s//\1/
31071             q
31072           }
31073           s/.*/./; q'`
31074   as_dir="$ac_dir"; as_fn_mkdir_p
31075   ac_builddir=.
31076
31077 case "$ac_dir" in
31078 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
31079 *)
31080   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
31081   # A ".." for each directory in $ac_dir_suffix.
31082   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
31083   case $ac_top_builddir_sub in
31084   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
31085   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
31086   esac ;;
31087 esac
31088 ac_abs_top_builddir=$ac_pwd
31089 ac_abs_builddir=$ac_pwd$ac_dir_suffix
31090 # for backward compatibility:
31091 ac_top_builddir=$ac_top_build_prefix
31092
31093 case $srcdir in
31094   .)  # We are building in place.
31095     ac_srcdir=.
31096     ac_top_srcdir=$ac_top_builddir_sub
31097     ac_abs_top_srcdir=$ac_pwd ;;
31098   [\\/]* | ?:[\\/]* )  # Absolute name.
31099     ac_srcdir=$srcdir$ac_dir_suffix;
31100     ac_top_srcdir=$srcdir
31101     ac_abs_top_srcdir=$srcdir ;;
31102   *) # Relative name.
31103     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
31104     ac_top_srcdir=$ac_top_build_prefix$srcdir
31105     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
31106 esac
31107 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31108
31109
31110   case $ac_mode in
31111   :F)
31112   #
31113   # CONFIG_FILE
31114   #
31115
31116   case $INSTALL in
31117   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
31118   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31119   esac
31120   ac_MKDIR_P=$MKDIR_P
31121   case $MKDIR_P in
31122   [\\/$]* | ?:[\\/]* ) ;;
31123   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
31124   esac
31125 _ACEOF
31126
31127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31128 # If the template does not know about datarootdir, expand it.
31129 # FIXME: This hack should be removed a few years after 2.60.
31130 ac_datarootdir_hack=; ac_datarootdir_seen=
31131 ac_sed_dataroot='
31132 /datarootdir/ {
31133   p
31134   q
31135 }
31136 /@datadir@/p
31137 /@docdir@/p
31138 /@infodir@/p
31139 /@localedir@/p
31140 /@mandir@/p'
31141 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
31142 *datarootdir*) ac_datarootdir_seen=yes;;
31143 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
31144   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31145 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31146 _ACEOF
31147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31148   ac_datarootdir_hack='
31149   s&@datadir@&$datadir&g
31150   s&@docdir@&$docdir&g
31151   s&@infodir@&$infodir&g
31152   s&@localedir@&$localedir&g
31153   s&@mandir@&$mandir&g
31154   s&\\\${datarootdir}&$datarootdir&g' ;;
31155 esac
31156 _ACEOF
31157
31158 # Neutralize VPATH when `$srcdir' = `.'.
31159 # Shell code in configure.ac might set extrasub.
31160 # FIXME: do we really want to maintain this feature?
31161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31162 ac_sed_extra="$ac_vpsub
31163 $extrasub
31164 _ACEOF
31165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31166 :t
31167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31168 s|@configure_input@|$ac_sed_conf_input|;t t
31169 s&@top_builddir@&$ac_top_builddir_sub&;t t
31170 s&@top_build_prefix@&$ac_top_build_prefix&;t t
31171 s&@srcdir@&$ac_srcdir&;t t
31172 s&@abs_srcdir@&$ac_abs_srcdir&;t t
31173 s&@top_srcdir@&$ac_top_srcdir&;t t
31174 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
31175 s&@builddir@&$ac_builddir&;t t
31176 s&@abs_builddir@&$ac_abs_builddir&;t t
31177 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
31178 s&@INSTALL@&$ac_INSTALL&;t t
31179 s&@MKDIR_P@&$ac_MKDIR_P&;t t
31180 $ac_datarootdir_hack
31181 "
31182 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
31183   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31184
31185 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31186   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
31187   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
31188       "$ac_tmp/out"`; test -z "$ac_out"; } &&
31189   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31190 which seems to be undefined.  Please make sure it is defined" >&5
31191 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
31192 which seems to be undefined.  Please make sure it is defined" >&2;}
31193
31194   rm -f "$ac_tmp/stdin"
31195   case $ac_file in
31196   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
31197   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
31198   esac \
31199   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31200  ;;
31201   :H)
31202   #
31203   # CONFIG_HEADER
31204   #
31205   if test x"$ac_file" != x-; then
31206     {
31207       $as_echo "/* $configure_input  */" \
31208       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
31209     } >"$ac_tmp/config.h" \
31210       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31211     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
31212       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
31213 $as_echo "$as_me: $ac_file is unchanged" >&6;}
31214     else
31215       rm -f "$ac_file"
31216       mv "$ac_tmp/config.h" "$ac_file" \
31217         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
31218     fi
31219   else
31220     $as_echo "/* $configure_input  */" \
31221       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
31222       || as_fn_error $? "could not create -" "$LINENO" 5
31223   fi
31224 # Compute "$ac_file"'s index in $config_headers.
31225 _am_arg="$ac_file"
31226 _am_stamp_count=1
31227 for _am_header in $config_headers :; do
31228   case $_am_header in
31229     $_am_arg | $_am_arg:* )
31230       break ;;
31231     * )
31232       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
31233   esac
31234 done
31235 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
31236 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31237          X"$_am_arg" : 'X\(//\)[^/]' \| \
31238          X"$_am_arg" : 'X\(//\)$' \| \
31239          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
31240 $as_echo X"$_am_arg" |
31241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31242             s//\1/
31243             q
31244           }
31245           /^X\(\/\/\)[^/].*/{
31246             s//\1/
31247             q
31248           }
31249           /^X\(\/\/\)$/{
31250             s//\1/
31251             q
31252           }
31253           /^X\(\/\).*/{
31254             s//\1/
31255             q
31256           }
31257           s/.*/./; q'`/stamp-h$_am_stamp_count
31258  ;;
31259   :L)
31260   #
31261   # CONFIG_LINK
31262   #
31263
31264   if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
31265     :
31266   else
31267     # Prefer the file from the source tree if names are identical.
31268     if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
31269       ac_source=$srcdir/$ac_source
31270     fi
31271
31272     { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
31273 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
31274
31275     if test ! -r "$ac_source"; then
31276       as_fn_error $? "$ac_source: file not found" "$LINENO" 5
31277     fi
31278     rm -f "$ac_file"
31279
31280     # Try a relative symlink, then a hard link, then a copy.
31281     case $ac_source in
31282     [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
31283         *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
31284     esac
31285     ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
31286       ln "$ac_source" "$ac_file" 2>/dev/null ||
31287       cp -p "$ac_source" "$ac_file" ||
31288       as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
31289   fi
31290  ;;
31291   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
31292 $as_echo "$as_me: executing $ac_file commands" >&6;}
31293  ;;
31294   esac
31295
31296
31297   case $ac_file$ac_mode in
31298     "tests/atconfig":C) cat >tests/atconfig <<ATEOF
31299 # Configurable variable values for building test suites.
31300 # Generated by $0.
31301 # Copyright (C) 2012 Free Software Foundation, Inc.
31302
31303 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
31304 at_testdir='tests'
31305 abs_builddir='$ac_abs_builddir'
31306 at_srcdir='$ac_srcdir'
31307 abs_srcdir='$ac_abs_srcdir'
31308 at_top_srcdir='$ac_top_srcdir'
31309 abs_top_srcdir='$ac_abs_top_srcdir'
31310 at_top_build_prefix='$ac_top_build_prefix'
31311 abs_top_builddir='$ac_abs_top_builddir'
31312
31313 # Backward compatibility with Autotest <= 2.59b:
31314 at_top_builddir=\$at_top_build_prefix
31315
31316 AUTOTEST_PATH='tests'
31317
31318 SHELL=\${CONFIG_SHELL-'$SHELL'}
31319 ATEOF
31320  ;;
31321     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
31322   # Older Autoconf quotes --file arguments for eval, but not when files
31323   # are listed without --file.  Let's play safe and only enable the eval
31324   # if we detect the quoting.
31325   case $CONFIG_FILES in
31326   *\'*) eval set x "$CONFIG_FILES" ;;
31327   *)   set x $CONFIG_FILES ;;
31328   esac
31329   shift
31330   for mf
31331   do
31332     # Strip MF so we end up with the name of the file.
31333     mf=`echo "$mf" | sed -e 's/:.*$//'`
31334     # Check whether this is an Automake generated Makefile or not.
31335     # We used to match only the files named 'Makefile.in', but
31336     # some people rename them; so instead we look at the file content.
31337     # Grep'ing the first line is not enough: some people post-process
31338     # each Makefile.in and add a new line on top of each file to say so.
31339     # Grep'ing the whole file is not good either: AIX grep has a line
31340     # limit of 2048, but all sed's we know have understand at least 4000.
31341     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
31342       dirpart=`$as_dirname -- "$mf" ||
31343 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31344          X"$mf" : 'X\(//\)[^/]' \| \
31345          X"$mf" : 'X\(//\)$' \| \
31346          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
31347 $as_echo X"$mf" |
31348     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31349             s//\1/
31350             q
31351           }
31352           /^X\(\/\/\)[^/].*/{
31353             s//\1/
31354             q
31355           }
31356           /^X\(\/\/\)$/{
31357             s//\1/
31358             q
31359           }
31360           /^X\(\/\).*/{
31361             s//\1/
31362             q
31363           }
31364           s/.*/./; q'`
31365     else
31366       continue
31367     fi
31368     # Extract the definition of DEPDIR, am__include, and am__quote
31369     # from the Makefile without running 'make'.
31370     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31371     test -z "$DEPDIR" && continue
31372     am__include=`sed -n 's/^am__include = //p' < "$mf"`
31373     test -z "$am__include" && continue
31374     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
31375     # Find all dependency output files, they are included files with
31376     # $(DEPDIR) in their names.  We invoke sed twice because it is the
31377     # simplest approach to changing $(DEPDIR) to its actual value in the
31378     # expansion.
31379     for file in `sed -n "
31380       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31381          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
31382       # Make sure the directory exists.
31383       test -f "$dirpart/$file" && continue
31384       fdir=`$as_dirname -- "$file" ||
31385 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31386          X"$file" : 'X\(//\)[^/]' \| \
31387          X"$file" : 'X\(//\)$' \| \
31388          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
31389 $as_echo X"$file" |
31390     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31391             s//\1/
31392             q
31393           }
31394           /^X\(\/\/\)[^/].*/{
31395             s//\1/
31396             q
31397           }
31398           /^X\(\/\/\)$/{
31399             s//\1/
31400             q
31401           }
31402           /^X\(\/\).*/{
31403             s//\1/
31404             q
31405           }
31406           s/.*/./; q'`
31407       as_dir=$dirpart/$fdir; as_fn_mkdir_p
31408       # echo "creating $dirpart/$file"
31409       echo '# dummy' > "$dirpart/$file"
31410     done
31411   done
31412 }
31413  ;;
31414     "libtool":C)
31415
31416     # See if we are running on zsh, and set the options that allow our
31417     # commands through without removal of \ escapes.
31418     if test -n "${ZSH_VERSION+set}"; then
31419       setopt NO_GLOB_SUBST
31420     fi
31421
31422     cfgfile=${ofile}T
31423     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
31424     $RM "$cfgfile"
31425
31426     cat <<_LT_EOF >> "$cfgfile"
31427 #! $SHELL
31428 # Generated automatically by $as_me ($PACKAGE) $VERSION
31429 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
31430 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
31431
31432 # Provide generalized library-building support services.
31433 # Written by Gordon Matzigkeit, 1996
31434
31435 # Copyright (C) 2014 Free Software Foundation, Inc.
31436 # This is free software; see the source for copying conditions.  There is NO
31437 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31438
31439 # GNU Libtool is free software; you can redistribute it and/or modify
31440 # it under the terms of the GNU General Public License as published by
31441 # the Free Software Foundation; either version 2 of of the License, or
31442 # (at your option) any later version.
31443 #
31444 # As a special exception to the GNU General Public License, if you
31445 # distribute this file as part of a program or library that is built
31446 # using GNU Libtool, you may include this file under the  same
31447 # distribution terms that you use for the rest of that program.
31448 #
31449 # GNU Libtool is distributed in the hope that it will be useful, but
31450 # WITHOUT ANY WARRANTY; without even the implied warranty of
31451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31452 # GNU General Public License for more details.
31453 #
31454 # You should have received a copy of the GNU General Public License
31455 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
31456
31457
31458 # The names of the tagged configurations supported by this script.
31459 available_tags='CXX F77 FC GO GCJ RC '
31460
31461 # Configured defaults for sys_lib_dlsearch_path munging.
31462 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
31463
31464 # ### BEGIN LIBTOOL CONFIG
31465
31466 # Which release of libtool.m4 was used?
31467 macro_version=$macro_version
31468 macro_revision=$macro_revision
31469
31470 # Assembler program.
31471 AS=$lt_AS
31472
31473 # DLL creation program.
31474 DLLTOOL=$lt_DLLTOOL
31475
31476 # Object dumper program.
31477 OBJDUMP=$lt_OBJDUMP
31478
31479 # Whether or not to build shared libraries.
31480 build_libtool_libs=$enable_shared
31481
31482 # Whether or not to build static libraries.
31483 build_old_libs=$enable_static
31484
31485 # What type of objects to build.
31486 pic_mode=$pic_mode
31487
31488 # Whether or not to optimize for fast installation.
31489 fast_install=$enable_fast_install
31490
31491 # Shared archive member basename,for filename based shared library versioning on AIX.
31492 shared_archive_member_spec=$shared_archive_member_spec
31493
31494 # Shell to use when invoking shell scripts.
31495 SHELL=$lt_SHELL
31496
31497 # An echo program that protects backslashes.
31498 ECHO=$lt_ECHO
31499
31500 # The PATH separator for the build system.
31501 PATH_SEPARATOR=$lt_PATH_SEPARATOR
31502
31503 # The host system.
31504 host_alias=$host_alias
31505 host=$host
31506 host_os=$host_os
31507
31508 # The build system.
31509 build_alias=$build_alias
31510 build=$build
31511 build_os=$build_os
31512
31513 # A sed program that does not truncate output.
31514 SED=$lt_SED
31515
31516 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
31517 Xsed="\$SED -e 1s/^X//"
31518
31519 # A grep program that handles long lines.
31520 GREP=$lt_GREP
31521
31522 # An ERE matcher.
31523 EGREP=$lt_EGREP
31524
31525 # A literal string matcher.
31526 FGREP=$lt_FGREP
31527
31528 # A BSD- or MS-compatible name lister.
31529 NM=$lt_NM
31530
31531 # Whether we need soft or hard links.
31532 LN_S=$lt_LN_S
31533
31534 # What is the maximum length of a command?
31535 max_cmd_len=$max_cmd_len
31536
31537 # Object file suffix (normally "o").
31538 objext=$ac_objext
31539
31540 # Executable file suffix (normally "").
31541 exeext=$exeext
31542
31543 # whether the shell understands "unset".
31544 lt_unset=$lt_unset
31545
31546 # turn spaces into newlines.
31547 SP2NL=$lt_lt_SP2NL
31548
31549 # turn newlines into spaces.
31550 NL2SP=$lt_lt_NL2SP
31551
31552 # convert \$build file names to \$host format.
31553 to_host_file_cmd=$lt_cv_to_host_file_cmd
31554
31555 # convert \$build files to toolchain format.
31556 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
31557
31558 # Method to check whether dependent libraries are shared objects.
31559 deplibs_check_method=$lt_deplibs_check_method
31560
31561 # Command to use when deplibs_check_method = "file_magic".
31562 file_magic_cmd=$lt_file_magic_cmd
31563
31564 # How to find potential files when deplibs_check_method = "file_magic".
31565 file_magic_glob=$lt_file_magic_glob
31566
31567 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
31568 want_nocaseglob=$lt_want_nocaseglob
31569
31570 # Command to associate shared and link libraries.
31571 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
31572
31573 # The archiver.
31574 AR=$lt_AR
31575
31576 # Flags to create an archive.
31577 AR_FLAGS=$lt_AR_FLAGS
31578
31579 # How to feed a file listing to the archiver.
31580 archiver_list_spec=$lt_archiver_list_spec
31581
31582 # A symbol stripping program.
31583 STRIP=$lt_STRIP
31584
31585 # Commands used to install an old-style archive.
31586 RANLIB=$lt_RANLIB
31587 old_postinstall_cmds=$lt_old_postinstall_cmds
31588 old_postuninstall_cmds=$lt_old_postuninstall_cmds
31589
31590 # Whether to use a lock for old archive extraction.
31591 lock_old_archive_extraction=$lock_old_archive_extraction
31592
31593 # A C compiler.
31594 LTCC=$lt_CC
31595
31596 # LTCC compiler flags.
31597 LTCFLAGS=$lt_CFLAGS
31598
31599 # Take the output of nm and produce a listing of raw symbols and C names.
31600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
31601
31602 # Transform the output of nm in a proper C declaration.
31603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
31604
31605 # Transform the output of nm into a list of symbols to manually relocate.
31606 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
31607
31608 # Transform the output of nm in a C name address pair.
31609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
31610
31611 # Transform the output of nm in a C name address pair when lib prefix is needed.
31612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
31613
31614 # The name lister interface.
31615 nm_interface=$lt_lt_cv_nm_interface
31616
31617 # Specify filename containing input files for \$NM.
31618 nm_file_list_spec=$lt_nm_file_list_spec
31619
31620 # The root where to search for dependent libraries,and where our libraries should be installed.
31621 lt_sysroot=$lt_sysroot
31622
31623 # Command to truncate a binary pipe.
31624 lt_truncate_bin=$lt_lt_cv_truncate_bin
31625
31626 # The name of the directory that contains temporary libtool files.
31627 objdir=$objdir
31628
31629 # Used to examine libraries when file_magic_cmd begins with "file".
31630 MAGIC_CMD=$MAGIC_CMD
31631
31632 # Must we lock files when doing compilation?
31633 need_locks=$lt_need_locks
31634
31635 # Manifest tool.
31636 MANIFEST_TOOL=$lt_MANIFEST_TOOL
31637
31638 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
31639 DSYMUTIL=$lt_DSYMUTIL
31640
31641 # Tool to change global to local symbols on Mac OS X.
31642 NMEDIT=$lt_NMEDIT
31643
31644 # Tool to manipulate fat objects and archives on Mac OS X.
31645 LIPO=$lt_LIPO
31646
31647 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
31648 OTOOL=$lt_OTOOL
31649
31650 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
31651 OTOOL64=$lt_OTOOL64
31652
31653 # Old archive suffix (normally "a").
31654 libext=$libext
31655
31656 # Shared library suffix (normally ".so").
31657 shrext_cmds=$lt_shrext_cmds
31658
31659 # The commands to extract the exported symbol list from a shared archive.
31660 extract_expsyms_cmds=$lt_extract_expsyms_cmds
31661
31662 # Variables whose values should be saved in libtool wrapper scripts and
31663 # restored at link time.
31664 variables_saved_for_relink=$lt_variables_saved_for_relink
31665
31666 # Do we need the "lib" prefix for modules?
31667 need_lib_prefix=$need_lib_prefix
31668
31669 # Do we need a version for libraries?
31670 need_version=$need_version
31671
31672 # Library versioning type.
31673 version_type=$version_type
31674
31675 # Shared library runtime path variable.
31676 runpath_var=$runpath_var
31677
31678 # Shared library path variable.
31679 shlibpath_var=$shlibpath_var
31680
31681 # Is shlibpath searched before the hard-coded library search path?
31682 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31683
31684 # Format of library name prefix.
31685 libname_spec=$lt_libname_spec
31686
31687 # List of archive names.  First name is the real one, the rest are links.
31688 # The last name is the one that the linker finds with -lNAME
31689 library_names_spec=$lt_library_names_spec
31690
31691 # The coded name of the library, if different from the real name.
31692 soname_spec=$lt_soname_spec
31693
31694 # Permission mode override for installation of shared libraries.
31695 install_override_mode=$lt_install_override_mode
31696
31697 # Command to use after installation of a shared archive.
31698 postinstall_cmds=$lt_postinstall_cmds
31699
31700 # Command to use after uninstallation of a shared archive.
31701 postuninstall_cmds=$lt_postuninstall_cmds
31702
31703 # Commands used to finish a libtool library installation in a directory.
31704 finish_cmds=$lt_finish_cmds
31705
31706 # As "finish_cmds", except a single script fragment to be evaled but
31707 # not shown.
31708 finish_eval=$lt_finish_eval
31709
31710 # Whether we should hardcode library paths into libraries.
31711 hardcode_into_libs=$hardcode_into_libs
31712
31713 # Compile-time system search path for libraries.
31714 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31715
31716 # Detected run-time system search path for libraries.
31717 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
31718
31719 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
31720 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
31721
31722 # Whether dlopen is supported.
31723 dlopen_support=$enable_dlopen
31724
31725 # Whether dlopen of programs is supported.
31726 dlopen_self=$enable_dlopen_self
31727
31728 # Whether dlopen of statically linked programs is supported.
31729 dlopen_self_static=$enable_dlopen_self_static
31730
31731 # Commands to strip libraries.
31732 old_striplib=$lt_old_striplib
31733 striplib=$lt_striplib
31734
31735
31736 # The linker used to build libraries.
31737 LD=$lt_LD
31738
31739 # How to create reloadable object files.
31740 reload_flag=$lt_reload_flag
31741 reload_cmds=$lt_reload_cmds
31742
31743 # Commands used to build an old-style archive.
31744 old_archive_cmds=$lt_old_archive_cmds
31745
31746 # A language specific compiler.
31747 CC=$lt_compiler
31748
31749 # Is the compiler the GNU compiler?
31750 with_gcc=$GCC
31751
31752 # Compiler flag to turn off builtin functions.
31753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31754
31755 # Additional compiler flags for building library objects.
31756 pic_flag=$lt_lt_prog_compiler_pic
31757
31758 # How to pass a linker flag through the compiler.
31759 wl=$lt_lt_prog_compiler_wl
31760
31761 # Compiler flag to prevent dynamic linking.
31762 link_static_flag=$lt_lt_prog_compiler_static
31763
31764 # Does compiler simultaneously support -c and -o options?
31765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31766
31767 # Whether or not to add -lc for building shared libraries.
31768 build_libtool_need_lc=$archive_cmds_need_lc
31769
31770 # Whether or not to disallow shared libs when runtime libs are static.
31771 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31772
31773 # Compiler flag to allow reflexive dlopens.
31774 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31775
31776 # Compiler flag to generate shared objects directly from archives.
31777 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31778
31779 # Whether the compiler copes with passing no objects directly.
31780 compiler_needs_object=$lt_compiler_needs_object
31781
31782 # Create an old-style archive from a shared archive.
31783 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31784
31785 # Create a temporary old-style archive to link instead of a shared archive.
31786 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31787
31788 # Commands used to build a shared archive.
31789 archive_cmds=$lt_archive_cmds
31790 archive_expsym_cmds=$lt_archive_expsym_cmds
31791
31792 # Commands used to build a loadable module if different from building
31793 # a shared archive.
31794 module_cmds=$lt_module_cmds
31795 module_expsym_cmds=$lt_module_expsym_cmds
31796
31797 # Whether we are building with GNU ld or not.
31798 with_gnu_ld=$lt_with_gnu_ld
31799
31800 # Flag that allows shared libraries with undefined symbols to be built.
31801 allow_undefined_flag=$lt_allow_undefined_flag
31802
31803 # Flag that enforces no undefined symbols.
31804 no_undefined_flag=$lt_no_undefined_flag
31805
31806 # Flag to hardcode \$libdir into a binary during linking.
31807 # This must work even if \$libdir does not exist
31808 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31809
31810 # Whether we need a single "-rpath" flag with a separated argument.
31811 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31812
31813 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31814 # DIR into the resulting binary.
31815 hardcode_direct=$hardcode_direct
31816
31817 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
31818 # DIR into the resulting binary and the resulting library dependency is
31819 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
31820 # library is relocated.
31821 hardcode_direct_absolute=$hardcode_direct_absolute
31822
31823 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31824 # into the resulting binary.
31825 hardcode_minus_L=$hardcode_minus_L
31826
31827 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31828 # into the resulting binary.
31829 hardcode_shlibpath_var=$hardcode_shlibpath_var
31830
31831 # Set to "yes" if building a shared library automatically hardcodes DIR
31832 # into the library and all subsequent libraries and executables linked
31833 # against it.
31834 hardcode_automatic=$hardcode_automatic
31835
31836 # Set to yes if linker adds runtime paths of dependent libraries
31837 # to runtime path list.
31838 inherit_rpath=$inherit_rpath
31839
31840 # Whether libtool must link a program against all its dependency libraries.
31841 link_all_deplibs=$link_all_deplibs
31842
31843 # Set to "yes" if exported symbols are required.
31844 always_export_symbols=$always_export_symbols
31845
31846 # The commands to list exported symbols.
31847 export_symbols_cmds=$lt_export_symbols_cmds
31848
31849 # Symbols that should not be listed in the preloaded symbols.
31850 exclude_expsyms=$lt_exclude_expsyms
31851
31852 # Symbols that must always be exported.
31853 include_expsyms=$lt_include_expsyms
31854
31855 # Commands necessary for linking programs (against libraries) with templates.
31856 prelink_cmds=$lt_prelink_cmds
31857
31858 # Commands necessary for finishing linking programs.
31859 postlink_cmds=$lt_postlink_cmds
31860
31861 # Specify filename containing input files.
31862 file_list_spec=$lt_file_list_spec
31863
31864 # How to hardcode a shared library path into an executable.
31865 hardcode_action=$hardcode_action
31866
31867 # The directories searched by this compiler when creating a shared library.
31868 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
31869
31870 # Dependencies to place before and after the objects being linked to
31871 # create a shared library.
31872 predep_objects=$lt_predep_objects
31873 postdep_objects=$lt_postdep_objects
31874 predeps=$lt_predeps
31875 postdeps=$lt_postdeps
31876
31877 # The library search path used internally by the compiler when linking
31878 # a shared library.
31879 compiler_lib_search_path=$lt_compiler_lib_search_path
31880
31881 # ### END LIBTOOL CONFIG
31882
31883 _LT_EOF
31884
31885     cat <<'_LT_EOF' >> "$cfgfile"
31886
31887 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
31888
31889 # func_munge_path_list VARIABLE PATH
31890 # -----------------------------------
31891 # VARIABLE is name of variable containing _space_ separated list of
31892 # directories to be munged by the contents of PATH, which is string
31893 # having a format:
31894 # "DIR[:DIR]:"
31895 #       string "DIR[ DIR]" will be prepended to VARIABLE
31896 # ":DIR[:DIR]"
31897 #       string "DIR[ DIR]" will be appended to VARIABLE
31898 # "DIRP[:DIRP]::[DIRA:]DIRA"
31899 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
31900 #       "DIRA[ DIRA]" will be appended to VARIABLE
31901 # "DIR[:DIR]"
31902 #       VARIABLE will be replaced by "DIR[ DIR]"
31903 func_munge_path_list ()
31904 {
31905     case x$2 in
31906     x)
31907         ;;
31908     *:)
31909         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
31910         ;;
31911     x:*)
31912         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
31913         ;;
31914     *::*)
31915         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
31916         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
31917         ;;
31918     *)
31919         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
31920         ;;
31921     esac
31922 }
31923
31924
31925 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
31926 func_cc_basename ()
31927 {
31928     for cc_temp in $*""; do
31929       case $cc_temp in
31930         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
31931         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
31932         \-*) ;;
31933         *) break;;
31934       esac
31935     done
31936     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
31937 }
31938
31939
31940 # ### END FUNCTIONS SHARED WITH CONFIGURE
31941
31942 _LT_EOF
31943
31944   case $host_os in
31945   aix3*)
31946     cat <<\_LT_EOF >> "$cfgfile"
31947 # AIX sometimes has problems with the GCC collect2 program.  For some
31948 # reason, if we set the COLLECT_NAMES environment variable, the problems
31949 # vanish in a puff of smoke.
31950 if test set != "${COLLECT_NAMES+set}"; then
31951   COLLECT_NAMES=
31952   export COLLECT_NAMES
31953 fi
31954 _LT_EOF
31955     ;;
31956   esac
31957
31958
31959 ltmain=$ac_aux_dir/ltmain.sh
31960
31961
31962   # We use sed instead of cat because bash on DJGPP gets confused if
31963   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
31964   # text mode, it properly converts lines to CR/LF.  This bash problem
31965   # is reportedly fixed, but why not run on old versions too?
31966   sed '$q' "$ltmain" >> "$cfgfile" \
31967      || (rm -f "$cfgfile"; exit 1)
31968
31969    mv -f "$cfgfile" "$ofile" ||
31970     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31971   chmod +x "$ofile"
31972
31973
31974     cat <<_LT_EOF >> "$ofile"
31975
31976 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31977
31978 # The linker used to build libraries.
31979 LD=$lt_LD_CXX
31980
31981 # How to create reloadable object files.
31982 reload_flag=$lt_reload_flag_CXX
31983 reload_cmds=$lt_reload_cmds_CXX
31984
31985 # Commands used to build an old-style archive.
31986 old_archive_cmds=$lt_old_archive_cmds_CXX
31987
31988 # A language specific compiler.
31989 CC=$lt_compiler_CXX
31990
31991 # Is the compiler the GNU compiler?
31992 with_gcc=$GCC_CXX
31993
31994 # Compiler flag to turn off builtin functions.
31995 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31996
31997 # Additional compiler flags for building library objects.
31998 pic_flag=$lt_lt_prog_compiler_pic_CXX
31999
32000 # How to pass a linker flag through the compiler.
32001 wl=$lt_lt_prog_compiler_wl_CXX
32002
32003 # Compiler flag to prevent dynamic linking.
32004 link_static_flag=$lt_lt_prog_compiler_static_CXX
32005
32006 # Does compiler simultaneously support -c and -o options?
32007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
32008
32009 # Whether or not to add -lc for building shared libraries.
32010 build_libtool_need_lc=$archive_cmds_need_lc_CXX
32011
32012 # Whether or not to disallow shared libs when runtime libs are static.
32013 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
32014
32015 # Compiler flag to allow reflexive dlopens.
32016 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
32017
32018 # Compiler flag to generate shared objects directly from archives.
32019 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
32020
32021 # Whether the compiler copes with passing no objects directly.
32022 compiler_needs_object=$lt_compiler_needs_object_CXX
32023
32024 # Create an old-style archive from a shared archive.
32025 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
32026
32027 # Create a temporary old-style archive to link instead of a shared archive.
32028 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
32029
32030 # Commands used to build a shared archive.
32031 archive_cmds=$lt_archive_cmds_CXX
32032 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
32033
32034 # Commands used to build a loadable module if different from building
32035 # a shared archive.
32036 module_cmds=$lt_module_cmds_CXX
32037 module_expsym_cmds=$lt_module_expsym_cmds_CXX
32038
32039 # Whether we are building with GNU ld or not.
32040 with_gnu_ld=$lt_with_gnu_ld_CXX
32041
32042 # Flag that allows shared libraries with undefined symbols to be built.
32043 allow_undefined_flag=$lt_allow_undefined_flag_CXX
32044
32045 # Flag that enforces no undefined symbols.
32046 no_undefined_flag=$lt_no_undefined_flag_CXX
32047
32048 # Flag to hardcode \$libdir into a binary during linking.
32049 # This must work even if \$libdir does not exist
32050 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
32051
32052 # Whether we need a single "-rpath" flag with a separated argument.
32053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
32054
32055 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32056 # DIR into the resulting binary.
32057 hardcode_direct=$hardcode_direct_CXX
32058
32059 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32060 # DIR into the resulting binary and the resulting library dependency is
32061 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32062 # library is relocated.
32063 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
32064
32065 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32066 # into the resulting binary.
32067 hardcode_minus_L=$hardcode_minus_L_CXX
32068
32069 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32070 # into the resulting binary.
32071 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
32072
32073 # Set to "yes" if building a shared library automatically hardcodes DIR
32074 # into the library and all subsequent libraries and executables linked
32075 # against it.
32076 hardcode_automatic=$hardcode_automatic_CXX
32077
32078 # Set to yes if linker adds runtime paths of dependent libraries
32079 # to runtime path list.
32080 inherit_rpath=$inherit_rpath_CXX
32081
32082 # Whether libtool must link a program against all its dependency libraries.
32083 link_all_deplibs=$link_all_deplibs_CXX
32084
32085 # Set to "yes" if exported symbols are required.
32086 always_export_symbols=$always_export_symbols_CXX
32087
32088 # The commands to list exported symbols.
32089 export_symbols_cmds=$lt_export_symbols_cmds_CXX
32090
32091 # Symbols that should not be listed in the preloaded symbols.
32092 exclude_expsyms=$lt_exclude_expsyms_CXX
32093
32094 # Symbols that must always be exported.
32095 include_expsyms=$lt_include_expsyms_CXX
32096
32097 # Commands necessary for linking programs (against libraries) with templates.
32098 prelink_cmds=$lt_prelink_cmds_CXX
32099
32100 # Commands necessary for finishing linking programs.
32101 postlink_cmds=$lt_postlink_cmds_CXX
32102
32103 # Specify filename containing input files.
32104 file_list_spec=$lt_file_list_spec_CXX
32105
32106 # How to hardcode a shared library path into an executable.
32107 hardcode_action=$hardcode_action_CXX
32108
32109 # The directories searched by this compiler when creating a shared library.
32110 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
32111
32112 # Dependencies to place before and after the objects being linked to
32113 # create a shared library.
32114 predep_objects=$lt_predep_objects_CXX
32115 postdep_objects=$lt_postdep_objects_CXX
32116 predeps=$lt_predeps_CXX
32117 postdeps=$lt_postdeps_CXX
32118
32119 # The library search path used internally by the compiler when linking
32120 # a shared library.
32121 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
32122
32123 # ### END LIBTOOL TAG CONFIG: CXX
32124 _LT_EOF
32125
32126
32127     cat <<_LT_EOF >> "$ofile"
32128
32129 # ### BEGIN LIBTOOL TAG CONFIG: F77
32130
32131 # The linker used to build libraries.
32132 LD=$lt_LD_F77
32133
32134 # How to create reloadable object files.
32135 reload_flag=$lt_reload_flag_F77
32136 reload_cmds=$lt_reload_cmds_F77
32137
32138 # Commands used to build an old-style archive.
32139 old_archive_cmds=$lt_old_archive_cmds_F77
32140
32141 # A language specific compiler.
32142 CC=$lt_compiler_F77
32143
32144 # Is the compiler the GNU compiler?
32145 with_gcc=$GCC_F77
32146
32147 # Compiler flag to turn off builtin functions.
32148 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
32149
32150 # Additional compiler flags for building library objects.
32151 pic_flag=$lt_lt_prog_compiler_pic_F77
32152
32153 # How to pass a linker flag through the compiler.
32154 wl=$lt_lt_prog_compiler_wl_F77
32155
32156 # Compiler flag to prevent dynamic linking.
32157 link_static_flag=$lt_lt_prog_compiler_static_F77
32158
32159 # Does compiler simultaneously support -c and -o options?
32160 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
32161
32162 # Whether or not to add -lc for building shared libraries.
32163 build_libtool_need_lc=$archive_cmds_need_lc_F77
32164
32165 # Whether or not to disallow shared libs when runtime libs are static.
32166 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
32167
32168 # Compiler flag to allow reflexive dlopens.
32169 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
32170
32171 # Compiler flag to generate shared objects directly from archives.
32172 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
32173
32174 # Whether the compiler copes with passing no objects directly.
32175 compiler_needs_object=$lt_compiler_needs_object_F77
32176
32177 # Create an old-style archive from a shared archive.
32178 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
32179
32180 # Create a temporary old-style archive to link instead of a shared archive.
32181 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
32182
32183 # Commands used to build a shared archive.
32184 archive_cmds=$lt_archive_cmds_F77
32185 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
32186
32187 # Commands used to build a loadable module if different from building
32188 # a shared archive.
32189 module_cmds=$lt_module_cmds_F77
32190 module_expsym_cmds=$lt_module_expsym_cmds_F77
32191
32192 # Whether we are building with GNU ld or not.
32193 with_gnu_ld=$lt_with_gnu_ld_F77
32194
32195 # Flag that allows shared libraries with undefined symbols to be built.
32196 allow_undefined_flag=$lt_allow_undefined_flag_F77
32197
32198 # Flag that enforces no undefined symbols.
32199 no_undefined_flag=$lt_no_undefined_flag_F77
32200
32201 # Flag to hardcode \$libdir into a binary during linking.
32202 # This must work even if \$libdir does not exist
32203 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
32204
32205 # Whether we need a single "-rpath" flag with a separated argument.
32206 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
32207
32208 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32209 # DIR into the resulting binary.
32210 hardcode_direct=$hardcode_direct_F77
32211
32212 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32213 # DIR into the resulting binary and the resulting library dependency is
32214 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32215 # library is relocated.
32216 hardcode_direct_absolute=$hardcode_direct_absolute_F77
32217
32218 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32219 # into the resulting binary.
32220 hardcode_minus_L=$hardcode_minus_L_F77
32221
32222 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32223 # into the resulting binary.
32224 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
32225
32226 # Set to "yes" if building a shared library automatically hardcodes DIR
32227 # into the library and all subsequent libraries and executables linked
32228 # against it.
32229 hardcode_automatic=$hardcode_automatic_F77
32230
32231 # Set to yes if linker adds runtime paths of dependent libraries
32232 # to runtime path list.
32233 inherit_rpath=$inherit_rpath_F77
32234
32235 # Whether libtool must link a program against all its dependency libraries.
32236 link_all_deplibs=$link_all_deplibs_F77
32237
32238 # Set to "yes" if exported symbols are required.
32239 always_export_symbols=$always_export_symbols_F77
32240
32241 # The commands to list exported symbols.
32242 export_symbols_cmds=$lt_export_symbols_cmds_F77
32243
32244 # Symbols that should not be listed in the preloaded symbols.
32245 exclude_expsyms=$lt_exclude_expsyms_F77
32246
32247 # Symbols that must always be exported.
32248 include_expsyms=$lt_include_expsyms_F77
32249
32250 # Commands necessary for linking programs (against libraries) with templates.
32251 prelink_cmds=$lt_prelink_cmds_F77
32252
32253 # Commands necessary for finishing linking programs.
32254 postlink_cmds=$lt_postlink_cmds_F77
32255
32256 # Specify filename containing input files.
32257 file_list_spec=$lt_file_list_spec_F77
32258
32259 # How to hardcode a shared library path into an executable.
32260 hardcode_action=$hardcode_action_F77
32261
32262 # The directories searched by this compiler when creating a shared library.
32263 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
32264
32265 # Dependencies to place before and after the objects being linked to
32266 # create a shared library.
32267 predep_objects=$lt_predep_objects_F77
32268 postdep_objects=$lt_postdep_objects_F77
32269 predeps=$lt_predeps_F77
32270 postdeps=$lt_postdeps_F77
32271
32272 # The library search path used internally by the compiler when linking
32273 # a shared library.
32274 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
32275
32276 # ### END LIBTOOL TAG CONFIG: F77
32277 _LT_EOF
32278
32279
32280     cat <<_LT_EOF >> "$ofile"
32281
32282 # ### BEGIN LIBTOOL TAG CONFIG: FC
32283
32284 # The linker used to build libraries.
32285 LD=$lt_LD_FC
32286
32287 # How to create reloadable object files.
32288 reload_flag=$lt_reload_flag_FC
32289 reload_cmds=$lt_reload_cmds_FC
32290
32291 # Commands used to build an old-style archive.
32292 old_archive_cmds=$lt_old_archive_cmds_FC
32293
32294 # A language specific compiler.
32295 CC=$lt_compiler_FC
32296
32297 # Is the compiler the GNU compiler?
32298 with_gcc=$GCC_FC
32299
32300 # Compiler flag to turn off builtin functions.
32301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
32302
32303 # Additional compiler flags for building library objects.
32304 pic_flag=$lt_lt_prog_compiler_pic_FC
32305
32306 # How to pass a linker flag through the compiler.
32307 wl=$lt_lt_prog_compiler_wl_FC
32308
32309 # Compiler flag to prevent dynamic linking.
32310 link_static_flag=$lt_lt_prog_compiler_static_FC
32311
32312 # Does compiler simultaneously support -c and -o options?
32313 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
32314
32315 # Whether or not to add -lc for building shared libraries.
32316 build_libtool_need_lc=$archive_cmds_need_lc_FC
32317
32318 # Whether or not to disallow shared libs when runtime libs are static.
32319 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
32320
32321 # Compiler flag to allow reflexive dlopens.
32322 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
32323
32324 # Compiler flag to generate shared objects directly from archives.
32325 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
32326
32327 # Whether the compiler copes with passing no objects directly.
32328 compiler_needs_object=$lt_compiler_needs_object_FC
32329
32330 # Create an old-style archive from a shared archive.
32331 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
32332
32333 # Create a temporary old-style archive to link instead of a shared archive.
32334 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
32335
32336 # Commands used to build a shared archive.
32337 archive_cmds=$lt_archive_cmds_FC
32338 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
32339
32340 # Commands used to build a loadable module if different from building
32341 # a shared archive.
32342 module_cmds=$lt_module_cmds_FC
32343 module_expsym_cmds=$lt_module_expsym_cmds_FC
32344
32345 # Whether we are building with GNU ld or not.
32346 with_gnu_ld=$lt_with_gnu_ld_FC
32347
32348 # Flag that allows shared libraries with undefined symbols to be built.
32349 allow_undefined_flag=$lt_allow_undefined_flag_FC
32350
32351 # Flag that enforces no undefined symbols.
32352 no_undefined_flag=$lt_no_undefined_flag_FC
32353
32354 # Flag to hardcode \$libdir into a binary during linking.
32355 # This must work even if \$libdir does not exist
32356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
32357
32358 # Whether we need a single "-rpath" flag with a separated argument.
32359 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
32360
32361 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32362 # DIR into the resulting binary.
32363 hardcode_direct=$hardcode_direct_FC
32364
32365 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32366 # DIR into the resulting binary and the resulting library dependency is
32367 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32368 # library is relocated.
32369 hardcode_direct_absolute=$hardcode_direct_absolute_FC
32370
32371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32372 # into the resulting binary.
32373 hardcode_minus_L=$hardcode_minus_L_FC
32374
32375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32376 # into the resulting binary.
32377 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
32378
32379 # Set to "yes" if building a shared library automatically hardcodes DIR
32380 # into the library and all subsequent libraries and executables linked
32381 # against it.
32382 hardcode_automatic=$hardcode_automatic_FC
32383
32384 # Set to yes if linker adds runtime paths of dependent libraries
32385 # to runtime path list.
32386 inherit_rpath=$inherit_rpath_FC
32387
32388 # Whether libtool must link a program against all its dependency libraries.
32389 link_all_deplibs=$link_all_deplibs_FC
32390
32391 # Set to "yes" if exported symbols are required.
32392 always_export_symbols=$always_export_symbols_FC
32393
32394 # The commands to list exported symbols.
32395 export_symbols_cmds=$lt_export_symbols_cmds_FC
32396
32397 # Symbols that should not be listed in the preloaded symbols.
32398 exclude_expsyms=$lt_exclude_expsyms_FC
32399
32400 # Symbols that must always be exported.
32401 include_expsyms=$lt_include_expsyms_FC
32402
32403 # Commands necessary for linking programs (against libraries) with templates.
32404 prelink_cmds=$lt_prelink_cmds_FC
32405
32406 # Commands necessary for finishing linking programs.
32407 postlink_cmds=$lt_postlink_cmds_FC
32408
32409 # Specify filename containing input files.
32410 file_list_spec=$lt_file_list_spec_FC
32411
32412 # How to hardcode a shared library path into an executable.
32413 hardcode_action=$hardcode_action_FC
32414
32415 # The directories searched by this compiler when creating a shared library.
32416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
32417
32418 # Dependencies to place before and after the objects being linked to
32419 # create a shared library.
32420 predep_objects=$lt_predep_objects_FC
32421 postdep_objects=$lt_postdep_objects_FC
32422 predeps=$lt_predeps_FC
32423 postdeps=$lt_postdeps_FC
32424
32425 # The library search path used internally by the compiler when linking
32426 # a shared library.
32427 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
32428
32429 # ### END LIBTOOL TAG CONFIG: FC
32430 _LT_EOF
32431
32432
32433     cat <<_LT_EOF >> "$ofile"
32434
32435 # ### BEGIN LIBTOOL TAG CONFIG: GO
32436
32437 # The linker used to build libraries.
32438 LD=$lt_LD_GO
32439
32440 # How to create reloadable object files.
32441 reload_flag=$lt_reload_flag_GO
32442 reload_cmds=$lt_reload_cmds_GO
32443
32444 # Commands used to build an old-style archive.
32445 old_archive_cmds=$lt_old_archive_cmds_GO
32446
32447 # A language specific compiler.
32448 CC=$lt_compiler_GO
32449
32450 # Is the compiler the GNU compiler?
32451 with_gcc=$GCC_GO
32452
32453 # Compiler flag to turn off builtin functions.
32454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GO
32455
32456 # Additional compiler flags for building library objects.
32457 pic_flag=$lt_lt_prog_compiler_pic_GO
32458
32459 # How to pass a linker flag through the compiler.
32460 wl=$lt_lt_prog_compiler_wl_GO
32461
32462 # Compiler flag to prevent dynamic linking.
32463 link_static_flag=$lt_lt_prog_compiler_static_GO
32464
32465 # Does compiler simultaneously support -c and -o options?
32466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GO
32467
32468 # Whether or not to add -lc for building shared libraries.
32469 build_libtool_need_lc=$archive_cmds_need_lc_GO
32470
32471 # Whether or not to disallow shared libs when runtime libs are static.
32472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GO
32473
32474 # Compiler flag to allow reflexive dlopens.
32475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GO
32476
32477 # Compiler flag to generate shared objects directly from archives.
32478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GO
32479
32480 # Whether the compiler copes with passing no objects directly.
32481 compiler_needs_object=$lt_compiler_needs_object_GO
32482
32483 # Create an old-style archive from a shared archive.
32484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GO
32485
32486 # Create a temporary old-style archive to link instead of a shared archive.
32487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GO
32488
32489 # Commands used to build a shared archive.
32490 archive_cmds=$lt_archive_cmds_GO
32491 archive_expsym_cmds=$lt_archive_expsym_cmds_GO
32492
32493 # Commands used to build a loadable module if different from building
32494 # a shared archive.
32495 module_cmds=$lt_module_cmds_GO
32496 module_expsym_cmds=$lt_module_expsym_cmds_GO
32497
32498 # Whether we are building with GNU ld or not.
32499 with_gnu_ld=$lt_with_gnu_ld_GO
32500
32501 # Flag that allows shared libraries with undefined symbols to be built.
32502 allow_undefined_flag=$lt_allow_undefined_flag_GO
32503
32504 # Flag that enforces no undefined symbols.
32505 no_undefined_flag=$lt_no_undefined_flag_GO
32506
32507 # Flag to hardcode \$libdir into a binary during linking.
32508 # This must work even if \$libdir does not exist
32509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GO
32510
32511 # Whether we need a single "-rpath" flag with a separated argument.
32512 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GO
32513
32514 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32515 # DIR into the resulting binary.
32516 hardcode_direct=$hardcode_direct_GO
32517
32518 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32519 # DIR into the resulting binary and the resulting library dependency is
32520 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32521 # library is relocated.
32522 hardcode_direct_absolute=$hardcode_direct_absolute_GO
32523
32524 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32525 # into the resulting binary.
32526 hardcode_minus_L=$hardcode_minus_L_GO
32527
32528 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32529 # into the resulting binary.
32530 hardcode_shlibpath_var=$hardcode_shlibpath_var_GO
32531
32532 # Set to "yes" if building a shared library automatically hardcodes DIR
32533 # into the library and all subsequent libraries and executables linked
32534 # against it.
32535 hardcode_automatic=$hardcode_automatic_GO
32536
32537 # Set to yes if linker adds runtime paths of dependent libraries
32538 # to runtime path list.
32539 inherit_rpath=$inherit_rpath_GO
32540
32541 # Whether libtool must link a program against all its dependency libraries.
32542 link_all_deplibs=$link_all_deplibs_GO
32543
32544 # Set to "yes" if exported symbols are required.
32545 always_export_symbols=$always_export_symbols_GO
32546
32547 # The commands to list exported symbols.
32548 export_symbols_cmds=$lt_export_symbols_cmds_GO
32549
32550 # Symbols that should not be listed in the preloaded symbols.
32551 exclude_expsyms=$lt_exclude_expsyms_GO
32552
32553 # Symbols that must always be exported.
32554 include_expsyms=$lt_include_expsyms_GO
32555
32556 # Commands necessary for linking programs (against libraries) with templates.
32557 prelink_cmds=$lt_prelink_cmds_GO
32558
32559 # Commands necessary for finishing linking programs.
32560 postlink_cmds=$lt_postlink_cmds_GO
32561
32562 # Specify filename containing input files.
32563 file_list_spec=$lt_file_list_spec_GO
32564
32565 # How to hardcode a shared library path into an executable.
32566 hardcode_action=$hardcode_action_GO
32567
32568 # The directories searched by this compiler when creating a shared library.
32569 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GO
32570
32571 # Dependencies to place before and after the objects being linked to
32572 # create a shared library.
32573 predep_objects=$lt_predep_objects_GO
32574 postdep_objects=$lt_postdep_objects_GO
32575 predeps=$lt_predeps_GO
32576 postdeps=$lt_postdeps_GO
32577
32578 # The library search path used internally by the compiler when linking
32579 # a shared library.
32580 compiler_lib_search_path=$lt_compiler_lib_search_path_GO
32581
32582 # ### END LIBTOOL TAG CONFIG: GO
32583 _LT_EOF
32584
32585
32586     cat <<_LT_EOF >> "$ofile"
32587
32588 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
32589
32590 # The linker used to build libraries.
32591 LD=$lt_LD_GCJ
32592
32593 # How to create reloadable object files.
32594 reload_flag=$lt_reload_flag_GCJ
32595 reload_cmds=$lt_reload_cmds_GCJ
32596
32597 # Commands used to build an old-style archive.
32598 old_archive_cmds=$lt_old_archive_cmds_GCJ
32599
32600 # A language specific compiler.
32601 CC=$lt_compiler_GCJ
32602
32603 # Is the compiler the GNU compiler?
32604 with_gcc=$GCC_GCJ
32605
32606 # Compiler flag to turn off builtin functions.
32607 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
32608
32609 # Additional compiler flags for building library objects.
32610 pic_flag=$lt_lt_prog_compiler_pic_GCJ
32611
32612 # How to pass a linker flag through the compiler.
32613 wl=$lt_lt_prog_compiler_wl_GCJ
32614
32615 # Compiler flag to prevent dynamic linking.
32616 link_static_flag=$lt_lt_prog_compiler_static_GCJ
32617
32618 # Does compiler simultaneously support -c and -o options?
32619 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
32620
32621 # Whether or not to add -lc for building shared libraries.
32622 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
32623
32624 # Whether or not to disallow shared libs when runtime libs are static.
32625 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
32626
32627 # Compiler flag to allow reflexive dlopens.
32628 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
32629
32630 # Compiler flag to generate shared objects directly from archives.
32631 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
32632
32633 # Whether the compiler copes with passing no objects directly.
32634 compiler_needs_object=$lt_compiler_needs_object_GCJ
32635
32636 # Create an old-style archive from a shared archive.
32637 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
32638
32639 # Create a temporary old-style archive to link instead of a shared archive.
32640 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
32641
32642 # Commands used to build a shared archive.
32643 archive_cmds=$lt_archive_cmds_GCJ
32644 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
32645
32646 # Commands used to build a loadable module if different from building
32647 # a shared archive.
32648 module_cmds=$lt_module_cmds_GCJ
32649 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
32650
32651 # Whether we are building with GNU ld or not.
32652 with_gnu_ld=$lt_with_gnu_ld_GCJ
32653
32654 # Flag that allows shared libraries with undefined symbols to be built.
32655 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
32656
32657 # Flag that enforces no undefined symbols.
32658 no_undefined_flag=$lt_no_undefined_flag_GCJ
32659
32660 # Flag to hardcode \$libdir into a binary during linking.
32661 # This must work even if \$libdir does not exist
32662 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
32663
32664 # Whether we need a single "-rpath" flag with a separated argument.
32665 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
32666
32667 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32668 # DIR into the resulting binary.
32669 hardcode_direct=$hardcode_direct_GCJ
32670
32671 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32672 # DIR into the resulting binary and the resulting library dependency is
32673 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32674 # library is relocated.
32675 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
32676
32677 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32678 # into the resulting binary.
32679 hardcode_minus_L=$hardcode_minus_L_GCJ
32680
32681 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32682 # into the resulting binary.
32683 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
32684
32685 # Set to "yes" if building a shared library automatically hardcodes DIR
32686 # into the library and all subsequent libraries and executables linked
32687 # against it.
32688 hardcode_automatic=$hardcode_automatic_GCJ
32689
32690 # Set to yes if linker adds runtime paths of dependent libraries
32691 # to runtime path list.
32692 inherit_rpath=$inherit_rpath_GCJ
32693
32694 # Whether libtool must link a program against all its dependency libraries.
32695 link_all_deplibs=$link_all_deplibs_GCJ
32696
32697 # Set to "yes" if exported symbols are required.
32698 always_export_symbols=$always_export_symbols_GCJ
32699
32700 # The commands to list exported symbols.
32701 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
32702
32703 # Symbols that should not be listed in the preloaded symbols.
32704 exclude_expsyms=$lt_exclude_expsyms_GCJ
32705
32706 # Symbols that must always be exported.
32707 include_expsyms=$lt_include_expsyms_GCJ
32708
32709 # Commands necessary for linking programs (against libraries) with templates.
32710 prelink_cmds=$lt_prelink_cmds_GCJ
32711
32712 # Commands necessary for finishing linking programs.
32713 postlink_cmds=$lt_postlink_cmds_GCJ
32714
32715 # Specify filename containing input files.
32716 file_list_spec=$lt_file_list_spec_GCJ
32717
32718 # How to hardcode a shared library path into an executable.
32719 hardcode_action=$hardcode_action_GCJ
32720
32721 # The directories searched by this compiler when creating a shared library.
32722 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
32723
32724 # Dependencies to place before and after the objects being linked to
32725 # create a shared library.
32726 predep_objects=$lt_predep_objects_GCJ
32727 postdep_objects=$lt_postdep_objects_GCJ
32728 predeps=$lt_predeps_GCJ
32729 postdeps=$lt_postdeps_GCJ
32730
32731 # The library search path used internally by the compiler when linking
32732 # a shared library.
32733 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
32734
32735 # ### END LIBTOOL TAG CONFIG: GCJ
32736 _LT_EOF
32737
32738
32739     cat <<_LT_EOF >> "$ofile"
32740
32741 # ### BEGIN LIBTOOL TAG CONFIG: RC
32742
32743 # The linker used to build libraries.
32744 LD=$lt_LD_RC
32745
32746 # How to create reloadable object files.
32747 reload_flag=$lt_reload_flag_RC
32748 reload_cmds=$lt_reload_cmds_RC
32749
32750 # Commands used to build an old-style archive.
32751 old_archive_cmds=$lt_old_archive_cmds_RC
32752
32753 # A language specific compiler.
32754 CC=$lt_compiler_RC
32755
32756 # Is the compiler the GNU compiler?
32757 with_gcc=$GCC_RC
32758
32759 # Compiler flag to turn off builtin functions.
32760 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
32761
32762 # Additional compiler flags for building library objects.
32763 pic_flag=$lt_lt_prog_compiler_pic_RC
32764
32765 # How to pass a linker flag through the compiler.
32766 wl=$lt_lt_prog_compiler_wl_RC
32767
32768 # Compiler flag to prevent dynamic linking.
32769 link_static_flag=$lt_lt_prog_compiler_static_RC
32770
32771 # Does compiler simultaneously support -c and -o options?
32772 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
32773
32774 # Whether or not to add -lc for building shared libraries.
32775 build_libtool_need_lc=$archive_cmds_need_lc_RC
32776
32777 # Whether or not to disallow shared libs when runtime libs are static.
32778 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
32779
32780 # Compiler flag to allow reflexive dlopens.
32781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
32782
32783 # Compiler flag to generate shared objects directly from archives.
32784 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
32785
32786 # Whether the compiler copes with passing no objects directly.
32787 compiler_needs_object=$lt_compiler_needs_object_RC
32788
32789 # Create an old-style archive from a shared archive.
32790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
32791
32792 # Create a temporary old-style archive to link instead of a shared archive.
32793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
32794
32795 # Commands used to build a shared archive.
32796 archive_cmds=$lt_archive_cmds_RC
32797 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
32798
32799 # Commands used to build a loadable module if different from building
32800 # a shared archive.
32801 module_cmds=$lt_module_cmds_RC
32802 module_expsym_cmds=$lt_module_expsym_cmds_RC
32803
32804 # Whether we are building with GNU ld or not.
32805 with_gnu_ld=$lt_with_gnu_ld_RC
32806
32807 # Flag that allows shared libraries with undefined symbols to be built.
32808 allow_undefined_flag=$lt_allow_undefined_flag_RC
32809
32810 # Flag that enforces no undefined symbols.
32811 no_undefined_flag=$lt_no_undefined_flag_RC
32812
32813 # Flag to hardcode \$libdir into a binary during linking.
32814 # This must work even if \$libdir does not exist
32815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
32816
32817 # Whether we need a single "-rpath" flag with a separated argument.
32818 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
32819
32820 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32821 # DIR into the resulting binary.
32822 hardcode_direct=$hardcode_direct_RC
32823
32824 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
32825 # DIR into the resulting binary and the resulting library dependency is
32826 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
32827 # library is relocated.
32828 hardcode_direct_absolute=$hardcode_direct_absolute_RC
32829
32830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
32831 # into the resulting binary.
32832 hardcode_minus_L=$hardcode_minus_L_RC
32833
32834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
32835 # into the resulting binary.
32836 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
32837
32838 # Set to "yes" if building a shared library automatically hardcodes DIR
32839 # into the library and all subsequent libraries and executables linked
32840 # against it.
32841 hardcode_automatic=$hardcode_automatic_RC
32842
32843 # Set to yes if linker adds runtime paths of dependent libraries
32844 # to runtime path list.
32845 inherit_rpath=$inherit_rpath_RC
32846
32847 # Whether libtool must link a program against all its dependency libraries.
32848 link_all_deplibs=$link_all_deplibs_RC
32849
32850 # Set to "yes" if exported symbols are required.
32851 always_export_symbols=$always_export_symbols_RC
32852
32853 # The commands to list exported symbols.
32854 export_symbols_cmds=$lt_export_symbols_cmds_RC
32855
32856 # Symbols that should not be listed in the preloaded symbols.
32857 exclude_expsyms=$lt_exclude_expsyms_RC
32858
32859 # Symbols that must always be exported.
32860 include_expsyms=$lt_include_expsyms_RC
32861
32862 # Commands necessary for linking programs (against libraries) with templates.
32863 prelink_cmds=$lt_prelink_cmds_RC
32864
32865 # Commands necessary for finishing linking programs.
32866 postlink_cmds=$lt_postlink_cmds_RC
32867
32868 # Specify filename containing input files.
32869 file_list_spec=$lt_file_list_spec_RC
32870
32871 # How to hardcode a shared library path into an executable.
32872 hardcode_action=$hardcode_action_RC
32873
32874 # The directories searched by this compiler when creating a shared library.
32875 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
32876
32877 # Dependencies to place before and after the objects being linked to
32878 # create a shared library.
32879 predep_objects=$lt_predep_objects_RC
32880 postdep_objects=$lt_postdep_objects_RC
32881 predeps=$lt_predeps_RC
32882 postdeps=$lt_postdeps_RC
32883
32884 # The library search path used internally by the compiler when linking
32885 # a shared library.
32886 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
32887
32888 # ### END LIBTOOL TAG CONFIG: RC
32889 _LT_EOF
32890
32891  ;;
32892
32893   esac
32894 done # for ac_tag
32895
32896
32897 as_fn_exit 0
32898 _ACEOF
32899 ac_clean_files=$ac_clean_files_save
32900
32901 test $ac_write_fail = 0 ||
32902   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
32903
32904
32905 # configure is writing to config.log, and then calls config.status.
32906 # config.status does its own redirection, appending to config.log.
32907 # Unfortunately, on DOS this fails, as config.log is still kept open
32908 # by configure, so config.status won't be able to write to it; its
32909 # output is simply discarded.  So we exec the FD to /dev/null,
32910 # effectively closing config.log, so it can be properly (re)opened and
32911 # appended to by config.status.  When coming back to configure, we
32912 # need to make the FD available again.
32913 if test "$no_create" != yes; then
32914   ac_cs_success=:
32915   ac_config_status_args=
32916   test "$silent" = yes &&
32917     ac_config_status_args="$ac_config_status_args --quiet"
32918   exec 5>/dev/null
32919   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
32920   exec 5>>config.log
32921   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
32922   # would make configure fail if this is the last instruction.
32923   $ac_cs_success || as_fn_exit 1
32924 fi
32925 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32926   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
32927 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
32928 fi
32929