9e3827934c4606792c1feede0dfc72eb81436d74
[ACL.git] / autom4te.cache / output.4
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
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216   
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in @%:@(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in @%:@ ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and 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 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 #  include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 #  include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 ac_unique_file="src/date.cpp"
635 ac_subst_vars='am__EXEEXT_FALSE
636 am__EXEEXT_TRUE
637 LTLIBOBJS
638 POW_LIB
639 LIB@&t@OBJS
640 ALLOCA
641 CXXCPP
642 am__fastdepCXX_FALSE
643 am__fastdepCXX_TRUE
644 CXXDEPMODE
645 ac_ct_CXX
646 CXXFLAGS
647 CXX
648 CPP
649 LT_SYS_LIBRARY_PATH
650 OTOOL64
651 OTOOL
652 LIPO
653 NMEDIT
654 DSYMUTIL
655 MANIFEST_TOOL
656 RANLIB
657 ac_ct_AR
658 AR
659 DLLTOOL
660 OBJDUMP
661 LN_S
662 NM
663 ac_ct_DUMPBIN
664 DUMPBIN
665 LD
666 FGREP
667 EGREP
668 GREP
669 SED
670 am__fastdepCC_FALSE
671 am__fastdepCC_TRUE
672 CCDEPMODE
673 am__nodep
674 AMDEPBACKSLASH
675 AMDEP_FALSE
676 AMDEP_TRUE
677 am__quote
678 am__include
679 DEPDIR
680 OBJEXT
681 EXEEXT
682 ac_ct_CC
683 CPPFLAGS
684 LDFLAGS
685 CFLAGS
686 CC
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 LIBTOOL
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_shared
767 enable_static
768 with_pic
769 enable_fast_install
770 with_aix_soname
771 enable_dependency_tracking
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 CC
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
784 LT_SYS_LIBRARY_PATH
785 CPP
786 CXX
787 CXXFLAGS
788 CCC
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-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1423   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1424   --enable-fast-install@<:@=PKGS@:>@ 
1425                           optimize for fast installation @<:@default=yes@:>@
1426   --enable-dependency-tracking 
1427                           do not reject slow dependency extractors
1428   --disable-dependency-tracking 
1429                           speeds up one-time build
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   CC          C compiler command
1446   CFLAGS      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   LT_SYS_LIBRARY_PATH 
1453               User-defined run-time library search path.
1454   CPP         C preprocessor
1455   CXX         C++ compiler command
1456   CXXFLAGS    C++ compiler flags
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_c_try_compile LINENO
1540 @%:@ --------------------------
1541 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1542 ac_fn_c_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_c_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_c_try_compile
1576
1577 @%:@ ac_fn_c_try_link LINENO
1578 @%:@ -----------------------
1579 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_link ()
1581 {
1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583   rm -f conftest.$ac_objext conftest$ac_exeext
1584   if { { ac_try="$ac_link"
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_link") 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_exeext && {
1603          test "$cross_compiling" = yes ||
1604          test -x conftest$ac_exeext
1605        }; then :
1606   ac_retval=0
1607 else
1608   $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1610
1611         ac_retval=1
1612 fi
1613   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1614   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1615   # interfere with the next link command; also delete a directory that is
1616   # left behind by Apple's compiler.  We do this before executing the actions.
1617   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619   as_fn_set_status $ac_retval
1620
1621 } @%:@ ac_fn_c_try_link
1622
1623 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1624 @%:@ -------------------------------------------------------
1625 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1626 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1627 ac_fn_c_check_header_compile ()
1628 {
1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1631 $as_echo_n "checking for $2... " >&6; }
1632 if eval \${$3+:} false; then :
1633   $as_echo_n "(cached) " >&6
1634 else
1635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h.  */
1637 $4
1638 @%:@include <$2>
1639 _ACEOF
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641   eval "$3=yes"
1642 else
1643   eval "$3=no"
1644 fi
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 fi
1647 eval ac_res=\$$3
1648                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651
1652 } @%:@ ac_fn_c_check_header_compile
1653
1654 @%:@ ac_fn_c_try_cpp LINENO
1655 @%:@ ----------------------
1656 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1657 ac_fn_c_try_cpp ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   if { { ac_try="$ac_cpp conftest.$ac_ext"
1661 case "(($ac_try" in
1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663   *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668   ac_status=$?
1669   if test -s conftest.err; then
1670     grep -v '^ *+' conftest.err >conftest.er1
1671     cat conftest.er1 >&5
1672     mv -f conftest.er1 conftest.err
1673   fi
1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675   test $ac_status = 0; } > conftest.i && {
1676          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1677          test ! -s conftest.err
1678        }; then :
1679   ac_retval=0
1680 else
1681   $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1683
1684     ac_retval=1
1685 fi
1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687   as_fn_set_status $ac_retval
1688
1689 } @%:@ ac_fn_c_try_cpp
1690
1691 @%:@ ac_fn_c_try_run LINENO
1692 @%:@ ----------------------
1693 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1694 @%:@ that executables *can* be run.
1695 ac_fn_c_try_run ()
1696 {
1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698   if { { ac_try="$ac_link"
1699 case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_link") 2>&5
1706   ac_status=$?
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709   { { case "(($ac_try" in
1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711   *) ac_try_echo=$ac_try;;
1712 esac
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715   (eval "$ac_try") 2>&5
1716   ac_status=$?
1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718   test $ac_status = 0; }; }; then :
1719   ac_retval=0
1720 else
1721   $as_echo "$as_me: program exited with status $ac_status" >&5
1722        $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1724
1725        ac_retval=$ac_status
1726 fi
1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729   as_fn_set_status $ac_retval
1730
1731 } @%:@ ac_fn_c_try_run
1732
1733 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1734 @%:@ ----------------------------------
1735 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1736 ac_fn_c_check_func ()
1737 {
1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if eval \${$3+:} false; then :
1742   $as_echo_n "(cached) " >&6
1743 else
1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h.  */
1746 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1748 #define $2 innocuous_$2
1749
1750 /* System header to define __stub macros and hopefully few prototypes,
1751     which can conflict with char $2 (); below.
1752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1753     <limits.h> exists even on freestanding compilers.  */
1754
1755 #ifdef __STDC__
1756 # include <limits.h>
1757 #else
1758 # include <assert.h>
1759 #endif
1760
1761 #undef $2
1762
1763 /* Override any GCC internal prototype to avoid an error.
1764    Use char because int might match the return type of a GCC
1765    builtin and then its argument prototype would still apply.  */
1766 #ifdef __cplusplus
1767 extern "C"
1768 #endif
1769 char $2 ();
1770 /* The GNU C library defines this for functions which it implements
1771     to always fail with ENOSYS.  Some functions are actually named
1772     something starting with __ and the normal name is an alias.  */
1773 #if defined __stub_$2 || defined __stub___$2
1774 choke me
1775 #endif
1776
1777 int
1778 main ()
1779 {
1780 return $2 ();
1781   ;
1782   return 0;
1783 }
1784 _ACEOF
1785 if ac_fn_c_try_link "$LINENO"; then :
1786   eval "$3=yes"
1787 else
1788   eval "$3=no"
1789 fi
1790 rm -f core conftest.err conftest.$ac_objext \
1791     conftest$ac_exeext conftest.$ac_ext
1792 fi
1793 eval ac_res=\$$3
1794                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1795 $as_echo "$ac_res" >&6; }
1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797
1798 } @%:@ ac_fn_c_check_func
1799
1800 @%:@ ac_fn_cxx_try_compile LINENO
1801 @%:@ ----------------------------
1802 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_compile ()
1804 {
1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806   rm -f conftest.$ac_objext
1807   if { { ac_try="$ac_compile"
1808 case "(($ac_try" in
1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810   *) ac_try_echo=$ac_try;;
1811 esac
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814   (eval "$ac_compile") 2>conftest.err
1815   ac_status=$?
1816   if test -s conftest.err; then
1817     grep -v '^ *+' conftest.err >conftest.er1
1818     cat conftest.er1 >&5
1819     mv -f conftest.er1 conftest.err
1820   fi
1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822   test $ac_status = 0; } && {
1823          test -z "$ac_cxx_werror_flag" ||
1824          test ! -s conftest.err
1825        } && test -s conftest.$ac_objext; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831         ac_retval=1
1832 fi
1833   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834   as_fn_set_status $ac_retval
1835
1836 } @%:@ ac_fn_cxx_try_compile
1837
1838 @%:@ ac_fn_cxx_try_cpp LINENO
1839 @%:@ ------------------------
1840 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1841 ac_fn_cxx_try_cpp ()
1842 {
1843   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844   if { { ac_try="$ac_cpp conftest.$ac_ext"
1845 case "(($ac_try" in
1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847   *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1852   ac_status=$?
1853   if test -s conftest.err; then
1854     grep -v '^ *+' conftest.err >conftest.er1
1855     cat conftest.er1 >&5
1856     mv -f conftest.er1 conftest.err
1857   fi
1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859   test $ac_status = 0; } > conftest.i && {
1860          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1861          test ! -s conftest.err
1862        }; then :
1863   ac_retval=0
1864 else
1865   $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1867
1868     ac_retval=1
1869 fi
1870   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871   as_fn_set_status $ac_retval
1872
1873 } @%:@ ac_fn_cxx_try_cpp
1874
1875 @%:@ ac_fn_cxx_try_link LINENO
1876 @%:@ -------------------------
1877 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1878 ac_fn_cxx_try_link ()
1879 {
1880   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881   rm -f conftest.$ac_objext conftest$ac_exeext
1882   if { { ac_try="$ac_link"
1883 case "(($ac_try" in
1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885   *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889   (eval "$ac_link") 2>conftest.err
1890   ac_status=$?
1891   if test -s conftest.err; then
1892     grep -v '^ *+' conftest.err >conftest.er1
1893     cat conftest.er1 >&5
1894     mv -f conftest.er1 conftest.err
1895   fi
1896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897   test $ac_status = 0; } && {
1898          test -z "$ac_cxx_werror_flag" ||
1899          test ! -s conftest.err
1900        } && test -s conftest$ac_exeext && {
1901          test "$cross_compiling" = yes ||
1902          test -x conftest$ac_exeext
1903        }; then :
1904   ac_retval=0
1905 else
1906   $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909         ac_retval=1
1910 fi
1911   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1912   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1913   # interfere with the next link command; also delete a directory that is
1914   # left behind by Apple's compiler.  We do this before executing the actions.
1915   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917   as_fn_set_status $ac_retval
1918
1919 } @%:@ ac_fn_cxx_try_link
1920
1921 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1922 @%:@ -------------------------------------------
1923 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1924 @%:@ variable VAR accordingly.
1925 ac_fn_c_check_type ()
1926 {
1927   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931   $as_echo_n "(cached) " >&6
1932 else
1933   eval "$3=no"
1934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h.  */
1936 $4
1937 int
1938 main ()
1939 {
1940 if (sizeof ($2))
1941          return 0;
1942   ;
1943   return 0;
1944 }
1945 _ACEOF
1946 if ac_fn_c_try_compile "$LINENO"; then :
1947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h.  */
1949 $4
1950 int
1951 main ()
1952 {
1953 if (sizeof (($2)))
1954             return 0;
1955   ;
1956   return 0;
1957 }
1958 _ACEOF
1959 if ac_fn_c_try_compile "$LINENO"; then :
1960   
1961 else
1962   eval "$3=yes"
1963 fi
1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967 fi
1968 eval ac_res=\$$3
1969                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973 } @%:@ ac_fn_c_check_type
1974
1975 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 @%:@ -------------------------------------------------------
1977 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 @%:@ the include files in INCLUDES and setting the cache variable VAR
1979 @%:@ accordingly.
1980 ac_fn_c_check_header_mongrel ()
1981 {
1982   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983   if eval \${$3+:} false; then :
1984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987   $as_echo_n "(cached) " >&6
1988 fi
1989 eval ac_res=\$$3
1990                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1992 else
1993   # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h.  */
1998 $4
1999 @%:@include <$2>
2000 _ACEOF
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002   ac_header_compiler=yes
2003 else
2004   ac_header_compiler=no
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2009
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h.  */
2015 @%:@include <$2>
2016 _ACEOF
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018   ac_header_preproc=yes
2019 else
2020   ac_header_preproc=no
2021 fi
2022 rm -f conftest.err conftest.i conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2025
2026 # So?  What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028   yes:no: )
2029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033     ;;
2034   no:yes:* )
2035     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2043     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 ( $as_echo "## --------------------------------- ##
2046 ## Report this to BUG-REPORT-ADDRESS ##
2047 ## --------------------------------- ##"
2048      ) | sed "s/^/$as_me: WARNING:     /" >&2
2049     ;;
2050 esac
2051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054   $as_echo_n "(cached) " >&6
2055 else
2056   eval "$3=\$ac_header_compiler"
2057 fi
2058 eval ac_res=\$$3
2059                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 fi
2062   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
2064 } @%:@ ac_fn_c_check_header_mongrel
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 case `pwd` in
3026   *\ * | *\     *)
3027     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3028 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3029 esac
3030
3031
3032
3033 macro_version='2.4.6'
3034 macro_revision='2.4.6'
3035
3036     
3037     
3038     
3039
3040
3041     
3042     
3043     
3044
3045
3046
3047
3048 ltmain=$ac_aux_dir/ltmain.sh
3049
3050 # Make sure we can run config.sub.
3051 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3052   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3053
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3055 $as_echo_n "checking build system type... " >&6; }
3056 if ${ac_cv_build+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   ac_build_alias=$build_alias
3060 test "x$ac_build_alias" = x &&
3061   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3062 test "x$ac_build_alias" = x &&
3063   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3064 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3065   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3066
3067 fi
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3069 $as_echo "$ac_cv_build" >&6; }
3070 case $ac_cv_build in
3071 *-*-*) ;;
3072 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3073 esac
3074 build=$ac_cv_build
3075 ac_save_IFS=$IFS; IFS='-'
3076 set x $ac_cv_build
3077 shift
3078 build_cpu=$1
3079 build_vendor=$2
3080 shift; shift
3081 # Remember, the first character of IFS is used to create $*,
3082 # except with old shells:
3083 build_os=$*
3084 IFS=$ac_save_IFS
3085 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3086
3087
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3089 $as_echo_n "checking host system type... " >&6; }
3090 if ${ac_cv_host+:} false; then :
3091   $as_echo_n "(cached) " >&6
3092 else
3093   if test "x$host_alias" = x; then
3094   ac_cv_host=$ac_cv_build
3095 else
3096   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3097     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3098 fi
3099
3100 fi
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3102 $as_echo "$ac_cv_host" >&6; }
3103 case $ac_cv_host in
3104 *-*-*) ;;
3105 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3106 esac
3107 host=$ac_cv_host
3108 ac_save_IFS=$IFS; IFS='-'
3109 set x $ac_cv_host
3110 shift
3111 host_cpu=$1
3112 host_vendor=$2
3113 shift; shift
3114 # Remember, the first character of IFS is used to create $*,
3115 # except with old shells:
3116 host_os=$*
3117 IFS=$ac_save_IFS
3118 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3119
3120
3121 # Backslashify metacharacters that are still active within
3122 # double-quoted strings.
3123 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3124
3125 # Same as above, but do not quote variable references.
3126 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3127
3128 # Sed substitution to delay expansion of an escaped shell variable in a
3129 # double_quote_subst'ed string.
3130 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3131
3132 # Sed substitution to delay expansion of an escaped single quote.
3133 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3134
3135 # Sed substitution to avoid accidental globbing in evaled expressions
3136 no_glob_subst='s/\*/\\\*/g'
3137
3138 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3139 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3140 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3141
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3143 $as_echo_n "checking how to print strings... " >&6; }
3144 # Test print first, because it will be a builtin if present.
3145 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3146    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3147   ECHO='print -r --'
3148 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3149   ECHO='printf %s\n'
3150 else
3151   # Use this function as a fallback that always works.
3152   func_fallback_echo ()
3153   {
3154     eval 'cat <<_LTECHO_EOF
3155 $1
3156 _LTECHO_EOF'
3157   }
3158   ECHO='func_fallback_echo'
3159 fi
3160
3161 # func_echo_all arg...
3162 # Invoke $ECHO with all args, space-separated.
3163 func_echo_all ()
3164 {
3165     $ECHO ""
3166 }
3167
3168 case $ECHO in
3169   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3170 $as_echo "printf" >&6; } ;;
3171   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3172 $as_echo "print -r" >&6; } ;;
3173   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3174 $as_echo "cat" >&6; } ;;
3175 esac
3176
3177
3178
3179
3180     
3181     
3182     
3183
3184
3185     
3186     
3187     
3188
3189
3190 DEPDIR="${am__leading_dot}deps"
3191
3192 ac_config_commands="$ac_config_commands depfiles"
3193
3194
3195 am_make=${MAKE-make}
3196 cat > confinc << 'END'
3197 am__doit:
3198         @echo this is the am__doit target
3199 .PHONY: am__doit
3200 END
3201 # If we don't find an include directive, just comment out the code.
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3203 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3204 am__include="#"
3205 am__quote=
3206 _am_result=none
3207 # First try GNU make style include.
3208 echo "include confinc" > confmf
3209 # Ignore all kinds of additional output from 'make'.
3210 case `$am_make -s -f confmf 2> /dev/null` in #(
3211 *the\ am__doit\ target*)
3212   am__include=include
3213   am__quote=
3214   _am_result=GNU
3215   ;;
3216 esac
3217 # Now try BSD make style include.
3218 if test "$am__include" = "#"; then
3219    echo '.include "confinc"' > confmf
3220    case `$am_make -s -f confmf 2> /dev/null` in #(
3221    *the\ am__doit\ target*)
3222      am__include=.include
3223      am__quote="\""
3224      _am_result=BSD
3225      ;;
3226    esac
3227 fi
3228
3229
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3231 $as_echo "$_am_result" >&6; }
3232 rm -f confinc confmf
3233
3234 @%:@ Check whether --enable-dependency-tracking was given.
3235 if test "${enable_dependency_tracking+set}" = set; then :
3236   enableval=$enable_dependency_tracking; 
3237 fi
3238
3239 if test "x$enable_dependency_tracking" != xno; then
3240   am_depcomp="$ac_aux_dir/depcomp"
3241   AMDEPBACKSLASH='\'
3242   am__nodep='_no'
3243 fi
3244  if test "x$enable_dependency_tracking" != xno; then
3245   AMDEP_TRUE=
3246   AMDEP_FALSE='#'
3247 else
3248   AMDEP_TRUE='#'
3249   AMDEP_FALSE=
3250 fi
3251
3252
3253 ac_ext=c
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 if test -n "$ac_tool_prefix"; then
3259   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if ${ac_cv_prog_CC+:} false; then :
3264   $as_echo_n "(cached) " >&6
3265 else
3266   if test -n "$CC"; then
3267   ac_cv_prog_CC="$CC" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272   IFS=$as_save_IFS
3273   test -z "$as_dir" && as_dir=.
3274     for ac_exec_ext in '' $ac_executable_extensions; do
3275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3276     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278     break 2
3279   fi
3280 done
3281   done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 CC=$ac_cv_prog_CC
3287 if test -n "$CC"; then
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 $as_echo "$CC" >&6; }
3290 else
3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_CC"; then
3298   ac_ct_CC=$CC
3299   # Extract the first word of "gcc", so it can be a program name with args.
3300 set dummy gcc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3304   $as_echo_n "(cached) " >&6
3305 else
3306   if test -n "$ac_ct_CC"; then
3307   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312   IFS=$as_save_IFS
3313   test -z "$as_dir" && as_dir=.
3314     for ac_exec_ext in '' $ac_executable_extensions; do
3315   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316     ac_cv_prog_ac_ct_CC="gcc"
3317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318     break 2
3319   fi
3320 done
3321   done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3327 if test -n "$ac_ct_CC"; then
3328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3329 $as_echo "$ac_ct_CC" >&6; }
3330 else
3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335   if test "x$ac_ct_CC" = x; then
3336     CC=""
3337   else
3338     case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344     CC=$ac_ct_CC
3345   fi
3346 else
3347   CC="$ac_cv_prog_CC"
3348 fi
3349
3350 if test -z "$CC"; then
3351           if test -n "$ac_tool_prefix"; then
3352     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_CC+:} false; then :
3357   $as_echo_n "(cached) " >&6
3358 else
3359   if test -n "$CC"; then
3360   ac_cv_prog_CC="$CC" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3364 do
3365   IFS=$as_save_IFS
3366   test -z "$as_dir" && as_dir=.
3367     for ac_exec_ext in '' $ac_executable_extensions; do
3368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369     ac_cv_prog_CC="${ac_tool_prefix}cc"
3370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371     break 2
3372   fi
3373 done
3374   done
3375 IFS=$as_save_IFS
3376
3377 fi
3378 fi
3379 CC=$ac_cv_prog_CC
3380 if test -n "$CC"; then
3381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3383 else
3384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3386 fi
3387
3388
3389   fi
3390 fi
3391 if test -z "$CC"; then
3392   # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_CC+:} false; then :
3397   $as_echo_n "(cached) " >&6
3398 else
3399   if test -n "$CC"; then
3400   ac_cv_prog_CC="$CC" # Let the user override the test.
3401 else
3402   ac_prog_rejected=no
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406   IFS=$as_save_IFS
3407   test -z "$as_dir" && as_dir=.
3408     for ac_exec_ext in '' $ac_executable_extensions; do
3409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3411        ac_prog_rejected=yes
3412        continue
3413      fi
3414     ac_cv_prog_CC="cc"
3415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416     break 2
3417   fi
3418 done
3419   done
3420 IFS=$as_save_IFS
3421
3422 if test $ac_prog_rejected = yes; then
3423   # We found a bogon in the path, so make sure we never use it.
3424   set dummy $ac_cv_prog_CC
3425   shift
3426   if test $@%:@ != 0; then
3427     # We chose a different compiler from the bogus one.
3428     # However, it has the same basename, so the bogon will be chosen
3429     # first if we set CC to just the basename; use the full file name.
3430     shift
3431     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3432   fi
3433 fi
3434 fi
3435 fi
3436 CC=$ac_cv_prog_CC
3437 if test -n "$CC"; then
3438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 $as_echo "$CC" >&6; }
3440 else
3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3443 fi
3444
3445
3446 fi
3447 if test -z "$CC"; then
3448   if test -n "$ac_tool_prefix"; then
3449   for ac_prog in cl.exe
3450   do
3451     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if ${ac_cv_prog_CC+:} false; then :
3456   $as_echo_n "(cached) " >&6
3457 else
3458   if test -n "$CC"; then
3459   ac_cv_prog_CC="$CC" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3463 do
3464   IFS=$as_save_IFS
3465   test -z "$as_dir" && as_dir=.
3466     for ac_exec_ext in '' $ac_executable_extensions; do
3467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3470     break 2
3471   fi
3472 done
3473   done
3474 IFS=$as_save_IFS
3475
3476 fi
3477 fi
3478 CC=$ac_cv_prog_CC
3479 if test -n "$CC"; then
3480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3481 $as_echo "$CC" >&6; }
3482 else
3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 fi
3486
3487
3488     test -n "$CC" && break
3489   done
3490 fi
3491 if test -z "$CC"; then
3492   ac_ct_CC=$CC
3493   for ac_prog in cl.exe
3494 do
3495   # Extract the first word of "$ac_prog", so it can be a program name with args.
3496 set dummy $ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3500   $as_echo_n "(cached) " >&6
3501 else
3502   if test -n "$ac_ct_CC"; then
3503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3507 do
3508   IFS=$as_save_IFS
3509   test -z "$as_dir" && as_dir=.
3510     for ac_exec_ext in '' $ac_executable_extensions; do
3511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512     ac_cv_prog_ac_ct_CC="$ac_prog"
3513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514     break 2
3515   fi
3516 done
3517   done
3518 IFS=$as_save_IFS
3519
3520 fi
3521 fi
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3526 else
3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3529 fi
3530
3531
3532   test -n "$ac_ct_CC" && break
3533 done
3534
3535   if test "x$ac_ct_CC" = x; then
3536     CC=""
3537   else
3538     case $cross_compiling:$ac_tool_warned in
3539 yes:)
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3542 ac_tool_warned=yes ;;
3543 esac
3544     CC=$ac_ct_CC
3545   fi
3546 fi
3547
3548 fi
3549
3550
3551 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error $? "no acceptable C compiler found in \$PATH
3554 See \`config.log' for more details" "$LINENO" 5; }
3555
3556 # Provide some information about the compiler.
3557 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3558 set X $ac_compile
3559 ac_compiler=$2
3560 for ac_option in --version -v -V -qversion; do
3561   { { ac_try="$ac_compiler $ac_option >&5"
3562 case "(($ac_try" in
3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564   *) ac_try_echo=$ac_try;;
3565 esac
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3569   ac_status=$?
3570   if test -s conftest.err; then
3571     sed '10a\
3572 ... rest of stderr output deleted ...
3573          10q' conftest.err >conftest.er1
3574     cat conftest.er1 >&5
3575   fi
3576   rm -f conftest.er1 conftest.err
3577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578   test $ac_status = 0; }
3579 done
3580
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h.  */
3583
3584 int
3585 main ()
3586 {
3587
3588   ;
3589   return 0;
3590 }
3591 _ACEOF
3592 ac_clean_files_save=$ac_clean_files
3593 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3594 # Try to create an executable without -o first, disregard a.out.
3595 # It will help us diagnose broken compilers, and finding out an intuition
3596 # of exeext.
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3600
3601 # The possible output files:
3602 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3603
3604 ac_rmfiles=
3605 for ac_file in $ac_files
3606 do
3607   case $ac_file in
3608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3609     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3610   esac
3611 done
3612 rm -f $ac_rmfiles
3613
3614 if { { ac_try="$ac_link_default"
3615 case "(($ac_try" in
3616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617   *) ac_try_echo=$ac_try;;
3618 esac
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621   (eval "$ac_link_default") 2>&5
3622   ac_status=$?
3623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624   test $ac_status = 0; }; then :
3625   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3627 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3628 # so that the user can short-circuit this test for compilers unknown to
3629 # Autoconf.
3630 for ac_file in $ac_files ''
3631 do
3632   test -f "$ac_file" || continue
3633   case $ac_file in
3634     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3635         ;;
3636     [ab].out )
3637         # We found the default executable, but exeext='' is most
3638         # certainly right.
3639         break;;
3640     *.* )
3641         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3642         then :; else
3643            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3644         fi
3645         # We set ac_cv_exeext here because the later test for it is not
3646         # safe: cross compilers may not add the suffix if given an `-o'
3647         # argument, so we may need to know it at that point already.
3648         # Even if this section looks crufty: it has the advantage of
3649         # actually working.
3650         break;;
3651     * )
3652         break;;
3653   esac
3654 done
3655 test "$ac_cv_exeext" = no && ac_cv_exeext=
3656
3657 else
3658   ac_file=''
3659 fi
3660 if test -z "$ac_file"; then :
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3665
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error 77 "C compiler cannot create executables
3669 See \`config.log' for more details" "$LINENO" 5; }
3670 else
3671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3672 $as_echo "yes" >&6; }
3673 fi
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3675 $as_echo_n "checking for C compiler default output file name... " >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3677 $as_echo "$ac_file" >&6; }
3678 ac_exeext=$ac_cv_exeext
3679
3680 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3683 $as_echo_n "checking for suffix of executables... " >&6; }
3684 if { { ac_try="$ac_link"
3685 case "(($ac_try" in
3686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687   *) ac_try_echo=$ac_try;;
3688 esac
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691   (eval "$ac_link") 2>&5
3692   ac_status=$?
3693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694   test $ac_status = 0; }; then :
3695   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3696 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3697 # work properly (i.e., refer to `conftest.exe'), while it won't with
3698 # `rm'.
3699 for ac_file in conftest.exe conftest conftest.*; do
3700   test -f "$ac_file" || continue
3701   case $ac_file in
3702     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3704           break;;
3705     * ) break;;
3706   esac
3707 done
3708 else
3709   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3712 See \`config.log' for more details" "$LINENO" 5; }
3713 fi
3714 rm -f conftest conftest$ac_cv_exeext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3716 $as_echo "$ac_cv_exeext" >&6; }
3717
3718 rm -f conftest.$ac_ext
3719 EXEEXT=$ac_cv_exeext
3720 ac_exeext=$EXEEXT
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h.  */
3723 @%:@include <stdio.h>
3724 int
3725 main ()
3726 {
3727 FILE *f = fopen ("conftest.out", "w");
3728  return ferror (f) || fclose (f) != 0;
3729
3730   ;
3731   return 0;
3732 }
3733 _ACEOF
3734 ac_clean_files="$ac_clean_files conftest.out"
3735 # Check that the compiler produces executables we can run.  If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 if test "$cross_compiling" != yes; then
3740   { { ac_try="$ac_link"
3741 case "(($ac_try" in
3742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743   *) ac_try_echo=$ac_try;;
3744 esac
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747   (eval "$ac_link") 2>&5
3748   ac_status=$?
3749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750   test $ac_status = 0; }
3751   if { ac_try='./conftest$ac_cv_exeext'
3752   { { case "(($ac_try" in
3753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754   *) ac_try_echo=$ac_try;;
3755 esac
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758   (eval "$ac_try") 2>&5
3759   ac_status=$?
3760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761   test $ac_status = 0; }; }; then
3762     cross_compiling=no
3763   else
3764     if test "$cross_compiling" = maybe; then
3765         cross_compiling=yes
3766     else
3767         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error $? "cannot run C compiled programs.
3770 If you meant to cross compile, use \`--host'.
3771 See \`config.log' for more details" "$LINENO" 5; }
3772     fi
3773   fi
3774 fi
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3776 $as_echo "$cross_compiling" >&6; }
3777
3778 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3779 ac_clean_files=$ac_clean_files_save
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3781 $as_echo_n "checking for suffix of object files... " >&6; }
3782 if ${ac_cv_objext+:} false; then :
3783   $as_echo_n "(cached) " >&6
3784 else
3785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h.  */
3787
3788 int
3789 main ()
3790 {
3791
3792   ;
3793   return 0;
3794 }
3795 _ACEOF
3796 rm -f conftest.o conftest.obj
3797 if { { ac_try="$ac_compile"
3798 case "(($ac_try" in
3799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800   *) ac_try_echo=$ac_try;;
3801 esac
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804   (eval "$ac_compile") 2>&5
3805   ac_status=$?
3806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807   test $ac_status = 0; }; then :
3808   for ac_file in conftest.o conftest.obj conftest.*; do
3809   test -f "$ac_file" || continue;
3810   case $ac_file in
3811     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3812     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3813        break;;
3814   esac
3815 done
3816 else
3817   $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3819
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error $? "cannot compute suffix of object files: cannot compile
3823 See \`config.log' for more details" "$LINENO" 5; }
3824 fi
3825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3826 fi
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3828 $as_echo "$ac_cv_objext" >&6; }
3829 OBJEXT=$ac_cv_objext
3830 ac_objext=$OBJEXT
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3832 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3833 if ${ac_cv_c_compiler_gnu+:} false; then :
3834   $as_echo_n "(cached) " >&6
3835 else
3836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h.  */
3838
3839 int
3840 main ()
3841 {
3842 #ifndef __GNUC__
3843        choke me
3844 #endif
3845
3846   ;
3847   return 0;
3848 }
3849 _ACEOF
3850 if ac_fn_c_try_compile "$LINENO"; then :
3851   ac_compiler_gnu=yes
3852 else
3853   ac_compiler_gnu=no
3854 fi
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3857
3858 fi
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3861 if test $ac_compiler_gnu = yes; then
3862   GCC=yes
3863 else
3864   GCC=
3865 fi
3866 ac_test_CFLAGS=${CFLAGS+set}
3867 ac_save_CFLAGS=$CFLAGS
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3870 if ${ac_cv_prog_cc_g+:} false; then :
3871   $as_echo_n "(cached) " >&6
3872 else
3873   ac_save_c_werror_flag=$ac_c_werror_flag
3874    ac_c_werror_flag=yes
3875    ac_cv_prog_cc_g=no
3876    CFLAGS="-g"
3877    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h.  */
3879
3880 int
3881 main ()
3882 {
3883
3884   ;
3885   return 0;
3886 }
3887 _ACEOF
3888 if ac_fn_c_try_compile "$LINENO"; then :
3889   ac_cv_prog_cc_g=yes
3890 else
3891   CFLAGS=""
3892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h.  */
3894
3895 int
3896 main ()
3897 {
3898
3899   ;
3900   return 0;
3901 }
3902 _ACEOF
3903 if ac_fn_c_try_compile "$LINENO"; then :
3904   
3905 else
3906   ac_c_werror_flag=$ac_save_c_werror_flag
3907          CFLAGS="-g"
3908          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h.  */
3910
3911 int
3912 main ()
3913 {
3914
3915   ;
3916   return 0;
3917 }
3918 _ACEOF
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920   ac_cv_prog_cc_g=yes
3921 fi
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 fi
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 fi
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927    ac_c_werror_flag=$ac_save_c_werror_flag
3928 fi
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3930 $as_echo "$ac_cv_prog_cc_g" >&6; }
3931 if test "$ac_test_CFLAGS" = set; then
3932   CFLAGS=$ac_save_CFLAGS
3933 elif test $ac_cv_prog_cc_g = yes; then
3934   if test "$GCC" = yes; then
3935     CFLAGS="-g -O2"
3936   else
3937     CFLAGS="-g"
3938   fi
3939 else
3940   if test "$GCC" = yes; then
3941     CFLAGS="-O2"
3942   else
3943     CFLAGS=
3944   fi
3945 fi
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3947 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3948 if ${ac_cv_prog_cc_c89+:} false; then :
3949   $as_echo_n "(cached) " >&6
3950 else
3951   ac_cv_prog_cc_c89=no
3952 ac_save_CC=$CC
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h.  */
3955 #include <stdarg.h>
3956 #include <stdio.h>
3957 struct stat;
3958 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3959 struct buf { int x; };
3960 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3961 static char *e (p, i)
3962      char **p;
3963      int i;
3964 {
3965   return p[i];
3966 }
3967 static char *f (char * (*g) (char **, int), char **p, ...)
3968 {
3969   char *s;
3970   va_list v;
3971   va_start (v,p);
3972   s = g (p, va_arg (v,int));
3973   va_end (v);
3974   return s;
3975 }
3976
3977 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3978    function prototypes and stuff, but not '\xHH' hex character constants.
3979    These don't provoke an error unfortunately, instead are silently treated
3980    as 'x'.  The following induces an error, until -std is added to get
3981    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3982    array size at least.  It's necessary to write '\x00'==0 to get something
3983    that's true only with -std.  */
3984 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3985
3986 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3987    inside strings and character constants.  */
3988 #define FOO(x) 'x'
3989 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3990
3991 int test (int i, double x);
3992 struct s1 {int (*f) (int a);};
3993 struct s2 {int (*f) (double a);};
3994 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3995 int argc;
3996 char **argv;
3997 int
3998 main ()
3999 {
4000 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4001   ;
4002   return 0;
4003 }
4004 _ACEOF
4005 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4006         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4007 do
4008   CC="$ac_save_CC $ac_arg"
4009   if ac_fn_c_try_compile "$LINENO"; then :
4010   ac_cv_prog_cc_c89=$ac_arg
4011 fi
4012 rm -f core conftest.err conftest.$ac_objext
4013   test "x$ac_cv_prog_cc_c89" != "xno" && break
4014 done
4015 rm -f conftest.$ac_ext
4016 CC=$ac_save_CC
4017
4018 fi
4019 # AC_CACHE_VAL
4020 case "x$ac_cv_prog_cc_c89" in
4021   x)
4022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 $as_echo "none needed" >&6; } ;;
4024   xno)
4025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4026 $as_echo "unsupported" >&6; } ;;
4027   *)
4028     CC="$CC $ac_cv_prog_cc_c89"
4029     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4030 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4031 esac
4032 if test "x$ac_cv_prog_cc_c89" != xno; then :
4033   
4034 fi
4035
4036 ac_ext=c
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041
4042 ac_ext=c
4043 ac_cpp='$CPP $CPPFLAGS'
4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4048 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4049 if ${am_cv_prog_cc_c_o+:} false; then :
4050   $as_echo_n "(cached) " >&6
4051 else
4052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h.  */
4054
4055 int
4056 main ()
4057 {
4058
4059   ;
4060   return 0;
4061 }
4062 _ACEOF
4063   # Make sure it works both with $CC and with simple cc.
4064   # Following AC_PROG_CC_C_O, we do the test twice because some
4065   # compilers refuse to overwrite an existing .o file with -o,
4066   # though they will create one.
4067   am_cv_prog_cc_c_o=yes
4068   for am_i in 1 2; do
4069     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4070    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4071    ac_status=$?
4072    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073    (exit $ac_status); } \
4074          && test -f conftest2.$ac_objext; then
4075       : OK
4076     else
4077       am_cv_prog_cc_c_o=no
4078       break
4079     fi
4080   done
4081   rm -f core conftest*
4082   unset am_i
4083 fi
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4085 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4086 if test "$am_cv_prog_cc_c_o" != yes; then
4087    # Losing compiler, so override with the script.
4088    # FIXME: It is wrong to rewrite CC.
4089    # But if we don't then we get into trouble of one sort or another.
4090    # A longer-term fix would be to have automake use am__CC in this case,
4091    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4092    CC="$am_aux_dir/compile $CC"
4093 fi
4094 ac_ext=c
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4099
4100
4101 depcc="$CC"   am_compiler_list=
4102
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4104 $as_echo_n "checking dependency style of $depcc... " >&6; }
4105 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4106   $as_echo_n "(cached) " >&6
4107 else
4108   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4109   # We make a subdir and do the tests there.  Otherwise we can end up
4110   # making bogus files that we don't know about and never remove.  For
4111   # instance it was reported that on HP-UX the gcc test will end up
4112   # making a dummy file named 'D' -- because '-MD' means "put the output
4113   # in D".
4114   rm -rf conftest.dir
4115   mkdir conftest.dir
4116   # Copy depcomp to subdir because otherwise we won't find it if we're
4117   # using a relative directory.
4118   cp "$am_depcomp" conftest.dir
4119   cd conftest.dir
4120   # We will build objects and dependencies in a subdirectory because
4121   # it helps to detect inapplicable dependency modes.  For instance
4122   # both Tru64's cc and ICC support -MD to output dependencies as a
4123   # side effect of compilation, but ICC will put the dependencies in
4124   # the current directory while Tru64 will put them in the object
4125   # directory.
4126   mkdir sub
4127
4128   am_cv_CC_dependencies_compiler_type=none
4129   if test "$am_compiler_list" = ""; then
4130      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4131   fi
4132   am__universal=false
4133   case " $depcc " in #(
4134      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4135      esac
4136
4137   for depmode in $am_compiler_list; do
4138     # Setup a source with many dependencies, because some compilers
4139     # like to wrap large dependency lists on column 80 (with \), and
4140     # we should not choose a depcomp mode which is confused by this.
4141     #
4142     # We need to recreate these files for each test, as the compiler may
4143     # overwrite some of them when testing with obscure command lines.
4144     # This happens at least with the AIX C compiler.
4145     : > sub/conftest.c
4146     for i in 1 2 3 4 5 6; do
4147       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4148       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4149       # Solaris 10 /bin/sh.
4150       echo '/* dummy */' > sub/conftst$i.h
4151     done
4152     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4153
4154     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4155     # mode.  It turns out that the SunPro C++ compiler does not properly
4156     # handle '-M -o', and we need to detect this.  Also, some Intel
4157     # versions had trouble with output in subdirs.
4158     am__obj=sub/conftest.${OBJEXT-o}
4159     am__minus_obj="-o $am__obj"
4160     case $depmode in
4161     gcc)
4162       # This depmode causes a compiler race in universal mode.
4163       test "$am__universal" = false || continue
4164       ;;
4165     nosideeffect)
4166       # After this tag, mechanisms are not by side-effect, so they'll
4167       # only be used when explicitly requested.
4168       if test "x$enable_dependency_tracking" = xyes; then
4169         continue
4170       else
4171         break
4172       fi
4173       ;;
4174     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4175       # This compiler won't grok '-c -o', but also, the minuso test has
4176       # not run yet.  These depmodes are late enough in the game, and
4177       # so weak that their functioning should not be impacted.
4178       am__obj=conftest.${OBJEXT-o}
4179       am__minus_obj=
4180       ;;
4181     none) break ;;
4182     esac
4183     if depmode=$depmode \
4184        source=sub/conftest.c object=$am__obj \
4185        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4186        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4187          >/dev/null 2>conftest.err &&
4188        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4189        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4190        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4191        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4192       # icc doesn't choke on unknown options, it will just issue warnings
4193       # or remarks (even with -Werror).  So we grep stderr for any message
4194       # that says an option was ignored or not supported.
4195       # When given -MP, icc 7.0 and 7.1 complain thusly:
4196       #   icc: Command line warning: ignoring option '-M'; no argument required
4197       # The diagnosis changed in icc 8.0:
4198       #   icc: Command line remark: option '-MP' not supported
4199       if (grep 'ignoring option' conftest.err ||
4200           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4201         am_cv_CC_dependencies_compiler_type=$depmode
4202         break
4203       fi
4204     fi
4205   done
4206
4207   cd ..
4208   rm -rf conftest.dir
4209 else
4210   am_cv_CC_dependencies_compiler_type=none
4211 fi
4212
4213 fi
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4215 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4216 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4217
4218  if 
4219   test "x$enable_dependency_tracking" != xno \
4220   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4221   am__fastdepCC_TRUE=
4222   am__fastdepCC_FALSE='#'
4223 else
4224   am__fastdepCC_TRUE='#'
4225   am__fastdepCC_FALSE=
4226 fi
4227
4228
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4230 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4231 if ${ac_cv_path_SED+:} false; then :
4232   $as_echo_n "(cached) " >&6
4233 else
4234             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4235      for ac_i in 1 2 3 4 5 6 7; do
4236        ac_script="$ac_script$as_nl$ac_script"
4237      done
4238      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4239      { ac_script=; unset ac_script;}
4240      if test -z "$SED"; then
4241   ac_path_SED_found=false
4242   # Loop through the user's path and test for each of PROGNAME-LIST
4243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 for as_dir in $PATH
4245 do
4246   IFS=$as_save_IFS
4247   test -z "$as_dir" && as_dir=.
4248     for ac_prog in sed gsed; do
4249     for ac_exec_ext in '' $ac_executable_extensions; do
4250       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4251       as_fn_executable_p "$ac_path_SED" || continue
4252 # Check for GNU ac_path_SED and select it if it is found.
4253   # Check for GNU $ac_path_SED
4254 case `"$ac_path_SED" --version 2>&1` in
4255 *GNU*)
4256   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4257 *)
4258   ac_count=0
4259   $as_echo_n 0123456789 >"conftest.in"
4260   while :
4261   do
4262     cat "conftest.in" "conftest.in" >"conftest.tmp"
4263     mv "conftest.tmp" "conftest.in"
4264     cp "conftest.in" "conftest.nl"
4265     $as_echo '' >> "conftest.nl"
4266     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4267     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4268     as_fn_arith $ac_count + 1 && ac_count=$as_val
4269     if test $ac_count -gt ${ac_path_SED_max-0}; then
4270       # Best one so far, save it but keep looking for a better one
4271       ac_cv_path_SED="$ac_path_SED"
4272       ac_path_SED_max=$ac_count
4273     fi
4274     # 10*(2^10) chars as input seems more than enough
4275     test $ac_count -gt 10 && break
4276   done
4277   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4278 esac
4279
4280       $ac_path_SED_found && break 3
4281     done
4282   done
4283   done
4284 IFS=$as_save_IFS
4285   if test -z "$ac_cv_path_SED"; then
4286     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4287   fi
4288 else
4289   ac_cv_path_SED=$SED
4290 fi
4291
4292 fi
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4294 $as_echo "$ac_cv_path_SED" >&6; }
4295  SED="$ac_cv_path_SED"
4296   rm -f conftest.sed
4297
4298 test -z "$SED" && SED=sed
4299 Xsed="$SED -e 1s/^X//"
4300
4301     
4302     
4303     
4304
4305
4306     
4307     
4308     
4309
4310
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4312 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4313 if ${ac_cv_path_GREP+:} false; then :
4314   $as_echo_n "(cached) " >&6
4315 else
4316   if test -z "$GREP"; then
4317   ac_path_GREP_found=false
4318   # Loop through the user's path and test for each of PROGNAME-LIST
4319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4321 do
4322   IFS=$as_save_IFS
4323   test -z "$as_dir" && as_dir=.
4324     for ac_prog in grep ggrep; do
4325     for ac_exec_ext in '' $ac_executable_extensions; do
4326       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4327       as_fn_executable_p "$ac_path_GREP" || continue
4328 # Check for GNU ac_path_GREP and select it if it is found.
4329   # Check for GNU $ac_path_GREP
4330 case `"$ac_path_GREP" --version 2>&1` in
4331 *GNU*)
4332   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4333 *)
4334   ac_count=0
4335   $as_echo_n 0123456789 >"conftest.in"
4336   while :
4337   do
4338     cat "conftest.in" "conftest.in" >"conftest.tmp"
4339     mv "conftest.tmp" "conftest.in"
4340     cp "conftest.in" "conftest.nl"
4341     $as_echo 'GREP' >> "conftest.nl"
4342     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4343     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4344     as_fn_arith $ac_count + 1 && ac_count=$as_val
4345     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4346       # Best one so far, save it but keep looking for a better one
4347       ac_cv_path_GREP="$ac_path_GREP"
4348       ac_path_GREP_max=$ac_count
4349     fi
4350     # 10*(2^10) chars as input seems more than enough
4351     test $ac_count -gt 10 && break
4352   done
4353   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4354 esac
4355
4356       $ac_path_GREP_found && break 3
4357     done
4358   done
4359   done
4360 IFS=$as_save_IFS
4361   if test -z "$ac_cv_path_GREP"; then
4362     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4363   fi
4364 else
4365   ac_cv_path_GREP=$GREP
4366 fi
4367
4368 fi
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4370 $as_echo "$ac_cv_path_GREP" >&6; }
4371  GREP="$ac_cv_path_GREP"
4372  
4373
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4375 $as_echo_n "checking for egrep... " >&6; }
4376 if ${ac_cv_path_EGREP+:} false; then :
4377   $as_echo_n "(cached) " >&6
4378 else
4379   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4380    then ac_cv_path_EGREP="$GREP -E"
4381    else
4382      if test -z "$EGREP"; then
4383   ac_path_EGREP_found=false
4384   # Loop through the user's path and test for each of PROGNAME-LIST
4385   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4387 do
4388   IFS=$as_save_IFS
4389   test -z "$as_dir" && as_dir=.
4390     for ac_prog in egrep; do
4391     for ac_exec_ext in '' $ac_executable_extensions; do
4392       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4393       as_fn_executable_p "$ac_path_EGREP" || continue
4394 # Check for GNU ac_path_EGREP and select it if it is found.
4395   # Check for GNU $ac_path_EGREP
4396 case `"$ac_path_EGREP" --version 2>&1` in
4397 *GNU*)
4398   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4399 *)
4400   ac_count=0
4401   $as_echo_n 0123456789 >"conftest.in"
4402   while :
4403   do
4404     cat "conftest.in" "conftest.in" >"conftest.tmp"
4405     mv "conftest.tmp" "conftest.in"
4406     cp "conftest.in" "conftest.nl"
4407     $as_echo 'EGREP' >> "conftest.nl"
4408     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4409     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4410     as_fn_arith $ac_count + 1 && ac_count=$as_val
4411     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4412       # Best one so far, save it but keep looking for a better one
4413       ac_cv_path_EGREP="$ac_path_EGREP"
4414       ac_path_EGREP_max=$ac_count
4415     fi
4416     # 10*(2^10) chars as input seems more than enough
4417     test $ac_count -gt 10 && break
4418   done
4419   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420 esac
4421
4422       $ac_path_EGREP_found && break 3
4423     done
4424   done
4425   done
4426 IFS=$as_save_IFS
4427   if test -z "$ac_cv_path_EGREP"; then
4428     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4429   fi
4430 else
4431   ac_cv_path_EGREP=$EGREP
4432 fi
4433
4434    fi
4435 fi
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4437 $as_echo "$ac_cv_path_EGREP" >&6; }
4438  EGREP="$ac_cv_path_EGREP"
4439  
4440
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4442 $as_echo_n "checking for fgrep... " >&6; }
4443 if ${ac_cv_path_FGREP+:} false; then :
4444   $as_echo_n "(cached) " >&6
4445 else
4446   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4447    then ac_cv_path_FGREP="$GREP -F"
4448    else
4449      if test -z "$FGREP"; then
4450   ac_path_FGREP_found=false
4451   # Loop through the user's path and test for each of PROGNAME-LIST
4452   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4454 do
4455   IFS=$as_save_IFS
4456   test -z "$as_dir" && as_dir=.
4457     for ac_prog in fgrep; do
4458     for ac_exec_ext in '' $ac_executable_extensions; do
4459       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4460       as_fn_executable_p "$ac_path_FGREP" || continue
4461 # Check for GNU ac_path_FGREP and select it if it is found.
4462   # Check for GNU $ac_path_FGREP
4463 case `"$ac_path_FGREP" --version 2>&1` in
4464 *GNU*)
4465   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4466 *)
4467   ac_count=0
4468   $as_echo_n 0123456789 >"conftest.in"
4469   while :
4470   do
4471     cat "conftest.in" "conftest.in" >"conftest.tmp"
4472     mv "conftest.tmp" "conftest.in"
4473     cp "conftest.in" "conftest.nl"
4474     $as_echo 'FGREP' >> "conftest.nl"
4475     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4476     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4477     as_fn_arith $ac_count + 1 && ac_count=$as_val
4478     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4479       # Best one so far, save it but keep looking for a better one
4480       ac_cv_path_FGREP="$ac_path_FGREP"
4481       ac_path_FGREP_max=$ac_count
4482     fi
4483     # 10*(2^10) chars as input seems more than enough
4484     test $ac_count -gt 10 && break
4485   done
4486   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487 esac
4488
4489       $ac_path_FGREP_found && break 3
4490     done
4491   done
4492   done
4493 IFS=$as_save_IFS
4494   if test -z "$ac_cv_path_FGREP"; then
4495     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4496   fi
4497 else
4498   ac_cv_path_FGREP=$FGREP
4499 fi
4500
4501    fi
4502 fi
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4504 $as_echo "$ac_cv_path_FGREP" >&6; }
4505  FGREP="$ac_cv_path_FGREP"
4506  
4507
4508 test -z "$GREP" && GREP=grep
4509
4510     
4511     
4512     
4513
4514
4515     
4516     
4517     
4518
4519
4520     
4521     
4522     
4523
4524
4525
4526
4527
4528 @%:@ Check whether --with-gnu-ld was given.
4529 if test "${with_gnu_ld+set}" = set; then :
4530   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4531 else
4532   with_gnu_ld=no
4533 fi
4534
4535 ac_prog=ld
4536 if test yes = "$GCC"; then
4537   # Check if gcc -print-prog-name=ld gives a path.
4538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4539 $as_echo_n "checking for ld used by $CC... " >&6; }
4540   case $host in
4541   *-*-mingw*)
4542     # gcc leaves a trailing carriage return, which upsets mingw
4543     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4544   *)
4545     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4546   esac
4547   case $ac_prog in
4548     # Accept absolute paths.
4549     [\\/]* | ?:[\\/]*)
4550       re_direlt='/[^/][^/]*/\.\./'
4551       # Canonicalize the pathname of ld
4552       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4553       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4554         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4555       done
4556       test -z "$LD" && LD=$ac_prog
4557       ;;
4558   "")
4559     # If it fails, then pretend we aren't using GCC.
4560     ac_prog=ld
4561     ;;
4562   *)
4563     # If it is relative, then search for the first ld in PATH.
4564     with_gnu_ld=unknown
4565     ;;
4566   esac
4567 elif test yes = "$with_gnu_ld"; then
4568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4569 $as_echo_n "checking for GNU ld... " >&6; }
4570 else
4571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4572 $as_echo_n "checking for non-GNU ld... " >&6; }
4573 fi
4574 if ${lt_cv_path_LD+:} false; then :
4575   $as_echo_n "(cached) " >&6
4576 else
4577   if test -z "$LD"; then
4578   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4579   for ac_dir in $PATH; do
4580     IFS=$lt_save_ifs
4581     test -z "$ac_dir" && ac_dir=.
4582     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4583       lt_cv_path_LD=$ac_dir/$ac_prog
4584       # Check to see if the program is GNU ld.  I'd rather use --version,
4585       # but apparently some variants of GNU ld only accept -v.
4586       # Break only if it was the GNU/non-GNU ld that we prefer.
4587       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4588       *GNU* | *'with BFD'*)
4589         test no != "$with_gnu_ld" && break
4590         ;;
4591       *)
4592         test yes != "$with_gnu_ld" && break
4593         ;;
4594       esac
4595     fi
4596   done
4597   IFS=$lt_save_ifs
4598 else
4599   lt_cv_path_LD=$LD # Let the user override the test with a path.
4600 fi
4601 fi
4602
4603 LD=$lt_cv_path_LD
4604 if test -n "$LD"; then
4605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4606 $as_echo "$LD" >&6; }
4607 else
4608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4610 fi
4611 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4613 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4614 if ${lt_cv_prog_gnu_ld+:} false; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4618 case `$LD -v 2>&1 </dev/null` in
4619 *GNU* | *'with BFD'*)
4620   lt_cv_prog_gnu_ld=yes
4621   ;;
4622 *)
4623   lt_cv_prog_gnu_ld=no
4624   ;;
4625 esac
4626 fi
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4628 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4629 with_gnu_ld=$lt_cv_prog_gnu_ld
4630
4631
4632
4633
4634     
4635     
4636     
4637
4638
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4640 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4641 if ${lt_cv_path_NM+:} false; then :
4642   $as_echo_n "(cached) " >&6
4643 else
4644   if test -n "$NM"; then
4645   # Let the user override the test.
4646   lt_cv_path_NM=$NM
4647 else
4648   lt_nm_to_check=${ac_tool_prefix}nm
4649   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4650     lt_nm_to_check="$lt_nm_to_check nm"
4651   fi
4652   for lt_tmp_nm in $lt_nm_to_check; do
4653     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4654     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4655       IFS=$lt_save_ifs
4656       test -z "$ac_dir" && ac_dir=.
4657       tmp_nm=$ac_dir/$lt_tmp_nm
4658       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4659         # Check to see if the nm accepts a BSD-compat flag.
4660         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4661         #   nm: unknown option "B" ignored
4662         # Tru64's nm complains that /dev/null is an invalid object file
4663         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4664         case $build_os in
4665         mingw*) lt_bad_file=conftest.nm/nofile ;;
4666         *) lt_bad_file=/dev/null ;;
4667         esac
4668         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4669         *$lt_bad_file* | *'Invalid file or object type'*)
4670           lt_cv_path_NM="$tmp_nm -B"
4671           break 2
4672           ;;
4673         *)
4674           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4675           */dev/null*)
4676             lt_cv_path_NM="$tmp_nm -p"
4677             break 2
4678             ;;
4679           *)
4680             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4681             continue # so that we can try to find one that supports BSD flags
4682             ;;
4683           esac
4684           ;;
4685         esac
4686       fi
4687     done
4688     IFS=$lt_save_ifs
4689   done
4690   : ${lt_cv_path_NM=no}
4691 fi
4692 fi
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4694 $as_echo "$lt_cv_path_NM" >&6; }
4695 if test no != "$lt_cv_path_NM"; then
4696   NM=$lt_cv_path_NM
4697 else
4698   # Didn't find any BSD compatible name lister, look for dumpbin.
4699   if test -n "$DUMPBIN"; then :
4700     # Let the user override the test.
4701   else
4702     if test -n "$ac_tool_prefix"; then
4703   for ac_prog in dumpbin "link -dump"
4704   do
4705     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if ${ac_cv_prog_DUMPBIN+:} false; then :
4710   $as_echo_n "(cached) " >&6
4711 else
4712   if test -n "$DUMPBIN"; then
4713   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4714 else
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH
4717 do
4718   IFS=$as_save_IFS
4719   test -z "$as_dir" && as_dir=.
4720     for ac_exec_ext in '' $ac_executable_extensions; do
4721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4722     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724     break 2
4725   fi
4726 done
4727   done
4728 IFS=$as_save_IFS
4729
4730 fi
4731 fi
4732 DUMPBIN=$ac_cv_prog_DUMPBIN
4733 if test -n "$DUMPBIN"; then
4734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4735 $as_echo "$DUMPBIN" >&6; }
4736 else
4737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 fi
4740
4741
4742     test -n "$DUMPBIN" && break
4743   done
4744 fi
4745 if test -z "$DUMPBIN"; then
4746   ac_ct_DUMPBIN=$DUMPBIN
4747   for ac_prog in dumpbin "link -dump"
4748 do
4749   # Extract the first word of "$ac_prog", so it can be a program name with args.
4750 set dummy $ac_prog; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4754   $as_echo_n "(cached) " >&6
4755 else
4756   if test -n "$ac_ct_DUMPBIN"; then
4757   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4761 do
4762   IFS=$as_save_IFS
4763   test -z "$as_dir" && as_dir=.
4764     for ac_exec_ext in '' $ac_executable_extensions; do
4765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768     break 2
4769   fi
4770 done
4771   done
4772 IFS=$as_save_IFS
4773
4774 fi
4775 fi
4776 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4777 if test -n "$ac_ct_DUMPBIN"; then
4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4779 $as_echo "$ac_ct_DUMPBIN" >&6; }
4780 else
4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 fi
4784
4785
4786   test -n "$ac_ct_DUMPBIN" && break
4787 done
4788
4789   if test "x$ac_ct_DUMPBIN" = x; then
4790     DUMPBIN=":"
4791   else
4792     case $cross_compiling:$ac_tool_warned in
4793 yes:)
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4796 ac_tool_warned=yes ;;
4797 esac
4798     DUMPBIN=$ac_ct_DUMPBIN
4799   fi
4800 fi
4801
4802     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4803     *COFF*)
4804       DUMPBIN="$DUMPBIN -symbols -headers"
4805       ;;
4806     *)
4807       DUMPBIN=:
4808       ;;
4809     esac
4810   fi
4811   
4812   if test : != "$DUMPBIN"; then
4813     NM=$DUMPBIN
4814   fi
4815 fi
4816 test -z "$NM" && NM=nm
4817
4818
4819     
4820     
4821     
4822
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4824 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4825 if ${lt_cv_nm_interface+:} false; then :
4826   $as_echo_n "(cached) " >&6
4827 else
4828   lt_cv_nm_interface="BSD nm"
4829   echo "int some_variable = 0;" > conftest.$ac_ext
4830   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4831   (eval "$ac_compile" 2>conftest.err)
4832   cat conftest.err >&5
4833   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4834   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4835   cat conftest.err >&5
4836   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4837   cat conftest.out >&5
4838   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4839     lt_cv_nm_interface="MS dumpbin"
4840   fi
4841   rm -f conftest*
4842 fi
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4844 $as_echo "$lt_cv_nm_interface" >&6; }
4845
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4847 $as_echo_n "checking whether ln -s works... " >&6; }
4848 LN_S=$as_ln_s
4849 if test "$LN_S" = "ln -s"; then
4850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4851 $as_echo "yes" >&6; }
4852 else
4853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4854 $as_echo "no, using $LN_S" >&6; }
4855 fi
4856
4857 # find the maximum length of command line arguments
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4859 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4860 if ${lt_cv_sys_max_cmd_len+:} false; then :
4861   $as_echo_n "(cached) " >&6
4862 else
4863     i=0
4864   teststring=ABCD
4865
4866   case $build_os in
4867   msdosdjgpp*)
4868     # On DJGPP, this test can blow up pretty badly due to problems in libc
4869     # (any single argument exceeding 2000 bytes causes a buffer overrun
4870     # during glob expansion).  Even if it were fixed, the result of this
4871     # check would be larger than it should be.
4872     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4873     ;;
4874
4875   gnu*)
4876     # Under GNU Hurd, this test is not required because there is
4877     # no limit to the length of command line arguments.
4878     # Libtool will interpret -1 as no limit whatsoever
4879     lt_cv_sys_max_cmd_len=-1;
4880     ;;
4881
4882   cygwin* | mingw* | cegcc*)
4883     # On Win9x/ME, this test blows up -- it succeeds, but takes
4884     # about 5 minutes as the teststring grows exponentially.
4885     # Worse, since 9x/ME are not pre-emptively multitasking,
4886     # you end up with a "frozen" computer, even though with patience
4887     # the test eventually succeeds (with a max line length of 256k).
4888     # Instead, let's just punt: use the minimum linelength reported by
4889     # all of the supported platforms: 8192 (on NT/2K/XP).
4890     lt_cv_sys_max_cmd_len=8192;
4891     ;;
4892
4893   mint*)
4894     # On MiNT this can take a long time and run out of memory.
4895     lt_cv_sys_max_cmd_len=8192;
4896     ;;
4897
4898   amigaos*)
4899     # On AmigaOS with pdksh, this test takes hours, literally.
4900     # So we just punt and use a minimum line length of 8192.
4901     lt_cv_sys_max_cmd_len=8192;
4902     ;;
4903
4904   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4905     # This has been around since 386BSD, at least.  Likely further.
4906     if test -x /sbin/sysctl; then
4907       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4908     elif test -x /usr/sbin/sysctl; then
4909       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4910     else
4911       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4912     fi
4913     # And add a safety zone
4914     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4915     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4916     ;;
4917
4918   interix*)
4919     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4920     lt_cv_sys_max_cmd_len=196608
4921     ;;
4922
4923   os2*)
4924     # The test takes a long time on OS/2.
4925     lt_cv_sys_max_cmd_len=8192
4926     ;;
4927
4928   osf*)
4929     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4930     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4931     # nice to cause kernel panics so lets avoid the loop below.
4932     # First set a reasonable default.
4933     lt_cv_sys_max_cmd_len=16384
4934     #
4935     if test -x /sbin/sysconfig; then
4936       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4937         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4938       esac
4939     fi
4940     ;;
4941   sco3.2v5*)
4942     lt_cv_sys_max_cmd_len=102400
4943     ;;
4944   sysv5* | sco5v6* | sysv4.2uw2*)
4945     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4946     if test -n "$kargmax"; then
4947       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4948     else
4949       lt_cv_sys_max_cmd_len=32768
4950     fi
4951     ;;
4952   *)
4953     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4954     if test -n "$lt_cv_sys_max_cmd_len" && \
4955        test undefined != "$lt_cv_sys_max_cmd_len"; then
4956       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4957       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4958     else
4959       # Make teststring a little bigger before we do anything with it.
4960       # a 1K string should be a reasonable start.
4961       for i in 1 2 3 4 5 6 7 8; do
4962         teststring=$teststring$teststring
4963       done
4964       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4965       # If test is not a shell built-in, we'll probably end up computing a
4966       # maximum length that is only half of the actual maximum length, but
4967       # we can't tell.
4968       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4969                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4970               test 17 != "$i" # 1/2 MB should be enough
4971       do
4972         i=`expr $i + 1`
4973         teststring=$teststring$teststring
4974       done
4975       # Only check the string length outside the loop.
4976       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4977       teststring=
4978       # Add a significant safety factor because C++ compilers can tack on
4979       # massive amounts of additional arguments before passing them to the
4980       # linker.  It appears as though 1/2 is a usable value.
4981       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4982     fi
4983     ;;
4984   esac
4985
4986 fi
4987
4988 if test -n "$lt_cv_sys_max_cmd_len"; then
4989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4990 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4991 else
4992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4993 $as_echo "none" >&6; }
4994 fi
4995 max_cmd_len=$lt_cv_sys_max_cmd_len
4996
4997     
4998     
4999     
5000
5001
5002 : ${CP="cp -f"}
5003 : ${MV="mv -f"}
5004 : ${RM="rm -f"}
5005
5006 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5007   lt_unset=unset
5008 else
5009   lt_unset=false
5010 fi
5011
5012     
5013     
5014     
5015
5016 # test EBCDIC or ASCII
5017 case `echo X|tr X '\101'` in
5018  A) # ASCII based system
5019     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5020   lt_SP2NL='tr \040 \012'
5021   lt_NL2SP='tr \015\012 \040\040'
5022   ;;
5023  *) # EBCDIC based system
5024   lt_SP2NL='tr \100 \n'
5025   lt_NL2SP='tr \r\n \100\100'
5026   ;;
5027 esac
5028
5029     
5030     
5031     
5032
5033     
5034     
5035     
5036
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5038 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5039 if ${lt_cv_to_host_file_cmd+:} false; then :
5040   $as_echo_n "(cached) " >&6
5041 else
5042   case $host in
5043   *-*-mingw* )
5044     case $build in
5045       *-*-mingw* ) # actually msys
5046         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5047         ;;
5048       *-*-cygwin* )
5049         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5050         ;;
5051       * ) # otherwise, assume *nix
5052         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5053         ;;
5054     esac
5055     ;;
5056   *-*-cygwin* )
5057     case $build in
5058       *-*-mingw* ) # actually msys
5059         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5060         ;;
5061       *-*-cygwin* )
5062         lt_cv_to_host_file_cmd=func_convert_file_noop
5063         ;;
5064       * ) # otherwise, assume *nix
5065         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5066         ;;
5067     esac
5068     ;;
5069   * ) # unhandled hosts (and "normal" native builds)
5070     lt_cv_to_host_file_cmd=func_convert_file_noop
5071     ;;
5072 esac
5073
5074 fi
5075
5076 to_host_file_cmd=$lt_cv_to_host_file_cmd
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5078 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5079
5080     
5081     
5082     
5083
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5085 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5086 if ${lt_cv_to_tool_file_cmd+:} false; then :
5087   $as_echo_n "(cached) " >&6
5088 else
5089   #assume ordinary cross tools, or native build.
5090 lt_cv_to_tool_file_cmd=func_convert_file_noop
5091 case $host in
5092   *-*-mingw* )
5093     case $build in
5094       *-*-mingw* ) # actually msys
5095         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5096         ;;
5097     esac
5098     ;;
5099 esac
5100
5101 fi
5102
5103 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5105 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5106
5107     
5108     
5109     
5110
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5112 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5113 if ${lt_cv_ld_reload_flag+:} false; then :
5114   $as_echo_n "(cached) " >&6
5115 else
5116   lt_cv_ld_reload_flag='-r'
5117 fi
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5119 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5120 reload_flag=$lt_cv_ld_reload_flag
5121 case $reload_flag in
5122 "" | " "*) ;;
5123 *) reload_flag=" $reload_flag" ;;
5124 esac
5125 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5126 case $host_os in
5127   cygwin* | mingw* | pw32* | cegcc*)
5128     if test yes != "$GCC"; then
5129       reload_cmds=false
5130     fi
5131     ;;
5132   darwin*)
5133     if test yes = "$GCC"; then
5134       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5135     else
5136       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5137     fi
5138     ;;
5139 esac
5140
5141     
5142     
5143     
5144
5145     
5146     
5147     
5148
5149 if test -n "$ac_tool_prefix"; then
5150   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5151 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_OBJDUMP+:} false; then :
5155   $as_echo_n "(cached) " >&6
5156 else
5157   if test -n "$OBJDUMP"; then
5158   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5162 do
5163   IFS=$as_save_IFS
5164   test -z "$as_dir" && as_dir=.
5165     for ac_exec_ext in '' $ac_executable_extensions; do
5166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169     break 2
5170   fi
5171 done
5172   done
5173 IFS=$as_save_IFS
5174
5175 fi
5176 fi
5177 OBJDUMP=$ac_cv_prog_OBJDUMP
5178 if test -n "$OBJDUMP"; then
5179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5180 $as_echo "$OBJDUMP" >&6; }
5181 else
5182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5184 fi
5185
5186
5187 fi
5188 if test -z "$ac_cv_prog_OBJDUMP"; then
5189   ac_ct_OBJDUMP=$OBJDUMP
5190   # Extract the first word of "objdump", so it can be a program name with args.
5191 set dummy objdump; ac_word=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5195   $as_echo_n "(cached) " >&6
5196 else
5197   if test -n "$ac_ct_OBJDUMP"; then
5198   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5199 else
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH
5202 do
5203   IFS=$as_save_IFS
5204   test -z "$as_dir" && as_dir=.
5205     for ac_exec_ext in '' $ac_executable_extensions; do
5206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5207     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209     break 2
5210   fi
5211 done
5212   done
5213 IFS=$as_save_IFS
5214
5215 fi
5216 fi
5217 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5218 if test -n "$ac_ct_OBJDUMP"; then
5219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5220 $as_echo "$ac_ct_OBJDUMP" >&6; }
5221 else
5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5224 fi
5225
5226   if test "x$ac_ct_OBJDUMP" = x; then
5227     OBJDUMP="false"
5228   else
5229     case $cross_compiling:$ac_tool_warned in
5230 yes:)
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5233 ac_tool_warned=yes ;;
5234 esac
5235     OBJDUMP=$ac_ct_OBJDUMP
5236   fi
5237 else
5238   OBJDUMP="$ac_cv_prog_OBJDUMP"
5239 fi
5240
5241 test -z "$OBJDUMP" && OBJDUMP=objdump
5242
5243     
5244     
5245     
5246
5247
5248
5249
5250
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5252 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5253 if ${lt_cv_deplibs_check_method+:} false; then :
5254   $as_echo_n "(cached) " >&6
5255 else
5256   lt_cv_file_magic_cmd='$MAGIC_CMD'
5257 lt_cv_file_magic_test_file=
5258 lt_cv_deplibs_check_method='unknown'
5259 # Need to set the preceding variable on all platforms that support
5260 # interlibrary dependencies.
5261 # 'none' -- dependencies not supported.
5262 # 'unknown' -- same as none, but documents that we really don't know.
5263 # 'pass_all' -- all dependencies passed with no checks.
5264 # 'test_compile' -- check by making test program.
5265 # 'file_magic [[regex]]' -- check by looking for files in library path
5266 # that responds to the $file_magic_cmd with a given extended regex.
5267 # If you have 'file' or equivalent on your system and you're not sure
5268 # whether 'pass_all' will *always* work, you probably want this one.
5269
5270 case $host_os in
5271 aix[4-9]*)
5272   lt_cv_deplibs_check_method=pass_all
5273   ;;
5274
5275 beos*)
5276   lt_cv_deplibs_check_method=pass_all
5277   ;;
5278
5279 bsdi[45]*)
5280   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5281   lt_cv_file_magic_cmd='/usr/bin/file -L'
5282   lt_cv_file_magic_test_file=/shlib/libc.so
5283   ;;
5284
5285 cygwin*)
5286   # func_win32_libid is a shell function defined in ltmain.sh
5287   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5288   lt_cv_file_magic_cmd='func_win32_libid'
5289   ;;
5290
5291 mingw* | pw32*)
5292   # Base MSYS/MinGW do not provide the 'file' command needed by
5293   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5294   # unless we find 'file', for example because we are cross-compiling.
5295   if ( file / ) >/dev/null 2>&1; then
5296     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297     lt_cv_file_magic_cmd='func_win32_libid'
5298   else
5299     # Keep this pattern in sync with the one in func_win32_libid.
5300     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5301     lt_cv_file_magic_cmd='$OBJDUMP -f'
5302   fi
5303   ;;
5304
5305 cegcc*)
5306   # use the weaker test based on 'objdump'. See mingw*.
5307   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5308   lt_cv_file_magic_cmd='$OBJDUMP -f'
5309   ;;
5310
5311 darwin* | rhapsody*)
5312   lt_cv_deplibs_check_method=pass_all
5313   ;;
5314
5315 freebsd* | dragonfly*)
5316   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5317     case $host_cpu in
5318     i*86 )
5319       # Not sure whether the presence of OpenBSD here was a mistake.
5320       # Let's accept both of them until this is cleared up.
5321       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5322       lt_cv_file_magic_cmd=/usr/bin/file
5323       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5324       ;;
5325     esac
5326   else
5327     lt_cv_deplibs_check_method=pass_all
5328   fi
5329   ;;
5330
5331 haiku*)
5332   lt_cv_deplibs_check_method=pass_all
5333   ;;
5334
5335 hpux10.20* | hpux11*)
5336   lt_cv_file_magic_cmd=/usr/bin/file
5337   case $host_cpu in
5338   ia64*)
5339     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5340     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5341     ;;
5342   hppa*64*)
5343     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]'
5344     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5345     ;;
5346   *)
5347     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5348     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5349     ;;
5350   esac
5351   ;;
5352
5353 interix[3-9]*)
5354   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5355   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5356   ;;
5357
5358 irix5* | irix6* | nonstopux*)
5359   case $LD in
5360   *-32|*"-32 ") libmagic=32-bit;;
5361   *-n32|*"-n32 ") libmagic=N32;;
5362   *-64|*"-64 ") libmagic=64-bit;;
5363   *) libmagic=never-match;;
5364   esac
5365   lt_cv_deplibs_check_method=pass_all
5366   ;;
5367
5368 # This must be glibc/ELF.
5369 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5370   lt_cv_deplibs_check_method=pass_all
5371   ;;
5372
5373 netbsd* | netbsdelf*-gnu)
5374   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5375     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5376   else
5377     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5378   fi
5379   ;;
5380
5381 newos6*)
5382   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5383   lt_cv_file_magic_cmd=/usr/bin/file
5384   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5385   ;;
5386
5387 *nto* | *qnx*)
5388   lt_cv_deplibs_check_method=pass_all
5389   ;;
5390
5391 openbsd* | bitrig*)
5392   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5393     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5394   else
5395     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5396   fi
5397   ;;
5398
5399 osf3* | osf4* | osf5*)
5400   lt_cv_deplibs_check_method=pass_all
5401   ;;
5402
5403 rdos*)
5404   lt_cv_deplibs_check_method=pass_all
5405   ;;
5406
5407 solaris*)
5408   lt_cv_deplibs_check_method=pass_all
5409   ;;
5410
5411 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5412   lt_cv_deplibs_check_method=pass_all
5413   ;;
5414
5415 sysv4 | sysv4.3*)
5416   case $host_vendor in
5417   motorola)
5418     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]'
5419     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5420     ;;
5421   ncr)
5422     lt_cv_deplibs_check_method=pass_all
5423     ;;
5424   sequent)
5425     lt_cv_file_magic_cmd='/bin/file'
5426     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5427     ;;
5428   sni)
5429     lt_cv_file_magic_cmd='/bin/file'
5430     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5431     lt_cv_file_magic_test_file=/lib/libc.so
5432     ;;
5433   siemens)
5434     lt_cv_deplibs_check_method=pass_all
5435     ;;
5436   pc)
5437     lt_cv_deplibs_check_method=pass_all
5438     ;;
5439   esac
5440   ;;
5441
5442 tpf*)
5443   lt_cv_deplibs_check_method=pass_all
5444   ;;
5445 os2*)
5446   lt_cv_deplibs_check_method=pass_all
5447   ;;
5448 esac
5449
5450 fi
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5452 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5453
5454 file_magic_glob=
5455 want_nocaseglob=no
5456 if test "$build" = "$host"; then
5457   case $host_os in
5458   mingw* | pw32*)
5459     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5460       want_nocaseglob=yes
5461     else
5462       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5463     fi
5464     ;;
5465   esac
5466 fi
5467
5468 file_magic_cmd=$lt_cv_file_magic_cmd
5469 deplibs_check_method=$lt_cv_deplibs_check_method
5470 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5471
5472
5473     
5474     
5475     
5476
5477
5478     
5479     
5480     
5481
5482
5483     
5484     
5485     
5486
5487
5488     
5489     
5490     
5491
5492
5493 if test -n "$ac_tool_prefix"; then
5494   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_DLLTOOL+:} false; then :
5499   $as_echo_n "(cached) " >&6
5500 else
5501   if test -n "$DLLTOOL"; then
5502   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5506 do
5507   IFS=$as_save_IFS
5508   test -z "$as_dir" && as_dir=.
5509     for ac_exec_ext in '' $ac_executable_extensions; do
5510   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513     break 2
5514   fi
5515 done
5516   done
5517 IFS=$as_save_IFS
5518
5519 fi
5520 fi
5521 DLLTOOL=$ac_cv_prog_DLLTOOL
5522 if test -n "$DLLTOOL"; then
5523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5524 $as_echo "$DLLTOOL" >&6; }
5525 else
5526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5528 fi
5529
5530
5531 fi
5532 if test -z "$ac_cv_prog_DLLTOOL"; then
5533   ac_ct_DLLTOOL=$DLLTOOL
5534   # Extract the first word of "dlltool", so it can be a program name with args.
5535 set dummy dlltool; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5539   $as_echo_n "(cached) " >&6
5540 else
5541   if test -n "$ac_ct_DLLTOOL"; then
5542   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5546 do
5547   IFS=$as_save_IFS
5548   test -z "$as_dir" && as_dir=.
5549     for ac_exec_ext in '' $ac_executable_extensions; do
5550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553     break 2
5554   fi
5555 done
5556   done
5557 IFS=$as_save_IFS
5558
5559 fi
5560 fi
5561 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5562 if test -n "$ac_ct_DLLTOOL"; then
5563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5564 $as_echo "$ac_ct_DLLTOOL" >&6; }
5565 else
5566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5568 fi
5569
5570   if test "x$ac_ct_DLLTOOL" = x; then
5571     DLLTOOL="false"
5572   else
5573     case $cross_compiling:$ac_tool_warned in
5574 yes:)
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5578 esac
5579     DLLTOOL=$ac_ct_DLLTOOL
5580   fi
5581 else
5582   DLLTOOL="$ac_cv_prog_DLLTOOL"
5583 fi
5584
5585 test -z "$DLLTOOL" && DLLTOOL=dlltool
5586
5587     
5588     
5589     
5590
5591
5592
5593
5594
5595
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5597 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5598 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5599   $as_echo_n "(cached) " >&6
5600 else
5601   lt_cv_sharedlib_from_linklib_cmd='unknown'
5602
5603 case $host_os in
5604 cygwin* | mingw* | pw32* | cegcc*)
5605   # two different shell functions defined in ltmain.sh;
5606   # decide which one to use based on capabilities of $DLLTOOL
5607   case `$DLLTOOL --help 2>&1` in
5608   *--identify-strict*)
5609     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5610     ;;
5611   *)
5612     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5613     ;;
5614   esac
5615   ;;
5616 *)
5617   # fallback: assume linklib IS sharedlib
5618   lt_cv_sharedlib_from_linklib_cmd=$ECHO
5619   ;;
5620 esac
5621
5622 fi
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5624 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5625 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5626 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5627
5628
5629     
5630     
5631     
5632
5633
5634
5635 if test -n "$ac_tool_prefix"; then
5636   for ac_prog in ar
5637   do
5638     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_AR+:} false; then :
5643   $as_echo_n "(cached) " >&6
5644 else
5645   if test -n "$AR"; then
5646   ac_cv_prog_AR="$AR" # Let the user override the test.
5647 else
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH
5650 do
5651   IFS=$as_save_IFS
5652   test -z "$as_dir" && as_dir=.
5653     for ac_exec_ext in '' $ac_executable_extensions; do
5654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5657     break 2
5658   fi
5659 done
5660   done
5661 IFS=$as_save_IFS
5662
5663 fi
5664 fi
5665 AR=$ac_cv_prog_AR
5666 if test -n "$AR"; then
5667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5668 $as_echo "$AR" >&6; }
5669 else
5670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5672 fi
5673
5674
5675     test -n "$AR" && break
5676   done
5677 fi
5678 if test -z "$AR"; then
5679   ac_ct_AR=$AR
5680   for ac_prog in ar
5681 do
5682   # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5687   $as_echo_n "(cached) " >&6
5688 else
5689   if test -n "$ac_ct_AR"; then
5690   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5691 else
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 for as_dir in $PATH
5694 do
5695   IFS=$as_save_IFS
5696   test -z "$as_dir" && as_dir=.
5697     for ac_exec_ext in '' $ac_executable_extensions; do
5698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699     ac_cv_prog_ac_ct_AR="$ac_prog"
5700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701     break 2
5702   fi
5703 done
5704   done
5705 IFS=$as_save_IFS
5706
5707 fi
5708 fi
5709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5710 if test -n "$ac_ct_AR"; then
5711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5712 $as_echo "$ac_ct_AR" >&6; }
5713 else
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 fi
5717
5718
5719   test -n "$ac_ct_AR" && break
5720 done
5721
5722   if test "x$ac_ct_AR" = x; then
5723     AR="false"
5724   else
5725     case $cross_compiling:$ac_tool_warned in
5726 yes:)
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5729 ac_tool_warned=yes ;;
5730 esac
5731     AR=$ac_ct_AR
5732   fi
5733 fi
5734
5735 : ${AR=ar}
5736 : ${AR_FLAGS=cru}
5737
5738     
5739     
5740     
5741
5742
5743     
5744     
5745     
5746
5747
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5749 $as_echo_n "checking for archiver @FILE support... " >&6; }
5750 if ${lt_cv_ar_at_file+:} false; then :
5751   $as_echo_n "(cached) " >&6
5752 else
5753   lt_cv_ar_at_file=no
5754    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h.  */
5756
5757 int
5758 main ()
5759 {
5760
5761   ;
5762   return 0;
5763 }
5764 _ACEOF
5765 if ac_fn_c_try_compile "$LINENO"; then :
5766   echo conftest.$ac_objext > conftest.lst
5767       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5768       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5769   (eval $lt_ar_try) 2>&5
5770   ac_status=$?
5771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772   test $ac_status = 0; }
5773       if test 0 -eq "$ac_status"; then
5774         # Ensure the archiver fails upon bogus file names.
5775         rm -f conftest.$ac_objext libconftest.a
5776         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5777   (eval $lt_ar_try) 2>&5
5778   ac_status=$?
5779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780   test $ac_status = 0; }
5781         if test 0 -ne "$ac_status"; then
5782           lt_cv_ar_at_file=@
5783         fi
5784       fi
5785       rm -f conftest.* libconftest.a
5786      
5787 fi
5788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5789   
5790 fi
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5792 $as_echo "$lt_cv_ar_at_file" >&6; }
5793
5794 if test no = "$lt_cv_ar_at_file"; then
5795   archiver_list_spec=
5796 else
5797   archiver_list_spec=$lt_cv_ar_at_file
5798 fi
5799
5800     
5801     
5802     
5803
5804
5805
5806 if test -n "$ac_tool_prefix"; then
5807   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5808 set dummy ${ac_tool_prefix}strip; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_STRIP+:} false; then :
5812   $as_echo_n "(cached) " >&6
5813 else
5814   if test -n "$STRIP"; then
5815   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820   IFS=$as_save_IFS
5821   test -z "$as_dir" && as_dir=.
5822     for ac_exec_ext in '' $ac_executable_extensions; do
5823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826     break 2
5827   fi
5828 done
5829   done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 STRIP=$ac_cv_prog_STRIP
5835 if test -n "$STRIP"; then
5836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5837 $as_echo "$STRIP" >&6; }
5838 else
5839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 fi
5845 if test -z "$ac_cv_prog_STRIP"; then
5846   ac_ct_STRIP=$STRIP
5847   # Extract the first word of "strip", so it can be a program name with args.
5848 set dummy strip; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5852   $as_echo_n "(cached) " >&6
5853 else
5854   if test -n "$ac_ct_STRIP"; then
5855   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5859 do
5860   IFS=$as_save_IFS
5861   test -z "$as_dir" && as_dir=.
5862     for ac_exec_ext in '' $ac_executable_extensions; do
5863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864     ac_cv_prog_ac_ct_STRIP="strip"
5865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866     break 2
5867   fi
5868 done
5869   done
5870 IFS=$as_save_IFS
5871
5872 fi
5873 fi
5874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5875 if test -n "$ac_ct_STRIP"; then
5876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5877 $as_echo "$ac_ct_STRIP" >&6; }
5878 else
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5881 fi
5882
5883   if test "x$ac_ct_STRIP" = x; then
5884     STRIP=":"
5885   else
5886     case $cross_compiling:$ac_tool_warned in
5887 yes:)
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 ac_tool_warned=yes ;;
5891 esac
5892     STRIP=$ac_ct_STRIP
5893   fi
5894 else
5895   STRIP="$ac_cv_prog_STRIP"
5896 fi
5897
5898 test -z "$STRIP" && STRIP=:
5899
5900     
5901     
5902     
5903
5904
5905 if test -n "$ac_tool_prefix"; then
5906   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_RANLIB+:} false; then :
5911   $as_echo_n "(cached) " >&6
5912 else
5913   if test -n "$RANLIB"; then
5914   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5915 else
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH
5918 do
5919   IFS=$as_save_IFS
5920   test -z "$as_dir" && as_dir=.
5921     for ac_exec_ext in '' $ac_executable_extensions; do
5922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925     break 2
5926   fi
5927 done
5928   done
5929 IFS=$as_save_IFS
5930
5931 fi
5932 fi
5933 RANLIB=$ac_cv_prog_RANLIB
5934 if test -n "$RANLIB"; then
5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5936 $as_echo "$RANLIB" >&6; }
5937 else
5938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5940 fi
5941
5942
5943 fi
5944 if test -z "$ac_cv_prog_RANLIB"; then
5945   ac_ct_RANLIB=$RANLIB
5946   # Extract the first word of "ranlib", so it can be a program name with args.
5947 set dummy ranlib; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5951   $as_echo_n "(cached) " >&6
5952 else
5953   if test -n "$ac_ct_RANLIB"; then
5954   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5955 else
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957 for as_dir in $PATH
5958 do
5959   IFS=$as_save_IFS
5960   test -z "$as_dir" && as_dir=.
5961     for ac_exec_ext in '' $ac_executable_extensions; do
5962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963     ac_cv_prog_ac_ct_RANLIB="ranlib"
5964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965     break 2
5966   fi
5967 done
5968   done
5969 IFS=$as_save_IFS
5970
5971 fi
5972 fi
5973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5974 if test -n "$ac_ct_RANLIB"; then
5975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5976 $as_echo "$ac_ct_RANLIB" >&6; }
5977 else
5978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5980 fi
5981
5982   if test "x$ac_ct_RANLIB" = x; then
5983     RANLIB=":"
5984   else
5985     case $cross_compiling:$ac_tool_warned in
5986 yes:)
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
5990 esac
5991     RANLIB=$ac_ct_RANLIB
5992   fi
5993 else
5994   RANLIB="$ac_cv_prog_RANLIB"
5995 fi
5996
5997 test -z "$RANLIB" && RANLIB=:
5998
5999     
6000     
6001     
6002
6003
6004 # Determine commands to create old-style static archives.
6005 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6006 old_postinstall_cmds='chmod 644 $oldlib'
6007 old_postuninstall_cmds=
6008
6009 if test -n "$RANLIB"; then
6010   case $host_os in
6011   bitrig* | openbsd*)
6012     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6013     ;;
6014   *)
6015     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6016     ;;
6017   esac
6018   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6019 fi
6020
6021 case $host_os in
6022   darwin*)
6023     lock_old_archive_extraction=yes ;;
6024   *)
6025     lock_old_archive_extraction=no ;;
6026 esac
6027
6028     
6029     
6030     
6031
6032
6033     
6034     
6035     
6036
6037
6038     
6039     
6040     
6041
6042
6043     
6044     
6045     
6046
6047
6048
6049
6050     
6051     
6052     
6053
6054     
6055     
6056     
6057
6058     
6059     
6060     
6061
6062     
6063     
6064     
6065
6066 # If no C compiler was specified, use CC.
6067 LTCC=${LTCC-"$CC"}
6068
6069 # If no C compiler flags were specified, use CFLAGS.
6070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6071
6072 # Allow CC to be a program name with arguments.
6073 compiler=$CC
6074
6075
6076 # Check for command to grab the raw symbol name followed by C symbol from nm.
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6079 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6080   $as_echo_n "(cached) " >&6
6081 else
6082   
6083 # These are sane defaults that work on at least a few old systems.
6084 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6085
6086 # Character class describing NM global symbol codes.
6087 symcode='[BCDEGRST]'
6088
6089 # Regexp to match symbols that can be accessed directly from C.
6090 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6091
6092 # Define system-specific variables.
6093 case $host_os in
6094 aix*)
6095   symcode='[BCDT]'
6096   ;;
6097 cygwin* | mingw* | pw32* | cegcc*)
6098   symcode='[ABCDGISTW]'
6099   ;;
6100 hpux*)
6101   if test ia64 = "$host_cpu"; then
6102     symcode='[ABCDEGRST]'
6103   fi
6104   ;;
6105 irix* | nonstopux*)
6106   symcode='[BCDEGRST]'
6107   ;;
6108 osf*)
6109   symcode='[BCDEGQRST]'
6110   ;;
6111 solaris*)
6112   symcode='[BDRT]'
6113   ;;
6114 sco3.2v5*)
6115   symcode='[DT]'
6116   ;;
6117 sysv4.2uw2*)
6118   symcode='[DT]'
6119   ;;
6120 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6121   symcode='[ABDT]'
6122   ;;
6123 sysv4)
6124   symcode='[DFNSTU]'
6125   ;;
6126 esac
6127
6128 # If we're using GNU nm, then use its standard symbol codes.
6129 case `$NM -V 2>&1` in
6130 *GNU* | *'with BFD'*)
6131   symcode='[ABCDGIRSTW]' ;;
6132 esac
6133
6134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6135   # Gets list of data symbols to import.
6136   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6137   # Adjust the below global symbol transforms to fixup imported variables.
6138   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6139   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6140   lt_c_name_lib_hook="\
6141   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6142   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6143 else
6144   # Disable hooks by default.
6145   lt_cv_sys_global_symbol_to_import=
6146   lt_cdecl_hook=
6147   lt_c_name_hook=
6148   lt_c_name_lib_hook=
6149 fi
6150
6151 # Transform an extracted symbol line into a proper C declaration.
6152 # Some systems (esp. on ia64) link data and code symbols differently,
6153 # so use this general approach.
6154 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6155 $lt_cdecl_hook\
6156 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6157 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6158
6159 # Transform an extracted symbol line into symbol name and symbol address
6160 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6161 $lt_c_name_hook\
6162 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6163 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6164
6165 # Transform an extracted symbol line into symbol name with lib prefix and
6166 # symbol address.
6167 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6168 $lt_c_name_lib_hook\
6169 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6170 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6171 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6172
6173 # Handle CRLF in mingw tool chain
6174 opt_cr=
6175 case $build_os in
6176 mingw*)
6177   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6178   ;;
6179 esac
6180
6181 # Try without a prefix underscore, then with it.
6182 for ac_symprfx in "" "_"; do
6183
6184   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6185   symxfrm="\\1 $ac_symprfx\\2 \\2"
6186
6187   # Write the raw and C identifiers.
6188   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6189     # Fake it for dumpbin and say T for any non-static function,
6190     # D for any global variable and I for any imported variable.
6191     # Also find C++ and __fastcall symbols from MSVC++,
6192     # which start with @ or ?.
6193     lt_cv_sys_global_symbol_pipe="$AWK '"\
6194 "     {last_section=section; section=\$ 3};"\
6195 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6196 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6197 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6198 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6199 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6200 "     \$ 0!~/External *\|/{next};"\
6201 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6202 "     {if(hide[section]) next};"\
6203 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6204 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6205 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6206 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6207 "     ' prfx=^$ac_symprfx"
6208   else
6209     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6210   fi
6211   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6212
6213   # Check to see that the pipe works correctly.
6214   pipe_works=no
6215
6216   rm -f conftest*
6217   cat > conftest.$ac_ext <<_LT_EOF
6218 #ifdef __cplusplus
6219 extern "C" {
6220 #endif
6221 char nm_test_var;
6222 void nm_test_func(void);
6223 void nm_test_func(void){}
6224 #ifdef __cplusplus
6225 }
6226 #endif
6227 int main(){nm_test_var='a';nm_test_func();return(0);}
6228 _LT_EOF
6229
6230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6231   (eval $ac_compile) 2>&5
6232   ac_status=$?
6233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6234   test $ac_status = 0; }; then
6235     # Now try to grab the symbols.
6236     nlist=conftest.nm
6237     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6238   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6239   ac_status=$?
6240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6241   test $ac_status = 0; } && test -s "$nlist"; then
6242       # Try sorting and uniquifying the output.
6243       if sort "$nlist" | uniq > "$nlist"T; then
6244         mv -f "$nlist"T "$nlist"
6245       else
6246         rm -f "$nlist"T
6247       fi
6248
6249       # Make sure that we snagged all the symbols we need.
6250       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6251         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6252           cat <<_LT_EOF > conftest.$ac_ext
6253 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6254 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6255 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6256    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6257 # define LT@&t@_DLSYM_CONST
6258 #elif defined __osf__
6259 /* This system does not cope well with relocations in const data.  */
6260 # define LT@&t@_DLSYM_CONST
6261 #else
6262 # define LT@&t@_DLSYM_CONST const
6263 #endif
6264
6265 #ifdef __cplusplus
6266 extern "C" {
6267 #endif
6268
6269 _LT_EOF
6270           # Now generate the symbol file.
6271           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6272
6273           cat <<_LT_EOF >> conftest.$ac_ext
6274
6275 /* The mapping between symbol names and symbols.  */
6276 LT@&t@_DLSYM_CONST struct {
6277   const char *name;
6278   void       *address;
6279 }
6280 lt__PROGRAM__LTX_preloaded_symbols[] =
6281 {
6282   { "@PROGRAM@", (void *) 0 },
6283 _LT_EOF
6284           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6285           cat <<\_LT_EOF >> conftest.$ac_ext
6286   {0, (void *) 0}
6287 };
6288
6289 /* This works around a problem in FreeBSD linker */
6290 #ifdef FREEBSD_WORKAROUND
6291 static const void *lt_preloaded_setup() {
6292   return lt__PROGRAM__LTX_preloaded_symbols;
6293 }
6294 #endif
6295
6296 #ifdef __cplusplus
6297 }
6298 #endif
6299 _LT_EOF
6300           # Now try linking the two files.
6301           mv conftest.$ac_objext conftstm.$ac_objext
6302           lt_globsym_save_LIBS=$LIBS
6303           lt_globsym_save_CFLAGS=$CFLAGS
6304           LIBS=conftstm.$ac_objext
6305           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6306           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6307   (eval $ac_link) 2>&5
6308   ac_status=$?
6309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310   test $ac_status = 0; } && test -s conftest$ac_exeext; then
6311             pipe_works=yes
6312           fi
6313           LIBS=$lt_globsym_save_LIBS
6314           CFLAGS=$lt_globsym_save_CFLAGS
6315         else
6316           echo "cannot find nm_test_func in $nlist" >&5
6317         fi
6318       else
6319         echo "cannot find nm_test_var in $nlist" >&5
6320       fi
6321     else
6322       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6323     fi
6324   else
6325     echo "$progname: failed program was:" >&5
6326     cat conftest.$ac_ext >&5
6327   fi
6328   rm -rf conftest* conftst*
6329
6330   # Do not use the global_symbol_pipe unless it works.
6331   if test yes = "$pipe_works"; then
6332     break
6333   else
6334     lt_cv_sys_global_symbol_pipe=
6335   fi
6336 done
6337
6338 fi
6339
6340 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6341   lt_cv_sys_global_symbol_to_cdecl=
6342 fi
6343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6345 $as_echo "failed" >&6; }
6346 else
6347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6348 $as_echo "ok" >&6; }
6349 fi
6350
6351 # Response file support.
6352 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6353   nm_file_list_spec='@'
6354 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6355   nm_file_list_spec='@'
6356 fi
6357
6358
6359     
6360     
6361     
6362
6363
6364     
6365     
6366     
6367
6368
6369     
6370     
6371     
6372
6373
6374     
6375     
6376     
6377
6378
6379     
6380     
6381     
6382
6383
6384     
6385     
6386     
6387
6388
6389     
6390     
6391     
6392
6393
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6395 $as_echo_n "checking for sysroot... " >&6; }
6396
6397 @%:@ Check whether --with-sysroot was given.
6398 if test "${with_sysroot+set}" = set; then :
6399   withval=$with_sysroot; 
6400 else
6401   with_sysroot=no
6402 fi
6403
6404
6405 lt_sysroot=
6406 case $with_sysroot in #(
6407  yes)
6408    if test yes = "$GCC"; then
6409      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6410    fi
6411    ;; #(
6412  /*)
6413    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6414    ;; #(
6415  no|'')
6416    ;; #(
6417  *)
6418    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6419 $as_echo "$with_sysroot" >&6; }
6420    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6421    ;;
6422 esac
6423
6424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6425 $as_echo "${lt_sysroot:-no}" >&6; }
6426
6427     
6428     
6429     
6430
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6432 $as_echo_n "checking for a working dd... " >&6; }
6433 if ${ac_cv_path_lt_DD+:} false; then :
6434   $as_echo_n "(cached) " >&6
6435 else
6436   printf 0123456789abcdef0123456789abcdef >conftest.i
6437 cat conftest.i conftest.i >conftest2.i
6438 : ${lt_DD:=$DD}
6439 if test -z "$lt_DD"; then
6440   ac_path_lt_DD_found=false
6441   # Loop through the user's path and test for each of PROGNAME-LIST
6442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445   IFS=$as_save_IFS
6446   test -z "$as_dir" && as_dir=.
6447     for ac_prog in dd; do
6448     for ac_exec_ext in '' $ac_executable_extensions; do
6449       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6450       as_fn_executable_p "$ac_path_lt_DD" || continue
6451 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6452   cmp -s conftest.i conftest.out \
6453   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6454 fi
6455       $ac_path_lt_DD_found && break 3
6456     done
6457   done
6458   done
6459 IFS=$as_save_IFS
6460   if test -z "$ac_cv_path_lt_DD"; then
6461     :
6462   fi
6463 else
6464   ac_cv_path_lt_DD=$lt_DD
6465 fi
6466
6467 rm -f conftest.i conftest2.i conftest.out
6468 fi
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6470 $as_echo "$ac_cv_path_lt_DD" >&6; }
6471
6472
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6474 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6475 if ${lt_cv_truncate_bin+:} false; then :
6476   $as_echo_n "(cached) " >&6
6477 else
6478   printf 0123456789abcdef0123456789abcdef >conftest.i
6479 cat conftest.i conftest.i >conftest2.i
6480 lt_cv_truncate_bin=
6481 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6482   cmp -s conftest.i conftest.out \
6483   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6484 fi
6485 rm -f conftest.i conftest2.i conftest.out
6486 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6487 fi
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6489 $as_echo "$lt_cv_truncate_bin" >&6; }
6490
6491     
6492     
6493     
6494
6495
6496
6497 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6498 func_cc_basename ()
6499 {
6500     for cc_temp in @S|@*""; do
6501       case $cc_temp in
6502         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6503         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6504         \-*) ;;
6505         *) break;;
6506       esac
6507     done
6508     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6509 }
6510
6511 @%:@ Check whether --enable-libtool-lock was given.
6512 if test "${enable_libtool_lock+set}" = set; then :
6513   enableval=$enable_libtool_lock; 
6514 fi
6515
6516 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6517
6518 # Some flags need to be propagated to the compiler or linker for good
6519 # libtool support.
6520 case $host in
6521 ia64-*-hpux*)
6522   # Find out what ABI is being produced by ac_compile, and set mode
6523   # options accordingly.
6524   echo 'int i;' > conftest.$ac_ext
6525   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526   (eval $ac_compile) 2>&5
6527   ac_status=$?
6528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529   test $ac_status = 0; }; then
6530     case `/usr/bin/file conftest.$ac_objext` in
6531       *ELF-32*)
6532         HPUX_IA64_MODE=32
6533         ;;
6534       *ELF-64*)
6535         HPUX_IA64_MODE=64
6536         ;;
6537     esac
6538   fi
6539   rm -rf conftest*
6540   ;;
6541 *-*-irix6*)
6542   # Find out what ABI is being produced by ac_compile, and set linker
6543   # options accordingly.
6544   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6545   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6546   (eval $ac_compile) 2>&5
6547   ac_status=$?
6548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549   test $ac_status = 0; }; then
6550     if test yes = "$lt_cv_prog_gnu_ld"; then
6551       case `/usr/bin/file conftest.$ac_objext` in
6552         *32-bit*)
6553           LD="${LD-ld} -melf32bsmip"
6554           ;;
6555         *N32*)
6556           LD="${LD-ld} -melf32bmipn32"
6557           ;;
6558         *64-bit*)
6559           LD="${LD-ld} -melf64bmip"
6560         ;;
6561       esac
6562     else
6563       case `/usr/bin/file conftest.$ac_objext` in
6564         *32-bit*)
6565           LD="${LD-ld} -32"
6566           ;;
6567         *N32*)
6568           LD="${LD-ld} -n32"
6569           ;;
6570         *64-bit*)
6571           LD="${LD-ld} -64"
6572           ;;
6573       esac
6574     fi
6575   fi
6576   rm -rf conftest*
6577   ;;
6578
6579 mips64*-*linux*)
6580   # Find out what ABI is being produced by ac_compile, and set linker
6581   # options accordingly.
6582   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6583   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6584   (eval $ac_compile) 2>&5
6585   ac_status=$?
6586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587   test $ac_status = 0; }; then
6588     emul=elf
6589     case `/usr/bin/file conftest.$ac_objext` in
6590       *32-bit*)
6591         emul="${emul}32"
6592         ;;
6593       *64-bit*)
6594         emul="${emul}64"
6595         ;;
6596     esac
6597     case `/usr/bin/file conftest.$ac_objext` in
6598       *MSB*)
6599         emul="${emul}btsmip"
6600         ;;
6601       *LSB*)
6602         emul="${emul}ltsmip"
6603         ;;
6604     esac
6605     case `/usr/bin/file conftest.$ac_objext` in
6606       *N32*)
6607         emul="${emul}n32"
6608         ;;
6609     esac
6610     LD="${LD-ld} -m $emul"
6611   fi
6612   rm -rf conftest*
6613   ;;
6614
6615 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6616 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6617   # Find out what ABI is being produced by ac_compile, and set linker
6618   # options accordingly.  Note that the listed cases only cover the
6619   # situations where additional linker options are needed (such as when
6620   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6621   # vice versa); the common cases where no linker options are needed do
6622   # not appear in the list.
6623   echo 'int i;' > conftest.$ac_ext
6624   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625   (eval $ac_compile) 2>&5
6626   ac_status=$?
6627   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628   test $ac_status = 0; }; then
6629     case `/usr/bin/file conftest.o` in
6630       *32-bit*)
6631         case $host in
6632           x86_64-*kfreebsd*-gnu)
6633             LD="${LD-ld} -m elf_i386_fbsd"
6634             ;;
6635           x86_64-*linux*)
6636             case `/usr/bin/file conftest.o` in
6637               *x86-64*)
6638                 LD="${LD-ld} -m elf32_x86_64"
6639                 ;;
6640               *)
6641                 LD="${LD-ld} -m elf_i386"
6642                 ;;
6643             esac
6644             ;;
6645           powerpc64le-*linux*)
6646             LD="${LD-ld} -m elf32lppclinux"
6647             ;;
6648           powerpc64-*linux*)
6649             LD="${LD-ld} -m elf32ppclinux"
6650             ;;
6651           s390x-*linux*)
6652             LD="${LD-ld} -m elf_s390"
6653             ;;
6654           sparc64-*linux*)
6655             LD="${LD-ld} -m elf32_sparc"
6656             ;;
6657         esac
6658         ;;
6659       *64-bit*)
6660         case $host in
6661           x86_64-*kfreebsd*-gnu)
6662             LD="${LD-ld} -m elf_x86_64_fbsd"
6663             ;;
6664           x86_64-*linux*)
6665             LD="${LD-ld} -m elf_x86_64"
6666             ;;
6667           powerpcle-*linux*)
6668             LD="${LD-ld} -m elf64lppc"
6669             ;;
6670           powerpc-*linux*)
6671             LD="${LD-ld} -m elf64ppc"
6672             ;;
6673           s390*-*linux*|s390*-*tpf*)
6674             LD="${LD-ld} -m elf64_s390"
6675             ;;
6676           sparc*-*linux*)
6677             LD="${LD-ld} -m elf64_sparc"
6678             ;;
6679         esac
6680         ;;
6681     esac
6682   fi
6683   rm -rf conftest*
6684   ;;
6685
6686 *-*-sco3.2v5*)
6687   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6688   SAVE_CFLAGS=$CFLAGS
6689   CFLAGS="$CFLAGS -belf"
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6691 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6692 if ${lt_cv_cc_needs_belf+:} false; then :
6693   $as_echo_n "(cached) " >&6
6694 else
6695   ac_ext=c
6696 ac_cpp='$CPP $CPPFLAGS'
6697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6700
6701      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h.  */
6703
6704 int
6705 main ()
6706 {
6707
6708   ;
6709   return 0;
6710 }
6711 _ACEOF
6712 if ac_fn_c_try_link "$LINENO"; then :
6713   lt_cv_cc_needs_belf=yes
6714 else
6715   lt_cv_cc_needs_belf=no
6716 fi
6717 rm -f core conftest.err conftest.$ac_objext \
6718     conftest$ac_exeext conftest.$ac_ext
6719      ac_ext=c
6720 ac_cpp='$CPP $CPPFLAGS'
6721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6724
6725 fi
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6727 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6728   if test yes != "$lt_cv_cc_needs_belf"; then
6729     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6730     CFLAGS=$SAVE_CFLAGS
6731   fi
6732   ;;
6733 *-*solaris*)
6734   # Find out what ABI is being produced by ac_compile, and set linker
6735   # options accordingly.
6736   echo 'int i;' > conftest.$ac_ext
6737   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738   (eval $ac_compile) 2>&5
6739   ac_status=$?
6740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741   test $ac_status = 0; }; then
6742     case `/usr/bin/file conftest.o` in
6743     *64-bit*)
6744       case $lt_cv_prog_gnu_ld in
6745       yes*)
6746         case $host in
6747         i?86-*-solaris*|x86_64-*-solaris*)
6748           LD="${LD-ld} -m elf_x86_64"
6749           ;;
6750         sparc*-*-solaris*)
6751           LD="${LD-ld} -m elf64_sparc"
6752           ;;
6753         esac
6754         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6755         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6756           LD=${LD-ld}_sol2
6757         fi
6758         ;;
6759       *)
6760         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6761           LD="${LD-ld} -64"
6762         fi
6763         ;;
6764       esac
6765       ;;
6766     esac
6767   fi
6768   rm -rf conftest*
6769   ;;
6770 esac
6771
6772 need_locks=$enable_libtool_lock
6773
6774 if test -n "$ac_tool_prefix"; then
6775   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}mt; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6780   $as_echo_n "(cached) " >&6
6781 else
6782   if test -n "$MANIFEST_TOOL"; then
6783   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6787 do
6788   IFS=$as_save_IFS
6789   test -z "$as_dir" && as_dir=.
6790     for ac_exec_ext in '' $ac_executable_extensions; do
6791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794     break 2
6795   fi
6796 done
6797   done
6798 IFS=$as_save_IFS
6799
6800 fi
6801 fi
6802 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6803 if test -n "$MANIFEST_TOOL"; then
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6805 $as_echo "$MANIFEST_TOOL" >&6; }
6806 else
6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6809 fi
6810
6811
6812 fi
6813 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6814   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6815   # Extract the first word of "mt", so it can be a program name with args.
6816 set dummy mt; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6820   $as_echo_n "(cached) " >&6
6821 else
6822   if test -n "$ac_ct_MANIFEST_TOOL"; then
6823   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6827 do
6828   IFS=$as_save_IFS
6829   test -z "$as_dir" && as_dir=.
6830     for ac_exec_ext in '' $ac_executable_extensions; do
6831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834     break 2
6835   fi
6836 done
6837   done
6838 IFS=$as_save_IFS
6839
6840 fi
6841 fi
6842 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6843 if test -n "$ac_ct_MANIFEST_TOOL"; then
6844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6845 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6846 else
6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6849 fi
6850
6851   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6852     MANIFEST_TOOL=":"
6853   else
6854     case $cross_compiling:$ac_tool_warned in
6855 yes:)
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6859 esac
6860     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6861   fi
6862 else
6863   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6864 fi
6865
6866 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6868 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6869 if ${lt_cv_path_mainfest_tool+:} false; then :
6870   $as_echo_n "(cached) " >&6
6871 else
6872   lt_cv_path_mainfest_tool=no
6873   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6874   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6875   cat conftest.err >&5
6876   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6877     lt_cv_path_mainfest_tool=yes
6878   fi
6879   rm -f conftest*
6880 fi
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6882 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6883 if test yes != "$lt_cv_path_mainfest_tool"; then
6884   MANIFEST_TOOL=:
6885 fi
6886
6887     
6888     
6889     
6890
6891
6892   case $host_os in
6893     rhapsody* | darwin*)
6894     if test -n "$ac_tool_prefix"; then
6895   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6900   $as_echo_n "(cached) " >&6
6901 else
6902   if test -n "$DSYMUTIL"; then
6903   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6904 else
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 for as_dir in $PATH
6907 do
6908   IFS=$as_save_IFS
6909   test -z "$as_dir" && as_dir=.
6910     for ac_exec_ext in '' $ac_executable_extensions; do
6911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914     break 2
6915   fi
6916 done
6917   done
6918 IFS=$as_save_IFS
6919
6920 fi
6921 fi
6922 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6923 if test -n "$DSYMUTIL"; then
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6925 $as_echo "$DSYMUTIL" >&6; }
6926 else
6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6929 fi
6930
6931
6932 fi
6933 if test -z "$ac_cv_prog_DSYMUTIL"; then
6934   ac_ct_DSYMUTIL=$DSYMUTIL
6935   # Extract the first word of "dsymutil", so it can be a program name with args.
6936 set dummy dsymutil; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6940   $as_echo_n "(cached) " >&6
6941 else
6942   if test -n "$ac_ct_DSYMUTIL"; then
6943   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6944 else
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 for as_dir in $PATH
6947 do
6948   IFS=$as_save_IFS
6949   test -z "$as_dir" && as_dir=.
6950     for ac_exec_ext in '' $ac_executable_extensions; do
6951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954     break 2
6955   fi
6956 done
6957   done
6958 IFS=$as_save_IFS
6959
6960 fi
6961 fi
6962 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6963 if test -n "$ac_ct_DSYMUTIL"; then
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6965 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6966 else
6967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6969 fi
6970
6971   if test "x$ac_ct_DSYMUTIL" = x; then
6972     DSYMUTIL=":"
6973   else
6974     case $cross_compiling:$ac_tool_warned in
6975 yes:)
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6979 esac
6980     DSYMUTIL=$ac_ct_DSYMUTIL
6981   fi
6982 else
6983   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6984 fi
6985
6986     if test -n "$ac_tool_prefix"; then
6987   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_NMEDIT+:} false; then :
6992   $as_echo_n "(cached) " >&6
6993 else
6994   if test -n "$NMEDIT"; then
6995   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6996 else
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 for as_dir in $PATH
6999 do
7000   IFS=$as_save_IFS
7001   test -z "$as_dir" && as_dir=.
7002     for ac_exec_ext in '' $ac_executable_extensions; do
7003   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006     break 2
7007   fi
7008 done
7009   done
7010 IFS=$as_save_IFS
7011
7012 fi
7013 fi
7014 NMEDIT=$ac_cv_prog_NMEDIT
7015 if test -n "$NMEDIT"; then
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7017 $as_echo "$NMEDIT" >&6; }
7018 else
7019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7021 fi
7022
7023
7024 fi
7025 if test -z "$ac_cv_prog_NMEDIT"; then
7026   ac_ct_NMEDIT=$NMEDIT
7027   # Extract the first word of "nmedit", so it can be a program name with args.
7028 set dummy nmedit; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7032   $as_echo_n "(cached) " >&6
7033 else
7034   if test -n "$ac_ct_NMEDIT"; then
7035   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7036 else
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 for as_dir in $PATH
7039 do
7040   IFS=$as_save_IFS
7041   test -z "$as_dir" && as_dir=.
7042     for ac_exec_ext in '' $ac_executable_extensions; do
7043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7046     break 2
7047   fi
7048 done
7049   done
7050 IFS=$as_save_IFS
7051
7052 fi
7053 fi
7054 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7055 if test -n "$ac_ct_NMEDIT"; then
7056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7057 $as_echo "$ac_ct_NMEDIT" >&6; }
7058 else
7059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7061 fi
7062
7063   if test "x$ac_ct_NMEDIT" = x; then
7064     NMEDIT=":"
7065   else
7066     case $cross_compiling:$ac_tool_warned in
7067 yes:)
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned=yes ;;
7071 esac
7072     NMEDIT=$ac_ct_NMEDIT
7073   fi
7074 else
7075   NMEDIT="$ac_cv_prog_NMEDIT"
7076 fi
7077
7078     if test -n "$ac_tool_prefix"; then
7079   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_LIPO+:} false; then :
7084   $as_echo_n "(cached) " >&6
7085 else
7086   if test -n "$LIPO"; then
7087   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7088 else
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7090 for as_dir in $PATH
7091 do
7092   IFS=$as_save_IFS
7093   test -z "$as_dir" && as_dir=.
7094     for ac_exec_ext in '' $ac_executable_extensions; do
7095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098     break 2
7099   fi
7100 done
7101   done
7102 IFS=$as_save_IFS
7103
7104 fi
7105 fi
7106 LIPO=$ac_cv_prog_LIPO
7107 if test -n "$LIPO"; then
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7109 $as_echo "$LIPO" >&6; }
7110 else
7111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7113 fi
7114
7115
7116 fi
7117 if test -z "$ac_cv_prog_LIPO"; then
7118   ac_ct_LIPO=$LIPO
7119   # Extract the first word of "lipo", so it can be a program name with args.
7120 set dummy lipo; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7124   $as_echo_n "(cached) " >&6
7125 else
7126   if test -n "$ac_ct_LIPO"; then
7127   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7128 else
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 for as_dir in $PATH
7131 do
7132   IFS=$as_save_IFS
7133   test -z "$as_dir" && as_dir=.
7134     for ac_exec_ext in '' $ac_executable_extensions; do
7135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7136     ac_cv_prog_ac_ct_LIPO="lipo"
7137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7138     break 2
7139   fi
7140 done
7141   done
7142 IFS=$as_save_IFS
7143
7144 fi
7145 fi
7146 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7147 if test -n "$ac_ct_LIPO"; then
7148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7149 $as_echo "$ac_ct_LIPO" >&6; }
7150 else
7151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7153 fi
7154
7155   if test "x$ac_ct_LIPO" = x; then
7156     LIPO=":"
7157   else
7158     case $cross_compiling:$ac_tool_warned in
7159 yes:)
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7163 esac
7164     LIPO=$ac_ct_LIPO
7165   fi
7166 else
7167   LIPO="$ac_cv_prog_LIPO"
7168 fi
7169
7170     if test -n "$ac_tool_prefix"; then
7171   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}otool; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_OTOOL+:} false; then :
7176   $as_echo_n "(cached) " >&6
7177 else
7178   if test -n "$OTOOL"; then
7179   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7183 do
7184   IFS=$as_save_IFS
7185   test -z "$as_dir" && as_dir=.
7186     for ac_exec_ext in '' $ac_executable_extensions; do
7187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190     break 2
7191   fi
7192 done
7193   done
7194 IFS=$as_save_IFS
7195
7196 fi
7197 fi
7198 OTOOL=$ac_cv_prog_OTOOL
7199 if test -n "$OTOOL"; then
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7201 $as_echo "$OTOOL" >&6; }
7202 else
7203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7205 fi
7206
7207
7208 fi
7209 if test -z "$ac_cv_prog_OTOOL"; then
7210   ac_ct_OTOOL=$OTOOL
7211   # Extract the first word of "otool", so it can be a program name with args.
7212 set dummy otool; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7216   $as_echo_n "(cached) " >&6
7217 else
7218   if test -n "$ac_ct_OTOOL"; then
7219   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7220 else
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 for as_dir in $PATH
7223 do
7224   IFS=$as_save_IFS
7225   test -z "$as_dir" && as_dir=.
7226     for ac_exec_ext in '' $ac_executable_extensions; do
7227   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7228     ac_cv_prog_ac_ct_OTOOL="otool"
7229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230     break 2
7231   fi
7232 done
7233   done
7234 IFS=$as_save_IFS
7235
7236 fi
7237 fi
7238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7239 if test -n "$ac_ct_OTOOL"; then
7240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7241 $as_echo "$ac_ct_OTOOL" >&6; }
7242 else
7243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7245 fi
7246
7247   if test "x$ac_ct_OTOOL" = x; then
7248     OTOOL=":"
7249   else
7250     case $cross_compiling:$ac_tool_warned in
7251 yes:)
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7255 esac
7256     OTOOL=$ac_ct_OTOOL
7257   fi
7258 else
7259   OTOOL="$ac_cv_prog_OTOOL"
7260 fi
7261
7262     if test -n "$ac_tool_prefix"; then
7263   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_OTOOL64+:} false; then :
7268   $as_echo_n "(cached) " >&6
7269 else
7270   if test -n "$OTOOL64"; then
7271   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7272 else
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 for as_dir in $PATH
7275 do
7276   IFS=$as_save_IFS
7277   test -z "$as_dir" && as_dir=.
7278     for ac_exec_ext in '' $ac_executable_extensions; do
7279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282     break 2
7283   fi
7284 done
7285   done
7286 IFS=$as_save_IFS
7287
7288 fi
7289 fi
7290 OTOOL64=$ac_cv_prog_OTOOL64
7291 if test -n "$OTOOL64"; then
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7293 $as_echo "$OTOOL64" >&6; }
7294 else
7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7297 fi
7298
7299
7300 fi
7301 if test -z "$ac_cv_prog_OTOOL64"; then
7302   ac_ct_OTOOL64=$OTOOL64
7303   # Extract the first word of "otool64", so it can be a program name with args.
7304 set dummy otool64; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7308   $as_echo_n "(cached) " >&6
7309 else
7310   if test -n "$ac_ct_OTOOL64"; then
7311   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7312 else
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 for as_dir in $PATH
7315 do
7316   IFS=$as_save_IFS
7317   test -z "$as_dir" && as_dir=.
7318     for ac_exec_ext in '' $ac_executable_extensions; do
7319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320     ac_cv_prog_ac_ct_OTOOL64="otool64"
7321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7322     break 2
7323   fi
7324 done
7325   done
7326 IFS=$as_save_IFS
7327
7328 fi
7329 fi
7330 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7331 if test -n "$ac_ct_OTOOL64"; then
7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7333 $as_echo "$ac_ct_OTOOL64" >&6; }
7334 else
7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7337 fi
7338
7339   if test "x$ac_ct_OTOOL64" = x; then
7340     OTOOL64=":"
7341   else
7342     case $cross_compiling:$ac_tool_warned in
7343 yes:)
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7346 ac_tool_warned=yes ;;
7347 esac
7348     OTOOL64=$ac_ct_OTOOL64
7349   fi
7350 else
7351   OTOOL64="$ac_cv_prog_OTOOL64"
7352 fi
7353
7354     
7355     
7356     
7357     
7358
7359     
7360     
7361     
7362     
7363
7364     
7365     
7366     
7367     
7368
7369     
7370     
7371     
7372     
7373
7374     
7375     
7376     
7377     
7378
7379
7380     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7381 $as_echo_n "checking for -single_module linker flag... " >&6; }
7382 if ${lt_cv_apple_cc_single_mod+:} false; then :
7383   $as_echo_n "(cached) " >&6
7384 else
7385   lt_cv_apple_cc_single_mod=no
7386       if test -z "$LT_MULTI_MODULE"; then
7387         # By default we will add the -single_module flag. You can override
7388         # by either setting the environment variable LT_MULTI_MODULE
7389         # non-empty at configure time, or by adding -multi_module to the
7390         # link flags.
7391         rm -rf libconftest.dylib*
7392         echo "int foo(void){return 1;}" > conftest.c
7393         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7394 -dynamiclib -Wl,-single_module conftest.c" >&5
7395         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7396           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7397         _lt_result=$?
7398         # If there is a non-empty error log, and "single_module"
7399         # appears in it, assume the flag caused a linker warning
7400         if test -s conftest.err && $GREP single_module conftest.err; then
7401           cat conftest.err >&5
7402         # Otherwise, if the output was created with a 0 exit code from
7403         # the compiler, it worked.
7404         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7405           lt_cv_apple_cc_single_mod=yes
7406         else
7407           cat conftest.err >&5
7408         fi
7409         rm -rf libconftest.dylib*
7410         rm -f conftest.*
7411       fi
7412 fi
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7414 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7415
7416     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7417 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7418 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7419   $as_echo_n "(cached) " >&6
7420 else
7421   lt_cv_ld_exported_symbols_list=no
7422       save_LDFLAGS=$LDFLAGS
7423       echo "_main" > conftest.sym
7424       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h.  */
7427
7428 int
7429 main ()
7430 {
7431
7432   ;
7433   return 0;
7434 }
7435 _ACEOF
7436 if ac_fn_c_try_link "$LINENO"; then :
7437   lt_cv_ld_exported_symbols_list=yes
7438 else
7439   lt_cv_ld_exported_symbols_list=no
7440 fi
7441 rm -f core conftest.err conftest.$ac_objext \
7442     conftest$ac_exeext conftest.$ac_ext
7443         LDFLAGS=$save_LDFLAGS
7444     
7445 fi
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7447 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7448
7449     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7450 $as_echo_n "checking for -force_load linker flag... " >&6; }
7451 if ${lt_cv_ld_force_load+:} false; then :
7452   $as_echo_n "(cached) " >&6
7453 else
7454   lt_cv_ld_force_load=no
7455       cat > conftest.c << _LT_EOF
7456 int forced_loaded() { return 2;}
7457 _LT_EOF
7458       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7459       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7460       echo "$AR cru libconftest.a conftest.o" >&5
7461       $AR cru libconftest.a conftest.o 2>&5
7462       echo "$RANLIB libconftest.a" >&5
7463       $RANLIB libconftest.a 2>&5
7464       cat > conftest.c << _LT_EOF
7465 int main() { return 0;}
7466 _LT_EOF
7467       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7468       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7469       _lt_result=$?
7470       if test -s conftest.err && $GREP force_load conftest.err; then
7471         cat conftest.err >&5
7472       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7473         lt_cv_ld_force_load=yes
7474       else
7475         cat conftest.err >&5
7476       fi
7477         rm -f conftest.err libconftest.a conftest conftest.c
7478         rm -rf conftest.dSYM
7479     
7480 fi
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7483     case $host_os in
7484     rhapsody* | darwin1.[012])
7485       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7486     darwin1.*)
7487       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7488     darwin*) # darwin 5.x on
7489       # if running on 10.5 or later, the deployment target defaults
7490       # to the OS version, if on x86, and 10.4, the deployment
7491       # target defaults to 10.4. Don't you love it?
7492       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7495         10.[012][,.]*)
7496           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7497         10.*)
7498           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7499       esac
7500     ;;
7501   esac
7502     if test yes = "$lt_cv_apple_cc_single_mod"; then
7503       _lt_dar_single_mod='$single_module'
7504     fi
7505     if test yes = "$lt_cv_ld_exported_symbols_list"; then
7506       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7507     else
7508       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7509     fi
7510     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7511       _lt_dsymutil='~$DSYMUTIL $lib || :'
7512     else
7513       _lt_dsymutil=
7514     fi
7515     ;;
7516   esac
7517
7518 # func_munge_path_list VARIABLE PATH
7519 # -----------------------------------
7520 # VARIABLE is name of variable containing _space_ separated list of
7521 # directories to be munged by the contents of PATH, which is string
7522 # having a format:
7523 # "DIR[:DIR]:"
7524 #       string "DIR[ DIR]" will be prepended to VARIABLE
7525 # ":DIR[:DIR]"
7526 #       string "DIR[ DIR]" will be appended to VARIABLE
7527 # "DIRP[:DIRP]::[DIRA:]DIRA"
7528 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7529 #       "DIRA[ DIRA]" will be appended to VARIABLE
7530 # "DIR[:DIR]"
7531 #       VARIABLE will be replaced by "DIR[ DIR]"
7532 func_munge_path_list ()
7533 {
7534     case x@S|@2 in
7535     x)
7536         ;;
7537     *:)
7538         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
7539         ;;
7540     x:*)
7541         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
7542         ;;
7543     *::*)
7544         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7545         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
7546         ;;
7547     *)
7548         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
7549         ;;
7550     esac
7551 }
7552
7553 ac_ext=c
7554 ac_cpp='$CPP $CPPFLAGS'
7555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7559 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7560 # On Suns, sometimes $CPP names a directory.
7561 if test -n "$CPP" && test -d "$CPP"; then
7562   CPP=
7563 fi
7564 if test -z "$CPP"; then
7565   if ${ac_cv_prog_CPP+:} false; then :
7566   $as_echo_n "(cached) " >&6
7567 else
7568       # Double quotes because CPP needs to be expanded
7569     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7570     do
7571       ac_preproc_ok=false
7572 for ac_c_preproc_warn_flag in '' yes
7573 do
7574   # Use a header file that comes with gcc, so configuring glibc
7575   # with a fresh cross-compiler works.
7576   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7577   # <limits.h> exists even on freestanding compilers.
7578   # On the NeXT, cc -E runs the code through the compiler's parser,
7579   # not just through cpp. "Syntax error" is here to catch this case.
7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h.  */
7582 @%:@ifdef __STDC__
7583 @%:@ include <limits.h>
7584 @%:@else
7585 @%:@ include <assert.h>
7586 @%:@endif
7587                      Syntax error
7588 _ACEOF
7589 if ac_fn_c_try_cpp "$LINENO"; then :
7590   
7591 else
7592   # Broken: fails on valid input.
7593 continue
7594 fi
7595 rm -f conftest.err conftest.i conftest.$ac_ext
7596
7597   # OK, works on sane cases.  Now check whether nonexistent headers
7598   # can be detected and how.
7599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h.  */
7601 @%:@include <ac_nonexistent.h>
7602 _ACEOF
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7604   # Broken: success on invalid input.
7605 continue
7606 else
7607   # Passes both tests.
7608 ac_preproc_ok=:
7609 break
7610 fi
7611 rm -f conftest.err conftest.i conftest.$ac_ext
7612
7613 done
7614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7615 rm -f conftest.i conftest.err conftest.$ac_ext
7616 if $ac_preproc_ok; then :
7617   break
7618 fi
7619
7620     done
7621     ac_cv_prog_CPP=$CPP
7622   
7623 fi
7624   CPP=$ac_cv_prog_CPP
7625 else
7626   ac_cv_prog_CPP=$CPP
7627 fi
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7629 $as_echo "$CPP" >&6; }
7630 ac_preproc_ok=false
7631 for ac_c_preproc_warn_flag in '' yes
7632 do
7633   # Use a header file that comes with gcc, so configuring glibc
7634   # with a fresh cross-compiler works.
7635   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7636   # <limits.h> exists even on freestanding compilers.
7637   # On the NeXT, cc -E runs the code through the compiler's parser,
7638   # not just through cpp. "Syntax error" is here to catch this case.
7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h.  */
7641 @%:@ifdef __STDC__
7642 @%:@ include <limits.h>
7643 @%:@else
7644 @%:@ include <assert.h>
7645 @%:@endif
7646                      Syntax error
7647 _ACEOF
7648 if ac_fn_c_try_cpp "$LINENO"; then :
7649   
7650 else
7651   # Broken: fails on valid input.
7652 continue
7653 fi
7654 rm -f conftest.err conftest.i conftest.$ac_ext
7655
7656   # OK, works on sane cases.  Now check whether nonexistent headers
7657   # can be detected and how.
7658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659 /* end confdefs.h.  */
7660 @%:@include <ac_nonexistent.h>
7661 _ACEOF
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7663   # Broken: success on invalid input.
7664 continue
7665 else
7666   # Passes both tests.
7667 ac_preproc_ok=:
7668 break
7669 fi
7670 rm -f conftest.err conftest.i conftest.$ac_ext
7671
7672 done
7673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7674 rm -f conftest.i conftest.err conftest.$ac_ext
7675 if $ac_preproc_ok; then :
7676   
7677 else
7678   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7680 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7681 See \`config.log' for more details" "$LINENO" 5; }
7682 fi
7683
7684 ac_ext=c
7685 ac_cpp='$CPP $CPPFLAGS'
7686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7689
7690
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7692 $as_echo_n "checking for ANSI C header files... " >&6; }
7693 if ${ac_cv_header_stdc+:} false; then :
7694   $as_echo_n "(cached) " >&6
7695 else
7696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h.  */
7698 #include <stdlib.h>
7699 #include <stdarg.h>
7700 #include <string.h>
7701 #include <float.h>
7702
7703 int
7704 main ()
7705 {
7706
7707   ;
7708   return 0;
7709 }
7710 _ACEOF
7711 if ac_fn_c_try_compile "$LINENO"; then :
7712   ac_cv_header_stdc=yes
7713 else
7714   ac_cv_header_stdc=no
7715 fi
7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7717
7718 if test $ac_cv_header_stdc = yes; then
7719   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h.  */
7722 #include <string.h>
7723
7724 _ACEOF
7725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7726   $EGREP "memchr" >/dev/null 2>&1; then :
7727   
7728 else
7729   ac_cv_header_stdc=no
7730 fi
7731 rm -f conftest*
7732
7733 fi
7734
7735 if test $ac_cv_header_stdc = yes; then
7736   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h.  */
7739 #include <stdlib.h>
7740
7741 _ACEOF
7742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7743   $EGREP "free" >/dev/null 2>&1; then :
7744   
7745 else
7746   ac_cv_header_stdc=no
7747 fi
7748 rm -f conftest*
7749
7750 fi
7751
7752 if test $ac_cv_header_stdc = yes; then
7753   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7754   if test "$cross_compiling" = yes; then :
7755   :
7756 else
7757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h.  */
7759 #include <ctype.h>
7760 #include <stdlib.h>
7761 #if ((' ' & 0x0FF) == 0x020)
7762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7764 #else
7765 # define ISLOWER(c) \
7766                    (('a' <= (c) && (c) <= 'i') \
7767                      || ('j' <= (c) && (c) <= 'r') \
7768                      || ('s' <= (c) && (c) <= 'z'))
7769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7770 #endif
7771
7772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7773 int
7774 main ()
7775 {
7776   int i;
7777   for (i = 0; i < 256; i++)
7778     if (XOR (islower (i), ISLOWER (i))
7779         || toupper (i) != TOUPPER (i))
7780       return 2;
7781   return 0;
7782 }
7783 _ACEOF
7784 if ac_fn_c_try_run "$LINENO"; then :
7785   
7786 else
7787   ac_cv_header_stdc=no
7788 fi
7789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7790   conftest.$ac_objext conftest.beam conftest.$ac_ext
7791 fi
7792
7793 fi
7794 fi
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7796 $as_echo "$ac_cv_header_stdc" >&6; }
7797 if test $ac_cv_header_stdc = yes; then
7798   
7799 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7800
7801 fi
7802
7803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7804 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7805                   inttypes.h stdint.h unistd.h
7806 do :
7807   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7809 "
7810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7811   cat >>confdefs.h <<_ACEOF
7812 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7813 _ACEOF
7814  
7815 fi
7816
7817 done
7818
7819
7820 for ac_header in dlfcn.h
7821 do :
7822   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7823 "
7824 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7825   cat >>confdefs.h <<_ACEOF
7826 @%:@define HAVE_DLFCN_H 1
7827 _ACEOF
7828  
7829 fi
7830
7831 done
7832
7833
7834
7835
7836
7837 # Set options
7838
7839
7840
7841         enable_dlopen=no
7842   
7843
7844   enable_win32_dll=no
7845   
7846
7847             @%:@ Check whether --enable-shared was given.
7848 if test "${enable_shared+set}" = set; then :
7849   enableval=$enable_shared; p=${PACKAGE-default}
7850     case $enableval in
7851     yes) enable_shared=yes ;;
7852     no) enable_shared=no ;;
7853     *)
7854       enable_shared=no
7855       # Look at the argument we got.  We use all the common list separators.
7856       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7857       for pkg in $enableval; do
7858         IFS=$lt_save_ifs
7859         if test "X$pkg" = "X$p"; then
7860           enable_shared=yes
7861         fi
7862       done
7863       IFS=$lt_save_ifs
7864       ;;
7865     esac
7866 else
7867   enable_shared=yes
7868 fi
7869
7870
7871     
7872     
7873     
7874     
7875
7876
7877
7878   @%:@ Check whether --enable-static was given.
7879 if test "${enable_static+set}" = set; then :
7880   enableval=$enable_static; p=${PACKAGE-default}
7881     case $enableval in
7882     yes) enable_static=yes ;;
7883     no) enable_static=no ;;
7884     *)
7885      enable_static=no
7886       # Look at the argument we got.  We use all the common list separators.
7887       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7888       for pkg in $enableval; do
7889         IFS=$lt_save_ifs
7890         if test "X$pkg" = "X$p"; then
7891           enable_static=yes
7892         fi
7893       done
7894       IFS=$lt_save_ifs
7895       ;;
7896     esac
7897 else
7898   enable_static=yes
7899 fi
7900
7901
7902     
7903     
7904     
7905     
7906
7907
7908
7909   
7910 @%:@ Check whether --with-pic was given.
7911 if test "${with_pic+set}" = set; then :
7912   withval=$with_pic; lt_p=${PACKAGE-default}
7913     case $withval in
7914     yes|no) pic_mode=$withval ;;
7915     *)
7916       pic_mode=default
7917       # Look at the argument we got.  We use all the common list separators.
7918       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7919       for lt_pkg in $withval; do
7920         IFS=$lt_save_ifs
7921         if test "X$lt_pkg" = "X$lt_p"; then
7922           pic_mode=yes
7923         fi
7924       done
7925       IFS=$lt_save_ifs
7926       ;;
7927     esac
7928 else
7929   pic_mode=default
7930 fi
7931
7932
7933
7934     
7935     
7936     
7937
7938
7939   @%:@ Check whether --enable-fast-install was given.
7940 if test "${enable_fast_install+set}" = set; then :
7941   enableval=$enable_fast_install; p=${PACKAGE-default}
7942     case $enableval in
7943     yes) enable_fast_install=yes ;;
7944     no) enable_fast_install=no ;;
7945     *)
7946       enable_fast_install=no
7947       # Look at the argument we got.  We use all the common list separators.
7948       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7949       for pkg in $enableval; do
7950         IFS=$lt_save_ifs
7951         if test "X$pkg" = "X$p"; then
7952           enable_fast_install=yes
7953         fi
7954       done
7955       IFS=$lt_save_ifs
7956       ;;
7957     esac
7958 else
7959   enable_fast_install=yes
7960 fi
7961
7962
7963
7964     
7965     
7966     
7967
7968
7969   shared_archive_member_spec=
7970 case $host,$enable_shared in
7971 power*-*-aix[5-9]*,yes)
7972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7973 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7974   
7975 @%:@ Check whether --with-aix-soname was given.
7976 if test "${with_aix_soname+set}" = set; then :
7977   withval=$with_aix_soname; case $withval in
7978     aix|svr4|both)
7979       ;;
7980     *)
7981       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7982       ;;
7983     esac
7984     lt_cv_with_aix_soname=$with_aix_soname
7985 else
7986   if ${lt_cv_with_aix_soname+:} false; then :
7987   $as_echo_n "(cached) " >&6
7988 else
7989   lt_cv_with_aix_soname=aix
7990 fi
7991
7992     with_aix_soname=$lt_cv_with_aix_soname
7993 fi
7994
7995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7996 $as_echo "$with_aix_soname" >&6; }
7997   if test aix != "$with_aix_soname"; then
7998     # For the AIX way of multilib, we name the shared archive member
7999     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8000     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8001     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8002     # the AIX toolchain works better with OBJECT_MODE set (default 32).
8003     if test 64 = "${OBJECT_MODE-32}"; then
8004       shared_archive_member_spec=shr_64
8005     else
8006       shared_archive_member_spec=shr
8007     fi
8008   fi
8009   ;;
8010 *)
8011   with_aix_soname=aix
8012   ;;
8013 esac
8014
8015
8016     
8017     
8018     
8019
8020
8021   
8022
8023
8024 # This can be used to rebuild libtool when needed
8025 LIBTOOL_DEPS=$ltmain
8026
8027 # Always use our own libtool.
8028 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8029
8030
8031
8032     
8033     
8034     
8035
8036     
8037     
8038     
8039
8040     
8041     
8042     
8043
8044     
8045     
8046     
8047
8048     
8049     
8050     
8051
8052     
8053     
8054     
8055
8056     
8057     
8058     
8059 test -z "$LN_S" && LN_S="ln -s"
8060
8061     
8062     
8063     
8064
8065     
8066     
8067     
8068
8069     
8070     
8071     
8072
8073
8074 if test -n "${ZSH_VERSION+set}"; then
8075    setopt NO_GLOB_SUBST
8076 fi
8077
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8079 $as_echo_n "checking for objdir... " >&6; }
8080 if ${lt_cv_objdir+:} false; then :
8081   $as_echo_n "(cached) " >&6
8082 else
8083   rm -f .libs 2>/dev/null
8084 mkdir .libs 2>/dev/null
8085 if test -d .libs; then
8086   lt_cv_objdir=.libs
8087 else
8088   # MS-DOS does not allow filenames that begin with a dot.
8089   lt_cv_objdir=_libs
8090 fi
8091 rmdir .libs 2>/dev/null
8092 fi
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8094 $as_echo "$lt_cv_objdir" >&6; }
8095 objdir=$lt_cv_objdir
8096
8097     
8098     
8099     
8100
8101 cat >>confdefs.h <<_ACEOF
8102 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8103 _ACEOF
8104
8105
8106
8107
8108 case $host_os in
8109 aix3*)
8110   # AIX sometimes has problems with the GCC collect2 program.  For some
8111   # reason, if we set the COLLECT_NAMES environment variable, the problems
8112   # vanish in a puff of smoke.
8113   if test set != "${COLLECT_NAMES+set}"; then
8114     COLLECT_NAMES=
8115     export COLLECT_NAMES
8116   fi
8117   ;;
8118 esac
8119
8120 # Global variables:
8121 ofile=libtool
8122 can_build_shared=yes
8123
8124 # All known linkers require a '.a' archive for static linking (except MSVC,
8125 # which needs '.lib').
8126 libext=a
8127
8128 with_gnu_ld=$lt_cv_prog_gnu_ld
8129
8130 old_CC=$CC
8131 old_CFLAGS=$CFLAGS
8132
8133 # Set sane defaults for various variables
8134 test -z "$CC" && CC=cc
8135 test -z "$LTCC" && LTCC=$CC
8136 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8137 test -z "$LD" && LD=ld
8138 test -z "$ac_objext" && ac_objext=o
8139
8140 func_cc_basename $compiler
8141 cc_basename=$func_cc_basename_result
8142
8143
8144 # Only perform the check for file, if the check method requires it
8145 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8146 case $deplibs_check_method in
8147 file_magic*)
8148   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8150 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8151 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8152   $as_echo_n "(cached) " >&6
8153 else
8154   case $MAGIC_CMD in
8155 [\\/*] |  ?:[\\/]*)
8156   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8157   ;;
8158 *)
8159   lt_save_MAGIC_CMD=$MAGIC_CMD
8160   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8161   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8162   for ac_dir in $ac_dummy; do
8163     IFS=$lt_save_ifs
8164     test -z "$ac_dir" && ac_dir=.
8165     if test -f "$ac_dir/${ac_tool_prefix}file"; then
8166       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8167       if test -n "$file_magic_test_file"; then
8168         case $deplibs_check_method in
8169         "file_magic "*)
8170           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8171           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8172           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8173             $EGREP "$file_magic_regex" > /dev/null; then
8174             :
8175           else
8176             cat <<_LT_EOF 1>&2
8177
8178 *** Warning: the command libtool uses to detect shared libraries,
8179 *** $file_magic_cmd, produces output that libtool cannot recognize.
8180 *** The result is that libtool may fail to recognize shared libraries
8181 *** as such.  This will affect the creation of libtool libraries that
8182 *** depend on shared libraries, but programs linked with such libtool
8183 *** libraries will work regardless of this problem.  Nevertheless, you
8184 *** may want to report the problem to your system manager and/or to
8185 *** bug-libtool@gnu.org
8186
8187 _LT_EOF
8188           fi ;;
8189         esac
8190       fi
8191       break
8192     fi
8193   done
8194   IFS=$lt_save_ifs
8195   MAGIC_CMD=$lt_save_MAGIC_CMD
8196   ;;
8197 esac
8198 fi
8199
8200 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8201 if test -n "$MAGIC_CMD"; then
8202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8203 $as_echo "$MAGIC_CMD" >&6; }
8204 else
8205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8207 fi
8208
8209     
8210     
8211     
8212
8213 if test -z "$lt_cv_path_MAGIC_CMD"; then
8214   if test -n "$ac_tool_prefix"; then
8215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8216 $as_echo_n "checking for file... " >&6; }
8217 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8218   $as_echo_n "(cached) " >&6
8219 else
8220   case $MAGIC_CMD in
8221 [\\/*] |  ?:[\\/]*)
8222   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8223   ;;
8224 *)
8225   lt_save_MAGIC_CMD=$MAGIC_CMD
8226   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8227   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8228   for ac_dir in $ac_dummy; do
8229     IFS=$lt_save_ifs
8230     test -z "$ac_dir" && ac_dir=.
8231     if test -f "$ac_dir/file"; then
8232       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8233       if test -n "$file_magic_test_file"; then
8234         case $deplibs_check_method in
8235         "file_magic "*)
8236           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8237           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8238           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8239             $EGREP "$file_magic_regex" > /dev/null; then
8240             :
8241           else
8242             cat <<_LT_EOF 1>&2
8243
8244 *** Warning: the command libtool uses to detect shared libraries,
8245 *** $file_magic_cmd, produces output that libtool cannot recognize.
8246 *** The result is that libtool may fail to recognize shared libraries
8247 *** as such.  This will affect the creation of libtool libraries that
8248 *** depend on shared libraries, but programs linked with such libtool
8249 *** libraries will work regardless of this problem.  Nevertheless, you
8250 *** may want to report the problem to your system manager and/or to
8251 *** bug-libtool@gnu.org
8252
8253 _LT_EOF
8254           fi ;;
8255         esac
8256       fi
8257       break
8258     fi
8259   done
8260   IFS=$lt_save_ifs
8261   MAGIC_CMD=$lt_save_MAGIC_CMD
8262   ;;
8263 esac
8264 fi
8265
8266 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8267 if test -n "$MAGIC_CMD"; then
8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8269 $as_echo "$MAGIC_CMD" >&6; }
8270 else
8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 fi
8274
8275
8276   else
8277     MAGIC_CMD=:
8278   fi
8279 fi
8280
8281   fi
8282   ;;
8283 esac
8284
8285 # Use C for the default configuration in the libtool script
8286
8287 lt_save_CC=$CC
8288 ac_ext=c
8289 ac_cpp='$CPP $CPPFLAGS'
8290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8293
8294
8295 # Source file extension for C test sources.
8296 ac_ext=c
8297
8298 # Object file extension for compiled C test sources.
8299 objext=o
8300 objext=$objext
8301
8302 # Code to be used in simple compile tests
8303 lt_simple_compile_test_code="int some_variable = 0;"
8304
8305 # Code to be used in simple link tests
8306 lt_simple_link_test_code='int main(){return(0);}'
8307
8308
8309
8310
8311
8312
8313
8314 # If no C compiler was specified, use CC.
8315 LTCC=${LTCC-"$CC"}
8316
8317 # If no C compiler flags were specified, use CFLAGS.
8318 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8319
8320 # Allow CC to be a program name with arguments.
8321 compiler=$CC
8322
8323 # Save the default compiler, since it gets overwritten when the other
8324 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8325 compiler_DEFAULT=$CC
8326
8327 # save warnings/boilerplate of simple test code
8328 ac_outfile=conftest.$ac_objext
8329 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8330 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8331 _lt_compiler_boilerplate=`cat conftest.err`
8332 $RM conftest*
8333
8334 ac_outfile=conftest.$ac_objext
8335 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8336 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8337 _lt_linker_boilerplate=`cat conftest.err`
8338 $RM -r conftest*
8339
8340
8341 ## CAVEAT EMPTOR:
8342 ## There is no encapsulation within the following macros, do not change
8343 ## the running order or otherwise move them around unless you know exactly
8344 ## what you are doing...
8345 if test -n "$compiler"; then
8346   
8347 lt_prog_compiler_no_builtin_flag=
8348
8349 if test yes = "$GCC"; then
8350   case $cc_basename in
8351   nvcc*)
8352     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8353   *)
8354     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8355   esac
8356
8357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8358 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8359 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8360   $as_echo_n "(cached) " >&6
8361 else
8362   lt_cv_prog_compiler_rtti_exceptions=no
8363    ac_outfile=conftest.$ac_objext
8364    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8365    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8366    # Insert the option either (1) after the last *FLAGS variable, or
8367    # (2) before a word containing "conftest.", or (3) at the end.
8368    # Note that $ac_compile itself does not contain backslashes and begins
8369    # with a dollar sign (not a hyphen), so the echo should work correctly.
8370    # The option is referenced via a variable to avoid confusing sed.
8371    lt_compile=`echo "$ac_compile" | $SED \
8372    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8373    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8374    -e 's:$: $lt_compiler_flag:'`
8375    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8376    (eval "$lt_compile" 2>conftest.err)
8377    ac_status=$?
8378    cat conftest.err >&5
8379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380    if (exit $ac_status) && test -s "$ac_outfile"; then
8381      # The compiler can only warn and ignore the option if not recognized
8382      # So say no if there are warnings other than the usual output.
8383      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8384      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8385      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8386        lt_cv_prog_compiler_rtti_exceptions=yes
8387      fi
8388    fi
8389    $RM conftest*
8390
8391 fi
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8393 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8394
8395 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8396     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8397 else
8398     :
8399 fi
8400
8401 fi
8402
8403     
8404     
8405     
8406
8407
8408   lt_prog_compiler_wl=
8409 lt_prog_compiler_pic=
8410 lt_prog_compiler_static=
8411
8412
8413   if test yes = "$GCC"; then
8414     lt_prog_compiler_wl='-Wl,'
8415     lt_prog_compiler_static='-static'
8416
8417     case $host_os in
8418       aix*)
8419       # All AIX code is PIC.
8420       if test ia64 = "$host_cpu"; then
8421         # AIX 5 now supports IA64 processor
8422         lt_prog_compiler_static='-Bstatic'
8423       fi
8424       lt_prog_compiler_pic='-fPIC'
8425       ;;
8426
8427     amigaos*)
8428       case $host_cpu in
8429       powerpc)
8430             # see comment about AmigaOS4 .so support
8431             lt_prog_compiler_pic='-fPIC'
8432         ;;
8433       m68k)
8434             # FIXME: we need at least 68020 code to build shared libraries, but
8435             # adding the '-m68020' flag to GCC prevents building anything better,
8436             # like '-m68040'.
8437             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8438         ;;
8439       esac
8440       ;;
8441
8442     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8443       # PIC is the default for these OSes.
8444       ;;
8445
8446     mingw* | cygwin* | pw32* | os2* | cegcc*)
8447       # This hack is so that the source file can tell whether it is being
8448       # built for inclusion in a dll (and should export symbols for example).
8449       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8450       # (--disable-auto-import) libraries
8451       lt_prog_compiler_pic='-DDLL_EXPORT'
8452       case $host_os in
8453       os2*)
8454         lt_prog_compiler_static='$wl-static'
8455         ;;
8456       esac
8457       ;;
8458
8459     darwin* | rhapsody*)
8460       # PIC is the default on this platform
8461       # Common symbols not allowed in MH_DYLIB files
8462       lt_prog_compiler_pic='-fno-common'
8463       ;;
8464
8465     haiku*)
8466       # PIC is the default for Haiku.
8467       # The "-static" flag exists, but is broken.
8468       lt_prog_compiler_static=
8469       ;;
8470
8471     hpux*)
8472       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8473       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8474       # sets the default TLS model and affects inlining.
8475       case $host_cpu in
8476       hppa*64*)
8477         # +Z the default
8478         ;;
8479       *)
8480         lt_prog_compiler_pic='-fPIC'
8481         ;;
8482       esac
8483       ;;
8484
8485     interix[3-9]*)
8486       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8487       # Instead, we relocate shared libraries at runtime.
8488       ;;
8489
8490     msdosdjgpp*)
8491       # Just because we use GCC doesn't mean we suddenly get shared libraries
8492       # on systems that don't support them.
8493       lt_prog_compiler_can_build_shared=no
8494       enable_shared=no
8495       ;;
8496
8497     *nto* | *qnx*)
8498       # QNX uses GNU C++, but need to define -shared option too, otherwise
8499       # it will coredump.
8500       lt_prog_compiler_pic='-fPIC -shared'
8501       ;;
8502
8503     sysv4*MP*)
8504       if test -d /usr/nec; then
8505         lt_prog_compiler_pic=-Kconform_pic
8506       fi
8507       ;;
8508
8509     *)
8510       lt_prog_compiler_pic='-fPIC'
8511       ;;
8512     esac
8513
8514     case $cc_basename in
8515     nvcc*) # Cuda Compiler Driver 2.2
8516       lt_prog_compiler_wl='-Xlinker '
8517       if test -n "$lt_prog_compiler_pic"; then
8518         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8519       fi
8520       ;;
8521     esac
8522   else
8523     # PORTME Check for flag to pass linker flags through the system compiler.
8524     case $host_os in
8525     aix*)
8526       lt_prog_compiler_wl='-Wl,'
8527       if test ia64 = "$host_cpu"; then
8528         # AIX 5 now supports IA64 processor
8529         lt_prog_compiler_static='-Bstatic'
8530       else
8531         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8532       fi
8533       ;;
8534
8535     darwin* | rhapsody*)
8536       # PIC is the default on this platform
8537       # Common symbols not allowed in MH_DYLIB files
8538       lt_prog_compiler_pic='-fno-common'
8539       case $cc_basename in
8540       nagfor*)
8541         # NAG Fortran compiler
8542         lt_prog_compiler_wl='-Wl,-Wl,,'
8543         lt_prog_compiler_pic='-PIC'
8544         lt_prog_compiler_static='-Bstatic'
8545         ;;
8546       esac
8547       ;;
8548
8549     mingw* | cygwin* | pw32* | os2* | cegcc*)
8550       # This hack is so that the source file can tell whether it is being
8551       # built for inclusion in a dll (and should export symbols for example).
8552       lt_prog_compiler_pic='-DDLL_EXPORT'
8553       case $host_os in
8554       os2*)
8555         lt_prog_compiler_static='$wl-static'
8556         ;;
8557       esac
8558       ;;
8559
8560     hpux9* | hpux10* | hpux11*)
8561       lt_prog_compiler_wl='-Wl,'
8562       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8563       # not for PA HP-UX.
8564       case $host_cpu in
8565       hppa*64*|ia64*)
8566         # +Z the default
8567         ;;
8568       *)
8569         lt_prog_compiler_pic='+Z'
8570         ;;
8571       esac
8572       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8573       lt_prog_compiler_static='$wl-a ${wl}archive'
8574       ;;
8575
8576     irix5* | irix6* | nonstopux*)
8577       lt_prog_compiler_wl='-Wl,'
8578       # PIC (with -KPIC) is the default.
8579       lt_prog_compiler_static='-non_shared'
8580       ;;
8581
8582     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8583       case $cc_basename in
8584       # old Intel for x86_64, which still supported -KPIC.
8585       ecc*)
8586         lt_prog_compiler_wl='-Wl,'
8587         lt_prog_compiler_pic='-KPIC'
8588         lt_prog_compiler_static='-static'
8589         ;;
8590       # icc used to be incompatible with GCC.
8591       # ICC 10 doesn't accept -KPIC any more.
8592       icc* | ifort*)
8593         lt_prog_compiler_wl='-Wl,'
8594         lt_prog_compiler_pic='-fPIC'
8595         lt_prog_compiler_static='-static'
8596         ;;
8597       # Lahey Fortran 8.1.
8598       lf95*)
8599         lt_prog_compiler_wl='-Wl,'
8600         lt_prog_compiler_pic='--shared'
8601         lt_prog_compiler_static='--static'
8602         ;;
8603       nagfor*)
8604         # NAG Fortran compiler
8605         lt_prog_compiler_wl='-Wl,-Wl,,'
8606         lt_prog_compiler_pic='-PIC'
8607         lt_prog_compiler_static='-Bstatic'
8608         ;;
8609       tcc*)
8610         # Fabrice Bellard et al's Tiny C Compiler
8611         lt_prog_compiler_wl='-Wl,'
8612         lt_prog_compiler_pic='-fPIC'
8613         lt_prog_compiler_static='-static'
8614         ;;
8615       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616         # Portland Group compilers (*not* the Pentium gcc compiler,
8617         # which looks to be a dead project)
8618         lt_prog_compiler_wl='-Wl,'
8619         lt_prog_compiler_pic='-fpic'
8620         lt_prog_compiler_static='-Bstatic'
8621         ;;
8622       ccc*)
8623         lt_prog_compiler_wl='-Wl,'
8624         # All Alpha code is PIC.
8625         lt_prog_compiler_static='-non_shared'
8626         ;;
8627       xl* | bgxl* | bgf* | mpixl*)
8628         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629         lt_prog_compiler_wl='-Wl,'
8630         lt_prog_compiler_pic='-qpic'
8631         lt_prog_compiler_static='-qstaticlink'
8632         ;;
8633       *)
8634         case `$CC -V 2>&1 | sed 5q` in
8635         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8636           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637           lt_prog_compiler_pic='-KPIC'
8638           lt_prog_compiler_static='-Bstatic'
8639           lt_prog_compiler_wl=''
8640           ;;
8641         *Sun\ F* | *Sun*Fortran*)
8642           lt_prog_compiler_pic='-KPIC'
8643           lt_prog_compiler_static='-Bstatic'
8644           lt_prog_compiler_wl='-Qoption ld '
8645           ;;
8646         *Sun\ C*)
8647           # Sun C 5.9
8648           lt_prog_compiler_pic='-KPIC'
8649           lt_prog_compiler_static='-Bstatic'
8650           lt_prog_compiler_wl='-Wl,'
8651           ;;
8652         *Intel*\ [CF]*Compiler*)
8653           lt_prog_compiler_wl='-Wl,'
8654           lt_prog_compiler_pic='-fPIC'
8655           lt_prog_compiler_static='-static'
8656           ;;
8657         *Portland\ Group*)
8658           lt_prog_compiler_wl='-Wl,'
8659           lt_prog_compiler_pic='-fpic'
8660           lt_prog_compiler_static='-Bstatic'
8661           ;;
8662         esac
8663         ;;
8664       esac
8665       ;;
8666
8667     newsos6)
8668       lt_prog_compiler_pic='-KPIC'
8669       lt_prog_compiler_static='-Bstatic'
8670       ;;
8671
8672     *nto* | *qnx*)
8673       # QNX uses GNU C++, but need to define -shared option too, otherwise
8674       # it will coredump.
8675       lt_prog_compiler_pic='-fPIC -shared'
8676       ;;
8677
8678     osf3* | osf4* | osf5*)
8679       lt_prog_compiler_wl='-Wl,'
8680       # All OSF/1 code is PIC.
8681       lt_prog_compiler_static='-non_shared'
8682       ;;
8683
8684     rdos*)
8685       lt_prog_compiler_static='-non_shared'
8686       ;;
8687
8688     solaris*)
8689       lt_prog_compiler_pic='-KPIC'
8690       lt_prog_compiler_static='-Bstatic'
8691       case $cc_basename in
8692       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8693         lt_prog_compiler_wl='-Qoption ld ';;
8694       *)
8695         lt_prog_compiler_wl='-Wl,';;
8696       esac
8697       ;;
8698
8699     sunos4*)
8700       lt_prog_compiler_wl='-Qoption ld '
8701       lt_prog_compiler_pic='-PIC'
8702       lt_prog_compiler_static='-Bstatic'
8703       ;;
8704
8705     sysv4 | sysv4.2uw2* | sysv4.3*)
8706       lt_prog_compiler_wl='-Wl,'
8707       lt_prog_compiler_pic='-KPIC'
8708       lt_prog_compiler_static='-Bstatic'
8709       ;;
8710
8711     sysv4*MP*)
8712       if test -d /usr/nec; then
8713         lt_prog_compiler_pic='-Kconform_pic'
8714         lt_prog_compiler_static='-Bstatic'
8715       fi
8716       ;;
8717
8718     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8719       lt_prog_compiler_wl='-Wl,'
8720       lt_prog_compiler_pic='-KPIC'
8721       lt_prog_compiler_static='-Bstatic'
8722       ;;
8723
8724     unicos*)
8725       lt_prog_compiler_wl='-Wl,'
8726       lt_prog_compiler_can_build_shared=no
8727       ;;
8728
8729     uts4*)
8730       lt_prog_compiler_pic='-pic'
8731       lt_prog_compiler_static='-Bstatic'
8732       ;;
8733
8734     *)
8735       lt_prog_compiler_can_build_shared=no
8736       ;;
8737     esac
8738   fi
8739
8740 case $host_os in
8741   # For platforms that do not support PIC, -DPIC is meaningless:
8742   *djgpp*)
8743     lt_prog_compiler_pic=
8744     ;;
8745   *)
8746     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8747     ;;
8748 esac
8749
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8751 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8752 if ${lt_cv_prog_compiler_pic+:} false; then :
8753   $as_echo_n "(cached) " >&6
8754 else
8755   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8756 fi
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8758 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8759 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8760
8761 #
8762 # Check to make sure the PIC flag actually works.
8763 #
8764 if test -n "$lt_prog_compiler_pic"; then
8765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768   $as_echo_n "(cached) " >&6
8769 else
8770   lt_cv_prog_compiler_pic_works=no
8771    ac_outfile=conftest.$ac_objext
8772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8774    # Insert the option either (1) after the last *FLAGS variable, or
8775    # (2) before a word containing "conftest.", or (3) at the end.
8776    # Note that $ac_compile itself does not contain backslashes and begins
8777    # with a dollar sign (not a hyphen), so the echo should work correctly.
8778    # The option is referenced via a variable to avoid confusing sed.
8779    lt_compile=`echo "$ac_compile" | $SED \
8780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782    -e 's:$: $lt_compiler_flag:'`
8783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784    (eval "$lt_compile" 2>conftest.err)
8785    ac_status=$?
8786    cat conftest.err >&5
8787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788    if (exit $ac_status) && test -s "$ac_outfile"; then
8789      # The compiler can only warn and ignore the option if not recognized
8790      # So say no if there are warnings other than the usual output.
8791      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794        lt_cv_prog_compiler_pic_works=yes
8795      fi
8796    fi
8797    $RM conftest*
8798
8799 fi
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802
8803 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8804     case $lt_prog_compiler_pic in
8805      "" | " "*) ;;
8806      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8807      esac
8808 else
8809     lt_prog_compiler_pic=
8810      lt_prog_compiler_can_build_shared=no
8811 fi
8812
8813 fi
8814
8815     
8816     
8817     
8818
8819
8820
8821     
8822     
8823     
8824
8825 #
8826 # Check to make sure the static flag actually works.
8827 #
8828 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8830 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8831 if ${lt_cv_prog_compiler_static_works+:} false; then :
8832   $as_echo_n "(cached) " >&6
8833 else
8834   lt_cv_prog_compiler_static_works=no
8835    save_LDFLAGS=$LDFLAGS
8836    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8837    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8838    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8839      # The linker can only warn and ignore the option if not recognized
8840      # So say no if there are warnings
8841      if test -s conftest.err; then
8842        # Append any errors to the config.log.
8843        cat conftest.err 1>&5
8844        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8845        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8846        if diff conftest.exp conftest.er2 >/dev/null; then
8847          lt_cv_prog_compiler_static_works=yes
8848        fi
8849      else
8850        lt_cv_prog_compiler_static_works=yes
8851      fi
8852    fi
8853    $RM -r conftest*
8854    LDFLAGS=$save_LDFLAGS
8855
8856 fi
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8858 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8859
8860 if test yes = "$lt_cv_prog_compiler_static_works"; then
8861     :
8862 else
8863     lt_prog_compiler_static=
8864 fi
8865
8866
8867     
8868     
8869     
8870
8871
8872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8873 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8874 if ${lt_cv_prog_compiler_c_o+:} false; then :
8875   $as_echo_n "(cached) " >&6
8876 else
8877   lt_cv_prog_compiler_c_o=no
8878    $RM -r conftest 2>/dev/null
8879    mkdir conftest
8880    cd conftest
8881    mkdir out
8882    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8883
8884    lt_compiler_flag="-o out/conftest2.$ac_objext"
8885    # Insert the option either (1) after the last *FLAGS variable, or
8886    # (2) before a word containing "conftest.", or (3) at the end.
8887    # Note that $ac_compile itself does not contain backslashes and begins
8888    # with a dollar sign (not a hyphen), so the echo should work correctly.
8889    lt_compile=`echo "$ac_compile" | $SED \
8890    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8891    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8892    -e 's:$: $lt_compiler_flag:'`
8893    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8894    (eval "$lt_compile" 2>out/conftest.err)
8895    ac_status=$?
8896    cat out/conftest.err >&5
8897    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8899    then
8900      # The compiler can only warn and ignore the option if not recognized
8901      # So say no if there are warnings
8902      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8903      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8904      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8905        lt_cv_prog_compiler_c_o=yes
8906      fi
8907    fi
8908    chmod u+w . 2>&5
8909    $RM conftest*
8910    # SGI C++ compiler will create directory out/ii_files/ for
8911    # template instantiation
8912    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8913    $RM out/* && rmdir out
8914    cd ..
8915    $RM -r conftest
8916    $RM conftest*
8917
8918 fi
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8920 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8921
8922     
8923     
8924     
8925
8926
8927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if ${lt_cv_prog_compiler_c_o+:} false; then :
8930   $as_echo_n "(cached) " >&6
8931 else
8932   lt_cv_prog_compiler_c_o=no
8933    $RM -r conftest 2>/dev/null
8934    mkdir conftest
8935    cd conftest
8936    mkdir out
8937    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8938
8939    lt_compiler_flag="-o out/conftest2.$ac_objext"
8940    # Insert the option either (1) after the last *FLAGS variable, or
8941    # (2) before a word containing "conftest.", or (3) at the end.
8942    # Note that $ac_compile itself does not contain backslashes and begins
8943    # with a dollar sign (not a hyphen), so the echo should work correctly.
8944    lt_compile=`echo "$ac_compile" | $SED \
8945    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947    -e 's:$: $lt_compiler_flag:'`
8948    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949    (eval "$lt_compile" 2>out/conftest.err)
8950    ac_status=$?
8951    cat out/conftest.err >&5
8952    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8954    then
8955      # The compiler can only warn and ignore the option if not recognized
8956      # So say no if there are warnings
8957      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960        lt_cv_prog_compiler_c_o=yes
8961      fi
8962    fi
8963    chmod u+w . 2>&5
8964    $RM conftest*
8965    # SGI C++ compiler will create directory out/ii_files/ for
8966    # template instantiation
8967    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968    $RM out/* && rmdir out
8969    cd ..
8970    $RM -r conftest
8971    $RM conftest*
8972
8973 fi
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8976
8977
8978
8979
8980 hard_links=nottested
8981 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8982   # do not overwrite the value of need_locks provided by the user
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8984 $as_echo_n "checking if we can lock with hard links... " >&6; }
8985   hard_links=yes
8986   $RM conftest*
8987   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8988   touch conftest.a
8989   ln conftest.a conftest.b 2>&5 || hard_links=no
8990   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8992 $as_echo "$hard_links" >&6; }
8993   if test no = "$hard_links"; then
8994     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8995 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8996     need_locks=warn
8997   fi
8998 else
8999   need_locks=no
9000 fi
9001
9002     
9003     
9004     
9005
9006
9007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9008 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9009
9010   runpath_var=
9011   allow_undefined_flag=
9012   always_export_symbols=no
9013   archive_cmds=
9014   archive_expsym_cmds=
9015   compiler_needs_object=no
9016   enable_shared_with_static_runtimes=no
9017   export_dynamic_flag_spec=
9018   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9019   hardcode_automatic=no
9020   hardcode_direct=no
9021   hardcode_direct_absolute=no
9022   hardcode_libdir_flag_spec=
9023   hardcode_libdir_separator=
9024   hardcode_minus_L=no
9025   hardcode_shlibpath_var=unsupported
9026   inherit_rpath=no
9027   link_all_deplibs=unknown
9028   module_cmds=
9029   module_expsym_cmds=
9030   old_archive_from_new_cmds=
9031   old_archive_from_expsyms_cmds=
9032   thread_safe_flag_spec=
9033   whole_archive_flag_spec=
9034   # include_expsyms should be a list of space-separated symbols to be *always*
9035   # included in the symbol list
9036   include_expsyms=
9037   # exclude_expsyms can be an extended regexp of symbols to exclude
9038   # it will be wrapped by ' (' and ')$', so one must not match beginning or
9039   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9040   # as well as any symbol that contains 'd'.
9041   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9042   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9043   # platforms (ab)use it in PIC code, but their linkers get confused if
9044   # the symbol is explicitly referenced.  Since portable code cannot
9045   # rely on this symbol name, it's probably fine to never include it in
9046   # preloaded symbol tables.
9047   # Exclude shared library initialization/finalization symbols.
9048   extract_expsyms_cmds=
9049
9050   case $host_os in
9051   cygwin* | mingw* | pw32* | cegcc*)
9052     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9053     # When not using gcc, we currently assume that we are using
9054     # Microsoft Visual C++.
9055     if test yes != "$GCC"; then
9056       with_gnu_ld=no
9057     fi
9058     ;;
9059   interix*)
9060     # we just hope/assume this is gcc and not c89 (= MSVC++)
9061     with_gnu_ld=yes
9062     ;;
9063   openbsd* | bitrig*)
9064     with_gnu_ld=no
9065     ;;
9066   linux* | k*bsd*-gnu | gnu*)
9067     link_all_deplibs=no
9068     ;;
9069   esac
9070
9071   ld_shlibs=yes
9072
9073   # On some targets, GNU ld is compatible enough with the native linker
9074   # that we're better off using the native interface for both.
9075   lt_use_gnu_ld_interface=no
9076   if test yes = "$with_gnu_ld"; then
9077     case $host_os in
9078       aix*)
9079         # The AIX port of GNU ld has always aspired to compatibility
9080         # with the native linker.  However, as the warning in the GNU ld
9081         # block says, versions before 2.19.5* couldn't really create working
9082         # shared libraries, regardless of the interface used.
9083         case `$LD -v 2>&1` in
9084           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9085           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9086           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9087           *)
9088             lt_use_gnu_ld_interface=yes
9089             ;;
9090         esac
9091         ;;
9092       *)
9093         lt_use_gnu_ld_interface=yes
9094         ;;
9095     esac
9096   fi
9097
9098   if test yes = "$lt_use_gnu_ld_interface"; then
9099     # If archive_cmds runs LD, not CC, wlarc should be empty
9100     wlarc='$wl'
9101
9102     # Set some defaults for GNU ld with shared library support. These
9103     # are reset later if shared libraries are not supported. Putting them
9104     # here allows them to be overridden if necessary.
9105     runpath_var=LD_RUN_PATH
9106     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9107     export_dynamic_flag_spec='$wl--export-dynamic'
9108     # ancient GNU ld didn't support --whole-archive et. al.
9109     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9110       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9111     else
9112       whole_archive_flag_spec=
9113     fi
9114     supports_anon_versioning=no
9115     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9116       *GNU\ gold*) supports_anon_versioning=yes ;;
9117       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9118       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9119       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9120       *\ 2.11.*) ;; # other 2.11 versions
9121       *) supports_anon_versioning=yes ;;
9122     esac
9123
9124     # See if GNU ld supports shared libraries.
9125     case $host_os in
9126     aix[3-9]*)
9127       # On AIX/PPC, the GNU linker is very broken
9128       if test ia64 != "$host_cpu"; then
9129         ld_shlibs=no
9130         cat <<_LT_EOF 1>&2
9131
9132 *** Warning: the GNU linker, at least up to release 2.19, is reported
9133 *** to be unable to reliably create shared libraries on AIX.
9134 *** Therefore, libtool is disabling shared libraries support.  If you
9135 *** really care for shared libraries, you may want to install binutils
9136 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9137 *** You will then need to restart the configuration process.
9138
9139 _LT_EOF
9140       fi
9141       ;;
9142
9143     amigaos*)
9144       case $host_cpu in
9145       powerpc)
9146             # see comment about AmigaOS4 .so support
9147             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9148             archive_expsym_cmds=''
9149         ;;
9150       m68k)
9151             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)'
9152             hardcode_libdir_flag_spec='-L$libdir'
9153             hardcode_minus_L=yes
9154         ;;
9155       esac
9156       ;;
9157
9158     beos*)
9159       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9160         allow_undefined_flag=unsupported
9161         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9162         # support --undefined.  This deserves some investigation.  FIXME
9163         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     cygwin* | mingw* | pw32* | cegcc*)
9170       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9171       # as there is no search path for DLLs.
9172       hardcode_libdir_flag_spec='-L$libdir'
9173       export_dynamic_flag_spec='$wl--export-all-symbols'
9174       allow_undefined_flag=unsupported
9175       always_export_symbols=no
9176       enable_shared_with_static_runtimes=yes
9177       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'
9178       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9179
9180       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9181         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9182         # If the export-symbols file already is a .def file, use it as
9183         # is; otherwise, prepend EXPORTS...
9184         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9185           cp $export_symbols $output_objdir/$soname.def;
9186         else
9187           echo EXPORTS > $output_objdir/$soname.def;
9188           cat $export_symbols >> $output_objdir/$soname.def;
9189         fi~
9190         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9191       else
9192         ld_shlibs=no
9193       fi
9194       ;;
9195
9196     haiku*)
9197       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9198       link_all_deplibs=yes
9199       ;;
9200
9201     os2*)
9202       hardcode_libdir_flag_spec='-L$libdir'
9203       hardcode_minus_L=yes
9204       allow_undefined_flag=unsupported
9205       shrext_cmds=.dll
9206       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9207         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9208         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9209         $ECHO EXPORTS >> $output_objdir/$libname.def~
9210         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9211         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9212         emximp -o $lib $output_objdir/$libname.def'
9213       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9214         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9215         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9216         $ECHO EXPORTS >> $output_objdir/$libname.def~
9217         prefix_cmds="$SED"~
9218         if test EXPORTS = "`$SED 1q $export_symbols`"; then
9219           prefix_cmds="$prefix_cmds -e 1d";
9220         fi~
9221         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9222         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9223         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9224         emximp -o $lib $output_objdir/$libname.def'
9225       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9226       enable_shared_with_static_runtimes=yes
9227       ;;
9228
9229     interix[3-9]*)
9230       hardcode_direct=no
9231       hardcode_shlibpath_var=no
9232       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9233       export_dynamic_flag_spec='$wl-E'
9234       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235       # Instead, shared libraries are loaded at an image base (0x10000000 by
9236       # default) and relocated if they conflict, which is a slow very memory
9237       # consuming and fragmenting process.  To avoid this, we pick a random,
9238       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9240       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241       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'
9242       ;;
9243
9244     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245       tmp_diet=no
9246       if test linux-dietlibc = "$host_os"; then
9247         case $cc_basename in
9248           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9249         esac
9250       fi
9251       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252          && test no = "$tmp_diet"
9253       then
9254         tmp_addflag=' $pic_flag'
9255         tmp_sharedflag='-shared'
9256         case $cc_basename,$host_cpu in
9257         pgcc*)                          # Portland Group C compiler
9258           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'
9259           tmp_addflag=' $pic_flag'
9260           ;;
9261         pgf77* | pgf90* | pgf95* | pgfortran*)
9262                                         # Portland Group f77 and f90 compilers
9263           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'
9264           tmp_addflag=' $pic_flag -Mnomain' ;;
9265         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9266           tmp_addflag=' -i_dynamic' ;;
9267         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9268           tmp_addflag=' -i_dynamic -nofor_main' ;;
9269         ifc* | ifort*)                  # Intel Fortran compiler
9270           tmp_addflag=' -nofor_main' ;;
9271         lf95*)                          # Lahey Fortran 8.1
9272           whole_archive_flag_spec=
9273           tmp_sharedflag='--shared' ;;
9274         nagfor*)                        # NAGFOR 5.3
9275           tmp_sharedflag='-Wl,-shared' ;;
9276         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9277           tmp_sharedflag='-qmkshrobj'
9278           tmp_addflag= ;;
9279         nvcc*)  # Cuda Compiler Driver 2.2
9280           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'
9281           compiler_needs_object=yes
9282           ;;
9283         esac
9284         case `$CC -V 2>&1 | sed 5q` in
9285         *Sun\ C*)                       # Sun C 5.9
9286           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'
9287           compiler_needs_object=yes
9288           tmp_sharedflag='-G' ;;
9289         *Sun\ F*)                       # Sun Fortran 8.3
9290           tmp_sharedflag='-G' ;;
9291         esac
9292         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9293
9294         if test yes = "$supports_anon_versioning"; then
9295           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9296             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9297             echo "local: *; };" >> $output_objdir/$libname.ver~
9298             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9299         fi
9300
9301         case $cc_basename in
9302         tcc*)
9303           export_dynamic_flag_spec='-rdynamic'
9304           ;;
9305         xlf* | bgf* | bgxlf* | mpixlf*)
9306           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9307           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9308           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9309           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9310           if test yes = "$supports_anon_versioning"; then
9311             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9312               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9313               echo "local: *; };" >> $output_objdir/$libname.ver~
9314               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9315           fi
9316           ;;
9317         esac
9318       else
9319         ld_shlibs=no
9320       fi
9321       ;;
9322
9323     netbsd* | netbsdelf*-gnu)
9324       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9325         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9326         wlarc=
9327       else
9328         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9329         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9330       fi
9331       ;;
9332
9333     solaris*)
9334       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9335         ld_shlibs=no
9336         cat <<_LT_EOF 1>&2
9337
9338 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9339 *** create shared libraries on Solaris systems.  Therefore, libtool
9340 *** is disabling shared libraries support.  We urge you to upgrade GNU
9341 *** binutils to release 2.9.1 or newer.  Another option is to modify
9342 *** your PATH or compiler configuration so that the native linker is
9343 *** used, and then restart.
9344
9345 _LT_EOF
9346       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9347         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9348         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9349       else
9350         ld_shlibs=no
9351       fi
9352       ;;
9353
9354     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9355       case `$LD -v 2>&1` in
9356         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9357         ld_shlibs=no
9358         cat <<_LT_EOF 1>&2
9359
9360 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9361 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9362 *** is disabling shared libraries support.  We urge you to upgrade GNU
9363 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9366
9367 _LT_EOF
9368         ;;
9369         *)
9370           # For security reasons, it is highly recommended that you always
9371           # use absolute paths for naming shared libraries, and exclude the
9372           # DT_RUNPATH tag from executables and libraries.  But doing so
9373           # requires that you compile everything twice, which is a pain.
9374           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9376             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9377             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9378           else
9379             ld_shlibs=no
9380           fi
9381         ;;
9382       esac
9383       ;;
9384
9385     sunos4*)
9386       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9387       wlarc=
9388       hardcode_direct=yes
9389       hardcode_shlibpath_var=no
9390       ;;
9391
9392     *)
9393       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9394         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9395         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9396       else
9397         ld_shlibs=no
9398       fi
9399       ;;
9400     esac
9401
9402     if test no = "$ld_shlibs"; then
9403       runpath_var=
9404       hardcode_libdir_flag_spec=
9405       export_dynamic_flag_spec=
9406       whole_archive_flag_spec=
9407     fi
9408   else
9409     # PORTME fill in a description of your system's linker (not GNU ld)
9410     case $host_os in
9411     aix3*)
9412       allow_undefined_flag=unsupported
9413       always_export_symbols=yes
9414       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'
9415       # Note: this linker hardcodes the directories in LIBPATH if there
9416       # are no directories specified by -L.
9417       hardcode_minus_L=yes
9418       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9419         # Neither direct hardcoding nor static linking is supported with a
9420         # broken collect2.
9421         hardcode_direct=unsupported
9422       fi
9423       ;;
9424
9425     aix[4-9]*)
9426       if test ia64 = "$host_cpu"; then
9427         # On IA64, the linker does run time linking by default, so we don't
9428         # have to do anything special.
9429         aix_use_runtimelinking=no
9430         exp_sym_flag='-Bexport'
9431         no_entry_flag=
9432       else
9433         # If we're using GNU nm, then we don't want the "-C" option.
9434         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9435         # Without the "-l" option, or with the "-B" option, AIX nm treats
9436         # weak defined symbols like other global defined symbols, whereas
9437         # GNU nm marks them as "W".
9438         # While the 'weak' keyword is ignored in the Export File, we need
9439         # it in the Import File for the 'aix-soname' feature, so we have
9440         # to replace the "-B" option with "-P" for AIX nm.
9441         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9442           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'
9443         else
9444           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'
9445         fi
9446         aix_use_runtimelinking=no
9447
9448         # Test if we are trying to use run time linking or normal
9449         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9450         # have runtime linking enabled, and use it for executables.
9451         # For shared libraries, we enable/disable runtime linking
9452         # depending on the kind of the shared library created -
9453         # when "with_aix_soname,aix_use_runtimelinking" is:
9454         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9455         # "aix,yes"  lib.so          shared, rtl:yes, for executables
9456         #            lib.a           static archive
9457         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9458         #            lib.a(lib.so.V) shared, rtl:no,  for executables
9459         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9460         #            lib.a(lib.so.V) shared, rtl:no
9461         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9462         #            lib.a           static archive
9463         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9464           for ld_flag in $LDFLAGS; do
9465           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9466             aix_use_runtimelinking=yes
9467             break
9468           fi
9469           done
9470           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9471             # With aix-soname=svr4, we create the lib.so.V shared archives only,
9472             # so we don't have lib.a shared libs to link our executables.
9473             # We have to force runtime linking in this case.
9474             aix_use_runtimelinking=yes
9475             LDFLAGS="$LDFLAGS -Wl,-brtl"
9476           fi
9477           ;;
9478         esac
9479
9480         exp_sym_flag='-bexport'
9481         no_entry_flag='-bnoentry'
9482       fi
9483
9484       # When large executables or shared objects are built, AIX ld can
9485       # have problems creating the table of contents.  If linking a library
9486       # or program results in "error TOC overflow" add -mminimal-toc to
9487       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9488       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9489
9490       archive_cmds=''
9491       hardcode_direct=yes
9492       hardcode_direct_absolute=yes
9493       hardcode_libdir_separator=':'
9494       link_all_deplibs=yes
9495       file_list_spec='$wl-f,'
9496       case $with_aix_soname,$aix_use_runtimelinking in
9497       aix,*) ;; # traditional, no import file
9498       svr4,* | *,yes) # use import file
9499         # The Import File defines what to hardcode.
9500         hardcode_direct=no
9501         hardcode_direct_absolute=no
9502         ;;
9503       esac
9504
9505       if test yes = "$GCC"; then
9506         case $host_os in aix4.[012]|aix4.[012].*)
9507         # We only want to do this on AIX 4.2 and lower, the check
9508         # below for broken collect2 doesn't work under 4.3+
9509           collect2name=`$CC -print-prog-name=collect2`
9510           if test -f "$collect2name" &&
9511            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9512           then
9513           # We have reworked collect2
9514           :
9515           else
9516           # We have old collect2
9517           hardcode_direct=unsupported
9518           # It fails to find uninstalled libraries when the uninstalled
9519           # path is not listed in the libpath.  Setting hardcode_minus_L
9520           # to unsupported forces relinking
9521           hardcode_minus_L=yes
9522           hardcode_libdir_flag_spec='-L$libdir'
9523           hardcode_libdir_separator=
9524           fi
9525           ;;
9526         esac
9527         shared_flag='-shared'
9528         if test yes = "$aix_use_runtimelinking"; then
9529           shared_flag="$shared_flag "'$wl-G'
9530         fi
9531         # Need to ensure runtime linking is disabled for the traditional
9532         # shared library, or the linker may eventually find shared libraries
9533         # /with/ Import File - we do not want to mix them.
9534         shared_flag_aix='-shared'
9535         shared_flag_svr4='-shared $wl-G'
9536       else
9537         # not using gcc
9538         if test ia64 = "$host_cpu"; then
9539         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9540         # chokes on -Wl,-G. The following line is correct:
9541           shared_flag='-G'
9542         else
9543           if test yes = "$aix_use_runtimelinking"; then
9544             shared_flag='$wl-G'
9545           else
9546             shared_flag='$wl-bM:SRE'
9547           fi
9548           shared_flag_aix='$wl-bM:SRE'
9549           shared_flag_svr4='$wl-G'
9550         fi
9551       fi
9552
9553       export_dynamic_flag_spec='$wl-bexpall'
9554       # It seems that -bexpall does not export symbols beginning with
9555       # underscore (_), so it is better to generate a list of symbols to export.
9556       always_export_symbols=yes
9557       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9558         # Warning - without using the other runtime loading flags (-brtl),
9559         # -berok will link without error, but may produce a broken library.
9560         allow_undefined_flag='-berok'
9561         # Determine the default libpath from the value encoded in an
9562         # empty executable.
9563         if test set = "${lt_cv_aix_libpath+set}"; then
9564   aix_libpath=$lt_cv_aix_libpath
9565 else
9566   if ${lt_cv_aix_libpath_+:} false; then :
9567   $as_echo_n "(cached) " >&6
9568 else
9569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h.  */
9571
9572 int
9573 main ()
9574 {
9575
9576   ;
9577   return 0;
9578 }
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581   
9582   lt_aix_libpath_sed='
9583       /Import File Strings/,/^$/ {
9584           /^0/ {
9585               s/^0  *\([^ ]*\) *$/\1/
9586               p
9587           }
9588       }'
9589   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9590   # Check for a 64-bit object if we didn't find anything.
9591   if test -z "$lt_cv_aix_libpath_"; then
9592     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593   fi
9594 fi
9595 rm -f core conftest.err conftest.$ac_objext \
9596     conftest$ac_exeext conftest.$ac_ext
9597   if test -z "$lt_cv_aix_libpath_"; then
9598     lt_cv_aix_libpath_=/usr/lib:/lib
9599   fi
9600   
9601 fi
9602
9603   aix_libpath=$lt_cv_aix_libpath_
9604 fi
9605
9606         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9607         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
9608       else
9609         if test ia64 = "$host_cpu"; then
9610           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9611           allow_undefined_flag="-z nodefs"
9612           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"
9613         else
9614          # Determine the default libpath from the value encoded in an
9615          # empty executable.
9616          if test set = "${lt_cv_aix_libpath+set}"; then
9617   aix_libpath=$lt_cv_aix_libpath
9618 else
9619   if ${lt_cv_aix_libpath_+:} false; then :
9620   $as_echo_n "(cached) " >&6
9621 else
9622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h.  */
9624
9625 int
9626 main ()
9627 {
9628
9629   ;
9630   return 0;
9631 }
9632 _ACEOF
9633 if ac_fn_c_try_link "$LINENO"; then :
9634   
9635   lt_aix_libpath_sed='
9636       /Import File Strings/,/^$/ {
9637           /^0/ {
9638               s/^0  *\([^ ]*\) *$/\1/
9639               p
9640           }
9641       }'
9642   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9643   # Check for a 64-bit object if we didn't find anything.
9644   if test -z "$lt_cv_aix_libpath_"; then
9645     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646   fi
9647 fi
9648 rm -f core conftest.err conftest.$ac_objext \
9649     conftest$ac_exeext conftest.$ac_ext
9650   if test -z "$lt_cv_aix_libpath_"; then
9651     lt_cv_aix_libpath_=/usr/lib:/lib
9652   fi
9653   
9654 fi
9655
9656   aix_libpath=$lt_cv_aix_libpath_
9657 fi
9658
9659          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9660           # Warning - without using the other run time loading flags,
9661           # -berok will link without error, but may produce a broken library.
9662           no_undefined_flag=' $wl-bernotok'
9663           allow_undefined_flag=' $wl-berok'
9664           if test yes = "$with_gnu_ld"; then
9665             # We only use this code for GNU lds that support --whole-archive.
9666             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9667           else
9668             # Exported symbols can be pulled into shared objects from archives
9669             whole_archive_flag_spec='$convenience'
9670           fi
9671           archive_cmds_need_lc=yes
9672           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9673           # -brtl affects multiple linker settings, -berok does not and is overridden later
9674           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9675           if test svr4 != "$with_aix_soname"; then
9676             # This is similar to how AIX traditionally builds its shared libraries.
9677             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'
9678           fi
9679           if test aix != "$with_aix_soname"; then
9680             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'
9681           else
9682             # used by -dlpreopen to get the symbols
9683             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9684           fi
9685           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9686         fi
9687       fi
9688       ;;
9689
9690     amigaos*)
9691       case $host_cpu in
9692       powerpc)
9693             # see comment about AmigaOS4 .so support
9694             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9695             archive_expsym_cmds=''
9696         ;;
9697       m68k)
9698             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)'
9699             hardcode_libdir_flag_spec='-L$libdir'
9700             hardcode_minus_L=yes
9701         ;;
9702       esac
9703       ;;
9704
9705     bsdi[45]*)
9706       export_dynamic_flag_spec=-rdynamic
9707       ;;
9708
9709     cygwin* | mingw* | pw32* | cegcc*)
9710       # When not using gcc, we currently assume that we are using
9711       # Microsoft Visual C++.
9712       # hardcode_libdir_flag_spec is actually meaningless, as there is
9713       # no search path for DLLs.
9714       case $cc_basename in
9715       cl*)
9716         # Native MSVC
9717         hardcode_libdir_flag_spec=' '
9718         allow_undefined_flag=unsupported
9719         always_export_symbols=yes
9720         file_list_spec='@'
9721         # Tell ltmain to make .lib files, not .a files.
9722         libext=lib
9723         # Tell ltmain to make .dll files, not .so files.
9724         shrext_cmds=.dll
9725         # FIXME: Setting linknames here is a bad hack.
9726         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9727         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9728             cp "$export_symbols" "$output_objdir/$soname.def";
9729             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9730           else
9731             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9732           fi~
9733           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9734           linknames='
9735         # The linker will not automatically build a static lib if we build a DLL.
9736         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9737         enable_shared_with_static_runtimes=yes
9738         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9739         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9740         # Don't use ranlib
9741         old_postinstall_cmds='chmod 644 $oldlib'
9742         postlink_cmds='lt_outputfile="@OUTPUT@"~
9743           lt_tool_outputfile="@TOOL_OUTPUT@"~
9744           case $lt_outputfile in
9745             *.exe|*.EXE) ;;
9746             *)
9747               lt_outputfile=$lt_outputfile.exe
9748               lt_tool_outputfile=$lt_tool_outputfile.exe
9749               ;;
9750           esac~
9751           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9752             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9753             $RM "$lt_outputfile.manifest";
9754           fi'
9755         ;;
9756       *)
9757         # Assume MSVC wrapper
9758         hardcode_libdir_flag_spec=' '
9759         allow_undefined_flag=unsupported
9760         # Tell ltmain to make .lib files, not .a files.
9761         libext=lib
9762         # Tell ltmain to make .dll files, not .so files.
9763         shrext_cmds=.dll
9764         # FIXME: Setting linknames here is a bad hack.
9765         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9766         # The linker will automatically build a .lib file if we build a DLL.
9767         old_archive_from_new_cmds='true'
9768         # FIXME: Should let the user specify the lib program.
9769         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9770         enable_shared_with_static_runtimes=yes
9771         ;;
9772       esac
9773       ;;
9774
9775     darwin* | rhapsody*)
9776       
9777   
9778   archive_cmds_need_lc=no
9779   hardcode_direct=no
9780   hardcode_automatic=yes
9781   hardcode_shlibpath_var=unsupported
9782   if test yes = "$lt_cv_ld_force_load"; then
9783     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\"`'
9784     
9785   else
9786     whole_archive_flag_spec=''
9787   fi
9788   link_all_deplibs=yes
9789   allow_undefined_flag=$_lt_dar_allow_undefined
9790   case $cc_basename in
9791      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9792      *) _lt_dar_can_shared=$GCC ;;
9793   esac
9794   if test yes = "$_lt_dar_can_shared"; then
9795     output_verbose_link_cmd=func_echo_all
9796     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9797     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9798     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"
9799     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"
9800     
9801   else
9802   ld_shlibs=no
9803   fi
9804
9805       ;;
9806
9807     dgux*)
9808       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809       hardcode_libdir_flag_spec='-L$libdir'
9810       hardcode_shlibpath_var=no
9811       ;;
9812
9813     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9814     # support.  Future versions do this automatically, but an explicit c++rt0.o
9815     # does not break anything, and helps significantly (at the cost of a little
9816     # extra space).
9817     freebsd2.2*)
9818       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9819       hardcode_libdir_flag_spec='-R$libdir'
9820       hardcode_direct=yes
9821       hardcode_shlibpath_var=no
9822       ;;
9823
9824     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825     freebsd2.*)
9826       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827       hardcode_direct=yes
9828       hardcode_minus_L=yes
9829       hardcode_shlibpath_var=no
9830       ;;
9831
9832     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9833     freebsd* | dragonfly*)
9834       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835       hardcode_libdir_flag_spec='-R$libdir'
9836       hardcode_direct=yes
9837       hardcode_shlibpath_var=no
9838       ;;
9839
9840     hpux9*)
9841       if test yes = "$GCC"; then
9842         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'
9843       else
9844         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'
9845       fi
9846       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9847       hardcode_libdir_separator=:
9848       hardcode_direct=yes
9849
9850       # hardcode_minus_L: Not really in the search PATH,
9851       # but as the default location of the library.
9852       hardcode_minus_L=yes
9853       export_dynamic_flag_spec='$wl-E'
9854       ;;
9855
9856     hpux10*)
9857       if test yes,no = "$GCC,$with_gnu_ld"; then
9858         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859       else
9860         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861       fi
9862       if test no = "$with_gnu_ld"; then
9863         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9864         hardcode_libdir_separator=:
9865         hardcode_direct=yes
9866         hardcode_direct_absolute=yes
9867         export_dynamic_flag_spec='$wl-E'
9868         # hardcode_minus_L: Not really in the search PATH,
9869         # but as the default location of the library.
9870         hardcode_minus_L=yes
9871       fi
9872       ;;
9873
9874     hpux11*)
9875       if test yes,no = "$GCC,$with_gnu_ld"; then
9876         case $host_cpu in
9877         hppa*64*)
9878           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9879           ;;
9880         ia64*)
9881           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9882           ;;
9883         *)
9884           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9885           ;;
9886         esac
9887       else
9888         case $host_cpu in
9889         hppa*64*)
9890           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9891           ;;
9892         ia64*)
9893           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9894           ;;
9895         *)
9896         
9897           # Older versions of the 11.00 compiler do not understand -b yet
9898           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9899           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9900 $as_echo_n "checking if $CC understands -b... " >&6; }
9901 if ${lt_cv_prog_compiler__b+:} false; then :
9902   $as_echo_n "(cached) " >&6
9903 else
9904   lt_cv_prog_compiler__b=no
9905    save_LDFLAGS=$LDFLAGS
9906    LDFLAGS="$LDFLAGS -b"
9907    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9908    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9909      # The linker can only warn and ignore the option if not recognized
9910      # So say no if there are warnings
9911      if test -s conftest.err; then
9912        # Append any errors to the config.log.
9913        cat conftest.err 1>&5
9914        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9915        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9916        if diff conftest.exp conftest.er2 >/dev/null; then
9917          lt_cv_prog_compiler__b=yes
9918        fi
9919      else
9920        lt_cv_prog_compiler__b=yes
9921      fi
9922    fi
9923    $RM -r conftest*
9924    LDFLAGS=$save_LDFLAGS
9925
9926 fi
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9928 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929
9930 if test yes = "$lt_cv_prog_compiler__b"; then
9931     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 else
9933     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9934 fi
9935
9936           ;;
9937         esac
9938       fi
9939       if test no = "$with_gnu_ld"; then
9940         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9941         hardcode_libdir_separator=:
9942
9943         case $host_cpu in
9944         hppa*64*|ia64*)
9945           hardcode_direct=no
9946           hardcode_shlibpath_var=no
9947           ;;
9948         *)
9949           hardcode_direct=yes
9950           hardcode_direct_absolute=yes
9951           export_dynamic_flag_spec='$wl-E'
9952
9953           # hardcode_minus_L: Not really in the search PATH,
9954           # but as the default location of the library.
9955           hardcode_minus_L=yes
9956           ;;
9957         esac
9958       fi
9959       ;;
9960
9961     irix5* | irix6* | nonstopux*)
9962       if test yes = "$GCC"; then
9963         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'
9964         # Try to use the -exported_symbol ld option, if it does not
9965         # work, assume that -exports_file does not work either and
9966         # implicitly export all symbols.
9967         # This should be the same for all languages, so no per-tag cache variable.
9968         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9969 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9970 if ${lt_cv_irix_exported_symbol+:} false; then :
9971   $as_echo_n "(cached) " >&6
9972 else
9973   save_LDFLAGS=$LDFLAGS
9974            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9975            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h.  */
9977 int foo (void) { return 0; }
9978 _ACEOF
9979 if ac_fn_c_try_link "$LINENO"; then :
9980   lt_cv_irix_exported_symbol=yes
9981 else
9982   lt_cv_irix_exported_symbol=no
9983 fi
9984 rm -f core conftest.err conftest.$ac_objext \
9985     conftest$ac_exeext conftest.$ac_ext
9986            LDFLAGS=$save_LDFLAGS
9987 fi
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9989 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9990         if test yes = "$lt_cv_irix_exported_symbol"; then
9991           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'
9992         fi
9993         link_all_deplibs=no
9994       else
9995         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'
9996         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'
9997       fi
9998       archive_cmds_need_lc='no'
9999       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10000       hardcode_libdir_separator=:
10001       inherit_rpath=yes
10002       link_all_deplibs=yes
10003       ;;
10004
10005     linux*)
10006       case $cc_basename in
10007       tcc*)
10008         # Fabrice Bellard et al's Tiny C Compiler
10009         ld_shlibs=yes
10010         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10011         ;;
10012       esac
10013       ;;
10014
10015     netbsd* | netbsdelf*-gnu)
10016       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10017         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10018       else
10019         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10020       fi
10021       hardcode_libdir_flag_spec='-R$libdir'
10022       hardcode_direct=yes
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     newsos6)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_direct=yes
10029       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10030       hardcode_libdir_separator=:
10031       hardcode_shlibpath_var=no
10032       ;;
10033
10034     *nto* | *qnx*)
10035       ;;
10036
10037     openbsd* | bitrig*)
10038       if test -f /usr/libexec/ld.so; then
10039         hardcode_direct=yes
10040         hardcode_shlibpath_var=no
10041         hardcode_direct_absolute=yes
10042         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10043           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10044           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10045           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10046           export_dynamic_flag_spec='$wl-E'
10047         else
10048           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10049           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10050         fi
10051       else
10052         ld_shlibs=no
10053       fi
10054       ;;
10055
10056     os2*)
10057       hardcode_libdir_flag_spec='-L$libdir'
10058       hardcode_minus_L=yes
10059       allow_undefined_flag=unsupported
10060       shrext_cmds=.dll
10061       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10062         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10063         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10064         $ECHO EXPORTS >> $output_objdir/$libname.def~
10065         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10066         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10067         emximp -o $lib $output_objdir/$libname.def'
10068       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10069         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10070         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10071         $ECHO EXPORTS >> $output_objdir/$libname.def~
10072         prefix_cmds="$SED"~
10073         if test EXPORTS = "`$SED 1q $export_symbols`"; then
10074           prefix_cmds="$prefix_cmds -e 1d";
10075         fi~
10076         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10077         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10078         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10079         emximp -o $lib $output_objdir/$libname.def'
10080       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10081       enable_shared_with_static_runtimes=yes
10082       ;;
10083
10084     osf3*)
10085       if test yes = "$GCC"; then
10086         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10087         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'
10088       else
10089         allow_undefined_flag=' -expect_unresolved \*'
10090         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'
10091       fi
10092       archive_cmds_need_lc='no'
10093       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10094       hardcode_libdir_separator=:
10095       ;;
10096
10097     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10098       if test yes = "$GCC"; then
10099         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10100         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'
10101         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10102       else
10103         allow_undefined_flag=' -expect_unresolved \*'
10104         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'
10105         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~
10106           $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'
10107
10108         # Both c and cxx compiler support -rpath directly
10109         hardcode_libdir_flag_spec='-rpath $libdir'
10110       fi
10111       archive_cmds_need_lc='no'
10112       hardcode_libdir_separator=:
10113       ;;
10114
10115     solaris*)
10116       no_undefined_flag=' -z defs'
10117       if test yes = "$GCC"; then
10118         wlarc='$wl'
10119         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10120         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10121           $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'
10122       else
10123         case `$CC -V 2>&1` in
10124         *"Compilers 5.0"*)
10125           wlarc=''
10126           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10128             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10129           ;;
10130         *)
10131           wlarc='$wl'
10132           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10133           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10135           ;;
10136         esac
10137       fi
10138       hardcode_libdir_flag_spec='-R$libdir'
10139       hardcode_shlibpath_var=no
10140       case $host_os in
10141       solaris2.[0-5] | solaris2.[0-5].*) ;;
10142       *)
10143         # The compiler driver will combine and reorder linker options,
10144         # but understands '-z linker_flag'.  GCC discards it without '$wl',
10145         # but is careful enough not to reorder.
10146         # Supported since Solaris 2.6 (maybe 2.5.1?)
10147         if test yes = "$GCC"; then
10148           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10149         else
10150           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10151         fi
10152         ;;
10153       esac
10154       link_all_deplibs=yes
10155       ;;
10156
10157     sunos4*)
10158       if test sequent = "$host_vendor"; then
10159         # Use $CC to link under sequent, because it throws in some extra .o
10160         # files that make .init and .fini sections work.
10161         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10162       else
10163         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10164       fi
10165       hardcode_libdir_flag_spec='-L$libdir'
10166       hardcode_direct=yes
10167       hardcode_minus_L=yes
10168       hardcode_shlibpath_var=no
10169       ;;
10170
10171     sysv4)
10172       case $host_vendor in
10173         sni)
10174           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10175           hardcode_direct=yes # is this really true???
10176         ;;
10177         siemens)
10178           ## LD is ld it makes a PLAMLIB
10179           ## CC just makes a GrossModule.
10180           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10181           reload_cmds='$CC -r -o $output$reload_objs'
10182           hardcode_direct=no
10183         ;;
10184         motorola)
10185           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10186           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10187         ;;
10188       esac
10189       runpath_var='LD_RUN_PATH'
10190       hardcode_shlibpath_var=no
10191       ;;
10192
10193     sysv4.3*)
10194       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10195       hardcode_shlibpath_var=no
10196       export_dynamic_flag_spec='-Bexport'
10197       ;;
10198
10199     sysv4*MP*)
10200       if test -d /usr/nec; then
10201         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202         hardcode_shlibpath_var=no
10203         runpath_var=LD_RUN_PATH
10204         hardcode_runpath_var=yes
10205         ld_shlibs=yes
10206       fi
10207       ;;
10208
10209     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10210       no_undefined_flag='$wl-z,text'
10211       archive_cmds_need_lc=no
10212       hardcode_shlibpath_var=no
10213       runpath_var='LD_RUN_PATH'
10214
10215       if test yes = "$GCC"; then
10216         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10217         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218       else
10219         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221       fi
10222       ;;
10223
10224     sysv5* | sco3.2v5* | sco5v6*)
10225       # Note: We CANNOT use -z defs as we might desire, because we do not
10226       # link with -lc, and that would cause any symbols used from libc to
10227       # always be unresolved, which means just about no library would
10228       # ever link correctly.  If we're not using GNU ld we use -z text
10229       # though, which does catch some bad symbols but isn't as heavy-handed
10230       # as -z defs.
10231       no_undefined_flag='$wl-z,text'
10232       allow_undefined_flag='$wl-z,nodefs'
10233       archive_cmds_need_lc=no
10234       hardcode_shlibpath_var=no
10235       hardcode_libdir_flag_spec='$wl-R,$libdir'
10236       hardcode_libdir_separator=':'
10237       link_all_deplibs=yes
10238       export_dynamic_flag_spec='$wl-Bexport'
10239       runpath_var='LD_RUN_PATH'
10240
10241       if test yes = "$GCC"; then
10242         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10243         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10244       else
10245         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247       fi
10248       ;;
10249
10250     uts4*)
10251       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10252       hardcode_libdir_flag_spec='-L$libdir'
10253       hardcode_shlibpath_var=no
10254       ;;
10255
10256     *)
10257       ld_shlibs=no
10258       ;;
10259     esac
10260
10261     if test sni = "$host_vendor"; then
10262       case $host in
10263       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10264         export_dynamic_flag_spec='$wl-Blargedynsym'
10265         ;;
10266       esac
10267     fi
10268   fi
10269
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10271 $as_echo "$ld_shlibs" >&6; }
10272 test no = "$ld_shlibs" && can_build_shared=no
10273
10274 with_gnu_ld=$with_gnu_ld
10275
10276
10277     
10278     
10279     
10280
10281     
10282     
10283     
10284
10285     
10286     
10287     
10288
10289
10290 #
10291 # Do we need to explicitly link libc?
10292 #
10293 case "x$archive_cmds_need_lc" in
10294 x|xyes)
10295   # Assume -lc should be added
10296   archive_cmds_need_lc=yes
10297
10298   if test yes,yes = "$GCC,$enable_shared"; then
10299     case $archive_cmds in
10300     *'~'*)
10301       # FIXME: we may have to deal with multi-command sequences.
10302       ;;
10303     '$CC '*)
10304       # Test whether the compiler implicitly links with -lc since on some
10305       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10306       # to ld, don't add -lc before -lgcc.
10307       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10308 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10309 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10310   $as_echo_n "(cached) " >&6
10311 else
10312   $RM conftest*
10313         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10314
10315         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10316   (eval $ac_compile) 2>&5
10317   ac_status=$?
10318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10319   test $ac_status = 0; } 2>conftest.err; then
10320           soname=conftest
10321           lib=conftest
10322           libobjs=conftest.$ac_objext
10323           deplibs=
10324           wl=$lt_prog_compiler_wl
10325           pic_flag=$lt_prog_compiler_pic
10326           compiler_flags=-v
10327           linker_flags=-v
10328           verstring=
10329           output_objdir=.
10330           libname=conftest
10331           lt_save_allow_undefined_flag=$allow_undefined_flag
10332           allow_undefined_flag=
10333           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10334   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10335   ac_status=$?
10336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10337   test $ac_status = 0; }
10338           then
10339             lt_cv_archive_cmds_need_lc=no
10340           else
10341             lt_cv_archive_cmds_need_lc=yes
10342           fi
10343           allow_undefined_flag=$lt_save_allow_undefined_flag
10344         else
10345           cat conftest.err 1>&5
10346         fi
10347         $RM conftest*
10348         
10349 fi
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10351 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10352       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10353       ;;
10354     esac
10355   fi
10356   ;;
10357 esac
10358
10359
10360     
10361     
10362     
10363
10364
10365     
10366     
10367     
10368
10369
10370     
10371     
10372     
10373
10374
10375     
10376     
10377     
10378
10379
10380     
10381     
10382     
10383
10384
10385     
10386     
10387     
10388
10389
10390     
10391     
10392     
10393
10394
10395     
10396     
10397     
10398
10399
10400     
10401     
10402     
10403
10404
10405     
10406     
10407     
10408
10409
10410     
10411     
10412     
10413
10414
10415     
10416     
10417     
10418
10419
10420     
10421     
10422     
10423
10424
10425     
10426     
10427     
10428
10429
10430     
10431     
10432     
10433
10434
10435     
10436     
10437     
10438
10439
10440     
10441     
10442     
10443
10444
10445     
10446     
10447     
10448
10449
10450     
10451     
10452     
10453
10454
10455     
10456     
10457     
10458
10459
10460     
10461     
10462     
10463
10464
10465     
10466     
10467     
10468
10469
10470     
10471     
10472     
10473
10474
10475     
10476     
10477     
10478
10479
10480     
10481     
10482     
10483
10484
10485     
10486     
10487     
10488
10489
10490     
10491     
10492     
10493
10494
10495     
10496     
10497     
10498
10499
10500     
10501     
10502     
10503
10504
10505     
10506     
10507     
10508
10509
10510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10511 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10512
10513 if test yes = "$GCC"; then
10514   case $host_os in
10515     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10516     *) lt_awk_arg='/^libraries:/' ;;
10517   esac
10518   case $host_os in
10519     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10520     *) lt_sed_strip_eq='s|=/|/|g' ;;
10521   esac
10522   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10523   case $lt_search_path_spec in
10524   *\;*)
10525     # if the path contains ";" then we assume it to be the separator
10526     # otherwise default to the standard path separator (i.e. ":") - it is
10527     # assumed that no part of a normal pathname contains ";" but that should
10528     # okay in the real world where ";" in dirpaths is itself problematic.
10529     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10530     ;;
10531   *)
10532     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10533     ;;
10534   esac
10535   # Ok, now we have the path, separated by spaces, we can step through it
10536   # and add multilib dir if necessary...
10537   lt_tmp_lt_search_path_spec=
10538   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10539   # ...but if some path component already ends with the multilib dir we assume
10540   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10541   case "$lt_multi_os_dir; $lt_search_path_spec " in
10542   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10543     lt_multi_os_dir=
10544     ;;
10545   esac
10546   for lt_sys_path in $lt_search_path_spec; do
10547     if test -d "$lt_sys_path$lt_multi_os_dir"; then
10548       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10549     elif test -n "$lt_multi_os_dir"; then
10550       test -d "$lt_sys_path" && \
10551         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10552     fi
10553   done
10554   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10555 BEGIN {RS = " "; FS = "/|\n";} {
10556   lt_foo = "";
10557   lt_count = 0;
10558   for (lt_i = NF; lt_i > 0; lt_i--) {
10559     if ($lt_i != "" && $lt_i != ".") {
10560       if ($lt_i == "..") {
10561         lt_count++;
10562       } else {
10563         if (lt_count == 0) {
10564           lt_foo = "/" $lt_i lt_foo;
10565         } else {
10566           lt_count--;
10567         }
10568       }
10569     }
10570   }
10571   if (lt_foo != "") { lt_freq[lt_foo]++; }
10572   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10573 }'`
10574   # AWK program above erroneously prepends '/' to C:/dos/paths
10575   # for these hosts.
10576   case $host_os in
10577     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10578       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10579   esac
10580   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10581 else
10582   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10583 fi
10584 library_names_spec=
10585 libname_spec='lib$name'
10586 soname_spec=
10587 shrext_cmds=.so
10588 postinstall_cmds=
10589 postuninstall_cmds=
10590 finish_cmds=
10591 finish_eval=
10592 shlibpath_var=
10593 shlibpath_overrides_runpath=unknown
10594 version_type=none
10595 dynamic_linker="$host_os ld.so"
10596 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10597 need_lib_prefix=unknown
10598 hardcode_into_libs=no
10599
10600 # when you set need_version to no, make sure it does not cause -set_version
10601 # flags to be left without arguments
10602 need_version=unknown
10603
10604
10605
10606 case $host_os in
10607 aix3*)
10608   version_type=linux # correct to gnu/linux during the next big refactor
10609   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10610   shlibpath_var=LIBPATH
10611
10612   # AIX 3 has no versioning support, so we append a major version to the name.
10613   soname_spec='$libname$release$shared_ext$major'
10614   ;;
10615
10616 aix[4-9]*)
10617   version_type=linux # correct to gnu/linux during the next big refactor
10618   need_lib_prefix=no
10619   need_version=no
10620   hardcode_into_libs=yes
10621   if test ia64 = "$host_cpu"; then
10622     # AIX 5 supports IA64
10623     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10624     shlibpath_var=LD_LIBRARY_PATH
10625   else
10626     # With GCC up to 2.95.x, collect2 would create an import file
10627     # for dependence libraries.  The import file would start with
10628     # the line '#! .'.  This would cause the generated library to
10629     # depend on '.', always an invalid library.  This was fixed in
10630     # development snapshots of GCC prior to 3.0.
10631     case $host_os in
10632       aix4 | aix4.[01] | aix4.[01].*)
10633       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10634            echo ' yes '
10635            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10636         :
10637       else
10638         can_build_shared=no
10639       fi
10640       ;;
10641     esac
10642     # Using Import Files as archive members, it is possible to support
10643     # filename-based versioning of shared library archives on AIX. While
10644     # this would work for both with and without runtime linking, it will
10645     # prevent static linking of such archives. So we do filename-based
10646     # shared library versioning with .so extension only, which is used
10647     # when both runtime linking and shared linking is enabled.
10648     # Unfortunately, runtime linking may impact performance, so we do
10649     # not want this to be the default eventually. Also, we use the
10650     # versioned .so libs for executables only if there is the -brtl
10651     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10652     # To allow for filename-based versioning support, we need to create
10653     # libNAME.so.V as an archive file, containing:
10654     # *) an Import File, referring to the versioned filename of the
10655     #    archive as well as the shared archive member, telling the
10656     #    bitwidth (32 or 64) of that shared object, and providing the
10657     #    list of exported symbols of that shared object, eventually
10658     #    decorated with the 'weak' keyword
10659     # *) the shared object with the F_LOADONLY flag set, to really avoid
10660     #    it being seen by the linker.
10661     # At run time we better use the real file rather than another symlink,
10662     # but for link time we create the symlink libNAME.so -> libNAME.so.V
10663
10664     case $with_aix_soname,$aix_use_runtimelinking in
10665     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10666     # soname into executable. Probably we can add versioning support to
10667     # collect2, so additional links can be useful in future.
10668     aix,yes) # traditional libtool
10669       dynamic_linker='AIX unversionable lib.so'
10670       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10671       # instead of lib<name>.a to let people know that these are not
10672       # typical AIX shared libraries.
10673       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10674       ;;
10675     aix,no) # traditional AIX only
10676       dynamic_linker='AIX lib.a(lib.so.V)'
10677       # We preserve .a as extension for shared libraries through AIX4.2
10678       # and later when we are not doing run time linking.
10679       library_names_spec='$libname$release.a $libname.a'
10680       soname_spec='$libname$release$shared_ext$major'
10681       ;;
10682     svr4,*) # full svr4 only
10683       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10684       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10685       # We do not specify a path in Import Files, so LIBPATH fires.
10686       shlibpath_overrides_runpath=yes
10687       ;;
10688     *,yes) # both, prefer svr4
10689       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10690       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10691       # unpreferred sharedlib libNAME.a needs extra handling
10692       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"'
10693       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"'
10694       # We do not specify a path in Import Files, so LIBPATH fires.
10695       shlibpath_overrides_runpath=yes
10696       ;;
10697     *,no) # both, prefer aix
10698       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10699       library_names_spec='$libname$release.a $libname.a'
10700       soname_spec='$libname$release$shared_ext$major'
10701       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10702       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)'
10703       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"'
10704       ;;
10705     esac
10706     shlibpath_var=LIBPATH
10707   fi
10708   ;;
10709
10710 amigaos*)
10711   case $host_cpu in
10712   powerpc)
10713     # Since July 2007 AmigaOS4 officially supports .so libraries.
10714     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10715     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10716     ;;
10717   m68k)
10718     library_names_spec='$libname.ixlibrary $libname.a'
10719     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10720     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'
10721     ;;
10722   esac
10723   ;;
10724
10725 beos*)
10726   library_names_spec='$libname$shared_ext'
10727   dynamic_linker="$host_os ld.so"
10728   shlibpath_var=LIBRARY_PATH
10729   ;;
10730
10731 bsdi[45]*)
10732   version_type=linux # correct to gnu/linux during the next big refactor
10733   need_version=no
10734   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10735   soname_spec='$libname$release$shared_ext$major'
10736   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10737   shlibpath_var=LD_LIBRARY_PATH
10738   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10739   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10740   # the default ld.so.conf also contains /usr/contrib/lib and
10741   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10742   # libtool to hard-code these into programs
10743   ;;
10744
10745 cygwin* | mingw* | pw32* | cegcc*)
10746   version_type=windows
10747   shrext_cmds=.dll
10748   need_version=no
10749   need_lib_prefix=no
10750
10751   case $GCC,$cc_basename in
10752   yes,*)
10753     # gcc
10754     library_names_spec='$libname.dll.a'
10755     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10756     postinstall_cmds='base_file=`basename \$file`~
10757       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10758       dldir=$destdir/`dirname \$dlpath`~
10759       test -d \$dldir || mkdir -p \$dldir~
10760       $install_prog $dir/$dlname \$dldir/$dlname~
10761       chmod a+x \$dldir/$dlname~
10762       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10763         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10764       fi'
10765     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10766       dlpath=$dir/\$dldll~
10767        $RM \$dlpath'
10768     shlibpath_overrides_runpath=yes
10769
10770     case $host_os in
10771     cygwin*)
10772       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10773       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10774
10775       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10776       ;;
10777     mingw* | cegcc*)
10778       # MinGW DLLs use traditional 'lib' prefix
10779       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10780       ;;
10781     pw32*)
10782       # pw32 DLLs use 'pw' prefix rather than 'lib'
10783       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10784       ;;
10785     esac
10786     dynamic_linker='Win32 ld.exe'
10787     ;;
10788
10789   *,cl*)
10790     # Native MSVC
10791     libname_spec='$name'
10792     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10793     library_names_spec='$libname.dll.lib'
10794
10795     case $build_os in
10796     mingw*)
10797       sys_lib_search_path_spec=
10798       lt_save_ifs=$IFS
10799       IFS=';'
10800       for lt_path in $LIB
10801       do
10802         IFS=$lt_save_ifs
10803         # Let DOS variable expansion print the short 8.3 style file name.
10804         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10805         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10806       done
10807       IFS=$lt_save_ifs
10808       # Convert to MSYS style.
10809       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10810       ;;
10811     cygwin*)
10812       # Convert to unix form, then to dos form, then back to unix form
10813       # but this time dos style (no spaces!) so that the unix form looks
10814       # like /cygdrive/c/PROGRA~1:/cygdr...
10815       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10816       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10817       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10818       ;;
10819     *)
10820       sys_lib_search_path_spec=$LIB
10821       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10822         # It is most probably a Windows format PATH.
10823         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10824       else
10825         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10826       fi
10827       # FIXME: find the short name or the path components, as spaces are
10828       # common. (e.g. "Program Files" -> "PROGRA~1")
10829       ;;
10830     esac
10831
10832     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10833     postinstall_cmds='base_file=`basename \$file`~
10834       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10835       dldir=$destdir/`dirname \$dlpath`~
10836       test -d \$dldir || mkdir -p \$dldir~
10837       $install_prog $dir/$dlname \$dldir/$dlname'
10838     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10839       dlpath=$dir/\$dldll~
10840        $RM \$dlpath'
10841     shlibpath_overrides_runpath=yes
10842     dynamic_linker='Win32 link.exe'
10843     ;;
10844
10845   *)
10846     # Assume MSVC wrapper
10847     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10848     dynamic_linker='Win32 ld.exe'
10849     ;;
10850   esac
10851   # FIXME: first we should search . and the directory the executable is in
10852   shlibpath_var=PATH
10853   ;;
10854
10855 darwin* | rhapsody*)
10856   dynamic_linker="$host_os dyld"
10857   version_type=darwin
10858   need_lib_prefix=no
10859   need_version=no
10860   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10861   soname_spec='$libname$release$major$shared_ext'
10862   shlibpath_overrides_runpath=yes
10863   shlibpath_var=DYLD_LIBRARY_PATH
10864   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10865
10866   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10867   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10868   ;;
10869
10870 dgux*)
10871   version_type=linux # correct to gnu/linux during the next big refactor
10872   need_lib_prefix=no
10873   need_version=no
10874   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10875   soname_spec='$libname$release$shared_ext$major'
10876   shlibpath_var=LD_LIBRARY_PATH
10877   ;;
10878
10879 freebsd* | dragonfly*)
10880   # DragonFly does not have aout.  When/if they implement a new
10881   # versioning mechanism, adjust this.
10882   if test -x /usr/bin/objformat; then
10883     objformat=`/usr/bin/objformat`
10884   else
10885     case $host_os in
10886     freebsd[23].*) objformat=aout ;;
10887     *) objformat=elf ;;
10888     esac
10889   fi
10890   version_type=freebsd-$objformat
10891   case $version_type in
10892     freebsd-elf*)
10893       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10894       soname_spec='$libname$release$shared_ext$major'
10895       need_version=no
10896       need_lib_prefix=no
10897       ;;
10898     freebsd-*)
10899       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10900       need_version=yes
10901       ;;
10902   esac
10903   shlibpath_var=LD_LIBRARY_PATH
10904   case $host_os in
10905   freebsd2.*)
10906     shlibpath_overrides_runpath=yes
10907     ;;
10908   freebsd3.[01]* | freebsdelf3.[01]*)
10909     shlibpath_overrides_runpath=yes
10910     hardcode_into_libs=yes
10911     ;;
10912   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10913   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10914     shlibpath_overrides_runpath=no
10915     hardcode_into_libs=yes
10916     ;;
10917   *) # from 4.6 on, and DragonFly
10918     shlibpath_overrides_runpath=yes
10919     hardcode_into_libs=yes
10920     ;;
10921   esac
10922   ;;
10923
10924 haiku*)
10925   version_type=linux # correct to gnu/linux during the next big refactor
10926   need_lib_prefix=no
10927   need_version=no
10928   dynamic_linker="$host_os runtime_loader"
10929   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10930   soname_spec='$libname$release$shared_ext$major'
10931   shlibpath_var=LIBRARY_PATH
10932   shlibpath_overrides_runpath=no
10933   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10934   hardcode_into_libs=yes
10935   ;;
10936
10937 hpux9* | hpux10* | hpux11*)
10938   # Give a soname corresponding to the major version so that dld.sl refuses to
10939   # link against other versions.
10940   version_type=sunos
10941   need_lib_prefix=no
10942   need_version=no
10943   case $host_cpu in
10944   ia64*)
10945     shrext_cmds='.so'
10946     hardcode_into_libs=yes
10947     dynamic_linker="$host_os dld.so"
10948     shlibpath_var=LD_LIBRARY_PATH
10949     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10950     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10951     soname_spec='$libname$release$shared_ext$major'
10952     if test 32 = "$HPUX_IA64_MODE"; then
10953       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10954       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10955     else
10956       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10957       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10958     fi
10959     ;;
10960   hppa*64*)
10961     shrext_cmds='.sl'
10962     hardcode_into_libs=yes
10963     dynamic_linker="$host_os dld.sl"
10964     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10965     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10966     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10967     soname_spec='$libname$release$shared_ext$major'
10968     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10969     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10970     ;;
10971   *)
10972     shrext_cmds='.sl'
10973     dynamic_linker="$host_os dld.sl"
10974     shlibpath_var=SHLIB_PATH
10975     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10976     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10977     soname_spec='$libname$release$shared_ext$major'
10978     ;;
10979   esac
10980   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10981   postinstall_cmds='chmod 555 $lib'
10982   # or fails outright, so override atomically:
10983   install_override_mode=555
10984   ;;
10985
10986 interix[3-9]*)
10987   version_type=linux # correct to gnu/linux during the next big refactor
10988   need_lib_prefix=no
10989   need_version=no
10990   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10991   soname_spec='$libname$release$shared_ext$major'
10992   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10993   shlibpath_var=LD_LIBRARY_PATH
10994   shlibpath_overrides_runpath=no
10995   hardcode_into_libs=yes
10996   ;;
10997
10998 irix5* | irix6* | nonstopux*)
10999   case $host_os in
11000     nonstopux*) version_type=nonstopux ;;
11001     *)
11002         if test yes = "$lt_cv_prog_gnu_ld"; then
11003                 version_type=linux # correct to gnu/linux during the next big refactor
11004         else
11005                 version_type=irix
11006         fi ;;
11007   esac
11008   need_lib_prefix=no
11009   need_version=no
11010   soname_spec='$libname$release$shared_ext$major'
11011   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11012   case $host_os in
11013   irix5* | nonstopux*)
11014     libsuff= shlibsuff=
11015     ;;
11016   *)
11017     case $LD in # libtool.m4 will add one of these switches to LD
11018     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11019       libsuff= shlibsuff= libmagic=32-bit;;
11020     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11021       libsuff=32 shlibsuff=N32 libmagic=N32;;
11022     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11023       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11024     *) libsuff= shlibsuff= libmagic=never-match;;
11025     esac
11026     ;;
11027   esac
11028   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11029   shlibpath_overrides_runpath=no
11030   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11031   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11032   hardcode_into_libs=yes
11033   ;;
11034
11035 # No shared lib support for Linux oldld, aout, or coff.
11036 linux*oldld* | linux*aout* | linux*coff*)
11037   dynamic_linker=no
11038   ;;
11039
11040 linux*android*)
11041   version_type=none # Android doesn't support versioned libraries.
11042   need_lib_prefix=no
11043   need_version=no
11044   library_names_spec='$libname$release$shared_ext'
11045   soname_spec='$libname$release$shared_ext'
11046   finish_cmds=
11047   shlibpath_var=LD_LIBRARY_PATH
11048   shlibpath_overrides_runpath=yes
11049
11050   # This implies no fast_install, which is unacceptable.
11051   # Some rework will be needed to allow for fast_install
11052   # before this can be enabled.
11053   hardcode_into_libs=yes
11054
11055   dynamic_linker='Android linker'
11056   # Don't embed -rpath directories since the linker doesn't support them.
11057   hardcode_libdir_flag_spec='-L$libdir'
11058   ;;
11059
11060 # This must be glibc/ELF.
11061 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11062   version_type=linux # correct to gnu/linux during the next big refactor
11063   need_lib_prefix=no
11064   need_version=no
11065   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11066   soname_spec='$libname$release$shared_ext$major'
11067   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11068   shlibpath_var=LD_LIBRARY_PATH
11069   shlibpath_overrides_runpath=no
11070
11071   # Some binutils ld are patched to set DT_RUNPATH
11072   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11073   $as_echo_n "(cached) " >&6
11074 else
11075   lt_cv_shlibpath_overrides_runpath=no
11076     save_LDFLAGS=$LDFLAGS
11077     save_libdir=$libdir
11078     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11079          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11080     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h.  */
11082
11083 int
11084 main ()
11085 {
11086
11087   ;
11088   return 0;
11089 }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11093   lt_cv_shlibpath_overrides_runpath=yes
11094 fi
11095 fi
11096 rm -f core conftest.err conftest.$ac_objext \
11097     conftest$ac_exeext conftest.$ac_ext
11098     LDFLAGS=$save_LDFLAGS
11099     libdir=$save_libdir
11100     
11101 fi
11102
11103   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11104
11105   # This implies no fast_install, which is unacceptable.
11106   # Some rework will be needed to allow for fast_install
11107   # before this can be enabled.
11108   hardcode_into_libs=yes
11109
11110   # Ideally, we could use ldconfig to report *all* directores which are
11111   # searched for libraries, however this is still not possible.  Aside from not
11112   # being certain /sbin/ldconfig is available, command
11113   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11114   # even though it is searched at run-time.  Try to do the best guess by
11115   # appending ld.so.conf contents (and includes) to the search path.
11116   if test -f /etc/ld.so.conf; then
11117     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' ' '`
11118     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11119   fi
11120
11121   # We used to test for /lib/ld.so.1 and disable shared libraries on
11122   # powerpc, because MkLinux only supported shared libraries with the
11123   # GNU dynamic linker.  Since this was broken with cross compilers,
11124   # most powerpc-linux boxes support dynamic linking these days and
11125   # people can always --disable-shared, the test was removed, and we
11126   # assume the GNU/Linux dynamic linker is in use.
11127   dynamic_linker='GNU/Linux ld.so'
11128   ;;
11129
11130 netbsdelf*-gnu)
11131   version_type=linux
11132   need_lib_prefix=no
11133   need_version=no
11134   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11135   soname_spec='${libname}${release}${shared_ext}$major'
11136   shlibpath_var=LD_LIBRARY_PATH
11137   shlibpath_overrides_runpath=no
11138   hardcode_into_libs=yes
11139   dynamic_linker='NetBSD ld.elf_so'
11140   ;;
11141
11142 netbsd*)
11143   version_type=sunos
11144   need_lib_prefix=no
11145   need_version=no
11146   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11147     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11148     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11149     dynamic_linker='NetBSD (a.out) ld.so'
11150   else
11151     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11152     soname_spec='$libname$release$shared_ext$major'
11153     dynamic_linker='NetBSD ld.elf_so'
11154   fi
11155   shlibpath_var=LD_LIBRARY_PATH
11156   shlibpath_overrides_runpath=yes
11157   hardcode_into_libs=yes
11158   ;;
11159
11160 newsos6)
11161   version_type=linux # correct to gnu/linux during the next big refactor
11162   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11163   shlibpath_var=LD_LIBRARY_PATH
11164   shlibpath_overrides_runpath=yes
11165   ;;
11166
11167 *nto* | *qnx*)
11168   version_type=qnx
11169   need_lib_prefix=no
11170   need_version=no
11171   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11172   soname_spec='$libname$release$shared_ext$major'
11173   shlibpath_var=LD_LIBRARY_PATH
11174   shlibpath_overrides_runpath=no
11175   hardcode_into_libs=yes
11176   dynamic_linker='ldqnx.so'
11177   ;;
11178
11179 openbsd* | bitrig*)
11180   version_type=sunos
11181   sys_lib_dlsearch_path_spec=/usr/lib
11182   need_lib_prefix=no
11183   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11184     need_version=no
11185   else
11186     need_version=yes
11187   fi
11188   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11189   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11190   shlibpath_var=LD_LIBRARY_PATH
11191   shlibpath_overrides_runpath=yes
11192   ;;
11193
11194 os2*)
11195   libname_spec='$name'
11196   version_type=windows
11197   shrext_cmds=.dll
11198   need_version=no
11199   need_lib_prefix=no
11200   # OS/2 can only load a DLL with a base name of 8 characters or less.
11201   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11202     v=$($ECHO $release$versuffix | tr -d .-);
11203     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11204     $ECHO $n$v`$shared_ext'
11205   library_names_spec='${libname}_dll.$libext'
11206   dynamic_linker='OS/2 ld.exe'
11207   shlibpath_var=BEGINLIBPATH
11208   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11209   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11210   postinstall_cmds='base_file=`basename \$file`~
11211     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11212     dldir=$destdir/`dirname \$dlpath`~
11213     test -d \$dldir || mkdir -p \$dldir~
11214     $install_prog $dir/$dlname \$dldir/$dlname~
11215     chmod a+x \$dldir/$dlname~
11216     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11217       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11218     fi'
11219   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11220     dlpath=$dir/\$dldll~
11221     $RM \$dlpath'
11222   ;;
11223
11224 osf3* | osf4* | osf5*)
11225   version_type=osf
11226   need_lib_prefix=no
11227   need_version=no
11228   soname_spec='$libname$release$shared_ext$major'
11229   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11230   shlibpath_var=LD_LIBRARY_PATH
11231   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11232   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11233   ;;
11234
11235 rdos*)
11236   dynamic_linker=no
11237   ;;
11238
11239 solaris*)
11240   version_type=linux # correct to gnu/linux during the next big refactor
11241   need_lib_prefix=no
11242   need_version=no
11243   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11244   soname_spec='$libname$release$shared_ext$major'
11245   shlibpath_var=LD_LIBRARY_PATH
11246   shlibpath_overrides_runpath=yes
11247   hardcode_into_libs=yes
11248   # ldd complains unless libraries are executable
11249   postinstall_cmds='chmod +x $lib'
11250   ;;
11251
11252 sunos4*)
11253   version_type=sunos
11254   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11255   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11256   shlibpath_var=LD_LIBRARY_PATH
11257   shlibpath_overrides_runpath=yes
11258   if test yes = "$with_gnu_ld"; then
11259     need_lib_prefix=no
11260   fi
11261   need_version=yes
11262   ;;
11263
11264 sysv4 | sysv4.3*)
11265   version_type=linux # correct to gnu/linux during the next big refactor
11266   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11267   soname_spec='$libname$release$shared_ext$major'
11268   shlibpath_var=LD_LIBRARY_PATH
11269   case $host_vendor in
11270     sni)
11271       shlibpath_overrides_runpath=no
11272       need_lib_prefix=no
11273       runpath_var=LD_RUN_PATH
11274       ;;
11275     siemens)
11276       need_lib_prefix=no
11277       ;;
11278     motorola)
11279       need_lib_prefix=no
11280       need_version=no
11281       shlibpath_overrides_runpath=no
11282       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11283       ;;
11284   esac
11285   ;;
11286
11287 sysv4*MP*)
11288   if test -d /usr/nec; then
11289     version_type=linux # correct to gnu/linux during the next big refactor
11290     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11291     soname_spec='$libname$shared_ext.$major'
11292     shlibpath_var=LD_LIBRARY_PATH
11293   fi
11294   ;;
11295
11296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11297   version_type=sco
11298   need_lib_prefix=no
11299   need_version=no
11300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11301   soname_spec='$libname$release$shared_ext$major'
11302   shlibpath_var=LD_LIBRARY_PATH
11303   shlibpath_overrides_runpath=yes
11304   hardcode_into_libs=yes
11305   if test yes = "$with_gnu_ld"; then
11306     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11307   else
11308     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11309     case $host_os in
11310       sco3.2v5*)
11311         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11312         ;;
11313     esac
11314   fi
11315   sys_lib_dlsearch_path_spec='/usr/lib'
11316   ;;
11317
11318 tpf*)
11319   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11320   version_type=linux # correct to gnu/linux during the next big refactor
11321   need_lib_prefix=no
11322   need_version=no
11323   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11324   shlibpath_var=LD_LIBRARY_PATH
11325   shlibpath_overrides_runpath=no
11326   hardcode_into_libs=yes
11327   ;;
11328
11329 uts4*)
11330   version_type=linux # correct to gnu/linux during the next big refactor
11331   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11332   soname_spec='$libname$release$shared_ext$major'
11333   shlibpath_var=LD_LIBRARY_PATH
11334   ;;
11335
11336 *)
11337   dynamic_linker=no
11338   ;;
11339 esac
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11341 $as_echo "$dynamic_linker" >&6; }
11342 test no = "$dynamic_linker" && can_build_shared=no
11343
11344 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11345 if test yes = "$GCC"; then
11346   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11347 fi
11348
11349 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11350   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11351 fi
11352
11353 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11354   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11355 fi
11356
11357 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11358 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11359
11360 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11361 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11362
11363 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11364 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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
11401
11402     
11403     
11404     
11405
11406
11407     
11408     
11409     
11410
11411
11412     
11413     
11414     
11415
11416
11417     
11418     
11419     
11420
11421
11422     
11423     
11424     
11425
11426
11427     
11428     
11429     
11430
11431
11432     
11433     
11434     
11435
11436
11437     
11438     
11439     
11440
11441
11442     
11443     
11444     
11445
11446
11447     
11448     
11449     
11450
11451
11452     
11453     
11454     
11455
11456
11457     
11458     
11459     
11460
11461
11462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11463 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11464 hardcode_action=
11465 if test -n "$hardcode_libdir_flag_spec" ||
11466    test -n "$runpath_var" ||
11467    test yes = "$hardcode_automatic"; then
11468
11469   # We can hardcode non-existent directories.
11470   if test no != "$hardcode_direct" &&
11471      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11472      # have to relink, otherwise we might link with an installed library
11473      # when we should be linking with a yet-to-be-installed one
11474      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11475      test no != "$hardcode_minus_L"; then
11476     # Linking always hardcodes the temporary library directory.
11477     hardcode_action=relink
11478   else
11479     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11480     hardcode_action=immediate
11481   fi
11482 else
11483   # We cannot hardcode anything, or else we can only hardcode existing
11484   # directories.
11485   hardcode_action=unsupported
11486 fi
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11488 $as_echo "$hardcode_action" >&6; }
11489
11490 if test relink = "$hardcode_action" ||
11491    test yes = "$inherit_rpath"; then
11492   # Fast installation is not supported
11493   enable_fast_install=no
11494 elif test yes = "$shlibpath_overrides_runpath" ||
11495      test no = "$enable_shared"; then
11496   # Fast installation is not necessary
11497   enable_fast_install=needless
11498 fi
11499
11500     
11501     
11502     
11503
11504
11505   if test yes != "$enable_dlopen"; then
11506   enable_dlopen=unknown
11507   enable_dlopen_self=unknown
11508   enable_dlopen_self_static=unknown
11509 else
11510   lt_cv_dlopen=no
11511   lt_cv_dlopen_libs=
11512
11513   case $host_os in
11514   beos*)
11515     lt_cv_dlopen=load_add_on
11516     lt_cv_dlopen_libs=
11517     lt_cv_dlopen_self=yes
11518     ;;
11519
11520   mingw* | pw32* | cegcc*)
11521     lt_cv_dlopen=LoadLibrary
11522     lt_cv_dlopen_libs=
11523     ;;
11524
11525   cygwin*)
11526     lt_cv_dlopen=dlopen
11527     lt_cv_dlopen_libs=
11528     ;;
11529
11530   darwin*)
11531     # if libdl is installed we need to link against it
11532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11533 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11534 if ${ac_cv_lib_dl_dlopen+:} false; then :
11535   $as_echo_n "(cached) " >&6
11536 else
11537   ac_check_lib_save_LIBS=$LIBS
11538 LIBS="-ldl  $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h.  */
11541
11542 /* Override any GCC internal prototype to avoid an error.
11543    Use char because int might match the return type of a GCC
11544    builtin and then its argument prototype would still apply.  */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char dlopen ();
11549 int
11550 main ()
11551 {
11552 return dlopen ();
11553   ;
11554   return 0;
11555 }
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558   ac_cv_lib_dl_dlopen=yes
11559 else
11560   ac_cv_lib_dl_dlopen=no
11561 fi
11562 rm -f core conftest.err conftest.$ac_objext \
11563     conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_lib_save_LIBS
11565 fi
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11567 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11568 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11569   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11570 else
11571   
11572     lt_cv_dlopen=dyld
11573     lt_cv_dlopen_libs=
11574     lt_cv_dlopen_self=yes
11575     
11576 fi
11577
11578     ;;
11579
11580   tpf*)
11581     # Don't try to run any link tests for TPF.  We know it's impossible
11582     # because TPF is a cross-compiler, and we know how we open DSOs.
11583     lt_cv_dlopen=dlopen
11584     lt_cv_dlopen_libs=
11585     lt_cv_dlopen_self=no
11586     ;;
11587
11588   *)
11589     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11590 if test "x$ac_cv_func_shl_load" = xyes; then :
11591   lt_cv_dlopen=shl_load
11592 else
11593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11594 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11595 if ${ac_cv_lib_dld_shl_load+:} false; then :
11596   $as_echo_n "(cached) " >&6
11597 else
11598   ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-ldld  $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h.  */
11602
11603 /* Override any GCC internal prototype to avoid an error.
11604    Use char because int might match the return type of a GCC
11605    builtin and then its argument prototype would still apply.  */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char shl_load ();
11610 int
11611 main ()
11612 {
11613 return shl_load ();
11614   ;
11615   return 0;
11616 }
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619   ac_cv_lib_dld_shl_load=yes
11620 else
11621   ac_cv_lib_dld_shl_load=no
11622 fi
11623 rm -f core conftest.err conftest.$ac_objext \
11624     conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11626 fi
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11628 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11629 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11630   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11631 else
11632   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11633 if test "x$ac_cv_func_dlopen" = xyes; then :
11634   lt_cv_dlopen=dlopen
11635 else
11636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11637 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11638 if ${ac_cv_lib_dl_dlopen+:} false; then :
11639   $as_echo_n "(cached) " >&6
11640 else
11641   ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-ldl  $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h.  */
11645
11646 /* Override any GCC internal prototype to avoid an error.
11647    Use char because int might match the return type of a GCC
11648    builtin and then its argument prototype would still apply.  */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 char dlopen ();
11653 int
11654 main ()
11655 {
11656 return dlopen ();
11657   ;
11658   return 0;
11659 }
11660 _ACEOF
11661 if ac_fn_c_try_link "$LINENO"; then :
11662   ac_cv_lib_dl_dlopen=yes
11663 else
11664   ac_cv_lib_dl_dlopen=no
11665 fi
11666 rm -f core conftest.err conftest.$ac_objext \
11667     conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11669 fi
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11671 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11672 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11673   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11674 else
11675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11676 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11677 if ${ac_cv_lib_svld_dlopen+:} false; then :
11678   $as_echo_n "(cached) " >&6
11679 else
11680   ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lsvld  $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h.  */
11684
11685 /* Override any GCC internal prototype to avoid an error.
11686    Use char because int might match the return type of a GCC
11687    builtin and then its argument prototype would still apply.  */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char dlopen ();
11692 int
11693 main ()
11694 {
11695 return dlopen ();
11696   ;
11697   return 0;
11698 }
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701   ac_cv_lib_svld_dlopen=yes
11702 else
11703   ac_cv_lib_svld_dlopen=no
11704 fi
11705 rm -f core conftest.err conftest.$ac_objext \
11706     conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11708 fi
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11710 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11711 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11712   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11713 else
11714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11715 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11716 if ${ac_cv_lib_dld_dld_link+:} false; then :
11717   $as_echo_n "(cached) " >&6
11718 else
11719   ac_check_lib_save_LIBS=$LIBS
11720 LIBS="-ldld  $LIBS"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h.  */
11723
11724 /* Override any GCC internal prototype to avoid an error.
11725    Use char because int might match the return type of a GCC
11726    builtin and then its argument prototype would still apply.  */
11727 #ifdef __cplusplus
11728 extern "C"
11729 #endif
11730 char dld_link ();
11731 int
11732 main ()
11733 {
11734 return dld_link ();
11735   ;
11736   return 0;
11737 }
11738 _ACEOF
11739 if ac_fn_c_try_link "$LINENO"; then :
11740   ac_cv_lib_dld_dld_link=yes
11741 else
11742   ac_cv_lib_dld_dld_link=no
11743 fi
11744 rm -f core conftest.err conftest.$ac_objext \
11745     conftest$ac_exeext conftest.$ac_ext
11746 LIBS=$ac_check_lib_save_LIBS
11747 fi
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11749 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11750 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11751   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11752 fi
11753
11754               
11755 fi
11756
11757             
11758 fi
11759
11760           
11761 fi
11762
11763         
11764 fi
11765
11766       
11767 fi
11768
11769     ;;
11770   esac
11771
11772   if test no = "$lt_cv_dlopen"; then
11773     enable_dlopen=no
11774   else
11775     enable_dlopen=yes
11776   fi
11777
11778   case $lt_cv_dlopen in
11779   dlopen)
11780     save_CPPFLAGS=$CPPFLAGS
11781     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11782
11783     save_LDFLAGS=$LDFLAGS
11784     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11785
11786     save_LIBS=$LIBS
11787     LIBS="$lt_cv_dlopen_libs $LIBS"
11788
11789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11790 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11791 if ${lt_cv_dlopen_self+:} false; then :
11792   $as_echo_n "(cached) " >&6
11793 else
11794           if test yes = "$cross_compiling"; then :
11795   lt_cv_dlopen_self=cross
11796 else
11797   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11798   lt_status=$lt_dlunknown
11799   cat > conftest.$ac_ext <<_LT_EOF
11800 #line $LINENO "configure"
11801 #include "confdefs.h"
11802
11803 #if HAVE_DLFCN_H
11804 #include <dlfcn.h>
11805 #endif
11806
11807 #include <stdio.h>
11808
11809 #ifdef RTLD_GLOBAL
11810 #  define LT_DLGLOBAL           RTLD_GLOBAL
11811 #else
11812 #  ifdef DL_GLOBAL
11813 #    define LT_DLGLOBAL         DL_GLOBAL
11814 #  else
11815 #    define LT_DLGLOBAL         0
11816 #  endif
11817 #endif
11818
11819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11820    find out it does not work in some platform. */
11821 #ifndef LT_DLLAZY_OR_NOW
11822 #  ifdef RTLD_LAZY
11823 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11824 #  else
11825 #    ifdef DL_LAZY
11826 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11827 #    else
11828 #      ifdef RTLD_NOW
11829 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11830 #      else
11831 #        ifdef DL_NOW
11832 #          define LT_DLLAZY_OR_NOW      DL_NOW
11833 #        else
11834 #          define LT_DLLAZY_OR_NOW      0
11835 #        endif
11836 #      endif
11837 #    endif
11838 #  endif
11839 #endif
11840
11841 /* When -fvisibility=hidden is used, assume the code has been annotated
11842    correspondingly for the symbols needed.  */
11843 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11844 int fnord () __attribute__((visibility("default")));
11845 #endif
11846
11847 int fnord () { return 42; }
11848 int main ()
11849 {
11850   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11851   int status = $lt_dlunknown;
11852
11853   if (self)
11854     {
11855       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11856       else
11857         {
11858           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11859           else puts (dlerror ());
11860         }
11861       /* dlclose (self); */
11862     }
11863   else
11864     puts (dlerror ());
11865
11866   return status;
11867 }
11868 _LT_EOF
11869   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11870   (eval $ac_link) 2>&5
11871   ac_status=$?
11872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11873   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11874     (./conftest; exit; ) >&5 2>/dev/null
11875     lt_status=$?
11876     case x$lt_status in
11877       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11878       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11879       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11880     esac
11881   else :
11882     # compilation failed
11883     lt_cv_dlopen_self=no
11884   fi
11885 fi
11886 rm -fr conftest*
11887
11888     
11889 fi
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11891 $as_echo "$lt_cv_dlopen_self" >&6; }
11892
11893     if test yes = "$lt_cv_dlopen_self"; then
11894       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11895       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11896 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11897 if ${lt_cv_dlopen_self_static+:} false; then :
11898   $as_echo_n "(cached) " >&6
11899 else
11900           if test yes = "$cross_compiling"; then :
11901   lt_cv_dlopen_self_static=cross
11902 else
11903   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11904   lt_status=$lt_dlunknown
11905   cat > conftest.$ac_ext <<_LT_EOF
11906 #line $LINENO "configure"
11907 #include "confdefs.h"
11908
11909 #if HAVE_DLFCN_H
11910 #include <dlfcn.h>
11911 #endif
11912
11913 #include <stdio.h>
11914
11915 #ifdef RTLD_GLOBAL
11916 #  define LT_DLGLOBAL           RTLD_GLOBAL
11917 #else
11918 #  ifdef DL_GLOBAL
11919 #    define LT_DLGLOBAL         DL_GLOBAL
11920 #  else
11921 #    define LT_DLGLOBAL         0
11922 #  endif
11923 #endif
11924
11925 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11926    find out it does not work in some platform. */
11927 #ifndef LT_DLLAZY_OR_NOW
11928 #  ifdef RTLD_LAZY
11929 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11930 #  else
11931 #    ifdef DL_LAZY
11932 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11933 #    else
11934 #      ifdef RTLD_NOW
11935 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11936 #      else
11937 #        ifdef DL_NOW
11938 #          define LT_DLLAZY_OR_NOW      DL_NOW
11939 #        else
11940 #          define LT_DLLAZY_OR_NOW      0
11941 #        endif
11942 #      endif
11943 #    endif
11944 #  endif
11945 #endif
11946
11947 /* When -fvisibility=hidden is used, assume the code has been annotated
11948    correspondingly for the symbols needed.  */
11949 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11950 int fnord () __attribute__((visibility("default")));
11951 #endif
11952
11953 int fnord () { return 42; }
11954 int main ()
11955 {
11956   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11957   int status = $lt_dlunknown;
11958
11959   if (self)
11960     {
11961       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11962       else
11963         {
11964           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11965           else puts (dlerror ());
11966         }
11967       /* dlclose (self); */
11968     }
11969   else
11970     puts (dlerror ());
11971
11972   return status;
11973 }
11974 _LT_EOF
11975   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11976   (eval $ac_link) 2>&5
11977   ac_status=$?
11978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11979   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11980     (./conftest; exit; ) >&5 2>/dev/null
11981     lt_status=$?
11982     case x$lt_status in
11983       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11984       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11985       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11986     esac
11987   else :
11988     # compilation failed
11989     lt_cv_dlopen_self_static=no
11990   fi
11991 fi
11992 rm -fr conftest*
11993
11994       
11995 fi
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11997 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11998     fi
11999
12000     CPPFLAGS=$save_CPPFLAGS
12001     LDFLAGS=$save_LDFLAGS
12002     LIBS=$save_LIBS
12003     ;;
12004   esac
12005
12006   case $lt_cv_dlopen_self in
12007   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12008   *) enable_dlopen_self=unknown ;;
12009   esac
12010
12011   case $lt_cv_dlopen_self_static in
12012   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12013   *) enable_dlopen_self_static=unknown ;;
12014   esac
12015 fi
12016
12017     
12018     
12019     
12020
12021
12022     
12023     
12024     
12025
12026
12027     
12028     
12029     
12030
12031
12032   
12033 striplib=
12034 old_striplib=
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12036 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12037 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12038   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12039   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12041 $as_echo "yes" >&6; }
12042 else
12043 # FIXME - insert some real tests, host_os isn't really good enough
12044   case $host_os in
12045   darwin*)
12046     if test -n "$STRIP"; then
12047       striplib="$STRIP -x"
12048       old_striplib="$STRIP -S"
12049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12050 $as_echo "yes" >&6; }
12051     else
12052       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12053 $as_echo "no" >&6; }
12054     fi
12055     ;;
12056   *)
12057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12059     ;;
12060   esac
12061 fi
12062
12063     
12064     
12065     
12066
12067
12068     
12069     
12070     
12071
12072
12073
12074   # Report what library types will actually be built
12075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12076 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12078 $as_echo "$can_build_shared" >&6; }
12079
12080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12081 $as_echo_n "checking whether to build shared libraries... " >&6; }
12082   test no = "$can_build_shared" && enable_shared=no
12083
12084   # On AIX, shared libraries and static libraries use the same namespace, and
12085   # are all built from PIC.
12086   case $host_os in
12087   aix3*)
12088     test yes = "$enable_shared" && enable_static=no
12089     if test -n "$RANLIB"; then
12090       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12091       postinstall_cmds='$RANLIB $lib'
12092     fi
12093     ;;
12094
12095   aix[4-9]*)
12096     if test ia64 != "$host_cpu"; then
12097       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12098       yes,aix,yes) ;;                   # shared object as lib.so file only
12099       yes,svr4,*) ;;                    # shared object as lib.so archive member only
12100       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
12101       esac
12102     fi
12103     ;;
12104   esac
12105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12106 $as_echo "$enable_shared" >&6; }
12107
12108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12109 $as_echo_n "checking whether to build static libraries... " >&6; }
12110   # Make sure either enable_shared or enable_static is yes.
12111   test yes = "$enable_shared" || enable_static=yes
12112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12113 $as_echo "$enable_static" >&6; }
12114
12115   
12116
12117
12118 fi
12119 ac_ext=c
12120 ac_cpp='$CPP $CPPFLAGS'
12121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12124
12125 CC=$lt_save_CC
12126
12127
12128
12129
12130
12131
12132
12133
12134        
12135        
12136
12137
12138
12139
12140
12141         ac_config_commands="$ac_config_commands libtool"
12142
12143
12144
12145
12146 # Only expand once:
12147
12148
12149
12150 ac_config_files="$ac_config_files Makefile src/Makefile"
12151
12152
12153 #AC_CONFIG_HEADERS([config.h])
12154
12155 # Checks for programs.
12156 ac_ext=cpp
12157 ac_cpp='$CXXCPP $CPPFLAGS'
12158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12161 if test -z "$CXX"; then
12162   if test -n "$CCC"; then
12163     CXX=$CCC
12164   else
12165     if test -n "$ac_tool_prefix"; then
12166   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12167   do
12168     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12171 $as_echo_n "checking for $ac_word... " >&6; }
12172 if ${ac_cv_prog_CXX+:} false; then :
12173   $as_echo_n "(cached) " >&6
12174 else
12175   if test -n "$CXX"; then
12176   ac_cv_prog_CXX="$CXX" # Let the user override the test.
12177 else
12178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12179 for as_dir in $PATH
12180 do
12181   IFS=$as_save_IFS
12182   test -z "$as_dir" && as_dir=.
12183     for ac_exec_ext in '' $ac_executable_extensions; do
12184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12185     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187     break 2
12188   fi
12189 done
12190   done
12191 IFS=$as_save_IFS
12192
12193 fi
12194 fi
12195 CXX=$ac_cv_prog_CXX
12196 if test -n "$CXX"; then
12197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12198 $as_echo "$CXX" >&6; }
12199 else
12200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12201 $as_echo "no" >&6; }
12202 fi
12203
12204
12205     test -n "$CXX" && break
12206   done
12207 fi
12208 if test -z "$CXX"; then
12209   ac_ct_CXX=$CXX
12210   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12211 do
12212   # Extract the first word of "$ac_prog", so it can be a program name with args.
12213 set dummy $ac_prog; ac_word=$2
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12215 $as_echo_n "checking for $ac_word... " >&6; }
12216 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12217   $as_echo_n "(cached) " >&6
12218 else
12219   if test -n "$ac_ct_CXX"; then
12220   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12221 else
12222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223 for as_dir in $PATH
12224 do
12225   IFS=$as_save_IFS
12226   test -z "$as_dir" && as_dir=.
12227     for ac_exec_ext in '' $ac_executable_extensions; do
12228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12229     ac_cv_prog_ac_ct_CXX="$ac_prog"
12230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12231     break 2
12232   fi
12233 done
12234   done
12235 IFS=$as_save_IFS
12236
12237 fi
12238 fi
12239 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12240 if test -n "$ac_ct_CXX"; then
12241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12242 $as_echo "$ac_ct_CXX" >&6; }
12243 else
12244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245 $as_echo "no" >&6; }
12246 fi
12247
12248
12249   test -n "$ac_ct_CXX" && break
12250 done
12251
12252   if test "x$ac_ct_CXX" = x; then
12253     CXX="g++"
12254   else
12255     case $cross_compiling:$ac_tool_warned in
12256 yes:)
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12259 ac_tool_warned=yes ;;
12260 esac
12261     CXX=$ac_ct_CXX
12262   fi
12263 fi
12264
12265   fi
12266 fi
12267 # Provide some information about the compiler.
12268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12269 set X $ac_compile
12270 ac_compiler=$2
12271 for ac_option in --version -v -V -qversion; do
12272   { { ac_try="$ac_compiler $ac_option >&5"
12273 case "(($ac_try" in
12274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275   *) ac_try_echo=$ac_try;;
12276 esac
12277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12278 $as_echo "$ac_try_echo"; } >&5
12279   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12280   ac_status=$?
12281   if test -s conftest.err; then
12282     sed '10a\
12283 ... rest of stderr output deleted ...
12284          10q' conftest.err >conftest.er1
12285     cat conftest.er1 >&5
12286   fi
12287   rm -f conftest.er1 conftest.err
12288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289   test $ac_status = 0; }
12290 done
12291
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12294 if ${ac_cv_cxx_compiler_gnu+:} false; then :
12295   $as_echo_n "(cached) " >&6
12296 else
12297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h.  */
12299
12300 int
12301 main ()
12302 {
12303 #ifndef __GNUC__
12304        choke me
12305 #endif
12306
12307   ;
12308   return 0;
12309 }
12310 _ACEOF
12311 if ac_fn_cxx_try_compile "$LINENO"; then :
12312   ac_compiler_gnu=yes
12313 else
12314   ac_compiler_gnu=no
12315 fi
12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12318
12319 fi
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12322 if test $ac_compiler_gnu = yes; then
12323   GXX=yes
12324 else
12325   GXX=
12326 fi
12327 ac_test_CXXFLAGS=${CXXFLAGS+set}
12328 ac_save_CXXFLAGS=$CXXFLAGS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12331 if ${ac_cv_prog_cxx_g+:} false; then :
12332   $as_echo_n "(cached) " >&6
12333 else
12334   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12335    ac_cxx_werror_flag=yes
12336    ac_cv_prog_cxx_g=no
12337    CXXFLAGS="-g"
12338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h.  */
12340
12341 int
12342 main ()
12343 {
12344
12345   ;
12346   return 0;
12347 }
12348 _ACEOF
12349 if ac_fn_cxx_try_compile "$LINENO"; then :
12350   ac_cv_prog_cxx_g=yes
12351 else
12352   CXXFLAGS=""
12353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h.  */
12355
12356 int
12357 main ()
12358 {
12359
12360   ;
12361   return 0;
12362 }
12363 _ACEOF
12364 if ac_fn_cxx_try_compile "$LINENO"; then :
12365   
12366 else
12367   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12368          CXXFLAGS="-g"
12369          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h.  */
12371
12372 int
12373 main ()
12374 {
12375
12376   ;
12377   return 0;
12378 }
12379 _ACEOF
12380 if ac_fn_cxx_try_compile "$LINENO"; then :
12381   ac_cv_prog_cxx_g=yes
12382 fi
12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12384 fi
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12388    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12389 fi
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12392 if test "$ac_test_CXXFLAGS" = set; then
12393   CXXFLAGS=$ac_save_CXXFLAGS
12394 elif test $ac_cv_prog_cxx_g = yes; then
12395   if test "$GXX" = yes; then
12396     CXXFLAGS="-g -O2"
12397   else
12398     CXXFLAGS="-g"
12399   fi
12400 else
12401   if test "$GXX" = yes; then
12402     CXXFLAGS="-O2"
12403   else
12404     CXXFLAGS=
12405   fi
12406 fi
12407 ac_ext=c
12408 ac_cpp='$CPP $CPPFLAGS'
12409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12412
12413 depcc="$CXX"  am_compiler_list=
12414
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12416 $as_echo_n "checking dependency style of $depcc... " >&6; }
12417 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12418   $as_echo_n "(cached) " >&6
12419 else
12420   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12421   # We make a subdir and do the tests there.  Otherwise we can end up
12422   # making bogus files that we don't know about and never remove.  For
12423   # instance it was reported that on HP-UX the gcc test will end up
12424   # making a dummy file named 'D' -- because '-MD' means "put the output
12425   # in D".
12426   rm -rf conftest.dir
12427   mkdir conftest.dir
12428   # Copy depcomp to subdir because otherwise we won't find it if we're
12429   # using a relative directory.
12430   cp "$am_depcomp" conftest.dir
12431   cd conftest.dir
12432   # We will build objects and dependencies in a subdirectory because
12433   # it helps to detect inapplicable dependency modes.  For instance
12434   # both Tru64's cc and ICC support -MD to output dependencies as a
12435   # side effect of compilation, but ICC will put the dependencies in
12436   # the current directory while Tru64 will put them in the object
12437   # directory.
12438   mkdir sub
12439
12440   am_cv_CXX_dependencies_compiler_type=none
12441   if test "$am_compiler_list" = ""; then
12442      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12443   fi
12444   am__universal=false
12445   case " $depcc " in #(
12446      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12447      esac
12448
12449   for depmode in $am_compiler_list; do
12450     # Setup a source with many dependencies, because some compilers
12451     # like to wrap large dependency lists on column 80 (with \), and
12452     # we should not choose a depcomp mode which is confused by this.
12453     #
12454     # We need to recreate these files for each test, as the compiler may
12455     # overwrite some of them when testing with obscure command lines.
12456     # This happens at least with the AIX C compiler.
12457     : > sub/conftest.c
12458     for i in 1 2 3 4 5 6; do
12459       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12460       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12461       # Solaris 10 /bin/sh.
12462       echo '/* dummy */' > sub/conftst$i.h
12463     done
12464     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12465
12466     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12467     # mode.  It turns out that the SunPro C++ compiler does not properly
12468     # handle '-M -o', and we need to detect this.  Also, some Intel
12469     # versions had trouble with output in subdirs.
12470     am__obj=sub/conftest.${OBJEXT-o}
12471     am__minus_obj="-o $am__obj"
12472     case $depmode in
12473     gcc)
12474       # This depmode causes a compiler race in universal mode.
12475       test "$am__universal" = false || continue
12476       ;;
12477     nosideeffect)
12478       # After this tag, mechanisms are not by side-effect, so they'll
12479       # only be used when explicitly requested.
12480       if test "x$enable_dependency_tracking" = xyes; then
12481         continue
12482       else
12483         break
12484       fi
12485       ;;
12486     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12487       # This compiler won't grok '-c -o', but also, the minuso test has
12488       # not run yet.  These depmodes are late enough in the game, and
12489       # so weak that their functioning should not be impacted.
12490       am__obj=conftest.${OBJEXT-o}
12491       am__minus_obj=
12492       ;;
12493     none) break ;;
12494     esac
12495     if depmode=$depmode \
12496        source=sub/conftest.c object=$am__obj \
12497        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12498        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12499          >/dev/null 2>conftest.err &&
12500        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12501        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12502        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12503        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12504       # icc doesn't choke on unknown options, it will just issue warnings
12505       # or remarks (even with -Werror).  So we grep stderr for any message
12506       # that says an option was ignored or not supported.
12507       # When given -MP, icc 7.0 and 7.1 complain thusly:
12508       #   icc: Command line warning: ignoring option '-M'; no argument required
12509       # The diagnosis changed in icc 8.0:
12510       #   icc: Command line remark: option '-MP' not supported
12511       if (grep 'ignoring option' conftest.err ||
12512           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12513         am_cv_CXX_dependencies_compiler_type=$depmode
12514         break
12515       fi
12516     fi
12517   done
12518
12519   cd ..
12520   rm -rf conftest.dir
12521 else
12522   am_cv_CXX_dependencies_compiler_type=none
12523 fi
12524
12525 fi
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12527 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12528 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12529
12530  if 
12531   test "x$enable_dependency_tracking" != xno \
12532   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12533   am__fastdepCXX_TRUE=
12534   am__fastdepCXX_FALSE='#'
12535 else
12536   am__fastdepCXX_TRUE='#'
12537   am__fastdepCXX_FALSE=
12538 fi
12539
12540
12541
12542
12543 func_stripname_cnf ()
12544 {
12545   case @S|@2 in
12546   .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
12547   *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
12548   esac
12549 } # func_stripname_cnf
12550
12551       if test -n "$CXX" && ( test no != "$CXX" &&
12552     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12553     (test g++ != "$CXX"))); then
12554   ac_ext=cpp
12555 ac_cpp='$CXXCPP $CPPFLAGS'
12556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12560 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12561 if test -z "$CXXCPP"; then
12562   if ${ac_cv_prog_CXXCPP+:} false; then :
12563   $as_echo_n "(cached) " >&6
12564 else
12565       # Double quotes because CXXCPP needs to be expanded
12566     for CXXCPP in "$CXX -E" "/lib/cpp"
12567     do
12568       ac_preproc_ok=false
12569 for ac_cxx_preproc_warn_flag in '' yes
12570 do
12571   # Use a header file that comes with gcc, so configuring glibc
12572   # with a fresh cross-compiler works.
12573   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12574   # <limits.h> exists even on freestanding compilers.
12575   # On the NeXT, cc -E runs the code through the compiler's parser,
12576   # not just through cpp. "Syntax error" is here to catch this case.
12577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h.  */
12579 @%:@ifdef __STDC__
12580 @%:@ include <limits.h>
12581 @%:@else
12582 @%:@ include <assert.h>
12583 @%:@endif
12584                      Syntax error
12585 _ACEOF
12586 if ac_fn_cxx_try_cpp "$LINENO"; then :
12587   
12588 else
12589   # Broken: fails on valid input.
12590 continue
12591 fi
12592 rm -f conftest.err conftest.i conftest.$ac_ext
12593
12594   # OK, works on sane cases.  Now check whether nonexistent headers
12595   # can be detected and how.
12596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h.  */
12598 @%:@include <ac_nonexistent.h>
12599 _ACEOF
12600 if ac_fn_cxx_try_cpp "$LINENO"; then :
12601   # Broken: success on invalid input.
12602 continue
12603 else
12604   # Passes both tests.
12605 ac_preproc_ok=:
12606 break
12607 fi
12608 rm -f conftest.err conftest.i conftest.$ac_ext
12609
12610 done
12611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12612 rm -f conftest.i conftest.err conftest.$ac_ext
12613 if $ac_preproc_ok; then :
12614   break
12615 fi
12616
12617     done
12618     ac_cv_prog_CXXCPP=$CXXCPP
12619   
12620 fi
12621   CXXCPP=$ac_cv_prog_CXXCPP
12622 else
12623   ac_cv_prog_CXXCPP=$CXXCPP
12624 fi
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12626 $as_echo "$CXXCPP" >&6; }
12627 ac_preproc_ok=false
12628 for ac_cxx_preproc_warn_flag in '' yes
12629 do
12630   # Use a header file that comes with gcc, so configuring glibc
12631   # with a fresh cross-compiler works.
12632   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12633   # <limits.h> exists even on freestanding compilers.
12634   # On the NeXT, cc -E runs the code through the compiler's parser,
12635   # not just through cpp. "Syntax error" is here to catch this case.
12636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h.  */
12638 @%:@ifdef __STDC__
12639 @%:@ include <limits.h>
12640 @%:@else
12641 @%:@ include <assert.h>
12642 @%:@endif
12643                      Syntax error
12644 _ACEOF
12645 if ac_fn_cxx_try_cpp "$LINENO"; then :
12646   
12647 else
12648   # Broken: fails on valid input.
12649 continue
12650 fi
12651 rm -f conftest.err conftest.i conftest.$ac_ext
12652
12653   # OK, works on sane cases.  Now check whether nonexistent headers
12654   # can be detected and how.
12655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h.  */
12657 @%:@include <ac_nonexistent.h>
12658 _ACEOF
12659 if ac_fn_cxx_try_cpp "$LINENO"; then :
12660   # Broken: success on invalid input.
12661 continue
12662 else
12663   # Passes both tests.
12664 ac_preproc_ok=:
12665 break
12666 fi
12667 rm -f conftest.err conftest.i conftest.$ac_ext
12668
12669 done
12670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12671 rm -f conftest.i conftest.err conftest.$ac_ext
12672 if $ac_preproc_ok; then :
12673   
12674 else
12675   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12677 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12678 See \`config.log' for more details" "$LINENO" 5; }
12679 fi
12680
12681 ac_ext=c
12682 ac_cpp='$CPP $CPPFLAGS'
12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12686
12687 else
12688   _lt_caught_CXX_error=yes
12689 fi
12690
12691 ac_ext=cpp
12692 ac_cpp='$CXXCPP $CPPFLAGS'
12693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12696
12697 archive_cmds_need_lc_CXX=no
12698 allow_undefined_flag_CXX=
12699 always_export_symbols_CXX=no
12700 archive_expsym_cmds_CXX=
12701 compiler_needs_object_CXX=no
12702 export_dynamic_flag_spec_CXX=
12703 hardcode_direct_CXX=no
12704 hardcode_direct_absolute_CXX=no
12705 hardcode_libdir_flag_spec_CXX=
12706 hardcode_libdir_separator_CXX=
12707 hardcode_minus_L_CXX=no
12708 hardcode_shlibpath_var_CXX=unsupported
12709 hardcode_automatic_CXX=no
12710 inherit_rpath_CXX=no
12711 module_cmds_CXX=
12712 module_expsym_cmds_CXX=
12713 link_all_deplibs_CXX=unknown
12714 old_archive_cmds_CXX=$old_archive_cmds
12715 reload_flag_CXX=$reload_flag
12716 reload_cmds_CXX=$reload_cmds
12717 no_undefined_flag_CXX=
12718 whole_archive_flag_spec_CXX=
12719 enable_shared_with_static_runtimes_CXX=no
12720
12721 # Source file extension for C++ test sources.
12722 ac_ext=cpp
12723
12724 # Object file extension for compiled C++ test sources.
12725 objext=o
12726 objext_CXX=$objext
12727
12728 # No sense in running all these tests if we already determined that
12729 # the CXX compiler isn't working.  Some variables (like enable_shared)
12730 # are currently assumed to apply to all compilers on this platform,
12731 # and will be corrupted by setting them based on a non-working compiler.
12732 if test yes != "$_lt_caught_CXX_error"; then
12733   # Code to be used in simple compile tests
12734   lt_simple_compile_test_code="int some_variable = 0;"
12735
12736   # Code to be used in simple link tests
12737   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12738
12739   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12740   
12741
12742
12743
12744
12745
12746 # If no C compiler was specified, use CC.
12747 LTCC=${LTCC-"$CC"}
12748
12749 # If no C compiler flags were specified, use CFLAGS.
12750 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12751
12752 # Allow CC to be a program name with arguments.
12753 compiler=$CC
12754
12755
12756   # save warnings/boilerplate of simple test code
12757   ac_outfile=conftest.$ac_objext
12758 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12759 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12760 _lt_compiler_boilerplate=`cat conftest.err`
12761 $RM conftest*
12762
12763   ac_outfile=conftest.$ac_objext
12764 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12765 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12766 _lt_linker_boilerplate=`cat conftest.err`
12767 $RM -r conftest*
12768
12769
12770   # Allow CC to be a program name with arguments.
12771   lt_save_CC=$CC
12772   lt_save_CFLAGS=$CFLAGS
12773   lt_save_LD=$LD
12774   lt_save_GCC=$GCC
12775   GCC=$GXX
12776   lt_save_with_gnu_ld=$with_gnu_ld
12777   lt_save_path_LD=$lt_cv_path_LD
12778   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12779     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12780   else
12781     $as_unset lt_cv_prog_gnu_ld
12782   fi
12783   if test -n "${lt_cv_path_LDCXX+set}"; then
12784     lt_cv_path_LD=$lt_cv_path_LDCXX
12785   else
12786     $as_unset lt_cv_path_LD
12787   fi
12788   test -z "${LDCXX+set}" || LD=$LDCXX
12789   CC=${CXX-"c++"}
12790   CFLAGS=$CXXFLAGS
12791   compiler=$CC
12792   compiler_CXX=$CC
12793   func_cc_basename $compiler
12794 cc_basename=$func_cc_basename_result
12795
12796
12797   if test -n "$compiler"; then
12798     # We don't want -fno-exception when compiling C++ code, so set the
12799     # no_builtin_flag separately
12800     if test yes = "$GXX"; then
12801       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12802     else
12803       lt_prog_compiler_no_builtin_flag_CXX=
12804     fi
12805
12806     if test yes = "$GXX"; then
12807       # Set up default GNU C++ configuration
12808
12809       
12810
12811 @%:@ Check whether --with-gnu-ld was given.
12812 if test "${with_gnu_ld+set}" = set; then :
12813   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
12814 else
12815   with_gnu_ld=no
12816 fi
12817
12818 ac_prog=ld
12819 if test yes = "$GCC"; then
12820   # Check if gcc -print-prog-name=ld gives a path.
12821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12822 $as_echo_n "checking for ld used by $CC... " >&6; }
12823   case $host in
12824   *-*-mingw*)
12825     # gcc leaves a trailing carriage return, which upsets mingw
12826     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12827   *)
12828     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12829   esac
12830   case $ac_prog in
12831     # Accept absolute paths.
12832     [\\/]* | ?:[\\/]*)
12833       re_direlt='/[^/][^/]*/\.\./'
12834       # Canonicalize the pathname of ld
12835       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12836       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12837         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12838       done
12839       test -z "$LD" && LD=$ac_prog
12840       ;;
12841   "")
12842     # If it fails, then pretend we aren't using GCC.
12843     ac_prog=ld
12844     ;;
12845   *)
12846     # If it is relative, then search for the first ld in PATH.
12847     with_gnu_ld=unknown
12848     ;;
12849   esac
12850 elif test yes = "$with_gnu_ld"; then
12851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12852 $as_echo_n "checking for GNU ld... " >&6; }
12853 else
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12855 $as_echo_n "checking for non-GNU ld... " >&6; }
12856 fi
12857 if ${lt_cv_path_LD+:} false; then :
12858   $as_echo_n "(cached) " >&6
12859 else
12860   if test -z "$LD"; then
12861   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12862   for ac_dir in $PATH; do
12863     IFS=$lt_save_ifs
12864     test -z "$ac_dir" && ac_dir=.
12865     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12866       lt_cv_path_LD=$ac_dir/$ac_prog
12867       # Check to see if the program is GNU ld.  I'd rather use --version,
12868       # but apparently some variants of GNU ld only accept -v.
12869       # Break only if it was the GNU/non-GNU ld that we prefer.
12870       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12871       *GNU* | *'with BFD'*)
12872         test no != "$with_gnu_ld" && break
12873         ;;
12874       *)
12875         test yes != "$with_gnu_ld" && break
12876         ;;
12877       esac
12878     fi
12879   done
12880   IFS=$lt_save_ifs
12881 else
12882   lt_cv_path_LD=$LD # Let the user override the test with a path.
12883 fi
12884 fi
12885
12886 LD=$lt_cv_path_LD
12887 if test -n "$LD"; then
12888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12889 $as_echo "$LD" >&6; }
12890 else
12891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12892 $as_echo "no" >&6; }
12893 fi
12894 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12896 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12897 if ${lt_cv_prog_gnu_ld+:} false; then :
12898   $as_echo_n "(cached) " >&6
12899 else
12900   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12901 case `$LD -v 2>&1 </dev/null` in
12902 *GNU* | *'with BFD'*)
12903   lt_cv_prog_gnu_ld=yes
12904   ;;
12905 *)
12906   lt_cv_prog_gnu_ld=no
12907   ;;
12908 esac
12909 fi
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12911 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12912 with_gnu_ld=$lt_cv_prog_gnu_ld
12913
12914
12915
12916
12917
12918
12919
12920       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12921       # archiving commands below assume that GNU ld is being used.
12922       if test yes = "$with_gnu_ld"; then
12923         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
12924         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'
12925
12926         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
12927         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
12928
12929         # If archive_cmds runs LD, not CC, wlarc should be empty
12930         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12931         #     investigate it a little bit more. (MM)
12932         wlarc='$wl'
12933
12934         # ancient GNU ld didn't support --whole-archive et. al.
12935         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12936           $GREP 'no-whole-archive' > /dev/null; then
12937           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12938         else
12939           whole_archive_flag_spec_CXX=
12940         fi
12941       else
12942         with_gnu_ld=no
12943         wlarc=
12944
12945         # A generic and very simple default shared library creation
12946         # command for GNU C++ for the case where it uses the native
12947         # linker, instead of GNU ld.  If possible, this setting should
12948         # overridden to take advantage of the native linker features on
12949         # the platform it is being used on.
12950         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12951       fi
12952
12953       # Commands to make compiler produce verbose output that lists
12954       # what "hidden" libraries, object files and flags are used when
12955       # linking a shared library.
12956       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12957
12958     else
12959       GXX=no
12960       with_gnu_ld=no
12961       wlarc=
12962     fi
12963
12964     # PORTME: fill in a description of your system's C++ link characteristics
12965     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12966 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12967     ld_shlibs_CXX=yes
12968     case $host_os in
12969       aix3*)
12970         # FIXME: insert proper C++ library support
12971         ld_shlibs_CXX=no
12972         ;;
12973       aix[4-9]*)
12974         if test ia64 = "$host_cpu"; then
12975           # On IA64, the linker does run time linking by default, so we don't
12976           # have to do anything special.
12977           aix_use_runtimelinking=no
12978           exp_sym_flag='-Bexport'
12979           no_entry_flag=
12980         else
12981           aix_use_runtimelinking=no
12982
12983           # Test if we are trying to use run time linking or normal
12984           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12985           # have runtime linking enabled, and use it for executables.
12986           # For shared libraries, we enable/disable runtime linking
12987           # depending on the kind of the shared library created -
12988           # when "with_aix_soname,aix_use_runtimelinking" is:
12989           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
12990           # "aix,yes"  lib.so          shared, rtl:yes, for executables
12991           #            lib.a           static archive
12992           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
12993           #            lib.a(lib.so.V) shared, rtl:no,  for executables
12994           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12995           #            lib.a(lib.so.V) shared, rtl:no
12996           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
12997           #            lib.a           static archive
12998           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12999             for ld_flag in $LDFLAGS; do
13000               case $ld_flag in
13001               *-brtl*)
13002                 aix_use_runtimelinking=yes
13003                 break
13004                 ;;
13005               esac
13006             done
13007             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13008               # With aix-soname=svr4, we create the lib.so.V shared archives only,
13009               # so we don't have lib.a shared libs to link our executables.
13010               # We have to force runtime linking in this case.
13011               aix_use_runtimelinking=yes
13012               LDFLAGS="$LDFLAGS -Wl,-brtl"
13013             fi
13014             ;;
13015           esac
13016
13017           exp_sym_flag='-bexport'
13018           no_entry_flag='-bnoentry'
13019         fi
13020
13021         # When large executables or shared objects are built, AIX ld can
13022         # have problems creating the table of contents.  If linking a library
13023         # or program results in "error TOC overflow" add -mminimal-toc to
13024         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13025         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13026
13027         archive_cmds_CXX=''
13028         hardcode_direct_CXX=yes
13029         hardcode_direct_absolute_CXX=yes
13030         hardcode_libdir_separator_CXX=':'
13031         link_all_deplibs_CXX=yes
13032         file_list_spec_CXX='$wl-f,'
13033         case $with_aix_soname,$aix_use_runtimelinking in
13034         aix,*) ;;       # no import file
13035         svr4,* | *,yes) # use import file
13036           # The Import File defines what to hardcode.
13037           hardcode_direct_CXX=no
13038           hardcode_direct_absolute_CXX=no
13039           ;;
13040         esac
13041
13042         if test yes = "$GXX"; then
13043           case $host_os in aix4.[012]|aix4.[012].*)
13044           # We only want to do this on AIX 4.2 and lower, the check
13045           # below for broken collect2 doesn't work under 4.3+
13046           collect2name=`$CC -print-prog-name=collect2`
13047           if test -f "$collect2name" &&
13048              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13049           then
13050             # We have reworked collect2
13051             :
13052           else
13053             # We have old collect2
13054             hardcode_direct_CXX=unsupported
13055             # It fails to find uninstalled libraries when the uninstalled
13056             # path is not listed in the libpath.  Setting hardcode_minus_L
13057             # to unsupported forces relinking
13058             hardcode_minus_L_CXX=yes
13059             hardcode_libdir_flag_spec_CXX='-L$libdir'
13060             hardcode_libdir_separator_CXX=
13061           fi
13062           esac
13063           shared_flag='-shared'
13064           if test yes = "$aix_use_runtimelinking"; then
13065             shared_flag=$shared_flag' $wl-G'
13066           fi
13067           # Need to ensure runtime linking is disabled for the traditional
13068           # shared library, or the linker may eventually find shared libraries
13069           # /with/ Import File - we do not want to mix them.
13070           shared_flag_aix='-shared'
13071           shared_flag_svr4='-shared $wl-G'
13072         else
13073           # not using gcc
13074           if test ia64 = "$host_cpu"; then
13075           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13076           # chokes on -Wl,-G. The following line is correct:
13077           shared_flag='-G'
13078           else
13079             if test yes = "$aix_use_runtimelinking"; then
13080               shared_flag='$wl-G'
13081             else
13082               shared_flag='$wl-bM:SRE'
13083             fi
13084             shared_flag_aix='$wl-bM:SRE'
13085             shared_flag_svr4='$wl-G'
13086           fi
13087         fi
13088
13089         export_dynamic_flag_spec_CXX='$wl-bexpall'
13090         # It seems that -bexpall does not export symbols beginning with
13091         # underscore (_), so it is better to generate a list of symbols to
13092         # export.
13093         always_export_symbols_CXX=yes
13094         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13095           # Warning - without using the other runtime loading flags (-brtl),
13096           # -berok will link without error, but may produce a broken library.
13097           # The "-G" linker flag allows undefined symbols.
13098           no_undefined_flag_CXX='-bernotok'
13099           # Determine the default libpath from the value encoded in an empty
13100           # executable.
13101           if test set = "${lt_cv_aix_libpath+set}"; then
13102   aix_libpath=$lt_cv_aix_libpath
13103 else
13104   if ${lt_cv_aix_libpath__CXX+:} false; then :
13105   $as_echo_n "(cached) " >&6
13106 else
13107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h.  */
13109
13110 int
13111 main ()
13112 {
13113
13114   ;
13115   return 0;
13116 }
13117 _ACEOF
13118 if ac_fn_cxx_try_link "$LINENO"; then :
13119   
13120   lt_aix_libpath_sed='
13121       /Import File Strings/,/^$/ {
13122           /^0/ {
13123               s/^0  *\([^ ]*\) *$/\1/
13124               p
13125           }
13126       }'
13127   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13128   # Check for a 64-bit object if we didn't find anything.
13129   if test -z "$lt_cv_aix_libpath__CXX"; then
13130     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13131   fi
13132 fi
13133 rm -f core conftest.err conftest.$ac_objext \
13134     conftest$ac_exeext conftest.$ac_ext
13135   if test -z "$lt_cv_aix_libpath__CXX"; then
13136     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13137   fi
13138   
13139 fi
13140
13141   aix_libpath=$lt_cv_aix_libpath__CXX
13142 fi
13143
13144           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13145
13146           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
13147         else
13148           if test ia64 = "$host_cpu"; then
13149             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13150             allow_undefined_flag_CXX="-z nodefs"
13151             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"
13152           else
13153             # Determine the default libpath from the value encoded in an
13154             # empty executable.
13155             if test set = "${lt_cv_aix_libpath+set}"; then
13156   aix_libpath=$lt_cv_aix_libpath
13157 else
13158   if ${lt_cv_aix_libpath__CXX+:} false; then :
13159   $as_echo_n "(cached) " >&6
13160 else
13161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h.  */
13163
13164 int
13165 main ()
13166 {
13167
13168   ;
13169   return 0;
13170 }
13171 _ACEOF
13172 if ac_fn_cxx_try_link "$LINENO"; then :
13173   
13174   lt_aix_libpath_sed='
13175       /Import File Strings/,/^$/ {
13176           /^0/ {
13177               s/^0  *\([^ ]*\) *$/\1/
13178               p
13179           }
13180       }'
13181   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13182   # Check for a 64-bit object if we didn't find anything.
13183   if test -z "$lt_cv_aix_libpath__CXX"; then
13184     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13185   fi
13186 fi
13187 rm -f core conftest.err conftest.$ac_objext \
13188     conftest$ac_exeext conftest.$ac_ext
13189   if test -z "$lt_cv_aix_libpath__CXX"; then
13190     lt_cv_aix_libpath__CXX=/usr/lib:/lib
13191   fi
13192   
13193 fi
13194
13195   aix_libpath=$lt_cv_aix_libpath__CXX
13196 fi
13197
13198             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13199             # Warning - without using the other run time loading flags,
13200             # -berok will link without error, but may produce a broken library.
13201             no_undefined_flag_CXX=' $wl-bernotok'
13202             allow_undefined_flag_CXX=' $wl-berok'
13203             if test yes = "$with_gnu_ld"; then
13204               # We only use this code for GNU lds that support --whole-archive.
13205               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13206             else
13207               # Exported symbols can be pulled into shared objects from archives
13208               whole_archive_flag_spec_CXX='$convenience'
13209             fi
13210             archive_cmds_need_lc_CXX=yes
13211             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13212             # -brtl affects multiple linker settings, -berok does not and is overridden later
13213             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13214             if test svr4 != "$with_aix_soname"; then
13215               # This is similar to how AIX traditionally builds its shared
13216               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13217               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'
13218             fi
13219             if test aix != "$with_aix_soname"; then
13220               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'
13221             else
13222               # used by -dlpreopen to get the symbols
13223               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
13224             fi
13225             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13226           fi
13227         fi
13228         ;;
13229
13230       beos*)
13231         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13232           allow_undefined_flag_CXX=unsupported
13233           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13234           # support --undefined.  This deserves some investigation.  FIXME
13235           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13236         else
13237           ld_shlibs_CXX=no
13238         fi
13239         ;;
13240
13241       chorus*)
13242         case $cc_basename in
13243           *)
13244           # FIXME: insert proper C++ library support
13245           ld_shlibs_CXX=no
13246           ;;
13247         esac
13248         ;;
13249
13250       cygwin* | mingw* | pw32* | cegcc*)
13251         case $GXX,$cc_basename in
13252         ,cl* | no,cl*)
13253           # Native MSVC
13254           # hardcode_libdir_flag_spec is actually meaningless, as there is
13255           # no search path for DLLs.
13256           hardcode_libdir_flag_spec_CXX=' '
13257           allow_undefined_flag_CXX=unsupported
13258           always_export_symbols_CXX=yes
13259           file_list_spec_CXX='@'
13260           # Tell ltmain to make .lib files, not .a files.
13261           libext=lib
13262           # Tell ltmain to make .dll files, not .so files.
13263           shrext_cmds=.dll
13264           # FIXME: Setting linknames here is a bad hack.
13265           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13266           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13267               cp "$export_symbols" "$output_objdir/$soname.def";
13268               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13269             else
13270               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13271             fi~
13272             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13273             linknames='
13274           # The linker will not automatically build a static lib if we build a DLL.
13275           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13276           enable_shared_with_static_runtimes_CXX=yes
13277           # Don't use ranlib
13278           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13279           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13280             lt_tool_outputfile="@TOOL_OUTPUT@"~
13281             case $lt_outputfile in
13282               *.exe|*.EXE) ;;
13283               *)
13284                 lt_outputfile=$lt_outputfile.exe
13285                 lt_tool_outputfile=$lt_tool_outputfile.exe
13286                 ;;
13287             esac~
13288             func_to_tool_file "$lt_outputfile"~
13289             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13290               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13291               $RM "$lt_outputfile.manifest";
13292             fi'
13293           ;;
13294         *)
13295           # g++
13296           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13297           # as there is no search path for DLLs.
13298           hardcode_libdir_flag_spec_CXX='-L$libdir'
13299           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13300           allow_undefined_flag_CXX=unsupported
13301           always_export_symbols_CXX=no
13302           enable_shared_with_static_runtimes_CXX=yes
13303
13304           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13305             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'
13306             # If the export-symbols file already is a .def file, use it as
13307             # is; otherwise, prepend EXPORTS...
13308             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
13309               cp $export_symbols $output_objdir/$soname.def;
13310             else
13311               echo EXPORTS > $output_objdir/$soname.def;
13312               cat $export_symbols >> $output_objdir/$soname.def;
13313             fi~
13314             $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'
13315           else
13316             ld_shlibs_CXX=no
13317           fi
13318           ;;
13319         esac
13320         ;;
13321       darwin* | rhapsody*)
13322         
13323   
13324   archive_cmds_need_lc_CXX=no
13325   hardcode_direct_CXX=no
13326   hardcode_automatic_CXX=yes
13327   hardcode_shlibpath_var_CXX=unsupported
13328   if test yes = "$lt_cv_ld_force_load"; then
13329     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\"`'
13330     
13331   else
13332     whole_archive_flag_spec_CXX=''
13333   fi
13334   link_all_deplibs_CXX=yes
13335   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13336   case $cc_basename in
13337      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13338      *) _lt_dar_can_shared=$GCC ;;
13339   esac
13340   if test yes = "$_lt_dar_can_shared"; then
13341     output_verbose_link_cmd=func_echo_all
13342     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"
13343     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13344     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"
13345     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"
13346        if test yes != "$lt_cv_apple_cc_single_mod"; then
13347       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"
13348       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"
13349     fi
13350
13351   else
13352   ld_shlibs_CXX=no
13353   fi
13354
13355         ;;
13356
13357       os2*)
13358         hardcode_libdir_flag_spec_CXX='-L$libdir'
13359         hardcode_minus_L_CXX=yes
13360         allow_undefined_flag_CXX=unsupported
13361         shrext_cmds=.dll
13362         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13363           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13364           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13365           $ECHO EXPORTS >> $output_objdir/$libname.def~
13366           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13367           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13368           emximp -o $lib $output_objdir/$libname.def'
13369         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13370           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13371           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13372           $ECHO EXPORTS >> $output_objdir/$libname.def~
13373           prefix_cmds="$SED"~
13374           if test EXPORTS = "`$SED 1q $export_symbols`"; then
13375             prefix_cmds="$prefix_cmds -e 1d";
13376           fi~
13377           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13378           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13379           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13380           emximp -o $lib $output_objdir/$libname.def'
13381         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13382         enable_shared_with_static_runtimes_CXX=yes
13383         ;;
13384
13385       dgux*)
13386         case $cc_basename in
13387           ec++*)
13388             # FIXME: insert proper C++ library support
13389             ld_shlibs_CXX=no
13390             ;;
13391           ghcx*)
13392             # Green Hills C++ Compiler
13393             # FIXME: insert proper C++ library support
13394             ld_shlibs_CXX=no
13395             ;;
13396           *)
13397             # FIXME: insert proper C++ library support
13398             ld_shlibs_CXX=no
13399             ;;
13400         esac
13401         ;;
13402
13403       freebsd2.*)
13404         # C++ shared libraries reported to be fairly broken before
13405         # switch to ELF
13406         ld_shlibs_CXX=no
13407         ;;
13408
13409       freebsd-elf*)
13410         archive_cmds_need_lc_CXX=no
13411         ;;
13412
13413       freebsd* | dragonfly*)
13414         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13415         # conventions
13416         ld_shlibs_CXX=yes
13417         ;;
13418
13419       haiku*)
13420         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13421         link_all_deplibs_CXX=yes
13422         ;;
13423
13424       hpux9*)
13425         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13426         hardcode_libdir_separator_CXX=:
13427         export_dynamic_flag_spec_CXX='$wl-E'
13428         hardcode_direct_CXX=yes
13429         hardcode_minus_L_CXX=yes # Not in the search PATH,
13430                                              # but as the default
13431                                              # location of the library.
13432
13433         case $cc_basename in
13434           CC*)
13435             # FIXME: insert proper C++ library support
13436             ld_shlibs_CXX=no
13437             ;;
13438           aCC*)
13439             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'
13440             # Commands to make compiler produce verbose output that lists
13441             # what "hidden" libraries, object files and flags are used when
13442             # linking a shared library.
13443             #
13444             # There doesn't appear to be a way to prevent this compiler from
13445             # explicitly linking system object files so we need to strip them
13446             # from the output so that they don't get included in the library
13447             # dependencies.
13448             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"'
13449             ;;
13450           *)
13451             if test yes = "$GXX"; then
13452               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'
13453             else
13454               # FIXME: insert proper C++ library support
13455               ld_shlibs_CXX=no
13456             fi
13457             ;;
13458         esac
13459         ;;
13460
13461       hpux10*|hpux11*)
13462         if test no = "$with_gnu_ld"; then
13463           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13464           hardcode_libdir_separator_CXX=:
13465
13466           case $host_cpu in
13467             hppa*64*|ia64*)
13468               ;;
13469             *)
13470               export_dynamic_flag_spec_CXX='$wl-E'
13471               ;;
13472           esac
13473         fi
13474         case $host_cpu in
13475           hppa*64*|ia64*)
13476             hardcode_direct_CXX=no
13477             hardcode_shlibpath_var_CXX=no
13478             ;;
13479           *)
13480             hardcode_direct_CXX=yes
13481             hardcode_direct_absolute_CXX=yes
13482             hardcode_minus_L_CXX=yes # Not in the search PATH,
13483                                                  # but as the default
13484                                                  # location of the library.
13485             ;;
13486         esac
13487
13488         case $cc_basename in
13489           CC*)
13490             # FIXME: insert proper C++ library support
13491             ld_shlibs_CXX=no
13492             ;;
13493           aCC*)
13494             case $host_cpu in
13495               hppa*64*)
13496                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13497                 ;;
13498               ia64*)
13499                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13500                 ;;
13501               *)
13502                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13503                 ;;
13504             esac
13505             # Commands to make compiler produce verbose output that lists
13506             # what "hidden" libraries, object files and flags are used when
13507             # linking a shared library.
13508             #
13509             # There doesn't appear to be a way to prevent this compiler from
13510             # explicitly linking system object files so we need to strip them
13511             # from the output so that they don't get included in the library
13512             # dependencies.
13513             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"'
13514             ;;
13515           *)
13516             if test yes = "$GXX"; then
13517               if test no = "$with_gnu_ld"; then
13518                 case $host_cpu in
13519                   hppa*64*)
13520                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13521                     ;;
13522                   ia64*)
13523                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13524                     ;;
13525                   *)
13526                     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'
13527                     ;;
13528                 esac
13529               fi
13530             else
13531               # FIXME: insert proper C++ library support
13532               ld_shlibs_CXX=no
13533             fi
13534             ;;
13535         esac
13536         ;;
13537
13538       interix[3-9]*)
13539         hardcode_direct_CXX=no
13540         hardcode_shlibpath_var_CXX=no
13541         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13542         export_dynamic_flag_spec_CXX='$wl-E'
13543         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13544         # Instead, shared libraries are loaded at an image base (0x10000000 by
13545         # default) and relocated if they conflict, which is a slow very memory
13546         # consuming and fragmenting process.  To avoid this, we pick a random,
13547         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13548         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13549         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'
13550         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'
13551         ;;
13552       irix5* | irix6*)
13553         case $cc_basename in
13554           CC*)
13555             # SGI C++
13556             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'
13557
13558             # Archives containing C++ object files must be created using
13559             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13560             # necessary to make sure instantiated templates are included
13561             # in the archive.
13562             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13563             ;;
13564           *)
13565             if test yes = "$GXX"; then
13566               if test no = "$with_gnu_ld"; then
13567                 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'
13568               else
13569                 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'
13570               fi
13571             fi
13572             link_all_deplibs_CXX=yes
13573             ;;
13574         esac
13575         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13576         hardcode_libdir_separator_CXX=:
13577         inherit_rpath_CXX=yes
13578         ;;
13579
13580       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13581         case $cc_basename in
13582           KCC*)
13583             # Kuck and Associates, Inc. (KAI) C++ Compiler
13584
13585             # KCC will only create a shared library if the output file
13586             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13587             # to its proper name (with version) after linking.
13588             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'
13589             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'
13590             # Commands to make compiler produce verbose output that lists
13591             # what "hidden" libraries, object files and flags are used when
13592             # linking a shared library.
13593             #
13594             # There doesn't appear to be a way to prevent this compiler from
13595             # explicitly linking system object files so we need to strip them
13596             # from the output so that they don't get included in the library
13597             # dependencies.
13598             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"'
13599
13600             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13601             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13602
13603             # Archives containing C++ object files must be created using
13604             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13605             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13606             ;;
13607           icpc* | ecpc* )
13608             # Intel C++
13609             with_gnu_ld=yes
13610             # version 8.0 and above of icpc choke on multiply defined symbols
13611             # if we add $predep_objects and $postdep_objects, however 7.1 and
13612             # earlier do not add the objects themselves.
13613             case `$CC -V 2>&1` in
13614               *"Version 7."*)
13615                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13616                 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'
13617                 ;;
13618               *)  # Version 8.0 or newer
13619                 tmp_idyn=
13620                 case $host_cpu in
13621                   ia64*) tmp_idyn=' -i_dynamic';;
13622                 esac
13623                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13624                 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'
13625                 ;;
13626             esac
13627             archive_cmds_need_lc_CXX=no
13628             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13629             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13630             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13631             ;;
13632           pgCC* | pgcpp*)
13633             # Portland Group C++ compiler
13634             case `$CC -V` in
13635             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13636               prelink_cmds_CXX='tpldir=Template.dir~
13637                rm -rf $tpldir~
13638                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13639                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13640               old_archive_cmds_CXX='tpldir=Template.dir~
13641                 rm -rf $tpldir~
13642                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13643                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13644                 $RANLIB $oldlib'
13645               archive_cmds_CXX='tpldir=Template.dir~
13646                 rm -rf $tpldir~
13647                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13648                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13649               archive_expsym_cmds_CXX='tpldir=Template.dir~
13650                 rm -rf $tpldir~
13651                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13652                 $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'
13653               ;;
13654             *) # Version 6 and above use weak symbols
13655               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13656               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'
13657               ;;
13658             esac
13659
13660             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
13661             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13662             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'
13663             ;;
13664           cxx*)
13665             # Compaq C++
13666             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13667             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'
13668
13669             runpath_var=LD_RUN_PATH
13670             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13671             hardcode_libdir_separator_CXX=:
13672
13673             # Commands to make compiler produce verbose output that lists
13674             # what "hidden" libraries, object files and flags are used when
13675             # linking a shared library.
13676             #
13677             # There doesn't appear to be a way to prevent this compiler from
13678             # explicitly linking system object files so we need to strip them
13679             # from the output so that they don't get included in the library
13680             # dependencies.
13681             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'
13682             ;;
13683           xl* | mpixl* | bgxl*)
13684             # IBM XL 8.0 on PPC, with GNU ld
13685             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13686             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13687             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13688             if test yes = "$supports_anon_versioning"; then
13689               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13690                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13691                 echo "local: *; };" >> $output_objdir/$libname.ver~
13692                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
13693             fi
13694             ;;
13695           *)
13696             case `$CC -V 2>&1 | sed 5q` in
13697             *Sun\ C*)
13698               # Sun C++ 5.9
13699               no_undefined_flag_CXX=' -zdefs'
13700               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13701               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'
13702               hardcode_libdir_flag_spec_CXX='-R$libdir'
13703               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'
13704               compiler_needs_object_CXX=yes
13705
13706               # Not sure whether something based on
13707               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13708               # would be better.
13709               output_verbose_link_cmd='func_echo_all'
13710
13711               # Archives containing C++ object files must be created using
13712               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13713               # necessary to make sure instantiated templates are included
13714               # in the archive.
13715               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13716               ;;
13717             esac
13718             ;;
13719         esac
13720         ;;
13721
13722       lynxos*)
13723         # FIXME: insert proper C++ library support
13724         ld_shlibs_CXX=no
13725         ;;
13726
13727       m88k*)
13728         # FIXME: insert proper C++ library support
13729         ld_shlibs_CXX=no
13730         ;;
13731
13732       mvs*)
13733         case $cc_basename in
13734           cxx*)
13735             # FIXME: insert proper C++ library support
13736             ld_shlibs_CXX=no
13737             ;;
13738           *)
13739             # FIXME: insert proper C++ library support
13740             ld_shlibs_CXX=no
13741             ;;
13742         esac
13743         ;;
13744
13745       netbsd*)
13746         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13747           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13748           wlarc=
13749           hardcode_libdir_flag_spec_CXX='-R$libdir'
13750           hardcode_direct_CXX=yes
13751           hardcode_shlibpath_var_CXX=no
13752         fi
13753         # Workaround some broken pre-1.5 toolchains
13754         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13755         ;;
13756
13757       *nto* | *qnx*)
13758         ld_shlibs_CXX=yes
13759         ;;
13760
13761       openbsd* | bitrig*)
13762         if test -f /usr/libexec/ld.so; then
13763           hardcode_direct_CXX=yes
13764           hardcode_shlibpath_var_CXX=no
13765           hardcode_direct_absolute_CXX=yes
13766           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13767           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13768           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
13769             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
13770             export_dynamic_flag_spec_CXX='$wl-E'
13771             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13772           fi
13773           output_verbose_link_cmd=func_echo_all
13774         else
13775           ld_shlibs_CXX=no
13776         fi
13777         ;;
13778
13779       osf3* | osf4* | osf5*)
13780         case $cc_basename in
13781           KCC*)
13782             # Kuck and Associates, Inc. (KAI) C++ Compiler
13783
13784             # KCC will only create a shared library if the output file
13785             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13786             # to its proper name (with version) after linking.
13787             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'
13788
13789             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13790             hardcode_libdir_separator_CXX=:
13791
13792             # Archives containing C++ object files must be created using
13793             # the KAI C++ compiler.
13794             case $host in
13795               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13796               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13797             esac
13798             ;;
13799           RCC*)
13800             # Rational C++ 2.4.1
13801             # FIXME: insert proper C++ library support
13802             ld_shlibs_CXX=no
13803             ;;
13804           cxx*)
13805             case $host in
13806               osf3*)
13807                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13808                 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'
13809                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13810                 ;;
13811               *)
13812                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13813                 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'
13814                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13815                   echo "-hidden">> $lib.exp~
13816                   $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~
13817                   $RM $lib.exp'
13818                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13819                 ;;
13820             esac
13821
13822             hardcode_libdir_separator_CXX=:
13823
13824             # Commands to make compiler produce verbose output that lists
13825             # what "hidden" libraries, object files and flags are used when
13826             # linking a shared library.
13827             #
13828             # There doesn't appear to be a way to prevent this compiler from
13829             # explicitly linking system object files so we need to strip them
13830             # from the output so that they don't get included in the library
13831             # dependencies.
13832             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"'
13833             ;;
13834           *)
13835             if test yes,no = "$GXX,$with_gnu_ld"; then
13836               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
13837               case $host in
13838                 osf3*)
13839                   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'
13840                   ;;
13841                 *)
13842                   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'
13843                   ;;
13844               esac
13845
13846               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13847               hardcode_libdir_separator_CXX=:
13848
13849               # Commands to make compiler produce verbose output that lists
13850               # what "hidden" libraries, object files and flags are used when
13851               # linking a shared library.
13852               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13853
13854             else
13855               # FIXME: insert proper C++ library support
13856               ld_shlibs_CXX=no
13857             fi
13858             ;;
13859         esac
13860         ;;
13861
13862       psos*)
13863         # FIXME: insert proper C++ library support
13864         ld_shlibs_CXX=no
13865         ;;
13866
13867       sunos4*)
13868         case $cc_basename in
13869           CC*)
13870             # Sun C++ 4.x
13871             # FIXME: insert proper C++ library support
13872             ld_shlibs_CXX=no
13873             ;;
13874           lcc*)
13875             # Lucid
13876             # FIXME: insert proper C++ library support
13877             ld_shlibs_CXX=no
13878             ;;
13879           *)
13880             # FIXME: insert proper C++ library support
13881             ld_shlibs_CXX=no
13882             ;;
13883         esac
13884         ;;
13885
13886       solaris*)
13887         case $cc_basename in
13888           CC* | sunCC*)
13889             # Sun C++ 4.2, 5.x and Centerline C++
13890             archive_cmds_need_lc_CXX=yes
13891             no_undefined_flag_CXX=' -zdefs'
13892             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13893             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13894               $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'
13895
13896             hardcode_libdir_flag_spec_CXX='-R$libdir'
13897             hardcode_shlibpath_var_CXX=no
13898             case $host_os in
13899               solaris2.[0-5] | solaris2.[0-5].*) ;;
13900               *)
13901                 # The compiler driver will combine and reorder linker options,
13902                 # but understands '-z linker_flag'.
13903                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13904                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13905                 ;;
13906             esac
13907             link_all_deplibs_CXX=yes
13908
13909             output_verbose_link_cmd='func_echo_all'
13910
13911             # Archives containing C++ object files must be created using
13912             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13913             # necessary to make sure instantiated templates are included
13914             # in the archive.
13915             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13916             ;;
13917           gcx*)
13918             # Green Hills C++ Compiler
13919             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13920
13921             # The C++ compiler must be used to create the archive.
13922             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13923             ;;
13924           *)
13925             # GNU C++ compiler with Solaris linker
13926             if test yes,no = "$GXX,$with_gnu_ld"; then
13927               no_undefined_flag_CXX=' $wl-z ${wl}defs'
13928               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13929                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13930                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13931                   $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'
13932
13933                 # Commands to make compiler produce verbose output that lists
13934                 # what "hidden" libraries, object files and flags are used when
13935                 # linking a shared library.
13936                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13937               else
13938                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
13939                 # platform.
13940                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
13941                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13942                   $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'
13943
13944                 # Commands to make compiler produce verbose output that lists
13945                 # what "hidden" libraries, object files and flags are used when
13946                 # linking a shared library.
13947                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13948               fi
13949
13950               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
13951               case $host_os in
13952                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13953                 *)
13954                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13955                   ;;
13956               esac
13957             fi
13958             ;;
13959         esac
13960         ;;
13961
13962     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13963       no_undefined_flag_CXX='$wl-z,text'
13964       archive_cmds_need_lc_CXX=no
13965       hardcode_shlibpath_var_CXX=no
13966       runpath_var='LD_RUN_PATH'
13967
13968       case $cc_basename in
13969         CC*)
13970           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13971           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13972           ;;
13973         *)
13974           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13975           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13976           ;;
13977       esac
13978       ;;
13979
13980       sysv5* | sco3.2v5* | sco5v6*)
13981         # Note: We CANNOT use -z defs as we might desire, because we do not
13982         # link with -lc, and that would cause any symbols used from libc to
13983         # always be unresolved, which means just about no library would
13984         # ever link correctly.  If we're not using GNU ld we use -z text
13985         # though, which does catch some bad symbols but isn't as heavy-handed
13986         # as -z defs.
13987         no_undefined_flag_CXX='$wl-z,text'
13988         allow_undefined_flag_CXX='$wl-z,nodefs'
13989         archive_cmds_need_lc_CXX=no
13990         hardcode_shlibpath_var_CXX=no
13991         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
13992         hardcode_libdir_separator_CXX=':'
13993         link_all_deplibs_CXX=yes
13994         export_dynamic_flag_spec_CXX='$wl-Bexport'
13995         runpath_var='LD_RUN_PATH'
13996
13997         case $cc_basename in
13998           CC*)
13999             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14000             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14001             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14002               '"$old_archive_cmds_CXX"
14003             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14004               '"$reload_cmds_CXX"
14005             ;;
14006           *)
14007             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14008             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14009             ;;
14010         esac
14011       ;;
14012
14013       tandem*)
14014         case $cc_basename in
14015           NCC*)
14016             # NonStop-UX NCC 3.20
14017             # FIXME: insert proper C++ library support
14018             ld_shlibs_CXX=no
14019             ;;
14020           *)
14021             # FIXME: insert proper C++ library support
14022             ld_shlibs_CXX=no
14023             ;;
14024         esac
14025         ;;
14026
14027       vxworks*)
14028         # FIXME: insert proper C++ library support
14029         ld_shlibs_CXX=no
14030         ;;
14031
14032       *)
14033         # FIXME: insert proper C++ library support
14034         ld_shlibs_CXX=no
14035         ;;
14036     esac
14037
14038     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14039 $as_echo "$ld_shlibs_CXX" >&6; }
14040     test no = "$ld_shlibs_CXX" && can_build_shared=no
14041
14042     GCC_CXX=$GXX
14043     LD_CXX=$LD
14044
14045     ## CAVEAT EMPTOR:
14046     ## There is no encapsulation within the following macros, do not change
14047     ## the running order or otherwise move them around unless you know exactly
14048     ## what you are doing...
14049     # Dependencies to place before and after the object being linked:
14050 predep_objects_CXX=
14051 postdep_objects_CXX=
14052 predeps_CXX=
14053 postdeps_CXX=
14054 compiler_lib_search_path_CXX=
14055
14056 cat > conftest.$ac_ext <<_LT_EOF
14057 class Foo
14058 {
14059 public:
14060   Foo (void) { a = 0; }
14061 private:
14062   int a;
14063 };
14064 _LT_EOF
14065
14066
14067 _lt_libdeps_save_CFLAGS=$CFLAGS
14068 case "$CC $CFLAGS " in #(
14069 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14070 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14071 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14072 esac
14073
14074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14075   (eval $ac_compile) 2>&5
14076   ac_status=$?
14077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14078   test $ac_status = 0; }; then
14079   # Parse the compiler output and extract the necessary
14080   # objects, libraries and library flags.
14081
14082   # Sentinel used to keep track of whether or not we are before
14083   # the conftest object file.
14084   pre_test_object_deps_done=no
14085
14086   for p in `eval "$output_verbose_link_cmd"`; do
14087     case $prev$p in
14088
14089     -L* | -R* | -l*)
14090        # Some compilers place space between "-{L,R}" and the path.
14091        # Remove the space.
14092        if test x-L = "$p" ||
14093           test x-R = "$p"; then
14094          prev=$p
14095          continue
14096        fi
14097
14098        # Expand the sysroot to ease extracting the directories later.
14099        if test -z "$prev"; then
14100          case $p in
14101          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14102          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14103          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14104          esac
14105        fi
14106        case $p in
14107        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14108        esac
14109        if test no = "$pre_test_object_deps_done"; then
14110          case $prev in
14111          -L | -R)
14112            # Internal compiler library paths should come after those
14113            # provided the user.  The postdeps already come after the
14114            # user supplied libs so there is no need to process them.
14115            if test -z "$compiler_lib_search_path_CXX"; then
14116              compiler_lib_search_path_CXX=$prev$p
14117            else
14118              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14119            fi
14120            ;;
14121          # The "-l" case would never come before the object being
14122          # linked, so don't bother handling this case.
14123          esac
14124        else
14125          if test -z "$postdeps_CXX"; then
14126            postdeps_CXX=$prev$p
14127          else
14128            postdeps_CXX="${postdeps_CXX} $prev$p"
14129          fi
14130        fi
14131        prev=
14132        ;;
14133
14134     *.lto.$objext) ;; # Ignore GCC LTO objects
14135     *.$objext)
14136        # This assumes that the test object file only shows up
14137        # once in the compiler output.
14138        if test "$p" = "conftest.$objext"; then
14139          pre_test_object_deps_done=yes
14140          continue
14141        fi
14142
14143        if test no = "$pre_test_object_deps_done"; then
14144          if test -z "$predep_objects_CXX"; then
14145            predep_objects_CXX=$p
14146          else
14147            predep_objects_CXX="$predep_objects_CXX $p"
14148          fi
14149        else
14150          if test -z "$postdep_objects_CXX"; then
14151            postdep_objects_CXX=$p
14152          else
14153            postdep_objects_CXX="$postdep_objects_CXX $p"
14154          fi
14155        fi
14156        ;;
14157
14158     *) ;; # Ignore the rest.
14159
14160     esac
14161   done
14162
14163   # Clean up.
14164   rm -f a.out a.exe
14165 else
14166   echo "libtool.m4: error: problem compiling CXX test program"
14167 fi
14168
14169 $RM -f confest.$objext
14170 CFLAGS=$_lt_libdeps_save_CFLAGS
14171
14172 # PORTME: override above test on systems where it is broken
14173 case $host_os in
14174 interix[3-9]*)
14175   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14176   # hack all around it, let's just trust "g++" to DTRT.
14177   predep_objects_CXX=
14178   postdep_objects_CXX=
14179   postdeps_CXX=
14180   ;;
14181 esac
14182
14183
14184 case " $postdeps_CXX " in
14185 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14186 esac
14187  compiler_lib_search_dirs_CXX=
14188 if test -n "${compiler_lib_search_path_CXX}"; then
14189  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14190 fi
14191
14192     
14193     
14194     
14195
14196
14197     
14198     
14199     
14200
14201
14202     
14203     
14204     
14205
14206
14207     
14208     
14209     
14210
14211
14212     
14213     
14214     
14215
14216
14217     
14218     
14219     
14220
14221
14222     lt_prog_compiler_wl_CXX=
14223 lt_prog_compiler_pic_CXX=
14224 lt_prog_compiler_static_CXX=
14225
14226
14227   # C++ specific cases for pic, static, wl, etc.
14228   if test yes = "$GXX"; then
14229     lt_prog_compiler_wl_CXX='-Wl,'
14230     lt_prog_compiler_static_CXX='-static'
14231
14232     case $host_os in
14233     aix*)
14234       # All AIX code is PIC.
14235       if test ia64 = "$host_cpu"; then
14236         # AIX 5 now supports IA64 processor
14237         lt_prog_compiler_static_CXX='-Bstatic'
14238       fi
14239       lt_prog_compiler_pic_CXX='-fPIC'
14240       ;;
14241
14242     amigaos*)
14243       case $host_cpu in
14244       powerpc)
14245             # see comment about AmigaOS4 .so support
14246             lt_prog_compiler_pic_CXX='-fPIC'
14247         ;;
14248       m68k)
14249             # FIXME: we need at least 68020 code to build shared libraries, but
14250             # adding the '-m68020' flag to GCC prevents building anything better,
14251             # like '-m68040'.
14252             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14253         ;;
14254       esac
14255       ;;
14256
14257     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14258       # PIC is the default for these OSes.
14259       ;;
14260     mingw* | cygwin* | os2* | pw32* | cegcc*)
14261       # This hack is so that the source file can tell whether it is being
14262       # built for inclusion in a dll (and should export symbols for example).
14263       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14264       # (--disable-auto-import) libraries
14265       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14266       case $host_os in
14267       os2*)
14268         lt_prog_compiler_static_CXX='$wl-static'
14269         ;;
14270       esac
14271       ;;
14272     darwin* | rhapsody*)
14273       # PIC is the default on this platform
14274       # Common symbols not allowed in MH_DYLIB files
14275       lt_prog_compiler_pic_CXX='-fno-common'
14276       ;;
14277     *djgpp*)
14278       # DJGPP does not support shared libraries at all
14279       lt_prog_compiler_pic_CXX=
14280       ;;
14281     haiku*)
14282       # PIC is the default for Haiku.
14283       # The "-static" flag exists, but is broken.
14284       lt_prog_compiler_static_CXX=
14285       ;;
14286     interix[3-9]*)
14287       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14288       # Instead, we relocate shared libraries at runtime.
14289       ;;
14290     sysv4*MP*)
14291       if test -d /usr/nec; then
14292         lt_prog_compiler_pic_CXX=-Kconform_pic
14293       fi
14294       ;;
14295     hpux*)
14296       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14297       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14298       # sets the default TLS model and affects inlining.
14299       case $host_cpu in
14300       hppa*64*)
14301         ;;
14302       *)
14303         lt_prog_compiler_pic_CXX='-fPIC'
14304         ;;
14305       esac
14306       ;;
14307     *qnx* | *nto*)
14308       # QNX uses GNU C++, but need to define -shared option too, otherwise
14309       # it will coredump.
14310       lt_prog_compiler_pic_CXX='-fPIC -shared'
14311       ;;
14312     *)
14313       lt_prog_compiler_pic_CXX='-fPIC'
14314       ;;
14315     esac
14316   else
14317     case $host_os in
14318       aix[4-9]*)
14319         # All AIX code is PIC.
14320         if test ia64 = "$host_cpu"; then
14321           # AIX 5 now supports IA64 processor
14322           lt_prog_compiler_static_CXX='-Bstatic'
14323         else
14324           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14325         fi
14326         ;;
14327       chorus*)
14328         case $cc_basename in
14329         cxch68*)
14330           # Green Hills C++ Compiler
14331           # _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"
14332           ;;
14333         esac
14334         ;;
14335       mingw* | cygwin* | os2* | pw32* | cegcc*)
14336         # This hack is so that the source file can tell whether it is being
14337         # built for inclusion in a dll (and should export symbols for example).
14338         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14339         ;;
14340       dgux*)
14341         case $cc_basename in
14342           ec++*)
14343             lt_prog_compiler_pic_CXX='-KPIC'
14344             ;;
14345           ghcx*)
14346             # Green Hills C++ Compiler
14347             lt_prog_compiler_pic_CXX='-pic'
14348             ;;
14349           *)
14350             ;;
14351         esac
14352         ;;
14353       freebsd* | dragonfly*)
14354         # FreeBSD uses GNU C++
14355         ;;
14356       hpux9* | hpux10* | hpux11*)
14357         case $cc_basename in
14358           CC*)
14359             lt_prog_compiler_wl_CXX='-Wl,'
14360             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14361             if test ia64 != "$host_cpu"; then
14362               lt_prog_compiler_pic_CXX='+Z'
14363             fi
14364             ;;
14365           aCC*)
14366             lt_prog_compiler_wl_CXX='-Wl,'
14367             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14368             case $host_cpu in
14369             hppa*64*|ia64*)
14370               # +Z the default
14371               ;;
14372             *)
14373               lt_prog_compiler_pic_CXX='+Z'
14374               ;;
14375             esac
14376             ;;
14377           *)
14378             ;;
14379         esac
14380         ;;
14381       interix*)
14382         # This is c89, which is MS Visual C++ (no shared libs)
14383         # Anyone wants to do a port?
14384         ;;
14385       irix5* | irix6* | nonstopux*)
14386         case $cc_basename in
14387           CC*)
14388             lt_prog_compiler_wl_CXX='-Wl,'
14389             lt_prog_compiler_static_CXX='-non_shared'
14390             # CC pic flag -KPIC is the default.
14391             ;;
14392           *)
14393             ;;
14394         esac
14395         ;;
14396       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14397         case $cc_basename in
14398           KCC*)
14399             # KAI C++ Compiler
14400             lt_prog_compiler_wl_CXX='--backend -Wl,'
14401             lt_prog_compiler_pic_CXX='-fPIC'
14402             ;;
14403           ecpc* )
14404             # old Intel C++ for x86_64, which still supported -KPIC.
14405             lt_prog_compiler_wl_CXX='-Wl,'
14406             lt_prog_compiler_pic_CXX='-KPIC'
14407             lt_prog_compiler_static_CXX='-static'
14408             ;;
14409           icpc* )
14410             # Intel C++, used to be incompatible with GCC.
14411             # ICC 10 doesn't accept -KPIC any more.
14412             lt_prog_compiler_wl_CXX='-Wl,'
14413             lt_prog_compiler_pic_CXX='-fPIC'
14414             lt_prog_compiler_static_CXX='-static'
14415             ;;
14416           pgCC* | pgcpp*)
14417             # Portland Group C++ compiler
14418             lt_prog_compiler_wl_CXX='-Wl,'
14419             lt_prog_compiler_pic_CXX='-fpic'
14420             lt_prog_compiler_static_CXX='-Bstatic'
14421             ;;
14422           cxx*)
14423             # Compaq C++
14424             # Make sure the PIC flag is empty.  It appears that all Alpha
14425             # Linux and Compaq Tru64 Unix objects are PIC.
14426             lt_prog_compiler_pic_CXX=
14427             lt_prog_compiler_static_CXX='-non_shared'
14428             ;;
14429           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14430             # IBM XL 8.0, 9.0 on PPC and BlueGene
14431             lt_prog_compiler_wl_CXX='-Wl,'
14432             lt_prog_compiler_pic_CXX='-qpic'
14433             lt_prog_compiler_static_CXX='-qstaticlink'
14434             ;;
14435           *)
14436             case `$CC -V 2>&1 | sed 5q` in
14437             *Sun\ C*)
14438               # Sun C++ 5.9
14439               lt_prog_compiler_pic_CXX='-KPIC'
14440               lt_prog_compiler_static_CXX='-Bstatic'
14441               lt_prog_compiler_wl_CXX='-Qoption ld '
14442               ;;
14443             esac
14444             ;;
14445         esac
14446         ;;
14447       lynxos*)
14448         ;;
14449       m88k*)
14450         ;;
14451       mvs*)
14452         case $cc_basename in
14453           cxx*)
14454             lt_prog_compiler_pic_CXX='-W c,exportall'
14455             ;;
14456           *)
14457             ;;
14458         esac
14459         ;;
14460       netbsd* | netbsdelf*-gnu)
14461         ;;
14462       *qnx* | *nto*)
14463         # QNX uses GNU C++, but need to define -shared option too, otherwise
14464         # it will coredump.
14465         lt_prog_compiler_pic_CXX='-fPIC -shared'
14466         ;;
14467       osf3* | osf4* | osf5*)
14468         case $cc_basename in
14469           KCC*)
14470             lt_prog_compiler_wl_CXX='--backend -Wl,'
14471             ;;
14472           RCC*)
14473             # Rational C++ 2.4.1
14474             lt_prog_compiler_pic_CXX='-pic'
14475             ;;
14476           cxx*)
14477             # Digital/Compaq C++
14478             lt_prog_compiler_wl_CXX='-Wl,'
14479             # Make sure the PIC flag is empty.  It appears that all Alpha
14480             # Linux and Compaq Tru64 Unix objects are PIC.
14481             lt_prog_compiler_pic_CXX=
14482             lt_prog_compiler_static_CXX='-non_shared'
14483             ;;
14484           *)
14485             ;;
14486         esac
14487         ;;
14488       psos*)
14489         ;;
14490       solaris*)
14491         case $cc_basename in
14492           CC* | sunCC*)
14493             # Sun C++ 4.2, 5.x and Centerline C++
14494             lt_prog_compiler_pic_CXX='-KPIC'
14495             lt_prog_compiler_static_CXX='-Bstatic'
14496             lt_prog_compiler_wl_CXX='-Qoption ld '
14497             ;;
14498           gcx*)
14499             # Green Hills C++ Compiler
14500             lt_prog_compiler_pic_CXX='-PIC'
14501             ;;
14502           *)
14503             ;;
14504         esac
14505         ;;
14506       sunos4*)
14507         case $cc_basename in
14508           CC*)
14509             # Sun C++ 4.x
14510             lt_prog_compiler_pic_CXX='-pic'
14511             lt_prog_compiler_static_CXX='-Bstatic'
14512             ;;
14513           lcc*)
14514             # Lucid
14515             lt_prog_compiler_pic_CXX='-pic'
14516             ;;
14517           *)
14518             ;;
14519         esac
14520         ;;
14521       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14522         case $cc_basename in
14523           CC*)
14524             lt_prog_compiler_wl_CXX='-Wl,'
14525             lt_prog_compiler_pic_CXX='-KPIC'
14526             lt_prog_compiler_static_CXX='-Bstatic'
14527             ;;
14528         esac
14529         ;;
14530       tandem*)
14531         case $cc_basename in
14532           NCC*)
14533             # NonStop-UX NCC 3.20
14534             lt_prog_compiler_pic_CXX='-KPIC'
14535             ;;
14536           *)
14537             ;;
14538         esac
14539         ;;
14540       vxworks*)
14541         ;;
14542       *)
14543         lt_prog_compiler_can_build_shared_CXX=no
14544         ;;
14545     esac
14546   fi
14547
14548 case $host_os in
14549   # For platforms that do not support PIC, -DPIC is meaningless:
14550   *djgpp*)
14551     lt_prog_compiler_pic_CXX=
14552     ;;
14553   *)
14554     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
14555     ;;
14556 esac
14557
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14559 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14560 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14561   $as_echo_n "(cached) " >&6
14562 else
14563   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14564 fi
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14566 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14567 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14568
14569 #
14570 # Check to make sure the PIC flag actually works.
14571 #
14572 if test -n "$lt_prog_compiler_pic_CXX"; then
14573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14574 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14575 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14576   $as_echo_n "(cached) " >&6
14577 else
14578   lt_cv_prog_compiler_pic_works_CXX=no
14579    ac_outfile=conftest.$ac_objext
14580    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14581    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"  ## exclude from sc_useless_quotes_in_assignment
14582    # Insert the option either (1) after the last *FLAGS variable, or
14583    # (2) before a word containing "conftest.", or (3) at the end.
14584    # Note that $ac_compile itself does not contain backslashes and begins
14585    # with a dollar sign (not a hyphen), so the echo should work correctly.
14586    # The option is referenced via a variable to avoid confusing sed.
14587    lt_compile=`echo "$ac_compile" | $SED \
14588    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14589    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14590    -e 's:$: $lt_compiler_flag:'`
14591    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14592    (eval "$lt_compile" 2>conftest.err)
14593    ac_status=$?
14594    cat conftest.err >&5
14595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596    if (exit $ac_status) && test -s "$ac_outfile"; then
14597      # The compiler can only warn and ignore the option if not recognized
14598      # So say no if there are warnings other than the usual output.
14599      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14600      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14601      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14602        lt_cv_prog_compiler_pic_works_CXX=yes
14603      fi
14604    fi
14605    $RM conftest*
14606
14607 fi
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14609 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14610
14611 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
14612     case $lt_prog_compiler_pic_CXX in
14613      "" | " "*) ;;
14614      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14615      esac
14616 else
14617     lt_prog_compiler_pic_CXX=
14618      lt_prog_compiler_can_build_shared_CXX=no
14619 fi
14620
14621 fi
14622
14623
14624
14625
14626
14627 #
14628 # Check to make sure the static flag actually works.
14629 #
14630 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14632 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14633 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14634   $as_echo_n "(cached) " >&6
14635 else
14636   lt_cv_prog_compiler_static_works_CXX=no
14637    save_LDFLAGS=$LDFLAGS
14638    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14639    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14640    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14641      # The linker can only warn and ignore the option if not recognized
14642      # So say no if there are warnings
14643      if test -s conftest.err; then
14644        # Append any errors to the config.log.
14645        cat conftest.err 1>&5
14646        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14647        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14648        if diff conftest.exp conftest.er2 >/dev/null; then
14649          lt_cv_prog_compiler_static_works_CXX=yes
14650        fi
14651      else
14652        lt_cv_prog_compiler_static_works_CXX=yes
14653      fi
14654    fi
14655    $RM -r conftest*
14656    LDFLAGS=$save_LDFLAGS
14657
14658 fi
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14660 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14661
14662 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
14663     :
14664 else
14665     lt_prog_compiler_static_CXX=
14666 fi
14667
14668
14669
14670
14671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14673 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14674   $as_echo_n "(cached) " >&6
14675 else
14676   lt_cv_prog_compiler_c_o_CXX=no
14677    $RM -r conftest 2>/dev/null
14678    mkdir conftest
14679    cd conftest
14680    mkdir out
14681    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14682
14683    lt_compiler_flag="-o out/conftest2.$ac_objext"
14684    # Insert the option either (1) after the last *FLAGS variable, or
14685    # (2) before a word containing "conftest.", or (3) at the end.
14686    # Note that $ac_compile itself does not contain backslashes and begins
14687    # with a dollar sign (not a hyphen), so the echo should work correctly.
14688    lt_compile=`echo "$ac_compile" | $SED \
14689    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14690    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14691    -e 's:$: $lt_compiler_flag:'`
14692    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14693    (eval "$lt_compile" 2>out/conftest.err)
14694    ac_status=$?
14695    cat out/conftest.err >&5
14696    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14698    then
14699      # The compiler can only warn and ignore the option if not recognized
14700      # So say no if there are warnings
14701      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14702      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14703      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14704        lt_cv_prog_compiler_c_o_CXX=yes
14705      fi
14706    fi
14707    chmod u+w . 2>&5
14708    $RM conftest*
14709    # SGI C++ compiler will create directory out/ii_files/ for
14710    # template instantiation
14711    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14712    $RM out/* && rmdir out
14713    cd ..
14714    $RM -r conftest
14715    $RM conftest*
14716
14717 fi
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14719 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14720
14721
14722
14723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14725 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14726   $as_echo_n "(cached) " >&6
14727 else
14728   lt_cv_prog_compiler_c_o_CXX=no
14729    $RM -r conftest 2>/dev/null
14730    mkdir conftest
14731    cd conftest
14732    mkdir out
14733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14734
14735    lt_compiler_flag="-o out/conftest2.$ac_objext"
14736    # Insert the option either (1) after the last *FLAGS variable, or
14737    # (2) before a word containing "conftest.", or (3) at the end.
14738    # Note that $ac_compile itself does not contain backslashes and begins
14739    # with a dollar sign (not a hyphen), so the echo should work correctly.
14740    lt_compile=`echo "$ac_compile" | $SED \
14741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14743    -e 's:$: $lt_compiler_flag:'`
14744    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14745    (eval "$lt_compile" 2>out/conftest.err)
14746    ac_status=$?
14747    cat out/conftest.err >&5
14748    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14750    then
14751      # The compiler can only warn and ignore the option if not recognized
14752      # So say no if there are warnings
14753      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14754      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14755      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14756        lt_cv_prog_compiler_c_o_CXX=yes
14757      fi
14758    fi
14759    chmod u+w . 2>&5
14760    $RM conftest*
14761    # SGI C++ compiler will create directory out/ii_files/ for
14762    # template instantiation
14763    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14764    $RM out/* && rmdir out
14765    cd ..
14766    $RM -r conftest
14767    $RM conftest*
14768
14769 fi
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14771 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14772
14773
14774
14775
14776 hard_links=nottested
14777 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
14778   # do not overwrite the value of need_locks provided by the user
14779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14780 $as_echo_n "checking if we can lock with hard links... " >&6; }
14781   hard_links=yes
14782   $RM conftest*
14783   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14784   touch conftest.a
14785   ln conftest.a conftest.b 2>&5 || hard_links=no
14786   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14788 $as_echo "$hard_links" >&6; }
14789   if test no = "$hard_links"; then
14790     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14791 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14792     need_locks=warn
14793   fi
14794 else
14795   need_locks=no
14796 fi
14797
14798
14799
14800     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14801 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14802
14803   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14804   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14805   case $host_os in
14806   aix[4-9]*)
14807     # If we're using GNU nm, then we don't want the "-C" option.
14808     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14809     # Without the "-l" option, or with the "-B" option, AIX nm treats
14810     # weak defined symbols like other global defined symbols, whereas
14811     # GNU nm marks them as "W".
14812     # While the 'weak' keyword is ignored in the Export File, we need
14813     # it in the Import File for the 'aix-soname' feature, so we have
14814     # to replace the "-B" option with "-P" for AIX nm.
14815     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14816       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'
14817     else
14818       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'
14819     fi
14820     ;;
14821   pw32*)
14822     export_symbols_cmds_CXX=$ltdll_cmds
14823     ;;
14824   cygwin* | mingw* | cegcc*)
14825     case $cc_basename in
14826     cl*)
14827       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14828       ;;
14829     *)
14830       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'
14831       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14832       ;;
14833     esac
14834     ;;
14835   linux* | k*bsd*-gnu | gnu*)
14836     link_all_deplibs_CXX=no
14837     ;;
14838   *)
14839     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14840     ;;
14841   esac
14842
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14844 $as_echo "$ld_shlibs_CXX" >&6; }
14845 test no = "$ld_shlibs_CXX" && can_build_shared=no
14846
14847 with_gnu_ld_CXX=$with_gnu_ld
14848
14849
14850
14851
14852
14853
14854 #
14855 # Do we need to explicitly link libc?
14856 #
14857 case "x$archive_cmds_need_lc_CXX" in
14858 x|xyes)
14859   # Assume -lc should be added
14860   archive_cmds_need_lc_CXX=yes
14861
14862   if test yes,yes = "$GCC,$enable_shared"; then
14863     case $archive_cmds_CXX in
14864     *'~'*)
14865       # FIXME: we may have to deal with multi-command sequences.
14866       ;;
14867     '$CC '*)
14868       # Test whether the compiler implicitly links with -lc since on some
14869       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14870       # to ld, don't add -lc before -lgcc.
14871       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14872 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14873 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14874   $as_echo_n "(cached) " >&6
14875 else
14876   $RM conftest*
14877         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14878
14879         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14880   (eval $ac_compile) 2>&5
14881   ac_status=$?
14882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14883   test $ac_status = 0; } 2>conftest.err; then
14884           soname=conftest
14885           lib=conftest
14886           libobjs=conftest.$ac_objext
14887           deplibs=
14888           wl=$lt_prog_compiler_wl_CXX
14889           pic_flag=$lt_prog_compiler_pic_CXX
14890           compiler_flags=-v
14891           linker_flags=-v
14892           verstring=
14893           output_objdir=.
14894           libname=conftest
14895           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14896           allow_undefined_flag_CXX=
14897           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14898   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14899   ac_status=$?
14900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14901   test $ac_status = 0; }
14902           then
14903             lt_cv_archive_cmds_need_lc_CXX=no
14904           else
14905             lt_cv_archive_cmds_need_lc_CXX=yes
14906           fi
14907           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14908         else
14909           cat conftest.err 1>&5
14910         fi
14911         $RM conftest*
14912         
14913 fi
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14915 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14916       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14917       ;;
14918     esac
14919   fi
14920   ;;
14921 esac
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14985 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14986
14987 library_names_spec=
14988 libname_spec='lib$name'
14989 soname_spec=
14990 shrext_cmds=.so
14991 postinstall_cmds=
14992 postuninstall_cmds=
14993 finish_cmds=
14994 finish_eval=
14995 shlibpath_var=
14996 shlibpath_overrides_runpath=unknown
14997 version_type=none
14998 dynamic_linker="$host_os ld.so"
14999 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15000 need_lib_prefix=unknown
15001 hardcode_into_libs=no
15002
15003 # when you set need_version to no, make sure it does not cause -set_version
15004 # flags to be left without arguments
15005 need_version=unknown
15006
15007
15008
15009 case $host_os in
15010 aix3*)
15011   version_type=linux # correct to gnu/linux during the next big refactor
15012   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15013   shlibpath_var=LIBPATH
15014
15015   # AIX 3 has no versioning support, so we append a major version to the name.
15016   soname_spec='$libname$release$shared_ext$major'
15017   ;;
15018
15019 aix[4-9]*)
15020   version_type=linux # correct to gnu/linux during the next big refactor
15021   need_lib_prefix=no
15022   need_version=no
15023   hardcode_into_libs=yes
15024   if test ia64 = "$host_cpu"; then
15025     # AIX 5 supports IA64
15026     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15027     shlibpath_var=LD_LIBRARY_PATH
15028   else
15029     # With GCC up to 2.95.x, collect2 would create an import file
15030     # for dependence libraries.  The import file would start with
15031     # the line '#! .'.  This would cause the generated library to
15032     # depend on '.', always an invalid library.  This was fixed in
15033     # development snapshots of GCC prior to 3.0.
15034     case $host_os in
15035       aix4 | aix4.[01] | aix4.[01].*)
15036       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15037            echo ' yes '
15038            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15039         :
15040       else
15041         can_build_shared=no
15042       fi
15043       ;;
15044     esac
15045     # Using Import Files as archive members, it is possible to support
15046     # filename-based versioning of shared library archives on AIX. While
15047     # this would work for both with and without runtime linking, it will
15048     # prevent static linking of such archives. So we do filename-based
15049     # shared library versioning with .so extension only, which is used
15050     # when both runtime linking and shared linking is enabled.
15051     # Unfortunately, runtime linking may impact performance, so we do
15052     # not want this to be the default eventually. Also, we use the
15053     # versioned .so libs for executables only if there is the -brtl
15054     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15055     # To allow for filename-based versioning support, we need to create
15056     # libNAME.so.V as an archive file, containing:
15057     # *) an Import File, referring to the versioned filename of the
15058     #    archive as well as the shared archive member, telling the
15059     #    bitwidth (32 or 64) of that shared object, and providing the
15060     #    list of exported symbols of that shared object, eventually
15061     #    decorated with the 'weak' keyword
15062     # *) the shared object with the F_LOADONLY flag set, to really avoid
15063     #    it being seen by the linker.
15064     # At run time we better use the real file rather than another symlink,
15065     # but for link time we create the symlink libNAME.so -> libNAME.so.V
15066
15067     case $with_aix_soname,$aix_use_runtimelinking in
15068     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15069     # soname into executable. Probably we can add versioning support to
15070     # collect2, so additional links can be useful in future.
15071     aix,yes) # traditional libtool
15072       dynamic_linker='AIX unversionable lib.so'
15073       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15074       # instead of lib<name>.a to let people know that these are not
15075       # typical AIX shared libraries.
15076       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15077       ;;
15078     aix,no) # traditional AIX only
15079       dynamic_linker='AIX lib.a(lib.so.V)'
15080       # We preserve .a as extension for shared libraries through AIX4.2
15081       # and later when we are not doing run time linking.
15082       library_names_spec='$libname$release.a $libname.a'
15083       soname_spec='$libname$release$shared_ext$major'
15084       ;;
15085     svr4,*) # full svr4 only
15086       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15087       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15088       # We do not specify a path in Import Files, so LIBPATH fires.
15089       shlibpath_overrides_runpath=yes
15090       ;;
15091     *,yes) # both, prefer svr4
15092       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15093       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15094       # unpreferred sharedlib libNAME.a needs extra handling
15095       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"'
15096       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"'
15097       # We do not specify a path in Import Files, so LIBPATH fires.
15098       shlibpath_overrides_runpath=yes
15099       ;;
15100     *,no) # both, prefer aix
15101       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15102       library_names_spec='$libname$release.a $libname.a'
15103       soname_spec='$libname$release$shared_ext$major'
15104       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15105       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)'
15106       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"'
15107       ;;
15108     esac
15109     shlibpath_var=LIBPATH
15110   fi
15111   ;;
15112
15113 amigaos*)
15114   case $host_cpu in
15115   powerpc)
15116     # Since July 2007 AmigaOS4 officially supports .so libraries.
15117     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15118     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15119     ;;
15120   m68k)
15121     library_names_spec='$libname.ixlibrary $libname.a'
15122     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15123     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'
15124     ;;
15125   esac
15126   ;;
15127
15128 beos*)
15129   library_names_spec='$libname$shared_ext'
15130   dynamic_linker="$host_os ld.so"
15131   shlibpath_var=LIBRARY_PATH
15132   ;;
15133
15134 bsdi[45]*)
15135   version_type=linux # correct to gnu/linux during the next big refactor
15136   need_version=no
15137   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15138   soname_spec='$libname$release$shared_ext$major'
15139   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15140   shlibpath_var=LD_LIBRARY_PATH
15141   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15142   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15143   # the default ld.so.conf also contains /usr/contrib/lib and
15144   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15145   # libtool to hard-code these into programs
15146   ;;
15147
15148 cygwin* | mingw* | pw32* | cegcc*)
15149   version_type=windows
15150   shrext_cmds=.dll
15151   need_version=no
15152   need_lib_prefix=no
15153
15154   case $GCC,$cc_basename in
15155   yes,*)
15156     # gcc
15157     library_names_spec='$libname.dll.a'
15158     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15159     postinstall_cmds='base_file=`basename \$file`~
15160       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15161       dldir=$destdir/`dirname \$dlpath`~
15162       test -d \$dldir || mkdir -p \$dldir~
15163       $install_prog $dir/$dlname \$dldir/$dlname~
15164       chmod a+x \$dldir/$dlname~
15165       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15166         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15167       fi'
15168     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15169       dlpath=$dir/\$dldll~
15170        $RM \$dlpath'
15171     shlibpath_overrides_runpath=yes
15172
15173     case $host_os in
15174     cygwin*)
15175       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15176       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15177
15178       ;;
15179     mingw* | cegcc*)
15180       # MinGW DLLs use traditional 'lib' prefix
15181       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15182       ;;
15183     pw32*)
15184       # pw32 DLLs use 'pw' prefix rather than 'lib'
15185       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15186       ;;
15187     esac
15188     dynamic_linker='Win32 ld.exe'
15189     ;;
15190
15191   *,cl*)
15192     # Native MSVC
15193     libname_spec='$name'
15194     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15195     library_names_spec='$libname.dll.lib'
15196
15197     case $build_os in
15198     mingw*)
15199       sys_lib_search_path_spec=
15200       lt_save_ifs=$IFS
15201       IFS=';'
15202       for lt_path in $LIB
15203       do
15204         IFS=$lt_save_ifs
15205         # Let DOS variable expansion print the short 8.3 style file name.
15206         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15207         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15208       done
15209       IFS=$lt_save_ifs
15210       # Convert to MSYS style.
15211       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15212       ;;
15213     cygwin*)
15214       # Convert to unix form, then to dos form, then back to unix form
15215       # but this time dos style (no spaces!) so that the unix form looks
15216       # like /cygdrive/c/PROGRA~1:/cygdr...
15217       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15218       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15219       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15220       ;;
15221     *)
15222       sys_lib_search_path_spec=$LIB
15223       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15224         # It is most probably a Windows format PATH.
15225         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15226       else
15227         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15228       fi
15229       # FIXME: find the short name or the path components, as spaces are
15230       # common. (e.g. "Program Files" -> "PROGRA~1")
15231       ;;
15232     esac
15233
15234     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15235     postinstall_cmds='base_file=`basename \$file`~
15236       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15237       dldir=$destdir/`dirname \$dlpath`~
15238       test -d \$dldir || mkdir -p \$dldir~
15239       $install_prog $dir/$dlname \$dldir/$dlname'
15240     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15241       dlpath=$dir/\$dldll~
15242        $RM \$dlpath'
15243     shlibpath_overrides_runpath=yes
15244     dynamic_linker='Win32 link.exe'
15245     ;;
15246
15247   *)
15248     # Assume MSVC wrapper
15249     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15250     dynamic_linker='Win32 ld.exe'
15251     ;;
15252   esac
15253   # FIXME: first we should search . and the directory the executable is in
15254   shlibpath_var=PATH
15255   ;;
15256
15257 darwin* | rhapsody*)
15258   dynamic_linker="$host_os dyld"
15259   version_type=darwin
15260   need_lib_prefix=no
15261   need_version=no
15262   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15263   soname_spec='$libname$release$major$shared_ext'
15264   shlibpath_overrides_runpath=yes
15265   shlibpath_var=DYLD_LIBRARY_PATH
15266   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15267
15268   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15269   ;;
15270
15271 dgux*)
15272   version_type=linux # correct to gnu/linux during the next big refactor
15273   need_lib_prefix=no
15274   need_version=no
15275   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15276   soname_spec='$libname$release$shared_ext$major'
15277   shlibpath_var=LD_LIBRARY_PATH
15278   ;;
15279
15280 freebsd* | dragonfly*)
15281   # DragonFly does not have aout.  When/if they implement a new
15282   # versioning mechanism, adjust this.
15283   if test -x /usr/bin/objformat; then
15284     objformat=`/usr/bin/objformat`
15285   else
15286     case $host_os in
15287     freebsd[23].*) objformat=aout ;;
15288     *) objformat=elf ;;
15289     esac
15290   fi
15291   version_type=freebsd-$objformat
15292   case $version_type in
15293     freebsd-elf*)
15294       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15295       soname_spec='$libname$release$shared_ext$major'
15296       need_version=no
15297       need_lib_prefix=no
15298       ;;
15299     freebsd-*)
15300       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15301       need_version=yes
15302       ;;
15303   esac
15304   shlibpath_var=LD_LIBRARY_PATH
15305   case $host_os in
15306   freebsd2.*)
15307     shlibpath_overrides_runpath=yes
15308     ;;
15309   freebsd3.[01]* | freebsdelf3.[01]*)
15310     shlibpath_overrides_runpath=yes
15311     hardcode_into_libs=yes
15312     ;;
15313   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15314   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15315     shlibpath_overrides_runpath=no
15316     hardcode_into_libs=yes
15317     ;;
15318   *) # from 4.6 on, and DragonFly
15319     shlibpath_overrides_runpath=yes
15320     hardcode_into_libs=yes
15321     ;;
15322   esac
15323   ;;
15324
15325 haiku*)
15326   version_type=linux # correct to gnu/linux during the next big refactor
15327   need_lib_prefix=no
15328   need_version=no
15329   dynamic_linker="$host_os runtime_loader"
15330   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15331   soname_spec='$libname$release$shared_ext$major'
15332   shlibpath_var=LIBRARY_PATH
15333   shlibpath_overrides_runpath=no
15334   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15335   hardcode_into_libs=yes
15336   ;;
15337
15338 hpux9* | hpux10* | hpux11*)
15339   # Give a soname corresponding to the major version so that dld.sl refuses to
15340   # link against other versions.
15341   version_type=sunos
15342   need_lib_prefix=no
15343   need_version=no
15344   case $host_cpu in
15345   ia64*)
15346     shrext_cmds='.so'
15347     hardcode_into_libs=yes
15348     dynamic_linker="$host_os dld.so"
15349     shlibpath_var=LD_LIBRARY_PATH
15350     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15351     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15352     soname_spec='$libname$release$shared_ext$major'
15353     if test 32 = "$HPUX_IA64_MODE"; then
15354       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15355       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15356     else
15357       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15358       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15359     fi
15360     ;;
15361   hppa*64*)
15362     shrext_cmds='.sl'
15363     hardcode_into_libs=yes
15364     dynamic_linker="$host_os dld.sl"
15365     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15366     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15367     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15368     soname_spec='$libname$release$shared_ext$major'
15369     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15370     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15371     ;;
15372   *)
15373     shrext_cmds='.sl'
15374     dynamic_linker="$host_os dld.sl"
15375     shlibpath_var=SHLIB_PATH
15376     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15377     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15378     soname_spec='$libname$release$shared_ext$major'
15379     ;;
15380   esac
15381   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15382   postinstall_cmds='chmod 555 $lib'
15383   # or fails outright, so override atomically:
15384   install_override_mode=555
15385   ;;
15386
15387 interix[3-9]*)
15388   version_type=linux # correct to gnu/linux during the next big refactor
15389   need_lib_prefix=no
15390   need_version=no
15391   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15392   soname_spec='$libname$release$shared_ext$major'
15393   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15394   shlibpath_var=LD_LIBRARY_PATH
15395   shlibpath_overrides_runpath=no
15396   hardcode_into_libs=yes
15397   ;;
15398
15399 irix5* | irix6* | nonstopux*)
15400   case $host_os in
15401     nonstopux*) version_type=nonstopux ;;
15402     *)
15403         if test yes = "$lt_cv_prog_gnu_ld"; then
15404                 version_type=linux # correct to gnu/linux during the next big refactor
15405         else
15406                 version_type=irix
15407         fi ;;
15408   esac
15409   need_lib_prefix=no
15410   need_version=no
15411   soname_spec='$libname$release$shared_ext$major'
15412   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15413   case $host_os in
15414   irix5* | nonstopux*)
15415     libsuff= shlibsuff=
15416     ;;
15417   *)
15418     case $LD in # libtool.m4 will add one of these switches to LD
15419     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15420       libsuff= shlibsuff= libmagic=32-bit;;
15421     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15422       libsuff=32 shlibsuff=N32 libmagic=N32;;
15423     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15424       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15425     *) libsuff= shlibsuff= libmagic=never-match;;
15426     esac
15427     ;;
15428   esac
15429   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15430   shlibpath_overrides_runpath=no
15431   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15432   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15433   hardcode_into_libs=yes
15434   ;;
15435
15436 # No shared lib support for Linux oldld, aout, or coff.
15437 linux*oldld* | linux*aout* | linux*coff*)
15438   dynamic_linker=no
15439   ;;
15440
15441 linux*android*)
15442   version_type=none # Android doesn't support versioned libraries.
15443   need_lib_prefix=no
15444   need_version=no
15445   library_names_spec='$libname$release$shared_ext'
15446   soname_spec='$libname$release$shared_ext'
15447   finish_cmds=
15448   shlibpath_var=LD_LIBRARY_PATH
15449   shlibpath_overrides_runpath=yes
15450
15451   # This implies no fast_install, which is unacceptable.
15452   # Some rework will be needed to allow for fast_install
15453   # before this can be enabled.
15454   hardcode_into_libs=yes
15455
15456   dynamic_linker='Android linker'
15457   # Don't embed -rpath directories since the linker doesn't support them.
15458   hardcode_libdir_flag_spec_CXX='-L$libdir'
15459   ;;
15460
15461 # This must be glibc/ELF.
15462 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15463   version_type=linux # correct to gnu/linux during the next big refactor
15464   need_lib_prefix=no
15465   need_version=no
15466   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15467   soname_spec='$libname$release$shared_ext$major'
15468   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15469   shlibpath_var=LD_LIBRARY_PATH
15470   shlibpath_overrides_runpath=no
15471
15472   # Some binutils ld are patched to set DT_RUNPATH
15473   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15474   $as_echo_n "(cached) " >&6
15475 else
15476   lt_cv_shlibpath_overrides_runpath=no
15477     save_LDFLAGS=$LDFLAGS
15478     save_libdir=$libdir
15479     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15480          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15481     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15482 /* end confdefs.h.  */
15483
15484 int
15485 main ()
15486 {
15487
15488   ;
15489   return 0;
15490 }
15491 _ACEOF
15492 if ac_fn_cxx_try_link "$LINENO"; then :
15493   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15494   lt_cv_shlibpath_overrides_runpath=yes
15495 fi
15496 fi
15497 rm -f core conftest.err conftest.$ac_objext \
15498     conftest$ac_exeext conftest.$ac_ext
15499     LDFLAGS=$save_LDFLAGS
15500     libdir=$save_libdir
15501     
15502 fi
15503
15504   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15505
15506   # This implies no fast_install, which is unacceptable.
15507   # Some rework will be needed to allow for fast_install
15508   # before this can be enabled.
15509   hardcode_into_libs=yes
15510
15511   # Ideally, we could use ldconfig to report *all* directores which are
15512   # searched for libraries, however this is still not possible.  Aside from not
15513   # being certain /sbin/ldconfig is available, command
15514   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15515   # even though it is searched at run-time.  Try to do the best guess by
15516   # appending ld.so.conf contents (and includes) to the search path.
15517   if test -f /etc/ld.so.conf; then
15518     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' ' '`
15519     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15520   fi
15521
15522   # We used to test for /lib/ld.so.1 and disable shared libraries on
15523   # powerpc, because MkLinux only supported shared libraries with the
15524   # GNU dynamic linker.  Since this was broken with cross compilers,
15525   # most powerpc-linux boxes support dynamic linking these days and
15526   # people can always --disable-shared, the test was removed, and we
15527   # assume the GNU/Linux dynamic linker is in use.
15528   dynamic_linker='GNU/Linux ld.so'
15529   ;;
15530
15531 netbsdelf*-gnu)
15532   version_type=linux
15533   need_lib_prefix=no
15534   need_version=no
15535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15536   soname_spec='${libname}${release}${shared_ext}$major'
15537   shlibpath_var=LD_LIBRARY_PATH
15538   shlibpath_overrides_runpath=no
15539   hardcode_into_libs=yes
15540   dynamic_linker='NetBSD ld.elf_so'
15541   ;;
15542
15543 netbsd*)
15544   version_type=sunos
15545   need_lib_prefix=no
15546   need_version=no
15547   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15548     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15549     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15550     dynamic_linker='NetBSD (a.out) ld.so'
15551   else
15552     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15553     soname_spec='$libname$release$shared_ext$major'
15554     dynamic_linker='NetBSD ld.elf_so'
15555   fi
15556   shlibpath_var=LD_LIBRARY_PATH
15557   shlibpath_overrides_runpath=yes
15558   hardcode_into_libs=yes
15559   ;;
15560
15561 newsos6)
15562   version_type=linux # correct to gnu/linux during the next big refactor
15563   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15564   shlibpath_var=LD_LIBRARY_PATH
15565   shlibpath_overrides_runpath=yes
15566   ;;
15567
15568 *nto* | *qnx*)
15569   version_type=qnx
15570   need_lib_prefix=no
15571   need_version=no
15572   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15573   soname_spec='$libname$release$shared_ext$major'
15574   shlibpath_var=LD_LIBRARY_PATH
15575   shlibpath_overrides_runpath=no
15576   hardcode_into_libs=yes
15577   dynamic_linker='ldqnx.so'
15578   ;;
15579
15580 openbsd* | bitrig*)
15581   version_type=sunos
15582   sys_lib_dlsearch_path_spec=/usr/lib
15583   need_lib_prefix=no
15584   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15585     need_version=no
15586   else
15587     need_version=yes
15588   fi
15589   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15590   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15591   shlibpath_var=LD_LIBRARY_PATH
15592   shlibpath_overrides_runpath=yes
15593   ;;
15594
15595 os2*)
15596   libname_spec='$name'
15597   version_type=windows
15598   shrext_cmds=.dll
15599   need_version=no
15600   need_lib_prefix=no
15601   # OS/2 can only load a DLL with a base name of 8 characters or less.
15602   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15603     v=$($ECHO $release$versuffix | tr -d .-);
15604     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15605     $ECHO $n$v`$shared_ext'
15606   library_names_spec='${libname}_dll.$libext'
15607   dynamic_linker='OS/2 ld.exe'
15608   shlibpath_var=BEGINLIBPATH
15609   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15610   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15611   postinstall_cmds='base_file=`basename \$file`~
15612     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15613     dldir=$destdir/`dirname \$dlpath`~
15614     test -d \$dldir || mkdir -p \$dldir~
15615     $install_prog $dir/$dlname \$dldir/$dlname~
15616     chmod a+x \$dldir/$dlname~
15617     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15618       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15619     fi'
15620   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15621     dlpath=$dir/\$dldll~
15622     $RM \$dlpath'
15623   ;;
15624
15625 osf3* | osf4* | osf5*)
15626   version_type=osf
15627   need_lib_prefix=no
15628   need_version=no
15629   soname_spec='$libname$release$shared_ext$major'
15630   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15631   shlibpath_var=LD_LIBRARY_PATH
15632   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15633   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15634   ;;
15635
15636 rdos*)
15637   dynamic_linker=no
15638   ;;
15639
15640 solaris*)
15641   version_type=linux # correct to gnu/linux during the next big refactor
15642   need_lib_prefix=no
15643   need_version=no
15644   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15645   soname_spec='$libname$release$shared_ext$major'
15646   shlibpath_var=LD_LIBRARY_PATH
15647   shlibpath_overrides_runpath=yes
15648   hardcode_into_libs=yes
15649   # ldd complains unless libraries are executable
15650   postinstall_cmds='chmod +x $lib'
15651   ;;
15652
15653 sunos4*)
15654   version_type=sunos
15655   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15656   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15657   shlibpath_var=LD_LIBRARY_PATH
15658   shlibpath_overrides_runpath=yes
15659   if test yes = "$with_gnu_ld"; then
15660     need_lib_prefix=no
15661   fi
15662   need_version=yes
15663   ;;
15664
15665 sysv4 | sysv4.3*)
15666   version_type=linux # correct to gnu/linux during the next big refactor
15667   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15668   soname_spec='$libname$release$shared_ext$major'
15669   shlibpath_var=LD_LIBRARY_PATH
15670   case $host_vendor in
15671     sni)
15672       shlibpath_overrides_runpath=no
15673       need_lib_prefix=no
15674       runpath_var=LD_RUN_PATH
15675       ;;
15676     siemens)
15677       need_lib_prefix=no
15678       ;;
15679     motorola)
15680       need_lib_prefix=no
15681       need_version=no
15682       shlibpath_overrides_runpath=no
15683       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15684       ;;
15685   esac
15686   ;;
15687
15688 sysv4*MP*)
15689   if test -d /usr/nec; then
15690     version_type=linux # correct to gnu/linux during the next big refactor
15691     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
15692     soname_spec='$libname$shared_ext.$major'
15693     shlibpath_var=LD_LIBRARY_PATH
15694   fi
15695   ;;
15696
15697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15698   version_type=sco
15699   need_lib_prefix=no
15700   need_version=no
15701   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
15702   soname_spec='$libname$release$shared_ext$major'
15703   shlibpath_var=LD_LIBRARY_PATH
15704   shlibpath_overrides_runpath=yes
15705   hardcode_into_libs=yes
15706   if test yes = "$with_gnu_ld"; then
15707     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15708   else
15709     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15710     case $host_os in
15711       sco3.2v5*)
15712         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15713         ;;
15714     esac
15715   fi
15716   sys_lib_dlsearch_path_spec='/usr/lib'
15717   ;;
15718
15719 tpf*)
15720   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15721   version_type=linux # correct to gnu/linux during the next big refactor
15722   need_lib_prefix=no
15723   need_version=no
15724   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15725   shlibpath_var=LD_LIBRARY_PATH
15726   shlibpath_overrides_runpath=no
15727   hardcode_into_libs=yes
15728   ;;
15729
15730 uts4*)
15731   version_type=linux # correct to gnu/linux during the next big refactor
15732   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15733   soname_spec='$libname$release$shared_ext$major'
15734   shlibpath_var=LD_LIBRARY_PATH
15735   ;;
15736
15737 *)
15738   dynamic_linker=no
15739   ;;
15740 esac
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15742 $as_echo "$dynamic_linker" >&6; }
15743 test no = "$dynamic_linker" && can_build_shared=no
15744
15745 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15746 if test yes = "$GCC"; then
15747   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15748 fi
15749
15750 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
15751   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
15752 fi
15753
15754 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
15755   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
15756 fi
15757
15758 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
15759 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
15760
15761 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15762 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
15763
15764 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
15765 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15807 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15808 hardcode_action_CXX=
15809 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15810    test -n "$runpath_var_CXX" ||
15811    test yes = "$hardcode_automatic_CXX"; then
15812
15813   # We can hardcode non-existent directories.
15814   if test no != "$hardcode_direct_CXX" &&
15815      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15816      # have to relink, otherwise we might link with an installed library
15817      # when we should be linking with a yet-to-be-installed one
15818      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
15819      test no != "$hardcode_minus_L_CXX"; then
15820     # Linking always hardcodes the temporary library directory.
15821     hardcode_action_CXX=relink
15822   else
15823     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15824     hardcode_action_CXX=immediate
15825   fi
15826 else
15827   # We cannot hardcode anything, or else we can only hardcode existing
15828   # directories.
15829   hardcode_action_CXX=unsupported
15830 fi
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15832 $as_echo "$hardcode_action_CXX" >&6; }
15833
15834 if test relink = "$hardcode_action_CXX" ||
15835    test yes = "$inherit_rpath_CXX"; then
15836   # Fast installation is not supported
15837   enable_fast_install=no
15838 elif test yes = "$shlibpath_overrides_runpath" ||
15839      test no = "$enable_shared"; then
15840   # Fast installation is not necessary
15841   enable_fast_install=needless
15842 fi
15843
15844
15845
15846
15847     
15848
15849
15850   fi # test -n "$compiler"
15851
15852   CC=$lt_save_CC
15853   CFLAGS=$lt_save_CFLAGS
15854   LDCXX=$LD
15855   LD=$lt_save_LD
15856   GCC=$lt_save_GCC
15857   with_gnu_ld=$lt_save_with_gnu_ld
15858   lt_cv_path_LDCXX=$lt_cv_path_LD
15859   lt_cv_path_LD=$lt_save_path_LD
15860   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15861   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15862 fi # test yes != "$_lt_caught_CXX_error"
15863
15864 ac_ext=c
15865 ac_cpp='$CPP $CPPFLAGS'
15866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15869
15870
15871 ac_ext=c
15872 ac_cpp='$CPP $CPPFLAGS'
15873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15876 if test -n "$ac_tool_prefix"; then
15877   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15878 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15880 $as_echo_n "checking for $ac_word... " >&6; }
15881 if ${ac_cv_prog_CC+:} false; then :
15882   $as_echo_n "(cached) " >&6
15883 else
15884   if test -n "$CC"; then
15885   ac_cv_prog_CC="$CC" # Let the user override the test.
15886 else
15887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15889 do
15890   IFS=$as_save_IFS
15891   test -z "$as_dir" && as_dir=.
15892     for ac_exec_ext in '' $ac_executable_extensions; do
15893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15894     ac_cv_prog_CC="${ac_tool_prefix}gcc"
15895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15896     break 2
15897   fi
15898 done
15899   done
15900 IFS=$as_save_IFS
15901
15902 fi
15903 fi
15904 CC=$ac_cv_prog_CC
15905 if test -n "$CC"; then
15906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15907 $as_echo "$CC" >&6; }
15908 else
15909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15910 $as_echo "no" >&6; }
15911 fi
15912
15913
15914 fi
15915 if test -z "$ac_cv_prog_CC"; then
15916   ac_ct_CC=$CC
15917   # Extract the first word of "gcc", so it can be a program name with args.
15918 set dummy gcc; ac_word=$2
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15920 $as_echo_n "checking for $ac_word... " >&6; }
15921 if ${ac_cv_prog_ac_ct_CC+:} false; then :
15922   $as_echo_n "(cached) " >&6
15923 else
15924   if test -n "$ac_ct_CC"; then
15925   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15926 else
15927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15928 for as_dir in $PATH
15929 do
15930   IFS=$as_save_IFS
15931   test -z "$as_dir" && as_dir=.
15932     for ac_exec_ext in '' $ac_executable_extensions; do
15933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15934     ac_cv_prog_ac_ct_CC="gcc"
15935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15936     break 2
15937   fi
15938 done
15939   done
15940 IFS=$as_save_IFS
15941
15942 fi
15943 fi
15944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15945 if test -n "$ac_ct_CC"; then
15946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15947 $as_echo "$ac_ct_CC" >&6; }
15948 else
15949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15950 $as_echo "no" >&6; }
15951 fi
15952
15953   if test "x$ac_ct_CC" = x; then
15954     CC=""
15955   else
15956     case $cross_compiling:$ac_tool_warned in
15957 yes:)
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15960 ac_tool_warned=yes ;;
15961 esac
15962     CC=$ac_ct_CC
15963   fi
15964 else
15965   CC="$ac_cv_prog_CC"
15966 fi
15967
15968 if test -z "$CC"; then
15969           if test -n "$ac_tool_prefix"; then
15970     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15971 set dummy ${ac_tool_prefix}cc; ac_word=$2
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15973 $as_echo_n "checking for $ac_word... " >&6; }
15974 if ${ac_cv_prog_CC+:} false; then :
15975   $as_echo_n "(cached) " >&6
15976 else
15977   if test -n "$CC"; then
15978   ac_cv_prog_CC="$CC" # Let the user override the test.
15979 else
15980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15981 for as_dir in $PATH
15982 do
15983   IFS=$as_save_IFS
15984   test -z "$as_dir" && as_dir=.
15985     for ac_exec_ext in '' $ac_executable_extensions; do
15986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15987     ac_cv_prog_CC="${ac_tool_prefix}cc"
15988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15989     break 2
15990   fi
15991 done
15992   done
15993 IFS=$as_save_IFS
15994
15995 fi
15996 fi
15997 CC=$ac_cv_prog_CC
15998 if test -n "$CC"; then
15999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16000 $as_echo "$CC" >&6; }
16001 else
16002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16003 $as_echo "no" >&6; }
16004 fi
16005
16006
16007   fi
16008 fi
16009 if test -z "$CC"; then
16010   # Extract the first word of "cc", so it can be a program name with args.
16011 set dummy cc; ac_word=$2
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16013 $as_echo_n "checking for $ac_word... " >&6; }
16014 if ${ac_cv_prog_CC+:} false; then :
16015   $as_echo_n "(cached) " >&6
16016 else
16017   if test -n "$CC"; then
16018   ac_cv_prog_CC="$CC" # Let the user override the test.
16019 else
16020   ac_prog_rejected=no
16021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16022 for as_dir in $PATH
16023 do
16024   IFS=$as_save_IFS
16025   test -z "$as_dir" && as_dir=.
16026     for ac_exec_ext in '' $ac_executable_extensions; do
16027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16028     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16029        ac_prog_rejected=yes
16030        continue
16031      fi
16032     ac_cv_prog_CC="cc"
16033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034     break 2
16035   fi
16036 done
16037   done
16038 IFS=$as_save_IFS
16039
16040 if test $ac_prog_rejected = yes; then
16041   # We found a bogon in the path, so make sure we never use it.
16042   set dummy $ac_cv_prog_CC
16043   shift
16044   if test $@%:@ != 0; then
16045     # We chose a different compiler from the bogus one.
16046     # However, it has the same basename, so the bogon will be chosen
16047     # first if we set CC to just the basename; use the full file name.
16048     shift
16049     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16050   fi
16051 fi
16052 fi
16053 fi
16054 CC=$ac_cv_prog_CC
16055 if test -n "$CC"; then
16056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16057 $as_echo "$CC" >&6; }
16058 else
16059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16060 $as_echo "no" >&6; }
16061 fi
16062
16063
16064 fi
16065 if test -z "$CC"; then
16066   if test -n "$ac_tool_prefix"; then
16067   for ac_prog in cl.exe
16068   do
16069     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16072 $as_echo_n "checking for $ac_word... " >&6; }
16073 if ${ac_cv_prog_CC+:} false; then :
16074   $as_echo_n "(cached) " >&6
16075 else
16076   if test -n "$CC"; then
16077   ac_cv_prog_CC="$CC" # Let the user override the test.
16078 else
16079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16080 for as_dir in $PATH
16081 do
16082   IFS=$as_save_IFS
16083   test -z "$as_dir" && as_dir=.
16084     for ac_exec_ext in '' $ac_executable_extensions; do
16085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16086     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16088     break 2
16089   fi
16090 done
16091   done
16092 IFS=$as_save_IFS
16093
16094 fi
16095 fi
16096 CC=$ac_cv_prog_CC
16097 if test -n "$CC"; then
16098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16099 $as_echo "$CC" >&6; }
16100 else
16101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16102 $as_echo "no" >&6; }
16103 fi
16104
16105
16106     test -n "$CC" && break
16107   done
16108 fi
16109 if test -z "$CC"; then
16110   ac_ct_CC=$CC
16111   for ac_prog in cl.exe
16112 do
16113   # Extract the first word of "$ac_prog", so it can be a program name with args.
16114 set dummy $ac_prog; ac_word=$2
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16116 $as_echo_n "checking for $ac_word... " >&6; }
16117 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16118   $as_echo_n "(cached) " >&6
16119 else
16120   if test -n "$ac_ct_CC"; then
16121   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16122 else
16123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16124 for as_dir in $PATH
16125 do
16126   IFS=$as_save_IFS
16127   test -z "$as_dir" && as_dir=.
16128     for ac_exec_ext in '' $ac_executable_extensions; do
16129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16130     ac_cv_prog_ac_ct_CC="$ac_prog"
16131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16132     break 2
16133   fi
16134 done
16135   done
16136 IFS=$as_save_IFS
16137
16138 fi
16139 fi
16140 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16141 if test -n "$ac_ct_CC"; then
16142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16143 $as_echo "$ac_ct_CC" >&6; }
16144 else
16145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16146 $as_echo "no" >&6; }
16147 fi
16148
16149
16150   test -n "$ac_ct_CC" && break
16151 done
16152
16153   if test "x$ac_ct_CC" = x; then
16154     CC=""
16155   else
16156     case $cross_compiling:$ac_tool_warned in
16157 yes:)
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16160 ac_tool_warned=yes ;;
16161 esac
16162     CC=$ac_ct_CC
16163   fi
16164 fi
16165
16166 fi
16167
16168
16169 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16171 as_fn_error $? "no acceptable C compiler found in \$PATH
16172 See \`config.log' for more details" "$LINENO" 5; }
16173
16174 # Provide some information about the compiler.
16175 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16176 set X $ac_compile
16177 ac_compiler=$2
16178 for ac_option in --version -v -V -qversion; do
16179   { { ac_try="$ac_compiler $ac_option >&5"
16180 case "(($ac_try" in
16181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16182   *) ac_try_echo=$ac_try;;
16183 esac
16184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16185 $as_echo "$ac_try_echo"; } >&5
16186   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16187   ac_status=$?
16188   if test -s conftest.err; then
16189     sed '10a\
16190 ... rest of stderr output deleted ...
16191          10q' conftest.err >conftest.er1
16192     cat conftest.er1 >&5
16193   fi
16194   rm -f conftest.er1 conftest.err
16195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16196   test $ac_status = 0; }
16197 done
16198
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16200 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16201 if ${ac_cv_c_compiler_gnu+:} false; then :
16202   $as_echo_n "(cached) " >&6
16203 else
16204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h.  */
16206
16207 int
16208 main ()
16209 {
16210 #ifndef __GNUC__
16211        choke me
16212 #endif
16213
16214   ;
16215   return 0;
16216 }
16217 _ACEOF
16218 if ac_fn_c_try_compile "$LINENO"; then :
16219   ac_compiler_gnu=yes
16220 else
16221   ac_compiler_gnu=no
16222 fi
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16224 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16225
16226 fi
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16228 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16229 if test $ac_compiler_gnu = yes; then
16230   GCC=yes
16231 else
16232   GCC=
16233 fi
16234 ac_test_CFLAGS=${CFLAGS+set}
16235 ac_save_CFLAGS=$CFLAGS
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16237 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16238 if ${ac_cv_prog_cc_g+:} false; then :
16239   $as_echo_n "(cached) " >&6
16240 else
16241   ac_save_c_werror_flag=$ac_c_werror_flag
16242    ac_c_werror_flag=yes
16243    ac_cv_prog_cc_g=no
16244    CFLAGS="-g"
16245    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 /* end confdefs.h.  */
16247
16248 int
16249 main ()
16250 {
16251
16252   ;
16253   return 0;
16254 }
16255 _ACEOF
16256 if ac_fn_c_try_compile "$LINENO"; then :
16257   ac_cv_prog_cc_g=yes
16258 else
16259   CFLAGS=""
16260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h.  */
16262
16263 int
16264 main ()
16265 {
16266
16267   ;
16268   return 0;
16269 }
16270 _ACEOF
16271 if ac_fn_c_try_compile "$LINENO"; then :
16272   
16273 else
16274   ac_c_werror_flag=$ac_save_c_werror_flag
16275          CFLAGS="-g"
16276          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h.  */
16278
16279 int
16280 main ()
16281 {
16282
16283   ;
16284   return 0;
16285 }
16286 _ACEOF
16287 if ac_fn_c_try_compile "$LINENO"; then :
16288   ac_cv_prog_cc_g=yes
16289 fi
16290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16291 fi
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 fi
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295    ac_c_werror_flag=$ac_save_c_werror_flag
16296 fi
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16298 $as_echo "$ac_cv_prog_cc_g" >&6; }
16299 if test "$ac_test_CFLAGS" = set; then
16300   CFLAGS=$ac_save_CFLAGS
16301 elif test $ac_cv_prog_cc_g = yes; then
16302   if test "$GCC" = yes; then
16303     CFLAGS="-g -O2"
16304   else
16305     CFLAGS="-g"
16306   fi
16307 else
16308   if test "$GCC" = yes; then
16309     CFLAGS="-O2"
16310   else
16311     CFLAGS=
16312   fi
16313 fi
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16315 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16316 if ${ac_cv_prog_cc_c89+:} false; then :
16317   $as_echo_n "(cached) " >&6
16318 else
16319   ac_cv_prog_cc_c89=no
16320 ac_save_CC=$CC
16321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16322 /* end confdefs.h.  */
16323 #include <stdarg.h>
16324 #include <stdio.h>
16325 struct stat;
16326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16327 struct buf { int x; };
16328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16329 static char *e (p, i)
16330      char **p;
16331      int i;
16332 {
16333   return p[i];
16334 }
16335 static char *f (char * (*g) (char **, int), char **p, ...)
16336 {
16337   char *s;
16338   va_list v;
16339   va_start (v,p);
16340   s = g (p, va_arg (v,int));
16341   va_end (v);
16342   return s;
16343 }
16344
16345 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16346    function prototypes and stuff, but not '\xHH' hex character constants.
16347    These don't provoke an error unfortunately, instead are silently treated
16348    as 'x'.  The following induces an error, until -std is added to get
16349    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16350    array size at least.  It's necessary to write '\x00'==0 to get something
16351    that's true only with -std.  */
16352 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16353
16354 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16355    inside strings and character constants.  */
16356 #define FOO(x) 'x'
16357 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16358
16359 int test (int i, double x);
16360 struct s1 {int (*f) (int a);};
16361 struct s2 {int (*f) (double a);};
16362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16363 int argc;
16364 char **argv;
16365 int
16366 main ()
16367 {
16368 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16369   ;
16370   return 0;
16371 }
16372 _ACEOF
16373 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16374         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16375 do
16376   CC="$ac_save_CC $ac_arg"
16377   if ac_fn_c_try_compile "$LINENO"; then :
16378   ac_cv_prog_cc_c89=$ac_arg
16379 fi
16380 rm -f core conftest.err conftest.$ac_objext
16381   test "x$ac_cv_prog_cc_c89" != "xno" && break
16382 done
16383 rm -f conftest.$ac_ext
16384 CC=$ac_save_CC
16385
16386 fi
16387 # AC_CACHE_VAL
16388 case "x$ac_cv_prog_cc_c89" in
16389   x)
16390     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16391 $as_echo "none needed" >&6; } ;;
16392   xno)
16393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16394 $as_echo "unsupported" >&6; } ;;
16395   *)
16396     CC="$CC $ac_cv_prog_cc_c89"
16397     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16398 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16399 esac
16400 if test "x$ac_cv_prog_cc_c89" != xno; then :
16401   
16402 fi
16403
16404 ac_ext=c
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16409
16410 ac_ext=c
16411 ac_cpp='$CPP $CPPFLAGS'
16412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16416 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16417 if ${am_cv_prog_cc_c_o+:} false; then :
16418   $as_echo_n "(cached) " >&6
16419 else
16420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h.  */
16422
16423 int
16424 main ()
16425 {
16426
16427   ;
16428   return 0;
16429 }
16430 _ACEOF
16431   # Make sure it works both with $CC and with simple cc.
16432   # Following AC_PROG_CC_C_O, we do the test twice because some
16433   # compilers refuse to overwrite an existing .o file with -o,
16434   # though they will create one.
16435   am_cv_prog_cc_c_o=yes
16436   for am_i in 1 2; do
16437     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16438    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16439    ac_status=$?
16440    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441    (exit $ac_status); } \
16442          && test -f conftest2.$ac_objext; then
16443       : OK
16444     else
16445       am_cv_prog_cc_c_o=no
16446       break
16447     fi
16448   done
16449   rm -f core conftest*
16450   unset am_i
16451 fi
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16453 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16454 if test "$am_cv_prog_cc_c_o" != yes; then
16455    # Losing compiler, so override with the script.
16456    # FIXME: It is wrong to rewrite CC.
16457    # But if we don't then we get into trouble of one sort or another.
16458    # A longer-term fix would be to have automake use am__CC in this case,
16459    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16460    CC="$am_aux_dir/compile $CC"
16461 fi
16462 ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16467
16468
16469 depcc="$CC"   am_compiler_list=
16470
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16472 $as_echo_n "checking dependency style of $depcc... " >&6; }
16473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16474   $as_echo_n "(cached) " >&6
16475 else
16476   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16477   # We make a subdir and do the tests there.  Otherwise we can end up
16478   # making bogus files that we don't know about and never remove.  For
16479   # instance it was reported that on HP-UX the gcc test will end up
16480   # making a dummy file named 'D' -- because '-MD' means "put the output
16481   # in D".
16482   rm -rf conftest.dir
16483   mkdir conftest.dir
16484   # Copy depcomp to subdir because otherwise we won't find it if we're
16485   # using a relative directory.
16486   cp "$am_depcomp" conftest.dir
16487   cd conftest.dir
16488   # We will build objects and dependencies in a subdirectory because
16489   # it helps to detect inapplicable dependency modes.  For instance
16490   # both Tru64's cc and ICC support -MD to output dependencies as a
16491   # side effect of compilation, but ICC will put the dependencies in
16492   # the current directory while Tru64 will put them in the object
16493   # directory.
16494   mkdir sub
16495
16496   am_cv_CC_dependencies_compiler_type=none
16497   if test "$am_compiler_list" = ""; then
16498      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16499   fi
16500   am__universal=false
16501   case " $depcc " in #(
16502      *\ -arch\ *\ -arch\ *) am__universal=true ;;
16503      esac
16504
16505   for depmode in $am_compiler_list; do
16506     # Setup a source with many dependencies, because some compilers
16507     # like to wrap large dependency lists on column 80 (with \), and
16508     # we should not choose a depcomp mode which is confused by this.
16509     #
16510     # We need to recreate these files for each test, as the compiler may
16511     # overwrite some of them when testing with obscure command lines.
16512     # This happens at least with the AIX C compiler.
16513     : > sub/conftest.c
16514     for i in 1 2 3 4 5 6; do
16515       echo '#include "conftst'$i'.h"' >> sub/conftest.c
16516       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
16517       # Solaris 10 /bin/sh.
16518       echo '/* dummy */' > sub/conftst$i.h
16519     done
16520     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16521
16522     # We check with '-c' and '-o' for the sake of the "dashmstdout"
16523     # mode.  It turns out that the SunPro C++ compiler does not properly
16524     # handle '-M -o', and we need to detect this.  Also, some Intel
16525     # versions had trouble with output in subdirs.
16526     am__obj=sub/conftest.${OBJEXT-o}
16527     am__minus_obj="-o $am__obj"
16528     case $depmode in
16529     gcc)
16530       # This depmode causes a compiler race in universal mode.
16531       test "$am__universal" = false || continue
16532       ;;
16533     nosideeffect)
16534       # After this tag, mechanisms are not by side-effect, so they'll
16535       # only be used when explicitly requested.
16536       if test "x$enable_dependency_tracking" = xyes; then
16537         continue
16538       else
16539         break
16540       fi
16541       ;;
16542     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16543       # This compiler won't grok '-c -o', but also, the minuso test has
16544       # not run yet.  These depmodes are late enough in the game, and
16545       # so weak that their functioning should not be impacted.
16546       am__obj=conftest.${OBJEXT-o}
16547       am__minus_obj=
16548       ;;
16549     none) break ;;
16550     esac
16551     if depmode=$depmode \
16552        source=sub/conftest.c object=$am__obj \
16553        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16554        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16555          >/dev/null 2>conftest.err &&
16556        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16557        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16558        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16559        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16560       # icc doesn't choke on unknown options, it will just issue warnings
16561       # or remarks (even with -Werror).  So we grep stderr for any message
16562       # that says an option was ignored or not supported.
16563       # When given -MP, icc 7.0 and 7.1 complain thusly:
16564       #   icc: Command line warning: ignoring option '-M'; no argument required
16565       # The diagnosis changed in icc 8.0:
16566       #   icc: Command line remark: option '-MP' not supported
16567       if (grep 'ignoring option' conftest.err ||
16568           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16569         am_cv_CC_dependencies_compiler_type=$depmode
16570         break
16571       fi
16572     fi
16573   done
16574
16575   cd ..
16576   rm -rf conftest.dir
16577 else
16578   am_cv_CC_dependencies_compiler_type=none
16579 fi
16580
16581 fi
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16585
16586  if 
16587   test "x$enable_dependency_tracking" != xno \
16588   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16589   am__fastdepCC_TRUE=
16590   am__fastdepCC_FALSE='#'
16591 else
16592   am__fastdepCC_TRUE='#'
16593   am__fastdepCC_FALSE=
16594 fi
16595
16596
16597
16598 # Checks for libraries.
16599
16600 # Checks for header files.
16601 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16602 if test "x$ac_cv_type_size_t" = xyes; then :
16603   
16604 else
16605   
16606 cat >>confdefs.h <<_ACEOF
16607 @%:@define size_t unsigned int
16608 _ACEOF
16609
16610 fi
16611
16612 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16613 # for constant arguments.  Useless!
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
16615 $as_echo_n "checking for working alloca.h... " >&6; }
16616 if ${ac_cv_working_alloca_h+:} false; then :
16617   $as_echo_n "(cached) " >&6
16618 else
16619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h.  */
16621 @%:@include <alloca.h>
16622 int
16623 main ()
16624 {
16625 char *p = (char *) alloca (2 * sizeof (int));
16626                           if (p) return 0;
16627   ;
16628   return 0;
16629 }
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"; then :
16632   ac_cv_working_alloca_h=yes
16633 else
16634   ac_cv_working_alloca_h=no
16635 fi
16636 rm -f core conftest.err conftest.$ac_objext \
16637     conftest$ac_exeext conftest.$ac_ext
16638 fi
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
16640 $as_echo "$ac_cv_working_alloca_h" >&6; }
16641 if test $ac_cv_working_alloca_h = yes; then
16642   
16643 $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
16644
16645 fi
16646
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
16648 $as_echo_n "checking for alloca... " >&6; }
16649 if ${ac_cv_func_alloca_works+:} false; then :
16650   $as_echo_n "(cached) " >&6
16651 else
16652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h.  */
16654 #ifdef __GNUC__
16655 # define alloca __builtin_alloca
16656 #else
16657 # ifdef _MSC_VER
16658 #  include <malloc.h>
16659 #  define alloca _alloca
16660 # else
16661 #  ifdef HAVE_ALLOCA_H
16662 #   include <alloca.h>
16663 #  else
16664 #   ifdef _AIX
16665  #pragma alloca
16666 #   else
16667 #    ifndef alloca /* predefined by HP cc +Olibcalls */
16668 void *alloca (size_t);
16669 #    endif
16670 #   endif
16671 #  endif
16672 # endif
16673 #endif
16674
16675 int
16676 main ()
16677 {
16678 char *p = (char *) alloca (1);
16679                                     if (p) return 0;
16680   ;
16681   return 0;
16682 }
16683 _ACEOF
16684 if ac_fn_c_try_link "$LINENO"; then :
16685   ac_cv_func_alloca_works=yes
16686 else
16687   ac_cv_func_alloca_works=no
16688 fi
16689 rm -f core conftest.err conftest.$ac_objext \
16690     conftest$ac_exeext conftest.$ac_ext
16691 fi
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
16693 $as_echo "$ac_cv_func_alloca_works" >&6; }
16694
16695 if test $ac_cv_func_alloca_works = yes; then
16696   
16697 $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
16698
16699 else
16700   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16701 # that cause trouble.  Some versions do not even contain alloca or
16702 # contain a buggy version.  If you still want to use their alloca,
16703 # use ar to extract alloca.o from them instead of compiling alloca.c.
16704
16705 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
16706
16707 $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
16708
16709
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
16711 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
16712 if ${ac_cv_os_cray+:} false; then :
16713   $as_echo_n "(cached) " >&6
16714 else
16715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h.  */
16717 #if defined CRAY && ! defined CRAY2
16718 webecray
16719 #else
16720 wenotbecray
16721 #endif
16722
16723 _ACEOF
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725   $EGREP "webecray" >/dev/null 2>&1; then :
16726   ac_cv_os_cray=yes
16727 else
16728   ac_cv_os_cray=no
16729 fi
16730 rm -f conftest*
16731
16732 fi
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
16734 $as_echo "$ac_cv_os_cray" >&6; }
16735 if test $ac_cv_os_cray = yes; then
16736   for ac_func in _getb67 GETB67 getb67; do
16737     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16740   
16741 cat >>confdefs.h <<_ACEOF
16742 @%:@define CRAY_STACKSEG_END $ac_func
16743 _ACEOF
16744
16745     break
16746 fi
16747
16748   done
16749 fi
16750
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
16752 $as_echo_n "checking stack direction for C alloca... " >&6; }
16753 if ${ac_cv_c_stack_direction+:} false; then :
16754   $as_echo_n "(cached) " >&6
16755 else
16756   if test "$cross_compiling" = yes; then :
16757   ac_cv_c_stack_direction=0
16758 else
16759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h.  */
16761 $ac_includes_default
16762 int
16763 find_stack_direction (int *addr, int depth)
16764 {
16765   int dir, dummy = 0;
16766   if (! addr)
16767     addr = &dummy;
16768   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
16769   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
16770   return dir + dummy;
16771 }
16772
16773 int
16774 main (int argc, char **argv)
16775 {
16776   return find_stack_direction (0, argc + !argv + 20) < 0;
16777 }
16778 _ACEOF
16779 if ac_fn_c_try_run "$LINENO"; then :
16780   ac_cv_c_stack_direction=1
16781 else
16782   ac_cv_c_stack_direction=-1
16783 fi
16784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16785   conftest.$ac_objext conftest.beam conftest.$ac_ext
16786 fi
16787
16788 fi
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
16790 $as_echo "$ac_cv_c_stack_direction" >&6; }
16791 cat >>confdefs.h <<_ACEOF
16792 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
16793 _ACEOF
16794
16795
16796 fi
16797
16798 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
16799 do :
16800   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16801 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16803   cat >>confdefs.h <<_ACEOF
16804 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16805 _ACEOF
16806  
16807 fi
16808
16809 done
16810
16811
16812 # Checks for typedefs, structures, and compiler characteristics.
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16814 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16815 if ${ac_cv_header_stdbool_h+:} false; then :
16816   $as_echo_n "(cached) " >&6
16817 else
16818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h.  */
16820
16821              #include <stdbool.h>
16822              #ifndef bool
16823               "error: bool is not defined"
16824              #endif
16825              #ifndef false
16826               "error: false is not defined"
16827              #endif
16828              #if false
16829               "error: false is not 0"
16830              #endif
16831              #ifndef true
16832               "error: true is not defined"
16833              #endif
16834              #if true != 1
16835               "error: true is not 1"
16836              #endif
16837              #ifndef __bool_true_false_are_defined
16838               "error: __bool_true_false_are_defined is not defined"
16839              #endif
16840
16841              struct s { _Bool s: 1; _Bool t; } s;
16842
16843              char a[true == 1 ? 1 : -1];
16844              char b[false == 0 ? 1 : -1];
16845              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16846              char d[(bool) 0.5 == true ? 1 : -1];
16847              /* See body of main program for 'e'.  */
16848              char f[(_Bool) 0.0 == false ? 1 : -1];
16849              char g[true];
16850              char h[sizeof (_Bool)];
16851              char i[sizeof s.t];
16852              enum { j = false, k = true, l = false * true, m = true * 256 };
16853              /* The following fails for
16854                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16855              _Bool n[m];
16856              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16857              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16858              /* Catch a bug in an HP-UX C compiler.  See
16859                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16860                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16861               */
16862              _Bool q = true;
16863              _Bool *pq = &q;
16864            
16865 int
16866 main ()
16867 {
16868
16869              bool e = &s;
16870              *pq |= q;
16871              *pq |= ! q;
16872              /* Refer to every declared value, to avoid compiler optimizations.  */
16873              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16874                      + !m + !n + !o + !p + !q + !pq);
16875            
16876   ;
16877   return 0;
16878 }
16879 _ACEOF
16880 if ac_fn_c_try_compile "$LINENO"; then :
16881   ac_cv_header_stdbool_h=yes
16882 else
16883   ac_cv_header_stdbool_h=no
16884 fi
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 fi
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16888 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16889    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16890 if test "x$ac_cv_type__Bool" = xyes; then :
16891   
16892 cat >>confdefs.h <<_ACEOF
16893 @%:@define HAVE__BOOL 1
16894 _ACEOF
16895
16896
16897 fi
16898
16899
16900 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16901 if test "x$ac_cv_type_size_t" = xyes; then :
16902   
16903 else
16904   
16905 cat >>confdefs.h <<_ACEOF
16906 @%:@define size_t unsigned int
16907 _ACEOF
16908
16909 fi
16910
16911
16912 # Checks for library functions.
16913 for ac_header in stdlib.h
16914 do :
16915   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16916 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16917   cat >>confdefs.h <<_ACEOF
16918 @%:@define HAVE_STDLIB_H 1
16919 _ACEOF
16920  
16921 fi
16922
16923 done
16924
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16926 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16927 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16928   $as_echo_n "(cached) " >&6
16929 else
16930   if test "$cross_compiling" = yes; then :
16931   ac_cv_func_malloc_0_nonnull=no
16932 else
16933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h.  */
16935 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16936 # include <stdlib.h>
16937 #else
16938 char *malloc ();
16939 #endif
16940
16941 int
16942 main ()
16943 {
16944 return ! malloc (0);
16945   ;
16946   return 0;
16947 }
16948 _ACEOF
16949 if ac_fn_c_try_run "$LINENO"; then :
16950   ac_cv_func_malloc_0_nonnull=yes
16951 else
16952   ac_cv_func_malloc_0_nonnull=no
16953 fi
16954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16955   conftest.$ac_objext conftest.beam conftest.$ac_ext
16956 fi
16957
16958 fi
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16960 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16961 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16962   
16963 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
16964
16965 else
16966   $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
16967
16968    case " $LIB@&t@OBJS " in
16969   *" malloc.$ac_objext "* ) ;;
16970   *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
16971  ;;
16972 esac
16973
16974    
16975 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
16976
16977 fi
16978
16979
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16981 $as_echo_n "checking for working strtod... " >&6; }
16982 if ${ac_cv_func_strtod+:} false; then :
16983   $as_echo_n "(cached) " >&6
16984 else
16985   if test "$cross_compiling" = yes; then :
16986   ac_cv_func_strtod=no
16987 else
16988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h.  */
16990
16991 $ac_includes_default
16992 #ifndef strtod
16993 double strtod ();
16994 #endif
16995 int
16996 main()
16997 {
16998   {
16999     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
17000     char *string = " +69";
17001     char *term;
17002     double value;
17003     value = strtod (string, &term);
17004     if (value != 69 || term != (string + 4))
17005       return 1;
17006   }
17007
17008   {
17009     /* Under Solaris 2.4, strtod returns the wrong value for the
17010        terminating character under some conditions.  */
17011     char *string = "NaN";
17012     char *term;
17013     strtod (string, &term);
17014     if (term != string && *(term - 1) == 0)
17015       return 1;
17016   }
17017   return 0;
17018 }
17019
17020 _ACEOF
17021 if ac_fn_c_try_run "$LINENO"; then :
17022   ac_cv_func_strtod=yes
17023 else
17024   ac_cv_func_strtod=no
17025 fi
17026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17027   conftest.$ac_objext conftest.beam conftest.$ac_ext
17028 fi
17029
17030 fi
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
17032 $as_echo "$ac_cv_func_strtod" >&6; }
17033 if test $ac_cv_func_strtod = no; then
17034   case " $LIB@&t@OBJS " in
17035   *" strtod.$ac_objext "* ) ;;
17036   *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
17037  ;;
17038 esac
17039
17040 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
17041 if test "x$ac_cv_func_pow" = xyes; then :
17042   
17043 fi
17044
17045 if test $ac_cv_func_pow = no; then
17046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
17047 $as_echo_n "checking for pow in -lm... " >&6; }
17048 if ${ac_cv_lib_m_pow+:} false; then :
17049   $as_echo_n "(cached) " >&6
17050 else
17051   ac_check_lib_save_LIBS=$LIBS
17052 LIBS="-lm  $LIBS"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h.  */
17055
17056 /* Override any GCC internal prototype to avoid an error.
17057    Use char because int might match the return type of a GCC
17058    builtin and then its argument prototype would still apply.  */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 char pow ();
17063 int
17064 main ()
17065 {
17066 return pow ();
17067   ;
17068   return 0;
17069 }
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"; then :
17072   ac_cv_lib_m_pow=yes
17073 else
17074   ac_cv_lib_m_pow=no
17075 fi
17076 rm -f core conftest.err conftest.$ac_objext \
17077     conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17079 fi
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
17081 $as_echo "$ac_cv_lib_m_pow" >&6; }
17082 if test "x$ac_cv_lib_m_pow" = xyes; then :
17083   POW_LIB=-lm
17084 else
17085   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
17086 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
17087 fi
17088
17089 fi
17090
17091 fi
17092
17093 for ac_func in regcomp strchr strrchr strstr strtol strtoul
17094 do :
17095   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17097 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17098   cat >>confdefs.h <<_ACEOF
17099 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17100 _ACEOF
17101  
17102 fi
17103 done
17104
17105
17106 cat >confcache <<\_ACEOF
17107 # This file is a shell script that caches the results of configure
17108 # tests run on this system so they can be shared between configure
17109 # scripts and configure runs, see configure's option --config-cache.
17110 # It is not useful on other systems.  If it contains results you don't
17111 # want to keep, you may remove or edit it.
17112 #
17113 # config.status only pays attention to the cache file if you give it
17114 # the --recheck option to rerun configure.
17115 #
17116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17118 # following values.
17119
17120 _ACEOF
17121
17122 # The following way of writing the cache mishandles newlines in values,
17123 # but we know of no workaround that is simple, portable, and efficient.
17124 # So, we kill variables containing newlines.
17125 # Ultrix sh set writes to stderr and can't be redirected directly,
17126 # and sets the high bit in the cache file unless we assign to the vars.
17127 (
17128   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17129     eval ac_val=\$$ac_var
17130     case $ac_val in #(
17131     *${as_nl}*)
17132       case $ac_var in #(
17133       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17135       esac
17136       case $ac_var in #(
17137       _ | IFS | as_nl) ;; #(
17138       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17139       *) { eval $ac_var=; unset $ac_var;} ;;
17140       esac ;;
17141     esac
17142   done
17143
17144   (set) 2>&1 |
17145     case $as_nl`(ac_space=' '; set) 2>&1` in #(
17146     *${as_nl}ac_space=\ *)
17147       # `set' does not quote correctly, so add quotes: double-quote
17148       # substitution turns \\\\ into \\, and sed turns \\ into \.
17149       sed -n \
17150         "s/'/'\\\\''/g;
17151           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17152       ;; #(
17153     *)
17154       # `set' quotes correctly as required by POSIX, so do not add quotes.
17155       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17156       ;;
17157     esac |
17158     sort
17159 ) |
17160   sed '
17161      /^ac_cv_env_/b end
17162      t clear
17163      :clear
17164      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17165      t end
17166      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17167      :end' >>confcache
17168 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17169   if test -w "$cache_file"; then
17170     if test "x$cache_file" != "x/dev/null"; then
17171       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17172 $as_echo "$as_me: updating cache $cache_file" >&6;}
17173       if test ! -f "$cache_file" || test -h "$cache_file"; then
17174         cat confcache >"$cache_file"
17175       else
17176         case $cache_file in #(
17177         */* | ?:*)
17178           mv -f confcache "$cache_file"$$ &&
17179           mv -f "$cache_file"$$ "$cache_file" ;; #(
17180         *)
17181           mv -f confcache "$cache_file" ;;
17182         esac
17183       fi
17184     fi
17185   else
17186     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17188   fi
17189 fi
17190 rm -f confcache
17191
17192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17193 # Let make expand exec_prefix.
17194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17195
17196 # Transform confdefs.h into DEFS.
17197 # Protect against shell expansion while executing Makefile rules.
17198 # Protect against Makefile macro expansion.
17199 #
17200 # If the first sed substitution is executed (which looks for macros that
17201 # take arguments), then branch to the quote section.  Otherwise,
17202 # look for a macro that doesn't take arguments.
17203 ac_script='
17204 :mline
17205 /\\$/{
17206  N
17207  s,\\\n,,
17208  b mline
17209 }
17210 t clear
17211 :clear
17212 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
17213 t quote
17214 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
17215 t quote
17216 b any
17217 :quote
17218 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17219 s/\[/\\&/g
17220 s/\]/\\&/g
17221 s/\$/$$/g
17222 H
17223 :any
17224 ${
17225         g
17226         s/^\n//
17227         s/\n/ /g
17228         p
17229 }
17230 '
17231 DEFS=`sed -n "$ac_script" confdefs.h`
17232
17233
17234 ac_libobjs=
17235 ac_ltlibobjs=
17236 U=
17237 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
17238   # 1. Remove the extension, and $U if already installed.
17239   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17240   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17241   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17242   #    will be set to the directory where LIBOBJS objects are built.
17243   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17244   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17245 done
17246 LIB@&t@OBJS=$ac_libobjs
17247
17248 LTLIBOBJS=$ac_ltlibobjs
17249
17250
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17252 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17253    if test -n "$am_sleep_pid"; then
17254      # Hide warnings about reused PIDs.
17255      wait $am_sleep_pid 2>/dev/null
17256    fi
17257    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17258 $as_echo "done" >&6; }
17259  if test -n "$EXEEXT"; then
17260   am__EXEEXT_TRUE=
17261   am__EXEEXT_FALSE='#'
17262 else
17263   am__EXEEXT_TRUE='#'
17264   am__EXEEXT_FALSE=
17265 fi
17266
17267 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17268   as_fn_error $? "conditional \"AMDEP\" was never defined.
17269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17270 fi
17271 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17272   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17274 fi
17275 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17276   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17278 fi
17279 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17280   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17282 fi
17283
17284 : "${CONFIG_STATUS=./config.status}"
17285 ac_write_fail=0
17286 ac_clean_files_save=$ac_clean_files
17287 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17289 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17290 as_write_fail=0
17291 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17292 #! $SHELL
17293 # Generated by $as_me.
17294 # Run this file to recreate the current configuration.
17295 # Compiler output produced by configure, useful for debugging
17296 # configure, is in config.log if it exists.
17297
17298 debug=false
17299 ac_cs_recheck=false
17300 ac_cs_silent=false
17301
17302 SHELL=\${CONFIG_SHELL-$SHELL}
17303 export SHELL
17304 _ASEOF
17305 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17306 ## -------------------- ##
17307 ## M4sh Initialization. ##
17308 ## -------------------- ##
17309
17310 # Be more Bourne compatible
17311 DUALCASE=1; export DUALCASE # for MKS sh
17312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17313   emulate sh
17314   NULLCMD=:
17315   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17316   # is contrary to our usage.  Disable this feature.
17317   alias -g '${1+"$@"}'='"$@"'
17318   setopt NO_GLOB_SUBST
17319 else
17320   case `(set -o) 2>/dev/null` in @%:@(
17321   *posix*) :
17322     set -o posix ;; @%:@(
17323   *) :
17324      ;;
17325 esac
17326 fi
17327
17328
17329 as_nl='
17330 '
17331 export as_nl
17332 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17333 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17334 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17335 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17336 # Prefer a ksh shell builtin over an external printf program on Solaris,
17337 # but without wasting forks for bash or zsh.
17338 if test -z "$BASH_VERSION$ZSH_VERSION" \
17339     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17340   as_echo='print -r --'
17341   as_echo_n='print -rn --'
17342 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17343   as_echo='printf %s\n'
17344   as_echo_n='printf %s'
17345 else
17346   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17347     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17348     as_echo_n='/usr/ucb/echo -n'
17349   else
17350     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17351     as_echo_n_body='eval
17352       arg=$1;
17353       case $arg in @%:@(
17354       *"$as_nl"*)
17355         expr "X$arg" : "X\\(.*\\)$as_nl";
17356         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17357       esac;
17358       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17359     '
17360     export as_echo_n_body
17361     as_echo_n='sh -c $as_echo_n_body as_echo'
17362   fi
17363   export as_echo_body
17364   as_echo='sh -c $as_echo_body as_echo'
17365 fi
17366
17367 # The user is always right.
17368 if test "${PATH_SEPARATOR+set}" != set; then
17369   PATH_SEPARATOR=:
17370   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17371     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17372       PATH_SEPARATOR=';'
17373   }
17374 fi
17375
17376
17377 # IFS
17378 # We need space, tab and new line, in precisely that order.  Quoting is
17379 # there to prevent editors from complaining about space-tab.
17380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17381 # splitting by setting IFS to empty value.)
17382 IFS=" ""        $as_nl"
17383
17384 # Find who we are.  Look in the path if we contain no directory separator.
17385 as_myself=
17386 case $0 in @%:@((
17387   *[\\/]* ) as_myself=$0 ;;
17388   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17389 for as_dir in $PATH
17390 do
17391   IFS=$as_save_IFS
17392   test -z "$as_dir" && as_dir=.
17393     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17394   done
17395 IFS=$as_save_IFS
17396
17397      ;;
17398 esac
17399 # We did not find ourselves, most probably we were run as `sh COMMAND'
17400 # in which case we are not to be found in the path.
17401 if test "x$as_myself" = x; then
17402   as_myself=$0
17403 fi
17404 if test ! -f "$as_myself"; then
17405   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17406   exit 1
17407 fi
17408
17409 # Unset variables that we do not need and which cause bugs (e.g. in
17410 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17411 # suppresses any "Segmentation fault" message there.  '((' could
17412 # trigger a bug in pdksh 5.2.14.
17413 for as_var in BASH_ENV ENV MAIL MAILPATH
17414 do eval test x\${$as_var+set} = xset \
17415   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17416 done
17417 PS1='$ '
17418 PS2='> '
17419 PS4='+ '
17420
17421 # NLS nuisances.
17422 LC_ALL=C
17423 export LC_ALL
17424 LANGUAGE=C
17425 export LANGUAGE
17426
17427 # CDPATH.
17428 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17429
17430
17431 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
17432 @%:@ ----------------------------------------
17433 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17434 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17435 @%:@ script with STATUS, using 1 if that was 0.
17436 as_fn_error ()
17437 {
17438   as_status=$1; test $as_status -eq 0 && as_status=1
17439   if test "$4"; then
17440     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17441     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17442   fi
17443   $as_echo "$as_me: error: $2" >&2
17444   as_fn_exit $as_status
17445 } @%:@ as_fn_error
17446
17447
17448 @%:@ as_fn_set_status STATUS
17449 @%:@ -----------------------
17450 @%:@ Set @S|@? to STATUS, without forking.
17451 as_fn_set_status ()
17452 {
17453   return $1
17454 } @%:@ as_fn_set_status
17455
17456 @%:@ as_fn_exit STATUS
17457 @%:@ -----------------
17458 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17459 as_fn_exit ()
17460 {
17461   set +e
17462   as_fn_set_status $1
17463   exit $1
17464 } @%:@ as_fn_exit
17465
17466 @%:@ as_fn_unset VAR
17467 @%:@ ---------------
17468 @%:@ Portably unset VAR.
17469 as_fn_unset ()
17470 {
17471   { eval $1=; unset $1;}
17472 }
17473 as_unset=as_fn_unset
17474 @%:@ as_fn_append VAR VALUE
17475 @%:@ ----------------------
17476 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
17477 @%:@ advantage of any shell optimizations that allow amortized linear growth over
17478 @%:@ repeated appends, instead of the typical quadratic growth present in naive
17479 @%:@ implementations.
17480 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17481   eval 'as_fn_append ()
17482   {
17483     eval $1+=\$2
17484   }'
17485 else
17486   as_fn_append ()
17487   {
17488     eval $1=\$$1\$2
17489   }
17490 fi # as_fn_append
17491
17492 @%:@ as_fn_arith ARG...
17493 @%:@ ------------------
17494 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
17495 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
17496 @%:@ must be portable across @S|@(()) and expr.
17497 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17498   eval 'as_fn_arith ()
17499   {
17500     as_val=$(( $* ))
17501   }'
17502 else
17503   as_fn_arith ()
17504   {
17505     as_val=`expr "$@" || test $? -eq 1`
17506   }
17507 fi # as_fn_arith
17508
17509
17510 if expr a : '\(a\)' >/dev/null 2>&1 &&
17511    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17512   as_expr=expr
17513 else
17514   as_expr=false
17515 fi
17516
17517 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17518   as_basename=basename
17519 else
17520   as_basename=false
17521 fi
17522
17523 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17524   as_dirname=dirname
17525 else
17526   as_dirname=false
17527 fi
17528
17529 as_me=`$as_basename -- "$0" ||
17530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17531          X"$0" : 'X\(//\)$' \| \
17532          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17533 $as_echo X/"$0" |
17534     sed '/^.*\/\([^/][^/]*\)\/*$/{
17535             s//\1/
17536             q
17537           }
17538           /^X\/\(\/\/\)$/{
17539             s//\1/
17540             q
17541           }
17542           /^X\/\(\/\).*/{
17543             s//\1/
17544             q
17545           }
17546           s/.*/./; q'`
17547
17548 # Avoid depending upon Character Ranges.
17549 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17550 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17551 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17552 as_cr_digits='0123456789'
17553 as_cr_alnum=$as_cr_Letters$as_cr_digits
17554
17555 ECHO_C= ECHO_N= ECHO_T=
17556 case `echo -n x` in @%:@(((((
17557 -n*)
17558   case `echo 'xy\c'` in
17559   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17560   xy)  ECHO_C='\c';;
17561   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17562        ECHO_T=' ';;
17563   esac;;
17564 *)
17565   ECHO_N='-n';;
17566 esac
17567
17568 rm -f conf$$ conf$$.exe conf$$.file
17569 if test -d conf$$.dir; then
17570   rm -f conf$$.dir/conf$$.file
17571 else
17572   rm -f conf$$.dir
17573   mkdir conf$$.dir 2>/dev/null
17574 fi
17575 if (echo >conf$$.file) 2>/dev/null; then
17576   if ln -s conf$$.file conf$$ 2>/dev/null; then
17577     as_ln_s='ln -s'
17578     # ... but there are two gotchas:
17579     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17580     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17581     # In both cases, we have to default to `cp -pR'.
17582     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17583       as_ln_s='cp -pR'
17584   elif ln conf$$.file conf$$ 2>/dev/null; then
17585     as_ln_s=ln
17586   else
17587     as_ln_s='cp -pR'
17588   fi
17589 else
17590   as_ln_s='cp -pR'
17591 fi
17592 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17593 rmdir conf$$.dir 2>/dev/null
17594
17595
17596 @%:@ as_fn_mkdir_p
17597 @%:@ -------------
17598 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
17599 as_fn_mkdir_p ()
17600 {
17601
17602   case $as_dir in #(
17603   -*) as_dir=./$as_dir;;
17604   esac
17605   test -d "$as_dir" || eval $as_mkdir_p || {
17606     as_dirs=
17607     while :; do
17608       case $as_dir in #(
17609       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17610       *) as_qdir=$as_dir;;
17611       esac
17612       as_dirs="'$as_qdir' $as_dirs"
17613       as_dir=`$as_dirname -- "$as_dir" ||
17614 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17615          X"$as_dir" : 'X\(//\)[^/]' \| \
17616          X"$as_dir" : 'X\(//\)$' \| \
17617          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17618 $as_echo X"$as_dir" |
17619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17620             s//\1/
17621             q
17622           }
17623           /^X\(\/\/\)[^/].*/{
17624             s//\1/
17625             q
17626           }
17627           /^X\(\/\/\)$/{
17628             s//\1/
17629             q
17630           }
17631           /^X\(\/\).*/{
17632             s//\1/
17633             q
17634           }
17635           s/.*/./; q'`
17636       test -d "$as_dir" && break
17637     done
17638     test -z "$as_dirs" || eval "mkdir $as_dirs"
17639   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17640
17641
17642 } @%:@ as_fn_mkdir_p
17643 if mkdir -p . 2>/dev/null; then
17644   as_mkdir_p='mkdir -p "$as_dir"'
17645 else
17646   test -d ./-p && rmdir ./-p
17647   as_mkdir_p=false
17648 fi
17649
17650
17651 @%:@ as_fn_executable_p FILE
17652 @%:@ -----------------------
17653 @%:@ Test if FILE is an executable regular file.
17654 as_fn_executable_p ()
17655 {
17656   test -f "$1" && test -x "$1"
17657 } @%:@ as_fn_executable_p
17658 as_test_x='test -x'
17659 as_executable_p=as_fn_executable_p
17660
17661 # Sed expression to map a string onto a valid CPP name.
17662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17663
17664 # Sed expression to map a string onto a valid variable name.
17665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17666
17667
17668 exec 6>&1
17669 ## ----------------------------------- ##
17670 ## Main body of $CONFIG_STATUS script. ##
17671 ## ----------------------------------- ##
17672 _ASEOF
17673 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17674
17675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17676 # Save the log message, to keep $0 and so on meaningful, and to
17677 # report actual input values of CONFIG_FILES etc. instead of their
17678 # values after options handling.
17679 ac_log="
17680 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17681 generated by GNU Autoconf 2.69.  Invocation command line was
17682
17683   CONFIG_FILES    = $CONFIG_FILES
17684   CONFIG_HEADERS  = $CONFIG_HEADERS
17685   CONFIG_LINKS    = $CONFIG_LINKS
17686   CONFIG_COMMANDS = $CONFIG_COMMANDS
17687   $ $0 $@
17688
17689 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17690 "
17691
17692 _ACEOF
17693
17694 case $ac_config_files in *"
17695 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17696 esac
17697
17698
17699
17700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17701 # Files that config.status was made for.
17702 config_files="$ac_config_files"
17703 config_commands="$ac_config_commands"
17704
17705 _ACEOF
17706
17707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17708 ac_cs_usage="\
17709 \`$as_me' instantiates files and other configuration actions
17710 from templates according to the current configuration.  Unless the files
17711 and actions are specified as TAGs, all are instantiated by default.
17712
17713 Usage: $0 [OPTION]... [TAG]...
17714
17715   -h, --help       print this help, then exit
17716   -V, --version    print version number and configuration settings, then exit
17717       --config     print configuration, then exit
17718   -q, --quiet, --silent
17719                    do not print progress messages
17720   -d, --debug      don't remove temporary files
17721       --recheck    update $as_me by reconfiguring in the same conditions
17722       --file=FILE[:TEMPLATE] 
17723                    instantiate the configuration file FILE
17724
17725 Configuration files:
17726 $config_files
17727
17728 Configuration commands:
17729 $config_commands
17730
17731 Report bugs to <BUG-REPORT-ADDRESS>."
17732
17733 _ACEOF
17734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17735 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17736 ac_cs_version="\\
17737 ACL - Andromeda Class Library config.status 0.1
17738 configured by $0, generated by GNU Autoconf 2.69,
17739   with options \\"\$ac_cs_config\\"
17740
17741 Copyright (C) 2012 Free Software Foundation, Inc.
17742 This config.status script is free software; the Free Software Foundation
17743 gives unlimited permission to copy, distribute and modify it."
17744
17745 ac_pwd='$ac_pwd'
17746 srcdir='$srcdir'
17747 INSTALL='$INSTALL'
17748 MKDIR_P='$MKDIR_P'
17749 AWK='$AWK'
17750 test -n "\$AWK" || AWK=awk
17751 _ACEOF
17752
17753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17754 # The default lists apply if the user does not specify any file.
17755 ac_need_defaults=:
17756 while test $# != 0
17757 do
17758   case $1 in
17759   --*=?*)
17760     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17761     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17762     ac_shift=:
17763     ;;
17764   --*=)
17765     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17766     ac_optarg=
17767     ac_shift=:
17768     ;;
17769   *)
17770     ac_option=$1
17771     ac_optarg=$2
17772     ac_shift=shift
17773     ;;
17774   esac
17775
17776   case $ac_option in
17777   # Handling of the options.
17778   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17779     ac_cs_recheck=: ;;
17780   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17781     $as_echo "$ac_cs_version"; exit ;;
17782   --config | --confi | --conf | --con | --co | --c )
17783     $as_echo "$ac_cs_config"; exit ;;
17784   --debug | --debu | --deb | --de | --d | -d )
17785     debug=: ;;
17786   --file | --fil | --fi | --f )
17787     $ac_shift
17788     case $ac_optarg in
17789     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17790     '') as_fn_error $? "missing file argument" ;;
17791     esac
17792     as_fn_append CONFIG_FILES " '$ac_optarg'"
17793     ac_need_defaults=false;;
17794   --he | --h |  --help | --hel | -h )
17795     $as_echo "$ac_cs_usage"; exit ;;
17796   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17797   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17798     ac_cs_silent=: ;;
17799
17800   # This is an error.
17801   -*) as_fn_error $? "unrecognized option: \`$1'
17802 Try \`$0 --help' for more information." ;;
17803
17804   *) as_fn_append ac_config_targets " $1"
17805      ac_need_defaults=false ;;
17806
17807   esac
17808   shift
17809 done
17810
17811 ac_configure_extra_args=
17812
17813 if $ac_cs_silent; then
17814   exec 6>/dev/null
17815   ac_configure_extra_args="$ac_configure_extra_args --silent"
17816 fi
17817
17818 _ACEOF
17819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17820 if \$ac_cs_recheck; then
17821   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17822   shift
17823   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17824   CONFIG_SHELL='$SHELL'
17825   export CONFIG_SHELL
17826   exec "\$@"
17827 fi
17828
17829 _ACEOF
17830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17831 exec 5>>config.log
17832 {
17833   echo
17834   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17835 @%:@@%:@ Running $as_me. @%:@@%:@
17836 _ASBOX
17837   $as_echo "$ac_log"
17838 } >&5
17839
17840 _ACEOF
17841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17842 #
17843 # INIT-COMMANDS
17844 #
17845 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17846
17847
17848 # The HP-UX ksh and POSIX shell print the target directory to stdout
17849 # if CDPATH is set.
17850 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17851
17852 sed_quote_subst='$sed_quote_subst'
17853 double_quote_subst='$double_quote_subst'
17854 delay_variable_subst='$delay_variable_subst'
17855 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17856 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17857 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17858 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17859 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17860 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17861 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17862 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17863 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17864 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17865 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17866 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17867 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17868 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17869 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17870 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17871 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17872 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17873 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17874 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17875 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17876 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17877 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17878 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17879 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17880 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17881 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17882 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17883 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17884 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17885 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17886 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17887 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17888 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17889 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17890 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17891 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17892 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17893 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17894 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17895 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17896 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17897 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17898 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17899 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17900 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17901 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17902 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17903 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17904 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17905 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17906 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17907 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17908 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17909 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17910 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17911 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17912 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17913 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"`'
17914 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17915 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17916 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17917 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17918 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17919 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17920 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17921 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17922 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17923 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17924 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17925 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17926 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17927 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17928 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17929 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17930 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17931 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17932 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17933 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17934 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17935 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17936 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17937 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17938 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17939 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17940 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17941 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17942 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17943 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17944 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17945 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17946 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17947 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17948 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17949 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17950 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17951 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17952 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17953 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17954 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17955 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17956 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17957 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17958 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17959 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17960 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17961 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17962 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17963 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17964 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17965 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17966 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17967 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17968 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17969 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17970 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17971 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17972 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17973 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17974 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17975 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17976 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17977 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17978 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17979 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17980 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17981 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17982 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17983 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17984 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17985 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17986 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17987 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17988 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17989 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17990 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17991 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17992 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17993 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17994 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17995 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17996 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17997 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17998 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17999 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18000 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18001 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18002 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18003 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18004 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18005 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18006 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18007 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18008 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18009 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18010 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18011 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18012 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18013 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18014 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18015 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18016 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18017 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18018 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18019 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18020 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18021 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18022 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18023 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18024 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18025 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18026 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18027 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18028 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18029 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18030 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18031 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18032 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18033 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18034 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18035 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18036 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18037 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18038 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18039 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18040 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18041 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18042 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18043 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18044
18045 LTCC='$LTCC'
18046 LTCFLAGS='$LTCFLAGS'
18047 compiler='$compiler_DEFAULT'
18048
18049 # A function that is used when there is no print builtin or printf.
18050 func_fallback_echo ()
18051 {
18052   eval 'cat <<_LTECHO_EOF
18053 \$1
18054 _LTECHO_EOF'
18055 }
18056
18057 # Quote evaled strings.
18058 for var in SHELL \
18059 ECHO \
18060 PATH_SEPARATOR \
18061 SED \
18062 GREP \
18063 EGREP \
18064 FGREP \
18065 LD \
18066 NM \
18067 LN_S \
18068 lt_SP2NL \
18069 lt_NL2SP \
18070 reload_flag \
18071 OBJDUMP \
18072 deplibs_check_method \
18073 file_magic_cmd \
18074 file_magic_glob \
18075 want_nocaseglob \
18076 DLLTOOL \
18077 sharedlib_from_linklib_cmd \
18078 AR \
18079 AR_FLAGS \
18080 archiver_list_spec \
18081 STRIP \
18082 RANLIB \
18083 CC \
18084 CFLAGS \
18085 compiler \
18086 lt_cv_sys_global_symbol_pipe \
18087 lt_cv_sys_global_symbol_to_cdecl \
18088 lt_cv_sys_global_symbol_to_import \
18089 lt_cv_sys_global_symbol_to_c_name_address \
18090 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18091 lt_cv_nm_interface \
18092 nm_file_list_spec \
18093 lt_cv_truncate_bin \
18094 lt_prog_compiler_no_builtin_flag \
18095 lt_prog_compiler_pic \
18096 lt_prog_compiler_wl \
18097 lt_prog_compiler_static \
18098 lt_cv_prog_compiler_c_o \
18099 need_locks \
18100 MANIFEST_TOOL \
18101 DSYMUTIL \
18102 NMEDIT \
18103 LIPO \
18104 OTOOL \
18105 OTOOL64 \
18106 shrext_cmds \
18107 export_dynamic_flag_spec \
18108 whole_archive_flag_spec \
18109 compiler_needs_object \
18110 with_gnu_ld \
18111 allow_undefined_flag \
18112 no_undefined_flag \
18113 hardcode_libdir_flag_spec \
18114 hardcode_libdir_separator \
18115 exclude_expsyms \
18116 include_expsyms \
18117 file_list_spec \
18118 variables_saved_for_relink \
18119 libname_spec \
18120 library_names_spec \
18121 soname_spec \
18122 install_override_mode \
18123 finish_eval \
18124 old_striplib \
18125 striplib \
18126 compiler_lib_search_dirs \
18127 predep_objects \
18128 postdep_objects \
18129 predeps \
18130 postdeps \
18131 compiler_lib_search_path \
18132 LD_CXX \
18133 reload_flag_CXX \
18134 compiler_CXX \
18135 lt_prog_compiler_no_builtin_flag_CXX \
18136 lt_prog_compiler_pic_CXX \
18137 lt_prog_compiler_wl_CXX \
18138 lt_prog_compiler_static_CXX \
18139 lt_cv_prog_compiler_c_o_CXX \
18140 export_dynamic_flag_spec_CXX \
18141 whole_archive_flag_spec_CXX \
18142 compiler_needs_object_CXX \
18143 with_gnu_ld_CXX \
18144 allow_undefined_flag_CXX \
18145 no_undefined_flag_CXX \
18146 hardcode_libdir_flag_spec_CXX \
18147 hardcode_libdir_separator_CXX \
18148 exclude_expsyms_CXX \
18149 include_expsyms_CXX \
18150 file_list_spec_CXX \
18151 compiler_lib_search_dirs_CXX \
18152 predep_objects_CXX \
18153 postdep_objects_CXX \
18154 predeps_CXX \
18155 postdeps_CXX \
18156 compiler_lib_search_path_CXX; do
18157     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18158     *[\\\\\\\`\\"\\\$]*)
18159       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18160       ;;
18161     *)
18162       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18163       ;;
18164     esac
18165 done
18166
18167 # Double-quote double-evaled strings.
18168 for var in reload_cmds \
18169 old_postinstall_cmds \
18170 old_postuninstall_cmds \
18171 old_archive_cmds \
18172 extract_expsyms_cmds \
18173 old_archive_from_new_cmds \
18174 old_archive_from_expsyms_cmds \
18175 archive_cmds \
18176 archive_expsym_cmds \
18177 module_cmds \
18178 module_expsym_cmds \
18179 export_symbols_cmds \
18180 prelink_cmds \
18181 postlink_cmds \
18182 postinstall_cmds \
18183 postuninstall_cmds \
18184 finish_cmds \
18185 sys_lib_search_path_spec \
18186 configure_time_dlsearch_path \
18187 configure_time_lt_sys_library_path \
18188 reload_cmds_CXX \
18189 old_archive_cmds_CXX \
18190 old_archive_from_new_cmds_CXX \
18191 old_archive_from_expsyms_cmds_CXX \
18192 archive_cmds_CXX \
18193 archive_expsym_cmds_CXX \
18194 module_cmds_CXX \
18195 module_expsym_cmds_CXX \
18196 export_symbols_cmds_CXX \
18197 prelink_cmds_CXX \
18198 postlink_cmds_CXX; do
18199     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18200     *[\\\\\\\`\\"\\\$]*)
18201       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18202       ;;
18203     *)
18204       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18205       ;;
18206     esac
18207 done
18208
18209 ac_aux_dir='$ac_aux_dir'
18210
18211 # See if we are running on zsh, and set the options that allow our
18212 # commands through without removal of \ escapes INIT.
18213 if test -n "\${ZSH_VERSION+set}"; then
18214    setopt NO_GLOB_SUBST
18215 fi
18216
18217
18218     PACKAGE='$PACKAGE'
18219     VERSION='$VERSION'
18220     RM='$RM'
18221     ofile='$ofile'
18222
18223
18224
18225
18226
18227
18228 _ACEOF
18229
18230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18231
18232 # Handling of arguments.
18233 for ac_config_target in $ac_config_targets
18234 do
18235   case $ac_config_target in
18236     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18237     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18238     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18239     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18240
18241   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18242   esac
18243 done
18244
18245
18246 # If the user did not use the arguments to specify the items to instantiate,
18247 # then the envvar interface is used.  Set only those that are not.
18248 # We use the long form for the default assignment because of an extremely
18249 # bizarre bug on SunOS 4.1.3.
18250 if $ac_need_defaults; then
18251   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18252   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18253 fi
18254
18255 # Have a temporary directory for convenience.  Make it in the build tree
18256 # simply because there is no reason against having it here, and in addition,
18257 # creating and moving files from /tmp can sometimes cause problems.
18258 # Hook for its removal unless debugging.
18259 # Note that there is a small window in which the directory will not be cleaned:
18260 # after its creation but before its name has been assigned to `$tmp'.
18261 $debug ||
18262 {
18263   tmp= ac_tmp=
18264   trap 'exit_status=$?
18265   : "${ac_tmp:=$tmp}"
18266   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18267 ' 0
18268   trap 'as_fn_exit 1' 1 2 13 15
18269 }
18270 # Create a (secure) tmp directory for tmp files.
18271
18272 {
18273   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18274   test -d "$tmp"
18275 }  ||
18276 {
18277   tmp=./conf$$-$RANDOM
18278   (umask 077 && mkdir "$tmp")
18279 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18280 ac_tmp=$tmp
18281
18282 # Set up the scripts for CONFIG_FILES section.
18283 # No need to generate them if there are no CONFIG_FILES.
18284 # This happens for instance with `./config.status config.h'.
18285 if test -n "$CONFIG_FILES"; then
18286
18287
18288 ac_cr=`echo X | tr X '\015'`
18289 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18290 # But we know of no other shell where ac_cr would be empty at this
18291 # point, so we can use a bashism as a fallback.
18292 if test "x$ac_cr" = x; then
18293   eval ac_cr=\$\'\\r\'
18294 fi
18295 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18296 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18297   ac_cs_awk_cr='\\r'
18298 else
18299   ac_cs_awk_cr=$ac_cr
18300 fi
18301
18302 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18303 _ACEOF
18304
18305
18306 {
18307   echo "cat >conf$$subs.awk <<_ACEOF" &&
18308   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18309   echo "_ACEOF"
18310 } >conf$$subs.sh ||
18311   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18312 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18313 ac_delim='%!_!# '
18314 for ac_last_try in false false false false false :; do
18315   . ./conf$$subs.sh ||
18316     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18317
18318   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18319   if test $ac_delim_n = $ac_delim_num; then
18320     break
18321   elif $ac_last_try; then
18322     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18323   else
18324     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18325   fi
18326 done
18327 rm -f conf$$subs.sh
18328
18329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18330 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18331 _ACEOF
18332 sed -n '
18333 h
18334 s/^/S["/; s/!.*/"]=/
18335 p
18336 g
18337 s/^[^!]*!//
18338 :repl
18339 t repl
18340 s/'"$ac_delim"'$//
18341 t delim
18342 :nl
18343 h
18344 s/\(.\{148\}\)..*/\1/
18345 t more1
18346 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18347 p
18348 n
18349 b repl
18350 :more1
18351 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18352 p
18353 g
18354 s/.\{148\}//
18355 t nl
18356 :delim
18357 h
18358 s/\(.\{148\}\)..*/\1/
18359 t more2
18360 s/["\\]/\\&/g; s/^/"/; s/$/"/
18361 p
18362 b
18363 :more2
18364 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18365 p
18366 g
18367 s/.\{148\}//
18368 t delim
18369 ' <conf$$subs.awk | sed '
18370 /^[^""]/{
18371   N
18372   s/\n//
18373 }
18374 ' >>$CONFIG_STATUS || ac_write_fail=1
18375 rm -f conf$$subs.awk
18376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18377 _ACAWK
18378 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18379   for (key in S) S_is_set[key] = 1
18380   FS = "\a"
18381
18382 }
18383 {
18384   line = $ 0
18385   nfields = split(line, field, "@")
18386   substed = 0
18387   len = length(field[1])
18388   for (i = 2; i < nfields; i++) {
18389     key = field[i]
18390     keylen = length(key)
18391     if (S_is_set[key]) {
18392       value = S[key]
18393       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18394       len += length(value) + length(field[++i])
18395       substed = 1
18396     } else
18397       len += 1 + keylen
18398   }
18399
18400   print line
18401 }
18402
18403 _ACAWK
18404 _ACEOF
18405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18406 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18407   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18408 else
18409   cat
18410 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18411   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18412 _ACEOF
18413
18414 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18415 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18416 # trailing colons and then remove the whole line if VPATH becomes empty
18417 # (actually we leave an empty line to preserve line numbers).
18418 if test "x$srcdir" = x.; then
18419   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18420 h
18421 s///
18422 s/^/:/
18423 s/[      ]*$/:/
18424 s/:\$(srcdir):/:/g
18425 s/:\${srcdir}:/:/g
18426 s/:@srcdir@:/:/g
18427 s/^:*//
18428 s/:*$//
18429 x
18430 s/\(=[   ]*\).*/\1/
18431 G
18432 s/\n//
18433 s/^[^=]*=[       ]*$//
18434 }'
18435 fi
18436
18437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18438 fi # test -n "$CONFIG_FILES"
18439
18440
18441 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
18442 shift
18443 for ac_tag
18444 do
18445   case $ac_tag in
18446   :[FHLC]) ac_mode=$ac_tag; continue;;
18447   esac
18448   case $ac_mode$ac_tag in
18449   :[FHL]*:*);;
18450   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18451   :[FH]-) ac_tag=-:-;;
18452   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18453   esac
18454   ac_save_IFS=$IFS
18455   IFS=:
18456   set x $ac_tag
18457   IFS=$ac_save_IFS
18458   shift
18459   ac_file=$1
18460   shift
18461
18462   case $ac_mode in
18463   :L) ac_source=$1;;
18464   :[FH])
18465     ac_file_inputs=
18466     for ac_f
18467     do
18468       case $ac_f in
18469       -) ac_f="$ac_tmp/stdin";;
18470       *) # Look for the file first in the build tree, then in the source tree
18471          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18472          # because $ac_f cannot contain `:'.
18473          test -f "$ac_f" ||
18474            case $ac_f in
18475            [\\/$]*) false;;
18476            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18477            esac ||
18478            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18479       esac
18480       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18481       as_fn_append ac_file_inputs " '$ac_f'"
18482     done
18483
18484     # Let's still pretend it is `configure' which instantiates (i.e., don't
18485     # use $as_me), people would be surprised to read:
18486     #    /* config.h.  Generated by config.status.  */
18487     configure_input='Generated from '`
18488           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18489         `' by configure.'
18490     if test x"$ac_file" != x-; then
18491       configure_input="$ac_file.  $configure_input"
18492       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18493 $as_echo "$as_me: creating $ac_file" >&6;}
18494     fi
18495     # Neutralize special characters interpreted by sed in replacement strings.
18496     case $configure_input in #(
18497     *\&* | *\|* | *\\* )
18498        ac_sed_conf_input=`$as_echo "$configure_input" |
18499        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18500     *) ac_sed_conf_input=$configure_input;;
18501     esac
18502
18503     case $ac_tag in
18504     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18505       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18506     esac
18507     ;;
18508   esac
18509
18510   ac_dir=`$as_dirname -- "$ac_file" ||
18511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18512          X"$ac_file" : 'X\(//\)[^/]' \| \
18513          X"$ac_file" : 'X\(//\)$' \| \
18514          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18515 $as_echo X"$ac_file" |
18516     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18517             s//\1/
18518             q
18519           }
18520           /^X\(\/\/\)[^/].*/{
18521             s//\1/
18522             q
18523           }
18524           /^X\(\/\/\)$/{
18525             s//\1/
18526             q
18527           }
18528           /^X\(\/\).*/{
18529             s//\1/
18530             q
18531           }
18532           s/.*/./; q'`
18533   as_dir="$ac_dir"; as_fn_mkdir_p
18534   ac_builddir=.
18535
18536 case "$ac_dir" in
18537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18538 *)
18539   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18540   # A ".." for each directory in $ac_dir_suffix.
18541   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18542   case $ac_top_builddir_sub in
18543   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18544   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18545   esac ;;
18546 esac
18547 ac_abs_top_builddir=$ac_pwd
18548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18549 # for backward compatibility:
18550 ac_top_builddir=$ac_top_build_prefix
18551
18552 case $srcdir in
18553   .)  # We are building in place.
18554     ac_srcdir=.
18555     ac_top_srcdir=$ac_top_builddir_sub
18556     ac_abs_top_srcdir=$ac_pwd ;;
18557   [\\/]* | ?:[\\/]* )  # Absolute name.
18558     ac_srcdir=$srcdir$ac_dir_suffix;
18559     ac_top_srcdir=$srcdir
18560     ac_abs_top_srcdir=$srcdir ;;
18561   *) # Relative name.
18562     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18563     ac_top_srcdir=$ac_top_build_prefix$srcdir
18564     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18565 esac
18566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18567
18568
18569   case $ac_mode in
18570   :F)
18571   #
18572   # CONFIG_FILE
18573   #
18574
18575   case $INSTALL in
18576   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18577   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18578   esac
18579   ac_MKDIR_P=$MKDIR_P
18580   case $MKDIR_P in
18581   [\\/$]* | ?:[\\/]* ) ;;
18582   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18583   esac
18584 _ACEOF
18585
18586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18587 # If the template does not know about datarootdir, expand it.
18588 # FIXME: This hack should be removed a few years after 2.60.
18589 ac_datarootdir_hack=; ac_datarootdir_seen=
18590 ac_sed_dataroot='
18591 /datarootdir/ {
18592   p
18593   q
18594 }
18595 /@datadir@/p
18596 /@docdir@/p
18597 /@infodir@/p
18598 /@localedir@/p
18599 /@mandir@/p'
18600 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18601 *datarootdir*) ac_datarootdir_seen=yes;;
18602 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18603   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18604 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18605 _ACEOF
18606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18607   ac_datarootdir_hack='
18608   s&@datadir@&$datadir&g
18609   s&@docdir@&$docdir&g
18610   s&@infodir@&$infodir&g
18611   s&@localedir@&$localedir&g
18612   s&@mandir@&$mandir&g
18613   s&\\\${datarootdir}&$datarootdir&g' ;;
18614 esac
18615 _ACEOF
18616
18617 # Neutralize VPATH when `$srcdir' = `.'.
18618 # Shell code in configure.ac might set extrasub.
18619 # FIXME: do we really want to maintain this feature?
18620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18621 ac_sed_extra="$ac_vpsub
18622 $extrasub
18623 _ACEOF
18624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18625 :t
18626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18627 s|@configure_input@|$ac_sed_conf_input|;t t
18628 s&@top_builddir@&$ac_top_builddir_sub&;t t
18629 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18630 s&@srcdir@&$ac_srcdir&;t t
18631 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18632 s&@top_srcdir@&$ac_top_srcdir&;t t
18633 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18634 s&@builddir@&$ac_builddir&;t t
18635 s&@abs_builddir@&$ac_abs_builddir&;t t
18636 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18637 s&@INSTALL@&$ac_INSTALL&;t t
18638 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18639 $ac_datarootdir_hack
18640 "
18641 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18642   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18643
18644 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18645   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18646   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18647       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18648   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18649 which seems to be undefined.  Please make sure it is defined" >&5
18650 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18651 which seems to be undefined.  Please make sure it is defined" >&2;}
18652
18653   rm -f "$ac_tmp/stdin"
18654   case $ac_file in
18655   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18656   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18657   esac \
18658   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18659  ;;
18660   
18661   
18662   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18663 $as_echo "$as_me: executing $ac_file commands" >&6;}
18664  ;;
18665   esac
18666
18667
18668   case $ac_file$ac_mode in
18669     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18670   # Older Autoconf quotes --file arguments for eval, but not when files
18671   # are listed without --file.  Let's play safe and only enable the eval
18672   # if we detect the quoting.
18673   case $CONFIG_FILES in
18674   *\'*) eval set x "$CONFIG_FILES" ;;
18675   *)   set x $CONFIG_FILES ;;
18676   esac
18677   shift
18678   for mf
18679   do
18680     # Strip MF so we end up with the name of the file.
18681     mf=`echo "$mf" | sed -e 's/:.*$//'`
18682     # Check whether this is an Automake generated Makefile or not.
18683     # We used to match only the files named 'Makefile.in', but
18684     # some people rename them; so instead we look at the file content.
18685     # Grep'ing the first line is not enough: some people post-process
18686     # each Makefile.in and add a new line on top of each file to say so.
18687     # Grep'ing the whole file is not good either: AIX grep has a line
18688     # limit of 2048, but all sed's we know have understand at least 4000.
18689     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18690       dirpart=`$as_dirname -- "$mf" ||
18691 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18692          X"$mf" : 'X\(//\)[^/]' \| \
18693          X"$mf" : 'X\(//\)$' \| \
18694          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18695 $as_echo X"$mf" |
18696     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18697             s//\1/
18698             q
18699           }
18700           /^X\(\/\/\)[^/].*/{
18701             s//\1/
18702             q
18703           }
18704           /^X\(\/\/\)$/{
18705             s//\1/
18706             q
18707           }
18708           /^X\(\/\).*/{
18709             s//\1/
18710             q
18711           }
18712           s/.*/./; q'`
18713     else
18714       continue
18715     fi
18716     # Extract the definition of DEPDIR, am__include, and am__quote
18717     # from the Makefile without running 'make'.
18718     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18719     test -z "$DEPDIR" && continue
18720     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18721     test -z "$am__include" && continue
18722     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18723     # Find all dependency output files, they are included files with
18724     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18725     # simplest approach to changing $(DEPDIR) to its actual value in the
18726     # expansion.
18727     for file in `sed -n "
18728       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18729          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18730       # Make sure the directory exists.
18731       test -f "$dirpart/$file" && continue
18732       fdir=`$as_dirname -- "$file" ||
18733 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18734          X"$file" : 'X\(//\)[^/]' \| \
18735          X"$file" : 'X\(//\)$' \| \
18736          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18737 $as_echo X"$file" |
18738     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18739             s//\1/
18740             q
18741           }
18742           /^X\(\/\/\)[^/].*/{
18743             s//\1/
18744             q
18745           }
18746           /^X\(\/\/\)$/{
18747             s//\1/
18748             q
18749           }
18750           /^X\(\/\).*/{
18751             s//\1/
18752             q
18753           }
18754           s/.*/./; q'`
18755       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18756       # echo "creating $dirpart/$file"
18757       echo '# dummy' > "$dirpart/$file"
18758     done
18759   done
18760 }
18761  ;;
18762     "libtool":C) 
18763     
18764     # See if we are running on zsh, and set the options that allow our
18765     # commands through without removal of \ escapes.
18766     if test -n "${ZSH_VERSION+set}"; then
18767       setopt NO_GLOB_SUBST
18768     fi
18769
18770     cfgfile=${ofile}T
18771     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18772     $RM "$cfgfile"
18773
18774     cat <<_LT_EOF >> "$cfgfile"
18775 #! $SHELL
18776 # Generated automatically by $as_me ($PACKAGE) $VERSION
18777 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18778
18779 # Provide generalized library-building support services.
18780 # Written by Gordon Matzigkeit, 1996
18781
18782 # Copyright (C) 2014 Free Software Foundation, Inc.
18783 # This is free software; see the source for copying conditions.  There is NO
18784 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18785
18786 # GNU Libtool is free software; you can redistribute it and/or modify
18787 # it under the terms of the GNU General Public License as published by
18788 # the Free Software Foundation; either version 2 of of the License, or
18789 # (at your option) any later version.
18790 #
18791 # As a special exception to the GNU General Public License, if you
18792 # distribute this file as part of a program or library that is built
18793 # using GNU Libtool, you may include this file under the  same
18794 # distribution terms that you use for the rest of that program.
18795 #
18796 # GNU Libtool is distributed in the hope that it will be useful, but
18797 # WITHOUT ANY WARRANTY; without even the implied warranty of
18798 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18799 # GNU General Public License for more details.
18800 #
18801 # You should have received a copy of the GNU General Public License
18802 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18803
18804
18805 # The names of the tagged configurations supported by this script.
18806 available_tags='CXX '
18807
18808 # Configured defaults for sys_lib_dlsearch_path munging.
18809 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18810
18811 # ### BEGIN LIBTOOL CONFIG
18812
18813 # Which release of libtool.m4 was used?
18814 macro_version=$macro_version
18815 macro_revision=$macro_revision
18816
18817 # Whether or not to build shared libraries.
18818 build_libtool_libs=$enable_shared
18819
18820 # Whether or not to build static libraries.
18821 build_old_libs=$enable_static
18822
18823 # What type of objects to build.
18824 pic_mode=$pic_mode
18825
18826 # Whether or not to optimize for fast installation.
18827 fast_install=$enable_fast_install
18828
18829 # Shared archive member basename,for filename based shared library versioning on AIX.
18830 shared_archive_member_spec=$shared_archive_member_spec
18831
18832 # Shell to use when invoking shell scripts.
18833 SHELL=$lt_SHELL
18834
18835 # An echo program that protects backslashes.
18836 ECHO=$lt_ECHO
18837
18838 # The PATH separator for the build system.
18839 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18840
18841 # The host system.
18842 host_alias=$host_alias
18843 host=$host
18844 host_os=$host_os
18845
18846 # The build system.
18847 build_alias=$build_alias
18848 build=$build
18849 build_os=$build_os
18850
18851 # A sed program that does not truncate output.
18852 SED=$lt_SED
18853
18854 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18855 Xsed="\$SED -e 1s/^X//"
18856
18857 # A grep program that handles long lines.
18858 GREP=$lt_GREP
18859
18860 # An ERE matcher.
18861 EGREP=$lt_EGREP
18862
18863 # A literal string matcher.
18864 FGREP=$lt_FGREP
18865
18866 # A BSD- or MS-compatible name lister.
18867 NM=$lt_NM
18868
18869 # Whether we need soft or hard links.
18870 LN_S=$lt_LN_S
18871
18872 # What is the maximum length of a command?
18873 max_cmd_len=$max_cmd_len
18874
18875 # Object file suffix (normally "o").
18876 objext=$ac_objext
18877
18878 # Executable file suffix (normally "").
18879 exeext=$exeext
18880
18881 # whether the shell understands "unset".
18882 lt_unset=$lt_unset
18883
18884 # turn spaces into newlines.
18885 SP2NL=$lt_lt_SP2NL
18886
18887 # turn newlines into spaces.
18888 NL2SP=$lt_lt_NL2SP
18889
18890 # convert \$build file names to \$host format.
18891 to_host_file_cmd=$lt_cv_to_host_file_cmd
18892
18893 # convert \$build files to toolchain format.
18894 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18895
18896 # An object symbol dumper.
18897 OBJDUMP=$lt_OBJDUMP
18898
18899 # Method to check whether dependent libraries are shared objects.
18900 deplibs_check_method=$lt_deplibs_check_method
18901
18902 # Command to use when deplibs_check_method = "file_magic".
18903 file_magic_cmd=$lt_file_magic_cmd
18904
18905 # How to find potential files when deplibs_check_method = "file_magic".
18906 file_magic_glob=$lt_file_magic_glob
18907
18908 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18909 want_nocaseglob=$lt_want_nocaseglob
18910
18911 # DLL creation program.
18912 DLLTOOL=$lt_DLLTOOL
18913
18914 # Command to associate shared and link libraries.
18915 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18916
18917 # The archiver.
18918 AR=$lt_AR
18919
18920 # Flags to create an archive.
18921 AR_FLAGS=$lt_AR_FLAGS
18922
18923 # How to feed a file listing to the archiver.
18924 archiver_list_spec=$lt_archiver_list_spec
18925
18926 # A symbol stripping program.
18927 STRIP=$lt_STRIP
18928
18929 # Commands used to install an old-style archive.
18930 RANLIB=$lt_RANLIB
18931 old_postinstall_cmds=$lt_old_postinstall_cmds
18932 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18933
18934 # Whether to use a lock for old archive extraction.
18935 lock_old_archive_extraction=$lock_old_archive_extraction
18936
18937 # A C compiler.
18938 LTCC=$lt_CC
18939
18940 # LTCC compiler flags.
18941 LTCFLAGS=$lt_CFLAGS
18942
18943 # Take the output of nm and produce a listing of raw symbols and C names.
18944 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18945
18946 # Transform the output of nm in a proper C declaration.
18947 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18948
18949 # Transform the output of nm into a list of symbols to manually relocate.
18950 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18951
18952 # Transform the output of nm in a C name address pair.
18953 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18954
18955 # Transform the output of nm in a C name address pair when lib prefix is needed.
18956 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18957
18958 # The name lister interface.
18959 nm_interface=$lt_lt_cv_nm_interface
18960
18961 # Specify filename containing input files for \$NM.
18962 nm_file_list_spec=$lt_nm_file_list_spec
18963
18964 # The root where to search for dependent libraries,and where our libraries should be installed.
18965 lt_sysroot=$lt_sysroot
18966
18967 # Command to truncate a binary pipe.
18968 lt_truncate_bin=$lt_lt_cv_truncate_bin
18969
18970 # The name of the directory that contains temporary libtool files.
18971 objdir=$objdir
18972
18973 # Used to examine libraries when file_magic_cmd begins with "file".
18974 MAGIC_CMD=$MAGIC_CMD
18975
18976 # Must we lock files when doing compilation?
18977 need_locks=$lt_need_locks
18978
18979 # Manifest tool.
18980 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18981
18982 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18983 DSYMUTIL=$lt_DSYMUTIL
18984
18985 # Tool to change global to local symbols on Mac OS X.
18986 NMEDIT=$lt_NMEDIT
18987
18988 # Tool to manipulate fat objects and archives on Mac OS X.
18989 LIPO=$lt_LIPO
18990
18991 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18992 OTOOL=$lt_OTOOL
18993
18994 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18995 OTOOL64=$lt_OTOOL64
18996
18997 # Old archive suffix (normally "a").
18998 libext=$libext
18999
19000 # Shared library suffix (normally ".so").
19001 shrext_cmds=$lt_shrext_cmds
19002
19003 # The commands to extract the exported symbol list from a shared archive.
19004 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19005
19006 # Variables whose values should be saved in libtool wrapper scripts and
19007 # restored at link time.
19008 variables_saved_for_relink=$lt_variables_saved_for_relink
19009
19010 # Do we need the "lib" prefix for modules?
19011 need_lib_prefix=$need_lib_prefix
19012
19013 # Do we need a version for libraries?
19014 need_version=$need_version
19015
19016 # Library versioning type.
19017 version_type=$version_type
19018
19019 # Shared library runtime path variable.
19020 runpath_var=$runpath_var
19021
19022 # Shared library path variable.
19023 shlibpath_var=$shlibpath_var
19024
19025 # Is shlibpath searched before the hard-coded library search path?
19026 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19027
19028 # Format of library name prefix.
19029 libname_spec=$lt_libname_spec
19030
19031 # List of archive names.  First name is the real one, the rest are links.
19032 # The last name is the one that the linker finds with -lNAME
19033 library_names_spec=$lt_library_names_spec
19034
19035 # The coded name of the library, if different from the real name.
19036 soname_spec=$lt_soname_spec
19037
19038 # Permission mode override for installation of shared libraries.
19039 install_override_mode=$lt_install_override_mode
19040
19041 # Command to use after installation of a shared archive.
19042 postinstall_cmds=$lt_postinstall_cmds
19043
19044 # Command to use after uninstallation of a shared archive.
19045 postuninstall_cmds=$lt_postuninstall_cmds
19046
19047 # Commands used to finish a libtool library installation in a directory.
19048 finish_cmds=$lt_finish_cmds
19049
19050 # As "finish_cmds", except a single script fragment to be evaled but
19051 # not shown.
19052 finish_eval=$lt_finish_eval
19053
19054 # Whether we should hardcode library paths into libraries.
19055 hardcode_into_libs=$hardcode_into_libs
19056
19057 # Compile-time system search path for libraries.
19058 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19059
19060 # Detected run-time system search path for libraries.
19061 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19062
19063 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19064 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19065
19066 # Whether dlopen is supported.
19067 dlopen_support=$enable_dlopen
19068
19069 # Whether dlopen of programs is supported.
19070 dlopen_self=$enable_dlopen_self
19071
19072 # Whether dlopen of statically linked programs is supported.
19073 dlopen_self_static=$enable_dlopen_self_static
19074
19075 # Commands to strip libraries.
19076 old_striplib=$lt_old_striplib
19077 striplib=$lt_striplib
19078
19079
19080 # The linker used to build libraries.
19081 LD=$lt_LD
19082
19083 # How to create reloadable object files.
19084 reload_flag=$lt_reload_flag
19085 reload_cmds=$lt_reload_cmds
19086
19087 # Commands used to build an old-style archive.
19088 old_archive_cmds=$lt_old_archive_cmds
19089
19090 # A language specific compiler.
19091 CC=$lt_compiler
19092
19093 # Is the compiler the GNU compiler?
19094 with_gcc=$GCC
19095
19096 # Compiler flag to turn off builtin functions.
19097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19098
19099 # Additional compiler flags for building library objects.
19100 pic_flag=$lt_lt_prog_compiler_pic
19101
19102 # How to pass a linker flag through the compiler.
19103 wl=$lt_lt_prog_compiler_wl
19104
19105 # Compiler flag to prevent dynamic linking.
19106 link_static_flag=$lt_lt_prog_compiler_static
19107
19108 # Does compiler simultaneously support -c and -o options?
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19110
19111 # Whether or not to add -lc for building shared libraries.
19112 build_libtool_need_lc=$archive_cmds_need_lc
19113
19114 # Whether or not to disallow shared libs when runtime libs are static.
19115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19116
19117 # Compiler flag to allow reflexive dlopens.
19118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19119
19120 # Compiler flag to generate shared objects directly from archives.
19121 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19122
19123 # Whether the compiler copes with passing no objects directly.
19124 compiler_needs_object=$lt_compiler_needs_object
19125
19126 # Create an old-style archive from a shared archive.
19127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19128
19129 # Create a temporary old-style archive to link instead of a shared archive.
19130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19131
19132 # Commands used to build a shared archive.
19133 archive_cmds=$lt_archive_cmds
19134 archive_expsym_cmds=$lt_archive_expsym_cmds
19135
19136 # Commands used to build a loadable module if different from building
19137 # a shared archive.
19138 module_cmds=$lt_module_cmds
19139 module_expsym_cmds=$lt_module_expsym_cmds
19140
19141 # Whether we are building with GNU ld or not.
19142 with_gnu_ld=$lt_with_gnu_ld
19143
19144 # Flag that allows shared libraries with undefined symbols to be built.
19145 allow_undefined_flag=$lt_allow_undefined_flag
19146
19147 # Flag that enforces no undefined symbols.
19148 no_undefined_flag=$lt_no_undefined_flag
19149
19150 # Flag to hardcode \$libdir into a binary during linking.
19151 # This must work even if \$libdir does not exist
19152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19153
19154 # Whether we need a single "-rpath" flag with a separated argument.
19155 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19156
19157 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19158 # DIR into the resulting binary.
19159 hardcode_direct=$hardcode_direct
19160
19161 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19162 # DIR into the resulting binary and the resulting library dependency is
19163 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19164 # library is relocated.
19165 hardcode_direct_absolute=$hardcode_direct_absolute
19166
19167 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19168 # into the resulting binary.
19169 hardcode_minus_L=$hardcode_minus_L
19170
19171 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19172 # into the resulting binary.
19173 hardcode_shlibpath_var=$hardcode_shlibpath_var
19174
19175 # Set to "yes" if building a shared library automatically hardcodes DIR
19176 # into the library and all subsequent libraries and executables linked
19177 # against it.
19178 hardcode_automatic=$hardcode_automatic
19179
19180 # Set to yes if linker adds runtime paths of dependent libraries
19181 # to runtime path list.
19182 inherit_rpath=$inherit_rpath
19183
19184 # Whether libtool must link a program against all its dependency libraries.
19185 link_all_deplibs=$link_all_deplibs
19186
19187 # Set to "yes" if exported symbols are required.
19188 always_export_symbols=$always_export_symbols
19189
19190 # The commands to list exported symbols.
19191 export_symbols_cmds=$lt_export_symbols_cmds
19192
19193 # Symbols that should not be listed in the preloaded symbols.
19194 exclude_expsyms=$lt_exclude_expsyms
19195
19196 # Symbols that must always be exported.
19197 include_expsyms=$lt_include_expsyms
19198
19199 # Commands necessary for linking programs (against libraries) with templates.
19200 prelink_cmds=$lt_prelink_cmds
19201
19202 # Commands necessary for finishing linking programs.
19203 postlink_cmds=$lt_postlink_cmds
19204
19205 # Specify filename containing input files.
19206 file_list_spec=$lt_file_list_spec
19207
19208 # How to hardcode a shared library path into an executable.
19209 hardcode_action=$hardcode_action
19210
19211 # The directories searched by this compiler when creating a shared library.
19212 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19213
19214 # Dependencies to place before and after the objects being linked to
19215 # create a shared library.
19216 predep_objects=$lt_predep_objects
19217 postdep_objects=$lt_postdep_objects
19218 predeps=$lt_predeps
19219 postdeps=$lt_postdeps
19220
19221 # The library search path used internally by the compiler when linking
19222 # a shared library.
19223 compiler_lib_search_path=$lt_compiler_lib_search_path
19224
19225 # ### END LIBTOOL CONFIG
19226
19227 _LT_EOF
19228
19229     cat <<'_LT_EOF' >> "$cfgfile"
19230
19231 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19232
19233 # func_munge_path_list VARIABLE PATH
19234 # -----------------------------------
19235 # VARIABLE is name of variable containing _space_ separated list of
19236 # directories to be munged by the contents of PATH, which is string
19237 # having a format:
19238 # "DIR[:DIR]:"
19239 #       string "DIR[ DIR]" will be prepended to VARIABLE
19240 # ":DIR[:DIR]"
19241 #       string "DIR[ DIR]" will be appended to VARIABLE
19242 # "DIRP[:DIRP]::[DIRA:]DIRA"
19243 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19244 #       "DIRA[ DIRA]" will be appended to VARIABLE
19245 # "DIR[:DIR]"
19246 #       VARIABLE will be replaced by "DIR[ DIR]"
19247 func_munge_path_list ()
19248 {
19249     case x@S|@2 in
19250     x)
19251         ;;
19252     *:)
19253         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
19254         ;;
19255     x:*)
19256         eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
19257         ;;
19258     *::*)
19259         eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19260         eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
19261         ;;
19262     *)
19263         eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
19264         ;;
19265     esac
19266 }
19267
19268
19269 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
19270 func_cc_basename ()
19271 {
19272     for cc_temp in @S|@*""; do
19273       case $cc_temp in
19274         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19275         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19276         \-*) ;;
19277         *) break;;
19278       esac
19279     done
19280     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19281 }
19282
19283
19284 # ### END FUNCTIONS SHARED WITH CONFIGURE
19285
19286 _LT_EOF
19287
19288   case $host_os in
19289   aix3*)
19290     cat <<\_LT_EOF >> "$cfgfile"
19291 # AIX sometimes has problems with the GCC collect2 program.  For some
19292 # reason, if we set the COLLECT_NAMES environment variable, the problems
19293 # vanish in a puff of smoke.
19294 if test set != "${COLLECT_NAMES+set}"; then
19295   COLLECT_NAMES=
19296   export COLLECT_NAMES
19297 fi
19298 _LT_EOF
19299     ;;
19300   esac
19301
19302   
19303 ltmain=$ac_aux_dir/ltmain.sh
19304
19305
19306   # We use sed instead of cat because bash on DJGPP gets confused if
19307   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19308   # text mode, it properly converts lines to CR/LF.  This bash problem
19309   # is reportedly fixed, but why not run on old versions too?
19310   sed '$q' "$ltmain" >> "$cfgfile" \
19311      || (rm -f "$cfgfile"; exit 1)
19312
19313    mv -f "$cfgfile" "$ofile" ||
19314     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19315   chmod +x "$ofile"
19316
19317
19318     cat <<_LT_EOF >> "$ofile"
19319
19320 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19321
19322 # The linker used to build libraries.
19323 LD=$lt_LD_CXX
19324
19325 # How to create reloadable object files.
19326 reload_flag=$lt_reload_flag_CXX
19327 reload_cmds=$lt_reload_cmds_CXX
19328
19329 # Commands used to build an old-style archive.
19330 old_archive_cmds=$lt_old_archive_cmds_CXX
19331
19332 # A language specific compiler.
19333 CC=$lt_compiler_CXX
19334
19335 # Is the compiler the GNU compiler?
19336 with_gcc=$GCC_CXX
19337
19338 # Compiler flag to turn off builtin functions.
19339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19340
19341 # Additional compiler flags for building library objects.
19342 pic_flag=$lt_lt_prog_compiler_pic_CXX
19343
19344 # How to pass a linker flag through the compiler.
19345 wl=$lt_lt_prog_compiler_wl_CXX
19346
19347 # Compiler flag to prevent dynamic linking.
19348 link_static_flag=$lt_lt_prog_compiler_static_CXX
19349
19350 # Does compiler simultaneously support -c and -o options?
19351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19352
19353 # Whether or not to add -lc for building shared libraries.
19354 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19355
19356 # Whether or not to disallow shared libs when runtime libs are static.
19357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19358
19359 # Compiler flag to allow reflexive dlopens.
19360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19361
19362 # Compiler flag to generate shared objects directly from archives.
19363 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19364
19365 # Whether the compiler copes with passing no objects directly.
19366 compiler_needs_object=$lt_compiler_needs_object_CXX
19367
19368 # Create an old-style archive from a shared archive.
19369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19370
19371 # Create a temporary old-style archive to link instead of a shared archive.
19372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19373
19374 # Commands used to build a shared archive.
19375 archive_cmds=$lt_archive_cmds_CXX
19376 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19377
19378 # Commands used to build a loadable module if different from building
19379 # a shared archive.
19380 module_cmds=$lt_module_cmds_CXX
19381 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19382
19383 # Whether we are building with GNU ld or not.
19384 with_gnu_ld=$lt_with_gnu_ld_CXX
19385
19386 # Flag that allows shared libraries with undefined symbols to be built.
19387 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19388
19389 # Flag that enforces no undefined symbols.
19390 no_undefined_flag=$lt_no_undefined_flag_CXX
19391
19392 # Flag to hardcode \$libdir into a binary during linking.
19393 # This must work even if \$libdir does not exist
19394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19395
19396 # Whether we need a single "-rpath" flag with a separated argument.
19397 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19398
19399 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19400 # DIR into the resulting binary.
19401 hardcode_direct=$hardcode_direct_CXX
19402
19403 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19404 # DIR into the resulting binary and the resulting library dependency is
19405 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19406 # library is relocated.
19407 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19408
19409 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19410 # into the resulting binary.
19411 hardcode_minus_L=$hardcode_minus_L_CXX
19412
19413 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19414 # into the resulting binary.
19415 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19416
19417 # Set to "yes" if building a shared library automatically hardcodes DIR
19418 # into the library and all subsequent libraries and executables linked
19419 # against it.
19420 hardcode_automatic=$hardcode_automatic_CXX
19421
19422 # Set to yes if linker adds runtime paths of dependent libraries
19423 # to runtime path list.
19424 inherit_rpath=$inherit_rpath_CXX
19425
19426 # Whether libtool must link a program against all its dependency libraries.
19427 link_all_deplibs=$link_all_deplibs_CXX
19428
19429 # Set to "yes" if exported symbols are required.
19430 always_export_symbols=$always_export_symbols_CXX
19431
19432 # The commands to list exported symbols.
19433 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19434
19435 # Symbols that should not be listed in the preloaded symbols.
19436 exclude_expsyms=$lt_exclude_expsyms_CXX
19437
19438 # Symbols that must always be exported.
19439 include_expsyms=$lt_include_expsyms_CXX
19440
19441 # Commands necessary for linking programs (against libraries) with templates.
19442 prelink_cmds=$lt_prelink_cmds_CXX
19443
19444 # Commands necessary for finishing linking programs.
19445 postlink_cmds=$lt_postlink_cmds_CXX
19446
19447 # Specify filename containing input files.
19448 file_list_spec=$lt_file_list_spec_CXX
19449
19450 # How to hardcode a shared library path into an executable.
19451 hardcode_action=$hardcode_action_CXX
19452
19453 # The directories searched by this compiler when creating a shared library.
19454 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19455
19456 # Dependencies to place before and after the objects being linked to
19457 # create a shared library.
19458 predep_objects=$lt_predep_objects_CXX
19459 postdep_objects=$lt_postdep_objects_CXX
19460 predeps=$lt_predeps_CXX
19461 postdeps=$lt_postdeps_CXX
19462
19463 # The library search path used internally by the compiler when linking
19464 # a shared library.
19465 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19466
19467 # ### END LIBTOOL TAG CONFIG: CXX
19468 _LT_EOF
19469
19470  ;;
19471
19472   esac
19473 done # for ac_tag
19474
19475
19476 as_fn_exit 0
19477 _ACEOF
19478 ac_clean_files=$ac_clean_files_save
19479
19480 test $ac_write_fail = 0 ||
19481   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19482
19483
19484 # configure is writing to config.log, and then calls config.status.
19485 # config.status does its own redirection, appending to config.log.
19486 # Unfortunately, on DOS this fails, as config.log is still kept open
19487 # by configure, so config.status won't be able to write to it; its
19488 # output is simply discarded.  So we exec the FD to /dev/null,
19489 # effectively closing config.log, so it can be properly (re)opened and
19490 # appended to by config.status.  When coming back to configure, we
19491 # need to make the FD available again.
19492 if test "$no_create" != yes; then
19493   ac_cs_success=:
19494   ac_config_status_args=
19495   test "$silent" = yes &&
19496     ac_config_status_args="$ac_config_status_args --quiet"
19497   exec 5>/dev/null
19498   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19499   exec 5>>config.log
19500   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19501   # would make configure fail if this is the last instruction.
19502   $ac_cs_success || as_fn_exit 1
19503 fi
19504 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19505   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19506 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19507 fi
19508