5702ef5ab7d1bd08a08507fe6d2129cc68152d0d
[libacl.git] / autom4te.cache / output.2
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for ACL - Andromeda Class Library 0.1.
4 @%:@
5 @%:@ Report bugs to <BUG-REPORT-ADDRESS>.
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 BUG-REPORT-ADDRESS
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
281 $0: have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400 @%:@ must be portable across @S|@(()) 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 @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 @%:@ script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } @%:@ as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in @%:@(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIB@&t@OBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='ACL - Andromeda Class Library'
592 PACKAGE_TARNAME='acl---andromeda-class-library'
593 PACKAGE_VERSION='0.1'
594 PACKAGE_STRING='ACL - Andromeda Class Library 0.1'
595 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
596 PACKAGE_URL=''
597
598 ac_unique_file="src/date.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 POW_LIB
639 LIB@&t@OBJS
640 CXXCPP
641 LT_SYS_LIBRARY_PATH
642 OTOOL64
643 OTOOL
644 LIPO
645 NMEDIT
646 DSYMUTIL
647 MANIFEST_TOOL
648 RANLIB
649 DLLTOOL
650 OBJDUMP
651 LN_S
652 NM
653 ac_ct_DUMPBIN
654 DUMPBIN
655 LD
656 FGREP
657 SED
658 host_os
659 host_vendor
660 host_cpu
661 host
662 build_os
663 build_vendor
664 build_cpu
665 build
666 LIBTOOL
667 ALLOCA
668 EGREP
669 GREP
670 CPP
671 ac_ct_AR
672 AR
673 am__fastdepCC_FALSE
674 am__fastdepCC_TRUE
675 CCDEPMODE
676 ac_ct_CC
677 CFLAGS
678 CC
679 am__fastdepCXX_FALSE
680 am__fastdepCXX_TRUE
681 CXXDEPMODE
682 am__nodep
683 AMDEPBACKSLASH
684 AMDEP_FALSE
685 AMDEP_TRUE
686 am__quote
687 am__include
688 DEPDIR
689 OBJEXT
690 EXEEXT
691 ac_ct_CXX
692 CPPFLAGS
693 LDFLAGS
694 CXXFLAGS
695 CXX
696 AM_BACKSLASH
697 AM_DEFAULT_VERBOSITY
698 AM_DEFAULT_V
699 AM_V
700 am__untar
701 am__tar
702 AMTAR
703 am__leading_dot
704 SET_MAKE
705 AWK
706 mkdir_p
707 MKDIR_P
708 INSTALL_STRIP_PROGRAM
709 STRIP
710 install_sh
711 MAKEINFO
712 AUTOHEADER
713 AUTOMAKE
714 AUTOCONF
715 ACLOCAL
716 VERSION
717 PACKAGE
718 CYGPATH_W
719 am__isrc
720 INSTALL_DATA
721 INSTALL_SCRIPT
722 INSTALL_PROGRAM
723 target_alias
724 host_alias
725 build_alias
726 LIBS
727 ECHO_T
728 ECHO_N
729 ECHO_C
730 DEFS
731 mandir
732 localedir
733 libdir
734 psdir
735 pdfdir
736 dvidir
737 htmldir
738 infodir
739 docdir
740 oldincludedir
741 includedir
742 runstatedir
743 localstatedir
744 sharedstatedir
745 sysconfdir
746 datadir
747 datarootdir
748 libexecdir
749 sbindir
750 bindir
751 program_transform_name
752 prefix
753 exec_prefix
754 PACKAGE_URL
755 PACKAGE_BUGREPORT
756 PACKAGE_STRING
757 PACKAGE_VERSION
758 PACKAGE_TARNAME
759 PACKAGE_NAME
760 PATH_SEPARATOR
761 SHELL'
762 ac_subst_files=''
763 ac_user_opts='
764 enable_option_checking
765 enable_silent_rules
766 enable_dependency_tracking
767 enable_shared
768 enable_static
769 with_pic
770 enable_fast_install
771 with_aix_soname
772 with_gnu_ld
773 with_sysroot
774 enable_libtool_lock
775 '
776       ac_precious_vars='build_alias
777 host_alias
778 target_alias
779 CXX
780 CXXFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
784 CCC
785 CC
786 CFLAGS
787 CPP
788 LT_SYS_LIBRARY_PATH
789 CXXCPP'
790
791
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 ac_unrecognized_opts=
796 ac_unrecognized_sep=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
813
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 runstatedir='${localstatedir}/run'
829 includedir='${prefix}/include'
830 oldincludedir='/usr/include'
831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir='${datarootdir}/info'
833 htmldir='${docdir}'
834 dvidir='${docdir}'
835 pdfdir='${docdir}'
836 psdir='${docdir}'
837 libdir='${exec_prefix}/lib'
838 localedir='${datarootdir}/locale'
839 mandir='${datarootdir}/man'
840
841 ac_prev=
842 ac_dashdash=
843 for ac_option
844 do
845   # If the previous option needs an argument, assign it.
846   if test -n "$ac_prev"; then
847     eval $ac_prev=\$ac_option
848     ac_prev=
849     continue
850   fi
851
852   case $ac_option in
853   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854   *=)   ac_optarg= ;;
855   *)    ac_optarg=yes ;;
856   esac
857
858   # Accept the important Cygnus configure options, so we can diagnose typos.
859
860   case $ac_dashdash$ac_option in
861   --)
862     ac_dashdash=yes ;;
863
864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
865     ac_prev=bindir ;;
866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867     bindir=$ac_optarg ;;
868
869   -build | --build | --buil | --bui | --bu)
870     ac_prev=build_alias ;;
871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872     build_alias=$ac_optarg ;;
873
874   -cache-file | --cache-file | --cache-fil | --cache-fi \
875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876     ac_prev=cache_file ;;
877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879     cache_file=$ac_optarg ;;
880
881   --config-cache | -C)
882     cache_file=config.cache ;;
883
884   -datadir | --datadir | --datadi | --datad)
885     ac_prev=datadir ;;
886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
887     datadir=$ac_optarg ;;
888
889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890   | --dataroo | --dataro | --datar)
891     ac_prev=datarootdir ;;
892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894     datarootdir=$ac_optarg ;;
895
896   -disable-* | --disable-*)
897     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898     # Reject names that are not valid shell variable names.
899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900       as_fn_error $? "invalid feature name: $ac_useropt"
901     ac_useropt_orig=$ac_useropt
902     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903     case $ac_user_opts in
904       *"
905 "enable_$ac_useropt"
906 "*) ;;
907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908          ac_unrecognized_sep=', ';;
909     esac
910     eval enable_$ac_useropt=no ;;
911
912   -docdir | --docdir | --docdi | --doc | --do)
913     ac_prev=docdir ;;
914   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915     docdir=$ac_optarg ;;
916
917   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
918     ac_prev=dvidir ;;
919   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920     dvidir=$ac_optarg ;;
921
922   -enable-* | --enable-*)
923     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924     # Reject names that are not valid shell variable names.
925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926       as_fn_error $? "invalid feature name: $ac_useropt"
927     ac_useropt_orig=$ac_useropt
928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929     case $ac_user_opts in
930       *"
931 "enable_$ac_useropt"
932 "*) ;;
933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934          ac_unrecognized_sep=', ';;
935     esac
936     eval enable_$ac_useropt=\$ac_optarg ;;
937
938   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
939   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
940   | --exec | --exe | --ex)
941     ac_prev=exec_prefix ;;
942   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
943   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
944   | --exec=* | --exe=* | --ex=*)
945     exec_prefix=$ac_optarg ;;
946
947   -gas | --gas | --ga | --g)
948     # Obsolete; use --with-gas.
949     with_gas=yes ;;
950
951   -help | --help | --hel | --he | -h)
952     ac_init_help=long ;;
953   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
954     ac_init_help=recursive ;;
955   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
956     ac_init_help=short ;;
957
958   -host | --host | --hos | --ho)
959     ac_prev=host_alias ;;
960   -host=* | --host=* | --hos=* | --ho=*)
961     host_alias=$ac_optarg ;;
962
963   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
964     ac_prev=htmldir ;;
965   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
966   | --ht=*)
967     htmldir=$ac_optarg ;;
968
969   -includedir | --includedir | --includedi | --included | --include \
970   | --includ | --inclu | --incl | --inc)
971     ac_prev=includedir ;;
972   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
973   | --includ=* | --inclu=* | --incl=* | --inc=*)
974     includedir=$ac_optarg ;;
975
976   -infodir | --infodir | --infodi | --infod | --info | --inf)
977     ac_prev=infodir ;;
978   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
979     infodir=$ac_optarg ;;
980
981   -libdir | --libdir | --libdi | --libd)
982     ac_prev=libdir ;;
983   -libdir=* | --libdir=* | --libdi=* | --libd=*)
984     libdir=$ac_optarg ;;
985
986   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
987   | --libexe | --libex | --libe)
988     ac_prev=libexecdir ;;
989   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
990   | --libexe=* | --libex=* | --libe=*)
991     libexecdir=$ac_optarg ;;
992
993   -localedir | --localedir | --localedi | --localed | --locale)
994     ac_prev=localedir ;;
995   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
996     localedir=$ac_optarg ;;
997
998   -localstatedir | --localstatedir | --localstatedi | --localstated \
999   | --localstate | --localstat | --localsta | --localst | --locals)
1000     ac_prev=localstatedir ;;
1001   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1002   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1003     localstatedir=$ac_optarg ;;
1004
1005   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1006     ac_prev=mandir ;;
1007   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1008     mandir=$ac_optarg ;;
1009
1010   -nfp | --nfp | --nf)
1011     # Obsolete; use --without-fp.
1012     with_fp=no ;;
1013
1014   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015   | --no-cr | --no-c | -n)
1016     no_create=yes ;;
1017
1018   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1019   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020     no_recursion=yes ;;
1021
1022   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1023   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1024   | --oldin | --oldi | --old | --ol | --o)
1025     ac_prev=oldincludedir ;;
1026   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1027   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1028   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1029     oldincludedir=$ac_optarg ;;
1030
1031   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1032     ac_prev=prefix ;;
1033   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1034     prefix=$ac_optarg ;;
1035
1036   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1037   | --program-pre | --program-pr | --program-p)
1038     ac_prev=program_prefix ;;
1039   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1040   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1041     program_prefix=$ac_optarg ;;
1042
1043   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1044   | --program-suf | --program-su | --program-s)
1045     ac_prev=program_suffix ;;
1046   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1047   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1048     program_suffix=$ac_optarg ;;
1049
1050   -program-transform-name | --program-transform-name \
1051   | --program-transform-nam | --program-transform-na \
1052   | --program-transform-n | --program-transform- \
1053   | --program-transform | --program-transfor \
1054   | --program-transfo | --program-transf \
1055   | --program-trans | --program-tran \
1056   | --progr-tra | --program-tr | --program-t)
1057     ac_prev=program_transform_name ;;
1058   -program-transform-name=* | --program-transform-name=* \
1059   | --program-transform-nam=* | --program-transform-na=* \
1060   | --program-transform-n=* | --program-transform-=* \
1061   | --program-transform=* | --program-transfor=* \
1062   | --program-transfo=* | --program-transf=* \
1063   | --program-trans=* | --program-tran=* \
1064   | --progr-tra=* | --program-tr=* | --program-t=*)
1065     program_transform_name=$ac_optarg ;;
1066
1067   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1068     ac_prev=pdfdir ;;
1069   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1070     pdfdir=$ac_optarg ;;
1071
1072   -psdir | --psdir | --psdi | --psd | --ps)
1073     ac_prev=psdir ;;
1074   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075     psdir=$ac_optarg ;;
1076
1077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078   | -silent | --silent | --silen | --sile | --sil)
1079     silent=yes ;;
1080
1081   -runstatedir | --runstatedir | --runstatedi | --runstated \
1082   | --runstate | --runstat | --runsta | --runst | --runs \
1083   | --run | --ru | --r)
1084     ac_prev=runstatedir ;;
1085   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1086   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1087   | --run=* | --ru=* | --r=*)
1088     runstatedir=$ac_optarg ;;
1089
1090   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1091     ac_prev=sbindir ;;
1092   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1093   | --sbi=* | --sb=*)
1094     sbindir=$ac_optarg ;;
1095
1096   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1097   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1098   | --sharedst | --shareds | --shared | --share | --shar \
1099   | --sha | --sh)
1100     ac_prev=sharedstatedir ;;
1101   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1102   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1103   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1104   | --sha=* | --sh=*)
1105     sharedstatedir=$ac_optarg ;;
1106
1107   -site | --site | --sit)
1108     ac_prev=site ;;
1109   -site=* | --site=* | --sit=*)
1110     site=$ac_optarg ;;
1111
1112   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1113     ac_prev=srcdir ;;
1114   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1115     srcdir=$ac_optarg ;;
1116
1117   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1118   | --syscon | --sysco | --sysc | --sys | --sy)
1119     ac_prev=sysconfdir ;;
1120   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1121   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1122     sysconfdir=$ac_optarg ;;
1123
1124   -target | --target | --targe | --targ | --tar | --ta | --t)
1125     ac_prev=target_alias ;;
1126   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1127     target_alias=$ac_optarg ;;
1128
1129   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130     verbose=yes ;;
1131
1132   -version | --version | --versio | --versi | --vers | -V)
1133     ac_init_version=: ;;
1134
1135   -with-* | --with-*)
1136     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137     # Reject names that are not valid shell variable names.
1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139       as_fn_error $? "invalid package name: $ac_useropt"
1140     ac_useropt_orig=$ac_useropt
1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142     case $ac_user_opts in
1143       *"
1144 "with_$ac_useropt"
1145 "*) ;;
1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147          ac_unrecognized_sep=', ';;
1148     esac
1149     eval with_$ac_useropt=\$ac_optarg ;;
1150
1151   -without-* | --without-*)
1152     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153     # Reject names that are not valid shell variable names.
1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1155       as_fn_error $? "invalid package name: $ac_useropt"
1156     ac_useropt_orig=$ac_useropt
1157     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158     case $ac_user_opts in
1159       *"
1160 "with_$ac_useropt"
1161 "*) ;;
1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163          ac_unrecognized_sep=', ';;
1164     esac
1165     eval with_$ac_useropt=no ;;
1166
1167   --x)
1168     # Obsolete; use --with-x.
1169     with_x=yes ;;
1170
1171   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1172   | --x-incl | --x-inc | --x-in | --x-i)
1173     ac_prev=x_includes ;;
1174   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1175   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1176     x_includes=$ac_optarg ;;
1177
1178   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1179   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1180     ac_prev=x_libraries ;;
1181   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1182   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1183     x_libraries=$ac_optarg ;;
1184
1185   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information"
1187     ;;
1188
1189   *=*)
1190     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1191     # Reject names that are not valid shell variable names.
1192     case $ac_envvar in #(
1193       '' | [0-9]* | *[!_$as_cr_alnum]* )
1194       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1195     esac
1196     eval $ac_envvar=\$ac_optarg
1197     export $ac_envvar ;;
1198
1199   *)
1200     # FIXME: should be removed in autoconf 3.0.
1201     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1205     ;;
1206
1207   esac
1208 done
1209
1210 if test -n "$ac_prev"; then
1211   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1212   as_fn_error $? "missing argument to $ac_option"
1213 fi
1214
1215 if test -n "$ac_unrecognized_opts"; then
1216   case $enable_option_checking in
1217     no) ;;
1218     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1219     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220   esac
1221 fi
1222
1223 # Check all directory arguments for consistency.
1224 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225                 datadir sysconfdir sharedstatedir localstatedir includedir \
1226                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227                 libdir localedir mandir runstatedir
1228 do
1229   eval ac_val=\$$ac_var
1230   # Remove trailing slashes.
1231   case $ac_val in
1232     */ )
1233       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234       eval $ac_var=\$ac_val;;
1235   esac
1236   # Be sure to have absolute directory names.
1237   case $ac_val in
1238     [\\/$]* | ?:[\\/]* )  continue;;
1239     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1240   esac
1241   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1242 done
1243
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1247 build=$build_alias
1248 host=$host_alias
1249 target=$target_alias
1250
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x; then
1253   if test "x$build_alias" = x; then
1254     cross_compiling=maybe
1255   elif test "x$build_alias" != "x$host_alias"; then
1256     cross_compiling=yes
1257   fi
1258 fi
1259
1260 ac_tool_prefix=
1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1262
1263 test "$silent" = yes && exec 6>/dev/null
1264
1265
1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di=`ls -di .` &&
1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1269   as_fn_error $? "working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271   as_fn_error $? "pwd does not report name of working directory"
1272
1273
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276   ac_srcdir_defaulted=yes
1277   # Try the directory containing this script, then the parent directory.
1278   ac_confdir=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280          X"$as_myself" : 'X\(//\)[^/]' \| \
1281          X"$as_myself" : 'X\(//\)$' \| \
1282          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285             s//\1/
1286             q
1287           }
1288           /^X\(\/\/\)[^/].*/{
1289             s//\1/
1290             q
1291           }
1292           /^X\(\/\/\)$/{
1293             s//\1/
1294             q
1295           }
1296           /^X\(\/\).*/{
1297             s//\1/
1298             q
1299           }
1300           s/.*/./; q'`
1301   srcdir=$ac_confdir
1302   if test ! -r "$srcdir/$ac_unique_file"; then
1303     srcdir=..
1304   fi
1305 else
1306   ac_srcdir_defaulted=no
1307 fi
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1310   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1311 fi
1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 ac_abs_confdir=`(
1314         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1315         pwd)`
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318   srcdir=.
1319 fi
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1323 case $srcdir in
1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 esac
1326 for ac_var in $ac_precious_vars; do
1327   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1328   eval ac_env_${ac_var}_value=\$${ac_var}
1329   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1330   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1331 done
1332
1333 #
1334 # Report the --help message.
1335 #
1336 if test "$ac_init_help" = "long"; then
1337   # Omit some internal or obsolete options to make the list less imposing.
1338   # This message is too long to be a string in the A/UX 3.1 sh.
1339   cat <<_ACEOF
1340 \`configure' configures ACL - Andromeda Class Library 0.1 to adapt to many kinds of systems.
1341
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1343
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE.  See below for descriptions of some of the useful variables.
1346
1347 Defaults for the options are specified in brackets.
1348
1349 Configuration:
1350   -h, --help              display this help and exit
1351       --help=short        display options specific to this package
1352       --help=recursive    display the short help of all the included packages
1353   -V, --version           display version information and exit
1354   -q, --quiet, --silent   do not print \`checking ...' messages
1355       --cache-file=FILE   cache test results in FILE [disabled]
1356   -C, --config-cache      alias for \`--cache-file=config.cache'
1357   -n, --no-create         do not create output files
1358       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1359
1360 Installation directories:
1361   --prefix=PREFIX         install architecture-independent files in PREFIX
1362                           @<:@@S|@ac_default_prefix@:>@
1363   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1364                           @<:@PREFIX@:>@
1365
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1370
1371 For better control, use the options below.
1372
1373 Fine tuning of the installation directories:
1374   --bindir=DIR            user executables [EPREFIX/bin]
1375   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1376   --libexecdir=DIR        program executables [EPREFIX/libexec]
1377   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1378   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1379   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1380   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1381   --libdir=DIR            object code libraries [EPREFIX/lib]
1382   --includedir=DIR        C header files [PREFIX/include]
1383   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1384   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1385   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1386   --infodir=DIR           info documentation [DATAROOTDIR/info]
1387   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1388   --mandir=DIR            man documentation [DATAROOTDIR/man]
1389   --docdir=DIR            documentation root
1390                           @<:@DATAROOTDIR/doc/acl---andromeda-class-library@:>@
1391   --htmldir=DIR           html documentation [DOCDIR]
1392   --dvidir=DIR            dvi documentation [DOCDIR]
1393   --pdfdir=DIR            pdf documentation [DOCDIR]
1394   --psdir=DIR             ps documentation [DOCDIR]
1395 _ACEOF
1396
1397   cat <<\_ACEOF
1398
1399 Program names:
1400   --program-prefix=PREFIX            prepend PREFIX to installed program names
1401   --program-suffix=SUFFIX            append SUFFIX to installed program names
1402   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1403
1404 System types:
1405   --build=BUILD     configure for building on BUILD [guessed]
1406   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1407 _ACEOF
1408 fi
1409
1410 if test -n "$ac_init_help"; then
1411   case $ac_init_help in
1412      short | recursive ) echo "Configuration of ACL - Andromeda Class Library 0.1:";;
1413    esac
1414   cat <<\_ACEOF
1415
1416 Optional Features:
1417   --disable-option-checking  ignore unrecognized --enable/--with options
1418   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1419   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1420   --enable-silent-rules   less verbose build output (undo: "make V=1")
1421   --disable-silent-rules  verbose build output (undo: "make V=0")
1422   --enable-dependency-tracking 
1423                           do not reject slow dependency extractors
1424   --disable-dependency-tracking 
1425                           speeds up one-time build
1426   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1427   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1428   --enable-fast-install@<:@=PKGS@:>@ 
1429                           optimize for fast installation @<:@default=yes@:>@
1430   --disable-libtool-lock  avoid locking (might break parallel builds)
1431
1432 Optional Packages:
1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1435   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1436                           both@:>@
1437   --with-aix-soname=aix|svr4|both 
1438                           shared library versioning (aka "SONAME") variant to
1439                           provide on AIX, @<:@default=aix@:>@.
1440   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1441   --with-sysroot@<:@=DIR@:>@    Search for dependent libraries within DIR (or the
1442                           compiler's sysroot if not specified).
1443
1444 Some influential environment variables:
1445   CXX         C++ compiler command
1446   CXXFLAGS    C++ compiler flags
1447   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1448               nonstandard directory <lib dir>
1449   LIBS        libraries to pass to the linker, e.g. -l<library>
1450   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1451               you have headers in a nonstandard directory <include dir>
1452   CC          C compiler command
1453   CFLAGS      C compiler flags
1454   CPP         C preprocessor
1455   LT_SYS_LIBRARY_PATH 
1456               User-defined run-time library search path.
1457   CXXCPP      C++ preprocessor
1458
1459 Use these variables to override the choices made by `configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1461
1462 Report bugs to <BUG-REPORT-ADDRESS>.
1463 _ACEOF
1464 ac_status=$?
1465 fi
1466
1467 if test "$ac_init_help" = "recursive"; then
1468   # If there are subdirs, report their specific --help.
1469   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470     test -d "$ac_dir" ||
1471       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1472       continue
1473     ac_builddir=.
1474
1475 case "$ac_dir" in
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 *)
1478   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1479   # A ".." for each directory in $ac_dir_suffix.
1480   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1481   case $ac_top_builddir_sub in
1482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484   esac ;;
1485 esac
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1490
1491 case $srcdir in
1492   .)  # We are building in place.
1493     ac_srcdir=.
1494     ac_top_srcdir=$ac_top_builddir_sub
1495     ac_abs_top_srcdir=$ac_pwd ;;
1496   [\\/]* | ?:[\\/]* )  # Absolute name.
1497     ac_srcdir=$srcdir$ac_dir_suffix;
1498     ac_top_srcdir=$srcdir
1499     ac_abs_top_srcdir=$srcdir ;;
1500   *) # Relative name.
1501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502     ac_top_srcdir=$ac_top_build_prefix$srcdir
1503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 esac
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506
1507     cd "$ac_dir" || { ac_status=$?; continue; }
1508     # Check for guested configure.
1509     if test -f "$ac_srcdir/configure.gnu"; then
1510       echo &&
1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512     elif test -f "$ac_srcdir/configure"; then
1513       echo &&
1514       $SHELL "$ac_srcdir/configure" --help=recursive
1515     else
1516       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517     fi || ac_status=$?
1518     cd "$ac_pwd" || { ac_status=$?; break; }
1519   done
1520 fi
1521
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1524   cat <<\_ACEOF
1525 ACL - Andromeda Class Library configure 0.1
1526 generated by GNU Autoconf 2.69
1527
1528 Copyright (C) 2012 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1531 _ACEOF
1532   exit
1533 fi
1534
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1538
1539 @%:@ ac_fn_cxx_try_compile LINENO
1540 @%:@ ----------------------------
1541 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1542 ac_fn_cxx_try_compile ()
1543 {
1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545   rm -f conftest.$ac_objext
1546   if { { ac_try="$ac_compile"
1547 case "(($ac_try" in
1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549   *) ac_try_echo=$ac_try;;
1550 esac
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553   (eval "$ac_compile") 2>conftest.err
1554   ac_status=$?
1555   if test -s conftest.err; then
1556     grep -v '^ *+' conftest.err >conftest.er1
1557     cat conftest.er1 >&5
1558     mv -f conftest.er1 conftest.err
1559   fi
1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561   test $ac_status = 0; } && {
1562          test -z "$ac_cxx_werror_flag" ||
1563          test ! -s conftest.err
1564        } && test -s conftest.$ac_objext; then :
1565   ac_retval=0
1566 else
1567   $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1569
1570         ac_retval=1
1571 fi
1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573   as_fn_set_status $ac_retval
1574
1575 } @%:@ ac_fn_cxx_try_compile
1576
1577 @%:@ ac_fn_c_try_compile LINENO
1578 @%:@ --------------------------
1579 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1581 {
1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583   rm -f conftest.$ac_objext
1584   if { { ac_try="$ac_compile"
1585 case "(($ac_try" in
1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587   *) ac_try_echo=$ac_try;;
1588 esac
1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591   (eval "$ac_compile") 2>conftest.err
1592   ac_status=$?
1593   if test -s conftest.err; then
1594     grep -v '^ *+' conftest.err >conftest.er1
1595     cat conftest.er1 >&5
1596     mv -f conftest.er1 conftest.err
1597   fi
1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599   test $ac_status = 0; } && {
1600          test -z "$ac_c_werror_flag" ||
1601          test ! -s conftest.err
1602        } && test -s conftest.$ac_objext; then :
1603   ac_retval=0
1604 else
1605   $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1607
1608         ac_retval=1
1609 fi
1610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611   as_fn_set_status $ac_retval
1612
1613 } @%:@ ac_fn_c_try_compile
1614
1615 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1616 @%:@ -------------------------------------------
1617 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1618 @%:@ variable VAR accordingly.
1619 ac_fn_c_check_type ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval \${$3+:} false; then :
1625   $as_echo_n "(cached) " >&6
1626 else
1627   eval "$3=no"
1628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h.  */
1630 $4
1631 int
1632 main ()
1633 {
1634 if (sizeof ($2))
1635          return 0;
1636   ;
1637   return 0;
1638 }
1639 _ACEOF
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h.  */
1643 $4
1644 int
1645 main ()
1646 {
1647 if (sizeof (($2)))
1648             return 0;
1649   ;
1650   return 0;
1651 }
1652 _ACEOF
1653 if ac_fn_c_try_compile "$LINENO"; then :
1654   
1655 else
1656   eval "$3=yes"
1657 fi
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659 fi
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 fi
1662 eval ac_res=\$$3
1663                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666
1667 } @%:@ ac_fn_c_check_type
1668
1669 @%:@ ac_fn_c_try_cpp LINENO
1670 @%:@ ----------------------
1671 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_cpp ()
1673 {
1674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675   if { { ac_try="$ac_cpp conftest.$ac_ext"
1676 case "(($ac_try" in
1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678   *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1683   ac_status=$?
1684   if test -s conftest.err; then
1685     grep -v '^ *+' conftest.err >conftest.er1
1686     cat conftest.er1 >&5
1687     mv -f conftest.er1 conftest.err
1688   fi
1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690   test $ac_status = 0; } > conftest.i && {
1691          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1692          test ! -s conftest.err
1693        }; then :
1694   ac_retval=0
1695 else
1696   $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699     ac_retval=1
1700 fi
1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702   as_fn_set_status $ac_retval
1703
1704 } @%:@ ac_fn_c_try_cpp
1705
1706 @%:@ ac_fn_c_try_run LINENO
1707 @%:@ ----------------------
1708 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1709 @%:@ that executables *can* be run.
1710 ac_fn_c_try_run ()
1711 {
1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713   if { { ac_try="$ac_link"
1714 case "(($ac_try" in
1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716   *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720   (eval "$ac_link") 2>&5
1721   ac_status=$?
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724   { { case "(($ac_try" in
1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726   *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730   (eval "$ac_try") 2>&5
1731   ac_status=$?
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; }; }; then :
1734   ac_retval=0
1735 else
1736   $as_echo "$as_me: program exited with status $ac_status" >&5
1737        $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1739
1740        ac_retval=$ac_status
1741 fi
1742   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744   as_fn_set_status $ac_retval
1745
1746 } @%:@ ac_fn_c_try_run
1747
1748 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 @%:@ -------------------------------------------------------
1750 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1751 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758   $as_echo_n "(cached) " >&6
1759 else
1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h.  */
1762 $4
1763 @%:@include <$2>
1764 _ACEOF
1765 if ac_fn_c_try_compile "$LINENO"; then :
1766   eval "$3=yes"
1767 else
1768   eval "$3=no"
1769 fi
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771 fi
1772 eval ac_res=\$$3
1773                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1777 } @%:@ ac_fn_c_check_header_compile
1778
1779 @%:@ ac_fn_c_try_link LINENO
1780 @%:@ -----------------------
1781 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_link ()
1783 {
1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785   rm -f conftest.$ac_objext conftest$ac_exeext
1786   if { { ac_try="$ac_link"
1787 case "(($ac_try" in
1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789   *) ac_try_echo=$ac_try;;
1790 esac
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793   (eval "$ac_link") 2>conftest.err
1794   ac_status=$?
1795   if test -s conftest.err; then
1796     grep -v '^ *+' conftest.err >conftest.er1
1797     cat conftest.er1 >&5
1798     mv -f conftest.er1 conftest.err
1799   fi
1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801   test $ac_status = 0; } && {
1802          test -z "$ac_c_werror_flag" ||
1803          test ! -s conftest.err
1804        } && test -s conftest$ac_exeext && {
1805          test "$cross_compiling" = yes ||
1806          test -x conftest$ac_exeext
1807        }; then :
1808   ac_retval=0
1809 else
1810   $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1812
1813         ac_retval=1
1814 fi
1815   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817   # interfere with the next link command; also delete a directory that is
1818   # left behind by Apple's compiler.  We do this before executing the actions.
1819   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821   as_fn_set_status $ac_retval
1822
1823 } @%:@ ac_fn_c_try_link
1824
1825 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1826 @%:@ ----------------------------------
1827 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func ()
1829 {
1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834   $as_echo_n "(cached) " >&6
1835 else
1836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h.  */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1840 #define $2 innocuous_$2
1841
1842 /* System header to define __stub macros and hopefully few prototypes,
1843     which can conflict with char $2 (); below.
1844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845     <limits.h> exists even on freestanding compilers.  */
1846
1847 #ifdef __STDC__
1848 # include <limits.h>
1849 #else
1850 # include <assert.h>
1851 #endif
1852
1853 #undef $2
1854
1855 /* Override any GCC internal prototype to avoid an error.
1856    Use char because int might match the return type of a GCC
1857    builtin and then its argument prototype would still apply.  */
1858 #ifdef __cplusplus
1859 extern "C"
1860 #endif
1861 char $2 ();
1862 /* The GNU C library defines this for functions which it implements
1863     to always fail with ENOSYS.  Some functions are actually named
1864     something starting with __ and the normal name is an alias.  */
1865 #if defined __stub_$2 || defined __stub___$2
1866 choke me
1867 #endif
1868
1869 int
1870 main ()
1871 {
1872 return $2 ();
1873   ;
1874   return 0;
1875 }
1876 _ACEOF
1877 if ac_fn_c_try_link "$LINENO"; then :
1878   eval "$3=yes"
1879 else
1880   eval "$3=no"
1881 fi
1882 rm -f core conftest.err conftest.$ac_objext \
1883     conftest$ac_exeext conftest.$ac_ext
1884 fi
1885 eval ac_res=\$$3
1886                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889
1890 } @%:@ ac_fn_c_check_func
1891
1892 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1893 @%:@ -------------------------------------------------------
1894 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1895 @%:@ the include files in INCLUDES and setting the cache variable VAR
1896 @%:@ accordingly.
1897 ac_fn_c_check_header_mongrel ()
1898 {
1899   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900   if eval \${$3+:} false; then :
1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904   $as_echo_n "(cached) " >&6
1905 fi
1906 eval ac_res=\$$3
1907                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1909 else
1910   # Is the header compilable?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1912 $as_echo_n "checking $2 usability... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h.  */
1915 $4
1916 @%:@include <$2>
1917 _ACEOF
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919   ac_header_compiler=yes
1920 else
1921   ac_header_compiler=no
1922 fi
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1925 $as_echo "$ac_header_compiler" >&6; }
1926
1927 # Is the header present?
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1929 $as_echo_n "checking $2 presence... " >&6; }
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h.  */
1932 @%:@include <$2>
1933 _ACEOF
1934 if ac_fn_c_try_cpp "$LINENO"; then :
1935   ac_header_preproc=yes
1936 else
1937   ac_header_preproc=no
1938 fi
1939 rm -f conftest.err conftest.i conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1941 $as_echo "$ac_header_preproc" >&6; }
1942
1943 # So?  What about this header?
1944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1945   yes:no: )
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1947 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1950     ;;
1951   no:yes:* )
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1953 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1955 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1957 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1959 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1962 ( $as_echo "## --------------------------------- ##
1963 ## Report this to BUG-REPORT-ADDRESS ##
1964 ## --------------------------------- ##"
1965      ) | sed "s/^/$as_me: WARNING:     /" >&2
1966     ;;
1967 esac
1968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971   $as_echo_n "(cached) " >&6
1972 else
1973   eval "$3=\$ac_header_compiler"
1974 fi
1975 eval ac_res=\$$3
1976                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977 $as_echo "$ac_res" >&6; }
1978 fi
1979   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980
1981 } @%:@ ac_fn_c_check_header_mongrel
1982
1983 @%:@ ac_fn_cxx_try_cpp LINENO
1984 @%:@ ------------------------
1985 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1986 ac_fn_cxx_try_cpp ()
1987 {
1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989   if { { ac_try="$ac_cpp conftest.$ac_ext"
1990 case "(($ac_try" in
1991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992   *) ac_try_echo=$ac_try;;
1993 esac
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1997   ac_status=$?
1998   if test -s conftest.err; then
1999     grep -v '^ *+' conftest.err >conftest.er1
2000     cat conftest.er1 >&5
2001     mv -f conftest.er1 conftest.err
2002   fi
2003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004   test $ac_status = 0; } > conftest.i && {
2005          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2006          test ! -s conftest.err
2007        }; then :
2008   ac_retval=0
2009 else
2010   $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.$ac_ext >&5
2012
2013     ac_retval=1
2014 fi
2015   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016   as_fn_set_status $ac_retval
2017
2018 } @%:@ ac_fn_cxx_try_cpp
2019
2020 @%:@ ac_fn_cxx_try_link LINENO
2021 @%:@ -------------------------
2022 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2023 ac_fn_cxx_try_link ()
2024 {
2025   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026   rm -f conftest.$ac_objext conftest$ac_exeext
2027   if { { ac_try="$ac_link"
2028 case "(($ac_try" in
2029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2030   *) ac_try_echo=$ac_try;;
2031 esac
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034   (eval "$ac_link") 2>conftest.err
2035   ac_status=$?
2036   if test -s conftest.err; then
2037     grep -v '^ *+' conftest.err >conftest.er1
2038     cat conftest.er1 >&5
2039     mv -f conftest.er1 conftest.err
2040   fi
2041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042   test $ac_status = 0; } && {
2043          test -z "$ac_cxx_werror_flag" ||
2044          test ! -s conftest.err
2045        } && test -s conftest$ac_exeext && {
2046          test "$cross_compiling" = yes ||
2047          test -x conftest$ac_exeext
2048        }; then :
2049   ac_retval=0
2050 else
2051   $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2053
2054         ac_retval=1
2055 fi
2056   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2057   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2058   # interfere with the next link command; also delete a directory that is
2059   # left behind by Apple's compiler.  We do this before executing the actions.
2060   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2061   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062   as_fn_set_status $ac_retval
2063
2064 } @%:@ ac_fn_cxx_try_link
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by ACL - Andromeda Class Library $as_me 0.1, which was
2070 generated by GNU Autoconf 2.69.  Invocation command line was
2071
2072   $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2090
2091 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2092 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2095 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2096 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2097 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104   IFS=$as_save_IFS
2105   test -z "$as_dir" && as_dir=.
2106     $as_echo "PATH: $as_dir"
2107   done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133   for ac_arg
2134   do
2135     case $ac_arg in
2136     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138     | -silent | --silent | --silen | --sile | --sil)
2139       continue ;;
2140     *\'*)
2141       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142     esac
2143     case $ac_pass in
2144     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145     2)
2146       as_fn_append ac_configure_args1 " '$ac_arg'"
2147       if test $ac_must_keep_next = true; then
2148         ac_must_keep_next=false # Got value, back to normal.
2149       else
2150         case $ac_arg in
2151           *=* | --config-cache | -C | -disable-* | --disable-* \
2152           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154           | -with-* | --with-* | -without-* | --without-* | --x)
2155             case "$ac_configure_args0 " in
2156               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157             esac
2158             ;;
2159           -* ) ac_must_keep_next=true ;;
2160         esac
2161       fi
2162       as_fn_append ac_configure_args " '$ac_arg'"
2163       ;;
2164     esac
2165   done
2166 done
2167 { ac_configure_args0=; unset ac_configure_args0;}
2168 { ac_configure_args1=; unset ac_configure_args1;}
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log.  We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176   # Save into config.log some information that might help in debugging.
2177   {
2178     echo
2179
2180     $as_echo "## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##"
2183     echo
2184     # The following way of writing the cache mishandles newlines in values,
2185 (
2186   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187     eval ac_val=\$$ac_var
2188     case $ac_val in #(
2189     *${as_nl}*)
2190       case $ac_var in #(
2191       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193       esac
2194       case $ac_var in #(
2195       _ | IFS | as_nl) ;; #(
2196       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197       *) { eval $ac_var=; unset $ac_var;} ;;
2198       esac ;;
2199     esac
2200   done
2201   (set) 2>&1 |
2202     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203     *${as_nl}ac_space=\ *)
2204       sed -n \
2205         "s/'\''/'\''\\\\'\'''\''/g;
2206           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207       ;; #(
2208     *)
2209       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210       ;;
2211     esac |
2212     sort
2213 )
2214     echo
2215
2216     $as_echo "## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##"
2219     echo
2220     for ac_var in $ac_subst_vars
2221     do
2222       eval ac_val=\$$ac_var
2223       case $ac_val in
2224       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225       esac
2226       $as_echo "$ac_var='\''$ac_val'\''"
2227     done | sort
2228     echo
2229
2230     if test -n "$ac_subst_files"; then
2231       $as_echo "## ------------------- ##
2232 ## File substitutions. ##
2233 ## ------------------- ##"
2234       echo
2235       for ac_var in $ac_subst_files
2236       do
2237         eval ac_val=\$$ac_var
2238         case $ac_val in
2239         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240         esac
2241         $as_echo "$ac_var='\''$ac_val'\''"
2242       done | sort
2243       echo
2244     fi
2245
2246     if test -s confdefs.h; then
2247       $as_echo "## ----------- ##
2248 ## confdefs.h. ##
2249 ## ----------- ##"
2250       echo
2251       cat confdefs.h
2252       echo
2253     fi
2254     test "$ac_signal" != 0 &&
2255       $as_echo "$as_me: caught signal $ac_signal"
2256     $as_echo "$as_me: exit $exit_status"
2257   } >&5
2258   rm -f core *.core core.conftest.* &&
2259     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2260     exit $exit_status
2261 ' 0
2262 for ac_signal in 1 2 13 15; do
2263   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2264 done
2265 ac_signal=0
2266
2267 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2268 rm -f -r conftest* confdefs.h
2269
2270 $as_echo "/* confdefs.h */" > confdefs.h
2271
2272 # Predefined preprocessor variables.
2273
2274 cat >>confdefs.h <<_ACEOF
2275 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2276 _ACEOF
2277
2278 cat >>confdefs.h <<_ACEOF
2279 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2280 _ACEOF
2281
2282 cat >>confdefs.h <<_ACEOF
2283 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2284 _ACEOF
2285
2286 cat >>confdefs.h <<_ACEOF
2287 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2288 _ACEOF
2289
2290 cat >>confdefs.h <<_ACEOF
2291 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 @%:@define PACKAGE_URL "$PACKAGE_URL"
2296 _ACEOF
2297
2298
2299 # Let the site file select an alternate cache file if it wants to.
2300 # Prefer an explicitly selected file to automatically selected ones.
2301 ac_site_file1=NONE
2302 ac_site_file2=NONE
2303 if test -n "$CONFIG_SITE"; then
2304   # We do not want a PATH search for config.site.
2305   case $CONFIG_SITE in @%:@((
2306     -*)  ac_site_file1=./$CONFIG_SITE;;
2307     */*) ac_site_file1=$CONFIG_SITE;;
2308     *)   ac_site_file1=./$CONFIG_SITE;;
2309   esac
2310 elif test "x$prefix" != xNONE; then
2311   ac_site_file1=$prefix/share/config.site
2312   ac_site_file2=$prefix/etc/config.site
2313 else
2314   ac_site_file1=$ac_default_prefix/share/config.site
2315   ac_site_file2=$ac_default_prefix/etc/config.site
2316 fi
2317 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318 do
2319   test "x$ac_site_file" = xNONE && continue
2320   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323     sed 's/^/| /' "$ac_site_file" >&5
2324     . "$ac_site_file" \
2325       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327 as_fn_error $? "failed to load site script $ac_site_file
2328 See \`config.log' for more details" "$LINENO" 5; }
2329   fi
2330 done
2331
2332 if test -r "$cache_file"; then
2333   # Some versions of bash will fail to source /dev/null (special files
2334   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2335   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337 $as_echo "$as_me: loading cache $cache_file" >&6;}
2338     case $cache_file in
2339       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340       *)                      . "./$cache_file";;
2341     esac
2342   fi
2343 else
2344   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345 $as_echo "$as_me: creating cache $cache_file" >&6;}
2346   >$cache_file
2347 fi
2348
2349 # Check that the precious variables saved in the cache have kept the same
2350 # value.
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354   eval ac_new_set=\$ac_env_${ac_var}_set
2355   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356   eval ac_new_val=\$ac_env_${ac_var}_value
2357   case $ac_old_set,$ac_new_set in
2358     set,)
2359       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361       ac_cache_corrupted=: ;;
2362     ,set)
2363       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365       ac_cache_corrupted=: ;;
2366     ,);;
2367     *)
2368       if test "x$ac_old_val" != "x$ac_new_val"; then
2369         # differences in whitespace do not lead to failure.
2370         ac_old_val_w=`echo x $ac_old_val`
2371         ac_new_val_w=`echo x $ac_new_val`
2372         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375           ac_cache_corrupted=:
2376         else
2377           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379           eval $ac_var=\$ac_old_val
2380         fi
2381         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2382 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2383         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2385       fi;;
2386   esac
2387   # Pass precious variables to config.status.
2388   if test "$ac_new_set" = set; then
2389     case $ac_new_val in
2390     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391     *) ac_arg=$ac_var=$ac_new_val ;;
2392     esac
2393     case " $ac_configure_args " in
2394       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2395       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396     esac
2397   fi
2398 done
2399 if $ac_cache_corrupted; then
2400   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405 fi
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2409
2410 ac_ext=c
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415
2416
2417 am__api_version='1.15'
2418
2419 ac_aux_dir=
2420 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2421   if test -f "$ac_dir/install-sh"; then
2422     ac_aux_dir=$ac_dir
2423     ac_install_sh="$ac_aux_dir/install-sh -c"
2424     break
2425   elif test -f "$ac_dir/install.sh"; then
2426     ac_aux_dir=$ac_dir
2427     ac_install_sh="$ac_aux_dir/install.sh -c"
2428     break
2429   elif test -f "$ac_dir/shtool"; then
2430     ac_aux_dir=$ac_dir
2431     ac_install_sh="$ac_aux_dir/shtool install -c"
2432     break
2433   fi
2434 done
2435 if test -z "$ac_aux_dir"; then
2436   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2437 fi
2438
2439 # These three variables are undocumented and unsupported,
2440 # and are intended to be withdrawn in a future Autoconf release.
2441 # They can cause serious problems if a builder's source tree is in a directory
2442 # whose full name contains unusual characters.
2443 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2444 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2445 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2446
2447
2448 # Find a good install program.  We prefer a C program (faster),
2449 # so one script is as good as another.  But avoid the broken or
2450 # incompatible versions:
2451 # SysV /etc/install, /usr/sbin/install
2452 # SunOS /usr/etc/install
2453 # IRIX /sbin/install
2454 # AIX /bin/install
2455 # AmigaOS /C/install, which installs bootblocks on floppy discs
2456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2459 # OS/2's system install, which has a completely different semantic
2460 # ./install, which can be erroneously created by make from ./install.sh.
2461 # Reject install programs that cannot install multiple files.
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2463 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2464 if test -z "$INSTALL"; then
2465 if ${ac_cv_path_install+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 for as_dir in $PATH
2470 do
2471   IFS=$as_save_IFS
2472   test -z "$as_dir" && as_dir=.
2473     # Account for people who put trailing slashes in PATH elements.
2474 case $as_dir/ in @%:@((
2475   ./ | .// | /[cC]/* | \
2476   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2477   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2478   /usr/ucb/* ) ;;
2479   *)
2480     # OSF1 and SCO ODT 3.0 have their own names for install.
2481     # Don't use installbsd from OSF since it installs stuff as root
2482     # by default.
2483     for ac_prog in ginstall scoinst install; do
2484       for ac_exec_ext in '' $ac_executable_extensions; do
2485         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2486           if test $ac_prog = install &&
2487             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2488             # AIX install.  It has an incompatible calling convention.
2489             :
2490           elif test $ac_prog = install &&
2491             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2492             # program-specific install script used by HP pwplus--don't use.
2493             :
2494           else
2495             rm -rf conftest.one conftest.two conftest.dir
2496             echo one > conftest.one
2497             echo two > conftest.two
2498             mkdir conftest.dir
2499             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2500               test -s conftest.one && test -s conftest.two &&
2501               test -s conftest.dir/conftest.one &&
2502               test -s conftest.dir/conftest.two
2503             then
2504               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505               break 3
2506             fi
2507           fi
2508         fi
2509       done
2510     done
2511     ;;
2512 esac
2513
2514   done
2515 IFS=$as_save_IFS
2516
2517 rm -rf conftest.one conftest.two conftest.dir
2518
2519 fi
2520   if test "${ac_cv_path_install+set}" = set; then
2521     INSTALL=$ac_cv_path_install
2522   else
2523     # As a last resort, use the slow shell script.  Don't cache a
2524     # value for INSTALL within a source directory, because that will
2525     # break other packages using the cache if that directory is
2526     # removed, or if the value is a relative name.
2527     INSTALL=$ac_install_sh
2528   fi
2529 fi
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2531 $as_echo "$INSTALL" >&6; }
2532
2533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2534 # It thinks the first close brace ends the variable substitution.
2535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536
2537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538
2539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2542 $as_echo_n "checking whether build environment is sane... " >&6; }
2543 # Reject unsafe characters in $srcdir or the absolute working directory
2544 # name.  Accept space and tab only in the latter.
2545 am_lf='
2546 '
2547 case `pwd` in
2548   *[\\\"\#\$\&\'\`$am_lf]*)
2549     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2550 esac
2551 case $srcdir in
2552   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2553     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2554 esac
2555
2556 # Do 'set' in a subshell so we don't clobber the current shell's
2557 # arguments.  Must try -L first in case configure is actually a
2558 # symlink; some systems play weird games with the mod time of symlinks
2559 # (eg FreeBSD returns the mod time of the symlink's containing
2560 # directory).
2561 if (
2562    am_has_slept=no
2563    for am_try in 1 2; do
2564      echo "timestamp, slept: $am_has_slept" > conftest.file
2565      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2566      if test "$*" = "X"; then
2567         # -L didn't work.
2568         set X `ls -t "$srcdir/configure" conftest.file`
2569      fi
2570      if test "$*" != "X $srcdir/configure conftest.file" \
2571         && test "$*" != "X conftest.file $srcdir/configure"; then
2572
2573         # If neither matched, then we have a broken ls.  This can happen
2574         # if, for instance, CONFIG_SHELL is bash and it inherits a
2575         # broken ls alias from the environment.  This has actually
2576         # happened.  Such a system could not be considered "sane".
2577         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2578   alias in your environment" "$LINENO" 5
2579      fi
2580      if test "$2" = conftest.file || test $am_try -eq 2; then
2581        break
2582      fi
2583      # Just in case.
2584      sleep 1
2585      am_has_slept=yes
2586    done
2587    test "$2" = conftest.file
2588    )
2589 then
2590    # Ok.
2591    :
2592 else
2593    as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2595 fi
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 # If we didn't sleep, we still need to ensure time stamps of config.status and
2599 # generated files are strictly newer.
2600 am_sleep_pid=
2601 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2602   ( sleep 1 ) &
2603   am_sleep_pid=$!
2604 fi
2605
2606 rm -f conftest.file
2607
2608 test "$program_prefix" != NONE &&
2609   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2617
2618 # Expand $ac_aux_dir to an absolute path.
2619 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2620
2621 if test x"${MISSING+set}" != xset; then
2622   case $am_aux_dir in
2623   *\ * | *\     *)
2624     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2625   *)
2626     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2627   esac
2628 fi
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --is-lightweight"; then
2631   am_missing_run="$MISSING "
2632 else
2633   am_missing_run=
2634   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2636 fi
2637
2638 if test x"${install_sh+set}" != xset; then
2639   case $am_aux_dir in
2640   *\ * | *\     *)
2641     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2642   *)
2643     install_sh="\${SHELL} $am_aux_dir/install-sh"
2644   esac
2645 fi
2646
2647 # Installed binaries are usually stripped using 'strip' when the user
2648 # run "make install-strip".  However 'strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the 'STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652   if test -n "$ac_tool_prefix"; then
2653   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$STRIP"; then
2661   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_exec_ext in '' $ac_executable_extensions; do
2669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675   done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2684 else
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689
2690 fi
2691 if test -z "$ac_cv_prog_STRIP"; then
2692   ac_ct_STRIP=$STRIP
2693   # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698   $as_echo_n "(cached) " >&6
2699 else
2700   if test -n "$ac_ct_STRIP"; then
2701   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2702 else
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 for as_dir in $PATH
2705 do
2706   IFS=$as_save_IFS
2707   test -z "$as_dir" && as_dir=.
2708     for ac_exec_ext in '' $ac_executable_extensions; do
2709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710     ac_cv_prog_ac_ct_STRIP="strip"
2711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712     break 2
2713   fi
2714 done
2715   done
2716 IFS=$as_save_IFS
2717
2718 fi
2719 fi
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2724 else
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727 fi
2728
2729   if test "x$ac_ct_STRIP" = x; then
2730     STRIP=":"
2731   else
2732     case $cross_compiling:$ac_tool_warned in
2733 yes:)
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2737 esac
2738     STRIP=$ac_ct_STRIP
2739   fi
2740 else
2741   STRIP="$ac_cv_prog_STRIP"
2742 fi
2743
2744 fi
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2746
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750   if ${ac_cv_path_mkdir+:} false; then :
2751   $as_echo_n "(cached) " >&6
2752 else
2753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2755 do
2756   IFS=$as_save_IFS
2757   test -z "$as_dir" && as_dir=.
2758     for ac_prog in mkdir gmkdir; do
2759          for ac_exec_ext in '' $ac_executable_extensions; do
2760            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762              'mkdir (GNU coreutils) '* | \
2763              'mkdir (coreutils) '* | \
2764              'mkdir (fileutils) '4.1*)
2765                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2766                break 3;;
2767            esac
2768          done
2769        done
2770   done
2771 IFS=$as_save_IFS
2772
2773 fi
2774
2775   test -d ./--version && rmdir ./--version
2776   if test "${ac_cv_path_mkdir+set}" = set; then
2777     MKDIR_P="$ac_cv_path_mkdir -p"
2778   else
2779     # As a last resort, use the slow shell script.  Don't cache a
2780     # value for MKDIR_P within a source directory, because that will
2781     # break other packages using the cache if that directory is
2782     # removed, or if the value is a relative name.
2783     MKDIR_P="$ac_install_sh -d"
2784   fi
2785 fi
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2788
2789 for ac_prog in gawk mawk nawk awk
2790 do
2791   # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if ${ac_cv_prog_AWK+:} false; then :
2796   $as_echo_n "(cached) " >&6
2797 else
2798   if test -n "$AWK"; then
2799   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804   IFS=$as_save_IFS
2805   test -z "$as_dir" && as_dir=.
2806     for ac_exec_ext in '' $ac_executable_extensions; do
2807   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2808     ac_cv_prog_AWK="$ac_prog"
2809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810     break 2
2811   fi
2812 done
2813   done
2814 IFS=$as_save_IFS
2815
2816 fi
2817 fi
2818 AWK=$ac_cv_prog_AWK
2819 if test -n "$AWK"; then
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2826
2827
2828   test -n "$AWK" && break
2829 done
2830
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2833 set x ${MAKE-make}
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2836   $as_echo_n "(cached) " >&6
2837 else
2838   cat >conftest.make <<\_ACEOF
2839 SHELL = /bin/sh
2840 all:
2841         @echo '@@@%%%=$(MAKE)=@@@%%%'
2842 _ACEOF
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2845   *@@@%%%=?*=@@@%%%*)
2846     eval ac_cv_prog_make_${ac_make}_set=yes;;
2847   *)
2848     eval ac_cv_prog_make_${ac_make}_set=no;;
2849 esac
2850 rm -f conftest.make
2851 fi
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2855   SET_MAKE=
2856 else
2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859   SET_MAKE="MAKE=${MAKE-make}"
2860 fi
2861
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2865   am__leading_dot=.
2866 else
2867   am__leading_dot=_
2868 fi
2869 rmdir .tst 2>/dev/null
2870
2871 @%:@ Check whether --enable-silent-rules was given.
2872 if test "${enable_silent_rules+set}" = set; then :
2873   enableval=$enable_silent_rules; 
2874 fi
2875
2876 case $enable_silent_rules in @%:@ (((
2877   yes) AM_DEFAULT_VERBOSITY=0;;
2878    no) AM_DEFAULT_VERBOSITY=1;;
2879     *) AM_DEFAULT_VERBOSITY=1;;
2880 esac
2881 am_make=${MAKE-make}
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2883 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2884 if ${am_cv_make_support_nested_variables+:} false; then :
2885   $as_echo_n "(cached) " >&6
2886 else
2887   if $as_echo 'TRUE=$(BAR$(V))
2888 BAR0=false
2889 BAR1=true
2890 V=1
2891 am__doit:
2892         @$(TRUE)
2893 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2894   am_cv_make_support_nested_variables=yes
2895 else
2896   am_cv_make_support_nested_variables=no
2897 fi
2898 fi
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2900 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2901 if test $am_cv_make_support_nested_variables = yes; then
2902     AM_V='$(V)'
2903   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2904 else
2905   AM_V=$AM_DEFAULT_VERBOSITY
2906   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2907 fi
2908 AM_BACKSLASH='\'
2909
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912   # is not polluted with repeated "-I."
2913   am__isrc=' -I$(srcdir)'
2914   # test to see if srcdir already configured
2915   if test -f $srcdir/config.status; then
2916     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917   fi
2918 fi
2919
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922   if (cygpath --version) >/dev/null 2>/dev/null; then
2923     CYGPATH_W='cygpath -w'
2924   else
2925     CYGPATH_W=echo
2926   fi
2927 fi
2928
2929
2930 # Define the identity of the package.
2931  PACKAGE='acl---andromeda-class-library'
2932  VERSION='0.1'
2933
2934
2935 cat >>confdefs.h <<_ACEOF
2936 @%:@define PACKAGE "$PACKAGE"
2937 _ACEOF
2938
2939  
2940 cat >>confdefs.h <<_ACEOF
2941 @%:@define VERSION "$VERSION"
2942 _ACEOF
2943
2944 # Some tools Automake needs.
2945
2946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2947
2948
2949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2950
2951
2952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2953
2954
2955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2956
2957
2958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959
2960 # For better backward compatibility.  To be removed once Automake 1.9.x
2961 # dies out for good.  For more background, see:
2962 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2964 mkdir_p='$(MKDIR_P)'
2965
2966 # We need awk for the "check" target (and possibly the TAP driver).  The
2967 # system "awk" is bad on some platforms.
2968 # Always define AMTAR for backward compatibility.  Yes, it's still used
2969 # in the wild :-(  We should find a proper way to deprecate it ...
2970 AMTAR='$${TAR-tar}'
2971
2972
2973 # We'll loop over all known methods to create a tar archive until one works.
2974 _am_tools='gnutar  pax cpio none'
2975
2976 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2977
2978
2979
2980
2981
2982
2983 # POSIX will say in a future version that running "rm -f" with no argument
2984 # is OK; and we want to be able to make that assumption in our Makefile
2985 # recipes.  So use an aggressive probe to check that the usage we want is
2986 # actually supported "in the wild" to an acceptable degree.
2987 # See automake bug#10828.
2988 # To make any issue more visible, cause the running configure to be aborted
2989 # by default if the 'rm' program in use doesn't match our expectations; the
2990 # user can still override this though.
2991 if rm -f && rm -fr && rm -rf; then : OK; else
2992   cat >&2 <<'END'
2993 Oops!
2994
2995 Your 'rm' program seems unable to run without file operands specified
2996 on the command line, even when the '-f' option is present.  This is contrary
2997 to the behaviour of most rm programs out there, and not conforming with
2998 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2999
3000 Please tell bug-automake@gnu.org about your system, including the value
3001 of your $PATH and any error possibly output before this message.  This
3002 can help us improve future automake versions.
3003
3004 END
3005   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3006     echo 'Configuration will proceed anyway, since you have set the' >&2
3007     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3008     echo >&2
3009   else
3010     cat >&2 <<'END'
3011 Aborting the configuration process, to ensure you take notice of the issue.
3012
3013 You can download and install GNU coreutils to get an 'rm' implementation
3014 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3015
3016 If you want to complete the configuration process using your problematic
3017 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3018 to "yes", and re-run configure.
3019
3020 END
3021     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3022   fi
3023 fi
3024
3025
3026 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
3027
3028
3029 ac_config_headers="$ac_config_headers config.h"
3030
3031
3032 # Checks for programs.
3033 ac_ext=cpp
3034 ac_cpp='$CXXCPP $CPPFLAGS'
3035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3038 if test -z "$CXX"; then
3039   if test -n "$CCC"; then
3040     CXX=$CCC
3041   else
3042     if test -n "$ac_tool_prefix"; then
3043   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3044   do
3045     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3048 $as_echo_n "checking for $ac_word... " >&6; }
3049 if ${ac_cv_prog_CXX+:} false; then :
3050   $as_echo_n "(cached) " >&6
3051 else
3052   if test -n "$CXX"; then
3053   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3054 else
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 for as_dir in $PATH
3057 do
3058   IFS=$as_save_IFS
3059   test -z "$as_dir" && as_dir=.
3060     for ac_exec_ext in '' $ac_executable_extensions; do
3061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064     break 2
3065   fi
3066 done
3067   done
3068 IFS=$as_save_IFS
3069
3070 fi
3071 fi
3072 CXX=$ac_cv_prog_CXX
3073 if test -n "$CXX"; then
3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3075 $as_echo "$CXX" >&6; }
3076 else
3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3079 fi
3080
3081
3082     test -n "$CXX" && break
3083   done
3084 fi
3085 if test -z "$CXX"; then
3086   ac_ct_CXX=$CXX
3087   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3088 do
3089   # Extract the first word of "$ac_prog", so it can be a program name with args.
3090 set dummy $ac_prog; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3094   $as_echo_n "(cached) " >&6
3095 else
3096   if test -n "$ac_ct_CXX"; then
3097   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3098 else
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 for as_dir in $PATH
3101 do
3102   IFS=$as_save_IFS
3103   test -z "$as_dir" && as_dir=.
3104     for ac_exec_ext in '' $ac_executable_extensions; do
3105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106     ac_cv_prog_ac_ct_CXX="$ac_prog"
3107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108     break 2
3109   fi
3110 done
3111   done
3112 IFS=$as_save_IFS
3113
3114 fi
3115 fi
3116 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3117 if test -n "$ac_ct_CXX"; then
3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3119 $as_echo "$ac_ct_CXX" >&6; }
3120 else
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 fi
3124
3125
3126   test -n "$ac_ct_CXX" && break
3127 done
3128
3129   if test "x$ac_ct_CXX" = x; then
3130     CXX="g++"
3131   else
3132     case $cross_compiling:$ac_tool_warned in
3133 yes:)
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3136 ac_tool_warned=yes ;;
3137 esac
3138     CXX=$ac_ct_CXX
3139   fi
3140 fi
3141
3142   fi
3143 fi
3144 # Provide some information about the compiler.
3145 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3146 set X $ac_compile
3147 ac_compiler=$2
3148 for ac_option in --version -v -V -qversion; do
3149   { { ac_try="$ac_compiler $ac_option >&5"
3150 case "(($ac_try" in
3151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152   *) ac_try_echo=$ac_try;;
3153 esac
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3157   ac_status=$?
3158   if test -s conftest.err; then
3159     sed '10a\
3160 ... rest of stderr output deleted ...
3161          10q' conftest.err >conftest.er1
3162     cat conftest.er1 >&5
3163   fi
3164   rm -f conftest.er1 conftest.err
3165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166   test $ac_status = 0; }
3167 done
3168
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h.  */
3171
3172 int
3173 main ()
3174 {
3175
3176   ;
3177   return 0;
3178 }
3179 _ACEOF
3180 ac_clean_files_save=$ac_clean_files
3181 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3182 # Try to create an executable without -o first, disregard a.out.
3183 # It will help us diagnose broken compilers, and finding out an intuition
3184 # of exeext.
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3186 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3187 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3188
3189 # The possible output files:
3190 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3191
3192 ac_rmfiles=
3193 for ac_file in $ac_files
3194 do
3195   case $ac_file in
3196     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3197     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3198   esac
3199 done
3200 rm -f $ac_rmfiles
3201
3202 if { { ac_try="$ac_link_default"
3203 case "(($ac_try" in
3204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205   *) ac_try_echo=$ac_try;;
3206 esac
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209   (eval "$ac_link_default") 2>&5
3210   ac_status=$?
3211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212   test $ac_status = 0; }; then :
3213   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3214 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3215 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3216 # so that the user can short-circuit this test for compilers unknown to
3217 # Autoconf.
3218 for ac_file in $ac_files ''
3219 do
3220   test -f "$ac_file" || continue
3221   case $ac_file in
3222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3223         ;;
3224     [ab].out )
3225         # We found the default executable, but exeext='' is most
3226         # certainly right.
3227         break;;
3228     *.* )
3229         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3230         then :; else
3231            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232         fi
3233         # We set ac_cv_exeext here because the later test for it is not
3234         # safe: cross compilers may not add the suffix if given an `-o'
3235         # argument, so we may need to know it at that point already.
3236         # Even if this section looks crufty: it has the advantage of
3237         # actually working.
3238         break;;
3239     * )
3240         break;;
3241   esac
3242 done
3243 test "$ac_cv_exeext" = no && ac_cv_exeext=
3244
3245 else
3246   ac_file=''
3247 fi
3248 if test -z "$ac_file"; then :
3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3251 $as_echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3253
3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error 77 "C++ compiler cannot create executables
3257 See \`config.log' for more details" "$LINENO" 5; }
3258 else
3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3260 $as_echo "yes" >&6; }
3261 fi
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3263 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3265 $as_echo "$ac_file" >&6; }
3266 ac_exeext=$ac_cv_exeext
3267
3268 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3269 ac_clean_files=$ac_clean_files_save
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3271 $as_echo_n "checking for suffix of executables... " >&6; }
3272 if { { ac_try="$ac_link"
3273 case "(($ac_try" in
3274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275   *) ac_try_echo=$ac_try;;
3276 esac
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279   (eval "$ac_link") 2>&5
3280   ac_status=$?
3281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282   test $ac_status = 0; }; then :
3283   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3284 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3285 # work properly (i.e., refer to `conftest.exe'), while it won't with
3286 # `rm'.
3287 for ac_file in conftest.exe conftest conftest.*; do
3288   test -f "$ac_file" || continue
3289   case $ac_file in
3290     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3291     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3292           break;;
3293     * ) break;;
3294   esac
3295 done
3296 else
3297   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3300 See \`config.log' for more details" "$LINENO" 5; }
3301 fi
3302 rm -f conftest conftest$ac_cv_exeext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3304 $as_echo "$ac_cv_exeext" >&6; }
3305
3306 rm -f conftest.$ac_ext
3307 EXEEXT=$ac_cv_exeext
3308 ac_exeext=$EXEEXT
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h.  */
3311 @%:@include <stdio.h>
3312 int
3313 main ()
3314 {
3315 FILE *f = fopen ("conftest.out", "w");
3316  return ferror (f) || fclose (f) != 0;
3317
3318   ;
3319   return 0;
3320 }
3321 _ACEOF
3322 ac_clean_files="$ac_clean_files conftest.out"
3323 # Check that the compiler produces executables we can run.  If not, either
3324 # the compiler is broken, or we cross compile.
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3326 $as_echo_n "checking whether we are cross compiling... " >&6; }
3327 if test "$cross_compiling" != yes; then
3328   { { ac_try="$ac_link"
3329 case "(($ac_try" in
3330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331   *) ac_try_echo=$ac_try;;
3332 esac
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335   (eval "$ac_link") 2>&5
3336   ac_status=$?
3337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338   test $ac_status = 0; }
3339   if { ac_try='./conftest$ac_cv_exeext'
3340   { { case "(($ac_try" in
3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342   *) ac_try_echo=$ac_try;;
3343 esac
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346   (eval "$ac_try") 2>&5
3347   ac_status=$?
3348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349   test $ac_status = 0; }; }; then
3350     cross_compiling=no
3351   else
3352     if test "$cross_compiling" = maybe; then
3353         cross_compiling=yes
3354     else
3355         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "cannot run C++ compiled programs.
3358 If you meant to cross compile, use \`--host'.
3359 See \`config.log' for more details" "$LINENO" 5; }
3360     fi
3361   fi
3362 fi
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3364 $as_echo "$cross_compiling" >&6; }
3365
3366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3367 ac_clean_files=$ac_clean_files_save
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3369 $as_echo_n "checking for suffix of object files... " >&6; }
3370 if ${ac_cv_objext+:} false; then :
3371   $as_echo_n "(cached) " >&6
3372 else
3373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h.  */
3375
3376 int
3377 main ()
3378 {
3379
3380   ;
3381   return 0;
3382 }
3383 _ACEOF
3384 rm -f conftest.o conftest.obj
3385 if { { ac_try="$ac_compile"
3386 case "(($ac_try" in
3387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388   *) ac_try_echo=$ac_try;;
3389 esac
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392   (eval "$ac_compile") 2>&5
3393   ac_status=$?
3394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395   test $ac_status = 0; }; then :
3396   for ac_file in conftest.o conftest.obj conftest.*; do
3397   test -f "$ac_file" || continue;
3398   case $ac_file in
3399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3400     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3401        break;;
3402   esac
3403 done
3404 else
3405   $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3407
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $? "cannot compute suffix of object files: cannot compile
3411 See \`config.log' for more details" "$LINENO" 5; }
3412 fi
3413 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3414 fi
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3416 $as_echo "$ac_cv_objext" >&6; }
3417 OBJEXT=$ac_cv_objext
3418 ac_objext=$OBJEXT
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3420 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3421 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3422   $as_echo_n "(cached) " >&6
3423 else
3424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h.  */
3426
3427 int
3428 main ()
3429 {
3430 #ifndef __GNUC__
3431        choke me
3432 #endif
3433
3434   ;
3435   return 0;
3436 }
3437 _ACEOF
3438 if ac_fn_cxx_try_compile "$LINENO"; then :
3439   ac_compiler_gnu=yes
3440 else
3441   ac_compiler_gnu=no
3442 fi
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3445
3446 fi
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3448 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3449 if test $ac_compiler_gnu = yes; then
3450   GXX=yes
3451 else
3452   GXX=
3453 fi
3454 ac_test_CXXFLAGS=${CXXFLAGS+set}
3455 ac_save_CXXFLAGS=$CXXFLAGS
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3457 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3458 if ${ac_cv_prog_cxx_g+:} false; then :
3459   $as_echo_n "(cached) " >&6
3460 else
3461   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3462    ac_cxx_werror_flag=yes
3463    ac_cv_prog_cxx_g=no
3464    CXXFLAGS="-g"
3465    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h.  */
3467
3468 int
3469 main ()
3470 {
3471
3472   ;
3473   return 0;
3474 }
3475 _ACEOF
3476 if ac_fn_cxx_try_compile "$LINENO"; then :
3477   ac_cv_prog_cxx_g=yes
3478 else
3479   CXXFLAGS=""
3480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h.  */
3482
3483 int
3484 main ()
3485 {
3486
3487   ;
3488   return 0;
3489 }
3490 _ACEOF
3491 if ac_fn_cxx_try_compile "$LINENO"; then :
3492   
3493 else
3494   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3495          CXXFLAGS="-g"
3496          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h.  */
3498
3499 int
3500 main ()
3501 {
3502
3503   ;
3504   return 0;
3505 }
3506 _ACEOF
3507 if ac_fn_cxx_try_compile "$LINENO"; then :
3508   ac_cv_prog_cxx_g=yes
3509 fi
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 fi
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 fi
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3516 fi
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3518 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3519 if test "$ac_test_CXXFLAGS" = set; then
3520   CXXFLAGS=$ac_save_CXXFLAGS
3521 elif test $ac_cv_prog_cxx_g = yes; then
3522   if test "$GXX" = yes; then
3523     CXXFLAGS="-g -O2"
3524   else
3525     CXXFLAGS="-g"
3526   fi
3527 else
3528   if test "$GXX" = yes; then
3529     CXXFLAGS="-O2"
3530   else
3531     CXXFLAGS=
3532   fi
3533 fi
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 DEPDIR="${am__leading_dot}deps"
3540
3541 ac_config_commands="$ac_config_commands depfiles"
3542
3543
3544 am_make=${MAKE-make}
3545 cat > confinc << 'END'
3546 am__doit:
3547         @echo this is the am__doit target
3548 .PHONY: am__doit
3549 END
3550 # If we don't find an include directive, just comment out the code.
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3552 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3553 am__include="#"
3554 am__quote=
3555 _am_result=none
3556 # First try GNU make style include.
3557 echo "include confinc" > confmf
3558 # Ignore all kinds of additional output from 'make'.
3559 case `$am_make -s -f confmf 2> /dev/null` in #(
3560 *the\ am__doit\ target*)
3561   am__include=include
3562   am__quote=
3563   _am_result=GNU
3564   ;;
3565 esac
3566 # Now try BSD make style include.
3567 if test "$am__include" = "#"; then
3568    echo '.include "confinc"' > confmf
3569    case `$am_make -s -f confmf 2> /dev/null` in #(
3570    *the\ am__doit\ target*)
3571      am__include=.include
3572      am__quote="\""
3573      _am_result=BSD
3574      ;;
3575    esac
3576 fi
3577
3578
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3580 $as_echo "$_am_result" >&6; }
3581 rm -f confinc confmf
3582
3583 @%:@ Check whether --enable-dependency-tracking was given.
3584 if test "${enable_dependency_tracking+set}" = set; then :
3585   enableval=$enable_dependency_tracking; 
3586 fi
3587
3588 if test "x$enable_dependency_tracking" != xno; then
3589   am_depcomp="$ac_aux_dir/depcomp"
3590   AMDEPBACKSLASH='\'
3591   am__nodep='_no'
3592 fi
3593  if test "x$enable_dependency_tracking" != xno; then
3594   AMDEP_TRUE=
3595   AMDEP_FALSE='#'
3596 else
3597   AMDEP_TRUE='#'
3598   AMDEP_FALSE=
3599 fi
3600
3601
3602
3603 depcc="$CXX"  am_compiler_list=
3604
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3606 $as_echo_n "checking dependency style of $depcc... " >&6; }
3607 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3608   $as_echo_n "(cached) " >&6
3609 else
3610   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3611   # We make a subdir and do the tests there.  Otherwise we can end up
3612   # making bogus files that we don't know about and never remove.  For
3613   # instance it was reported that on HP-UX the gcc test will end up
3614   # making a dummy file named 'D' -- because '-MD' means "put the output
3615   # in D".
3616   rm -rf conftest.dir
3617   mkdir conftest.dir
3618   # Copy depcomp to subdir because otherwise we won't find it if we're
3619   # using a relative directory.
3620   cp "$am_depcomp" conftest.dir
3621   cd conftest.dir
3622   # We will build objects and dependencies in a subdirectory because
3623   # it helps to detect inapplicable dependency modes.  For instance
3624   # both Tru64's cc and ICC support -MD to output dependencies as a
3625   # side effect of compilation, but ICC will put the dependencies in
3626   # the current directory while Tru64 will put them in the object
3627   # directory.
3628   mkdir sub
3629
3630   am_cv_CXX_dependencies_compiler_type=none
3631   if test "$am_compiler_list" = ""; then
3632      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3633   fi
3634   am__universal=false
3635   case " $depcc " in #(
3636      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3637      esac
3638
3639   for depmode in $am_compiler_list; do
3640     # Setup a source with many dependencies, because some compilers
3641     # like to wrap large dependency lists on column 80 (with \), and
3642     # we should not choose a depcomp mode which is confused by this.
3643     #
3644     # We need to recreate these files for each test, as the compiler may
3645     # overwrite some of them when testing with obscure command lines.
3646     # This happens at least with the AIX C compiler.
3647     : > sub/conftest.c
3648     for i in 1 2 3 4 5 6; do
3649       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3650       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3651       # Solaris 10 /bin/sh.
3652       echo '/* dummy */' > sub/conftst$i.h
3653     done
3654     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3655
3656     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3657     # mode.  It turns out that the SunPro C++ compiler does not properly
3658     # handle '-M -o', and we need to detect this.  Also, some Intel
3659     # versions had trouble with output in subdirs.
3660     am__obj=sub/conftest.${OBJEXT-o}
3661     am__minus_obj="-o $am__obj"
3662     case $depmode in
3663     gcc)
3664       # This depmode causes a compiler race in universal mode.
3665       test "$am__universal" = false || continue
3666       ;;
3667     nosideeffect)
3668       # After this tag, mechanisms are not by side-effect, so they'll
3669       # only be used when explicitly requested.
3670       if test "x$enable_dependency_tracking" = xyes; then
3671         continue
3672       else
3673         break
3674       fi
3675       ;;
3676     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3677       # This compiler won't grok '-c -o', but also, the minuso test has
3678       # not run yet.  These depmodes are late enough in the game, and
3679       # so weak that their functioning should not be impacted.
3680       am__obj=conftest.${OBJEXT-o}
3681       am__minus_obj=
3682       ;;
3683     none) break ;;
3684     esac
3685     if depmode=$depmode \
3686        source=sub/conftest.c object=$am__obj \
3687        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3688        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3689          >/dev/null 2>conftest.err &&
3690        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3691        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3692        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3693        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3694       # icc doesn't choke on unknown options, it will just issue warnings
3695       # or remarks (even with -Werror).  So we grep stderr for any message
3696       # that says an option was ignored or not supported.
3697       # When given -MP, icc 7.0 and 7.1 complain thusly:
3698       #   icc: Command line warning: ignoring option '-M'; no argument required
3699       # The diagnosis changed in icc 8.0:
3700       #   icc: Command line remark: option '-MP' not supported
3701       if (grep 'ignoring option' conftest.err ||
3702           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3703         am_cv_CXX_dependencies_compiler_type=$depmode
3704         break
3705       fi
3706     fi
3707   done
3708
3709   cd ..
3710   rm -rf conftest.dir
3711 else
3712   am_cv_CXX_dependencies_compiler_type=none
3713 fi
3714
3715 fi
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3717 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3718 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3719
3720  if 
3721   test "x$enable_dependency_tracking" != xno \
3722   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3723   am__fastdepCXX_TRUE=
3724   am__fastdepCXX_FALSE='#'
3725 else
3726   am__fastdepCXX_TRUE='#'
3727   am__fastdepCXX_FALSE=
3728 fi
3729
3730
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742   $as_echo_n "(cached) " >&6
3743 else
3744   if test -n "$CC"; then
3745   ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3749 do
3750   IFS=$as_save_IFS
3751   test -z "$as_dir" && as_dir=.
3752     for ac_exec_ext in '' $ac_executable_extensions; do
3753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756     break 2
3757   fi
3758 done
3759   done
3760 IFS=$as_save_IFS
3761
3762 fi
3763 fi
3764 CC=$ac_cv_prog_CC
3765 if test -n "$CC"; then
3766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3768 else
3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3771 fi
3772
3773
3774 fi
3775 if test -z "$ac_cv_prog_CC"; then
3776   ac_ct_CC=$CC
3777   # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782   $as_echo_n "(cached) " >&6
3783 else
3784   if test -n "$ac_ct_CC"; then
3785   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3789 do
3790   IFS=$as_save_IFS
3791   test -z "$as_dir" && as_dir=.
3792     for ac_exec_ext in '' $ac_executable_extensions; do
3793   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794     ac_cv_prog_ac_ct_CC="gcc"
3795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796     break 2
3797   fi
3798 done
3799   done
3800 IFS=$as_save_IFS
3801
3802 fi
3803 fi
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3811 fi
3812
3813   if test "x$ac_ct_CC" = x; then
3814     CC=""
3815   else
3816     case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822     CC=$ac_ct_CC
3823   fi
3824 else
3825   CC="$ac_cv_prog_CC"
3826 fi
3827
3828 if test -z "$CC"; then
3829           if test -n "$ac_tool_prefix"; then
3830     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835   $as_echo_n "(cached) " >&6
3836 else
3837   if test -n "$CC"; then
3838   ac_cv_prog_CC="$CC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3842 do
3843   IFS=$as_save_IFS
3844   test -z "$as_dir" && as_dir=.
3845     for ac_exec_ext in '' $ac_executable_extensions; do
3846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847     ac_cv_prog_CC="${ac_tool_prefix}cc"
3848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849     break 2
3850   fi
3851 done
3852   done
3853 IFS=$as_save_IFS
3854
3855 fi
3856 fi
3857 CC=$ac_cv_prog_CC
3858 if test -n "$CC"; then
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3861 else
3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3864 fi
3865
3866
3867   fi
3868 fi
3869 if test -z "$CC"; then
3870   # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875   $as_echo_n "(cached) " >&6
3876 else
3877   if test -n "$CC"; then
3878   ac_cv_prog_CC="$CC" # Let the user override the test.
3879 else
3880   ac_prog_rejected=no
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3883 do
3884   IFS=$as_save_IFS
3885   test -z "$as_dir" && as_dir=.
3886     for ac_exec_ext in '' $ac_executable_extensions; do
3887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889        ac_prog_rejected=yes
3890        continue
3891      fi
3892     ac_cv_prog_CC="cc"
3893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894     break 2
3895   fi
3896 done
3897   done
3898 IFS=$as_save_IFS
3899
3900 if test $ac_prog_rejected = yes; then
3901   # We found a bogon in the path, so make sure we never use it.
3902   set dummy $ac_cv_prog_CC
3903   shift
3904   if test $@%:@ != 0; then
3905     # We chose a different compiler from the bogus one.
3906     # However, it has the same basename, so the bogon will be chosen
3907     # first if we set CC to just the basename; use the full file name.
3908     shift
3909     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3910   fi
3911 fi
3912 fi
3913 fi
3914 CC=$ac_cv_prog_CC
3915 if test -n "$CC"; then
3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3918 else
3919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 fi
3922
3923
3924 fi
3925 if test -z "$CC"; then
3926   if test -n "$ac_tool_prefix"; then
3927   for ac_prog in cl.exe
3928   do
3929     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934   $as_echo_n "(cached) " >&6
3935 else
3936   if test -n "$CC"; then
3937   ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3941 do
3942   IFS=$as_save_IFS
3943   test -z "$as_dir" && as_dir=.
3944     for ac_exec_ext in '' $ac_executable_extensions; do
3945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948     break 2
3949   fi
3950 done
3951   done
3952 IFS=$as_save_IFS
3953
3954 fi
3955 fi
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 fi
3964
3965
3966     test -n "$CC" && break
3967   done
3968 fi
3969 if test -z "$CC"; then
3970   ac_ct_CC=$CC
3971   for ac_prog in cl.exe
3972 do
3973   # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   if test -n "$ac_ct_CC"; then
3981   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH
3985 do
3986   IFS=$as_save_IFS
3987   test -z "$as_dir" && as_dir=.
3988     for ac_exec_ext in '' $ac_executable_extensions; do
3989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990     ac_cv_prog_ac_ct_CC="$ac_prog"
3991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992     break 2
3993   fi
3994 done
3995   done
3996 IFS=$as_save_IFS
3997
3998 fi
3999 fi
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4004 else
4005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 fi
4008
4009
4010   test -n "$ac_ct_CC" && break
4011 done
4012
4013   if test "x$ac_ct_CC" = x; then
4014     CC=""
4015   else
4016     case $cross_compiling:$ac_tool_warned in
4017 yes:)
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4021 esac
4022     CC=$ac_ct_CC
4023   fi
4024 fi
4025
4026 fi
4027
4028
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4033
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4036 set X $ac_compile
4037 ac_compiler=$2
4038 for ac_option in --version -v -V -qversion; do
4039   { { ac_try="$ac_compiler $ac_option >&5"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4047   ac_status=$?
4048   if test -s conftest.err; then
4049     sed '10a\
4050 ... rest of stderr output deleted ...
4051          10q' conftest.err >conftest.er1
4052     cat conftest.er1 >&5
4053   fi
4054   rm -f conftest.er1 conftest.err
4055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056   test $ac_status = 0; }
4057 done
4058
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4061 if ${ac_cv_c_compiler_gnu+:} false; then :
4062   $as_echo_n "(cached) " >&6
4063 else
4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h.  */
4066
4067 int
4068 main ()
4069 {
4070 #ifndef __GNUC__
4071        choke me
4072 #endif
4073
4074   ;
4075   return 0;
4076 }
4077 _ACEOF
4078 if ac_fn_c_try_compile "$LINENO"; then :
4079   ac_compiler_gnu=yes
4080 else
4081   ac_compiler_gnu=no
4082 fi
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4085
4086 fi
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4089 if test $ac_compiler_gnu = yes; then
4090   GCC=yes
4091 else
4092   GCC=
4093 fi
4094 ac_test_CFLAGS=${CFLAGS+set}
4095 ac_save_CFLAGS=$CFLAGS
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4098 if ${ac_cv_prog_cc_g+:} false; then :
4099   $as_echo_n "(cached) " >&6
4100 else
4101   ac_save_c_werror_flag=$ac_c_werror_flag
4102    ac_c_werror_flag=yes
4103    ac_cv_prog_cc_g=no
4104    CFLAGS="-g"
4105    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h.  */
4107
4108 int
4109 main ()
4110 {
4111
4112   ;
4113   return 0;
4114 }
4115 _ACEOF
4116 if ac_fn_c_try_compile "$LINENO"; then :
4117   ac_cv_prog_cc_g=yes
4118 else
4119   CFLAGS=""
4120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h.  */
4122
4123 int
4124 main ()
4125 {
4126
4127   ;
4128   return 0;
4129 }
4130 _ACEOF
4131 if ac_fn_c_try_compile "$LINENO"; then :
4132   
4133 else
4134   ac_c_werror_flag=$ac_save_c_werror_flag
4135          CFLAGS="-g"
4136          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h.  */
4138
4139 int
4140 main ()
4141 {
4142
4143   ;
4144   return 0;
4145 }
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148   ac_cv_prog_cc_g=yes
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 fi
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155    ac_c_werror_flag=$ac_save_c_werror_flag
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4158 $as_echo "$ac_cv_prog_cc_g" >&6; }
4159 if test "$ac_test_CFLAGS" = set; then
4160   CFLAGS=$ac_save_CFLAGS
4161 elif test $ac_cv_prog_cc_g = yes; then
4162   if test "$GCC" = yes; then
4163     CFLAGS="-g -O2"
4164   else
4165     CFLAGS="-g"
4166   fi
4167 else
4168   if test "$GCC" = yes; then
4169     CFLAGS="-O2"
4170   else
4171     CFLAGS=
4172   fi
4173 fi
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176 if ${ac_cv_prog_cc_c89+:} false; then :
4177   $as_echo_n "(cached) " >&6
4178 else
4179   ac_cv_prog_cc_c89=no
4180 ac_save_CC=$CC
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h.  */
4183 #include <stdarg.h>
4184 #include <stdio.h>
4185 struct stat;
4186 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4187 struct buf { int x; };
4188 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4189 static char *e (p, i)
4190      char **p;
4191      int i;
4192 {
4193   return p[i];
4194 }
4195 static char *f (char * (*g) (char **, int), char **p, ...)
4196 {
4197   char *s;
4198   va_list v;
4199   va_start (v,p);
4200   s = g (p, va_arg (v,int));
4201   va_end (v);
4202   return s;
4203 }
4204
4205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4206    function prototypes and stuff, but not '\xHH' hex character constants.
4207    These don't provoke an error unfortunately, instead are silently treated
4208    as 'x'.  The following induces an error, until -std is added to get
4209    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4210    array size at least.  It's necessary to write '\x00'==0 to get something
4211    that's true only with -std.  */
4212 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4213
4214 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4215    inside strings and character constants.  */
4216 #define FOO(x) 'x'
4217 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4218
4219 int test (int i, double x);
4220 struct s1 {int (*f) (int a);};
4221 struct s2 {int (*f) (double a);};
4222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4223 int argc;
4224 char **argv;
4225 int
4226 main ()
4227 {
4228 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4229   ;
4230   return 0;
4231 }
4232 _ACEOF
4233 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4234         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4235 do
4236   CC="$ac_save_CC $ac_arg"
4237   if ac_fn_c_try_compile "$LINENO"; then :
4238   ac_cv_prog_cc_c89=$ac_arg
4239 fi
4240 rm -f core conftest.err conftest.$ac_objext
4241   test "x$ac_cv_prog_cc_c89" != "xno" && break
4242 done
4243 rm -f conftest.$ac_ext
4244 CC=$ac_save_CC
4245
4246 fi
4247 # AC_CACHE_VAL
4248 case "x$ac_cv_prog_cc_c89" in
4249   x)
4250     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4251 $as_echo "none needed" >&6; } ;;
4252   xno)
4253     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4254 $as_echo "unsupported" >&6; } ;;
4255   *)
4256     CC="$CC $ac_cv_prog_cc_c89"
4257     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4258 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4259 esac
4260 if test "x$ac_cv_prog_cc_c89" != xno; then :
4261   
4262 fi
4263
4264 ac_ext=c
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269
4270 ac_ext=c
4271 ac_cpp='$CPP $CPPFLAGS'
4272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4276 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4277 if ${am_cv_prog_cc_c_o+:} false; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h.  */
4282
4283 int
4284 main ()
4285 {
4286
4287   ;
4288   return 0;
4289 }
4290 _ACEOF
4291   # Make sure it works both with $CC and with simple cc.
4292   # Following AC_PROG_CC_C_O, we do the test twice because some
4293   # compilers refuse to overwrite an existing .o file with -o,
4294   # though they will create one.
4295   am_cv_prog_cc_c_o=yes
4296   for am_i in 1 2; do
4297     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4298    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4299    ac_status=$?
4300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301    (exit $ac_status); } \
4302          && test -f conftest2.$ac_objext; then
4303       : OK
4304     else
4305       am_cv_prog_cc_c_o=no
4306       break
4307     fi
4308   done
4309   rm -f core conftest*
4310   unset am_i
4311 fi
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4313 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4314 if test "$am_cv_prog_cc_c_o" != yes; then
4315    # Losing compiler, so override with the script.
4316    # FIXME: It is wrong to rewrite CC.
4317    # But if we don't then we get into trouble of one sort or another.
4318    # A longer-term fix would be to have automake use am__CC in this case,
4319    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4320    CC="$am_aux_dir/compile $CC"
4321 fi
4322 ac_ext=c
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327
4328
4329 depcc="$CC"   am_compiler_list=
4330
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4332 $as_echo_n "checking dependency style of $depcc... " >&6; }
4333 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4334   $as_echo_n "(cached) " >&6
4335 else
4336   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4337   # We make a subdir and do the tests there.  Otherwise we can end up
4338   # making bogus files that we don't know about and never remove.  For
4339   # instance it was reported that on HP-UX the gcc test will end up
4340   # making a dummy file named 'D' -- because '-MD' means "put the output
4341   # in D".
4342   rm -rf conftest.dir
4343   mkdir conftest.dir
4344   # Copy depcomp to subdir because otherwise we won't find it if we're
4345   # using a relative directory.
4346   cp "$am_depcomp" conftest.dir
4347   cd conftest.dir
4348   # We will build objects and dependencies in a subdirectory because
4349   # it helps to detect inapplicable dependency modes.  For instance
4350   # both Tru64's cc and ICC support -MD to output dependencies as a
4351   # side effect of compilation, but ICC will put the dependencies in
4352   # the current directory while Tru64 will put them in the object
4353   # directory.
4354   mkdir sub
4355
4356   am_cv_CC_dependencies_compiler_type=none
4357   if test "$am_compiler_list" = ""; then
4358      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4359   fi
4360   am__universal=false
4361   case " $depcc " in #(
4362      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4363      esac
4364
4365   for depmode in $am_compiler_list; do
4366     # Setup a source with many dependencies, because some compilers
4367     # like to wrap large dependency lists on column 80 (with \), and
4368     # we should not choose a depcomp mode which is confused by this.
4369     #
4370     # We need to recreate these files for each test, as the compiler may
4371     # overwrite some of them when testing with obscure command lines.
4372     # This happens at least with the AIX C compiler.
4373     : > sub/conftest.c
4374     for i in 1 2 3 4 5 6; do
4375       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4376       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4377       # Solaris 10 /bin/sh.
4378       echo '/* dummy */' > sub/conftst$i.h
4379     done
4380     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4381
4382     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4383     # mode.  It turns out that the SunPro C++ compiler does not properly
4384     # handle '-M -o', and we need to detect this.  Also, some Intel
4385     # versions had trouble with output in subdirs.
4386     am__obj=sub/conftest.${OBJEXT-o}
4387     am__minus_obj="-o $am__obj"
4388     case $depmode in
4389     gcc)
4390       # This depmode causes a compiler race in universal mode.
4391       test "$am__universal" = false || continue
4392       ;;
4393     nosideeffect)
4394       # After this tag, mechanisms are not by side-effect, so they'll
4395       # only be used when explicitly requested.
4396       if test "x$enable_dependency_tracking" = xyes; then
4397         continue
4398       else
4399         break
4400       fi
4401       ;;
4402     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4403       # This compiler won't grok '-c -o', but also, the minuso test has
4404       # not run yet.  These depmodes are late enough in the game, and
4405       # so weak that their functioning should not be impacted.
4406       am__obj=conftest.${OBJEXT-o}
4407       am__minus_obj=
4408       ;;
4409     none) break ;;
4410     esac
4411     if depmode=$depmode \
4412        source=sub/conftest.c object=$am__obj \
4413        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4414        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4415          >/dev/null 2>conftest.err &&
4416        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4417        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4418        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4419        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4420       # icc doesn't choke on unknown options, it will just issue warnings
4421       # or remarks (even with -Werror).  So we grep stderr for any message
4422       # that says an option was ignored or not supported.
4423       # When given -MP, icc 7.0 and 7.1 complain thusly:
4424       #   icc: Command line warning: ignoring option '-M'; no argument required
4425       # The diagnosis changed in icc 8.0:
4426       #   icc: Command line remark: option '-MP' not supported
4427       if (grep 'ignoring option' conftest.err ||
4428           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4429         am_cv_CC_dependencies_compiler_type=$depmode
4430         break
4431       fi
4432     fi
4433   done
4434
4435   cd ..
4436   rm -rf conftest.dir
4437 else
4438   am_cv_CC_dependencies_compiler_type=none
4439 fi
4440
4441 fi
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4445
4446  if 
4447   test "x$enable_dependency_tracking" != xno \
4448   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4449   am__fastdepCC_TRUE=
4450   am__fastdepCC_FALSE='#'
4451 else
4452   am__fastdepCC_TRUE='#'
4453   am__fastdepCC_FALSE=
4454 fi
4455
4456
4457
4458 if test -n "$ac_tool_prefix"; then
4459   for ac_prog in ar lib "link -lib"
4460   do
4461     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_AR+:} false; then :
4466   $as_echo_n "(cached) " >&6
4467 else
4468   if test -n "$AR"; then
4469   ac_cv_prog_AR="$AR" # Let the user override the test.
4470 else
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 for as_dir in $PATH
4473 do
4474   IFS=$as_save_IFS
4475   test -z "$as_dir" && as_dir=.
4476     for ac_exec_ext in '' $ac_executable_extensions; do
4477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480     break 2
4481   fi
4482 done
4483   done
4484 IFS=$as_save_IFS
4485
4486 fi
4487 fi
4488 AR=$ac_cv_prog_AR
4489 if test -n "$AR"; then
4490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4491 $as_echo "$AR" >&6; }
4492 else
4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4495 fi
4496
4497
4498     test -n "$AR" && break
4499   done
4500 fi
4501 if test -z "$AR"; then
4502   ac_ct_AR=$AR
4503   for ac_prog in ar lib "link -lib"
4504 do
4505   # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4510   $as_echo_n "(cached) " >&6
4511 else
4512   if test -n "$ac_ct_AR"; then
4513   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4514 else
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4517 do
4518   IFS=$as_save_IFS
4519   test -z "$as_dir" && as_dir=.
4520     for ac_exec_ext in '' $ac_executable_extensions; do
4521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522     ac_cv_prog_ac_ct_AR="$ac_prog"
4523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524     break 2
4525   fi
4526 done
4527   done
4528 IFS=$as_save_IFS
4529
4530 fi
4531 fi
4532 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4533 if test -n "$ac_ct_AR"; then
4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4535 $as_echo "$ac_ct_AR" >&6; }
4536 else
4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4539 fi
4540
4541
4542   test -n "$ac_ct_AR" && break
4543 done
4544
4545   if test "x$ac_ct_AR" = x; then
4546     AR="false"
4547   else
4548     case $cross_compiling:$ac_tool_warned in
4549 yes:)
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4553 esac
4554     AR=$ac_ct_AR
4555   fi
4556 fi
4557
4558 : ${AR=ar}
4559
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4561 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4562 if ${am_cv_ar_interface+:} false; then :
4563   $as_echo_n "(cached) " >&6
4564 else
4565   ac_ext=c
4566 ac_cpp='$CPP $CPPFLAGS'
4567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570
4571    am_cv_ar_interface=ar
4572    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h.  */
4574 int some_variable = 0;
4575 _ACEOF
4576 if ac_fn_c_try_compile "$LINENO"; then :
4577   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4578       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4579   (eval $am_ar_try) 2>&5
4580   ac_status=$?
4581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582   test $ac_status = 0; }
4583       if test "$ac_status" -eq 0; then
4584         am_cv_ar_interface=ar
4585       else
4586         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4587         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4588   (eval $am_ar_try) 2>&5
4589   ac_status=$?
4590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591   test $ac_status = 0; }
4592         if test "$ac_status" -eq 0; then
4593           am_cv_ar_interface=lib
4594         else
4595           am_cv_ar_interface=unknown
4596         fi
4597       fi
4598       rm -f conftest.lib libconftest.a
4599      
4600 fi
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4602    ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607
4608 fi
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4610 $as_echo "$am_cv_ar_interface" >&6; }
4611
4612 case $am_cv_ar_interface in
4613 ar)
4614   ;;
4615 lib)
4616   # Microsoft lib, so override with the ar-lib wrapper script.
4617   # FIXME: It is wrong to rewrite AR.
4618   # But if we don't then we get into trouble of one sort or another.
4619   # A longer-term fix would be to have automake use am__AR in this case,
4620   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4621   # similar.
4622   AR="$am_aux_dir/ar-lib $AR"
4623   ;;
4624 unknown)
4625   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4626   ;;
4627 esac
4628
4629
4630 # Checks for libraries.
4631
4632 # Checks for header files.
4633 ac_ext=c
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4639 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4640 # On Suns, sometimes $CPP names a directory.
4641 if test -n "$CPP" && test -d "$CPP"; then
4642   CPP=
4643 fi
4644 if test -z "$CPP"; then
4645   if ${ac_cv_prog_CPP+:} false; then :
4646   $as_echo_n "(cached) " >&6
4647 else
4648       # Double quotes because CPP needs to be expanded
4649     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4650     do
4651       ac_preproc_ok=false
4652 for ac_c_preproc_warn_flag in '' yes
4653 do
4654   # Use a header file that comes with gcc, so configuring glibc
4655   # with a fresh cross-compiler works.
4656   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4657   # <limits.h> exists even on freestanding compilers.
4658   # On the NeXT, cc -E runs the code through the compiler's parser,
4659   # not just through cpp. "Syntax error" is here to catch this case.
4660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h.  */
4662 @%:@ifdef __STDC__
4663 @%:@ include <limits.h>
4664 @%:@else
4665 @%:@ include <assert.h>
4666 @%:@endif
4667                      Syntax error
4668 _ACEOF
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4670   
4671 else
4672   # Broken: fails on valid input.
4673 continue
4674 fi
4675 rm -f conftest.err conftest.i conftest.$ac_ext
4676
4677   # OK, works on sane cases.  Now check whether nonexistent headers
4678   # can be detected and how.
4679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h.  */
4681 @%:@include <ac_nonexistent.h>
4682 _ACEOF
4683 if ac_fn_c_try_cpp "$LINENO"; then :
4684   # Broken: success on invalid input.
4685 continue
4686 else
4687   # Passes both tests.
4688 ac_preproc_ok=:
4689 break
4690 fi
4691 rm -f conftest.err conftest.i conftest.$ac_ext
4692
4693 done
4694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4695 rm -f conftest.i conftest.err conftest.$ac_ext
4696 if $ac_preproc_ok; then :
4697   break
4698 fi
4699
4700     done
4701     ac_cv_prog_CPP=$CPP
4702   
4703 fi
4704   CPP=$ac_cv_prog_CPP
4705 else
4706   ac_cv_prog_CPP=$CPP
4707 fi
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4709 $as_echo "$CPP" >&6; }
4710 ac_preproc_ok=false
4711 for ac_c_preproc_warn_flag in '' yes
4712 do
4713   # Use a header file that comes with gcc, so configuring glibc
4714   # with a fresh cross-compiler works.
4715   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4716   # <limits.h> exists even on freestanding compilers.
4717   # On the NeXT, cc -E runs the code through the compiler's parser,
4718   # not just through cpp. "Syntax error" is here to catch this case.
4719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h.  */
4721 @%:@ifdef __STDC__
4722 @%:@ include <limits.h>
4723 @%:@else
4724 @%:@ include <assert.h>
4725 @%:@endif
4726                      Syntax error
4727 _ACEOF
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4729   
4730 else
4731   # Broken: fails on valid input.
4732 continue
4733 fi
4734 rm -f conftest.err conftest.i conftest.$ac_ext
4735
4736   # OK, works on sane cases.  Now check whether nonexistent headers
4737   # can be detected and how.
4738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h.  */
4740 @%:@include <ac_nonexistent.h>
4741 _ACEOF
4742 if ac_fn_c_try_cpp "$LINENO"; then :
4743   # Broken: success on invalid input.
4744 continue
4745 else
4746   # Passes both tests.
4747 ac_preproc_ok=:
4748 break
4749 fi
4750 rm -f conftest.err conftest.i conftest.$ac_ext
4751
4752 done
4753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4754 rm -f conftest.i conftest.err conftest.$ac_ext
4755 if $ac_preproc_ok; then :
4756   
4757 else
4758   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4760 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4761 See \`config.log' for more details" "$LINENO" 5; }
4762 fi
4763
4764 ac_ext=c
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4769
4770
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4773 if ${ac_cv_path_GREP+:} false; then :
4774   $as_echo_n "(cached) " >&6
4775 else
4776   if test -z "$GREP"; then
4777   ac_path_GREP_found=false
4778   # Loop through the user's path and test for each of PROGNAME-LIST
4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 do
4782   IFS=$as_save_IFS
4783   test -z "$as_dir" && as_dir=.
4784     for ac_prog in grep ggrep; do
4785     for ac_exec_ext in '' $ac_executable_extensions; do
4786       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4787       as_fn_executable_p "$ac_path_GREP" || continue
4788 # Check for GNU ac_path_GREP and select it if it is found.
4789   # Check for GNU $ac_path_GREP
4790 case `"$ac_path_GREP" --version 2>&1` in
4791 *GNU*)
4792   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4793 *)
4794   ac_count=0
4795   $as_echo_n 0123456789 >"conftest.in"
4796   while :
4797   do
4798     cat "conftest.in" "conftest.in" >"conftest.tmp"
4799     mv "conftest.tmp" "conftest.in"
4800     cp "conftest.in" "conftest.nl"
4801     $as_echo 'GREP' >> "conftest.nl"
4802     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804     as_fn_arith $ac_count + 1 && ac_count=$as_val
4805     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4806       # Best one so far, save it but keep looking for a better one
4807       ac_cv_path_GREP="$ac_path_GREP"
4808       ac_path_GREP_max=$ac_count
4809     fi
4810     # 10*(2^10) chars as input seems more than enough
4811     test $ac_count -gt 10 && break
4812   done
4813   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 esac
4815
4816       $ac_path_GREP_found && break 3
4817     done
4818   done
4819   done
4820 IFS=$as_save_IFS
4821   if test -z "$ac_cv_path_GREP"; then
4822     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823   fi
4824 else
4825   ac_cv_path_GREP=$GREP
4826 fi
4827
4828 fi
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4830 $as_echo "$ac_cv_path_GREP" >&6; }
4831  GREP="$ac_cv_path_GREP"
4832  
4833
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4835 $as_echo_n "checking for egrep... " >&6; }
4836 if ${ac_cv_path_EGREP+:} false; then :
4837   $as_echo_n "(cached) " >&6
4838 else
4839   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4840    then ac_cv_path_EGREP="$GREP -E"
4841    else
4842      if test -z "$EGREP"; then
4843   ac_path_EGREP_found=false
4844   # Loop through the user's path and test for each of PROGNAME-LIST
4845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4847 do
4848   IFS=$as_save_IFS
4849   test -z "$as_dir" && as_dir=.
4850     for ac_prog in egrep; do
4851     for ac_exec_ext in '' $ac_executable_extensions; do
4852       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4853       as_fn_executable_p "$ac_path_EGREP" || continue
4854 # Check for GNU ac_path_EGREP and select it if it is found.
4855   # Check for GNU $ac_path_EGREP
4856 case `"$ac_path_EGREP" --version 2>&1` in
4857 *GNU*)
4858   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4859 *)
4860   ac_count=0
4861   $as_echo_n 0123456789 >"conftest.in"
4862   while :
4863   do
4864     cat "conftest.in" "conftest.in" >"conftest.tmp"
4865     mv "conftest.tmp" "conftest.in"
4866     cp "conftest.in" "conftest.nl"
4867     $as_echo 'EGREP' >> "conftest.nl"
4868     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4869     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4870     as_fn_arith $ac_count + 1 && ac_count=$as_val
4871     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4872       # Best one so far, save it but keep looking for a better one
4873       ac_cv_path_EGREP="$ac_path_EGREP"
4874       ac_path_EGREP_max=$ac_count
4875     fi
4876     # 10*(2^10) chars as input seems more than enough
4877     test $ac_count -gt 10 && break
4878   done
4879   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4880 esac
4881
4882       $ac_path_EGREP_found && break 3
4883     done
4884   done
4885   done
4886 IFS=$as_save_IFS
4887   if test -z "$ac_cv_path_EGREP"; then
4888     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4889   fi
4890 else
4891   ac_cv_path_EGREP=$EGREP
4892 fi
4893
4894    fi
4895 fi
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4897 $as_echo "$ac_cv_path_EGREP" >&6; }
4898  EGREP="$ac_cv_path_EGREP"
4899  
4900
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4902 $as_echo_n "checking for ANSI C header files... " >&6; }
4903 if ${ac_cv_header_stdc+:} false; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h.  */
4908 #include <stdlib.h>
4909 #include <stdarg.h>
4910 #include <string.h>
4911 #include <float.h>
4912
4913 int
4914 main ()
4915 {
4916
4917   ;
4918   return 0;
4919 }
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922   ac_cv_header_stdc=yes
4923 else
4924   ac_cv_header_stdc=no
4925 fi
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927
4928 if test $ac_cv_header_stdc = yes; then
4929   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h.  */
4932 #include <string.h>
4933
4934 _ACEOF
4935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4936   $EGREP "memchr" >/dev/null 2>&1; then :
4937   
4938 else
4939   ac_cv_header_stdc=no
4940 fi
4941 rm -f conftest*
4942
4943 fi
4944
4945 if test $ac_cv_header_stdc = yes; then
4946   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h.  */
4949 #include <stdlib.h>
4950
4951 _ACEOF
4952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4953   $EGREP "free" >/dev/null 2>&1; then :
4954   
4955 else
4956   ac_cv_header_stdc=no
4957 fi
4958 rm -f conftest*
4959
4960 fi
4961
4962 if test $ac_cv_header_stdc = yes; then
4963   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4964   if test "$cross_compiling" = yes; then :
4965   :
4966 else
4967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h.  */
4969 #include <ctype.h>
4970 #include <stdlib.h>
4971 #if ((' ' & 0x0FF) == 0x020)
4972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4974 #else
4975 # define ISLOWER(c) \
4976                    (('a' <= (c) && (c) <= 'i') \
4977                      || ('j' <= (c) && (c) <= 'r') \
4978                      || ('s' <= (c) && (c) <= 'z'))
4979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4980 #endif
4981
4982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4983 int
4984 main ()
4985 {
4986   int i;
4987   for (i = 0; i < 256; i++)
4988     if (XOR (islower (i), ISLOWER (i))
4989         || toupper (i) != TOUPPER (i))
4990       return 2;
4991   return 0;
4992 }
4993 _ACEOF
4994 if ac_fn_c_try_run "$LINENO"; then :
4995   
4996 else
4997   ac_cv_header_stdc=no
4998 fi
4999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5000   conftest.$ac_objext conftest.beam conftest.$ac_ext
5001 fi
5002
5003 fi
5004 fi
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5006 $as_echo "$ac_cv_header_stdc" >&6; }
5007 if test $ac_cv_header_stdc = yes; then
5008   
5009 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5010
5011 fi
5012
5013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5014 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5015                   inttypes.h stdint.h unistd.h
5016 do :
5017   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5019 "
5020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5021   cat >>confdefs.h <<_ACEOF
5022 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5023 _ACEOF
5024  
5025 fi
5026
5027 done
5028
5029
5030 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5031 if test "x$ac_cv_type_size_t" = xyes; then :
5032   
5033 else
5034   
5035 cat >>confdefs.h <<_ACEOF
5036 @%:@define size_t unsigned int
5037 _ACEOF
5038
5039 fi
5040
5041 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5042 # for constant arguments.  Useless!
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5044 $as_echo_n "checking for working alloca.h... " >&6; }
5045 if ${ac_cv_working_alloca_h+:} false; then :
5046   $as_echo_n "(cached) " >&6
5047 else
5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h.  */
5050 @%:@include <alloca.h>
5051 int
5052 main ()
5053 {
5054 char *p = (char *) alloca (2 * sizeof (int));
5055                           if (p) return 0;
5056   ;
5057   return 0;
5058 }
5059 _ACEOF
5060 if ac_fn_c_try_link "$LINENO"; then :
5061   ac_cv_working_alloca_h=yes
5062 else
5063   ac_cv_working_alloca_h=no
5064 fi
5065 rm -f core conftest.err conftest.$ac_objext \
5066     conftest$ac_exeext conftest.$ac_ext
5067 fi
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5069 $as_echo "$ac_cv_working_alloca_h" >&6; }
5070 if test $ac_cv_working_alloca_h = yes; then
5071   
5072 $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
5073
5074 fi
5075
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5077 $as_echo_n "checking for alloca... " >&6; }
5078 if ${ac_cv_func_alloca_works+:} false; then :
5079   $as_echo_n "(cached) " >&6
5080 else
5081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h.  */
5083 #ifdef __GNUC__
5084 # define alloca __builtin_alloca
5085 #else
5086 # ifdef _MSC_VER
5087 #  include <malloc.h>
5088 #  define alloca _alloca
5089 # else
5090 #  ifdef HAVE_ALLOCA_H
5091 #   include <alloca.h>
5092 #  else
5093 #   ifdef _AIX
5094  #pragma alloca
5095 #   else
5096 #    ifndef alloca /* predefined by HP cc +Olibcalls */
5097 void *alloca (size_t);
5098 #    endif
5099 #   endif
5100 #  endif
5101 # endif
5102 #endif
5103
5104 int
5105 main ()
5106 {
5107 char *p = (char *) alloca (1);
5108                                     if (p) return 0;
5109   ;
5110   return 0;
5111 }
5112 _ACEOF
5113 if ac_fn_c_try_link "$LINENO"; then :
5114   ac_cv_func_alloca_works=yes
5115 else
5116   ac_cv_func_alloca_works=no
5117 fi
5118 rm -f core conftest.err conftest.$ac_objext \
5119     conftest$ac_exeext conftest.$ac_ext
5120 fi
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5122 $as_echo "$ac_cv_func_alloca_works" >&6; }
5123
5124 if test $ac_cv_func_alloca_works = yes; then
5125   
5126 $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
5127
5128 else
5129   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5130 # that cause trouble.  Some versions do not even contain alloca or
5131 # contain a buggy version.  If you still want to use their alloca,
5132 # use ar to extract alloca.o from them instead of compiling alloca.c.
5133
5134 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5135
5136 $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
5137
5138
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5140 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5141 if ${ac_cv_os_cray+:} false; then :
5142   $as_echo_n "(cached) " >&6
5143 else
5144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5145 /* end confdefs.h.  */
5146 #if defined CRAY && ! defined CRAY2
5147 webecray
5148 #else
5149 wenotbecray
5150 #endif
5151
5152 _ACEOF
5153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5154   $EGREP "webecray" >/dev/null 2>&1; then :
5155   ac_cv_os_cray=yes
5156 else
5157   ac_cv_os_cray=no
5158 fi
5159 rm -f conftest*
5160
5161 fi
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5163 $as_echo "$ac_cv_os_cray" >&6; }
5164 if test $ac_cv_os_cray = yes; then
5165   for ac_func in _getb67 GETB67 getb67; do
5166     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5169   
5170 cat >>confdefs.h <<_ACEOF
5171 @%:@define CRAY_STACKSEG_END $ac_func
5172 _ACEOF
5173
5174     break
5175 fi
5176
5177   done
5178 fi
5179
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5181 $as_echo_n "checking stack direction for C alloca... " >&6; }
5182 if ${ac_cv_c_stack_direction+:} false; then :
5183   $as_echo_n "(cached) " >&6
5184 else
5185   if test "$cross_compiling" = yes; then :
5186   ac_cv_c_stack_direction=0
5187 else
5188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h.  */
5190 $ac_includes_default
5191 int
5192 find_stack_direction (int *addr, int depth)
5193 {
5194   int dir, dummy = 0;
5195   if (! addr)
5196     addr = &dummy;
5197   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5198   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5199   return dir + dummy;
5200 }
5201
5202 int
5203 main (int argc, char **argv)
5204 {
5205   return find_stack_direction (0, argc + !argv + 20) < 0;
5206 }
5207 _ACEOF
5208 if ac_fn_c_try_run "$LINENO"; then :
5209   ac_cv_c_stack_direction=1
5210 else
5211   ac_cv_c_stack_direction=-1
5212 fi
5213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5214   conftest.$ac_objext conftest.beam conftest.$ac_ext
5215 fi
5216
5217 fi
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5219 $as_echo "$ac_cv_c_stack_direction" >&6; }
5220 cat >>confdefs.h <<_ACEOF
5221 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
5222 _ACEOF
5223
5224
5225 fi
5226
5227 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
5228 do :
5229   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5230 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5232   cat >>confdefs.h <<_ACEOF
5233 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5234 _ACEOF
5235  
5236 fi
5237
5238 done
5239
5240
5241 # Checks for typedefs, structures, and compiler characteristics.
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5243 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5244 if ${ac_cv_header_stdbool_h+:} false; then :
5245   $as_echo_n "(cached) " >&6
5246 else
5247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h.  */
5249
5250              #include <stdbool.h>
5251              #ifndef bool
5252               "error: bool is not defined"
5253              #endif
5254              #ifndef false
5255               "error: false is not defined"
5256              #endif
5257              #if false
5258               "error: false is not 0"
5259              #endif
5260              #ifndef true
5261               "error: true is not defined"
5262              #endif
5263              #if true != 1
5264               "error: true is not 1"
5265              #endif
5266              #ifndef __bool_true_false_are_defined
5267               "error: __bool_true_false_are_defined is not defined"
5268              #endif
5269
5270              struct s { _Bool s: 1; _Bool t; } s;
5271
5272              char a[true == 1 ? 1 : -1];
5273              char b[false == 0 ? 1 : -1];
5274              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5275              char d[(bool) 0.5 == true ? 1 : -1];
5276              /* See body of main program for 'e'.  */
5277              char f[(_Bool) 0.0 == false ? 1 : -1];
5278              char g[true];
5279              char h[sizeof (_Bool)];
5280              char i[sizeof s.t];
5281              enum { j = false, k = true, l = false * true, m = true * 256 };
5282              /* The following fails for
5283                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5284              _Bool n[m];
5285              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5286              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5287              /* Catch a bug in an HP-UX C compiler.  See
5288                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5289                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5290               */
5291              _Bool q = true;
5292              _Bool *pq = &q;
5293            
5294 int
5295 main ()
5296 {
5297
5298              bool e = &s;
5299              *pq |= q;
5300              *pq |= ! q;
5301              /* Refer to every declared value, to avoid compiler optimizations.  */
5302              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5303                      + !m + !n + !o + !p + !q + !pq);
5304            
5305   ;
5306   return 0;
5307 }
5308 _ACEOF
5309 if ac_fn_c_try_compile "$LINENO"; then :
5310   ac_cv_header_stdbool_h=yes
5311 else
5312   ac_cv_header_stdbool_h=no
5313 fi
5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315 fi
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5317 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5318    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5319 if test "x$ac_cv_type__Bool" = xyes; then :
5320   
5321 cat >>confdefs.h <<_ACEOF
5322 @%:@define HAVE__BOOL 1
5323 _ACEOF
5324
5325
5326 fi
5327
5328
5329 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5330 if test "x$ac_cv_type_size_t" = xyes; then :
5331   
5332 else
5333   
5334 cat >>confdefs.h <<_ACEOF
5335 @%:@define size_t unsigned int
5336 _ACEOF
5337
5338 fi
5339
5340
5341 case `pwd` in
5342   *\ * | *\     *)
5343     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5344 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5345 esac
5346
5347
5348
5349 macro_version='2.4.6'
5350 macro_revision='2.4.6'
5351
5352     
5353     
5354     
5355
5356
5357     
5358     
5359     
5360
5361
5362
5363
5364 ltmain=$ac_aux_dir/ltmain.sh
5365
5366 # Make sure we can run config.sub.
5367 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5368   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5369
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5371 $as_echo_n "checking build system type... " >&6; }
5372 if ${ac_cv_build+:} false; then :
5373   $as_echo_n "(cached) " >&6
5374 else
5375   ac_build_alias=$build_alias
5376 test "x$ac_build_alias" = x &&
5377   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5378 test "x$ac_build_alias" = x &&
5379   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5380 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5381   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5382
5383 fi
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5385 $as_echo "$ac_cv_build" >&6; }
5386 case $ac_cv_build in
5387 *-*-*) ;;
5388 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5389 esac
5390 build=$ac_cv_build
5391 ac_save_IFS=$IFS; IFS='-'
5392 set x $ac_cv_build
5393 shift
5394 build_cpu=$1
5395 build_vendor=$2
5396 shift; shift
5397 # Remember, the first character of IFS is used to create $*,
5398 # except with old shells:
5399 build_os=$*
5400 IFS=$ac_save_IFS
5401 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5402
5403
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5405 $as_echo_n "checking host system type... " >&6; }
5406 if ${ac_cv_host+:} false; then :
5407   $as_echo_n "(cached) " >&6
5408 else
5409   if test "x$host_alias" = x; then
5410   ac_cv_host=$ac_cv_build
5411 else
5412   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5413     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5414 fi
5415
5416 fi
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5418 $as_echo "$ac_cv_host" >&6; }
5419 case $ac_cv_host in
5420 *-*-*) ;;
5421 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5422 esac
5423 host=$ac_cv_host
5424 ac_save_IFS=$IFS; IFS='-'
5425 set x $ac_cv_host
5426 shift
5427 host_cpu=$1
5428 host_vendor=$2
5429 shift; shift
5430 # Remember, the first character of IFS is used to create $*,
5431 # except with old shells:
5432 host_os=$*
5433 IFS=$ac_save_IFS
5434 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5435
5436
5437 # Backslashify metacharacters that are still active within
5438 # double-quoted strings.
5439 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5440
5441 # Same as above, but do not quote variable references.
5442 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5443
5444 # Sed substitution to delay expansion of an escaped shell variable in a
5445 # double_quote_subst'ed string.
5446 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5447
5448 # Sed substitution to delay expansion of an escaped single quote.
5449 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5450
5451 # Sed substitution to avoid accidental globbing in evaled expressions
5452 no_glob_subst='s/\*/\\\*/g'
5453
5454 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5455 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5456 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5457
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5459 $as_echo_n "checking how to print strings... " >&6; }
5460 # Test print first, because it will be a builtin if present.
5461 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5462    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5463   ECHO='print -r --'
5464 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5465   ECHO='printf %s\n'
5466 else
5467   # Use this function as a fallback that always works.
5468   func_fallback_echo ()
5469   {
5470     eval 'cat <<_LTECHO_EOF
5471 $1
5472 _LTECHO_EOF'
5473   }
5474   ECHO='func_fallback_echo'
5475 fi
5476
5477 # func_echo_all arg...
5478 # Invoke $ECHO with all args, space-separated.
5479 func_echo_all ()
5480 {
5481     $ECHO ""
5482 }
5483
5484 case $ECHO in
5485   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5486 $as_echo "printf" >&6; } ;;
5487   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5488 $as_echo "print -r" >&6; } ;;
5489   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5490 $as_echo "cat" >&6; } ;;
5491 esac
5492
5493
5494
5495
5496     
5497     
5498     
5499
5500
5501     
5502     
5503     
5504
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5507 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5508 if ${ac_cv_path_SED+:} false; then :
5509   $as_echo_n "(cached) " >&6
5510 else
5511             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5512      for ac_i in 1 2 3 4 5 6 7; do
5513        ac_script="$ac_script$as_nl$ac_script"
5514      done
5515      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5516      { ac_script=; unset ac_script;}
5517      if test -z "$SED"; then
5518   ac_path_SED_found=false
5519   # Loop through the user's path and test for each of PROGNAME-LIST
5520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5522 do
5523   IFS=$as_save_IFS
5524   test -z "$as_dir" && as_dir=.
5525     for ac_prog in sed gsed; do
5526     for ac_exec_ext in '' $ac_executable_extensions; do
5527       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5528       as_fn_executable_p "$ac_path_SED" || continue
5529 # Check for GNU ac_path_SED and select it if it is found.
5530   # Check for GNU $ac_path_SED
5531 case `"$ac_path_SED" --version 2>&1` in
5532 *GNU*)
5533   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5534 *)
5535   ac_count=0
5536   $as_echo_n 0123456789 >"conftest.in"
5537   while :
5538   do
5539     cat "conftest.in" "conftest.in" >"conftest.tmp"
5540     mv "conftest.tmp" "conftest.in"
5541     cp "conftest.in" "conftest.nl"
5542     $as_echo '' >> "conftest.nl"
5543     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5544     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5545     as_fn_arith $ac_count + 1 && ac_count=$as_val
5546     if test $ac_count -gt ${ac_path_SED_max-0}; then
5547       # Best one so far, save it but keep looking for a better one
5548       ac_cv_path_SED="$ac_path_SED"
5549       ac_path_SED_max=$ac_count
5550     fi
5551     # 10*(2^10) chars as input seems more than enough
5552     test $ac_count -gt 10 && break
5553   done
5554   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5555 esac
5556
5557       $ac_path_SED_found && break 3
5558     done
5559   done
5560   done
5561 IFS=$as_save_IFS
5562   if test -z "$ac_cv_path_SED"; then
5563     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5564   fi
5565 else
5566   ac_cv_path_SED=$SED
5567 fi
5568
5569 fi
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5571 $as_echo "$ac_cv_path_SED" >&6; }
5572  SED="$ac_cv_path_SED"
5573   rm -f conftest.sed
5574
5575 test -z "$SED" && SED=sed
5576 Xsed="$SED -e 1s/^X//"
5577
5578     
5579     
5580     
5581
5582
5583     
5584     
5585     
5586
5587
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5589 $as_echo_n "checking for fgrep... " >&6; }
5590 if ${ac_cv_path_FGREP+:} false; then :
5591   $as_echo_n "(cached) " >&6
5592 else
5593   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5594    then ac_cv_path_FGREP="$GREP -F"
5595    else
5596      if test -z "$FGREP"; then
5597   ac_path_FGREP_found=false
5598   # Loop through the user's path and test for each of PROGNAME-LIST
5599   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5601 do
5602   IFS=$as_save_IFS
5603   test -z "$as_dir" && as_dir=.
5604     for ac_prog in fgrep; do
5605     for ac_exec_ext in '' $ac_executable_extensions; do
5606       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5607       as_fn_executable_p "$ac_path_FGREP" || continue
5608 # Check for GNU ac_path_FGREP and select it if it is found.
5609   # Check for GNU $ac_path_FGREP
5610 case `"$ac_path_FGREP" --version 2>&1` in
5611 *GNU*)
5612   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5613 *)
5614   ac_count=0
5615   $as_echo_n 0123456789 >"conftest.in"
5616   while :
5617   do
5618     cat "conftest.in" "conftest.in" >"conftest.tmp"
5619     mv "conftest.tmp" "conftest.in"
5620     cp "conftest.in" "conftest.nl"
5621     $as_echo 'FGREP' >> "conftest.nl"
5622     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5623     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5624     as_fn_arith $ac_count + 1 && ac_count=$as_val
5625     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5626       # Best one so far, save it but keep looking for a better one
5627       ac_cv_path_FGREP="$ac_path_FGREP"
5628       ac_path_FGREP_max=$ac_count
5629     fi
5630     # 10*(2^10) chars as input seems more than enough
5631     test $ac_count -gt 10 && break
5632   done
5633   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5634 esac
5635
5636       $ac_path_FGREP_found && break 3
5637     done
5638   done
5639   done
5640 IFS=$as_save_IFS
5641   if test -z "$ac_cv_path_FGREP"; then
5642     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5643   fi
5644 else
5645   ac_cv_path_FGREP=$FGREP
5646 fi
5647
5648    fi
5649 fi
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5651 $as_echo "$ac_cv_path_FGREP" >&6; }
5652  FGREP="$ac_cv_path_FGREP"
5653  
5654
5655 test -z "$GREP" && GREP=grep
5656
5657     
5658     
5659     
5660
5661
5662     
5663     
5664     
5665
5666
5667     
5668     
5669     
5670
5671
5672
5673
5674
5675 @%:@ Check whether --with-gnu-ld was given.
5676 if test "${with_gnu_ld+set}" = set; then :
5677   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5678 else
5679   with_gnu_ld=no
5680 fi
5681
5682 ac_prog=ld
5683 if test yes = "$GCC"; then
5684   # Check if gcc -print-prog-name=ld gives a path.
5685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5686 $as_echo_n "checking for ld used by $CC... " >&6; }
5687   case $host in
5688   *-*-mingw*)
5689     # gcc leaves a trailing carriage return, which upsets mingw
5690     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5691   *)
5692     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5693   esac
5694   case $ac_prog in
5695     # Accept absolute paths.
5696     [\\/]* | ?:[\\/]*)
5697       re_direlt='/[^/][^/]*/\.\./'
5698       # Canonicalize the pathname of ld
5699       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5700       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5701         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5702       done
5703       test -z "$LD" && LD=$ac_prog
5704       ;;
5705   "")
5706     # If it fails, then pretend we aren't using GCC.
5707     ac_prog=ld
5708     ;;
5709   *)
5710     # If it is relative, then search for the first ld in PATH.
5711     with_gnu_ld=unknown
5712     ;;
5713   esac
5714 elif test yes = "$with_gnu_ld"; then
5715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5716 $as_echo_n "checking for GNU ld... " >&6; }
5717 else
5718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5719 $as_echo_n "checking for non-GNU ld... " >&6; }
5720 fi
5721 if ${lt_cv_path_LD+:} false; then :
5722   $as_echo_n "(cached) " >&6
5723 else
5724   if test -z "$LD"; then
5725   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5726   for ac_dir in $PATH; do
5727     IFS=$lt_save_ifs
5728     test -z "$ac_dir" && ac_dir=.
5729     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5730       lt_cv_path_LD=$ac_dir/$ac_prog
5731       # Check to see if the program is GNU ld.  I'd rather use --version,
5732       # but apparently some variants of GNU ld only accept -v.
5733       # Break only if it was the GNU/non-GNU ld that we prefer.
5734       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5735       *GNU* | *'with BFD'*)
5736         test no != "$with_gnu_ld" && break
5737         ;;
5738       *)
5739         test yes != "$with_gnu_ld" && break
5740         ;;
5741       esac
5742     fi
5743   done
5744   IFS=$lt_save_ifs
5745 else
5746   lt_cv_path_LD=$LD # Let the user override the test with a path.
5747 fi
5748 fi
5749
5750 LD=$lt_cv_path_LD
5751 if test -n "$LD"; then
5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5753 $as_echo "$LD" >&6; }
5754 else
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5757 fi
5758 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5760 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5761 if ${lt_cv_prog_gnu_ld+:} false; then :
5762   $as_echo_n "(cached) " >&6
5763 else
5764   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5765 case `$LD -v 2>&1 </dev/null` in
5766 *GNU* | *'with BFD'*)
5767   lt_cv_prog_gnu_ld=yes
5768   ;;
5769 *)
5770   lt_cv_prog_gnu_ld=no
5771   ;;
5772 esac
5773 fi
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5775 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5776 with_gnu_ld=$lt_cv_prog_gnu_ld
5777
5778
5779
5780
5781     
5782     
5783     
5784
5785
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5787 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5788 if ${lt_cv_path_NM+:} false; then :
5789   $as_echo_n "(cached) " >&6
5790 else
5791   if test -n "$NM"; then
5792   # Let the user override the test.
5793   lt_cv_path_NM=$NM
5794 else
5795   lt_nm_to_check=${ac_tool_prefix}nm
5796   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5797     lt_nm_to_check="$lt_nm_to_check nm"
5798   fi
5799   for lt_tmp_nm in $lt_nm_to_check; do
5800     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5801     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5802       IFS=$lt_save_ifs
5803       test -z "$ac_dir" && ac_dir=.
5804       tmp_nm=$ac_dir/$lt_tmp_nm
5805       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5806         # Check to see if the nm accepts a BSD-compat flag.
5807         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5808         #   nm: unknown option "B" ignored
5809         # Tru64's nm complains that /dev/null is an invalid object file
5810         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5811         case $build_os in
5812         mingw*) lt_bad_file=conftest.nm/nofile ;;
5813         *) lt_bad_file=/dev/null ;;
5814         esac
5815         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5816         *$lt_bad_file* | *'Invalid file or object type'*)
5817           lt_cv_path_NM="$tmp_nm -B"
5818           break 2
5819           ;;
5820         *)
5821           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5822           */dev/null*)
5823             lt_cv_path_NM="$tmp_nm -p"
5824             break 2
5825             ;;
5826           *)
5827             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5828             continue # so that we can try to find one that supports BSD flags
5829             ;;
5830           esac
5831           ;;
5832         esac
5833       fi
5834     done
5835     IFS=$lt_save_ifs
5836   done
5837   : ${lt_cv_path_NM=no}
5838 fi
5839 fi
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5841 $as_echo "$lt_cv_path_NM" >&6; }
5842 if test no != "$lt_cv_path_NM"; then
5843   NM=$lt_cv_path_NM
5844 else
5845   # Didn't find any BSD compatible name lister, look for dumpbin.
5846   if test -n "$DUMPBIN"; then :
5847     # Let the user override the test.
5848   else
5849     if test -n "$ac_tool_prefix"; then
5850   for ac_prog in dumpbin "link -dump"
5851   do
5852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_DUMPBIN+:} false; then :
5857   $as_echo_n "(cached) " >&6
5858 else
5859   if test -n "$DUMPBIN"; then
5860   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5864 do
5865   IFS=$as_save_IFS
5866   test -z "$as_dir" && as_dir=.
5867     for ac_exec_ext in '' $ac_executable_extensions; do
5868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871     break 2
5872   fi
5873 done
5874   done
5875 IFS=$as_save_IFS
5876
5877 fi
5878 fi
5879 DUMPBIN=$ac_cv_prog_DUMPBIN
5880 if test -n "$DUMPBIN"; then
5881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5882 $as_echo "$DUMPBIN" >&6; }
5883 else
5884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5886 fi
5887
5888
5889     test -n "$DUMPBIN" && break
5890   done
5891 fi
5892 if test -z "$DUMPBIN"; then
5893   ac_ct_DUMPBIN=$DUMPBIN
5894   for ac_prog in dumpbin "link -dump"
5895 do
5896   # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy $ac_prog; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5901   $as_echo_n "(cached) " >&6
5902 else
5903   if test -n "$ac_ct_DUMPBIN"; then
5904   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5905 else
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 for as_dir in $PATH
5908 do
5909   IFS=$as_save_IFS
5910   test -z "$as_dir" && as_dir=.
5911     for ac_exec_ext in '' $ac_executable_extensions; do
5912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915     break 2
5916   fi
5917 done
5918   done
5919 IFS=$as_save_IFS
5920
5921 fi
5922 fi
5923 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5924 if test -n "$ac_ct_DUMPBIN"; then
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5926 $as_echo "$ac_ct_DUMPBIN" >&6; }
5927 else
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5930 fi
5931
5932
5933   test -n "$ac_ct_DUMPBIN" && break
5934 done
5935
5936   if test "x$ac_ct_DUMPBIN" = x; then
5937     DUMPBIN=":"
5938   else
5939     case $cross_compiling:$ac_tool_warned in
5940 yes:)
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned=yes ;;
5944 esac
5945     DUMPBIN=$ac_ct_DUMPBIN
5946   fi
5947 fi
5948
5949     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5950     *COFF*)
5951       DUMPBIN="$DUMPBIN -symbols -headers"
5952       ;;
5953     *)
5954       DUMPBIN=:
5955       ;;
5956     esac
5957   fi
5958   
5959   if test : != "$DUMPBIN"; then
5960     NM=$DUMPBIN
5961   fi
5962 fi
5963 test -z "$NM" && NM=nm
5964
5965
5966     
5967     
5968     
5969
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5971 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5972 if ${lt_cv_nm_interface+:} false; then :
5973   $as_echo_n "(cached) " >&6
5974 else
5975   lt_cv_nm_interface="BSD nm"
5976   echo "int some_variable = 0;" > conftest.$ac_ext
5977   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5978   (eval "$ac_compile" 2>conftest.err)
5979   cat conftest.err >&5
5980   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5981   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5982   cat conftest.err >&5
5983   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5984   cat conftest.out >&5
5985   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5986     lt_cv_nm_interface="MS dumpbin"
5987   fi
5988   rm -f conftest*
5989 fi
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5991 $as_echo "$lt_cv_nm_interface" >&6; }
5992
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5994 $as_echo_n "checking whether ln -s works... " >&6; }
5995 LN_S=$as_ln_s
5996 if test "$LN_S" = "ln -s"; then
5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5998 $as_echo "yes" >&6; }
5999 else
6000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6001 $as_echo "no, using $LN_S" >&6; }
6002 fi
6003
6004 # find the maximum length of command line arguments
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6006 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6007 if ${lt_cv_sys_max_cmd_len+:} false; then :
6008   $as_echo_n "(cached) " >&6
6009 else
6010     i=0
6011   teststring=ABCD
6012
6013   case $build_os in
6014   msdosdjgpp*)
6015     # On DJGPP, this test can blow up pretty badly due to problems in libc
6016     # (any single argument exceeding 2000 bytes causes a buffer overrun
6017     # during glob expansion).  Even if it were fixed, the result of this
6018     # check would be larger than it should be.
6019     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6020     ;;
6021
6022   gnu*)
6023     # Under GNU Hurd, this test is not required because there is
6024     # no limit to the length of command line arguments.
6025     # Libtool will interpret -1 as no limit whatsoever
6026     lt_cv_sys_max_cmd_len=-1;
6027     ;;
6028
6029   cygwin* | mingw* | cegcc*)
6030     # On Win9x/ME, this test blows up -- it succeeds, but takes
6031     # about 5 minutes as the teststring grows exponentially.
6032     # Worse, since 9x/ME are not pre-emptively multitasking,
6033     # you end up with a "frozen" computer, even though with patience
6034     # the test eventually succeeds (with a max line length of 256k).
6035     # Instead, let's just punt: use the minimum linelength reported by
6036     # all of the supported platforms: 8192 (on NT/2K/XP).
6037     lt_cv_sys_max_cmd_len=8192;
6038     ;;
6039
6040   mint*)
6041     # On MiNT this can take a long time and run out of memory.
6042     lt_cv_sys_max_cmd_len=8192;
6043     ;;
6044
6045   amigaos*)
6046     # On AmigaOS with pdksh, this test takes hours, literally.
6047     # So we just punt and use a minimum line length of 8192.
6048     lt_cv_sys_max_cmd_len=8192;
6049     ;;
6050
6051   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6052     # This has been around since 386BSD, at least.  Likely further.
6053     if test -x /sbin/sysctl; then
6054       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6055     elif test -x /usr/sbin/sysctl; then
6056       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6057     else
6058       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6059     fi
6060     # And add a safety zone
6061     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6062     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6063     ;;
6064
6065   interix*)
6066     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6067     lt_cv_sys_max_cmd_len=196608
6068     ;;
6069
6070   os2*)
6071     # The test takes a long time on OS/2.
6072     lt_cv_sys_max_cmd_len=8192
6073     ;;
6074
6075   osf*)
6076     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6077     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6078     # nice to cause kernel panics so lets avoid the loop below.
6079     # First set a reasonable default.
6080     lt_cv_sys_max_cmd_len=16384
6081     #
6082     if test -x /sbin/sysconfig; then
6083       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6084         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6085       esac
6086     fi
6087     ;;
6088   sco3.2v5*)
6089     lt_cv_sys_max_cmd_len=102400
6090     ;;
6091   sysv5* | sco5v6* | sysv4.2uw2*)
6092     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6093     if test -n "$kargmax"; then
6094       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6095     else
6096       lt_cv_sys_max_cmd_len=32768
6097     fi
6098     ;;
6099   *)
6100     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6101     if test -n "$lt_cv_sys_max_cmd_len" && \
6102        test undefined != "$lt_cv_sys_max_cmd_len"; then
6103       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6104       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6105     else
6106       # Make teststring a little bigger before we do anything with it.
6107       # a 1K string should be a reasonable start.
6108       for i in 1 2 3 4 5 6 7 8; do
6109         teststring=$teststring$teststring
6110       done
6111       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6112       # If test is not a shell built-in, we'll probably end up computing a
6113       # maximum length that is only half of the actual maximum length, but
6114       # we can't tell.
6115       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6116                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6117               test 17 != "$i" # 1/2 MB should be enough
6118       do
6119         i=`expr $i + 1`
6120         teststring=$teststring$teststring
6121       done
6122       # Only check the string length outside the loop.
6123       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6124       teststring=
6125       # Add a significant safety factor because C++ compilers can tack on
6126       # massive amounts of additional arguments before passing them to the
6127       # linker.  It appears as though 1/2 is a usable value.
6128       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6129     fi
6130     ;;
6131   esac
6132
6133 fi
6134
6135 if test -n "$lt_cv_sys_max_cmd_len"; then
6136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6137 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6138 else
6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6140 $as_echo "none" >&6; }
6141 fi
6142 max_cmd_len=$lt_cv_sys_max_cmd_len
6143
6144     
6145     
6146     
6147
6148
6149 : ${CP="cp -f"}
6150 : ${MV="mv -f"}
6151 : ${RM="rm -f"}
6152
6153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6154   lt_unset=unset
6155 else
6156   lt_unset=false
6157 fi
6158
6159     
6160     
6161     
6162
6163 # test EBCDIC or ASCII
6164 case `echo X|tr X '\101'` in
6165  A) # ASCII based system
6166     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6167   lt_SP2NL='tr \040 \012'
6168   lt_NL2SP='tr \015\012 \040\040'
6169   ;;
6170  *) # EBCDIC based system
6171   lt_SP2NL='tr \100 \n'
6172   lt_NL2SP='tr \r\n \100\100'
6173   ;;
6174 esac
6175
6176     
6177     
6178     
6179
6180     
6181     
6182     
6183
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6185 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6186 if ${lt_cv_to_host_file_cmd+:} false; then :
6187   $as_echo_n "(cached) " >&6
6188 else
6189   case $host in
6190   *-*-mingw* )
6191     case $build in
6192       *-*-mingw* ) # actually msys
6193         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6194         ;;
6195       *-*-cygwin* )
6196         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6197         ;;
6198       * ) # otherwise, assume *nix
6199         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6200         ;;
6201     esac
6202     ;;
6203   *-*-cygwin* )
6204     case $build in
6205       *-*-mingw* ) # actually msys
6206         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6207         ;;
6208       *-*-cygwin* )
6209         lt_cv_to_host_file_cmd=func_convert_file_noop
6210         ;;
6211       * ) # otherwise, assume *nix
6212         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6213         ;;
6214     esac
6215     ;;
6216   * ) # unhandled hosts (and "normal" native builds)
6217     lt_cv_to_host_file_cmd=func_convert_file_noop
6218     ;;
6219 esac
6220
6221 fi
6222
6223 to_host_file_cmd=$lt_cv_to_host_file_cmd
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6225 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6226
6227     
6228     
6229     
6230
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6232 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6233 if ${lt_cv_to_tool_file_cmd+:} false; then :
6234   $as_echo_n "(cached) " >&6
6235 else
6236   #assume ordinary cross tools, or native build.
6237 lt_cv_to_tool_file_cmd=func_convert_file_noop
6238 case $host in
6239   *-*-mingw* )
6240     case $build in
6241       *-*-mingw* ) # actually msys
6242         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6243         ;;
6244     esac
6245     ;;
6246 esac
6247
6248 fi
6249
6250 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6252 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6253
6254     
6255     
6256     
6257
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6259 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6260 if ${lt_cv_ld_reload_flag+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   lt_cv_ld_reload_flag='-r'
6264 fi
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6266 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6267 reload_flag=$lt_cv_ld_reload_flag
6268 case $reload_flag in
6269 "" | " "*) ;;
6270 *) reload_flag=" $reload_flag" ;;
6271 esac
6272 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6273 case $host_os in
6274   cygwin* | mingw* | pw32* | cegcc*)
6275     if test yes != "$GCC"; then
6276       reload_cmds=false
6277     fi
6278     ;;
6279   darwin*)
6280     if test yes = "$GCC"; then
6281       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6282     else
6283       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6284     fi
6285     ;;
6286 esac
6287
6288     
6289     
6290     
6291
6292     
6293     
6294     
6295
6296 if test -n "$ac_tool_prefix"; then
6297   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_OBJDUMP+:} false; then :
6302   $as_echo_n "(cached) " >&6
6303 else
6304   if test -n "$OBJDUMP"; then
6305   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6306 else
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6308 for as_dir in $PATH
6309 do
6310   IFS=$as_save_IFS
6311   test -z "$as_dir" && as_dir=.
6312     for ac_exec_ext in '' $ac_executable_extensions; do
6313   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316     break 2
6317   fi
6318 done
6319   done
6320 IFS=$as_save_IFS
6321
6322 fi
6323 fi
6324 OBJDUMP=$ac_cv_prog_OBJDUMP
6325 if test -n "$OBJDUMP"; then
6326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6327 $as_echo "$OBJDUMP" >&6; }
6328 else
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6331 fi
6332
6333
6334 fi
6335 if test -z "$ac_cv_prog_OBJDUMP"; then
6336   ac_ct_OBJDUMP=$OBJDUMP
6337   # Extract the first word of "objdump", so it can be a program name with args.
6338 set dummy objdump; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6342   $as_echo_n "(cached) " >&6
6343 else
6344   if test -n "$ac_ct_OBJDUMP"; then
6345   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6349 do
6350   IFS=$as_save_IFS
6351   test -z "$as_dir" && as_dir=.
6352     for ac_exec_ext in '' $ac_executable_extensions; do
6353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356     break 2
6357   fi
6358 done
6359   done
6360 IFS=$as_save_IFS
6361
6362 fi
6363 fi
6364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6365 if test -n "$ac_ct_OBJDUMP"; then
6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6367 $as_echo "$ac_ct_OBJDUMP" >&6; }
6368 else
6369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6371 fi
6372
6373   if test "x$ac_ct_OBJDUMP" = x; then
6374     OBJDUMP="false"
6375   else
6376     case $cross_compiling:$ac_tool_warned in
6377 yes:)
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned=yes ;;
6381 esac
6382     OBJDUMP=$ac_ct_OBJDUMP
6383   fi
6384 else
6385   OBJDUMP="$ac_cv_prog_OBJDUMP"
6386 fi
6387
6388 test -z "$OBJDUMP" && OBJDUMP=objdump
6389
6390     
6391     
6392     
6393
6394
6395
6396
6397
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6399 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6400 if ${lt_cv_deplibs_check_method+:} false; then :
6401   $as_echo_n "(cached) " >&6
6402 else
6403   lt_cv_file_magic_cmd='$MAGIC_CMD'
6404 lt_cv_file_magic_test_file=
6405 lt_cv_deplibs_check_method='unknown'
6406 # Need to set the preceding variable on all platforms that support
6407 # interlibrary dependencies.
6408 # 'none' -- dependencies not supported.
6409 # 'unknown' -- same as none, but documents that we really don't know.
6410 # 'pass_all' -- all dependencies passed with no checks.
6411 # 'test_compile' -- check by making test program.
6412 # 'file_magic [[regex]]' -- check by looking for files in library path
6413 # that responds to the $file_magic_cmd with a given extended regex.
6414 # If you have 'file' or equivalent on your system and you're not sure
6415 # whether 'pass_all' will *always* work, you probably want this one.
6416
6417 case $host_os in
6418 aix[4-9]*)
6419   lt_cv_deplibs_check_method=pass_all
6420   ;;
6421
6422 beos*)
6423   lt_cv_deplibs_check_method=pass_all
6424   ;;
6425
6426 bsdi[45]*)
6427   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6428   lt_cv_file_magic_cmd='/usr/bin/file -L'
6429   lt_cv_file_magic_test_file=/shlib/libc.so
6430   ;;
6431
6432 cygwin*)
6433   # func_win32_libid is a shell function defined in ltmain.sh
6434   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6435   lt_cv_file_magic_cmd='func_win32_libid'
6436   ;;
6437
6438 mingw* | pw32*)
6439   # Base MSYS/MinGW do not provide the 'file' command needed by
6440   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6441   # unless we find 'file', for example because we are cross-compiling.
6442   if ( file / ) >/dev/null 2>&1; then
6443     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6444     lt_cv_file_magic_cmd='func_win32_libid'
6445   else
6446     # Keep this pattern in sync with the one in func_win32_libid.
6447     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6448     lt_cv_file_magic_cmd='$OBJDUMP -f'
6449   fi
6450   ;;
6451
6452 cegcc*)
6453   # use the weaker test based on 'objdump'. See mingw*.
6454   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6455   lt_cv_file_magic_cmd='$OBJDUMP -f'
6456   ;;
6457
6458 darwin* | rhapsody*)
6459   lt_cv_deplibs_check_method=pass_all
6460   ;;
6461
6462 freebsd* | dragonfly*)
6463   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6464     case $host_cpu in
6465     i*86 )
6466       # Not sure whether the presence of OpenBSD here was a mistake.
6467       # Let's accept both of them until this is cleared up.
6468       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6469       lt_cv_file_magic_cmd=/usr/bin/file
6470       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6471       ;;
6472     esac
6473   else
6474     lt_cv_deplibs_check_method=pass_all
6475   fi
6476   ;;
6477
6478 haiku*)
6479   lt_cv_deplibs_check_method=pass_all
6480   ;;
6481
6482 hpux10.20* | hpux11*)
6483   lt_cv_file_magic_cmd=/usr/bin/file
6484   case $host_cpu in
6485   ia64*)
6486     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6487     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6488     ;;
6489   hppa*64*)
6490     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]'
6491     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6492     ;;
6493   *)
6494     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6495     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6496     ;;
6497   esac
6498   ;;
6499
6500 interix[3-9]*)
6501   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6502   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6503   ;;
6504
6505 irix5* | irix6* | nonstopux*)
6506   case $LD in
6507   *-32|*"-32 ") libmagic=32-bit;;
6508   *-n32|*"-n32 ") libmagic=N32;;
6509   *-64|*"-64 ") libmagic=64-bit;;
6510   *) libmagic=never-match;;
6511   esac
6512   lt_cv_deplibs_check_method=pass_all
6513   ;;
6514
6515 # This must be glibc/ELF.
6516 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6517   lt_cv_deplibs_check_method=pass_all
6518   ;;
6519
6520 netbsd* | netbsdelf*-gnu)
6521   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6522     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6523   else
6524     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6525   fi
6526   ;;
6527
6528 newos6*)
6529   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6530   lt_cv_file_magic_cmd=/usr/bin/file
6531   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6532   ;;
6533
6534 *nto* | *qnx*)
6535   lt_cv_deplibs_check_method=pass_all
6536   ;;
6537
6538 openbsd* | bitrig*)
6539   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6540     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6541   else
6542     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6543   fi
6544   ;;
6545
6546 osf3* | osf4* | osf5*)
6547   lt_cv_deplibs_check_method=pass_all
6548   ;;
6549
6550 rdos*)
6551   lt_cv_deplibs_check_method=pass_all
6552   ;;
6553
6554 solaris*)
6555   lt_cv_deplibs_check_method=pass_all
6556   ;;
6557
6558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6559   lt_cv_deplibs_check_method=pass_all
6560   ;;
6561
6562 sysv4 | sysv4.3*)
6563   case $host_vendor in
6564   motorola)
6565     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]'
6566     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6567     ;;
6568   ncr)
6569     lt_cv_deplibs_check_method=pass_all
6570     ;;
6571   sequent)
6572     lt_cv_file_magic_cmd='/bin/file'
6573     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6574     ;;
6575   sni)
6576     lt_cv_file_magic_cmd='/bin/file'
6577     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6578     lt_cv_file_magic_test_file=/lib/libc.so
6579     ;;
6580   siemens)
6581     lt_cv_deplibs_check_method=pass_all
6582     ;;
6583   pc)
6584     lt_cv_deplibs_check_method=pass_all
6585     ;;
6586   esac
6587   ;;
6588
6589 tpf*)
6590   lt_cv_deplibs_check_method=pass_all
6591   ;;
6592 os2*)
6593   lt_cv_deplibs_check_method=pass_all
6594   ;;
6595 esac
6596
6597 fi
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6600
6601 file_magic_glob=
6602 want_nocaseglob=no
6603 if test "$build" = "$host"; then
6604   case $host_os in
6605   mingw* | pw32*)
6606     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6607       want_nocaseglob=yes
6608     else
6609       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6610     fi
6611     ;;
6612   esac
6613 fi
6614
6615 file_magic_cmd=$lt_cv_file_magic_cmd
6616 deplibs_check_method=$lt_cv_deplibs_check_method
6617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6618
6619
6620     
6621     
6622     
6623
6624
6625     
6626     
6627     
6628
6629
6630     
6631     
6632     
6633
6634
6635     
6636     
6637     
6638
6639
6640 if test -n "$ac_tool_prefix"; then
6641   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_DLLTOOL+:} false; then :
6646   $as_echo_n "(cached) " >&6
6647 else
6648   if test -n "$DLLTOOL"; then
6649   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6653 do
6654   IFS=$as_save_IFS
6655   test -z "$as_dir" && as_dir=.
6656     for ac_exec_ext in '' $ac_executable_extensions; do
6657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660     break 2
6661   fi
6662 done
6663   done
6664 IFS=$as_save_IFS
6665
6666 fi
6667 fi
6668 DLLTOOL=$ac_cv_prog_DLLTOOL
6669 if test -n "$DLLTOOL"; then
6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6671 $as_echo "$DLLTOOL" >&6; }
6672 else
6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 fi
6676
6677
6678 fi
6679 if test -z "$ac_cv_prog_DLLTOOL"; then
6680   ac_ct_DLLTOOL=$DLLTOOL
6681   # Extract the first word of "dlltool", so it can be a program name with args.
6682 set dummy dlltool; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6686   $as_echo_n "(cached) " >&6
6687 else
6688   if test -n "$ac_ct_DLLTOOL"; then
6689   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6693 do
6694   IFS=$as_save_IFS
6695   test -z "$as_dir" && as_dir=.
6696     for ac_exec_ext in '' $ac_executable_extensions; do
6697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700     break 2
6701   fi
6702 done
6703   done
6704 IFS=$as_save_IFS
6705
6706 fi
6707 fi
6708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6709 if test -n "$ac_ct_DLLTOOL"; then
6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6711 $as_echo "$ac_ct_DLLTOOL" >&6; }
6712 else
6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6715 fi
6716
6717   if test "x$ac_ct_DLLTOOL" = x; then
6718     DLLTOOL="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     DLLTOOL=$ac_ct_DLLTOOL
6727   fi
6728 else
6729   DLLTOOL="$ac_cv_prog_DLLTOOL"
6730 fi
6731
6732 test -z "$DLLTOOL" && DLLTOOL=dlltool
6733
6734     
6735     
6736     
6737
6738
6739
6740
6741
6742
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6744 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6745 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6746   $as_echo_n "(cached) " >&6
6747 else
6748   lt_cv_sharedlib_from_linklib_cmd='unknown'
6749
6750 case $host_os in
6751 cygwin* | mingw* | pw32* | cegcc*)
6752   # two different shell functions defined in ltmain.sh;
6753   # decide which one to use based on capabilities of $DLLTOOL
6754   case `$DLLTOOL --help 2>&1` in
6755   *--identify-strict*)
6756     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6757     ;;
6758   *)
6759     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6760     ;;
6761   esac
6762   ;;
6763 *)
6764   # fallback: assume linklib IS sharedlib
6765   lt_cv_sharedlib_from_linklib_cmd=$ECHO
6766   ;;
6767 esac
6768
6769 fi
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6771 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6774
6775
6776     
6777     
6778     
6779
6780
6781 if test -n "$ac_tool_prefix"; then
6782   for ac_prog in ar
6783   do
6784     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_AR+:} false; then :
6789   $as_echo_n "(cached) " >&6
6790 else
6791   if test -n "$AR"; then
6792   ac_cv_prog_AR="$AR" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6796 do
6797   IFS=$as_save_IFS
6798   test -z "$as_dir" && as_dir=.
6799     for ac_exec_ext in '' $ac_executable_extensions; do
6800   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803     break 2
6804   fi
6805 done
6806   done
6807 IFS=$as_save_IFS
6808
6809 fi
6810 fi
6811 AR=$ac_cv_prog_AR
6812 if test -n "$AR"; then
6813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6814 $as_echo "$AR" >&6; }
6815 else
6816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6818 fi
6819
6820
6821     test -n "$AR" && break
6822   done
6823 fi
6824 if test -z "$AR"; then
6825   ac_ct_AR=$AR
6826   for ac_prog in ar
6827 do
6828   # Extract the first word of "$ac_prog", so it can be a program name with args.
6829 set dummy $ac_prog; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6833   $as_echo_n "(cached) " >&6
6834 else
6835   if test -n "$ac_ct_AR"; then
6836   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6840 do
6841   IFS=$as_save_IFS
6842   test -z "$as_dir" && as_dir=.
6843     for ac_exec_ext in '' $ac_executable_extensions; do
6844   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845     ac_cv_prog_ac_ct_AR="$ac_prog"
6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847     break 2
6848   fi
6849 done
6850   done
6851 IFS=$as_save_IFS
6852
6853 fi
6854 fi
6855 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6856 if test -n "$ac_ct_AR"; then
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6858 $as_echo "$ac_ct_AR" >&6; }
6859 else
6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6862 fi
6863
6864
6865   test -n "$ac_ct_AR" && break
6866 done
6867
6868   if test "x$ac_ct_AR" = x; then
6869     AR="false"
6870   else
6871     case $cross_compiling:$ac_tool_warned in
6872 yes:)
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6876 esac
6877     AR=$ac_ct_AR
6878   fi
6879 fi
6880
6881 : ${AR=ar}
6882 : ${AR_FLAGS=cru}
6883
6884     
6885     
6886     
6887
6888
6889     
6890     
6891     
6892
6893
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6895 $as_echo_n "checking for archiver @FILE support... " >&6; }
6896 if ${lt_cv_ar_at_file+:} false; then :
6897   $as_echo_n "(cached) " >&6
6898 else
6899   lt_cv_ar_at_file=no
6900    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h.  */
6902
6903 int
6904 main ()
6905 {
6906
6907   ;
6908   return 0;
6909 }
6910 _ACEOF
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912   echo conftest.$ac_objext > conftest.lst
6913       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6914       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6915   (eval $lt_ar_try) 2>&5
6916   ac_status=$?
6917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6918   test $ac_status = 0; }
6919       if test 0 -eq "$ac_status"; then
6920         # Ensure the archiver fails upon bogus file names.
6921         rm -f conftest.$ac_objext libconftest.a
6922         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6923   (eval $lt_ar_try) 2>&5
6924   ac_status=$?
6925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6926   test $ac_status = 0; }
6927         if test 0 -ne "$ac_status"; then
6928           lt_cv_ar_at_file=@
6929         fi
6930       fi
6931       rm -f conftest.* libconftest.a
6932      
6933 fi
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6935   
6936 fi
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6938 $as_echo "$lt_cv_ar_at_file" >&6; }
6939
6940 if test no = "$lt_cv_ar_at_file"; then
6941   archiver_list_spec=
6942 else
6943   archiver_list_spec=$lt_cv_ar_at_file
6944 fi
6945
6946     
6947     
6948     
6949
6950
6951
6952 if test -n "$ac_tool_prefix"; then
6953   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}strip; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_STRIP+:} false; then :
6958   $as_echo_n "(cached) " >&6
6959 else
6960   if test -n "$STRIP"; then
6961   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6962 else
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 for as_dir in $PATH
6965 do
6966   IFS=$as_save_IFS
6967   test -z "$as_dir" && as_dir=.
6968     for ac_exec_ext in '' $ac_executable_extensions; do
6969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972     break 2
6973   fi
6974 done
6975   done
6976 IFS=$as_save_IFS
6977
6978 fi
6979 fi
6980 STRIP=$ac_cv_prog_STRIP
6981 if test -n "$STRIP"; then
6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6983 $as_echo "$STRIP" >&6; }
6984 else
6985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6987 fi
6988
6989
6990 fi
6991 if test -z "$ac_cv_prog_STRIP"; then
6992   ac_ct_STRIP=$STRIP
6993   # Extract the first word of "strip", so it can be a program name with args.
6994 set dummy strip; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6998   $as_echo_n "(cached) " >&6
6999 else
7000   if test -n "$ac_ct_STRIP"; then
7001   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7002 else
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 for as_dir in $PATH
7005 do
7006   IFS=$as_save_IFS
7007   test -z "$as_dir" && as_dir=.
7008     for ac_exec_ext in '' $ac_executable_extensions; do
7009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010     ac_cv_prog_ac_ct_STRIP="strip"
7011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012     break 2
7013   fi
7014 done
7015   done
7016 IFS=$as_save_IFS
7017
7018 fi
7019 fi
7020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7021 if test -n "$ac_ct_STRIP"; then
7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7023 $as_echo "$ac_ct_STRIP" >&6; }
7024 else
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7027 fi
7028
7029   if test "x$ac_ct_STRIP" = x; then
7030     STRIP=":"
7031   else
7032     case $cross_compiling:$ac_tool_warned in
7033 yes:)
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned=yes ;;
7037 esac
7038     STRIP=$ac_ct_STRIP
7039   fi
7040 else
7041   STRIP="$ac_cv_prog_STRIP"
7042 fi
7043
7044 test -z "$STRIP" && STRIP=:
7045
7046     
7047     
7048     
7049
7050
7051 if test -n "$ac_tool_prefix"; then
7052   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_RANLIB+:} false; then :
7057   $as_echo_n "(cached) " >&6
7058 else
7059   if test -n "$RANLIB"; then
7060   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7061 else
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 for as_dir in $PATH
7064 do
7065   IFS=$as_save_IFS
7066   test -z "$as_dir" && as_dir=.
7067     for ac_exec_ext in '' $ac_executable_extensions; do
7068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071     break 2
7072   fi
7073 done
7074   done
7075 IFS=$as_save_IFS
7076
7077 fi
7078 fi
7079 RANLIB=$ac_cv_prog_RANLIB
7080 if test -n "$RANLIB"; then
7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7082 $as_echo "$RANLIB" >&6; }
7083 else
7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7086 fi
7087
7088
7089 fi
7090 if test -z "$ac_cv_prog_RANLIB"; then
7091   ac_ct_RANLIB=$RANLIB
7092   # Extract the first word of "ranlib", so it can be a program name with args.
7093 set dummy ranlib; ac_word=$2
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095 $as_echo_n "checking for $ac_word... " >&6; }
7096 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7097   $as_echo_n "(cached) " >&6
7098 else
7099   if test -n "$ac_ct_RANLIB"; then
7100   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7101 else
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 for as_dir in $PATH
7104 do
7105   IFS=$as_save_IFS
7106   test -z "$as_dir" && as_dir=.
7107     for ac_exec_ext in '' $ac_executable_extensions; do
7108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109     ac_cv_prog_ac_ct_RANLIB="ranlib"
7110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111     break 2
7112   fi
7113 done
7114   done
7115 IFS=$as_save_IFS
7116
7117 fi
7118 fi
7119 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7120 if test -n "$ac_ct_RANLIB"; then
7121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7122 $as_echo "$ac_ct_RANLIB" >&6; }
7123 else
7124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7126 fi
7127
7128   if test "x$ac_ct_RANLIB" = x; then
7129     RANLIB=":"
7130   else
7131     case $cross_compiling:$ac_tool_warned in
7132 yes:)
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7135 ac_tool_warned=yes ;;
7136 esac
7137     RANLIB=$ac_ct_RANLIB
7138   fi
7139 else
7140   RANLIB="$ac_cv_prog_RANLIB"
7141 fi
7142
7143 test -z "$RANLIB" && RANLIB=:
7144
7145     
7146     
7147     
7148
7149
7150 # Determine commands to create old-style static archives.
7151 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7152 old_postinstall_cmds='chmod 644 $oldlib'
7153 old_postuninstall_cmds=
7154
7155 if test -n "$RANLIB"; then
7156   case $host_os in
7157   bitrig* | openbsd*)
7158     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7159     ;;
7160   *)
7161     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7162     ;;
7163   esac
7164   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7165 fi
7166
7167 case $host_os in
7168   darwin*)
7169     lock_old_archive_extraction=yes ;;
7170   *)
7171     lock_old_archive_extraction=no ;;
7172 esac
7173
7174     
7175     
7176     
7177
7178
7179     
7180     
7181     
7182
7183
7184     
7185     
7186     
7187
7188
7189     
7190     
7191     
7192
7193
7194
7195
7196     
7197     
7198     
7199
7200     
7201     
7202     
7203
7204     
7205     
7206     
7207
7208     
7209     
7210     
7211
7212 # If no C compiler was specified, use CC.
7213 LTCC=${LTCC-"$CC"}
7214
7215 # If no C compiler flags were specified, use CFLAGS.
7216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7217
7218 # Allow CC to be a program name with arguments.
7219 compiler=$CC
7220
7221
7222 # Check for command to grab the raw symbol name followed by C symbol from nm.
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7224 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7225 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7226   $as_echo_n "(cached) " >&6
7227 else
7228   
7229 # These are sane defaults that work on at least a few old systems.
7230 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7231
7232 # Character class describing NM global symbol codes.
7233 symcode='[BCDEGRST]'
7234
7235 # Regexp to match symbols that can be accessed directly from C.
7236 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7237
7238 # Define system-specific variables.
7239 case $host_os in
7240 aix*)
7241   symcode='[BCDT]'
7242   ;;
7243 cygwin* | mingw* | pw32* | cegcc*)
7244   symcode='[ABCDGISTW]'
7245   ;;
7246 hpux*)
7247   if test ia64 = "$host_cpu"; then
7248     symcode='[ABCDEGRST]'
7249   fi
7250   ;;
7251 irix* | nonstopux*)
7252   symcode='[BCDEGRST]'
7253   ;;
7254 osf*)
7255   symcode='[BCDEGQRST]'
7256   ;;
7257 solaris*)
7258   symcode='[BDRT]'
7259   ;;
7260 sco3.2v5*)
7261   symcode='[DT]'
7262   ;;
7263 sysv4.2uw2*)
7264   symcode='[DT]'
7265   ;;
7266 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7267   symcode='[ABDT]'
7268   ;;
7269 sysv4)
7270   symcode='[DFNSTU]'
7271   ;;
7272 esac
7273
7274 # If we're using GNU nm, then use its standard symbol codes.
7275 case `$NM -V 2>&1` in
7276 *GNU* | *'with BFD'*)
7277   symcode='[ABCDGIRSTW]' ;;
7278 esac
7279
7280 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7281   # Gets list of data symbols to import.
7282   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7283   # Adjust the below global symbol transforms to fixup imported variables.
7284   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7285   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7286   lt_c_name_lib_hook="\
7287   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7288   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7289 else
7290   # Disable hooks by default.
7291   lt_cv_sys_global_symbol_to_import=
7292   lt_cdecl_hook=
7293   lt_c_name_hook=
7294   lt_c_name_lib_hook=
7295 fi
7296
7297 # Transform an extracted symbol line into a proper C declaration.
7298 # Some systems (esp. on ia64) link data and code symbols differently,
7299 # so use this general approach.
7300 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7301 $lt_cdecl_hook\
7302 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7303 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7304
7305 # Transform an extracted symbol line into symbol name and symbol address
7306 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7307 $lt_c_name_hook\
7308 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7309 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7310
7311 # Transform an extracted symbol line into symbol name with lib prefix and
7312 # symbol address.
7313 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7314 $lt_c_name_lib_hook\
7315 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7316 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7317 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7318
7319 # Handle CRLF in mingw tool chain
7320 opt_cr=
7321 case $build_os in
7322 mingw*)
7323   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7324   ;;
7325 esac
7326
7327 # Try without a prefix underscore, then with it.
7328 for ac_symprfx in "" "_"; do
7329
7330   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7331   symxfrm="\\1 $ac_symprfx\\2 \\2"
7332
7333   # Write the raw and C identifiers.
7334   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7335     # Fake it for dumpbin and say T for any non-static function,
7336     # D for any global variable and I for any imported variable.
7337     # Also find C++ and __fastcall symbols from MSVC++,
7338     # which start with @ or ?.
7339     lt_cv_sys_global_symbol_pipe="$AWK '"\
7340 "     {last_section=section; section=\$ 3};"\
7341 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7342 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7343 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7344 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7345 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7346 "     \$ 0!~/External *\|/{next};"\
7347 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7348 "     {if(hide[section]) next};"\
7349 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7350 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7351 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7352 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7353 "     ' prfx=^$ac_symprfx"
7354   else
7355     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7356   fi
7357   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7358
7359   # Check to see that the pipe works correctly.
7360   pipe_works=no
7361
7362   rm -f conftest*
7363   cat > conftest.$ac_ext <<_LT_EOF
7364 #ifdef __cplusplus
7365 extern "C" {
7366 #endif
7367 char nm_test_var;
7368 void nm_test_func(void);
7369 void nm_test_func(void){}
7370 #ifdef __cplusplus
7371 }
7372 #endif
7373 int main(){nm_test_var='a';nm_test_func();return(0);}
7374 _LT_EOF
7375
7376   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7377   (eval $ac_compile) 2>&5
7378   ac_status=$?
7379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7380   test $ac_status = 0; }; then
7381     # Now try to grab the symbols.
7382     nlist=conftest.nm
7383     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7384   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7385   ac_status=$?
7386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387   test $ac_status = 0; } && test -s "$nlist"; then
7388       # Try sorting and uniquifying the output.
7389       if sort "$nlist" | uniq > "$nlist"T; then
7390         mv -f "$nlist"T "$nlist"
7391       else
7392         rm -f "$nlist"T
7393       fi
7394
7395       # Make sure that we snagged all the symbols we need.
7396       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7397         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7398           cat <<_LT_EOF > conftest.$ac_ext
7399 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7400 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7401 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7402    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7403 # define LT@&t@_DLSYM_CONST
7404 #elif defined __osf__
7405 /* This system does not cope well with relocations in const data.  */
7406 # define LT@&t@_DLSYM_CONST
7407 #else
7408 # define LT@&t@_DLSYM_CONST const
7409 #endif
7410
7411 #ifdef __cplusplus
7412 extern "C" {
7413 #endif
7414
7415 _LT_EOF
7416           # Now generate the symbol file.
7417           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7418
7419           cat <<_LT_EOF >> conftest.$ac_ext
7420
7421 /* The mapping between symbol names and symbols.  */
7422 LT@&t@_DLSYM_CONST struct {
7423   const char *name;
7424   void       *address;
7425 }
7426 lt__PROGRAM__LTX_preloaded_symbols[] =
7427 {
7428   { "@PROGRAM@", (void *) 0 },
7429 _LT_EOF
7430           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7431           cat <<\_LT_EOF >> conftest.$ac_ext
7432   {0, (void *) 0}
7433 };
7434
7435 /* This works around a problem in FreeBSD linker */
7436 #ifdef FREEBSD_WORKAROUND
7437 static const void *lt_preloaded_setup() {
7438   return lt__PROGRAM__LTX_preloaded_symbols;
7439 }
7440 #endif
7441
7442 #ifdef __cplusplus
7443 }
7444 #endif
7445 _LT_EOF
7446           # Now try linking the two files.
7447           mv conftest.$ac_objext conftstm.$ac_objext
7448           lt_globsym_save_LIBS=$LIBS
7449           lt_globsym_save_CFLAGS=$CFLAGS
7450           LIBS=conftstm.$ac_objext
7451           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7452           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7453   (eval $ac_link) 2>&5
7454   ac_status=$?
7455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7456   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7457             pipe_works=yes
7458           fi
7459           LIBS=$lt_globsym_save_LIBS
7460           CFLAGS=$lt_globsym_save_CFLAGS
7461         else
7462           echo "cannot find nm_test_func in $nlist" >&5
7463         fi
7464       else
7465         echo "cannot find nm_test_var in $nlist" >&5
7466       fi
7467     else
7468       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7469     fi
7470   else
7471     echo "$progname: failed program was:" >&5
7472     cat conftest.$ac_ext >&5
7473   fi
7474   rm -rf conftest* conftst*
7475
7476   # Do not use the global_symbol_pipe unless it works.
7477   if test yes = "$pipe_works"; then
7478     break
7479   else
7480     lt_cv_sys_global_symbol_pipe=
7481   fi
7482 done
7483
7484 fi
7485
7486 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7487   lt_cv_sys_global_symbol_to_cdecl=
7488 fi
7489 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7491 $as_echo "failed" >&6; }
7492 else
7493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7494 $as_echo "ok" >&6; }
7495 fi
7496
7497 # Response file support.
7498 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7499   nm_file_list_spec='@'
7500 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7501   nm_file_list_spec='@'
7502 fi
7503
7504
7505     
7506     
7507     
7508
7509
7510     
7511     
7512     
7513
7514
7515     
7516     
7517     
7518
7519
7520     
7521     
7522     
7523
7524
7525     
7526     
7527     
7528
7529
7530     
7531     
7532     
7533
7534
7535     
7536     
7537     
7538
7539
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7541 $as_echo_n "checking for sysroot... " >&6; }
7542
7543 @%:@ Check whether --with-sysroot was given.
7544 if test "${with_sysroot+set}" = set; then :
7545   withval=$with_sysroot; 
7546 else
7547   with_sysroot=no
7548 fi
7549
7550
7551 lt_sysroot=
7552 case $with_sysroot in #(
7553  yes)
7554    if test yes = "$GCC"; then
7555      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7556    fi
7557    ;; #(
7558  /*)
7559    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7560    ;; #(
7561  no|'')
7562    ;; #(
7563  *)
7564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7565 $as_echo "$with_sysroot" >&6; }
7566    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7567    ;;
7568 esac
7569
7570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7571 $as_echo "${lt_sysroot:-no}" >&6; }
7572
7573     
7574     
7575     
7576
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7578 $as_echo_n "checking for a working dd... " >&6; }
7579 if ${ac_cv_path_lt_DD+:} false; then :
7580   $as_echo_n "(cached) " >&6
7581 else
7582   printf 0123456789abcdef0123456789abcdef >conftest.i
7583 cat conftest.i conftest.i >conftest2.i
7584 : ${lt_DD:=$DD}
7585 if test -z "$lt_DD"; then
7586   ac_path_lt_DD_found=false
7587   # Loop through the user's path and test for each of PROGNAME-LIST
7588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7590 do
7591   IFS=$as_save_IFS
7592   test -z "$as_dir" && as_dir=.
7593     for ac_prog in dd; do
7594     for ac_exec_ext in '' $ac_executable_extensions; do
7595       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7596       as_fn_executable_p "$ac_path_lt_DD" || continue
7597 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7598   cmp -s conftest.i conftest.out \
7599   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7600 fi
7601       $ac_path_lt_DD_found && break 3
7602     done
7603   done
7604   done
7605 IFS=$as_save_IFS
7606   if test -z "$ac_cv_path_lt_DD"; then
7607     :
7608   fi
7609 else
7610   ac_cv_path_lt_DD=$lt_DD
7611 fi
7612
7613 rm -f conftest.i conftest2.i conftest.out
7614 fi
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7616 $as_echo "$ac_cv_path_lt_DD" >&6; }
7617
7618
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7620 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7621 if ${lt_cv_truncate_bin+:} false; then :
7622   $as_echo_n "(cached) " >&6
7623 else
7624   printf 0123456789abcdef0123456789abcdef >conftest.i
7625 cat conftest.i conftest.i >conftest2.i
7626 lt_cv_truncate_bin=
7627 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7628   cmp -s conftest.i conftest.out \
7629   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7630 fi
7631 rm -f conftest.i conftest2.i conftest.out
7632 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7633 fi
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7635 $as_echo "$lt_cv_truncate_bin" >&6; }
7636
7637     
7638     
7639     
7640
7641
7642
7643 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7644 func_cc_basename ()
7645 {
7646     for cc_temp in @S|@*""; do
7647       case $cc_temp in
7648         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7649         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7650         \-*) ;;
7651         *) break;;
7652       esac
7653     done
7654     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7655 }
7656
7657 @%:@ Check whether --enable-libtool-lock was given.
7658 if test "${enable_libtool_lock+set}" = set; then :
7659   enableval=$enable_libtool_lock; 
7660 fi
7661
7662 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7663
7664 # Some flags need to be propagated to the compiler or linker for good
7665 # libtool support.
7666 case $host in
7667 ia64-*-hpux*)
7668   # Find out what ABI is being produced by ac_compile, and set mode
7669   # options accordingly.
7670   echo 'int i;' > conftest.$ac_ext
7671   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7672   (eval $ac_compile) 2>&5
7673   ac_status=$?
7674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7675   test $ac_status = 0; }; then
7676     case `/usr/bin/file conftest.$ac_objext` in
7677       *ELF-32*)
7678         HPUX_IA64_MODE=32
7679         ;;
7680       *ELF-64*)
7681         HPUX_IA64_MODE=64
7682         ;;
7683     esac
7684   fi
7685   rm -rf conftest*
7686   ;;
7687 *-*-irix6*)
7688   # Find out what ABI is being produced by ac_compile, and set linker
7689   # options accordingly.
7690   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7691   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7692   (eval $ac_compile) 2>&5
7693   ac_status=$?
7694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695   test $ac_status = 0; }; then
7696     if test yes = "$lt_cv_prog_gnu_ld"; then
7697       case `/usr/bin/file conftest.$ac_objext` in
7698         *32-bit*)
7699           LD="${LD-ld} -melf32bsmip"
7700           ;;
7701         *N32*)
7702           LD="${LD-ld} -melf32bmipn32"
7703           ;;
7704         *64-bit*)
7705           LD="${LD-ld} -melf64bmip"
7706         ;;
7707       esac
7708     else
7709       case `/usr/bin/file conftest.$ac_objext` in
7710         *32-bit*)
7711           LD="${LD-ld} -32"
7712           ;;
7713         *N32*)
7714           LD="${LD-ld} -n32"
7715           ;;
7716         *64-bit*)
7717           LD="${LD-ld} -64"
7718           ;;
7719       esac
7720     fi
7721   fi
7722   rm -rf conftest*
7723   ;;
7724
7725 mips64*-*linux*)
7726   # Find out what ABI is being produced by ac_compile, and set linker
7727   # options accordingly.
7728   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7729   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7730   (eval $ac_compile) 2>&5
7731   ac_status=$?
7732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7733   test $ac_status = 0; }; then
7734     emul=elf
7735     case `/usr/bin/file conftest.$ac_objext` in
7736       *32-bit*)
7737         emul="${emul}32"
7738         ;;
7739       *64-bit*)
7740         emul="${emul}64"
7741         ;;
7742     esac
7743     case `/usr/bin/file conftest.$ac_objext` in
7744       *MSB*)
7745         emul="${emul}btsmip"
7746         ;;
7747       *LSB*)
7748         emul="${emul}ltsmip"
7749         ;;
7750     esac
7751     case `/usr/bin/file conftest.$ac_objext` in
7752       *N32*)
7753         emul="${emul}n32"
7754         ;;
7755     esac
7756     LD="${LD-ld} -m $emul"
7757   fi
7758   rm -rf conftest*
7759   ;;
7760
7761 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7762 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7763   # Find out what ABI is being produced by ac_compile, and set linker
7764   # options accordingly.  Note that the listed cases only cover the
7765   # situations where additional linker options are needed (such as when
7766   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7767   # vice versa); the common cases where no linker options are needed do
7768   # not appear in the list.
7769   echo 'int i;' > conftest.$ac_ext
7770   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7771   (eval $ac_compile) 2>&5
7772   ac_status=$?
7773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7774   test $ac_status = 0; }; then
7775     case `/usr/bin/file conftest.o` in
7776       *32-bit*)
7777         case $host in
7778           x86_64-*kfreebsd*-gnu)
7779             LD="${LD-ld} -m elf_i386_fbsd"
7780             ;;
7781           x86_64-*linux*)
7782             case `/usr/bin/file conftest.o` in
7783               *x86-64*)
7784                 LD="${LD-ld} -m elf32_x86_64"
7785                 ;;
7786               *)
7787                 LD="${LD-ld} -m elf_i386"
7788                 ;;
7789             esac
7790             ;;
7791           powerpc64le-*linux*)
7792             LD="${LD-ld} -m elf32lppclinux"
7793             ;;
7794           powerpc64-*linux*)
7795             LD="${LD-ld} -m elf32ppclinux"
7796             ;;
7797           s390x-*linux*)
7798             LD="${LD-ld} -m elf_s390"
7799             ;;
7800           sparc64-*linux*)
7801             LD="${LD-ld} -m elf32_sparc"
7802             ;;
7803         esac
7804         ;;
7805       *64-bit*)
7806         case $host in
7807           x86_64-*kfreebsd*-gnu)
7808             LD="${LD-ld} -m elf_x86_64_fbsd"
7809             ;;
7810           x86_64-*linux*)
7811             LD="${LD-ld} -m elf_x86_64"
7812             ;;
7813           powerpcle-*linux*)
7814             LD="${LD-ld} -m elf64lppc"
7815             ;;
7816           powerpc-*linux*)
7817             LD="${LD-ld} -m elf64ppc"
7818             ;;
7819           s390*-*linux*|s390*-*tpf*)
7820             LD="${LD-ld} -m elf64_s390"
7821             ;;
7822           sparc*-*linux*)
7823             LD="${LD-ld} -m elf64_sparc"
7824             ;;
7825         esac
7826         ;;
7827     esac
7828   fi
7829   rm -rf conftest*
7830   ;;
7831
7832 *-*-sco3.2v5*)
7833   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7834   SAVE_CFLAGS=$CFLAGS
7835   CFLAGS="$CFLAGS -belf"
7836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7837 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7838 if ${lt_cv_cc_needs_belf+:} false; then :
7839   $as_echo_n "(cached) " >&6
7840 else
7841   ac_ext=c
7842 ac_cpp='$CPP $CPPFLAGS'
7843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7846
7847      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h.  */
7849
7850 int
7851 main ()
7852 {
7853
7854   ;
7855   return 0;
7856 }
7857 _ACEOF
7858 if ac_fn_c_try_link "$LINENO"; then :
7859   lt_cv_cc_needs_belf=yes
7860 else
7861   lt_cv_cc_needs_belf=no
7862 fi
7863 rm -f core conftest.err conftest.$ac_objext \
7864     conftest$ac_exeext conftest.$ac_ext
7865      ac_ext=c
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7870
7871 fi
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7873 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7874   if test yes != "$lt_cv_cc_needs_belf"; then
7875     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7876     CFLAGS=$SAVE_CFLAGS
7877   fi
7878   ;;
7879 *-*solaris*)
7880   # Find out what ABI is being produced by ac_compile, and set linker
7881   # options accordingly.
7882   echo 'int i;' > conftest.$ac_ext
7883   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7884   (eval $ac_compile) 2>&5
7885   ac_status=$?
7886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7887   test $ac_status = 0; }; then
7888     case `/usr/bin/file conftest.o` in
7889     *64-bit*)
7890       case $lt_cv_prog_gnu_ld in
7891       yes*)
7892         case $host in
7893         i?86-*-solaris*|x86_64-*-solaris*)
7894           LD="${LD-ld} -m elf_x86_64"
7895           ;;
7896         sparc*-*-solaris*)
7897           LD="${LD-ld} -m elf64_sparc"
7898           ;;
7899         esac
7900         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7901         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7902           LD=${LD-ld}_sol2
7903         fi
7904         ;;
7905       *)
7906         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7907           LD="${LD-ld} -64"
7908         fi
7909         ;;
7910       esac
7911       ;;
7912     esac
7913   fi
7914   rm -rf conftest*
7915   ;;
7916 esac
7917
7918 need_locks=$enable_libtool_lock
7919
7920 if test -n "$ac_tool_prefix"; then
7921   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}mt; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7926   $as_echo_n "(cached) " >&6
7927 else
7928   if test -n "$MANIFEST_TOOL"; then
7929   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7933 do
7934   IFS=$as_save_IFS
7935   test -z "$as_dir" && as_dir=.
7936     for ac_exec_ext in '' $ac_executable_extensions; do
7937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940     break 2
7941   fi
7942 done
7943   done
7944 IFS=$as_save_IFS
7945
7946 fi
7947 fi
7948 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7949 if test -n "$MANIFEST_TOOL"; then
7950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7951 $as_echo "$MANIFEST_TOOL" >&6; }
7952 else
7953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7955 fi
7956
7957
7958 fi
7959 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7960   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7961   # Extract the first word of "mt", so it can be a program name with args.
7962 set dummy mt; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7966   $as_echo_n "(cached) " >&6
7967 else
7968   if test -n "$ac_ct_MANIFEST_TOOL"; then
7969   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7970 else
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 for as_dir in $PATH
7973 do
7974   IFS=$as_save_IFS
7975   test -z "$as_dir" && as_dir=.
7976     for ac_exec_ext in '' $ac_executable_extensions; do
7977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980     break 2
7981   fi
7982 done
7983   done
7984 IFS=$as_save_IFS
7985
7986 fi
7987 fi
7988 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7989 if test -n "$ac_ct_MANIFEST_TOOL"; then
7990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7991 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7992 else
7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7995 fi
7996
7997   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7998     MANIFEST_TOOL=":"
7999   else
8000     case $cross_compiling:$ac_tool_warned in
8001 yes:)
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8005 esac
8006     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8007   fi
8008 else
8009   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8010 fi
8011
8012 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8014 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8015 if ${lt_cv_path_mainfest_tool+:} false; then :
8016   $as_echo_n "(cached) " >&6
8017 else
8018   lt_cv_path_mainfest_tool=no
8019   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8020   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8021   cat conftest.err >&5
8022   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8023     lt_cv_path_mainfest_tool=yes
8024   fi
8025   rm -f conftest*
8026 fi
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8028 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8029 if test yes != "$lt_cv_path_mainfest_tool"; then
8030   MANIFEST_TOOL=:
8031 fi
8032
8033     
8034     
8035     
8036
8037
8038   case $host_os in
8039     rhapsody* | darwin*)
8040     if test -n "$ac_tool_prefix"; then
8041   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8042 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8046   $as_echo_n "(cached) " >&6
8047 else
8048   if test -n "$DSYMUTIL"; then
8049   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8053 do
8054   IFS=$as_save_IFS
8055   test -z "$as_dir" && as_dir=.
8056     for ac_exec_ext in '' $ac_executable_extensions; do
8057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060     break 2
8061   fi
8062 done
8063   done
8064 IFS=$as_save_IFS
8065
8066 fi
8067 fi
8068 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8069 if test -n "$DSYMUTIL"; then
8070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8071 $as_echo "$DSYMUTIL" >&6; }
8072 else
8073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8075 fi
8076
8077
8078 fi
8079 if test -z "$ac_cv_prog_DSYMUTIL"; then
8080   ac_ct_DSYMUTIL=$DSYMUTIL
8081   # Extract the first word of "dsymutil", so it can be a program name with args.
8082 set dummy dsymutil; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084 $as_echo_n "checking for $ac_word... " >&6; }
8085 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8086   $as_echo_n "(cached) " >&6
8087 else
8088   if test -n "$ac_ct_DSYMUTIL"; then
8089   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8090 else
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092 for as_dir in $PATH
8093 do
8094   IFS=$as_save_IFS
8095   test -z "$as_dir" && as_dir=.
8096     for ac_exec_ext in '' $ac_executable_extensions; do
8097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100     break 2
8101   fi
8102 done
8103   done
8104 IFS=$as_save_IFS
8105
8106 fi
8107 fi
8108 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8109 if test -n "$ac_ct_DSYMUTIL"; then
8110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8111 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8112 else
8113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8115 fi
8116
8117   if test "x$ac_ct_DSYMUTIL" = x; then
8118     DSYMUTIL=":"
8119   else
8120     case $cross_compiling:$ac_tool_warned in
8121 yes:)
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8124 ac_tool_warned=yes ;;
8125 esac
8126     DSYMUTIL=$ac_ct_DSYMUTIL
8127   fi
8128 else
8129   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8130 fi
8131
8132     if test -n "$ac_tool_prefix"; then
8133   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8134 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if ${ac_cv_prog_NMEDIT+:} false; then :
8138   $as_echo_n "(cached) " >&6
8139 else
8140   if test -n "$NMEDIT"; then
8141   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8145 do
8146   IFS=$as_save_IFS
8147   test -z "$as_dir" && as_dir=.
8148     for ac_exec_ext in '' $ac_executable_extensions; do
8149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152     break 2
8153   fi
8154 done
8155   done
8156 IFS=$as_save_IFS
8157
8158 fi
8159 fi
8160 NMEDIT=$ac_cv_prog_NMEDIT
8161 if test -n "$NMEDIT"; then
8162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8163 $as_echo "$NMEDIT" >&6; }
8164 else
8165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8167 fi
8168
8169
8170 fi
8171 if test -z "$ac_cv_prog_NMEDIT"; then
8172   ac_ct_NMEDIT=$NMEDIT
8173   # Extract the first word of "nmedit", so it can be a program name with args.
8174 set dummy nmedit; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8176 $as_echo_n "checking for $ac_word... " >&6; }
8177 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8178   $as_echo_n "(cached) " >&6
8179 else
8180   if test -n "$ac_ct_NMEDIT"; then
8181   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8182 else
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 for as_dir in $PATH
8185 do
8186   IFS=$as_save_IFS
8187   test -z "$as_dir" && as_dir=.
8188     for ac_exec_ext in '' $ac_executable_extensions; do
8189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8190     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8192     break 2
8193   fi
8194 done
8195   done
8196 IFS=$as_save_IFS
8197
8198 fi
8199 fi
8200 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8201 if test -n "$ac_ct_NMEDIT"; then
8202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8203 $as_echo "$ac_ct_NMEDIT" >&6; }
8204 else
8205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8207 fi
8208
8209   if test "x$ac_ct_NMEDIT" = x; then
8210     NMEDIT=":"
8211   else
8212     case $cross_compiling:$ac_tool_warned in
8213 yes:)
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216 ac_tool_warned=yes ;;
8217 esac
8218     NMEDIT=$ac_ct_NMEDIT
8219   fi
8220 else
8221   NMEDIT="$ac_cv_prog_NMEDIT"
8222 fi
8223
8224     if test -n "$ac_tool_prefix"; then
8225   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_LIPO+:} false; then :
8230   $as_echo_n "(cached) " >&6
8231 else
8232   if test -n "$LIPO"; then
8233   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8237 do
8238   IFS=$as_save_IFS
8239   test -z "$as_dir" && as_dir=.
8240     for ac_exec_ext in '' $ac_executable_extensions; do
8241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244     break 2
8245   fi
8246 done
8247   done
8248 IFS=$as_save_IFS
8249
8250 fi
8251 fi
8252 LIPO=$ac_cv_prog_LIPO
8253 if test -n "$LIPO"; then
8254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8255 $as_echo "$LIPO" >&6; }
8256 else
8257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8259 fi
8260
8261
8262 fi
8263 if test -z "$ac_cv_prog_LIPO"; then
8264   ac_ct_LIPO=$LIPO
8265   # Extract the first word of "lipo", so it can be a program name with args.
8266 set dummy lipo; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8270   $as_echo_n "(cached) " >&6
8271 else
8272   if test -n "$ac_ct_LIPO"; then
8273   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8277 do
8278   IFS=$as_save_IFS
8279   test -z "$as_dir" && as_dir=.
8280     for ac_exec_ext in '' $ac_executable_extensions; do
8281   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282     ac_cv_prog_ac_ct_LIPO="lipo"
8283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284     break 2
8285   fi
8286 done
8287   done
8288 IFS=$as_save_IFS
8289
8290 fi
8291 fi
8292 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8293 if test -n "$ac_ct_LIPO"; then
8294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8295 $as_echo "$ac_ct_LIPO" >&6; }
8296 else
8297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8299 fi
8300
8301   if test "x$ac_ct_LIPO" = x; then
8302     LIPO=":"
8303   else
8304     case $cross_compiling:$ac_tool_warned in
8305 yes:)
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8308 ac_tool_warned=yes ;;
8309 esac
8310     LIPO=$ac_ct_LIPO
8311   fi
8312 else
8313   LIPO="$ac_cv_prog_LIPO"
8314 fi
8315
8316     if test -n "$ac_tool_prefix"; then
8317   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8318 set dummy ${ac_tool_prefix}otool; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_OTOOL+:} false; then :
8322   $as_echo_n "(cached) " >&6
8323 else
8324   if test -n "$OTOOL"; then
8325   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8329 do
8330   IFS=$as_save_IFS
8331   test -z "$as_dir" && as_dir=.
8332     for ac_exec_ext in '' $ac_executable_extensions; do
8333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336     break 2
8337   fi
8338 done
8339   done
8340 IFS=$as_save_IFS
8341
8342 fi
8343 fi
8344 OTOOL=$ac_cv_prog_OTOOL
8345 if test -n "$OTOOL"; then
8346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8347 $as_echo "$OTOOL" >&6; }
8348 else
8349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8351 fi
8352
8353
8354 fi
8355 if test -z "$ac_cv_prog_OTOOL"; then
8356   ac_ct_OTOOL=$OTOOL
8357   # Extract the first word of "otool", so it can be a program name with args.
8358 set dummy otool; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8362   $as_echo_n "(cached) " >&6
8363 else
8364   if test -n "$ac_ct_OTOOL"; then
8365   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8369 do
8370   IFS=$as_save_IFS
8371   test -z "$as_dir" && as_dir=.
8372     for ac_exec_ext in '' $ac_executable_extensions; do
8373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374     ac_cv_prog_ac_ct_OTOOL="otool"
8375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376     break 2
8377   fi
8378 done
8379   done
8380 IFS=$as_save_IFS
8381
8382 fi
8383 fi
8384 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8385 if test -n "$ac_ct_OTOOL"; then
8386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8387 $as_echo "$ac_ct_OTOOL" >&6; }
8388 else
8389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8391 fi
8392
8393   if test "x$ac_ct_OTOOL" = x; then
8394     OTOOL=":"
8395   else
8396     case $cross_compiling:$ac_tool_warned in
8397 yes:)
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8401 esac
8402     OTOOL=$ac_ct_OTOOL
8403   fi
8404 else
8405   OTOOL="$ac_cv_prog_OTOOL"
8406 fi
8407
8408     if test -n "$ac_tool_prefix"; then
8409   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8410 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412 $as_echo_n "checking for $ac_word... " >&6; }
8413 if ${ac_cv_prog_OTOOL64+:} false; then :
8414   $as_echo_n "(cached) " >&6
8415 else
8416   if test -n "$OTOOL64"; then
8417   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8418 else
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8420 for as_dir in $PATH
8421 do
8422   IFS=$as_save_IFS
8423   test -z "$as_dir" && as_dir=.
8424     for ac_exec_ext in '' $ac_executable_extensions; do
8425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8428     break 2
8429   fi
8430 done
8431   done
8432 IFS=$as_save_IFS
8433
8434 fi
8435 fi
8436 OTOOL64=$ac_cv_prog_OTOOL64
8437 if test -n "$OTOOL64"; then
8438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8439 $as_echo "$OTOOL64" >&6; }
8440 else
8441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8443 fi
8444
8445
8446 fi
8447 if test -z "$ac_cv_prog_OTOOL64"; then
8448   ac_ct_OTOOL64=$OTOOL64
8449   # Extract the first word of "otool64", so it can be a program name with args.
8450 set dummy otool64; ac_word=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452 $as_echo_n "checking for $ac_word... " >&6; }
8453 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8454   $as_echo_n "(cached) " >&6
8455 else
8456   if test -n "$ac_ct_OTOOL64"; then
8457   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8458 else
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 for as_dir in $PATH
8461 do
8462   IFS=$as_save_IFS
8463   test -z "$as_dir" && as_dir=.
8464     for ac_exec_ext in '' $ac_executable_extensions; do
8465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8466     ac_cv_prog_ac_ct_OTOOL64="otool64"
8467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8468     break 2
8469   fi
8470 done
8471   done
8472 IFS=$as_save_IFS
8473
8474 fi
8475 fi
8476 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8477 if test -n "$ac_ct_OTOOL64"; then
8478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8479 $as_echo "$ac_ct_OTOOL64" >&6; }
8480 else
8481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8483 fi
8484
8485   if test "x$ac_ct_OTOOL64" = x; then
8486     OTOOL64=":"
8487   else
8488     case $cross_compiling:$ac_tool_warned in
8489 yes:)
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8492 ac_tool_warned=yes ;;
8493 esac
8494     OTOOL64=$ac_ct_OTOOL64
8495   fi
8496 else
8497   OTOOL64="$ac_cv_prog_OTOOL64"
8498 fi
8499
8500     
8501     
8502     
8503     
8504
8505     
8506     
8507     
8508     
8509
8510     
8511     
8512     
8513     
8514
8515     
8516     
8517     
8518     
8519
8520     
8521     
8522     
8523     
8524
8525
8526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8527 $as_echo_n "checking for -single_module linker flag... " >&6; }
8528 if ${lt_cv_apple_cc_single_mod+:} false; then :
8529   $as_echo_n "(cached) " >&6
8530 else
8531   lt_cv_apple_cc_single_mod=no
8532       if test -z "$LT_MULTI_MODULE"; then
8533         # By default we will add the -single_module flag. You can override
8534         # by either setting the environment variable LT_MULTI_MODULE
8535         # non-empty at configure time, or by adding -multi_module to the
8536         # link flags.
8537         rm -rf libconftest.dylib*
8538         echo "int foo(void){return 1;}" > conftest.c
8539         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8540 -dynamiclib -Wl,-single_module conftest.c" >&5
8541         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8542           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8543         _lt_result=$?
8544         # If there is a non-empty error log, and "single_module"
8545         # appears in it, assume the flag caused a linker warning
8546         if test -s conftest.err && $GREP single_module conftest.err; then
8547           cat conftest.err >&5
8548         # Otherwise, if the output was created with a 0 exit code from
8549         # the compiler, it worked.
8550         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8551           lt_cv_apple_cc_single_mod=yes
8552         else
8553           cat conftest.err >&5
8554         fi
8555         rm -rf libconftest.dylib*
8556         rm -f conftest.*
8557       fi
8558 fi
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8560 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8561
8562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8563 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8564 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8565   $as_echo_n "(cached) " >&6
8566 else
8567   lt_cv_ld_exported_symbols_list=no
8568       save_LDFLAGS=$LDFLAGS
8569       echo "_main" > conftest.sym
8570       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h.  */
8573
8574 int
8575 main ()
8576 {
8577
8578   ;
8579   return 0;
8580 }
8581 _ACEOF
8582 if ac_fn_c_try_link "$LINENO"; then :
8583   lt_cv_ld_exported_symbols_list=yes
8584 else
8585   lt_cv_ld_exported_symbols_list=no
8586 fi
8587 rm -f core conftest.err conftest.$ac_objext \
8588     conftest$ac_exeext conftest.$ac_ext
8589         LDFLAGS=$save_LDFLAGS
8590     
8591 fi
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8593 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8594
8595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8596 $as_echo_n "checking for -force_load linker flag... " >&6; }
8597 if ${lt_cv_ld_force_load+:} false; then :
8598   $as_echo_n "(cached) " >&6
8599 else
8600   lt_cv_ld_force_load=no
8601       cat > conftest.c << _LT_EOF
8602 int forced_loaded() { return 2;}
8603 _LT_EOF
8604       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8605       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8606       echo "$AR cru libconftest.a conftest.o" >&5
8607       $AR cru libconftest.a conftest.o 2>&5
8608       echo "$RANLIB libconftest.a" >&5
8609       $RANLIB libconftest.a 2>&5
8610       cat > conftest.c << _LT_EOF
8611 int main() { return 0;}
8612 _LT_EOF
8613       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8614       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8615       _lt_result=$?
8616       if test -s conftest.err && $GREP force_load conftest.err; then
8617         cat conftest.err >&5
8618       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8619         lt_cv_ld_force_load=yes
8620       else
8621         cat conftest.err >&5
8622       fi
8623         rm -f conftest.err libconftest.a conftest conftest.c
8624         rm -rf conftest.dSYM
8625     
8626 fi
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8628 $as_echo "$lt_cv_ld_force_load" >&6; }
8629     case $host_os in
8630     rhapsody* | darwin1.[012])
8631       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8632     darwin1.*)
8633       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8634     darwin*) # darwin 5.x on
8635       # if running on 10.5 or later, the deployment target defaults
8636       # to the OS version, if on x86, and 10.4, the deployment
8637       # target defaults to 10.4. Don't you love it?
8638       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8639         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8640           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8641         10.[012][,.]*)
8642           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8643         10.*)
8644           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8645       esac
8646     ;;
8647   esac
8648     if test yes = "$lt_cv_apple_cc_single_mod"; then
8649       _lt_dar_single_mod='$single_module'
8650     fi
8651     if test yes = "$lt_cv_ld_exported_symbols_list"; then
8652       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8653     else
8654       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8655     fi
8656     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8657       _lt_dsymutil='~$DSYMUTIL $lib || :'
8658     else
8659       _lt_dsymutil=
8660     fi
8661     ;;
8662   esac
8663
8664 # func_munge_path_list VARIABLE PATH
8665 # -----------------------------------
8666 # VARIABLE is name of variable containing _space_ separated list of
8667 # directories to be munged by the contents of PATH, which is string
8668 # having a format:
8669 # "DIR[:DIR]:"
8670 #       string "DIR[ DIR]" will be prepended to VARIABLE
8671 # ":DIR[:DIR]"
8672 #       string "DIR[ DIR]" will be appended to VARIABLE
8673 # "DIRP[:DIRP]::[DIRA:]DIRA"
8674 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8675 #       "DIRA[ DIRA]" will be appended to VARIABLE
8676 # "DIR[:DIR]"
8677 #       VARIABLE will be replaced by "DIR[ DIR]"
8678 func_munge_path_list ()
8679 {
8680     case x@S|@2 in
8681     x)
8682         ;;
8683     *:)
8684         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
8685         ;;
8686     x:*)
8687         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
8688         ;;
8689     *::*)
8690         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8691         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
8692         ;;
8693     *)
8694         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
8695         ;;
8696     esac
8697 }
8698
8699 for ac_header in dlfcn.h
8700 do :
8701   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8702 "
8703 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8704   cat >>confdefs.h <<_ACEOF
8705 @%:@define HAVE_DLFCN_H 1
8706 _ACEOF
8707  
8708 fi
8709
8710 done
8711
8712
8713
8714
8715 func_stripname_cnf ()
8716 {
8717   case @S|@2 in
8718   .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
8719   *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
8720   esac
8721 } # func_stripname_cnf
8722
8723
8724
8725
8726
8727 # Set options
8728
8729
8730
8731         enable_dlopen=no
8732   
8733
8734   enable_win32_dll=no
8735   
8736
8737             @%:@ Check whether --enable-shared was given.
8738 if test "${enable_shared+set}" = set; then :
8739   enableval=$enable_shared; p=${PACKAGE-default}
8740     case $enableval in
8741     yes) enable_shared=yes ;;
8742     no) enable_shared=no ;;
8743     *)
8744       enable_shared=no
8745       # Look at the argument we got.  We use all the common list separators.
8746       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8747       for pkg in $enableval; do
8748         IFS=$lt_save_ifs
8749         if test "X$pkg" = "X$p"; then
8750           enable_shared=yes
8751         fi
8752       done
8753       IFS=$lt_save_ifs
8754       ;;
8755     esac
8756 else
8757   enable_shared=yes
8758 fi
8759
8760
8761     
8762     
8763     
8764     
8765
8766
8767
8768   @%:@ Check whether --enable-static was given.
8769 if test "${enable_static+set}" = set; then :
8770   enableval=$enable_static; p=${PACKAGE-default}
8771     case $enableval in
8772     yes) enable_static=yes ;;
8773     no) enable_static=no ;;
8774     *)
8775      enable_static=no
8776       # Look at the argument we got.  We use all the common list separators.
8777       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8778       for pkg in $enableval; do
8779         IFS=$lt_save_ifs
8780         if test "X$pkg" = "X$p"; then
8781           enable_static=yes
8782         fi
8783       done
8784       IFS=$lt_save_ifs
8785       ;;
8786     esac
8787 else
8788   enable_static=yes
8789 fi
8790
8791
8792     
8793     
8794     
8795     
8796
8797
8798
8799   
8800 @%:@ Check whether --with-pic was given.
8801 if test "${with_pic+set}" = set; then :
8802   withval=$with_pic; lt_p=${PACKAGE-default}
8803     case $withval in
8804     yes|no) pic_mode=$withval ;;
8805     *)
8806       pic_mode=default
8807       # Look at the argument we got.  We use all the common list separators.
8808       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8809       for lt_pkg in $withval; do
8810         IFS=$lt_save_ifs
8811         if test "X$lt_pkg" = "X$lt_p"; then
8812           pic_mode=yes
8813         fi
8814       done
8815       IFS=$lt_save_ifs
8816       ;;
8817     esac
8818 else
8819   pic_mode=default
8820 fi
8821
8822
8823
8824     
8825     
8826     
8827
8828
8829   @%:@ Check whether --enable-fast-install was given.
8830 if test "${enable_fast_install+set}" = set; then :
8831   enableval=$enable_fast_install; p=${PACKAGE-default}
8832     case $enableval in
8833     yes) enable_fast_install=yes ;;
8834     no) enable_fast_install=no ;;
8835     *)
8836       enable_fast_install=no
8837       # Look at the argument we got.  We use all the common list separators.
8838       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8839       for pkg in $enableval; do
8840         IFS=$lt_save_ifs
8841         if test "X$pkg" = "X$p"; then
8842           enable_fast_install=yes
8843         fi
8844       done
8845       IFS=$lt_save_ifs
8846       ;;
8847     esac
8848 else
8849   enable_fast_install=yes
8850 fi
8851
8852
8853
8854     
8855     
8856     
8857
8858
8859   shared_archive_member_spec=
8860 case $host,$enable_shared in
8861 power*-*-aix[5-9]*,yes)
8862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8863 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8864   
8865 @%:@ Check whether --with-aix-soname was given.
8866 if test "${with_aix_soname+set}" = set; then :
8867   withval=$with_aix_soname; case $withval in
8868     aix|svr4|both)
8869       ;;
8870     *)
8871       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8872       ;;
8873     esac
8874     lt_cv_with_aix_soname=$with_aix_soname
8875 else
8876   if ${lt_cv_with_aix_soname+:} false; then :
8877   $as_echo_n "(cached) " >&6
8878 else
8879   lt_cv_with_aix_soname=aix
8880 fi
8881
8882     with_aix_soname=$lt_cv_with_aix_soname
8883 fi
8884
8885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8886 $as_echo "$with_aix_soname" >&6; }
8887   if test aix != "$with_aix_soname"; then
8888     # For the AIX way of multilib, we name the shared archive member
8889     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8890     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8891     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8892     # the AIX toolchain works better with OBJECT_MODE set (default 32).
8893     if test 64 = "${OBJECT_MODE-32}"; then
8894       shared_archive_member_spec=shr_64
8895     else
8896       shared_archive_member_spec=shr
8897     fi
8898   fi
8899   ;;
8900 *)
8901   with_aix_soname=aix
8902   ;;
8903 esac
8904
8905
8906     
8907     
8908     
8909
8910
8911   
8912
8913
8914 # This can be used to rebuild libtool when needed
8915 LIBTOOL_DEPS=$ltmain
8916
8917 # Always use our own libtool.
8918 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8919
8920
8921
8922     
8923     
8924     
8925
8926     
8927     
8928     
8929
8930     
8931     
8932     
8933
8934     
8935     
8936     
8937
8938     
8939     
8940     
8941
8942     
8943     
8944     
8945
8946     
8947     
8948     
8949 test -z "$LN_S" && LN_S="ln -s"
8950
8951     
8952     
8953     
8954
8955     
8956     
8957     
8958
8959     
8960     
8961     
8962
8963
8964 if test -n "${ZSH_VERSION+set}"; then
8965    setopt NO_GLOB_SUBST
8966 fi
8967
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8969 $as_echo_n "checking for objdir... " >&6; }
8970 if ${lt_cv_objdir+:} false; then :
8971   $as_echo_n "(cached) " >&6
8972 else
8973   rm -f .libs 2>/dev/null
8974 mkdir .libs 2>/dev/null
8975 if test -d .libs; then
8976   lt_cv_objdir=.libs
8977 else
8978   # MS-DOS does not allow filenames that begin with a dot.
8979   lt_cv_objdir=_libs
8980 fi
8981 rmdir .libs 2>/dev/null
8982 fi
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8984 $as_echo "$lt_cv_objdir" >&6; }
8985 objdir=$lt_cv_objdir
8986
8987     
8988     
8989     
8990
8991 cat >>confdefs.h <<_ACEOF
8992 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8993 _ACEOF
8994
8995
8996
8997
8998 case $host_os in
8999 aix3*)
9000   # AIX sometimes has problems with the GCC collect2 program.  For some
9001   # reason, if we set the COLLECT_NAMES environment variable, the problems
9002   # vanish in a puff of smoke.
9003   if test set != "${COLLECT_NAMES+set}"; then
9004     COLLECT_NAMES=
9005     export COLLECT_NAMES
9006   fi
9007   ;;
9008 esac
9009
9010 # Global variables:
9011 ofile=libtool
9012 can_build_shared=yes
9013
9014 # All known linkers require a '.a' archive for static linking (except MSVC,
9015 # which needs '.lib').
9016 libext=a
9017
9018 with_gnu_ld=$lt_cv_prog_gnu_ld
9019
9020 old_CC=$CC
9021 old_CFLAGS=$CFLAGS
9022
9023 # Set sane defaults for various variables
9024 test -z "$CC" && CC=cc
9025 test -z "$LTCC" && LTCC=$CC
9026 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9027 test -z "$LD" && LD=ld
9028 test -z "$ac_objext" && ac_objext=o
9029
9030 func_cc_basename $compiler
9031 cc_basename=$func_cc_basename_result
9032
9033
9034 # Only perform the check for file, if the check method requires it
9035 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9036 case $deplibs_check_method in
9037 file_magic*)
9038   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9040 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9041 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9042   $as_echo_n "(cached) " >&6
9043 else
9044   case $MAGIC_CMD in
9045 [\\/*] |  ?:[\\/]*)
9046   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9047   ;;
9048 *)
9049   lt_save_MAGIC_CMD=$MAGIC_CMD
9050   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9051   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9052   for ac_dir in $ac_dummy; do
9053     IFS=$lt_save_ifs
9054     test -z "$ac_dir" && ac_dir=.
9055     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9056       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9057       if test -n "$file_magic_test_file"; then
9058         case $deplibs_check_method in
9059         "file_magic "*)
9060           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9061           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9062           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9063             $EGREP "$file_magic_regex" > /dev/null; then
9064             :
9065           else
9066             cat <<_LT_EOF 1>&2
9067
9068 *** Warning: the command libtool uses to detect shared libraries,
9069 *** $file_magic_cmd, produces output that libtool cannot recognize.
9070 *** The result is that libtool may fail to recognize shared libraries
9071 *** as such.  This will affect the creation of libtool libraries that
9072 *** depend on shared libraries, but programs linked with such libtool
9073 *** libraries will work regardless of this problem.  Nevertheless, you
9074 *** may want to report the problem to your system manager and/or to
9075 *** bug-libtool@gnu.org
9076
9077 _LT_EOF
9078           fi ;;
9079         esac
9080       fi
9081       break
9082     fi
9083   done
9084   IFS=$lt_save_ifs
9085   MAGIC_CMD=$lt_save_MAGIC_CMD
9086   ;;
9087 esac
9088 fi
9089
9090 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9091 if test -n "$MAGIC_CMD"; then
9092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9093 $as_echo "$MAGIC_CMD" >&6; }
9094 else
9095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9097 fi
9098
9099     
9100     
9101     
9102
9103 if test -z "$lt_cv_path_MAGIC_CMD"; then
9104   if test -n "$ac_tool_prefix"; then
9105     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9106 $as_echo_n "checking for file... " >&6; }
9107 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9108   $as_echo_n "(cached) " >&6
9109 else
9110   case $MAGIC_CMD in
9111 [\\/*] |  ?:[\\/]*)
9112   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9113   ;;
9114 *)
9115   lt_save_MAGIC_CMD=$MAGIC_CMD
9116   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9117   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9118   for ac_dir in $ac_dummy; do
9119     IFS=$lt_save_ifs
9120     test -z "$ac_dir" && ac_dir=.
9121     if test -f "$ac_dir/file"; then
9122       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9123       if test -n "$file_magic_test_file"; then
9124         case $deplibs_check_method in
9125         "file_magic "*)
9126           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9127           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9128           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9129             $EGREP "$file_magic_regex" > /dev/null; then
9130             :
9131           else
9132             cat <<_LT_EOF 1>&2
9133
9134 *** Warning: the command libtool uses to detect shared libraries,
9135 *** $file_magic_cmd, produces output that libtool cannot recognize.
9136 *** The result is that libtool may fail to recognize shared libraries
9137 *** as such.  This will affect the creation of libtool libraries that
9138 *** depend on shared libraries, but programs linked with such libtool
9139 *** libraries will work regardless of this problem.  Nevertheless, you
9140 *** may want to report the problem to your system manager and/or to
9141 *** bug-libtool@gnu.org
9142
9143 _LT_EOF
9144           fi ;;
9145         esac
9146       fi
9147       break
9148     fi
9149   done
9150   IFS=$lt_save_ifs
9151   MAGIC_CMD=$lt_save_MAGIC_CMD
9152   ;;
9153 esac
9154 fi
9155
9156 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9157 if test -n "$MAGIC_CMD"; then
9158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9159 $as_echo "$MAGIC_CMD" >&6; }
9160 else
9161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 $as_echo "no" >&6; }
9163 fi
9164
9165
9166   else
9167     MAGIC_CMD=:
9168   fi
9169 fi
9170
9171   fi
9172   ;;
9173 esac
9174
9175 # Use C for the default configuration in the libtool script
9176
9177 lt_save_CC=$CC
9178 ac_ext=c
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9183
9184
9185 # Source file extension for C test sources.
9186 ac_ext=c
9187
9188 # Object file extension for compiled C test sources.
9189 objext=o
9190 objext=$objext
9191
9192 # Code to be used in simple compile tests
9193 lt_simple_compile_test_code="int some_variable = 0;"
9194
9195 # Code to be used in simple link tests
9196 lt_simple_link_test_code='int main(){return(0);}'
9197
9198
9199
9200
9201
9202
9203
9204 # If no C compiler was specified, use CC.
9205 LTCC=${LTCC-"$CC"}
9206
9207 # If no C compiler flags were specified, use CFLAGS.
9208 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9209
9210 # Allow CC to be a program name with arguments.
9211 compiler=$CC
9212
9213 # Save the default compiler, since it gets overwritten when the other
9214 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9215 compiler_DEFAULT=$CC
9216
9217 # save warnings/boilerplate of simple test code
9218 ac_outfile=conftest.$ac_objext
9219 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9220 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9221 _lt_compiler_boilerplate=`cat conftest.err`
9222 $RM conftest*
9223
9224 ac_outfile=conftest.$ac_objext
9225 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9226 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9227 _lt_linker_boilerplate=`cat conftest.err`
9228 $RM -r conftest*
9229
9230
9231 ## CAVEAT EMPTOR:
9232 ## There is no encapsulation within the following macros, do not change
9233 ## the running order or otherwise move them around unless you know exactly
9234 ## what you are doing...
9235 if test -n "$compiler"; then
9236   
9237 lt_prog_compiler_no_builtin_flag=
9238
9239 if test yes = "$GCC"; then
9240   case $cc_basename in
9241   nvcc*)
9242     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9243   *)
9244     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9245   esac
9246
9247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9248 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9249 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9250   $as_echo_n "(cached) " >&6
9251 else
9252   lt_cv_prog_compiler_rtti_exceptions=no
9253    ac_outfile=conftest.$ac_objext
9254    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9255    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9256    # Insert the option either (1) after the last *FLAGS variable, or
9257    # (2) before a word containing "conftest.", or (3) at the end.
9258    # Note that $ac_compile itself does not contain backslashes and begins
9259    # with a dollar sign (not a hyphen), so the echo should work correctly.
9260    # The option is referenced via a variable to avoid confusing sed.
9261    lt_compile=`echo "$ac_compile" | $SED \
9262    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9263    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9264    -e 's:$: $lt_compiler_flag:'`
9265    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9266    (eval "$lt_compile" 2>conftest.err)
9267    ac_status=$?
9268    cat conftest.err >&5
9269    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270    if (exit $ac_status) && test -s "$ac_outfile"; then
9271      # The compiler can only warn and ignore the option if not recognized
9272      # So say no if there are warnings other than the usual output.
9273      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9274      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9275      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9276        lt_cv_prog_compiler_rtti_exceptions=yes
9277      fi
9278    fi
9279    $RM conftest*
9280
9281 fi
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9283 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9284
9285 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9286     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9287 else
9288     :
9289 fi
9290
9291 fi
9292
9293     
9294     
9295     
9296
9297
9298   lt_prog_compiler_wl=
9299 lt_prog_compiler_pic=
9300 lt_prog_compiler_static=
9301
9302
9303   if test yes = "$GCC"; then
9304     lt_prog_compiler_wl='-Wl,'
9305     lt_prog_compiler_static='-static'
9306
9307     case $host_os in
9308       aix*)
9309       # All AIX code is PIC.
9310       if test ia64 = "$host_cpu"; then
9311         # AIX 5 now supports IA64 processor
9312         lt_prog_compiler_static='-Bstatic'
9313       fi
9314       lt_prog_compiler_pic='-fPIC'
9315       ;;
9316
9317     amigaos*)
9318       case $host_cpu in
9319       powerpc)
9320             # see comment about AmigaOS4 .so support
9321             lt_prog_compiler_pic='-fPIC'
9322         ;;
9323       m68k)
9324             # FIXME: we need at least 68020 code to build shared libraries, but
9325             # adding the '-m68020' flag to GCC prevents building anything better,
9326             # like '-m68040'.
9327             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9328         ;;
9329       esac
9330       ;;
9331
9332     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9333       # PIC is the default for these OSes.
9334       ;;
9335
9336     mingw* | cygwin* | pw32* | os2* | cegcc*)
9337       # This hack is so that the source file can tell whether it is being
9338       # built for inclusion in a dll (and should export symbols for example).
9339       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9340       # (--disable-auto-import) libraries
9341       lt_prog_compiler_pic='-DDLL_EXPORT'
9342       case $host_os in
9343       os2*)
9344         lt_prog_compiler_static='$wl-static'
9345         ;;
9346       esac
9347       ;;
9348
9349     darwin* | rhapsody*)
9350       # PIC is the default on this platform
9351       # Common symbols not allowed in MH_DYLIB files
9352       lt_prog_compiler_pic='-fno-common'
9353       ;;
9354
9355     haiku*)
9356       # PIC is the default for Haiku.
9357       # The "-static" flag exists, but is broken.
9358       lt_prog_compiler_static=
9359       ;;
9360
9361     hpux*)
9362       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9363       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9364       # sets the default TLS model and affects inlining.
9365       case $host_cpu in
9366       hppa*64*)
9367         # +Z the default
9368         ;;
9369       *)
9370         lt_prog_compiler_pic='-fPIC'
9371         ;;
9372       esac
9373       ;;
9374
9375     interix[3-9]*)
9376       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9377       # Instead, we relocate shared libraries at runtime.
9378       ;;
9379
9380     msdosdjgpp*)
9381       # Just because we use GCC doesn't mean we suddenly get shared libraries
9382       # on systems that don't support them.
9383       lt_prog_compiler_can_build_shared=no
9384       enable_shared=no
9385       ;;
9386
9387     *nto* | *qnx*)
9388       # QNX uses GNU C++, but need to define -shared option too, otherwise
9389       # it will coredump.
9390       lt_prog_compiler_pic='-fPIC -shared'
9391       ;;
9392
9393     sysv4*MP*)
9394       if test -d /usr/nec; then
9395         lt_prog_compiler_pic=-Kconform_pic
9396       fi
9397       ;;
9398
9399     *)
9400       lt_prog_compiler_pic='-fPIC'
9401       ;;
9402     esac
9403
9404     case $cc_basename in
9405     nvcc*) # Cuda Compiler Driver 2.2
9406       lt_prog_compiler_wl='-Xlinker '
9407       if test -n "$lt_prog_compiler_pic"; then
9408         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9409       fi
9410       ;;
9411     esac
9412   else
9413     # PORTME Check for flag to pass linker flags through the system compiler.
9414     case $host_os in
9415     aix*)
9416       lt_prog_compiler_wl='-Wl,'
9417       if test ia64 = "$host_cpu"; then
9418         # AIX 5 now supports IA64 processor
9419         lt_prog_compiler_static='-Bstatic'
9420       else
9421         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9422       fi
9423       ;;
9424
9425     darwin* | rhapsody*)
9426       # PIC is the default on this platform
9427       # Common symbols not allowed in MH_DYLIB files
9428       lt_prog_compiler_pic='-fno-common'
9429       case $cc_basename in
9430       nagfor*)
9431         # NAG Fortran compiler
9432         lt_prog_compiler_wl='-Wl,-Wl,,'
9433         lt_prog_compiler_pic='-PIC'
9434         lt_prog_compiler_static='-Bstatic'
9435         ;;
9436       esac
9437       ;;
9438
9439     mingw* | cygwin* | pw32* | os2* | cegcc*)
9440       # This hack is so that the source file can tell whether it is being
9441       # built for inclusion in a dll (and should export symbols for example).
9442       lt_prog_compiler_pic='-DDLL_EXPORT'
9443       case $host_os in
9444       os2*)
9445         lt_prog_compiler_static='$wl-static'
9446         ;;
9447       esac
9448       ;;
9449
9450     hpux9* | hpux10* | hpux11*)
9451       lt_prog_compiler_wl='-Wl,'
9452       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9453       # not for PA HP-UX.
9454       case $host_cpu in
9455       hppa*64*|ia64*)
9456         # +Z the default
9457         ;;
9458       *)
9459         lt_prog_compiler_pic='+Z'
9460         ;;
9461       esac
9462       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9463       lt_prog_compiler_static='$wl-a ${wl}archive'
9464       ;;
9465
9466     irix5* | irix6* | nonstopux*)
9467       lt_prog_compiler_wl='-Wl,'
9468       # PIC (with -KPIC) is the default.
9469       lt_prog_compiler_static='-non_shared'
9470       ;;
9471
9472     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9473       case $cc_basename in
9474       # old Intel for x86_64, which still supported -KPIC.
9475       ecc*)
9476         lt_prog_compiler_wl='-Wl,'
9477         lt_prog_compiler_pic='-KPIC'
9478         lt_prog_compiler_static='-static'
9479         ;;
9480       # icc used to be incompatible with GCC.
9481       # ICC 10 doesn't accept -KPIC any more.
9482       icc* | ifort*)
9483         lt_prog_compiler_wl='-Wl,'
9484         lt_prog_compiler_pic='-fPIC'
9485         lt_prog_compiler_static='-static'
9486         ;;
9487       # Lahey Fortran 8.1.
9488       lf95*)
9489         lt_prog_compiler_wl='-Wl,'
9490         lt_prog_compiler_pic='--shared'
9491         lt_prog_compiler_static='--static'
9492         ;;
9493       nagfor*)
9494         # NAG Fortran compiler
9495         lt_prog_compiler_wl='-Wl,-Wl,,'
9496         lt_prog_compiler_pic='-PIC'
9497         lt_prog_compiler_static='-Bstatic'
9498         ;;
9499       tcc*)
9500         # Fabrice Bellard et al's Tiny C Compiler
9501         lt_prog_compiler_wl='-Wl,'
9502         lt_prog_compiler_pic='-fPIC'
9503         lt_prog_compiler_static='-static'
9504         ;;
9505       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9506         # Portland Group compilers (*not* the Pentium gcc compiler,
9507         # which looks to be a dead project)
9508         lt_prog_compiler_wl='-Wl,'
9509         lt_prog_compiler_pic='-fpic'
9510         lt_prog_compiler_static='-Bstatic'
9511         ;;
9512       ccc*)
9513         lt_prog_compiler_wl='-Wl,'
9514         # All Alpha code is PIC.
9515         lt_prog_compiler_static='-non_shared'
9516         ;;
9517       xl* | bgxl* | bgf* | mpixl*)
9518         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9519         lt_prog_compiler_wl='-Wl,'
9520         lt_prog_compiler_pic='-qpic'
9521         lt_prog_compiler_static='-qstaticlink'
9522         ;;
9523       *)
9524         case `$CC -V 2>&1 | sed 5q` in
9525         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9526           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9527           lt_prog_compiler_pic='-KPIC'
9528           lt_prog_compiler_static='-Bstatic'
9529           lt_prog_compiler_wl=''
9530           ;;
9531         *Sun\ F* | *Sun*Fortran*)
9532           lt_prog_compiler_pic='-KPIC'
9533           lt_prog_compiler_static='-Bstatic'
9534           lt_prog_compiler_wl='-Qoption ld '
9535           ;;
9536         *Sun\ C*)
9537           # Sun C 5.9
9538           lt_prog_compiler_pic='-KPIC'
9539           lt_prog_compiler_static='-Bstatic'
9540           lt_prog_compiler_wl='-Wl,'
9541           ;;
9542         *Intel*\ [CF]*Compiler*)
9543           lt_prog_compiler_wl='-Wl,'
9544           lt_prog_compiler_pic='-fPIC'
9545           lt_prog_compiler_static='-static'
9546           ;;
9547         *Portland\ Group*)
9548           lt_prog_compiler_wl='-Wl,'
9549           lt_prog_compiler_pic='-fpic'
9550           lt_prog_compiler_static='-Bstatic'
9551           ;;
9552         esac
9553         ;;
9554       esac
9555       ;;
9556
9557     newsos6)
9558       lt_prog_compiler_pic='-KPIC'
9559       lt_prog_compiler_static='-Bstatic'
9560       ;;
9561
9562     *nto* | *qnx*)
9563       # QNX uses GNU C++, but need to define -shared option too, otherwise
9564       # it will coredump.
9565       lt_prog_compiler_pic='-fPIC -shared'
9566       ;;
9567
9568     osf3* | osf4* | osf5*)
9569       lt_prog_compiler_wl='-Wl,'
9570       # All OSF/1 code is PIC.
9571       lt_prog_compiler_static='-non_shared'
9572       ;;
9573
9574     rdos*)
9575       lt_prog_compiler_static='-non_shared'
9576       ;;
9577
9578     solaris*)
9579       lt_prog_compiler_pic='-KPIC'
9580       lt_prog_compiler_static='-Bstatic'
9581       case $cc_basename in
9582       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9583         lt_prog_compiler_wl='-Qoption ld ';;
9584       *)
9585         lt_prog_compiler_wl='-Wl,';;
9586       esac
9587       ;;
9588
9589     sunos4*)
9590       lt_prog_compiler_wl='-Qoption ld '
9591       lt_prog_compiler_pic='-PIC'
9592       lt_prog_compiler_static='-Bstatic'
9593       ;;
9594
9595     sysv4 | sysv4.2uw2* | sysv4.3*)
9596       lt_prog_compiler_wl='-Wl,'
9597       lt_prog_compiler_pic='-KPIC'
9598       lt_prog_compiler_static='-Bstatic'
9599       ;;
9600
9601     sysv4*MP*)
9602       if test -d /usr/nec; then
9603         lt_prog_compiler_pic='-Kconform_pic'
9604         lt_prog_compiler_static='-Bstatic'
9605       fi
9606       ;;
9607
9608     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9609       lt_prog_compiler_wl='-Wl,'
9610       lt_prog_compiler_pic='-KPIC'
9611       lt_prog_compiler_static='-Bstatic'
9612       ;;
9613
9614     unicos*)
9615       lt_prog_compiler_wl='-Wl,'
9616       lt_prog_compiler_can_build_shared=no
9617       ;;
9618
9619     uts4*)
9620       lt_prog_compiler_pic='-pic'
9621       lt_prog_compiler_static='-Bstatic'
9622       ;;
9623
9624     *)
9625       lt_prog_compiler_can_build_shared=no
9626       ;;
9627     esac
9628   fi
9629
9630 case $host_os in
9631   # For platforms that do not support PIC, -DPIC is meaningless:
9632   *djgpp*)
9633     lt_prog_compiler_pic=
9634     ;;
9635   *)
9636     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9637     ;;
9638 esac
9639
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9641 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9642 if ${lt_cv_prog_compiler_pic+:} false; then :
9643   $as_echo_n "(cached) " >&6
9644 else
9645   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9646 fi
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9648 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9649 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9650
9651 #
9652 # Check to make sure the PIC flag actually works.
9653 #
9654 if test -n "$lt_prog_compiler_pic"; then
9655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9657 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9658   $as_echo_n "(cached) " >&6
9659 else
9660   lt_cv_prog_compiler_pic_works=no
9661    ac_outfile=conftest.$ac_objext
9662    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9663    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9664    # Insert the option either (1) after the last *FLAGS variable, or
9665    # (2) before a word containing "conftest.", or (3) at the end.
9666    # Note that $ac_compile itself does not contain backslashes and begins
9667    # with a dollar sign (not a hyphen), so the echo should work correctly.
9668    # The option is referenced via a variable to avoid confusing sed.
9669    lt_compile=`echo "$ac_compile" | $SED \
9670    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9671    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9672    -e 's:$: $lt_compiler_flag:'`
9673    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9674    (eval "$lt_compile" 2>conftest.err)
9675    ac_status=$?
9676    cat conftest.err >&5
9677    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678    if (exit $ac_status) && test -s "$ac_outfile"; then
9679      # The compiler can only warn and ignore the option if not recognized
9680      # So say no if there are warnings other than the usual output.
9681      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9682      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9683      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9684        lt_cv_prog_compiler_pic_works=yes
9685      fi
9686    fi
9687    $RM conftest*
9688
9689 fi
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9691 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9692
9693 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9694     case $lt_prog_compiler_pic in
9695      "" | " "*) ;;
9696      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9697      esac
9698 else
9699     lt_prog_compiler_pic=
9700      lt_prog_compiler_can_build_shared=no
9701 fi
9702
9703 fi
9704
9705     
9706     
9707     
9708
9709
9710
9711     
9712     
9713     
9714
9715 #
9716 # Check to make sure the static flag actually works.
9717 #
9718 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9720 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9721 if ${lt_cv_prog_compiler_static_works+:} false; then :
9722   $as_echo_n "(cached) " >&6
9723 else
9724   lt_cv_prog_compiler_static_works=no
9725    save_LDFLAGS=$LDFLAGS
9726    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9727    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9728    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9729      # The linker can only warn and ignore the option if not recognized
9730      # So say no if there are warnings
9731      if test -s conftest.err; then
9732        # Append any errors to the config.log.
9733        cat conftest.err 1>&5
9734        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9735        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9736        if diff conftest.exp conftest.er2 >/dev/null; then
9737          lt_cv_prog_compiler_static_works=yes
9738        fi
9739      else
9740        lt_cv_prog_compiler_static_works=yes
9741      fi
9742    fi
9743    $RM -r conftest*
9744    LDFLAGS=$save_LDFLAGS
9745
9746 fi
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9748 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9749
9750 if test yes = "$lt_cv_prog_compiler_static_works"; then
9751     :
9752 else
9753     lt_prog_compiler_static=
9754 fi
9755
9756
9757     
9758     
9759     
9760
9761
9762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9764 if ${lt_cv_prog_compiler_c_o+:} false; then :
9765   $as_echo_n "(cached) " >&6
9766 else
9767   lt_cv_prog_compiler_c_o=no
9768    $RM -r conftest 2>/dev/null
9769    mkdir conftest
9770    cd conftest
9771    mkdir out
9772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9773
9774    lt_compiler_flag="-o out/conftest2.$ac_objext"
9775    # Insert the option either (1) after the last *FLAGS variable, or
9776    # (2) before a word containing "conftest.", or (3) at the end.
9777    # Note that $ac_compile itself does not contain backslashes and begins
9778    # with a dollar sign (not a hyphen), so the echo should work correctly.
9779    lt_compile=`echo "$ac_compile" | $SED \
9780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9782    -e 's:$: $lt_compiler_flag:'`
9783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9784    (eval "$lt_compile" 2>out/conftest.err)
9785    ac_status=$?
9786    cat out/conftest.err >&5
9787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9789    then
9790      # The compiler can only warn and ignore the option if not recognized
9791      # So say no if there are warnings
9792      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9795        lt_cv_prog_compiler_c_o=yes
9796      fi
9797    fi
9798    chmod u+w . 2>&5
9799    $RM conftest*
9800    # SGI C++ compiler will create directory out/ii_files/ for
9801    # template instantiation
9802    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9803    $RM out/* && rmdir out
9804    cd ..
9805    $RM -r conftest
9806    $RM conftest*
9807
9808 fi
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9810 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9811
9812     
9813     
9814     
9815
9816
9817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9818 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9819 if ${lt_cv_prog_compiler_c_o+:} false; then :
9820   $as_echo_n "(cached) " >&6
9821 else
9822   lt_cv_prog_compiler_c_o=no
9823    $RM -r conftest 2>/dev/null
9824    mkdir conftest
9825    cd conftest
9826    mkdir out
9827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9828
9829    lt_compiler_flag="-o out/conftest2.$ac_objext"
9830    # Insert the option either (1) after the last *FLAGS variable, or
9831    # (2) before a word containing "conftest.", or (3) at the end.
9832    # Note that $ac_compile itself does not contain backslashes and begins
9833    # with a dollar sign (not a hyphen), so the echo should work correctly.
9834    lt_compile=`echo "$ac_compile" | $SED \
9835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9837    -e 's:$: $lt_compiler_flag:'`
9838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9839    (eval "$lt_compile" 2>out/conftest.err)
9840    ac_status=$?
9841    cat out/conftest.err >&5
9842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9844    then
9845      # The compiler can only warn and ignore the option if not recognized
9846      # So say no if there are warnings
9847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9850        lt_cv_prog_compiler_c_o=yes
9851      fi
9852    fi
9853    chmod u+w . 2>&5
9854    $RM conftest*
9855    # SGI C++ compiler will create directory out/ii_files/ for
9856    # template instantiation
9857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9858    $RM out/* && rmdir out
9859    cd ..
9860    $RM -r conftest
9861    $RM conftest*
9862
9863 fi
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9865 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9866
9867
9868
9869
9870 hard_links=nottested
9871 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9872   # do not overwrite the value of need_locks provided by the user
9873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9874 $as_echo_n "checking if we can lock with hard links... " >&6; }
9875   hard_links=yes
9876   $RM conftest*
9877   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9878   touch conftest.a
9879   ln conftest.a conftest.b 2>&5 || hard_links=no
9880   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9882 $as_echo "$hard_links" >&6; }
9883   if test no = "$hard_links"; then
9884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9885 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9886     need_locks=warn
9887   fi
9888 else
9889   need_locks=no
9890 fi
9891
9892     
9893     
9894     
9895
9896
9897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9898 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9899
9900   runpath_var=
9901   allow_undefined_flag=
9902   always_export_symbols=no
9903   archive_cmds=
9904   archive_expsym_cmds=
9905   compiler_needs_object=no
9906   enable_shared_with_static_runtimes=no
9907   export_dynamic_flag_spec=
9908   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9909   hardcode_automatic=no
9910   hardcode_direct=no
9911   hardcode_direct_absolute=no
9912   hardcode_libdir_flag_spec=
9913   hardcode_libdir_separator=
9914   hardcode_minus_L=no
9915   hardcode_shlibpath_var=unsupported
9916   inherit_rpath=no
9917   link_all_deplibs=unknown
9918   module_cmds=
9919   module_expsym_cmds=
9920   old_archive_from_new_cmds=
9921   old_archive_from_expsyms_cmds=
9922   thread_safe_flag_spec=
9923   whole_archive_flag_spec=
9924   # include_expsyms should be a list of space-separated symbols to be *always*
9925   # included in the symbol list
9926   include_expsyms=
9927   # exclude_expsyms can be an extended regexp of symbols to exclude
9928   # it will be wrapped by ' (' and ')$', so one must not match beginning or
9929   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9930   # as well as any symbol that contains 'd'.
9931   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9932   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9933   # platforms (ab)use it in PIC code, but their linkers get confused if
9934   # the symbol is explicitly referenced.  Since portable code cannot
9935   # rely on this symbol name, it's probably fine to never include it in
9936   # preloaded symbol tables.
9937   # Exclude shared library initialization/finalization symbols.
9938   extract_expsyms_cmds=
9939
9940   case $host_os in
9941   cygwin* | mingw* | pw32* | cegcc*)
9942     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9943     # When not using gcc, we currently assume that we are using
9944     # Microsoft Visual C++.
9945     if test yes != "$GCC"; then
9946       with_gnu_ld=no
9947     fi
9948     ;;
9949   interix*)
9950     # we just hope/assume this is gcc and not c89 (= MSVC++)
9951     with_gnu_ld=yes
9952     ;;
9953   openbsd* | bitrig*)
9954     with_gnu_ld=no
9955     ;;
9956   linux* | k*bsd*-gnu | gnu*)
9957     link_all_deplibs=no
9958     ;;
9959   esac
9960
9961   ld_shlibs=yes
9962
9963   # On some targets, GNU ld is compatible enough with the native linker
9964   # that we're better off using the native interface for both.
9965   lt_use_gnu_ld_interface=no
9966   if test yes = "$with_gnu_ld"; then
9967     case $host_os in
9968       aix*)
9969         # The AIX port of GNU ld has always aspired to compatibility
9970         # with the native linker.  However, as the warning in the GNU ld
9971         # block says, versions before 2.19.5* couldn't really create working
9972         # shared libraries, regardless of the interface used.
9973         case `$LD -v 2>&1` in
9974           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9975           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9976           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9977           *)
9978             lt_use_gnu_ld_interface=yes
9979             ;;
9980         esac
9981         ;;
9982       *)
9983         lt_use_gnu_ld_interface=yes
9984         ;;
9985     esac
9986   fi
9987
9988   if test yes = "$lt_use_gnu_ld_interface"; then
9989     # If archive_cmds runs LD, not CC, wlarc should be empty
9990     wlarc='$wl'
9991
9992     # Set some defaults for GNU ld with shared library support. These
9993     # are reset later if shared libraries are not supported. Putting them
9994     # here allows them to be overridden if necessary.
9995     runpath_var=LD_RUN_PATH
9996     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9997     export_dynamic_flag_spec='$wl--export-dynamic'
9998     # ancient GNU ld didn't support --whole-archive et. al.
9999     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10000       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10001     else
10002       whole_archive_flag_spec=
10003     fi
10004     supports_anon_versioning=no
10005     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10006       *GNU\ gold*) supports_anon_versioning=yes ;;
10007       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10008       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10009       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10010       *\ 2.11.*) ;; # other 2.11 versions
10011       *) supports_anon_versioning=yes ;;
10012     esac
10013
10014     # See if GNU ld supports shared libraries.
10015     case $host_os in
10016     aix[3-9]*)
10017       # On AIX/PPC, the GNU linker is very broken
10018       if test ia64 != "$host_cpu"; then
10019         ld_shlibs=no
10020         cat <<_LT_EOF 1>&2
10021
10022 *** Warning: the GNU linker, at least up to release 2.19, is reported
10023 *** to be unable to reliably create shared libraries on AIX.
10024 *** Therefore, libtool is disabling shared libraries support.  If you
10025 *** really care for shared libraries, you may want to install binutils
10026 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10027 *** You will then need to restart the configuration process.
10028
10029 _LT_EOF
10030       fi
10031       ;;
10032
10033     amigaos*)
10034       case $host_cpu in
10035       powerpc)
10036             # see comment about AmigaOS4 .so support
10037             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10038             archive_expsym_cmds=''
10039         ;;
10040       m68k)
10041             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)'
10042             hardcode_libdir_flag_spec='-L$libdir'
10043             hardcode_minus_L=yes
10044         ;;
10045       esac
10046       ;;
10047
10048     beos*)
10049       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10050         allow_undefined_flag=unsupported
10051         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10052         # support --undefined.  This deserves some investigation.  FIXME
10053         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10054       else
10055         ld_shlibs=no
10056       fi
10057       ;;
10058
10059     cygwin* | mingw* | pw32* | cegcc*)
10060       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10061       # as there is no search path for DLLs.
10062       hardcode_libdir_flag_spec='-L$libdir'
10063       export_dynamic_flag_spec='$wl--export-all-symbols'
10064       allow_undefined_flag=unsupported
10065       always_export_symbols=no
10066       enable_shared_with_static_runtimes=yes
10067       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'
10068       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10069
10070       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10071         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10072         # If the export-symbols file already is a .def file, use it as
10073         # is; otherwise, prepend EXPORTS...
10074         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10075           cp $export_symbols $output_objdir/$soname.def;
10076         else
10077           echo EXPORTS > $output_objdir/$soname.def;
10078           cat $export_symbols >> $output_objdir/$soname.def;
10079         fi~
10080         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10081       else
10082         ld_shlibs=no
10083       fi
10084       ;;
10085
10086     haiku*)
10087       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10088       link_all_deplibs=yes
10089       ;;
10090
10091     os2*)
10092       hardcode_libdir_flag_spec='-L$libdir'
10093       hardcode_minus_L=yes
10094       allow_undefined_flag=unsupported
10095       shrext_cmds=.dll
10096       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10097         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10098         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10099         $ECHO EXPORTS >> $output_objdir/$libname.def~
10100         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10101         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10102         emximp -o $lib $output_objdir/$libname.def'
10103       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10104         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10105         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10106         $ECHO EXPORTS >> $output_objdir/$libname.def~
10107         prefix_cmds="$SED"~
10108         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10109           prefix_cmds="$prefix_cmds -e 1d";
10110         fi~
10111         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10112         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10113         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10114         emximp -o $lib $output_objdir/$libname.def'
10115       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10116       enable_shared_with_static_runtimes=yes
10117       ;;
10118
10119     interix[3-9]*)
10120       hardcode_direct=no
10121       hardcode_shlibpath_var=no
10122       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10123       export_dynamic_flag_spec='$wl-E'
10124       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10125       # Instead, shared libraries are loaded at an image base (0x10000000 by
10126       # default) and relocated if they conflict, which is a slow very memory
10127       # consuming and fragmenting process.  To avoid this, we pick a random,
10128       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10129       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10130       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10131       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'
10132       ;;
10133
10134     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10135       tmp_diet=no
10136       if test linux-dietlibc = "$host_os"; then
10137         case $cc_basename in
10138           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10139         esac
10140       fi
10141       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10142          && test no = "$tmp_diet"
10143       then
10144         tmp_addflag=' $pic_flag'
10145         tmp_sharedflag='-shared'
10146         case $cc_basename,$host_cpu in
10147         pgcc*)                          # Portland Group C compiler
10148           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'
10149           tmp_addflag=' $pic_flag'
10150           ;;
10151         pgf77* | pgf90* | pgf95* | pgfortran*)
10152                                         # Portland Group f77 and f90 compilers
10153           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'
10154           tmp_addflag=' $pic_flag -Mnomain' ;;
10155         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10156           tmp_addflag=' -i_dynamic' ;;
10157         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10158           tmp_addflag=' -i_dynamic -nofor_main' ;;
10159         ifc* | ifort*)                  # Intel Fortran compiler
10160           tmp_addflag=' -nofor_main' ;;
10161         lf95*)                          # Lahey Fortran 8.1
10162           whole_archive_flag_spec=
10163           tmp_sharedflag='--shared' ;;
10164         nagfor*)                        # NAGFOR 5.3
10165           tmp_sharedflag='-Wl,-shared' ;;
10166         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10167           tmp_sharedflag='-qmkshrobj'
10168           tmp_addflag= ;;
10169         nvcc*)  # Cuda Compiler Driver 2.2
10170           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'
10171           compiler_needs_object=yes
10172           ;;
10173         esac
10174         case `$CC -V 2>&1 | sed 5q` in
10175         *Sun\ C*)                       # Sun C 5.9
10176           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'
10177           compiler_needs_object=yes
10178           tmp_sharedflag='-G' ;;
10179         *Sun\ F*)                       # Sun Fortran 8.3
10180           tmp_sharedflag='-G' ;;
10181         esac
10182         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10183
10184         if test yes = "$supports_anon_versioning"; then
10185           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10186             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10187             echo "local: *; };" >> $output_objdir/$libname.ver~
10188             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10189         fi
10190
10191         case $cc_basename in
10192         tcc*)
10193           export_dynamic_flag_spec='-rdynamic'
10194           ;;
10195         xlf* | bgf* | bgxlf* | mpixlf*)
10196           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10197           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10198           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10199           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10200           if test yes = "$supports_anon_versioning"; then
10201             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10202               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10203               echo "local: *; };" >> $output_objdir/$libname.ver~
10204               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10205           fi
10206           ;;
10207         esac
10208       else
10209         ld_shlibs=no
10210       fi
10211       ;;
10212
10213     netbsd* | netbsdelf*-gnu)
10214       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10215         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10216         wlarc=
10217       else
10218         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10220       fi
10221       ;;
10222
10223     solaris*)
10224       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10225         ld_shlibs=no
10226         cat <<_LT_EOF 1>&2
10227
10228 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10229 *** create shared libraries on Solaris systems.  Therefore, libtool
10230 *** is disabling shared libraries support.  We urge you to upgrade GNU
10231 *** binutils to release 2.9.1 or newer.  Another option is to modify
10232 *** your PATH or compiler configuration so that the native linker is
10233 *** used, and then restart.
10234
10235 _LT_EOF
10236       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10237         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10238         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10239       else
10240         ld_shlibs=no
10241       fi
10242       ;;
10243
10244     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10245       case `$LD -v 2>&1` in
10246         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10247         ld_shlibs=no
10248         cat <<_LT_EOF 1>&2
10249
10250 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10251 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10252 *** is disabling shared libraries support.  We urge you to upgrade GNU
10253 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10254 *** your PATH or compiler configuration so that the native linker is
10255 *** used, and then restart.
10256
10257 _LT_EOF
10258         ;;
10259         *)
10260           # For security reasons, it is highly recommended that you always
10261           # use absolute paths for naming shared libraries, and exclude the
10262           # DT_RUNPATH tag from executables and libraries.  But doing so
10263           # requires that you compile everything twice, which is a pain.
10264           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10265             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10266             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10267             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10268           else
10269             ld_shlibs=no
10270           fi
10271         ;;
10272       esac
10273       ;;
10274
10275     sunos4*)
10276       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10277       wlarc=
10278       hardcode_direct=yes
10279       hardcode_shlibpath_var=no
10280       ;;
10281
10282     *)
10283       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10284         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10285         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10286       else
10287         ld_shlibs=no
10288       fi
10289       ;;
10290     esac
10291
10292     if test no = "$ld_shlibs"; then
10293       runpath_var=
10294       hardcode_libdir_flag_spec=
10295       export_dynamic_flag_spec=
10296       whole_archive_flag_spec=
10297     fi
10298   else
10299     # PORTME fill in a description of your system's linker (not GNU ld)
10300     case $host_os in
10301     aix3*)
10302       allow_undefined_flag=unsupported
10303       always_export_symbols=yes
10304       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'
10305       # Note: this linker hardcodes the directories in LIBPATH if there
10306       # are no directories specified by -L.
10307       hardcode_minus_L=yes
10308       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10309         # Neither direct hardcoding nor static linking is supported with a
10310         # broken collect2.
10311         hardcode_direct=unsupported
10312       fi
10313       ;;
10314
10315     aix[4-9]*)
10316       if test ia64 = "$host_cpu"; then
10317         # On IA64, the linker does run time linking by default, so we don't
10318         # have to do anything special.
10319         aix_use_runtimelinking=no
10320         exp_sym_flag='-Bexport'
10321         no_entry_flag=
10322       else
10323         # If we're using GNU nm, then we don't want the "-C" option.
10324         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10325         # Without the "-l" option, or with the "-B" option, AIX nm treats
10326         # weak defined symbols like other global defined symbols, whereas
10327         # GNU nm marks them as "W".
10328         # While the 'weak' keyword is ignored in the Export File, we need
10329         # it in the Import File for the 'aix-soname' feature, so we have
10330         # to replace the "-B" option with "-P" for AIX nm.
10331         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10332           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'
10333         else
10334           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'
10335         fi
10336         aix_use_runtimelinking=no
10337
10338         # Test if we are trying to use run time linking or normal
10339         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10340         # have runtime linking enabled, and use it for executables.
10341         # For shared libraries, we enable/disable runtime linking
10342         # depending on the kind of the shared library created -
10343         # when "with_aix_soname,aix_use_runtimelinking" is:
10344         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10345         # "aix,yes"  lib.so          shared, rtl:yes, for executables
10346         #            lib.a           static archive
10347         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
10348         #            lib.a(lib.so.V) shared, rtl:no,  for executables
10349         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10350         #            lib.a(lib.so.V) shared, rtl:no
10351         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10352         #            lib.a           static archive
10353         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10354           for ld_flag in $LDFLAGS; do
10355           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10356             aix_use_runtimelinking=yes
10357             break
10358           fi
10359           done
10360           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10361             # With aix-soname=svr4, we create the lib.so.V shared archives only,
10362             # so we don't have lib.a shared libs to link our executables.
10363             # We have to force runtime linking in this case.
10364             aix_use_runtimelinking=yes
10365             LDFLAGS="$LDFLAGS -Wl,-brtl"
10366           fi
10367           ;;
10368         esac
10369
10370         exp_sym_flag='-bexport'
10371         no_entry_flag='-bnoentry'
10372       fi
10373
10374       # When large executables or shared objects are built, AIX ld can
10375       # have problems creating the table of contents.  If linking a library
10376       # or program results in "error TOC overflow" add -mminimal-toc to
10377       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10378       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10379
10380       archive_cmds=''
10381       hardcode_direct=yes
10382       hardcode_direct_absolute=yes
10383       hardcode_libdir_separator=':'
10384       link_all_deplibs=yes
10385       file_list_spec='$wl-f,'
10386       case $with_aix_soname,$aix_use_runtimelinking in
10387       aix,*) ;; # traditional, no import file
10388       svr4,* | *,yes) # use import file
10389         # The Import File defines what to hardcode.
10390         hardcode_direct=no
10391         hardcode_direct_absolute=no
10392         ;;
10393       esac
10394
10395       if test yes = "$GCC"; then
10396         case $host_os in aix4.[012]|aix4.[012].*)
10397         # We only want to do this on AIX 4.2 and lower, the check
10398         # below for broken collect2 doesn't work under 4.3+
10399           collect2name=`$CC -print-prog-name=collect2`
10400           if test -f "$collect2name" &&
10401            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10402           then
10403           # We have reworked collect2
10404           :
10405           else
10406           # We have old collect2
10407           hardcode_direct=unsupported
10408           # It fails to find uninstalled libraries when the uninstalled
10409           # path is not listed in the libpath.  Setting hardcode_minus_L
10410           # to unsupported forces relinking
10411           hardcode_minus_L=yes
10412           hardcode_libdir_flag_spec='-L$libdir'
10413           hardcode_libdir_separator=
10414           fi
10415           ;;
10416         esac
10417         shared_flag='-shared'
10418         if test yes = "$aix_use_runtimelinking"; then
10419           shared_flag="$shared_flag "'$wl-G'
10420         fi
10421         # Need to ensure runtime linking is disabled for the traditional
10422         # shared library, or the linker may eventually find shared libraries
10423         # /with/ Import File - we do not want to mix them.
10424         shared_flag_aix='-shared'
10425         shared_flag_svr4='-shared $wl-G'
10426       else
10427         # not using gcc
10428         if test ia64 = "$host_cpu"; then
10429         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10430         # chokes on -Wl,-G. The following line is correct:
10431           shared_flag='-G'
10432         else
10433           if test yes = "$aix_use_runtimelinking"; then
10434             shared_flag='$wl-G'
10435           else
10436             shared_flag='$wl-bM:SRE'
10437           fi
10438           shared_flag_aix='$wl-bM:SRE'
10439           shared_flag_svr4='$wl-G'
10440         fi
10441       fi
10442
10443       export_dynamic_flag_spec='$wl-bexpall'
10444       # It seems that -bexpall does not export symbols beginning with
10445       # underscore (_), so it is better to generate a list of symbols to export.
10446       always_export_symbols=yes
10447       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10448         # Warning - without using the other runtime loading flags (-brtl),
10449         # -berok will link without error, but may produce a broken library.
10450         allow_undefined_flag='-berok'
10451         # Determine the default libpath from the value encoded in an
10452         # empty executable.
10453         if test set = "${lt_cv_aix_libpath+set}"; then
10454   aix_libpath=$lt_cv_aix_libpath
10455 else
10456   if ${lt_cv_aix_libpath_+:} false; then :
10457   $as_echo_n "(cached) " >&6
10458 else
10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h.  */
10461
10462 int
10463 main ()
10464 {
10465
10466   ;
10467   return 0;
10468 }
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471   
10472   lt_aix_libpath_sed='
10473       /Import File Strings/,/^$/ {
10474           /^0/ {
10475               s/^0  *\([^ ]*\) *$/\1/
10476               p
10477           }
10478       }'
10479   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10480   # Check for a 64-bit object if we didn't find anything.
10481   if test -z "$lt_cv_aix_libpath_"; then
10482     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10483   fi
10484 fi
10485 rm -f core conftest.err conftest.$ac_objext \
10486     conftest$ac_exeext conftest.$ac_ext
10487   if test -z "$lt_cv_aix_libpath_"; then
10488     lt_cv_aix_libpath_=/usr/lib:/lib
10489   fi
10490   
10491 fi
10492
10493   aix_libpath=$lt_cv_aix_libpath_
10494 fi
10495
10496         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10497         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
10498       else
10499         if test ia64 = "$host_cpu"; then
10500           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10501           allow_undefined_flag="-z nodefs"
10502           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"
10503         else
10504          # Determine the default libpath from the value encoded in an
10505          # empty executable.
10506          if test set = "${lt_cv_aix_libpath+set}"; then
10507   aix_libpath=$lt_cv_aix_libpath
10508 else
10509   if ${lt_cv_aix_libpath_+:} false; then :
10510   $as_echo_n "(cached) " >&6
10511 else
10512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h.  */
10514
10515 int
10516 main ()
10517 {
10518
10519   ;
10520   return 0;
10521 }
10522 _ACEOF
10523 if ac_fn_c_try_link "$LINENO"; then :
10524   
10525   lt_aix_libpath_sed='
10526       /Import File Strings/,/^$/ {
10527           /^0/ {
10528               s/^0  *\([^ ]*\) *$/\1/
10529               p
10530           }
10531       }'
10532   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10533   # Check for a 64-bit object if we didn't find anything.
10534   if test -z "$lt_cv_aix_libpath_"; then
10535     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10536   fi
10537 fi
10538 rm -f core conftest.err conftest.$ac_objext \
10539     conftest$ac_exeext conftest.$ac_ext
10540   if test -z "$lt_cv_aix_libpath_"; then
10541     lt_cv_aix_libpath_=/usr/lib:/lib
10542   fi
10543   
10544 fi
10545
10546   aix_libpath=$lt_cv_aix_libpath_
10547 fi
10548
10549          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10550           # Warning - without using the other run time loading flags,
10551           # -berok will link without error, but may produce a broken library.
10552           no_undefined_flag=' $wl-bernotok'
10553           allow_undefined_flag=' $wl-berok'
10554           if test yes = "$with_gnu_ld"; then
10555             # We only use this code for GNU lds that support --whole-archive.
10556             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10557           else
10558             # Exported symbols can be pulled into shared objects from archives
10559             whole_archive_flag_spec='$convenience'
10560           fi
10561           archive_cmds_need_lc=yes
10562           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10563           # -brtl affects multiple linker settings, -berok does not and is overridden later
10564           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10565           if test svr4 != "$with_aix_soname"; then
10566             # This is similar to how AIX traditionally builds its shared libraries.
10567             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'
10568           fi
10569           if test aix != "$with_aix_soname"; then
10570             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'
10571           else
10572             # used by -dlpreopen to get the symbols
10573             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10574           fi
10575           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10576         fi
10577       fi
10578       ;;
10579
10580     amigaos*)
10581       case $host_cpu in
10582       powerpc)
10583             # see comment about AmigaOS4 .so support
10584             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10585             archive_expsym_cmds=''
10586         ;;
10587       m68k)
10588             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)'
10589             hardcode_libdir_flag_spec='-L$libdir'
10590             hardcode_minus_L=yes
10591         ;;
10592       esac
10593       ;;
10594
10595     bsdi[45]*)
10596       export_dynamic_flag_spec=-rdynamic
10597       ;;
10598
10599     cygwin* | mingw* | pw32* | cegcc*)
10600       # When not using gcc, we currently assume that we are using
10601       # Microsoft Visual C++.
10602       # hardcode_libdir_flag_spec is actually meaningless, as there is
10603       # no search path for DLLs.
10604       case $cc_basename in
10605       cl*)
10606         # Native MSVC
10607         hardcode_libdir_flag_spec=' '
10608         allow_undefined_flag=unsupported
10609         always_export_symbols=yes
10610         file_list_spec='@'
10611         # Tell ltmain to make .lib files, not .a files.
10612         libext=lib
10613         # Tell ltmain to make .dll files, not .so files.
10614         shrext_cmds=.dll
10615         # FIXME: Setting linknames here is a bad hack.
10616         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10617         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10618             cp "$export_symbols" "$output_objdir/$soname.def";
10619             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10620           else
10621             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10622           fi~
10623           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10624           linknames='
10625         # The linker will not automatically build a static lib if we build a DLL.
10626         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10627         enable_shared_with_static_runtimes=yes
10628         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10629         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10630         # Don't use ranlib
10631         old_postinstall_cmds='chmod 644 $oldlib'
10632         postlink_cmds='lt_outputfile="@OUTPUT@"~
10633           lt_tool_outputfile="@TOOL_OUTPUT@"~
10634           case $lt_outputfile in
10635             *.exe|*.EXE) ;;
10636             *)
10637               lt_outputfile=$lt_outputfile.exe
10638               lt_tool_outputfile=$lt_tool_outputfile.exe
10639               ;;
10640           esac~
10641           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10642             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10643             $RM "$lt_outputfile.manifest";
10644           fi'
10645         ;;
10646       *)
10647         # Assume MSVC wrapper
10648         hardcode_libdir_flag_spec=' '
10649         allow_undefined_flag=unsupported
10650         # Tell ltmain to make .lib files, not .a files.
10651         libext=lib
10652         # Tell ltmain to make .dll files, not .so files.
10653         shrext_cmds=.dll
10654         # FIXME: Setting linknames here is a bad hack.
10655         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10656         # The linker will automatically build a .lib file if we build a DLL.
10657         old_archive_from_new_cmds='true'
10658         # FIXME: Should let the user specify the lib program.
10659         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10660         enable_shared_with_static_runtimes=yes
10661         ;;
10662       esac
10663       ;;
10664
10665     darwin* | rhapsody*)
10666       
10667   
10668   archive_cmds_need_lc=no
10669   hardcode_direct=no
10670   hardcode_automatic=yes
10671   hardcode_shlibpath_var=unsupported
10672   if test yes = "$lt_cv_ld_force_load"; then
10673     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\"`'
10674     
10675   else
10676     whole_archive_flag_spec=''
10677   fi
10678   link_all_deplibs=yes
10679   allow_undefined_flag=$_lt_dar_allow_undefined
10680   case $cc_basename in
10681      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10682      *) _lt_dar_can_shared=$GCC ;;
10683   esac
10684   if test yes = "$_lt_dar_can_shared"; then
10685     output_verbose_link_cmd=func_echo_all
10686     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10687     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10688     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"
10689     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"
10690     
10691   else
10692   ld_shlibs=no
10693   fi
10694
10695       ;;
10696
10697     dgux*)
10698       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699       hardcode_libdir_flag_spec='-L$libdir'
10700       hardcode_shlibpath_var=no
10701       ;;
10702
10703     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10704     # support.  Future versions do this automatically, but an explicit c++rt0.o
10705     # does not break anything, and helps significantly (at the cost of a little
10706     # extra space).
10707     freebsd2.2*)
10708       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10709       hardcode_libdir_flag_spec='-R$libdir'
10710       hardcode_direct=yes
10711       hardcode_shlibpath_var=no
10712       ;;
10713
10714     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10715     freebsd2.*)
10716       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10717       hardcode_direct=yes
10718       hardcode_minus_L=yes
10719       hardcode_shlibpath_var=no
10720       ;;
10721
10722     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10723     freebsd* | dragonfly*)
10724       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10725       hardcode_libdir_flag_spec='-R$libdir'
10726       hardcode_direct=yes
10727       hardcode_shlibpath_var=no
10728       ;;
10729
10730     hpux9*)
10731       if test yes = "$GCC"; then
10732         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'
10733       else
10734         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'
10735       fi
10736       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10737       hardcode_libdir_separator=:
10738       hardcode_direct=yes
10739
10740       # hardcode_minus_L: Not really in the search PATH,
10741       # but as the default location of the library.
10742       hardcode_minus_L=yes
10743       export_dynamic_flag_spec='$wl-E'
10744       ;;
10745
10746     hpux10*)
10747       if test yes,no = "$GCC,$with_gnu_ld"; then
10748         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10749       else
10750         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10751       fi
10752       if test no = "$with_gnu_ld"; then
10753         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10754         hardcode_libdir_separator=:
10755         hardcode_direct=yes
10756         hardcode_direct_absolute=yes
10757         export_dynamic_flag_spec='$wl-E'
10758         # hardcode_minus_L: Not really in the search PATH,
10759         # but as the default location of the library.
10760         hardcode_minus_L=yes
10761       fi
10762       ;;
10763
10764     hpux11*)
10765       if test yes,no = "$GCC,$with_gnu_ld"; then
10766         case $host_cpu in
10767         hppa*64*)
10768           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10769           ;;
10770         ia64*)
10771           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10772           ;;
10773         *)
10774           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10775           ;;
10776         esac
10777       else
10778         case $host_cpu in
10779         hppa*64*)
10780           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10781           ;;
10782         ia64*)
10783           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10784           ;;
10785         *)
10786         
10787           # Older versions of the 11.00 compiler do not understand -b yet
10788           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10789           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10790 $as_echo_n "checking if $CC understands -b... " >&6; }
10791 if ${lt_cv_prog_compiler__b+:} false; then :
10792   $as_echo_n "(cached) " >&6
10793 else
10794   lt_cv_prog_compiler__b=no
10795    save_LDFLAGS=$LDFLAGS
10796    LDFLAGS="$LDFLAGS -b"
10797    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10798    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10799      # The linker can only warn and ignore the option if not recognized
10800      # So say no if there are warnings
10801      if test -s conftest.err; then
10802        # Append any errors to the config.log.
10803        cat conftest.err 1>&5
10804        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10805        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10806        if diff conftest.exp conftest.er2 >/dev/null; then
10807          lt_cv_prog_compiler__b=yes
10808        fi
10809      else
10810        lt_cv_prog_compiler__b=yes
10811      fi
10812    fi
10813    $RM -r conftest*
10814    LDFLAGS=$save_LDFLAGS
10815
10816 fi
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10819
10820 if test yes = "$lt_cv_prog_compiler__b"; then
10821     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10822 else
10823     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10824 fi
10825
10826           ;;
10827         esac
10828       fi
10829       if test no = "$with_gnu_ld"; then
10830         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10831         hardcode_libdir_separator=:
10832
10833         case $host_cpu in
10834         hppa*64*|ia64*)
10835           hardcode_direct=no
10836           hardcode_shlibpath_var=no
10837           ;;
10838         *)
10839           hardcode_direct=yes
10840           hardcode_direct_absolute=yes
10841           export_dynamic_flag_spec='$wl-E'
10842
10843           # hardcode_minus_L: Not really in the search PATH,
10844           # but as the default location of the library.
10845           hardcode_minus_L=yes
10846           ;;
10847         esac
10848       fi
10849       ;;
10850
10851     irix5* | irix6* | nonstopux*)
10852       if test yes = "$GCC"; then
10853         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'
10854         # Try to use the -exported_symbol ld option, if it does not
10855         # work, assume that -exports_file does not work either and
10856         # implicitly export all symbols.
10857         # This should be the same for all languages, so no per-tag cache variable.
10858         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10859 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10860 if ${lt_cv_irix_exported_symbol+:} false; then :
10861   $as_echo_n "(cached) " >&6
10862 else
10863   save_LDFLAGS=$LDFLAGS
10864            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10865            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h.  */
10867 int foo (void) { return 0; }
10868 _ACEOF
10869 if ac_fn_c_try_link "$LINENO"; then :
10870   lt_cv_irix_exported_symbol=yes
10871 else
10872   lt_cv_irix_exported_symbol=no
10873 fi
10874 rm -f core conftest.err conftest.$ac_objext \
10875     conftest$ac_exeext conftest.$ac_ext
10876            LDFLAGS=$save_LDFLAGS
10877 fi
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10879 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10880         if test yes = "$lt_cv_irix_exported_symbol"; then
10881           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'
10882         fi
10883         link_all_deplibs=no
10884       else
10885         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'
10886         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'
10887       fi
10888       archive_cmds_need_lc='no'
10889       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10890       hardcode_libdir_separator=:
10891       inherit_rpath=yes
10892       link_all_deplibs=yes
10893       ;;
10894
10895     linux*)
10896       case $cc_basename in
10897       tcc*)
10898         # Fabrice Bellard et al's Tiny C Compiler
10899         ld_shlibs=yes
10900         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10901         ;;
10902       esac
10903       ;;
10904
10905     netbsd* | netbsdelf*-gnu)
10906       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10908       else
10909         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10910       fi
10911       hardcode_libdir_flag_spec='-R$libdir'
10912       hardcode_direct=yes
10913       hardcode_shlibpath_var=no
10914       ;;
10915
10916     newsos6)
10917       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10918       hardcode_direct=yes
10919       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10920       hardcode_libdir_separator=:
10921       hardcode_shlibpath_var=no
10922       ;;
10923
10924     *nto* | *qnx*)
10925       ;;
10926
10927     openbsd* | bitrig*)
10928       if test -f /usr/libexec/ld.so; then
10929         hardcode_direct=yes
10930         hardcode_shlibpath_var=no
10931         hardcode_direct_absolute=yes
10932         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10933           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10934           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10935           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10936           export_dynamic_flag_spec='$wl-E'
10937         else
10938           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10939           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10940         fi
10941       else
10942         ld_shlibs=no
10943       fi
10944       ;;
10945
10946     os2*)
10947       hardcode_libdir_flag_spec='-L$libdir'
10948       hardcode_minus_L=yes
10949       allow_undefined_flag=unsupported
10950       shrext_cmds=.dll
10951       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10952         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10953         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10954         $ECHO EXPORTS >> $output_objdir/$libname.def~
10955         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10956         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10957         emximp -o $lib $output_objdir/$libname.def'
10958       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10959         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10960         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10961         $ECHO EXPORTS >> $output_objdir/$libname.def~
10962         prefix_cmds="$SED"~
10963         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10964           prefix_cmds="$prefix_cmds -e 1d";
10965         fi~
10966         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10967         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10968         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10969         emximp -o $lib $output_objdir/$libname.def'
10970       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10971       enable_shared_with_static_runtimes=yes
10972       ;;
10973
10974     osf3*)
10975       if test yes = "$GCC"; then
10976         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10977         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'
10978       else
10979         allow_undefined_flag=' -expect_unresolved \*'
10980         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'
10981       fi
10982       archive_cmds_need_lc='no'
10983       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10984       hardcode_libdir_separator=:
10985       ;;
10986
10987     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10988       if test yes = "$GCC"; then
10989         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10990         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'
10991         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10992       else
10993         allow_undefined_flag=' -expect_unresolved \*'
10994         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'
10995         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~
10996           $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'
10997
10998         # Both c and cxx compiler support -rpath directly
10999         hardcode_libdir_flag_spec='-rpath $libdir'
11000       fi
11001       archive_cmds_need_lc='no'
11002       hardcode_libdir_separator=:
11003       ;;
11004
11005     solaris*)
11006       no_undefined_flag=' -z defs'
11007       if test yes = "$GCC"; then
11008         wlarc='$wl'
11009         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11010         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11011           $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'
11012       else
11013         case `$CC -V 2>&1` in
11014         *"Compilers 5.0"*)
11015           wlarc=''
11016           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11017           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11018             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11019           ;;
11020         *)
11021           wlarc='$wl'
11022           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11023           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11024             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11025           ;;
11026         esac
11027       fi
11028       hardcode_libdir_flag_spec='-R$libdir'
11029       hardcode_shlibpath_var=no
11030       case $host_os in
11031       solaris2.[0-5] | solaris2.[0-5].*) ;;
11032       *)
11033         # The compiler driver will combine and reorder linker options,
11034         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11035         # but is careful enough not to reorder.
11036         # Supported since Solaris 2.6 (maybe 2.5.1?)
11037         if test yes = "$GCC"; then
11038           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11039         else
11040           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11041         fi
11042         ;;
11043       esac
11044       link_all_deplibs=yes
11045       ;;
11046
11047     sunos4*)
11048       if test sequent = "$host_vendor"; then
11049         # Use $CC to link under sequent, because it throws in some extra .o
11050         # files that make .init and .fini sections work.
11051         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11052       else
11053         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11054       fi
11055       hardcode_libdir_flag_spec='-L$libdir'
11056       hardcode_direct=yes
11057       hardcode_minus_L=yes
11058       hardcode_shlibpath_var=no
11059       ;;
11060
11061     sysv4)
11062       case $host_vendor in
11063         sni)
11064           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11065           hardcode_direct=yes # is this really true???
11066         ;;
11067         siemens)
11068           ## LD is ld it makes a PLAMLIB
11069           ## CC just makes a GrossModule.
11070           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11071           reload_cmds='$CC -r -o $output$reload_objs'
11072           hardcode_direct=no
11073         ;;
11074         motorola)
11075           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11076           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11077         ;;
11078       esac
11079       runpath_var='LD_RUN_PATH'
11080       hardcode_shlibpath_var=no
11081       ;;
11082
11083     sysv4.3*)
11084       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11085       hardcode_shlibpath_var=no
11086       export_dynamic_flag_spec='-Bexport'
11087       ;;
11088
11089     sysv4*MP*)
11090       if test -d /usr/nec; then
11091         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11092         hardcode_shlibpath_var=no
11093         runpath_var=LD_RUN_PATH
11094         hardcode_runpath_var=yes
11095         ld_shlibs=yes
11096       fi
11097       ;;
11098
11099     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11100       no_undefined_flag='$wl-z,text'
11101       archive_cmds_need_lc=no
11102       hardcode_shlibpath_var=no
11103       runpath_var='LD_RUN_PATH'
11104
11105       if test yes = "$GCC"; then
11106         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11107         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11108       else
11109         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11110         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11111       fi
11112       ;;
11113
11114     sysv5* | sco3.2v5* | sco5v6*)
11115       # Note: We CANNOT use -z defs as we might desire, because we do not
11116       # link with -lc, and that would cause any symbols used from libc to
11117       # always be unresolved, which means just about no library would
11118       # ever link correctly.  If we're not using GNU ld we use -z text
11119       # though, which does catch some bad symbols but isn't as heavy-handed
11120       # as -z defs.
11121       no_undefined_flag='$wl-z,text'
11122       allow_undefined_flag='$wl-z,nodefs'
11123       archive_cmds_need_lc=no
11124       hardcode_shlibpath_var=no
11125       hardcode_libdir_flag_spec='$wl-R,$libdir'
11126       hardcode_libdir_separator=':'
11127       link_all_deplibs=yes
11128       export_dynamic_flag_spec='$wl-Bexport'
11129       runpath_var='LD_RUN_PATH'
11130
11131       if test yes = "$GCC"; then
11132         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11134       else
11135         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11136         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11137       fi
11138       ;;
11139
11140     uts4*)
11141       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11142       hardcode_libdir_flag_spec='-L$libdir'
11143       hardcode_shlibpath_var=no
11144       ;;
11145
11146     *)
11147       ld_shlibs=no
11148       ;;
11149     esac
11150
11151     if test sni = "$host_vendor"; then
11152       case $host in
11153       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11154         export_dynamic_flag_spec='$wl-Blargedynsym'
11155         ;;
11156       esac
11157     fi
11158   fi
11159
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11161 $as_echo "$ld_shlibs" >&6; }
11162 test no = "$ld_shlibs" && can_build_shared=no
11163
11164 with_gnu_ld=$with_gnu_ld
11165
11166
11167     
11168     
11169     
11170
11171     
11172     
11173     
11174
11175     
11176     
11177     
11178
11179
11180 #
11181 # Do we need to explicitly link libc?
11182 #
11183 case "x$archive_cmds_need_lc" in
11184 x|xyes)
11185   # Assume -lc should be added
11186   archive_cmds_need_lc=yes
11187
11188   if test yes,yes = "$GCC,$enable_shared"; then
11189     case $archive_cmds in
11190     *'~'*)
11191       # FIXME: we may have to deal with multi-command sequences.
11192       ;;
11193     '$CC '*)
11194       # Test whether the compiler implicitly links with -lc since on some
11195       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11196       # to ld, don't add -lc before -lgcc.
11197       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11198 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11199 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11200   $as_echo_n "(cached) " >&6
11201 else
11202   $RM conftest*
11203         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11204
11205         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11206   (eval $ac_compile) 2>&5
11207   ac_status=$?
11208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11209   test $ac_status = 0; } 2>conftest.err; then
11210           soname=conftest
11211           lib=conftest
11212           libobjs=conftest.$ac_objext
11213           deplibs=
11214           wl=$lt_prog_compiler_wl
11215           pic_flag=$lt_prog_compiler_pic
11216           compiler_flags=-v
11217           linker_flags=-v
11218           verstring=
11219           output_objdir=.
11220           libname=conftest
11221           lt_save_allow_undefined_flag=$allow_undefined_flag
11222           allow_undefined_flag=
11223           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11224   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11225   ac_status=$?
11226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11227   test $ac_status = 0; }
11228           then
11229             lt_cv_archive_cmds_need_lc=no
11230           else
11231             lt_cv_archive_cmds_need_lc=yes
11232           fi
11233           allow_undefined_flag=$lt_save_allow_undefined_flag
11234         else
11235           cat conftest.err 1>&5
11236         fi
11237         $RM conftest*
11238         
11239 fi
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11241 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11242       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11243       ;;
11244     esac
11245   fi
11246   ;;
11247 esac
11248
11249
11250     
11251     
11252     
11253
11254
11255     
11256     
11257     
11258
11259
11260     
11261     
11262     
11263
11264
11265     
11266     
11267     
11268
11269
11270     
11271     
11272     
11273
11274
11275     
11276     
11277     
11278
11279
11280     
11281     
11282     
11283
11284
11285     
11286     
11287     
11288
11289
11290     
11291     
11292     
11293
11294
11295     
11296     
11297     
11298
11299
11300     
11301     
11302     
11303
11304
11305     
11306     
11307     
11308
11309
11310     
11311     
11312     
11313
11314
11315     
11316     
11317     
11318
11319
11320     
11321     
11322     
11323
11324
11325     
11326     
11327     
11328
11329
11330     
11331     
11332     
11333
11334
11335     
11336     
11337     
11338
11339
11340     
11341     
11342     
11343
11344
11345     
11346     
11347     
11348
11349
11350     
11351     
11352     
11353
11354
11355     
11356     
11357     
11358
11359
11360     
11361     
11362     
11363
11364
11365     
11366     
11367     
11368
11369
11370     
11371     
11372     
11373
11374
11375     
11376     
11377     
11378
11379
11380     
11381     
11382     
11383
11384
11385     
11386     
11387     
11388
11389
11390     
11391     
11392     
11393
11394
11395     
11396     
11397     
11398
11399
11400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11401 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11402
11403 if test yes = "$GCC"; then
11404   case $host_os in
11405     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11406     *) lt_awk_arg='/^libraries:/' ;;
11407   esac
11408   case $host_os in
11409     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11410     *) lt_sed_strip_eq='s|=/|/|g' ;;
11411   esac
11412   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11413   case $lt_search_path_spec in
11414   *\;*)
11415     # if the path contains ";" then we assume it to be the separator
11416     # otherwise default to the standard path separator (i.e. ":") - it is
11417     # assumed that no part of a normal pathname contains ";" but that should
11418     # okay in the real world where ";" in dirpaths is itself problematic.
11419     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11420     ;;
11421   *)
11422     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11423     ;;
11424   esac
11425   # Ok, now we have the path, separated by spaces, we can step through it
11426   # and add multilib dir if necessary...
11427   lt_tmp_lt_search_path_spec=
11428   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11429   # ...but if some path component already ends with the multilib dir we assume
11430   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11431   case "$lt_multi_os_dir; $lt_search_path_spec " in
11432   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11433     lt_multi_os_dir=
11434     ;;
11435   esac
11436   for lt_sys_path in $lt_search_path_spec; do
11437     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11438       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11439     elif test -n "$lt_multi_os_dir"; then
11440       test -d "$lt_sys_path" && \
11441         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11442     fi
11443   done
11444   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11445 BEGIN {RS = " "; FS = "/|\n";} {
11446   lt_foo = "";
11447   lt_count = 0;
11448   for (lt_i = NF; lt_i > 0; lt_i--) {
11449     if ($lt_i != "" && $lt_i != ".") {
11450       if ($lt_i == "..") {
11451         lt_count++;
11452       } else {
11453         if (lt_count == 0) {
11454           lt_foo = "/" $lt_i lt_foo;
11455         } else {
11456           lt_count--;
11457         }
11458       }
11459     }
11460   }
11461   if (lt_foo != "") { lt_freq[lt_foo]++; }
11462   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11463 }'`
11464   # AWK program above erroneously prepends '/' to C:/dos/paths
11465   # for these hosts.
11466   case $host_os in
11467     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11468       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11469   esac
11470   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11471 else
11472   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11473 fi
11474 library_names_spec=
11475 libname_spec='lib$name'
11476 soname_spec=
11477 shrext_cmds=.so
11478 postinstall_cmds=
11479 postuninstall_cmds=
11480 finish_cmds=
11481 finish_eval=
11482 shlibpath_var=
11483 shlibpath_overrides_runpath=unknown
11484 version_type=none
11485 dynamic_linker="$host_os ld.so"
11486 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11487 need_lib_prefix=unknown
11488 hardcode_into_libs=no
11489
11490 # when you set need_version to no, make sure it does not cause -set_version
11491 # flags to be left without arguments
11492 need_version=unknown
11493
11494
11495
11496 case $host_os in
11497 aix3*)
11498   version_type=linux # correct to gnu/linux during the next big refactor
11499   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11500   shlibpath_var=LIBPATH
11501
11502   # AIX 3 has no versioning support, so we append a major version to the name.
11503   soname_spec='$libname$release$shared_ext$major'
11504   ;;
11505
11506 aix[4-9]*)
11507   version_type=linux # correct to gnu/linux during the next big refactor
11508   need_lib_prefix=no
11509   need_version=no
11510   hardcode_into_libs=yes
11511   if test ia64 = "$host_cpu"; then
11512     # AIX 5 supports IA64
11513     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11514     shlibpath_var=LD_LIBRARY_PATH
11515   else
11516     # With GCC up to 2.95.x, collect2 would create an import file
11517     # for dependence libraries.  The import file would start with
11518     # the line '#! .'.  This would cause the generated library to
11519     # depend on '.', always an invalid library.  This was fixed in
11520     # development snapshots of GCC prior to 3.0.
11521     case $host_os in
11522       aix4 | aix4.[01] | aix4.[01].*)
11523       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11524            echo ' yes '
11525            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11526         :
11527       else
11528         can_build_shared=no
11529       fi
11530       ;;
11531     esac
11532     # Using Import Files as archive members, it is possible to support
11533     # filename-based versioning of shared library archives on AIX. While
11534     # this would work for both with and without runtime linking, it will
11535     # prevent static linking of such archives. So we do filename-based
11536     # shared library versioning with .so extension only, which is used
11537     # when both runtime linking and shared linking is enabled.
11538     # Unfortunately, runtime linking may impact performance, so we do
11539     # not want this to be the default eventually. Also, we use the
11540     # versioned .so libs for executables only if there is the -brtl
11541     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11542     # To allow for filename-based versioning support, we need to create
11543     # libNAME.so.V as an archive file, containing:
11544     # *) an Import File, referring to the versioned filename of the
11545     #    archive as well as the shared archive member, telling the
11546     #    bitwidth (32 or 64) of that shared object, and providing the
11547     #    list of exported symbols of that shared object, eventually
11548     #    decorated with the 'weak' keyword
11549     # *) the shared object with the F_LOADONLY flag set, to really avoid
11550     #    it being seen by the linker.
11551     # At run time we better use the real file rather than another symlink,
11552     # but for link time we create the symlink libNAME.so -> libNAME.so.V
11553
11554     case $with_aix_soname,$aix_use_runtimelinking in
11555     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11556     # soname into executable. Probably we can add versioning support to
11557     # collect2, so additional links can be useful in future.
11558     aix,yes) # traditional libtool
11559       dynamic_linker='AIX unversionable lib.so'
11560       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11561       # instead of lib<name>.a to let people know that these are not
11562       # typical AIX shared libraries.
11563       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11564       ;;
11565     aix,no) # traditional AIX only
11566       dynamic_linker='AIX lib.a(lib.so.V)'
11567       # We preserve .a as extension for shared libraries through AIX4.2
11568       # and later when we are not doing run time linking.
11569       library_names_spec='$libname$release.a $libname.a'
11570       soname_spec='$libname$release$shared_ext$major'
11571       ;;
11572     svr4,*) # full svr4 only
11573       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11574       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11575       # We do not specify a path in Import Files, so LIBPATH fires.
11576       shlibpath_overrides_runpath=yes
11577       ;;
11578     *,yes) # both, prefer svr4
11579       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11580       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11581       # unpreferred sharedlib libNAME.a needs extra handling
11582       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"'
11583       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"'
11584       # We do not specify a path in Import Files, so LIBPATH fires.
11585       shlibpath_overrides_runpath=yes
11586       ;;
11587     *,no) # both, prefer aix
11588       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11589       library_names_spec='$libname$release.a $libname.a'
11590       soname_spec='$libname$release$shared_ext$major'
11591       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11592       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)'
11593       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"'
11594       ;;
11595     esac
11596     shlibpath_var=LIBPATH
11597   fi
11598   ;;
11599
11600 amigaos*)
11601   case $host_cpu in
11602   powerpc)
11603     # Since July 2007 AmigaOS4 officially supports .so libraries.
11604     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11605     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11606     ;;
11607   m68k)
11608     library_names_spec='$libname.ixlibrary $libname.a'
11609     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11610     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'
11611     ;;
11612   esac
11613   ;;
11614
11615 beos*)
11616   library_names_spec='$libname$shared_ext'
11617   dynamic_linker="$host_os ld.so"
11618   shlibpath_var=LIBRARY_PATH
11619   ;;
11620
11621 bsdi[45]*)
11622   version_type=linux # correct to gnu/linux during the next big refactor
11623   need_version=no
11624   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11625   soname_spec='$libname$release$shared_ext$major'
11626   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11627   shlibpath_var=LD_LIBRARY_PATH
11628   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11629   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11630   # the default ld.so.conf also contains /usr/contrib/lib and
11631   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11632   # libtool to hard-code these into programs
11633   ;;
11634
11635 cygwin* | mingw* | pw32* | cegcc*)
11636   version_type=windows
11637   shrext_cmds=.dll
11638   need_version=no
11639   need_lib_prefix=no
11640
11641   case $GCC,$cc_basename in
11642   yes,*)
11643     # gcc
11644     library_names_spec='$libname.dll.a'
11645     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11646     postinstall_cmds='base_file=`basename \$file`~
11647       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11648       dldir=$destdir/`dirname \$dlpath`~
11649       test -d \$dldir || mkdir -p \$dldir~
11650       $install_prog $dir/$dlname \$dldir/$dlname~
11651       chmod a+x \$dldir/$dlname~
11652       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11653         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11654       fi'
11655     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11656       dlpath=$dir/\$dldll~
11657        $RM \$dlpath'
11658     shlibpath_overrides_runpath=yes
11659
11660     case $host_os in
11661     cygwin*)
11662       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11663       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11664
11665       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11666       ;;
11667     mingw* | cegcc*)
11668       # MinGW DLLs use traditional 'lib' prefix
11669       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11670       ;;
11671     pw32*)
11672       # pw32 DLLs use 'pw' prefix rather than 'lib'
11673       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11674       ;;
11675     esac
11676     dynamic_linker='Win32 ld.exe'
11677     ;;
11678
11679   *,cl*)
11680     # Native MSVC
11681     libname_spec='$name'
11682     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11683     library_names_spec='$libname.dll.lib'
11684
11685     case $build_os in
11686     mingw*)
11687       sys_lib_search_path_spec=
11688       lt_save_ifs=$IFS
11689       IFS=';'
11690       for lt_path in $LIB
11691       do
11692         IFS=$lt_save_ifs
11693         # Let DOS variable expansion print the short 8.3 style file name.
11694         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11695         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11696       done
11697       IFS=$lt_save_ifs
11698       # Convert to MSYS style.
11699       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11700       ;;
11701     cygwin*)
11702       # Convert to unix form, then to dos form, then back to unix form
11703       # but this time dos style (no spaces!) so that the unix form looks
11704       # like /cygdrive/c/PROGRA~1:/cygdr...
11705       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11706       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11707       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11708       ;;
11709     *)
11710       sys_lib_search_path_spec=$LIB
11711       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11712         # It is most probably a Windows format PATH.
11713         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11714       else
11715         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11716       fi
11717       # FIXME: find the short name or the path components, as spaces are
11718       # common. (e.g. "Program Files" -> "PROGRA~1")
11719       ;;
11720     esac
11721
11722     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11723     postinstall_cmds='base_file=`basename \$file`~
11724       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11725       dldir=$destdir/`dirname \$dlpath`~
11726       test -d \$dldir || mkdir -p \$dldir~
11727       $install_prog $dir/$dlname \$dldir/$dlname'
11728     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11729       dlpath=$dir/\$dldll~
11730        $RM \$dlpath'
11731     shlibpath_overrides_runpath=yes
11732     dynamic_linker='Win32 link.exe'
11733     ;;
11734
11735   *)
11736     # Assume MSVC wrapper
11737     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11738     dynamic_linker='Win32 ld.exe'
11739     ;;
11740   esac
11741   # FIXME: first we should search . and the directory the executable is in
11742   shlibpath_var=PATH
11743   ;;
11744
11745 darwin* | rhapsody*)
11746   dynamic_linker="$host_os dyld"
11747   version_type=darwin
11748   need_lib_prefix=no
11749   need_version=no
11750   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11751   soname_spec='$libname$release$major$shared_ext'
11752   shlibpath_overrides_runpath=yes
11753   shlibpath_var=DYLD_LIBRARY_PATH
11754   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11755
11756   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11757   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11758   ;;
11759
11760 dgux*)
11761   version_type=linux # correct to gnu/linux during the next big refactor
11762   need_lib_prefix=no
11763   need_version=no
11764   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11765   soname_spec='$libname$release$shared_ext$major'
11766   shlibpath_var=LD_LIBRARY_PATH
11767   ;;
11768
11769 freebsd* | dragonfly*)
11770   # DragonFly does not have aout.  When/if they implement a new
11771   # versioning mechanism, adjust this.
11772   if test -x /usr/bin/objformat; then
11773     objformat=`/usr/bin/objformat`
11774   else
11775     case $host_os in
11776     freebsd[23].*) objformat=aout ;;
11777     *) objformat=elf ;;
11778     esac
11779   fi
11780   version_type=freebsd-$objformat
11781   case $version_type in
11782     freebsd-elf*)
11783       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11784       soname_spec='$libname$release$shared_ext$major'
11785       need_version=no
11786       need_lib_prefix=no
11787       ;;
11788     freebsd-*)
11789       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11790       need_version=yes
11791       ;;
11792   esac
11793   shlibpath_var=LD_LIBRARY_PATH
11794   case $host_os in
11795   freebsd2.*)
11796     shlibpath_overrides_runpath=yes
11797     ;;
11798   freebsd3.[01]* | freebsdelf3.[01]*)
11799     shlibpath_overrides_runpath=yes
11800     hardcode_into_libs=yes
11801     ;;
11802   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11803   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11804     shlibpath_overrides_runpath=no
11805     hardcode_into_libs=yes
11806     ;;
11807   *) # from 4.6 on, and DragonFly
11808     shlibpath_overrides_runpath=yes
11809     hardcode_into_libs=yes
11810     ;;
11811   esac
11812   ;;
11813
11814 haiku*)
11815   version_type=linux # correct to gnu/linux during the next big refactor
11816   need_lib_prefix=no
11817   need_version=no
11818   dynamic_linker="$host_os runtime_loader"
11819   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11820   soname_spec='$libname$release$shared_ext$major'
11821   shlibpath_var=LIBRARY_PATH
11822   shlibpath_overrides_runpath=no
11823   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11824   hardcode_into_libs=yes
11825   ;;
11826
11827 hpux9* | hpux10* | hpux11*)
11828   # Give a soname corresponding to the major version so that dld.sl refuses to
11829   # link against other versions.
11830   version_type=sunos
11831   need_lib_prefix=no
11832   need_version=no
11833   case $host_cpu in
11834   ia64*)
11835     shrext_cmds='.so'
11836     hardcode_into_libs=yes
11837     dynamic_linker="$host_os dld.so"
11838     shlibpath_var=LD_LIBRARY_PATH
11839     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11840     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11841     soname_spec='$libname$release$shared_ext$major'
11842     if test 32 = "$HPUX_IA64_MODE"; then
11843       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11844       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11845     else
11846       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11847       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11848     fi
11849     ;;
11850   hppa*64*)
11851     shrext_cmds='.sl'
11852     hardcode_into_libs=yes
11853     dynamic_linker="$host_os dld.sl"
11854     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11855     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11856     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11857     soname_spec='$libname$release$shared_ext$major'
11858     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11859     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11860     ;;
11861   *)
11862     shrext_cmds='.sl'
11863     dynamic_linker="$host_os dld.sl"
11864     shlibpath_var=SHLIB_PATH
11865     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11866     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11867     soname_spec='$libname$release$shared_ext$major'
11868     ;;
11869   esac
11870   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11871   postinstall_cmds='chmod 555 $lib'
11872   # or fails outright, so override atomically:
11873   install_override_mode=555
11874   ;;
11875
11876 interix[3-9]*)
11877   version_type=linux # correct to gnu/linux during the next big refactor
11878   need_lib_prefix=no
11879   need_version=no
11880   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11881   soname_spec='$libname$release$shared_ext$major'
11882   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11883   shlibpath_var=LD_LIBRARY_PATH
11884   shlibpath_overrides_runpath=no
11885   hardcode_into_libs=yes
11886   ;;
11887
11888 irix5* | irix6* | nonstopux*)
11889   case $host_os in
11890     nonstopux*) version_type=nonstopux ;;
11891     *)
11892         if test yes = "$lt_cv_prog_gnu_ld"; then
11893                 version_type=linux # correct to gnu/linux during the next big refactor
11894         else
11895                 version_type=irix
11896         fi ;;
11897   esac
11898   need_lib_prefix=no
11899   need_version=no
11900   soname_spec='$libname$release$shared_ext$major'
11901   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11902   case $host_os in
11903   irix5* | nonstopux*)
11904     libsuff= shlibsuff=
11905     ;;
11906   *)
11907     case $LD in # libtool.m4 will add one of these switches to LD
11908     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11909       libsuff= shlibsuff= libmagic=32-bit;;
11910     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11911       libsuff=32 shlibsuff=N32 libmagic=N32;;
11912     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11913       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11914     *) libsuff= shlibsuff= libmagic=never-match;;
11915     esac
11916     ;;
11917   esac
11918   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11919   shlibpath_overrides_runpath=no
11920   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11921   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11922   hardcode_into_libs=yes
11923   ;;
11924
11925 # No shared lib support for Linux oldld, aout, or coff.
11926 linux*oldld* | linux*aout* | linux*coff*)
11927   dynamic_linker=no
11928   ;;
11929
11930 linux*android*)
11931   version_type=none # Android doesn't support versioned libraries.
11932   need_lib_prefix=no
11933   need_version=no
11934   library_names_spec='$libname$release$shared_ext'
11935   soname_spec='$libname$release$shared_ext'
11936   finish_cmds=
11937   shlibpath_var=LD_LIBRARY_PATH
11938   shlibpath_overrides_runpath=yes
11939
11940   # This implies no fast_install, which is unacceptable.
11941   # Some rework will be needed to allow for fast_install
11942   # before this can be enabled.
11943   hardcode_into_libs=yes
11944
11945   dynamic_linker='Android linker'
11946   # Don't embed -rpath directories since the linker doesn't support them.
11947   hardcode_libdir_flag_spec='-L$libdir'
11948   ;;
11949
11950 # This must be glibc/ELF.
11951 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11952   version_type=linux # correct to gnu/linux during the next big refactor
11953   need_lib_prefix=no
11954   need_version=no
11955   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11956   soname_spec='$libname$release$shared_ext$major'
11957   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11958   shlibpath_var=LD_LIBRARY_PATH
11959   shlibpath_overrides_runpath=no
11960
11961   # Some binutils ld are patched to set DT_RUNPATH
11962   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11963   $as_echo_n "(cached) " >&6
11964 else
11965   lt_cv_shlibpath_overrides_runpath=no
11966     save_LDFLAGS=$LDFLAGS
11967     save_libdir=$libdir
11968     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11969          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11970     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h.  */
11972
11973 int
11974 main ()
11975 {
11976
11977   ;
11978   return 0;
11979 }
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"; then :
11982   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11983   lt_cv_shlibpath_overrides_runpath=yes
11984 fi
11985 fi
11986 rm -f core conftest.err conftest.$ac_objext \
11987     conftest$ac_exeext conftest.$ac_ext
11988     LDFLAGS=$save_LDFLAGS
11989     libdir=$save_libdir
11990     
11991 fi
11992
11993   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11994
11995   # This implies no fast_install, which is unacceptable.
11996   # Some rework will be needed to allow for fast_install
11997   # before this can be enabled.
11998   hardcode_into_libs=yes
11999
12000   # Ideally, we could use ldconfig to report *all* directores which are
12001   # searched for libraries, however this is still not possible.  Aside from not
12002   # being certain /sbin/ldconfig is available, command
12003   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12004   # even though it is searched at run-time.  Try to do the best guess by
12005   # appending ld.so.conf contents (and includes) to the search path.
12006   if test -f /etc/ld.so.conf; then
12007     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' ' '`
12008     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12009   fi
12010
12011   # We used to test for /lib/ld.so.1 and disable shared libraries on
12012   # powerpc, because MkLinux only supported shared libraries with the
12013   # GNU dynamic linker.  Since this was broken with cross compilers,
12014   # most powerpc-linux boxes support dynamic linking these days and
12015   # people can always --disable-shared, the test was removed, and we
12016   # assume the GNU/Linux dynamic linker is in use.
12017   dynamic_linker='GNU/Linux ld.so'
12018   ;;
12019
12020 netbsdelf*-gnu)
12021   version_type=linux
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   shlibpath_overrides_runpath=no
12028   hardcode_into_libs=yes
12029   dynamic_linker='NetBSD ld.elf_so'
12030   ;;
12031
12032 netbsd*)
12033   version_type=sunos
12034   need_lib_prefix=no
12035   need_version=no
12036   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12037     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12038     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12039     dynamic_linker='NetBSD (a.out) ld.so'
12040   else
12041     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12042     soname_spec='$libname$release$shared_ext$major'
12043     dynamic_linker='NetBSD ld.elf_so'
12044   fi
12045   shlibpath_var=LD_LIBRARY_PATH
12046   shlibpath_overrides_runpath=yes
12047   hardcode_into_libs=yes
12048   ;;
12049
12050 newsos6)
12051   version_type=linux # correct to gnu/linux during the next big refactor
12052   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053   shlibpath_var=LD_LIBRARY_PATH
12054   shlibpath_overrides_runpath=yes
12055   ;;
12056
12057 *nto* | *qnx*)
12058   version_type=qnx
12059   need_lib_prefix=no
12060   need_version=no
12061   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12062   soname_spec='$libname$release$shared_ext$major'
12063   shlibpath_var=LD_LIBRARY_PATH
12064   shlibpath_overrides_runpath=no
12065   hardcode_into_libs=yes
12066   dynamic_linker='ldqnx.so'
12067   ;;
12068
12069 openbsd* | bitrig*)
12070   version_type=sunos
12071   sys_lib_dlsearch_path_spec=/usr/lib
12072   need_lib_prefix=no
12073   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12074     need_version=no
12075   else
12076     need_version=yes
12077   fi
12078   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12079   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12080   shlibpath_var=LD_LIBRARY_PATH
12081   shlibpath_overrides_runpath=yes
12082   ;;
12083
12084 os2*)
12085   libname_spec='$name'
12086   version_type=windows
12087   shrext_cmds=.dll
12088   need_version=no
12089   need_lib_prefix=no
12090   # OS/2 can only load a DLL with a base name of 8 characters or less.
12091   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12092     v=$($ECHO $release$versuffix | tr -d .-);
12093     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12094     $ECHO $n$v`$shared_ext'
12095   library_names_spec='${libname}_dll.$libext'
12096   dynamic_linker='OS/2 ld.exe'
12097   shlibpath_var=BEGINLIBPATH
12098   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12099   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12100   postinstall_cmds='base_file=`basename \$file`~
12101     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12102     dldir=$destdir/`dirname \$dlpath`~
12103     test -d \$dldir || mkdir -p \$dldir~
12104     $install_prog $dir/$dlname \$dldir/$dlname~
12105     chmod a+x \$dldir/$dlname~
12106     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12107       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12108     fi'
12109   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12110     dlpath=$dir/\$dldll~
12111     $RM \$dlpath'
12112   ;;
12113
12114 osf3* | osf4* | osf5*)
12115   version_type=osf
12116   need_lib_prefix=no
12117   need_version=no
12118   soname_spec='$libname$release$shared_ext$major'
12119   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12120   shlibpath_var=LD_LIBRARY_PATH
12121   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12122   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12123   ;;
12124
12125 rdos*)
12126   dynamic_linker=no
12127   ;;
12128
12129 solaris*)
12130   version_type=linux # correct to gnu/linux during the next big refactor
12131   need_lib_prefix=no
12132   need_version=no
12133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12134   soname_spec='$libname$release$shared_ext$major'
12135   shlibpath_var=LD_LIBRARY_PATH
12136   shlibpath_overrides_runpath=yes
12137   hardcode_into_libs=yes
12138   # ldd complains unless libraries are executable
12139   postinstall_cmds='chmod +x $lib'
12140   ;;
12141
12142 sunos4*)
12143   version_type=sunos
12144   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12145   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12146   shlibpath_var=LD_LIBRARY_PATH
12147   shlibpath_overrides_runpath=yes
12148   if test yes = "$with_gnu_ld"; then
12149     need_lib_prefix=no
12150   fi
12151   need_version=yes
12152   ;;
12153
12154 sysv4 | sysv4.3*)
12155   version_type=linux # correct to gnu/linux during the next big refactor
12156   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12157   soname_spec='$libname$release$shared_ext$major'
12158   shlibpath_var=LD_LIBRARY_PATH
12159   case $host_vendor in
12160     sni)
12161       shlibpath_overrides_runpath=no
12162       need_lib_prefix=no
12163       runpath_var=LD_RUN_PATH
12164       ;;
12165     siemens)
12166       need_lib_prefix=no
12167       ;;
12168     motorola)
12169       need_lib_prefix=no
12170       need_version=no
12171       shlibpath_overrides_runpath=no
12172       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12173       ;;
12174   esac
12175   ;;
12176
12177 sysv4*MP*)
12178   if test -d /usr/nec; then
12179     version_type=linux # correct to gnu/linux during the next big refactor
12180     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12181     soname_spec='$libname$shared_ext.$major'
12182     shlibpath_var=LD_LIBRARY_PATH
12183   fi
12184   ;;
12185
12186 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12187   version_type=sco
12188   need_lib_prefix=no
12189   need_version=no
12190   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12191   soname_spec='$libname$release$shared_ext$major'
12192   shlibpath_var=LD_LIBRARY_PATH
12193   shlibpath_overrides_runpath=yes
12194   hardcode_into_libs=yes
12195   if test yes = "$with_gnu_ld"; then
12196     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12197   else
12198     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12199     case $host_os in
12200       sco3.2v5*)
12201         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12202         ;;
12203     esac
12204   fi
12205   sys_lib_dlsearch_path_spec='/usr/lib'
12206   ;;
12207
12208 tpf*)
12209   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12210   version_type=linux # correct to gnu/linux during the next big refactor
12211   need_lib_prefix=no
12212   need_version=no
12213   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12214   shlibpath_var=LD_LIBRARY_PATH
12215   shlibpath_overrides_runpath=no
12216   hardcode_into_libs=yes
12217   ;;
12218
12219 uts4*)
12220   version_type=linux # correct to gnu/linux during the next big refactor
12221   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12222   soname_spec='$libname$release$shared_ext$major'
12223   shlibpath_var=LD_LIBRARY_PATH
12224   ;;
12225
12226 *)
12227   dynamic_linker=no
12228   ;;
12229 esac
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12231 $as_echo "$dynamic_linker" >&6; }
12232 test no = "$dynamic_linker" && can_build_shared=no
12233
12234 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12235 if test yes = "$GCC"; then
12236   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12237 fi
12238
12239 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12240   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12241 fi
12242
12243 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12244   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12245 fi
12246
12247 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12248 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12249
12250 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12251 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12252
12253 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12254 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12255
12256
12257     
12258     
12259     
12260
12261
12262     
12263     
12264     
12265
12266
12267     
12268     
12269     
12270
12271
12272     
12273     
12274     
12275
12276
12277     
12278     
12279     
12280
12281
12282     
12283     
12284     
12285
12286
12287     
12288     
12289     
12290
12291
12292     
12293     
12294     
12295
12296
12297     
12298     
12299     
12300
12301
12302     
12303     
12304     
12305
12306
12307     
12308     
12309     
12310
12311
12312     
12313     
12314     
12315
12316
12317     
12318     
12319     
12320
12321
12322     
12323     
12324     
12325
12326
12327     
12328     
12329     
12330
12331
12332     
12333     
12334     
12335
12336
12337     
12338     
12339     
12340
12341
12342     
12343     
12344     
12345
12346
12347     
12348     
12349     
12350
12351
12352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12353 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12354 hardcode_action=
12355 if test -n "$hardcode_libdir_flag_spec" ||
12356    test -n "$runpath_var" ||
12357    test yes = "$hardcode_automatic"; then
12358
12359   # We can hardcode non-existent directories.
12360   if test no != "$hardcode_direct" &&
12361      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12362      # have to relink, otherwise we might link with an installed library
12363      # when we should be linking with a yet-to-be-installed one
12364      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12365      test no != "$hardcode_minus_L"; then
12366     # Linking always hardcodes the temporary library directory.
12367     hardcode_action=relink
12368   else
12369     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12370     hardcode_action=immediate
12371   fi
12372 else
12373   # We cannot hardcode anything, or else we can only hardcode existing
12374   # directories.
12375   hardcode_action=unsupported
12376 fi
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12378 $as_echo "$hardcode_action" >&6; }
12379
12380 if test relink = "$hardcode_action" ||
12381    test yes = "$inherit_rpath"; then
12382   # Fast installation is not supported
12383   enable_fast_install=no
12384 elif test yes = "$shlibpath_overrides_runpath" ||
12385      test no = "$enable_shared"; then
12386   # Fast installation is not necessary
12387   enable_fast_install=needless
12388 fi
12389
12390     
12391     
12392     
12393
12394
12395   if test yes != "$enable_dlopen"; then
12396   enable_dlopen=unknown
12397   enable_dlopen_self=unknown
12398   enable_dlopen_self_static=unknown
12399 else
12400   lt_cv_dlopen=no
12401   lt_cv_dlopen_libs=
12402
12403   case $host_os in
12404   beos*)
12405     lt_cv_dlopen=load_add_on
12406     lt_cv_dlopen_libs=
12407     lt_cv_dlopen_self=yes
12408     ;;
12409
12410   mingw* | pw32* | cegcc*)
12411     lt_cv_dlopen=LoadLibrary
12412     lt_cv_dlopen_libs=
12413     ;;
12414
12415   cygwin*)
12416     lt_cv_dlopen=dlopen
12417     lt_cv_dlopen_libs=
12418     ;;
12419
12420   darwin*)
12421     # if libdl is installed we need to link against it
12422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12423 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12424 if ${ac_cv_lib_dl_dlopen+:} false; then :
12425   $as_echo_n "(cached) " >&6
12426 else
12427   ac_check_lib_save_LIBS=$LIBS
12428 LIBS="-ldl  $LIBS"
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h.  */
12431
12432 /* Override any GCC internal prototype to avoid an error.
12433    Use char because int might match the return type of a GCC
12434    builtin and then its argument prototype would still apply.  */
12435 #ifdef __cplusplus
12436 extern "C"
12437 #endif
12438 char dlopen ();
12439 int
12440 main ()
12441 {
12442 return dlopen ();
12443   ;
12444   return 0;
12445 }
12446 _ACEOF
12447 if ac_fn_c_try_link "$LINENO"; then :
12448   ac_cv_lib_dl_dlopen=yes
12449 else
12450   ac_cv_lib_dl_dlopen=no
12451 fi
12452 rm -f core conftest.err conftest.$ac_objext \
12453     conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_lib_save_LIBS
12455 fi
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12457 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12458 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12459   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12460 else
12461   
12462     lt_cv_dlopen=dyld
12463     lt_cv_dlopen_libs=
12464     lt_cv_dlopen_self=yes
12465     
12466 fi
12467
12468     ;;
12469
12470   tpf*)
12471     # Don't try to run any link tests for TPF.  We know it's impossible
12472     # because TPF is a cross-compiler, and we know how we open DSOs.
12473     lt_cv_dlopen=dlopen
12474     lt_cv_dlopen_libs=
12475     lt_cv_dlopen_self=no
12476     ;;
12477
12478   *)
12479     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12480 if test "x$ac_cv_func_shl_load" = xyes; then :
12481   lt_cv_dlopen=shl_load
12482 else
12483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12485 if ${ac_cv_lib_dld_shl_load+:} false; then :
12486   $as_echo_n "(cached) " >&6
12487 else
12488   ac_check_lib_save_LIBS=$LIBS
12489 LIBS="-ldld  $LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h.  */
12492
12493 /* Override any GCC internal prototype to avoid an error.
12494    Use char because int might match the return type of a GCC
12495    builtin and then its argument prototype would still apply.  */
12496 #ifdef __cplusplus
12497 extern "C"
12498 #endif
12499 char shl_load ();
12500 int
12501 main ()
12502 {
12503 return shl_load ();
12504   ;
12505   return 0;
12506 }
12507 _ACEOF
12508 if ac_fn_c_try_link "$LINENO"; then :
12509   ac_cv_lib_dld_shl_load=yes
12510 else
12511   ac_cv_lib_dld_shl_load=no
12512 fi
12513 rm -f core conftest.err conftest.$ac_objext \
12514     conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_lib_save_LIBS
12516 fi
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12519 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12520   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12521 else
12522   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12523 if test "x$ac_cv_func_dlopen" = xyes; then :
12524   lt_cv_dlopen=dlopen
12525 else
12526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12527 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12528 if ${ac_cv_lib_dl_dlopen+:} false; then :
12529   $as_echo_n "(cached) " >&6
12530 else
12531   ac_check_lib_save_LIBS=$LIBS
12532 LIBS="-ldl  $LIBS"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h.  */
12535
12536 /* Override any GCC internal prototype to avoid an error.
12537    Use char because int might match the return type of a GCC
12538    builtin and then its argument prototype would still apply.  */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char dlopen ();
12543 int
12544 main ()
12545 {
12546 return dlopen ();
12547   ;
12548   return 0;
12549 }
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"; then :
12552   ac_cv_lib_dl_dlopen=yes
12553 else
12554   ac_cv_lib_dl_dlopen=no
12555 fi
12556 rm -f core conftest.err conftest.$ac_objext \
12557     conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_lib_save_LIBS
12559 fi
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12561 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12562 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12563   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12564 else
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12566 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12567 if ${ac_cv_lib_svld_dlopen+:} false; then :
12568   $as_echo_n "(cached) " >&6
12569 else
12570   ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lsvld  $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h.  */
12574
12575 /* Override any GCC internal prototype to avoid an error.
12576    Use char because int might match the return type of a GCC
12577    builtin and then its argument prototype would still apply.  */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char dlopen ();
12582 int
12583 main ()
12584 {
12585 return dlopen ();
12586   ;
12587   return 0;
12588 }
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591   ac_cv_lib_svld_dlopen=yes
12592 else
12593   ac_cv_lib_svld_dlopen=no
12594 fi
12595 rm -f core conftest.err conftest.$ac_objext \
12596     conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12598 fi
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12600 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12601 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12602   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12603 else
12604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12605 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12606 if ${ac_cv_lib_dld_dld_link+:} false; then :
12607   $as_echo_n "(cached) " >&6
12608 else
12609   ac_check_lib_save_LIBS=$LIBS
12610 LIBS="-ldld  $LIBS"
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h.  */
12613
12614 /* Override any GCC internal prototype to avoid an error.
12615    Use char because int might match the return type of a GCC
12616    builtin and then its argument prototype would still apply.  */
12617 #ifdef __cplusplus
12618 extern "C"
12619 #endif
12620 char dld_link ();
12621 int
12622 main ()
12623 {
12624 return dld_link ();
12625   ;
12626   return 0;
12627 }
12628 _ACEOF
12629 if ac_fn_c_try_link "$LINENO"; then :
12630   ac_cv_lib_dld_dld_link=yes
12631 else
12632   ac_cv_lib_dld_dld_link=no
12633 fi
12634 rm -f core conftest.err conftest.$ac_objext \
12635     conftest$ac_exeext conftest.$ac_ext
12636 LIBS=$ac_check_lib_save_LIBS
12637 fi
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12639 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12640 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12641   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12642 fi
12643
12644               
12645 fi
12646
12647             
12648 fi
12649
12650           
12651 fi
12652
12653         
12654 fi
12655
12656       
12657 fi
12658
12659     ;;
12660   esac
12661
12662   if test no = "$lt_cv_dlopen"; then
12663     enable_dlopen=no
12664   else
12665     enable_dlopen=yes
12666   fi
12667
12668   case $lt_cv_dlopen in
12669   dlopen)
12670     save_CPPFLAGS=$CPPFLAGS
12671     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12672
12673     save_LDFLAGS=$LDFLAGS
12674     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12675
12676     save_LIBS=$LIBS
12677     LIBS="$lt_cv_dlopen_libs $LIBS"
12678
12679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12680 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12681 if ${lt_cv_dlopen_self+:} false; then :
12682   $as_echo_n "(cached) " >&6
12683 else
12684           if test yes = "$cross_compiling"; then :
12685   lt_cv_dlopen_self=cross
12686 else
12687   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12688   lt_status=$lt_dlunknown
12689   cat > conftest.$ac_ext <<_LT_EOF
12690 #line $LINENO "configure"
12691 #include "confdefs.h"
12692
12693 #if HAVE_DLFCN_H
12694 #include <dlfcn.h>
12695 #endif
12696
12697 #include <stdio.h>
12698
12699 #ifdef RTLD_GLOBAL
12700 #  define LT_DLGLOBAL           RTLD_GLOBAL
12701 #else
12702 #  ifdef DL_GLOBAL
12703 #    define LT_DLGLOBAL         DL_GLOBAL
12704 #  else
12705 #    define LT_DLGLOBAL         0
12706 #  endif
12707 #endif
12708
12709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12710    find out it does not work in some platform. */
12711 #ifndef LT_DLLAZY_OR_NOW
12712 #  ifdef RTLD_LAZY
12713 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12714 #  else
12715 #    ifdef DL_LAZY
12716 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12717 #    else
12718 #      ifdef RTLD_NOW
12719 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12720 #      else
12721 #        ifdef DL_NOW
12722 #          define LT_DLLAZY_OR_NOW      DL_NOW
12723 #        else
12724 #          define LT_DLLAZY_OR_NOW      0
12725 #        endif
12726 #      endif
12727 #    endif
12728 #  endif
12729 #endif
12730
12731 /* When -fvisibility=hidden is used, assume the code has been annotated
12732    correspondingly for the symbols needed.  */
12733 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12734 int fnord () __attribute__((visibility("default")));
12735 #endif
12736
12737 int fnord () { return 42; }
12738 int main ()
12739 {
12740   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12741   int status = $lt_dlunknown;
12742
12743   if (self)
12744     {
12745       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12746       else
12747         {
12748           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12749           else puts (dlerror ());
12750         }
12751       /* dlclose (self); */
12752     }
12753   else
12754     puts (dlerror ());
12755
12756   return status;
12757 }
12758 _LT_EOF
12759   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12760   (eval $ac_link) 2>&5
12761   ac_status=$?
12762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12764     (./conftest; exit; ) >&5 2>/dev/null
12765     lt_status=$?
12766     case x$lt_status in
12767       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12768       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12769       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12770     esac
12771   else :
12772     # compilation failed
12773     lt_cv_dlopen_self=no
12774   fi
12775 fi
12776 rm -fr conftest*
12777
12778     
12779 fi
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12781 $as_echo "$lt_cv_dlopen_self" >&6; }
12782
12783     if test yes = "$lt_cv_dlopen_self"; then
12784       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12785       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12786 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12787 if ${lt_cv_dlopen_self_static+:} false; then :
12788   $as_echo_n "(cached) " >&6
12789 else
12790           if test yes = "$cross_compiling"; then :
12791   lt_cv_dlopen_self_static=cross
12792 else
12793   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12794   lt_status=$lt_dlunknown
12795   cat > conftest.$ac_ext <<_LT_EOF
12796 #line $LINENO "configure"
12797 #include "confdefs.h"
12798
12799 #if HAVE_DLFCN_H
12800 #include <dlfcn.h>
12801 #endif
12802
12803 #include <stdio.h>
12804
12805 #ifdef RTLD_GLOBAL
12806 #  define LT_DLGLOBAL           RTLD_GLOBAL
12807 #else
12808 #  ifdef DL_GLOBAL
12809 #    define LT_DLGLOBAL         DL_GLOBAL
12810 #  else
12811 #    define LT_DLGLOBAL         0
12812 #  endif
12813 #endif
12814
12815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12816    find out it does not work in some platform. */
12817 #ifndef LT_DLLAZY_OR_NOW
12818 #  ifdef RTLD_LAZY
12819 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12820 #  else
12821 #    ifdef DL_LAZY
12822 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12823 #    else
12824 #      ifdef RTLD_NOW
12825 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12826 #      else
12827 #        ifdef DL_NOW
12828 #          define LT_DLLAZY_OR_NOW      DL_NOW
12829 #        else
12830 #          define LT_DLLAZY_OR_NOW      0
12831 #        endif
12832 #      endif
12833 #    endif
12834 #  endif
12835 #endif
12836
12837 /* When -fvisibility=hidden is used, assume the code has been annotated
12838    correspondingly for the symbols needed.  */
12839 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12840 int fnord () __attribute__((visibility("default")));
12841 #endif
12842
12843 int fnord () { return 42; }
12844 int main ()
12845 {
12846   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12847   int status = $lt_dlunknown;
12848
12849   if (self)
12850     {
12851       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12852       else
12853         {
12854           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12855           else puts (dlerror ());
12856         }
12857       /* dlclose (self); */
12858     }
12859   else
12860     puts (dlerror ());
12861
12862   return status;
12863 }
12864 _LT_EOF
12865   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12866   (eval $ac_link) 2>&5
12867   ac_status=$?
12868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12869   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12870     (./conftest; exit; ) >&5 2>/dev/null
12871     lt_status=$?
12872     case x$lt_status in
12873       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12874       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12875       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12876     esac
12877   else :
12878     # compilation failed
12879     lt_cv_dlopen_self_static=no
12880   fi
12881 fi
12882 rm -fr conftest*
12883
12884       
12885 fi
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12887 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12888     fi
12889
12890     CPPFLAGS=$save_CPPFLAGS
12891     LDFLAGS=$save_LDFLAGS
12892     LIBS=$save_LIBS
12893     ;;
12894   esac
12895
12896   case $lt_cv_dlopen_self in
12897   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12898   *) enable_dlopen_self=unknown ;;
12899   esac
12900
12901   case $lt_cv_dlopen_self_static in
12902   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12903   *) enable_dlopen_self_static=unknown ;;
12904   esac
12905 fi
12906
12907     
12908     
12909     
12910
12911
12912     
12913     
12914     
12915
12916
12917     
12918     
12919     
12920
12921
12922   
12923 striplib=
12924 old_striplib=
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12926 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12927 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12928   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12929   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12931 $as_echo "yes" >&6; }
12932 else
12933 # FIXME - insert some real tests, host_os isn't really good enough
12934   case $host_os in
12935   darwin*)
12936     if test -n "$STRIP"; then
12937       striplib="$STRIP -x"
12938       old_striplib="$STRIP -S"
12939       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12940 $as_echo "yes" >&6; }
12941     else
12942       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 $as_echo "no" >&6; }
12944     fi
12945     ;;
12946   *)
12947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12949     ;;
12950   esac
12951 fi
12952
12953     
12954     
12955     
12956
12957
12958     
12959     
12960     
12961
12962
12963
12964   # Report what library types will actually be built
12965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12966 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12968 $as_echo "$can_build_shared" >&6; }
12969
12970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12971 $as_echo_n "checking whether to build shared libraries... " >&6; }
12972   test no = "$can_build_shared" && enable_shared=no
12973
12974   # On AIX, shared libraries and static libraries use the same namespace, and
12975   # are all built from PIC.
12976   case $host_os in
12977   aix3*)
12978     test yes = "$enable_shared" && enable_static=no
12979     if test -n "$RANLIB"; then
12980       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12981       postinstall_cmds='$RANLIB $lib'
12982     fi
12983     ;;
12984
12985   aix[4-9]*)
12986     if test ia64 != "$host_cpu"; then
12987       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12988       yes,aix,yes) ;;                   # shared object as lib.so file only
12989       yes,svr4,*) ;;                    # shared object as lib.so archive member only
12990       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12991       esac
12992     fi
12993     ;;
12994   esac
12995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12996 $as_echo "$enable_shared" >&6; }
12997
12998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12999 $as_echo_n "checking whether to build static libraries... " >&6; }
13000   # Make sure either enable_shared or enable_static is yes.
13001   test yes = "$enable_shared" || enable_static=yes
13002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13003 $as_echo "$enable_static" >&6; }
13004
13005   
13006
13007
13008 fi
13009 ac_ext=c
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13014
13015 CC=$lt_save_CC
13016
13017       if test -n "$CXX" && ( test no != "$CXX" &&
13018     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13019     (test g++ != "$CXX"))); then
13020   ac_ext=cpp
13021 ac_cpp='$CXXCPP $CPPFLAGS'
13022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13026 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13027 if test -z "$CXXCPP"; then
13028   if ${ac_cv_prog_CXXCPP+:} false; then :
13029   $as_echo_n "(cached) " >&6
13030 else
13031       # Double quotes because CXXCPP needs to be expanded
13032     for CXXCPP in "$CXX -E" "/lib/cpp"
13033     do
13034       ac_preproc_ok=false
13035 for ac_cxx_preproc_warn_flag in '' yes
13036 do
13037   # Use a header file that comes with gcc, so configuring glibc
13038   # with a fresh cross-compiler works.
13039   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13040   # <limits.h> exists even on freestanding compilers.
13041   # On the NeXT, cc -E runs the code through the compiler's parser,
13042   # not just through cpp. "Syntax error" is here to catch this case.
13043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h.  */
13045 @%:@ifdef __STDC__
13046 @%:@ include <limits.h>
13047 @%:@else
13048 @%:@ include <assert.h>
13049 @%:@endif
13050                      Syntax error
13051 _ACEOF
13052 if ac_fn_cxx_try_cpp "$LINENO"; then :
13053   
13054 else
13055   # Broken: fails on valid input.
13056 continue
13057 fi
13058 rm -f conftest.err conftest.i conftest.$ac_ext
13059
13060   # OK, works on sane cases.  Now check whether nonexistent headers
13061   # can be detected and how.
13062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h.  */
13064 @%:@include <ac_nonexistent.h>
13065 _ACEOF
13066 if ac_fn_cxx_try_cpp "$LINENO"; then :
13067   # Broken: success on invalid input.
13068 continue
13069 else
13070   # Passes both tests.
13071 ac_preproc_ok=:
13072 break
13073 fi
13074 rm -f conftest.err conftest.i conftest.$ac_ext
13075
13076 done
13077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13078 rm -f conftest.i conftest.err conftest.$ac_ext
13079 if $ac_preproc_ok; then :
13080   break
13081 fi
13082
13083     done
13084     ac_cv_prog_CXXCPP=$CXXCPP
13085   
13086 fi
13087   CXXCPP=$ac_cv_prog_CXXCPP
13088 else
13089   ac_cv_prog_CXXCPP=$CXXCPP
13090 fi
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13092 $as_echo "$CXXCPP" >&6; }
13093 ac_preproc_ok=false
13094 for ac_cxx_preproc_warn_flag in '' yes
13095 do
13096   # Use a header file that comes with gcc, so configuring glibc
13097   # with a fresh cross-compiler works.
13098   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13099   # <limits.h> exists even on freestanding compilers.
13100   # On the NeXT, cc -E runs the code through the compiler's parser,
13101   # not just through cpp. "Syntax error" is here to catch this case.
13102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h.  */
13104 @%:@ifdef __STDC__
13105 @%:@ include <limits.h>
13106 @%:@else
13107 @%:@ include <assert.h>
13108 @%:@endif
13109                      Syntax error
13110 _ACEOF
13111 if ac_fn_cxx_try_cpp "$LINENO"; then :
13112   
13113 else
13114   # Broken: fails on valid input.
13115 continue
13116 fi
13117 rm -f conftest.err conftest.i conftest.$ac_ext
13118
13119   # OK, works on sane cases.  Now check whether nonexistent headers
13120   # can be detected and how.
13121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h.  */
13123 @%:@include <ac_nonexistent.h>
13124 _ACEOF
13125 if ac_fn_cxx_try_cpp "$LINENO"; then :
13126   # Broken: success on invalid input.
13127 continue
13128 else
13129   # Passes both tests.
13130 ac_preproc_ok=:
13131 break
13132 fi
13133 rm -f conftest.err conftest.i conftest.$ac_ext
13134
13135 done
13136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13137 rm -f conftest.i conftest.err conftest.$ac_ext
13138 if $ac_preproc_ok; then :
13139   
13140 else
13141   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13143 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13144 See \`config.log' for more details" "$LINENO" 5; }
13145 fi
13146
13147 ac_ext=c
13148 ac_cpp='$CPP $CPPFLAGS'
13149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13152
13153 else
13154   _lt_caught_CXX_error=yes
13155 fi
13156
13157 ac_ext=cpp
13158 ac_cpp='$CXXCPP $CPPFLAGS'
13159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13162
13163 archive_cmds_need_lc_CXX=no
13164 allow_undefined_flag_CXX=
13165 always_export_symbols_CXX=no
13166 archive_expsym_cmds_CXX=
13167 compiler_needs_object_CXX=no
13168 export_dynamic_flag_spec_CXX=
13169 hardcode_direct_CXX=no
13170 hardcode_direct_absolute_CXX=no
13171 hardcode_libdir_flag_spec_CXX=
13172 hardcode_libdir_separator_CXX=
13173 hardcode_minus_L_CXX=no
13174 hardcode_shlibpath_var_CXX=unsupported
13175 hardcode_automatic_CXX=no
13176 inherit_rpath_CXX=no
13177 module_cmds_CXX=
13178 module_expsym_cmds_CXX=
13179 link_all_deplibs_CXX=unknown
13180 old_archive_cmds_CXX=$old_archive_cmds
13181 reload_flag_CXX=$reload_flag
13182 reload_cmds_CXX=$reload_cmds
13183 no_undefined_flag_CXX=
13184 whole_archive_flag_spec_CXX=
13185 enable_shared_with_static_runtimes_CXX=no
13186
13187 # Source file extension for C++ test sources.
13188 ac_ext=cpp
13189
13190 # Object file extension for compiled C++ test sources.
13191 objext=o
13192 objext_CXX=$objext
13193
13194 # No sense in running all these tests if we already determined that
13195 # the CXX compiler isn't working.  Some variables (like enable_shared)
13196 # are currently assumed to apply to all compilers on this platform,
13197 # and will be corrupted by setting them based on a non-working compiler.
13198 if test yes != "$_lt_caught_CXX_error"; then
13199   # Code to be used in simple compile tests
13200   lt_simple_compile_test_code="int some_variable = 0;"
13201
13202   # Code to be used in simple link tests
13203   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13204
13205   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13206   
13207
13208
13209
13210
13211
13212 # If no C compiler was specified, use CC.
13213 LTCC=${LTCC-"$CC"}
13214
13215 # If no C compiler flags were specified, use CFLAGS.
13216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13217
13218 # Allow CC to be a program name with arguments.
13219 compiler=$CC
13220
13221
13222   # save warnings/boilerplate of simple test code
13223   ac_outfile=conftest.$ac_objext
13224 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13225 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13226 _lt_compiler_boilerplate=`cat conftest.err`
13227 $RM conftest*
13228
13229   ac_outfile=conftest.$ac_objext
13230 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13231 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13232 _lt_linker_boilerplate=`cat conftest.err`
13233 $RM -r conftest*
13234
13235
13236   # Allow CC to be a program name with arguments.
13237   lt_save_CC=$CC
13238   lt_save_CFLAGS=$CFLAGS
13239   lt_save_LD=$LD
13240   lt_save_GCC=$GCC
13241   GCC=$GXX
13242   lt_save_with_gnu_ld=$with_gnu_ld
13243   lt_save_path_LD=$lt_cv_path_LD
13244   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13245     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13246   else
13247     $as_unset lt_cv_prog_gnu_ld
13248   fi
13249   if test -n "${lt_cv_path_LDCXX+set}"; then
13250     lt_cv_path_LD=$lt_cv_path_LDCXX
13251   else
13252     $as_unset lt_cv_path_LD
13253   fi
13254   test -z "${LDCXX+set}" || LD=$LDCXX
13255   CC=${CXX-"c++"}
13256   CFLAGS=$CXXFLAGS
13257   compiler=$CC
13258   compiler_CXX=$CC
13259   func_cc_basename $compiler
13260 cc_basename=$func_cc_basename_result
13261
13262
13263   if test -n "$compiler"; then
13264     # We don't want -fno-exception when compiling C++ code, so set the
13265     # no_builtin_flag separately
13266     if test yes = "$GXX"; then
13267       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13268     else
13269       lt_prog_compiler_no_builtin_flag_CXX=
13270     fi
13271
13272     if test yes = "$GXX"; then
13273       # Set up default GNU C++ configuration
13274
13275       
13276
13277 @%:@ Check whether --with-gnu-ld was given.
13278 if test "${with_gnu_ld+set}" = set; then :
13279   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13280 else
13281   with_gnu_ld=no
13282 fi
13283
13284 ac_prog=ld
13285 if test yes = "$GCC"; then
13286   # Check if gcc -print-prog-name=ld gives a path.
13287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13288 $as_echo_n "checking for ld used by $CC... " >&6; }
13289   case $host in
13290   *-*-mingw*)
13291     # gcc leaves a trailing carriage return, which upsets mingw
13292     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13293   *)
13294     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13295   esac
13296   case $ac_prog in
13297     # Accept absolute paths.
13298     [\\/]* | ?:[\\/]*)
13299       re_direlt='/[^/][^/]*/\.\./'
13300       # Canonicalize the pathname of ld
13301       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13302       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13303         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13304       done
13305       test -z "$LD" && LD=$ac_prog
13306       ;;
13307   "")
13308     # If it fails, then pretend we aren't using GCC.
13309     ac_prog=ld
13310     ;;
13311   *)
13312     # If it is relative, then search for the first ld in PATH.
13313     with_gnu_ld=unknown
13314     ;;
13315   esac
13316 elif test yes = "$with_gnu_ld"; then
13317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13318 $as_echo_n "checking for GNU ld... " >&6; }
13319 else
13320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13321 $as_echo_n "checking for non-GNU ld... " >&6; }
13322 fi
13323 if ${lt_cv_path_LD+:} false; then :
13324   $as_echo_n "(cached) " >&6
13325 else
13326   if test -z "$LD"; then
13327   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13328   for ac_dir in $PATH; do
13329     IFS=$lt_save_ifs
13330     test -z "$ac_dir" && ac_dir=.
13331     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13332       lt_cv_path_LD=$ac_dir/$ac_prog
13333       # Check to see if the program is GNU ld.  I'd rather use --version,
13334       # but apparently some variants of GNU ld only accept -v.
13335       # Break only if it was the GNU/non-GNU ld that we prefer.
13336       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13337       *GNU* | *'with BFD'*)
13338         test no != "$with_gnu_ld" && break
13339         ;;
13340       *)
13341         test yes != "$with_gnu_ld" && break
13342         ;;
13343       esac
13344     fi
13345   done
13346   IFS=$lt_save_ifs
13347 else
13348   lt_cv_path_LD=$LD # Let the user override the test with a path.
13349 fi
13350 fi
13351
13352 LD=$lt_cv_path_LD
13353 if test -n "$LD"; then
13354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13355 $as_echo "$LD" >&6; }
13356 else
13357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13359 fi
13360 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13362 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13363 if ${lt_cv_prog_gnu_ld+:} false; then :
13364   $as_echo_n "(cached) " >&6
13365 else
13366   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13367 case `$LD -v 2>&1 </dev/null` in
13368 *GNU* | *'with BFD'*)
13369   lt_cv_prog_gnu_ld=yes
13370   ;;
13371 *)
13372   lt_cv_prog_gnu_ld=no
13373   ;;
13374 esac
13375 fi
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13377 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13378 with_gnu_ld=$lt_cv_prog_gnu_ld
13379
13380
13381
13382
13383
13384
13385
13386       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13387       # archiving commands below assume that GNU ld is being used.
13388       if test yes = "$with_gnu_ld"; then
13389         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13390         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'
13391
13392         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13393         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13394
13395         # If archive_cmds runs LD, not CC, wlarc should be empty
13396         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13397         #     investigate it a little bit more. (MM)
13398         wlarc='$wl'
13399
13400         # ancient GNU ld didn't support --whole-archive et. al.
13401         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13402           $GREP 'no-whole-archive' > /dev/null; then
13403           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13404         else
13405           whole_archive_flag_spec_CXX=
13406         fi
13407       else
13408         with_gnu_ld=no
13409         wlarc=
13410
13411         # A generic and very simple default shared library creation
13412         # command for GNU C++ for the case where it uses the native
13413         # linker, instead of GNU ld.  If possible, this setting should
13414         # overridden to take advantage of the native linker features on
13415         # the platform it is being used on.
13416         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13417       fi
13418
13419       # Commands to make compiler produce verbose output that lists
13420       # what "hidden" libraries, object files and flags are used when
13421       # linking a shared library.
13422       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13423
13424     else
13425       GXX=no
13426       with_gnu_ld=no
13427       wlarc=
13428     fi
13429
13430     # PORTME: fill in a description of your system's C++ link characteristics
13431     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13432 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13433     ld_shlibs_CXX=yes
13434     case $host_os in
13435       aix3*)
13436         # FIXME: insert proper C++ library support
13437         ld_shlibs_CXX=no
13438         ;;
13439       aix[4-9]*)
13440         if test ia64 = "$host_cpu"; then
13441           # On IA64, the linker does run time linking by default, so we don't
13442           # have to do anything special.
13443           aix_use_runtimelinking=no
13444           exp_sym_flag='-Bexport'
13445           no_entry_flag=
13446         else
13447           aix_use_runtimelinking=no
13448
13449           # Test if we are trying to use run time linking or normal
13450           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13451           # have runtime linking enabled, and use it for executables.
13452           # For shared libraries, we enable/disable runtime linking
13453           # depending on the kind of the shared library created -
13454           # when "with_aix_soname,aix_use_runtimelinking" is:
13455           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
13456           # "aix,yes"  lib.so          shared, rtl:yes, for executables
13457           #            lib.a           static archive
13458           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
13459           #            lib.a(lib.so.V) shared, rtl:no,  for executables
13460           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13461           #            lib.a(lib.so.V) shared, rtl:no
13462           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
13463           #            lib.a           static archive
13464           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13465             for ld_flag in $LDFLAGS; do
13466               case $ld_flag in
13467               *-brtl*)
13468                 aix_use_runtimelinking=yes
13469                 break
13470                 ;;
13471               esac
13472             done
13473             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13474               # With aix-soname=svr4, we create the lib.so.V shared archives only,
13475               # so we don't have lib.a shared libs to link our executables.
13476               # We have to force runtime linking in this case.
13477               aix_use_runtimelinking=yes
13478               LDFLAGS="$LDFLAGS -Wl,-brtl"
13479             fi
13480             ;;
13481           esac
13482
13483           exp_sym_flag='-bexport'
13484           no_entry_flag='-bnoentry'
13485         fi
13486
13487         # When large executables or shared objects are built, AIX ld can
13488         # have problems creating the table of contents.  If linking a library
13489         # or program results in "error TOC overflow" add -mminimal-toc to
13490         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13491         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13492
13493         archive_cmds_CXX=''
13494         hardcode_direct_CXX=yes
13495         hardcode_direct_absolute_CXX=yes
13496         hardcode_libdir_separator_CXX=':'
13497         link_all_deplibs_CXX=yes
13498         file_list_spec_CXX='$wl-f,'
13499         case $with_aix_soname,$aix_use_runtimelinking in
13500         aix,*) ;;       # no import file
13501         svr4,* | *,yes) # use import file
13502           # The Import File defines what to hardcode.
13503           hardcode_direct_CXX=no
13504           hardcode_direct_absolute_CXX=no
13505           ;;
13506         esac
13507
13508         if test yes = "$GXX"; then
13509           case $host_os in aix4.[012]|aix4.[012].*)
13510           # We only want to do this on AIX 4.2 and lower, the check
13511           # below for broken collect2 doesn't work under 4.3+
13512           collect2name=`$CC -print-prog-name=collect2`
13513           if test -f "$collect2name" &&
13514              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13515           then
13516             # We have reworked collect2
13517             :
13518           else
13519             # We have old collect2
13520             hardcode_direct_CXX=unsupported
13521             # It fails to find uninstalled libraries when the uninstalled
13522             # path is not listed in the libpath.  Setting hardcode_minus_L
13523             # to unsupported forces relinking
13524             hardcode_minus_L_CXX=yes
13525             hardcode_libdir_flag_spec_CXX='-L$libdir'
13526             hardcode_libdir_separator_CXX=
13527           fi
13528           esac
13529           shared_flag='-shared'
13530           if test yes = "$aix_use_runtimelinking"; then
13531             shared_flag=$shared_flag' $wl-G'
13532           fi
13533           # Need to ensure runtime linking is disabled for the traditional
13534           # shared library, or the linker may eventually find shared libraries
13535           # /with/ Import File - we do not want to mix them.
13536           shared_flag_aix='-shared'
13537           shared_flag_svr4='-shared $wl-G'
13538         else
13539           # not using gcc
13540           if test ia64 = "$host_cpu"; then
13541           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13542           # chokes on -Wl,-G. The following line is correct:
13543           shared_flag='-G'
13544           else
13545             if test yes = "$aix_use_runtimelinking"; then
13546               shared_flag='$wl-G'
13547             else
13548               shared_flag='$wl-bM:SRE'
13549             fi
13550             shared_flag_aix='$wl-bM:SRE'
13551             shared_flag_svr4='$wl-G'
13552           fi
13553         fi
13554
13555         export_dynamic_flag_spec_CXX='$wl-bexpall'
13556         # It seems that -bexpall does not export symbols beginning with
13557         # underscore (_), so it is better to generate a list of symbols to
13558         # export.
13559         always_export_symbols_CXX=yes
13560         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13561           # Warning - without using the other runtime loading flags (-brtl),
13562           # -berok will link without error, but may produce a broken library.
13563           # The "-G" linker flag allows undefined symbols.
13564           no_undefined_flag_CXX='-bernotok'
13565           # Determine the default libpath from the value encoded in an empty
13566           # executable.
13567           if test set = "${lt_cv_aix_libpath+set}"; then
13568   aix_libpath=$lt_cv_aix_libpath
13569 else
13570   if ${lt_cv_aix_libpath__CXX+:} false; then :
13571   $as_echo_n "(cached) " >&6
13572 else
13573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h.  */
13575
13576 int
13577 main ()
13578 {
13579
13580   ;
13581   return 0;
13582 }
13583 _ACEOF
13584 if ac_fn_cxx_try_link "$LINENO"; then :
13585   
13586   lt_aix_libpath_sed='
13587       /Import File Strings/,/^$/ {
13588           /^0/ {
13589               s/^0  *\([^ ]*\) *$/\1/
13590               p
13591           }
13592       }'
13593   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13594   # Check for a 64-bit object if we didn't find anything.
13595   if test -z "$lt_cv_aix_libpath__CXX"; then
13596     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13597   fi
13598 fi
13599 rm -f core conftest.err conftest.$ac_objext \
13600     conftest$ac_exeext conftest.$ac_ext
13601   if test -z "$lt_cv_aix_libpath__CXX"; then
13602     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13603   fi
13604   
13605 fi
13606
13607   aix_libpath=$lt_cv_aix_libpath__CXX
13608 fi
13609
13610           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13611
13612           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
13613         else
13614           if test ia64 = "$host_cpu"; then
13615             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13616             allow_undefined_flag_CXX="-z nodefs"
13617             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"
13618           else
13619             # Determine the default libpath from the value encoded in an
13620             # empty executable.
13621             if test set = "${lt_cv_aix_libpath+set}"; then
13622   aix_libpath=$lt_cv_aix_libpath
13623 else
13624   if ${lt_cv_aix_libpath__CXX+:} false; then :
13625   $as_echo_n "(cached) " >&6
13626 else
13627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h.  */
13629
13630 int
13631 main ()
13632 {
13633
13634   ;
13635   return 0;
13636 }
13637 _ACEOF
13638 if ac_fn_cxx_try_link "$LINENO"; then :
13639   
13640   lt_aix_libpath_sed='
13641       /Import File Strings/,/^$/ {
13642           /^0/ {
13643               s/^0  *\([^ ]*\) *$/\1/
13644               p
13645           }
13646       }'
13647   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13648   # Check for a 64-bit object if we didn't find anything.
13649   if test -z "$lt_cv_aix_libpath__CXX"; then
13650     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13651   fi
13652 fi
13653 rm -f core conftest.err conftest.$ac_objext \
13654     conftest$ac_exeext conftest.$ac_ext
13655   if test -z "$lt_cv_aix_libpath__CXX"; then
13656     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13657   fi
13658   
13659 fi
13660
13661   aix_libpath=$lt_cv_aix_libpath__CXX
13662 fi
13663
13664             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13665             # Warning - without using the other run time loading flags,
13666             # -berok will link without error, but may produce a broken library.
13667             no_undefined_flag_CXX=' $wl-bernotok'
13668             allow_undefined_flag_CXX=' $wl-berok'
13669             if test yes = "$with_gnu_ld"; then
13670               # We only use this code for GNU lds that support --whole-archive.
13671               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13672             else
13673               # Exported symbols can be pulled into shared objects from archives
13674               whole_archive_flag_spec_CXX='$convenience'
13675             fi
13676             archive_cmds_need_lc_CXX=yes
13677             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13678             # -brtl affects multiple linker settings, -berok does not and is overridden later
13679             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13680             if test svr4 != "$with_aix_soname"; then
13681               # This is similar to how AIX traditionally builds its shared
13682               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13683               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'
13684             fi
13685             if test aix != "$with_aix_soname"; then
13686               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'
13687             else
13688               # used by -dlpreopen to get the symbols
13689               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13690             fi
13691             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13692           fi
13693         fi
13694         ;;
13695
13696       beos*)
13697         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13698           allow_undefined_flag_CXX=unsupported
13699           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13700           # support --undefined.  This deserves some investigation.  FIXME
13701           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13702         else
13703           ld_shlibs_CXX=no
13704         fi
13705         ;;
13706
13707       chorus*)
13708         case $cc_basename in
13709           *)
13710           # FIXME: insert proper C++ library support
13711           ld_shlibs_CXX=no
13712           ;;
13713         esac
13714         ;;
13715
13716       cygwin* | mingw* | pw32* | cegcc*)
13717         case $GXX,$cc_basename in
13718         ,cl* | no,cl*)
13719           # Native MSVC
13720           # hardcode_libdir_flag_spec is actually meaningless, as there is
13721           # no search path for DLLs.
13722           hardcode_libdir_flag_spec_CXX=' '
13723           allow_undefined_flag_CXX=unsupported
13724           always_export_symbols_CXX=yes
13725           file_list_spec_CXX='@'
13726           # Tell ltmain to make .lib files, not .a files.
13727           libext=lib
13728           # Tell ltmain to make .dll files, not .so files.
13729           shrext_cmds=.dll
13730           # FIXME: Setting linknames here is a bad hack.
13731           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13732           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13733               cp "$export_symbols" "$output_objdir/$soname.def";
13734               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13735             else
13736               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13737             fi~
13738             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13739             linknames='
13740           # The linker will not automatically build a static lib if we build a DLL.
13741           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13742           enable_shared_with_static_runtimes_CXX=yes
13743           # Don't use ranlib
13744           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13745           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13746             lt_tool_outputfile="@TOOL_OUTPUT@"~
13747             case $lt_outputfile in
13748               *.exe|*.EXE) ;;
13749               *)
13750                 lt_outputfile=$lt_outputfile.exe
13751                 lt_tool_outputfile=$lt_tool_outputfile.exe
13752                 ;;
13753             esac~
13754             func_to_tool_file "$lt_outputfile"~
13755             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13756               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13757               $RM "$lt_outputfile.manifest";
13758             fi'
13759           ;;
13760         *)
13761           # g++
13762           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13763           # as there is no search path for DLLs.
13764           hardcode_libdir_flag_spec_CXX='-L$libdir'
13765           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13766           allow_undefined_flag_CXX=unsupported
13767           always_export_symbols_CXX=no
13768           enable_shared_with_static_runtimes_CXX=yes
13769
13770           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13771             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'
13772             # If the export-symbols file already is a .def file, use it as
13773             # is; otherwise, prepend EXPORTS...
13774             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13775               cp $export_symbols $output_objdir/$soname.def;
13776             else
13777               echo EXPORTS > $output_objdir/$soname.def;
13778               cat $export_symbols >> $output_objdir/$soname.def;
13779             fi~
13780             $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'
13781           else
13782             ld_shlibs_CXX=no
13783           fi
13784           ;;
13785         esac
13786         ;;
13787       darwin* | rhapsody*)
13788         
13789   
13790   archive_cmds_need_lc_CXX=no
13791   hardcode_direct_CXX=no
13792   hardcode_automatic_CXX=yes
13793   hardcode_shlibpath_var_CXX=unsupported
13794   if test yes = "$lt_cv_ld_force_load"; then
13795     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\"`'
13796     
13797   else
13798     whole_archive_flag_spec_CXX=''
13799   fi
13800   link_all_deplibs_CXX=yes
13801   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13802   case $cc_basename in
13803      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13804      *) _lt_dar_can_shared=$GCC ;;
13805   esac
13806   if test yes = "$_lt_dar_can_shared"; then
13807     output_verbose_link_cmd=func_echo_all
13808     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"
13809     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13810     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"
13811     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"
13812        if test yes != "$lt_cv_apple_cc_single_mod"; then
13813       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"
13814       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"
13815     fi
13816
13817   else
13818   ld_shlibs_CXX=no
13819   fi
13820
13821         ;;
13822
13823       os2*)
13824         hardcode_libdir_flag_spec_CXX='-L$libdir'
13825         hardcode_minus_L_CXX=yes
13826         allow_undefined_flag_CXX=unsupported
13827         shrext_cmds=.dll
13828         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13829           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13830           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13831           $ECHO EXPORTS >> $output_objdir/$libname.def~
13832           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13833           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13834           emximp -o $lib $output_objdir/$libname.def'
13835         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13836           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13837           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13838           $ECHO EXPORTS >> $output_objdir/$libname.def~
13839           prefix_cmds="$SED"~
13840           if test EXPORTS = "`$SED 1q $export_symbols`"; then
13841             prefix_cmds="$prefix_cmds -e 1d";
13842           fi~
13843           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13844           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13845           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13846           emximp -o $lib $output_objdir/$libname.def'
13847         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13848         enable_shared_with_static_runtimes_CXX=yes
13849         ;;
13850
13851       dgux*)
13852         case $cc_basename in
13853           ec++*)
13854             # FIXME: insert proper C++ library support
13855             ld_shlibs_CXX=no
13856             ;;
13857           ghcx*)
13858             # Green Hills C++ Compiler
13859             # FIXME: insert proper C++ library support
13860             ld_shlibs_CXX=no
13861             ;;
13862           *)
13863             # FIXME: insert proper C++ library support
13864             ld_shlibs_CXX=no
13865             ;;
13866         esac
13867         ;;
13868
13869       freebsd2.*)
13870         # C++ shared libraries reported to be fairly broken before
13871         # switch to ELF
13872         ld_shlibs_CXX=no
13873         ;;
13874
13875       freebsd-elf*)
13876         archive_cmds_need_lc_CXX=no
13877         ;;
13878
13879       freebsd* | dragonfly*)
13880         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13881         # conventions
13882         ld_shlibs_CXX=yes
13883         ;;
13884
13885       haiku*)
13886         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13887         link_all_deplibs_CXX=yes
13888         ;;
13889
13890       hpux9*)
13891         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13892         hardcode_libdir_separator_CXX=:
13893         export_dynamic_flag_spec_CXX='$wl-E'
13894         hardcode_direct_CXX=yes
13895         hardcode_minus_L_CXX=yes # Not in the search PATH,
13896                                              # but as the default
13897                                              # location of the library.
13898
13899         case $cc_basename in
13900           CC*)
13901             # FIXME: insert proper C++ library support
13902             ld_shlibs_CXX=no
13903             ;;
13904           aCC*)
13905             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'
13906             # Commands to make compiler produce verbose output that lists
13907             # what "hidden" libraries, object files and flags are used when
13908             # linking a shared library.
13909             #
13910             # There doesn't appear to be a way to prevent this compiler from
13911             # explicitly linking system object files so we need to strip them
13912             # from the output so that they don't get included in the library
13913             # dependencies.
13914             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"'
13915             ;;
13916           *)
13917             if test yes = "$GXX"; then
13918               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'
13919             else
13920               # FIXME: insert proper C++ library support
13921               ld_shlibs_CXX=no
13922             fi
13923             ;;
13924         esac
13925         ;;
13926
13927       hpux10*|hpux11*)
13928         if test no = "$with_gnu_ld"; then
13929           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13930           hardcode_libdir_separator_CXX=:
13931
13932           case $host_cpu in
13933             hppa*64*|ia64*)
13934               ;;
13935             *)
13936               export_dynamic_flag_spec_CXX='$wl-E'
13937               ;;
13938           esac
13939         fi
13940         case $host_cpu in
13941           hppa*64*|ia64*)
13942             hardcode_direct_CXX=no
13943             hardcode_shlibpath_var_CXX=no
13944             ;;
13945           *)
13946             hardcode_direct_CXX=yes
13947             hardcode_direct_absolute_CXX=yes
13948             hardcode_minus_L_CXX=yes # Not in the search PATH,
13949                                                  # but as the default
13950                                                  # location of the library.
13951             ;;
13952         esac
13953
13954         case $cc_basename in
13955           CC*)
13956             # FIXME: insert proper C++ library support
13957             ld_shlibs_CXX=no
13958             ;;
13959           aCC*)
13960             case $host_cpu in
13961               hppa*64*)
13962                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13963                 ;;
13964               ia64*)
13965                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13966                 ;;
13967               *)
13968                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13969                 ;;
13970             esac
13971             # Commands to make compiler produce verbose output that lists
13972             # what "hidden" libraries, object files and flags are used when
13973             # linking a shared library.
13974             #
13975             # There doesn't appear to be a way to prevent this compiler from
13976             # explicitly linking system object files so we need to strip them
13977             # from the output so that they don't get included in the library
13978             # dependencies.
13979             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"'
13980             ;;
13981           *)
13982             if test yes = "$GXX"; then
13983               if test no = "$with_gnu_ld"; then
13984                 case $host_cpu in
13985                   hppa*64*)
13986                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13987                     ;;
13988                   ia64*)
13989                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13990                     ;;
13991                   *)
13992                     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'
13993                     ;;
13994                 esac
13995               fi
13996             else
13997               # FIXME: insert proper C++ library support
13998               ld_shlibs_CXX=no
13999             fi
14000             ;;
14001         esac
14002         ;;
14003
14004       interix[3-9]*)
14005         hardcode_direct_CXX=no
14006         hardcode_shlibpath_var_CXX=no
14007         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14008         export_dynamic_flag_spec_CXX='$wl-E'
14009         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14010         # Instead, shared libraries are loaded at an image base (0x10000000 by
14011         # default) and relocated if they conflict, which is a slow very memory
14012         # consuming and fragmenting process.  To avoid this, we pick a random,
14013         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14014         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14015         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'
14016         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'
14017         ;;
14018       irix5* | irix6*)
14019         case $cc_basename in
14020           CC*)
14021             # SGI C++
14022             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'
14023
14024             # Archives containing C++ object files must be created using
14025             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14026             # necessary to make sure instantiated templates are included
14027             # in the archive.
14028             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14029             ;;
14030           *)
14031             if test yes = "$GXX"; then
14032               if test no = "$with_gnu_ld"; then
14033                 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'
14034               else
14035                 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'
14036               fi
14037             fi
14038             link_all_deplibs_CXX=yes
14039             ;;
14040         esac
14041         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14042         hardcode_libdir_separator_CXX=:
14043         inherit_rpath_CXX=yes
14044         ;;
14045
14046       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14047         case $cc_basename in
14048           KCC*)
14049             # Kuck and Associates, Inc. (KAI) C++ Compiler
14050
14051             # KCC will only create a shared library if the output file
14052             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14053             # to its proper name (with version) after linking.
14054             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'
14055             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'
14056             # Commands to make compiler produce verbose output that lists
14057             # what "hidden" libraries, object files and flags are used when
14058             # linking a shared library.
14059             #
14060             # There doesn't appear to be a way to prevent this compiler from
14061             # explicitly linking system object files so we need to strip them
14062             # from the output so that they don't get included in the library
14063             # dependencies.
14064             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"'
14065
14066             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14067             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14068
14069             # Archives containing C++ object files must be created using
14070             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14071             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14072             ;;
14073           icpc* | ecpc* )
14074             # Intel C++
14075             with_gnu_ld=yes
14076             # version 8.0 and above of icpc choke on multiply defined symbols
14077             # if we add $predep_objects and $postdep_objects, however 7.1 and
14078             # earlier do not add the objects themselves.
14079             case `$CC -V 2>&1` in
14080               *"Version 7."*)
14081                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14082                 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'
14083                 ;;
14084               *)  # Version 8.0 or newer
14085                 tmp_idyn=
14086                 case $host_cpu in
14087                   ia64*) tmp_idyn=' -i_dynamic';;
14088                 esac
14089                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14090                 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'
14091                 ;;
14092             esac
14093             archive_cmds_need_lc_CXX=no
14094             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14095             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14096             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14097             ;;
14098           pgCC* | pgcpp*)
14099             # Portland Group C++ compiler
14100             case `$CC -V` in
14101             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14102               prelink_cmds_CXX='tpldir=Template.dir~
14103                rm -rf $tpldir~
14104                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14105                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14106               old_archive_cmds_CXX='tpldir=Template.dir~
14107                 rm -rf $tpldir~
14108                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14109                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14110                 $RANLIB $oldlib'
14111               archive_cmds_CXX='tpldir=Template.dir~
14112                 rm -rf $tpldir~
14113                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14114                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14115               archive_expsym_cmds_CXX='tpldir=Template.dir~
14116                 rm -rf $tpldir~
14117                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14118                 $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'
14119               ;;
14120             *) # Version 6 and above use weak symbols
14121               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14122               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'
14123               ;;
14124             esac
14125
14126             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14127             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14128             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'
14129             ;;
14130           cxx*)
14131             # Compaq C++
14132             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14133             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'
14134
14135             runpath_var=LD_RUN_PATH
14136             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14137             hardcode_libdir_separator_CXX=:
14138
14139             # Commands to make compiler produce verbose output that lists
14140             # what "hidden" libraries, object files and flags are used when
14141             # linking a shared library.
14142             #
14143             # There doesn't appear to be a way to prevent this compiler from
14144             # explicitly linking system object files so we need to strip them
14145             # from the output so that they don't get included in the library
14146             # dependencies.
14147             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'
14148             ;;
14149           xl* | mpixl* | bgxl*)
14150             # IBM XL 8.0 on PPC, with GNU ld
14151             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14152             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14153             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14154             if test yes = "$supports_anon_versioning"; then
14155               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14156                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14157                 echo "local: *; };" >> $output_objdir/$libname.ver~
14158                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14159             fi
14160             ;;
14161           *)
14162             case `$CC -V 2>&1 | sed 5q` in
14163             *Sun\ C*)
14164               # Sun C++ 5.9
14165               no_undefined_flag_CXX=' -zdefs'
14166               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14167               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'
14168               hardcode_libdir_flag_spec_CXX='-R$libdir'
14169               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'
14170               compiler_needs_object_CXX=yes
14171
14172               # Not sure whether something based on
14173               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14174               # would be better.
14175               output_verbose_link_cmd='func_echo_all'
14176
14177               # Archives containing C++ object files must be created using
14178               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14179               # necessary to make sure instantiated templates are included
14180               # in the archive.
14181               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14182               ;;
14183             esac
14184             ;;
14185         esac
14186         ;;
14187
14188       lynxos*)
14189         # FIXME: insert proper C++ library support
14190         ld_shlibs_CXX=no
14191         ;;
14192
14193       m88k*)
14194         # FIXME: insert proper C++ library support
14195         ld_shlibs_CXX=no
14196         ;;
14197
14198       mvs*)
14199         case $cc_basename in
14200           cxx*)
14201             # FIXME: insert proper C++ library support
14202             ld_shlibs_CXX=no
14203             ;;
14204           *)
14205             # FIXME: insert proper C++ library support
14206             ld_shlibs_CXX=no
14207             ;;
14208         esac
14209         ;;
14210
14211       netbsd*)
14212         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14213           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14214           wlarc=
14215           hardcode_libdir_flag_spec_CXX='-R$libdir'
14216           hardcode_direct_CXX=yes
14217           hardcode_shlibpath_var_CXX=no
14218         fi
14219         # Workaround some broken pre-1.5 toolchains
14220         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14221         ;;
14222
14223       *nto* | *qnx*)
14224         ld_shlibs_CXX=yes
14225         ;;
14226
14227       openbsd* | bitrig*)
14228         if test -f /usr/libexec/ld.so; then
14229           hardcode_direct_CXX=yes
14230           hardcode_shlibpath_var_CXX=no
14231           hardcode_direct_absolute_CXX=yes
14232           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14233           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14234           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14235             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14236             export_dynamic_flag_spec_CXX='$wl-E'
14237             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14238           fi
14239           output_verbose_link_cmd=func_echo_all
14240         else
14241           ld_shlibs_CXX=no
14242         fi
14243         ;;
14244
14245       osf3* | osf4* | osf5*)
14246         case $cc_basename in
14247           KCC*)
14248             # Kuck and Associates, Inc. (KAI) C++ Compiler
14249
14250             # KCC will only create a shared library if the output file
14251             # ends with ".so" (or ".sl" for HP-UX), so rename the library
14252             # to its proper name (with version) after linking.
14253             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'
14254
14255             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14256             hardcode_libdir_separator_CXX=:
14257
14258             # Archives containing C++ object files must be created using
14259             # the KAI C++ compiler.
14260             case $host in
14261               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14262               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14263             esac
14264             ;;
14265           RCC*)
14266             # Rational C++ 2.4.1
14267             # FIXME: insert proper C++ library support
14268             ld_shlibs_CXX=no
14269             ;;
14270           cxx*)
14271             case $host in
14272               osf3*)
14273                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14274                 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'
14275                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14276                 ;;
14277               *)
14278                 allow_undefined_flag_CXX=' -expect_unresolved \*'
14279                 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'
14280                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14281                   echo "-hidden">> $lib.exp~
14282                   $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~
14283                   $RM $lib.exp'
14284                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14285                 ;;
14286             esac
14287
14288             hardcode_libdir_separator_CXX=:
14289
14290             # Commands to make compiler produce verbose output that lists
14291             # what "hidden" libraries, object files and flags are used when
14292             # linking a shared library.
14293             #
14294             # There doesn't appear to be a way to prevent this compiler from
14295             # explicitly linking system object files so we need to strip them
14296             # from the output so that they don't get included in the library
14297             # dependencies.
14298             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"'
14299             ;;
14300           *)
14301             if test yes,no = "$GXX,$with_gnu_ld"; then
14302               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14303               case $host in
14304                 osf3*)
14305                   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'
14306                   ;;
14307                 *)
14308                   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'
14309                   ;;
14310               esac
14311
14312               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14313               hardcode_libdir_separator_CXX=:
14314
14315               # Commands to make compiler produce verbose output that lists
14316               # what "hidden" libraries, object files and flags are used when
14317               # linking a shared library.
14318               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14319
14320             else
14321               # FIXME: insert proper C++ library support
14322               ld_shlibs_CXX=no
14323             fi
14324             ;;
14325         esac
14326         ;;
14327
14328       psos*)
14329         # FIXME: insert proper C++ library support
14330         ld_shlibs_CXX=no
14331         ;;
14332
14333       sunos4*)
14334         case $cc_basename in
14335           CC*)
14336             # Sun C++ 4.x
14337             # FIXME: insert proper C++ library support
14338             ld_shlibs_CXX=no
14339             ;;
14340           lcc*)
14341             # Lucid
14342             # FIXME: insert proper C++ library support
14343             ld_shlibs_CXX=no
14344             ;;
14345           *)
14346             # FIXME: insert proper C++ library support
14347             ld_shlibs_CXX=no
14348             ;;
14349         esac
14350         ;;
14351
14352       solaris*)
14353         case $cc_basename in
14354           CC* | sunCC*)
14355             # Sun C++ 4.2, 5.x and Centerline C++
14356             archive_cmds_need_lc_CXX=yes
14357             no_undefined_flag_CXX=' -zdefs'
14358             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14359             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14360               $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'
14361
14362             hardcode_libdir_flag_spec_CXX='-R$libdir'
14363             hardcode_shlibpath_var_CXX=no
14364             case $host_os in
14365               solaris2.[0-5] | solaris2.[0-5].*) ;;
14366               *)
14367                 # The compiler driver will combine and reorder linker options,
14368                 # but understands '-z linker_flag'.
14369                 # Supported since Solaris 2.6 (maybe 2.5.1?)
14370                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14371                 ;;
14372             esac
14373             link_all_deplibs_CXX=yes
14374
14375             output_verbose_link_cmd='func_echo_all'
14376
14377             # Archives containing C++ object files must be created using
14378             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
14379             # necessary to make sure instantiated templates are included
14380             # in the archive.
14381             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14382             ;;
14383           gcx*)
14384             # Green Hills C++ Compiler
14385             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14386
14387             # The C++ compiler must be used to create the archive.
14388             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14389             ;;
14390           *)
14391             # GNU C++ compiler with Solaris linker
14392             if test yes,no = "$GXX,$with_gnu_ld"; then
14393               no_undefined_flag_CXX=' $wl-z ${wl}defs'
14394               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14395                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14396                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14397                   $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'
14398
14399                 # Commands to make compiler produce verbose output that lists
14400                 # what "hidden" libraries, object files and flags are used when
14401                 # linking a shared library.
14402                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14403               else
14404                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14405                 # platform.
14406                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14407                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14408                   $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'
14409
14410                 # Commands to make compiler produce verbose output that lists
14411                 # what "hidden" libraries, object files and flags are used when
14412                 # linking a shared library.
14413                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14414               fi
14415
14416               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14417               case $host_os in
14418                 solaris2.[0-5] | solaris2.[0-5].*) ;;
14419                 *)
14420                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14421                   ;;
14422               esac
14423             fi
14424             ;;
14425         esac
14426         ;;
14427
14428     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14429       no_undefined_flag_CXX='$wl-z,text'
14430       archive_cmds_need_lc_CXX=no
14431       hardcode_shlibpath_var_CXX=no
14432       runpath_var='LD_RUN_PATH'
14433
14434       case $cc_basename in
14435         CC*)
14436           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14437           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14438           ;;
14439         *)
14440           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14441           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14442           ;;
14443       esac
14444       ;;
14445
14446       sysv5* | sco3.2v5* | sco5v6*)
14447         # Note: We CANNOT use -z defs as we might desire, because we do not
14448         # link with -lc, and that would cause any symbols used from libc to
14449         # always be unresolved, which means just about no library would
14450         # ever link correctly.  If we're not using GNU ld we use -z text
14451         # though, which does catch some bad symbols but isn't as heavy-handed
14452         # as -z defs.
14453         no_undefined_flag_CXX='$wl-z,text'
14454         allow_undefined_flag_CXX='$wl-z,nodefs'
14455         archive_cmds_need_lc_CXX=no
14456         hardcode_shlibpath_var_CXX=no
14457         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14458         hardcode_libdir_separator_CXX=':'
14459         link_all_deplibs_CXX=yes
14460         export_dynamic_flag_spec_CXX='$wl-Bexport'
14461         runpath_var='LD_RUN_PATH'
14462
14463         case $cc_basename in
14464           CC*)
14465             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14466             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14467             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14468               '"$old_archive_cmds_CXX"
14469             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14470               '"$reload_cmds_CXX"
14471             ;;
14472           *)
14473             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14474             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14475             ;;
14476         esac
14477       ;;
14478
14479       tandem*)
14480         case $cc_basename in
14481           NCC*)
14482             # NonStop-UX NCC 3.20
14483             # FIXME: insert proper C++ library support
14484             ld_shlibs_CXX=no
14485             ;;
14486           *)
14487             # FIXME: insert proper C++ library support
14488             ld_shlibs_CXX=no
14489             ;;
14490         esac
14491         ;;
14492
14493       vxworks*)
14494         # FIXME: insert proper C++ library support
14495         ld_shlibs_CXX=no
14496         ;;
14497
14498       *)
14499         # FIXME: insert proper C++ library support
14500         ld_shlibs_CXX=no
14501         ;;
14502     esac
14503
14504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14505 $as_echo "$ld_shlibs_CXX" >&6; }
14506     test no = "$ld_shlibs_CXX" && can_build_shared=no
14507
14508     GCC_CXX=$GXX
14509     LD_CXX=$LD
14510
14511     ## CAVEAT EMPTOR:
14512     ## There is no encapsulation within the following macros, do not change
14513     ## the running order or otherwise move them around unless you know exactly
14514     ## what you are doing...
14515     # Dependencies to place before and after the object being linked:
14516 predep_objects_CXX=
14517 postdep_objects_CXX=
14518 predeps_CXX=
14519 postdeps_CXX=
14520 compiler_lib_search_path_CXX=
14521
14522 cat > conftest.$ac_ext <<_LT_EOF
14523 class Foo
14524 {
14525 public:
14526   Foo (void) { a = 0; }
14527 private:
14528   int a;
14529 };
14530 _LT_EOF
14531
14532
14533 _lt_libdeps_save_CFLAGS=$CFLAGS
14534 case "$CC $CFLAGS " in #(
14535 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14536 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14537 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14538 esac
14539
14540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14541   (eval $ac_compile) 2>&5
14542   ac_status=$?
14543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14544   test $ac_status = 0; }; then
14545   # Parse the compiler output and extract the necessary
14546   # objects, libraries and library flags.
14547
14548   # Sentinel used to keep track of whether or not we are before
14549   # the conftest object file.
14550   pre_test_object_deps_done=no
14551
14552   for p in `eval "$output_verbose_link_cmd"`; do
14553     case $prev$p in
14554
14555     -L* | -R* | -l*)
14556        # Some compilers place space between "-{L,R}" and the path.
14557        # Remove the space.
14558        if test x-L = "$p" ||
14559           test x-R = "$p"; then
14560          prev=$p
14561          continue
14562        fi
14563
14564        # Expand the sysroot to ease extracting the directories later.
14565        if test -z "$prev"; then
14566          case $p in
14567          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14568          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14569          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14570          esac
14571        fi
14572        case $p in
14573        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14574        esac
14575        if test no = "$pre_test_object_deps_done"; then
14576          case $prev in
14577          -L | -R)
14578            # Internal compiler library paths should come after those
14579            # provided the user.  The postdeps already come after the
14580            # user supplied libs so there is no need to process them.
14581            if test -z "$compiler_lib_search_path_CXX"; then
14582              compiler_lib_search_path_CXX=$prev$p
14583            else
14584              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14585            fi
14586            ;;
14587          # The "-l" case would never come before the object being
14588          # linked, so don't bother handling this case.
14589          esac
14590        else
14591          if test -z "$postdeps_CXX"; then
14592            postdeps_CXX=$prev$p
14593          else
14594            postdeps_CXX="${postdeps_CXX} $prev$p"
14595          fi
14596        fi
14597        prev=
14598        ;;
14599
14600     *.lto.$objext) ;; # Ignore GCC LTO objects
14601     *.$objext)
14602        # This assumes that the test object file only shows up
14603        # once in the compiler output.
14604        if test "$p" = "conftest.$objext"; then
14605          pre_test_object_deps_done=yes
14606          continue
14607        fi
14608
14609        if test no = "$pre_test_object_deps_done"; then
14610          if test -z "$predep_objects_CXX"; then
14611            predep_objects_CXX=$p
14612          else
14613            predep_objects_CXX="$predep_objects_CXX $p"
14614          fi
14615        else
14616          if test -z "$postdep_objects_CXX"; then
14617            postdep_objects_CXX=$p
14618          else
14619            postdep_objects_CXX="$postdep_objects_CXX $p"
14620          fi
14621        fi
14622        ;;
14623
14624     *) ;; # Ignore the rest.
14625
14626     esac
14627   done
14628
14629   # Clean up.
14630   rm -f a.out a.exe
14631 else
14632   echo "libtool.m4: error: problem compiling CXX test program"
14633 fi
14634
14635 $RM -f confest.$objext
14636 CFLAGS=$_lt_libdeps_save_CFLAGS
14637
14638 # PORTME: override above test on systems where it is broken
14639 case $host_os in
14640 interix[3-9]*)
14641   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14642   # hack all around it, let's just trust "g++" to DTRT.
14643   predep_objects_CXX=
14644   postdep_objects_CXX=
14645   postdeps_CXX=
14646   ;;
14647 esac
14648
14649
14650 case " $postdeps_CXX " in
14651 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14652 esac
14653  compiler_lib_search_dirs_CXX=
14654 if test -n "${compiler_lib_search_path_CXX}"; then
14655  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14656 fi
14657
14658     
14659     
14660     
14661
14662
14663     
14664     
14665     
14666
14667
14668     
14669     
14670     
14671
14672
14673     
14674     
14675     
14676
14677
14678     
14679     
14680     
14681
14682
14683     
14684     
14685     
14686
14687
14688     lt_prog_compiler_wl_CXX=
14689 lt_prog_compiler_pic_CXX=
14690 lt_prog_compiler_static_CXX=
14691
14692
14693   # C++ specific cases for pic, static, wl, etc.
14694   if test yes = "$GXX"; then
14695     lt_prog_compiler_wl_CXX='-Wl,'
14696     lt_prog_compiler_static_CXX='-static'
14697
14698     case $host_os in
14699     aix*)
14700       # All AIX code is PIC.
14701       if test ia64 = "$host_cpu"; then
14702         # AIX 5 now supports IA64 processor
14703         lt_prog_compiler_static_CXX='-Bstatic'
14704       fi
14705       lt_prog_compiler_pic_CXX='-fPIC'
14706       ;;
14707
14708     amigaos*)
14709       case $host_cpu in
14710       powerpc)
14711             # see comment about AmigaOS4 .so support
14712             lt_prog_compiler_pic_CXX='-fPIC'
14713         ;;
14714       m68k)
14715             # FIXME: we need at least 68020 code to build shared libraries, but
14716             # adding the '-m68020' flag to GCC prevents building anything better,
14717             # like '-m68040'.
14718             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14719         ;;
14720       esac
14721       ;;
14722
14723     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14724       # PIC is the default for these OSes.
14725       ;;
14726     mingw* | cygwin* | os2* | pw32* | cegcc*)
14727       # This hack is so that the source file can tell whether it is being
14728       # built for inclusion in a dll (and should export symbols for example).
14729       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14730       # (--disable-auto-import) libraries
14731       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14732       case $host_os in
14733       os2*)
14734         lt_prog_compiler_static_CXX='$wl-static'
14735         ;;
14736       esac
14737       ;;
14738     darwin* | rhapsody*)
14739       # PIC is the default on this platform
14740       # Common symbols not allowed in MH_DYLIB files
14741       lt_prog_compiler_pic_CXX='-fno-common'
14742       ;;
14743     *djgpp*)
14744       # DJGPP does not support shared libraries at all
14745       lt_prog_compiler_pic_CXX=
14746       ;;
14747     haiku*)
14748       # PIC is the default for Haiku.
14749       # The "-static" flag exists, but is broken.
14750       lt_prog_compiler_static_CXX=
14751       ;;
14752     interix[3-9]*)
14753       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14754       # Instead, we relocate shared libraries at runtime.
14755       ;;
14756     sysv4*MP*)
14757       if test -d /usr/nec; then
14758         lt_prog_compiler_pic_CXX=-Kconform_pic
14759       fi
14760       ;;
14761     hpux*)
14762       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14763       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14764       # sets the default TLS model and affects inlining.
14765       case $host_cpu in
14766       hppa*64*)
14767         ;;
14768       *)
14769         lt_prog_compiler_pic_CXX='-fPIC'
14770         ;;
14771       esac
14772       ;;
14773     *qnx* | *nto*)
14774       # QNX uses GNU C++, but need to define -shared option too, otherwise
14775       # it will coredump.
14776       lt_prog_compiler_pic_CXX='-fPIC -shared'
14777       ;;
14778     *)
14779       lt_prog_compiler_pic_CXX='-fPIC'
14780       ;;
14781     esac
14782   else
14783     case $host_os in
14784       aix[4-9]*)
14785         # All AIX code is PIC.
14786         if test ia64 = "$host_cpu"; then
14787           # AIX 5 now supports IA64 processor
14788           lt_prog_compiler_static_CXX='-Bstatic'
14789         else
14790           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14791         fi
14792         ;;
14793       chorus*)
14794         case $cc_basename in
14795         cxch68*)
14796           # Green Hills C++ Compiler
14797           # _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"
14798           ;;
14799         esac
14800         ;;
14801       mingw* | cygwin* | os2* | pw32* | cegcc*)
14802         # This hack is so that the source file can tell whether it is being
14803         # built for inclusion in a dll (and should export symbols for example).
14804         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14805         ;;
14806       dgux*)
14807         case $cc_basename in
14808           ec++*)
14809             lt_prog_compiler_pic_CXX='-KPIC'
14810             ;;
14811           ghcx*)
14812             # Green Hills C++ Compiler
14813             lt_prog_compiler_pic_CXX='-pic'
14814             ;;
14815           *)
14816             ;;
14817         esac
14818         ;;
14819       freebsd* | dragonfly*)
14820         # FreeBSD uses GNU C++
14821         ;;
14822       hpux9* | hpux10* | hpux11*)
14823         case $cc_basename in
14824           CC*)
14825             lt_prog_compiler_wl_CXX='-Wl,'
14826             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14827             if test ia64 != "$host_cpu"; then
14828               lt_prog_compiler_pic_CXX='+Z'
14829             fi
14830             ;;
14831           aCC*)
14832             lt_prog_compiler_wl_CXX='-Wl,'
14833             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14834             case $host_cpu in
14835             hppa*64*|ia64*)
14836               # +Z the default
14837               ;;
14838             *)
14839               lt_prog_compiler_pic_CXX='+Z'
14840               ;;
14841             esac
14842             ;;
14843           *)
14844             ;;
14845         esac
14846         ;;
14847       interix*)
14848         # This is c89, which is MS Visual C++ (no shared libs)
14849         # Anyone wants to do a port?
14850         ;;
14851       irix5* | irix6* | nonstopux*)
14852         case $cc_basename in
14853           CC*)
14854             lt_prog_compiler_wl_CXX='-Wl,'
14855             lt_prog_compiler_static_CXX='-non_shared'
14856             # CC pic flag -KPIC is the default.
14857             ;;
14858           *)
14859             ;;
14860         esac
14861         ;;
14862       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14863         case $cc_basename in
14864           KCC*)
14865             # KAI C++ Compiler
14866             lt_prog_compiler_wl_CXX='--backend -Wl,'
14867             lt_prog_compiler_pic_CXX='-fPIC'
14868             ;;
14869           ecpc* )
14870             # old Intel C++ for x86_64, which still supported -KPIC.
14871             lt_prog_compiler_wl_CXX='-Wl,'
14872             lt_prog_compiler_pic_CXX='-KPIC'
14873             lt_prog_compiler_static_CXX='-static'
14874             ;;
14875           icpc* )
14876             # Intel C++, used to be incompatible with GCC.
14877             # ICC 10 doesn't accept -KPIC any more.
14878             lt_prog_compiler_wl_CXX='-Wl,'
14879             lt_prog_compiler_pic_CXX='-fPIC'
14880             lt_prog_compiler_static_CXX='-static'
14881             ;;
14882           pgCC* | pgcpp*)
14883             # Portland Group C++ compiler
14884             lt_prog_compiler_wl_CXX='-Wl,'
14885             lt_prog_compiler_pic_CXX='-fpic'
14886             lt_prog_compiler_static_CXX='-Bstatic'
14887             ;;
14888           cxx*)
14889             # Compaq C++
14890             # Make sure the PIC flag is empty.  It appears that all Alpha
14891             # Linux and Compaq Tru64 Unix objects are PIC.
14892             lt_prog_compiler_pic_CXX=
14893             lt_prog_compiler_static_CXX='-non_shared'
14894             ;;
14895           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14896             # IBM XL 8.0, 9.0 on PPC and BlueGene
14897             lt_prog_compiler_wl_CXX='-Wl,'
14898             lt_prog_compiler_pic_CXX='-qpic'
14899             lt_prog_compiler_static_CXX='-qstaticlink'
14900             ;;
14901           *)
14902             case `$CC -V 2>&1 | sed 5q` in
14903             *Sun\ C*)
14904               # Sun C++ 5.9
14905               lt_prog_compiler_pic_CXX='-KPIC'
14906               lt_prog_compiler_static_CXX='-Bstatic'
14907               lt_prog_compiler_wl_CXX='-Qoption ld '
14908               ;;
14909             esac
14910             ;;
14911         esac
14912         ;;
14913       lynxos*)
14914         ;;
14915       m88k*)
14916         ;;
14917       mvs*)
14918         case $cc_basename in
14919           cxx*)
14920             lt_prog_compiler_pic_CXX='-W c,exportall'
14921             ;;
14922           *)
14923             ;;
14924         esac
14925         ;;
14926       netbsd* | netbsdelf*-gnu)
14927         ;;
14928       *qnx* | *nto*)
14929         # QNX uses GNU C++, but need to define -shared option too, otherwise
14930         # it will coredump.
14931         lt_prog_compiler_pic_CXX='-fPIC -shared'
14932         ;;
14933       osf3* | osf4* | osf5*)
14934         case $cc_basename in
14935           KCC*)
14936             lt_prog_compiler_wl_CXX='--backend -Wl,'
14937             ;;
14938           RCC*)
14939             # Rational C++ 2.4.1
14940             lt_prog_compiler_pic_CXX='-pic'
14941             ;;
14942           cxx*)
14943             # Digital/Compaq C++
14944             lt_prog_compiler_wl_CXX='-Wl,'
14945             # Make sure the PIC flag is empty.  It appears that all Alpha
14946             # Linux and Compaq Tru64 Unix objects are PIC.
14947             lt_prog_compiler_pic_CXX=
14948             lt_prog_compiler_static_CXX='-non_shared'
14949             ;;
14950           *)
14951             ;;
14952         esac
14953         ;;
14954       psos*)
14955         ;;
14956       solaris*)
14957         case $cc_basename in
14958           CC* | sunCC*)
14959             # Sun C++ 4.2, 5.x and Centerline C++
14960             lt_prog_compiler_pic_CXX='-KPIC'
14961             lt_prog_compiler_static_CXX='-Bstatic'
14962             lt_prog_compiler_wl_CXX='-Qoption ld '
14963             ;;
14964           gcx*)
14965             # Green Hills C++ Compiler
14966             lt_prog_compiler_pic_CXX='-PIC'
14967             ;;
14968           *)
14969             ;;
14970         esac
14971         ;;
14972       sunos4*)
14973         case $cc_basename in
14974           CC*)
14975             # Sun C++ 4.x
14976             lt_prog_compiler_pic_CXX='-pic'
14977             lt_prog_compiler_static_CXX='-Bstatic'
14978             ;;
14979           lcc*)
14980             # Lucid
14981             lt_prog_compiler_pic_CXX='-pic'
14982             ;;
14983           *)
14984             ;;
14985         esac
14986         ;;
14987       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14988         case $cc_basename in
14989           CC*)
14990             lt_prog_compiler_wl_CXX='-Wl,'
14991             lt_prog_compiler_pic_CXX='-KPIC'
14992             lt_prog_compiler_static_CXX='-Bstatic'
14993             ;;
14994         esac
14995         ;;
14996       tandem*)
14997         case $cc_basename in
14998           NCC*)
14999             # NonStop-UX NCC 3.20
15000             lt_prog_compiler_pic_CXX='-KPIC'
15001             ;;
15002           *)
15003             ;;
15004         esac
15005         ;;
15006       vxworks*)
15007         ;;
15008       *)
15009         lt_prog_compiler_can_build_shared_CXX=no
15010         ;;
15011     esac
15012   fi
15013
15014 case $host_os in
15015   # For platforms that do not support PIC, -DPIC is meaningless:
15016   *djgpp*)
15017     lt_prog_compiler_pic_CXX=
15018     ;;
15019   *)
15020     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15021     ;;
15022 esac
15023
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15025 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15026 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15027   $as_echo_n "(cached) " >&6
15028 else
15029   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15030 fi
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15032 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15033 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15034
15035 #
15036 # Check to make sure the PIC flag actually works.
15037 #
15038 if test -n "$lt_prog_compiler_pic_CXX"; then
15039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15040 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15041 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15042   $as_echo_n "(cached) " >&6
15043 else
15044   lt_cv_prog_compiler_pic_works_CXX=no
15045    ac_outfile=conftest.$ac_objext
15046    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15047    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15048    # Insert the option either (1) after the last *FLAGS variable, or
15049    # (2) before a word containing "conftest.", or (3) at the end.
15050    # Note that $ac_compile itself does not contain backslashes and begins
15051    # with a dollar sign (not a hyphen), so the echo should work correctly.
15052    # The option is referenced via a variable to avoid confusing sed.
15053    lt_compile=`echo "$ac_compile" | $SED \
15054    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15055    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15056    -e 's:$: $lt_compiler_flag:'`
15057    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15058    (eval "$lt_compile" 2>conftest.err)
15059    ac_status=$?
15060    cat conftest.err >&5
15061    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062    if (exit $ac_status) && test -s "$ac_outfile"; then
15063      # The compiler can only warn and ignore the option if not recognized
15064      # So say no if there are warnings other than the usual output.
15065      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15066      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15067      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15068        lt_cv_prog_compiler_pic_works_CXX=yes
15069      fi
15070    fi
15071    $RM conftest*
15072
15073 fi
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15075 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15076
15077 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15078     case $lt_prog_compiler_pic_CXX in
15079      "" | " "*) ;;
15080      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15081      esac
15082 else
15083     lt_prog_compiler_pic_CXX=
15084      lt_prog_compiler_can_build_shared_CXX=no
15085 fi
15086
15087 fi
15088
15089
15090
15091
15092
15093 #
15094 # Check to make sure the static flag actually works.
15095 #
15096 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15098 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15099 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15100   $as_echo_n "(cached) " >&6
15101 else
15102   lt_cv_prog_compiler_static_works_CXX=no
15103    save_LDFLAGS=$LDFLAGS
15104    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15105    echo "$lt_simple_link_test_code" > conftest.$ac_ext
15106    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15107      # The linker can only warn and ignore the option if not recognized
15108      # So say no if there are warnings
15109      if test -s conftest.err; then
15110        # Append any errors to the config.log.
15111        cat conftest.err 1>&5
15112        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15113        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15114        if diff conftest.exp conftest.er2 >/dev/null; then
15115          lt_cv_prog_compiler_static_works_CXX=yes
15116        fi
15117      else
15118        lt_cv_prog_compiler_static_works_CXX=yes
15119      fi
15120    fi
15121    $RM -r conftest*
15122    LDFLAGS=$save_LDFLAGS
15123
15124 fi
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15126 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15127
15128 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15129     :
15130 else
15131     lt_prog_compiler_static_CXX=
15132 fi
15133
15134
15135
15136
15137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15139 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15140   $as_echo_n "(cached) " >&6
15141 else
15142   lt_cv_prog_compiler_c_o_CXX=no
15143    $RM -r conftest 2>/dev/null
15144    mkdir conftest
15145    cd conftest
15146    mkdir out
15147    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15148
15149    lt_compiler_flag="-o out/conftest2.$ac_objext"
15150    # Insert the option either (1) after the last *FLAGS variable, or
15151    # (2) before a word containing "conftest.", or (3) at the end.
15152    # Note that $ac_compile itself does not contain backslashes and begins
15153    # with a dollar sign (not a hyphen), so the echo should work correctly.
15154    lt_compile=`echo "$ac_compile" | $SED \
15155    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15156    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15157    -e 's:$: $lt_compiler_flag:'`
15158    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15159    (eval "$lt_compile" 2>out/conftest.err)
15160    ac_status=$?
15161    cat out/conftest.err >&5
15162    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15164    then
15165      # The compiler can only warn and ignore the option if not recognized
15166      # So say no if there are warnings
15167      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15168      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15169      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15170        lt_cv_prog_compiler_c_o_CXX=yes
15171      fi
15172    fi
15173    chmod u+w . 2>&5
15174    $RM conftest*
15175    # SGI C++ compiler will create directory out/ii_files/ for
15176    # template instantiation
15177    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15178    $RM out/* && rmdir out
15179    cd ..
15180    $RM -r conftest
15181    $RM conftest*
15182
15183 fi
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15185 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15186
15187
15188
15189     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15190 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15191 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15192   $as_echo_n "(cached) " >&6
15193 else
15194   lt_cv_prog_compiler_c_o_CXX=no
15195    $RM -r conftest 2>/dev/null
15196    mkdir conftest
15197    cd conftest
15198    mkdir out
15199    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15200
15201    lt_compiler_flag="-o out/conftest2.$ac_objext"
15202    # Insert the option either (1) after the last *FLAGS variable, or
15203    # (2) before a word containing "conftest.", or (3) at the end.
15204    # Note that $ac_compile itself does not contain backslashes and begins
15205    # with a dollar sign (not a hyphen), so the echo should work correctly.
15206    lt_compile=`echo "$ac_compile" | $SED \
15207    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15208    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15209    -e 's:$: $lt_compiler_flag:'`
15210    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15211    (eval "$lt_compile" 2>out/conftest.err)
15212    ac_status=$?
15213    cat out/conftest.err >&5
15214    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215    if (exit $ac_status) && test -s out/conftest2.$ac_objext
15216    then
15217      # The compiler can only warn and ignore the option if not recognized
15218      # So say no if there are warnings
15219      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15220      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15221      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15222        lt_cv_prog_compiler_c_o_CXX=yes
15223      fi
15224    fi
15225    chmod u+w . 2>&5
15226    $RM conftest*
15227    # SGI C++ compiler will create directory out/ii_files/ for
15228    # template instantiation
15229    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15230    $RM out/* && rmdir out
15231    cd ..
15232    $RM -r conftest
15233    $RM conftest*
15234
15235 fi
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15237 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15238
15239
15240
15241
15242 hard_links=nottested
15243 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15244   # do not overwrite the value of need_locks provided by the user
15245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15246 $as_echo_n "checking if we can lock with hard links... " >&6; }
15247   hard_links=yes
15248   $RM conftest*
15249   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15250   touch conftest.a
15251   ln conftest.a conftest.b 2>&5 || hard_links=no
15252   ln conftest.a conftest.b 2>/dev/null && hard_links=no
15253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15254 $as_echo "$hard_links" >&6; }
15255   if test no = "$hard_links"; then
15256     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15257 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15258     need_locks=warn
15259   fi
15260 else
15261   need_locks=no
15262 fi
15263
15264
15265
15266     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15267 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15268
15269   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15270   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15271   case $host_os in
15272   aix[4-9]*)
15273     # If we're using GNU nm, then we don't want the "-C" option.
15274     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15275     # Without the "-l" option, or with the "-B" option, AIX nm treats
15276     # weak defined symbols like other global defined symbols, whereas
15277     # GNU nm marks them as "W".
15278     # While the 'weak' keyword is ignored in the Export File, we need
15279     # it in the Import File for the 'aix-soname' feature, so we have
15280     # to replace the "-B" option with "-P" for AIX nm.
15281     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15282       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'
15283     else
15284       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'
15285     fi
15286     ;;
15287   pw32*)
15288     export_symbols_cmds_CXX=$ltdll_cmds
15289     ;;
15290   cygwin* | mingw* | cegcc*)
15291     case $cc_basename in
15292     cl*)
15293       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15294       ;;
15295     *)
15296       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'
15297       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15298       ;;
15299     esac
15300     ;;
15301   linux* | k*bsd*-gnu | gnu*)
15302     link_all_deplibs_CXX=no
15303     ;;
15304   *)
15305     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15306     ;;
15307   esac
15308
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15310 $as_echo "$ld_shlibs_CXX" >&6; }
15311 test no = "$ld_shlibs_CXX" && can_build_shared=no
15312
15313 with_gnu_ld_CXX=$with_gnu_ld
15314
15315
15316
15317
15318
15319
15320 #
15321 # Do we need to explicitly link libc?
15322 #
15323 case "x$archive_cmds_need_lc_CXX" in
15324 x|xyes)
15325   # Assume -lc should be added
15326   archive_cmds_need_lc_CXX=yes
15327
15328   if test yes,yes = "$GCC,$enable_shared"; then
15329     case $archive_cmds_CXX in
15330     *'~'*)
15331       # FIXME: we may have to deal with multi-command sequences.
15332       ;;
15333     '$CC '*)
15334       # Test whether the compiler implicitly links with -lc since on some
15335       # systems, -lgcc has to come before -lc. If gcc already passes -lc
15336       # to ld, don't add -lc before -lgcc.
15337       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15338 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15339 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15340   $as_echo_n "(cached) " >&6
15341 else
15342   $RM conftest*
15343         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15344
15345         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15346   (eval $ac_compile) 2>&5
15347   ac_status=$?
15348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15349   test $ac_status = 0; } 2>conftest.err; then
15350           soname=conftest
15351           lib=conftest
15352           libobjs=conftest.$ac_objext
15353           deplibs=
15354           wl=$lt_prog_compiler_wl_CXX
15355           pic_flag=$lt_prog_compiler_pic_CXX
15356           compiler_flags=-v
15357           linker_flags=-v
15358           verstring=
15359           output_objdir=.
15360           libname=conftest
15361           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15362           allow_undefined_flag_CXX=
15363           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15364   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15365   ac_status=$?
15366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15367   test $ac_status = 0; }
15368           then
15369             lt_cv_archive_cmds_need_lc_CXX=no
15370           else
15371             lt_cv_archive_cmds_need_lc_CXX=yes
15372           fi
15373           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15374         else
15375           cat conftest.err 1>&5
15376         fi
15377         $RM conftest*
15378         
15379 fi
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15381 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15382       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15383       ;;
15384     esac
15385   fi
15386   ;;
15387 esac
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15451 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15452
15453 library_names_spec=
15454 libname_spec='lib$name'
15455 soname_spec=
15456 shrext_cmds=.so
15457 postinstall_cmds=
15458 postuninstall_cmds=
15459 finish_cmds=
15460 finish_eval=
15461 shlibpath_var=
15462 shlibpath_overrides_runpath=unknown
15463 version_type=none
15464 dynamic_linker="$host_os ld.so"
15465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15466 need_lib_prefix=unknown
15467 hardcode_into_libs=no
15468
15469 # when you set need_version to no, make sure it does not cause -set_version
15470 # flags to be left without arguments
15471 need_version=unknown
15472
15473
15474
15475 case $host_os in
15476 aix3*)
15477   version_type=linux # correct to gnu/linux during the next big refactor
15478   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15479   shlibpath_var=LIBPATH
15480
15481   # AIX 3 has no versioning support, so we append a major version to the name.
15482   soname_spec='$libname$release$shared_ext$major'
15483   ;;
15484
15485 aix[4-9]*)
15486   version_type=linux # correct to gnu/linux during the next big refactor
15487   need_lib_prefix=no
15488   need_version=no
15489   hardcode_into_libs=yes
15490   if test ia64 = "$host_cpu"; then
15491     # AIX 5 supports IA64
15492     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15493     shlibpath_var=LD_LIBRARY_PATH
15494   else
15495     # With GCC up to 2.95.x, collect2 would create an import file
15496     # for dependence libraries.  The import file would start with
15497     # the line '#! .'.  This would cause the generated library to
15498     # depend on '.', always an invalid library.  This was fixed in
15499     # development snapshots of GCC prior to 3.0.
15500     case $host_os in
15501       aix4 | aix4.[01] | aix4.[01].*)
15502       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15503            echo ' yes '
15504            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15505         :
15506       else
15507         can_build_shared=no
15508       fi
15509       ;;
15510     esac
15511     # Using Import Files as archive members, it is possible to support
15512     # filename-based versioning of shared library archives on AIX. While
15513     # this would work for both with and without runtime linking, it will
15514     # prevent static linking of such archives. So we do filename-based
15515     # shared library versioning with .so extension only, which is used
15516     # when both runtime linking and shared linking is enabled.
15517     # Unfortunately, runtime linking may impact performance, so we do
15518     # not want this to be the default eventually. Also, we use the
15519     # versioned .so libs for executables only if there is the -brtl
15520     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15521     # To allow for filename-based versioning support, we need to create
15522     # libNAME.so.V as an archive file, containing:
15523     # *) an Import File, referring to the versioned filename of the
15524     #    archive as well as the shared archive member, telling the
15525     #    bitwidth (32 or 64) of that shared object, and providing the
15526     #    list of exported symbols of that shared object, eventually
15527     #    decorated with the 'weak' keyword
15528     # *) the shared object with the F_LOADONLY flag set, to really avoid
15529     #    it being seen by the linker.
15530     # At run time we better use the real file rather than another symlink,
15531     # but for link time we create the symlink libNAME.so -> libNAME.so.V
15532
15533     case $with_aix_soname,$aix_use_runtimelinking in
15534     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15535     # soname into executable. Probably we can add versioning support to
15536     # collect2, so additional links can be useful in future.
15537     aix,yes) # traditional libtool
15538       dynamic_linker='AIX unversionable lib.so'
15539       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15540       # instead of lib<name>.a to let people know that these are not
15541       # typical AIX shared libraries.
15542       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15543       ;;
15544     aix,no) # traditional AIX only
15545       dynamic_linker='AIX lib.a(lib.so.V)'
15546       # We preserve .a as extension for shared libraries through AIX4.2
15547       # and later when we are not doing run time linking.
15548       library_names_spec='$libname$release.a $libname.a'
15549       soname_spec='$libname$release$shared_ext$major'
15550       ;;
15551     svr4,*) # full svr4 only
15552       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15553       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15554       # We do not specify a path in Import Files, so LIBPATH fires.
15555       shlibpath_overrides_runpath=yes
15556       ;;
15557     *,yes) # both, prefer svr4
15558       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15559       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15560       # unpreferred sharedlib libNAME.a needs extra handling
15561       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"'
15562       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"'
15563       # We do not specify a path in Import Files, so LIBPATH fires.
15564       shlibpath_overrides_runpath=yes
15565       ;;
15566     *,no) # both, prefer aix
15567       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15568       library_names_spec='$libname$release.a $libname.a'
15569       soname_spec='$libname$release$shared_ext$major'
15570       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15571       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)'
15572       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"'
15573       ;;
15574     esac
15575     shlibpath_var=LIBPATH
15576   fi
15577   ;;
15578
15579 amigaos*)
15580   case $host_cpu in
15581   powerpc)
15582     # Since July 2007 AmigaOS4 officially supports .so libraries.
15583     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15584     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15585     ;;
15586   m68k)
15587     library_names_spec='$libname.ixlibrary $libname.a'
15588     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15589     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'
15590     ;;
15591   esac
15592   ;;
15593
15594 beos*)
15595   library_names_spec='$libname$shared_ext'
15596   dynamic_linker="$host_os ld.so"
15597   shlibpath_var=LIBRARY_PATH
15598   ;;
15599
15600 bsdi[45]*)
15601   version_type=linux # correct to gnu/linux during the next big refactor
15602   need_version=no
15603   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15604   soname_spec='$libname$release$shared_ext$major'
15605   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15606   shlibpath_var=LD_LIBRARY_PATH
15607   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15608   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15609   # the default ld.so.conf also contains /usr/contrib/lib and
15610   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15611   # libtool to hard-code these into programs
15612   ;;
15613
15614 cygwin* | mingw* | pw32* | cegcc*)
15615   version_type=windows
15616   shrext_cmds=.dll
15617   need_version=no
15618   need_lib_prefix=no
15619
15620   case $GCC,$cc_basename in
15621   yes,*)
15622     # gcc
15623     library_names_spec='$libname.dll.a'
15624     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15625     postinstall_cmds='base_file=`basename \$file`~
15626       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15627       dldir=$destdir/`dirname \$dlpath`~
15628       test -d \$dldir || mkdir -p \$dldir~
15629       $install_prog $dir/$dlname \$dldir/$dlname~
15630       chmod a+x \$dldir/$dlname~
15631       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15632         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15633       fi'
15634     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15635       dlpath=$dir/\$dldll~
15636        $RM \$dlpath'
15637     shlibpath_overrides_runpath=yes
15638
15639     case $host_os in
15640     cygwin*)
15641       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15642       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15643
15644       ;;
15645     mingw* | cegcc*)
15646       # MinGW DLLs use traditional 'lib' prefix
15647       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15648       ;;
15649     pw32*)
15650       # pw32 DLLs use 'pw' prefix rather than 'lib'
15651       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15652       ;;
15653     esac
15654     dynamic_linker='Win32 ld.exe'
15655     ;;
15656
15657   *,cl*)
15658     # Native MSVC
15659     libname_spec='$name'
15660     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15661     library_names_spec='$libname.dll.lib'
15662
15663     case $build_os in
15664     mingw*)
15665       sys_lib_search_path_spec=
15666       lt_save_ifs=$IFS
15667       IFS=';'
15668       for lt_path in $LIB
15669       do
15670         IFS=$lt_save_ifs
15671         # Let DOS variable expansion print the short 8.3 style file name.
15672         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15673         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15674       done
15675       IFS=$lt_save_ifs
15676       # Convert to MSYS style.
15677       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15678       ;;
15679     cygwin*)
15680       # Convert to unix form, then to dos form, then back to unix form
15681       # but this time dos style (no spaces!) so that the unix form looks
15682       # like /cygdrive/c/PROGRA~1:/cygdr...
15683       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15684       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15685       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15686       ;;
15687     *)
15688       sys_lib_search_path_spec=$LIB
15689       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15690         # It is most probably a Windows format PATH.
15691         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15692       else
15693         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15694       fi
15695       # FIXME: find the short name or the path components, as spaces are
15696       # common. (e.g. "Program Files" -> "PROGRA~1")
15697       ;;
15698     esac
15699
15700     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15701     postinstall_cmds='base_file=`basename \$file`~
15702       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15703       dldir=$destdir/`dirname \$dlpath`~
15704       test -d \$dldir || mkdir -p \$dldir~
15705       $install_prog $dir/$dlname \$dldir/$dlname'
15706     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15707       dlpath=$dir/\$dldll~
15708        $RM \$dlpath'
15709     shlibpath_overrides_runpath=yes
15710     dynamic_linker='Win32 link.exe'
15711     ;;
15712
15713   *)
15714     # Assume MSVC wrapper
15715     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15716     dynamic_linker='Win32 ld.exe'
15717     ;;
15718   esac
15719   # FIXME: first we should search . and the directory the executable is in
15720   shlibpath_var=PATH
15721   ;;
15722
15723 darwin* | rhapsody*)
15724   dynamic_linker="$host_os dyld"
15725   version_type=darwin
15726   need_lib_prefix=no
15727   need_version=no
15728   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15729   soname_spec='$libname$release$major$shared_ext'
15730   shlibpath_overrides_runpath=yes
15731   shlibpath_var=DYLD_LIBRARY_PATH
15732   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15733
15734   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15735   ;;
15736
15737 dgux*)
15738   version_type=linux # correct to gnu/linux during the next big refactor
15739   need_lib_prefix=no
15740   need_version=no
15741   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15742   soname_spec='$libname$release$shared_ext$major'
15743   shlibpath_var=LD_LIBRARY_PATH
15744   ;;
15745
15746 freebsd* | dragonfly*)
15747   # DragonFly does not have aout.  When/if they implement a new
15748   # versioning mechanism, adjust this.
15749   if test -x /usr/bin/objformat; then
15750     objformat=`/usr/bin/objformat`
15751   else
15752     case $host_os in
15753     freebsd[23].*) objformat=aout ;;
15754     *) objformat=elf ;;
15755     esac
15756   fi
15757   version_type=freebsd-$objformat
15758   case $version_type in
15759     freebsd-elf*)
15760       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15761       soname_spec='$libname$release$shared_ext$major'
15762       need_version=no
15763       need_lib_prefix=no
15764       ;;
15765     freebsd-*)
15766       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15767       need_version=yes
15768       ;;
15769   esac
15770   shlibpath_var=LD_LIBRARY_PATH
15771   case $host_os in
15772   freebsd2.*)
15773     shlibpath_overrides_runpath=yes
15774     ;;
15775   freebsd3.[01]* | freebsdelf3.[01]*)
15776     shlibpath_overrides_runpath=yes
15777     hardcode_into_libs=yes
15778     ;;
15779   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15780   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15781     shlibpath_overrides_runpath=no
15782     hardcode_into_libs=yes
15783     ;;
15784   *) # from 4.6 on, and DragonFly
15785     shlibpath_overrides_runpath=yes
15786     hardcode_into_libs=yes
15787     ;;
15788   esac
15789   ;;
15790
15791 haiku*)
15792   version_type=linux # correct to gnu/linux during the next big refactor
15793   need_lib_prefix=no
15794   need_version=no
15795   dynamic_linker="$host_os runtime_loader"
15796   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15797   soname_spec='$libname$release$shared_ext$major'
15798   shlibpath_var=LIBRARY_PATH
15799   shlibpath_overrides_runpath=no
15800   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15801   hardcode_into_libs=yes
15802   ;;
15803
15804 hpux9* | hpux10* | hpux11*)
15805   # Give a soname corresponding to the major version so that dld.sl refuses to
15806   # link against other versions.
15807   version_type=sunos
15808   need_lib_prefix=no
15809   need_version=no
15810   case $host_cpu in
15811   ia64*)
15812     shrext_cmds='.so'
15813     hardcode_into_libs=yes
15814     dynamic_linker="$host_os dld.so"
15815     shlibpath_var=LD_LIBRARY_PATH
15816     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15817     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15818     soname_spec='$libname$release$shared_ext$major'
15819     if test 32 = "$HPUX_IA64_MODE"; then
15820       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15821       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15822     else
15823       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15824       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15825     fi
15826     ;;
15827   hppa*64*)
15828     shrext_cmds='.sl'
15829     hardcode_into_libs=yes
15830     dynamic_linker="$host_os dld.sl"
15831     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15832     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15833     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15834     soname_spec='$libname$release$shared_ext$major'
15835     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15836     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15837     ;;
15838   *)
15839     shrext_cmds='.sl'
15840     dynamic_linker="$host_os dld.sl"
15841     shlibpath_var=SHLIB_PATH
15842     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15843     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15844     soname_spec='$libname$release$shared_ext$major'
15845     ;;
15846   esac
15847   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15848   postinstall_cmds='chmod 555 $lib'
15849   # or fails outright, so override atomically:
15850   install_override_mode=555
15851   ;;
15852
15853 interix[3-9]*)
15854   version_type=linux # correct to gnu/linux during the next big refactor
15855   need_lib_prefix=no
15856   need_version=no
15857   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15858   soname_spec='$libname$release$shared_ext$major'
15859   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15860   shlibpath_var=LD_LIBRARY_PATH
15861   shlibpath_overrides_runpath=no
15862   hardcode_into_libs=yes
15863   ;;
15864
15865 irix5* | irix6* | nonstopux*)
15866   case $host_os in
15867     nonstopux*) version_type=nonstopux ;;
15868     *)
15869         if test yes = "$lt_cv_prog_gnu_ld"; then
15870                 version_type=linux # correct to gnu/linux during the next big refactor
15871         else
15872                 version_type=irix
15873         fi ;;
15874   esac
15875   need_lib_prefix=no
15876   need_version=no
15877   soname_spec='$libname$release$shared_ext$major'
15878   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15879   case $host_os in
15880   irix5* | nonstopux*)
15881     libsuff= shlibsuff=
15882     ;;
15883   *)
15884     case $LD in # libtool.m4 will add one of these switches to LD
15885     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15886       libsuff= shlibsuff= libmagic=32-bit;;
15887     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15888       libsuff=32 shlibsuff=N32 libmagic=N32;;
15889     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15890       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15891     *) libsuff= shlibsuff= libmagic=never-match;;
15892     esac
15893     ;;
15894   esac
15895   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15896   shlibpath_overrides_runpath=no
15897   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15898   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15899   hardcode_into_libs=yes
15900   ;;
15901
15902 # No shared lib support for Linux oldld, aout, or coff.
15903 linux*oldld* | linux*aout* | linux*coff*)
15904   dynamic_linker=no
15905   ;;
15906
15907 linux*android*)
15908   version_type=none # Android doesn't support versioned libraries.
15909   need_lib_prefix=no
15910   need_version=no
15911   library_names_spec='$libname$release$shared_ext'
15912   soname_spec='$libname$release$shared_ext'
15913   finish_cmds=
15914   shlibpath_var=LD_LIBRARY_PATH
15915   shlibpath_overrides_runpath=yes
15916
15917   # This implies no fast_install, which is unacceptable.
15918   # Some rework will be needed to allow for fast_install
15919   # before this can be enabled.
15920   hardcode_into_libs=yes
15921
15922   dynamic_linker='Android linker'
15923   # Don't embed -rpath directories since the linker doesn't support them.
15924   hardcode_libdir_flag_spec_CXX='-L$libdir'
15925   ;;
15926
15927 # This must be glibc/ELF.
15928 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15929   version_type=linux # correct to gnu/linux during the next big refactor
15930   need_lib_prefix=no
15931   need_version=no
15932   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15933   soname_spec='$libname$release$shared_ext$major'
15934   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15935   shlibpath_var=LD_LIBRARY_PATH
15936   shlibpath_overrides_runpath=no
15937
15938   # Some binutils ld are patched to set DT_RUNPATH
15939   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15940   $as_echo_n "(cached) " >&6
15941 else
15942   lt_cv_shlibpath_overrides_runpath=no
15943     save_LDFLAGS=$LDFLAGS
15944     save_libdir=$libdir
15945     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15946          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15947     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h.  */
15949
15950 int
15951 main ()
15952 {
15953
15954   ;
15955   return 0;
15956 }
15957 _ACEOF
15958 if ac_fn_cxx_try_link "$LINENO"; then :
15959   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15960   lt_cv_shlibpath_overrides_runpath=yes
15961 fi
15962 fi
15963 rm -f core conftest.err conftest.$ac_objext \
15964     conftest$ac_exeext conftest.$ac_ext
15965     LDFLAGS=$save_LDFLAGS
15966     libdir=$save_libdir
15967     
15968 fi
15969
15970   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15971
15972   # This implies no fast_install, which is unacceptable.
15973   # Some rework will be needed to allow for fast_install
15974   # before this can be enabled.
15975   hardcode_into_libs=yes
15976
15977   # Ideally, we could use ldconfig to report *all* directores which are
15978   # searched for libraries, however this is still not possible.  Aside from not
15979   # being certain /sbin/ldconfig is available, command
15980   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15981   # even though it is searched at run-time.  Try to do the best guess by
15982   # appending ld.so.conf contents (and includes) to the search path.
15983   if test -f /etc/ld.so.conf; then
15984     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' ' '`
15985     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15986   fi
15987
15988   # We used to test for /lib/ld.so.1 and disable shared libraries on
15989   # powerpc, because MkLinux only supported shared libraries with the
15990   # GNU dynamic linker.  Since this was broken with cross compilers,
15991   # most powerpc-linux boxes support dynamic linking these days and
15992   # people can always --disable-shared, the test was removed, and we
15993   # assume the GNU/Linux dynamic linker is in use.
15994   dynamic_linker='GNU/Linux ld.so'
15995   ;;
15996
15997 netbsdelf*-gnu)
15998   version_type=linux
15999   need_lib_prefix=no
16000   need_version=no
16001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16002   soname_spec='${libname}${release}${shared_ext}$major'
16003   shlibpath_var=LD_LIBRARY_PATH
16004   shlibpath_overrides_runpath=no
16005   hardcode_into_libs=yes
16006   dynamic_linker='NetBSD ld.elf_so'
16007   ;;
16008
16009 netbsd*)
16010   version_type=sunos
16011   need_lib_prefix=no
16012   need_version=no
16013   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16014     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16015     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16016     dynamic_linker='NetBSD (a.out) ld.so'
16017   else
16018     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16019     soname_spec='$libname$release$shared_ext$major'
16020     dynamic_linker='NetBSD ld.elf_so'
16021   fi
16022   shlibpath_var=LD_LIBRARY_PATH
16023   shlibpath_overrides_runpath=yes
16024   hardcode_into_libs=yes
16025   ;;
16026
16027 newsos6)
16028   version_type=linux # correct to gnu/linux during the next big refactor
16029   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16030   shlibpath_var=LD_LIBRARY_PATH
16031   shlibpath_overrides_runpath=yes
16032   ;;
16033
16034 *nto* | *qnx*)
16035   version_type=qnx
16036   need_lib_prefix=no
16037   need_version=no
16038   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16039   soname_spec='$libname$release$shared_ext$major'
16040   shlibpath_var=LD_LIBRARY_PATH
16041   shlibpath_overrides_runpath=no
16042   hardcode_into_libs=yes
16043   dynamic_linker='ldqnx.so'
16044   ;;
16045
16046 openbsd* | bitrig*)
16047   version_type=sunos
16048   sys_lib_dlsearch_path_spec=/usr/lib
16049   need_lib_prefix=no
16050   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16051     need_version=no
16052   else
16053     need_version=yes
16054   fi
16055   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16056   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16057   shlibpath_var=LD_LIBRARY_PATH
16058   shlibpath_overrides_runpath=yes
16059   ;;
16060
16061 os2*)
16062   libname_spec='$name'
16063   version_type=windows
16064   shrext_cmds=.dll
16065   need_version=no
16066   need_lib_prefix=no
16067   # OS/2 can only load a DLL with a base name of 8 characters or less.
16068   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16069     v=$($ECHO $release$versuffix | tr -d .-);
16070     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16071     $ECHO $n$v`$shared_ext'
16072   library_names_spec='${libname}_dll.$libext'
16073   dynamic_linker='OS/2 ld.exe'
16074   shlibpath_var=BEGINLIBPATH
16075   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16076   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16077   postinstall_cmds='base_file=`basename \$file`~
16078     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16079     dldir=$destdir/`dirname \$dlpath`~
16080     test -d \$dldir || mkdir -p \$dldir~
16081     $install_prog $dir/$dlname \$dldir/$dlname~
16082     chmod a+x \$dldir/$dlname~
16083     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16084       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16085     fi'
16086   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16087     dlpath=$dir/\$dldll~
16088     $RM \$dlpath'
16089   ;;
16090
16091 osf3* | osf4* | osf5*)
16092   version_type=osf
16093   need_lib_prefix=no
16094   need_version=no
16095   soname_spec='$libname$release$shared_ext$major'
16096   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16097   shlibpath_var=LD_LIBRARY_PATH
16098   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16099   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16100   ;;
16101
16102 rdos*)
16103   dynamic_linker=no
16104   ;;
16105
16106 solaris*)
16107   version_type=linux # correct to gnu/linux during the next big refactor
16108   need_lib_prefix=no
16109   need_version=no
16110   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16111   soname_spec='$libname$release$shared_ext$major'
16112   shlibpath_var=LD_LIBRARY_PATH
16113   shlibpath_overrides_runpath=yes
16114   hardcode_into_libs=yes
16115   # ldd complains unless libraries are executable
16116   postinstall_cmds='chmod +x $lib'
16117   ;;
16118
16119 sunos4*)
16120   version_type=sunos
16121   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16122   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16123   shlibpath_var=LD_LIBRARY_PATH
16124   shlibpath_overrides_runpath=yes
16125   if test yes = "$with_gnu_ld"; then
16126     need_lib_prefix=no
16127   fi
16128   need_version=yes
16129   ;;
16130
16131 sysv4 | sysv4.3*)
16132   version_type=linux # correct to gnu/linux during the next big refactor
16133   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16134   soname_spec='$libname$release$shared_ext$major'
16135   shlibpath_var=LD_LIBRARY_PATH
16136   case $host_vendor in
16137     sni)
16138       shlibpath_overrides_runpath=no
16139       need_lib_prefix=no
16140       runpath_var=LD_RUN_PATH
16141       ;;
16142     siemens)
16143       need_lib_prefix=no
16144       ;;
16145     motorola)
16146       need_lib_prefix=no
16147       need_version=no
16148       shlibpath_overrides_runpath=no
16149       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16150       ;;
16151   esac
16152   ;;
16153
16154 sysv4*MP*)
16155   if test -d /usr/nec; then
16156     version_type=linux # correct to gnu/linux during the next big refactor
16157     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16158     soname_spec='$libname$shared_ext.$major'
16159     shlibpath_var=LD_LIBRARY_PATH
16160   fi
16161   ;;
16162
16163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16164   version_type=sco
16165   need_lib_prefix=no
16166   need_version=no
16167   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16168   soname_spec='$libname$release$shared_ext$major'
16169   shlibpath_var=LD_LIBRARY_PATH
16170   shlibpath_overrides_runpath=yes
16171   hardcode_into_libs=yes
16172   if test yes = "$with_gnu_ld"; then
16173     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16174   else
16175     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16176     case $host_os in
16177       sco3.2v5*)
16178         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16179         ;;
16180     esac
16181   fi
16182   sys_lib_dlsearch_path_spec='/usr/lib'
16183   ;;
16184
16185 tpf*)
16186   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
16187   version_type=linux # correct to gnu/linux during the next big refactor
16188   need_lib_prefix=no
16189   need_version=no
16190   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16191   shlibpath_var=LD_LIBRARY_PATH
16192   shlibpath_overrides_runpath=no
16193   hardcode_into_libs=yes
16194   ;;
16195
16196 uts4*)
16197   version_type=linux # correct to gnu/linux during the next big refactor
16198   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16199   soname_spec='$libname$release$shared_ext$major'
16200   shlibpath_var=LD_LIBRARY_PATH
16201   ;;
16202
16203 *)
16204   dynamic_linker=no
16205   ;;
16206 esac
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16208 $as_echo "$dynamic_linker" >&6; }
16209 test no = "$dynamic_linker" && can_build_shared=no
16210
16211 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16212 if test yes = "$GCC"; then
16213   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16214 fi
16215
16216 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16217   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16218 fi
16219
16220 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16221   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16222 fi
16223
16224 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16225 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16226
16227 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16228 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16229
16230 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16231 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
16264
16265
16266
16267
16268
16269
16270
16271
16272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16273 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16274 hardcode_action_CXX=
16275 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16276    test -n "$runpath_var_CXX" ||
16277    test yes = "$hardcode_automatic_CXX"; then
16278
16279   # We can hardcode non-existent directories.
16280   if test no != "$hardcode_direct_CXX" &&
16281      # If the only mechanism to avoid hardcoding is shlibpath_var, we
16282      # have to relink, otherwise we might link with an installed library
16283      # when we should be linking with a yet-to-be-installed one
16284      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16285      test no != "$hardcode_minus_L_CXX"; then
16286     # Linking always hardcodes the temporary library directory.
16287     hardcode_action_CXX=relink
16288   else
16289     # We can link without hardcoding, and we can hardcode nonexisting dirs.
16290     hardcode_action_CXX=immediate
16291   fi
16292 else
16293   # We cannot hardcode anything, or else we can only hardcode existing
16294   # directories.
16295   hardcode_action_CXX=unsupported
16296 fi
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16298 $as_echo "$hardcode_action_CXX" >&6; }
16299
16300 if test relink = "$hardcode_action_CXX" ||
16301    test yes = "$inherit_rpath_CXX"; then
16302   # Fast installation is not supported
16303   enable_fast_install=no
16304 elif test yes = "$shlibpath_overrides_runpath" ||
16305      test no = "$enable_shared"; then
16306   # Fast installation is not necessary
16307   enable_fast_install=needless
16308 fi
16309
16310
16311
16312
16313     
16314
16315
16316   fi # test -n "$compiler"
16317
16318   CC=$lt_save_CC
16319   CFLAGS=$lt_save_CFLAGS
16320   LDCXX=$LD
16321   LD=$lt_save_LD
16322   GCC=$lt_save_GCC
16323   with_gnu_ld=$lt_save_with_gnu_ld
16324   lt_cv_path_LDCXX=$lt_cv_path_LD
16325   lt_cv_path_LD=$lt_save_path_LD
16326   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16327   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16328 fi # test yes != "$_lt_caught_CXX_error"
16329
16330 ac_ext=c
16331 ac_cpp='$CPP $CPPFLAGS'
16332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16335
16336
16337
16338
16339
16340
16341
16342
16343        
16344        
16345
16346
16347
16348
16349
16350         ac_config_commands="$ac_config_commands libtool"
16351
16352
16353
16354
16355 # Only expand once:
16356
16357
16358
16359 # Checks for library functions.
16360 for ac_header in stdlib.h
16361 do :
16362   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16363 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16364   cat >>confdefs.h <<_ACEOF
16365 @%:@define HAVE_STDLIB_H 1
16366 _ACEOF
16367  
16368 fi
16369
16370 done
16371
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16373 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16374 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16375   $as_echo_n "(cached) " >&6
16376 else
16377   if test "$cross_compiling" = yes; then :
16378   ac_cv_func_malloc_0_nonnull=no
16379 else
16380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h.  */
16382 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16383 # include <stdlib.h>
16384 #else
16385 char *malloc ();
16386 #endif
16387
16388 int
16389 main ()
16390 {
16391 return ! malloc (0);
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 if ac_fn_c_try_run "$LINENO"; then :
16397   ac_cv_func_malloc_0_nonnull=yes
16398 else
16399   ac_cv_func_malloc_0_nonnull=no
16400 fi
16401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16402   conftest.$ac_objext conftest.beam conftest.$ac_ext
16403 fi
16404
16405 fi
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16407 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16408 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16409   
16410 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
16411
16412 else
16413   $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
16414
16415    case " $LIB@&t@OBJS " in
16416   *" malloc.$ac_objext "* ) ;;
16417   *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
16418  ;;
16419 esac
16420
16421    
16422 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
16423
16424 fi
16425
16426
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16428 $as_echo_n "checking for working strtod... " >&6; }
16429 if ${ac_cv_func_strtod+:} false; then :
16430   $as_echo_n "(cached) " >&6
16431 else
16432   if test "$cross_compiling" = yes; then :
16433   ac_cv_func_strtod=no
16434 else
16435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h.  */
16437
16438 $ac_includes_default
16439 #ifndef strtod
16440 double strtod ();
16441 #endif
16442 int
16443 main()
16444 {
16445   {
16446     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
16447     char *string = " +69";
16448     char *term;
16449     double value;
16450     value = strtod (string, &term);
16451     if (value != 69 || term != (string + 4))
16452       return 1;
16453   }
16454
16455   {
16456     /* Under Solaris 2.4, strtod returns the wrong value for the
16457        terminating character under some conditions.  */
16458     char *string = "NaN";
16459     char *term;
16460     strtod (string, &term);
16461     if (term != string && *(term - 1) == 0)
16462       return 1;
16463   }
16464   return 0;
16465 }
16466
16467 _ACEOF
16468 if ac_fn_c_try_run "$LINENO"; then :
16469   ac_cv_func_strtod=yes
16470 else
16471   ac_cv_func_strtod=no
16472 fi
16473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16474   conftest.$ac_objext conftest.beam conftest.$ac_ext
16475 fi
16476
16477 fi
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
16479 $as_echo "$ac_cv_func_strtod" >&6; }
16480 if test $ac_cv_func_strtod = no; then
16481   case " $LIB@&t@OBJS " in
16482   *" strtod.$ac_objext "* ) ;;
16483   *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
16484  ;;
16485 esac
16486
16487 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
16488 if test "x$ac_cv_func_pow" = xyes; then :
16489   
16490 fi
16491
16492 if test $ac_cv_func_pow = no; then
16493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
16494 $as_echo_n "checking for pow in -lm... " >&6; }
16495 if ${ac_cv_lib_m_pow+:} false; then :
16496   $as_echo_n "(cached) " >&6
16497 else
16498   ac_check_lib_save_LIBS=$LIBS
16499 LIBS="-lm  $LIBS"
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h.  */
16502
16503 /* Override any GCC internal prototype to avoid an error.
16504    Use char because int might match the return type of a GCC
16505    builtin and then its argument prototype would still apply.  */
16506 #ifdef __cplusplus
16507 extern "C"
16508 #endif
16509 char pow ();
16510 int
16511 main ()
16512 {
16513 return pow ();
16514   ;
16515   return 0;
16516 }
16517 _ACEOF
16518 if ac_fn_c_try_link "$LINENO"; then :
16519   ac_cv_lib_m_pow=yes
16520 else
16521   ac_cv_lib_m_pow=no
16522 fi
16523 rm -f core conftest.err conftest.$ac_objext \
16524     conftest$ac_exeext conftest.$ac_ext
16525 LIBS=$ac_check_lib_save_LIBS
16526 fi
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
16528 $as_echo "$ac_cv_lib_m_pow" >&6; }
16529 if test "x$ac_cv_lib_m_pow" = xyes; then :
16530   POW_LIB=-lm
16531 else
16532   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
16533 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16534 fi
16535
16536 fi
16537
16538 fi
16539
16540 for ac_func in regcomp strchr strrchr strstr strtol strtoul
16541 do :
16542   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16545   cat >>confdefs.h <<_ACEOF
16546 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16547 _ACEOF
16548  
16549 fi
16550 done
16551
16552
16553 cat >confcache <<\_ACEOF
16554 # This file is a shell script that caches the results of configure
16555 # tests run on this system so they can be shared between configure
16556 # scripts and configure runs, see configure's option --config-cache.
16557 # It is not useful on other systems.  If it contains results you don't
16558 # want to keep, you may remove or edit it.
16559 #
16560 # config.status only pays attention to the cache file if you give it
16561 # the --recheck option to rerun configure.
16562 #
16563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16565 # following values.
16566
16567 _ACEOF
16568
16569 # The following way of writing the cache mishandles newlines in values,
16570 # but we know of no workaround that is simple, portable, and efficient.
16571 # So, we kill variables containing newlines.
16572 # Ultrix sh set writes to stderr and can't be redirected directly,
16573 # and sets the high bit in the cache file unless we assign to the vars.
16574 (
16575   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16576     eval ac_val=\$$ac_var
16577     case $ac_val in #(
16578     *${as_nl}*)
16579       case $ac_var in #(
16580       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16582       esac
16583       case $ac_var in #(
16584       _ | IFS | as_nl) ;; #(
16585       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16586       *) { eval $ac_var=; unset $ac_var;} ;;
16587       esac ;;
16588     esac
16589   done
16590
16591   (set) 2>&1 |
16592     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16593     *${as_nl}ac_space=\ *)
16594       # `set' does not quote correctly, so add quotes: double-quote
16595       # substitution turns \\\\ into \\, and sed turns \\ into \.
16596       sed -n \
16597         "s/'/'\\\\''/g;
16598           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16599       ;; #(
16600     *)
16601       # `set' quotes correctly as required by POSIX, so do not add quotes.
16602       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16603       ;;
16604     esac |
16605     sort
16606 ) |
16607   sed '
16608      /^ac_cv_env_/b end
16609      t clear
16610      :clear
16611      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16612      t end
16613      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16614      :end' >>confcache
16615 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16616   if test -w "$cache_file"; then
16617     if test "x$cache_file" != "x/dev/null"; then
16618       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16619 $as_echo "$as_me: updating cache $cache_file" >&6;}
16620       if test ! -f "$cache_file" || test -h "$cache_file"; then
16621         cat confcache >"$cache_file"
16622       else
16623         case $cache_file in #(
16624         */* | ?:*)
16625           mv -f confcache "$cache_file"$$ &&
16626           mv -f "$cache_file"$$ "$cache_file" ;; #(
16627         *)
16628           mv -f confcache "$cache_file" ;;
16629         esac
16630       fi
16631     fi
16632   else
16633     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16634 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16635   fi
16636 fi
16637 rm -f confcache
16638
16639 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16640 # Let make expand exec_prefix.
16641 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16642
16643 DEFS=-DHAVE_CONFIG_H
16644
16645 ac_libobjs=
16646 ac_ltlibobjs=
16647 U=
16648 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
16649   # 1. Remove the extension, and $U if already installed.
16650   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16651   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16652   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16653   #    will be set to the directory where LIBOBJS objects are built.
16654   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16655   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16656 done
16657 LIB@&t@OBJS=$ac_libobjs
16658
16659 LTLIBOBJS=$ac_ltlibobjs
16660
16661
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16663 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16664    if test -n "$am_sleep_pid"; then
16665      # Hide warnings about reused PIDs.
16666      wait $am_sleep_pid 2>/dev/null
16667    fi
16668    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16669 $as_echo "done" >&6; }
16670  if test -n "$EXEEXT"; then
16671   am__EXEEXT_TRUE=
16672   am__EXEEXT_FALSE='#'
16673 else
16674   am__EXEEXT_TRUE='#'
16675   am__EXEEXT_FALSE=
16676 fi
16677
16678 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16679   as_fn_error $? "conditional \"AMDEP\" was never defined.
16680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16681 fi
16682 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16683   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16685 fi
16686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16687   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16689 fi
16690
16691 : "${CONFIG_STATUS=./config.status}"
16692 ac_write_fail=0
16693 ac_clean_files_save=$ac_clean_files
16694 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16697 as_write_fail=0
16698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16699 #! $SHELL
16700 # Generated by $as_me.
16701 # Run this file to recreate the current configuration.
16702 # Compiler output produced by configure, useful for debugging
16703 # configure, is in config.log if it exists.
16704
16705 debug=false
16706 ac_cs_recheck=false
16707 ac_cs_silent=false
16708
16709 SHELL=\${CONFIG_SHELL-$SHELL}
16710 export SHELL
16711 _ASEOF
16712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16713 ## -------------------- ##
16714 ## M4sh Initialization. ##
16715 ## -------------------- ##
16716
16717 # Be more Bourne compatible
16718 DUALCASE=1; export DUALCASE # for MKS sh
16719 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16720   emulate sh
16721   NULLCMD=:
16722   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16723   # is contrary to our usage.  Disable this feature.
16724   alias -g '${1+"$@"}'='"$@"'
16725   setopt NO_GLOB_SUBST
16726 else
16727   case `(set -o) 2>/dev/null` in @%:@(
16728   *posix*) :
16729     set -o posix ;; @%:@(
16730   *) :
16731      ;;
16732 esac
16733 fi
16734
16735
16736 as_nl='
16737 '
16738 export as_nl
16739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16740 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16743 # Prefer a ksh shell builtin over an external printf program on Solaris,
16744 # but without wasting forks for bash or zsh.
16745 if test -z "$BASH_VERSION$ZSH_VERSION" \
16746     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16747   as_echo='print -r --'
16748   as_echo_n='print -rn --'
16749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16750   as_echo='printf %s\n'
16751   as_echo_n='printf %s'
16752 else
16753   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16754     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16755     as_echo_n='/usr/ucb/echo -n'
16756   else
16757     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16758     as_echo_n_body='eval
16759       arg=$1;
16760       case $arg in @%:@(
16761       *"$as_nl"*)
16762         expr "X$arg" : "X\\(.*\\)$as_nl";
16763         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16764       esac;
16765       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16766     '
16767     export as_echo_n_body
16768     as_echo_n='sh -c $as_echo_n_body as_echo'
16769   fi
16770   export as_echo_body
16771   as_echo='sh -c $as_echo_body as_echo'
16772 fi
16773
16774 # The user is always right.
16775 if test "${PATH_SEPARATOR+set}" != set; then
16776   PATH_SEPARATOR=:
16777   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16778     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16779       PATH_SEPARATOR=';'
16780   }
16781 fi
16782
16783
16784 # IFS
16785 # We need space, tab and new line, in precisely that order.  Quoting is
16786 # there to prevent editors from complaining about space-tab.
16787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16788 # splitting by setting IFS to empty value.)
16789 IFS=" ""        $as_nl"
16790
16791 # Find who we are.  Look in the path if we contain no directory separator.
16792 as_myself=
16793 case $0 in @%:@((
16794   *[\\/]* ) as_myself=$0 ;;
16795   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16796 for as_dir in $PATH
16797 do
16798   IFS=$as_save_IFS
16799   test -z "$as_dir" && as_dir=.
16800     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16801   done
16802 IFS=$as_save_IFS
16803
16804      ;;
16805 esac
16806 # We did not find ourselves, most probably we were run as `sh COMMAND'
16807 # in which case we are not to be found in the path.
16808 if test "x$as_myself" = x; then
16809   as_myself=$0
16810 fi
16811 if test ! -f "$as_myself"; then
16812   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16813   exit 1
16814 fi
16815
16816 # Unset variables that we do not need and which cause bugs (e.g. in
16817 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16818 # suppresses any "Segmentation fault" message there.  '((' could
16819 # trigger a bug in pdksh 5.2.14.
16820 for as_var in BASH_ENV ENV MAIL MAILPATH
16821 do eval test x\${$as_var+set} = xset \
16822   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16823 done
16824 PS1='$ '
16825 PS2='> '
16826 PS4='+ '
16827
16828 # NLS nuisances.
16829 LC_ALL=C
16830 export LC_ALL
16831 LANGUAGE=C
16832 export LANGUAGE
16833
16834 # CDPATH.
16835 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16836
16837
16838 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
16839 @%:@ ----------------------------------------
16840 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16841 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16842 @%:@ script with STATUS, using 1 if that was 0.
16843 as_fn_error ()
16844 {
16845   as_status=$1; test $as_status -eq 0 && as_status=1
16846   if test "$4"; then
16847     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16848     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16849   fi
16850   $as_echo "$as_me: error: $2" >&2
16851   as_fn_exit $as_status
16852 } @%:@ as_fn_error
16853
16854
16855 @%:@ as_fn_set_status STATUS
16856 @%:@ -----------------------
16857 @%:@ Set @S|@? to STATUS, without forking.
16858 as_fn_set_status ()
16859 {
16860   return $1
16861 } @%:@ as_fn_set_status
16862
16863 @%:@ as_fn_exit STATUS
16864 @%:@ -----------------
16865 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16866 as_fn_exit ()
16867 {
16868   set +e
16869   as_fn_set_status $1
16870   exit $1
16871 } @%:@ as_fn_exit
16872
16873 @%:@ as_fn_unset VAR
16874 @%:@ ---------------
16875 @%:@ Portably unset VAR.
16876 as_fn_unset ()
16877 {
16878   { eval $1=; unset $1;}
16879 }
16880 as_unset=as_fn_unset
16881 @%:@ as_fn_append VAR VALUE
16882 @%:@ ----------------------
16883 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16884 @%:@ advantage of any shell optimizations that allow amortized linear growth over
16885 @%:@ repeated appends, instead of the typical quadratic growth present in naive
16886 @%:@ implementations.
16887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16888   eval 'as_fn_append ()
16889   {
16890     eval $1+=\$2
16891   }'
16892 else
16893   as_fn_append ()
16894   {
16895     eval $1=\$$1\$2
16896   }
16897 fi # as_fn_append
16898
16899 @%:@ as_fn_arith ARG...
16900 @%:@ ------------------
16901 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16902 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16903 @%:@ must be portable across @S|@(()) and expr.
16904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16905   eval 'as_fn_arith ()
16906   {
16907     as_val=$(( $* ))
16908   }'
16909 else
16910   as_fn_arith ()
16911   {
16912     as_val=`expr "$@" || test $? -eq 1`
16913   }
16914 fi # as_fn_arith
16915
16916
16917 if expr a : '\(a\)' >/dev/null 2>&1 &&
16918    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16919   as_expr=expr
16920 else
16921   as_expr=false
16922 fi
16923
16924 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16925   as_basename=basename
16926 else
16927   as_basename=false
16928 fi
16929
16930 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16931   as_dirname=dirname
16932 else
16933   as_dirname=false
16934 fi
16935
16936 as_me=`$as_basename -- "$0" ||
16937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16938          X"$0" : 'X\(//\)$' \| \
16939          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16940 $as_echo X/"$0" |
16941     sed '/^.*\/\([^/][^/]*\)\/*$/{
16942             s//\1/
16943             q
16944           }
16945           /^X\/\(\/\/\)$/{
16946             s//\1/
16947             q
16948           }
16949           /^X\/\(\/\).*/{
16950             s//\1/
16951             q
16952           }
16953           s/.*/./; q'`
16954
16955 # Avoid depending upon Character Ranges.
16956 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16957 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16958 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16959 as_cr_digits='0123456789'
16960 as_cr_alnum=$as_cr_Letters$as_cr_digits
16961
16962 ECHO_C= ECHO_N= ECHO_T=
16963 case `echo -n x` in @%:@(((((
16964 -n*)
16965   case `echo 'xy\c'` in
16966   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16967   xy)  ECHO_C='\c';;
16968   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16969        ECHO_T=' ';;
16970   esac;;
16971 *)
16972   ECHO_N='-n';;
16973 esac
16974
16975 rm -f conf$$ conf$$.exe conf$$.file
16976 if test -d conf$$.dir; then
16977   rm -f conf$$.dir/conf$$.file
16978 else
16979   rm -f conf$$.dir
16980   mkdir conf$$.dir 2>/dev/null
16981 fi
16982 if (echo >conf$$.file) 2>/dev/null; then
16983   if ln -s conf$$.file conf$$ 2>/dev/null; then
16984     as_ln_s='ln -s'
16985     # ... but there are two gotchas:
16986     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16987     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16988     # In both cases, we have to default to `cp -pR'.
16989     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16990       as_ln_s='cp -pR'
16991   elif ln conf$$.file conf$$ 2>/dev/null; then
16992     as_ln_s=ln
16993   else
16994     as_ln_s='cp -pR'
16995   fi
16996 else
16997   as_ln_s='cp -pR'
16998 fi
16999 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17000 rmdir conf$$.dir 2>/dev/null
17001
17002
17003 @%:@ as_fn_mkdir_p
17004 @%:@ -------------
17005 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
17006 as_fn_mkdir_p ()
17007 {
17008
17009   case $as_dir in #(
17010   -*) as_dir=./$as_dir;;
17011   esac
17012   test -d "$as_dir" || eval $as_mkdir_p || {
17013     as_dirs=
17014     while :; do
17015       case $as_dir in #(
17016       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17017       *) as_qdir=$as_dir;;
17018       esac
17019       as_dirs="'$as_qdir' $as_dirs"
17020       as_dir=`$as_dirname -- "$as_dir" ||
17021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17022          X"$as_dir" : 'X\(//\)[^/]' \| \
17023          X"$as_dir" : 'X\(//\)$' \| \
17024          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17025 $as_echo X"$as_dir" |
17026     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17027             s//\1/
17028             q
17029           }
17030           /^X\(\/\/\)[^/].*/{
17031             s//\1/
17032             q
17033           }
17034           /^X\(\/\/\)$/{
17035             s//\1/
17036             q
17037           }
17038           /^X\(\/\).*/{
17039             s//\1/
17040             q
17041           }
17042           s/.*/./; q'`
17043       test -d "$as_dir" && break
17044     done
17045     test -z "$as_dirs" || eval "mkdir $as_dirs"
17046   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17047
17048
17049 } @%:@ as_fn_mkdir_p
17050 if mkdir -p . 2>/dev/null; then
17051   as_mkdir_p='mkdir -p "$as_dir"'
17052 else
17053   test -d ./-p && rmdir ./-p
17054   as_mkdir_p=false
17055 fi
17056
17057
17058 @%:@ as_fn_executable_p FILE
17059 @%:@ -----------------------
17060 @%:@ Test if FILE is an executable regular file.
17061 as_fn_executable_p ()
17062 {
17063   test -f "$1" && test -x "$1"
17064 } @%:@ as_fn_executable_p
17065 as_test_x='test -x'
17066 as_executable_p=as_fn_executable_p
17067
17068 # Sed expression to map a string onto a valid CPP name.
17069 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17070
17071 # Sed expression to map a string onto a valid variable name.
17072 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17073
17074
17075 exec 6>&1
17076 ## ----------------------------------- ##
17077 ## Main body of $CONFIG_STATUS script. ##
17078 ## ----------------------------------- ##
17079 _ASEOF
17080 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17081
17082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17083 # Save the log message, to keep $0 and so on meaningful, and to
17084 # report actual input values of CONFIG_FILES etc. instead of their
17085 # values after options handling.
17086 ac_log="
17087 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17088 generated by GNU Autoconf 2.69.  Invocation command line was
17089
17090   CONFIG_FILES    = $CONFIG_FILES
17091   CONFIG_HEADERS  = $CONFIG_HEADERS
17092   CONFIG_LINKS    = $CONFIG_LINKS
17093   CONFIG_COMMANDS = $CONFIG_COMMANDS
17094   $ $0 $@
17095
17096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17097 "
17098
17099 _ACEOF
17100
17101 case $ac_config_files in *"
17102 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17103 esac
17104
17105 case $ac_config_headers in *"
17106 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17107 esac
17108
17109
17110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17111 # Files that config.status was made for.
17112 config_files="$ac_config_files"
17113 config_headers="$ac_config_headers"
17114 config_commands="$ac_config_commands"
17115
17116 _ACEOF
17117
17118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17119 ac_cs_usage="\
17120 \`$as_me' instantiates files and other configuration actions
17121 from templates according to the current configuration.  Unless the files
17122 and actions are specified as TAGs, all are instantiated by default.
17123
17124 Usage: $0 [OPTION]... [TAG]...
17125
17126   -h, --help       print this help, then exit
17127   -V, --version    print version number and configuration settings, then exit
17128       --config     print configuration, then exit
17129   -q, --quiet, --silent
17130                    do not print progress messages
17131   -d, --debug      don't remove temporary files
17132       --recheck    update $as_me by reconfiguring in the same conditions
17133       --file=FILE[:TEMPLATE] 
17134                    instantiate the configuration file FILE
17135       --header=FILE[:TEMPLATE] 
17136                    instantiate the configuration header FILE
17137
17138 Configuration files:
17139 $config_files
17140
17141 Configuration headers:
17142 $config_headers
17143
17144 Configuration commands:
17145 $config_commands
17146
17147 Report bugs to <BUG-REPORT-ADDRESS>."
17148
17149 _ACEOF
17150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17151 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17152 ac_cs_version="\\
17153 ACL - Andromeda Class Library config.status 0.1
17154 configured by $0, generated by GNU Autoconf 2.69,
17155   with options \\"\$ac_cs_config\\"
17156
17157 Copyright (C) 2012 Free Software Foundation, Inc.
17158 This config.status script is free software; the Free Software Foundation
17159 gives unlimited permission to copy, distribute and modify it."
17160
17161 ac_pwd='$ac_pwd'
17162 srcdir='$srcdir'
17163 INSTALL='$INSTALL'
17164 MKDIR_P='$MKDIR_P'
17165 AWK='$AWK'
17166 test -n "\$AWK" || AWK=awk
17167 _ACEOF
17168
17169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17170 # The default lists apply if the user does not specify any file.
17171 ac_need_defaults=:
17172 while test $# != 0
17173 do
17174   case $1 in
17175   --*=?*)
17176     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17177     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17178     ac_shift=:
17179     ;;
17180   --*=)
17181     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17182     ac_optarg=
17183     ac_shift=:
17184     ;;
17185   *)
17186     ac_option=$1
17187     ac_optarg=$2
17188     ac_shift=shift
17189     ;;
17190   esac
17191
17192   case $ac_option in
17193   # Handling of the options.
17194   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17195     ac_cs_recheck=: ;;
17196   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17197     $as_echo "$ac_cs_version"; exit ;;
17198   --config | --confi | --conf | --con | --co | --c )
17199     $as_echo "$ac_cs_config"; exit ;;
17200   --debug | --debu | --deb | --de | --d | -d )
17201     debug=: ;;
17202   --file | --fil | --fi | --f )
17203     $ac_shift
17204     case $ac_optarg in
17205     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17206     '') as_fn_error $? "missing file argument" ;;
17207     esac
17208     as_fn_append CONFIG_FILES " '$ac_optarg'"
17209     ac_need_defaults=false;;
17210   --header | --heade | --head | --hea )
17211     $ac_shift
17212     case $ac_optarg in
17213     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17214     esac
17215     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17216     ac_need_defaults=false;;
17217   --he | --h)
17218     # Conflict between --help and --header
17219     as_fn_error $? "ambiguous option: \`$1'
17220 Try \`$0 --help' for more information.";;
17221   --help | --hel | -h )
17222     $as_echo "$ac_cs_usage"; exit ;;
17223   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17224   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17225     ac_cs_silent=: ;;
17226
17227   # This is an error.
17228   -*) as_fn_error $? "unrecognized option: \`$1'
17229 Try \`$0 --help' for more information." ;;
17230
17231   *) as_fn_append ac_config_targets " $1"
17232      ac_need_defaults=false ;;
17233
17234   esac
17235   shift
17236 done
17237
17238 ac_configure_extra_args=
17239
17240 if $ac_cs_silent; then
17241   exec 6>/dev/null
17242   ac_configure_extra_args="$ac_configure_extra_args --silent"
17243 fi
17244
17245 _ACEOF
17246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17247 if \$ac_cs_recheck; then
17248   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17249   shift
17250   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17251   CONFIG_SHELL='$SHELL'
17252   export CONFIG_SHELL
17253   exec "\$@"
17254 fi
17255
17256 _ACEOF
17257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17258 exec 5>>config.log
17259 {
17260   echo
17261   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17262 @%:@@%:@ Running $as_me. @%:@@%:@
17263 _ASBOX
17264   $as_echo "$ac_log"
17265 } >&5
17266
17267 _ACEOF
17268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17269 #
17270 # INIT-COMMANDS
17271 #
17272 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17273
17274
17275 # The HP-UX ksh and POSIX shell print the target directory to stdout
17276 # if CDPATH is set.
17277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17278
17279 sed_quote_subst='$sed_quote_subst'
17280 double_quote_subst='$double_quote_subst'
17281 delay_variable_subst='$delay_variable_subst'
17282 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17283 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17284 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17286 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17287 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17288 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17289 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17290 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17291 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17292 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17293 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17294 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17295 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17296 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17297 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17298 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17299 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17300 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17301 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17302 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17303 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17304 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17305 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17306 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17307 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17308 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17309 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17310 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17311 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17312 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17313 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17319 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17320 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17321 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17322 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17323 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17324 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17325 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17326 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17327 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17328 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17329 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17330 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17331 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17332 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17333 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17334 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17335 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17336 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17337 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17338 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17339 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17340 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"`'
17341 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17342 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17343 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17344 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17345 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17346 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17347 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17350 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17351 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17352 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17353 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17377 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17378 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17379 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17380 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17381 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17382 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17383 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17384 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17385 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17386 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17387 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17388 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17389 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17390 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17391 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17392 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17393 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17394 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17395 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17396 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17397 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17398 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17399 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17400 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17401 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17402 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17403 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17404 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17405 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17406 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17407 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17408 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17409 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17410 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17411 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17412 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17413 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17414 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17415 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17416 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17417 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17418 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17419 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17420 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17421 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17422 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17423 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17424 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17425 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17426 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17427 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17428 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17429 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17430 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17431 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17432 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17433 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17434 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17435 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17436 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17437 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17438 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17439 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17440 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17441 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17442 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17443 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17444 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17445 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17446 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17447 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17448 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17449 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17450 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17451 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17452 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17453 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17454 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17455 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17456 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17457 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17458 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17459 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17460 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17461 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17462 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17463 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17464 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17465 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17466 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17467 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17468 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17469 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17470 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17471
17472 LTCC='$LTCC'
17473 LTCFLAGS='$LTCFLAGS'
17474 compiler='$compiler_DEFAULT'
17475
17476 # A function that is used when there is no print builtin or printf.
17477 func_fallback_echo ()
17478 {
17479   eval 'cat <<_LTECHO_EOF
17480 \$1
17481 _LTECHO_EOF'
17482 }
17483
17484 # Quote evaled strings.
17485 for var in SHELL \
17486 ECHO \
17487 PATH_SEPARATOR \
17488 SED \
17489 GREP \
17490 EGREP \
17491 FGREP \
17492 LD \
17493 NM \
17494 LN_S \
17495 lt_SP2NL \
17496 lt_NL2SP \
17497 reload_flag \
17498 OBJDUMP \
17499 deplibs_check_method \
17500 file_magic_cmd \
17501 file_magic_glob \
17502 want_nocaseglob \
17503 DLLTOOL \
17504 sharedlib_from_linklib_cmd \
17505 AR \
17506 AR_FLAGS \
17507 archiver_list_spec \
17508 STRIP \
17509 RANLIB \
17510 CC \
17511 CFLAGS \
17512 compiler \
17513 lt_cv_sys_global_symbol_pipe \
17514 lt_cv_sys_global_symbol_to_cdecl \
17515 lt_cv_sys_global_symbol_to_import \
17516 lt_cv_sys_global_symbol_to_c_name_address \
17517 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17518 lt_cv_nm_interface \
17519 nm_file_list_spec \
17520 lt_cv_truncate_bin \
17521 lt_prog_compiler_no_builtin_flag \
17522 lt_prog_compiler_pic \
17523 lt_prog_compiler_wl \
17524 lt_prog_compiler_static \
17525 lt_cv_prog_compiler_c_o \
17526 need_locks \
17527 MANIFEST_TOOL \
17528 DSYMUTIL \
17529 NMEDIT \
17530 LIPO \
17531 OTOOL \
17532 OTOOL64 \
17533 shrext_cmds \
17534 export_dynamic_flag_spec \
17535 whole_archive_flag_spec \
17536 compiler_needs_object \
17537 with_gnu_ld \
17538 allow_undefined_flag \
17539 no_undefined_flag \
17540 hardcode_libdir_flag_spec \
17541 hardcode_libdir_separator \
17542 exclude_expsyms \
17543 include_expsyms \
17544 file_list_spec \
17545 variables_saved_for_relink \
17546 libname_spec \
17547 library_names_spec \
17548 soname_spec \
17549 install_override_mode \
17550 finish_eval \
17551 old_striplib \
17552 striplib \
17553 compiler_lib_search_dirs \
17554 predep_objects \
17555 postdep_objects \
17556 predeps \
17557 postdeps \
17558 compiler_lib_search_path \
17559 LD_CXX \
17560 reload_flag_CXX \
17561 compiler_CXX \
17562 lt_prog_compiler_no_builtin_flag_CXX \
17563 lt_prog_compiler_pic_CXX \
17564 lt_prog_compiler_wl_CXX \
17565 lt_prog_compiler_static_CXX \
17566 lt_cv_prog_compiler_c_o_CXX \
17567 export_dynamic_flag_spec_CXX \
17568 whole_archive_flag_spec_CXX \
17569 compiler_needs_object_CXX \
17570 with_gnu_ld_CXX \
17571 allow_undefined_flag_CXX \
17572 no_undefined_flag_CXX \
17573 hardcode_libdir_flag_spec_CXX \
17574 hardcode_libdir_separator_CXX \
17575 exclude_expsyms_CXX \
17576 include_expsyms_CXX \
17577 file_list_spec_CXX \
17578 compiler_lib_search_dirs_CXX \
17579 predep_objects_CXX \
17580 postdep_objects_CXX \
17581 predeps_CXX \
17582 postdeps_CXX \
17583 compiler_lib_search_path_CXX; do
17584     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17585     *[\\\\\\\`\\"\\\$]*)
17586       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17587       ;;
17588     *)
17589       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17590       ;;
17591     esac
17592 done
17593
17594 # Double-quote double-evaled strings.
17595 for var in reload_cmds \
17596 old_postinstall_cmds \
17597 old_postuninstall_cmds \
17598 old_archive_cmds \
17599 extract_expsyms_cmds \
17600 old_archive_from_new_cmds \
17601 old_archive_from_expsyms_cmds \
17602 archive_cmds \
17603 archive_expsym_cmds \
17604 module_cmds \
17605 module_expsym_cmds \
17606 export_symbols_cmds \
17607 prelink_cmds \
17608 postlink_cmds \
17609 postinstall_cmds \
17610 postuninstall_cmds \
17611 finish_cmds \
17612 sys_lib_search_path_spec \
17613 configure_time_dlsearch_path \
17614 configure_time_lt_sys_library_path \
17615 reload_cmds_CXX \
17616 old_archive_cmds_CXX \
17617 old_archive_from_new_cmds_CXX \
17618 old_archive_from_expsyms_cmds_CXX \
17619 archive_cmds_CXX \
17620 archive_expsym_cmds_CXX \
17621 module_cmds_CXX \
17622 module_expsym_cmds_CXX \
17623 export_symbols_cmds_CXX \
17624 prelink_cmds_CXX \
17625 postlink_cmds_CXX; do
17626     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17627     *[\\\\\\\`\\"\\\$]*)
17628       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17629       ;;
17630     *)
17631       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17632       ;;
17633     esac
17634 done
17635
17636 ac_aux_dir='$ac_aux_dir'
17637
17638 # See if we are running on zsh, and set the options that allow our
17639 # commands through without removal of \ escapes INIT.
17640 if test -n "\${ZSH_VERSION+set}"; then
17641    setopt NO_GLOB_SUBST
17642 fi
17643
17644
17645     PACKAGE='$PACKAGE'
17646     VERSION='$VERSION'
17647     RM='$RM'
17648     ofile='$ofile'
17649
17650
17651
17652
17653
17654
17655 _ACEOF
17656
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17658
17659 # Handling of arguments.
17660 for ac_config_target in $ac_config_targets
17661 do
17662   case $ac_config_target in
17663     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17664     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17665     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17666     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17667     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17668     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17669
17670   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17671   esac
17672 done
17673
17674
17675 # If the user did not use the arguments to specify the items to instantiate,
17676 # then the envvar interface is used.  Set only those that are not.
17677 # We use the long form for the default assignment because of an extremely
17678 # bizarre bug on SunOS 4.1.3.
17679 if $ac_need_defaults; then
17680   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17681   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17682   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17683 fi
17684
17685 # Have a temporary directory for convenience.  Make it in the build tree
17686 # simply because there is no reason against having it here, and in addition,
17687 # creating and moving files from /tmp can sometimes cause problems.
17688 # Hook for its removal unless debugging.
17689 # Note that there is a small window in which the directory will not be cleaned:
17690 # after its creation but before its name has been assigned to `$tmp'.
17691 $debug ||
17692 {
17693   tmp= ac_tmp=
17694   trap 'exit_status=$?
17695   : "${ac_tmp:=$tmp}"
17696   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17697 ' 0
17698   trap 'as_fn_exit 1' 1 2 13 15
17699 }
17700 # Create a (secure) tmp directory for tmp files.
17701
17702 {
17703   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17704   test -d "$tmp"
17705 }  ||
17706 {
17707   tmp=./conf$$-$RANDOM
17708   (umask 077 && mkdir "$tmp")
17709 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17710 ac_tmp=$tmp
17711
17712 # Set up the scripts for CONFIG_FILES section.
17713 # No need to generate them if there are no CONFIG_FILES.
17714 # This happens for instance with `./config.status config.h'.
17715 if test -n "$CONFIG_FILES"; then
17716
17717
17718 ac_cr=`echo X | tr X '\015'`
17719 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17720 # But we know of no other shell where ac_cr would be empty at this
17721 # point, so we can use a bashism as a fallback.
17722 if test "x$ac_cr" = x; then
17723   eval ac_cr=\$\'\\r\'
17724 fi
17725 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17726 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17727   ac_cs_awk_cr='\\r'
17728 else
17729   ac_cs_awk_cr=$ac_cr
17730 fi
17731
17732 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17733 _ACEOF
17734
17735
17736 {
17737   echo "cat >conf$$subs.awk <<_ACEOF" &&
17738   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17739   echo "_ACEOF"
17740 } >conf$$subs.sh ||
17741   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17742 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17743 ac_delim='%!_!# '
17744 for ac_last_try in false false false false false :; do
17745   . ./conf$$subs.sh ||
17746     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17747
17748   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17749   if test $ac_delim_n = $ac_delim_num; then
17750     break
17751   elif $ac_last_try; then
17752     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17753   else
17754     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17755   fi
17756 done
17757 rm -f conf$$subs.sh
17758
17759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17760 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17761 _ACEOF
17762 sed -n '
17763 h
17764 s/^/S["/; s/!.*/"]=/
17765 p
17766 g
17767 s/^[^!]*!//
17768 :repl
17769 t repl
17770 s/'"$ac_delim"'$//
17771 t delim
17772 :nl
17773 h
17774 s/\(.\{148\}\)..*/\1/
17775 t more1
17776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17777 p
17778 n
17779 b repl
17780 :more1
17781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17782 p
17783 g
17784 s/.\{148\}//
17785 t nl
17786 :delim
17787 h
17788 s/\(.\{148\}\)..*/\1/
17789 t more2
17790 s/["\\]/\\&/g; s/^/"/; s/$/"/
17791 p
17792 b
17793 :more2
17794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17795 p
17796 g
17797 s/.\{148\}//
17798 t delim
17799 ' <conf$$subs.awk | sed '
17800 /^[^""]/{
17801   N
17802   s/\n//
17803 }
17804 ' >>$CONFIG_STATUS || ac_write_fail=1
17805 rm -f conf$$subs.awk
17806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17807 _ACAWK
17808 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17809   for (key in S) S_is_set[key] = 1
17810   FS = "\a"
17811
17812 }
17813 {
17814   line = $ 0
17815   nfields = split(line, field, "@")
17816   substed = 0
17817   len = length(field[1])
17818   for (i = 2; i < nfields; i++) {
17819     key = field[i]
17820     keylen = length(key)
17821     if (S_is_set[key]) {
17822       value = S[key]
17823       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17824       len += length(value) + length(field[++i])
17825       substed = 1
17826     } else
17827       len += 1 + keylen
17828   }
17829
17830   print line
17831 }
17832
17833 _ACAWK
17834 _ACEOF
17835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17837   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17838 else
17839   cat
17840 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17841   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17842 _ACEOF
17843
17844 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17845 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17846 # trailing colons and then remove the whole line if VPATH becomes empty
17847 # (actually we leave an empty line to preserve line numbers).
17848 if test "x$srcdir" = x.; then
17849   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17850 h
17851 s///
17852 s/^/:/
17853 s/[      ]*$/:/
17854 s/:\$(srcdir):/:/g
17855 s/:\${srcdir}:/:/g
17856 s/:@srcdir@:/:/g
17857 s/^:*//
17858 s/:*$//
17859 x
17860 s/\(=[   ]*\).*/\1/
17861 G
17862 s/\n//
17863 s/^[^=]*=[       ]*$//
17864 }'
17865 fi
17866
17867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17868 fi # test -n "$CONFIG_FILES"
17869
17870 # Set up the scripts for CONFIG_HEADERS section.
17871 # No need to generate them if there are no CONFIG_HEADERS.
17872 # This happens for instance with `./config.status Makefile'.
17873 if test -n "$CONFIG_HEADERS"; then
17874 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17875 BEGIN {
17876 _ACEOF
17877
17878 # Transform confdefs.h into an awk script `defines.awk', embedded as
17879 # here-document in config.status, that substitutes the proper values into
17880 # config.h.in to produce config.h.
17881
17882 # Create a delimiter string that does not exist in confdefs.h, to ease
17883 # handling of long lines.
17884 ac_delim='%!_!# '
17885 for ac_last_try in false false :; do
17886   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17887   if test -z "$ac_tt"; then
17888     break
17889   elif $ac_last_try; then
17890     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17891   else
17892     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17893   fi
17894 done
17895
17896 # For the awk script, D is an array of macro values keyed by name,
17897 # likewise P contains macro parameters if any.  Preserve backslash
17898 # newline sequences.
17899
17900 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17901 sed -n '
17902 s/.\{148\}/&'"$ac_delim"'/g
17903 t rset
17904 :rset
17905 s/^[     ]*#[    ]*define[       ][      ]*/ /
17906 t def
17907 d
17908 :def
17909 s/\\$//
17910 t bsnl
17911 s/["\\]/\\&/g
17912 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17913 D["\1"]=" \3"/p
17914 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17915 d
17916 :bsnl
17917 s/["\\]/\\&/g
17918 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17919 D["\1"]=" \3\\\\\\n"\\/p
17920 t cont
17921 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17922 t cont
17923 d
17924 :cont
17925 n
17926 s/.\{148\}/&'"$ac_delim"'/g
17927 t clear
17928 :clear
17929 s/\\$//
17930 t bsnlc
17931 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17932 d
17933 :bsnlc
17934 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17935 b cont
17936 ' <confdefs.h | sed '
17937 s/'"$ac_delim"'/"\\\
17938 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17939
17940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17941   for (key in D) D_is_set[key] = 1
17942   FS = "\a"
17943 }
17944 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17945   line = \$ 0
17946   split(line, arg, " ")
17947   if (arg[1] == "#") {
17948     defundef = arg[2]
17949     mac1 = arg[3]
17950   } else {
17951     defundef = substr(arg[1], 2)
17952     mac1 = arg[2]
17953   }
17954   split(mac1, mac2, "(") #)
17955   macro = mac2[1]
17956   prefix = substr(line, 1, index(line, defundef) - 1)
17957   if (D_is_set[macro]) {
17958     # Preserve the white space surrounding the "#".
17959     print prefix "define", macro P[macro] D[macro]
17960     next
17961   } else {
17962     # Replace #undef with comments.  This is necessary, for example,
17963     # in the case of _POSIX_SOURCE, which is predefined and required
17964     # on some systems where configure will not decide to define it.
17965     if (defundef == "undef") {
17966       print "/*", prefix defundef, macro, "*/"
17967       next
17968     }
17969   }
17970 }
17971 { print }
17972 _ACAWK
17973 _ACEOF
17974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17975   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17976 fi # test -n "$CONFIG_HEADERS"
17977
17978
17979 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17980 shift
17981 for ac_tag
17982 do
17983   case $ac_tag in
17984   :[FHLC]) ac_mode=$ac_tag; continue;;
17985   esac
17986   case $ac_mode$ac_tag in
17987   :[FHL]*:*);;
17988   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17989   :[FH]-) ac_tag=-:-;;
17990   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17991   esac
17992   ac_save_IFS=$IFS
17993   IFS=:
17994   set x $ac_tag
17995   IFS=$ac_save_IFS
17996   shift
17997   ac_file=$1
17998   shift
17999
18000   case $ac_mode in
18001   :L) ac_source=$1;;
18002   :[FH])
18003     ac_file_inputs=
18004     for ac_f
18005     do
18006       case $ac_f in
18007       -) ac_f="$ac_tmp/stdin";;
18008       *) # Look for the file first in the build tree, then in the source tree
18009          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18010          # because $ac_f cannot contain `:'.
18011          test -f "$ac_f" ||
18012            case $ac_f in
18013            [\\/$]*) false;;
18014            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18015            esac ||
18016            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18017       esac
18018       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18019       as_fn_append ac_file_inputs " '$ac_f'"
18020     done
18021
18022     # Let's still pretend it is `configure' which instantiates (i.e., don't
18023     # use $as_me), people would be surprised to read:
18024     #    /* config.h.  Generated by config.status.  */
18025     configure_input='Generated from '`
18026           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18027         `' by configure.'
18028     if test x"$ac_file" != x-; then
18029       configure_input="$ac_file.  $configure_input"
18030       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18031 $as_echo "$as_me: creating $ac_file" >&6;}
18032     fi
18033     # Neutralize special characters interpreted by sed in replacement strings.
18034     case $configure_input in #(
18035     *\&* | *\|* | *\\* )
18036        ac_sed_conf_input=`$as_echo "$configure_input" |
18037        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18038     *) ac_sed_conf_input=$configure_input;;
18039     esac
18040
18041     case $ac_tag in
18042     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18043       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18044     esac
18045     ;;
18046   esac
18047
18048   ac_dir=`$as_dirname -- "$ac_file" ||
18049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18050          X"$ac_file" : 'X\(//\)[^/]' \| \
18051          X"$ac_file" : 'X\(//\)$' \| \
18052          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18053 $as_echo X"$ac_file" |
18054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18055             s//\1/
18056             q
18057           }
18058           /^X\(\/\/\)[^/].*/{
18059             s//\1/
18060             q
18061           }
18062           /^X\(\/\/\)$/{
18063             s//\1/
18064             q
18065           }
18066           /^X\(\/\).*/{
18067             s//\1/
18068             q
18069           }
18070           s/.*/./; q'`
18071   as_dir="$ac_dir"; as_fn_mkdir_p
18072   ac_builddir=.
18073
18074 case "$ac_dir" in
18075 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18076 *)
18077   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18078   # A ".." for each directory in $ac_dir_suffix.
18079   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18080   case $ac_top_builddir_sub in
18081   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18082   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18083   esac ;;
18084 esac
18085 ac_abs_top_builddir=$ac_pwd
18086 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18087 # for backward compatibility:
18088 ac_top_builddir=$ac_top_build_prefix
18089
18090 case $srcdir in
18091   .)  # We are building in place.
18092     ac_srcdir=.
18093     ac_top_srcdir=$ac_top_builddir_sub
18094     ac_abs_top_srcdir=$ac_pwd ;;
18095   [\\/]* | ?:[\\/]* )  # Absolute name.
18096     ac_srcdir=$srcdir$ac_dir_suffix;
18097     ac_top_srcdir=$srcdir
18098     ac_abs_top_srcdir=$srcdir ;;
18099   *) # Relative name.
18100     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18101     ac_top_srcdir=$ac_top_build_prefix$srcdir
18102     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18103 esac
18104 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18105
18106
18107   case $ac_mode in
18108   :F)
18109   #
18110   # CONFIG_FILE
18111   #
18112
18113   case $INSTALL in
18114   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18115   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18116   esac
18117   ac_MKDIR_P=$MKDIR_P
18118   case $MKDIR_P in
18119   [\\/$]* | ?:[\\/]* ) ;;
18120   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18121   esac
18122 _ACEOF
18123
18124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125 # If the template does not know about datarootdir, expand it.
18126 # FIXME: This hack should be removed a few years after 2.60.
18127 ac_datarootdir_hack=; ac_datarootdir_seen=
18128 ac_sed_dataroot='
18129 /datarootdir/ {
18130   p
18131   q
18132 }
18133 /@datadir@/p
18134 /@docdir@/p
18135 /@infodir@/p
18136 /@localedir@/p
18137 /@mandir@/p'
18138 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18139 *datarootdir*) ac_datarootdir_seen=yes;;
18140 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18141   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18142 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18143 _ACEOF
18144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18145   ac_datarootdir_hack='
18146   s&@datadir@&$datadir&g
18147   s&@docdir@&$docdir&g
18148   s&@infodir@&$infodir&g
18149   s&@localedir@&$localedir&g
18150   s&@mandir@&$mandir&g
18151   s&\\\${datarootdir}&$datarootdir&g' ;;
18152 esac
18153 _ACEOF
18154
18155 # Neutralize VPATH when `$srcdir' = `.'.
18156 # Shell code in configure.ac might set extrasub.
18157 # FIXME: do we really want to maintain this feature?
18158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18159 ac_sed_extra="$ac_vpsub
18160 $extrasub
18161 _ACEOF
18162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18163 :t
18164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18165 s|@configure_input@|$ac_sed_conf_input|;t t
18166 s&@top_builddir@&$ac_top_builddir_sub&;t t
18167 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18168 s&@srcdir@&$ac_srcdir&;t t
18169 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18170 s&@top_srcdir@&$ac_top_srcdir&;t t
18171 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18172 s&@builddir@&$ac_builddir&;t t
18173 s&@abs_builddir@&$ac_abs_builddir&;t t
18174 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18175 s&@INSTALL@&$ac_INSTALL&;t t
18176 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18177 $ac_datarootdir_hack
18178 "
18179 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18180   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18181
18182 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18183   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18184   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18185       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18186   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18187 which seems to be undefined.  Please make sure it is defined" >&5
18188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18189 which seems to be undefined.  Please make sure it is defined" >&2;}
18190
18191   rm -f "$ac_tmp/stdin"
18192   case $ac_file in
18193   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18194   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18195   esac \
18196   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18197  ;;
18198   :H)
18199   #
18200   # CONFIG_HEADER
18201   #
18202   if test x"$ac_file" != x-; then
18203     {
18204       $as_echo "/* $configure_input  */" \
18205       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18206     } >"$ac_tmp/config.h" \
18207       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18208     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18209       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18210 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18211     else
18212       rm -f "$ac_file"
18213       mv "$ac_tmp/config.h" "$ac_file" \
18214         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18215     fi
18216   else
18217     $as_echo "/* $configure_input  */" \
18218       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18219       || as_fn_error $? "could not create -" "$LINENO" 5
18220   fi
18221 # Compute "$ac_file"'s index in $config_headers.
18222 _am_arg="$ac_file"
18223 _am_stamp_count=1
18224 for _am_header in $config_headers :; do
18225   case $_am_header in
18226     $_am_arg | $_am_arg:* )
18227       break ;;
18228     * )
18229       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18230   esac
18231 done
18232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18234          X"$_am_arg" : 'X\(//\)[^/]' \| \
18235          X"$_am_arg" : 'X\(//\)$' \| \
18236          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18237 $as_echo X"$_am_arg" |
18238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18239             s//\1/
18240             q
18241           }
18242           /^X\(\/\/\)[^/].*/{
18243             s//\1/
18244             q
18245           }
18246           /^X\(\/\/\)$/{
18247             s//\1/
18248             q
18249           }
18250           /^X\(\/\).*/{
18251             s//\1/
18252             q
18253           }
18254           s/.*/./; q'`/stamp-h$_am_stamp_count
18255  ;;
18256   
18257   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18258 $as_echo "$as_me: executing $ac_file commands" >&6;}
18259  ;;
18260   esac
18261
18262
18263   case $ac_file$ac_mode in
18264     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18265   # Older Autoconf quotes --file arguments for eval, but not when files
18266   # are listed without --file.  Let's play safe and only enable the eval
18267   # if we detect the quoting.
18268   case $CONFIG_FILES in
18269   *\'*) eval set x "$CONFIG_FILES" ;;
18270   *)   set x $CONFIG_FILES ;;
18271   esac
18272   shift
18273   for mf
18274   do
18275     # Strip MF so we end up with the name of the file.
18276     mf=`echo "$mf" | sed -e 's/:.*$//'`
18277     # Check whether this is an Automake generated Makefile or not.
18278     # We used to match only the files named 'Makefile.in', but
18279     # some people rename them; so instead we look at the file content.
18280     # Grep'ing the first line is not enough: some people post-process
18281     # each Makefile.in and add a new line on top of each file to say so.
18282     # Grep'ing the whole file is not good either: AIX grep has a line
18283     # limit of 2048, but all sed's we know have understand at least 4000.
18284     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18285       dirpart=`$as_dirname -- "$mf" ||
18286 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18287          X"$mf" : 'X\(//\)[^/]' \| \
18288          X"$mf" : 'X\(//\)$' \| \
18289          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18290 $as_echo X"$mf" |
18291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18292             s//\1/
18293             q
18294           }
18295           /^X\(\/\/\)[^/].*/{
18296             s//\1/
18297             q
18298           }
18299           /^X\(\/\/\)$/{
18300             s//\1/
18301             q
18302           }
18303           /^X\(\/\).*/{
18304             s//\1/
18305             q
18306           }
18307           s/.*/./; q'`
18308     else
18309       continue
18310     fi
18311     # Extract the definition of DEPDIR, am__include, and am__quote
18312     # from the Makefile without running 'make'.
18313     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18314     test -z "$DEPDIR" && continue
18315     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18316     test -z "$am__include" && continue
18317     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18318     # Find all dependency output files, they are included files with
18319     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18320     # simplest approach to changing $(DEPDIR) to its actual value in the
18321     # expansion.
18322     for file in `sed -n "
18323       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18324          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18325       # Make sure the directory exists.
18326       test -f "$dirpart/$file" && continue
18327       fdir=`$as_dirname -- "$file" ||
18328 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18329          X"$file" : 'X\(//\)[^/]' \| \
18330          X"$file" : 'X\(//\)$' \| \
18331          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18332 $as_echo X"$file" |
18333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18334             s//\1/
18335             q
18336           }
18337           /^X\(\/\/\)[^/].*/{
18338             s//\1/
18339             q
18340           }
18341           /^X\(\/\/\)$/{
18342             s//\1/
18343             q
18344           }
18345           /^X\(\/\).*/{
18346             s//\1/
18347             q
18348           }
18349           s/.*/./; q'`
18350       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18351       # echo "creating $dirpart/$file"
18352       echo '# dummy' > "$dirpart/$file"
18353     done
18354   done
18355 }
18356  ;;
18357     "libtool":C) 
18358     
18359     # See if we are running on zsh, and set the options that allow our
18360     # commands through without removal of \ escapes.
18361     if test -n "${ZSH_VERSION+set}"; then
18362       setopt NO_GLOB_SUBST
18363     fi
18364
18365     cfgfile=${ofile}T
18366     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18367     $RM "$cfgfile"
18368
18369     cat <<_LT_EOF >> "$cfgfile"
18370 #! $SHELL
18371 # Generated automatically by $as_me ($PACKAGE) $VERSION
18372 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18373
18374 # Provide generalized library-building support services.
18375 # Written by Gordon Matzigkeit, 1996
18376
18377 # Copyright (C) 2014 Free Software Foundation, Inc.
18378 # This is free software; see the source for copying conditions.  There is NO
18379 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18380
18381 # GNU Libtool is free software; you can redistribute it and/or modify
18382 # it under the terms of the GNU General Public License as published by
18383 # the Free Software Foundation; either version 2 of of the License, or
18384 # (at your option) any later version.
18385 #
18386 # As a special exception to the GNU General Public License, if you
18387 # distribute this file as part of a program or library that is built
18388 # using GNU Libtool, you may include this file under the  same
18389 # distribution terms that you use for the rest of that program.
18390 #
18391 # GNU Libtool is distributed in the hope that it will be useful, but
18392 # WITHOUT ANY WARRANTY; without even the implied warranty of
18393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18394 # GNU General Public License for more details.
18395 #
18396 # You should have received a copy of the GNU General Public License
18397 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18398
18399
18400 # The names of the tagged configurations supported by this script.
18401 available_tags='CXX '
18402
18403 # Configured defaults for sys_lib_dlsearch_path munging.
18404 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18405
18406 # ### BEGIN LIBTOOL CONFIG
18407
18408 # Which release of libtool.m4 was used?
18409 macro_version=$macro_version
18410 macro_revision=$macro_revision
18411
18412 # Whether or not to build shared libraries.
18413 build_libtool_libs=$enable_shared
18414
18415 # Whether or not to build static libraries.
18416 build_old_libs=$enable_static
18417
18418 # What type of objects to build.
18419 pic_mode=$pic_mode
18420
18421 # Whether or not to optimize for fast installation.
18422 fast_install=$enable_fast_install
18423
18424 # Shared archive member basename,for filename based shared library versioning on AIX.
18425 shared_archive_member_spec=$shared_archive_member_spec
18426
18427 # Shell to use when invoking shell scripts.
18428 SHELL=$lt_SHELL
18429
18430 # An echo program that protects backslashes.
18431 ECHO=$lt_ECHO
18432
18433 # The PATH separator for the build system.
18434 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18435
18436 # The host system.
18437 host_alias=$host_alias
18438 host=$host
18439 host_os=$host_os
18440
18441 # The build system.
18442 build_alias=$build_alias
18443 build=$build
18444 build_os=$build_os
18445
18446 # A sed program that does not truncate output.
18447 SED=$lt_SED
18448
18449 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18450 Xsed="\$SED -e 1s/^X//"
18451
18452 # A grep program that handles long lines.
18453 GREP=$lt_GREP
18454
18455 # An ERE matcher.
18456 EGREP=$lt_EGREP
18457
18458 # A literal string matcher.
18459 FGREP=$lt_FGREP
18460
18461 # A BSD- or MS-compatible name lister.
18462 NM=$lt_NM
18463
18464 # Whether we need soft or hard links.
18465 LN_S=$lt_LN_S
18466
18467 # What is the maximum length of a command?
18468 max_cmd_len=$max_cmd_len
18469
18470 # Object file suffix (normally "o").
18471 objext=$ac_objext
18472
18473 # Executable file suffix (normally "").
18474 exeext=$exeext
18475
18476 # whether the shell understands "unset".
18477 lt_unset=$lt_unset
18478
18479 # turn spaces into newlines.
18480 SP2NL=$lt_lt_SP2NL
18481
18482 # turn newlines into spaces.
18483 NL2SP=$lt_lt_NL2SP
18484
18485 # convert \$build file names to \$host format.
18486 to_host_file_cmd=$lt_cv_to_host_file_cmd
18487
18488 # convert \$build files to toolchain format.
18489 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18490
18491 # An object symbol dumper.
18492 OBJDUMP=$lt_OBJDUMP
18493
18494 # Method to check whether dependent libraries are shared objects.
18495 deplibs_check_method=$lt_deplibs_check_method
18496
18497 # Command to use when deplibs_check_method = "file_magic".
18498 file_magic_cmd=$lt_file_magic_cmd
18499
18500 # How to find potential files when deplibs_check_method = "file_magic".
18501 file_magic_glob=$lt_file_magic_glob
18502
18503 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18504 want_nocaseglob=$lt_want_nocaseglob
18505
18506 # DLL creation program.
18507 DLLTOOL=$lt_DLLTOOL
18508
18509 # Command to associate shared and link libraries.
18510 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18511
18512 # The archiver.
18513 AR=$lt_AR
18514
18515 # Flags to create an archive.
18516 AR_FLAGS=$lt_AR_FLAGS
18517
18518 # How to feed a file listing to the archiver.
18519 archiver_list_spec=$lt_archiver_list_spec
18520
18521 # A symbol stripping program.
18522 STRIP=$lt_STRIP
18523
18524 # Commands used to install an old-style archive.
18525 RANLIB=$lt_RANLIB
18526 old_postinstall_cmds=$lt_old_postinstall_cmds
18527 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18528
18529 # Whether to use a lock for old archive extraction.
18530 lock_old_archive_extraction=$lock_old_archive_extraction
18531
18532 # A C compiler.
18533 LTCC=$lt_CC
18534
18535 # LTCC compiler flags.
18536 LTCFLAGS=$lt_CFLAGS
18537
18538 # Take the output of nm and produce a listing of raw symbols and C names.
18539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18540
18541 # Transform the output of nm in a proper C declaration.
18542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18543
18544 # Transform the output of nm into a list of symbols to manually relocate.
18545 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18546
18547 # Transform the output of nm in a C name address pair.
18548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18549
18550 # Transform the output of nm in a C name address pair when lib prefix is needed.
18551 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18552
18553 # The name lister interface.
18554 nm_interface=$lt_lt_cv_nm_interface
18555
18556 # Specify filename containing input files for \$NM.
18557 nm_file_list_spec=$lt_nm_file_list_spec
18558
18559 # The root where to search for dependent libraries,and where our libraries should be installed.
18560 lt_sysroot=$lt_sysroot
18561
18562 # Command to truncate a binary pipe.
18563 lt_truncate_bin=$lt_lt_cv_truncate_bin
18564
18565 # The name of the directory that contains temporary libtool files.
18566 objdir=$objdir
18567
18568 # Used to examine libraries when file_magic_cmd begins with "file".
18569 MAGIC_CMD=$MAGIC_CMD
18570
18571 # Must we lock files when doing compilation?
18572 need_locks=$lt_need_locks
18573
18574 # Manifest tool.
18575 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18576
18577 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18578 DSYMUTIL=$lt_DSYMUTIL
18579
18580 # Tool to change global to local symbols on Mac OS X.
18581 NMEDIT=$lt_NMEDIT
18582
18583 # Tool to manipulate fat objects and archives on Mac OS X.
18584 LIPO=$lt_LIPO
18585
18586 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18587 OTOOL=$lt_OTOOL
18588
18589 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18590 OTOOL64=$lt_OTOOL64
18591
18592 # Old archive suffix (normally "a").
18593 libext=$libext
18594
18595 # Shared library suffix (normally ".so").
18596 shrext_cmds=$lt_shrext_cmds
18597
18598 # The commands to extract the exported symbol list from a shared archive.
18599 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18600
18601 # Variables whose values should be saved in libtool wrapper scripts and
18602 # restored at link time.
18603 variables_saved_for_relink=$lt_variables_saved_for_relink
18604
18605 # Do we need the "lib" prefix for modules?
18606 need_lib_prefix=$need_lib_prefix
18607
18608 # Do we need a version for libraries?
18609 need_version=$need_version
18610
18611 # Library versioning type.
18612 version_type=$version_type
18613
18614 # Shared library runtime path variable.
18615 runpath_var=$runpath_var
18616
18617 # Shared library path variable.
18618 shlibpath_var=$shlibpath_var
18619
18620 # Is shlibpath searched before the hard-coded library search path?
18621 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18622
18623 # Format of library name prefix.
18624 libname_spec=$lt_libname_spec
18625
18626 # List of archive names.  First name is the real one, the rest are links.
18627 # The last name is the one that the linker finds with -lNAME
18628 library_names_spec=$lt_library_names_spec
18629
18630 # The coded name of the library, if different from the real name.
18631 soname_spec=$lt_soname_spec
18632
18633 # Permission mode override for installation of shared libraries.
18634 install_override_mode=$lt_install_override_mode
18635
18636 # Command to use after installation of a shared archive.
18637 postinstall_cmds=$lt_postinstall_cmds
18638
18639 # Command to use after uninstallation of a shared archive.
18640 postuninstall_cmds=$lt_postuninstall_cmds
18641
18642 # Commands used to finish a libtool library installation in a directory.
18643 finish_cmds=$lt_finish_cmds
18644
18645 # As "finish_cmds", except a single script fragment to be evaled but
18646 # not shown.
18647 finish_eval=$lt_finish_eval
18648
18649 # Whether we should hardcode library paths into libraries.
18650 hardcode_into_libs=$hardcode_into_libs
18651
18652 # Compile-time system search path for libraries.
18653 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18654
18655 # Detected run-time system search path for libraries.
18656 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18657
18658 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18659 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18660
18661 # Whether dlopen is supported.
18662 dlopen_support=$enable_dlopen
18663
18664 # Whether dlopen of programs is supported.
18665 dlopen_self=$enable_dlopen_self
18666
18667 # Whether dlopen of statically linked programs is supported.
18668 dlopen_self_static=$enable_dlopen_self_static
18669
18670 # Commands to strip libraries.
18671 old_striplib=$lt_old_striplib
18672 striplib=$lt_striplib
18673
18674
18675 # The linker used to build libraries.
18676 LD=$lt_LD
18677
18678 # How to create reloadable object files.
18679 reload_flag=$lt_reload_flag
18680 reload_cmds=$lt_reload_cmds
18681
18682 # Commands used to build an old-style archive.
18683 old_archive_cmds=$lt_old_archive_cmds
18684
18685 # A language specific compiler.
18686 CC=$lt_compiler
18687
18688 # Is the compiler the GNU compiler?
18689 with_gcc=$GCC
18690
18691 # Compiler flag to turn off builtin functions.
18692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18693
18694 # Additional compiler flags for building library objects.
18695 pic_flag=$lt_lt_prog_compiler_pic
18696
18697 # How to pass a linker flag through the compiler.
18698 wl=$lt_lt_prog_compiler_wl
18699
18700 # Compiler flag to prevent dynamic linking.
18701 link_static_flag=$lt_lt_prog_compiler_static
18702
18703 # Does compiler simultaneously support -c and -o options?
18704 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18705
18706 # Whether or not to add -lc for building shared libraries.
18707 build_libtool_need_lc=$archive_cmds_need_lc
18708
18709 # Whether or not to disallow shared libs when runtime libs are static.
18710 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18711
18712 # Compiler flag to allow reflexive dlopens.
18713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18714
18715 # Compiler flag to generate shared objects directly from archives.
18716 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18717
18718 # Whether the compiler copes with passing no objects directly.
18719 compiler_needs_object=$lt_compiler_needs_object
18720
18721 # Create an old-style archive from a shared archive.
18722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18723
18724 # Create a temporary old-style archive to link instead of a shared archive.
18725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18726
18727 # Commands used to build a shared archive.
18728 archive_cmds=$lt_archive_cmds
18729 archive_expsym_cmds=$lt_archive_expsym_cmds
18730
18731 # Commands used to build a loadable module if different from building
18732 # a shared archive.
18733 module_cmds=$lt_module_cmds
18734 module_expsym_cmds=$lt_module_expsym_cmds
18735
18736 # Whether we are building with GNU ld or not.
18737 with_gnu_ld=$lt_with_gnu_ld
18738
18739 # Flag that allows shared libraries with undefined symbols to be built.
18740 allow_undefined_flag=$lt_allow_undefined_flag
18741
18742 # Flag that enforces no undefined symbols.
18743 no_undefined_flag=$lt_no_undefined_flag
18744
18745 # Flag to hardcode \$libdir into a binary during linking.
18746 # This must work even if \$libdir does not exist
18747 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18748
18749 # Whether we need a single "-rpath" flag with a separated argument.
18750 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18751
18752 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18753 # DIR into the resulting binary.
18754 hardcode_direct=$hardcode_direct
18755
18756 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18757 # DIR into the resulting binary and the resulting library dependency is
18758 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18759 # library is relocated.
18760 hardcode_direct_absolute=$hardcode_direct_absolute
18761
18762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18763 # into the resulting binary.
18764 hardcode_minus_L=$hardcode_minus_L
18765
18766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18767 # into the resulting binary.
18768 hardcode_shlibpath_var=$hardcode_shlibpath_var
18769
18770 # Set to "yes" if building a shared library automatically hardcodes DIR
18771 # into the library and all subsequent libraries and executables linked
18772 # against it.
18773 hardcode_automatic=$hardcode_automatic
18774
18775 # Set to yes if linker adds runtime paths of dependent libraries
18776 # to runtime path list.
18777 inherit_rpath=$inherit_rpath
18778
18779 # Whether libtool must link a program against all its dependency libraries.
18780 link_all_deplibs=$link_all_deplibs
18781
18782 # Set to "yes" if exported symbols are required.
18783 always_export_symbols=$always_export_symbols
18784
18785 # The commands to list exported symbols.
18786 export_symbols_cmds=$lt_export_symbols_cmds
18787
18788 # Symbols that should not be listed in the preloaded symbols.
18789 exclude_expsyms=$lt_exclude_expsyms
18790
18791 # Symbols that must always be exported.
18792 include_expsyms=$lt_include_expsyms
18793
18794 # Commands necessary for linking programs (against libraries) with templates.
18795 prelink_cmds=$lt_prelink_cmds
18796
18797 # Commands necessary for finishing linking programs.
18798 postlink_cmds=$lt_postlink_cmds
18799
18800 # Specify filename containing input files.
18801 file_list_spec=$lt_file_list_spec
18802
18803 # How to hardcode a shared library path into an executable.
18804 hardcode_action=$hardcode_action
18805
18806 # The directories searched by this compiler when creating a shared library.
18807 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18808
18809 # Dependencies to place before and after the objects being linked to
18810 # create a shared library.
18811 predep_objects=$lt_predep_objects
18812 postdep_objects=$lt_postdep_objects
18813 predeps=$lt_predeps
18814 postdeps=$lt_postdeps
18815
18816 # The library search path used internally by the compiler when linking
18817 # a shared library.
18818 compiler_lib_search_path=$lt_compiler_lib_search_path
18819
18820 # ### END LIBTOOL CONFIG
18821
18822 _LT_EOF
18823
18824     cat <<'_LT_EOF' >> "$cfgfile"
18825
18826 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18827
18828 # func_munge_path_list VARIABLE PATH
18829 # -----------------------------------
18830 # VARIABLE is name of variable containing _space_ separated list of
18831 # directories to be munged by the contents of PATH, which is string
18832 # having a format:
18833 # "DIR[:DIR]:"
18834 #       string "DIR[ DIR]" will be prepended to VARIABLE
18835 # ":DIR[:DIR]"
18836 #       string "DIR[ DIR]" will be appended to VARIABLE
18837 # "DIRP[:DIRP]::[DIRA:]DIRA"
18838 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18839 #       "DIRA[ DIRA]" will be appended to VARIABLE
18840 # "DIR[:DIR]"
18841 #       VARIABLE will be replaced by "DIR[ DIR]"
18842 func_munge_path_list ()
18843 {
18844     case x@S|@2 in
18845     x)
18846         ;;
18847     *:)
18848         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
18849         ;;
18850     x:*)
18851         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
18852         ;;
18853     *::*)
18854         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18855         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
18856         ;;
18857     *)
18858         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
18859         ;;
18860     esac
18861 }
18862
18863
18864 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18865 func_cc_basename ()
18866 {
18867     for cc_temp in @S|@*""; do
18868       case $cc_temp in
18869         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18870         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18871         \-*) ;;
18872         *) break;;
18873       esac
18874     done
18875     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18876 }
18877
18878
18879 # ### END FUNCTIONS SHARED WITH CONFIGURE
18880
18881 _LT_EOF
18882
18883   case $host_os in
18884   aix3*)
18885     cat <<\_LT_EOF >> "$cfgfile"
18886 # AIX sometimes has problems with the GCC collect2 program.  For some
18887 # reason, if we set the COLLECT_NAMES environment variable, the problems
18888 # vanish in a puff of smoke.
18889 if test set != "${COLLECT_NAMES+set}"; then
18890   COLLECT_NAMES=
18891   export COLLECT_NAMES
18892 fi
18893 _LT_EOF
18894     ;;
18895   esac
18896
18897   
18898 ltmain=$ac_aux_dir/ltmain.sh
18899
18900
18901   # We use sed instead of cat because bash on DJGPP gets confused if
18902   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18903   # text mode, it properly converts lines to CR/LF.  This bash problem
18904   # is reportedly fixed, but why not run on old versions too?
18905   sed '$q' "$ltmain" >> "$cfgfile" \
18906      || (rm -f "$cfgfile"; exit 1)
18907
18908    mv -f "$cfgfile" "$ofile" ||
18909     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18910   chmod +x "$ofile"
18911
18912
18913     cat <<_LT_EOF >> "$ofile"
18914
18915 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18916
18917 # The linker used to build libraries.
18918 LD=$lt_LD_CXX
18919
18920 # How to create reloadable object files.
18921 reload_flag=$lt_reload_flag_CXX
18922 reload_cmds=$lt_reload_cmds_CXX
18923
18924 # Commands used to build an old-style archive.
18925 old_archive_cmds=$lt_old_archive_cmds_CXX
18926
18927 # A language specific compiler.
18928 CC=$lt_compiler_CXX
18929
18930 # Is the compiler the GNU compiler?
18931 with_gcc=$GCC_CXX
18932
18933 # Compiler flag to turn off builtin functions.
18934 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18935
18936 # Additional compiler flags for building library objects.
18937 pic_flag=$lt_lt_prog_compiler_pic_CXX
18938
18939 # How to pass a linker flag through the compiler.
18940 wl=$lt_lt_prog_compiler_wl_CXX
18941
18942 # Compiler flag to prevent dynamic linking.
18943 link_static_flag=$lt_lt_prog_compiler_static_CXX
18944
18945 # Does compiler simultaneously support -c and -o options?
18946 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18947
18948 # Whether or not to add -lc for building shared libraries.
18949 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18950
18951 # Whether or not to disallow shared libs when runtime libs are static.
18952 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18953
18954 # Compiler flag to allow reflexive dlopens.
18955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18956
18957 # Compiler flag to generate shared objects directly from archives.
18958 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18959
18960 # Whether the compiler copes with passing no objects directly.
18961 compiler_needs_object=$lt_compiler_needs_object_CXX
18962
18963 # Create an old-style archive from a shared archive.
18964 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18965
18966 # Create a temporary old-style archive to link instead of a shared archive.
18967 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18968
18969 # Commands used to build a shared archive.
18970 archive_cmds=$lt_archive_cmds_CXX
18971 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18972
18973 # Commands used to build a loadable module if different from building
18974 # a shared archive.
18975 module_cmds=$lt_module_cmds_CXX
18976 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18977
18978 # Whether we are building with GNU ld or not.
18979 with_gnu_ld=$lt_with_gnu_ld_CXX
18980
18981 # Flag that allows shared libraries with undefined symbols to be built.
18982 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18983
18984 # Flag that enforces no undefined symbols.
18985 no_undefined_flag=$lt_no_undefined_flag_CXX
18986
18987 # Flag to hardcode \$libdir into a binary during linking.
18988 # This must work even if \$libdir does not exist
18989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18990
18991 # Whether we need a single "-rpath" flag with a separated argument.
18992 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18993
18994 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18995 # DIR into the resulting binary.
18996 hardcode_direct=$hardcode_direct_CXX
18997
18998 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18999 # DIR into the resulting binary and the resulting library dependency is
19000 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19001 # library is relocated.
19002 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19003
19004 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19005 # into the resulting binary.
19006 hardcode_minus_L=$hardcode_minus_L_CXX
19007
19008 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19009 # into the resulting binary.
19010 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19011
19012 # Set to "yes" if building a shared library automatically hardcodes DIR
19013 # into the library and all subsequent libraries and executables linked
19014 # against it.
19015 hardcode_automatic=$hardcode_automatic_CXX
19016
19017 # Set to yes if linker adds runtime paths of dependent libraries
19018 # to runtime path list.
19019 inherit_rpath=$inherit_rpath_CXX
19020
19021 # Whether libtool must link a program against all its dependency libraries.
19022 link_all_deplibs=$link_all_deplibs_CXX
19023
19024 # Set to "yes" if exported symbols are required.
19025 always_export_symbols=$always_export_symbols_CXX
19026
19027 # The commands to list exported symbols.
19028 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19029
19030 # Symbols that should not be listed in the preloaded symbols.
19031 exclude_expsyms=$lt_exclude_expsyms_CXX
19032
19033 # Symbols that must always be exported.
19034 include_expsyms=$lt_include_expsyms_CXX
19035
19036 # Commands necessary for linking programs (against libraries) with templates.
19037 prelink_cmds=$lt_prelink_cmds_CXX
19038
19039 # Commands necessary for finishing linking programs.
19040 postlink_cmds=$lt_postlink_cmds_CXX
19041
19042 # Specify filename containing input files.
19043 file_list_spec=$lt_file_list_spec_CXX
19044
19045 # How to hardcode a shared library path into an executable.
19046 hardcode_action=$hardcode_action_CXX
19047
19048 # The directories searched by this compiler when creating a shared library.
19049 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19050
19051 # Dependencies to place before and after the objects being linked to
19052 # create a shared library.
19053 predep_objects=$lt_predep_objects_CXX
19054 postdep_objects=$lt_postdep_objects_CXX
19055 predeps=$lt_predeps_CXX
19056 postdeps=$lt_postdeps_CXX
19057
19058 # The library search path used internally by the compiler when linking
19059 # a shared library.
19060 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19061
19062 # ### END LIBTOOL TAG CONFIG: CXX
19063 _LT_EOF
19064
19065  ;;
19066
19067   esac
19068 done # for ac_tag
19069
19070
19071 as_fn_exit 0
19072 _ACEOF
19073 ac_clean_files=$ac_clean_files_save
19074
19075 test $ac_write_fail = 0 ||
19076   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19077
19078
19079 # configure is writing to config.log, and then calls config.status.
19080 # config.status does its own redirection, appending to config.log.
19081 # Unfortunately, on DOS this fails, as config.log is still kept open
19082 # by configure, so config.status won't be able to write to it; its
19083 # output is simply discarded.  So we exec the FD to /dev/null,
19084 # effectively closing config.log, so it can be properly (re)opened and
19085 # appended to by config.status.  When coming back to configure, we
19086 # need to make the FD available again.
19087 if test "$no_create" != yes; then
19088   ac_cs_success=:
19089   ac_config_status_args=
19090   test "$silent" = yes &&
19091     ac_config_status_args="$ac_config_status_args --quiet"
19092   exec 5>/dev/null
19093   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19094   exec 5>>config.log
19095   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19096   # would make configure fail if this is the last instruction.
19097   $ac_cs_success || as_fn_exit 1
19098 fi
19099 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19100   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19101 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19102 fi
19103