]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/libantlr3c-3.2/configure
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / libantlr3c-3.2 / configure
1 #! /bin/sh\r
2 # Guess values for system-dependent variables and create Makefiles.\r
3 # Generated by GNU Autoconf 2.63 for libantlr3c 3.2.\r
4 #\r
5 # Report bugs to <jimi@temporal-wave.com>.\r
6 #\r
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,\r
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.\r
9 # This configure script is free software; the Free Software Foundation\r
10 # gives unlimited permission to copy, distribute and modify it.\r
11 #\r
12 #\r
13 #  (The "BSD licence")\r
14 #  Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC\r
15 #  http://www.temporal-wave.com\r
16 #  http://www.linkedin.com/in/jimidle\r
17 #  All rights reserved.\r
18 #\r
19 #  Redistribution and use in source and binary forms, with or without\r
20 #  modification, are permitted provided that the following conditions\r
21 #  are met:\r
22 #  1. Redistributions of source code must retain the above copyright\r
23 #     notice, this list of conditions and the following disclaimer.\r
24 #  2. Redistributions in binary form must reproduce the above copyright\r
25 #     notice, this list of conditions and the following disclaimer in the\r
26 #     documentation and/or other materials provided with the distribution.\r
27 #  3. The name of the author may not be used to endorse or promote products\r
28 #     derived from this software without specific prior written permission.\r
29 #\r
30 #  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\r
31 #  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\r
32 #  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
33 #  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\r
34 #  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r
35 #  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
36 #  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
37 #  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
38 #  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\r
39 #  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
40 #\r
41 ## --------------------- ##\r
42 ## M4sh Initialization.  ##\r
43 ## --------------------- ##\r
44 \r
45 # Be more Bourne compatible\r
46 DUALCASE=1; export DUALCASE # for MKS sh\r
47 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
48   emulate sh\r
49   NULLCMD=:\r
50   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
51   # is contrary to our usage.  Disable this feature.\r
52   alias -g '${1+"$@"}'='"$@"'\r
53   setopt NO_GLOB_SUBST\r
54 else\r
55   case `(set -o) 2>/dev/null` in\r
56   *posix*) set -o posix ;;\r
57 esac\r
58 \r
59 fi\r
60 \r
61 \r
62 \r
63 \r
64 # PATH needs CR\r
65 # Avoid depending upon Character Ranges.\r
66 as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
67 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
68 as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
69 as_cr_digits='0123456789'\r
70 as_cr_alnum=$as_cr_Letters$as_cr_digits\r
71 \r
72 as_nl='\r
73 '\r
74 export as_nl\r
75 # Printing a long string crashes Solaris 7 /usr/bin/printf.\r
76 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
77 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\r
78 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\r
79 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then\r
80   as_echo='printf %s\n'\r
81   as_echo_n='printf %s'\r
82 else\r
83   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then\r
84     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'\r
85     as_echo_n='/usr/ucb/echo -n'\r
86   else\r
87     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'\r
88     as_echo_n_body='eval\r
89       arg=$1;\r
90       case $arg in\r
91       *"$as_nl"*)\r
92         expr "X$arg" : "X\\(.*\\)$as_nl";\r
93         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;\r
94       esac;\r
95       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"\r
96     '\r
97     export as_echo_n_body\r
98     as_echo_n='sh -c $as_echo_n_body as_echo'\r
99   fi\r
100   export as_echo_body\r
101   as_echo='sh -c $as_echo_body as_echo'\r
102 fi\r
103 \r
104 # The user is always right.\r
105 if test "${PATH_SEPARATOR+set}" != set; then\r
106   PATH_SEPARATOR=:\r
107   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\r
108     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\r
109       PATH_SEPARATOR=';'\r
110   }\r
111 fi\r
112 \r
113 # Support unset when possible.\r
114 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
115   as_unset=unset\r
116 else\r
117   as_unset=false\r
118 fi\r
119 \r
120 \r
121 # IFS\r
122 # We need space, tab and new line, in precisely that order.  Quoting is\r
123 # there to prevent editors from complaining about space-tab.\r
124 # (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
125 # splitting by setting IFS to empty value.)\r
126 IFS=" ""        $as_nl"\r
127 \r
128 # Find who we are.  Look in the path if we contain no directory separator.\r
129 case $0 in\r
130   *[\\/]* ) as_myself=$0 ;;\r
131   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
132 for as_dir in $PATH\r
133 do\r
134   IFS=$as_save_IFS\r
135   test -z "$as_dir" && as_dir=.\r
136   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
137 done\r
138 IFS=$as_save_IFS\r
139 \r
140      ;;\r
141 esac\r
142 # We did not find ourselves, most probably we were run as `sh COMMAND'\r
143 # in which case we are not to be found in the path.\r
144 if test "x$as_myself" = x; then\r
145   as_myself=$0\r
146 fi\r
147 if test ! -f "$as_myself"; then\r
148   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
149   { (exit 1); exit 1; }\r
150 fi\r
151 \r
152 # Work around bugs in pre-3.0 UWIN ksh.\r
153 for as_var in ENV MAIL MAILPATH\r
154 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
155 done\r
156 PS1='$ '\r
157 PS2='> '\r
158 PS4='+ '\r
159 \r
160 # NLS nuisances.\r
161 LC_ALL=C\r
162 export LC_ALL\r
163 LANGUAGE=C\r
164 export LANGUAGE\r
165 \r
166 # Required to use basename.\r
167 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
168    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
169   as_expr=expr\r
170 else\r
171   as_expr=false\r
172 fi\r
173 \r
174 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
175   as_basename=basename\r
176 else\r
177   as_basename=false\r
178 fi\r
179 \r
180 \r
181 # Name of the executable.\r
182 as_me=`$as_basename -- "$0" ||\r
183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
184          X"$0" : 'X\(//\)$' \| \\r
185          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
186 $as_echo X/"$0" |\r
187     sed '/^.*\/\([^/][^/]*\)\/*$/{\r
188             s//\1/\r
189             q\r
190           }\r
191           /^X\/\(\/\/\)$/{\r
192             s//\1/\r
193             q\r
194           }\r
195           /^X\/\(\/\).*/{\r
196             s//\1/\r
197             q\r
198           }\r
199           s/.*/./; q'`\r
200 \r
201 # CDPATH.\r
202 $as_unset CDPATH\r
203 \r
204 \r
205 if test "x$CONFIG_SHELL" = x; then\r
206   if (eval ":") 2>/dev/null; then\r
207   as_have_required=yes\r
208 else\r
209   as_have_required=no\r
210 fi\r
211 \r
212   if test $as_have_required = yes &&     (eval ":\r
213 (as_func_return () {\r
214   (exit \$1)\r
215 }\r
216 as_func_success () {\r
217   as_func_return 0\r
218 }\r
219 as_func_failure () {\r
220   as_func_return 1\r
221 }\r
222 as_func_ret_success () {\r
223   return 0\r
224 }\r
225 as_func_ret_failure () {\r
226   return 1\r
227 }\r
228 \r
229 exitcode=0\r
230 if as_func_success; then\r
231   :\r
232 else\r
233   exitcode=1\r
234   echo as_func_success failed.\r
235 fi\r
236 \r
237 if as_func_failure; then\r
238   exitcode=1\r
239   echo as_func_failure succeeded.\r
240 fi\r
241 \r
242 if as_func_ret_success; then\r
243   :\r
244 else\r
245   exitcode=1\r
246   echo as_func_ret_success failed.\r
247 fi\r
248 \r
249 if as_func_ret_failure; then\r
250   exitcode=1\r
251   echo as_func_ret_failure succeeded.\r
252 fi\r
253 \r
254 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then\r
255   :\r
256 else\r
257   exitcode=1\r
258   echo positional parameters were not saved.\r
259 fi\r
260 \r
261 test \$exitcode = 0) || { (exit 1); exit 1; }\r
262 \r
263 (\r
264   as_lineno_1=\$LINENO\r
265   as_lineno_2=\$LINENO\r
266   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&\r
267   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }\r
268 ") 2> /dev/null; then\r
269   :\r
270 else\r
271   as_candidate_shells=\r
272     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
273 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH\r
274 do\r
275   IFS=$as_save_IFS\r
276   test -z "$as_dir" && as_dir=.\r
277   case $as_dir in\r
278          /*)\r
279            for as_base in sh bash ksh sh5; do\r
280              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"\r
281            done;;\r
282        esac\r
283 done\r
284 IFS=$as_save_IFS\r
285 \r
286 \r
287       for as_shell in $as_candidate_shells $SHELL; do\r
288          # Try only shells that exist, to save several forks.\r
289          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&\r
290                 { ("$as_shell") 2> /dev/null <<\_ASEOF\r
291 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
292   emulate sh\r
293   NULLCMD=:\r
294   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
295   # is contrary to our usage.  Disable this feature.\r
296   alias -g '${1+"$@"}'='"$@"'\r
297   setopt NO_GLOB_SUBST\r
298 else\r
299   case `(set -o) 2>/dev/null` in\r
300   *posix*) set -o posix ;;\r
301 esac\r
302 \r
303 fi\r
304 \r
305 \r
306 :\r
307 _ASEOF\r
308 }; then\r
309   CONFIG_SHELL=$as_shell\r
310                as_have_required=yes\r
311                if { "$as_shell" 2> /dev/null <<\_ASEOF\r
312 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
313   emulate sh\r
314   NULLCMD=:\r
315   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
316   # is contrary to our usage.  Disable this feature.\r
317   alias -g '${1+"$@"}'='"$@"'\r
318   setopt NO_GLOB_SUBST\r
319 else\r
320   case `(set -o) 2>/dev/null` in\r
321   *posix*) set -o posix ;;\r
322 esac\r
323 \r
324 fi\r
325 \r
326 \r
327 :\r
328 (as_func_return () {\r
329   (exit $1)\r
330 }\r
331 as_func_success () {\r
332   as_func_return 0\r
333 }\r
334 as_func_failure () {\r
335   as_func_return 1\r
336 }\r
337 as_func_ret_success () {\r
338   return 0\r
339 }\r
340 as_func_ret_failure () {\r
341   return 1\r
342 }\r
343 \r
344 exitcode=0\r
345 if as_func_success; then\r
346   :\r
347 else\r
348   exitcode=1\r
349   echo as_func_success failed.\r
350 fi\r
351 \r
352 if as_func_failure; then\r
353   exitcode=1\r
354   echo as_func_failure succeeded.\r
355 fi\r
356 \r
357 if as_func_ret_success; then\r
358   :\r
359 else\r
360   exitcode=1\r
361   echo as_func_ret_success failed.\r
362 fi\r
363 \r
364 if as_func_ret_failure; then\r
365   exitcode=1\r
366   echo as_func_ret_failure succeeded.\r
367 fi\r
368 \r
369 if ( set x; as_func_ret_success y && test x = "$1" ); then\r
370   :\r
371 else\r
372   exitcode=1\r
373   echo positional parameters were not saved.\r
374 fi\r
375 \r
376 test $exitcode = 0) || { (exit 1); exit 1; }\r
377 \r
378 (\r
379   as_lineno_1=$LINENO\r
380   as_lineno_2=$LINENO\r
381   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
382   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }\r
383 \r
384 _ASEOF\r
385 }; then\r
386   break\r
387 fi\r
388 \r
389 fi\r
390 \r
391       done\r
392 \r
393       if test "x$CONFIG_SHELL" != x; then\r
394   for as_var in BASH_ENV ENV\r
395         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
396         done\r
397         export CONFIG_SHELL\r
398         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}\r
399 fi\r
400 \r
401 \r
402     if test $as_have_required = no; then\r
403   echo This script requires a shell more modern than all the\r
404       echo shells that I found on your system.  Please install a\r
405       echo modern shell, or manually run the script under such a\r
406       echo shell if you do have one.\r
407       { (exit 1); exit 1; }\r
408 fi\r
409 \r
410 \r
411 fi\r
412 \r
413 fi\r
414 \r
415 \r
416 \r
417 (eval "as_func_return () {\r
418   (exit \$1)\r
419 }\r
420 as_func_success () {\r
421   as_func_return 0\r
422 }\r
423 as_func_failure () {\r
424   as_func_return 1\r
425 }\r
426 as_func_ret_success () {\r
427   return 0\r
428 }\r
429 as_func_ret_failure () {\r
430   return 1\r
431 }\r
432 \r
433 exitcode=0\r
434 if as_func_success; then\r
435   :\r
436 else\r
437   exitcode=1\r
438   echo as_func_success failed.\r
439 fi\r
440 \r
441 if as_func_failure; then\r
442   exitcode=1\r
443   echo as_func_failure succeeded.\r
444 fi\r
445 \r
446 if as_func_ret_success; then\r
447   :\r
448 else\r
449   exitcode=1\r
450   echo as_func_ret_success failed.\r
451 fi\r
452 \r
453 if as_func_ret_failure; then\r
454   exitcode=1\r
455   echo as_func_ret_failure succeeded.\r
456 fi\r
457 \r
458 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then\r
459   :\r
460 else\r
461   exitcode=1\r
462   echo positional parameters were not saved.\r
463 fi\r
464 \r
465 test \$exitcode = 0") || {\r
466   echo No shell found that supports shell functions.\r
467   echo Please tell bug-autoconf@gnu.org about your system,\r
468   echo including any error possibly output before this message.\r
469   echo This can help us improve future autoconf versions.\r
470   echo Configuration will now proceed without shell functions.\r
471 }\r
472 \r
473 \r
474 \r
475   as_lineno_1=$LINENO\r
476   as_lineno_2=$LINENO\r
477   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
478   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {\r
479 \r
480   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO\r
481   # uniformly replaced by the line number.  The first 'sed' inserts a\r
482   # line-number line after each line using $LINENO; the second 'sed'\r
483   # does the real work.  The second script uses 'N' to pair each\r
484   # line-number line with the line containing $LINENO, and appends\r
485   # trailing '-' during substitution so that $LINENO is not a special\r
486   # case at line end.\r
487   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the\r
488   # scripts with optimization help from Paolo Bonzini.  Blame Lee\r
489   # E. McMahon (1931-1989) for sed's syntax.  :-)\r
490   sed -n '\r
491     p\r
492     /[$]LINENO/=\r
493   ' <$as_myself |\r
494     sed '\r
495       s/[$]LINENO.*/&-/\r
496       t lineno\r
497       b\r
498       :lineno\r
499       N\r
500       :loop\r
501       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
502       t loop\r
503       s/-\n.*//\r
504     ' >$as_me.lineno &&\r
505   chmod +x "$as_me.lineno" ||\r
506     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2\r
507    { (exit 1); exit 1; }; }\r
508 \r
509   # Don't try to exec as it changes $[0], causing all sort of problems\r
510   # (the dirname of $[0] is not the place where we might find the\r
511   # original and so on.  Autoconf is especially sensitive to this).\r
512   . "./$as_me.lineno"\r
513   # Exit status is that of the last command.\r
514   exit\r
515 }\r
516 \r
517 \r
518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
519   as_dirname=dirname\r
520 else\r
521   as_dirname=false\r
522 fi\r
523 \r
524 ECHO_C= ECHO_N= ECHO_T=\r
525 case `echo -n x` in\r
526 -n*)\r
527   case `echo 'x\c'` in\r
528   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.\r
529   *)   ECHO_C='\c';;\r
530   esac;;\r
531 *)\r
532   ECHO_N='-n';;\r
533 esac\r
534 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
535    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
536   as_expr=expr\r
537 else\r
538   as_expr=false\r
539 fi\r
540 \r
541 rm -f conf$$ conf$$.exe conf$$.file\r
542 if test -d conf$$.dir; then\r
543   rm -f conf$$.dir/conf$$.file\r
544 else\r
545   rm -f conf$$.dir\r
546   mkdir conf$$.dir 2>/dev/null\r
547 fi\r
548 if (echo >conf$$.file) 2>/dev/null; then\r
549   if ln -s conf$$.file conf$$ 2>/dev/null; then\r
550     as_ln_s='ln -s'\r
551     # ... but there are two gotchas:\r
552     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
553     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
554     # In both cases, we have to default to `cp -p'.\r
555     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
556       as_ln_s='cp -p'\r
557   elif ln conf$$.file conf$$ 2>/dev/null; then\r
558     as_ln_s=ln\r
559   else\r
560     as_ln_s='cp -p'\r
561   fi\r
562 else\r
563   as_ln_s='cp -p'\r
564 fi\r
565 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
566 rmdir conf$$.dir 2>/dev/null\r
567 \r
568 if mkdir -p . 2>/dev/null; then\r
569   as_mkdir_p=:\r
570 else\r
571   test -d ./-p && rmdir ./-p\r
572   as_mkdir_p=false\r
573 fi\r
574 \r
575 if test -x / >/dev/null 2>&1; then\r
576   as_test_x='test -x'\r
577 else\r
578   if ls -dL / >/dev/null 2>&1; then\r
579     as_ls_L_option=L\r
580   else\r
581     as_ls_L_option=\r
582   fi\r
583   as_test_x='\r
584     eval sh -c '\''\r
585       if test -d "$1"; then\r
586         test -d "$1/.";\r
587       else\r
588         case $1 in\r
589         -*)set "./$1";;\r
590         esac;\r
591         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in\r
592         ???[sx]*):;;*)false;;esac;fi\r
593     '\'' sh\r
594   '\r
595 fi\r
596 as_executable_p=$as_test_x\r
597 \r
598 # Sed expression to map a string onto a valid CPP name.\r
599 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
600 \r
601 # Sed expression to map a string onto a valid variable name.\r
602 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
603 \r
604 \r
605 \r
606 \r
607 # Check that we are running under the correct shell.\r
608 SHELL=${CONFIG_SHELL-/bin/sh}\r
609 \r
610 case X$ECHO in\r
611 X*--fallback-echo)\r
612   # Remove one level of quotation (which was required for Make).\r
613   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`\r
614   ;;\r
615 esac\r
616 \r
617 echo=${ECHO-echo}\r
618 if test "X$1" = X--no-reexec; then\r
619   # Discard the --no-reexec flag, and continue.\r
620   shift\r
621 elif test "X$1" = X--fallback-echo; then\r
622   # Avoid inline document here, it may be left over\r
623   :\r
624 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then\r
625   # Yippee, $echo works!\r
626   :\r
627 else\r
628   # Restart under the correct shell.\r
629   exec $SHELL "$0" --no-reexec ${1+"$@"}\r
630 fi\r
631 \r
632 if test "X$1" = X--fallback-echo; then\r
633   # used as fallback echo\r
634   shift\r
635   cat <<EOF\r
636 $*\r
637 EOF\r
638   exit 0\r
639 fi\r
640 \r
641 # The HP-UX ksh and POSIX shell print the target directory to stdout\r
642 # if CDPATH is set.\r
643 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH\r
644 \r
645 if test -z "$ECHO"; then\r
646 if test "X${echo_test_string+set}" != Xset; then\r
647 # find a string as large as possible, as long as the shell can cope with it\r
648   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do\r
649     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...\r
650     if (echo_test_string=`eval $cmd`) 2>/dev/null &&\r
651        echo_test_string=`eval $cmd` &&\r
652        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null\r
653     then\r
654       break\r
655     fi\r
656   done\r
657 fi\r
658 \r
659 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&\r
660    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&\r
661    test "X$echo_testing_string" = "X$echo_test_string"; then\r
662   :\r
663 else\r
664   # The Solaris, AIX, and Digital Unix default echo programs unquote\r
665   # backslashes.  This makes it impossible to quote backslashes using\r
666   #   echo "$something" | sed 's/\\/\\\\/g'\r
667   #\r
668   # So, first we look for a working echo in the user's PATH.\r
669 \r
670   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
671   for dir in $PATH /usr/ucb; do\r
672     IFS="$lt_save_ifs"\r
673     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&\r
674        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&\r
675        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&\r
676        test "X$echo_testing_string" = "X$echo_test_string"; then\r
677       echo="$dir/echo"\r
678       break\r
679     fi\r
680   done\r
681   IFS="$lt_save_ifs"\r
682 \r
683   if test "X$echo" = Xecho; then\r
684     # We didn't find a better echo, so look for alternatives.\r
685     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&\r
686        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&\r
687        test "X$echo_testing_string" = "X$echo_test_string"; then\r
688       # This shell has a builtin print -r that does the trick.\r
689       echo='print -r'\r
690     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&\r
691          test "X$CONFIG_SHELL" != X/bin/ksh; then\r
692       # If we have ksh, try running configure again with it.\r
693       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}\r
694       export ORIGINAL_CONFIG_SHELL\r
695       CONFIG_SHELL=/bin/ksh\r
696       export CONFIG_SHELL\r
697       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}\r
698     else\r
699       # Try using printf.\r
700       echo='printf %s\n'\r
701       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&\r
702          echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&\r
703          test "X$echo_testing_string" = "X$echo_test_string"; then\r
704         # Cool, printf works\r
705         :\r
706       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&\r
707            test "X$echo_testing_string" = 'X\t' &&\r
708            echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&\r
709            test "X$echo_testing_string" = "X$echo_test_string"; then\r
710         CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL\r
711         export CONFIG_SHELL\r
712         SHELL="$CONFIG_SHELL"\r
713         export SHELL\r
714         echo="$CONFIG_SHELL $0 --fallback-echo"\r
715       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&\r
716            test "X$echo_testing_string" = 'X\t' &&\r
717            echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&\r
718            test "X$echo_testing_string" = "X$echo_test_string"; then\r
719         echo="$CONFIG_SHELL $0 --fallback-echo"\r
720       else\r
721         # maybe with a smaller string...\r
722         prev=:\r
723 \r
724         for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do\r
725           if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null\r
726           then\r
727             break\r
728           fi\r
729           prev="$cmd"\r
730         done\r
731 \r
732         if test "$prev" != 'sed 50q "$0"'; then\r
733           echo_test_string=`eval $prev`\r
734           export echo_test_string\r
735           exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}\r
736         else\r
737           # Oops.  We lost completely, so just stick with echo.\r
738           echo=echo\r
739         fi\r
740       fi\r
741     fi\r
742   fi\r
743 fi\r
744 fi\r
745 \r
746 # Copy echo and quote the copy suitably for passing to libtool from\r
747 # the Makefile, instead of quoting the original, which is used later.\r
748 ECHO=$echo\r
749 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then\r
750    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"\r
751 fi\r
752 \r
753 \r
754 \r
755 \r
756 tagnames=${tagnames+${tagnames},}CXX\r
757 \r
758 tagnames=${tagnames+${tagnames},}F77\r
759 \r
760 exec 7<&0 </dev/null 6>&1\r
761 \r
762 # Name of the host.\r
763 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,\r
764 # so uname gets run too.\r
765 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`\r
766 \r
767 #\r
768 # Initializations.\r
769 #\r
770 ac_default_prefix=/usr/local\r
771 ac_clean_files=\r
772 ac_config_libobj_dir=.\r
773 LIBOBJS=\r
774 cross_compiling=no\r
775 subdirs=\r
776 MFLAGS=\r
777 MAKEFLAGS=\r
778 SHELL=${CONFIG_SHELL-/bin/sh}\r
779 \r
780 # Identity of this package.\r
781 PACKAGE_NAME='libantlr3c'\r
782 PACKAGE_TARNAME='libantlr3c'\r
783 PACKAGE_VERSION='3.2'\r
784 PACKAGE_STRING='libantlr3c 3.2'\r
785 PACKAGE_BUGREPORT='jimi@temporal-wave.com'\r
786 \r
787 ac_unique_file="src/antlr3parser.c"\r
788 # Factoring default headers for most tests.\r
789 ac_includes_default="\\r
790 #include <stdio.h>\r
791 #ifdef HAVE_SYS_TYPES_H\r
792 # include <sys/types.h>\r
793 #endif\r
794 #ifdef HAVE_SYS_STAT_H\r
795 # include <sys/stat.h>\r
796 #endif\r
797 #ifdef STDC_HEADERS\r
798 # include <stdlib.h>\r
799 # include <stddef.h>\r
800 #else\r
801 # ifdef HAVE_STDLIB_H\r
802 #  include <stdlib.h>\r
803 # endif\r
804 #endif\r
805 #ifdef HAVE_STRING_H\r
806 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H\r
807 #  include <memory.h>\r
808 # endif\r
809 # include <string.h>\r
810 #endif\r
811 #ifdef HAVE_STRINGS_H\r
812 # include <strings.h>\r
813 #endif\r
814 #ifdef HAVE_INTTYPES_H\r
815 # include <inttypes.h>\r
816 #endif\r
817 #ifdef HAVE_STDINT_H\r
818 # include <stdint.h>\r
819 #endif\r
820 #ifdef HAVE_UNISTD_H\r
821 # include <unistd.h>\r
822 #endif"\r
823 \r
824 ac_subst_vars='LTLIBOBJS\r
825 LIBOBJS\r
826 OBJECT_MODE\r
827 LIBTOOL\r
828 ac_ct_F77\r
829 FFLAGS\r
830 F77\r
831 CXXCPP\r
832 am__fastdepCXX_FALSE\r
833 am__fastdepCXX_TRUE\r
834 CXXDEPMODE\r
835 ac_ct_CXX\r
836 CXXFLAGS\r
837 CXX\r
838 CPP\r
839 RANLIB\r
840 AR\r
841 ECHO\r
842 LN_S\r
843 EGREP\r
844 GREP\r
845 SED\r
846 host_os\r
847 host_vendor\r
848 host_cpu\r
849 host\r
850 build_os\r
851 build_vendor\r
852 build_cpu\r
853 build\r
854 MAINT\r
855 MAINTAINER_MODE_FALSE\r
856 MAINTAINER_MODE_TRUE\r
857 am__fastdepCC_FALSE\r
858 am__fastdepCC_TRUE\r
859 CCDEPMODE\r
860 AMDEPBACKSLASH\r
861 AMDEP_FALSE\r
862 AMDEP_TRUE\r
863 am__quote\r
864 am__include\r
865 DEPDIR\r
866 OBJEXT\r
867 EXEEXT\r
868 ac_ct_CC\r
869 CPPFLAGS\r
870 LDFLAGS\r
871 CFLAGS\r
872 CC\r
873 am__untar\r
874 am__tar\r
875 AMTAR\r
876 am__leading_dot\r
877 SET_MAKE\r
878 AWK\r
879 mkdir_p\r
880 INSTALL_STRIP_PROGRAM\r
881 STRIP\r
882 install_sh\r
883 MAKEINFO\r
884 AUTOHEADER\r
885 AUTOMAKE\r
886 AUTOCONF\r
887 ACLOCAL\r
888 VERSION\r
889 PACKAGE\r
890 CYGPATH_W\r
891 INSTALL_DATA\r
892 INSTALL_SCRIPT\r
893 INSTALL_PROGRAM\r
894 target_alias\r
895 host_alias\r
896 build_alias\r
897 LIBS\r
898 ECHO_T\r
899 ECHO_N\r
900 ECHO_C\r
901 DEFS\r
902 mandir\r
903 localedir\r
904 libdir\r
905 psdir\r
906 pdfdir\r
907 dvidir\r
908 htmldir\r
909 infodir\r
910 docdir\r
911 oldincludedir\r
912 includedir\r
913 localstatedir\r
914 sharedstatedir\r
915 sysconfdir\r
916 datadir\r
917 datarootdir\r
918 libexecdir\r
919 sbindir\r
920 bindir\r
921 program_transform_name\r
922 prefix\r
923 exec_prefix\r
924 PACKAGE_BUGREPORT\r
925 PACKAGE_STRING\r
926 PACKAGE_VERSION\r
927 PACKAGE_TARNAME\r
928 PACKAGE_NAME\r
929 PATH_SEPARATOR\r
930 SHELL'\r
931 ac_subst_files=''\r
932 ac_user_opts='\r
933 enable_option_checking\r
934 enable_debuginfo\r
935 enable_64bit\r
936 enable_abiflags\r
937 enable_antlrdebug\r
938 enable_dependency_tracking\r
939 enable_maintainer_mode\r
940 enable_shared\r
941 enable_static\r
942 enable_fast_install\r
943 with_gnu_ld\r
944 enable_libtool_lock\r
945 with_pic\r
946 with_tags\r
947 '\r
948       ac_precious_vars='build_alias\r
949 host_alias\r
950 target_alias\r
951 CC\r
952 CFLAGS\r
953 LDFLAGS\r
954 LIBS\r
955 CPPFLAGS\r
956 CPP\r
957 CXX\r
958 CXXFLAGS\r
959 CCC\r
960 CXXCPP\r
961 F77\r
962 FFLAGS'\r
963 \r
964 \r
965 # Initialize some variables set by options.\r
966 ac_init_help=\r
967 ac_init_version=false\r
968 ac_unrecognized_opts=\r
969 ac_unrecognized_sep=\r
970 # The variables have the same names as the options, with\r
971 # dashes changed to underlines.\r
972 cache_file=/dev/null\r
973 exec_prefix=NONE\r
974 no_create=\r
975 no_recursion=\r
976 prefix=NONE\r
977 program_prefix=NONE\r
978 program_suffix=NONE\r
979 program_transform_name=s,x,x,\r
980 silent=\r
981 site=\r
982 srcdir=\r
983 verbose=\r
984 x_includes=NONE\r
985 x_libraries=NONE\r
986 \r
987 # Installation directory options.\r
988 # These are left unexpanded so users can "make install exec_prefix=/foo"\r
989 # and all the variables that are supposed to be based on exec_prefix\r
990 # by default will actually change.\r
991 # Use braces instead of parens because sh, perl, etc. also accept them.\r
992 # (The list follows the same order as the GNU Coding Standards.)\r
993 bindir='${exec_prefix}/bin'\r
994 sbindir='${exec_prefix}/sbin'\r
995 libexecdir='${exec_prefix}/libexec'\r
996 datarootdir='${prefix}/share'\r
997 datadir='${datarootdir}'\r
998 sysconfdir='${prefix}/etc'\r
999 sharedstatedir='${prefix}/com'\r
1000 localstatedir='${prefix}/var'\r
1001 includedir='${prefix}/include'\r
1002 oldincludedir='/usr/include'\r
1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'\r
1004 infodir='${datarootdir}/info'\r
1005 htmldir='${docdir}'\r
1006 dvidir='${docdir}'\r
1007 pdfdir='${docdir}'\r
1008 psdir='${docdir}'\r
1009 libdir='${exec_prefix}/lib'\r
1010 localedir='${datarootdir}/locale'\r
1011 mandir='${datarootdir}/man'\r
1012 \r
1013 ac_prev=\r
1014 ac_dashdash=\r
1015 for ac_option\r
1016 do\r
1017   # If the previous option needs an argument, assign it.\r
1018   if test -n "$ac_prev"; then\r
1019     eval $ac_prev=\$ac_option\r
1020     ac_prev=\r
1021     continue\r
1022   fi\r
1023 \r
1024   case $ac_option in\r
1025   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;\r
1026   *)    ac_optarg=yes ;;\r
1027   esac\r
1028 \r
1029   # Accept the important Cygnus configure options, so we can diagnose typos.\r
1030 \r
1031   case $ac_dashdash$ac_option in\r
1032   --)\r
1033     ac_dashdash=yes ;;\r
1034 \r
1035   -bindir | --bindir | --bindi | --bind | --bin | --bi)\r
1036     ac_prev=bindir ;;\r
1037   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)\r
1038     bindir=$ac_optarg ;;\r
1039 \r
1040   -build | --build | --buil | --bui | --bu)\r
1041     ac_prev=build_alias ;;\r
1042   -build=* | --build=* | --buil=* | --bui=* | --bu=*)\r
1043     build_alias=$ac_optarg ;;\r
1044 \r
1045   -cache-file | --cache-file | --cache-fil | --cache-fi \\r
1046   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)\r
1047     ac_prev=cache_file ;;\r
1048   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \\r
1049   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)\r
1050     cache_file=$ac_optarg ;;\r
1051 \r
1052   --config-cache | -C)\r
1053     cache_file=config.cache ;;\r
1054 \r
1055   -datadir | --datadir | --datadi | --datad)\r
1056     ac_prev=datadir ;;\r
1057   -datadir=* | --datadir=* | --datadi=* | --datad=*)\r
1058     datadir=$ac_optarg ;;\r
1059 \r
1060   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \\r
1061   | --dataroo | --dataro | --datar)\r
1062     ac_prev=datarootdir ;;\r
1063   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \\r
1064   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)\r
1065     datarootdir=$ac_optarg ;;\r
1066 \r
1067   -disable-* | --disable-*)\r
1068     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`\r
1069     # Reject names that are not valid shell variable names.\r
1070     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
1071       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2\r
1072    { (exit 1); exit 1; }; }\r
1073     ac_useropt_orig=$ac_useropt\r
1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
1075     case $ac_user_opts in\r
1076       *"\r
1077 "enable_$ac_useropt"\r
1078 "*) ;;\r
1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"\r
1080          ac_unrecognized_sep=', ';;\r
1081     esac\r
1082     eval enable_$ac_useropt=no ;;\r
1083 \r
1084   -docdir | --docdir | --docdi | --doc | --do)\r
1085     ac_prev=docdir ;;\r
1086   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)\r
1087     docdir=$ac_optarg ;;\r
1088 \r
1089   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)\r
1090     ac_prev=dvidir ;;\r
1091   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)\r
1092     dvidir=$ac_optarg ;;\r
1093 \r
1094   -enable-* | --enable-*)\r
1095     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`\r
1096     # Reject names that are not valid shell variable names.\r
1097     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
1098       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2\r
1099    { (exit 1); exit 1; }; }\r
1100     ac_useropt_orig=$ac_useropt\r
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
1102     case $ac_user_opts in\r
1103       *"\r
1104 "enable_$ac_useropt"\r
1105 "*) ;;\r
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"\r
1107          ac_unrecognized_sep=', ';;\r
1108     esac\r
1109     eval enable_$ac_useropt=\$ac_optarg ;;\r
1110 \r
1111   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \\r
1112   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \\r
1113   | --exec | --exe | --ex)\r
1114     ac_prev=exec_prefix ;;\r
1115   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \\r
1116   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \\r
1117   | --exec=* | --exe=* | --ex=*)\r
1118     exec_prefix=$ac_optarg ;;\r
1119 \r
1120   -gas | --gas | --ga | --g)\r
1121     # Obsolete; use --with-gas.\r
1122     with_gas=yes ;;\r
1123 \r
1124   -help | --help | --hel | --he | -h)\r
1125     ac_init_help=long ;;\r
1126   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)\r
1127     ac_init_help=recursive ;;\r
1128   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)\r
1129     ac_init_help=short ;;\r
1130 \r
1131   -host | --host | --hos | --ho)\r
1132     ac_prev=host_alias ;;\r
1133   -host=* | --host=* | --hos=* | --ho=*)\r
1134     host_alias=$ac_optarg ;;\r
1135 \r
1136   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)\r
1137     ac_prev=htmldir ;;\r
1138   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \\r
1139   | --ht=*)\r
1140     htmldir=$ac_optarg ;;\r
1141 \r
1142   -includedir | --includedir | --includedi | --included | --include \\r
1143   | --includ | --inclu | --incl | --inc)\r
1144     ac_prev=includedir ;;\r
1145   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \\r
1146   | --includ=* | --inclu=* | --incl=* | --inc=*)\r
1147     includedir=$ac_optarg ;;\r
1148 \r
1149   -infodir | --infodir | --infodi | --infod | --info | --inf)\r
1150     ac_prev=infodir ;;\r
1151   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)\r
1152     infodir=$ac_optarg ;;\r
1153 \r
1154   -libdir | --libdir | --libdi | --libd)\r
1155     ac_prev=libdir ;;\r
1156   -libdir=* | --libdir=* | --libdi=* | --libd=*)\r
1157     libdir=$ac_optarg ;;\r
1158 \r
1159   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \\r
1160   | --libexe | --libex | --libe)\r
1161     ac_prev=libexecdir ;;\r
1162   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \\r
1163   | --libexe=* | --libex=* | --libe=*)\r
1164     libexecdir=$ac_optarg ;;\r
1165 \r
1166   -localedir | --localedir | --localedi | --localed | --locale)\r
1167     ac_prev=localedir ;;\r
1168   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)\r
1169     localedir=$ac_optarg ;;\r
1170 \r
1171   -localstatedir | --localstatedir | --localstatedi | --localstated \\r
1172   | --localstate | --localstat | --localsta | --localst | --locals)\r
1173     ac_prev=localstatedir ;;\r
1174   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \\r
1175   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)\r
1176     localstatedir=$ac_optarg ;;\r
1177 \r
1178   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)\r
1179     ac_prev=mandir ;;\r
1180   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)\r
1181     mandir=$ac_optarg ;;\r
1182 \r
1183   -nfp | --nfp | --nf)\r
1184     # Obsolete; use --without-fp.\r
1185     with_fp=no ;;\r
1186 \r
1187   -no-create | --no-create | --no-creat | --no-crea | --no-cre \\r
1188   | --no-cr | --no-c | -n)\r
1189     no_create=yes ;;\r
1190 \r
1191   -no-recursion | --no-recursion | --no-recursio | --no-recursi \\r
1192   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)\r
1193     no_recursion=yes ;;\r
1194 \r
1195   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \\r
1196   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \\r
1197   | --oldin | --oldi | --old | --ol | --o)\r
1198     ac_prev=oldincludedir ;;\r
1199   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \\r
1200   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \\r
1201   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)\r
1202     oldincludedir=$ac_optarg ;;\r
1203 \r
1204   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)\r
1205     ac_prev=prefix ;;\r
1206   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)\r
1207     prefix=$ac_optarg ;;\r
1208 \r
1209   -program-prefix | --program-prefix | --program-prefi | --program-pref \\r
1210   | --program-pre | --program-pr | --program-p)\r
1211     ac_prev=program_prefix ;;\r
1212   -program-prefix=* | --program-prefix=* | --program-prefi=* \\r
1213   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)\r
1214     program_prefix=$ac_optarg ;;\r
1215 \r
1216   -program-suffix | --program-suffix | --program-suffi | --program-suff \\r
1217   | --program-suf | --program-su | --program-s)\r
1218     ac_prev=program_suffix ;;\r
1219   -program-suffix=* | --program-suffix=* | --program-suffi=* \\r
1220   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)\r
1221     program_suffix=$ac_optarg ;;\r
1222 \r
1223   -program-transform-name | --program-transform-name \\r
1224   | --program-transform-nam | --program-transform-na \\r
1225   | --program-transform-n | --program-transform- \\r
1226   | --program-transform | --program-transfor \\r
1227   | --program-transfo | --program-transf \\r
1228   | --program-trans | --program-tran \\r
1229   | --progr-tra | --program-tr | --program-t)\r
1230     ac_prev=program_transform_name ;;\r
1231   -program-transform-name=* | --program-transform-name=* \\r
1232   | --program-transform-nam=* | --program-transform-na=* \\r
1233   | --program-transform-n=* | --program-transform-=* \\r
1234   | --program-transform=* | --program-transfor=* \\r
1235   | --program-transfo=* | --program-transf=* \\r
1236   | --program-trans=* | --program-tran=* \\r
1237   | --progr-tra=* | --program-tr=* | --program-t=*)\r
1238     program_transform_name=$ac_optarg ;;\r
1239 \r
1240   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)\r
1241     ac_prev=pdfdir ;;\r
1242   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)\r
1243     pdfdir=$ac_optarg ;;\r
1244 \r
1245   -psdir | --psdir | --psdi | --psd | --ps)\r
1246     ac_prev=psdir ;;\r
1247   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)\r
1248     psdir=$ac_optarg ;;\r
1249 \r
1250   -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
1251   | -silent | --silent | --silen | --sile | --sil)\r
1252     silent=yes ;;\r
1253 \r
1254   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)\r
1255     ac_prev=sbindir ;;\r
1256   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \\r
1257   | --sbi=* | --sb=*)\r
1258     sbindir=$ac_optarg ;;\r
1259 \r
1260   -sharedstatedir | --sharedstatedir | --sharedstatedi \\r
1261   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \\r
1262   | --sharedst | --shareds | --shared | --share | --shar \\r
1263   | --sha | --sh)\r
1264     ac_prev=sharedstatedir ;;\r
1265   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \\r
1266   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \\r
1267   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \\r
1268   | --sha=* | --sh=*)\r
1269     sharedstatedir=$ac_optarg ;;\r
1270 \r
1271   -site | --site | --sit)\r
1272     ac_prev=site ;;\r
1273   -site=* | --site=* | --sit=*)\r
1274     site=$ac_optarg ;;\r
1275 \r
1276   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)\r
1277     ac_prev=srcdir ;;\r
1278   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)\r
1279     srcdir=$ac_optarg ;;\r
1280 \r
1281   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \\r
1282   | --syscon | --sysco | --sysc | --sys | --sy)\r
1283     ac_prev=sysconfdir ;;\r
1284   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \\r
1285   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)\r
1286     sysconfdir=$ac_optarg ;;\r
1287 \r
1288   -target | --target | --targe | --targ | --tar | --ta | --t)\r
1289     ac_prev=target_alias ;;\r
1290   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)\r
1291     target_alias=$ac_optarg ;;\r
1292 \r
1293   -v | -verbose | --verbose | --verbos | --verbo | --verb)\r
1294     verbose=yes ;;\r
1295 \r
1296   -version | --version | --versio | --versi | --vers | -V)\r
1297     ac_init_version=: ;;\r
1298 \r
1299   -with-* | --with-*)\r
1300     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`\r
1301     # Reject names that are not valid shell variable names.\r
1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
1303       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2\r
1304    { (exit 1); exit 1; }; }\r
1305     ac_useropt_orig=$ac_useropt\r
1306     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
1307     case $ac_user_opts in\r
1308       *"\r
1309 "with_$ac_useropt"\r
1310 "*) ;;\r
1311       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"\r
1312          ac_unrecognized_sep=', ';;\r
1313     esac\r
1314     eval with_$ac_useropt=\$ac_optarg ;;\r
1315 \r
1316   -without-* | --without-*)\r
1317     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`\r
1318     # Reject names that are not valid shell variable names.\r
1319     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
1320       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2\r
1321    { (exit 1); exit 1; }; }\r
1322     ac_useropt_orig=$ac_useropt\r
1323     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
1324     case $ac_user_opts in\r
1325       *"\r
1326 "with_$ac_useropt"\r
1327 "*) ;;\r
1328       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"\r
1329          ac_unrecognized_sep=', ';;\r
1330     esac\r
1331     eval with_$ac_useropt=no ;;\r
1332 \r
1333   --x)\r
1334     # Obsolete; use --with-x.\r
1335     with_x=yes ;;\r
1336 \r
1337   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \\r
1338   | --x-incl | --x-inc | --x-in | --x-i)\r
1339     ac_prev=x_includes ;;\r
1340   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \\r
1341   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)\r
1342     x_includes=$ac_optarg ;;\r
1343 \r
1344   -x-libraries | --x-libraries | --x-librarie | --x-librari \\r
1345   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)\r
1346     ac_prev=x_libraries ;;\r
1347   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \\r
1348   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)\r
1349     x_libraries=$ac_optarg ;;\r
1350 \r
1351   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option\r
1352 Try \`$0 --help' for more information." >&2\r
1353    { (exit 1); exit 1; }; }\r
1354     ;;\r
1355 \r
1356   *=*)\r
1357     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`\r
1358     # Reject names that are not valid shell variable names.\r
1359     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&\r
1360       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2\r
1361    { (exit 1); exit 1; }; }\r
1362     eval $ac_envvar=\$ac_optarg\r
1363     export $ac_envvar ;;\r
1364 \r
1365   *)\r
1366     # FIXME: should be removed in autoconf 3.0.\r
1367     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2\r
1368     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
1369       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2\r
1370     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}\r
1371     ;;\r
1372 \r
1373   esac\r
1374 done\r
1375 \r
1376 if test -n "$ac_prev"; then\r
1377   ac_option=--`echo $ac_prev | sed 's/_/-/g'`\r
1378   { $as_echo "$as_me: error: missing argument to $ac_option" >&2\r
1379    { (exit 1); exit 1; }; }\r
1380 fi\r
1381 \r
1382 if test -n "$ac_unrecognized_opts"; then\r
1383   case $enable_option_checking in\r
1384     no) ;;\r
1385     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2\r
1386    { (exit 1); exit 1; }; } ;;\r
1387     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;\r
1388   esac\r
1389 fi\r
1390 \r
1391 # Check all directory arguments for consistency.\r
1392 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \\r
1393                 datadir sysconfdir sharedstatedir localstatedir includedir \\r
1394                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \\r
1395                 libdir localedir mandir\r
1396 do\r
1397   eval ac_val=\$$ac_var\r
1398   # Remove trailing slashes.\r
1399   case $ac_val in\r
1400     */ )\r
1401       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`\r
1402       eval $ac_var=\$ac_val;;\r
1403   esac\r
1404   # Be sure to have absolute directory names.\r
1405   case $ac_val in\r
1406     [\\/$]* | ?:[\\/]* )  continue;;\r
1407     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;\r
1408   esac\r
1409   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2\r
1410    { (exit 1); exit 1; }; }\r
1411 done\r
1412 \r
1413 # There might be people who depend on the old broken behavior: `$host'\r
1414 # used to hold the argument of --host etc.\r
1415 # FIXME: To remove some day.\r
1416 build=$build_alias\r
1417 host=$host_alias\r
1418 target=$target_alias\r
1419 \r
1420 # FIXME: To remove some day.\r
1421 if test "x$host_alias" != x; then\r
1422   if test "x$build_alias" = x; then\r
1423     cross_compiling=maybe\r
1424     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.\r
1425     If a cross compiler is detected then cross compile mode will be used." >&2\r
1426   elif test "x$build_alias" != "x$host_alias"; then\r
1427     cross_compiling=yes\r
1428   fi\r
1429 fi\r
1430 \r
1431 ac_tool_prefix=\r
1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-\r
1433 \r
1434 test "$silent" = yes && exec 6>/dev/null\r
1435 \r
1436 \r
1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&\r
1438 ac_ls_di=`ls -di .` &&\r
1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||\r
1440   { $as_echo "$as_me: error: working directory cannot be determined" >&2\r
1441    { (exit 1); exit 1; }; }\r
1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||\r
1443   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2\r
1444    { (exit 1); exit 1; }; }\r
1445 \r
1446 \r
1447 # Find the source files, if location was not specified.\r
1448 if test -z "$srcdir"; then\r
1449   ac_srcdir_defaulted=yes\r
1450   # Try the directory containing this script, then the parent directory.\r
1451   ac_confdir=`$as_dirname -- "$as_myself" ||\r
1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
1453          X"$as_myself" : 'X\(//\)[^/]' \| \\r
1454          X"$as_myself" : 'X\(//\)$' \| \\r
1455          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||\r
1456 $as_echo X"$as_myself" |\r
1457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
1458             s//\1/\r
1459             q\r
1460           }\r
1461           /^X\(\/\/\)[^/].*/{\r
1462             s//\1/\r
1463             q\r
1464           }\r
1465           /^X\(\/\/\)$/{\r
1466             s//\1/\r
1467             q\r
1468           }\r
1469           /^X\(\/\).*/{\r
1470             s//\1/\r
1471             q\r
1472           }\r
1473           s/.*/./; q'`\r
1474   srcdir=$ac_confdir\r
1475   if test ! -r "$srcdir/$ac_unique_file"; then\r
1476     srcdir=..\r
1477   fi\r
1478 else\r
1479   ac_srcdir_defaulted=no\r
1480 fi\r
1481 if test ! -r "$srcdir/$ac_unique_file"; then\r
1482   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."\r
1483   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2\r
1484    { (exit 1); exit 1; }; }\r
1485 fi\r
1486 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"\r
1487 ac_abs_confdir=`(\r
1488         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2\r
1489    { (exit 1); exit 1; }; }\r
1490         pwd)`\r
1491 # When building in place, set srcdir=.\r
1492 if test "$ac_abs_confdir" = "$ac_pwd"; then\r
1493   srcdir=.\r
1494 fi\r
1495 # Remove unnecessary trailing slashes from srcdir.\r
1496 # Double slashes in file names in object file debugging info\r
1497 # mess up M-x gdb in Emacs.\r
1498 case $srcdir in\r
1499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;\r
1500 esac\r
1501 for ac_var in $ac_precious_vars; do\r
1502   eval ac_env_${ac_var}_set=\${${ac_var}+set}\r
1503   eval ac_env_${ac_var}_value=\$${ac_var}\r
1504   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}\r
1505   eval ac_cv_env_${ac_var}_value=\$${ac_var}\r
1506 done\r
1507 \r
1508 #\r
1509 # Report the --help message.\r
1510 #\r
1511 if test "$ac_init_help" = "long"; then\r
1512   # Omit some internal or obsolete options to make the list less imposing.\r
1513   # This message is too long to be a string in the A/UX 3.1 sh.\r
1514   cat <<_ACEOF\r
1515 \`configure' configures libantlr3c 3.2 to adapt to many kinds of systems.\r
1516 \r
1517 Usage: $0 [OPTION]... [VAR=VALUE]...\r
1518 \r
1519 To assign environment variables (e.g., CC, CFLAGS...), specify them as\r
1520 VAR=VALUE.  See below for descriptions of some of the useful variables.\r
1521 \r
1522 Defaults for the options are specified in brackets.\r
1523 \r
1524 Configuration:\r
1525   -h, --help              display this help and exit\r
1526       --help=short        display options specific to this package\r
1527       --help=recursive    display the short help of all the included packages\r
1528   -V, --version           display version information and exit\r
1529   -q, --quiet, --silent   do not print \`checking...' messages\r
1530       --cache-file=FILE   cache test results in FILE [disabled]\r
1531   -C, --config-cache      alias for \`--cache-file=config.cache'\r
1532   -n, --no-create         do not create output files\r
1533       --srcdir=DIR        find the sources in DIR [configure dir or \`..']\r
1534 \r
1535 Installation directories:\r
1536   --prefix=PREFIX         install architecture-independent files in PREFIX\r
1537                           [$ac_default_prefix]\r
1538   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX\r
1539                           [PREFIX]\r
1540 \r
1541 By default, \`make install' will install all the files in\r
1542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify\r
1543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',\r
1544 for instance \`--prefix=\$HOME'.\r
1545 \r
1546 For better control, use the options below.\r
1547 \r
1548 Fine tuning of the installation directories:\r
1549   --bindir=DIR            user executables [EPREFIX/bin]\r
1550   --sbindir=DIR           system admin executables [EPREFIX/sbin]\r
1551   --libexecdir=DIR        program executables [EPREFIX/libexec]\r
1552   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]\r
1553   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]\r
1554   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]\r
1555   --libdir=DIR            object code libraries [EPREFIX/lib]\r
1556   --includedir=DIR        C header files [PREFIX/include]\r
1557   --oldincludedir=DIR     C header files for non-gcc [/usr/include]\r
1558   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]\r
1559   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]\r
1560   --infodir=DIR           info documentation [DATAROOTDIR/info]\r
1561   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]\r
1562   --mandir=DIR            man documentation [DATAROOTDIR/man]\r
1563   --docdir=DIR            documentation root [DATAROOTDIR/doc/libantlr3c]\r
1564   --htmldir=DIR           html documentation [DOCDIR]\r
1565   --dvidir=DIR            dvi documentation [DOCDIR]\r
1566   --pdfdir=DIR            pdf documentation [DOCDIR]\r
1567   --psdir=DIR             ps documentation [DOCDIR]\r
1568 _ACEOF\r
1569 \r
1570   cat <<\_ACEOF\r
1571 \r
1572 Program names:\r
1573   --program-prefix=PREFIX            prepend PREFIX to installed program names\r
1574   --program-suffix=SUFFIX            append SUFFIX to installed program names\r
1575   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names\r
1576 \r
1577 System types:\r
1578   --build=BUILD     configure for building on BUILD [guessed]\r
1579   --host=HOST       cross-compile to build programs to run on HOST [BUILD]\r
1580 _ACEOF\r
1581 fi\r
1582 \r
1583 if test -n "$ac_init_help"; then\r
1584   case $ac_init_help in\r
1585      short | recursive ) echo "Configuration of libantlr3c 3.2:";;\r
1586    esac\r
1587   cat <<\_ACEOF\r
1588 \r
1589 Optional Features:\r
1590   --disable-option-checking  ignore unrecognized --enable/--with options\r
1591   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)\r
1592   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]\r
1593   --enable-debuginfo      Compiles debug info into the library (default\r
1594                           --disable-debuginfo)\r
1595   --enable-64bit          Turns on flags that produce 64 bit object code if\r
1596                           any are required (default --disable-64bit)\r
1597   --disable-abiflags      Does not add ABI flags -m32 or -m64 for older\r
1598                           versions of gcc, such as itanium 3.x (default\r
1599                           --enable-abiflags=yes)\r
1600   --disable-antlrdebug    Turns off default flags that include the antlr\r
1601                           debugger in the runtime. Specify to remove debugger\r
1602                           and the socket dependancies (default\r
1603                           --enable-antlrdebug)\r
1604   --disable-dependency-tracking  speeds up one-time build\r
1605   --enable-dependency-tracking   do not reject slow dependency extractors\r
1606   --enable-maintainer-mode  enable make rules and dependencies not useful\r
1607                           (and sometimes confusing) to the casual installer\r
1608   --enable-shared[=PKGS]  build shared libraries [default=yes]\r
1609   --enable-static[=PKGS]  build static libraries [default=yes]\r
1610   --enable-fast-install[=PKGS]\r
1611                           optimize for fast installation [default=yes]\r
1612   --disable-libtool-lock  avoid locking (might break parallel builds)\r
1613 \r
1614 Optional Packages:\r
1615   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]\r
1616   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)\r
1617   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]\r
1618   --with-pic              try to use only PIC/non-PIC objects [default=use\r
1619                           both]\r
1620   --with-tags[=TAGS]      include additional configurations [automatic]\r
1621 \r
1622 Some influential environment variables:\r
1623   CC          C compiler command\r
1624   CFLAGS      C compiler flags\r
1625   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a\r
1626               nonstandard directory <lib dir>\r
1627   LIBS        libraries to pass to the linker, e.g. -l<library>\r
1628   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if\r
1629               you have headers in a nonstandard directory <include dir>\r
1630   CPP         C preprocessor\r
1631   CXX         C++ compiler command\r
1632   CXXFLAGS    C++ compiler flags\r
1633   CXXCPP      C++ preprocessor\r
1634   F77         Fortran 77 compiler command\r
1635   FFLAGS      Fortran 77 compiler flags\r
1636 \r
1637 Use these variables to override the choices made by `configure' or to help\r
1638 it to find libraries and programs with nonstandard names/locations.\r
1639 \r
1640 Report bugs to <jimi@temporal-wave.com>.\r
1641 _ACEOF\r
1642 ac_status=$?\r
1643 fi\r
1644 \r
1645 if test "$ac_init_help" = "recursive"; then\r
1646   # If there are subdirs, report their specific --help.\r
1647   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue\r
1648     test -d "$ac_dir" ||\r
1649       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||\r
1650       continue\r
1651     ac_builddir=.\r
1652 \r
1653 case "$ac_dir" in\r
1654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
1655 *)\r
1656   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`\r
1657   # A ".." for each directory in $ac_dir_suffix.\r
1658   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`\r
1659   case $ac_top_builddir_sub in\r
1660   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
1661   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
1662   esac ;;\r
1663 esac\r
1664 ac_abs_top_builddir=$ac_pwd\r
1665 ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
1666 # for backward compatibility:\r
1667 ac_top_builddir=$ac_top_build_prefix\r
1668 \r
1669 case $srcdir in\r
1670   .)  # We are building in place.\r
1671     ac_srcdir=.\r
1672     ac_top_srcdir=$ac_top_builddir_sub\r
1673     ac_abs_top_srcdir=$ac_pwd ;;\r
1674   [\\/]* | ?:[\\/]* )  # Absolute name.\r
1675     ac_srcdir=$srcdir$ac_dir_suffix;\r
1676     ac_top_srcdir=$srcdir\r
1677     ac_abs_top_srcdir=$srcdir ;;\r
1678   *) # Relative name.\r
1679     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
1680     ac_top_srcdir=$ac_top_build_prefix$srcdir\r
1681     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
1682 esac\r
1683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
1684 \r
1685     cd "$ac_dir" || { ac_status=$?; continue; }\r
1686     # Check for guested configure.\r
1687     if test -f "$ac_srcdir/configure.gnu"; then\r
1688       echo &&\r
1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive\r
1690     elif test -f "$ac_srcdir/configure"; then\r
1691       echo &&\r
1692       $SHELL "$ac_srcdir/configure" --help=recursive\r
1693     else\r
1694       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2\r
1695     fi || ac_status=$?\r
1696     cd "$ac_pwd" || { ac_status=$?; break; }\r
1697   done\r
1698 fi\r
1699 \r
1700 test -n "$ac_init_help" && exit $ac_status\r
1701 if $ac_init_version; then\r
1702   cat <<\_ACEOF\r
1703 libantlr3c configure 3.2\r
1704 generated by GNU Autoconf 2.63\r
1705 \r
1706 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,\r
1707 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.\r
1708 This configure script is free software; the Free Software Foundation\r
1709 gives unlimited permission to copy, distribute and modify it.\r
1710 \r
1711 \r
1712  (The "BSD licence")\r
1713  Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC\r
1714  http://www.temporal-wave.com\r
1715  http://www.linkedin.com/in/jimidle\r
1716  All rights reserved.\r
1717 \r
1718  Redistribution and use in source and binary forms, with or without\r
1719  modification, are permitted provided that the following conditions\r
1720  are met:\r
1721  1. Redistributions of source code must retain the above copyright\r
1722     notice, this list of conditions and the following disclaimer.\r
1723  2. Redistributions in binary form must reproduce the above copyright\r
1724     notice, this list of conditions and the following disclaimer in the\r
1725     documentation and/or other materials provided with the distribution.\r
1726  3. The name of the author may not be used to endorse or promote products\r
1727     derived from this software without specific prior written permission.\r
1728 \r
1729  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\r
1730  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\r
1731  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\r
1732  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\r
1733  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\r
1734  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
1735  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
1736  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
1737  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\r
1738  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
1739 \r
1740 _ACEOF\r
1741   exit\r
1742 fi\r
1743 cat >config.log <<_ACEOF\r
1744 This file contains any messages produced by compilers while\r
1745 running configure, to aid debugging if configure makes a mistake.\r
1746 \r
1747 It was created by libantlr3c $as_me 3.2, which was\r
1748 generated by GNU Autoconf 2.63.  Invocation command line was\r
1749 \r
1750   $ $0 $@\r
1751 \r
1752 _ACEOF\r
1753 exec 5>>config.log\r
1754 {\r
1755 cat <<_ASUNAME\r
1756 ## --------- ##\r
1757 ## Platform. ##\r
1758 ## --------- ##\r
1759 \r
1760 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`\r
1761 uname -m = `(uname -m) 2>/dev/null || echo unknown`\r
1762 uname -r = `(uname -r) 2>/dev/null || echo unknown`\r
1763 uname -s = `(uname -s) 2>/dev/null || echo unknown`\r
1764 uname -v = `(uname -v) 2>/dev/null || echo unknown`\r
1765 \r
1766 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`\r
1767 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`\r
1768 \r
1769 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`\r
1770 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`\r
1771 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`\r
1772 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`\r
1773 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`\r
1774 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`\r
1775 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`\r
1776 \r
1777 _ASUNAME\r
1778 \r
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
1780 for as_dir in $PATH\r
1781 do\r
1782   IFS=$as_save_IFS\r
1783   test -z "$as_dir" && as_dir=.\r
1784   $as_echo "PATH: $as_dir"\r
1785 done\r
1786 IFS=$as_save_IFS\r
1787 \r
1788 } >&5\r
1789 \r
1790 cat >&5 <<_ACEOF\r
1791 \r
1792 \r
1793 ## ----------- ##\r
1794 ## Core tests. ##\r
1795 ## ----------- ##\r
1796 \r
1797 _ACEOF\r
1798 \r
1799 \r
1800 # Keep a trace of the command line.\r
1801 # Strip out --no-create and --no-recursion so they do not pile up.\r
1802 # Strip out --silent because we don't want to record it for future runs.\r
1803 # Also quote any args containing shell meta-characters.\r
1804 # Make two passes to allow for proper duplicate-argument suppression.\r
1805 ac_configure_args=\r
1806 ac_configure_args0=\r
1807 ac_configure_args1=\r
1808 ac_must_keep_next=false\r
1809 for ac_pass in 1 2\r
1810 do\r
1811   for ac_arg\r
1812   do\r
1813     case $ac_arg in\r
1814     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;\r
1815     -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
1816     | -silent | --silent | --silen | --sile | --sil)\r
1817       continue ;;\r
1818     *\'*)\r
1819       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
1820     esac\r
1821     case $ac_pass in\r
1822     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;\r
1823     2)\r
1824       ac_configure_args1="$ac_configure_args1 '$ac_arg'"\r
1825       if test $ac_must_keep_next = true; then\r
1826         ac_must_keep_next=false # Got value, back to normal.\r
1827       else\r
1828         case $ac_arg in\r
1829           *=* | --config-cache | -C | -disable-* | --disable-* \\r
1830           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \\r
1831           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \\r
1832           | -with-* | --with-* | -without-* | --without-* | --x)\r
1833             case "$ac_configure_args0 " in\r
1834               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;\r
1835             esac\r
1836             ;;\r
1837           -* ) ac_must_keep_next=true ;;\r
1838         esac\r
1839       fi\r
1840       ac_configure_args="$ac_configure_args '$ac_arg'"\r
1841       ;;\r
1842     esac\r
1843   done\r
1844 done\r
1845 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }\r
1846 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }\r
1847 \r
1848 # When interrupted or exit'd, cleanup temporary files, and complete\r
1849 # config.log.  We remove comments because anyway the quotes in there\r
1850 # would cause problems or look ugly.\r
1851 # WARNING: Use '\'' to represent an apostrophe within the trap.\r
1852 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.\r
1853 trap 'exit_status=$?\r
1854   # Save into config.log some information that might help in debugging.\r
1855   {\r
1856     echo\r
1857 \r
1858     cat <<\_ASBOX\r
1859 ## ---------------- ##\r
1860 ## Cache variables. ##\r
1861 ## ---------------- ##\r
1862 _ASBOX\r
1863     echo\r
1864     # The following way of writing the cache mishandles newlines in values,\r
1865 (\r
1866   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do\r
1867     eval ac_val=\$$ac_var\r
1868     case $ac_val in #(\r
1869     *${as_nl}*)\r
1870       case $ac_var in #(\r
1871       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5\r
1872 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;\r
1873       esac\r
1874       case $ac_var in #(\r
1875       _ | IFS | as_nl) ;; #(\r
1876       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\r
1877       *) $as_unset $ac_var ;;\r
1878       esac ;;\r
1879     esac\r
1880   done\r
1881   (set) 2>&1 |\r
1882     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(\r
1883     *${as_nl}ac_space=\ *)\r
1884       sed -n \\r
1885         "s/'\''/'\''\\\\'\'''\''/g;\r
1886           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"\r
1887       ;; #(\r
1888     *)\r
1889       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
1890       ;;\r
1891     esac |\r
1892     sort\r
1893 )\r
1894     echo\r
1895 \r
1896     cat <<\_ASBOX\r
1897 ## ----------------- ##\r
1898 ## Output variables. ##\r
1899 ## ----------------- ##\r
1900 _ASBOX\r
1901     echo\r
1902     for ac_var in $ac_subst_vars\r
1903     do\r
1904       eval ac_val=\$$ac_var\r
1905       case $ac_val in\r
1906       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
1907       esac\r
1908       $as_echo "$ac_var='\''$ac_val'\''"\r
1909     done | sort\r
1910     echo\r
1911 \r
1912     if test -n "$ac_subst_files"; then\r
1913       cat <<\_ASBOX\r
1914 ## ------------------- ##\r
1915 ## File substitutions. ##\r
1916 ## ------------------- ##\r
1917 _ASBOX\r
1918       echo\r
1919       for ac_var in $ac_subst_files\r
1920       do\r
1921         eval ac_val=\$$ac_var\r
1922         case $ac_val in\r
1923         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
1924         esac\r
1925         $as_echo "$ac_var='\''$ac_val'\''"\r
1926       done | sort\r
1927       echo\r
1928     fi\r
1929 \r
1930     if test -s confdefs.h; then\r
1931       cat <<\_ASBOX\r
1932 ## ----------- ##\r
1933 ## confdefs.h. ##\r
1934 ## ----------- ##\r
1935 _ASBOX\r
1936       echo\r
1937       cat confdefs.h\r
1938       echo\r
1939     fi\r
1940     test "$ac_signal" != 0 &&\r
1941       $as_echo "$as_me: caught signal $ac_signal"\r
1942     $as_echo "$as_me: exit $exit_status"\r
1943   } >&5\r
1944   rm -f core *.core core.conftest.* &&\r
1945     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&\r
1946     exit $exit_status\r
1947 ' 0\r
1948 for ac_signal in 1 2 13 15; do\r
1949   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal\r
1950 done\r
1951 ac_signal=0\r
1952 \r
1953 # confdefs.h avoids OS command line length limits that DEFS can exceed.\r
1954 rm -f -r conftest* confdefs.h\r
1955 \r
1956 # Predefined preprocessor variables.\r
1957 \r
1958 cat >>confdefs.h <<_ACEOF\r
1959 #define PACKAGE_NAME "$PACKAGE_NAME"\r
1960 _ACEOF\r
1961 \r
1962 \r
1963 cat >>confdefs.h <<_ACEOF\r
1964 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"\r
1965 _ACEOF\r
1966 \r
1967 \r
1968 cat >>confdefs.h <<_ACEOF\r
1969 #define PACKAGE_VERSION "$PACKAGE_VERSION"\r
1970 _ACEOF\r
1971 \r
1972 \r
1973 cat >>confdefs.h <<_ACEOF\r
1974 #define PACKAGE_STRING "$PACKAGE_STRING"\r
1975 _ACEOF\r
1976 \r
1977 \r
1978 cat >>confdefs.h <<_ACEOF\r
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"\r
1980 _ACEOF\r
1981 \r
1982 \r
1983 # Let the site file select an alternate cache file if it wants to.\r
1984 # Prefer an explicitly selected file to automatically selected ones.\r
1985 ac_site_file1=NONE\r
1986 ac_site_file2=NONE\r
1987 if test -n "$CONFIG_SITE"; then\r
1988   ac_site_file1=$CONFIG_SITE\r
1989 elif test "x$prefix" != xNONE; then\r
1990   ac_site_file1=$prefix/share/config.site\r
1991   ac_site_file2=$prefix/etc/config.site\r
1992 else\r
1993   ac_site_file1=$ac_default_prefix/share/config.site\r
1994   ac_site_file2=$ac_default_prefix/etc/config.site\r
1995 fi\r
1996 for ac_site_file in "$ac_site_file1" "$ac_site_file2"\r
1997 do\r
1998   test "x$ac_site_file" = xNONE && continue\r
1999   if test -r "$ac_site_file"; then\r
2000     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5\r
2001 $as_echo "$as_me: loading site script $ac_site_file" >&6;}\r
2002     sed 's/^/| /' "$ac_site_file" >&5\r
2003     . "$ac_site_file"\r
2004   fi\r
2005 done\r
2006 \r
2007 if test -r "$cache_file"; then\r
2008   # Some versions of bash will fail to source /dev/null (special\r
2009   # files actually), so we avoid doing that.\r
2010   if test -f "$cache_file"; then\r
2011     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5\r
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}\r
2013     case $cache_file in\r
2014       [\\/]* | ?:[\\/]* ) . "$cache_file";;\r
2015       *)                      . "./$cache_file";;\r
2016     esac\r
2017   fi\r
2018 else\r
2019   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5\r
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}\r
2021   >$cache_file\r
2022 fi\r
2023 \r
2024 # Check that the precious variables saved in the cache have kept the same\r
2025 # value.\r
2026 ac_cache_corrupted=false\r
2027 for ac_var in $ac_precious_vars; do\r
2028   eval ac_old_set=\$ac_cv_env_${ac_var}_set\r
2029   eval ac_new_set=\$ac_env_${ac_var}_set\r
2030   eval ac_old_val=\$ac_cv_env_${ac_var}_value\r
2031   eval ac_new_val=\$ac_env_${ac_var}_value\r
2032   case $ac_old_set,$ac_new_set in\r
2033     set,)\r
2034       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5\r
2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}\r
2036       ac_cache_corrupted=: ;;\r
2037     ,set)\r
2038       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5\r
2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}\r
2040       ac_cache_corrupted=: ;;\r
2041     ,);;\r
2042     *)\r
2043       if test "x$ac_old_val" != "x$ac_new_val"; then\r
2044         # differences in whitespace do not lead to failure.\r
2045         ac_old_val_w=`echo x $ac_old_val`\r
2046         ac_new_val_w=`echo x $ac_new_val`\r
2047         if test "$ac_old_val_w" != "$ac_new_val_w"; then\r
2048           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5\r
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}\r
2050           ac_cache_corrupted=:\r
2051         else\r
2052           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5\r
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}\r
2054           eval $ac_var=\$ac_old_val\r
2055         fi\r
2056         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5\r
2057 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}\r
2058         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5\r
2059 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}\r
2060       fi;;\r
2061   esac\r
2062   # Pass precious variables to config.status.\r
2063   if test "$ac_new_set" = set; then\r
2064     case $ac_new_val in\r
2065     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;\r
2066     *) ac_arg=$ac_var=$ac_new_val ;;\r
2067     esac\r
2068     case " $ac_configure_args " in\r
2069       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.\r
2070       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;\r
2071     esac\r
2072   fi\r
2073 done\r
2074 if $ac_cache_corrupted; then\r
2075   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
2077   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5\r
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}\r
2079   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5\r
2080 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}\r
2081    { (exit 1); exit 1; }; }\r
2082 fi\r
2083 \r
2084 \r
2085 \r
2086 \r
2087 \r
2088 \r
2089 \r
2090 \r
2091 \r
2092 \r
2093 \r
2094 \r
2095 \r
2096 \r
2097 \r
2098 \r
2099 \r
2100 \r
2101 \r
2102 \r
2103 \r
2104 \r
2105 \r
2106 \r
2107 \r
2108 ac_ext=c\r
2109 ac_cpp='$CPP $CPPFLAGS'\r
2110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
2111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
2112 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
2113 \r
2114 \r
2115 \r
2116 \r
2117 \r
2118 \r
2119 \r
2120 # Check whether --enable-debuginfo was given.\r
2121 if test "${enable_debuginfo+set}" = set; then\r
2122   enableval=$enable_debuginfo;\r
2123 else\r
2124   enable_debuginfo=no\r
2125 fi\r
2126 \r
2127 \r
2128 # Check whether --enable-64bit was given.\r
2129 if test "${enable_64bit+set}" = set; then\r
2130   enableval=$enable_64bit;\r
2131 else\r
2132   enable_64bit=no\r
2133 fi\r
2134 \r
2135 \r
2136 # Check whether --enable-abiflags was given.\r
2137 if test "${enable_abiflags+set}" = set; then\r
2138   enableval=$enable_abiflags;\r
2139 else\r
2140   enable_abiflags=yes\r
2141 fi\r
2142 \r
2143 \r
2144 # Check whether --enable-antlrdebug was given.\r
2145 if test "${enable_antlrdebug+set}" = set; then\r
2146   enableval=$enable_antlrdebug;\r
2147 else\r
2148   enable_antlrdebug=yes\r
2149 fi\r
2150 \r
2151 \r
2152 am__api_version="1.9"\r
2153 ac_aux_dir=\r
2154 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do\r
2155   if test -f "$ac_dir/install-sh"; then\r
2156     ac_aux_dir=$ac_dir\r
2157     ac_install_sh="$ac_aux_dir/install-sh -c"\r
2158     break\r
2159   elif test -f "$ac_dir/install.sh"; then\r
2160     ac_aux_dir=$ac_dir\r
2161     ac_install_sh="$ac_aux_dir/install.sh -c"\r
2162     break\r
2163   elif test -f "$ac_dir/shtool"; then\r
2164     ac_aux_dir=$ac_dir\r
2165     ac_install_sh="$ac_aux_dir/shtool install -c"\r
2166     break\r
2167   fi\r
2168 done\r
2169 if test -z "$ac_aux_dir"; then\r
2170   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5\r
2171 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}\r
2172    { (exit 1); exit 1; }; }\r
2173 fi\r
2174 \r
2175 # These three variables are undocumented and unsupported,\r
2176 # and are intended to be withdrawn in a future Autoconf release.\r
2177 # They can cause serious problems if a builder's source tree is in a directory\r
2178 # whose full name contains unusual characters.\r
2179 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.\r
2180 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.\r
2181 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.\r
2182 \r
2183 \r
2184 # Find a good install program.  We prefer a C program (faster),\r
2185 # so one script is as good as another.  But avoid the broken or\r
2186 # incompatible versions:\r
2187 # SysV /etc/install, /usr/sbin/install\r
2188 # SunOS /usr/etc/install\r
2189 # IRIX /sbin/install\r
2190 # AIX /bin/install\r
2191 # AmigaOS /C/install, which installs bootblocks on floppy discs\r
2192 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\r
2193 # AFS /usr/afsws/bin/install, which mishandles nonexistent args\r
2194 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"\r
2195 # OS/2's system install, which has a completely different semantic\r
2196 # ./install, which can be erroneously created by make from ./install.sh.\r
2197 # Reject install programs that cannot install multiple files.\r
2198 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5\r
2199 $as_echo_n "checking for a BSD-compatible install... " >&6; }\r
2200 if test -z "$INSTALL"; then\r
2201 if test "${ac_cv_path_install+set}" = set; then\r
2202   $as_echo_n "(cached) " >&6\r
2203 else\r
2204   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2205 for as_dir in $PATH\r
2206 do\r
2207   IFS=$as_save_IFS\r
2208   test -z "$as_dir" && as_dir=.\r
2209   # Account for people who put trailing slashes in PATH elements.\r
2210 case $as_dir/ in\r
2211   ./ | .// | /cC/* | \\r
2212   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\r
2213   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \\r
2214   /usr/ucb/* ) ;;\r
2215   *)\r
2216     # OSF1 and SCO ODT 3.0 have their own names for install.\r
2217     # Don't use installbsd from OSF since it installs stuff as root\r
2218     # by default.\r
2219     for ac_prog in ginstall scoinst install; do\r
2220       for ac_exec_ext in '' $ac_executable_extensions; do\r
2221         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then\r
2222           if test $ac_prog = install &&\r
2223             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
2224             # AIX install.  It has an incompatible calling convention.\r
2225             :\r
2226           elif test $ac_prog = install &&\r
2227             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
2228             # program-specific install script used by HP pwplus--don't use.\r
2229             :\r
2230           else\r
2231             rm -rf conftest.one conftest.two conftest.dir\r
2232             echo one > conftest.one\r
2233             echo two > conftest.two\r
2234             mkdir conftest.dir\r
2235             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&\r
2236               test -s conftest.one && test -s conftest.two &&\r
2237               test -s conftest.dir/conftest.one &&\r
2238               test -s conftest.dir/conftest.two\r
2239             then\r
2240               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"\r
2241               break 3\r
2242             fi\r
2243           fi\r
2244         fi\r
2245       done\r
2246     done\r
2247     ;;\r
2248 esac\r
2249 \r
2250 done\r
2251 IFS=$as_save_IFS\r
2252 \r
2253 rm -rf conftest.one conftest.two conftest.dir\r
2254 \r
2255 fi\r
2256   if test "${ac_cv_path_install+set}" = set; then\r
2257     INSTALL=$ac_cv_path_install\r
2258   else\r
2259     # As a last resort, use the slow shell script.  Don't cache a\r
2260     # value for INSTALL within a source directory, because that will\r
2261     # break other packages using the cache if that directory is\r
2262     # removed, or if the value is a relative name.\r
2263     INSTALL=$ac_install_sh\r
2264   fi\r
2265 fi\r
2266 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5\r
2267 $as_echo "$INSTALL" >&6; }\r
2268 \r
2269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.\r
2270 # It thinks the first close brace ends the variable substitution.\r
2271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'\r
2272 \r
2273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'\r
2274 \r
2275 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'\r
2276 \r
2277 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5\r
2278 $as_echo_n "checking whether build environment is sane... " >&6; }\r
2279 # Just in case\r
2280 sleep 1\r
2281 echo timestamp > conftest.file\r
2282 # Do `set' in a subshell so we don't clobber the current shell's\r
2283 # arguments.  Must try -L first in case configure is actually a\r
2284 # symlink; some systems play weird games with the mod time of symlinks\r
2285 # (eg FreeBSD returns the mod time of the symlink's containing\r
2286 # directory).\r
2287 if (\r
2288    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`\r
2289    if test "$*" = "X"; then\r
2290       # -L didn't work.\r
2291       set X `ls -t $srcdir/configure conftest.file`\r
2292    fi\r
2293    rm -f conftest.file\r
2294    if test "$*" != "X $srcdir/configure conftest.file" \\r
2295       && test "$*" != "X conftest.file $srcdir/configure"; then\r
2296 \r
2297       # If neither matched, then we have a broken ls.  This can happen\r
2298       # if, for instance, CONFIG_SHELL is bash and it inherits a\r
2299       # broken ls alias from the environment.  This has actually\r
2300       # happened.  Such a system could not be considered "sane".\r
2301       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken\r
2302 alias in your environment" >&5\r
2303 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken\r
2304 alias in your environment" >&2;}\r
2305    { (exit 1); exit 1; }; }\r
2306    fi\r
2307 \r
2308    test "$2" = conftest.file\r
2309    )\r
2310 then\r
2311    # Ok.\r
2312    :\r
2313 else\r
2314    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!\r
2315 Check your system clock" >&5\r
2316 $as_echo "$as_me: error: newly created file is older than distributed files!\r
2317 Check your system clock" >&2;}\r
2318    { (exit 1); exit 1; }; }\r
2319 fi\r
2320 { $as_echo "$as_me:$LINENO: result: yes" >&5\r
2321 $as_echo "yes" >&6; }\r
2322 test "$program_prefix" != NONE &&\r
2323   program_transform_name="s&^&$program_prefix&;$program_transform_name"\r
2324 # Use a double $ so make ignores it.\r
2325 test "$program_suffix" != NONE &&\r
2326   program_transform_name="s&\$&$program_suffix&;$program_transform_name"\r
2327 # Double any \ or $.\r
2328 # By default was `s,x,x', remove it if useless.\r
2329 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'\r
2330 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`\r
2331 \r
2332 # expand $ac_aux_dir to an absolute path\r
2333 am_aux_dir=`cd $ac_aux_dir && pwd`\r
2334 \r
2335 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"\r
2336 # Use eval to expand $SHELL\r
2337 if eval "$MISSING --run true"; then\r
2338   am_missing_run="$MISSING --run "\r
2339 else\r
2340   am_missing_run=\r
2341   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5\r
2342 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}\r
2343 fi\r
2344 \r
2345 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then\r
2346   # We used to keeping the `.' as first argument, in order to\r
2347   # allow $(mkdir_p) to be used without argument.  As in\r
2348   #   $(mkdir_p) $(somedir)\r
2349   # where $(somedir) is conditionally defined.  However this is wrong\r
2350   # for two reasons:\r
2351   #  1. if the package is installed by a user who cannot write `.'\r
2352   #     make install will fail,\r
2353   #  2. the above comment should most certainly read\r
2354   #     $(mkdir_p) $(DESTDIR)$(somedir)\r
2355   #     so it does not work when $(somedir) is undefined and\r
2356   #     $(DESTDIR) is not.\r
2357   #  To support the latter case, we have to write\r
2358   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),\r
2359   #  so the `.' trick is pointless.\r
2360   mkdir_p='mkdir -p --'\r
2361 else\r
2362   # On NextStep and OpenStep, the `mkdir' command does not\r
2363   # recognize any option.  It will interpret all options as\r
2364   # directories to create, and then abort because `.' already\r
2365   # exists.\r
2366   for d in ./-p ./--version;\r
2367   do\r
2368     test -d $d && rmdir $d\r
2369   done\r
2370   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.\r
2371   if test -f "$ac_aux_dir/mkinstalldirs"; then\r
2372     mkdir_p='$(mkinstalldirs)'\r
2373   else\r
2374     mkdir_p='$(install_sh) -d'\r
2375   fi\r
2376 fi\r
2377 \r
2378 for ac_prog in gawk mawk nawk awk\r
2379 do\r
2380   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
2381 set dummy $ac_prog; ac_word=$2\r
2382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2383 $as_echo_n "checking for $ac_word... " >&6; }\r
2384 if test "${ac_cv_prog_AWK+set}" = set; then\r
2385   $as_echo_n "(cached) " >&6\r
2386 else\r
2387   if test -n "$AWK"; then\r
2388   ac_cv_prog_AWK="$AWK" # Let the user override the test.\r
2389 else\r
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2391 for as_dir in $PATH\r
2392 do\r
2393   IFS=$as_save_IFS\r
2394   test -z "$as_dir" && as_dir=.\r
2395   for ac_exec_ext in '' $ac_executable_extensions; do\r
2396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2397     ac_cv_prog_AWK="$ac_prog"\r
2398     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2399     break 2\r
2400   fi\r
2401 done\r
2402 done\r
2403 IFS=$as_save_IFS\r
2404 \r
2405 fi\r
2406 fi\r
2407 AWK=$ac_cv_prog_AWK\r
2408 if test -n "$AWK"; then\r
2409   { $as_echo "$as_me:$LINENO: result: $AWK" >&5\r
2410 $as_echo "$AWK" >&6; }\r
2411 else\r
2412   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2413 $as_echo "no" >&6; }\r
2414 fi\r
2415 \r
2416 \r
2417   test -n "$AWK" && break\r
2418 done\r
2419 \r
2420 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5\r
2421 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }\r
2422 set x ${MAKE-make}\r
2423 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`\r
2424 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then\r
2425   $as_echo_n "(cached) " >&6\r
2426 else\r
2427   cat >conftest.make <<\_ACEOF\r
2428 SHELL = /bin/sh\r
2429 all:\r
2430         @echo '@@@%%%=$(MAKE)=@@@%%%'\r
2431 _ACEOF\r
2432 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.\r
2433 case `${MAKE-make} -f conftest.make 2>/dev/null` in\r
2434   *@@@%%%=?*=@@@%%%*)\r
2435     eval ac_cv_prog_make_${ac_make}_set=yes;;\r
2436   *)\r
2437     eval ac_cv_prog_make_${ac_make}_set=no;;\r
2438 esac\r
2439 rm -f conftest.make\r
2440 fi\r
2441 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then\r
2442   { $as_echo "$as_me:$LINENO: result: yes" >&5\r
2443 $as_echo "yes" >&6; }\r
2444   SET_MAKE=\r
2445 else\r
2446   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2447 $as_echo "no" >&6; }\r
2448   SET_MAKE="MAKE=${MAKE-make}"\r
2449 fi\r
2450 \r
2451 rm -rf .tst 2>/dev/null\r
2452 mkdir .tst 2>/dev/null\r
2453 if test -d .tst; then\r
2454   am__leading_dot=.\r
2455 else\r
2456   am__leading_dot=_\r
2457 fi\r
2458 rmdir .tst 2>/dev/null\r
2459 \r
2460 # test to see if srcdir already configured\r
2461 if test "`cd $srcdir && pwd`" != "`pwd`" &&\r
2462    test -f $srcdir/config.status; then\r
2463   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5\r
2464 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}\r
2465    { (exit 1); exit 1; }; }\r
2466 fi\r
2467 \r
2468 # test whether we have cygpath\r
2469 if test -z "$CYGPATH_W"; then\r
2470   if (cygpath --version) >/dev/null 2>/dev/null; then\r
2471     CYGPATH_W='cygpath -w'\r
2472   else\r
2473     CYGPATH_W=echo\r
2474   fi\r
2475 fi\r
2476 \r
2477 \r
2478 # Define the identity of the package.\r
2479  PACKAGE='libantlr3c'\r
2480  VERSION='3.2'\r
2481 \r
2482 \r
2483 cat >>confdefs.h <<_ACEOF\r
2484 #define PACKAGE "$PACKAGE"\r
2485 _ACEOF\r
2486 \r
2487 \r
2488 cat >>confdefs.h <<_ACEOF\r
2489 #define VERSION "$VERSION"\r
2490 _ACEOF\r
2491 \r
2492 # Some tools Automake needs.\r
2493 \r
2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}\r
2495 \r
2496 \r
2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}\r
2498 \r
2499 \r
2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}\r
2501 \r
2502 \r
2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}\r
2504 \r
2505 \r
2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}\r
2507 \r
2508 install_sh=${install_sh-"$am_aux_dir/install-sh"}\r
2509 \r
2510 # Installed binaries are usually stripped using `strip' when the user\r
2511 # run `make install-strip'.  However `strip' might not be the right\r
2512 # tool to use in cross-compilation environments, therefore Automake\r
2513 # will honor the `STRIP' environment variable to overrule this program.\r
2514 if test "$cross_compiling" != no; then\r
2515   if test -n "$ac_tool_prefix"; then\r
2516   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.\r
2517 set dummy ${ac_tool_prefix}strip; ac_word=$2\r
2518 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2519 $as_echo_n "checking for $ac_word... " >&6; }\r
2520 if test "${ac_cv_prog_STRIP+set}" = set; then\r
2521   $as_echo_n "(cached) " >&6\r
2522 else\r
2523   if test -n "$STRIP"; then\r
2524   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.\r
2525 else\r
2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2527 for as_dir in $PATH\r
2528 do\r
2529   IFS=$as_save_IFS\r
2530   test -z "$as_dir" && as_dir=.\r
2531   for ac_exec_ext in '' $ac_executable_extensions; do\r
2532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2533     ac_cv_prog_STRIP="${ac_tool_prefix}strip"\r
2534     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2535     break 2\r
2536   fi\r
2537 done\r
2538 done\r
2539 IFS=$as_save_IFS\r
2540 \r
2541 fi\r
2542 fi\r
2543 STRIP=$ac_cv_prog_STRIP\r
2544 if test -n "$STRIP"; then\r
2545   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5\r
2546 $as_echo "$STRIP" >&6; }\r
2547 else\r
2548   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2549 $as_echo "no" >&6; }\r
2550 fi\r
2551 \r
2552 \r
2553 fi\r
2554 if test -z "$ac_cv_prog_STRIP"; then\r
2555   ac_ct_STRIP=$STRIP\r
2556   # Extract the first word of "strip", so it can be a program name with args.\r
2557 set dummy strip; ac_word=$2\r
2558 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2559 $as_echo_n "checking for $ac_word... " >&6; }\r
2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then\r
2561   $as_echo_n "(cached) " >&6\r
2562 else\r
2563   if test -n "$ac_ct_STRIP"; then\r
2564   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.\r
2565 else\r
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2567 for as_dir in $PATH\r
2568 do\r
2569   IFS=$as_save_IFS\r
2570   test -z "$as_dir" && as_dir=.\r
2571   for ac_exec_ext in '' $ac_executable_extensions; do\r
2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2573     ac_cv_prog_ac_ct_STRIP="strip"\r
2574     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2575     break 2\r
2576   fi\r
2577 done\r
2578 done\r
2579 IFS=$as_save_IFS\r
2580 \r
2581 fi\r
2582 fi\r
2583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP\r
2584 if test -n "$ac_ct_STRIP"; then\r
2585   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5\r
2586 $as_echo "$ac_ct_STRIP" >&6; }\r
2587 else\r
2588   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2589 $as_echo "no" >&6; }\r
2590 fi\r
2591 \r
2592   if test "x$ac_ct_STRIP" = x; then\r
2593     STRIP=":"\r
2594   else\r
2595     case $cross_compiling:$ac_tool_warned in\r
2596 yes:)\r
2597 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
2598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
2599 ac_tool_warned=yes ;;\r
2600 esac\r
2601     STRIP=$ac_ct_STRIP\r
2602   fi\r
2603 else\r
2604   STRIP="$ac_cv_prog_STRIP"\r
2605 fi\r
2606 \r
2607 fi\r
2608 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"\r
2609 \r
2610 # We need awk for the "check" target.  The system "awk" is bad on\r
2611 # some platforms.\r
2612 # Always define AMTAR for backward compatibility.\r
2613 \r
2614 AMTAR=${AMTAR-"${am_missing_run}tar"}\r
2615 \r
2616 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'\r
2617 \r
2618 \r
2619 \r
2620 \r
2621 \r
2622 ac_ext=c\r
2623 ac_cpp='$CPP $CPPFLAGS'\r
2624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
2625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
2626 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
2627 \r
2628 ac_ext=c\r
2629 ac_cpp='$CPP $CPPFLAGS'\r
2630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
2631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
2632 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
2633 if test -n "$ac_tool_prefix"; then\r
2634   for ac_prog in xlc aCC gcc cc\r
2635   do\r
2636     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
2637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
2638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2639 $as_echo_n "checking for $ac_word... " >&6; }\r
2640 if test "${ac_cv_prog_CC+set}" = set; then\r
2641   $as_echo_n "(cached) " >&6\r
2642 else\r
2643   if test -n "$CC"; then\r
2644   ac_cv_prog_CC="$CC" # Let the user override the test.\r
2645 else\r
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2647 for as_dir in $PATH\r
2648 do\r
2649   IFS=$as_save_IFS\r
2650   test -z "$as_dir" && as_dir=.\r
2651   for ac_exec_ext in '' $ac_executable_extensions; do\r
2652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2653     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"\r
2654     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2655     break 2\r
2656   fi\r
2657 done\r
2658 done\r
2659 IFS=$as_save_IFS\r
2660 \r
2661 fi\r
2662 fi\r
2663 CC=$ac_cv_prog_CC\r
2664 if test -n "$CC"; then\r
2665   { $as_echo "$as_me:$LINENO: result: $CC" >&5\r
2666 $as_echo "$CC" >&6; }\r
2667 else\r
2668   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2669 $as_echo "no" >&6; }\r
2670 fi\r
2671 \r
2672 \r
2673     test -n "$CC" && break\r
2674   done\r
2675 fi\r
2676 if test -z "$CC"; then\r
2677   ac_ct_CC=$CC\r
2678   for ac_prog in xlc aCC gcc cc\r
2679 do\r
2680   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
2681 set dummy $ac_prog; ac_word=$2\r
2682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2683 $as_echo_n "checking for $ac_word... " >&6; }\r
2684 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then\r
2685   $as_echo_n "(cached) " >&6\r
2686 else\r
2687   if test -n "$ac_ct_CC"; then\r
2688   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
2689 else\r
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2691 for as_dir in $PATH\r
2692 do\r
2693   IFS=$as_save_IFS\r
2694   test -z "$as_dir" && as_dir=.\r
2695   for ac_exec_ext in '' $ac_executable_extensions; do\r
2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2697     ac_cv_prog_ac_ct_CC="$ac_prog"\r
2698     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2699     break 2\r
2700   fi\r
2701 done\r
2702 done\r
2703 IFS=$as_save_IFS\r
2704 \r
2705 fi\r
2706 fi\r
2707 ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
2708 if test -n "$ac_ct_CC"; then\r
2709   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5\r
2710 $as_echo "$ac_ct_CC" >&6; }\r
2711 else\r
2712   { $as_echo "$as_me:$LINENO: result: no" >&5\r
2713 $as_echo "no" >&6; }\r
2714 fi\r
2715 \r
2716 \r
2717   test -n "$ac_ct_CC" && break\r
2718 done\r
2719 \r
2720   if test "x$ac_ct_CC" = x; then\r
2721     CC=""\r
2722   else\r
2723     case $cross_compiling:$ac_tool_warned in\r
2724 yes:)\r
2725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
2727 ac_tool_warned=yes ;;\r
2728 esac\r
2729     CC=$ac_ct_CC\r
2730   fi\r
2731 fi\r
2732 \r
2733 \r
2734 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
2736 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH\r
2737 See \`config.log' for more details." >&5\r
2738 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH\r
2739 See \`config.log' for more details." >&2;}\r
2740    { (exit 1); exit 1; }; }; }\r
2741 \r
2742 # Provide some information about the compiler.\r
2743 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5\r
2744 set X $ac_compile\r
2745 ac_compiler=$2\r
2746 { (ac_try="$ac_compiler --version >&5"\r
2747 case "(($ac_try" in\r
2748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2749   *) ac_try_echo=$ac_try;;\r
2750 esac\r
2751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2752 $as_echo "$ac_try_echo") >&5\r
2753   (eval "$ac_compiler --version >&5") 2>&5\r
2754   ac_status=$?\r
2755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2756   (exit $ac_status); }\r
2757 { (ac_try="$ac_compiler -v >&5"\r
2758 case "(($ac_try" in\r
2759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2760   *) ac_try_echo=$ac_try;;\r
2761 esac\r
2762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2763 $as_echo "$ac_try_echo") >&5\r
2764   (eval "$ac_compiler -v >&5") 2>&5\r
2765   ac_status=$?\r
2766   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2767   (exit $ac_status); }\r
2768 { (ac_try="$ac_compiler -V >&5"\r
2769 case "(($ac_try" in\r
2770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2771   *) ac_try_echo=$ac_try;;\r
2772 esac\r
2773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2774 $as_echo "$ac_try_echo") >&5\r
2775   (eval "$ac_compiler -V >&5") 2>&5\r
2776   ac_status=$?\r
2777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2778   (exit $ac_status); }\r
2779 \r
2780 cat >conftest.$ac_ext <<_ACEOF\r
2781 /* confdefs.h.  */\r
2782 _ACEOF\r
2783 cat confdefs.h >>conftest.$ac_ext\r
2784 cat >>conftest.$ac_ext <<_ACEOF\r
2785 /* end confdefs.h.  */\r
2786 \r
2787 int\r
2788 main ()\r
2789 {\r
2790 \r
2791   ;\r
2792   return 0;\r
2793 }\r
2794 _ACEOF\r
2795 ac_clean_files_save=$ac_clean_files\r
2796 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"\r
2797 # Try to create an executable without -o first, disregard a.out.\r
2798 # It will help us diagnose broken compilers, and finding out an intuition\r
2799 # of exeext.\r
2800 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5\r
2801 $as_echo_n "checking for C compiler default output file name... " >&6; }\r
2802 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`\r
2803 \r
2804 # The possible output files:\r
2805 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"\r
2806 \r
2807 ac_rmfiles=\r
2808 for ac_file in $ac_files\r
2809 do\r
2810   case $ac_file in\r
2811     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;\r
2812     * ) ac_rmfiles="$ac_rmfiles $ac_file";;\r
2813   esac\r
2814 done\r
2815 rm -f $ac_rmfiles\r
2816 \r
2817 if { (ac_try="$ac_link_default"\r
2818 case "(($ac_try" in\r
2819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2820   *) ac_try_echo=$ac_try;;\r
2821 esac\r
2822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2823 $as_echo "$ac_try_echo") >&5\r
2824   (eval "$ac_link_default") 2>&5\r
2825   ac_status=$?\r
2826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2827   (exit $ac_status); }; then\r
2828   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.\r
2829 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'\r
2830 # in a Makefile.  We should not override ac_cv_exeext if it was cached,\r
2831 # so that the user can short-circuit this test for compilers unknown to\r
2832 # Autoconf.\r
2833 for ac_file in $ac_files ''\r
2834 do\r
2835   test -f "$ac_file" || continue\r
2836   case $ac_file in\r
2837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )\r
2838         ;;\r
2839     [ab].out )\r
2840         # We found the default executable, but exeext='' is most\r
2841         # certainly right.\r
2842         break;;\r
2843     *.* )\r
2844         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;\r
2845         then :; else\r
2846            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
2847         fi\r
2848         # We set ac_cv_exeext here because the later test for it is not\r
2849         # safe: cross compilers may not add the suffix if given an `-o'\r
2850         # argument, so we may need to know it at that point already.\r
2851         # Even if this section looks crufty: it has the advantage of\r
2852         # actually working.\r
2853         break;;\r
2854     * )\r
2855         break;;\r
2856   esac\r
2857 done\r
2858 test "$ac_cv_exeext" = no && ac_cv_exeext=\r
2859 \r
2860 else\r
2861   ac_file=''\r
2862 fi\r
2863 \r
2864 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5\r
2865 $as_echo "$ac_file" >&6; }\r
2866 if test -z "$ac_file"; then\r
2867   $as_echo "$as_me: failed program was:" >&5\r
2868 sed 's/^/| /' conftest.$ac_ext >&5\r
2869 \r
2870 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
2872 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables\r
2873 See \`config.log' for more details." >&5\r
2874 $as_echo "$as_me: error: C compiler cannot create executables\r
2875 See \`config.log' for more details." >&2;}\r
2876    { (exit 77); exit 77; }; }; }\r
2877 fi\r
2878 \r
2879 ac_exeext=$ac_cv_exeext\r
2880 \r
2881 # Check that the compiler produces executables we can run.  If not, either\r
2882 # the compiler is broken, or we cross compile.\r
2883 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5\r
2884 $as_echo_n "checking whether the C compiler works... " >&6; }\r
2885 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0\r
2886 # If not cross compiling, check that we can run a simple program.\r
2887 if test "$cross_compiling" != yes; then\r
2888   if { ac_try='./$ac_file'\r
2889   { (case "(($ac_try" in\r
2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2891   *) ac_try_echo=$ac_try;;\r
2892 esac\r
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2894 $as_echo "$ac_try_echo") >&5\r
2895   (eval "$ac_try") 2>&5\r
2896   ac_status=$?\r
2897   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2898   (exit $ac_status); }; }; then\r
2899     cross_compiling=no\r
2900   else\r
2901     if test "$cross_compiling" = maybe; then\r
2902         cross_compiling=yes\r
2903     else\r
2904         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
2905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
2906 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.\r
2907 If you meant to cross compile, use \`--host'.\r
2908 See \`config.log' for more details." >&5\r
2909 $as_echo "$as_me: error: cannot run C compiled programs.\r
2910 If you meant to cross compile, use \`--host'.\r
2911 See \`config.log' for more details." >&2;}\r
2912    { (exit 1); exit 1; }; }; }\r
2913     fi\r
2914   fi\r
2915 fi\r
2916 { $as_echo "$as_me:$LINENO: result: yes" >&5\r
2917 $as_echo "yes" >&6; }\r
2918 \r
2919 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out\r
2920 ac_clean_files=$ac_clean_files_save\r
2921 # Check that the compiler produces executables we can run.  If not, either\r
2922 # the compiler is broken, or we cross compile.\r
2923 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5\r
2924 $as_echo_n "checking whether we are cross compiling... " >&6; }\r
2925 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5\r
2926 $as_echo "$cross_compiling" >&6; }\r
2927 \r
2928 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5\r
2929 $as_echo_n "checking for suffix of executables... " >&6; }\r
2930 if { (ac_try="$ac_link"\r
2931 case "(($ac_try" in\r
2932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2933   *) ac_try_echo=$ac_try;;\r
2934 esac\r
2935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2936 $as_echo "$ac_try_echo") >&5\r
2937   (eval "$ac_link") 2>&5\r
2938   ac_status=$?\r
2939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2940   (exit $ac_status); }; then\r
2941   # If both `conftest.exe' and `conftest' are `present' (well, observable)\r
2942 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will\r
2943 # work properly (i.e., refer to `conftest.exe'), while it won't with\r
2944 # `rm'.\r
2945 for ac_file in conftest.exe conftest conftest.*; do\r
2946   test -f "$ac_file" || continue\r
2947   case $ac_file in\r
2948     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;\r
2949     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
2950           break;;\r
2951     * ) break;;\r
2952   esac\r
2953 done\r
2954 else\r
2955   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
2956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
2957 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link\r
2958 See \`config.log' for more details." >&5\r
2959 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link\r
2960 See \`config.log' for more details." >&2;}\r
2961    { (exit 1); exit 1; }; }; }\r
2962 fi\r
2963 \r
2964 rm -f conftest$ac_cv_exeext\r
2965 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5\r
2966 $as_echo "$ac_cv_exeext" >&6; }\r
2967 \r
2968 rm -f conftest.$ac_ext\r
2969 EXEEXT=$ac_cv_exeext\r
2970 ac_exeext=$EXEEXT\r
2971 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5\r
2972 $as_echo_n "checking for suffix of object files... " >&6; }\r
2973 if test "${ac_cv_objext+set}" = set; then\r
2974   $as_echo_n "(cached) " >&6\r
2975 else\r
2976   cat >conftest.$ac_ext <<_ACEOF\r
2977 /* confdefs.h.  */\r
2978 _ACEOF\r
2979 cat confdefs.h >>conftest.$ac_ext\r
2980 cat >>conftest.$ac_ext <<_ACEOF\r
2981 /* end confdefs.h.  */\r
2982 \r
2983 int\r
2984 main ()\r
2985 {\r
2986 \r
2987   ;\r
2988   return 0;\r
2989 }\r
2990 _ACEOF\r
2991 rm -f conftest.o conftest.obj\r
2992 if { (ac_try="$ac_compile"\r
2993 case "(($ac_try" in\r
2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2995   *) ac_try_echo=$ac_try;;\r
2996 esac\r
2997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
2998 $as_echo "$ac_try_echo") >&5\r
2999   (eval "$ac_compile") 2>&5\r
3000   ac_status=$?\r
3001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3002   (exit $ac_status); }; then\r
3003   for ac_file in conftest.o conftest.obj conftest.*; do\r
3004   test -f "$ac_file" || continue;\r
3005   case $ac_file in\r
3006     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;\r
3007     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`\r
3008        break;;\r
3009   esac\r
3010 done\r
3011 else\r
3012   $as_echo "$as_me: failed program was:" >&5\r
3013 sed 's/^/| /' conftest.$ac_ext >&5\r
3014 \r
3015 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
3017 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile\r
3018 See \`config.log' for more details." >&5\r
3019 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile\r
3020 See \`config.log' for more details." >&2;}\r
3021    { (exit 1); exit 1; }; }; }\r
3022 fi\r
3023 \r
3024 rm -f conftest.$ac_cv_objext conftest.$ac_ext\r
3025 fi\r
3026 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5\r
3027 $as_echo "$ac_cv_objext" >&6; }\r
3028 OBJEXT=$ac_cv_objext\r
3029 ac_objext=$OBJEXT\r
3030 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5\r
3031 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }\r
3032 if test "${ac_cv_c_compiler_gnu+set}" = set; then\r
3033   $as_echo_n "(cached) " >&6\r
3034 else\r
3035   cat >conftest.$ac_ext <<_ACEOF\r
3036 /* confdefs.h.  */\r
3037 _ACEOF\r
3038 cat confdefs.h >>conftest.$ac_ext\r
3039 cat >>conftest.$ac_ext <<_ACEOF\r
3040 /* end confdefs.h.  */\r
3041 \r
3042 int\r
3043 main ()\r
3044 {\r
3045 #ifndef __GNUC__\r
3046        choke me\r
3047 #endif\r
3048 \r
3049   ;\r
3050   return 0;\r
3051 }\r
3052 _ACEOF\r
3053 rm -f conftest.$ac_objext\r
3054 if { (ac_try="$ac_compile"\r
3055 case "(($ac_try" in\r
3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3057   *) ac_try_echo=$ac_try;;\r
3058 esac\r
3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
3060 $as_echo "$ac_try_echo") >&5\r
3061   (eval "$ac_compile") 2>conftest.er1\r
3062   ac_status=$?\r
3063   grep -v '^ *+' conftest.er1 >conftest.err\r
3064   rm -f conftest.er1\r
3065   cat conftest.err >&5\r
3066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3067   (exit $ac_status); } && {\r
3068          test -z "$ac_c_werror_flag" ||\r
3069          test ! -s conftest.err\r
3070        } && test -s conftest.$ac_objext; then\r
3071   ac_compiler_gnu=yes\r
3072 else\r
3073   $as_echo "$as_me: failed program was:" >&5\r
3074 sed 's/^/| /' conftest.$ac_ext >&5\r
3075 \r
3076         ac_compiler_gnu=no\r
3077 fi\r
3078 \r
3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3080 ac_cv_c_compiler_gnu=$ac_compiler_gnu\r
3081 \r
3082 fi\r
3083 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5\r
3084 $as_echo "$ac_cv_c_compiler_gnu" >&6; }\r
3085 if test $ac_compiler_gnu = yes; then\r
3086   GCC=yes\r
3087 else\r
3088   GCC=\r
3089 fi\r
3090 ac_test_CFLAGS=${CFLAGS+set}\r
3091 ac_save_CFLAGS=$CFLAGS\r
3092 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5\r
3093 $as_echo_n "checking whether $CC accepts -g... " >&6; }\r
3094 if test "${ac_cv_prog_cc_g+set}" = set; then\r
3095   $as_echo_n "(cached) " >&6\r
3096 else\r
3097   ac_save_c_werror_flag=$ac_c_werror_flag\r
3098    ac_c_werror_flag=yes\r
3099    ac_cv_prog_cc_g=no\r
3100    CFLAGS="-g"\r
3101    cat >conftest.$ac_ext <<_ACEOF\r
3102 /* confdefs.h.  */\r
3103 _ACEOF\r
3104 cat confdefs.h >>conftest.$ac_ext\r
3105 cat >>conftest.$ac_ext <<_ACEOF\r
3106 /* end confdefs.h.  */\r
3107 \r
3108 int\r
3109 main ()\r
3110 {\r
3111 \r
3112   ;\r
3113   return 0;\r
3114 }\r
3115 _ACEOF\r
3116 rm -f conftest.$ac_objext\r
3117 if { (ac_try="$ac_compile"\r
3118 case "(($ac_try" in\r
3119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3120   *) ac_try_echo=$ac_try;;\r
3121 esac\r
3122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
3123 $as_echo "$ac_try_echo") >&5\r
3124   (eval "$ac_compile") 2>conftest.er1\r
3125   ac_status=$?\r
3126   grep -v '^ *+' conftest.er1 >conftest.err\r
3127   rm -f conftest.er1\r
3128   cat conftest.err >&5\r
3129   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3130   (exit $ac_status); } && {\r
3131          test -z "$ac_c_werror_flag" ||\r
3132          test ! -s conftest.err\r
3133        } && test -s conftest.$ac_objext; then\r
3134   ac_cv_prog_cc_g=yes\r
3135 else\r
3136   $as_echo "$as_me: failed program was:" >&5\r
3137 sed 's/^/| /' conftest.$ac_ext >&5\r
3138 \r
3139         CFLAGS=""\r
3140       cat >conftest.$ac_ext <<_ACEOF\r
3141 /* confdefs.h.  */\r
3142 _ACEOF\r
3143 cat confdefs.h >>conftest.$ac_ext\r
3144 cat >>conftest.$ac_ext <<_ACEOF\r
3145 /* end confdefs.h.  */\r
3146 \r
3147 int\r
3148 main ()\r
3149 {\r
3150 \r
3151   ;\r
3152   return 0;\r
3153 }\r
3154 _ACEOF\r
3155 rm -f conftest.$ac_objext\r
3156 if { (ac_try="$ac_compile"\r
3157 case "(($ac_try" in\r
3158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3159   *) ac_try_echo=$ac_try;;\r
3160 esac\r
3161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
3162 $as_echo "$ac_try_echo") >&5\r
3163   (eval "$ac_compile") 2>conftest.er1\r
3164   ac_status=$?\r
3165   grep -v '^ *+' conftest.er1 >conftest.err\r
3166   rm -f conftest.er1\r
3167   cat conftest.err >&5\r
3168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3169   (exit $ac_status); } && {\r
3170          test -z "$ac_c_werror_flag" ||\r
3171          test ! -s conftest.err\r
3172        } && test -s conftest.$ac_objext; then\r
3173   :\r
3174 else\r
3175   $as_echo "$as_me: failed program was:" >&5\r
3176 sed 's/^/| /' conftest.$ac_ext >&5\r
3177 \r
3178         ac_c_werror_flag=$ac_save_c_werror_flag\r
3179          CFLAGS="-g"\r
3180          cat >conftest.$ac_ext <<_ACEOF\r
3181 /* confdefs.h.  */\r
3182 _ACEOF\r
3183 cat confdefs.h >>conftest.$ac_ext\r
3184 cat >>conftest.$ac_ext <<_ACEOF\r
3185 /* end confdefs.h.  */\r
3186 \r
3187 int\r
3188 main ()\r
3189 {\r
3190 \r
3191   ;\r
3192   return 0;\r
3193 }\r
3194 _ACEOF\r
3195 rm -f conftest.$ac_objext\r
3196 if { (ac_try="$ac_compile"\r
3197 case "(($ac_try" in\r
3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3199   *) ac_try_echo=$ac_try;;\r
3200 esac\r
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
3202 $as_echo "$ac_try_echo") >&5\r
3203   (eval "$ac_compile") 2>conftest.er1\r
3204   ac_status=$?\r
3205   grep -v '^ *+' conftest.er1 >conftest.err\r
3206   rm -f conftest.er1\r
3207   cat conftest.err >&5\r
3208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3209   (exit $ac_status); } && {\r
3210          test -z "$ac_c_werror_flag" ||\r
3211          test ! -s conftest.err\r
3212        } && test -s conftest.$ac_objext; then\r
3213   ac_cv_prog_cc_g=yes\r
3214 else\r
3215   $as_echo "$as_me: failed program was:" >&5\r
3216 sed 's/^/| /' conftest.$ac_ext >&5\r
3217 \r
3218 \r
3219 fi\r
3220 \r
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3222 fi\r
3223 \r
3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3225 fi\r
3226 \r
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3228    ac_c_werror_flag=$ac_save_c_werror_flag\r
3229 fi\r
3230 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5\r
3231 $as_echo "$ac_cv_prog_cc_g" >&6; }\r
3232 if test "$ac_test_CFLAGS" = set; then\r
3233   CFLAGS=$ac_save_CFLAGS\r
3234 elif test $ac_cv_prog_cc_g = yes; then\r
3235   if test "$GCC" = yes; then\r
3236     CFLAGS="-g -O2"\r
3237   else\r
3238     CFLAGS="-g"\r
3239   fi\r
3240 else\r
3241   if test "$GCC" = yes; then\r
3242     CFLAGS="-O2"\r
3243   else\r
3244     CFLAGS=\r
3245   fi\r
3246 fi\r
3247 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5\r
3248 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }\r
3249 if test "${ac_cv_prog_cc_c89+set}" = set; then\r
3250   $as_echo_n "(cached) " >&6\r
3251 else\r
3252   ac_cv_prog_cc_c89=no\r
3253 ac_save_CC=$CC\r
3254 cat >conftest.$ac_ext <<_ACEOF\r
3255 /* confdefs.h.  */\r
3256 _ACEOF\r
3257 cat confdefs.h >>conftest.$ac_ext\r
3258 cat >>conftest.$ac_ext <<_ACEOF\r
3259 /* end confdefs.h.  */\r
3260 #include <stdarg.h>\r
3261 #include <stdio.h>\r
3262 #include <sys/types.h>\r
3263 #include <sys/stat.h>\r
3264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */\r
3265 struct buf { int x; };\r
3266 FILE * (*rcsopen) (struct buf *, struct stat *, int);\r
3267 static char *e (p, i)\r
3268      char **p;\r
3269      int i;\r
3270 {\r
3271   return p[i];\r
3272 }\r
3273 static char *f (char * (*g) (char **, int), char **p, ...)\r
3274 {\r
3275   char *s;\r
3276   va_list v;\r
3277   va_start (v,p);\r
3278   s = g (p, va_arg (v,int));\r
3279   va_end (v);\r
3280   return s;\r
3281 }\r
3282 \r
3283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has\r
3284    function prototypes and stuff, but not '\xHH' hex character constants.\r
3285    These don't provoke an error unfortunately, instead are silently treated\r
3286    as 'x'.  The following induces an error, until -std is added to get\r
3287    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an\r
3288    array size at least.  It's necessary to write '\x00'==0 to get something\r
3289    that's true only with -std.  */\r
3290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];\r
3291 \r
3292 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters\r
3293    inside strings and character constants.  */\r
3294 #define FOO(x) 'x'\r
3295 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];\r
3296 \r
3297 int test (int i, double x);\r
3298 struct s1 {int (*f) (int a);};\r
3299 struct s2 {int (*f) (double a);};\r
3300 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);\r
3301 int argc;\r
3302 char **argv;\r
3303 int\r
3304 main ()\r
3305 {\r
3306 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];\r
3307   ;\r
3308   return 0;\r
3309 }\r
3310 _ACEOF\r
3311 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \\r
3312         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"\r
3313 do\r
3314   CC="$ac_save_CC $ac_arg"\r
3315   rm -f conftest.$ac_objext\r
3316 if { (ac_try="$ac_compile"\r
3317 case "(($ac_try" in\r
3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3319   *) ac_try_echo=$ac_try;;\r
3320 esac\r
3321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
3322 $as_echo "$ac_try_echo") >&5\r
3323   (eval "$ac_compile") 2>conftest.er1\r
3324   ac_status=$?\r
3325   grep -v '^ *+' conftest.er1 >conftest.err\r
3326   rm -f conftest.er1\r
3327   cat conftest.err >&5\r
3328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3329   (exit $ac_status); } && {\r
3330          test -z "$ac_c_werror_flag" ||\r
3331          test ! -s conftest.err\r
3332        } && test -s conftest.$ac_objext; then\r
3333   ac_cv_prog_cc_c89=$ac_arg\r
3334 else\r
3335   $as_echo "$as_me: failed program was:" >&5\r
3336 sed 's/^/| /' conftest.$ac_ext >&5\r
3337 \r
3338 \r
3339 fi\r
3340 \r
3341 rm -f core conftest.err conftest.$ac_objext\r
3342   test "x$ac_cv_prog_cc_c89" != "xno" && break\r
3343 done\r
3344 rm -f conftest.$ac_ext\r
3345 CC=$ac_save_CC\r
3346 \r
3347 fi\r
3348 # AC_CACHE_VAL\r
3349 case "x$ac_cv_prog_cc_c89" in\r
3350   x)\r
3351     { $as_echo "$as_me:$LINENO: result: none needed" >&5\r
3352 $as_echo "none needed" >&6; } ;;\r
3353   xno)\r
3354     { $as_echo "$as_me:$LINENO: result: unsupported" >&5\r
3355 $as_echo "unsupported" >&6; } ;;\r
3356   *)\r
3357     CC="$CC $ac_cv_prog_cc_c89"\r
3358     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5\r
3359 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;\r
3360 esac\r
3361 \r
3362 \r
3363 ac_ext=c\r
3364 ac_cpp='$CPP $CPPFLAGS'\r
3365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
3366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
3367 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
3368 DEPDIR="${am__leading_dot}deps"\r
3369 \r
3370 ac_config_commands="$ac_config_commands depfiles"\r
3371 \r
3372 \r
3373 am_make=${MAKE-make}\r
3374 cat > confinc << 'END'\r
3375 am__doit:\r
3376         @echo done\r
3377 .PHONY: am__doit\r
3378 END\r
3379 # If we don't find an include directive, just comment out the code.\r
3380 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5\r
3381 $as_echo_n "checking for style of include used by $am_make... " >&6; }\r
3382 am__include="#"\r
3383 am__quote=\r
3384 _am_result=none\r
3385 # First try GNU make style include.\r
3386 echo "include confinc" > confmf\r
3387 # We grep out `Entering directory' and `Leaving directory'\r
3388 # messages which can occur if `w' ends up in MAKEFLAGS.\r
3389 # In particular we don't look at `^make:' because GNU make might\r
3390 # be invoked under some other name (usually "gmake"), in which\r
3391 # case it prints its new name instead of `make'.\r
3392 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then\r
3393    am__include=include\r
3394    am__quote=\r
3395    _am_result=GNU\r
3396 fi\r
3397 # Now try BSD make style include.\r
3398 if test "$am__include" = "#"; then\r
3399    echo '.include "confinc"' > confmf\r
3400    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then\r
3401       am__include=.include\r
3402       am__quote="\""\r
3403       _am_result=BSD\r
3404    fi\r
3405 fi\r
3406 \r
3407 \r
3408 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5\r
3409 $as_echo "$_am_result" >&6; }\r
3410 rm -f confinc confmf\r
3411 \r
3412 # Check whether --enable-dependency-tracking was given.\r
3413 if test "${enable_dependency_tracking+set}" = set; then\r
3414   enableval=$enable_dependency_tracking;\r
3415 fi\r
3416 \r
3417 if test "x$enable_dependency_tracking" != xno; then\r
3418   am_depcomp="$ac_aux_dir/depcomp"\r
3419   AMDEPBACKSLASH='\'\r
3420 fi\r
3421 \r
3422 \r
3423 if test "x$enable_dependency_tracking" != xno; then\r
3424   AMDEP_TRUE=\r
3425   AMDEP_FALSE='#'\r
3426 else\r
3427   AMDEP_TRUE='#'\r
3428   AMDEP_FALSE=\r
3429 fi\r
3430 \r
3431 \r
3432 \r
3433 \r
3434 depcc="$CC"   am_compiler_list=\r
3435 \r
3436 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5\r
3437 $as_echo_n "checking dependency style of $depcc... " >&6; }\r
3438 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then\r
3439   $as_echo_n "(cached) " >&6\r
3440 else\r
3441   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then\r
3442   # We make a subdir and do the tests there.  Otherwise we can end up\r
3443   # making bogus files that we don't know about and never remove.  For\r
3444   # instance it was reported that on HP-UX the gcc test will end up\r
3445   # making a dummy file named `D' -- because `-MD' means `put the output\r
3446   # in D'.\r
3447   mkdir conftest.dir\r
3448   # Copy depcomp to subdir because otherwise we won't find it if we're\r
3449   # using a relative directory.\r
3450   cp "$am_depcomp" conftest.dir\r
3451   cd conftest.dir\r
3452   # We will build objects and dependencies in a subdirectory because\r
3453   # it helps to detect inapplicable dependency modes.  For instance\r
3454   # both Tru64's cc and ICC support -MD to output dependencies as a\r
3455   # side effect of compilation, but ICC will put the dependencies in\r
3456   # the current directory while Tru64 will put them in the object\r
3457   # directory.\r
3458   mkdir sub\r
3459 \r
3460   am_cv_CC_dependencies_compiler_type=none\r
3461   if test "$am_compiler_list" = ""; then\r
3462      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`\r
3463   fi\r
3464   for depmode in $am_compiler_list; do\r
3465     # Setup a source with many dependencies, because some compilers\r
3466     # like to wrap large dependency lists on column 80 (with \), and\r
3467     # we should not choose a depcomp mode which is confused by this.\r
3468     #\r
3469     # We need to recreate these files for each test, as the compiler may\r
3470     # overwrite some of them when testing with obscure command lines.\r
3471     # This happens at least with the AIX C compiler.\r
3472     : > sub/conftest.c\r
3473     for i in 1 2 3 4 5 6; do\r
3474       echo '#include "conftst'$i'.h"' >> sub/conftest.c\r
3475       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with\r
3476       # Solaris 8's {/usr,}/bin/sh.\r
3477       touch sub/conftst$i.h\r
3478     done\r
3479     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf\r
3480 \r
3481     case $depmode in\r
3482     nosideeffect)\r
3483       # after this tag, mechanisms are not by side-effect, so they'll\r
3484       # only be used when explicitly requested\r
3485       if test "x$enable_dependency_tracking" = xyes; then\r
3486         continue\r
3487       else\r
3488         break\r
3489       fi\r
3490       ;;\r
3491     none) break ;;\r
3492     esac\r
3493     # We check with `-c' and `-o' for the sake of the "dashmstdout"\r
3494     # mode.  It turns out that the SunPro C++ compiler does not properly\r
3495     # handle `-M -o', and we need to detect this.\r
3496     if depmode=$depmode \\r
3497        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \\r
3498        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \\r
3499        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \\r
3500          >/dev/null 2>conftest.err &&\r
3501        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&\r
3502        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&\r
3503        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then\r
3504       # icc doesn't choke on unknown options, it will just issue warnings\r
3505       # or remarks (even with -Werror).  So we grep stderr for any message\r
3506       # that says an option was ignored or not supported.\r
3507       # When given -MP, icc 7.0 and 7.1 complain thusly:\r
3508       #   icc: Command line warning: ignoring option '-M'; no argument required\r
3509       # The diagnosis changed in icc 8.0:\r
3510       #   icc: Command line remark: option '-MP' not supported\r
3511       if (grep 'ignoring option' conftest.err ||\r
3512           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else\r
3513         am_cv_CC_dependencies_compiler_type=$depmode\r
3514         break\r
3515       fi\r
3516     fi\r
3517   done\r
3518 \r
3519   cd ..\r
3520   rm -rf conftest.dir\r
3521 else\r
3522   am_cv_CC_dependencies_compiler_type=none\r
3523 fi\r
3524 \r
3525 fi\r
3526 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5\r
3527 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }\r
3528 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type\r
3529 \r
3530 \r
3531 \r
3532 if\r
3533   test "x$enable_dependency_tracking" != xno \\r
3534   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then\r
3535   am__fastdepCC_TRUE=\r
3536   am__fastdepCC_FALSE='#'\r
3537 else\r
3538   am__fastdepCC_TRUE='#'\r
3539   am__fastdepCC_FALSE=\r
3540 fi\r
3541 \r
3542 \r
3543 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5\r
3544 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }\r
3545     # Check whether --enable-maintainer-mode was given.\r
3546 if test "${enable_maintainer_mode+set}" = set; then\r
3547   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval\r
3548 else\r
3549   USE_MAINTAINER_MODE=no\r
3550 fi\r
3551 \r
3552   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5\r
3553 $as_echo "$USE_MAINTAINER_MODE" >&6; }\r
3554 \r
3555 \r
3556 if test $USE_MAINTAINER_MODE = yes; then\r
3557   MAINTAINER_MODE_TRUE=\r
3558   MAINTAINER_MODE_FALSE='#'\r
3559 else\r
3560   MAINTAINER_MODE_TRUE='#'\r
3561   MAINTAINER_MODE_FALSE=\r
3562 fi\r
3563 \r
3564   MAINT=$MAINTAINER_MODE_TRUE\r
3565 \r
3566 \r
3567 # Check whether --enable-shared was given.\r
3568 if test "${enable_shared+set}" = set; then\r
3569   enableval=$enable_shared; p=${PACKAGE-default}\r
3570     case $enableval in\r
3571     yes) enable_shared=yes ;;\r
3572     no) enable_shared=no ;;\r
3573     *)\r
3574       enable_shared=no\r
3575       # Look at the argument we got.  We use all the common list separators.\r
3576       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
3577       for pkg in $enableval; do\r
3578         IFS="$lt_save_ifs"\r
3579         if test "X$pkg" = "X$p"; then\r
3580           enable_shared=yes\r
3581         fi\r
3582       done\r
3583       IFS="$lt_save_ifs"\r
3584       ;;\r
3585     esac\r
3586 else\r
3587   enable_shared=yes\r
3588 fi\r
3589 \r
3590 \r
3591 # Check whether --enable-static was given.\r
3592 if test "${enable_static+set}" = set; then\r
3593   enableval=$enable_static; p=${PACKAGE-default}\r
3594     case $enableval in\r
3595     yes) enable_static=yes ;;\r
3596     no) enable_static=no ;;\r
3597     *)\r
3598      enable_static=no\r
3599       # Look at the argument we got.  We use all the common list separators.\r
3600       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
3601       for pkg in $enableval; do\r
3602         IFS="$lt_save_ifs"\r
3603         if test "X$pkg" = "X$p"; then\r
3604           enable_static=yes\r
3605         fi\r
3606       done\r
3607       IFS="$lt_save_ifs"\r
3608       ;;\r
3609     esac\r
3610 else\r
3611   enable_static=yes\r
3612 fi\r
3613 \r
3614 \r
3615 # Check whether --enable-fast-install was given.\r
3616 if test "${enable_fast_install+set}" = set; then\r
3617   enableval=$enable_fast_install; p=${PACKAGE-default}\r
3618     case $enableval in\r
3619     yes) enable_fast_install=yes ;;\r
3620     no) enable_fast_install=no ;;\r
3621     *)\r
3622       enable_fast_install=no\r
3623       # Look at the argument we got.  We use all the common list separators.\r
3624       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
3625       for pkg in $enableval; do\r
3626         IFS="$lt_save_ifs"\r
3627         if test "X$pkg" = "X$p"; then\r
3628           enable_fast_install=yes\r
3629         fi\r
3630       done\r
3631       IFS="$lt_save_ifs"\r
3632       ;;\r
3633     esac\r
3634 else\r
3635   enable_fast_install=yes\r
3636 fi\r
3637 \r
3638 \r
3639 # Make sure we can run config.sub.\r
3640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||\r
3641   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5\r
3642 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}\r
3643    { (exit 1); exit 1; }; }\r
3644 \r
3645 { $as_echo "$as_me:$LINENO: checking build system type" >&5\r
3646 $as_echo_n "checking build system type... " >&6; }\r
3647 if test "${ac_cv_build+set}" = set; then\r
3648   $as_echo_n "(cached) " >&6\r
3649 else\r
3650   ac_build_alias=$build_alias\r
3651 test "x$ac_build_alias" = x &&\r
3652   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`\r
3653 test "x$ac_build_alias" = x &&\r
3654   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5\r
3655 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}\r
3656    { (exit 1); exit 1; }; }\r
3657 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||\r
3658   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5\r
3659 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}\r
3660    { (exit 1); exit 1; }; }\r
3661 \r
3662 fi\r
3663 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5\r
3664 $as_echo "$ac_cv_build" >&6; }\r
3665 case $ac_cv_build in\r
3666 *-*-*) ;;\r
3667 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5\r
3668 $as_echo "$as_me: error: invalid value of canonical build" >&2;}\r
3669    { (exit 1); exit 1; }; };;\r
3670 esac\r
3671 build=$ac_cv_build\r
3672 ac_save_IFS=$IFS; IFS='-'\r
3673 set x $ac_cv_build\r
3674 shift\r
3675 build_cpu=$1\r
3676 build_vendor=$2\r
3677 shift; shift\r
3678 # Remember, the first character of IFS is used to create $*,\r
3679 # except with old shells:\r
3680 build_os=$*\r
3681 IFS=$ac_save_IFS\r
3682 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac\r
3683 \r
3684 \r
3685 { $as_echo "$as_me:$LINENO: checking host system type" >&5\r
3686 $as_echo_n "checking host system type... " >&6; }\r
3687 if test "${ac_cv_host+set}" = set; then\r
3688   $as_echo_n "(cached) " >&6\r
3689 else\r
3690   if test "x$host_alias" = x; then\r
3691   ac_cv_host=$ac_cv_build\r
3692 else\r
3693   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||\r
3694     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5\r
3695 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}\r
3696    { (exit 1); exit 1; }; }\r
3697 fi\r
3698 \r
3699 fi\r
3700 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5\r
3701 $as_echo "$ac_cv_host" >&6; }\r
3702 case $ac_cv_host in\r
3703 *-*-*) ;;\r
3704 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5\r
3705 $as_echo "$as_me: error: invalid value of canonical host" >&2;}\r
3706    { (exit 1); exit 1; }; };;\r
3707 esac\r
3708 host=$ac_cv_host\r
3709 ac_save_IFS=$IFS; IFS='-'\r
3710 set x $ac_cv_host\r
3711 shift\r
3712 host_cpu=$1\r
3713 host_vendor=$2\r
3714 shift; shift\r
3715 # Remember, the first character of IFS is used to create $*,\r
3716 # except with old shells:\r
3717 host_os=$*\r
3718 IFS=$ac_save_IFS\r
3719 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac\r
3720 \r
3721 \r
3722 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5\r
3723 $as_echo_n "checking for a sed that does not truncate output... " >&6; }\r
3724 if test "${lt_cv_path_SED+set}" = set; then\r
3725   $as_echo_n "(cached) " >&6\r
3726 else\r
3727   # Loop through the user's path and test for sed and gsed.\r
3728 # Then use that list of sed's as ones to test for truncation.\r
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
3730 for as_dir in $PATH\r
3731 do\r
3732   IFS=$as_save_IFS\r
3733   test -z "$as_dir" && as_dir=.\r
3734   for lt_ac_prog in sed gsed; do\r
3735     for ac_exec_ext in '' $ac_executable_extensions; do\r
3736       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then\r
3737         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"\r
3738       fi\r
3739     done\r
3740   done\r
3741 done\r
3742 IFS=$as_save_IFS\r
3743 lt_ac_max=0\r
3744 lt_ac_count=0\r
3745 # Add /usr/xpg4/bin/sed as it is typically found on Solaris\r
3746 # along with /bin/sed that truncates output.\r
3747 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do\r
3748   test ! -f $lt_ac_sed && continue\r
3749   cat /dev/null > conftest.in\r
3750   lt_ac_count=0\r
3751   echo $ECHO_N "0123456789$ECHO_C" >conftest.in\r
3752   # Check for GNU sed and select it if it is found.\r
3753   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then\r
3754     lt_cv_path_SED=$lt_ac_sed\r
3755     break\r
3756   fi\r
3757   while true; do\r
3758     cat conftest.in conftest.in >conftest.tmp\r
3759     mv conftest.tmp conftest.in\r
3760     cp conftest.in conftest.nl\r
3761     echo >>conftest.nl\r
3762     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break\r
3763     cmp -s conftest.out conftest.nl || break\r
3764     # 10000 chars as input seems more than enough\r
3765     test $lt_ac_count -gt 10 && break\r
3766     lt_ac_count=`expr $lt_ac_count + 1`\r
3767     if test $lt_ac_count -gt $lt_ac_max; then\r
3768       lt_ac_max=$lt_ac_count\r
3769       lt_cv_path_SED=$lt_ac_sed\r
3770     fi\r
3771   done\r
3772 done\r
3773 \r
3774 fi\r
3775 \r
3776 SED=$lt_cv_path_SED\r
3777 \r
3778 { $as_echo "$as_me:$LINENO: result: $SED" >&5\r
3779 $as_echo "$SED" >&6; }\r
3780 \r
3781 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5\r
3782 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }\r
3783 if test "${ac_cv_path_GREP+set}" = set; then\r
3784   $as_echo_n "(cached) " >&6\r
3785 else\r
3786   if test -z "$GREP"; then\r
3787   ac_path_GREP_found=false\r
3788   # Loop through the user's path and test for each of PROGNAME-LIST\r
3789   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
3790 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
3791 do\r
3792   IFS=$as_save_IFS\r
3793   test -z "$as_dir" && as_dir=.\r
3794   for ac_prog in grep ggrep; do\r
3795     for ac_exec_ext in '' $ac_executable_extensions; do\r
3796       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"\r
3797       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue\r
3798 # Check for GNU ac_path_GREP and select it if it is found.\r
3799   # Check for GNU $ac_path_GREP\r
3800 case `"$ac_path_GREP" --version 2>&1` in\r
3801 *GNU*)\r
3802   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;\r
3803 *)\r
3804   ac_count=0\r
3805   $as_echo_n 0123456789 >"conftest.in"\r
3806   while :\r
3807   do\r
3808     cat "conftest.in" "conftest.in" >"conftest.tmp"\r
3809     mv "conftest.tmp" "conftest.in"\r
3810     cp "conftest.in" "conftest.nl"\r
3811     $as_echo 'GREP' >> "conftest.nl"\r
3812     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
3813     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
3814     ac_count=`expr $ac_count + 1`\r
3815     if test $ac_count -gt ${ac_path_GREP_max-0}; then\r
3816       # Best one so far, save it but keep looking for a better one\r
3817       ac_cv_path_GREP="$ac_path_GREP"\r
3818       ac_path_GREP_max=$ac_count\r
3819     fi\r
3820     # 10*(2^10) chars as input seems more than enough\r
3821     test $ac_count -gt 10 && break\r
3822   done\r
3823   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
3824 esac\r
3825 \r
3826       $ac_path_GREP_found && break 3\r
3827     done\r
3828   done\r
3829 done\r
3830 IFS=$as_save_IFS\r
3831   if test -z "$ac_cv_path_GREP"; then\r
3832     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5\r
3833 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}\r
3834    { (exit 1); exit 1; }; }\r
3835   fi\r
3836 else\r
3837   ac_cv_path_GREP=$GREP\r
3838 fi\r
3839 \r
3840 fi\r
3841 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5\r
3842 $as_echo "$ac_cv_path_GREP" >&6; }\r
3843  GREP="$ac_cv_path_GREP"\r
3844 \r
3845 \r
3846 { $as_echo "$as_me:$LINENO: checking for egrep" >&5\r
3847 $as_echo_n "checking for egrep... " >&6; }\r
3848 if test "${ac_cv_path_EGREP+set}" = set; then\r
3849   $as_echo_n "(cached) " >&6\r
3850 else\r
3851   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1\r
3852    then ac_cv_path_EGREP="$GREP -E"\r
3853    else\r
3854      if test -z "$EGREP"; then\r
3855   ac_path_EGREP_found=false\r
3856   # Loop through the user's path and test for each of PROGNAME-LIST\r
3857   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
3858 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
3859 do\r
3860   IFS=$as_save_IFS\r
3861   test -z "$as_dir" && as_dir=.\r
3862   for ac_prog in egrep; do\r
3863     for ac_exec_ext in '' $ac_executable_extensions; do\r
3864       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"\r
3865       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue\r
3866 # Check for GNU ac_path_EGREP and select it if it is found.\r
3867   # Check for GNU $ac_path_EGREP\r
3868 case `"$ac_path_EGREP" --version 2>&1` in\r
3869 *GNU*)\r
3870   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;\r
3871 *)\r
3872   ac_count=0\r
3873   $as_echo_n 0123456789 >"conftest.in"\r
3874   while :\r
3875   do\r
3876     cat "conftest.in" "conftest.in" >"conftest.tmp"\r
3877     mv "conftest.tmp" "conftest.in"\r
3878     cp "conftest.in" "conftest.nl"\r
3879     $as_echo 'EGREP' >> "conftest.nl"\r
3880     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
3881     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
3882     ac_count=`expr $ac_count + 1`\r
3883     if test $ac_count -gt ${ac_path_EGREP_max-0}; then\r
3884       # Best one so far, save it but keep looking for a better one\r
3885       ac_cv_path_EGREP="$ac_path_EGREP"\r
3886       ac_path_EGREP_max=$ac_count\r
3887     fi\r
3888     # 10*(2^10) chars as input seems more than enough\r
3889     test $ac_count -gt 10 && break\r
3890   done\r
3891   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
3892 esac\r
3893 \r
3894       $ac_path_EGREP_found && break 3\r
3895     done\r
3896   done\r
3897 done\r
3898 IFS=$as_save_IFS\r
3899   if test -z "$ac_cv_path_EGREP"; then\r
3900     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5\r
3901 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}\r
3902    { (exit 1); exit 1; }; }\r
3903   fi\r
3904 else\r
3905   ac_cv_path_EGREP=$EGREP\r
3906 fi\r
3907 \r
3908    fi\r
3909 fi\r
3910 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5\r
3911 $as_echo "$ac_cv_path_EGREP" >&6; }\r
3912  EGREP="$ac_cv_path_EGREP"\r
3913 \r
3914 \r
3915 \r
3916 # Check whether --with-gnu-ld was given.\r
3917 if test "${with_gnu_ld+set}" = set; then\r
3918   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes\r
3919 else\r
3920   with_gnu_ld=no\r
3921 fi\r
3922 \r
3923 ac_prog=ld\r
3924 if test "$GCC" = yes; then\r
3925   # Check if gcc -print-prog-name=ld gives a path.\r
3926   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5\r
3927 $as_echo_n "checking for ld used by $CC... " >&6; }\r
3928   case $host in\r
3929   *-*-mingw*)\r
3930     # gcc leaves a trailing carriage return which upsets mingw\r
3931     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;\r
3932   *)\r
3933     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;\r
3934   esac\r
3935   case $ac_prog in\r
3936     # Accept absolute paths.\r
3937     [\\/]* | ?:[\\/]*)\r
3938       re_direlt='/[^/][^/]*/\.\./'\r
3939       # Canonicalize the pathname of ld\r
3940       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`\r
3941       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do\r
3942         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`\r
3943       done\r
3944       test -z "$LD" && LD="$ac_prog"\r
3945       ;;\r
3946   "")\r
3947     # If it fails, then pretend we aren't using GCC.\r
3948     ac_prog=ld\r
3949     ;;\r
3950   *)\r
3951     # If it is relative, then search for the first ld in PATH.\r
3952     with_gnu_ld=unknown\r
3953     ;;\r
3954   esac\r
3955 elif test "$with_gnu_ld" = yes; then\r
3956   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5\r
3957 $as_echo_n "checking for GNU ld... " >&6; }\r
3958 else\r
3959   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5\r
3960 $as_echo_n "checking for non-GNU ld... " >&6; }\r
3961 fi\r
3962 if test "${lt_cv_path_LD+set}" = set; then\r
3963   $as_echo_n "(cached) " >&6\r
3964 else\r
3965   if test -z "$LD"; then\r
3966   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
3967   for ac_dir in $PATH; do\r
3968     IFS="$lt_save_ifs"\r
3969     test -z "$ac_dir" && ac_dir=.\r
3970     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then\r
3971       lt_cv_path_LD="$ac_dir/$ac_prog"\r
3972       # Check to see if the program is GNU ld.  I'd rather use --version,\r
3973       # but apparently some variants of GNU ld only accept -v.\r
3974       # Break only if it was the GNU/non-GNU ld that we prefer.\r
3975       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in\r
3976       *GNU* | *'with BFD'*)\r
3977         test "$with_gnu_ld" != no && break\r
3978         ;;\r
3979       *)\r
3980         test "$with_gnu_ld" != yes && break\r
3981         ;;\r
3982       esac\r
3983     fi\r
3984   done\r
3985   IFS="$lt_save_ifs"\r
3986 else\r
3987   lt_cv_path_LD="$LD" # Let the user override the test with a path.\r
3988 fi\r
3989 fi\r
3990 \r
3991 LD="$lt_cv_path_LD"\r
3992 if test -n "$LD"; then\r
3993   { $as_echo "$as_me:$LINENO: result: $LD" >&5\r
3994 $as_echo "$LD" >&6; }\r
3995 else\r
3996   { $as_echo "$as_me:$LINENO: result: no" >&5\r
3997 $as_echo "no" >&6; }\r
3998 fi\r
3999 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5\r
4000 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}\r
4001    { (exit 1); exit 1; }; }\r
4002 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5\r
4003 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }\r
4004 if test "${lt_cv_prog_gnu_ld+set}" = set; then\r
4005   $as_echo_n "(cached) " >&6\r
4006 else\r
4007   # I'd rather use --version here, but apparently some GNU lds only accept -v.\r
4008 case `$LD -v 2>&1 </dev/null` in\r
4009 *GNU* | *'with BFD'*)\r
4010   lt_cv_prog_gnu_ld=yes\r
4011   ;;\r
4012 *)\r
4013   lt_cv_prog_gnu_ld=no\r
4014   ;;\r
4015 esac\r
4016 fi\r
4017 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5\r
4018 $as_echo "$lt_cv_prog_gnu_ld" >&6; }\r
4019 with_gnu_ld=$lt_cv_prog_gnu_ld\r
4020 \r
4021 \r
4022 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5\r
4023 $as_echo_n "checking for $LD option to reload object files... " >&6; }\r
4024 if test "${lt_cv_ld_reload_flag+set}" = set; then\r
4025   $as_echo_n "(cached) " >&6\r
4026 else\r
4027   lt_cv_ld_reload_flag='-r'\r
4028 fi\r
4029 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5\r
4030 $as_echo "$lt_cv_ld_reload_flag" >&6; }\r
4031 reload_flag=$lt_cv_ld_reload_flag\r
4032 case $reload_flag in\r
4033 "" | " "*) ;;\r
4034 *) reload_flag=" $reload_flag" ;;\r
4035 esac\r
4036 reload_cmds='$LD$reload_flag -o $output$reload_objs'\r
4037 case $host_os in\r
4038   darwin*)\r
4039     if test "$GCC" = yes; then\r
4040       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'\r
4041     else\r
4042       reload_cmds='$LD$reload_flag -o $output$reload_objs'\r
4043     fi\r
4044     ;;\r
4045 esac\r
4046 \r
4047 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5\r
4048 $as_echo_n "checking for BSD-compatible nm... " >&6; }\r
4049 if test "${lt_cv_path_NM+set}" = set; then\r
4050   $as_echo_n "(cached) " >&6\r
4051 else\r
4052   if test -n "$NM"; then\r
4053   # Let the user override the test.\r
4054   lt_cv_path_NM="$NM"\r
4055 else\r
4056   lt_nm_to_check="${ac_tool_prefix}nm"\r
4057   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then\r
4058     lt_nm_to_check="$lt_nm_to_check nm"\r
4059   fi\r
4060   for lt_tmp_nm in $lt_nm_to_check; do\r
4061     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
4062     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do\r
4063       IFS="$lt_save_ifs"\r
4064       test -z "$ac_dir" && ac_dir=.\r
4065       tmp_nm="$ac_dir/$lt_tmp_nm"\r
4066       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then\r
4067         # Check to see if the nm accepts a BSD-compat flag.\r
4068         # Adding the `sed 1q' prevents false positives on HP-UX, which says:\r
4069         #   nm: unknown option "B" ignored\r
4070         # Tru64's nm complains that /dev/null is an invalid object file\r
4071         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in\r
4072         */dev/null* | *'Invalid file or object type'*)\r
4073           lt_cv_path_NM="$tmp_nm -B"\r
4074           break\r
4075           ;;\r
4076         *)\r
4077           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in\r
4078           */dev/null*)\r
4079             lt_cv_path_NM="$tmp_nm -p"\r
4080             break\r
4081             ;;\r
4082           *)\r
4083             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but\r
4084             continue # so that we can try to find one that supports BSD flags\r
4085             ;;\r
4086           esac\r
4087           ;;\r
4088         esac\r
4089       fi\r
4090     done\r
4091     IFS="$lt_save_ifs"\r
4092   done\r
4093   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm\r
4094 fi\r
4095 fi\r
4096 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5\r
4097 $as_echo "$lt_cv_path_NM" >&6; }\r
4098 NM="$lt_cv_path_NM"\r
4099 \r
4100 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5\r
4101 $as_echo_n "checking whether ln -s works... " >&6; }\r
4102 LN_S=$as_ln_s\r
4103 if test "$LN_S" = "ln -s"; then\r
4104   { $as_echo "$as_me:$LINENO: result: yes" >&5\r
4105 $as_echo "yes" >&6; }\r
4106 else\r
4107   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5\r
4108 $as_echo "no, using $LN_S" >&6; }\r
4109 fi\r
4110 \r
4111 { $as_echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5\r
4112 $as_echo_n "checking how to recognise dependent libraries... " >&6; }\r
4113 if test "${lt_cv_deplibs_check_method+set}" = set; then\r
4114   $as_echo_n "(cached) " >&6\r
4115 else\r
4116   lt_cv_file_magic_cmd='$MAGIC_CMD'\r
4117 lt_cv_file_magic_test_file=\r
4118 lt_cv_deplibs_check_method='unknown'\r
4119 # Need to set the preceding variable on all platforms that support\r
4120 # interlibrary dependencies.\r
4121 # 'none' -- dependencies not supported.\r
4122 # `unknown' -- same as none, but documents that we really don't know.\r
4123 # 'pass_all' -- all dependencies passed with no checks.\r
4124 # 'test_compile' -- check by making test program.\r
4125 # 'file_magic [[regex]]' -- check by looking for files in library path\r
4126 # which responds to the $file_magic_cmd with a given extended regex.\r
4127 # If you have `file' or equivalent on your system and you're not sure\r
4128 # whether `pass_all' will *always* work, you probably want this one.\r
4129 \r
4130 case $host_os in\r
4131 aix4* | aix5*)\r
4132   lt_cv_deplibs_check_method=pass_all\r
4133   ;;\r
4134 \r
4135 beos*)\r
4136   lt_cv_deplibs_check_method=pass_all\r
4137   ;;\r
4138 \r
4139 bsdi[45]*)\r
4140   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'\r
4141   lt_cv_file_magic_cmd='/usr/bin/file -L'\r
4142   lt_cv_file_magic_test_file=/shlib/libc.so\r
4143   ;;\r
4144 \r
4145 cygwin*)\r
4146   # func_win32_libid is a shell function defined in ltmain.sh\r
4147   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'\r
4148   lt_cv_file_magic_cmd='func_win32_libid'\r
4149   ;;\r
4150 \r
4151 mingw* | pw32*)\r
4152   # Base MSYS/MinGW do not provide the 'file' command needed by\r
4153   # func_win32_libid shell function, so use a weaker test based on 'objdump'.\r
4154   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'\r
4155   lt_cv_file_magic_cmd='$OBJDUMP -f'\r
4156   ;;\r
4157 \r
4158 darwin* | rhapsody*)\r
4159   lt_cv_deplibs_check_method=pass_all\r
4160   ;;\r
4161 \r
4162 freebsd* | kfreebsd*-gnu | dragonfly*)\r
4163   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then\r
4164     case $host_cpu in\r
4165     i*86 )\r
4166       # Not sure whether the presence of OpenBSD here was a mistake.\r
4167       # Let's accept both of them until this is cleared up.\r
4168       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'\r
4169       lt_cv_file_magic_cmd=/usr/bin/file\r
4170       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`\r
4171       ;;\r
4172     esac\r
4173   else\r
4174     lt_cv_deplibs_check_method=pass_all\r
4175   fi\r
4176   ;;\r
4177 \r
4178 gnu*)\r
4179   lt_cv_deplibs_check_method=pass_all\r
4180   ;;\r
4181 \r
4182 hpux10.20* | hpux11*)\r
4183   lt_cv_file_magic_cmd=/usr/bin/file\r
4184   case $host_cpu in\r
4185   ia64*)\r
4186     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'\r
4187     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so\r
4188     ;;\r
4189   hppa*64*)\r
4190     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'\r
4191     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl\r
4192     ;;\r
4193   *)\r
4194     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'\r
4195     lt_cv_file_magic_test_file=/usr/lib/libc.sl\r
4196     ;;\r
4197   esac\r
4198   ;;\r
4199 \r
4200 interix3*)\r
4201   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here\r
4202   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'\r
4203   ;;\r
4204 \r
4205 irix5* | irix6* | nonstopux*)\r
4206   case $LD in\r
4207   *-32|*"-32 ") libmagic=32-bit;;\r
4208   *-n32|*"-n32 ") libmagic=N32;;\r
4209   *-64|*"-64 ") libmagic=64-bit;;\r
4210   *) libmagic=never-match;;\r
4211   esac\r
4212   lt_cv_deplibs_check_method=pass_all\r
4213   ;;\r
4214 \r
4215 # This must be Linux ELF.\r
4216 linux*)\r
4217   lt_cv_deplibs_check_method=pass_all\r
4218   ;;\r
4219 \r
4220 netbsd*)\r
4221   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then\r
4222     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'\r
4223   else\r
4224     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'\r
4225   fi\r
4226   ;;\r
4227 \r
4228 newos6*)\r
4229   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'\r
4230   lt_cv_file_magic_cmd=/usr/bin/file\r
4231   lt_cv_file_magic_test_file=/usr/lib/libnls.so\r
4232   ;;\r
4233 \r
4234 nto-qnx*)\r
4235   lt_cv_deplibs_check_method=unknown\r
4236   ;;\r
4237 \r
4238 openbsd*)\r
4239   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
4240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'\r
4241   else\r
4242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'\r
4243   fi\r
4244   ;;\r
4245 \r
4246 osf3* | osf4* | osf5*)\r
4247   lt_cv_deplibs_check_method=pass_all\r
4248   ;;\r
4249 \r
4250 solaris*)\r
4251   lt_cv_deplibs_check_method=pass_all\r
4252   ;;\r
4253 \r
4254 sysv4 | sysv4.3*)\r
4255   case $host_vendor in\r
4256   motorola)\r
4257     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]'\r
4258     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`\r
4259     ;;\r
4260   ncr)\r
4261     lt_cv_deplibs_check_method=pass_all\r
4262     ;;\r
4263   sequent)\r
4264     lt_cv_file_magic_cmd='/bin/file'\r
4265     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'\r
4266     ;;\r
4267   sni)\r
4268     lt_cv_file_magic_cmd='/bin/file'\r
4269     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"\r
4270     lt_cv_file_magic_test_file=/lib/libc.so\r
4271     ;;\r
4272   siemens)\r
4273     lt_cv_deplibs_check_method=pass_all\r
4274     ;;\r
4275   pc)\r
4276     lt_cv_deplibs_check_method=pass_all\r
4277     ;;\r
4278   esac\r
4279   ;;\r
4280 \r
4281 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
4282   lt_cv_deplibs_check_method=pass_all\r
4283   ;;\r
4284 esac\r
4285 \r
4286 fi\r
4287 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5\r
4288 $as_echo "$lt_cv_deplibs_check_method" >&6; }\r
4289 file_magic_cmd=$lt_cv_file_magic_cmd\r
4290 deplibs_check_method=$lt_cv_deplibs_check_method\r
4291 test -z "$deplibs_check_method" && deplibs_check_method=unknown\r
4292 \r
4293 \r
4294 \r
4295 \r
4296 # If no C compiler was specified, use CC.\r
4297 LTCC=${LTCC-"$CC"}\r
4298 \r
4299 # If no C compiler flags were specified, use CFLAGS.\r
4300 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
4301 \r
4302 # Allow CC to be a program name with arguments.\r
4303 compiler=$CC\r
4304 \r
4305 \r
4306 # Check whether --enable-libtool-lock was given.\r
4307 if test "${enable_libtool_lock+set}" = set; then\r
4308   enableval=$enable_libtool_lock;\r
4309 fi\r
4310 \r
4311 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes\r
4312 \r
4313 # Some flags need to be propagated to the compiler or linker for good\r
4314 # libtool support.\r
4315 case $host in\r
4316 ia64-*-hpux*)\r
4317   # Find out which ABI we are using.\r
4318   echo 'int i;' > conftest.$ac_ext\r
4319   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
4320   (eval $ac_compile) 2>&5\r
4321   ac_status=$?\r
4322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4323   (exit $ac_status); }; then\r
4324     case `/usr/bin/file conftest.$ac_objext` in\r
4325     *ELF-32*)\r
4326       HPUX_IA64_MODE="32"\r
4327       ;;\r
4328     *ELF-64*)\r
4329       HPUX_IA64_MODE="64"\r
4330       ;;\r
4331     esac\r
4332   fi\r
4333   rm -rf conftest*\r
4334   ;;\r
4335 *-*-irix6*)\r
4336   # Find out which ABI we are using.\r
4337   echo '#line 4337 "configure"' > conftest.$ac_ext\r
4338   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
4339   (eval $ac_compile) 2>&5\r
4340   ac_status=$?\r
4341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4342   (exit $ac_status); }; then\r
4343    if test "$lt_cv_prog_gnu_ld" = yes; then\r
4344     case `/usr/bin/file conftest.$ac_objext` in\r
4345     *32-bit*)\r
4346       LD="${LD-ld} -melf32bsmip"\r
4347       ;;\r
4348     *N32*)\r
4349       LD="${LD-ld} -melf32bmipn32"\r
4350       ;;\r
4351     *64-bit*)\r
4352       LD="${LD-ld} -melf64bmip"\r
4353       ;;\r
4354     esac\r
4355    else\r
4356     case `/usr/bin/file conftest.$ac_objext` in\r
4357     *32-bit*)\r
4358       LD="${LD-ld} -32"\r
4359       ;;\r
4360     *N32*)\r
4361       LD="${LD-ld} -n32"\r
4362       ;;\r
4363     *64-bit*)\r
4364       LD="${LD-ld} -64"\r
4365       ;;\r
4366     esac\r
4367    fi\r
4368   fi\r
4369   rm -rf conftest*\r
4370   ;;\r
4371 \r
4372 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)\r
4373   # Find out which ABI we are using.\r
4374   echo 'int i;' > conftest.$ac_ext\r
4375   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
4376   (eval $ac_compile) 2>&5\r
4377   ac_status=$?\r
4378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4379   (exit $ac_status); }; then\r
4380     case `/usr/bin/file conftest.o` in\r
4381     *32-bit*)\r
4382       case $host in\r
4383         x86_64-*linux*)\r
4384           LD="${LD-ld} -m elf_i386"\r
4385           ;;\r
4386         ppc64-*linux*|powerpc64-*linux*)\r
4387           LD="${LD-ld} -m elf32ppclinux"\r
4388           ;;\r
4389         s390x-*linux*)\r
4390           LD="${LD-ld} -m elf_s390"\r
4391           ;;\r
4392         sparc64-*linux*)\r
4393           LD="${LD-ld} -m elf32_sparc"\r
4394           ;;\r
4395       esac\r
4396       ;;\r
4397     *64-bit*)\r
4398       case $host in\r
4399         x86_64-*linux*)\r
4400           LD="${LD-ld} -m elf_x86_64"\r
4401           ;;\r
4402         ppc*-*linux*|powerpc*-*linux*)\r
4403           LD="${LD-ld} -m elf64ppc"\r
4404           ;;\r
4405         s390*-*linux*)\r
4406           LD="${LD-ld} -m elf64_s390"\r
4407           ;;\r
4408         sparc*-*linux*)\r
4409           LD="${LD-ld} -m elf64_sparc"\r
4410           ;;\r
4411       esac\r
4412       ;;\r
4413     esac\r
4414   fi\r
4415   rm -rf conftest*\r
4416   ;;\r
4417 \r
4418 *-*-sco3.2v5*)\r
4419   # On SCO OpenServer 5, we need -belf to get full-featured binaries.\r
4420   SAVE_CFLAGS="$CFLAGS"\r
4421   CFLAGS="$CFLAGS -belf"\r
4422   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5\r
4423 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }\r
4424 if test "${lt_cv_cc_needs_belf+set}" = set; then\r
4425   $as_echo_n "(cached) " >&6\r
4426 else\r
4427   ac_ext=c\r
4428 ac_cpp='$CPP $CPPFLAGS'\r
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
4432 \r
4433      cat >conftest.$ac_ext <<_ACEOF\r
4434 /* confdefs.h.  */\r
4435 _ACEOF\r
4436 cat confdefs.h >>conftest.$ac_ext\r
4437 cat >>conftest.$ac_ext <<_ACEOF\r
4438 /* end confdefs.h.  */\r
4439 \r
4440 int\r
4441 main ()\r
4442 {\r
4443 \r
4444   ;\r
4445   return 0;\r
4446 }\r
4447 _ACEOF\r
4448 rm -f conftest.$ac_objext conftest$ac_exeext\r
4449 if { (ac_try="$ac_link"\r
4450 case "(($ac_try" in\r
4451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4452   *) ac_try_echo=$ac_try;;\r
4453 esac\r
4454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4455 $as_echo "$ac_try_echo") >&5\r
4456   (eval "$ac_link") 2>conftest.er1\r
4457   ac_status=$?\r
4458   grep -v '^ *+' conftest.er1 >conftest.err\r
4459   rm -f conftest.er1\r
4460   cat conftest.err >&5\r
4461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4462   (exit $ac_status); } && {\r
4463          test -z "$ac_c_werror_flag" ||\r
4464          test ! -s conftest.err\r
4465        } && test -s conftest$ac_exeext && {\r
4466          test "$cross_compiling" = yes ||\r
4467          $as_test_x conftest$ac_exeext\r
4468        }; then\r
4469   lt_cv_cc_needs_belf=yes\r
4470 else\r
4471   $as_echo "$as_me: failed program was:" >&5\r
4472 sed 's/^/| /' conftest.$ac_ext >&5\r
4473 \r
4474         lt_cv_cc_needs_belf=no\r
4475 fi\r
4476 \r
4477 rm -rf conftest.dSYM\r
4478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
4479       conftest$ac_exeext conftest.$ac_ext\r
4480      ac_ext=c\r
4481 ac_cpp='$CPP $CPPFLAGS'\r
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
4485 \r
4486 fi\r
4487 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5\r
4488 $as_echo "$lt_cv_cc_needs_belf" >&6; }\r
4489   if test x"$lt_cv_cc_needs_belf" != x"yes"; then\r
4490     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf\r
4491     CFLAGS="$SAVE_CFLAGS"\r
4492   fi\r
4493   ;;\r
4494 sparc*-*solaris*)\r
4495   # Find out which ABI we are using.\r
4496   echo 'int i;' > conftest.$ac_ext\r
4497   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
4498   (eval $ac_compile) 2>&5\r
4499   ac_status=$?\r
4500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4501   (exit $ac_status); }; then\r
4502     case `/usr/bin/file conftest.o` in\r
4503     *64-bit*)\r
4504       case $lt_cv_prog_gnu_ld in\r
4505       yes*) LD="${LD-ld} -m elf64_sparc" ;;\r
4506       *)    LD="${LD-ld} -64" ;;\r
4507       esac\r
4508       ;;\r
4509     esac\r
4510   fi\r
4511   rm -rf conftest*\r
4512   ;;\r
4513 \r
4514 \r
4515 esac\r
4516 \r
4517 need_locks="$enable_libtool_lock"\r
4518 \r
4519 \r
4520 ac_ext=c\r
4521 ac_cpp='$CPP $CPPFLAGS'\r
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
4525 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5\r
4526 $as_echo_n "checking how to run the C preprocessor... " >&6; }\r
4527 # On Suns, sometimes $CPP names a directory.\r
4528 if test -n "$CPP" && test -d "$CPP"; then\r
4529   CPP=\r
4530 fi\r
4531 if test -z "$CPP"; then\r
4532   if test "${ac_cv_prog_CPP+set}" = set; then\r
4533   $as_echo_n "(cached) " >&6\r
4534 else\r
4535       # Double quotes because CPP needs to be expanded\r
4536     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"\r
4537     do\r
4538       ac_preproc_ok=false\r
4539 for ac_c_preproc_warn_flag in '' yes\r
4540 do\r
4541   # Use a header file that comes with gcc, so configuring glibc\r
4542   # with a fresh cross-compiler works.\r
4543   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
4544   # <limits.h> exists even on freestanding compilers.\r
4545   # On the NeXT, cc -E runs the code through the compiler's parser,\r
4546   # not just through cpp. "Syntax error" is here to catch this case.\r
4547   cat >conftest.$ac_ext <<_ACEOF\r
4548 /* confdefs.h.  */\r
4549 _ACEOF\r
4550 cat confdefs.h >>conftest.$ac_ext\r
4551 cat >>conftest.$ac_ext <<_ACEOF\r
4552 /* end confdefs.h.  */\r
4553 #ifdef __STDC__\r
4554 # include <limits.h>\r
4555 #else\r
4556 # include <assert.h>\r
4557 #endif\r
4558                      Syntax error\r
4559 _ACEOF\r
4560 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
4561 case "(($ac_try" in\r
4562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4563   *) ac_try_echo=$ac_try;;\r
4564 esac\r
4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4566 $as_echo "$ac_try_echo") >&5\r
4567   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
4568   ac_status=$?\r
4569   grep -v '^ *+' conftest.er1 >conftest.err\r
4570   rm -f conftest.er1\r
4571   cat conftest.err >&5\r
4572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4573   (exit $ac_status); } >/dev/null && {\r
4574          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
4575          test ! -s conftest.err\r
4576        }; then\r
4577   :\r
4578 else\r
4579   $as_echo "$as_me: failed program was:" >&5\r
4580 sed 's/^/| /' conftest.$ac_ext >&5\r
4581 \r
4582   # Broken: fails on valid input.\r
4583 continue\r
4584 fi\r
4585 \r
4586 rm -f conftest.err conftest.$ac_ext\r
4587 \r
4588   # OK, works on sane cases.  Now check whether nonexistent headers\r
4589   # can be detected and how.\r
4590   cat >conftest.$ac_ext <<_ACEOF\r
4591 /* confdefs.h.  */\r
4592 _ACEOF\r
4593 cat confdefs.h >>conftest.$ac_ext\r
4594 cat >>conftest.$ac_ext <<_ACEOF\r
4595 /* end confdefs.h.  */\r
4596 #include <ac_nonexistent.h>\r
4597 _ACEOF\r
4598 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
4599 case "(($ac_try" in\r
4600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4601   *) ac_try_echo=$ac_try;;\r
4602 esac\r
4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4604 $as_echo "$ac_try_echo") >&5\r
4605   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
4606   ac_status=$?\r
4607   grep -v '^ *+' conftest.er1 >conftest.err\r
4608   rm -f conftest.er1\r
4609   cat conftest.err >&5\r
4610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4611   (exit $ac_status); } >/dev/null && {\r
4612          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
4613          test ! -s conftest.err\r
4614        }; then\r
4615   # Broken: success on invalid input.\r
4616 continue\r
4617 else\r
4618   $as_echo "$as_me: failed program was:" >&5\r
4619 sed 's/^/| /' conftest.$ac_ext >&5\r
4620 \r
4621   # Passes both tests.\r
4622 ac_preproc_ok=:\r
4623 break\r
4624 fi\r
4625 \r
4626 rm -f conftest.err conftest.$ac_ext\r
4627 \r
4628 done\r
4629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
4630 rm -f conftest.err conftest.$ac_ext\r
4631 if $ac_preproc_ok; then\r
4632   break\r
4633 fi\r
4634 \r
4635     done\r
4636     ac_cv_prog_CPP=$CPP\r
4637 \r
4638 fi\r
4639   CPP=$ac_cv_prog_CPP\r
4640 else\r
4641   ac_cv_prog_CPP=$CPP\r
4642 fi\r
4643 { $as_echo "$as_me:$LINENO: result: $CPP" >&5\r
4644 $as_echo "$CPP" >&6; }\r
4645 ac_preproc_ok=false\r
4646 for ac_c_preproc_warn_flag in '' yes\r
4647 do\r
4648   # Use a header file that comes with gcc, so configuring glibc\r
4649   # with a fresh cross-compiler works.\r
4650   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
4651   # <limits.h> exists even on freestanding compilers.\r
4652   # On the NeXT, cc -E runs the code through the compiler's parser,\r
4653   # not just through cpp. "Syntax error" is here to catch this case.\r
4654   cat >conftest.$ac_ext <<_ACEOF\r
4655 /* confdefs.h.  */\r
4656 _ACEOF\r
4657 cat confdefs.h >>conftest.$ac_ext\r
4658 cat >>conftest.$ac_ext <<_ACEOF\r
4659 /* end confdefs.h.  */\r
4660 #ifdef __STDC__\r
4661 # include <limits.h>\r
4662 #else\r
4663 # include <assert.h>\r
4664 #endif\r
4665                      Syntax error\r
4666 _ACEOF\r
4667 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
4668 case "(($ac_try" in\r
4669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4670   *) ac_try_echo=$ac_try;;\r
4671 esac\r
4672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4673 $as_echo "$ac_try_echo") >&5\r
4674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
4675   ac_status=$?\r
4676   grep -v '^ *+' conftest.er1 >conftest.err\r
4677   rm -f conftest.er1\r
4678   cat conftest.err >&5\r
4679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4680   (exit $ac_status); } >/dev/null && {\r
4681          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
4682          test ! -s conftest.err\r
4683        }; then\r
4684   :\r
4685 else\r
4686   $as_echo "$as_me: failed program was:" >&5\r
4687 sed 's/^/| /' conftest.$ac_ext >&5\r
4688 \r
4689   # Broken: fails on valid input.\r
4690 continue\r
4691 fi\r
4692 \r
4693 rm -f conftest.err conftest.$ac_ext\r
4694 \r
4695   # OK, works on sane cases.  Now check whether nonexistent headers\r
4696   # can be detected and how.\r
4697   cat >conftest.$ac_ext <<_ACEOF\r
4698 /* confdefs.h.  */\r
4699 _ACEOF\r
4700 cat confdefs.h >>conftest.$ac_ext\r
4701 cat >>conftest.$ac_ext <<_ACEOF\r
4702 /* end confdefs.h.  */\r
4703 #include <ac_nonexistent.h>\r
4704 _ACEOF\r
4705 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
4706 case "(($ac_try" in\r
4707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4708   *) ac_try_echo=$ac_try;;\r
4709 esac\r
4710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4711 $as_echo "$ac_try_echo") >&5\r
4712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
4713   ac_status=$?\r
4714   grep -v '^ *+' conftest.er1 >conftest.err\r
4715   rm -f conftest.er1\r
4716   cat conftest.err >&5\r
4717   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4718   (exit $ac_status); } >/dev/null && {\r
4719          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
4720          test ! -s conftest.err\r
4721        }; then\r
4722   # Broken: success on invalid input.\r
4723 continue\r
4724 else\r
4725   $as_echo "$as_me: failed program was:" >&5\r
4726 sed 's/^/| /' conftest.$ac_ext >&5\r
4727 \r
4728   # Passes both tests.\r
4729 ac_preproc_ok=:\r
4730 break\r
4731 fi\r
4732 \r
4733 rm -f conftest.err conftest.$ac_ext\r
4734 \r
4735 done\r
4736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
4737 rm -f conftest.err conftest.$ac_ext\r
4738 if $ac_preproc_ok; then\r
4739   :\r
4740 else\r
4741   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
4743 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check\r
4744 See \`config.log' for more details." >&5\r
4745 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check\r
4746 See \`config.log' for more details." >&2;}\r
4747    { (exit 1); exit 1; }; }; }\r
4748 fi\r
4749 \r
4750 ac_ext=c\r
4751 ac_cpp='$CPP $CPPFLAGS'\r
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
4755 \r
4756 \r
4757 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5\r
4758 $as_echo_n "checking for ANSI C header files... " >&6; }\r
4759 if test "${ac_cv_header_stdc+set}" = set; then\r
4760   $as_echo_n "(cached) " >&6\r
4761 else\r
4762   cat >conftest.$ac_ext <<_ACEOF\r
4763 /* confdefs.h.  */\r
4764 _ACEOF\r
4765 cat confdefs.h >>conftest.$ac_ext\r
4766 cat >>conftest.$ac_ext <<_ACEOF\r
4767 /* end confdefs.h.  */\r
4768 #include <stdlib.h>\r
4769 #include <stdarg.h>\r
4770 #include <string.h>\r
4771 #include <float.h>\r
4772 \r
4773 int\r
4774 main ()\r
4775 {\r
4776 \r
4777   ;\r
4778   return 0;\r
4779 }\r
4780 _ACEOF\r
4781 rm -f conftest.$ac_objext\r
4782 if { (ac_try="$ac_compile"\r
4783 case "(($ac_try" in\r
4784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4785   *) ac_try_echo=$ac_try;;\r
4786 esac\r
4787 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4788 $as_echo "$ac_try_echo") >&5\r
4789   (eval "$ac_compile") 2>conftest.er1\r
4790   ac_status=$?\r
4791   grep -v '^ *+' conftest.er1 >conftest.err\r
4792   rm -f conftest.er1\r
4793   cat conftest.err >&5\r
4794   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4795   (exit $ac_status); } && {\r
4796          test -z "$ac_c_werror_flag" ||\r
4797          test ! -s conftest.err\r
4798        } && test -s conftest.$ac_objext; then\r
4799   ac_cv_header_stdc=yes\r
4800 else\r
4801   $as_echo "$as_me: failed program was:" >&5\r
4802 sed 's/^/| /' conftest.$ac_ext >&5\r
4803 \r
4804         ac_cv_header_stdc=no\r
4805 fi\r
4806 \r
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
4808 \r
4809 if test $ac_cv_header_stdc = yes; then\r
4810   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.\r
4811   cat >conftest.$ac_ext <<_ACEOF\r
4812 /* confdefs.h.  */\r
4813 _ACEOF\r
4814 cat confdefs.h >>conftest.$ac_ext\r
4815 cat >>conftest.$ac_ext <<_ACEOF\r
4816 /* end confdefs.h.  */\r
4817 #include <string.h>\r
4818 \r
4819 _ACEOF\r
4820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
4821   $EGREP "memchr" >/dev/null 2>&1; then\r
4822   :\r
4823 else\r
4824   ac_cv_header_stdc=no\r
4825 fi\r
4826 rm -f conftest*\r
4827 \r
4828 fi\r
4829 \r
4830 if test $ac_cv_header_stdc = yes; then\r
4831   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.\r
4832   cat >conftest.$ac_ext <<_ACEOF\r
4833 /* confdefs.h.  */\r
4834 _ACEOF\r
4835 cat confdefs.h >>conftest.$ac_ext\r
4836 cat >>conftest.$ac_ext <<_ACEOF\r
4837 /* end confdefs.h.  */\r
4838 #include <stdlib.h>\r
4839 \r
4840 _ACEOF\r
4841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
4842   $EGREP "free" >/dev/null 2>&1; then\r
4843   :\r
4844 else\r
4845   ac_cv_header_stdc=no\r
4846 fi\r
4847 rm -f conftest*\r
4848 \r
4849 fi\r
4850 \r
4851 if test $ac_cv_header_stdc = yes; then\r
4852   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.\r
4853   if test "$cross_compiling" = yes; then\r
4854   :\r
4855 else\r
4856   cat >conftest.$ac_ext <<_ACEOF\r
4857 /* confdefs.h.  */\r
4858 _ACEOF\r
4859 cat confdefs.h >>conftest.$ac_ext\r
4860 cat >>conftest.$ac_ext <<_ACEOF\r
4861 /* end confdefs.h.  */\r
4862 #include <ctype.h>\r
4863 #include <stdlib.h>\r
4864 #if ((' ' & 0x0FF) == 0x020)\r
4865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')\r
4866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))\r
4867 #else\r
4868 # define ISLOWER(c) \\r
4869                    (('a' <= (c) && (c) <= 'i') \\r
4870                      || ('j' <= (c) && (c) <= 'r') \\r
4871                      || ('s' <= (c) && (c) <= 'z'))\r
4872 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))\r
4873 #endif\r
4874 \r
4875 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))\r
4876 int\r
4877 main ()\r
4878 {\r
4879   int i;\r
4880   for (i = 0; i < 256; i++)\r
4881     if (XOR (islower (i), ISLOWER (i))\r
4882         || toupper (i) != TOUPPER (i))\r
4883       return 2;\r
4884   return 0;\r
4885 }\r
4886 _ACEOF\r
4887 rm -f conftest$ac_exeext\r
4888 if { (ac_try="$ac_link"\r
4889 case "(($ac_try" in\r
4890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4891   *) ac_try_echo=$ac_try;;\r
4892 esac\r
4893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4894 $as_echo "$ac_try_echo") >&5\r
4895   (eval "$ac_link") 2>&5\r
4896   ac_status=$?\r
4897   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4898   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'\r
4899   { (case "(($ac_try" in\r
4900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4901   *) ac_try_echo=$ac_try;;\r
4902 esac\r
4903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4904 $as_echo "$ac_try_echo") >&5\r
4905   (eval "$ac_try") 2>&5\r
4906   ac_status=$?\r
4907   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4908   (exit $ac_status); }; }; then\r
4909   :\r
4910 else\r
4911   $as_echo "$as_me: program exited with status $ac_status" >&5\r
4912 $as_echo "$as_me: failed program was:" >&5\r
4913 sed 's/^/| /' conftest.$ac_ext >&5\r
4914 \r
4915 ( exit $ac_status )\r
4916 ac_cv_header_stdc=no\r
4917 fi\r
4918 rm -rf conftest.dSYM\r
4919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext\r
4920 fi\r
4921 \r
4922 \r
4923 fi\r
4924 fi\r
4925 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5\r
4926 $as_echo "$ac_cv_header_stdc" >&6; }\r
4927 if test $ac_cv_header_stdc = yes; then\r
4928 \r
4929 cat >>confdefs.h <<\_ACEOF\r
4930 #define STDC_HEADERS 1\r
4931 _ACEOF\r
4932 \r
4933 fi\r
4934 \r
4935 # On IRIX 5.3, sys/types and inttypes.h are conflicting.\r
4936 \r
4937 \r
4938 \r
4939 \r
4940 \r
4941 \r
4942 \r
4943 \r
4944 \r
4945 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \\r
4946                   inttypes.h stdint.h unistd.h\r
4947 do\r
4948 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
4949 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
4950 $as_echo_n "checking for $ac_header... " >&6; }\r
4951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
4952   $as_echo_n "(cached) " >&6\r
4953 else\r
4954   cat >conftest.$ac_ext <<_ACEOF\r
4955 /* confdefs.h.  */\r
4956 _ACEOF\r
4957 cat confdefs.h >>conftest.$ac_ext\r
4958 cat >>conftest.$ac_ext <<_ACEOF\r
4959 /* end confdefs.h.  */\r
4960 $ac_includes_default\r
4961 \r
4962 #include <$ac_header>\r
4963 _ACEOF\r
4964 rm -f conftest.$ac_objext\r
4965 if { (ac_try="$ac_compile"\r
4966 case "(($ac_try" in\r
4967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
4968   *) ac_try_echo=$ac_try;;\r
4969 esac\r
4970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
4971 $as_echo "$ac_try_echo") >&5\r
4972   (eval "$ac_compile") 2>conftest.er1\r
4973   ac_status=$?\r
4974   grep -v '^ *+' conftest.er1 >conftest.err\r
4975   rm -f conftest.er1\r
4976   cat conftest.err >&5\r
4977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
4978   (exit $ac_status); } && {\r
4979          test -z "$ac_c_werror_flag" ||\r
4980          test ! -s conftest.err\r
4981        } && test -s conftest.$ac_objext; then\r
4982   eval "$as_ac_Header=yes"\r
4983 else\r
4984   $as_echo "$as_me: failed program was:" >&5\r
4985 sed 's/^/| /' conftest.$ac_ext >&5\r
4986 \r
4987         eval "$as_ac_Header=no"\r
4988 fi\r
4989 \r
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
4991 fi\r
4992 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
4993                  $as_echo "$as_val"'`\r
4994                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
4995 $as_echo "$ac_res" >&6; }\r
4996 as_val=`eval 'as_val=${'$as_ac_Header'}\r
4997                  $as_echo "$as_val"'`\r
4998    if test "x$as_val" = x""yes; then\r
4999   cat >>confdefs.h <<_ACEOF\r
5000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
5001 _ACEOF\r
5002 \r
5003 fi\r
5004 \r
5005 done\r
5006 \r
5007 \r
5008 \r
5009 for ac_header in dlfcn.h\r
5010 do\r
5011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
5012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
5013   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
5014 $as_echo_n "checking for $ac_header... " >&6; }\r
5015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
5016   $as_echo_n "(cached) " >&6\r
5017 fi\r
5018 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
5019                  $as_echo "$as_val"'`\r
5020                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
5021 $as_echo "$ac_res" >&6; }\r
5022 else\r
5023   # Is the header compilable?\r
5024 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5\r
5025 $as_echo_n "checking $ac_header usability... " >&6; }\r
5026 cat >conftest.$ac_ext <<_ACEOF\r
5027 /* confdefs.h.  */\r
5028 _ACEOF\r
5029 cat confdefs.h >>conftest.$ac_ext\r
5030 cat >>conftest.$ac_ext <<_ACEOF\r
5031 /* end confdefs.h.  */\r
5032 $ac_includes_default\r
5033 #include <$ac_header>\r
5034 _ACEOF\r
5035 rm -f conftest.$ac_objext\r
5036 if { (ac_try="$ac_compile"\r
5037 case "(($ac_try" in\r
5038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5039   *) ac_try_echo=$ac_try;;\r
5040 esac\r
5041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5042 $as_echo "$ac_try_echo") >&5\r
5043   (eval "$ac_compile") 2>conftest.er1\r
5044   ac_status=$?\r
5045   grep -v '^ *+' conftest.er1 >conftest.err\r
5046   rm -f conftest.er1\r
5047   cat conftest.err >&5\r
5048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5049   (exit $ac_status); } && {\r
5050          test -z "$ac_c_werror_flag" ||\r
5051          test ! -s conftest.err\r
5052        } && test -s conftest.$ac_objext; then\r
5053   ac_header_compiler=yes\r
5054 else\r
5055   $as_echo "$as_me: failed program was:" >&5\r
5056 sed 's/^/| /' conftest.$ac_ext >&5\r
5057 \r
5058         ac_header_compiler=no\r
5059 fi\r
5060 \r
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5062 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
5063 $as_echo "$ac_header_compiler" >&6; }\r
5064 \r
5065 # Is the header present?\r
5066 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5\r
5067 $as_echo_n "checking $ac_header presence... " >&6; }\r
5068 cat >conftest.$ac_ext <<_ACEOF\r
5069 /* confdefs.h.  */\r
5070 _ACEOF\r
5071 cat confdefs.h >>conftest.$ac_ext\r
5072 cat >>conftest.$ac_ext <<_ACEOF\r
5073 /* end confdefs.h.  */\r
5074 #include <$ac_header>\r
5075 _ACEOF\r
5076 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5077 case "(($ac_try" in\r
5078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5079   *) ac_try_echo=$ac_try;;\r
5080 esac\r
5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5082 $as_echo "$ac_try_echo") >&5\r
5083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5084   ac_status=$?\r
5085   grep -v '^ *+' conftest.er1 >conftest.err\r
5086   rm -f conftest.er1\r
5087   cat conftest.err >&5\r
5088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5089   (exit $ac_status); } >/dev/null && {\r
5090          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
5091          test ! -s conftest.err\r
5092        }; then\r
5093   ac_header_preproc=yes\r
5094 else\r
5095   $as_echo "$as_me: failed program was:" >&5\r
5096 sed 's/^/| /' conftest.$ac_ext >&5\r
5097 \r
5098   ac_header_preproc=no\r
5099 fi\r
5100 \r
5101 rm -f conftest.err conftest.$ac_ext\r
5102 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
5103 $as_echo "$ac_header_preproc" >&6; }\r
5104 \r
5105 # So?  What about this header?\r
5106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
5107   yes:no: )\r
5108     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5\r
5109 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
5110     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5\r
5111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}\r
5112     ac_header_preproc=yes\r
5113     ;;\r
5114   no:yes:* )\r
5115     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5\r
5116 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}\r
5117     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5\r
5118 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}\r
5119     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5\r
5120 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}\r
5121     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5\r
5122 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}\r
5123     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5\r
5124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}\r
5125     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5\r
5126 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}\r
5127     ( cat <<\_ASBOX\r
5128 ## ------------------------------------- ##\r
5129 ## Report this to jimi@temporal-wave.com ##\r
5130 ## ------------------------------------- ##\r
5131 _ASBOX\r
5132      ) | sed "s/^/$as_me: WARNING:     /" >&2\r
5133     ;;\r
5134 esac\r
5135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
5136 $as_echo_n "checking for $ac_header... " >&6; }\r
5137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
5138   $as_echo_n "(cached) " >&6\r
5139 else\r
5140   eval "$as_ac_Header=\$ac_header_preproc"\r
5141 fi\r
5142 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
5143                  $as_echo "$as_val"'`\r
5144                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
5145 $as_echo "$ac_res" >&6; }\r
5146 \r
5147 fi\r
5148 as_val=`eval 'as_val=${'$as_ac_Header'}\r
5149                  $as_echo "$as_val"'`\r
5150    if test "x$as_val" = x""yes; then\r
5151   cat >>confdefs.h <<_ACEOF\r
5152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
5153 _ACEOF\r
5154 \r
5155 fi\r
5156 \r
5157 done\r
5158 \r
5159 ac_ext=cpp\r
5160 ac_cpp='$CXXCPP $CPPFLAGS'\r
5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
5164 if test -z "$CXX"; then\r
5165   if test -n "$CCC"; then\r
5166     CXX=$CCC\r
5167   else\r
5168     if test -n "$ac_tool_prefix"; then\r
5169   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC\r
5170   do\r
5171     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
5172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
5173 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5174 $as_echo_n "checking for $ac_word... " >&6; }\r
5175 if test "${ac_cv_prog_CXX+set}" = set; then\r
5176   $as_echo_n "(cached) " >&6\r
5177 else\r
5178   if test -n "$CXX"; then\r
5179   ac_cv_prog_CXX="$CXX" # Let the user override the test.\r
5180 else\r
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5182 for as_dir in $PATH\r
5183 do\r
5184   IFS=$as_save_IFS\r
5185   test -z "$as_dir" && as_dir=.\r
5186   for ac_exec_ext in '' $ac_executable_extensions; do\r
5187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5188     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"\r
5189     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5190     break 2\r
5191   fi\r
5192 done\r
5193 done\r
5194 IFS=$as_save_IFS\r
5195 \r
5196 fi\r
5197 fi\r
5198 CXX=$ac_cv_prog_CXX\r
5199 if test -n "$CXX"; then\r
5200   { $as_echo "$as_me:$LINENO: result: $CXX" >&5\r
5201 $as_echo "$CXX" >&6; }\r
5202 else\r
5203   { $as_echo "$as_me:$LINENO: result: no" >&5\r
5204 $as_echo "no" >&6; }\r
5205 fi\r
5206 \r
5207 \r
5208     test -n "$CXX" && break\r
5209   done\r
5210 fi\r
5211 if test -z "$CXX"; then\r
5212   ac_ct_CXX=$CXX\r
5213   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC\r
5214 do\r
5215   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
5216 set dummy $ac_prog; ac_word=$2\r
5217 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5218 $as_echo_n "checking for $ac_word... " >&6; }\r
5219 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then\r
5220   $as_echo_n "(cached) " >&6\r
5221 else\r
5222   if test -n "$ac_ct_CXX"; then\r
5223   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.\r
5224 else\r
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5226 for as_dir in $PATH\r
5227 do\r
5228   IFS=$as_save_IFS\r
5229   test -z "$as_dir" && as_dir=.\r
5230   for ac_exec_ext in '' $ac_executable_extensions; do\r
5231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5232     ac_cv_prog_ac_ct_CXX="$ac_prog"\r
5233     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5234     break 2\r
5235   fi\r
5236 done\r
5237 done\r
5238 IFS=$as_save_IFS\r
5239 \r
5240 fi\r
5241 fi\r
5242 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX\r
5243 if test -n "$ac_ct_CXX"; then\r
5244   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5\r
5245 $as_echo "$ac_ct_CXX" >&6; }\r
5246 else\r
5247   { $as_echo "$as_me:$LINENO: result: no" >&5\r
5248 $as_echo "no" >&6; }\r
5249 fi\r
5250 \r
5251 \r
5252   test -n "$ac_ct_CXX" && break\r
5253 done\r
5254 \r
5255   if test "x$ac_ct_CXX" = x; then\r
5256     CXX="g++"\r
5257   else\r
5258     case $cross_compiling:$ac_tool_warned in\r
5259 yes:)\r
5260 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
5261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
5262 ac_tool_warned=yes ;;\r
5263 esac\r
5264     CXX=$ac_ct_CXX\r
5265   fi\r
5266 fi\r
5267 \r
5268   fi\r
5269 fi\r
5270 # Provide some information about the compiler.\r
5271 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5\r
5272 set X $ac_compile\r
5273 ac_compiler=$2\r
5274 { (ac_try="$ac_compiler --version >&5"\r
5275 case "(($ac_try" in\r
5276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5277   *) ac_try_echo=$ac_try;;\r
5278 esac\r
5279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5280 $as_echo "$ac_try_echo") >&5\r
5281   (eval "$ac_compiler --version >&5") 2>&5\r
5282   ac_status=$?\r
5283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5284   (exit $ac_status); }\r
5285 { (ac_try="$ac_compiler -v >&5"\r
5286 case "(($ac_try" in\r
5287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5288   *) ac_try_echo=$ac_try;;\r
5289 esac\r
5290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5291 $as_echo "$ac_try_echo") >&5\r
5292   (eval "$ac_compiler -v >&5") 2>&5\r
5293   ac_status=$?\r
5294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5295   (exit $ac_status); }\r
5296 { (ac_try="$ac_compiler -V >&5"\r
5297 case "(($ac_try" in\r
5298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5299   *) ac_try_echo=$ac_try;;\r
5300 esac\r
5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5302 $as_echo "$ac_try_echo") >&5\r
5303   (eval "$ac_compiler -V >&5") 2>&5\r
5304   ac_status=$?\r
5305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5306   (exit $ac_status); }\r
5307 \r
5308 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5\r
5309 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }\r
5310 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then\r
5311   $as_echo_n "(cached) " >&6\r
5312 else\r
5313   cat >conftest.$ac_ext <<_ACEOF\r
5314 /* confdefs.h.  */\r
5315 _ACEOF\r
5316 cat confdefs.h >>conftest.$ac_ext\r
5317 cat >>conftest.$ac_ext <<_ACEOF\r
5318 /* end confdefs.h.  */\r
5319 \r
5320 int\r
5321 main ()\r
5322 {\r
5323 #ifndef __GNUC__\r
5324        choke me\r
5325 #endif\r
5326 \r
5327   ;\r
5328   return 0;\r
5329 }\r
5330 _ACEOF\r
5331 rm -f conftest.$ac_objext\r
5332 if { (ac_try="$ac_compile"\r
5333 case "(($ac_try" in\r
5334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5335   *) ac_try_echo=$ac_try;;\r
5336 esac\r
5337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5338 $as_echo "$ac_try_echo") >&5\r
5339   (eval "$ac_compile") 2>conftest.er1\r
5340   ac_status=$?\r
5341   grep -v '^ *+' conftest.er1 >conftest.err\r
5342   rm -f conftest.er1\r
5343   cat conftest.err >&5\r
5344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5345   (exit $ac_status); } && {\r
5346          test -z "$ac_cxx_werror_flag" ||\r
5347          test ! -s conftest.err\r
5348        } && test -s conftest.$ac_objext; then\r
5349   ac_compiler_gnu=yes\r
5350 else\r
5351   $as_echo "$as_me: failed program was:" >&5\r
5352 sed 's/^/| /' conftest.$ac_ext >&5\r
5353 \r
5354         ac_compiler_gnu=no\r
5355 fi\r
5356 \r
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu\r
5359 \r
5360 fi\r
5361 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5\r
5362 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }\r
5363 if test $ac_compiler_gnu = yes; then\r
5364   GXX=yes\r
5365 else\r
5366   GXX=\r
5367 fi\r
5368 ac_test_CXXFLAGS=${CXXFLAGS+set}\r
5369 ac_save_CXXFLAGS=$CXXFLAGS\r
5370 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5\r
5371 $as_echo_n "checking whether $CXX accepts -g... " >&6; }\r
5372 if test "${ac_cv_prog_cxx_g+set}" = set; then\r
5373   $as_echo_n "(cached) " >&6\r
5374 else\r
5375   ac_save_cxx_werror_flag=$ac_cxx_werror_flag\r
5376    ac_cxx_werror_flag=yes\r
5377    ac_cv_prog_cxx_g=no\r
5378    CXXFLAGS="-g"\r
5379    cat >conftest.$ac_ext <<_ACEOF\r
5380 /* confdefs.h.  */\r
5381 _ACEOF\r
5382 cat confdefs.h >>conftest.$ac_ext\r
5383 cat >>conftest.$ac_ext <<_ACEOF\r
5384 /* end confdefs.h.  */\r
5385 \r
5386 int\r
5387 main ()\r
5388 {\r
5389 \r
5390   ;\r
5391   return 0;\r
5392 }\r
5393 _ACEOF\r
5394 rm -f conftest.$ac_objext\r
5395 if { (ac_try="$ac_compile"\r
5396 case "(($ac_try" in\r
5397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5398   *) ac_try_echo=$ac_try;;\r
5399 esac\r
5400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5401 $as_echo "$ac_try_echo") >&5\r
5402   (eval "$ac_compile") 2>conftest.er1\r
5403   ac_status=$?\r
5404   grep -v '^ *+' conftest.er1 >conftest.err\r
5405   rm -f conftest.er1\r
5406   cat conftest.err >&5\r
5407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5408   (exit $ac_status); } && {\r
5409          test -z "$ac_cxx_werror_flag" ||\r
5410          test ! -s conftest.err\r
5411        } && test -s conftest.$ac_objext; then\r
5412   ac_cv_prog_cxx_g=yes\r
5413 else\r
5414   $as_echo "$as_me: failed program was:" >&5\r
5415 sed 's/^/| /' conftest.$ac_ext >&5\r
5416 \r
5417         CXXFLAGS=""\r
5418       cat >conftest.$ac_ext <<_ACEOF\r
5419 /* confdefs.h.  */\r
5420 _ACEOF\r
5421 cat confdefs.h >>conftest.$ac_ext\r
5422 cat >>conftest.$ac_ext <<_ACEOF\r
5423 /* end confdefs.h.  */\r
5424 \r
5425 int\r
5426 main ()\r
5427 {\r
5428 \r
5429   ;\r
5430   return 0;\r
5431 }\r
5432 _ACEOF\r
5433 rm -f conftest.$ac_objext\r
5434 if { (ac_try="$ac_compile"\r
5435 case "(($ac_try" in\r
5436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5437   *) ac_try_echo=$ac_try;;\r
5438 esac\r
5439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5440 $as_echo "$ac_try_echo") >&5\r
5441   (eval "$ac_compile") 2>conftest.er1\r
5442   ac_status=$?\r
5443   grep -v '^ *+' conftest.er1 >conftest.err\r
5444   rm -f conftest.er1\r
5445   cat conftest.err >&5\r
5446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5447   (exit $ac_status); } && {\r
5448          test -z "$ac_cxx_werror_flag" ||\r
5449          test ! -s conftest.err\r
5450        } && test -s conftest.$ac_objext; then\r
5451   :\r
5452 else\r
5453   $as_echo "$as_me: failed program was:" >&5\r
5454 sed 's/^/| /' conftest.$ac_ext >&5\r
5455 \r
5456         ac_cxx_werror_flag=$ac_save_cxx_werror_flag\r
5457          CXXFLAGS="-g"\r
5458          cat >conftest.$ac_ext <<_ACEOF\r
5459 /* confdefs.h.  */\r
5460 _ACEOF\r
5461 cat confdefs.h >>conftest.$ac_ext\r
5462 cat >>conftest.$ac_ext <<_ACEOF\r
5463 /* end confdefs.h.  */\r
5464 \r
5465 int\r
5466 main ()\r
5467 {\r
5468 \r
5469   ;\r
5470   return 0;\r
5471 }\r
5472 _ACEOF\r
5473 rm -f conftest.$ac_objext\r
5474 if { (ac_try="$ac_compile"\r
5475 case "(($ac_try" in\r
5476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5477   *) ac_try_echo=$ac_try;;\r
5478 esac\r
5479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5480 $as_echo "$ac_try_echo") >&5\r
5481   (eval "$ac_compile") 2>conftest.er1\r
5482   ac_status=$?\r
5483   grep -v '^ *+' conftest.er1 >conftest.err\r
5484   rm -f conftest.er1\r
5485   cat conftest.err >&5\r
5486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5487   (exit $ac_status); } && {\r
5488          test -z "$ac_cxx_werror_flag" ||\r
5489          test ! -s conftest.err\r
5490        } && test -s conftest.$ac_objext; then\r
5491   ac_cv_prog_cxx_g=yes\r
5492 else\r
5493   $as_echo "$as_me: failed program was:" >&5\r
5494 sed 's/^/| /' conftest.$ac_ext >&5\r
5495 \r
5496 \r
5497 fi\r
5498 \r
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5500 fi\r
5501 \r
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5503 fi\r
5504 \r
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5506    ac_cxx_werror_flag=$ac_save_cxx_werror_flag\r
5507 fi\r
5508 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5\r
5509 $as_echo "$ac_cv_prog_cxx_g" >&6; }\r
5510 if test "$ac_test_CXXFLAGS" = set; then\r
5511   CXXFLAGS=$ac_save_CXXFLAGS\r
5512 elif test $ac_cv_prog_cxx_g = yes; then\r
5513   if test "$GXX" = yes; then\r
5514     CXXFLAGS="-g -O2"\r
5515   else\r
5516     CXXFLAGS="-g"\r
5517   fi\r
5518 else\r
5519   if test "$GXX" = yes; then\r
5520     CXXFLAGS="-O2"\r
5521   else\r
5522     CXXFLAGS=\r
5523   fi\r
5524 fi\r
5525 ac_ext=cpp\r
5526 ac_cpp='$CXXCPP $CPPFLAGS'\r
5527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
5530 \r
5531 depcc="$CXX"  am_compiler_list=\r
5532 \r
5533 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5\r
5534 $as_echo_n "checking dependency style of $depcc... " >&6; }\r
5535 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then\r
5536   $as_echo_n "(cached) " >&6\r
5537 else\r
5538   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then\r
5539   # We make a subdir and do the tests there.  Otherwise we can end up\r
5540   # making bogus files that we don't know about and never remove.  For\r
5541   # instance it was reported that on HP-UX the gcc test will end up\r
5542   # making a dummy file named `D' -- because `-MD' means `put the output\r
5543   # in D'.\r
5544   mkdir conftest.dir\r
5545   # Copy depcomp to subdir because otherwise we won't find it if we're\r
5546   # using a relative directory.\r
5547   cp "$am_depcomp" conftest.dir\r
5548   cd conftest.dir\r
5549   # We will build objects and dependencies in a subdirectory because\r
5550   # it helps to detect inapplicable dependency modes.  For instance\r
5551   # both Tru64's cc and ICC support -MD to output dependencies as a\r
5552   # side effect of compilation, but ICC will put the dependencies in\r
5553   # the current directory while Tru64 will put them in the object\r
5554   # directory.\r
5555   mkdir sub\r
5556 \r
5557   am_cv_CXX_dependencies_compiler_type=none\r
5558   if test "$am_compiler_list" = ""; then\r
5559      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`\r
5560   fi\r
5561   for depmode in $am_compiler_list; do\r
5562     # Setup a source with many dependencies, because some compilers\r
5563     # like to wrap large dependency lists on column 80 (with \), and\r
5564     # we should not choose a depcomp mode which is confused by this.\r
5565     #\r
5566     # We need to recreate these files for each test, as the compiler may\r
5567     # overwrite some of them when testing with obscure command lines.\r
5568     # This happens at least with the AIX C compiler.\r
5569     : > sub/conftest.c\r
5570     for i in 1 2 3 4 5 6; do\r
5571       echo '#include "conftst'$i'.h"' >> sub/conftest.c\r
5572       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with\r
5573       # Solaris 8's {/usr,}/bin/sh.\r
5574       touch sub/conftst$i.h\r
5575     done\r
5576     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf\r
5577 \r
5578     case $depmode in\r
5579     nosideeffect)\r
5580       # after this tag, mechanisms are not by side-effect, so they'll\r
5581       # only be used when explicitly requested\r
5582       if test "x$enable_dependency_tracking" = xyes; then\r
5583         continue\r
5584       else\r
5585         break\r
5586       fi\r
5587       ;;\r
5588     none) break ;;\r
5589     esac\r
5590     # We check with `-c' and `-o' for the sake of the "dashmstdout"\r
5591     # mode.  It turns out that the SunPro C++ compiler does not properly\r
5592     # handle `-M -o', and we need to detect this.\r
5593     if depmode=$depmode \\r
5594        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \\r
5595        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \\r
5596        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \\r
5597          >/dev/null 2>conftest.err &&\r
5598        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&\r
5599        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&\r
5600        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then\r
5601       # icc doesn't choke on unknown options, it will just issue warnings\r
5602       # or remarks (even with -Werror).  So we grep stderr for any message\r
5603       # that says an option was ignored or not supported.\r
5604       # When given -MP, icc 7.0 and 7.1 complain thusly:\r
5605       #   icc: Command line warning: ignoring option '-M'; no argument required\r
5606       # The diagnosis changed in icc 8.0:\r
5607       #   icc: Command line remark: option '-MP' not supported\r
5608       if (grep 'ignoring option' conftest.err ||\r
5609           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else\r
5610         am_cv_CXX_dependencies_compiler_type=$depmode\r
5611         break\r
5612       fi\r
5613     fi\r
5614   done\r
5615 \r
5616   cd ..\r
5617   rm -rf conftest.dir\r
5618 else\r
5619   am_cv_CXX_dependencies_compiler_type=none\r
5620 fi\r
5621 \r
5622 fi\r
5623 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5\r
5624 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }\r
5625 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type\r
5626 \r
5627 \r
5628 \r
5629 if\r
5630   test "x$enable_dependency_tracking" != xno \\r
5631   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then\r
5632   am__fastdepCXX_TRUE=\r
5633   am__fastdepCXX_FALSE='#'\r
5634 else\r
5635   am__fastdepCXX_TRUE='#'\r
5636   am__fastdepCXX_FALSE=\r
5637 fi\r
5638 \r
5639 \r
5640 \r
5641 \r
5642 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&\r
5643     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||\r
5644     (test "X$CXX" != "Xg++"))) ; then\r
5645   ac_ext=cpp\r
5646 ac_cpp='$CXXCPP $CPPFLAGS'\r
5647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
5650 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5\r
5651 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }\r
5652 if test -z "$CXXCPP"; then\r
5653   if test "${ac_cv_prog_CXXCPP+set}" = set; then\r
5654   $as_echo_n "(cached) " >&6\r
5655 else\r
5656       # Double quotes because CXXCPP needs to be expanded\r
5657     for CXXCPP in "$CXX -E" "/lib/cpp"\r
5658     do\r
5659       ac_preproc_ok=false\r
5660 for ac_cxx_preproc_warn_flag in '' yes\r
5661 do\r
5662   # Use a header file that comes with gcc, so configuring glibc\r
5663   # with a fresh cross-compiler works.\r
5664   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
5665   # <limits.h> exists even on freestanding compilers.\r
5666   # On the NeXT, cc -E runs the code through the compiler's parser,\r
5667   # not just through cpp. "Syntax error" is here to catch this case.\r
5668   cat >conftest.$ac_ext <<_ACEOF\r
5669 /* confdefs.h.  */\r
5670 _ACEOF\r
5671 cat confdefs.h >>conftest.$ac_ext\r
5672 cat >>conftest.$ac_ext <<_ACEOF\r
5673 /* end confdefs.h.  */\r
5674 #ifdef __STDC__\r
5675 # include <limits.h>\r
5676 #else\r
5677 # include <assert.h>\r
5678 #endif\r
5679                      Syntax error\r
5680 _ACEOF\r
5681 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5682 case "(($ac_try" in\r
5683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5684   *) ac_try_echo=$ac_try;;\r
5685 esac\r
5686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5687 $as_echo "$ac_try_echo") >&5\r
5688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5689   ac_status=$?\r
5690   grep -v '^ *+' conftest.er1 >conftest.err\r
5691   rm -f conftest.er1\r
5692   cat conftest.err >&5\r
5693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5694   (exit $ac_status); } >/dev/null && {\r
5695          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||\r
5696          test ! -s conftest.err\r
5697        }; then\r
5698   :\r
5699 else\r
5700   $as_echo "$as_me: failed program was:" >&5\r
5701 sed 's/^/| /' conftest.$ac_ext >&5\r
5702 \r
5703   # Broken: fails on valid input.\r
5704 continue\r
5705 fi\r
5706 \r
5707 rm -f conftest.err conftest.$ac_ext\r
5708 \r
5709   # OK, works on sane cases.  Now check whether nonexistent headers\r
5710   # can be detected and how.\r
5711   cat >conftest.$ac_ext <<_ACEOF\r
5712 /* confdefs.h.  */\r
5713 _ACEOF\r
5714 cat confdefs.h >>conftest.$ac_ext\r
5715 cat >>conftest.$ac_ext <<_ACEOF\r
5716 /* end confdefs.h.  */\r
5717 #include <ac_nonexistent.h>\r
5718 _ACEOF\r
5719 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5720 case "(($ac_try" in\r
5721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5722   *) ac_try_echo=$ac_try;;\r
5723 esac\r
5724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5725 $as_echo "$ac_try_echo") >&5\r
5726   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5727   ac_status=$?\r
5728   grep -v '^ *+' conftest.er1 >conftest.err\r
5729   rm -f conftest.er1\r
5730   cat conftest.err >&5\r
5731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5732   (exit $ac_status); } >/dev/null && {\r
5733          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||\r
5734          test ! -s conftest.err\r
5735        }; then\r
5736   # Broken: success on invalid input.\r
5737 continue\r
5738 else\r
5739   $as_echo "$as_me: failed program was:" >&5\r
5740 sed 's/^/| /' conftest.$ac_ext >&5\r
5741 \r
5742   # Passes both tests.\r
5743 ac_preproc_ok=:\r
5744 break\r
5745 fi\r
5746 \r
5747 rm -f conftest.err conftest.$ac_ext\r
5748 \r
5749 done\r
5750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
5751 rm -f conftest.err conftest.$ac_ext\r
5752 if $ac_preproc_ok; then\r
5753   break\r
5754 fi\r
5755 \r
5756     done\r
5757     ac_cv_prog_CXXCPP=$CXXCPP\r
5758 \r
5759 fi\r
5760   CXXCPP=$ac_cv_prog_CXXCPP\r
5761 else\r
5762   ac_cv_prog_CXXCPP=$CXXCPP\r
5763 fi\r
5764 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5\r
5765 $as_echo "$CXXCPP" >&6; }\r
5766 ac_preproc_ok=false\r
5767 for ac_cxx_preproc_warn_flag in '' yes\r
5768 do\r
5769   # Use a header file that comes with gcc, so configuring glibc\r
5770   # with a fresh cross-compiler works.\r
5771   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
5772   # <limits.h> exists even on freestanding compilers.\r
5773   # On the NeXT, cc -E runs the code through the compiler's parser,\r
5774   # not just through cpp. "Syntax error" is here to catch this case.\r
5775   cat >conftest.$ac_ext <<_ACEOF\r
5776 /* confdefs.h.  */\r
5777 _ACEOF\r
5778 cat confdefs.h >>conftest.$ac_ext\r
5779 cat >>conftest.$ac_ext <<_ACEOF\r
5780 /* end confdefs.h.  */\r
5781 #ifdef __STDC__\r
5782 # include <limits.h>\r
5783 #else\r
5784 # include <assert.h>\r
5785 #endif\r
5786                      Syntax error\r
5787 _ACEOF\r
5788 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5789 case "(($ac_try" in\r
5790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5791   *) ac_try_echo=$ac_try;;\r
5792 esac\r
5793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5794 $as_echo "$ac_try_echo") >&5\r
5795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5796   ac_status=$?\r
5797   grep -v '^ *+' conftest.er1 >conftest.err\r
5798   rm -f conftest.er1\r
5799   cat conftest.err >&5\r
5800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5801   (exit $ac_status); } >/dev/null && {\r
5802          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||\r
5803          test ! -s conftest.err\r
5804        }; then\r
5805   :\r
5806 else\r
5807   $as_echo "$as_me: failed program was:" >&5\r
5808 sed 's/^/| /' conftest.$ac_ext >&5\r
5809 \r
5810   # Broken: fails on valid input.\r
5811 continue\r
5812 fi\r
5813 \r
5814 rm -f conftest.err conftest.$ac_ext\r
5815 \r
5816   # OK, works on sane cases.  Now check whether nonexistent headers\r
5817   # can be detected and how.\r
5818   cat >conftest.$ac_ext <<_ACEOF\r
5819 /* confdefs.h.  */\r
5820 _ACEOF\r
5821 cat confdefs.h >>conftest.$ac_ext\r
5822 cat >>conftest.$ac_ext <<_ACEOF\r
5823 /* end confdefs.h.  */\r
5824 #include <ac_nonexistent.h>\r
5825 _ACEOF\r
5826 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5827 case "(($ac_try" in\r
5828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5829   *) ac_try_echo=$ac_try;;\r
5830 esac\r
5831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5832 $as_echo "$ac_try_echo") >&5\r
5833   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5834   ac_status=$?\r
5835   grep -v '^ *+' conftest.er1 >conftest.err\r
5836   rm -f conftest.er1\r
5837   cat conftest.err >&5\r
5838   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5839   (exit $ac_status); } >/dev/null && {\r
5840          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||\r
5841          test ! -s conftest.err\r
5842        }; then\r
5843   # Broken: success on invalid input.\r
5844 continue\r
5845 else\r
5846   $as_echo "$as_me: failed program was:" >&5\r
5847 sed 's/^/| /' conftest.$ac_ext >&5\r
5848 \r
5849   # Passes both tests.\r
5850 ac_preproc_ok=:\r
5851 break\r
5852 fi\r
5853 \r
5854 rm -f conftest.err conftest.$ac_ext\r
5855 \r
5856 done\r
5857 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
5858 rm -f conftest.err conftest.$ac_ext\r
5859 if $ac_preproc_ok; then\r
5860   :\r
5861 else\r
5862   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5\r
5863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
5864 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check\r
5865 See \`config.log' for more details." >&5\r
5866 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check\r
5867 See \`config.log' for more details." >&2;}\r
5868    { (exit 1); exit 1; }; }; }\r
5869 fi\r
5870 \r
5871 ac_ext=cpp\r
5872 ac_cpp='$CXXCPP $CPPFLAGS'\r
5873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
5876 \r
5877 fi\r
5878 \r
5879 \r
5880 ac_ext=f\r
5881 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'\r
5882 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5883 ac_compiler_gnu=$ac_cv_f77_compiler_gnu\r
5884 if test -n "$ac_tool_prefix"; then\r
5885   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn\r
5886   do\r
5887     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
5888 set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
5889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5890 $as_echo_n "checking for $ac_word... " >&6; }\r
5891 if test "${ac_cv_prog_F77+set}" = set; then\r
5892   $as_echo_n "(cached) " >&6\r
5893 else\r
5894   if test -n "$F77"; then\r
5895   ac_cv_prog_F77="$F77" # Let the user override the test.\r
5896 else\r
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5898 for as_dir in $PATH\r
5899 do\r
5900   IFS=$as_save_IFS\r
5901   test -z "$as_dir" && as_dir=.\r
5902   for ac_exec_ext in '' $ac_executable_extensions; do\r
5903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5904     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"\r
5905     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5906     break 2\r
5907   fi\r
5908 done\r
5909 done\r
5910 IFS=$as_save_IFS\r
5911 \r
5912 fi\r
5913 fi\r
5914 F77=$ac_cv_prog_F77\r
5915 if test -n "$F77"; then\r
5916   { $as_echo "$as_me:$LINENO: result: $F77" >&5\r
5917 $as_echo "$F77" >&6; }\r
5918 else\r
5919   { $as_echo "$as_me:$LINENO: result: no" >&5\r
5920 $as_echo "no" >&6; }\r
5921 fi\r
5922 \r
5923 \r
5924     test -n "$F77" && break\r
5925   done\r
5926 fi\r
5927 if test -z "$F77"; then\r
5928   ac_ct_F77=$F77\r
5929   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn\r
5930 do\r
5931   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
5932 set dummy $ac_prog; ac_word=$2\r
5933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5934 $as_echo_n "checking for $ac_word... " >&6; }\r
5935 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then\r
5936   $as_echo_n "(cached) " >&6\r
5937 else\r
5938   if test -n "$ac_ct_F77"; then\r
5939   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.\r
5940 else\r
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5942 for as_dir in $PATH\r
5943 do\r
5944   IFS=$as_save_IFS\r
5945   test -z "$as_dir" && as_dir=.\r
5946   for ac_exec_ext in '' $ac_executable_extensions; do\r
5947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5948     ac_cv_prog_ac_ct_F77="$ac_prog"\r
5949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5950     break 2\r
5951   fi\r
5952 done\r
5953 done\r
5954 IFS=$as_save_IFS\r
5955 \r
5956 fi\r
5957 fi\r
5958 ac_ct_F77=$ac_cv_prog_ac_ct_F77\r
5959 if test -n "$ac_ct_F77"; then\r
5960   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5\r
5961 $as_echo "$ac_ct_F77" >&6; }\r
5962 else\r
5963   { $as_echo "$as_me:$LINENO: result: no" >&5\r
5964 $as_echo "no" >&6; }\r
5965 fi\r
5966 \r
5967 \r
5968   test -n "$ac_ct_F77" && break\r
5969 done\r
5970 \r
5971   if test "x$ac_ct_F77" = x; then\r
5972     F77=""\r
5973   else\r
5974     case $cross_compiling:$ac_tool_warned in\r
5975 yes:)\r
5976 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
5977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
5978 ac_tool_warned=yes ;;\r
5979 esac\r
5980     F77=$ac_ct_F77\r
5981   fi\r
5982 fi\r
5983 \r
5984 \r
5985 # Provide some information about the compiler.\r
5986 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5\r
5987 set X $ac_compile\r
5988 ac_compiler=$2\r
5989 { (ac_try="$ac_compiler --version >&5"\r
5990 case "(($ac_try" in\r
5991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5992   *) ac_try_echo=$ac_try;;\r
5993 esac\r
5994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
5995 $as_echo "$ac_try_echo") >&5\r
5996   (eval "$ac_compiler --version >&5") 2>&5\r
5997   ac_status=$?\r
5998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5999   (exit $ac_status); }\r
6000 { (ac_try="$ac_compiler -v >&5"\r
6001 case "(($ac_try" in\r
6002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6003   *) ac_try_echo=$ac_try;;\r
6004 esac\r
6005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
6006 $as_echo "$ac_try_echo") >&5\r
6007   (eval "$ac_compiler -v >&5") 2>&5\r
6008   ac_status=$?\r
6009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6010   (exit $ac_status); }\r
6011 { (ac_try="$ac_compiler -V >&5"\r
6012 case "(($ac_try" in\r
6013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6014   *) ac_try_echo=$ac_try;;\r
6015 esac\r
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
6017 $as_echo "$ac_try_echo") >&5\r
6018   (eval "$ac_compiler -V >&5") 2>&5\r
6019   ac_status=$?\r
6020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6021   (exit $ac_status); }\r
6022 rm -f a.out\r
6023 \r
6024 # If we don't use `.F' as extension, the preprocessor is not run on the\r
6025 # input file.  (Note that this only needs to work for GNU compilers.)\r
6026 ac_save_ext=$ac_ext\r
6027 ac_ext=F\r
6028 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5\r
6029 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }\r
6030 if test "${ac_cv_f77_compiler_gnu+set}" = set; then\r
6031   $as_echo_n "(cached) " >&6\r
6032 else\r
6033   cat >conftest.$ac_ext <<_ACEOF\r
6034       program main\r
6035 #ifndef __GNUC__\r
6036        choke me\r
6037 #endif\r
6038 \r
6039       end\r
6040 _ACEOF\r
6041 rm -f conftest.$ac_objext\r
6042 if { (ac_try="$ac_compile"\r
6043 case "(($ac_try" in\r
6044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6045   *) ac_try_echo=$ac_try;;\r
6046 esac\r
6047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
6048 $as_echo "$ac_try_echo") >&5\r
6049   (eval "$ac_compile") 2>conftest.er1\r
6050   ac_status=$?\r
6051   grep -v '^ *+' conftest.er1 >conftest.err\r
6052   rm -f conftest.er1\r
6053   cat conftest.err >&5\r
6054   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6055   (exit $ac_status); } && {\r
6056          test -z "$ac_f77_werror_flag" ||\r
6057          test ! -s conftest.err\r
6058        } && test -s conftest.$ac_objext; then\r
6059   ac_compiler_gnu=yes\r
6060 else\r
6061   $as_echo "$as_me: failed program was:" >&5\r
6062 sed 's/^/| /' conftest.$ac_ext >&5\r
6063 \r
6064         ac_compiler_gnu=no\r
6065 fi\r
6066 \r
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6068 ac_cv_f77_compiler_gnu=$ac_compiler_gnu\r
6069 \r
6070 fi\r
6071 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5\r
6072 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }\r
6073 ac_ext=$ac_save_ext\r
6074 ac_test_FFLAGS=${FFLAGS+set}\r
6075 ac_save_FFLAGS=$FFLAGS\r
6076 FFLAGS=\r
6077 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5\r
6078 $as_echo_n "checking whether $F77 accepts -g... " >&6; }\r
6079 if test "${ac_cv_prog_f77_g+set}" = set; then\r
6080   $as_echo_n "(cached) " >&6\r
6081 else\r
6082   FFLAGS=-g\r
6083 cat >conftest.$ac_ext <<_ACEOF\r
6084       program main\r
6085 \r
6086       end\r
6087 _ACEOF\r
6088 rm -f conftest.$ac_objext\r
6089 if { (ac_try="$ac_compile"\r
6090 case "(($ac_try" in\r
6091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6092   *) ac_try_echo=$ac_try;;\r
6093 esac\r
6094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
6095 $as_echo "$ac_try_echo") >&5\r
6096   (eval "$ac_compile") 2>conftest.er1\r
6097   ac_status=$?\r
6098   grep -v '^ *+' conftest.er1 >conftest.err\r
6099   rm -f conftest.er1\r
6100   cat conftest.err >&5\r
6101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6102   (exit $ac_status); } && {\r
6103          test -z "$ac_f77_werror_flag" ||\r
6104          test ! -s conftest.err\r
6105        } && test -s conftest.$ac_objext; then\r
6106   ac_cv_prog_f77_g=yes\r
6107 else\r
6108   $as_echo "$as_me: failed program was:" >&5\r
6109 sed 's/^/| /' conftest.$ac_ext >&5\r
6110 \r
6111         ac_cv_prog_f77_g=no\r
6112 fi\r
6113 \r
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6115 \r
6116 fi\r
6117 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5\r
6118 $as_echo "$ac_cv_prog_f77_g" >&6; }\r
6119 if test "$ac_test_FFLAGS" = set; then\r
6120   FFLAGS=$ac_save_FFLAGS\r
6121 elif test $ac_cv_prog_f77_g = yes; then\r
6122   if test "x$ac_cv_f77_compiler_gnu" = xyes; then\r
6123     FFLAGS="-g -O2"\r
6124   else\r
6125     FFLAGS="-g"\r
6126   fi\r
6127 else\r
6128   if test "x$ac_cv_f77_compiler_gnu" = xyes; then\r
6129     FFLAGS="-O2"\r
6130   else\r
6131     FFLAGS=\r
6132   fi\r
6133 fi\r
6134 \r
6135 if test $ac_compiler_gnu = yes; then\r
6136   G77=yes\r
6137 else\r
6138   G77=\r
6139 fi\r
6140 ac_ext=c\r
6141 ac_cpp='$CPP $CPPFLAGS'\r
6142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
6143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
6144 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
6145 \r
6146 \r
6147 \r
6148 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!\r
6149 \r
6150 # find the maximum length of command line arguments\r
6151 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5\r
6152 $as_echo_n "checking the maximum length of command line arguments... " >&6; }\r
6153 if test "${lt_cv_sys_max_cmd_len+set}" = set; then\r
6154   $as_echo_n "(cached) " >&6\r
6155 else\r
6156     i=0\r
6157   teststring="ABCD"\r
6158 \r
6159   case $build_os in\r
6160   msdosdjgpp*)\r
6161     # On DJGPP, this test can blow up pretty badly due to problems in libc\r
6162     # (any single argument exceeding 2000 bytes causes a buffer overrun\r
6163     # during glob expansion).  Even if it were fixed, the result of this\r
6164     # check would be larger than it should be.\r
6165     lt_cv_sys_max_cmd_len=12288;    # 12K is about right\r
6166     ;;\r
6167 \r
6168   gnu*)\r
6169     # Under GNU Hurd, this test is not required because there is\r
6170     # no limit to the length of command line arguments.\r
6171     # Libtool will interpret -1 as no limit whatsoever\r
6172     lt_cv_sys_max_cmd_len=-1;\r
6173     ;;\r
6174 \r
6175   cygwin* | mingw*)\r
6176     # On Win9x/ME, this test blows up -- it succeeds, but takes\r
6177     # about 5 minutes as the teststring grows exponentially.\r
6178     # Worse, since 9x/ME are not pre-emptively multitasking,\r
6179     # you end up with a "frozen" computer, even though with patience\r
6180     # the test eventually succeeds (with a max line length of 256k).\r
6181     # Instead, let's just punt: use the minimum linelength reported by\r
6182     # all of the supported platforms: 8192 (on NT/2K/XP).\r
6183     lt_cv_sys_max_cmd_len=8192;\r
6184     ;;\r
6185 \r
6186   amigaos*)\r
6187     # On AmigaOS with pdksh, this test takes hours, literally.\r
6188     # So we just punt and use a minimum line length of 8192.\r
6189     lt_cv_sys_max_cmd_len=8192;\r
6190     ;;\r
6191 \r
6192   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)\r
6193     # This has been around since 386BSD, at least.  Likely further.\r
6194     if test -x /sbin/sysctl; then\r
6195       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`\r
6196     elif test -x /usr/sbin/sysctl; then\r
6197       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`\r
6198     else\r
6199       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs\r
6200     fi\r
6201     # And add a safety zone\r
6202     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`\r
6203     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`\r
6204     ;;\r
6205 \r
6206   interix*)\r
6207     # We know the value 262144 and hardcode it with a safety zone (like BSD)\r
6208     lt_cv_sys_max_cmd_len=196608\r
6209     ;;\r
6210 \r
6211   osf*)\r
6212     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure\r
6213     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not\r
6214     # nice to cause kernel panics so lets avoid the loop below.\r
6215     # First set a reasonable default.\r
6216     lt_cv_sys_max_cmd_len=16384\r
6217     #\r
6218     if test -x /sbin/sysconfig; then\r
6219       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in\r
6220         *1*) lt_cv_sys_max_cmd_len=-1 ;;\r
6221       esac\r
6222     fi\r
6223     ;;\r
6224   sco3.2v5*)\r
6225     lt_cv_sys_max_cmd_len=102400\r
6226     ;;\r
6227   sysv5* | sco5v6* | sysv4.2uw2*)\r
6228     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`\r
6229     if test -n "$kargmax"; then\r
6230       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`\r
6231     else\r
6232       lt_cv_sys_max_cmd_len=32768\r
6233     fi\r
6234     ;;\r
6235   *)\r
6236     # If test is not a shell built-in, we'll probably end up computing a\r
6237     # maximum length that is only half of the actual maximum length, but\r
6238     # we can't tell.\r
6239     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}\r
6240     while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \\r
6241                = "XX$teststring") >/dev/null 2>&1 &&\r
6242             new_result=`expr "X$teststring" : ".*" 2>&1` &&\r
6243             lt_cv_sys_max_cmd_len=$new_result &&\r
6244             test $i != 17 # 1/2 MB should be enough\r
6245     do\r
6246       i=`expr $i + 1`\r
6247       teststring=$teststring$teststring\r
6248     done\r
6249     teststring=\r
6250     # Add a significant safety factor because C++ compilers can tack on massive\r
6251     # amounts of additional arguments before passing them to the linker.\r
6252     # It appears as though 1/2 is a usable value.\r
6253     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`\r
6254     ;;\r
6255   esac\r
6256 \r
6257 fi\r
6258 \r
6259 if test -n $lt_cv_sys_max_cmd_len ; then\r
6260   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5\r
6261 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }\r
6262 else\r
6263   { $as_echo "$as_me:$LINENO: result: none" >&5\r
6264 $as_echo "none" >&6; }\r
6265 fi\r
6266 \r
6267 \r
6268 \r
6269 \r
6270 # Check for command to grab the raw symbol name followed by C symbol from nm.\r
6271 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5\r
6272 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }\r
6273 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then\r
6274   $as_echo_n "(cached) " >&6\r
6275 else\r
6276 \r
6277 # These are sane defaults that work on at least a few old systems.\r
6278 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]\r
6279 \r
6280 # Character class describing NM global symbol codes.\r
6281 symcode='[BCDEGRST]'\r
6282 \r
6283 # Regexp to match symbols that can be accessed directly from C.\r
6284 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'\r
6285 \r
6286 # Transform an extracted symbol line into a proper C declaration\r
6287 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"\r
6288 \r
6289 # Transform an extracted symbol line into symbol name and symbol address\r
6290 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"\r
6291 \r
6292 # Define system-specific variables.\r
6293 case $host_os in\r
6294 aix*)\r
6295   symcode='[BCDT]'\r
6296   ;;\r
6297 cygwin* | mingw* | pw32*)\r
6298   symcode='[ABCDGISTW]'\r
6299   ;;\r
6300 hpux*) # Its linker distinguishes data from code symbols\r
6301   if test "$host_cpu" = ia64; then\r
6302     symcode='[ABCDEGRST]'\r
6303   fi\r
6304   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"\r
6305   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"\r
6306   ;;\r
6307 linux*)\r
6308   if test "$host_cpu" = ia64; then\r
6309     symcode='[ABCDGIRSTW]'\r
6310     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"\r
6311     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"\r
6312   fi\r
6313   ;;\r
6314 irix* | nonstopux*)\r
6315   symcode='[BCDEGRST]'\r
6316   ;;\r
6317 osf*)\r
6318   symcode='[BCDEGQRST]'\r
6319   ;;\r
6320 solaris*)\r
6321   symcode='[BDRT]'\r
6322   ;;\r
6323 sco3.2v5*)\r
6324   symcode='[DT]'\r
6325   ;;\r
6326 sysv4.2uw2*)\r
6327   symcode='[DT]'\r
6328   ;;\r
6329 sysv5* | sco5v6* | unixware* | OpenUNIX*)\r
6330   symcode='[ABDT]'\r
6331   ;;\r
6332 sysv4)\r
6333   symcode='[DFNSTU]'\r
6334   ;;\r
6335 esac\r
6336 \r
6337 # Handle CRLF in mingw tool chain\r
6338 opt_cr=\r
6339 case $build_os in\r
6340 mingw*)\r
6341   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp\r
6342   ;;\r
6343 esac\r
6344 \r
6345 # If we're using GNU nm, then use its standard symbol codes.\r
6346 case `$NM -V 2>&1` in\r
6347 *GNU* | *'with BFD'*)\r
6348   symcode='[ABCDGIRSTW]' ;;\r
6349 esac\r
6350 \r
6351 # Try without a prefix undercore, then with it.\r
6352 for ac_symprfx in "" "_"; do\r
6353 \r
6354   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.\r
6355   symxfrm="\\1 $ac_symprfx\\2 \\2"\r
6356 \r
6357   # Write the raw and C identifiers.\r
6358   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"\r
6359 \r
6360   # Check to see that the pipe works correctly.\r
6361   pipe_works=no\r
6362 \r
6363   rm -f conftest*\r
6364   cat > conftest.$ac_ext <<EOF\r
6365 #ifdef __cplusplus\r
6366 extern "C" {\r
6367 #endif\r
6368 char nm_test_var;\r
6369 void nm_test_func(){}\r
6370 #ifdef __cplusplus\r
6371 }\r
6372 #endif\r
6373 int main(){nm_test_var='a';nm_test_func();return(0);}\r
6374 EOF\r
6375 \r
6376   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
6377   (eval $ac_compile) 2>&5\r
6378   ac_status=$?\r
6379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6380   (exit $ac_status); }; then\r
6381     # Now try to grab the symbols.\r
6382     nlist=conftest.nm\r
6383     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5\r
6384   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5\r
6385   ac_status=$?\r
6386   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6387   (exit $ac_status); } && test -s "$nlist"; then\r
6388       # Try sorting and uniquifying the output.\r
6389       if sort "$nlist" | uniq > "$nlist"T; then\r
6390         mv -f "$nlist"T "$nlist"\r
6391       else\r
6392         rm -f "$nlist"T\r
6393       fi\r
6394 \r
6395       # Make sure that we snagged all the symbols we need.\r
6396       if grep ' nm_test_var$' "$nlist" >/dev/null; then\r
6397         if grep ' nm_test_func$' "$nlist" >/dev/null; then\r
6398           cat <<EOF > conftest.$ac_ext\r
6399 #ifdef __cplusplus\r
6400 extern "C" {\r
6401 #endif\r
6402 \r
6403 EOF\r
6404           # Now generate the symbol file.\r
6405           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'\r
6406 \r
6407           cat <<EOF >> conftest.$ac_ext\r
6408 #if defined (__STDC__) && __STDC__\r
6409 # define lt_ptr_t void *\r
6410 #else\r
6411 # define lt_ptr_t char *\r
6412 # define const\r
6413 #endif\r
6414 \r
6415 /* The mapping between symbol names and symbols. */\r
6416 const struct {\r
6417   const char *name;\r
6418   lt_ptr_t address;\r
6419 }\r
6420 lt_preloaded_symbols[] =\r
6421 {\r
6422 EOF\r
6423           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext\r
6424           cat <<\EOF >> conftest.$ac_ext\r
6425   {0, (lt_ptr_t) 0}\r
6426 };\r
6427 \r
6428 #ifdef __cplusplus\r
6429 }\r
6430 #endif\r
6431 EOF\r
6432           # Now try linking the two files.\r
6433           mv conftest.$ac_objext conftstm.$ac_objext\r
6434           lt_save_LIBS="$LIBS"\r
6435           lt_save_CFLAGS="$CFLAGS"\r
6436           LIBS="conftstm.$ac_objext"\r
6437           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"\r
6438           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5\r
6439   (eval $ac_link) 2>&5\r
6440   ac_status=$?\r
6441   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6442   (exit $ac_status); } && test -s conftest${ac_exeext}; then\r
6443             pipe_works=yes\r
6444           fi\r
6445           LIBS="$lt_save_LIBS"\r
6446           CFLAGS="$lt_save_CFLAGS"\r
6447         else\r
6448           echo "cannot find nm_test_func in $nlist" >&5\r
6449         fi\r
6450       else\r
6451         echo "cannot find nm_test_var in $nlist" >&5\r
6452       fi\r
6453     else\r
6454       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5\r
6455     fi\r
6456   else\r
6457     echo "$progname: failed program was:" >&5\r
6458     cat conftest.$ac_ext >&5\r
6459   fi\r
6460   rm -f conftest* conftst*\r
6461 \r
6462   # Do not use the global_symbol_pipe unless it works.\r
6463   if test "$pipe_works" = yes; then\r
6464     break\r
6465   else\r
6466     lt_cv_sys_global_symbol_pipe=\r
6467   fi\r
6468 done\r
6469 \r
6470 fi\r
6471 \r
6472 if test -z "$lt_cv_sys_global_symbol_pipe"; then\r
6473   lt_cv_sys_global_symbol_to_cdecl=\r
6474 fi\r
6475 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then\r
6476   { $as_echo "$as_me:$LINENO: result: failed" >&5\r
6477 $as_echo "failed" >&6; }\r
6478 else\r
6479   { $as_echo "$as_me:$LINENO: result: ok" >&5\r
6480 $as_echo "ok" >&6; }\r
6481 fi\r
6482 \r
6483 { $as_echo "$as_me:$LINENO: checking for objdir" >&5\r
6484 $as_echo_n "checking for objdir... " >&6; }\r
6485 if test "${lt_cv_objdir+set}" = set; then\r
6486   $as_echo_n "(cached) " >&6\r
6487 else\r
6488   rm -f .libs 2>/dev/null\r
6489 mkdir .libs 2>/dev/null\r
6490 if test -d .libs; then\r
6491   lt_cv_objdir=.libs\r
6492 else\r
6493   # MS-DOS does not allow filenames that begin with a dot.\r
6494   lt_cv_objdir=_libs\r
6495 fi\r
6496 rmdir .libs 2>/dev/null\r
6497 fi\r
6498 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5\r
6499 $as_echo "$lt_cv_objdir" >&6; }\r
6500 objdir=$lt_cv_objdir\r
6501 \r
6502 \r
6503 \r
6504 \r
6505 \r
6506 case $host_os in\r
6507 aix3*)\r
6508   # AIX sometimes has problems with the GCC collect2 program.  For some\r
6509   # reason, if we set the COLLECT_NAMES environment variable, the problems\r
6510   # vanish in a puff of smoke.\r
6511   if test "X${COLLECT_NAMES+set}" != Xset; then\r
6512     COLLECT_NAMES=\r
6513     export COLLECT_NAMES\r
6514   fi\r
6515   ;;\r
6516 esac\r
6517 \r
6518 # Sed substitution that helps us do robust quoting.  It backslashifies\r
6519 # metacharacters that are still active within double-quoted strings.\r
6520 Xsed='sed -e 1s/^X//'\r
6521 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'\r
6522 \r
6523 # Same as above, but do not quote variable references.\r
6524 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'\r
6525 \r
6526 # Sed substitution to delay expansion of an escaped shell variable in a\r
6527 # double_quote_subst'ed string.\r
6528 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'\r
6529 \r
6530 # Sed substitution to avoid accidental globbing in evaled expressions\r
6531 no_glob_subst='s/\*/\\\*/g'\r
6532 \r
6533 # Constants:\r
6534 rm="rm -f"\r
6535 \r
6536 # Global variables:\r
6537 default_ofile=libtool\r
6538 can_build_shared=yes\r
6539 \r
6540 # All known linkers require a `.a' archive for static linking (except MSVC,\r
6541 # which needs '.lib').\r
6542 libext=a\r
6543 ltmain="$ac_aux_dir/ltmain.sh"\r
6544 ofile="$default_ofile"\r
6545 with_gnu_ld="$lt_cv_prog_gnu_ld"\r
6546 \r
6547 if test -n "$ac_tool_prefix"; then\r
6548   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.\r
6549 set dummy ${ac_tool_prefix}ar; ac_word=$2\r
6550 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6551 $as_echo_n "checking for $ac_word... " >&6; }\r
6552 if test "${ac_cv_prog_AR+set}" = set; then\r
6553   $as_echo_n "(cached) " >&6\r
6554 else\r
6555   if test -n "$AR"; then\r
6556   ac_cv_prog_AR="$AR" # Let the user override the test.\r
6557 else\r
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6559 for as_dir in $PATH\r
6560 do\r
6561   IFS=$as_save_IFS\r
6562   test -z "$as_dir" && as_dir=.\r
6563   for ac_exec_ext in '' $ac_executable_extensions; do\r
6564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6565     ac_cv_prog_AR="${ac_tool_prefix}ar"\r
6566     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6567     break 2\r
6568   fi\r
6569 done\r
6570 done\r
6571 IFS=$as_save_IFS\r
6572 \r
6573 fi\r
6574 fi\r
6575 AR=$ac_cv_prog_AR\r
6576 if test -n "$AR"; then\r
6577   { $as_echo "$as_me:$LINENO: result: $AR" >&5\r
6578 $as_echo "$AR" >&6; }\r
6579 else\r
6580   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6581 $as_echo "no" >&6; }\r
6582 fi\r
6583 \r
6584 \r
6585 fi\r
6586 if test -z "$ac_cv_prog_AR"; then\r
6587   ac_ct_AR=$AR\r
6588   # Extract the first word of "ar", so it can be a program name with args.\r
6589 set dummy ar; ac_word=$2\r
6590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6591 $as_echo_n "checking for $ac_word... " >&6; }\r
6592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then\r
6593   $as_echo_n "(cached) " >&6\r
6594 else\r
6595   if test -n "$ac_ct_AR"; then\r
6596   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.\r
6597 else\r
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6599 for as_dir in $PATH\r
6600 do\r
6601   IFS=$as_save_IFS\r
6602   test -z "$as_dir" && as_dir=.\r
6603   for ac_exec_ext in '' $ac_executable_extensions; do\r
6604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6605     ac_cv_prog_ac_ct_AR="ar"\r
6606     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6607     break 2\r
6608   fi\r
6609 done\r
6610 done\r
6611 IFS=$as_save_IFS\r
6612 \r
6613 fi\r
6614 fi\r
6615 ac_ct_AR=$ac_cv_prog_ac_ct_AR\r
6616 if test -n "$ac_ct_AR"; then\r
6617   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5\r
6618 $as_echo "$ac_ct_AR" >&6; }\r
6619 else\r
6620   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6621 $as_echo "no" >&6; }\r
6622 fi\r
6623 \r
6624   if test "x$ac_ct_AR" = x; then\r
6625     AR="false"\r
6626   else\r
6627     case $cross_compiling:$ac_tool_warned in\r
6628 yes:)\r
6629 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
6631 ac_tool_warned=yes ;;\r
6632 esac\r
6633     AR=$ac_ct_AR\r
6634   fi\r
6635 else\r
6636   AR="$ac_cv_prog_AR"\r
6637 fi\r
6638 \r
6639 if test -n "$ac_tool_prefix"; then\r
6640   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.\r
6641 set dummy ${ac_tool_prefix}ranlib; ac_word=$2\r
6642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6643 $as_echo_n "checking for $ac_word... " >&6; }\r
6644 if test "${ac_cv_prog_RANLIB+set}" = set; then\r
6645   $as_echo_n "(cached) " >&6\r
6646 else\r
6647   if test -n "$RANLIB"; then\r
6648   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.\r
6649 else\r
6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6651 for as_dir in $PATH\r
6652 do\r
6653   IFS=$as_save_IFS\r
6654   test -z "$as_dir" && as_dir=.\r
6655   for ac_exec_ext in '' $ac_executable_extensions; do\r
6656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6657     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"\r
6658     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6659     break 2\r
6660   fi\r
6661 done\r
6662 done\r
6663 IFS=$as_save_IFS\r
6664 \r
6665 fi\r
6666 fi\r
6667 RANLIB=$ac_cv_prog_RANLIB\r
6668 if test -n "$RANLIB"; then\r
6669   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5\r
6670 $as_echo "$RANLIB" >&6; }\r
6671 else\r
6672   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6673 $as_echo "no" >&6; }\r
6674 fi\r
6675 \r
6676 \r
6677 fi\r
6678 if test -z "$ac_cv_prog_RANLIB"; then\r
6679   ac_ct_RANLIB=$RANLIB\r
6680   # Extract the first word of "ranlib", so it can be a program name with args.\r
6681 set dummy ranlib; ac_word=$2\r
6682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6683 $as_echo_n "checking for $ac_word... " >&6; }\r
6684 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then\r
6685   $as_echo_n "(cached) " >&6\r
6686 else\r
6687   if test -n "$ac_ct_RANLIB"; then\r
6688   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.\r
6689 else\r
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6691 for as_dir in $PATH\r
6692 do\r
6693   IFS=$as_save_IFS\r
6694   test -z "$as_dir" && as_dir=.\r
6695   for ac_exec_ext in '' $ac_executable_extensions; do\r
6696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6697     ac_cv_prog_ac_ct_RANLIB="ranlib"\r
6698     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6699     break 2\r
6700   fi\r
6701 done\r
6702 done\r
6703 IFS=$as_save_IFS\r
6704 \r
6705 fi\r
6706 fi\r
6707 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB\r
6708 if test -n "$ac_ct_RANLIB"; then\r
6709   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5\r
6710 $as_echo "$ac_ct_RANLIB" >&6; }\r
6711 else\r
6712   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6713 $as_echo "no" >&6; }\r
6714 fi\r
6715 \r
6716   if test "x$ac_ct_RANLIB" = x; then\r
6717     RANLIB=":"\r
6718   else\r
6719     case $cross_compiling:$ac_tool_warned in\r
6720 yes:)\r
6721 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
6722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
6723 ac_tool_warned=yes ;;\r
6724 esac\r
6725     RANLIB=$ac_ct_RANLIB\r
6726   fi\r
6727 else\r
6728   RANLIB="$ac_cv_prog_RANLIB"\r
6729 fi\r
6730 \r
6731 if test -n "$ac_tool_prefix"; then\r
6732   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.\r
6733 set dummy ${ac_tool_prefix}strip; ac_word=$2\r
6734 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6735 $as_echo_n "checking for $ac_word... " >&6; }\r
6736 if test "${ac_cv_prog_STRIP+set}" = set; then\r
6737   $as_echo_n "(cached) " >&6\r
6738 else\r
6739   if test -n "$STRIP"; then\r
6740   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.\r
6741 else\r
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6743 for as_dir in $PATH\r
6744 do\r
6745   IFS=$as_save_IFS\r
6746   test -z "$as_dir" && as_dir=.\r
6747   for ac_exec_ext in '' $ac_executable_extensions; do\r
6748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6749     ac_cv_prog_STRIP="${ac_tool_prefix}strip"\r
6750     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6751     break 2\r
6752   fi\r
6753 done\r
6754 done\r
6755 IFS=$as_save_IFS\r
6756 \r
6757 fi\r
6758 fi\r
6759 STRIP=$ac_cv_prog_STRIP\r
6760 if test -n "$STRIP"; then\r
6761   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5\r
6762 $as_echo "$STRIP" >&6; }\r
6763 else\r
6764   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6765 $as_echo "no" >&6; }\r
6766 fi\r
6767 \r
6768 \r
6769 fi\r
6770 if test -z "$ac_cv_prog_STRIP"; then\r
6771   ac_ct_STRIP=$STRIP\r
6772   # Extract the first word of "strip", so it can be a program name with args.\r
6773 set dummy strip; ac_word=$2\r
6774 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6775 $as_echo_n "checking for $ac_word... " >&6; }\r
6776 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then\r
6777   $as_echo_n "(cached) " >&6\r
6778 else\r
6779   if test -n "$ac_ct_STRIP"; then\r
6780   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.\r
6781 else\r
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6783 for as_dir in $PATH\r
6784 do\r
6785   IFS=$as_save_IFS\r
6786   test -z "$as_dir" && as_dir=.\r
6787   for ac_exec_ext in '' $ac_executable_extensions; do\r
6788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6789     ac_cv_prog_ac_ct_STRIP="strip"\r
6790     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6791     break 2\r
6792   fi\r
6793 done\r
6794 done\r
6795 IFS=$as_save_IFS\r
6796 \r
6797 fi\r
6798 fi\r
6799 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP\r
6800 if test -n "$ac_ct_STRIP"; then\r
6801   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5\r
6802 $as_echo "$ac_ct_STRIP" >&6; }\r
6803 else\r
6804   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6805 $as_echo "no" >&6; }\r
6806 fi\r
6807 \r
6808   if test "x$ac_ct_STRIP" = x; then\r
6809     STRIP=":"\r
6810   else\r
6811     case $cross_compiling:$ac_tool_warned in\r
6812 yes:)\r
6813 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5\r
6814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
6815 ac_tool_warned=yes ;;\r
6816 esac\r
6817     STRIP=$ac_ct_STRIP\r
6818   fi\r
6819 else\r
6820   STRIP="$ac_cv_prog_STRIP"\r
6821 fi\r
6822 \r
6823 \r
6824 old_CC="$CC"\r
6825 old_CFLAGS="$CFLAGS"\r
6826 \r
6827 # Set sane defaults for various variables\r
6828 test -z "$AR" && AR=ar\r
6829 test -z "$AR_FLAGS" && AR_FLAGS=cru\r
6830 test -z "$AS" && AS=as\r
6831 test -z "$CC" && CC=cc\r
6832 test -z "$LTCC" && LTCC=$CC\r
6833 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS\r
6834 test -z "$DLLTOOL" && DLLTOOL=dlltool\r
6835 test -z "$LD" && LD=ld\r
6836 test -z "$LN_S" && LN_S="ln -s"\r
6837 test -z "$MAGIC_CMD" && MAGIC_CMD=file\r
6838 test -z "$NM" && NM=nm\r
6839 test -z "$SED" && SED=sed\r
6840 test -z "$OBJDUMP" && OBJDUMP=objdump\r
6841 test -z "$RANLIB" && RANLIB=:\r
6842 test -z "$STRIP" && STRIP=:\r
6843 test -z "$ac_objext" && ac_objext=o\r
6844 \r
6845 # Determine commands to create old-style static archives.\r
6846 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'\r
6847 old_postinstall_cmds='chmod 644 $oldlib'\r
6848 old_postuninstall_cmds=\r
6849 \r
6850 if test -n "$RANLIB"; then\r
6851   case $host_os in\r
6852   openbsd*)\r
6853     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"\r
6854     ;;\r
6855   *)\r
6856     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"\r
6857     ;;\r
6858   esac\r
6859   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"\r
6860 fi\r
6861 \r
6862 for cc_temp in $compiler""; do\r
6863   case $cc_temp in\r
6864     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
6865     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
6866     \-*) ;;\r
6867     *) break;;\r
6868   esac\r
6869 done\r
6870 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
6871 \r
6872 \r
6873 # Only perform the check for file, if the check method requires it\r
6874 case $deplibs_check_method in\r
6875 file_magic*)\r
6876   if test "$file_magic_cmd" = '$MAGIC_CMD'; then\r
6877     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5\r
6878 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }\r
6879 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then\r
6880   $as_echo_n "(cached) " >&6\r
6881 else\r
6882   case $MAGIC_CMD in\r
6883 [\\/*] |  ?:[\\/]*)\r
6884   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.\r
6885   ;;\r
6886 *)\r
6887   lt_save_MAGIC_CMD="$MAGIC_CMD"\r
6888   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
6889   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"\r
6890   for ac_dir in $ac_dummy; do\r
6891     IFS="$lt_save_ifs"\r
6892     test -z "$ac_dir" && ac_dir=.\r
6893     if test -f $ac_dir/${ac_tool_prefix}file; then\r
6894       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"\r
6895       if test -n "$file_magic_test_file"; then\r
6896         case $deplibs_check_method in\r
6897         "file_magic "*)\r
6898           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`\r
6899           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
6900           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |\r
6901             $EGREP "$file_magic_regex" > /dev/null; then\r
6902             :\r
6903           else\r
6904             cat <<EOF 1>&2\r
6905 \r
6906 *** Warning: the command libtool uses to detect shared libraries,\r
6907 *** $file_magic_cmd, produces output that libtool cannot recognize.\r
6908 *** The result is that libtool may fail to recognize shared libraries\r
6909 *** as such.  This will affect the creation of libtool libraries that\r
6910 *** depend on shared libraries, but programs linked with such libtool\r
6911 *** libraries will work regardless of this problem.  Nevertheless, you\r
6912 *** may want to report the problem to your system manager and/or to\r
6913 *** bug-libtool@gnu.org\r
6914 \r
6915 EOF\r
6916           fi ;;\r
6917         esac\r
6918       fi\r
6919       break\r
6920     fi\r
6921   done\r
6922   IFS="$lt_save_ifs"\r
6923   MAGIC_CMD="$lt_save_MAGIC_CMD"\r
6924   ;;\r
6925 esac\r
6926 fi\r
6927 \r
6928 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
6929 if test -n "$MAGIC_CMD"; then\r
6930   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5\r
6931 $as_echo "$MAGIC_CMD" >&6; }\r
6932 else\r
6933   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6934 $as_echo "no" >&6; }\r
6935 fi\r
6936 \r
6937 if test -z "$lt_cv_path_MAGIC_CMD"; then\r
6938   if test -n "$ac_tool_prefix"; then\r
6939     { $as_echo "$as_me:$LINENO: checking for file" >&5\r
6940 $as_echo_n "checking for file... " >&6; }\r
6941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then\r
6942   $as_echo_n "(cached) " >&6\r
6943 else\r
6944   case $MAGIC_CMD in\r
6945 [\\/*] |  ?:[\\/]*)\r
6946   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.\r
6947   ;;\r
6948 *)\r
6949   lt_save_MAGIC_CMD="$MAGIC_CMD"\r
6950   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
6951   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"\r
6952   for ac_dir in $ac_dummy; do\r
6953     IFS="$lt_save_ifs"\r
6954     test -z "$ac_dir" && ac_dir=.\r
6955     if test -f $ac_dir/file; then\r
6956       lt_cv_path_MAGIC_CMD="$ac_dir/file"\r
6957       if test -n "$file_magic_test_file"; then\r
6958         case $deplibs_check_method in\r
6959         "file_magic "*)\r
6960           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`\r
6961           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
6962           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |\r
6963             $EGREP "$file_magic_regex" > /dev/null; then\r
6964             :\r
6965           else\r
6966             cat <<EOF 1>&2\r
6967 \r
6968 *** Warning: the command libtool uses to detect shared libraries,\r
6969 *** $file_magic_cmd, produces output that libtool cannot recognize.\r
6970 *** The result is that libtool may fail to recognize shared libraries\r
6971 *** as such.  This will affect the creation of libtool libraries that\r
6972 *** depend on shared libraries, but programs linked with such libtool\r
6973 *** libraries will work regardless of this problem.  Nevertheless, you\r
6974 *** may want to report the problem to your system manager and/or to\r
6975 *** bug-libtool@gnu.org\r
6976 \r
6977 EOF\r
6978           fi ;;\r
6979         esac\r
6980       fi\r
6981       break\r
6982     fi\r
6983   done\r
6984   IFS="$lt_save_ifs"\r
6985   MAGIC_CMD="$lt_save_MAGIC_CMD"\r
6986   ;;\r
6987 esac\r
6988 fi\r
6989 \r
6990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"\r
6991 if test -n "$MAGIC_CMD"; then\r
6992   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5\r
6993 $as_echo "$MAGIC_CMD" >&6; }\r
6994 else\r
6995   { $as_echo "$as_me:$LINENO: result: no" >&5\r
6996 $as_echo "no" >&6; }\r
6997 fi\r
6998 \r
6999   else\r
7000     MAGIC_CMD=:\r
7001   fi\r
7002 fi\r
7003 \r
7004   fi\r
7005   ;;\r
7006 esac\r
7007 \r
7008 enable_dlopen=no\r
7009 enable_win32_dll=no\r
7010 \r
7011 # Check whether --enable-libtool-lock was given.\r
7012 if test "${enable_libtool_lock+set}" = set; then\r
7013   enableval=$enable_libtool_lock;\r
7014 fi\r
7015 \r
7016 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes\r
7017 \r
7018 \r
7019 # Check whether --with-pic was given.\r
7020 if test "${with_pic+set}" = set; then\r
7021   withval=$with_pic; pic_mode="$withval"\r
7022 else\r
7023   pic_mode=default\r
7024 fi\r
7025 \r
7026 test -z "$pic_mode" && pic_mode=default\r
7027 \r
7028 # Use C for the default configuration in the libtool script\r
7029 tagname=\r
7030 lt_save_CC="$CC"\r
7031 ac_ext=c\r
7032 ac_cpp='$CPP $CPPFLAGS'\r
7033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
7034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
7035 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
7036 \r
7037 \r
7038 # Source file extension for C test sources.\r
7039 ac_ext=c\r
7040 \r
7041 # Object file extension for compiled C test sources.\r
7042 objext=o\r
7043 objext=$objext\r
7044 \r
7045 # Code to be used in simple compile tests\r
7046 lt_simple_compile_test_code="int some_variable = 0;\n"\r
7047 \r
7048 # Code to be used in simple link tests\r
7049 lt_simple_link_test_code='int main(){return(0);}\n'\r
7050 \r
7051 \r
7052 # If no C compiler was specified, use CC.\r
7053 LTCC=${LTCC-"$CC"}\r
7054 \r
7055 # If no C compiler flags were specified, use CFLAGS.\r
7056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
7057 \r
7058 # Allow CC to be a program name with arguments.\r
7059 compiler=$CC\r
7060 \r
7061 \r
7062 # save warnings/boilerplate of simple test code\r
7063 ac_outfile=conftest.$ac_objext\r
7064 printf "$lt_simple_compile_test_code" >conftest.$ac_ext\r
7065 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
7066 _lt_compiler_boilerplate=`cat conftest.err`\r
7067 $rm conftest*\r
7068 \r
7069 ac_outfile=conftest.$ac_objext\r
7070 printf "$lt_simple_link_test_code" >conftest.$ac_ext\r
7071 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
7072 _lt_linker_boilerplate=`cat conftest.err`\r
7073 $rm conftest*\r
7074 \r
7075 \r
7076 \r
7077 lt_prog_compiler_no_builtin_flag=\r
7078 \r
7079 if test "$GCC" = yes; then\r
7080   lt_prog_compiler_no_builtin_flag=' -fno-builtin'\r
7081 \r
7082 \r
7083 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5\r
7084 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }\r
7085 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then\r
7086   $as_echo_n "(cached) " >&6\r
7087 else\r
7088   lt_cv_prog_compiler_rtti_exceptions=no\r
7089   ac_outfile=conftest.$ac_objext\r
7090    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
7091    lt_compiler_flag="-fno-rtti -fno-exceptions"\r
7092    # Insert the option either (1) after the last *FLAGS variable, or\r
7093    # (2) before a word containing "conftest.", or (3) at the end.\r
7094    # Note that $ac_compile itself does not contain backslashes and begins\r
7095    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
7096    # The option is referenced via a variable to avoid confusing sed.\r
7097    lt_compile=`echo "$ac_compile" | $SED \\r
7098    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
7099    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
7100    -e 's:$: $lt_compiler_flag:'`\r
7101    (eval echo "\"\$as_me:7101: $lt_compile\"" >&5)\r
7102    (eval "$lt_compile" 2>conftest.err)\r
7103    ac_status=$?\r
7104    cat conftest.err >&5\r
7105    echo "$as_me:7105: \$? = $ac_status" >&5\r
7106    if (exit $ac_status) && test -s "$ac_outfile"; then\r
7107      # The compiler can only warn and ignore the option if not recognized\r
7108      # So say no if there are warnings other than the usual output.\r
7109      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
7110      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
7111      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
7112        lt_cv_prog_compiler_rtti_exceptions=yes\r
7113      fi\r
7114    fi\r
7115    $rm conftest*\r
7116 \r
7117 fi\r
7118 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5\r
7119 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }\r
7120 \r
7121 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then\r
7122     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"\r
7123 else\r
7124     :\r
7125 fi\r
7126 \r
7127 fi\r
7128 \r
7129 lt_prog_compiler_wl=\r
7130 lt_prog_compiler_pic=\r
7131 lt_prog_compiler_static=\r
7132 \r
7133 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5\r
7134 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }\r
7135 \r
7136   if test "$GCC" = yes; then\r
7137     lt_prog_compiler_wl='-Wl,'\r
7138     lt_prog_compiler_static='-static'\r
7139 \r
7140     case $host_os in\r
7141       aix*)\r
7142       # All AIX code is PIC.\r
7143       if test "$host_cpu" = ia64; then\r
7144         # AIX 5 now supports IA64 processor\r
7145         lt_prog_compiler_static='-Bstatic'\r
7146       fi\r
7147       ;;\r
7148 \r
7149     amigaos*)\r
7150       # FIXME: we need at least 68020 code to build shared libraries, but\r
7151       # adding the `-m68020' flag to GCC prevents building anything better,\r
7152       # like `-m68040'.\r
7153       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'\r
7154       ;;\r
7155 \r
7156     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
7157       # PIC is the default for these OSes.\r
7158       ;;\r
7159 \r
7160     mingw* | pw32* | os2*)\r
7161       # This hack is so that the source file can tell whether it is being\r
7162       # built for inclusion in a dll (and should export symbols for example).\r
7163       lt_prog_compiler_pic='-DDLL_EXPORT'\r
7164       ;;\r
7165 \r
7166     darwin* | rhapsody*)\r
7167       # PIC is the default on this platform\r
7168       # Common symbols not allowed in MH_DYLIB files\r
7169       lt_prog_compiler_pic='-fno-common'\r
7170       ;;\r
7171 \r
7172     interix3*)\r
7173       # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
7174       # Instead, we relocate shared libraries at runtime.\r
7175       ;;\r
7176 \r
7177     msdosdjgpp*)\r
7178       # Just because we use GCC doesn't mean we suddenly get shared libraries\r
7179       # on systems that don't support them.\r
7180       lt_prog_compiler_can_build_shared=no\r
7181       enable_shared=no\r
7182       ;;\r
7183 \r
7184     sysv4*MP*)\r
7185       if test -d /usr/nec; then\r
7186         lt_prog_compiler_pic=-Kconform_pic\r
7187       fi\r
7188       ;;\r
7189 \r
7190     hpux*)\r
7191       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
7192       # not for PA HP-UX.\r
7193       case $host_cpu in\r
7194       hppa*64*|ia64*)\r
7195         # +Z the default\r
7196         ;;\r
7197       *)\r
7198         lt_prog_compiler_pic='-fPIC'\r
7199         ;;\r
7200       esac\r
7201       ;;\r
7202 \r
7203     *)\r
7204       lt_prog_compiler_pic='-fPIC'\r
7205       ;;\r
7206     esac\r
7207   else\r
7208     # PORTME Check for flag to pass linker flags through the system compiler.\r
7209     case $host_os in\r
7210     aix*)\r
7211       lt_prog_compiler_wl='-Wl,'\r
7212       if test "$host_cpu" = ia64; then\r
7213         # AIX 5 now supports IA64 processor\r
7214         lt_prog_compiler_static='-Bstatic'\r
7215       else\r
7216         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'\r
7217       fi\r
7218       ;;\r
7219       darwin*)\r
7220         # PIC is the default on this platform\r
7221         # Common symbols not allowed in MH_DYLIB files\r
7222        case $cc_basename in\r
7223          xlc*)\r
7224          lt_prog_compiler_pic='-qnocommon'\r
7225          lt_prog_compiler_wl='-Wl,'\r
7226          ;;\r
7227        esac\r
7228        ;;\r
7229 \r
7230     mingw* | pw32* | os2*)\r
7231       # This hack is so that the source file can tell whether it is being\r
7232       # built for inclusion in a dll (and should export symbols for example).\r
7233       lt_prog_compiler_pic='-DDLL_EXPORT'\r
7234       ;;\r
7235 \r
7236     hpux9* | hpux10* | hpux11*)\r
7237       lt_prog_compiler_wl='-Wl,'\r
7238       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
7239       # not for PA HP-UX.\r
7240       case $host_cpu in\r
7241       hppa*64*|ia64*)\r
7242         # +Z the default\r
7243         ;;\r
7244       *)\r
7245         lt_prog_compiler_pic='+Z'\r
7246         ;;\r
7247       esac\r
7248       # Is there a better lt_prog_compiler_static that works with the bundled CC?\r
7249       lt_prog_compiler_static='${wl}-a ${wl}archive'\r
7250       ;;\r
7251 \r
7252     irix5* | irix6* | nonstopux*)\r
7253       lt_prog_compiler_wl='-Wl,'\r
7254       # PIC (with -KPIC) is the default.\r
7255       lt_prog_compiler_static='-non_shared'\r
7256       ;;\r
7257 \r
7258     newsos6)\r
7259       lt_prog_compiler_pic='-KPIC'\r
7260       lt_prog_compiler_static='-Bstatic'\r
7261       ;;\r
7262 \r
7263     linux*)\r
7264       case $cc_basename in\r
7265       icc* | ecc*)\r
7266         lt_prog_compiler_wl='-Wl,'\r
7267         lt_prog_compiler_pic='-KPIC'\r
7268         lt_prog_compiler_static='-static'\r
7269         ;;\r
7270       pgcc* | pgf77* | pgf90* | pgf95*)\r
7271         # Portland Group compilers (*not* the Pentium gcc compiler,\r
7272         # which looks to be a dead project)\r
7273         lt_prog_compiler_wl='-Wl,'\r
7274         lt_prog_compiler_pic='-fpic'\r
7275         lt_prog_compiler_static='-Bstatic'\r
7276         ;;\r
7277       ccc*)\r
7278         lt_prog_compiler_wl='-Wl,'\r
7279         # All Alpha code is PIC.\r
7280         lt_prog_compiler_static='-non_shared'\r
7281         ;;\r
7282       esac\r
7283       ;;\r
7284 \r
7285     osf3* | osf4* | osf5*)\r
7286       lt_prog_compiler_wl='-Wl,'\r
7287       # All OSF/1 code is PIC.\r
7288       lt_prog_compiler_static='-non_shared'\r
7289       ;;\r
7290 \r
7291     solaris*)\r
7292       lt_prog_compiler_pic='-KPIC'\r
7293       lt_prog_compiler_static='-Bstatic'\r
7294       case $cc_basename in\r
7295       f77* | f90* | f95*)\r
7296         lt_prog_compiler_wl='-Qoption ld ';;\r
7297       *)\r
7298         lt_prog_compiler_wl='-Wl,';;\r
7299       esac\r
7300       ;;\r
7301 \r
7302     sunos4*)\r
7303       lt_prog_compiler_wl='-Qoption ld '\r
7304       lt_prog_compiler_pic='-PIC'\r
7305       lt_prog_compiler_static='-Bstatic'\r
7306       ;;\r
7307 \r
7308     sysv4 | sysv4.2uw2* | sysv4.3*)\r
7309       lt_prog_compiler_wl='-Wl,'\r
7310       lt_prog_compiler_pic='-KPIC'\r
7311       lt_prog_compiler_static='-Bstatic'\r
7312       ;;\r
7313 \r
7314     sysv4*MP*)\r
7315       if test -d /usr/nec ;then\r
7316         lt_prog_compiler_pic='-Kconform_pic'\r
7317         lt_prog_compiler_static='-Bstatic'\r
7318       fi\r
7319       ;;\r
7320 \r
7321     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
7322       lt_prog_compiler_wl='-Wl,'\r
7323       lt_prog_compiler_pic='-KPIC'\r
7324       lt_prog_compiler_static='-Bstatic'\r
7325       ;;\r
7326 \r
7327     unicos*)\r
7328       lt_prog_compiler_wl='-Wl,'\r
7329       lt_prog_compiler_can_build_shared=no\r
7330       ;;\r
7331 \r
7332     uts4*)\r
7333       lt_prog_compiler_pic='-pic'\r
7334       lt_prog_compiler_static='-Bstatic'\r
7335       ;;\r
7336 \r
7337     *)\r
7338       lt_prog_compiler_can_build_shared=no\r
7339       ;;\r
7340     esac\r
7341   fi\r
7342 \r
7343 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5\r
7344 $as_echo "$lt_prog_compiler_pic" >&6; }\r
7345 \r
7346 #\r
7347 # Check to make sure the PIC flag actually works.\r
7348 #\r
7349 if test -n "$lt_prog_compiler_pic"; then\r
7350 \r
7351 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5\r
7352 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }\r
7353 if test "${lt_prog_compiler_pic_works+set}" = set; then\r
7354   $as_echo_n "(cached) " >&6\r
7355 else\r
7356   lt_prog_compiler_pic_works=no\r
7357   ac_outfile=conftest.$ac_objext\r
7358    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
7359    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"\r
7360    # Insert the option either (1) after the last *FLAGS variable, or\r
7361    # (2) before a word containing "conftest.", or (3) at the end.\r
7362    # Note that $ac_compile itself does not contain backslashes and begins\r
7363    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
7364    # The option is referenced via a variable to avoid confusing sed.\r
7365    lt_compile=`echo "$ac_compile" | $SED \\r
7366    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
7367    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
7368    -e 's:$: $lt_compiler_flag:'`\r
7369    (eval echo "\"\$as_me:7369: $lt_compile\"" >&5)\r
7370    (eval "$lt_compile" 2>conftest.err)\r
7371    ac_status=$?\r
7372    cat conftest.err >&5\r
7373    echo "$as_me:7373: \$? = $ac_status" >&5\r
7374    if (exit $ac_status) && test -s "$ac_outfile"; then\r
7375      # The compiler can only warn and ignore the option if not recognized\r
7376      # So say no if there are warnings other than the usual output.\r
7377      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
7378      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
7379      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
7380        lt_prog_compiler_pic_works=yes\r
7381      fi\r
7382    fi\r
7383    $rm conftest*\r
7384 \r
7385 fi\r
7386 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5\r
7387 $as_echo "$lt_prog_compiler_pic_works" >&6; }\r
7388 \r
7389 if test x"$lt_prog_compiler_pic_works" = xyes; then\r
7390     case $lt_prog_compiler_pic in\r
7391      "" | " "*) ;;\r
7392      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;\r
7393      esac\r
7394 else\r
7395     lt_prog_compiler_pic=\r
7396      lt_prog_compiler_can_build_shared=no\r
7397 fi\r
7398 \r
7399 fi\r
7400 case $host_os in\r
7401   # For platforms which do not support PIC, -DPIC is meaningless:\r
7402   *djgpp*)\r
7403     lt_prog_compiler_pic=\r
7404     ;;\r
7405   *)\r
7406     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"\r
7407     ;;\r
7408 esac\r
7409 \r
7410 #\r
7411 # Check to make sure the static flag actually works.\r
7412 #\r
7413 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"\r
7414 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5\r
7415 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }\r
7416 if test "${lt_prog_compiler_static_works+set}" = set; then\r
7417   $as_echo_n "(cached) " >&6\r
7418 else\r
7419   lt_prog_compiler_static_works=no\r
7420    save_LDFLAGS="$LDFLAGS"\r
7421    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"\r
7422    printf "$lt_simple_link_test_code" > conftest.$ac_ext\r
7423    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then\r
7424      # The linker can only warn and ignore the option if not recognized\r
7425      # So say no if there are warnings\r
7426      if test -s conftest.err; then\r
7427        # Append any errors to the config.log.\r
7428        cat conftest.err 1>&5\r
7429        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp\r
7430        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
7431        if diff conftest.exp conftest.er2 >/dev/null; then\r
7432          lt_prog_compiler_static_works=yes\r
7433        fi\r
7434      else\r
7435        lt_prog_compiler_static_works=yes\r
7436      fi\r
7437    fi\r
7438    $rm conftest*\r
7439    LDFLAGS="$save_LDFLAGS"\r
7440 \r
7441 fi\r
7442 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5\r
7443 $as_echo "$lt_prog_compiler_static_works" >&6; }\r
7444 \r
7445 if test x"$lt_prog_compiler_static_works" = xyes; then\r
7446     :\r
7447 else\r
7448     lt_prog_compiler_static=\r
7449 fi\r
7450 \r
7451 \r
7452 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5\r
7453 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }\r
7454 if test "${lt_cv_prog_compiler_c_o+set}" = set; then\r
7455   $as_echo_n "(cached) " >&6\r
7456 else\r
7457   lt_cv_prog_compiler_c_o=no\r
7458    $rm -r conftest 2>/dev/null\r
7459    mkdir conftest\r
7460    cd conftest\r
7461    mkdir out\r
7462    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
7463 \r
7464    lt_compiler_flag="-o out/conftest2.$ac_objext"\r
7465    # Insert the option either (1) after the last *FLAGS variable, or\r
7466    # (2) before a word containing "conftest.", or (3) at the end.\r
7467    # Note that $ac_compile itself does not contain backslashes and begins\r
7468    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
7469    lt_compile=`echo "$ac_compile" | $SED \\r
7470    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
7471    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
7472    -e 's:$: $lt_compiler_flag:'`\r
7473    (eval echo "\"\$as_me:7473: $lt_compile\"" >&5)\r
7474    (eval "$lt_compile" 2>out/conftest.err)\r
7475    ac_status=$?\r
7476    cat out/conftest.err >&5\r
7477    echo "$as_me:7477: \$? = $ac_status" >&5\r
7478    if (exit $ac_status) && test -s out/conftest2.$ac_objext\r
7479    then\r
7480      # The compiler can only warn and ignore the option if not recognized\r
7481      # So say no if there are warnings\r
7482      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp\r
7483      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2\r
7484      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then\r
7485        lt_cv_prog_compiler_c_o=yes\r
7486      fi\r
7487    fi\r
7488    chmod u+w . 2>&5\r
7489    $rm conftest*\r
7490    # SGI C++ compiler will create directory out/ii_files/ for\r
7491    # template instantiation\r
7492    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files\r
7493    $rm out/* && rmdir out\r
7494    cd ..\r
7495    rmdir conftest\r
7496    $rm conftest*\r
7497 \r
7498 fi\r
7499 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5\r
7500 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }\r
7501 \r
7502 \r
7503 hard_links="nottested"\r
7504 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then\r
7505   # do not overwrite the value of need_locks provided by the user\r
7506   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5\r
7507 $as_echo_n "checking if we can lock with hard links... " >&6; }\r
7508   hard_links=yes\r
7509   $rm conftest*\r
7510   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
7511   touch conftest.a\r
7512   ln conftest.a conftest.b 2>&5 || hard_links=no\r
7513   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
7514   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5\r
7515 $as_echo "$hard_links" >&6; }\r
7516   if test "$hard_links" = no; then\r
7517     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5\r
7518 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}\r
7519     need_locks=warn\r
7520   fi\r
7521 else\r
7522   need_locks=no\r
7523 fi\r
7524 \r
7525 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5\r
7526 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }\r
7527 \r
7528   runpath_var=\r
7529   allow_undefined_flag=\r
7530   enable_shared_with_static_runtimes=no\r
7531   archive_cmds=\r
7532   archive_expsym_cmds=\r
7533   old_archive_From_new_cmds=\r
7534   old_archive_from_expsyms_cmds=\r
7535   export_dynamic_flag_spec=\r
7536   whole_archive_flag_spec=\r
7537   thread_safe_flag_spec=\r
7538   hardcode_libdir_flag_spec=\r
7539   hardcode_libdir_flag_spec_ld=\r
7540   hardcode_libdir_separator=\r
7541   hardcode_direct=no\r
7542   hardcode_minus_L=no\r
7543   hardcode_shlibpath_var=unsupported\r
7544   link_all_deplibs=unknown\r
7545   hardcode_automatic=no\r
7546   module_cmds=\r
7547   module_expsym_cmds=\r
7548   always_export_symbols=no\r
7549   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
7550   # include_expsyms should be a list of space-separated symbols to be *always*\r
7551   # included in the symbol list\r
7552   include_expsyms=\r
7553   # exclude_expsyms can be an extended regexp of symbols to exclude\r
7554   # it will be wrapped by ` (' and `)$', so one must not match beginning or\r
7555   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',\r
7556   # as well as any symbol that contains `d'.\r
7557   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"\r
7558   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out\r
7559   # platforms (ab)use it in PIC code, but their linkers get confused if\r
7560   # the symbol is explicitly referenced.  Since portable code cannot\r
7561   # rely on this symbol name, it's probably fine to never include it in\r
7562   # preloaded symbol tables.\r
7563   extract_expsyms_cmds=\r
7564   # Just being paranoid about ensuring that cc_basename is set.\r
7565   for cc_temp in $compiler""; do\r
7566   case $cc_temp in\r
7567     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
7568     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
7569     \-*) ;;\r
7570     *) break;;\r
7571   esac\r
7572 done\r
7573 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
7574 \r
7575   case $host_os in\r
7576   cygwin* | mingw* | pw32*)\r
7577     # FIXME: the MSVC++ port hasn't been tested in a loooong time\r
7578     # When not using gcc, we currently assume that we are using\r
7579     # Microsoft Visual C++.\r
7580     if test "$GCC" != yes; then\r
7581       with_gnu_ld=no\r
7582     fi\r
7583     ;;\r
7584   interix*)\r
7585     # we just hope/assume this is gcc and not c89 (= MSVC++)\r
7586     with_gnu_ld=yes\r
7587     ;;\r
7588   openbsd*)\r
7589     with_gnu_ld=no\r
7590     ;;\r
7591   esac\r
7592 \r
7593   ld_shlibs=yes\r
7594   if test "$with_gnu_ld" = yes; then\r
7595     # If archive_cmds runs LD, not CC, wlarc should be empty\r
7596     wlarc='${wl}'\r
7597 \r
7598     # Set some defaults for GNU ld with shared library support. These\r
7599     # are reset later if shared libraries are not supported. Putting them\r
7600     # here allows them to be overridden if necessary.\r
7601     runpath_var=LD_RUN_PATH\r
7602     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'\r
7603     export_dynamic_flag_spec='${wl}--export-dynamic'\r
7604     # ancient GNU ld didn't support --whole-archive et. al.\r
7605     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then\r
7606         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
7607       else\r
7608         whole_archive_flag_spec=\r
7609     fi\r
7610     supports_anon_versioning=no\r
7611     case `$LD -v 2>/dev/null` in\r
7612       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11\r
7613       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...\r
7614       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...\r
7615       *\ 2.11.*) ;; # other 2.11 versions\r
7616       *) supports_anon_versioning=yes ;;\r
7617     esac\r
7618 \r
7619     # See if GNU ld supports shared libraries.\r
7620     case $host_os in\r
7621     aix3* | aix4* | aix5*)\r
7622       # On AIX/PPC, the GNU linker is very broken\r
7623       if test "$host_cpu" != ia64; then\r
7624         ld_shlibs=no\r
7625         cat <<EOF 1>&2\r
7626 \r
7627 *** Warning: the GNU linker, at least up to release 2.9.1, is reported\r
7628 *** to be unable to reliably create shared libraries on AIX.\r
7629 *** Therefore, libtool is disabling shared libraries support.  If you\r
7630 *** really care for shared libraries, you may want to modify your PATH\r
7631 *** so that a non-GNU linker is found, and then restart.\r
7632 \r
7633 EOF\r
7634       fi\r
7635       ;;\r
7636 \r
7637     amigaos*)\r
7638       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)'\r
7639       hardcode_libdir_flag_spec='-L$libdir'\r
7640       hardcode_minus_L=yes\r
7641 \r
7642       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports\r
7643       # that the semantics of dynamic libraries on AmigaOS, at least up\r
7644       # to version 4, is to share data among multiple programs linked\r
7645       # with the same dynamic library.  Since this doesn't match the\r
7646       # behavior of shared libraries on other platforms, we can't use\r
7647       # them.\r
7648       ld_shlibs=no\r
7649       ;;\r
7650 \r
7651     beos*)\r
7652       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
7653         allow_undefined_flag=unsupported\r
7654         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
7655         # support --undefined.  This deserves some investigation.  FIXME\r
7656         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
7657       else\r
7658         ld_shlibs=no\r
7659       fi\r
7660       ;;\r
7661 \r
7662     cygwin* | mingw* | pw32*)\r
7663       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,\r
7664       # as there is no search path for DLLs.\r
7665       hardcode_libdir_flag_spec='-L$libdir'\r
7666       allow_undefined_flag=unsupported\r
7667       always_export_symbols=no\r
7668       enable_shared_with_static_runtimes=yes\r
7669       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'\r
7670 \r
7671       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then\r
7672         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
7673         # If the export-symbols file already is a .def file (1st line\r
7674         # is EXPORTS), use it as is; otherwise, prepend...\r
7675         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
7676           cp $export_symbols $output_objdir/$soname.def;\r
7677         else\r
7678           echo EXPORTS > $output_objdir/$soname.def;\r
7679           cat $export_symbols >> $output_objdir/$soname.def;\r
7680         fi~\r
7681         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
7682       else\r
7683         ld_shlibs=no\r
7684       fi\r
7685       ;;\r
7686 \r
7687     interix3*)\r
7688       hardcode_direct=no\r
7689       hardcode_shlibpath_var=no\r
7690       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'\r
7691       export_dynamic_flag_spec='${wl}-E'\r
7692       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
7693       # Instead, shared libraries are loaded at an image base (0x10000000 by\r
7694       # default) and relocated if they conflict, which is a slow very memory\r
7695       # consuming and fragmenting process.  To avoid this, we pick a random,\r
7696       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
7697       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
7698       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'\r
7699       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'\r
7700       ;;\r
7701 \r
7702     linux*)\r
7703       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
7704         tmp_addflag=\r
7705         case $cc_basename,$host_cpu in\r
7706         pgcc*)                          # Portland Group C compiler\r
7707           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
7708           tmp_addflag=' $pic_flag'\r
7709           ;;\r
7710         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers\r
7711           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
7712           tmp_addflag=' $pic_flag -Mnomain' ;;\r
7713         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64\r
7714           tmp_addflag=' -i_dynamic' ;;\r
7715         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64\r
7716           tmp_addflag=' -i_dynamic -nofor_main' ;;\r
7717         ifc* | ifort*)                  # Intel Fortran compiler\r
7718           tmp_addflag=' -nofor_main' ;;\r
7719         esac\r
7720         archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
7721 \r
7722         if test $supports_anon_versioning = yes; then\r
7723           archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~\r
7724   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
7725   $echo "local: *; };" >> $output_objdir/$libname.ver~\r
7726           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'\r
7727         fi\r
7728       else\r
7729         ld_shlibs=no\r
7730       fi\r
7731       ;;\r
7732 \r
7733     netbsd*)\r
7734       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
7735         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'\r
7736         wlarc=\r
7737       else\r
7738         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
7739         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
7740       fi\r
7741       ;;\r
7742 \r
7743     solaris*)\r
7744       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then\r
7745         ld_shlibs=no\r
7746         cat <<EOF 1>&2\r
7747 \r
7748 *** Warning: The releases 2.8.* of the GNU linker cannot reliably\r
7749 *** create shared libraries on Solaris systems.  Therefore, libtool\r
7750 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
7751 *** binutils to release 2.9.1 or newer.  Another option is to modify\r
7752 *** your PATH or compiler configuration so that the native linker is\r
7753 *** used, and then restart.\r
7754 \r
7755 EOF\r
7756       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
7757         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
7758         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
7759       else\r
7760         ld_shlibs=no\r
7761       fi\r
7762       ;;\r
7763 \r
7764     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)\r
7765       case `$LD -v 2>&1` in\r
7766         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)\r
7767         ld_shlibs=no\r
7768         cat <<_LT_EOF 1>&2\r
7769 \r
7770 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not\r
7771 *** reliably create shared libraries on SCO systems.  Therefore, libtool\r
7772 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
7773 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify\r
7774 *** your PATH or compiler configuration so that the native linker is\r
7775 *** used, and then restart.\r
7776 \r
7777 _LT_EOF\r
7778         ;;\r
7779         *)\r
7780           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
7781             hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'\r
7782             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'\r
7783             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'\r
7784           else\r
7785             ld_shlibs=no\r
7786           fi\r
7787         ;;\r
7788       esac\r
7789       ;;\r
7790 \r
7791     sunos4*)\r
7792       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
7793       wlarc=\r
7794       hardcode_direct=yes\r
7795       hardcode_shlibpath_var=no\r
7796       ;;\r
7797 \r
7798     *)\r
7799       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
7800         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
7801         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
7802       else\r
7803         ld_shlibs=no\r
7804       fi\r
7805       ;;\r
7806     esac\r
7807 \r
7808     if test "$ld_shlibs" = no; then\r
7809       runpath_var=\r
7810       hardcode_libdir_flag_spec=\r
7811       export_dynamic_flag_spec=\r
7812       whole_archive_flag_spec=\r
7813     fi\r
7814   else\r
7815     # PORTME fill in a description of your system's linker (not GNU ld)\r
7816     case $host_os in\r
7817     aix3*)\r
7818       allow_undefined_flag=unsupported\r
7819       always_export_symbols=yes\r
7820       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'\r
7821       # Note: this linker hardcodes the directories in LIBPATH if there\r
7822       # are no directories specified by -L.\r
7823       hardcode_minus_L=yes\r
7824       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then\r
7825         # Neither direct hardcoding nor static linking is supported with a\r
7826         # broken collect2.\r
7827         hardcode_direct=unsupported\r
7828       fi\r
7829       ;;\r
7830 \r
7831     aix4* | aix5*)\r
7832       if test "$host_cpu" = ia64; then\r
7833         # On IA64, the linker does run time linking by default, so we don't\r
7834         # have to do anything special.\r
7835         aix_use_runtimelinking=no\r
7836         exp_sym_flag='-Bexport'\r
7837         no_entry_flag=""\r
7838       else\r
7839         # If we're using GNU nm, then we don't want the "-C" option.\r
7840         # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
7841         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then\r
7842           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
7843         else\r
7844           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
7845         fi\r
7846         aix_use_runtimelinking=no\r
7847 \r
7848         # Test if we are trying to use run time linking or normal\r
7849         # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
7850         # need to do runtime linking.\r
7851         case $host_os in aix4.[23]|aix4.[23].*|aix5*)\r
7852           for ld_flag in $LDFLAGS; do\r
7853           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then\r
7854             aix_use_runtimelinking=yes\r
7855             break\r
7856           fi\r
7857           done\r
7858           ;;\r
7859         esac\r
7860 \r
7861         exp_sym_flag='-bexport'\r
7862         no_entry_flag='-bnoentry'\r
7863       fi\r
7864 \r
7865       # When large executables or shared objects are built, AIX ld can\r
7866       # have problems creating the table of contents.  If linking a library\r
7867       # or program results in "error TOC overflow" add -mminimal-toc to\r
7868       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
7869       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
7870 \r
7871       archive_cmds=''\r
7872       hardcode_direct=yes\r
7873       hardcode_libdir_separator=':'\r
7874       link_all_deplibs=yes\r
7875 \r
7876       if test "$GCC" = yes; then\r
7877         case $host_os in aix4.[012]|aix4.[012].*)\r
7878         # We only want to do this on AIX 4.2 and lower, the check\r
7879         # below for broken collect2 doesn't work under 4.3+\r
7880           collect2name=`${CC} -print-prog-name=collect2`\r
7881           if test -f "$collect2name" && \\r
7882            strings "$collect2name" | grep resolve_lib_name >/dev/null\r
7883           then\r
7884           # We have reworked collect2\r
7885           hardcode_direct=yes\r
7886           else\r
7887           # We have old collect2\r
7888           hardcode_direct=unsupported\r
7889           # It fails to find uninstalled libraries when the uninstalled\r
7890           # path is not listed in the libpath.  Setting hardcode_minus_L\r
7891           # to unsupported forces relinking\r
7892           hardcode_minus_L=yes\r
7893           hardcode_libdir_flag_spec='-L$libdir'\r
7894           hardcode_libdir_separator=\r
7895           fi\r
7896           ;;\r
7897         esac\r
7898         shared_flag='-shared'\r
7899         if test "$aix_use_runtimelinking" = yes; then\r
7900           shared_flag="$shared_flag "'${wl}-G'\r
7901         fi\r
7902       else\r
7903         # not using gcc\r
7904         if test "$host_cpu" = ia64; then\r
7905         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
7906         # chokes on -Wl,-G. The following line is correct:\r
7907           shared_flag='-G'\r
7908         else\r
7909           if test "$aix_use_runtimelinking" = yes; then\r
7910             shared_flag='${wl}-G'\r
7911           else\r
7912             shared_flag='${wl}-bM:SRE'\r
7913           fi\r
7914         fi\r
7915       fi\r
7916 \r
7917       # It seems that -bexpall does not export symbols beginning with\r
7918       # underscore (_), so it is better to generate a list of symbols to export.\r
7919       always_export_symbols=yes\r
7920       if test "$aix_use_runtimelinking" = yes; then\r
7921         # Warning - without using the other runtime loading flags (-brtl),\r
7922         # -berok will link without error, but may produce a broken library.\r
7923         allow_undefined_flag='-berok'\r
7924        # Determine the default libpath from the value encoded in an empty executable.\r
7925        cat >conftest.$ac_ext <<_ACEOF\r
7926 /* confdefs.h.  */\r
7927 _ACEOF\r
7928 cat confdefs.h >>conftest.$ac_ext\r
7929 cat >>conftest.$ac_ext <<_ACEOF\r
7930 /* end confdefs.h.  */\r
7931 \r
7932 int\r
7933 main ()\r
7934 {\r
7935 \r
7936   ;\r
7937   return 0;\r
7938 }\r
7939 _ACEOF\r
7940 rm -f conftest.$ac_objext conftest$ac_exeext\r
7941 if { (ac_try="$ac_link"\r
7942 case "(($ac_try" in\r
7943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7944   *) ac_try_echo=$ac_try;;\r
7945 esac\r
7946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
7947 $as_echo "$ac_try_echo") >&5\r
7948   (eval "$ac_link") 2>conftest.er1\r
7949   ac_status=$?\r
7950   grep -v '^ *+' conftest.er1 >conftest.err\r
7951   rm -f conftest.er1\r
7952   cat conftest.err >&5\r
7953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7954   (exit $ac_status); } && {\r
7955          test -z "$ac_c_werror_flag" ||\r
7956          test ! -s conftest.err\r
7957        } && test -s conftest$ac_exeext && {\r
7958          test "$cross_compiling" = yes ||\r
7959          $as_test_x conftest$ac_exeext\r
7960        }; then\r
7961 \r
7962 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
7963 }'`\r
7964 # Check for a 64-bit object if we didn't find anything.\r
7965 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
7966 }'`; fi\r
7967 else\r
7968   $as_echo "$as_me: failed program was:" >&5\r
7969 sed 's/^/| /' conftest.$ac_ext >&5\r
7970 \r
7971 \r
7972 fi\r
7973 \r
7974 rm -rf conftest.dSYM\r
7975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
7976       conftest$ac_exeext conftest.$ac_ext\r
7977 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
7978 \r
7979        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"\r
7980         archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
7981        else\r
7982         if test "$host_cpu" = ia64; then\r
7983           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'\r
7984           allow_undefined_flag="-z nodefs"\r
7985           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"\r
7986         else\r
7987          # Determine the default libpath from the value encoded in an empty executable.\r
7988          cat >conftest.$ac_ext <<_ACEOF\r
7989 /* confdefs.h.  */\r
7990 _ACEOF\r
7991 cat confdefs.h >>conftest.$ac_ext\r
7992 cat >>conftest.$ac_ext <<_ACEOF\r
7993 /* end confdefs.h.  */\r
7994 \r
7995 int\r
7996 main ()\r
7997 {\r
7998 \r
7999   ;\r
8000   return 0;\r
8001 }\r
8002 _ACEOF\r
8003 rm -f conftest.$ac_objext conftest$ac_exeext\r
8004 if { (ac_try="$ac_link"\r
8005 case "(($ac_try" in\r
8006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8007   *) ac_try_echo=$ac_try;;\r
8008 esac\r
8009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
8010 $as_echo "$ac_try_echo") >&5\r
8011   (eval "$ac_link") 2>conftest.er1\r
8012   ac_status=$?\r
8013   grep -v '^ *+' conftest.er1 >conftest.err\r
8014   rm -f conftest.er1\r
8015   cat conftest.err >&5\r
8016   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8017   (exit $ac_status); } && {\r
8018          test -z "$ac_c_werror_flag" ||\r
8019          test ! -s conftest.err\r
8020        } && test -s conftest$ac_exeext && {\r
8021          test "$cross_compiling" = yes ||\r
8022          $as_test_x conftest$ac_exeext\r
8023        }; then\r
8024 \r
8025 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
8026 }'`\r
8027 # Check for a 64-bit object if we didn't find anything.\r
8028 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
8029 }'`; fi\r
8030 else\r
8031   $as_echo "$as_me: failed program was:" >&5\r
8032 sed 's/^/| /' conftest.$ac_ext >&5\r
8033 \r
8034 \r
8035 fi\r
8036 \r
8037 rm -rf conftest.dSYM\r
8038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8039       conftest$ac_exeext conftest.$ac_ext\r
8040 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
8041 \r
8042          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"\r
8043           # Warning - without using the other run time loading flags,\r
8044           # -berok will link without error, but may produce a broken library.\r
8045           no_undefined_flag=' ${wl}-bernotok'\r
8046           allow_undefined_flag=' ${wl}-berok'\r
8047           # Exported symbols can be pulled into shared objects from archives\r
8048           whole_archive_flag_spec='$convenience'\r
8049           archive_cmds_need_lc=yes\r
8050           # This is similar to how AIX traditionally builds its shared libraries.\r
8051           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'\r
8052         fi\r
8053       fi\r
8054       ;;\r
8055 \r
8056     amigaos*)\r
8057       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)'\r
8058       hardcode_libdir_flag_spec='-L$libdir'\r
8059       hardcode_minus_L=yes\r
8060       # see comment about different semantics on the GNU ld section\r
8061       ld_shlibs=no\r
8062       ;;\r
8063 \r
8064     bsdi[45]*)\r
8065       export_dynamic_flag_spec=-rdynamic\r
8066       ;;\r
8067 \r
8068     cygwin* | mingw* | pw32*)\r
8069       # When not using gcc, we currently assume that we are using\r
8070       # Microsoft Visual C++.\r
8071       # hardcode_libdir_flag_spec is actually meaningless, as there is\r
8072       # no search path for DLLs.\r
8073       hardcode_libdir_flag_spec=' '\r
8074       allow_undefined_flag=unsupported\r
8075       # Tell ltmain to make .lib files, not .a files.\r
8076       libext=lib\r
8077       # Tell ltmain to make .dll files, not .so files.\r
8078       shrext_cmds=".dll"\r
8079       # FIXME: Setting linknames here is a bad hack.\r
8080       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='\r
8081       # The linker will automatically build a .lib file if we build a DLL.\r
8082       old_archive_From_new_cmds='true'\r
8083       # FIXME: Should let the user specify the lib program.\r
8084       old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'\r
8085       fix_srcfile_path='`cygpath -w "$srcfile"`'\r
8086       enable_shared_with_static_runtimes=yes\r
8087       ;;\r
8088 \r
8089     darwin* | rhapsody*)\r
8090       case $host_os in\r
8091         rhapsody* | darwin1.[012])\r
8092          allow_undefined_flag='${wl}-undefined ${wl}suppress'\r
8093          ;;\r
8094        *) # Darwin 1.3 on\r
8095          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then\r
8096            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
8097          else\r
8098            case ${MACOSX_DEPLOYMENT_TARGET} in\r
8099              10.[012])\r
8100                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
8101                ;;\r
8102              10.*)\r
8103                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'\r
8104                ;;\r
8105            esac\r
8106          fi\r
8107          ;;\r
8108       esac\r
8109       archive_cmds_need_lc=no\r
8110       hardcode_direct=no\r
8111       hardcode_automatic=yes\r
8112       hardcode_shlibpath_var=unsupported\r
8113       whole_archive_flag_spec=''\r
8114       link_all_deplibs=yes\r
8115     if test "$GCC" = yes ; then\r
8116         output_verbose_link_cmd='echo'\r
8117         archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'\r
8118       module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
8119       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
8120       archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
8121       module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
8122     else\r
8123       case $cc_basename in\r
8124         xlc*)\r
8125          output_verbose_link_cmd='echo'\r
8126          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'\r
8127          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
8128           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
8129          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
8130           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
8131           ;;\r
8132        *)\r
8133          ld_shlibs=no\r
8134           ;;\r
8135       esac\r
8136     fi\r
8137       ;;\r
8138 \r
8139     dgux*)\r
8140       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8141       hardcode_libdir_flag_spec='-L$libdir'\r
8142       hardcode_shlibpath_var=no\r
8143       ;;\r
8144 \r
8145     freebsd1*)\r
8146       ld_shlibs=no\r
8147       ;;\r
8148 \r
8149     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor\r
8150     # support.  Future versions do this automatically, but an explicit c++rt0.o\r
8151     # does not break anything, and helps significantly (at the cost of a little\r
8152     # extra space).\r
8153     freebsd2.2*)\r
8154       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'\r
8155       hardcode_libdir_flag_spec='-R$libdir'\r
8156       hardcode_direct=yes\r
8157       hardcode_shlibpath_var=no\r
8158       ;;\r
8159 \r
8160     # Unfortunately, older versions of FreeBSD 2 do not have this feature.\r
8161     freebsd2*)\r
8162       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
8163       hardcode_direct=yes\r
8164       hardcode_minus_L=yes\r
8165       hardcode_shlibpath_var=no\r
8166       ;;\r
8167 \r
8168     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.\r
8169     freebsd* | kfreebsd*-gnu | dragonfly*)\r
8170       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'\r
8171       hardcode_libdir_flag_spec='-R$libdir'\r
8172       hardcode_direct=yes\r
8173       hardcode_shlibpath_var=no\r
8174       ;;\r
8175 \r
8176     hpux9*)\r
8177       if test "$GCC" = yes; then\r
8178         archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
8179       else\r
8180         archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
8181       fi\r
8182       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'\r
8183       hardcode_libdir_separator=:\r
8184       hardcode_direct=yes\r
8185 \r
8186       # hardcode_minus_L: Not really in the search PATH,\r
8187       # but as the default location of the library.\r
8188       hardcode_minus_L=yes\r
8189       export_dynamic_flag_spec='${wl}-E'\r
8190       ;;\r
8191 \r
8192     hpux10*)\r
8193       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
8194         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
8195       else\r
8196         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'\r
8197       fi\r
8198       if test "$with_gnu_ld" = no; then\r
8199         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'\r
8200         hardcode_libdir_separator=:\r
8201 \r
8202         hardcode_direct=yes\r
8203         export_dynamic_flag_spec='${wl}-E'\r
8204 \r
8205         # hardcode_minus_L: Not really in the search PATH,\r
8206         # but as the default location of the library.\r
8207         hardcode_minus_L=yes\r
8208       fi\r
8209       ;;\r
8210 \r
8211     hpux11*)\r
8212       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
8213         case $host_cpu in\r
8214         hppa*64*)\r
8215           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8216           ;;\r
8217         ia64*)\r
8218           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
8219           ;;\r
8220         *)\r
8221           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
8222           ;;\r
8223         esac\r
8224       else\r
8225         case $host_cpu in\r
8226         hppa*64*)\r
8227           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8228           ;;\r
8229         ia64*)\r
8230           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
8231           ;;\r
8232         *)\r
8233           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
8234           ;;\r
8235         esac\r
8236       fi\r
8237       if test "$with_gnu_ld" = no; then\r
8238         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'\r
8239         hardcode_libdir_separator=:\r
8240 \r
8241         case $host_cpu in\r
8242         hppa*64*|ia64*)\r
8243           hardcode_libdir_flag_spec_ld='+b $libdir'\r
8244           hardcode_direct=no\r
8245           hardcode_shlibpath_var=no\r
8246           ;;\r
8247         *)\r
8248           hardcode_direct=yes\r
8249           export_dynamic_flag_spec='${wl}-E'\r
8250 \r
8251           # hardcode_minus_L: Not really in the search PATH,\r
8252           # but as the default location of the library.\r
8253           hardcode_minus_L=yes\r
8254           ;;\r
8255         esac\r
8256       fi\r
8257       ;;\r
8258 \r
8259     irix5* | irix6* | nonstopux*)\r
8260       if test "$GCC" = yes; then\r
8261         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
8262       else\r
8263         archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
8264         hardcode_libdir_flag_spec_ld='-rpath $libdir'\r
8265       fi\r
8266       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'\r
8267       hardcode_libdir_separator=:\r
8268       link_all_deplibs=yes\r
8269       ;;\r
8270 \r
8271     netbsd*)\r
8272       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
8273         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out\r
8274       else\r
8275         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF\r
8276       fi\r
8277       hardcode_libdir_flag_spec='-R$libdir'\r
8278       hardcode_direct=yes\r
8279       hardcode_shlibpath_var=no\r
8280       ;;\r
8281 \r
8282     newsos6)\r
8283       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8284       hardcode_direct=yes\r
8285       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'\r
8286       hardcode_libdir_separator=:\r
8287       hardcode_shlibpath_var=no\r
8288       ;;\r
8289 \r
8290     openbsd*)\r
8291       hardcode_direct=yes\r
8292       hardcode_shlibpath_var=no\r
8293       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
8294         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
8295         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'\r
8296         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'\r
8297         export_dynamic_flag_spec='${wl}-E'\r
8298       else\r
8299        case $host_os in\r
8300          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)\r
8301            archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
8302            hardcode_libdir_flag_spec='-R$libdir'\r
8303            ;;\r
8304          *)\r
8305            archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
8306            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'\r
8307            ;;\r
8308        esac\r
8309       fi\r
8310       ;;\r
8311 \r
8312     os2*)\r
8313       hardcode_libdir_flag_spec='-L$libdir'\r
8314       hardcode_minus_L=yes\r
8315       allow_undefined_flag=unsupported\r
8316       archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'\r
8317       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'\r
8318       ;;\r
8319 \r
8320     osf3*)\r
8321       if test "$GCC" = yes; then\r
8322         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'\r
8323         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
8324       else\r
8325         allow_undefined_flag=' -expect_unresolved \*'\r
8326         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
8327       fi\r
8328       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'\r
8329       hardcode_libdir_separator=:\r
8330       ;;\r
8331 \r
8332     osf4* | osf5*)      # as osf3* with the addition of -msym flag\r
8333       if test "$GCC" = yes; then\r
8334         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'\r
8335         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
8336         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'\r
8337       else\r
8338         allow_undefined_flag=' -expect_unresolved \*'\r
8339         archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
8340         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~\r
8341         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'\r
8342 \r
8343         # Both c and cxx compiler support -rpath directly\r
8344         hardcode_libdir_flag_spec='-rpath $libdir'\r
8345       fi\r
8346       hardcode_libdir_separator=:\r
8347       ;;\r
8348 \r
8349     solaris*)\r
8350       no_undefined_flag=' -z text'\r
8351       if test "$GCC" = yes; then\r
8352         wlarc='${wl}'\r
8353         archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8354         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
8355           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'\r
8356       else\r
8357         wlarc=''\r
8358         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8359         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
8360         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'\r
8361       fi\r
8362       hardcode_libdir_flag_spec='-R$libdir'\r
8363       hardcode_shlibpath_var=no\r
8364       case $host_os in\r
8365       solaris2.[0-5] | solaris2.[0-5].*) ;;\r
8366       *)\r
8367         # The compiler driver will combine linker options so we\r
8368         # cannot just pass the convience library names through\r
8369         # without $wl, iff we do not link with $LD.\r
8370         # Luckily, gcc supports the same syntax we need for Sun Studio.\r
8371         # Supported since Solaris 2.6 (maybe 2.5.1?)\r
8372         case $wlarc in\r
8373         '')\r
8374           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;\r
8375         *)\r
8376           whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;\r
8377         esac ;;\r
8378       esac\r
8379       link_all_deplibs=yes\r
8380       ;;\r
8381 \r
8382     sunos4*)\r
8383       if test "x$host_vendor" = xsequent; then\r
8384         # Use $CC to link under sequent, because it throws in some extra .o\r
8385         # files that make .init and .fini sections work.\r
8386         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'\r
8387       else\r
8388         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'\r
8389       fi\r
8390       hardcode_libdir_flag_spec='-L$libdir'\r
8391       hardcode_direct=yes\r
8392       hardcode_minus_L=yes\r
8393       hardcode_shlibpath_var=no\r
8394       ;;\r
8395 \r
8396     sysv4)\r
8397       case $host_vendor in\r
8398         sni)\r
8399           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8400           hardcode_direct=yes # is this really true???\r
8401         ;;\r
8402         siemens)\r
8403           ## LD is ld it makes a PLAMLIB\r
8404           ## CC just makes a GrossModule.\r
8405           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'\r
8406           reload_cmds='$CC -r -o $output$reload_objs'\r
8407           hardcode_direct=no\r
8408         ;;\r
8409         motorola)\r
8410           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8411           hardcode_direct=no #Motorola manual says yes, but my tests say they lie\r
8412         ;;\r
8413       esac\r
8414       runpath_var='LD_RUN_PATH'\r
8415       hardcode_shlibpath_var=no\r
8416       ;;\r
8417 \r
8418     sysv4.3*)\r
8419       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8420       hardcode_shlibpath_var=no\r
8421       export_dynamic_flag_spec='-Bexport'\r
8422       ;;\r
8423 \r
8424     sysv4*MP*)\r
8425       if test -d /usr/nec; then\r
8426         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8427         hardcode_shlibpath_var=no\r
8428         runpath_var=LD_RUN_PATH\r
8429         hardcode_runpath_var=yes\r
8430         ld_shlibs=yes\r
8431       fi\r
8432       ;;\r
8433 \r
8434     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)\r
8435       no_undefined_flag='${wl}-z,text'\r
8436       archive_cmds_need_lc=no\r
8437       hardcode_shlibpath_var=no\r
8438       runpath_var='LD_RUN_PATH'\r
8439 \r
8440       if test "$GCC" = yes; then\r
8441         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8442         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8443       else\r
8444         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8445         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8446       fi\r
8447       ;;\r
8448 \r
8449     sysv5* | sco3.2v5* | sco5v6*)\r
8450       # Note: We can NOT use -z defs as we might desire, because we do not\r
8451       # link with -lc, and that would cause any symbols used from libc to\r
8452       # always be unresolved, which means just about no library would\r
8453       # ever link correctly.  If we're not using GNU ld we use -z text\r
8454       # though, which does catch some bad symbols but isn't as heavy-handed\r
8455       # as -z defs.\r
8456       no_undefined_flag='${wl}-z,text'\r
8457       allow_undefined_flag='${wl}-z,nodefs'\r
8458       archive_cmds_need_lc=no\r
8459       hardcode_shlibpath_var=no\r
8460       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'\r
8461       hardcode_libdir_separator=':'\r
8462       link_all_deplibs=yes\r
8463       export_dynamic_flag_spec='${wl}-Bexport'\r
8464       runpath_var='LD_RUN_PATH'\r
8465 \r
8466       if test "$GCC" = yes; then\r
8467         archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8468         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8469       else\r
8470         archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8471         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
8472       fi\r
8473       ;;\r
8474 \r
8475     uts4*)\r
8476       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
8477       hardcode_libdir_flag_spec='-L$libdir'\r
8478       hardcode_shlibpath_var=no\r
8479       ;;\r
8480 \r
8481     *)\r
8482       ld_shlibs=no\r
8483       ;;\r
8484     esac\r
8485   fi\r
8486 \r
8487 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5\r
8488 $as_echo "$ld_shlibs" >&6; }\r
8489 test "$ld_shlibs" = no && can_build_shared=no\r
8490 \r
8491 #\r
8492 # Do we need to explicitly link libc?\r
8493 #\r
8494 case "x$archive_cmds_need_lc" in\r
8495 x|xyes)\r
8496   # Assume -lc should be added\r
8497   archive_cmds_need_lc=yes\r
8498 \r
8499   if test "$enable_shared" = yes && test "$GCC" = yes; then\r
8500     case $archive_cmds in\r
8501     *'~'*)\r
8502       # FIXME: we may have to deal with multi-command sequences.\r
8503       ;;\r
8504     '$CC '*)\r
8505       # Test whether the compiler implicitly links with -lc since on some\r
8506       # systems, -lgcc has to come before -lc. If gcc already passes -lc\r
8507       # to ld, don't add -lc before -lgcc.\r
8508       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5\r
8509 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }\r
8510       $rm conftest*\r
8511       printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
8512 \r
8513       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
8514   (eval $ac_compile) 2>&5\r
8515   ac_status=$?\r
8516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8517   (exit $ac_status); } 2>conftest.err; then\r
8518         soname=conftest\r
8519         lib=conftest\r
8520         libobjs=conftest.$ac_objext\r
8521         deplibs=\r
8522         wl=$lt_prog_compiler_wl\r
8523         pic_flag=$lt_prog_compiler_pic\r
8524         compiler_flags=-v\r
8525         linker_flags=-v\r
8526         verstring=\r
8527         output_objdir=.\r
8528         libname=conftest\r
8529         lt_save_allow_undefined_flag=$allow_undefined_flag\r
8530         allow_undefined_flag=\r
8531         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5\r
8532   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5\r
8533   ac_status=$?\r
8534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8535   (exit $ac_status); }\r
8536         then\r
8537           archive_cmds_need_lc=no\r
8538         else\r
8539           archive_cmds_need_lc=yes\r
8540         fi\r
8541         allow_undefined_flag=$lt_save_allow_undefined_flag\r
8542       else\r
8543         cat conftest.err 1>&5\r
8544       fi\r
8545       $rm conftest*\r
8546       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5\r
8547 $as_echo "$archive_cmds_need_lc" >&6; }\r
8548       ;;\r
8549     esac\r
8550   fi\r
8551   ;;\r
8552 esac\r
8553 \r
8554 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5\r
8555 $as_echo_n "checking dynamic linker characteristics... " >&6; }\r
8556 library_names_spec=\r
8557 libname_spec='lib$name'\r
8558 soname_spec=\r
8559 shrext_cmds=".so"\r
8560 postinstall_cmds=\r
8561 postuninstall_cmds=\r
8562 finish_cmds=\r
8563 finish_eval=\r
8564 shlibpath_var=\r
8565 shlibpath_overrides_runpath=unknown\r
8566 version_type=none\r
8567 dynamic_linker="$host_os ld.so"\r
8568 sys_lib_dlsearch_path_spec="/lib /usr/lib"\r
8569 if test "$GCC" = yes; then\r
8570   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
8571   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then\r
8572     # if the path contains ";" then we assume it to be the separator\r
8573     # otherwise default to the standard path separator (i.e. ":") - it is\r
8574     # assumed that no part of a normal pathname contains ";" but that should\r
8575     # okay in the real world where ";" in dirpaths is itself problematic.\r
8576     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
8577   else\r
8578     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
8579   fi\r
8580 else\r
8581   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"\r
8582 fi\r
8583 need_lib_prefix=unknown\r
8584 hardcode_into_libs=no\r
8585 \r
8586 # when you set need_version to no, make sure it does not cause -set_version\r
8587 # flags to be left without arguments\r
8588 need_version=unknown\r
8589 \r
8590 case $host_os in\r
8591 aix3*)\r
8592   version_type=linux\r
8593   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'\r
8594   shlibpath_var=LIBPATH\r
8595 \r
8596   # AIX 3 has no versioning support, so we append a major version to the name.\r
8597   soname_spec='${libname}${release}${shared_ext}$major'\r
8598   ;;\r
8599 \r
8600 aix4* | aix5*)\r
8601   version_type=linux\r
8602   need_lib_prefix=no\r
8603   need_version=no\r
8604   hardcode_into_libs=yes\r
8605   if test "$host_cpu" = ia64; then\r
8606     # AIX 5 supports IA64\r
8607     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'\r
8608     shlibpath_var=LD_LIBRARY_PATH\r
8609   else\r
8610     # With GCC up to 2.95.x, collect2 would create an import file\r
8611     # for dependence libraries.  The import file would start with\r
8612     # the line `#! .'.  This would cause the generated library to\r
8613     # depend on `.', always an invalid library.  This was fixed in\r
8614     # development snapshots of GCC prior to 3.0.\r
8615     case $host_os in\r
8616       aix4 | aix4.[01] | aix4.[01].*)\r
8617       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'\r
8618            echo ' yes '\r
8619            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then\r
8620         :\r
8621       else\r
8622         can_build_shared=no\r
8623       fi\r
8624       ;;\r
8625     esac\r
8626     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct\r
8627     # soname into executable. Probably we can add versioning support to\r
8628     # collect2, so additional links can be useful in future.\r
8629     if test "$aix_use_runtimelinking" = yes; then\r
8630       # If using run time linking (on AIX 4.2 or later) use lib<name>.so\r
8631       # instead of lib<name>.a to let people know that these are not\r
8632       # typical AIX shared libraries.\r
8633       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8634     else\r
8635       # We preserve .a as extension for shared libraries through AIX4.2\r
8636       # and later when we are not doing run time linking.\r
8637       library_names_spec='${libname}${release}.a $libname.a'\r
8638       soname_spec='${libname}${release}${shared_ext}$major'\r
8639     fi\r
8640     shlibpath_var=LIBPATH\r
8641   fi\r
8642   ;;\r
8643 \r
8644 amigaos*)\r
8645   library_names_spec='$libname.ixlibrary $libname.a'\r
8646   # Create ${libname}_ixlibrary.a entries in /sys/libs.\r
8647   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'\r
8648   ;;\r
8649 \r
8650 beos*)\r
8651   library_names_spec='${libname}${shared_ext}'\r
8652   dynamic_linker="$host_os ld.so"\r
8653   shlibpath_var=LIBRARY_PATH\r
8654   ;;\r
8655 \r
8656 bsdi[45]*)\r
8657   version_type=linux\r
8658   need_version=no\r
8659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8660   soname_spec='${libname}${release}${shared_ext}$major'\r
8661   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'\r
8662   shlibpath_var=LD_LIBRARY_PATH\r
8663   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"\r
8664   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"\r
8665   # the default ld.so.conf also contains /usr/contrib/lib and\r
8666   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow\r
8667   # libtool to hard-code these into programs\r
8668   ;;\r
8669 \r
8670 cygwin* | mingw* | pw32*)\r
8671   version_type=windows\r
8672   shrext_cmds=".dll"\r
8673   need_version=no\r
8674   need_lib_prefix=no\r
8675 \r
8676   case $GCC,$host_os in\r
8677   yes,cygwin* | yes,mingw* | yes,pw32*)\r
8678     library_names_spec='$libname.dll.a'\r
8679     # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
8680     postinstall_cmds='base_file=`basename \${file}`~\r
8681       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~\r
8682       dldir=$destdir/`dirname \$dlpath`~\r
8683       test -d \$dldir || mkdir -p \$dldir~\r
8684       $install_prog $dir/$dlname \$dldir/$dlname~\r
8685       chmod a+x \$dldir/$dlname'\r
8686     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
8687       dlpath=$dir/\$dldll~\r
8688        $rm \$dlpath'\r
8689     shlibpath_overrides_runpath=yes\r
8690 \r
8691     case $host_os in\r
8692     cygwin*)\r
8693       # Cygwin DLLs use 'cyg' prefix rather than 'lib'\r
8694       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
8695       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"\r
8696       ;;\r
8697     mingw*)\r
8698       # MinGW DLLs use traditional 'lib' prefix\r
8699       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
8700       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
8701       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then\r
8702         # It is most probably a Windows format PATH printed by\r
8703         # mingw gcc, but we are running on Cygwin. Gcc prints its search\r
8704         # path with ; separators, and with drive letters. We can handle the\r
8705         # drive letters (cygwin fileutils understands them), so leave them,\r
8706         # especially as we might pass files found there to a mingw objdump,\r
8707         # which wouldn't understand a cygwinified path. Ahh.\r
8708         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
8709       else\r
8710         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
8711       fi\r
8712       ;;\r
8713     pw32*)\r
8714       # pw32 DLLs use 'pw' prefix rather than 'lib'\r
8715       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
8716       ;;\r
8717     esac\r
8718     ;;\r
8719 \r
8720   *)\r
8721     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'\r
8722     ;;\r
8723   esac\r
8724   dynamic_linker='Win32 ld.exe'\r
8725   # FIXME: first we should search . and the directory the executable is in\r
8726   shlibpath_var=PATH\r
8727   ;;\r
8728 \r
8729 darwin* | rhapsody*)\r
8730   dynamic_linker="$host_os dyld"\r
8731   version_type=darwin\r
8732   need_lib_prefix=no\r
8733   need_version=no\r
8734   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'\r
8735   soname_spec='${libname}${release}${major}$shared_ext'\r
8736   shlibpath_overrides_runpath=yes\r
8737   shlibpath_var=DYLD_LIBRARY_PATH\r
8738   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\r
8739   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.\r
8740   if test "$GCC" = yes; then\r
8741     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`\r
8742   else\r
8743     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'\r
8744   fi\r
8745   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'\r
8746   ;;\r
8747 \r
8748 dgux*)\r
8749   version_type=linux\r
8750   need_lib_prefix=no\r
8751   need_version=no\r
8752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'\r
8753   soname_spec='${libname}${release}${shared_ext}$major'\r
8754   shlibpath_var=LD_LIBRARY_PATH\r
8755   ;;\r
8756 \r
8757 freebsd1*)\r
8758   dynamic_linker=no\r
8759   ;;\r
8760 \r
8761 kfreebsd*-gnu)\r
8762   version_type=linux\r
8763   need_lib_prefix=no\r
8764   need_version=no\r
8765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
8766   soname_spec='${libname}${release}${shared_ext}$major'\r
8767   shlibpath_var=LD_LIBRARY_PATH\r
8768   shlibpath_overrides_runpath=no\r
8769   hardcode_into_libs=yes\r
8770   dynamic_linker='GNU ld.so'\r
8771   ;;\r
8772 \r
8773 freebsd* | dragonfly*)\r
8774   # DragonFly does not have aout.  When/if they implement a new\r
8775   # versioning mechanism, adjust this.\r
8776   if test -x /usr/bin/objformat; then\r
8777     objformat=`/usr/bin/objformat`\r
8778   else\r
8779     case $host_os in\r
8780     freebsd[123]*) objformat=aout ;;\r
8781     *) objformat=elf ;;\r
8782     esac\r
8783   fi\r
8784   version_type=freebsd-$objformat\r
8785   case $version_type in\r
8786     freebsd-elf*)\r
8787       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
8788       need_version=no\r
8789       need_lib_prefix=no\r
8790       ;;\r
8791     freebsd-*)\r
8792       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'\r
8793       need_version=yes\r
8794       ;;\r
8795   esac\r
8796   shlibpath_var=LD_LIBRARY_PATH\r
8797   case $host_os in\r
8798   freebsd2*)\r
8799     shlibpath_overrides_runpath=yes\r
8800     ;;\r
8801   freebsd3.[01]* | freebsdelf3.[01]*)\r
8802     shlibpath_overrides_runpath=yes\r
8803     hardcode_into_libs=yes\r
8804     ;;\r
8805   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \\r
8806   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)\r
8807     shlibpath_overrides_runpath=no\r
8808     hardcode_into_libs=yes\r
8809     ;;\r
8810   freebsd*) # from 4.6 on\r
8811     shlibpath_overrides_runpath=yes\r
8812     hardcode_into_libs=yes\r
8813     ;;\r
8814   esac\r
8815   ;;\r
8816 \r
8817 gnu*)\r
8818   version_type=linux\r
8819   need_lib_prefix=no\r
8820   need_version=no\r
8821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
8822   soname_spec='${libname}${release}${shared_ext}$major'\r
8823   shlibpath_var=LD_LIBRARY_PATH\r
8824   hardcode_into_libs=yes\r
8825   ;;\r
8826 \r
8827 hpux9* | hpux10* | hpux11*)\r
8828   # Give a soname corresponding to the major version so that dld.sl refuses to\r
8829   # link against other versions.\r
8830   version_type=sunos\r
8831   need_lib_prefix=no\r
8832   need_version=no\r
8833   case $host_cpu in\r
8834   ia64*)\r
8835     shrext_cmds='.so'\r
8836     hardcode_into_libs=yes\r
8837     dynamic_linker="$host_os dld.so"\r
8838     shlibpath_var=LD_LIBRARY_PATH\r
8839     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
8840     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8841     soname_spec='${libname}${release}${shared_ext}$major'\r
8842     if test "X$HPUX_IA64_MODE" = X32; then\r
8843       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"\r
8844     else\r
8845       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"\r
8846     fi\r
8847     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
8848     ;;\r
8849    hppa*64*)\r
8850      shrext_cmds='.sl'\r
8851      hardcode_into_libs=yes\r
8852      dynamic_linker="$host_os dld.sl"\r
8853      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH\r
8854      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
8855      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8856      soname_spec='${libname}${release}${shared_ext}$major'\r
8857      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"\r
8858      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
8859      ;;\r
8860    *)\r
8861     shrext_cmds='.sl'\r
8862     dynamic_linker="$host_os dld.sl"\r
8863     shlibpath_var=SHLIB_PATH\r
8864     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH\r
8865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8866     soname_spec='${libname}${release}${shared_ext}$major'\r
8867     ;;\r
8868   esac\r
8869   # HP-UX runs *really* slowly unless shared libraries are mode 555.\r
8870   postinstall_cmds='chmod 555 $lib'\r
8871   ;;\r
8872 \r
8873 interix3*)\r
8874   version_type=linux\r
8875   need_lib_prefix=no\r
8876   need_version=no\r
8877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
8878   soname_spec='${libname}${release}${shared_ext}$major'\r
8879   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'\r
8880   shlibpath_var=LD_LIBRARY_PATH\r
8881   shlibpath_overrides_runpath=no\r
8882   hardcode_into_libs=yes\r
8883   ;;\r
8884 \r
8885 irix5* | irix6* | nonstopux*)\r
8886   case $host_os in\r
8887     nonstopux*) version_type=nonstopux ;;\r
8888     *)\r
8889         if test "$lt_cv_prog_gnu_ld" = yes; then\r
8890                 version_type=linux\r
8891         else\r
8892                 version_type=irix\r
8893         fi ;;\r
8894   esac\r
8895   need_lib_prefix=no\r
8896   need_version=no\r
8897   soname_spec='${libname}${release}${shared_ext}$major'\r
8898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'\r
8899   case $host_os in\r
8900   irix5* | nonstopux*)\r
8901     libsuff= shlibsuff=\r
8902     ;;\r
8903   *)\r
8904     case $LD in # libtool.m4 will add one of these switches to LD\r
8905     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")\r
8906       libsuff= shlibsuff= libmagic=32-bit;;\r
8907     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")\r
8908       libsuff=32 shlibsuff=N32 libmagic=N32;;\r
8909     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")\r
8910       libsuff=64 shlibsuff=64 libmagic=64-bit;;\r
8911     *) libsuff= shlibsuff= libmagic=never-match;;\r
8912     esac\r
8913     ;;\r
8914   esac\r
8915   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH\r
8916   shlibpath_overrides_runpath=no\r
8917   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"\r
8918   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"\r
8919   hardcode_into_libs=yes\r
8920   ;;\r
8921 \r
8922 # No shared lib support for Linux oldld, aout, or coff.\r
8923 linux*oldld* | linux*aout* | linux*coff*)\r
8924   dynamic_linker=no\r
8925   ;;\r
8926 \r
8927 # This must be Linux ELF.\r
8928 linux*)\r
8929   version_type=linux\r
8930   need_lib_prefix=no\r
8931   need_version=no\r
8932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
8933   soname_spec='${libname}${release}${shared_ext}$major'\r
8934   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'\r
8935   shlibpath_var=LD_LIBRARY_PATH\r
8936   shlibpath_overrides_runpath=no\r
8937   # This implies no fast_install, which is unacceptable.\r
8938   # Some rework will be needed to allow for fast_install\r
8939   # before this can be enabled.\r
8940   hardcode_into_libs=yes\r
8941 \r
8942   # find out which ABI we are using\r
8943   libsuff=\r
8944   case "$host_cpu" in\r
8945   x86_64*|s390x*|powerpc64*)\r
8946     echo '#line 8946 "configure"' > conftest.$ac_ext\r
8947     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
8948   (eval $ac_compile) 2>&5\r
8949   ac_status=$?\r
8950   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8951   (exit $ac_status); }; then\r
8952       case `/usr/bin/file conftest.$ac_objext` in\r
8953       *64-bit*)\r
8954         libsuff=64\r
8955         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"\r
8956         ;;\r
8957       esac\r
8958     fi\r
8959     rm -rf conftest*\r
8960     ;;\r
8961   esac\r
8962 \r
8963   # Append ld.so.conf contents to the search path\r
8964   if test -f /etc/ld.so.conf; then\r
8965     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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`\r
8966     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"\r
8967   fi\r
8968 \r
8969   # We used to test for /lib/ld.so.1 and disable shared libraries on\r
8970   # powerpc, because MkLinux only supported shared libraries with the\r
8971   # GNU dynamic linker.  Since this was broken with cross compilers,\r
8972   # most powerpc-linux boxes support dynamic linking these days and\r
8973   # people can always --disable-shared, the test was removed, and we\r
8974   # assume the GNU/Linux dynamic linker is in use.\r
8975   dynamic_linker='GNU/Linux ld.so'\r
8976   ;;\r
8977 \r
8978 knetbsd*-gnu)\r
8979   version_type=linux\r
8980   need_lib_prefix=no\r
8981   need_version=no\r
8982   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
8983   soname_spec='${libname}${release}${shared_ext}$major'\r
8984   shlibpath_var=LD_LIBRARY_PATH\r
8985   shlibpath_overrides_runpath=no\r
8986   hardcode_into_libs=yes\r
8987   dynamic_linker='GNU ld.so'\r
8988   ;;\r
8989 \r
8990 netbsd*)\r
8991   version_type=sunos\r
8992   need_lib_prefix=no\r
8993   need_version=no\r
8994   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
8995     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
8996     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
8997     dynamic_linker='NetBSD (a.out) ld.so'\r
8998   else\r
8999     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
9000     soname_spec='${libname}${release}${shared_ext}$major'\r
9001     dynamic_linker='NetBSD ld.elf_so'\r
9002   fi\r
9003   shlibpath_var=LD_LIBRARY_PATH\r
9004   shlibpath_overrides_runpath=yes\r
9005   hardcode_into_libs=yes\r
9006   ;;\r
9007 \r
9008 newsos6)\r
9009   version_type=linux\r
9010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9011   shlibpath_var=LD_LIBRARY_PATH\r
9012   shlibpath_overrides_runpath=yes\r
9013   ;;\r
9014 \r
9015 nto-qnx*)\r
9016   version_type=linux\r
9017   need_lib_prefix=no\r
9018   need_version=no\r
9019   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9020   soname_spec='${libname}${release}${shared_ext}$major'\r
9021   shlibpath_var=LD_LIBRARY_PATH\r
9022   shlibpath_overrides_runpath=yes\r
9023   ;;\r
9024 \r
9025 openbsd*)\r
9026   version_type=sunos\r
9027   sys_lib_dlsearch_path_spec="/usr/lib"\r
9028   need_lib_prefix=no\r
9029   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.\r
9030   case $host_os in\r
9031     openbsd3.3 | openbsd3.3.*) need_version=yes ;;\r
9032     *)                         need_version=no  ;;\r
9033   esac\r
9034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
9035   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
9036   shlibpath_var=LD_LIBRARY_PATH\r
9037   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
9038     case $host_os in\r
9039       openbsd2.[89] | openbsd2.[89].*)\r
9040         shlibpath_overrides_runpath=no\r
9041         ;;\r
9042       *)\r
9043         shlibpath_overrides_runpath=yes\r
9044         ;;\r
9045       esac\r
9046   else\r
9047     shlibpath_overrides_runpath=yes\r
9048   fi\r
9049   ;;\r
9050 \r
9051 os2*)\r
9052   libname_spec='$name'\r
9053   shrext_cmds=".dll"\r
9054   need_lib_prefix=no\r
9055   library_names_spec='$libname${shared_ext} $libname.a'\r
9056   dynamic_linker='OS/2 ld.exe'\r
9057   shlibpath_var=LIBPATH\r
9058   ;;\r
9059 \r
9060 osf3* | osf4* | osf5*)\r
9061   version_type=osf\r
9062   need_lib_prefix=no\r
9063   need_version=no\r
9064   soname_spec='${libname}${release}${shared_ext}$major'\r
9065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9066   shlibpath_var=LD_LIBRARY_PATH\r
9067   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"\r
9068   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"\r
9069   ;;\r
9070 \r
9071 solaris*)\r
9072   version_type=linux\r
9073   need_lib_prefix=no\r
9074   need_version=no\r
9075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9076   soname_spec='${libname}${release}${shared_ext}$major'\r
9077   shlibpath_var=LD_LIBRARY_PATH\r
9078   shlibpath_overrides_runpath=yes\r
9079   hardcode_into_libs=yes\r
9080   # ldd complains unless libraries are executable\r
9081   postinstall_cmds='chmod +x $lib'\r
9082   ;;\r
9083 \r
9084 sunos4*)\r
9085   version_type=sunos\r
9086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
9087   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'\r
9088   shlibpath_var=LD_LIBRARY_PATH\r
9089   shlibpath_overrides_runpath=yes\r
9090   if test "$with_gnu_ld" = yes; then\r
9091     need_lib_prefix=no\r
9092   fi\r
9093   need_version=yes\r
9094   ;;\r
9095 \r
9096 sysv4 | sysv4.3*)\r
9097   version_type=linux\r
9098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9099   soname_spec='${libname}${release}${shared_ext}$major'\r
9100   shlibpath_var=LD_LIBRARY_PATH\r
9101   case $host_vendor in\r
9102     sni)\r
9103       shlibpath_overrides_runpath=no\r
9104       need_lib_prefix=no\r
9105       export_dynamic_flag_spec='${wl}-Blargedynsym'\r
9106       runpath_var=LD_RUN_PATH\r
9107       ;;\r
9108     siemens)\r
9109       need_lib_prefix=no\r
9110       ;;\r
9111     motorola)\r
9112       need_lib_prefix=no\r
9113       need_version=no\r
9114       shlibpath_overrides_runpath=no\r
9115       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'\r
9116       ;;\r
9117   esac\r
9118   ;;\r
9119 \r
9120 sysv4*MP*)\r
9121   if test -d /usr/nec ;then\r
9122     version_type=linux\r
9123     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'\r
9124     soname_spec='$libname${shared_ext}.$major'\r
9125     shlibpath_var=LD_LIBRARY_PATH\r
9126   fi\r
9127   ;;\r
9128 \r
9129 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
9130   version_type=freebsd-elf\r
9131   need_lib_prefix=no\r
9132   need_version=no\r
9133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
9134   soname_spec='${libname}${release}${shared_ext}$major'\r
9135   shlibpath_var=LD_LIBRARY_PATH\r
9136   hardcode_into_libs=yes\r
9137   if test "$with_gnu_ld" = yes; then\r
9138     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'\r
9139     shlibpath_overrides_runpath=no\r
9140   else\r
9141     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'\r
9142     shlibpath_overrides_runpath=yes\r
9143     case $host_os in\r
9144       sco3.2v5*)\r
9145         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"\r
9146         ;;\r
9147     esac\r
9148   fi\r
9149   sys_lib_dlsearch_path_spec='/usr/lib'\r
9150   ;;\r
9151 \r
9152 uts4*)\r
9153   version_type=linux\r
9154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
9155   soname_spec='${libname}${release}${shared_ext}$major'\r
9156   shlibpath_var=LD_LIBRARY_PATH\r
9157   ;;\r
9158 \r
9159 *)\r
9160   dynamic_linker=no\r
9161   ;;\r
9162 esac\r
9163 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5\r
9164 $as_echo "$dynamic_linker" >&6; }\r
9165 test "$dynamic_linker" = no && can_build_shared=no\r
9166 \r
9167 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"\r
9168 if test "$GCC" = yes; then\r
9169   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"\r
9170 fi\r
9171 \r
9172 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5\r
9173 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }\r
9174 hardcode_action=\r
9175 if test -n "$hardcode_libdir_flag_spec" || \\r
9176    test -n "$runpath_var" || \\r
9177    test "X$hardcode_automatic" = "Xyes" ; then\r
9178 \r
9179   # We can hardcode non-existant directories.\r
9180   if test "$hardcode_direct" != no &&\r
9181      # If the only mechanism to avoid hardcoding is shlibpath_var, we\r
9182      # have to relink, otherwise we might link with an installed library\r
9183      # when we should be linking with a yet-to-be-installed one\r
9184      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&\r
9185      test "$hardcode_minus_L" != no; then\r
9186     # Linking always hardcodes the temporary library directory.\r
9187     hardcode_action=relink\r
9188   else\r
9189     # We can link without hardcoding, and we can hardcode nonexisting dirs.\r
9190     hardcode_action=immediate\r
9191   fi\r
9192 else\r
9193   # We cannot hardcode anything, or else we can only hardcode existing\r
9194   # directories.\r
9195   hardcode_action=unsupported\r
9196 fi\r
9197 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5\r
9198 $as_echo "$hardcode_action" >&6; }\r
9199 \r
9200 if test "$hardcode_action" = relink; then\r
9201   # Fast installation is not supported\r
9202   enable_fast_install=no\r
9203 elif test "$shlibpath_overrides_runpath" = yes ||\r
9204      test "$enable_shared" = no; then\r
9205   # Fast installation is not necessary\r
9206   enable_fast_install=needless\r
9207 fi\r
9208 \r
9209 striplib=\r
9210 old_striplib=\r
9211 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5\r
9212 $as_echo_n "checking whether stripping libraries is possible... " >&6; }\r
9213 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then\r
9214   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"\r
9215   test -z "$striplib" && striplib="$STRIP --strip-unneeded"\r
9216   { $as_echo "$as_me:$LINENO: result: yes" >&5\r
9217 $as_echo "yes" >&6; }\r
9218 else\r
9219 # FIXME - insert some real tests, host_os isn't really good enough\r
9220   case $host_os in\r
9221    darwin*)\r
9222        if test -n "$STRIP" ; then\r
9223          striplib="$STRIP -x"\r
9224          { $as_echo "$as_me:$LINENO: result: yes" >&5\r
9225 $as_echo "yes" >&6; }\r
9226        else\r
9227   { $as_echo "$as_me:$LINENO: result: no" >&5\r
9228 $as_echo "no" >&6; }\r
9229 fi\r
9230        ;;\r
9231    *)\r
9232   { $as_echo "$as_me:$LINENO: result: no" >&5\r
9233 $as_echo "no" >&6; }\r
9234     ;;\r
9235   esac\r
9236 fi\r
9237 \r
9238 if test "x$enable_dlopen" != xyes; then\r
9239   enable_dlopen=unknown\r
9240   enable_dlopen_self=unknown\r
9241   enable_dlopen_self_static=unknown\r
9242 else\r
9243   lt_cv_dlopen=no\r
9244   lt_cv_dlopen_libs=\r
9245 \r
9246   case $host_os in\r
9247   beos*)\r
9248     lt_cv_dlopen="load_add_on"\r
9249     lt_cv_dlopen_libs=\r
9250     lt_cv_dlopen_self=yes\r
9251     ;;\r
9252 \r
9253   mingw* | pw32*)\r
9254     lt_cv_dlopen="LoadLibrary"\r
9255     lt_cv_dlopen_libs=\r
9256    ;;\r
9257 \r
9258   cygwin*)\r
9259     lt_cv_dlopen="dlopen"\r
9260     lt_cv_dlopen_libs=\r
9261    ;;\r
9262 \r
9263   darwin*)\r
9264   # if libdl is installed we need to link against it\r
9265     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5\r
9266 $as_echo_n "checking for dlopen in -ldl... " >&6; }\r
9267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then\r
9268   $as_echo_n "(cached) " >&6\r
9269 else\r
9270   ac_check_lib_save_LIBS=$LIBS\r
9271 LIBS="-ldl  $LIBS"\r
9272 cat >conftest.$ac_ext <<_ACEOF\r
9273 /* confdefs.h.  */\r
9274 _ACEOF\r
9275 cat confdefs.h >>conftest.$ac_ext\r
9276 cat >>conftest.$ac_ext <<_ACEOF\r
9277 /* end confdefs.h.  */\r
9278 \r
9279 /* Override any GCC internal prototype to avoid an error.\r
9280    Use char because int might match the return type of a GCC\r
9281    builtin and then its argument prototype would still apply.  */\r
9282 #ifdef __cplusplus\r
9283 extern "C"\r
9284 #endif\r
9285 char dlopen ();\r
9286 int\r
9287 main ()\r
9288 {\r
9289 return dlopen ();\r
9290   ;\r
9291   return 0;\r
9292 }\r
9293 _ACEOF\r
9294 rm -f conftest.$ac_objext conftest$ac_exeext\r
9295 if { (ac_try="$ac_link"\r
9296 case "(($ac_try" in\r
9297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9298   *) ac_try_echo=$ac_try;;\r
9299 esac\r
9300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9301 $as_echo "$ac_try_echo") >&5\r
9302   (eval "$ac_link") 2>conftest.er1\r
9303   ac_status=$?\r
9304   grep -v '^ *+' conftest.er1 >conftest.err\r
9305   rm -f conftest.er1\r
9306   cat conftest.err >&5\r
9307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9308   (exit $ac_status); } && {\r
9309          test -z "$ac_c_werror_flag" ||\r
9310          test ! -s conftest.err\r
9311        } && test -s conftest$ac_exeext && {\r
9312          test "$cross_compiling" = yes ||\r
9313          $as_test_x conftest$ac_exeext\r
9314        }; then\r
9315   ac_cv_lib_dl_dlopen=yes\r
9316 else\r
9317   $as_echo "$as_me: failed program was:" >&5\r
9318 sed 's/^/| /' conftest.$ac_ext >&5\r
9319 \r
9320         ac_cv_lib_dl_dlopen=no\r
9321 fi\r
9322 \r
9323 rm -rf conftest.dSYM\r
9324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9325       conftest$ac_exeext conftest.$ac_ext\r
9326 LIBS=$ac_check_lib_save_LIBS\r
9327 fi\r
9328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5\r
9329 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }\r
9330 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then\r
9331   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"\r
9332 else\r
9333 \r
9334     lt_cv_dlopen="dyld"\r
9335     lt_cv_dlopen_libs=\r
9336     lt_cv_dlopen_self=yes\r
9337 \r
9338 fi\r
9339 \r
9340    ;;\r
9341 \r
9342   *)\r
9343     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5\r
9344 $as_echo_n "checking for shl_load... " >&6; }\r
9345 if test "${ac_cv_func_shl_load+set}" = set; then\r
9346   $as_echo_n "(cached) " >&6\r
9347 else\r
9348   cat >conftest.$ac_ext <<_ACEOF\r
9349 /* confdefs.h.  */\r
9350 _ACEOF\r
9351 cat confdefs.h >>conftest.$ac_ext\r
9352 cat >>conftest.$ac_ext <<_ACEOF\r
9353 /* end confdefs.h.  */\r
9354 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.\r
9355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
9356 #define shl_load innocuous_shl_load\r
9357 \r
9358 /* System header to define __stub macros and hopefully few prototypes,\r
9359     which can conflict with char shl_load (); below.\r
9360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
9361     <limits.h> exists even on freestanding compilers.  */\r
9362 \r
9363 #ifdef __STDC__\r
9364 # include <limits.h>\r
9365 #else\r
9366 # include <assert.h>\r
9367 #endif\r
9368 \r
9369 #undef shl_load\r
9370 \r
9371 /* Override any GCC internal prototype to avoid an error.\r
9372    Use char because int might match the return type of a GCC\r
9373    builtin and then its argument prototype would still apply.  */\r
9374 #ifdef __cplusplus\r
9375 extern "C"\r
9376 #endif\r
9377 char shl_load ();\r
9378 /* The GNU C library defines this for functions which it implements\r
9379     to always fail with ENOSYS.  Some functions are actually named\r
9380     something starting with __ and the normal name is an alias.  */\r
9381 #if defined __stub_shl_load || defined __stub___shl_load\r
9382 choke me\r
9383 #endif\r
9384 \r
9385 int\r
9386 main ()\r
9387 {\r
9388 return shl_load ();\r
9389   ;\r
9390   return 0;\r
9391 }\r
9392 _ACEOF\r
9393 rm -f conftest.$ac_objext conftest$ac_exeext\r
9394 if { (ac_try="$ac_link"\r
9395 case "(($ac_try" in\r
9396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9397   *) ac_try_echo=$ac_try;;\r
9398 esac\r
9399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9400 $as_echo "$ac_try_echo") >&5\r
9401   (eval "$ac_link") 2>conftest.er1\r
9402   ac_status=$?\r
9403   grep -v '^ *+' conftest.er1 >conftest.err\r
9404   rm -f conftest.er1\r
9405   cat conftest.err >&5\r
9406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9407   (exit $ac_status); } && {\r
9408          test -z "$ac_c_werror_flag" ||\r
9409          test ! -s conftest.err\r
9410        } && test -s conftest$ac_exeext && {\r
9411          test "$cross_compiling" = yes ||\r
9412          $as_test_x conftest$ac_exeext\r
9413        }; then\r
9414   ac_cv_func_shl_load=yes\r
9415 else\r
9416   $as_echo "$as_me: failed program was:" >&5\r
9417 sed 's/^/| /' conftest.$ac_ext >&5\r
9418 \r
9419         ac_cv_func_shl_load=no\r
9420 fi\r
9421 \r
9422 rm -rf conftest.dSYM\r
9423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9424       conftest$ac_exeext conftest.$ac_ext\r
9425 fi\r
9426 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5\r
9427 $as_echo "$ac_cv_func_shl_load" >&6; }\r
9428 if test "x$ac_cv_func_shl_load" = x""yes; then\r
9429   lt_cv_dlopen="shl_load"\r
9430 else\r
9431   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5\r
9432 $as_echo_n "checking for shl_load in -ldld... " >&6; }\r
9433 if test "${ac_cv_lib_dld_shl_load+set}" = set; then\r
9434   $as_echo_n "(cached) " >&6\r
9435 else\r
9436   ac_check_lib_save_LIBS=$LIBS\r
9437 LIBS="-ldld  $LIBS"\r
9438 cat >conftest.$ac_ext <<_ACEOF\r
9439 /* confdefs.h.  */\r
9440 _ACEOF\r
9441 cat confdefs.h >>conftest.$ac_ext\r
9442 cat >>conftest.$ac_ext <<_ACEOF\r
9443 /* end confdefs.h.  */\r
9444 \r
9445 /* Override any GCC internal prototype to avoid an error.\r
9446    Use char because int might match the return type of a GCC\r
9447    builtin and then its argument prototype would still apply.  */\r
9448 #ifdef __cplusplus\r
9449 extern "C"\r
9450 #endif\r
9451 char shl_load ();\r
9452 int\r
9453 main ()\r
9454 {\r
9455 return shl_load ();\r
9456   ;\r
9457   return 0;\r
9458 }\r
9459 _ACEOF\r
9460 rm -f conftest.$ac_objext conftest$ac_exeext\r
9461 if { (ac_try="$ac_link"\r
9462 case "(($ac_try" in\r
9463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9464   *) ac_try_echo=$ac_try;;\r
9465 esac\r
9466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9467 $as_echo "$ac_try_echo") >&5\r
9468   (eval "$ac_link") 2>conftest.er1\r
9469   ac_status=$?\r
9470   grep -v '^ *+' conftest.er1 >conftest.err\r
9471   rm -f conftest.er1\r
9472   cat conftest.err >&5\r
9473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9474   (exit $ac_status); } && {\r
9475          test -z "$ac_c_werror_flag" ||\r
9476          test ! -s conftest.err\r
9477        } && test -s conftest$ac_exeext && {\r
9478          test "$cross_compiling" = yes ||\r
9479          $as_test_x conftest$ac_exeext\r
9480        }; then\r
9481   ac_cv_lib_dld_shl_load=yes\r
9482 else\r
9483   $as_echo "$as_me: failed program was:" >&5\r
9484 sed 's/^/| /' conftest.$ac_ext >&5\r
9485 \r
9486         ac_cv_lib_dld_shl_load=no\r
9487 fi\r
9488 \r
9489 rm -rf conftest.dSYM\r
9490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9491       conftest$ac_exeext conftest.$ac_ext\r
9492 LIBS=$ac_check_lib_save_LIBS\r
9493 fi\r
9494 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5\r
9495 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }\r
9496 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then\r
9497   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"\r
9498 else\r
9499   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5\r
9500 $as_echo_n "checking for dlopen... " >&6; }\r
9501 if test "${ac_cv_func_dlopen+set}" = set; then\r
9502   $as_echo_n "(cached) " >&6\r
9503 else\r
9504   cat >conftest.$ac_ext <<_ACEOF\r
9505 /* confdefs.h.  */\r
9506 _ACEOF\r
9507 cat confdefs.h >>conftest.$ac_ext\r
9508 cat >>conftest.$ac_ext <<_ACEOF\r
9509 /* end confdefs.h.  */\r
9510 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.\r
9511    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
9512 #define dlopen innocuous_dlopen\r
9513 \r
9514 /* System header to define __stub macros and hopefully few prototypes,\r
9515     which can conflict with char dlopen (); below.\r
9516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
9517     <limits.h> exists even on freestanding compilers.  */\r
9518 \r
9519 #ifdef __STDC__\r
9520 # include <limits.h>\r
9521 #else\r
9522 # include <assert.h>\r
9523 #endif\r
9524 \r
9525 #undef dlopen\r
9526 \r
9527 /* Override any GCC internal prototype to avoid an error.\r
9528    Use char because int might match the return type of a GCC\r
9529    builtin and then its argument prototype would still apply.  */\r
9530 #ifdef __cplusplus\r
9531 extern "C"\r
9532 #endif\r
9533 char dlopen ();\r
9534 /* The GNU C library defines this for functions which it implements\r
9535     to always fail with ENOSYS.  Some functions are actually named\r
9536     something starting with __ and the normal name is an alias.  */\r
9537 #if defined __stub_dlopen || defined __stub___dlopen\r
9538 choke me\r
9539 #endif\r
9540 \r
9541 int\r
9542 main ()\r
9543 {\r
9544 return dlopen ();\r
9545   ;\r
9546   return 0;\r
9547 }\r
9548 _ACEOF\r
9549 rm -f conftest.$ac_objext conftest$ac_exeext\r
9550 if { (ac_try="$ac_link"\r
9551 case "(($ac_try" in\r
9552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9553   *) ac_try_echo=$ac_try;;\r
9554 esac\r
9555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9556 $as_echo "$ac_try_echo") >&5\r
9557   (eval "$ac_link") 2>conftest.er1\r
9558   ac_status=$?\r
9559   grep -v '^ *+' conftest.er1 >conftest.err\r
9560   rm -f conftest.er1\r
9561   cat conftest.err >&5\r
9562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9563   (exit $ac_status); } && {\r
9564          test -z "$ac_c_werror_flag" ||\r
9565          test ! -s conftest.err\r
9566        } && test -s conftest$ac_exeext && {\r
9567          test "$cross_compiling" = yes ||\r
9568          $as_test_x conftest$ac_exeext\r
9569        }; then\r
9570   ac_cv_func_dlopen=yes\r
9571 else\r
9572   $as_echo "$as_me: failed program was:" >&5\r
9573 sed 's/^/| /' conftest.$ac_ext >&5\r
9574 \r
9575         ac_cv_func_dlopen=no\r
9576 fi\r
9577 \r
9578 rm -rf conftest.dSYM\r
9579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9580       conftest$ac_exeext conftest.$ac_ext\r
9581 fi\r
9582 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5\r
9583 $as_echo "$ac_cv_func_dlopen" >&6; }\r
9584 if test "x$ac_cv_func_dlopen" = x""yes; then\r
9585   lt_cv_dlopen="dlopen"\r
9586 else\r
9587   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5\r
9588 $as_echo_n "checking for dlopen in -ldl... " >&6; }\r
9589 if test "${ac_cv_lib_dl_dlopen+set}" = set; then\r
9590   $as_echo_n "(cached) " >&6\r
9591 else\r
9592   ac_check_lib_save_LIBS=$LIBS\r
9593 LIBS="-ldl  $LIBS"\r
9594 cat >conftest.$ac_ext <<_ACEOF\r
9595 /* confdefs.h.  */\r
9596 _ACEOF\r
9597 cat confdefs.h >>conftest.$ac_ext\r
9598 cat >>conftest.$ac_ext <<_ACEOF\r
9599 /* end confdefs.h.  */\r
9600 \r
9601 /* Override any GCC internal prototype to avoid an error.\r
9602    Use char because int might match the return type of a GCC\r
9603    builtin and then its argument prototype would still apply.  */\r
9604 #ifdef __cplusplus\r
9605 extern "C"\r
9606 #endif\r
9607 char dlopen ();\r
9608 int\r
9609 main ()\r
9610 {\r
9611 return dlopen ();\r
9612   ;\r
9613   return 0;\r
9614 }\r
9615 _ACEOF\r
9616 rm -f conftest.$ac_objext conftest$ac_exeext\r
9617 if { (ac_try="$ac_link"\r
9618 case "(($ac_try" in\r
9619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9620   *) ac_try_echo=$ac_try;;\r
9621 esac\r
9622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9623 $as_echo "$ac_try_echo") >&5\r
9624   (eval "$ac_link") 2>conftest.er1\r
9625   ac_status=$?\r
9626   grep -v '^ *+' conftest.er1 >conftest.err\r
9627   rm -f conftest.er1\r
9628   cat conftest.err >&5\r
9629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9630   (exit $ac_status); } && {\r
9631          test -z "$ac_c_werror_flag" ||\r
9632          test ! -s conftest.err\r
9633        } && test -s conftest$ac_exeext && {\r
9634          test "$cross_compiling" = yes ||\r
9635          $as_test_x conftest$ac_exeext\r
9636        }; then\r
9637   ac_cv_lib_dl_dlopen=yes\r
9638 else\r
9639   $as_echo "$as_me: failed program was:" >&5\r
9640 sed 's/^/| /' conftest.$ac_ext >&5\r
9641 \r
9642         ac_cv_lib_dl_dlopen=no\r
9643 fi\r
9644 \r
9645 rm -rf conftest.dSYM\r
9646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9647       conftest$ac_exeext conftest.$ac_ext\r
9648 LIBS=$ac_check_lib_save_LIBS\r
9649 fi\r
9650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5\r
9651 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }\r
9652 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then\r
9653   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"\r
9654 else\r
9655   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5\r
9656 $as_echo_n "checking for dlopen in -lsvld... " >&6; }\r
9657 if test "${ac_cv_lib_svld_dlopen+set}" = set; then\r
9658   $as_echo_n "(cached) " >&6\r
9659 else\r
9660   ac_check_lib_save_LIBS=$LIBS\r
9661 LIBS="-lsvld  $LIBS"\r
9662 cat >conftest.$ac_ext <<_ACEOF\r
9663 /* confdefs.h.  */\r
9664 _ACEOF\r
9665 cat confdefs.h >>conftest.$ac_ext\r
9666 cat >>conftest.$ac_ext <<_ACEOF\r
9667 /* end confdefs.h.  */\r
9668 \r
9669 /* Override any GCC internal prototype to avoid an error.\r
9670    Use char because int might match the return type of a GCC\r
9671    builtin and then its argument prototype would still apply.  */\r
9672 #ifdef __cplusplus\r
9673 extern "C"\r
9674 #endif\r
9675 char dlopen ();\r
9676 int\r
9677 main ()\r
9678 {\r
9679 return dlopen ();\r
9680   ;\r
9681   return 0;\r
9682 }\r
9683 _ACEOF\r
9684 rm -f conftest.$ac_objext conftest$ac_exeext\r
9685 if { (ac_try="$ac_link"\r
9686 case "(($ac_try" in\r
9687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9688   *) ac_try_echo=$ac_try;;\r
9689 esac\r
9690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9691 $as_echo "$ac_try_echo") >&5\r
9692   (eval "$ac_link") 2>conftest.er1\r
9693   ac_status=$?\r
9694   grep -v '^ *+' conftest.er1 >conftest.err\r
9695   rm -f conftest.er1\r
9696   cat conftest.err >&5\r
9697   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9698   (exit $ac_status); } && {\r
9699          test -z "$ac_c_werror_flag" ||\r
9700          test ! -s conftest.err\r
9701        } && test -s conftest$ac_exeext && {\r
9702          test "$cross_compiling" = yes ||\r
9703          $as_test_x conftest$ac_exeext\r
9704        }; then\r
9705   ac_cv_lib_svld_dlopen=yes\r
9706 else\r
9707   $as_echo "$as_me: failed program was:" >&5\r
9708 sed 's/^/| /' conftest.$ac_ext >&5\r
9709 \r
9710         ac_cv_lib_svld_dlopen=no\r
9711 fi\r
9712 \r
9713 rm -rf conftest.dSYM\r
9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9715       conftest$ac_exeext conftest.$ac_ext\r
9716 LIBS=$ac_check_lib_save_LIBS\r
9717 fi\r
9718 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5\r
9719 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }\r
9720 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then\r
9721   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"\r
9722 else\r
9723   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5\r
9724 $as_echo_n "checking for dld_link in -ldld... " >&6; }\r
9725 if test "${ac_cv_lib_dld_dld_link+set}" = set; then\r
9726   $as_echo_n "(cached) " >&6\r
9727 else\r
9728   ac_check_lib_save_LIBS=$LIBS\r
9729 LIBS="-ldld  $LIBS"\r
9730 cat >conftest.$ac_ext <<_ACEOF\r
9731 /* confdefs.h.  */\r
9732 _ACEOF\r
9733 cat confdefs.h >>conftest.$ac_ext\r
9734 cat >>conftest.$ac_ext <<_ACEOF\r
9735 /* end confdefs.h.  */\r
9736 \r
9737 /* Override any GCC internal prototype to avoid an error.\r
9738    Use char because int might match the return type of a GCC\r
9739    builtin and then its argument prototype would still apply.  */\r
9740 #ifdef __cplusplus\r
9741 extern "C"\r
9742 #endif\r
9743 char dld_link ();\r
9744 int\r
9745 main ()\r
9746 {\r
9747 return dld_link ();\r
9748   ;\r
9749   return 0;\r
9750 }\r
9751 _ACEOF\r
9752 rm -f conftest.$ac_objext conftest$ac_exeext\r
9753 if { (ac_try="$ac_link"\r
9754 case "(($ac_try" in\r
9755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9756   *) ac_try_echo=$ac_try;;\r
9757 esac\r
9758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
9759 $as_echo "$ac_try_echo") >&5\r
9760   (eval "$ac_link") 2>conftest.er1\r
9761   ac_status=$?\r
9762   grep -v '^ *+' conftest.er1 >conftest.err\r
9763   rm -f conftest.er1\r
9764   cat conftest.err >&5\r
9765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9766   (exit $ac_status); } && {\r
9767          test -z "$ac_c_werror_flag" ||\r
9768          test ! -s conftest.err\r
9769        } && test -s conftest$ac_exeext && {\r
9770          test "$cross_compiling" = yes ||\r
9771          $as_test_x conftest$ac_exeext\r
9772        }; then\r
9773   ac_cv_lib_dld_dld_link=yes\r
9774 else\r
9775   $as_echo "$as_me: failed program was:" >&5\r
9776 sed 's/^/| /' conftest.$ac_ext >&5\r
9777 \r
9778         ac_cv_lib_dld_dld_link=no\r
9779 fi\r
9780 \r
9781 rm -rf conftest.dSYM\r
9782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9783       conftest$ac_exeext conftest.$ac_ext\r
9784 LIBS=$ac_check_lib_save_LIBS\r
9785 fi\r
9786 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5\r
9787 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }\r
9788 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then\r
9789   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"\r
9790 fi\r
9791 \r
9792 \r
9793 fi\r
9794 \r
9795 \r
9796 fi\r
9797 \r
9798 \r
9799 fi\r
9800 \r
9801 \r
9802 fi\r
9803 \r
9804 \r
9805 fi\r
9806 \r
9807     ;;\r
9808   esac\r
9809 \r
9810   if test "x$lt_cv_dlopen" != xno; then\r
9811     enable_dlopen=yes\r
9812   else\r
9813     enable_dlopen=no\r
9814   fi\r
9815 \r
9816   case $lt_cv_dlopen in\r
9817   dlopen)\r
9818     save_CPPFLAGS="$CPPFLAGS"\r
9819     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"\r
9820 \r
9821     save_LDFLAGS="$LDFLAGS"\r
9822     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"\r
9823 \r
9824     save_LIBS="$LIBS"\r
9825     LIBS="$lt_cv_dlopen_libs $LIBS"\r
9826 \r
9827     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5\r
9828 $as_echo_n "checking whether a program can dlopen itself... " >&6; }\r
9829 if test "${lt_cv_dlopen_self+set}" = set; then\r
9830   $as_echo_n "(cached) " >&6\r
9831 else\r
9832           if test "$cross_compiling" = yes; then :\r
9833   lt_cv_dlopen_self=cross\r
9834 else\r
9835   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2\r
9836   lt_status=$lt_dlunknown\r
9837   cat > conftest.$ac_ext <<EOF\r
9838 #line 9838 "configure"\r
9839 #include "confdefs.h"\r
9840 \r
9841 #if HAVE_DLFCN_H\r
9842 #include <dlfcn.h>\r
9843 #endif\r
9844 \r
9845 #include <stdio.h>\r
9846 \r
9847 #ifdef RTLD_GLOBAL\r
9848 #  define LT_DLGLOBAL           RTLD_GLOBAL\r
9849 #else\r
9850 #  ifdef DL_GLOBAL\r
9851 #    define LT_DLGLOBAL         DL_GLOBAL\r
9852 #  else\r
9853 #    define LT_DLGLOBAL         0\r
9854 #  endif\r
9855 #endif\r
9856 \r
9857 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we\r
9858    find out it does not work in some platform. */\r
9859 #ifndef LT_DLLAZY_OR_NOW\r
9860 #  ifdef RTLD_LAZY\r
9861 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY\r
9862 #  else\r
9863 #    ifdef DL_LAZY\r
9864 #      define LT_DLLAZY_OR_NOW          DL_LAZY\r
9865 #    else\r
9866 #      ifdef RTLD_NOW\r
9867 #        define LT_DLLAZY_OR_NOW        RTLD_NOW\r
9868 #      else\r
9869 #        ifdef DL_NOW\r
9870 #          define LT_DLLAZY_OR_NOW      DL_NOW\r
9871 #        else\r
9872 #          define LT_DLLAZY_OR_NOW      0\r
9873 #        endif\r
9874 #      endif\r
9875 #    endif\r
9876 #  endif\r
9877 #endif\r
9878 \r
9879 #ifdef __cplusplus\r
9880 extern "C" void exit (int);\r
9881 #endif\r
9882 \r
9883 void fnord() { int i=42;}\r
9884 int main ()\r
9885 {\r
9886   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);\r
9887   int status = $lt_dlunknown;\r
9888 \r
9889   if (self)\r
9890     {\r
9891       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;\r
9892       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;\r
9893       /* dlclose (self); */\r
9894     }\r
9895   else\r
9896     puts (dlerror ());\r
9897 \r
9898     exit (status);\r
9899 }\r
9900 EOF\r
9901   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5\r
9902   (eval $ac_link) 2>&5\r
9903   ac_status=$?\r
9904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9905   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then\r
9906     (./conftest; exit; ) >&5 2>/dev/null\r
9907     lt_status=$?\r
9908     case x$lt_status in\r
9909       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;\r
9910       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;\r
9911       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;\r
9912     esac\r
9913   else :\r
9914     # compilation failed\r
9915     lt_cv_dlopen_self=no\r
9916   fi\r
9917 fi\r
9918 rm -fr conftest*\r
9919 \r
9920 \r
9921 fi\r
9922 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5\r
9923 $as_echo "$lt_cv_dlopen_self" >&6; }\r
9924 \r
9925     if test "x$lt_cv_dlopen_self" = xyes; then\r
9926       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"\r
9927       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5\r
9928 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }\r
9929 if test "${lt_cv_dlopen_self_static+set}" = set; then\r
9930   $as_echo_n "(cached) " >&6\r
9931 else\r
9932           if test "$cross_compiling" = yes; then :\r
9933   lt_cv_dlopen_self_static=cross\r
9934 else\r
9935   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2\r
9936   lt_status=$lt_dlunknown\r
9937   cat > conftest.$ac_ext <<EOF\r
9938 #line 9938 "configure"\r
9939 #include "confdefs.h"\r
9940 \r
9941 #if HAVE_DLFCN_H\r
9942 #include <dlfcn.h>\r
9943 #endif\r
9944 \r
9945 #include <stdio.h>\r
9946 \r
9947 #ifdef RTLD_GLOBAL\r
9948 #  define LT_DLGLOBAL           RTLD_GLOBAL\r
9949 #else\r
9950 #  ifdef DL_GLOBAL\r
9951 #    define LT_DLGLOBAL         DL_GLOBAL\r
9952 #  else\r
9953 #    define LT_DLGLOBAL         0\r
9954 #  endif\r
9955 #endif\r
9956 \r
9957 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we\r
9958    find out it does not work in some platform. */\r
9959 #ifndef LT_DLLAZY_OR_NOW\r
9960 #  ifdef RTLD_LAZY\r
9961 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY\r
9962 #  else\r
9963 #    ifdef DL_LAZY\r
9964 #      define LT_DLLAZY_OR_NOW          DL_LAZY\r
9965 #    else\r
9966 #      ifdef RTLD_NOW\r
9967 #        define LT_DLLAZY_OR_NOW        RTLD_NOW\r
9968 #      else\r
9969 #        ifdef DL_NOW\r
9970 #          define LT_DLLAZY_OR_NOW      DL_NOW\r
9971 #        else\r
9972 #          define LT_DLLAZY_OR_NOW      0\r
9973 #        endif\r
9974 #      endif\r
9975 #    endif\r
9976 #  endif\r
9977 #endif\r
9978 \r
9979 #ifdef __cplusplus\r
9980 extern "C" void exit (int);\r
9981 #endif\r
9982 \r
9983 void fnord() { int i=42;}\r
9984 int main ()\r
9985 {\r
9986   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);\r
9987   int status = $lt_dlunknown;\r
9988 \r
9989   if (self)\r
9990     {\r
9991       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;\r
9992       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;\r
9993       /* dlclose (self); */\r
9994     }\r
9995   else\r
9996     puts (dlerror ());\r
9997 \r
9998     exit (status);\r
9999 }\r
10000 EOF\r
10001   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5\r
10002   (eval $ac_link) 2>&5\r
10003   ac_status=$?\r
10004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10005   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then\r
10006     (./conftest; exit; ) >&5 2>/dev/null\r
10007     lt_status=$?\r
10008     case x$lt_status in\r
10009       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;\r
10010       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;\r
10011       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;\r
10012     esac\r
10013   else :\r
10014     # compilation failed\r
10015     lt_cv_dlopen_self_static=no\r
10016   fi\r
10017 fi\r
10018 rm -fr conftest*\r
10019 \r
10020 \r
10021 fi\r
10022 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5\r
10023 $as_echo "$lt_cv_dlopen_self_static" >&6; }\r
10024     fi\r
10025 \r
10026     CPPFLAGS="$save_CPPFLAGS"\r
10027     LDFLAGS="$save_LDFLAGS"\r
10028     LIBS="$save_LIBS"\r
10029     ;;\r
10030   esac\r
10031 \r
10032   case $lt_cv_dlopen_self in\r
10033   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;\r
10034   *) enable_dlopen_self=unknown ;;\r
10035   esac\r
10036 \r
10037   case $lt_cv_dlopen_self_static in\r
10038   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;\r
10039   *) enable_dlopen_self_static=unknown ;;\r
10040   esac\r
10041 fi\r
10042 \r
10043 \r
10044 # Report which library types will actually be built\r
10045 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5\r
10046 $as_echo_n "checking if libtool supports shared libraries... " >&6; }\r
10047 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5\r
10048 $as_echo "$can_build_shared" >&6; }\r
10049 \r
10050 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5\r
10051 $as_echo_n "checking whether to build shared libraries... " >&6; }\r
10052 test "$can_build_shared" = "no" && enable_shared=no\r
10053 \r
10054 # On AIX, shared libraries and static libraries use the same namespace, and\r
10055 # are all built from PIC.\r
10056 case $host_os in\r
10057 aix3*)\r
10058   test "$enable_shared" = yes && enable_static=no\r
10059   if test -n "$RANLIB"; then\r
10060     archive_cmds="$archive_cmds~\$RANLIB \$lib"\r
10061     postinstall_cmds='$RANLIB $lib'\r
10062   fi\r
10063   ;;\r
10064 \r
10065 aix4* | aix5*)\r
10066   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then\r
10067     test "$enable_shared" = yes && enable_static=no\r
10068   fi\r
10069     ;;\r
10070 esac\r
10071 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5\r
10072 $as_echo "$enable_shared" >&6; }\r
10073 \r
10074 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5\r
10075 $as_echo_n "checking whether to build static libraries... " >&6; }\r
10076 # Make sure either enable_shared or enable_static is yes.\r
10077 test "$enable_shared" = yes || enable_static=yes\r
10078 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5\r
10079 $as_echo "$enable_static" >&6; }\r
10080 \r
10081 # The else clause should only fire when bootstrapping the\r
10082 # libtool distribution, otherwise you forgot to ship ltmain.sh\r
10083 # with your package, and you will get complaints that there are\r
10084 # no rules to generate ltmain.sh.\r
10085 if test -f "$ltmain"; then\r
10086   # See if we are running on zsh, and set the options which allow our commands through\r
10087   # without removal of \ escapes.\r
10088   if test -n "${ZSH_VERSION+set}" ; then\r
10089     setopt NO_GLOB_SUBST\r
10090   fi\r
10091   # Now quote all the things that may contain metacharacters while being\r
10092   # careful not to overquote the AC_SUBSTed values.  We take copies of the\r
10093   # variables and quote the copies for generation of the libtool script.\r
10094   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \\r
10095     SED SHELL STRIP \\r
10096     libname_spec library_names_spec soname_spec extract_expsyms_cmds \\r
10097     old_striplib striplib file_magic_cmd finish_cmds finish_eval \\r
10098     deplibs_check_method reload_flag reload_cmds need_locks \\r
10099     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \\r
10100     lt_cv_sys_global_symbol_to_c_name_address \\r
10101     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \\r
10102     old_postinstall_cmds old_postuninstall_cmds \\r
10103     compiler \\r
10104     CC \\r
10105     LD \\r
10106     lt_prog_compiler_wl \\r
10107     lt_prog_compiler_pic \\r
10108     lt_prog_compiler_static \\r
10109     lt_prog_compiler_no_builtin_flag \\r
10110     export_dynamic_flag_spec \\r
10111     thread_safe_flag_spec \\r
10112     whole_archive_flag_spec \\r
10113     enable_shared_with_static_runtimes \\r
10114     old_archive_cmds \\r
10115     old_archive_from_new_cmds \\r
10116     predep_objects \\r
10117     postdep_objects \\r
10118     predeps \\r
10119     postdeps \\r
10120     compiler_lib_search_path \\r
10121     archive_cmds \\r
10122     archive_expsym_cmds \\r
10123     postinstall_cmds \\r
10124     postuninstall_cmds \\r
10125     old_archive_from_expsyms_cmds \\r
10126     allow_undefined_flag \\r
10127     no_undefined_flag \\r
10128     export_symbols_cmds \\r
10129     hardcode_libdir_flag_spec \\r
10130     hardcode_libdir_flag_spec_ld \\r
10131     hardcode_libdir_separator \\r
10132     hardcode_automatic \\r
10133     module_cmds \\r
10134     module_expsym_cmds \\r
10135     lt_cv_prog_compiler_c_o \\r
10136     exclude_expsyms \\r
10137     include_expsyms; do\r
10138 \r
10139     case $var in\r
10140     old_archive_cmds | \\r
10141     old_archive_from_new_cmds | \\r
10142     archive_cmds | \\r
10143     archive_expsym_cmds | \\r
10144     module_cmds | \\r
10145     module_expsym_cmds | \\r
10146     old_archive_from_expsyms_cmds | \\r
10147     export_symbols_cmds | \\r
10148     extract_expsyms_cmds | reload_cmds | finish_cmds | \\r
10149     postinstall_cmds | postuninstall_cmds | \\r
10150     old_postinstall_cmds | old_postuninstall_cmds | \\r
10151     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)\r
10152       # Double-quote double-evaled strings.\r
10153       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""\r
10154       ;;\r
10155     *)\r
10156       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""\r
10157       ;;\r
10158     esac\r
10159   done\r
10160 \r
10161   case $lt_echo in\r
10162   *'\$0 --fallback-echo"')\r
10163     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`\r
10164     ;;\r
10165   esac\r
10166 \r
10167 cfgfile="${ofile}T"\r
10168   trap "$rm \"$cfgfile\"; exit 1" 1 2 15\r
10169   $rm -f "$cfgfile"\r
10170   { $as_echo "$as_me:$LINENO: creating $ofile" >&5\r
10171 $as_echo "$as_me: creating $ofile" >&6;}\r
10172 \r
10173   cat <<__EOF__ >> "$cfgfile"\r
10174 #! $SHELL\r
10175 \r
10176 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.\r
10177 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)\r
10178 # NOTE: Changes made to this file will be lost: look at ltmain.sh.\r
10179 #\r
10180 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001\r
10181 # Free Software Foundation, Inc.\r
10182 #\r
10183 # This file is part of GNU Libtool:\r
10184 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996\r
10185 #\r
10186 # This program is free software; you can redistribute it and/or modify\r
10187 # it under the terms of the GNU General Public License as published by\r
10188 # the Free Software Foundation; either version 2 of the License, or\r
10189 # (at your option) any later version.\r
10190 #\r
10191 # This program is distributed in the hope that it will be useful, but\r
10192 # WITHOUT ANY WARRANTY; without even the implied warranty of\r
10193 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
10194 # General Public License for more details.\r
10195 #\r
10196 # You should have received a copy of the GNU General Public License\r
10197 # along with this program; if not, write to the Free Software\r
10198 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
10199 #\r
10200 # As a special exception to the GNU General Public License, if you\r
10201 # distribute this file as part of a program that contains a\r
10202 # configuration script generated by Autoconf, you may include it under\r
10203 # the same distribution terms that you use for the rest of that program.\r
10204 \r
10205 # A sed program that does not truncate output.\r
10206 SED=$lt_SED\r
10207 \r
10208 # Sed that helps us avoid accidentally triggering echo(1) options like -n.\r
10209 Xsed="$SED -e 1s/^X//"\r
10210 \r
10211 # The HP-UX ksh and POSIX shell print the target directory to stdout\r
10212 # if CDPATH is set.\r
10213 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH\r
10214 \r
10215 # The names of the tagged configurations supported by this script.\r
10216 available_tags=\r
10217 \r
10218 # ### BEGIN LIBTOOL CONFIG\r
10219 \r
10220 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
10221 \r
10222 # Shell to use when invoking shell scripts.\r
10223 SHELL=$lt_SHELL\r
10224 \r
10225 # Whether or not to build shared libraries.\r
10226 build_libtool_libs=$enable_shared\r
10227 \r
10228 # Whether or not to build static libraries.\r
10229 build_old_libs=$enable_static\r
10230 \r
10231 # Whether or not to add -lc for building shared libraries.\r
10232 build_libtool_need_lc=$archive_cmds_need_lc\r
10233 \r
10234 # Whether or not to disallow shared libs when runtime libs are static\r
10235 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes\r
10236 \r
10237 # Whether or not to optimize for fast installation.\r
10238 fast_install=$enable_fast_install\r
10239 \r
10240 # The host system.\r
10241 host_alias=$host_alias\r
10242 host=$host\r
10243 host_os=$host_os\r
10244 \r
10245 # The build system.\r
10246 build_alias=$build_alias\r
10247 build=$build\r
10248 build_os=$build_os\r
10249 \r
10250 # An echo program that does not interpret backslashes.\r
10251 echo=$lt_echo\r
10252 \r
10253 # The archiver.\r
10254 AR=$lt_AR\r
10255 AR_FLAGS=$lt_AR_FLAGS\r
10256 \r
10257 # A C compiler.\r
10258 LTCC=$lt_LTCC\r
10259 \r
10260 # LTCC compiler flags.\r
10261 LTCFLAGS=$lt_LTCFLAGS\r
10262 \r
10263 # A language-specific compiler.\r
10264 CC=$lt_compiler\r
10265 \r
10266 # Is the compiler the GNU C compiler?\r
10267 with_gcc=$GCC\r
10268 \r
10269 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`\r
10270 gcc_ver=\`gcc -dumpversion\`\r
10271 \r
10272 # An ERE matcher.\r
10273 EGREP=$lt_EGREP\r
10274 \r
10275 # The linker used to build libraries.\r
10276 LD=$lt_LD\r
10277 \r
10278 # Whether we need hard or soft links.\r
10279 LN_S=$lt_LN_S\r
10280 \r
10281 # A BSD-compatible nm program.\r
10282 NM=$lt_NM\r
10283 \r
10284 # A symbol stripping program\r
10285 STRIP=$lt_STRIP\r
10286 \r
10287 # Used to examine libraries when file_magic_cmd begins "file"\r
10288 MAGIC_CMD=$MAGIC_CMD\r
10289 \r
10290 # Used on cygwin: DLL creation program.\r
10291 DLLTOOL="$DLLTOOL"\r
10292 \r
10293 # Used on cygwin: object dumper.\r
10294 OBJDUMP="$OBJDUMP"\r
10295 \r
10296 # Used on cygwin: assembler.\r
10297 AS="$AS"\r
10298 \r
10299 # The name of the directory that contains temporary libtool files.\r
10300 objdir=$objdir\r
10301 \r
10302 # How to create reloadable object files.\r
10303 reload_flag=$lt_reload_flag\r
10304 reload_cmds=$lt_reload_cmds\r
10305 \r
10306 # How to pass a linker flag through the compiler.\r
10307 wl=$lt_lt_prog_compiler_wl\r
10308 \r
10309 # Object file suffix (normally "o").\r
10310 objext="$ac_objext"\r
10311 \r
10312 # Old archive suffix (normally "a").\r
10313 libext="$libext"\r
10314 \r
10315 # Shared library suffix (normally ".so").\r
10316 shrext_cmds='$shrext_cmds'\r
10317 \r
10318 # Executable file suffix (normally "").\r
10319 exeext="$exeext"\r
10320 \r
10321 # Additional compiler flags for building library objects.\r
10322 pic_flag=$lt_lt_prog_compiler_pic\r
10323 pic_mode=$pic_mode\r
10324 \r
10325 # What is the maximum length of a command?\r
10326 max_cmd_len=$lt_cv_sys_max_cmd_len\r
10327 \r
10328 # Does compiler simultaneously support -c and -o options?\r
10329 compiler_c_o=$lt_lt_cv_prog_compiler_c_o\r
10330 \r
10331 # Must we lock files when doing compilation?\r
10332 need_locks=$lt_need_locks\r
10333 \r
10334 # Do we need the lib prefix for modules?\r
10335 need_lib_prefix=$need_lib_prefix\r
10336 \r
10337 # Do we need a version for libraries?\r
10338 need_version=$need_version\r
10339 \r
10340 # Whether dlopen is supported.\r
10341 dlopen_support=$enable_dlopen\r
10342 \r
10343 # Whether dlopen of programs is supported.\r
10344 dlopen_self=$enable_dlopen_self\r
10345 \r
10346 # Whether dlopen of statically linked programs is supported.\r
10347 dlopen_self_static=$enable_dlopen_self_static\r
10348 \r
10349 # Compiler flag to prevent dynamic linking.\r
10350 link_static_flag=$lt_lt_prog_compiler_static\r
10351 \r
10352 # Compiler flag to turn off builtin functions.\r
10353 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag\r
10354 \r
10355 # Compiler flag to allow reflexive dlopens.\r
10356 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec\r
10357 \r
10358 # Compiler flag to generate shared objects directly from archives.\r
10359 whole_archive_flag_spec=$lt_whole_archive_flag_spec\r
10360 \r
10361 # Compiler flag to generate thread-safe objects.\r
10362 thread_safe_flag_spec=$lt_thread_safe_flag_spec\r
10363 \r
10364 # Library versioning type.\r
10365 version_type=$version_type\r
10366 \r
10367 # Format of library name prefix.\r
10368 libname_spec=$lt_libname_spec\r
10369 \r
10370 # List of archive names.  First name is the real one, the rest are links.\r
10371 # The last name is the one that the linker finds with -lNAME.\r
10372 library_names_spec=$lt_library_names_spec\r
10373 \r
10374 # The coded name of the library, if different from the real name.\r
10375 soname_spec=$lt_soname_spec\r
10376 \r
10377 # Commands used to build and install an old-style archive.\r
10378 RANLIB=$lt_RANLIB\r
10379 old_archive_cmds=$lt_old_archive_cmds\r
10380 old_postinstall_cmds=$lt_old_postinstall_cmds\r
10381 old_postuninstall_cmds=$lt_old_postuninstall_cmds\r
10382 \r
10383 # Create an old-style archive from a shared archive.\r
10384 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds\r
10385 \r
10386 # Create a temporary old-style archive to link instead of a shared archive.\r
10387 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds\r
10388 \r
10389 # Commands used to build and install a shared archive.\r
10390 archive_cmds=$lt_archive_cmds\r
10391 archive_expsym_cmds=$lt_archive_expsym_cmds\r
10392 postinstall_cmds=$lt_postinstall_cmds\r
10393 postuninstall_cmds=$lt_postuninstall_cmds\r
10394 \r
10395 # Commands used to build a loadable module (assumed same as above if empty)\r
10396 module_cmds=$lt_module_cmds\r
10397 module_expsym_cmds=$lt_module_expsym_cmds\r
10398 \r
10399 # Commands to strip libraries.\r
10400 old_striplib=$lt_old_striplib\r
10401 striplib=$lt_striplib\r
10402 \r
10403 # Dependencies to place before the objects being linked to create a\r
10404 # shared library.\r
10405 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
10406 \r
10407 # Dependencies to place after the objects being linked to create a\r
10408 # shared library.\r
10409 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
10410 \r
10411 # Dependencies to place before the objects being linked to create a\r
10412 # shared library.\r
10413 predeps=$lt_predeps\r
10414 \r
10415 # Dependencies to place after the objects being linked to create a\r
10416 # shared library.\r
10417 postdeps=$lt_postdeps\r
10418 \r
10419 # The library search path used internally by the compiler when linking\r
10420 # a shared library.\r
10421 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
10422 \r
10423 # Method to check whether dependent libraries are shared objects.\r
10424 deplibs_check_method=$lt_deplibs_check_method\r
10425 \r
10426 # Command to use when deplibs_check_method == file_magic.\r
10427 file_magic_cmd=$lt_file_magic_cmd\r
10428 \r
10429 # Flag that allows shared libraries with undefined symbols to be built.\r
10430 allow_undefined_flag=$lt_allow_undefined_flag\r
10431 \r
10432 # Flag that forces no undefined symbols.\r
10433 no_undefined_flag=$lt_no_undefined_flag\r
10434 \r
10435 # Commands used to finish a libtool library installation in a directory.\r
10436 finish_cmds=$lt_finish_cmds\r
10437 \r
10438 # Same as above, but a single script fragment to be evaled but not shown.\r
10439 finish_eval=$lt_finish_eval\r
10440 \r
10441 # Take the output of nm and produce a listing of raw symbols and C names.\r
10442 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe\r
10443 \r
10444 # Transform the output of nm in a proper C declaration\r
10445 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl\r
10446 \r
10447 # Transform the output of nm in a C name address pair\r
10448 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address\r
10449 \r
10450 # This is the shared library runtime path variable.\r
10451 runpath_var=$runpath_var\r
10452 \r
10453 # This is the shared library path variable.\r
10454 shlibpath_var=$shlibpath_var\r
10455 \r
10456 # Is shlibpath searched before the hard-coded library search path?\r
10457 shlibpath_overrides_runpath=$shlibpath_overrides_runpath\r
10458 \r
10459 # How to hardcode a shared library path into an executable.\r
10460 hardcode_action=$hardcode_action\r
10461 \r
10462 # Whether we should hardcode library paths into libraries.\r
10463 hardcode_into_libs=$hardcode_into_libs\r
10464 \r
10465 # Flag to hardcode \$libdir into a binary during linking.\r
10466 # This must work even if \$libdir does not exist.\r
10467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec\r
10468 \r
10469 # If ld is used when linking, flag to hardcode \$libdir into\r
10470 # a binary during linking. This must work even if \$libdir does\r
10471 # not exist.\r
10472 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld\r
10473 \r
10474 # Whether we need a single -rpath flag with a separated argument.\r
10475 hardcode_libdir_separator=$lt_hardcode_libdir_separator\r
10476 \r
10477 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the\r
10478 # resulting binary.\r
10479 hardcode_direct=$hardcode_direct\r
10480 \r
10481 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the\r
10482 # resulting binary.\r
10483 hardcode_minus_L=$hardcode_minus_L\r
10484 \r
10485 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into\r
10486 # the resulting binary.\r
10487 hardcode_shlibpath_var=$hardcode_shlibpath_var\r
10488 \r
10489 # Set to yes if building a shared library automatically hardcodes DIR into the library\r
10490 # and all subsequent libraries and executables linked against it.\r
10491 hardcode_automatic=$hardcode_automatic\r
10492 \r
10493 # Variables whose values should be saved in libtool wrapper scripts and\r
10494 # restored at relink time.\r
10495 variables_saved_for_relink="$variables_saved_for_relink"\r
10496 \r
10497 # Whether libtool must link a program against all its dependency libraries.\r
10498 link_all_deplibs=$link_all_deplibs\r
10499 \r
10500 # Compile-time system search path for libraries\r
10501 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
10502 \r
10503 # Run-time system search path for libraries\r
10504 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec\r
10505 \r
10506 # Fix the shell variable \$srcfile for the compiler.\r
10507 fix_srcfile_path="$fix_srcfile_path"\r
10508 \r
10509 # Set to yes if exported symbols are required.\r
10510 always_export_symbols=$always_export_symbols\r
10511 \r
10512 # The commands to list exported symbols.\r
10513 export_symbols_cmds=$lt_export_symbols_cmds\r
10514 \r
10515 # The commands to extract the exported symbol list from a shared archive.\r
10516 extract_expsyms_cmds=$lt_extract_expsyms_cmds\r
10517 \r
10518 # Symbols that should not be listed in the preloaded symbols.\r
10519 exclude_expsyms=$lt_exclude_expsyms\r
10520 \r
10521 # Symbols that must always be exported.\r
10522 include_expsyms=$lt_include_expsyms\r
10523 \r
10524 # ### END LIBTOOL CONFIG\r
10525 \r
10526 __EOF__\r
10527 \r
10528 \r
10529   case $host_os in\r
10530   aix3*)\r
10531     cat <<\EOF >> "$cfgfile"\r
10532 \r
10533 # AIX sometimes has problems with the GCC collect2 program.  For some\r
10534 # reason, if we set the COLLECT_NAMES environment variable, the problems\r
10535 # vanish in a puff of smoke.\r
10536 if test "X${COLLECT_NAMES+set}" != Xset; then\r
10537   COLLECT_NAMES=\r
10538   export COLLECT_NAMES\r
10539 fi\r
10540 EOF\r
10541     ;;\r
10542   esac\r
10543 \r
10544   # We use sed instead of cat because bash on DJGPP gets confused if\r
10545   # if finds mixed CR/LF and LF-only lines.  Since sed operates in\r
10546   # text mode, it properly converts lines to CR/LF.  This bash problem\r
10547   # is reportedly fixed, but why not run on old versions too?\r
10548   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)\r
10549 \r
10550   mv -f "$cfgfile" "$ofile" || \\r
10551     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")\r
10552   chmod +x "$ofile"\r
10553 \r
10554 else\r
10555   # If there is no Makefile yet, we rely on a make rule to execute\r
10556   # `config.status --recheck' to rerun these tests and create the\r
10557   # libtool script then.\r
10558   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`\r
10559   if test -f "$ltmain_in"; then\r
10560     test -f Makefile && make "$ltmain"\r
10561   fi\r
10562 fi\r
10563 \r
10564 \r
10565 ac_ext=c\r
10566 ac_cpp='$CPP $CPPFLAGS'\r
10567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
10568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
10569 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
10570 \r
10571 CC="$lt_save_CC"\r
10572 \r
10573 \r
10574 # Check whether --with-tags was given.\r
10575 if test "${with_tags+set}" = set; then\r
10576   withval=$with_tags; tagnames="$withval"\r
10577 fi\r
10578 \r
10579 \r
10580 if test -f "$ltmain" && test -n "$tagnames"; then\r
10581   if test ! -f "${ofile}"; then\r
10582     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5\r
10583 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}\r
10584   fi\r
10585 \r
10586   if test -z "$LTCC"; then\r
10587     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"\r
10588     if test -z "$LTCC"; then\r
10589       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5\r
10590 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}\r
10591     else\r
10592       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5\r
10593 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}\r
10594     fi\r
10595   fi\r
10596   if test -z "$LTCFLAGS"; then\r
10597     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"\r
10598   fi\r
10599 \r
10600   # Extract list of available tagged configurations in $ofile.\r
10601   # Note that this assumes the entire list is on one line.\r
10602   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`\r
10603 \r
10604   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"\r
10605   for tagname in $tagnames; do\r
10606     IFS="$lt_save_ifs"\r
10607     # Check whether tagname contains only valid characters\r
10608     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in\r
10609     "") ;;\r
10610     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5\r
10611 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}\r
10612    { (exit 1); exit 1; }; }\r
10613         ;;\r
10614     esac\r
10615 \r
10616     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null\r
10617     then\r
10618       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5\r
10619 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}\r
10620    { (exit 1); exit 1; }; }\r
10621     fi\r
10622 \r
10623     # Update the list of available tags.\r
10624     if test -n "$tagname"; then\r
10625       echo appending configuration tag \"$tagname\" to $ofile\r
10626 \r
10627       case $tagname in\r
10628       CXX)\r
10629         if test -n "$CXX" && ( test "X$CXX" != "Xno" &&\r
10630             ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||\r
10631             (test "X$CXX" != "Xg++"))) ; then\r
10632           ac_ext=cpp\r
10633 ac_cpp='$CXXCPP $CPPFLAGS'\r
10634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
10635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
10636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
10637 \r
10638 \r
10639 \r
10640 \r
10641 archive_cmds_need_lc_CXX=no\r
10642 allow_undefined_flag_CXX=\r
10643 always_export_symbols_CXX=no\r
10644 archive_expsym_cmds_CXX=\r
10645 export_dynamic_flag_spec_CXX=\r
10646 hardcode_direct_CXX=no\r
10647 hardcode_libdir_flag_spec_CXX=\r
10648 hardcode_libdir_flag_spec_ld_CXX=\r
10649 hardcode_libdir_separator_CXX=\r
10650 hardcode_minus_L_CXX=no\r
10651 hardcode_shlibpath_var_CXX=unsupported\r
10652 hardcode_automatic_CXX=no\r
10653 module_cmds_CXX=\r
10654 module_expsym_cmds_CXX=\r
10655 link_all_deplibs_CXX=unknown\r
10656 old_archive_cmds_CXX=$old_archive_cmds\r
10657 no_undefined_flag_CXX=\r
10658 whole_archive_flag_spec_CXX=\r
10659 enable_shared_with_static_runtimes_CXX=no\r
10660 \r
10661 # Dependencies to place before and after the object being linked:\r
10662 predep_objects_CXX=\r
10663 postdep_objects_CXX=\r
10664 predeps_CXX=\r
10665 postdeps_CXX=\r
10666 compiler_lib_search_path_CXX=\r
10667 \r
10668 # Source file extension for C++ test sources.\r
10669 ac_ext=cpp\r
10670 \r
10671 # Object file extension for compiled C++ test sources.\r
10672 objext=o\r
10673 objext_CXX=$objext\r
10674 \r
10675 # Code to be used in simple compile tests\r
10676 lt_simple_compile_test_code="int some_variable = 0;\n"\r
10677 \r
10678 # Code to be used in simple link tests\r
10679 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'\r
10680 \r
10681 # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
10682 \r
10683 # If no C compiler was specified, use CC.\r
10684 LTCC=${LTCC-"$CC"}\r
10685 \r
10686 # If no C compiler flags were specified, use CFLAGS.\r
10687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
10688 \r
10689 # Allow CC to be a program name with arguments.\r
10690 compiler=$CC\r
10691 \r
10692 \r
10693 # save warnings/boilerplate of simple test code\r
10694 ac_outfile=conftest.$ac_objext\r
10695 printf "$lt_simple_compile_test_code" >conftest.$ac_ext\r
10696 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
10697 _lt_compiler_boilerplate=`cat conftest.err`\r
10698 $rm conftest*\r
10699 \r
10700 ac_outfile=conftest.$ac_objext\r
10701 printf "$lt_simple_link_test_code" >conftest.$ac_ext\r
10702 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
10703 _lt_linker_boilerplate=`cat conftest.err`\r
10704 $rm conftest*\r
10705 \r
10706 \r
10707 # Allow CC to be a program name with arguments.\r
10708 lt_save_CC=$CC\r
10709 lt_save_LD=$LD\r
10710 lt_save_GCC=$GCC\r
10711 GCC=$GXX\r
10712 lt_save_with_gnu_ld=$with_gnu_ld\r
10713 lt_save_path_LD=$lt_cv_path_LD\r
10714 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then\r
10715   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx\r
10716 else\r
10717   $as_unset lt_cv_prog_gnu_ld\r
10718 fi\r
10719 if test -n "${lt_cv_path_LDCXX+set}"; then\r
10720   lt_cv_path_LD=$lt_cv_path_LDCXX\r
10721 else\r
10722   $as_unset lt_cv_path_LD\r
10723 fi\r
10724 test -z "${LDCXX+set}" || LD=$LDCXX\r
10725 CC=${CXX-"c++"}\r
10726 compiler=$CC\r
10727 compiler_CXX=$CC\r
10728 for cc_temp in $compiler""; do\r
10729   case $cc_temp in\r
10730     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
10731     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
10732     \-*) ;;\r
10733     *) break;;\r
10734   esac\r
10735 done\r
10736 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
10737 \r
10738 \r
10739 # We don't want -fno-exception wen compiling C++ code, so set the\r
10740 # no_builtin_flag separately\r
10741 if test "$GXX" = yes; then\r
10742   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'\r
10743 else\r
10744   lt_prog_compiler_no_builtin_flag_CXX=\r
10745 fi\r
10746 \r
10747 if test "$GXX" = yes; then\r
10748   # Set up default GNU C++ configuration\r
10749 \r
10750 \r
10751 # Check whether --with-gnu-ld was given.\r
10752 if test "${with_gnu_ld+set}" = set; then\r
10753   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes\r
10754 else\r
10755   with_gnu_ld=no\r
10756 fi\r
10757 \r
10758 ac_prog=ld\r
10759 if test "$GCC" = yes; then\r
10760   # Check if gcc -print-prog-name=ld gives a path.\r
10761   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5\r
10762 $as_echo_n "checking for ld used by $CC... " >&6; }\r
10763   case $host in\r
10764   *-*-mingw*)\r
10765     # gcc leaves a trailing carriage return which upsets mingw\r
10766     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;\r
10767   *)\r
10768     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;\r
10769   esac\r
10770   case $ac_prog in\r
10771     # Accept absolute paths.\r
10772     [\\/]* | ?:[\\/]*)\r
10773       re_direlt='/[^/][^/]*/\.\./'\r
10774       # Canonicalize the pathname of ld\r
10775       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`\r
10776       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do\r
10777         ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`\r
10778       done\r
10779       test -z "$LD" && LD="$ac_prog"\r
10780       ;;\r
10781   "")\r
10782     # If it fails, then pretend we aren't using GCC.\r
10783     ac_prog=ld\r
10784     ;;\r
10785   *)\r
10786     # If it is relative, then search for the first ld in PATH.\r
10787     with_gnu_ld=unknown\r
10788     ;;\r
10789   esac\r
10790 elif test "$with_gnu_ld" = yes; then\r
10791   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5\r
10792 $as_echo_n "checking for GNU ld... " >&6; }\r
10793 else\r
10794   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5\r
10795 $as_echo_n "checking for non-GNU ld... " >&6; }\r
10796 fi\r
10797 if test "${lt_cv_path_LD+set}" = set; then\r
10798   $as_echo_n "(cached) " >&6\r
10799 else\r
10800   if test -z "$LD"; then\r
10801   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR\r
10802   for ac_dir in $PATH; do\r
10803     IFS="$lt_save_ifs"\r
10804     test -z "$ac_dir" && ac_dir=.\r
10805     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then\r
10806       lt_cv_path_LD="$ac_dir/$ac_prog"\r
10807       # Check to see if the program is GNU ld.  I'd rather use --version,\r
10808       # but apparently some variants of GNU ld only accept -v.\r
10809       # Break only if it was the GNU/non-GNU ld that we prefer.\r
10810       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in\r
10811       *GNU* | *'with BFD'*)\r
10812         test "$with_gnu_ld" != no && break\r
10813         ;;\r
10814       *)\r
10815         test "$with_gnu_ld" != yes && break\r
10816         ;;\r
10817       esac\r
10818     fi\r
10819   done\r
10820   IFS="$lt_save_ifs"\r
10821 else\r
10822   lt_cv_path_LD="$LD" # Let the user override the test with a path.\r
10823 fi\r
10824 fi\r
10825 \r
10826 LD="$lt_cv_path_LD"\r
10827 if test -n "$LD"; then\r
10828   { $as_echo "$as_me:$LINENO: result: $LD" >&5\r
10829 $as_echo "$LD" >&6; }\r
10830 else\r
10831   { $as_echo "$as_me:$LINENO: result: no" >&5\r
10832 $as_echo "no" >&6; }\r
10833 fi\r
10834 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5\r
10835 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}\r
10836    { (exit 1); exit 1; }; }\r
10837 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5\r
10838 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }\r
10839 if test "${lt_cv_prog_gnu_ld+set}" = set; then\r
10840   $as_echo_n "(cached) " >&6\r
10841 else\r
10842   # I'd rather use --version here, but apparently some GNU lds only accept -v.\r
10843 case `$LD -v 2>&1 </dev/null` in\r
10844 *GNU* | *'with BFD'*)\r
10845   lt_cv_prog_gnu_ld=yes\r
10846   ;;\r
10847 *)\r
10848   lt_cv_prog_gnu_ld=no\r
10849   ;;\r
10850 esac\r
10851 fi\r
10852 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5\r
10853 $as_echo "$lt_cv_prog_gnu_ld" >&6; }\r
10854 with_gnu_ld=$lt_cv_prog_gnu_ld\r
10855 \r
10856 \r
10857 \r
10858   # Check if GNU C++ uses GNU ld as the underlying linker, since the\r
10859   # archiving commands below assume that GNU ld is being used.\r
10860   if test "$with_gnu_ld" = yes; then\r
10861     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
10862     archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
10863 \r
10864     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'\r
10865     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'\r
10866 \r
10867     # If archive_cmds runs LD, not CC, wlarc should be empty\r
10868     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to\r
10869     #     investigate it a little bit more. (MM)\r
10870     wlarc='${wl}'\r
10871 \r
10872     # ancient GNU ld didn't support --whole-archive et. al.\r
10873     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \\r
10874         grep 'no-whole-archive' > /dev/null; then\r
10875       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
10876     else\r
10877       whole_archive_flag_spec_CXX=\r
10878     fi\r
10879   else\r
10880     with_gnu_ld=no\r
10881     wlarc=\r
10882 \r
10883     # A generic and very simple default shared library creation\r
10884     # command for GNU C++ for the case where it uses the native\r
10885     # linker, instead of GNU ld.  If possible, this setting should\r
10886     # overridden to take advantage of the native linker features on\r
10887     # the platform it is being used on.\r
10888     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'\r
10889   fi\r
10890 \r
10891   # Commands to make compiler produce verbose output that lists\r
10892   # what "hidden" libraries, object files and flags are used when\r
10893   # linking a shared library.\r
10894   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'\r
10895 \r
10896 else\r
10897   GXX=no\r
10898   with_gnu_ld=no\r
10899   wlarc=\r
10900 fi\r
10901 \r
10902 # PORTME: fill in a description of your system's C++ link characteristics\r
10903 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5\r
10904 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }\r
10905 ld_shlibs_CXX=yes\r
10906 case $host_os in\r
10907   aix3*)\r
10908     # FIXME: insert proper C++ library support\r
10909     ld_shlibs_CXX=no\r
10910     ;;\r
10911   aix4* | aix5*)\r
10912     if test "$host_cpu" = ia64; then\r
10913       # On IA64, the linker does run time linking by default, so we don't\r
10914       # have to do anything special.\r
10915       aix_use_runtimelinking=no\r
10916       exp_sym_flag='-Bexport'\r
10917       no_entry_flag=""\r
10918     else\r
10919       aix_use_runtimelinking=no\r
10920 \r
10921       # Test if we are trying to use run time linking or normal\r
10922       # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
10923       # need to do runtime linking.\r
10924       case $host_os in aix4.[23]|aix4.[23].*|aix5*)\r
10925         for ld_flag in $LDFLAGS; do\r
10926           case $ld_flag in\r
10927           *-brtl*)\r
10928             aix_use_runtimelinking=yes\r
10929             break\r
10930             ;;\r
10931           esac\r
10932         done\r
10933         ;;\r
10934       esac\r
10935 \r
10936       exp_sym_flag='-bexport'\r
10937       no_entry_flag='-bnoentry'\r
10938     fi\r
10939 \r
10940     # When large executables or shared objects are built, AIX ld can\r
10941     # have problems creating the table of contents.  If linking a library\r
10942     # or program results in "error TOC overflow" add -mminimal-toc to\r
10943     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
10944     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
10945 \r
10946     archive_cmds_CXX=''\r
10947     hardcode_direct_CXX=yes\r
10948     hardcode_libdir_separator_CXX=':'\r
10949     link_all_deplibs_CXX=yes\r
10950 \r
10951     if test "$GXX" = yes; then\r
10952       case $host_os in aix4.[012]|aix4.[012].*)\r
10953       # We only want to do this on AIX 4.2 and lower, the check\r
10954       # below for broken collect2 doesn't work under 4.3+\r
10955         collect2name=`${CC} -print-prog-name=collect2`\r
10956         if test -f "$collect2name" && \\r
10957            strings "$collect2name" | grep resolve_lib_name >/dev/null\r
10958         then\r
10959           # We have reworked collect2\r
10960           hardcode_direct_CXX=yes\r
10961         else\r
10962           # We have old collect2\r
10963           hardcode_direct_CXX=unsupported\r
10964           # It fails to find uninstalled libraries when the uninstalled\r
10965           # path is not listed in the libpath.  Setting hardcode_minus_L\r
10966           # to unsupported forces relinking\r
10967           hardcode_minus_L_CXX=yes\r
10968           hardcode_libdir_flag_spec_CXX='-L$libdir'\r
10969           hardcode_libdir_separator_CXX=\r
10970         fi\r
10971         ;;\r
10972       esac\r
10973       shared_flag='-shared'\r
10974       if test "$aix_use_runtimelinking" = yes; then\r
10975         shared_flag="$shared_flag "'${wl}-G'\r
10976       fi\r
10977     else\r
10978       # not using gcc\r
10979       if test "$host_cpu" = ia64; then\r
10980         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
10981         # chokes on -Wl,-G. The following line is correct:\r
10982         shared_flag='-G'\r
10983       else\r
10984         if test "$aix_use_runtimelinking" = yes; then\r
10985           shared_flag='${wl}-G'\r
10986         else\r
10987           shared_flag='${wl}-bM:SRE'\r
10988         fi\r
10989       fi\r
10990     fi\r
10991 \r
10992     # It seems that -bexpall does not export symbols beginning with\r
10993     # underscore (_), so it is better to generate a list of symbols to export.\r
10994     always_export_symbols_CXX=yes\r
10995     if test "$aix_use_runtimelinking" = yes; then\r
10996       # Warning - without using the other runtime loading flags (-brtl),\r
10997       # -berok will link without error, but may produce a broken library.\r
10998       allow_undefined_flag_CXX='-berok'\r
10999       # Determine the default libpath from the value encoded in an empty executable.\r
11000       cat >conftest.$ac_ext <<_ACEOF\r
11001 /* confdefs.h.  */\r
11002 _ACEOF\r
11003 cat confdefs.h >>conftest.$ac_ext\r
11004 cat >>conftest.$ac_ext <<_ACEOF\r
11005 /* end confdefs.h.  */\r
11006 \r
11007 int\r
11008 main ()\r
11009 {\r
11010 \r
11011   ;\r
11012   return 0;\r
11013 }\r
11014 _ACEOF\r
11015 rm -f conftest.$ac_objext conftest$ac_exeext\r
11016 if { (ac_try="$ac_link"\r
11017 case "(($ac_try" in\r
11018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
11019   *) ac_try_echo=$ac_try;;\r
11020 esac\r
11021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
11022 $as_echo "$ac_try_echo") >&5\r
11023   (eval "$ac_link") 2>conftest.er1\r
11024   ac_status=$?\r
11025   grep -v '^ *+' conftest.er1 >conftest.err\r
11026   rm -f conftest.er1\r
11027   cat conftest.err >&5\r
11028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
11029   (exit $ac_status); } && {\r
11030          test -z "$ac_cxx_werror_flag" ||\r
11031          test ! -s conftest.err\r
11032        } && test -s conftest$ac_exeext && {\r
11033          test "$cross_compiling" = yes ||\r
11034          $as_test_x conftest$ac_exeext\r
11035        }; then\r
11036 \r
11037 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
11038 }'`\r
11039 # Check for a 64-bit object if we didn't find anything.\r
11040 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
11041 }'`; fi\r
11042 else\r
11043   $as_echo "$as_me: failed program was:" >&5\r
11044 sed 's/^/| /' conftest.$ac_ext >&5\r
11045 \r
11046 \r
11047 fi\r
11048 \r
11049 rm -rf conftest.dSYM\r
11050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
11051       conftest$ac_exeext conftest.$ac_ext\r
11052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
11053 \r
11054       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"\r
11055 \r
11056       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
11057      else\r
11058       if test "$host_cpu" = ia64; then\r
11059         hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'\r
11060         allow_undefined_flag_CXX="-z nodefs"\r
11061         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"\r
11062       else\r
11063         # Determine the default libpath from the value encoded in an empty executable.\r
11064         cat >conftest.$ac_ext <<_ACEOF\r
11065 /* confdefs.h.  */\r
11066 _ACEOF\r
11067 cat confdefs.h >>conftest.$ac_ext\r
11068 cat >>conftest.$ac_ext <<_ACEOF\r
11069 /* end confdefs.h.  */\r
11070 \r
11071 int\r
11072 main ()\r
11073 {\r
11074 \r
11075   ;\r
11076   return 0;\r
11077 }\r
11078 _ACEOF\r
11079 rm -f conftest.$ac_objext conftest$ac_exeext\r
11080 if { (ac_try="$ac_link"\r
11081 case "(($ac_try" in\r
11082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
11083   *) ac_try_echo=$ac_try;;\r
11084 esac\r
11085 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
11086 $as_echo "$ac_try_echo") >&5\r
11087   (eval "$ac_link") 2>conftest.er1\r
11088   ac_status=$?\r
11089   grep -v '^ *+' conftest.er1 >conftest.err\r
11090   rm -f conftest.er1\r
11091   cat conftest.err >&5\r
11092   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
11093   (exit $ac_status); } && {\r
11094          test -z "$ac_cxx_werror_flag" ||\r
11095          test ! -s conftest.err\r
11096        } && test -s conftest$ac_exeext && {\r
11097          test "$cross_compiling" = yes ||\r
11098          $as_test_x conftest$ac_exeext\r
11099        }; then\r
11100 \r
11101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
11102 }'`\r
11103 # Check for a 64-bit object if we didn't find anything.\r
11104 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
11105 }'`; fi\r
11106 else\r
11107   $as_echo "$as_me: failed program was:" >&5\r
11108 sed 's/^/| /' conftest.$ac_ext >&5\r
11109 \r
11110 \r
11111 fi\r
11112 \r
11113 rm -rf conftest.dSYM\r
11114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
11115       conftest$ac_exeext conftest.$ac_ext\r
11116 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
11117 \r
11118         hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"\r
11119         # Warning - without using the other run time loading flags,\r
11120         # -berok will link without error, but may produce a broken library.\r
11121         no_undefined_flag_CXX=' ${wl}-bernotok'\r
11122         allow_undefined_flag_CXX=' ${wl}-berok'\r
11123         # Exported symbols can be pulled into shared objects from archives\r
11124         whole_archive_flag_spec_CXX='$convenience'\r
11125         archive_cmds_need_lc_CXX=yes\r
11126         # This is similar to how AIX traditionally builds its shared libraries.\r
11127         archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'\r
11128       fi\r
11129     fi\r
11130     ;;\r
11131 \r
11132   beos*)\r
11133     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
11134       allow_undefined_flag_CXX=unsupported\r
11135       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
11136       # support --undefined.  This deserves some investigation.  FIXME\r
11137       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
11138     else\r
11139       ld_shlibs_CXX=no\r
11140     fi\r
11141     ;;\r
11142 \r
11143   chorus*)\r
11144     case $cc_basename in\r
11145       *)\r
11146         # FIXME: insert proper C++ library support\r
11147         ld_shlibs_CXX=no\r
11148         ;;\r
11149     esac\r
11150     ;;\r
11151 \r
11152   cygwin* | mingw* | pw32*)\r
11153     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,\r
11154     # as there is no search path for DLLs.\r
11155     hardcode_libdir_flag_spec_CXX='-L$libdir'\r
11156     allow_undefined_flag_CXX=unsupported\r
11157     always_export_symbols_CXX=no\r
11158     enable_shared_with_static_runtimes_CXX=yes\r
11159 \r
11160     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then\r
11161       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'\r
11162       # If the export-symbols file already is a .def file (1st line\r
11163       # is EXPORTS), use it as is; otherwise, prepend...\r
11164       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
11165         cp $export_symbols $output_objdir/$soname.def;\r
11166       else\r
11167         echo EXPORTS > $output_objdir/$soname.def;\r
11168         cat $export_symbols >> $output_objdir/$soname.def;\r
11169       fi~\r
11170       $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'\r
11171     else\r
11172       ld_shlibs_CXX=no\r
11173     fi\r
11174   ;;\r
11175       darwin* | rhapsody*)\r
11176         case $host_os in\r
11177         rhapsody* | darwin1.[012])\r
11178          allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'\r
11179          ;;\r
11180        *) # Darwin 1.3 on\r
11181          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then\r
11182            allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
11183          else\r
11184            case ${MACOSX_DEPLOYMENT_TARGET} in\r
11185              10.[012])\r
11186                allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
11187                ;;\r
11188              10.*)\r
11189                allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'\r
11190                ;;\r
11191            esac\r
11192          fi\r
11193          ;;\r
11194         esac\r
11195       archive_cmds_need_lc_CXX=no\r
11196       hardcode_direct_CXX=no\r
11197       hardcode_automatic_CXX=yes\r
11198       hardcode_shlibpath_var_CXX=unsupported\r
11199       whole_archive_flag_spec_CXX=''\r
11200       link_all_deplibs_CXX=yes\r
11201 \r
11202     if test "$GXX" = yes ; then\r
11203       lt_int_apple_cc_single_mod=no\r
11204       output_verbose_link_cmd='echo'\r
11205       if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then\r
11206        lt_int_apple_cc_single_mod=yes\r
11207       fi\r
11208       if test "X$lt_int_apple_cc_single_mod" = Xyes ; then\r
11209        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'\r
11210       else\r
11211           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'\r
11212         fi\r
11213         module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
11214         # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
11215           if test "X$lt_int_apple_cc_single_mod" = Xyes ; then\r
11216             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
11217           else\r
11218             archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
11219           fi\r
11220             module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
11221       else\r
11222       case $cc_basename in\r
11223         xlc*)\r
11224          output_verbose_link_cmd='echo'\r
11225           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'\r
11226           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
11227           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
11228           archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
11229           module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
11230           ;;\r
11231        *)\r
11232          ld_shlibs_CXX=no\r
11233           ;;\r
11234       esac\r
11235       fi\r
11236         ;;\r
11237 \r
11238   dgux*)\r
11239     case $cc_basename in\r
11240       ec++*)\r
11241         # FIXME: insert proper C++ library support\r
11242         ld_shlibs_CXX=no\r
11243         ;;\r
11244       ghcx*)\r
11245         # Green Hills C++ Compiler\r
11246         # FIXME: insert proper C++ library support\r
11247         ld_shlibs_CXX=no\r
11248         ;;\r
11249       *)\r
11250         # FIXME: insert proper C++ library support\r
11251         ld_shlibs_CXX=no\r
11252         ;;\r
11253     esac\r
11254     ;;\r
11255   freebsd[12]*)\r
11256     # C++ shared libraries reported to be fairly broken before switch to ELF\r
11257     ld_shlibs_CXX=no\r
11258     ;;\r
11259   freebsd-elf*)\r
11260     archive_cmds_need_lc_CXX=no\r
11261     ;;\r
11262   freebsd* | kfreebsd*-gnu | dragonfly*)\r
11263     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF\r
11264     # conventions\r
11265     ld_shlibs_CXX=yes\r
11266     ;;\r
11267   gnu*)\r
11268     ;;\r
11269   hpux9*)\r
11270     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'\r
11271     hardcode_libdir_separator_CXX=:\r
11272     export_dynamic_flag_spec_CXX='${wl}-E'\r
11273     hardcode_direct_CXX=yes\r
11274     hardcode_minus_L_CXX=yes # Not in the search PATH,\r
11275                                 # but as the default\r
11276                                 # location of the library.\r
11277 \r
11278     case $cc_basename in\r
11279     CC*)\r
11280       # FIXME: insert proper C++ library support\r
11281       ld_shlibs_CXX=no\r
11282       ;;\r
11283     aCC*)\r
11284       archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
11285       # Commands to make compiler produce verbose output that lists\r
11286       # what "hidden" libraries, object files and flags are used when\r
11287       # linking a shared library.\r
11288       #\r
11289       # There doesn't appear to be a way to prevent this compiler from\r
11290       # explicitly linking system object files so we need to strip them\r
11291       # from the output so that they don't get included in the library\r
11292       # dependencies.\r
11293       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; echo $list'\r
11294       ;;\r
11295     *)\r
11296       if test "$GXX" = yes; then\r
11297         archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
11298       else\r
11299         # FIXME: insert proper C++ library support\r
11300         ld_shlibs_CXX=no\r
11301       fi\r
11302       ;;\r
11303     esac\r
11304     ;;\r
11305   hpux10*|hpux11*)\r
11306     if test $with_gnu_ld = no; then\r
11307       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'\r
11308       hardcode_libdir_separator_CXX=:\r
11309 \r
11310       case $host_cpu in\r
11311       hppa*64*|ia64*)\r
11312         hardcode_libdir_flag_spec_ld_CXX='+b $libdir'\r
11313         ;;\r
11314       *)\r
11315         export_dynamic_flag_spec_CXX='${wl}-E'\r
11316         ;;\r
11317       esac\r
11318     fi\r
11319     case $host_cpu in\r
11320     hppa*64*|ia64*)\r
11321       hardcode_direct_CXX=no\r
11322       hardcode_shlibpath_var_CXX=no\r
11323       ;;\r
11324     *)\r
11325       hardcode_direct_CXX=yes\r
11326       hardcode_minus_L_CXX=yes # Not in the search PATH,\r
11327                                               # but as the default\r
11328                                               # location of the library.\r
11329       ;;\r
11330     esac\r
11331 \r
11332     case $cc_basename in\r
11333       CC*)\r
11334         # FIXME: insert proper C++ library support\r
11335         ld_shlibs_CXX=no\r
11336         ;;\r
11337       aCC*)\r
11338         case $host_cpu in\r
11339         hppa*64*)\r
11340           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11341           ;;\r
11342         ia64*)\r
11343           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11344           ;;\r
11345         *)\r
11346           archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11347           ;;\r
11348         esac\r
11349         # Commands to make compiler produce verbose output that lists\r
11350         # what "hidden" libraries, object files and flags are used when\r
11351         # linking a shared library.\r
11352         #\r
11353         # There doesn't appear to be a way to prevent this compiler from\r
11354         # explicitly linking system object files so we need to strip them\r
11355         # from the output so that they don't get included in the library\r
11356         # dependencies.\r
11357         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; echo $list'\r
11358         ;;\r
11359       *)\r
11360         if test "$GXX" = yes; then\r
11361           if test $with_gnu_ld = no; then\r
11362             case $host_cpu in\r
11363             hppa*64*)\r
11364               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11365               ;;\r
11366             ia64*)\r
11367               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11368               ;;\r
11369             *)\r
11370               archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11371               ;;\r
11372             esac\r
11373           fi\r
11374         else\r
11375           # FIXME: insert proper C++ library support\r
11376           ld_shlibs_CXX=no\r
11377         fi\r
11378         ;;\r
11379     esac\r
11380     ;;\r
11381   interix3*)\r
11382     hardcode_direct_CXX=no\r
11383     hardcode_shlibpath_var_CXX=no\r
11384     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'\r
11385     export_dynamic_flag_spec_CXX='${wl}-E'\r
11386     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
11387     # Instead, shared libraries are loaded at an image base (0x10000000 by\r
11388     # default) and relocated if they conflict, which is a slow very memory\r
11389     # consuming and fragmenting process.  To avoid this, we pick a random,\r
11390     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
11391     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
11392     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'\r
11393     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'\r
11394     ;;\r
11395   irix5* | irix6*)\r
11396     case $cc_basename in\r
11397       CC*)\r
11398         # SGI C++\r
11399         archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
11400 \r
11401         # Archives containing C++ object files must be created using\r
11402         # "CC -ar", where "CC" is the IRIX C++ compiler.  This is\r
11403         # necessary to make sure instantiated templates are included\r
11404         # in the archive.\r
11405         old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'\r
11406         ;;\r
11407       *)\r
11408         if test "$GXX" = yes; then\r
11409           if test "$with_gnu_ld" = no; then\r
11410             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
11411           else\r
11412             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'\r
11413           fi\r
11414         fi\r
11415         link_all_deplibs_CXX=yes\r
11416         ;;\r
11417     esac\r
11418     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'\r
11419     hardcode_libdir_separator_CXX=:\r
11420     ;;\r
11421   linux*)\r
11422     case $cc_basename in\r
11423       KCC*)\r
11424         # Kuck and Associates, Inc. (KAI) C++ Compiler\r
11425 \r
11426         # KCC will only create a shared library if the output file\r
11427         # ends with ".so" (or ".sl" for HP-UX), so rename the library\r
11428         # to its proper name (with version) after linking.\r
11429         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'\r
11430         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'\r
11431         # Commands to make compiler produce verbose output that lists\r
11432         # what "hidden" libraries, object files and flags are used when\r
11433         # linking a shared library.\r
11434         #\r
11435         # There doesn't appear to be a way to prevent this compiler from\r
11436         # explicitly linking system object files so we need to strip them\r
11437         # from the output so that they don't get included in the library\r
11438         # dependencies.\r
11439         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; echo $list'\r
11440 \r
11441         hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'\r
11442         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'\r
11443 \r
11444         # Archives containing C++ object files must be created using\r
11445         # "CC -Bstatic", where "CC" is the KAI C++ compiler.\r
11446         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'\r
11447         ;;\r
11448       icpc*)\r
11449         # Intel C++\r
11450         with_gnu_ld=yes\r
11451         # version 8.0 and above of icpc choke on multiply defined symbols\r
11452         # if we add $predep_objects and $postdep_objects, however 7.1 and\r
11453         # earlier do not add the objects themselves.\r
11454         case `$CC -V 2>&1` in\r
11455         *"Version 7."*)\r
11456           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
11457           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'\r
11458           ;;\r
11459         *)  # Version 8.0 or newer\r
11460           tmp_idyn=\r
11461           case $host_cpu in\r
11462             ia64*) tmp_idyn=' -i_dynamic';;\r
11463           esac\r
11464           archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
11465           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'\r
11466           ;;\r
11467         esac\r
11468         archive_cmds_need_lc_CXX=no\r
11469         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'\r
11470         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'\r
11471         whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'\r
11472         ;;\r
11473       pgCC*)\r
11474         # Portland Group C++ compiler\r
11475         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'\r
11476         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'\r
11477 \r
11478         hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'\r
11479         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'\r
11480         whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
11481         ;;\r
11482       cxx*)\r
11483         # Compaq C++\r
11484         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
11485         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'\r
11486 \r
11487         runpath_var=LD_RUN_PATH\r
11488         hardcode_libdir_flag_spec_CXX='-rpath $libdir'\r
11489         hardcode_libdir_separator_CXX=:\r
11490 \r
11491         # Commands to make compiler produce verbose output that lists\r
11492         # what "hidden" libraries, object files and flags are used when\r
11493         # linking a shared library.\r
11494         #\r
11495         # There doesn't appear to be a way to prevent this compiler from\r
11496         # explicitly linking system object files so we need to strip them\r
11497         # from the output so that they don't get included in the library\r
11498         # dependencies.\r
11499         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'\r
11500         ;;\r
11501     esac\r
11502     ;;\r
11503   lynxos*)\r
11504     # FIXME: insert proper C++ library support\r
11505     ld_shlibs_CXX=no\r
11506     ;;\r
11507   m88k*)\r
11508     # FIXME: insert proper C++ library support\r
11509     ld_shlibs_CXX=no\r
11510     ;;\r
11511   mvs*)\r
11512     case $cc_basename in\r
11513       cxx*)\r
11514         # FIXME: insert proper C++ library support\r
11515         ld_shlibs_CXX=no\r
11516         ;;\r
11517       *)\r
11518         # FIXME: insert proper C++ library support\r
11519         ld_shlibs_CXX=no\r
11520         ;;\r
11521     esac\r
11522     ;;\r
11523   netbsd*)\r
11524     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
11525       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'\r
11526       wlarc=\r
11527       hardcode_libdir_flag_spec_CXX='-R$libdir'\r
11528       hardcode_direct_CXX=yes\r
11529       hardcode_shlibpath_var_CXX=no\r
11530     fi\r
11531     # Workaround some broken pre-1.5 toolchains\r
11532     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'\r
11533     ;;\r
11534   openbsd2*)\r
11535     # C++ shared libraries are fairly broken\r
11536     ld_shlibs_CXX=no\r
11537     ;;\r
11538   openbsd*)\r
11539     hardcode_direct_CXX=yes\r
11540     hardcode_shlibpath_var_CXX=no\r
11541     archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'\r
11542     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'\r
11543     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
11544       archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'\r
11545       export_dynamic_flag_spec_CXX='${wl}-E'\r
11546       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
11547     fi\r
11548     output_verbose_link_cmd='echo'\r
11549     ;;\r
11550   osf3*)\r
11551     case $cc_basename in\r
11552       KCC*)\r
11553         # Kuck and Associates, Inc. (KAI) C++ Compiler\r
11554 \r
11555         # KCC will only create a shared library if the output file\r
11556         # ends with ".so" (or ".sl" for HP-UX), so rename the library\r
11557         # to its proper name (with version) after linking.\r
11558         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'\r
11559 \r
11560         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'\r
11561         hardcode_libdir_separator_CXX=:\r
11562 \r
11563         # Archives containing C++ object files must be created using\r
11564         # "CC -Bstatic", where "CC" is the KAI C++ compiler.\r
11565         old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'\r
11566 \r
11567         ;;\r
11568       RCC*)\r
11569         # Rational C++ 2.4.1\r
11570         # FIXME: insert proper C++ library support\r
11571         ld_shlibs_CXX=no\r
11572         ;;\r
11573       cxx*)\r
11574         allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'\r
11575         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
11576 \r
11577         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'\r
11578         hardcode_libdir_separator_CXX=:\r
11579 \r
11580         # Commands to make compiler produce verbose output that lists\r
11581         # what "hidden" libraries, object files and flags are used when\r
11582         # linking a shared library.\r
11583         #\r
11584         # There doesn't appear to be a way to prevent this compiler from\r
11585         # explicitly linking system object files so we need to strip them\r
11586         # from the output so that they don't get included in the library\r
11587         # dependencies.\r
11588         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'\r
11589         ;;\r
11590       *)\r
11591         if test "$GXX" = yes && test "$with_gnu_ld" = no; then\r
11592           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'\r
11593           archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
11594 \r
11595           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'\r
11596           hardcode_libdir_separator_CXX=:\r
11597 \r
11598           # Commands to make compiler produce verbose output that lists\r
11599           # what "hidden" libraries, object files and flags are used when\r
11600           # linking a shared library.\r
11601           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'\r
11602 \r
11603         else\r
11604           # FIXME: insert proper C++ library support\r
11605           ld_shlibs_CXX=no\r
11606         fi\r
11607         ;;\r
11608     esac\r
11609     ;;\r
11610   osf4* | osf5*)\r
11611     case $cc_basename in\r
11612       KCC*)\r
11613         # Kuck and Associates, Inc. (KAI) C++ Compiler\r
11614 \r
11615         # KCC will only create a shared library if the output file\r
11616         # ends with ".so" (or ".sl" for HP-UX), so rename the library\r
11617         # to its proper name (with version) after linking.\r
11618         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'\r
11619 \r
11620         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'\r
11621         hardcode_libdir_separator_CXX=:\r
11622 \r
11623         # Archives containing C++ object files must be created using\r
11624         # the KAI C++ compiler.\r
11625         old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'\r
11626         ;;\r
11627       RCC*)\r
11628         # Rational C++ 2.4.1\r
11629         # FIXME: insert proper C++ library support\r
11630         ld_shlibs_CXX=no\r
11631         ;;\r
11632       cxx*)\r
11633         allow_undefined_flag_CXX=' -expect_unresolved \*'\r
11634         archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
11635         archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~\r
11636           echo "-hidden">> $lib.exp~\r
11637           $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~\r
11638           $rm $lib.exp'\r
11639 \r
11640         hardcode_libdir_flag_spec_CXX='-rpath $libdir'\r
11641         hardcode_libdir_separator_CXX=:\r
11642 \r
11643         # Commands to make compiler produce verbose output that lists\r
11644         # what "hidden" libraries, object files and flags are used when\r
11645         # linking a shared library.\r
11646         #\r
11647         # There doesn't appear to be a way to prevent this compiler from\r
11648         # explicitly linking system object files so we need to strip them\r
11649         # from the output so that they don't get included in the library\r
11650         # dependencies.\r
11651         output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'\r
11652         ;;\r
11653       *)\r
11654         if test "$GXX" = yes && test "$with_gnu_ld" = no; then\r
11655           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'\r
11656          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
11657 \r
11658           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'\r
11659           hardcode_libdir_separator_CXX=:\r
11660 \r
11661           # Commands to make compiler produce verbose output that lists\r
11662           # what "hidden" libraries, object files and flags are used when\r
11663           # linking a shared library.\r
11664           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'\r
11665 \r
11666         else\r
11667           # FIXME: insert proper C++ library support\r
11668           ld_shlibs_CXX=no\r
11669         fi\r
11670         ;;\r
11671     esac\r
11672     ;;\r
11673   psos*)\r
11674     # FIXME: insert proper C++ library support\r
11675     ld_shlibs_CXX=no\r
11676     ;;\r
11677   sunos4*)\r
11678     case $cc_basename in\r
11679       CC*)\r
11680         # Sun C++ 4.x\r
11681         # FIXME: insert proper C++ library support\r
11682         ld_shlibs_CXX=no\r
11683         ;;\r
11684       lcc*)\r
11685         # Lucid\r
11686         # FIXME: insert proper C++ library support\r
11687         ld_shlibs_CXX=no\r
11688         ;;\r
11689       *)\r
11690         # FIXME: insert proper C++ library support\r
11691         ld_shlibs_CXX=no\r
11692         ;;\r
11693     esac\r
11694     ;;\r
11695   solaris*)\r
11696     case $cc_basename in\r
11697       CC*)\r
11698         # Sun C++ 4.2, 5.x and Centerline C++\r
11699         archive_cmds_need_lc_CXX=yes\r
11700         no_undefined_flag_CXX=' -zdefs'\r
11701         archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'\r
11702         archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
11703         $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'\r
11704 \r
11705         hardcode_libdir_flag_spec_CXX='-R$libdir'\r
11706         hardcode_shlibpath_var_CXX=no\r
11707         case $host_os in\r
11708           solaris2.[0-5] | solaris2.[0-5].*) ;;\r
11709           *)\r
11710             # The C++ compiler is used as linker so we must use $wl\r
11711             # flag to pass the commands to the underlying system\r
11712             # linker. We must also pass each convience library through\r
11713             # to the system linker between allextract/defaultextract.\r
11714             # The C++ compiler will combine linker options so we\r
11715             # cannot just pass the convience library names through\r
11716             # without $wl.\r
11717             # Supported since Solaris 2.6 (maybe 2.5.1?)\r
11718             whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'\r
11719             ;;\r
11720         esac\r
11721         link_all_deplibs_CXX=yes\r
11722 \r
11723         output_verbose_link_cmd='echo'\r
11724 \r
11725         # Archives containing C++ object files must be created using\r
11726         # "CC -xar", where "CC" is the Sun C++ compiler.  This is\r
11727         # necessary to make sure instantiated templates are included\r
11728         # in the archive.\r
11729         old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'\r
11730         ;;\r
11731       gcx*)\r
11732         # Green Hills C++ Compiler\r
11733         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
11734 \r
11735         # The C++ compiler must be used to create the archive.\r
11736         old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'\r
11737         ;;\r
11738       *)\r
11739         # GNU C++ compiler with Solaris linker\r
11740         if test "$GXX" = yes && test "$with_gnu_ld" = no; then\r
11741           no_undefined_flag_CXX=' ${wl}-z ${wl}defs'\r
11742           if $CC --version | grep -v '^2\.7' > /dev/null; then\r
11743             archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
11744             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
11745                 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'\r
11746 \r
11747             # Commands to make compiler produce verbose output that lists\r
11748             # what "hidden" libraries, object files and flags are used when\r
11749             # linking a shared library.\r
11750             output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""\r
11751           else\r
11752             # g++ 2.7 appears to require `-G' NOT `-shared' on this\r
11753             # platform.\r
11754             archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'\r
11755             archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
11756                 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'\r
11757 \r
11758             # Commands to make compiler produce verbose output that lists\r
11759             # what "hidden" libraries, object files and flags are used when\r
11760             # linking a shared library.\r
11761             output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""\r
11762           fi\r
11763 \r
11764           hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'\r
11765         fi\r
11766         ;;\r
11767     esac\r
11768     ;;\r
11769   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)\r
11770     no_undefined_flag_CXX='${wl}-z,text'\r
11771     archive_cmds_need_lc_CXX=no\r
11772     hardcode_shlibpath_var_CXX=no\r
11773     runpath_var='LD_RUN_PATH'\r
11774 \r
11775     case $cc_basename in\r
11776       CC*)\r
11777         archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11778         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11779         ;;\r
11780       *)\r
11781         archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11782         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11783         ;;\r
11784     esac\r
11785     ;;\r
11786   sysv5* | sco3.2v5* | sco5v6*)\r
11787     # Note: We can NOT use -z defs as we might desire, because we do not\r
11788     # link with -lc, and that would cause any symbols used from libc to\r
11789     # always be unresolved, which means just about no library would\r
11790     # ever link correctly.  If we're not using GNU ld we use -z text\r
11791     # though, which does catch some bad symbols but isn't as heavy-handed\r
11792     # as -z defs.\r
11793     # For security reasons, it is highly recommended that you always\r
11794     # use absolute paths for naming shared libraries, and exclude the\r
11795     # DT_RUNPATH tag from executables and libraries.  But doing so\r
11796     # requires that you compile everything twice, which is a pain.\r
11797     # So that behaviour is only enabled if SCOABSPATH is set to a\r
11798     # non-empty value in the environment.  Most likely only useful for\r
11799     # creating official distributions of packages.\r
11800     # This is a hack until libtool officially supports absolute path\r
11801     # names for shared libraries.\r
11802     no_undefined_flag_CXX='${wl}-z,text'\r
11803     allow_undefined_flag_CXX='${wl}-z,nodefs'\r
11804     archive_cmds_need_lc_CXX=no\r
11805     hardcode_shlibpath_var_CXX=no\r
11806     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'\r
11807     hardcode_libdir_separator_CXX=':'\r
11808     link_all_deplibs_CXX=yes\r
11809     export_dynamic_flag_spec_CXX='${wl}-Bexport'\r
11810     runpath_var='LD_RUN_PATH'\r
11811 \r
11812     case $cc_basename in\r
11813       CC*)\r
11814         archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11815         archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11816         ;;\r
11817       *)\r
11818         archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11819         archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
11820         ;;\r
11821     esac\r
11822     ;;\r
11823   tandem*)\r
11824     case $cc_basename in\r
11825       NCC*)\r
11826         # NonStop-UX NCC 3.20\r
11827         # FIXME: insert proper C++ library support\r
11828         ld_shlibs_CXX=no\r
11829         ;;\r
11830       *)\r
11831         # FIXME: insert proper C++ library support\r
11832         ld_shlibs_CXX=no\r
11833         ;;\r
11834     esac\r
11835     ;;\r
11836   vxworks*)\r
11837     # FIXME: insert proper C++ library support\r
11838     ld_shlibs_CXX=no\r
11839     ;;\r
11840   *)\r
11841     # FIXME: insert proper C++ library support\r
11842     ld_shlibs_CXX=no\r
11843     ;;\r
11844 esac\r
11845 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5\r
11846 $as_echo "$ld_shlibs_CXX" >&6; }\r
11847 test "$ld_shlibs_CXX" = no && can_build_shared=no\r
11848 \r
11849 GCC_CXX="$GXX"\r
11850 LD_CXX="$LD"\r
11851 \r
11852 \r
11853 cat > conftest.$ac_ext <<EOF\r
11854 class Foo\r
11855 {\r
11856 public:\r
11857   Foo (void) { a = 0; }\r
11858 private:\r
11859   int a;\r
11860 };\r
11861 EOF\r
11862 \r
11863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
11864   (eval $ac_compile) 2>&5\r
11865   ac_status=$?\r
11866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
11867   (exit $ac_status); }; then\r
11868   # Parse the compiler output and extract the necessary\r
11869   # objects, libraries and library flags.\r
11870 \r
11871   # Sentinel used to keep track of whether or not we are before\r
11872   # the conftest object file.\r
11873   pre_test_object_deps_done=no\r
11874 \r
11875   # The `*' in the case matches for architectures that use `case' in\r
11876   # $output_verbose_cmd can trigger glob expansion during the loop\r
11877   # eval without this substitution.\r
11878   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`\r
11879 \r
11880   for p in `eval $output_verbose_link_cmd`; do\r
11881     case $p in\r
11882 \r
11883     -L* | -R* | -l*)\r
11884        # Some compilers place space between "-{L,R}" and the path.\r
11885        # Remove the space.\r
11886        if test $p = "-L" \\r
11887           || test $p = "-R"; then\r
11888          prev=$p\r
11889          continue\r
11890        else\r
11891          prev=\r
11892        fi\r
11893 \r
11894        if test "$pre_test_object_deps_done" = no; then\r
11895          case $p in\r
11896          -L* | -R*)\r
11897            # Internal compiler library paths should come after those\r
11898            # provided the user.  The postdeps already come after the\r
11899            # user supplied libs so there is no need to process them.\r
11900            if test -z "$compiler_lib_search_path_CXX"; then\r
11901              compiler_lib_search_path_CXX="${prev}${p}"\r
11902            else\r
11903              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"\r
11904            fi\r
11905            ;;\r
11906          # The "-l" case would never come before the object being\r
11907          # linked, so don't bother handling this case.\r
11908          esac\r
11909        else\r
11910          if test -z "$postdeps_CXX"; then\r
11911            postdeps_CXX="${prev}${p}"\r
11912          else\r
11913            postdeps_CXX="${postdeps_CXX} ${prev}${p}"\r
11914          fi\r
11915        fi\r
11916        ;;\r
11917 \r
11918     *.$objext)\r
11919        # This assumes that the test object file only shows up\r
11920        # once in the compiler output.\r
11921        if test "$p" = "conftest.$objext"; then\r
11922          pre_test_object_deps_done=yes\r
11923          continue\r
11924        fi\r
11925 \r
11926        if test "$pre_test_object_deps_done" = no; then\r
11927          if test -z "$predep_objects_CXX"; then\r
11928            predep_objects_CXX="$p"\r
11929          else\r
11930            predep_objects_CXX="$predep_objects_CXX $p"\r
11931          fi\r
11932        else\r
11933          if test -z "$postdep_objects_CXX"; then\r
11934            postdep_objects_CXX="$p"\r
11935          else\r
11936            postdep_objects_CXX="$postdep_objects_CXX $p"\r
11937          fi\r
11938        fi\r
11939        ;;\r
11940 \r
11941     *) ;; # Ignore the rest.\r
11942 \r
11943     esac\r
11944   done\r
11945 \r
11946   # Clean up.\r
11947   rm -f a.out a.exe\r
11948 else\r
11949   echo "libtool.m4: error: problem compiling CXX test program"\r
11950 fi\r
11951 \r
11952 $rm -f confest.$objext\r
11953 \r
11954 # PORTME: override above test on systems where it is broken\r
11955 case $host_os in\r
11956 interix3*)\r
11957   # Interix 3.5 installs completely hosed .la files for C++, so rather than\r
11958   # hack all around it, let's just trust "g++" to DTRT.\r
11959   predep_objects_CXX=\r
11960   postdep_objects_CXX=\r
11961   postdeps_CXX=\r
11962   ;;\r
11963 \r
11964 solaris*)\r
11965   case $cc_basename in\r
11966   CC*)\r
11967     # Adding this requires a known-good setup of shared libraries for\r
11968     # Sun compiler versions before 5.6, else PIC objects from an old\r
11969     # archive will be linked into the output, leading to subtle bugs.\r
11970     postdeps_CXX='-lCstd -lCrun'\r
11971     ;;\r
11972   esac\r
11973   ;;\r
11974 esac\r
11975 \r
11976 \r
11977 case " $postdeps_CXX " in\r
11978 *" -lc "*) archive_cmds_need_lc_CXX=no ;;\r
11979 esac\r
11980 \r
11981 lt_prog_compiler_wl_CXX=\r
11982 lt_prog_compiler_pic_CXX=\r
11983 lt_prog_compiler_static_CXX=\r
11984 \r
11985 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5\r
11986 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }\r
11987 \r
11988   # C++ specific cases for pic, static, wl, etc.\r
11989   if test "$GXX" = yes; then\r
11990     lt_prog_compiler_wl_CXX='-Wl,'\r
11991     lt_prog_compiler_static_CXX='-static'\r
11992 \r
11993     case $host_os in\r
11994     aix*)\r
11995       # All AIX code is PIC.\r
11996       if test "$host_cpu" = ia64; then\r
11997         # AIX 5 now supports IA64 processor\r
11998         lt_prog_compiler_static_CXX='-Bstatic'\r
11999       fi\r
12000       ;;\r
12001     amigaos*)\r
12002       # FIXME: we need at least 68020 code to build shared libraries, but\r
12003       # adding the `-m68020' flag to GCC prevents building anything better,\r
12004       # like `-m68040'.\r
12005       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'\r
12006       ;;\r
12007     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
12008       # PIC is the default for these OSes.\r
12009       ;;\r
12010     mingw* | os2* | pw32*)\r
12011       # This hack is so that the source file can tell whether it is being\r
12012       # built for inclusion in a dll (and should export symbols for example).\r
12013       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'\r
12014       ;;\r
12015     darwin* | rhapsody*)\r
12016       # PIC is the default on this platform\r
12017       # Common symbols not allowed in MH_DYLIB files\r
12018       lt_prog_compiler_pic_CXX='-fno-common'\r
12019       ;;\r
12020     *djgpp*)\r
12021       # DJGPP does not support shared libraries at all\r
12022       lt_prog_compiler_pic_CXX=\r
12023       ;;\r
12024     interix3*)\r
12025       # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
12026       # Instead, we relocate shared libraries at runtime.\r
12027       ;;\r
12028     sysv4*MP*)\r
12029       if test -d /usr/nec; then\r
12030         lt_prog_compiler_pic_CXX=-Kconform_pic\r
12031       fi\r
12032       ;;\r
12033     hpux*)\r
12034       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
12035       # not for PA HP-UX.\r
12036       case $host_cpu in\r
12037       hppa*64*|ia64*)\r
12038         ;;\r
12039       *)\r
12040         lt_prog_compiler_pic_CXX='-fPIC'\r
12041         ;;\r
12042       esac\r
12043       ;;\r
12044     *)\r
12045       lt_prog_compiler_pic_CXX='-fPIC'\r
12046       ;;\r
12047     esac\r
12048   else\r
12049     case $host_os in\r
12050       aix4* | aix5*)\r
12051         # All AIX code is PIC.\r
12052         if test "$host_cpu" = ia64; then\r
12053           # AIX 5 now supports IA64 processor\r
12054           lt_prog_compiler_static_CXX='-Bstatic'\r
12055         else\r
12056           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'\r
12057         fi\r
12058         ;;\r
12059       chorus*)\r
12060         case $cc_basename in\r
12061         cxch68*)\r
12062           # Green Hills C++ Compiler\r
12063           # _LT_AC_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"\r
12064           ;;\r
12065         esac\r
12066         ;;\r
12067        darwin*)\r
12068          # PIC is the default on this platform\r
12069          # Common symbols not allowed in MH_DYLIB files\r
12070          case $cc_basename in\r
12071            xlc*)\r
12072            lt_prog_compiler_pic_CXX='-qnocommon'\r
12073            lt_prog_compiler_wl_CXX='-Wl,'\r
12074            ;;\r
12075          esac\r
12076        ;;\r
12077       dgux*)\r
12078         case $cc_basename in\r
12079           ec++*)\r
12080             lt_prog_compiler_pic_CXX='-KPIC'\r
12081             ;;\r
12082           ghcx*)\r
12083             # Green Hills C++ Compiler\r
12084             lt_prog_compiler_pic_CXX='-pic'\r
12085             ;;\r
12086           *)\r
12087             ;;\r
12088         esac\r
12089         ;;\r
12090       freebsd* | kfreebsd*-gnu | dragonfly*)\r
12091         # FreeBSD uses GNU C++\r
12092         ;;\r
12093       hpux9* | hpux10* | hpux11*)\r
12094         case $cc_basename in\r
12095           CC*)\r
12096             lt_prog_compiler_wl_CXX='-Wl,'\r
12097             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'\r
12098             if test "$host_cpu" != ia64; then\r
12099               lt_prog_compiler_pic_CXX='+Z'\r
12100             fi\r
12101             ;;\r
12102           aCC*)\r
12103             lt_prog_compiler_wl_CXX='-Wl,'\r
12104             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'\r
12105             case $host_cpu in\r
12106             hppa*64*|ia64*)\r
12107               # +Z the default\r
12108               ;;\r
12109             *)\r
12110               lt_prog_compiler_pic_CXX='+Z'\r
12111               ;;\r
12112             esac\r
12113             ;;\r
12114           *)\r
12115             ;;\r
12116         esac\r
12117         ;;\r
12118       interix*)\r
12119         # This is c89, which is MS Visual C++ (no shared libs)\r
12120         # Anyone wants to do a port?\r
12121         ;;\r
12122       irix5* | irix6* | nonstopux*)\r
12123         case $cc_basename in\r
12124           CC*)\r
12125             lt_prog_compiler_wl_CXX='-Wl,'\r
12126             lt_prog_compiler_static_CXX='-non_shared'\r
12127             # CC pic flag -KPIC is the default.\r
12128             ;;\r
12129           *)\r
12130             ;;\r
12131         esac\r
12132         ;;\r
12133       linux*)\r
12134         case $cc_basename in\r
12135           KCC*)\r
12136             # KAI C++ Compiler\r
12137             lt_prog_compiler_wl_CXX='--backend -Wl,'\r
12138             lt_prog_compiler_pic_CXX='-fPIC'\r
12139             ;;\r
12140           icpc* | ecpc*)\r
12141             # Intel C++\r
12142             lt_prog_compiler_wl_CXX='-Wl,'\r
12143             lt_prog_compiler_pic_CXX='-KPIC'\r
12144             lt_prog_compiler_static_CXX='-static'\r
12145             ;;\r
12146           pgCC*)\r
12147             # Portland Group C++ compiler.\r
12148             lt_prog_compiler_wl_CXX='-Wl,'\r
12149             lt_prog_compiler_pic_CXX='-fpic'\r
12150             lt_prog_compiler_static_CXX='-Bstatic'\r
12151             ;;\r
12152           cxx*)\r
12153             # Compaq C++\r
12154             # Make sure the PIC flag is empty.  It appears that all Alpha\r
12155             # Linux and Compaq Tru64 Unix objects are PIC.\r
12156             lt_prog_compiler_pic_CXX=\r
12157             lt_prog_compiler_static_CXX='-non_shared'\r
12158             ;;\r
12159           *)\r
12160             ;;\r
12161         esac\r
12162         ;;\r
12163       lynxos*)\r
12164         ;;\r
12165       m88k*)\r
12166         ;;\r
12167       mvs*)\r
12168         case $cc_basename in\r
12169           cxx*)\r
12170             lt_prog_compiler_pic_CXX='-W c,exportall'\r
12171             ;;\r
12172           *)\r
12173             ;;\r
12174         esac\r
12175         ;;\r
12176       netbsd*)\r
12177         ;;\r
12178       osf3* | osf4* | osf5*)\r
12179         case $cc_basename in\r
12180           KCC*)\r
12181             lt_prog_compiler_wl_CXX='--backend -Wl,'\r
12182             ;;\r
12183           RCC*)\r
12184             # Rational C++ 2.4.1\r
12185             lt_prog_compiler_pic_CXX='-pic'\r
12186             ;;\r
12187           cxx*)\r
12188             # Digital/Compaq C++\r
12189             lt_prog_compiler_wl_CXX='-Wl,'\r
12190             # Make sure the PIC flag is empty.  It appears that all Alpha\r
12191             # Linux and Compaq Tru64 Unix objects are PIC.\r
12192             lt_prog_compiler_pic_CXX=\r
12193             lt_prog_compiler_static_CXX='-non_shared'\r
12194             ;;\r
12195           *)\r
12196             ;;\r
12197         esac\r
12198         ;;\r
12199       psos*)\r
12200         ;;\r
12201       solaris*)\r
12202         case $cc_basename in\r
12203           CC*)\r
12204             # Sun C++ 4.2, 5.x and Centerline C++\r
12205             lt_prog_compiler_pic_CXX='-KPIC'\r
12206             lt_prog_compiler_static_CXX='-Bstatic'\r
12207             lt_prog_compiler_wl_CXX='-Qoption ld '\r
12208             ;;\r
12209           gcx*)\r
12210             # Green Hills C++ Compiler\r
12211             lt_prog_compiler_pic_CXX='-PIC'\r
12212             ;;\r
12213           *)\r
12214             ;;\r
12215         esac\r
12216         ;;\r
12217       sunos4*)\r
12218         case $cc_basename in\r
12219           CC*)\r
12220             # Sun C++ 4.x\r
12221             lt_prog_compiler_pic_CXX='-pic'\r
12222             lt_prog_compiler_static_CXX='-Bstatic'\r
12223             ;;\r
12224           lcc*)\r
12225             # Lucid\r
12226             lt_prog_compiler_pic_CXX='-pic'\r
12227             ;;\r
12228           *)\r
12229             ;;\r
12230         esac\r
12231         ;;\r
12232       tandem*)\r
12233         case $cc_basename in\r
12234           NCC*)\r
12235             # NonStop-UX NCC 3.20\r
12236             lt_prog_compiler_pic_CXX='-KPIC'\r
12237             ;;\r
12238           *)\r
12239             ;;\r
12240         esac\r
12241         ;;\r
12242       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
12243         case $cc_basename in\r
12244           CC*)\r
12245             lt_prog_compiler_wl_CXX='-Wl,'\r
12246             lt_prog_compiler_pic_CXX='-KPIC'\r
12247             lt_prog_compiler_static_CXX='-Bstatic'\r
12248             ;;\r
12249         esac\r
12250         ;;\r
12251       vxworks*)\r
12252         ;;\r
12253       *)\r
12254         lt_prog_compiler_can_build_shared_CXX=no\r
12255         ;;\r
12256     esac\r
12257   fi\r
12258 \r
12259 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5\r
12260 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }\r
12261 \r
12262 #\r
12263 # Check to make sure the PIC flag actually works.\r
12264 #\r
12265 if test -n "$lt_prog_compiler_pic_CXX"; then\r
12266 \r
12267 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5\r
12268 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }\r
12269 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then\r
12270   $as_echo_n "(cached) " >&6\r
12271 else\r
12272   lt_prog_compiler_pic_works_CXX=no\r
12273   ac_outfile=conftest.$ac_objext\r
12274    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
12275    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"\r
12276    # Insert the option either (1) after the last *FLAGS variable, or\r
12277    # (2) before a word containing "conftest.", or (3) at the end.\r
12278    # Note that $ac_compile itself does not contain backslashes and begins\r
12279    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
12280    # The option is referenced via a variable to avoid confusing sed.\r
12281    lt_compile=`echo "$ac_compile" | $SED \\r
12282    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
12283    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
12284    -e 's:$: $lt_compiler_flag:'`\r
12285    (eval echo "\"\$as_me:12285: $lt_compile\"" >&5)\r
12286    (eval "$lt_compile" 2>conftest.err)\r
12287    ac_status=$?\r
12288    cat conftest.err >&5\r
12289    echo "$as_me:12289: \$? = $ac_status" >&5\r
12290    if (exit $ac_status) && test -s "$ac_outfile"; then\r
12291      # The compiler can only warn and ignore the option if not recognized\r
12292      # So say no if there are warnings other than the usual output.\r
12293      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
12294      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
12295      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
12296        lt_prog_compiler_pic_works_CXX=yes\r
12297      fi\r
12298    fi\r
12299    $rm conftest*\r
12300 \r
12301 fi\r
12302 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5\r
12303 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }\r
12304 \r
12305 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then\r
12306     case $lt_prog_compiler_pic_CXX in\r
12307      "" | " "*) ;;\r
12308      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;\r
12309      esac\r
12310 else\r
12311     lt_prog_compiler_pic_CXX=\r
12312      lt_prog_compiler_can_build_shared_CXX=no\r
12313 fi\r
12314 \r
12315 fi\r
12316 case $host_os in\r
12317   # For platforms which do not support PIC, -DPIC is meaningless:\r
12318   *djgpp*)\r
12319     lt_prog_compiler_pic_CXX=\r
12320     ;;\r
12321   *)\r
12322     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"\r
12323     ;;\r
12324 esac\r
12325 \r
12326 #\r
12327 # Check to make sure the static flag actually works.\r
12328 #\r
12329 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"\r
12330 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5\r
12331 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }\r
12332 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then\r
12333   $as_echo_n "(cached) " >&6\r
12334 else\r
12335   lt_prog_compiler_static_works_CXX=no\r
12336    save_LDFLAGS="$LDFLAGS"\r
12337    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"\r
12338    printf "$lt_simple_link_test_code" > conftest.$ac_ext\r
12339    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then\r
12340      # The linker can only warn and ignore the option if not recognized\r
12341      # So say no if there are warnings\r
12342      if test -s conftest.err; then\r
12343        # Append any errors to the config.log.\r
12344        cat conftest.err 1>&5\r
12345        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp\r
12346        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
12347        if diff conftest.exp conftest.er2 >/dev/null; then\r
12348          lt_prog_compiler_static_works_CXX=yes\r
12349        fi\r
12350      else\r
12351        lt_prog_compiler_static_works_CXX=yes\r
12352      fi\r
12353    fi\r
12354    $rm conftest*\r
12355    LDFLAGS="$save_LDFLAGS"\r
12356 \r
12357 fi\r
12358 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5\r
12359 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }\r
12360 \r
12361 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then\r
12362     :\r
12363 else\r
12364     lt_prog_compiler_static_CXX=\r
12365 fi\r
12366 \r
12367 \r
12368 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5\r
12369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }\r
12370 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then\r
12371   $as_echo_n "(cached) " >&6\r
12372 else\r
12373   lt_cv_prog_compiler_c_o_CXX=no\r
12374    $rm -r conftest 2>/dev/null\r
12375    mkdir conftest\r
12376    cd conftest\r
12377    mkdir out\r
12378    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
12379 \r
12380    lt_compiler_flag="-o out/conftest2.$ac_objext"\r
12381    # Insert the option either (1) after the last *FLAGS variable, or\r
12382    # (2) before a word containing "conftest.", or (3) at the end.\r
12383    # Note that $ac_compile itself does not contain backslashes and begins\r
12384    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
12385    lt_compile=`echo "$ac_compile" | $SED \\r
12386    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
12387    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
12388    -e 's:$: $lt_compiler_flag:'`\r
12389    (eval echo "\"\$as_me:12389: $lt_compile\"" >&5)\r
12390    (eval "$lt_compile" 2>out/conftest.err)\r
12391    ac_status=$?\r
12392    cat out/conftest.err >&5\r
12393    echo "$as_me:12393: \$? = $ac_status" >&5\r
12394    if (exit $ac_status) && test -s out/conftest2.$ac_objext\r
12395    then\r
12396      # The compiler can only warn and ignore the option if not recognized\r
12397      # So say no if there are warnings\r
12398      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp\r
12399      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2\r
12400      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then\r
12401        lt_cv_prog_compiler_c_o_CXX=yes\r
12402      fi\r
12403    fi\r
12404    chmod u+w . 2>&5\r
12405    $rm conftest*\r
12406    # SGI C++ compiler will create directory out/ii_files/ for\r
12407    # template instantiation\r
12408    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files\r
12409    $rm out/* && rmdir out\r
12410    cd ..\r
12411    rmdir conftest\r
12412    $rm conftest*\r
12413 \r
12414 fi\r
12415 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5\r
12416 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }\r
12417 \r
12418 \r
12419 hard_links="nottested"\r
12420 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then\r
12421   # do not overwrite the value of need_locks provided by the user\r
12422   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5\r
12423 $as_echo_n "checking if we can lock with hard links... " >&6; }\r
12424   hard_links=yes\r
12425   $rm conftest*\r
12426   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
12427   touch conftest.a\r
12428   ln conftest.a conftest.b 2>&5 || hard_links=no\r
12429   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
12430   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5\r
12431 $as_echo "$hard_links" >&6; }\r
12432   if test "$hard_links" = no; then\r
12433     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5\r
12434 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}\r
12435     need_locks=warn\r
12436   fi\r
12437 else\r
12438   need_locks=no\r
12439 fi\r
12440 \r
12441 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5\r
12442 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }\r
12443 \r
12444   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
12445   case $host_os in\r
12446   aix4* | aix5*)\r
12447     # If we're using GNU nm, then we don't want the "-C" option.\r
12448     # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
12449     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then\r
12450       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
12451     else\r
12452       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
12453     fi\r
12454     ;;\r
12455   pw32*)\r
12456     export_symbols_cmds_CXX="$ltdll_cmds"\r
12457   ;;\r
12458   cygwin* | mingw*)\r
12459     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'\r
12460   ;;\r
12461   *)\r
12462     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
12463   ;;\r
12464   esac\r
12465 \r
12466 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5\r
12467 $as_echo "$ld_shlibs_CXX" >&6; }\r
12468 test "$ld_shlibs_CXX" = no && can_build_shared=no\r
12469 \r
12470 #\r
12471 # Do we need to explicitly link libc?\r
12472 #\r
12473 case "x$archive_cmds_need_lc_CXX" in\r
12474 x|xyes)\r
12475   # Assume -lc should be added\r
12476   archive_cmds_need_lc_CXX=yes\r
12477 \r
12478   if test "$enable_shared" = yes && test "$GCC" = yes; then\r
12479     case $archive_cmds_CXX in\r
12480     *'~'*)\r
12481       # FIXME: we may have to deal with multi-command sequences.\r
12482       ;;\r
12483     '$CC '*)\r
12484       # Test whether the compiler implicitly links with -lc since on some\r
12485       # systems, -lgcc has to come before -lc. If gcc already passes -lc\r
12486       # to ld, don't add -lc before -lgcc.\r
12487       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5\r
12488 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }\r
12489       $rm conftest*\r
12490       printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
12491 \r
12492       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
12493   (eval $ac_compile) 2>&5\r
12494   ac_status=$?\r
12495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
12496   (exit $ac_status); } 2>conftest.err; then\r
12497         soname=conftest\r
12498         lib=conftest\r
12499         libobjs=conftest.$ac_objext\r
12500         deplibs=\r
12501         wl=$lt_prog_compiler_wl_CXX\r
12502         pic_flag=$lt_prog_compiler_pic_CXX\r
12503         compiler_flags=-v\r
12504         linker_flags=-v\r
12505         verstring=\r
12506         output_objdir=.\r
12507         libname=conftest\r
12508         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX\r
12509         allow_undefined_flag_CXX=\r
12510         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5\r
12511   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5\r
12512   ac_status=$?\r
12513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
12514   (exit $ac_status); }\r
12515         then\r
12516           archive_cmds_need_lc_CXX=no\r
12517         else\r
12518           archive_cmds_need_lc_CXX=yes\r
12519         fi\r
12520         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag\r
12521       else\r
12522         cat conftest.err 1>&5\r
12523       fi\r
12524       $rm conftest*\r
12525       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5\r
12526 $as_echo "$archive_cmds_need_lc_CXX" >&6; }\r
12527       ;;\r
12528     esac\r
12529   fi\r
12530   ;;\r
12531 esac\r
12532 \r
12533 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5\r
12534 $as_echo_n "checking dynamic linker characteristics... " >&6; }\r
12535 library_names_spec=\r
12536 libname_spec='lib$name'\r
12537 soname_spec=\r
12538 shrext_cmds=".so"\r
12539 postinstall_cmds=\r
12540 postuninstall_cmds=\r
12541 finish_cmds=\r
12542 finish_eval=\r
12543 shlibpath_var=\r
12544 shlibpath_overrides_runpath=unknown\r
12545 version_type=none\r
12546 dynamic_linker="$host_os ld.so"\r
12547 sys_lib_dlsearch_path_spec="/lib /usr/lib"\r
12548 if test "$GCC" = yes; then\r
12549   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
12550   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then\r
12551     # if the path contains ";" then we assume it to be the separator\r
12552     # otherwise default to the standard path separator (i.e. ":") - it is\r
12553     # assumed that no part of a normal pathname contains ";" but that should\r
12554     # okay in the real world where ";" in dirpaths is itself problematic.\r
12555     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
12556   else\r
12557     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
12558   fi\r
12559 else\r
12560   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"\r
12561 fi\r
12562 need_lib_prefix=unknown\r
12563 hardcode_into_libs=no\r
12564 \r
12565 # when you set need_version to no, make sure it does not cause -set_version\r
12566 # flags to be left without arguments\r
12567 need_version=unknown\r
12568 \r
12569 case $host_os in\r
12570 aix3*)\r
12571   version_type=linux\r
12572   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'\r
12573   shlibpath_var=LIBPATH\r
12574 \r
12575   # AIX 3 has no versioning support, so we append a major version to the name.\r
12576   soname_spec='${libname}${release}${shared_ext}$major'\r
12577   ;;\r
12578 \r
12579 aix4* | aix5*)\r
12580   version_type=linux\r
12581   need_lib_prefix=no\r
12582   need_version=no\r
12583   hardcode_into_libs=yes\r
12584   if test "$host_cpu" = ia64; then\r
12585     # AIX 5 supports IA64\r
12586     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'\r
12587     shlibpath_var=LD_LIBRARY_PATH\r
12588   else\r
12589     # With GCC up to 2.95.x, collect2 would create an import file\r
12590     # for dependence libraries.  The import file would start with\r
12591     # the line `#! .'.  This would cause the generated library to\r
12592     # depend on `.', always an invalid library.  This was fixed in\r
12593     # development snapshots of GCC prior to 3.0.\r
12594     case $host_os in\r
12595       aix4 | aix4.[01] | aix4.[01].*)\r
12596       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'\r
12597            echo ' yes '\r
12598            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then\r
12599         :\r
12600       else\r
12601         can_build_shared=no\r
12602       fi\r
12603       ;;\r
12604     esac\r
12605     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct\r
12606     # soname into executable. Probably we can add versioning support to\r
12607     # collect2, so additional links can be useful in future.\r
12608     if test "$aix_use_runtimelinking" = yes; then\r
12609       # If using run time linking (on AIX 4.2 or later) use lib<name>.so\r
12610       # instead of lib<name>.a to let people know that these are not\r
12611       # typical AIX shared libraries.\r
12612       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12613     else\r
12614       # We preserve .a as extension for shared libraries through AIX4.2\r
12615       # and later when we are not doing run time linking.\r
12616       library_names_spec='${libname}${release}.a $libname.a'\r
12617       soname_spec='${libname}${release}${shared_ext}$major'\r
12618     fi\r
12619     shlibpath_var=LIBPATH\r
12620   fi\r
12621   ;;\r
12622 \r
12623 amigaos*)\r
12624   library_names_spec='$libname.ixlibrary $libname.a'\r
12625   # Create ${libname}_ixlibrary.a entries in /sys/libs.\r
12626   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'\r
12627   ;;\r
12628 \r
12629 beos*)\r
12630   library_names_spec='${libname}${shared_ext}'\r
12631   dynamic_linker="$host_os ld.so"\r
12632   shlibpath_var=LIBRARY_PATH\r
12633   ;;\r
12634 \r
12635 bsdi[45]*)\r
12636   version_type=linux\r
12637   need_version=no\r
12638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12639   soname_spec='${libname}${release}${shared_ext}$major'\r
12640   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'\r
12641   shlibpath_var=LD_LIBRARY_PATH\r
12642   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"\r
12643   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"\r
12644   # the default ld.so.conf also contains /usr/contrib/lib and\r
12645   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow\r
12646   # libtool to hard-code these into programs\r
12647   ;;\r
12648 \r
12649 cygwin* | mingw* | pw32*)\r
12650   version_type=windows\r
12651   shrext_cmds=".dll"\r
12652   need_version=no\r
12653   need_lib_prefix=no\r
12654 \r
12655   case $GCC,$host_os in\r
12656   yes,cygwin* | yes,mingw* | yes,pw32*)\r
12657     library_names_spec='$libname.dll.a'\r
12658     # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
12659     postinstall_cmds='base_file=`basename \${file}`~\r
12660       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~\r
12661       dldir=$destdir/`dirname \$dlpath`~\r
12662       test -d \$dldir || mkdir -p \$dldir~\r
12663       $install_prog $dir/$dlname \$dldir/$dlname~\r
12664       chmod a+x \$dldir/$dlname'\r
12665     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
12666       dlpath=$dir/\$dldll~\r
12667        $rm \$dlpath'\r
12668     shlibpath_overrides_runpath=yes\r
12669 \r
12670     case $host_os in\r
12671     cygwin*)\r
12672       # Cygwin DLLs use 'cyg' prefix rather than 'lib'\r
12673       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
12674       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"\r
12675       ;;\r
12676     mingw*)\r
12677       # MinGW DLLs use traditional 'lib' prefix\r
12678       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
12679       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
12680       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then\r
12681         # It is most probably a Windows format PATH printed by\r
12682         # mingw gcc, but we are running on Cygwin. Gcc prints its search\r
12683         # path with ; separators, and with drive letters. We can handle the\r
12684         # drive letters (cygwin fileutils understands them), so leave them,\r
12685         # especially as we might pass files found there to a mingw objdump,\r
12686         # which wouldn't understand a cygwinified path. Ahh.\r
12687         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
12688       else\r
12689         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
12690       fi\r
12691       ;;\r
12692     pw32*)\r
12693       # pw32 DLLs use 'pw' prefix rather than 'lib'\r
12694       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
12695       ;;\r
12696     esac\r
12697     ;;\r
12698 \r
12699   *)\r
12700     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'\r
12701     ;;\r
12702   esac\r
12703   dynamic_linker='Win32 ld.exe'\r
12704   # FIXME: first we should search . and the directory the executable is in\r
12705   shlibpath_var=PATH\r
12706   ;;\r
12707 \r
12708 darwin* | rhapsody*)\r
12709   dynamic_linker="$host_os dyld"\r
12710   version_type=darwin\r
12711   need_lib_prefix=no\r
12712   need_version=no\r
12713   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'\r
12714   soname_spec='${libname}${release}${major}$shared_ext'\r
12715   shlibpath_overrides_runpath=yes\r
12716   shlibpath_var=DYLD_LIBRARY_PATH\r
12717   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\r
12718   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.\r
12719   if test "$GCC" = yes; then\r
12720     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`\r
12721   else\r
12722     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'\r
12723   fi\r
12724   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'\r
12725   ;;\r
12726 \r
12727 dgux*)\r
12728   version_type=linux\r
12729   need_lib_prefix=no\r
12730   need_version=no\r
12731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'\r
12732   soname_spec='${libname}${release}${shared_ext}$major'\r
12733   shlibpath_var=LD_LIBRARY_PATH\r
12734   ;;\r
12735 \r
12736 freebsd1*)\r
12737   dynamic_linker=no\r
12738   ;;\r
12739 \r
12740 kfreebsd*-gnu)\r
12741   version_type=linux\r
12742   need_lib_prefix=no\r
12743   need_version=no\r
12744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
12745   soname_spec='${libname}${release}${shared_ext}$major'\r
12746   shlibpath_var=LD_LIBRARY_PATH\r
12747   shlibpath_overrides_runpath=no\r
12748   hardcode_into_libs=yes\r
12749   dynamic_linker='GNU ld.so'\r
12750   ;;\r
12751 \r
12752 freebsd* | dragonfly*)\r
12753   # DragonFly does not have aout.  When/if they implement a new\r
12754   # versioning mechanism, adjust this.\r
12755   if test -x /usr/bin/objformat; then\r
12756     objformat=`/usr/bin/objformat`\r
12757   else\r
12758     case $host_os in\r
12759     freebsd[123]*) objformat=aout ;;\r
12760     *) objformat=elf ;;\r
12761     esac\r
12762   fi\r
12763   version_type=freebsd-$objformat\r
12764   case $version_type in\r
12765     freebsd-elf*)\r
12766       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
12767       need_version=no\r
12768       need_lib_prefix=no\r
12769       ;;\r
12770     freebsd-*)\r
12771       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'\r
12772       need_version=yes\r
12773       ;;\r
12774   esac\r
12775   shlibpath_var=LD_LIBRARY_PATH\r
12776   case $host_os in\r
12777   freebsd2*)\r
12778     shlibpath_overrides_runpath=yes\r
12779     ;;\r
12780   freebsd3.[01]* | freebsdelf3.[01]*)\r
12781     shlibpath_overrides_runpath=yes\r
12782     hardcode_into_libs=yes\r
12783     ;;\r
12784   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \\r
12785   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)\r
12786     shlibpath_overrides_runpath=no\r
12787     hardcode_into_libs=yes\r
12788     ;;\r
12789   freebsd*) # from 4.6 on\r
12790     shlibpath_overrides_runpath=yes\r
12791     hardcode_into_libs=yes\r
12792     ;;\r
12793   esac\r
12794   ;;\r
12795 \r
12796 gnu*)\r
12797   version_type=linux\r
12798   need_lib_prefix=no\r
12799   need_version=no\r
12800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
12801   soname_spec='${libname}${release}${shared_ext}$major'\r
12802   shlibpath_var=LD_LIBRARY_PATH\r
12803   hardcode_into_libs=yes\r
12804   ;;\r
12805 \r
12806 hpux9* | hpux10* | hpux11*)\r
12807   # Give a soname corresponding to the major version so that dld.sl refuses to\r
12808   # link against other versions.\r
12809   version_type=sunos\r
12810   need_lib_prefix=no\r
12811   need_version=no\r
12812   case $host_cpu in\r
12813   ia64*)\r
12814     shrext_cmds='.so'\r
12815     hardcode_into_libs=yes\r
12816     dynamic_linker="$host_os dld.so"\r
12817     shlibpath_var=LD_LIBRARY_PATH\r
12818     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
12819     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12820     soname_spec='${libname}${release}${shared_ext}$major'\r
12821     if test "X$HPUX_IA64_MODE" = X32; then\r
12822       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"\r
12823     else\r
12824       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"\r
12825     fi\r
12826     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
12827     ;;\r
12828    hppa*64*)\r
12829      shrext_cmds='.sl'\r
12830      hardcode_into_libs=yes\r
12831      dynamic_linker="$host_os dld.sl"\r
12832      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH\r
12833      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
12834      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12835      soname_spec='${libname}${release}${shared_ext}$major'\r
12836      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"\r
12837      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
12838      ;;\r
12839    *)\r
12840     shrext_cmds='.sl'\r
12841     dynamic_linker="$host_os dld.sl"\r
12842     shlibpath_var=SHLIB_PATH\r
12843     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH\r
12844     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12845     soname_spec='${libname}${release}${shared_ext}$major'\r
12846     ;;\r
12847   esac\r
12848   # HP-UX runs *really* slowly unless shared libraries are mode 555.\r
12849   postinstall_cmds='chmod 555 $lib'\r
12850   ;;\r
12851 \r
12852 interix3*)\r
12853   version_type=linux\r
12854   need_lib_prefix=no\r
12855   need_version=no\r
12856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
12857   soname_spec='${libname}${release}${shared_ext}$major'\r
12858   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'\r
12859   shlibpath_var=LD_LIBRARY_PATH\r
12860   shlibpath_overrides_runpath=no\r
12861   hardcode_into_libs=yes\r
12862   ;;\r
12863 \r
12864 irix5* | irix6* | nonstopux*)\r
12865   case $host_os in\r
12866     nonstopux*) version_type=nonstopux ;;\r
12867     *)\r
12868         if test "$lt_cv_prog_gnu_ld" = yes; then\r
12869                 version_type=linux\r
12870         else\r
12871                 version_type=irix\r
12872         fi ;;\r
12873   esac\r
12874   need_lib_prefix=no\r
12875   need_version=no\r
12876   soname_spec='${libname}${release}${shared_ext}$major'\r
12877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'\r
12878   case $host_os in\r
12879   irix5* | nonstopux*)\r
12880     libsuff= shlibsuff=\r
12881     ;;\r
12882   *)\r
12883     case $LD in # libtool.m4 will add one of these switches to LD\r
12884     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")\r
12885       libsuff= shlibsuff= libmagic=32-bit;;\r
12886     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")\r
12887       libsuff=32 shlibsuff=N32 libmagic=N32;;\r
12888     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")\r
12889       libsuff=64 shlibsuff=64 libmagic=64-bit;;\r
12890     *) libsuff= shlibsuff= libmagic=never-match;;\r
12891     esac\r
12892     ;;\r
12893   esac\r
12894   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH\r
12895   shlibpath_overrides_runpath=no\r
12896   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"\r
12897   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"\r
12898   hardcode_into_libs=yes\r
12899   ;;\r
12900 \r
12901 # No shared lib support for Linux oldld, aout, or coff.\r
12902 linux*oldld* | linux*aout* | linux*coff*)\r
12903   dynamic_linker=no\r
12904   ;;\r
12905 \r
12906 # This must be Linux ELF.\r
12907 linux*)\r
12908   version_type=linux\r
12909   need_lib_prefix=no\r
12910   need_version=no\r
12911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12912   soname_spec='${libname}${release}${shared_ext}$major'\r
12913   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'\r
12914   shlibpath_var=LD_LIBRARY_PATH\r
12915   shlibpath_overrides_runpath=no\r
12916   # This implies no fast_install, which is unacceptable.\r
12917   # Some rework will be needed to allow for fast_install\r
12918   # before this can be enabled.\r
12919   hardcode_into_libs=yes\r
12920 \r
12921   # find out which ABI we are using\r
12922   libsuff=\r
12923   case "$host_cpu" in\r
12924   x86_64*|s390x*|powerpc64*)\r
12925     echo '#line 12925 "configure"' > conftest.$ac_ext\r
12926     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
12927   (eval $ac_compile) 2>&5\r
12928   ac_status=$?\r
12929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
12930   (exit $ac_status); }; then\r
12931       case `/usr/bin/file conftest.$ac_objext` in\r
12932       *64-bit*)\r
12933         libsuff=64\r
12934         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"\r
12935         ;;\r
12936       esac\r
12937     fi\r
12938     rm -rf conftest*\r
12939     ;;\r
12940   esac\r
12941 \r
12942   # Append ld.so.conf contents to the search path\r
12943   if test -f /etc/ld.so.conf; then\r
12944     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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`\r
12945     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"\r
12946   fi\r
12947 \r
12948   # We used to test for /lib/ld.so.1 and disable shared libraries on\r
12949   # powerpc, because MkLinux only supported shared libraries with the\r
12950   # GNU dynamic linker.  Since this was broken with cross compilers,\r
12951   # most powerpc-linux boxes support dynamic linking these days and\r
12952   # people can always --disable-shared, the test was removed, and we\r
12953   # assume the GNU/Linux dynamic linker is in use.\r
12954   dynamic_linker='GNU/Linux ld.so'\r
12955   ;;\r
12956 \r
12957 knetbsd*-gnu)\r
12958   version_type=linux\r
12959   need_lib_prefix=no\r
12960   need_version=no\r
12961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
12962   soname_spec='${libname}${release}${shared_ext}$major'\r
12963   shlibpath_var=LD_LIBRARY_PATH\r
12964   shlibpath_overrides_runpath=no\r
12965   hardcode_into_libs=yes\r
12966   dynamic_linker='GNU ld.so'\r
12967   ;;\r
12968 \r
12969 netbsd*)\r
12970   version_type=sunos\r
12971   need_lib_prefix=no\r
12972   need_version=no\r
12973   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
12974     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
12975     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
12976     dynamic_linker='NetBSD (a.out) ld.so'\r
12977   else\r
12978     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
12979     soname_spec='${libname}${release}${shared_ext}$major'\r
12980     dynamic_linker='NetBSD ld.elf_so'\r
12981   fi\r
12982   shlibpath_var=LD_LIBRARY_PATH\r
12983   shlibpath_overrides_runpath=yes\r
12984   hardcode_into_libs=yes\r
12985   ;;\r
12986 \r
12987 newsos6)\r
12988   version_type=linux\r
12989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12990   shlibpath_var=LD_LIBRARY_PATH\r
12991   shlibpath_overrides_runpath=yes\r
12992   ;;\r
12993 \r
12994 nto-qnx*)\r
12995   version_type=linux\r
12996   need_lib_prefix=no\r
12997   need_version=no\r
12998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
12999   soname_spec='${libname}${release}${shared_ext}$major'\r
13000   shlibpath_var=LD_LIBRARY_PATH\r
13001   shlibpath_overrides_runpath=yes\r
13002   ;;\r
13003 \r
13004 openbsd*)\r
13005   version_type=sunos\r
13006   sys_lib_dlsearch_path_spec="/usr/lib"\r
13007   need_lib_prefix=no\r
13008   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.\r
13009   case $host_os in\r
13010     openbsd3.3 | openbsd3.3.*) need_version=yes ;;\r
13011     *)                         need_version=no  ;;\r
13012   esac\r
13013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
13014   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
13015   shlibpath_var=LD_LIBRARY_PATH\r
13016   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
13017     case $host_os in\r
13018       openbsd2.[89] | openbsd2.[89].*)\r
13019         shlibpath_overrides_runpath=no\r
13020         ;;\r
13021       *)\r
13022         shlibpath_overrides_runpath=yes\r
13023         ;;\r
13024       esac\r
13025   else\r
13026     shlibpath_overrides_runpath=yes\r
13027   fi\r
13028   ;;\r
13029 \r
13030 os2*)\r
13031   libname_spec='$name'\r
13032   shrext_cmds=".dll"\r
13033   need_lib_prefix=no\r
13034   library_names_spec='$libname${shared_ext} $libname.a'\r
13035   dynamic_linker='OS/2 ld.exe'\r
13036   shlibpath_var=LIBPATH\r
13037   ;;\r
13038 \r
13039 osf3* | osf4* | osf5*)\r
13040   version_type=osf\r
13041   need_lib_prefix=no\r
13042   need_version=no\r
13043   soname_spec='${libname}${release}${shared_ext}$major'\r
13044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
13045   shlibpath_var=LD_LIBRARY_PATH\r
13046   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"\r
13047   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"\r
13048   ;;\r
13049 \r
13050 solaris*)\r
13051   version_type=linux\r
13052   need_lib_prefix=no\r
13053   need_version=no\r
13054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
13055   soname_spec='${libname}${release}${shared_ext}$major'\r
13056   shlibpath_var=LD_LIBRARY_PATH\r
13057   shlibpath_overrides_runpath=yes\r
13058   hardcode_into_libs=yes\r
13059   # ldd complains unless libraries are executable\r
13060   postinstall_cmds='chmod +x $lib'\r
13061   ;;\r
13062 \r
13063 sunos4*)\r
13064   version_type=sunos\r
13065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
13066   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'\r
13067   shlibpath_var=LD_LIBRARY_PATH\r
13068   shlibpath_overrides_runpath=yes\r
13069   if test "$with_gnu_ld" = yes; then\r
13070     need_lib_prefix=no\r
13071   fi\r
13072   need_version=yes\r
13073   ;;\r
13074 \r
13075 sysv4 | sysv4.3*)\r
13076   version_type=linux\r
13077   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
13078   soname_spec='${libname}${release}${shared_ext}$major'\r
13079   shlibpath_var=LD_LIBRARY_PATH\r
13080   case $host_vendor in\r
13081     sni)\r
13082       shlibpath_overrides_runpath=no\r
13083       need_lib_prefix=no\r
13084       export_dynamic_flag_spec='${wl}-Blargedynsym'\r
13085       runpath_var=LD_RUN_PATH\r
13086       ;;\r
13087     siemens)\r
13088       need_lib_prefix=no\r
13089       ;;\r
13090     motorola)\r
13091       need_lib_prefix=no\r
13092       need_version=no\r
13093       shlibpath_overrides_runpath=no\r
13094       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'\r
13095       ;;\r
13096   esac\r
13097   ;;\r
13098 \r
13099 sysv4*MP*)\r
13100   if test -d /usr/nec ;then\r
13101     version_type=linux\r
13102     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'\r
13103     soname_spec='$libname${shared_ext}.$major'\r
13104     shlibpath_var=LD_LIBRARY_PATH\r
13105   fi\r
13106   ;;\r
13107 \r
13108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
13109   version_type=freebsd-elf\r
13110   need_lib_prefix=no\r
13111   need_version=no\r
13112   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
13113   soname_spec='${libname}${release}${shared_ext}$major'\r
13114   shlibpath_var=LD_LIBRARY_PATH\r
13115   hardcode_into_libs=yes\r
13116   if test "$with_gnu_ld" = yes; then\r
13117     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'\r
13118     shlibpath_overrides_runpath=no\r
13119   else\r
13120     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'\r
13121     shlibpath_overrides_runpath=yes\r
13122     case $host_os in\r
13123       sco3.2v5*)\r
13124         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"\r
13125         ;;\r
13126     esac\r
13127   fi\r
13128   sys_lib_dlsearch_path_spec='/usr/lib'\r
13129   ;;\r
13130 \r
13131 uts4*)\r
13132   version_type=linux\r
13133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
13134   soname_spec='${libname}${release}${shared_ext}$major'\r
13135   shlibpath_var=LD_LIBRARY_PATH\r
13136   ;;\r
13137 \r
13138 *)\r
13139   dynamic_linker=no\r
13140   ;;\r
13141 esac\r
13142 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5\r
13143 $as_echo "$dynamic_linker" >&6; }\r
13144 test "$dynamic_linker" = no && can_build_shared=no\r
13145 \r
13146 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"\r
13147 if test "$GCC" = yes; then\r
13148   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"\r
13149 fi\r
13150 \r
13151 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5\r
13152 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }\r
13153 hardcode_action_CXX=\r
13154 if test -n "$hardcode_libdir_flag_spec_CXX" || \\r
13155    test -n "$runpath_var_CXX" || \\r
13156    test "X$hardcode_automatic_CXX" = "Xyes" ; then\r
13157 \r
13158   # We can hardcode non-existant directories.\r
13159   if test "$hardcode_direct_CXX" != no &&\r
13160      # If the only mechanism to avoid hardcoding is shlibpath_var, we\r
13161      # have to relink, otherwise we might link with an installed library\r
13162      # when we should be linking with a yet-to-be-installed one\r
13163      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&\r
13164      test "$hardcode_minus_L_CXX" != no; then\r
13165     # Linking always hardcodes the temporary library directory.\r
13166     hardcode_action_CXX=relink\r
13167   else\r
13168     # We can link without hardcoding, and we can hardcode nonexisting dirs.\r
13169     hardcode_action_CXX=immediate\r
13170   fi\r
13171 else\r
13172   # We cannot hardcode anything, or else we can only hardcode existing\r
13173   # directories.\r
13174   hardcode_action_CXX=unsupported\r
13175 fi\r
13176 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5\r
13177 $as_echo "$hardcode_action_CXX" >&6; }\r
13178 \r
13179 if test "$hardcode_action_CXX" = relink; then\r
13180   # Fast installation is not supported\r
13181   enable_fast_install=no\r
13182 elif test "$shlibpath_overrides_runpath" = yes ||\r
13183      test "$enable_shared" = no; then\r
13184   # Fast installation is not necessary\r
13185   enable_fast_install=needless\r
13186 fi\r
13187 \r
13188 \r
13189 # The else clause should only fire when bootstrapping the\r
13190 # libtool distribution, otherwise you forgot to ship ltmain.sh\r
13191 # with your package, and you will get complaints that there are\r
13192 # no rules to generate ltmain.sh.\r
13193 if test -f "$ltmain"; then\r
13194   # See if we are running on zsh, and set the options which allow our commands through\r
13195   # without removal of \ escapes.\r
13196   if test -n "${ZSH_VERSION+set}" ; then\r
13197     setopt NO_GLOB_SUBST\r
13198   fi\r
13199   # Now quote all the things that may contain metacharacters while being\r
13200   # careful not to overquote the AC_SUBSTed values.  We take copies of the\r
13201   # variables and quote the copies for generation of the libtool script.\r
13202   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \\r
13203     SED SHELL STRIP \\r
13204     libname_spec library_names_spec soname_spec extract_expsyms_cmds \\r
13205     old_striplib striplib file_magic_cmd finish_cmds finish_eval \\r
13206     deplibs_check_method reload_flag reload_cmds need_locks \\r
13207     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \\r
13208     lt_cv_sys_global_symbol_to_c_name_address \\r
13209     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \\r
13210     old_postinstall_cmds old_postuninstall_cmds \\r
13211     compiler_CXX \\r
13212     CC_CXX \\r
13213     LD_CXX \\r
13214     lt_prog_compiler_wl_CXX \\r
13215     lt_prog_compiler_pic_CXX \\r
13216     lt_prog_compiler_static_CXX \\r
13217     lt_prog_compiler_no_builtin_flag_CXX \\r
13218     export_dynamic_flag_spec_CXX \\r
13219     thread_safe_flag_spec_CXX \\r
13220     whole_archive_flag_spec_CXX \\r
13221     enable_shared_with_static_runtimes_CXX \\r
13222     old_archive_cmds_CXX \\r
13223     old_archive_from_new_cmds_CXX \\r
13224     predep_objects_CXX \\r
13225     postdep_objects_CXX \\r
13226     predeps_CXX \\r
13227     postdeps_CXX \\r
13228     compiler_lib_search_path_CXX \\r
13229     archive_cmds_CXX \\r
13230     archive_expsym_cmds_CXX \\r
13231     postinstall_cmds_CXX \\r
13232     postuninstall_cmds_CXX \\r
13233     old_archive_from_expsyms_cmds_CXX \\r
13234     allow_undefined_flag_CXX \\r
13235     no_undefined_flag_CXX \\r
13236     export_symbols_cmds_CXX \\r
13237     hardcode_libdir_flag_spec_CXX \\r
13238     hardcode_libdir_flag_spec_ld_CXX \\r
13239     hardcode_libdir_separator_CXX \\r
13240     hardcode_automatic_CXX \\r
13241     module_cmds_CXX \\r
13242     module_expsym_cmds_CXX \\r
13243     lt_cv_prog_compiler_c_o_CXX \\r
13244     exclude_expsyms_CXX \\r
13245     include_expsyms_CXX; do\r
13246 \r
13247     case $var in\r
13248     old_archive_cmds_CXX | \\r
13249     old_archive_from_new_cmds_CXX | \\r
13250     archive_cmds_CXX | \\r
13251     archive_expsym_cmds_CXX | \\r
13252     module_cmds_CXX | \\r
13253     module_expsym_cmds_CXX | \\r
13254     old_archive_from_expsyms_cmds_CXX | \\r
13255     export_symbols_cmds_CXX | \\r
13256     extract_expsyms_cmds | reload_cmds | finish_cmds | \\r
13257     postinstall_cmds | postuninstall_cmds | \\r
13258     old_postinstall_cmds | old_postuninstall_cmds | \\r
13259     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)\r
13260       # Double-quote double-evaled strings.\r
13261       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""\r
13262       ;;\r
13263     *)\r
13264       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""\r
13265       ;;\r
13266     esac\r
13267   done\r
13268 \r
13269   case $lt_echo in\r
13270   *'\$0 --fallback-echo"')\r
13271     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`\r
13272     ;;\r
13273   esac\r
13274 \r
13275 cfgfile="$ofile"\r
13276 \r
13277   cat <<__EOF__ >> "$cfgfile"\r
13278 # ### BEGIN LIBTOOL TAG CONFIG: $tagname\r
13279 \r
13280 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
13281 \r
13282 # Shell to use when invoking shell scripts.\r
13283 SHELL=$lt_SHELL\r
13284 \r
13285 # Whether or not to build shared libraries.\r
13286 build_libtool_libs=$enable_shared\r
13287 \r
13288 # Whether or not to build static libraries.\r
13289 build_old_libs=$enable_static\r
13290 \r
13291 # Whether or not to add -lc for building shared libraries.\r
13292 build_libtool_need_lc=$archive_cmds_need_lc_CXX\r
13293 \r
13294 # Whether or not to disallow shared libs when runtime libs are static\r
13295 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX\r
13296 \r
13297 # Whether or not to optimize for fast installation.\r
13298 fast_install=$enable_fast_install\r
13299 \r
13300 # The host system.\r
13301 host_alias=$host_alias\r
13302 host=$host\r
13303 host_os=$host_os\r
13304 \r
13305 # The build system.\r
13306 build_alias=$build_alias\r
13307 build=$build\r
13308 build_os=$build_os\r
13309 \r
13310 # An echo program that does not interpret backslashes.\r
13311 echo=$lt_echo\r
13312 \r
13313 # The archiver.\r
13314 AR=$lt_AR\r
13315 AR_FLAGS=$lt_AR_FLAGS\r
13316 \r
13317 # A C compiler.\r
13318 LTCC=$lt_LTCC\r
13319 \r
13320 # LTCC compiler flags.\r
13321 LTCFLAGS=$lt_LTCFLAGS\r
13322 \r
13323 # A language-specific compiler.\r
13324 CC=$lt_compiler_CXX\r
13325 \r
13326 # Is the compiler the GNU C compiler?\r
13327 with_gcc=$GCC_CXX\r
13328 \r
13329 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`\r
13330 gcc_ver=\`gcc -dumpversion\`\r
13331 \r
13332 # An ERE matcher.\r
13333 EGREP=$lt_EGREP\r
13334 \r
13335 # The linker used to build libraries.\r
13336 LD=$lt_LD_CXX\r
13337 \r
13338 # Whether we need hard or soft links.\r
13339 LN_S=$lt_LN_S\r
13340 \r
13341 # A BSD-compatible nm program.\r
13342 NM=$lt_NM\r
13343 \r
13344 # A symbol stripping program\r
13345 STRIP=$lt_STRIP\r
13346 \r
13347 # Used to examine libraries when file_magic_cmd begins "file"\r
13348 MAGIC_CMD=$MAGIC_CMD\r
13349 \r
13350 # Used on cygwin: DLL creation program.\r
13351 DLLTOOL="$DLLTOOL"\r
13352 \r
13353 # Used on cygwin: object dumper.\r
13354 OBJDUMP="$OBJDUMP"\r
13355 \r
13356 # Used on cygwin: assembler.\r
13357 AS="$AS"\r
13358 \r
13359 # The name of the directory that contains temporary libtool files.\r
13360 objdir=$objdir\r
13361 \r
13362 # How to create reloadable object files.\r
13363 reload_flag=$lt_reload_flag\r
13364 reload_cmds=$lt_reload_cmds\r
13365 \r
13366 # How to pass a linker flag through the compiler.\r
13367 wl=$lt_lt_prog_compiler_wl_CXX\r
13368 \r
13369 # Object file suffix (normally "o").\r
13370 objext="$ac_objext"\r
13371 \r
13372 # Old archive suffix (normally "a").\r
13373 libext="$libext"\r
13374 \r
13375 # Shared library suffix (normally ".so").\r
13376 shrext_cmds='$shrext_cmds'\r
13377 \r
13378 # Executable file suffix (normally "").\r
13379 exeext="$exeext"\r
13380 \r
13381 # Additional compiler flags for building library objects.\r
13382 pic_flag=$lt_lt_prog_compiler_pic_CXX\r
13383 pic_mode=$pic_mode\r
13384 \r
13385 # What is the maximum length of a command?\r
13386 max_cmd_len=$lt_cv_sys_max_cmd_len\r
13387 \r
13388 # Does compiler simultaneously support -c and -o options?\r
13389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX\r
13390 \r
13391 # Must we lock files when doing compilation?\r
13392 need_locks=$lt_need_locks\r
13393 \r
13394 # Do we need the lib prefix for modules?\r
13395 need_lib_prefix=$need_lib_prefix\r
13396 \r
13397 # Do we need a version for libraries?\r
13398 need_version=$need_version\r
13399 \r
13400 # Whether dlopen is supported.\r
13401 dlopen_support=$enable_dlopen\r
13402 \r
13403 # Whether dlopen of programs is supported.\r
13404 dlopen_self=$enable_dlopen_self\r
13405 \r
13406 # Whether dlopen of statically linked programs is supported.\r
13407 dlopen_self_static=$enable_dlopen_self_static\r
13408 \r
13409 # Compiler flag to prevent dynamic linking.\r
13410 link_static_flag=$lt_lt_prog_compiler_static_CXX\r
13411 \r
13412 # Compiler flag to turn off builtin functions.\r
13413 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX\r
13414 \r
13415 # Compiler flag to allow reflexive dlopens.\r
13416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX\r
13417 \r
13418 # Compiler flag to generate shared objects directly from archives.\r
13419 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX\r
13420 \r
13421 # Compiler flag to generate thread-safe objects.\r
13422 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX\r
13423 \r
13424 # Library versioning type.\r
13425 version_type=$version_type\r
13426 \r
13427 # Format of library name prefix.\r
13428 libname_spec=$lt_libname_spec\r
13429 \r
13430 # List of archive names.  First name is the real one, the rest are links.\r
13431 # The last name is the one that the linker finds with -lNAME.\r
13432 library_names_spec=$lt_library_names_spec\r
13433 \r
13434 # The coded name of the library, if different from the real name.\r
13435 soname_spec=$lt_soname_spec\r
13436 \r
13437 # Commands used to build and install an old-style archive.\r
13438 RANLIB=$lt_RANLIB\r
13439 old_archive_cmds=$lt_old_archive_cmds_CXX\r
13440 old_postinstall_cmds=$lt_old_postinstall_cmds\r
13441 old_postuninstall_cmds=$lt_old_postuninstall_cmds\r
13442 \r
13443 # Create an old-style archive from a shared archive.\r
13444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX\r
13445 \r
13446 # Create a temporary old-style archive to link instead of a shared archive.\r
13447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX\r
13448 \r
13449 # Commands used to build and install a shared archive.\r
13450 archive_cmds=$lt_archive_cmds_CXX\r
13451 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX\r
13452 postinstall_cmds=$lt_postinstall_cmds\r
13453 postuninstall_cmds=$lt_postuninstall_cmds\r
13454 \r
13455 # Commands used to build a loadable module (assumed same as above if empty)\r
13456 module_cmds=$lt_module_cmds_CXX\r
13457 module_expsym_cmds=$lt_module_expsym_cmds_CXX\r
13458 \r
13459 # Commands to strip libraries.\r
13460 old_striplib=$lt_old_striplib\r
13461 striplib=$lt_striplib\r
13462 \r
13463 # Dependencies to place before the objects being linked to create a\r
13464 # shared library.\r
13465 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
13466 \r
13467 # Dependencies to place after the objects being linked to create a\r
13468 # shared library.\r
13469 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
13470 \r
13471 # Dependencies to place before the objects being linked to create a\r
13472 # shared library.\r
13473 predeps=$lt_predeps_CXX\r
13474 \r
13475 # Dependencies to place after the objects being linked to create a\r
13476 # shared library.\r
13477 postdeps=$lt_postdeps_CXX\r
13478 \r
13479 # The library search path used internally by the compiler when linking\r
13480 # a shared library.\r
13481 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
13482 \r
13483 # Method to check whether dependent libraries are shared objects.\r
13484 deplibs_check_method=$lt_deplibs_check_method\r
13485 \r
13486 # Command to use when deplibs_check_method == file_magic.\r
13487 file_magic_cmd=$lt_file_magic_cmd\r
13488 \r
13489 # Flag that allows shared libraries with undefined symbols to be built.\r
13490 allow_undefined_flag=$lt_allow_undefined_flag_CXX\r
13491 \r
13492 # Flag that forces no undefined symbols.\r
13493 no_undefined_flag=$lt_no_undefined_flag_CXX\r
13494 \r
13495 # Commands used to finish a libtool library installation in a directory.\r
13496 finish_cmds=$lt_finish_cmds\r
13497 \r
13498 # Same as above, but a single script fragment to be evaled but not shown.\r
13499 finish_eval=$lt_finish_eval\r
13500 \r
13501 # Take the output of nm and produce a listing of raw symbols and C names.\r
13502 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe\r
13503 \r
13504 # Transform the output of nm in a proper C declaration\r
13505 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl\r
13506 \r
13507 # Transform the output of nm in a C name address pair\r
13508 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address\r
13509 \r
13510 # This is the shared library runtime path variable.\r
13511 runpath_var=$runpath_var\r
13512 \r
13513 # This is the shared library path variable.\r
13514 shlibpath_var=$shlibpath_var\r
13515 \r
13516 # Is shlibpath searched before the hard-coded library search path?\r
13517 shlibpath_overrides_runpath=$shlibpath_overrides_runpath\r
13518 \r
13519 # How to hardcode a shared library path into an executable.\r
13520 hardcode_action=$hardcode_action_CXX\r
13521 \r
13522 # Whether we should hardcode library paths into libraries.\r
13523 hardcode_into_libs=$hardcode_into_libs\r
13524 \r
13525 # Flag to hardcode \$libdir into a binary during linking.\r
13526 # This must work even if \$libdir does not exist.\r
13527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX\r
13528 \r
13529 # If ld is used when linking, flag to hardcode \$libdir into\r
13530 # a binary during linking. This must work even if \$libdir does\r
13531 # not exist.\r
13532 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX\r
13533 \r
13534 # Whether we need a single -rpath flag with a separated argument.\r
13535 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX\r
13536 \r
13537 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the\r
13538 # resulting binary.\r
13539 hardcode_direct=$hardcode_direct_CXX\r
13540 \r
13541 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the\r
13542 # resulting binary.\r
13543 hardcode_minus_L=$hardcode_minus_L_CXX\r
13544 \r
13545 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into\r
13546 # the resulting binary.\r
13547 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX\r
13548 \r
13549 # Set to yes if building a shared library automatically hardcodes DIR into the library\r
13550 # and all subsequent libraries and executables linked against it.\r
13551 hardcode_automatic=$hardcode_automatic_CXX\r
13552 \r
13553 # Variables whose values should be saved in libtool wrapper scripts and\r
13554 # restored at relink time.\r
13555 variables_saved_for_relink="$variables_saved_for_relink"\r
13556 \r
13557 # Whether libtool must link a program against all its dependency libraries.\r
13558 link_all_deplibs=$link_all_deplibs_CXX\r
13559 \r
13560 # Compile-time system search path for libraries\r
13561 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
13562 \r
13563 # Run-time system search path for libraries\r
13564 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec\r
13565 \r
13566 # Fix the shell variable \$srcfile for the compiler.\r
13567 fix_srcfile_path="$fix_srcfile_path_CXX"\r
13568 \r
13569 # Set to yes if exported symbols are required.\r
13570 always_export_symbols=$always_export_symbols_CXX\r
13571 \r
13572 # The commands to list exported symbols.\r
13573 export_symbols_cmds=$lt_export_symbols_cmds_CXX\r
13574 \r
13575 # The commands to extract the exported symbol list from a shared archive.\r
13576 extract_expsyms_cmds=$lt_extract_expsyms_cmds\r
13577 \r
13578 # Symbols that should not be listed in the preloaded symbols.\r
13579 exclude_expsyms=$lt_exclude_expsyms_CXX\r
13580 \r
13581 # Symbols that must always be exported.\r
13582 include_expsyms=$lt_include_expsyms_CXX\r
13583 \r
13584 # ### END LIBTOOL TAG CONFIG: $tagname\r
13585 \r
13586 __EOF__\r
13587 \r
13588 \r
13589 else\r
13590   # If there is no Makefile yet, we rely on a make rule to execute\r
13591   # `config.status --recheck' to rerun these tests and create the\r
13592   # libtool script then.\r
13593   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`\r
13594   if test -f "$ltmain_in"; then\r
13595     test -f Makefile && make "$ltmain"\r
13596   fi\r
13597 fi\r
13598 \r
13599 \r
13600 ac_ext=c\r
13601 ac_cpp='$CPP $CPPFLAGS'\r
13602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
13603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
13604 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
13605 \r
13606 CC=$lt_save_CC\r
13607 LDCXX=$LD\r
13608 LD=$lt_save_LD\r
13609 GCC=$lt_save_GCC\r
13610 with_gnu_ldcxx=$with_gnu_ld\r
13611 with_gnu_ld=$lt_save_with_gnu_ld\r
13612 lt_cv_path_LDCXX=$lt_cv_path_LD\r
13613 lt_cv_path_LD=$lt_save_path_LD\r
13614 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld\r
13615 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld\r
13616 \r
13617         else\r
13618           tagname=""\r
13619         fi\r
13620         ;;\r
13621 \r
13622       F77)\r
13623         if test -n "$F77" && test "X$F77" != "Xno"; then\r
13624 \r
13625 ac_ext=f\r
13626 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'\r
13627 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
13628 ac_compiler_gnu=$ac_cv_f77_compiler_gnu\r
13629 \r
13630 \r
13631 archive_cmds_need_lc_F77=no\r
13632 allow_undefined_flag_F77=\r
13633 always_export_symbols_F77=no\r
13634 archive_expsym_cmds_F77=\r
13635 export_dynamic_flag_spec_F77=\r
13636 hardcode_direct_F77=no\r
13637 hardcode_libdir_flag_spec_F77=\r
13638 hardcode_libdir_flag_spec_ld_F77=\r
13639 hardcode_libdir_separator_F77=\r
13640 hardcode_minus_L_F77=no\r
13641 hardcode_automatic_F77=no\r
13642 module_cmds_F77=\r
13643 module_expsym_cmds_F77=\r
13644 link_all_deplibs_F77=unknown\r
13645 old_archive_cmds_F77=$old_archive_cmds\r
13646 no_undefined_flag_F77=\r
13647 whole_archive_flag_spec_F77=\r
13648 enable_shared_with_static_runtimes_F77=no\r
13649 \r
13650 # Source file extension for f77 test sources.\r
13651 ac_ext=f\r
13652 \r
13653 # Object file extension for compiled f77 test sources.\r
13654 objext=o\r
13655 objext_F77=$objext\r
13656 \r
13657 # Code to be used in simple compile tests\r
13658 lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"\r
13659 \r
13660 # Code to be used in simple link tests\r
13661 lt_simple_link_test_code="      program t\n      end\n"\r
13662 \r
13663 # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
13664 \r
13665 # If no C compiler was specified, use CC.\r
13666 LTCC=${LTCC-"$CC"}\r
13667 \r
13668 # If no C compiler flags were specified, use CFLAGS.\r
13669 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
13670 \r
13671 # Allow CC to be a program name with arguments.\r
13672 compiler=$CC\r
13673 \r
13674 \r
13675 # save warnings/boilerplate of simple test code\r
13676 ac_outfile=conftest.$ac_objext\r
13677 printf "$lt_simple_compile_test_code" >conftest.$ac_ext\r
13678 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
13679 _lt_compiler_boilerplate=`cat conftest.err`\r
13680 $rm conftest*\r
13681 \r
13682 ac_outfile=conftest.$ac_objext\r
13683 printf "$lt_simple_link_test_code" >conftest.$ac_ext\r
13684 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
13685 _lt_linker_boilerplate=`cat conftest.err`\r
13686 $rm conftest*\r
13687 \r
13688 \r
13689 # Allow CC to be a program name with arguments.\r
13690 lt_save_CC="$CC"\r
13691 CC=${F77-"f77"}\r
13692 compiler=$CC\r
13693 compiler_F77=$CC\r
13694 for cc_temp in $compiler""; do\r
13695   case $cc_temp in\r
13696     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
13697     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
13698     \-*) ;;\r
13699     *) break;;\r
13700   esac\r
13701 done\r
13702 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
13703 \r
13704 \r
13705 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5\r
13706 $as_echo_n "checking if libtool supports shared libraries... " >&6; }\r
13707 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5\r
13708 $as_echo "$can_build_shared" >&6; }\r
13709 \r
13710 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5\r
13711 $as_echo_n "checking whether to build shared libraries... " >&6; }\r
13712 test "$can_build_shared" = "no" && enable_shared=no\r
13713 \r
13714 # On AIX, shared libraries and static libraries use the same namespace, and\r
13715 # are all built from PIC.\r
13716 case $host_os in\r
13717 aix3*)\r
13718   test "$enable_shared" = yes && enable_static=no\r
13719   if test -n "$RANLIB"; then\r
13720     archive_cmds="$archive_cmds~\$RANLIB \$lib"\r
13721     postinstall_cmds='$RANLIB $lib'\r
13722   fi\r
13723   ;;\r
13724 aix4* | aix5*)\r
13725   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then\r
13726     test "$enable_shared" = yes && enable_static=no\r
13727   fi\r
13728   ;;\r
13729 esac\r
13730 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5\r
13731 $as_echo "$enable_shared" >&6; }\r
13732 \r
13733 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5\r
13734 $as_echo_n "checking whether to build static libraries... " >&6; }\r
13735 # Make sure either enable_shared or enable_static is yes.\r
13736 test "$enable_shared" = yes || enable_static=yes\r
13737 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5\r
13738 $as_echo "$enable_static" >&6; }\r
13739 \r
13740 GCC_F77="$G77"\r
13741 LD_F77="$LD"\r
13742 \r
13743 lt_prog_compiler_wl_F77=\r
13744 lt_prog_compiler_pic_F77=\r
13745 lt_prog_compiler_static_F77=\r
13746 \r
13747 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5\r
13748 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }\r
13749 \r
13750   if test "$GCC" = yes; then\r
13751     lt_prog_compiler_wl_F77='-Wl,'\r
13752     lt_prog_compiler_static_F77='-static'\r
13753 \r
13754     case $host_os in\r
13755       aix*)\r
13756       # All AIX code is PIC.\r
13757       if test "$host_cpu" = ia64; then\r
13758         # AIX 5 now supports IA64 processor\r
13759         lt_prog_compiler_static_F77='-Bstatic'\r
13760       fi\r
13761       ;;\r
13762 \r
13763     amigaos*)\r
13764       # FIXME: we need at least 68020 code to build shared libraries, but\r
13765       # adding the `-m68020' flag to GCC prevents building anything better,\r
13766       # like `-m68040'.\r
13767       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'\r
13768       ;;\r
13769 \r
13770     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
13771       # PIC is the default for these OSes.\r
13772       ;;\r
13773 \r
13774     mingw* | pw32* | os2*)\r
13775       # This hack is so that the source file can tell whether it is being\r
13776       # built for inclusion in a dll (and should export symbols for example).\r
13777       lt_prog_compiler_pic_F77='-DDLL_EXPORT'\r
13778       ;;\r
13779 \r
13780     darwin* | rhapsody*)\r
13781       # PIC is the default on this platform\r
13782       # Common symbols not allowed in MH_DYLIB files\r
13783       lt_prog_compiler_pic_F77='-fno-common'\r
13784       ;;\r
13785 \r
13786     interix3*)\r
13787       # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
13788       # Instead, we relocate shared libraries at runtime.\r
13789       ;;\r
13790 \r
13791     msdosdjgpp*)\r
13792       # Just because we use GCC doesn't mean we suddenly get shared libraries\r
13793       # on systems that don't support them.\r
13794       lt_prog_compiler_can_build_shared_F77=no\r
13795       enable_shared=no\r
13796       ;;\r
13797 \r
13798     sysv4*MP*)\r
13799       if test -d /usr/nec; then\r
13800         lt_prog_compiler_pic_F77=-Kconform_pic\r
13801       fi\r
13802       ;;\r
13803 \r
13804     hpux*)\r
13805       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
13806       # not for PA HP-UX.\r
13807       case $host_cpu in\r
13808       hppa*64*|ia64*)\r
13809         # +Z the default\r
13810         ;;\r
13811       *)\r
13812         lt_prog_compiler_pic_F77='-fPIC'\r
13813         ;;\r
13814       esac\r
13815       ;;\r
13816 \r
13817     *)\r
13818       lt_prog_compiler_pic_F77='-fPIC'\r
13819       ;;\r
13820     esac\r
13821   else\r
13822     # PORTME Check for flag to pass linker flags through the system compiler.\r
13823     case $host_os in\r
13824     aix*)\r
13825       lt_prog_compiler_wl_F77='-Wl,'\r
13826       if test "$host_cpu" = ia64; then\r
13827         # AIX 5 now supports IA64 processor\r
13828         lt_prog_compiler_static_F77='-Bstatic'\r
13829       else\r
13830         lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'\r
13831       fi\r
13832       ;;\r
13833       darwin*)\r
13834         # PIC is the default on this platform\r
13835         # Common symbols not allowed in MH_DYLIB files\r
13836        case $cc_basename in\r
13837          xlc*)\r
13838          lt_prog_compiler_pic_F77='-qnocommon'\r
13839          lt_prog_compiler_wl_F77='-Wl,'\r
13840          ;;\r
13841        esac\r
13842        ;;\r
13843 \r
13844     mingw* | pw32* | os2*)\r
13845       # This hack is so that the source file can tell whether it is being\r
13846       # built for inclusion in a dll (and should export symbols for example).\r
13847       lt_prog_compiler_pic_F77='-DDLL_EXPORT'\r
13848       ;;\r
13849 \r
13850     hpux9* | hpux10* | hpux11*)\r
13851       lt_prog_compiler_wl_F77='-Wl,'\r
13852       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
13853       # not for PA HP-UX.\r
13854       case $host_cpu in\r
13855       hppa*64*|ia64*)\r
13856         # +Z the default\r
13857         ;;\r
13858       *)\r
13859         lt_prog_compiler_pic_F77='+Z'\r
13860         ;;\r
13861       esac\r
13862       # Is there a better lt_prog_compiler_static that works with the bundled CC?\r
13863       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'\r
13864       ;;\r
13865 \r
13866     irix5* | irix6* | nonstopux*)\r
13867       lt_prog_compiler_wl_F77='-Wl,'\r
13868       # PIC (with -KPIC) is the default.\r
13869       lt_prog_compiler_static_F77='-non_shared'\r
13870       ;;\r
13871 \r
13872     newsos6)\r
13873       lt_prog_compiler_pic_F77='-KPIC'\r
13874       lt_prog_compiler_static_F77='-Bstatic'\r
13875       ;;\r
13876 \r
13877     linux*)\r
13878       case $cc_basename in\r
13879       icc* | ecc*)\r
13880         lt_prog_compiler_wl_F77='-Wl,'\r
13881         lt_prog_compiler_pic_F77='-KPIC'\r
13882         lt_prog_compiler_static_F77='-static'\r
13883         ;;\r
13884       pgcc* | pgf77* | pgf90* | pgf95*)\r
13885         # Portland Group compilers (*not* the Pentium gcc compiler,\r
13886         # which looks to be a dead project)\r
13887         lt_prog_compiler_wl_F77='-Wl,'\r
13888         lt_prog_compiler_pic_F77='-fpic'\r
13889         lt_prog_compiler_static_F77='-Bstatic'\r
13890         ;;\r
13891       ccc*)\r
13892         lt_prog_compiler_wl_F77='-Wl,'\r
13893         # All Alpha code is PIC.\r
13894         lt_prog_compiler_static_F77='-non_shared'\r
13895         ;;\r
13896       esac\r
13897       ;;\r
13898 \r
13899     osf3* | osf4* | osf5*)\r
13900       lt_prog_compiler_wl_F77='-Wl,'\r
13901       # All OSF/1 code is PIC.\r
13902       lt_prog_compiler_static_F77='-non_shared'\r
13903       ;;\r
13904 \r
13905     solaris*)\r
13906       lt_prog_compiler_pic_F77='-KPIC'\r
13907       lt_prog_compiler_static_F77='-Bstatic'\r
13908       case $cc_basename in\r
13909       f77* | f90* | f95*)\r
13910         lt_prog_compiler_wl_F77='-Qoption ld ';;\r
13911       *)\r
13912         lt_prog_compiler_wl_F77='-Wl,';;\r
13913       esac\r
13914       ;;\r
13915 \r
13916     sunos4*)\r
13917       lt_prog_compiler_wl_F77='-Qoption ld '\r
13918       lt_prog_compiler_pic_F77='-PIC'\r
13919       lt_prog_compiler_static_F77='-Bstatic'\r
13920       ;;\r
13921 \r
13922     sysv4 | sysv4.2uw2* | sysv4.3*)\r
13923       lt_prog_compiler_wl_F77='-Wl,'\r
13924       lt_prog_compiler_pic_F77='-KPIC'\r
13925       lt_prog_compiler_static_F77='-Bstatic'\r
13926       ;;\r
13927 \r
13928     sysv4*MP*)\r
13929       if test -d /usr/nec ;then\r
13930         lt_prog_compiler_pic_F77='-Kconform_pic'\r
13931         lt_prog_compiler_static_F77='-Bstatic'\r
13932       fi\r
13933       ;;\r
13934 \r
13935     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
13936       lt_prog_compiler_wl_F77='-Wl,'\r
13937       lt_prog_compiler_pic_F77='-KPIC'\r
13938       lt_prog_compiler_static_F77='-Bstatic'\r
13939       ;;\r
13940 \r
13941     unicos*)\r
13942       lt_prog_compiler_wl_F77='-Wl,'\r
13943       lt_prog_compiler_can_build_shared_F77=no\r
13944       ;;\r
13945 \r
13946     uts4*)\r
13947       lt_prog_compiler_pic_F77='-pic'\r
13948       lt_prog_compiler_static_F77='-Bstatic'\r
13949       ;;\r
13950 \r
13951     *)\r
13952       lt_prog_compiler_can_build_shared_F77=no\r
13953       ;;\r
13954     esac\r
13955   fi\r
13956 \r
13957 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5\r
13958 $as_echo "$lt_prog_compiler_pic_F77" >&6; }\r
13959 \r
13960 #\r
13961 # Check to make sure the PIC flag actually works.\r
13962 #\r
13963 if test -n "$lt_prog_compiler_pic_F77"; then\r
13964 \r
13965 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5\r
13966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }\r
13967 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then\r
13968   $as_echo_n "(cached) " >&6\r
13969 else\r
13970   lt_prog_compiler_pic_works_F77=no\r
13971   ac_outfile=conftest.$ac_objext\r
13972    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
13973    lt_compiler_flag="$lt_prog_compiler_pic_F77"\r
13974    # Insert the option either (1) after the last *FLAGS variable, or\r
13975    # (2) before a word containing "conftest.", or (3) at the end.\r
13976    # Note that $ac_compile itself does not contain backslashes and begins\r
13977    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
13978    # The option is referenced via a variable to avoid confusing sed.\r
13979    lt_compile=`echo "$ac_compile" | $SED \\r
13980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
13981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
13982    -e 's:$: $lt_compiler_flag:'`\r
13983    (eval echo "\"\$as_me:13983: $lt_compile\"" >&5)\r
13984    (eval "$lt_compile" 2>conftest.err)\r
13985    ac_status=$?\r
13986    cat conftest.err >&5\r
13987    echo "$as_me:13987: \$? = $ac_status" >&5\r
13988    if (exit $ac_status) && test -s "$ac_outfile"; then\r
13989      # The compiler can only warn and ignore the option if not recognized\r
13990      # So say no if there are warnings other than the usual output.\r
13991      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
13992      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
13993      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
13994        lt_prog_compiler_pic_works_F77=yes\r
13995      fi\r
13996    fi\r
13997    $rm conftest*\r
13998 \r
13999 fi\r
14000 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5\r
14001 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }\r
14002 \r
14003 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then\r
14004     case $lt_prog_compiler_pic_F77 in\r
14005      "" | " "*) ;;\r
14006      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;\r
14007      esac\r
14008 else\r
14009     lt_prog_compiler_pic_F77=\r
14010      lt_prog_compiler_can_build_shared_F77=no\r
14011 fi\r
14012 \r
14013 fi\r
14014 case $host_os in\r
14015   # For platforms which do not support PIC, -DPIC is meaningless:\r
14016   *djgpp*)\r
14017     lt_prog_compiler_pic_F77=\r
14018     ;;\r
14019   *)\r
14020     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"\r
14021     ;;\r
14022 esac\r
14023 \r
14024 #\r
14025 # Check to make sure the static flag actually works.\r
14026 #\r
14027 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"\r
14028 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5\r
14029 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }\r
14030 if test "${lt_prog_compiler_static_works_F77+set}" = set; then\r
14031   $as_echo_n "(cached) " >&6\r
14032 else\r
14033   lt_prog_compiler_static_works_F77=no\r
14034    save_LDFLAGS="$LDFLAGS"\r
14035    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"\r
14036    printf "$lt_simple_link_test_code" > conftest.$ac_ext\r
14037    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then\r
14038      # The linker can only warn and ignore the option if not recognized\r
14039      # So say no if there are warnings\r
14040      if test -s conftest.err; then\r
14041        # Append any errors to the config.log.\r
14042        cat conftest.err 1>&5\r
14043        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp\r
14044        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
14045        if diff conftest.exp conftest.er2 >/dev/null; then\r
14046          lt_prog_compiler_static_works_F77=yes\r
14047        fi\r
14048      else\r
14049        lt_prog_compiler_static_works_F77=yes\r
14050      fi\r
14051    fi\r
14052    $rm conftest*\r
14053    LDFLAGS="$save_LDFLAGS"\r
14054 \r
14055 fi\r
14056 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5\r
14057 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }\r
14058 \r
14059 if test x"$lt_prog_compiler_static_works_F77" = xyes; then\r
14060     :\r
14061 else\r
14062     lt_prog_compiler_static_F77=\r
14063 fi\r
14064 \r
14065 \r
14066 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5\r
14067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }\r
14068 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then\r
14069   $as_echo_n "(cached) " >&6\r
14070 else\r
14071   lt_cv_prog_compiler_c_o_F77=no\r
14072    $rm -r conftest 2>/dev/null\r
14073    mkdir conftest\r
14074    cd conftest\r
14075    mkdir out\r
14076    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
14077 \r
14078    lt_compiler_flag="-o out/conftest2.$ac_objext"\r
14079    # Insert the option either (1) after the last *FLAGS variable, or\r
14080    # (2) before a word containing "conftest.", or (3) at the end.\r
14081    # Note that $ac_compile itself does not contain backslashes and begins\r
14082    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
14083    lt_compile=`echo "$ac_compile" | $SED \\r
14084    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
14085    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
14086    -e 's:$: $lt_compiler_flag:'`\r
14087    (eval echo "\"\$as_me:14087: $lt_compile\"" >&5)\r
14088    (eval "$lt_compile" 2>out/conftest.err)\r
14089    ac_status=$?\r
14090    cat out/conftest.err >&5\r
14091    echo "$as_me:14091: \$? = $ac_status" >&5\r
14092    if (exit $ac_status) && test -s out/conftest2.$ac_objext\r
14093    then\r
14094      # The compiler can only warn and ignore the option if not recognized\r
14095      # So say no if there are warnings\r
14096      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp\r
14097      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2\r
14098      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then\r
14099        lt_cv_prog_compiler_c_o_F77=yes\r
14100      fi\r
14101    fi\r
14102    chmod u+w . 2>&5\r
14103    $rm conftest*\r
14104    # SGI C++ compiler will create directory out/ii_files/ for\r
14105    # template instantiation\r
14106    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files\r
14107    $rm out/* && rmdir out\r
14108    cd ..\r
14109    rmdir conftest\r
14110    $rm conftest*\r
14111 \r
14112 fi\r
14113 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5\r
14114 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }\r
14115 \r
14116 \r
14117 hard_links="nottested"\r
14118 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then\r
14119   # do not overwrite the value of need_locks provided by the user\r
14120   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5\r
14121 $as_echo_n "checking if we can lock with hard links... " >&6; }\r
14122   hard_links=yes\r
14123   $rm conftest*\r
14124   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
14125   touch conftest.a\r
14126   ln conftest.a conftest.b 2>&5 || hard_links=no\r
14127   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
14128   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5\r
14129 $as_echo "$hard_links" >&6; }\r
14130   if test "$hard_links" = no; then\r
14131     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5\r
14132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}\r
14133     need_locks=warn\r
14134   fi\r
14135 else\r
14136   need_locks=no\r
14137 fi\r
14138 \r
14139 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5\r
14140 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }\r
14141 \r
14142   runpath_var=\r
14143   allow_undefined_flag_F77=\r
14144   enable_shared_with_static_runtimes_F77=no\r
14145   archive_cmds_F77=\r
14146   archive_expsym_cmds_F77=\r
14147   old_archive_From_new_cmds_F77=\r
14148   old_archive_from_expsyms_cmds_F77=\r
14149   export_dynamic_flag_spec_F77=\r
14150   whole_archive_flag_spec_F77=\r
14151   thread_safe_flag_spec_F77=\r
14152   hardcode_libdir_flag_spec_F77=\r
14153   hardcode_libdir_flag_spec_ld_F77=\r
14154   hardcode_libdir_separator_F77=\r
14155   hardcode_direct_F77=no\r
14156   hardcode_minus_L_F77=no\r
14157   hardcode_shlibpath_var_F77=unsupported\r
14158   link_all_deplibs_F77=unknown\r
14159   hardcode_automatic_F77=no\r
14160   module_cmds_F77=\r
14161   module_expsym_cmds_F77=\r
14162   always_export_symbols_F77=no\r
14163   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
14164   # include_expsyms should be a list of space-separated symbols to be *always*\r
14165   # included in the symbol list\r
14166   include_expsyms_F77=\r
14167   # exclude_expsyms can be an extended regexp of symbols to exclude\r
14168   # it will be wrapped by ` (' and `)$', so one must not match beginning or\r
14169   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',\r
14170   # as well as any symbol that contains `d'.\r
14171   exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"\r
14172   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out\r
14173   # platforms (ab)use it in PIC code, but their linkers get confused if\r
14174   # the symbol is explicitly referenced.  Since portable code cannot\r
14175   # rely on this symbol name, it's probably fine to never include it in\r
14176   # preloaded symbol tables.\r
14177   extract_expsyms_cmds=\r
14178   # Just being paranoid about ensuring that cc_basename is set.\r
14179   for cc_temp in $compiler""; do\r
14180   case $cc_temp in\r
14181     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
14182     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
14183     \-*) ;;\r
14184     *) break;;\r
14185   esac\r
14186 done\r
14187 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
14188 \r
14189   case $host_os in\r
14190   cygwin* | mingw* | pw32*)\r
14191     # FIXME: the MSVC++ port hasn't been tested in a loooong time\r
14192     # When not using gcc, we currently assume that we are using\r
14193     # Microsoft Visual C++.\r
14194     if test "$GCC" != yes; then\r
14195       with_gnu_ld=no\r
14196     fi\r
14197     ;;\r
14198   interix*)\r
14199     # we just hope/assume this is gcc and not c89 (= MSVC++)\r
14200     with_gnu_ld=yes\r
14201     ;;\r
14202   openbsd*)\r
14203     with_gnu_ld=no\r
14204     ;;\r
14205   esac\r
14206 \r
14207   ld_shlibs_F77=yes\r
14208   if test "$with_gnu_ld" = yes; then\r
14209     # If archive_cmds runs LD, not CC, wlarc should be empty\r
14210     wlarc='${wl}'\r
14211 \r
14212     # Set some defaults for GNU ld with shared library support. These\r
14213     # are reset later if shared libraries are not supported. Putting them\r
14214     # here allows them to be overridden if necessary.\r
14215     runpath_var=LD_RUN_PATH\r
14216     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'\r
14217     export_dynamic_flag_spec_F77='${wl}--export-dynamic'\r
14218     # ancient GNU ld didn't support --whole-archive et. al.\r
14219     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then\r
14220         whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
14221       else\r
14222         whole_archive_flag_spec_F77=\r
14223     fi\r
14224     supports_anon_versioning=no\r
14225     case `$LD -v 2>/dev/null` in\r
14226       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11\r
14227       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...\r
14228       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...\r
14229       *\ 2.11.*) ;; # other 2.11 versions\r
14230       *) supports_anon_versioning=yes ;;\r
14231     esac\r
14232 \r
14233     # See if GNU ld supports shared libraries.\r
14234     case $host_os in\r
14235     aix3* | aix4* | aix5*)\r
14236       # On AIX/PPC, the GNU linker is very broken\r
14237       if test "$host_cpu" != ia64; then\r
14238         ld_shlibs_F77=no\r
14239         cat <<EOF 1>&2\r
14240 \r
14241 *** Warning: the GNU linker, at least up to release 2.9.1, is reported\r
14242 *** to be unable to reliably create shared libraries on AIX.\r
14243 *** Therefore, libtool is disabling shared libraries support.  If you\r
14244 *** really care for shared libraries, you may want to modify your PATH\r
14245 *** so that a non-GNU linker is found, and then restart.\r
14246 \r
14247 EOF\r
14248       fi\r
14249       ;;\r
14250 \r
14251     amigaos*)\r
14252       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'\r
14253       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14254       hardcode_minus_L_F77=yes\r
14255 \r
14256       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports\r
14257       # that the semantics of dynamic libraries on AmigaOS, at least up\r
14258       # to version 4, is to share data among multiple programs linked\r
14259       # with the same dynamic library.  Since this doesn't match the\r
14260       # behavior of shared libraries on other platforms, we can't use\r
14261       # them.\r
14262       ld_shlibs_F77=no\r
14263       ;;\r
14264 \r
14265     beos*)\r
14266       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
14267         allow_undefined_flag_F77=unsupported\r
14268         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
14269         # support --undefined.  This deserves some investigation.  FIXME\r
14270         archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
14271       else\r
14272         ld_shlibs_F77=no\r
14273       fi\r
14274       ;;\r
14275 \r
14276     cygwin* | mingw* | pw32*)\r
14277       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,\r
14278       # as there is no search path for DLLs.\r
14279       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14280       allow_undefined_flag_F77=unsupported\r
14281       always_export_symbols_F77=no\r
14282       enable_shared_with_static_runtimes_F77=yes\r
14283       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'\r
14284 \r
14285       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then\r
14286         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
14287         # If the export-symbols file already is a .def file (1st line\r
14288         # is EXPORTS), use it as is; otherwise, prepend...\r
14289         archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
14290           cp $export_symbols $output_objdir/$soname.def;\r
14291         else\r
14292           echo EXPORTS > $output_objdir/$soname.def;\r
14293           cat $export_symbols >> $output_objdir/$soname.def;\r
14294         fi~\r
14295         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
14296       else\r
14297         ld_shlibs_F77=no\r
14298       fi\r
14299       ;;\r
14300 \r
14301     interix3*)\r
14302       hardcode_direct_F77=no\r
14303       hardcode_shlibpath_var_F77=no\r
14304       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'\r
14305       export_dynamic_flag_spec_F77='${wl}-E'\r
14306       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
14307       # Instead, shared libraries are loaded at an image base (0x10000000 by\r
14308       # default) and relocated if they conflict, which is a slow very memory\r
14309       # consuming and fragmenting process.  To avoid this, we pick a random,\r
14310       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
14311       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
14312       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'\r
14313       archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'\r
14314       ;;\r
14315 \r
14316     linux*)\r
14317       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
14318         tmp_addflag=\r
14319         case $cc_basename,$host_cpu in\r
14320         pgcc*)                          # Portland Group C compiler\r
14321           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
14322           tmp_addflag=' $pic_flag'\r
14323           ;;\r
14324         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers\r
14325           whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
14326           tmp_addflag=' $pic_flag -Mnomain' ;;\r
14327         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64\r
14328           tmp_addflag=' -i_dynamic' ;;\r
14329         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64\r
14330           tmp_addflag=' -i_dynamic -nofor_main' ;;\r
14331         ifc* | ifort*)                  # Intel Fortran compiler\r
14332           tmp_addflag=' -nofor_main' ;;\r
14333         esac\r
14334         archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
14335 \r
14336         if test $supports_anon_versioning = yes; then\r
14337           archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~\r
14338   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
14339   $echo "local: *; };" >> $output_objdir/$libname.ver~\r
14340           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'\r
14341         fi\r
14342       else\r
14343         ld_shlibs_F77=no\r
14344       fi\r
14345       ;;\r
14346 \r
14347     netbsd*)\r
14348       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
14349         archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'\r
14350         wlarc=\r
14351       else\r
14352         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
14353         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
14354       fi\r
14355       ;;\r
14356 \r
14357     solaris*)\r
14358       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then\r
14359         ld_shlibs_F77=no\r
14360         cat <<EOF 1>&2\r
14361 \r
14362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably\r
14363 *** create shared libraries on Solaris systems.  Therefore, libtool\r
14364 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
14365 *** binutils to release 2.9.1 or newer.  Another option is to modify\r
14366 *** your PATH or compiler configuration so that the native linker is\r
14367 *** used, and then restart.\r
14368 \r
14369 EOF\r
14370       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
14371         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
14372         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
14373       else\r
14374         ld_shlibs_F77=no\r
14375       fi\r
14376       ;;\r
14377 \r
14378     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)\r
14379       case `$LD -v 2>&1` in\r
14380         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)\r
14381         ld_shlibs_F77=no\r
14382         cat <<_LT_EOF 1>&2\r
14383 \r
14384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not\r
14385 *** reliably create shared libraries on SCO systems.  Therefore, libtool\r
14386 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
14387 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify\r
14388 *** your PATH or compiler configuration so that the native linker is\r
14389 *** used, and then restart.\r
14390 \r
14391 _LT_EOF\r
14392         ;;\r
14393         *)\r
14394           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
14395             hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'\r
14396             archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'\r
14397             archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'\r
14398           else\r
14399             ld_shlibs_F77=no\r
14400           fi\r
14401         ;;\r
14402       esac\r
14403       ;;\r
14404 \r
14405     sunos4*)\r
14406       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
14407       wlarc=\r
14408       hardcode_direct_F77=yes\r
14409       hardcode_shlibpath_var_F77=no\r
14410       ;;\r
14411 \r
14412     *)\r
14413       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
14414         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
14415         archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
14416       else\r
14417         ld_shlibs_F77=no\r
14418       fi\r
14419       ;;\r
14420     esac\r
14421 \r
14422     if test "$ld_shlibs_F77" = no; then\r
14423       runpath_var=\r
14424       hardcode_libdir_flag_spec_F77=\r
14425       export_dynamic_flag_spec_F77=\r
14426       whole_archive_flag_spec_F77=\r
14427     fi\r
14428   else\r
14429     # PORTME fill in a description of your system's linker (not GNU ld)\r
14430     case $host_os in\r
14431     aix3*)\r
14432       allow_undefined_flag_F77=unsupported\r
14433       always_export_symbols_F77=yes\r
14434       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'\r
14435       # Note: this linker hardcodes the directories in LIBPATH if there\r
14436       # are no directories specified by -L.\r
14437       hardcode_minus_L_F77=yes\r
14438       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then\r
14439         # Neither direct hardcoding nor static linking is supported with a\r
14440         # broken collect2.\r
14441         hardcode_direct_F77=unsupported\r
14442       fi\r
14443       ;;\r
14444 \r
14445     aix4* | aix5*)\r
14446       if test "$host_cpu" = ia64; then\r
14447         # On IA64, the linker does run time linking by default, so we don't\r
14448         # have to do anything special.\r
14449         aix_use_runtimelinking=no\r
14450         exp_sym_flag='-Bexport'\r
14451         no_entry_flag=""\r
14452       else\r
14453         # If we're using GNU nm, then we don't want the "-C" option.\r
14454         # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
14455         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then\r
14456           export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
14457         else\r
14458           export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
14459         fi\r
14460         aix_use_runtimelinking=no\r
14461 \r
14462         # Test if we are trying to use run time linking or normal\r
14463         # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
14464         # need to do runtime linking.\r
14465         case $host_os in aix4.[23]|aix4.[23].*|aix5*)\r
14466           for ld_flag in $LDFLAGS; do\r
14467           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then\r
14468             aix_use_runtimelinking=yes\r
14469             break\r
14470           fi\r
14471           done\r
14472           ;;\r
14473         esac\r
14474 \r
14475         exp_sym_flag='-bexport'\r
14476         no_entry_flag='-bnoentry'\r
14477       fi\r
14478 \r
14479       # When large executables or shared objects are built, AIX ld can\r
14480       # have problems creating the table of contents.  If linking a library\r
14481       # or program results in "error TOC overflow" add -mminimal-toc to\r
14482       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
14483       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
14484 \r
14485       archive_cmds_F77=''\r
14486       hardcode_direct_F77=yes\r
14487       hardcode_libdir_separator_F77=':'\r
14488       link_all_deplibs_F77=yes\r
14489 \r
14490       if test "$GCC" = yes; then\r
14491         case $host_os in aix4.[012]|aix4.[012].*)\r
14492         # We only want to do this on AIX 4.2 and lower, the check\r
14493         # below for broken collect2 doesn't work under 4.3+\r
14494           collect2name=`${CC} -print-prog-name=collect2`\r
14495           if test -f "$collect2name" && \\r
14496            strings "$collect2name" | grep resolve_lib_name >/dev/null\r
14497           then\r
14498           # We have reworked collect2\r
14499           hardcode_direct_F77=yes\r
14500           else\r
14501           # We have old collect2\r
14502           hardcode_direct_F77=unsupported\r
14503           # It fails to find uninstalled libraries when the uninstalled\r
14504           # path is not listed in the libpath.  Setting hardcode_minus_L\r
14505           # to unsupported forces relinking\r
14506           hardcode_minus_L_F77=yes\r
14507           hardcode_libdir_flag_spec_F77='-L$libdir'\r
14508           hardcode_libdir_separator_F77=\r
14509           fi\r
14510           ;;\r
14511         esac\r
14512         shared_flag='-shared'\r
14513         if test "$aix_use_runtimelinking" = yes; then\r
14514           shared_flag="$shared_flag "'${wl}-G'\r
14515         fi\r
14516       else\r
14517         # not using gcc\r
14518         if test "$host_cpu" = ia64; then\r
14519         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
14520         # chokes on -Wl,-G. The following line is correct:\r
14521           shared_flag='-G'\r
14522         else\r
14523           if test "$aix_use_runtimelinking" = yes; then\r
14524             shared_flag='${wl}-G'\r
14525           else\r
14526             shared_flag='${wl}-bM:SRE'\r
14527           fi\r
14528         fi\r
14529       fi\r
14530 \r
14531       # It seems that -bexpall does not export symbols beginning with\r
14532       # underscore (_), so it is better to generate a list of symbols to export.\r
14533       always_export_symbols_F77=yes\r
14534       if test "$aix_use_runtimelinking" = yes; then\r
14535         # Warning - without using the other runtime loading flags (-brtl),\r
14536         # -berok will link without error, but may produce a broken library.\r
14537         allow_undefined_flag_F77='-berok'\r
14538        # Determine the default libpath from the value encoded in an empty executable.\r
14539        cat >conftest.$ac_ext <<_ACEOF\r
14540       program main\r
14541 \r
14542       end\r
14543 _ACEOF\r
14544 rm -f conftest.$ac_objext conftest$ac_exeext\r
14545 if { (ac_try="$ac_link"\r
14546 case "(($ac_try" in\r
14547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
14548   *) ac_try_echo=$ac_try;;\r
14549 esac\r
14550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
14551 $as_echo "$ac_try_echo") >&5\r
14552   (eval "$ac_link") 2>conftest.er1\r
14553   ac_status=$?\r
14554   grep -v '^ *+' conftest.er1 >conftest.err\r
14555   rm -f conftest.er1\r
14556   cat conftest.err >&5\r
14557   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
14558   (exit $ac_status); } && {\r
14559          test -z "$ac_f77_werror_flag" ||\r
14560          test ! -s conftest.err\r
14561        } && test -s conftest$ac_exeext && {\r
14562          test "$cross_compiling" = yes ||\r
14563          $as_test_x conftest$ac_exeext\r
14564        }; then\r
14565 \r
14566 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
14567 }'`\r
14568 # Check for a 64-bit object if we didn't find anything.\r
14569 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
14570 }'`; fi\r
14571 else\r
14572   $as_echo "$as_me: failed program was:" >&5\r
14573 sed 's/^/| /' conftest.$ac_ext >&5\r
14574 \r
14575 \r
14576 fi\r
14577 \r
14578 rm -rf conftest.dSYM\r
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
14580       conftest$ac_exeext conftest.$ac_ext\r
14581 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
14582 \r
14583        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"\r
14584         archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
14585        else\r
14586         if test "$host_cpu" = ia64; then\r
14587           hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'\r
14588           allow_undefined_flag_F77="-z nodefs"\r
14589           archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"\r
14590         else\r
14591          # Determine the default libpath from the value encoded in an empty executable.\r
14592          cat >conftest.$ac_ext <<_ACEOF\r
14593       program main\r
14594 \r
14595       end\r
14596 _ACEOF\r
14597 rm -f conftest.$ac_objext conftest$ac_exeext\r
14598 if { (ac_try="$ac_link"\r
14599 case "(($ac_try" in\r
14600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
14601   *) ac_try_echo=$ac_try;;\r
14602 esac\r
14603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
14604 $as_echo "$ac_try_echo") >&5\r
14605   (eval "$ac_link") 2>conftest.er1\r
14606   ac_status=$?\r
14607   grep -v '^ *+' conftest.er1 >conftest.err\r
14608   rm -f conftest.er1\r
14609   cat conftest.err >&5\r
14610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
14611   (exit $ac_status); } && {\r
14612          test -z "$ac_f77_werror_flag" ||\r
14613          test ! -s conftest.err\r
14614        } && test -s conftest$ac_exeext && {\r
14615          test "$cross_compiling" = yes ||\r
14616          $as_test_x conftest$ac_exeext\r
14617        }; then\r
14618 \r
14619 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
14620 }'`\r
14621 # Check for a 64-bit object if we didn't find anything.\r
14622 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
14623 }'`; fi\r
14624 else\r
14625   $as_echo "$as_me: failed program was:" >&5\r
14626 sed 's/^/| /' conftest.$ac_ext >&5\r
14627 \r
14628 \r
14629 fi\r
14630 \r
14631 rm -rf conftest.dSYM\r
14632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
14633       conftest$ac_exeext conftest.$ac_ext\r
14634 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
14635 \r
14636          hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"\r
14637           # Warning - without using the other run time loading flags,\r
14638           # -berok will link without error, but may produce a broken library.\r
14639           no_undefined_flag_F77=' ${wl}-bernotok'\r
14640           allow_undefined_flag_F77=' ${wl}-berok'\r
14641           # Exported symbols can be pulled into shared objects from archives\r
14642           whole_archive_flag_spec_F77='$convenience'\r
14643           archive_cmds_need_lc_F77=yes\r
14644           # This is similar to how AIX traditionally builds its shared libraries.\r
14645           archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'\r
14646         fi\r
14647       fi\r
14648       ;;\r
14649 \r
14650     amigaos*)\r
14651       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'\r
14652       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14653       hardcode_minus_L_F77=yes\r
14654       # see comment about different semantics on the GNU ld section\r
14655       ld_shlibs_F77=no\r
14656       ;;\r
14657 \r
14658     bsdi[45]*)\r
14659       export_dynamic_flag_spec_F77=-rdynamic\r
14660       ;;\r
14661 \r
14662     cygwin* | mingw* | pw32*)\r
14663       # When not using gcc, we currently assume that we are using\r
14664       # Microsoft Visual C++.\r
14665       # hardcode_libdir_flag_spec is actually meaningless, as there is\r
14666       # no search path for DLLs.\r
14667       hardcode_libdir_flag_spec_F77=' '\r
14668       allow_undefined_flag_F77=unsupported\r
14669       # Tell ltmain to make .lib files, not .a files.\r
14670       libext=lib\r
14671       # Tell ltmain to make .dll files, not .so files.\r
14672       shrext_cmds=".dll"\r
14673       # FIXME: Setting linknames here is a bad hack.\r
14674       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='\r
14675       # The linker will automatically build a .lib file if we build a DLL.\r
14676       old_archive_From_new_cmds_F77='true'\r
14677       # FIXME: Should let the user specify the lib program.\r
14678       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'\r
14679       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'\r
14680       enable_shared_with_static_runtimes_F77=yes\r
14681       ;;\r
14682 \r
14683     darwin* | rhapsody*)\r
14684       case $host_os in\r
14685         rhapsody* | darwin1.[012])\r
14686          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'\r
14687          ;;\r
14688        *) # Darwin 1.3 on\r
14689          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then\r
14690            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
14691          else\r
14692            case ${MACOSX_DEPLOYMENT_TARGET} in\r
14693              10.[012])\r
14694                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
14695                ;;\r
14696              10.*)\r
14697                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'\r
14698                ;;\r
14699            esac\r
14700          fi\r
14701          ;;\r
14702       esac\r
14703       archive_cmds_need_lc_F77=no\r
14704       hardcode_direct_F77=no\r
14705       hardcode_automatic_F77=yes\r
14706       hardcode_shlibpath_var_F77=unsupported\r
14707       whole_archive_flag_spec_F77=''\r
14708       link_all_deplibs_F77=yes\r
14709     if test "$GCC" = yes ; then\r
14710         output_verbose_link_cmd='echo'\r
14711         archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'\r
14712       module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
14713       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
14714       archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
14715       module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
14716     else\r
14717       case $cc_basename in\r
14718         xlc*)\r
14719          output_verbose_link_cmd='echo'\r
14720          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'\r
14721          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
14722           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
14723          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
14724           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
14725           ;;\r
14726        *)\r
14727          ld_shlibs_F77=no\r
14728           ;;\r
14729       esac\r
14730     fi\r
14731       ;;\r
14732 \r
14733     dgux*)\r
14734       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
14735       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14736       hardcode_shlibpath_var_F77=no\r
14737       ;;\r
14738 \r
14739     freebsd1*)\r
14740       ld_shlibs_F77=no\r
14741       ;;\r
14742 \r
14743     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor\r
14744     # support.  Future versions do this automatically, but an explicit c++rt0.o\r
14745     # does not break anything, and helps significantly (at the cost of a little\r
14746     # extra space).\r
14747     freebsd2.2*)\r
14748       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'\r
14749       hardcode_libdir_flag_spec_F77='-R$libdir'\r
14750       hardcode_direct_F77=yes\r
14751       hardcode_shlibpath_var_F77=no\r
14752       ;;\r
14753 \r
14754     # Unfortunately, older versions of FreeBSD 2 do not have this feature.\r
14755     freebsd2*)\r
14756       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
14757       hardcode_direct_F77=yes\r
14758       hardcode_minus_L_F77=yes\r
14759       hardcode_shlibpath_var_F77=no\r
14760       ;;\r
14761 \r
14762     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.\r
14763     freebsd* | kfreebsd*-gnu | dragonfly*)\r
14764       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'\r
14765       hardcode_libdir_flag_spec_F77='-R$libdir'\r
14766       hardcode_direct_F77=yes\r
14767       hardcode_shlibpath_var_F77=no\r
14768       ;;\r
14769 \r
14770     hpux9*)\r
14771       if test "$GCC" = yes; then\r
14772         archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
14773       else\r
14774         archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
14775       fi\r
14776       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'\r
14777       hardcode_libdir_separator_F77=:\r
14778       hardcode_direct_F77=yes\r
14779 \r
14780       # hardcode_minus_L: Not really in the search PATH,\r
14781       # but as the default location of the library.\r
14782       hardcode_minus_L_F77=yes\r
14783       export_dynamic_flag_spec_F77='${wl}-E'\r
14784       ;;\r
14785 \r
14786     hpux10*)\r
14787       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
14788         archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
14789       else\r
14790         archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'\r
14791       fi\r
14792       if test "$with_gnu_ld" = no; then\r
14793         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'\r
14794         hardcode_libdir_separator_F77=:\r
14795 \r
14796         hardcode_direct_F77=yes\r
14797         export_dynamic_flag_spec_F77='${wl}-E'\r
14798 \r
14799         # hardcode_minus_L: Not really in the search PATH,\r
14800         # but as the default location of the library.\r
14801         hardcode_minus_L_F77=yes\r
14802       fi\r
14803       ;;\r
14804 \r
14805     hpux11*)\r
14806       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
14807         case $host_cpu in\r
14808         hppa*64*)\r
14809           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
14810           ;;\r
14811         ia64*)\r
14812           archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
14813           ;;\r
14814         *)\r
14815           archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
14816           ;;\r
14817         esac\r
14818       else\r
14819         case $host_cpu in\r
14820         hppa*64*)\r
14821           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
14822           ;;\r
14823         ia64*)\r
14824           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
14825           ;;\r
14826         *)\r
14827           archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
14828           ;;\r
14829         esac\r
14830       fi\r
14831       if test "$with_gnu_ld" = no; then\r
14832         hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'\r
14833         hardcode_libdir_separator_F77=:\r
14834 \r
14835         case $host_cpu in\r
14836         hppa*64*|ia64*)\r
14837           hardcode_libdir_flag_spec_ld_F77='+b $libdir'\r
14838           hardcode_direct_F77=no\r
14839           hardcode_shlibpath_var_F77=no\r
14840           ;;\r
14841         *)\r
14842           hardcode_direct_F77=yes\r
14843           export_dynamic_flag_spec_F77='${wl}-E'\r
14844 \r
14845           # hardcode_minus_L: Not really in the search PATH,\r
14846           # but as the default location of the library.\r
14847           hardcode_minus_L_F77=yes\r
14848           ;;\r
14849         esac\r
14850       fi\r
14851       ;;\r
14852 \r
14853     irix5* | irix6* | nonstopux*)\r
14854       if test "$GCC" = yes; then\r
14855         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
14856       else\r
14857         archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
14858         hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'\r
14859       fi\r
14860       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'\r
14861       hardcode_libdir_separator_F77=:\r
14862       link_all_deplibs_F77=yes\r
14863       ;;\r
14864 \r
14865     netbsd*)\r
14866       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
14867         archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out\r
14868       else\r
14869         archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF\r
14870       fi\r
14871       hardcode_libdir_flag_spec_F77='-R$libdir'\r
14872       hardcode_direct_F77=yes\r
14873       hardcode_shlibpath_var_F77=no\r
14874       ;;\r
14875 \r
14876     newsos6)\r
14877       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
14878       hardcode_direct_F77=yes\r
14879       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'\r
14880       hardcode_libdir_separator_F77=:\r
14881       hardcode_shlibpath_var_F77=no\r
14882       ;;\r
14883 \r
14884     openbsd*)\r
14885       hardcode_direct_F77=yes\r
14886       hardcode_shlibpath_var_F77=no\r
14887       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
14888         archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
14889         archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'\r
14890         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'\r
14891         export_dynamic_flag_spec_F77='${wl}-E'\r
14892       else\r
14893        case $host_os in\r
14894          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)\r
14895            archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
14896            hardcode_libdir_flag_spec_F77='-R$libdir'\r
14897            ;;\r
14898          *)\r
14899            archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
14900            hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'\r
14901            ;;\r
14902        esac\r
14903       fi\r
14904       ;;\r
14905 \r
14906     os2*)\r
14907       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14908       hardcode_minus_L_F77=yes\r
14909       allow_undefined_flag_F77=unsupported\r
14910       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'\r
14911       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'\r
14912       ;;\r
14913 \r
14914     osf3*)\r
14915       if test "$GCC" = yes; then\r
14916         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'\r
14917         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
14918       else\r
14919         allow_undefined_flag_F77=' -expect_unresolved \*'\r
14920         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
14921       fi\r
14922       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'\r
14923       hardcode_libdir_separator_F77=:\r
14924       ;;\r
14925 \r
14926     osf4* | osf5*)      # as osf3* with the addition of -msym flag\r
14927       if test "$GCC" = yes; then\r
14928         allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'\r
14929         archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
14930         hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'\r
14931       else\r
14932         allow_undefined_flag_F77=' -expect_unresolved \*'\r
14933         archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
14934         archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~\r
14935         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'\r
14936 \r
14937         # Both c and cxx compiler support -rpath directly\r
14938         hardcode_libdir_flag_spec_F77='-rpath $libdir'\r
14939       fi\r
14940       hardcode_libdir_separator_F77=:\r
14941       ;;\r
14942 \r
14943     solaris*)\r
14944       no_undefined_flag_F77=' -z text'\r
14945       if test "$GCC" = yes; then\r
14946         wlarc='${wl}'\r
14947         archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
14948         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
14949           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'\r
14950       else\r
14951         wlarc=''\r
14952         archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
14953         archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
14954         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'\r
14955       fi\r
14956       hardcode_libdir_flag_spec_F77='-R$libdir'\r
14957       hardcode_shlibpath_var_F77=no\r
14958       case $host_os in\r
14959       solaris2.[0-5] | solaris2.[0-5].*) ;;\r
14960       *)\r
14961         # The compiler driver will combine linker options so we\r
14962         # cannot just pass the convience library names through\r
14963         # without $wl, iff we do not link with $LD.\r
14964         # Luckily, gcc supports the same syntax we need for Sun Studio.\r
14965         # Supported since Solaris 2.6 (maybe 2.5.1?)\r
14966         case $wlarc in\r
14967         '')\r
14968           whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;\r
14969         *)\r
14970           whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;\r
14971         esac ;;\r
14972       esac\r
14973       link_all_deplibs_F77=yes\r
14974       ;;\r
14975 \r
14976     sunos4*)\r
14977       if test "x$host_vendor" = xsequent; then\r
14978         # Use $CC to link under sequent, because it throws in some extra .o\r
14979         # files that make .init and .fini sections work.\r
14980         archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'\r
14981       else\r
14982         archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'\r
14983       fi\r
14984       hardcode_libdir_flag_spec_F77='-L$libdir'\r
14985       hardcode_direct_F77=yes\r
14986       hardcode_minus_L_F77=yes\r
14987       hardcode_shlibpath_var_F77=no\r
14988       ;;\r
14989 \r
14990     sysv4)\r
14991       case $host_vendor in\r
14992         sni)\r
14993           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
14994           hardcode_direct_F77=yes # is this really true???\r
14995         ;;\r
14996         siemens)\r
14997           ## LD is ld it makes a PLAMLIB\r
14998           ## CC just makes a GrossModule.\r
14999           archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'\r
15000           reload_cmds_F77='$CC -r -o $output$reload_objs'\r
15001           hardcode_direct_F77=no\r
15002         ;;\r
15003         motorola)\r
15004           archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
15005           hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie\r
15006         ;;\r
15007       esac\r
15008       runpath_var='LD_RUN_PATH'\r
15009       hardcode_shlibpath_var_F77=no\r
15010       ;;\r
15011 \r
15012     sysv4.3*)\r
15013       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
15014       hardcode_shlibpath_var_F77=no\r
15015       export_dynamic_flag_spec_F77='-Bexport'\r
15016       ;;\r
15017 \r
15018     sysv4*MP*)\r
15019       if test -d /usr/nec; then\r
15020         archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
15021         hardcode_shlibpath_var_F77=no\r
15022         runpath_var=LD_RUN_PATH\r
15023         hardcode_runpath_var=yes\r
15024         ld_shlibs_F77=yes\r
15025       fi\r
15026       ;;\r
15027 \r
15028     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)\r
15029       no_undefined_flag_F77='${wl}-z,text'\r
15030       archive_cmds_need_lc_F77=no\r
15031       hardcode_shlibpath_var_F77=no\r
15032       runpath_var='LD_RUN_PATH'\r
15033 \r
15034       if test "$GCC" = yes; then\r
15035         archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15036         archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15037       else\r
15038         archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15039         archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15040       fi\r
15041       ;;\r
15042 \r
15043     sysv5* | sco3.2v5* | sco5v6*)\r
15044       # Note: We can NOT use -z defs as we might desire, because we do not\r
15045       # link with -lc, and that would cause any symbols used from libc to\r
15046       # always be unresolved, which means just about no library would\r
15047       # ever link correctly.  If we're not using GNU ld we use -z text\r
15048       # though, which does catch some bad symbols but isn't as heavy-handed\r
15049       # as -z defs.\r
15050       no_undefined_flag_F77='${wl}-z,text'\r
15051       allow_undefined_flag_F77='${wl}-z,nodefs'\r
15052       archive_cmds_need_lc_F77=no\r
15053       hardcode_shlibpath_var_F77=no\r
15054       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'\r
15055       hardcode_libdir_separator_F77=':'\r
15056       link_all_deplibs_F77=yes\r
15057       export_dynamic_flag_spec_F77='${wl}-Bexport'\r
15058       runpath_var='LD_RUN_PATH'\r
15059 \r
15060       if test "$GCC" = yes; then\r
15061         archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15062         archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15063       else\r
15064         archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15065         archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
15066       fi\r
15067       ;;\r
15068 \r
15069     uts4*)\r
15070       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
15071       hardcode_libdir_flag_spec_F77='-L$libdir'\r
15072       hardcode_shlibpath_var_F77=no\r
15073       ;;\r
15074 \r
15075     *)\r
15076       ld_shlibs_F77=no\r
15077       ;;\r
15078     esac\r
15079   fi\r
15080 \r
15081 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5\r
15082 $as_echo "$ld_shlibs_F77" >&6; }\r
15083 test "$ld_shlibs_F77" = no && can_build_shared=no\r
15084 \r
15085 #\r
15086 # Do we need to explicitly link libc?\r
15087 #\r
15088 case "x$archive_cmds_need_lc_F77" in\r
15089 x|xyes)\r
15090   # Assume -lc should be added\r
15091   archive_cmds_need_lc_F77=yes\r
15092 \r
15093   if test "$enable_shared" = yes && test "$GCC" = yes; then\r
15094     case $archive_cmds_F77 in\r
15095     *'~'*)\r
15096       # FIXME: we may have to deal with multi-command sequences.\r
15097       ;;\r
15098     '$CC '*)\r
15099       # Test whether the compiler implicitly links with -lc since on some\r
15100       # systems, -lgcc has to come before -lc. If gcc already passes -lc\r
15101       # to ld, don't add -lc before -lgcc.\r
15102       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5\r
15103 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }\r
15104       $rm conftest*\r
15105       printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
15106 \r
15107       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
15108   (eval $ac_compile) 2>&5\r
15109   ac_status=$?\r
15110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
15111   (exit $ac_status); } 2>conftest.err; then\r
15112         soname=conftest\r
15113         lib=conftest\r
15114         libobjs=conftest.$ac_objext\r
15115         deplibs=\r
15116         wl=$lt_prog_compiler_wl_F77\r
15117         pic_flag=$lt_prog_compiler_pic_F77\r
15118         compiler_flags=-v\r
15119         linker_flags=-v\r
15120         verstring=\r
15121         output_objdir=.\r
15122         libname=conftest\r
15123         lt_save_allow_undefined_flag=$allow_undefined_flag_F77\r
15124         allow_undefined_flag_F77=\r
15125         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5\r
15126   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5\r
15127   ac_status=$?\r
15128   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
15129   (exit $ac_status); }\r
15130         then\r
15131           archive_cmds_need_lc_F77=no\r
15132         else\r
15133           archive_cmds_need_lc_F77=yes\r
15134         fi\r
15135         allow_undefined_flag_F77=$lt_save_allow_undefined_flag\r
15136       else\r
15137         cat conftest.err 1>&5\r
15138       fi\r
15139       $rm conftest*\r
15140       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5\r
15141 $as_echo "$archive_cmds_need_lc_F77" >&6; }\r
15142       ;;\r
15143     esac\r
15144   fi\r
15145   ;;\r
15146 esac\r
15147 \r
15148 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5\r
15149 $as_echo_n "checking dynamic linker characteristics... " >&6; }\r
15150 library_names_spec=\r
15151 libname_spec='lib$name'\r
15152 soname_spec=\r
15153 shrext_cmds=".so"\r
15154 postinstall_cmds=\r
15155 postuninstall_cmds=\r
15156 finish_cmds=\r
15157 finish_eval=\r
15158 shlibpath_var=\r
15159 shlibpath_overrides_runpath=unknown\r
15160 version_type=none\r
15161 dynamic_linker="$host_os ld.so"\r
15162 sys_lib_dlsearch_path_spec="/lib /usr/lib"\r
15163 if test "$GCC" = yes; then\r
15164   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
15165   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then\r
15166     # if the path contains ";" then we assume it to be the separator\r
15167     # otherwise default to the standard path separator (i.e. ":") - it is\r
15168     # assumed that no part of a normal pathname contains ";" but that should\r
15169     # okay in the real world where ";" in dirpaths is itself problematic.\r
15170     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
15171   else\r
15172     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
15173   fi\r
15174 else\r
15175   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"\r
15176 fi\r
15177 need_lib_prefix=unknown\r
15178 hardcode_into_libs=no\r
15179 \r
15180 # when you set need_version to no, make sure it does not cause -set_version\r
15181 # flags to be left without arguments\r
15182 need_version=unknown\r
15183 \r
15184 case $host_os in\r
15185 aix3*)\r
15186   version_type=linux\r
15187   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'\r
15188   shlibpath_var=LIBPATH\r
15189 \r
15190   # AIX 3 has no versioning support, so we append a major version to the name.\r
15191   soname_spec='${libname}${release}${shared_ext}$major'\r
15192   ;;\r
15193 \r
15194 aix4* | aix5*)\r
15195   version_type=linux\r
15196   need_lib_prefix=no\r
15197   need_version=no\r
15198   hardcode_into_libs=yes\r
15199   if test "$host_cpu" = ia64; then\r
15200     # AIX 5 supports IA64\r
15201     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'\r
15202     shlibpath_var=LD_LIBRARY_PATH\r
15203   else\r
15204     # With GCC up to 2.95.x, collect2 would create an import file\r
15205     # for dependence libraries.  The import file would start with\r
15206     # the line `#! .'.  This would cause the generated library to\r
15207     # depend on `.', always an invalid library.  This was fixed in\r
15208     # development snapshots of GCC prior to 3.0.\r
15209     case $host_os in\r
15210       aix4 | aix4.[01] | aix4.[01].*)\r
15211       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'\r
15212            echo ' yes '\r
15213            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then\r
15214         :\r
15215       else\r
15216         can_build_shared=no\r
15217       fi\r
15218       ;;\r
15219     esac\r
15220     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct\r
15221     # soname into executable. Probably we can add versioning support to\r
15222     # collect2, so additional links can be useful in future.\r
15223     if test "$aix_use_runtimelinking" = yes; then\r
15224       # If using run time linking (on AIX 4.2 or later) use lib<name>.so\r
15225       # instead of lib<name>.a to let people know that these are not\r
15226       # typical AIX shared libraries.\r
15227       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15228     else\r
15229       # We preserve .a as extension for shared libraries through AIX4.2\r
15230       # and later when we are not doing run time linking.\r
15231       library_names_spec='${libname}${release}.a $libname.a'\r
15232       soname_spec='${libname}${release}${shared_ext}$major'\r
15233     fi\r
15234     shlibpath_var=LIBPATH\r
15235   fi\r
15236   ;;\r
15237 \r
15238 amigaos*)\r
15239   library_names_spec='$libname.ixlibrary $libname.a'\r
15240   # Create ${libname}_ixlibrary.a entries in /sys/libs.\r
15241   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'\r
15242   ;;\r
15243 \r
15244 beos*)\r
15245   library_names_spec='${libname}${shared_ext}'\r
15246   dynamic_linker="$host_os ld.so"\r
15247   shlibpath_var=LIBRARY_PATH\r
15248   ;;\r
15249 \r
15250 bsdi[45]*)\r
15251   version_type=linux\r
15252   need_version=no\r
15253   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15254   soname_spec='${libname}${release}${shared_ext}$major'\r
15255   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'\r
15256   shlibpath_var=LD_LIBRARY_PATH\r
15257   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"\r
15258   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"\r
15259   # the default ld.so.conf also contains /usr/contrib/lib and\r
15260   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow\r
15261   # libtool to hard-code these into programs\r
15262   ;;\r
15263 \r
15264 cygwin* | mingw* | pw32*)\r
15265   version_type=windows\r
15266   shrext_cmds=".dll"\r
15267   need_version=no\r
15268   need_lib_prefix=no\r
15269 \r
15270   case $GCC,$host_os in\r
15271   yes,cygwin* | yes,mingw* | yes,pw32*)\r
15272     library_names_spec='$libname.dll.a'\r
15273     # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
15274     postinstall_cmds='base_file=`basename \${file}`~\r
15275       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~\r
15276       dldir=$destdir/`dirname \$dlpath`~\r
15277       test -d \$dldir || mkdir -p \$dldir~\r
15278       $install_prog $dir/$dlname \$dldir/$dlname~\r
15279       chmod a+x \$dldir/$dlname'\r
15280     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
15281       dlpath=$dir/\$dldll~\r
15282        $rm \$dlpath'\r
15283     shlibpath_overrides_runpath=yes\r
15284 \r
15285     case $host_os in\r
15286     cygwin*)\r
15287       # Cygwin DLLs use 'cyg' prefix rather than 'lib'\r
15288       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
15289       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"\r
15290       ;;\r
15291     mingw*)\r
15292       # MinGW DLLs use traditional 'lib' prefix\r
15293       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
15294       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
15295       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then\r
15296         # It is most probably a Windows format PATH printed by\r
15297         # mingw gcc, but we are running on Cygwin. Gcc prints its search\r
15298         # path with ; separators, and with drive letters. We can handle the\r
15299         # drive letters (cygwin fileutils understands them), so leave them,\r
15300         # especially as we might pass files found there to a mingw objdump,\r
15301         # which wouldn't understand a cygwinified path. Ahh.\r
15302         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
15303       else\r
15304         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
15305       fi\r
15306       ;;\r
15307     pw32*)\r
15308       # pw32 DLLs use 'pw' prefix rather than 'lib'\r
15309       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
15310       ;;\r
15311     esac\r
15312     ;;\r
15313 \r
15314   *)\r
15315     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'\r
15316     ;;\r
15317   esac\r
15318   dynamic_linker='Win32 ld.exe'\r
15319   # FIXME: first we should search . and the directory the executable is in\r
15320   shlibpath_var=PATH\r
15321   ;;\r
15322 \r
15323 darwin* | rhapsody*)\r
15324   dynamic_linker="$host_os dyld"\r
15325   version_type=darwin\r
15326   need_lib_prefix=no\r
15327   need_version=no\r
15328   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'\r
15329   soname_spec='${libname}${release}${major}$shared_ext'\r
15330   shlibpath_overrides_runpath=yes\r
15331   shlibpath_var=DYLD_LIBRARY_PATH\r
15332   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\r
15333   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.\r
15334   if test "$GCC" = yes; then\r
15335     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`\r
15336   else\r
15337     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'\r
15338   fi\r
15339   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'\r
15340   ;;\r
15341 \r
15342 dgux*)\r
15343   version_type=linux\r
15344   need_lib_prefix=no\r
15345   need_version=no\r
15346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'\r
15347   soname_spec='${libname}${release}${shared_ext}$major'\r
15348   shlibpath_var=LD_LIBRARY_PATH\r
15349   ;;\r
15350 \r
15351 freebsd1*)\r
15352   dynamic_linker=no\r
15353   ;;\r
15354 \r
15355 kfreebsd*-gnu)\r
15356   version_type=linux\r
15357   need_lib_prefix=no\r
15358   need_version=no\r
15359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
15360   soname_spec='${libname}${release}${shared_ext}$major'\r
15361   shlibpath_var=LD_LIBRARY_PATH\r
15362   shlibpath_overrides_runpath=no\r
15363   hardcode_into_libs=yes\r
15364   dynamic_linker='GNU ld.so'\r
15365   ;;\r
15366 \r
15367 freebsd* | dragonfly*)\r
15368   # DragonFly does not have aout.  When/if they implement a new\r
15369   # versioning mechanism, adjust this.\r
15370   if test -x /usr/bin/objformat; then\r
15371     objformat=`/usr/bin/objformat`\r
15372   else\r
15373     case $host_os in\r
15374     freebsd[123]*) objformat=aout ;;\r
15375     *) objformat=elf ;;\r
15376     esac\r
15377   fi\r
15378   version_type=freebsd-$objformat\r
15379   case $version_type in\r
15380     freebsd-elf*)\r
15381       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
15382       need_version=no\r
15383       need_lib_prefix=no\r
15384       ;;\r
15385     freebsd-*)\r
15386       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'\r
15387       need_version=yes\r
15388       ;;\r
15389   esac\r
15390   shlibpath_var=LD_LIBRARY_PATH\r
15391   case $host_os in\r
15392   freebsd2*)\r
15393     shlibpath_overrides_runpath=yes\r
15394     ;;\r
15395   freebsd3.[01]* | freebsdelf3.[01]*)\r
15396     shlibpath_overrides_runpath=yes\r
15397     hardcode_into_libs=yes\r
15398     ;;\r
15399   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \\r
15400   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)\r
15401     shlibpath_overrides_runpath=no\r
15402     hardcode_into_libs=yes\r
15403     ;;\r
15404   freebsd*) # from 4.6 on\r
15405     shlibpath_overrides_runpath=yes\r
15406     hardcode_into_libs=yes\r
15407     ;;\r
15408   esac\r
15409   ;;\r
15410 \r
15411 gnu*)\r
15412   version_type=linux\r
15413   need_lib_prefix=no\r
15414   need_version=no\r
15415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
15416   soname_spec='${libname}${release}${shared_ext}$major'\r
15417   shlibpath_var=LD_LIBRARY_PATH\r
15418   hardcode_into_libs=yes\r
15419   ;;\r
15420 \r
15421 hpux9* | hpux10* | hpux11*)\r
15422   # Give a soname corresponding to the major version so that dld.sl refuses to\r
15423   # link against other versions.\r
15424   version_type=sunos\r
15425   need_lib_prefix=no\r
15426   need_version=no\r
15427   case $host_cpu in\r
15428   ia64*)\r
15429     shrext_cmds='.so'\r
15430     hardcode_into_libs=yes\r
15431     dynamic_linker="$host_os dld.so"\r
15432     shlibpath_var=LD_LIBRARY_PATH\r
15433     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
15434     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15435     soname_spec='${libname}${release}${shared_ext}$major'\r
15436     if test "X$HPUX_IA64_MODE" = X32; then\r
15437       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"\r
15438     else\r
15439       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"\r
15440     fi\r
15441     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
15442     ;;\r
15443    hppa*64*)\r
15444      shrext_cmds='.sl'\r
15445      hardcode_into_libs=yes\r
15446      dynamic_linker="$host_os dld.sl"\r
15447      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH\r
15448      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
15449      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15450      soname_spec='${libname}${release}${shared_ext}$major'\r
15451      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"\r
15452      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
15453      ;;\r
15454    *)\r
15455     shrext_cmds='.sl'\r
15456     dynamic_linker="$host_os dld.sl"\r
15457     shlibpath_var=SHLIB_PATH\r
15458     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH\r
15459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15460     soname_spec='${libname}${release}${shared_ext}$major'\r
15461     ;;\r
15462   esac\r
15463   # HP-UX runs *really* slowly unless shared libraries are mode 555.\r
15464   postinstall_cmds='chmod 555 $lib'\r
15465   ;;\r
15466 \r
15467 interix3*)\r
15468   version_type=linux\r
15469   need_lib_prefix=no\r
15470   need_version=no\r
15471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
15472   soname_spec='${libname}${release}${shared_ext}$major'\r
15473   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'\r
15474   shlibpath_var=LD_LIBRARY_PATH\r
15475   shlibpath_overrides_runpath=no\r
15476   hardcode_into_libs=yes\r
15477   ;;\r
15478 \r
15479 irix5* | irix6* | nonstopux*)\r
15480   case $host_os in\r
15481     nonstopux*) version_type=nonstopux ;;\r
15482     *)\r
15483         if test "$lt_cv_prog_gnu_ld" = yes; then\r
15484                 version_type=linux\r
15485         else\r
15486                 version_type=irix\r
15487         fi ;;\r
15488   esac\r
15489   need_lib_prefix=no\r
15490   need_version=no\r
15491   soname_spec='${libname}${release}${shared_ext}$major'\r
15492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'\r
15493   case $host_os in\r
15494   irix5* | nonstopux*)\r
15495     libsuff= shlibsuff=\r
15496     ;;\r
15497   *)\r
15498     case $LD in # libtool.m4 will add one of these switches to LD\r
15499     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")\r
15500       libsuff= shlibsuff= libmagic=32-bit;;\r
15501     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")\r
15502       libsuff=32 shlibsuff=N32 libmagic=N32;;\r
15503     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")\r
15504       libsuff=64 shlibsuff=64 libmagic=64-bit;;\r
15505     *) libsuff= shlibsuff= libmagic=never-match;;\r
15506     esac\r
15507     ;;\r
15508   esac\r
15509   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH\r
15510   shlibpath_overrides_runpath=no\r
15511   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"\r
15512   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"\r
15513   hardcode_into_libs=yes\r
15514   ;;\r
15515 \r
15516 # No shared lib support for Linux oldld, aout, or coff.\r
15517 linux*oldld* | linux*aout* | linux*coff*)\r
15518   dynamic_linker=no\r
15519   ;;\r
15520 \r
15521 # This must be Linux ELF.\r
15522 linux*)\r
15523   version_type=linux\r
15524   need_lib_prefix=no\r
15525   need_version=no\r
15526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15527   soname_spec='${libname}${release}${shared_ext}$major'\r
15528   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'\r
15529   shlibpath_var=LD_LIBRARY_PATH\r
15530   shlibpath_overrides_runpath=no\r
15531   # This implies no fast_install, which is unacceptable.\r
15532   # Some rework will be needed to allow for fast_install\r
15533   # before this can be enabled.\r
15534   hardcode_into_libs=yes\r
15535 \r
15536   # find out which ABI we are using\r
15537   libsuff=\r
15538   case "$host_cpu" in\r
15539   x86_64*|s390x*|powerpc64*)\r
15540     echo '#line 15540 "configure"' > conftest.$ac_ext\r
15541     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
15542   (eval $ac_compile) 2>&5\r
15543   ac_status=$?\r
15544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
15545   (exit $ac_status); }; then\r
15546       case `/usr/bin/file conftest.$ac_objext` in\r
15547       *64-bit*)\r
15548         libsuff=64\r
15549         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"\r
15550         ;;\r
15551       esac\r
15552     fi\r
15553     rm -rf conftest*\r
15554     ;;\r
15555   esac\r
15556 \r
15557   # Append ld.so.conf contents to the search path\r
15558   if test -f /etc/ld.so.conf; then\r
15559     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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`\r
15560     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"\r
15561   fi\r
15562 \r
15563   # We used to test for /lib/ld.so.1 and disable shared libraries on\r
15564   # powerpc, because MkLinux only supported shared libraries with the\r
15565   # GNU dynamic linker.  Since this was broken with cross compilers,\r
15566   # most powerpc-linux boxes support dynamic linking these days and\r
15567   # people can always --disable-shared, the test was removed, and we\r
15568   # assume the GNU/Linux dynamic linker is in use.\r
15569   dynamic_linker='GNU/Linux ld.so'\r
15570   ;;\r
15571 \r
15572 knetbsd*-gnu)\r
15573   version_type=linux\r
15574   need_lib_prefix=no\r
15575   need_version=no\r
15576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
15577   soname_spec='${libname}${release}${shared_ext}$major'\r
15578   shlibpath_var=LD_LIBRARY_PATH\r
15579   shlibpath_overrides_runpath=no\r
15580   hardcode_into_libs=yes\r
15581   dynamic_linker='GNU ld.so'\r
15582   ;;\r
15583 \r
15584 netbsd*)\r
15585   version_type=sunos\r
15586   need_lib_prefix=no\r
15587   need_version=no\r
15588   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
15589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
15590     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
15591     dynamic_linker='NetBSD (a.out) ld.so'\r
15592   else\r
15593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
15594     soname_spec='${libname}${release}${shared_ext}$major'\r
15595     dynamic_linker='NetBSD ld.elf_so'\r
15596   fi\r
15597   shlibpath_var=LD_LIBRARY_PATH\r
15598   shlibpath_overrides_runpath=yes\r
15599   hardcode_into_libs=yes\r
15600   ;;\r
15601 \r
15602 newsos6)\r
15603   version_type=linux\r
15604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15605   shlibpath_var=LD_LIBRARY_PATH\r
15606   shlibpath_overrides_runpath=yes\r
15607   ;;\r
15608 \r
15609 nto-qnx*)\r
15610   version_type=linux\r
15611   need_lib_prefix=no\r
15612   need_version=no\r
15613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15614   soname_spec='${libname}${release}${shared_ext}$major'\r
15615   shlibpath_var=LD_LIBRARY_PATH\r
15616   shlibpath_overrides_runpath=yes\r
15617   ;;\r
15618 \r
15619 openbsd*)\r
15620   version_type=sunos\r
15621   sys_lib_dlsearch_path_spec="/usr/lib"\r
15622   need_lib_prefix=no\r
15623   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.\r
15624   case $host_os in\r
15625     openbsd3.3 | openbsd3.3.*) need_version=yes ;;\r
15626     *)                         need_version=no  ;;\r
15627   esac\r
15628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
15629   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
15630   shlibpath_var=LD_LIBRARY_PATH\r
15631   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
15632     case $host_os in\r
15633       openbsd2.[89] | openbsd2.[89].*)\r
15634         shlibpath_overrides_runpath=no\r
15635         ;;\r
15636       *)\r
15637         shlibpath_overrides_runpath=yes\r
15638         ;;\r
15639       esac\r
15640   else\r
15641     shlibpath_overrides_runpath=yes\r
15642   fi\r
15643   ;;\r
15644 \r
15645 os2*)\r
15646   libname_spec='$name'\r
15647   shrext_cmds=".dll"\r
15648   need_lib_prefix=no\r
15649   library_names_spec='$libname${shared_ext} $libname.a'\r
15650   dynamic_linker='OS/2 ld.exe'\r
15651   shlibpath_var=LIBPATH\r
15652   ;;\r
15653 \r
15654 osf3* | osf4* | osf5*)\r
15655   version_type=osf\r
15656   need_lib_prefix=no\r
15657   need_version=no\r
15658   soname_spec='${libname}${release}${shared_ext}$major'\r
15659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15660   shlibpath_var=LD_LIBRARY_PATH\r
15661   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"\r
15662   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"\r
15663   ;;\r
15664 \r
15665 solaris*)\r
15666   version_type=linux\r
15667   need_lib_prefix=no\r
15668   need_version=no\r
15669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15670   soname_spec='${libname}${release}${shared_ext}$major'\r
15671   shlibpath_var=LD_LIBRARY_PATH\r
15672   shlibpath_overrides_runpath=yes\r
15673   hardcode_into_libs=yes\r
15674   # ldd complains unless libraries are executable\r
15675   postinstall_cmds='chmod +x $lib'\r
15676   ;;\r
15677 \r
15678 sunos4*)\r
15679   version_type=sunos\r
15680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
15681   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'\r
15682   shlibpath_var=LD_LIBRARY_PATH\r
15683   shlibpath_overrides_runpath=yes\r
15684   if test "$with_gnu_ld" = yes; then\r
15685     need_lib_prefix=no\r
15686   fi\r
15687   need_version=yes\r
15688   ;;\r
15689 \r
15690 sysv4 | sysv4.3*)\r
15691   version_type=linux\r
15692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15693   soname_spec='${libname}${release}${shared_ext}$major'\r
15694   shlibpath_var=LD_LIBRARY_PATH\r
15695   case $host_vendor in\r
15696     sni)\r
15697       shlibpath_overrides_runpath=no\r
15698       need_lib_prefix=no\r
15699       export_dynamic_flag_spec='${wl}-Blargedynsym'\r
15700       runpath_var=LD_RUN_PATH\r
15701       ;;\r
15702     siemens)\r
15703       need_lib_prefix=no\r
15704       ;;\r
15705     motorola)\r
15706       need_lib_prefix=no\r
15707       need_version=no\r
15708       shlibpath_overrides_runpath=no\r
15709       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'\r
15710       ;;\r
15711   esac\r
15712   ;;\r
15713 \r
15714 sysv4*MP*)\r
15715   if test -d /usr/nec ;then\r
15716     version_type=linux\r
15717     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'\r
15718     soname_spec='$libname${shared_ext}.$major'\r
15719     shlibpath_var=LD_LIBRARY_PATH\r
15720   fi\r
15721   ;;\r
15722 \r
15723 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
15724   version_type=freebsd-elf\r
15725   need_lib_prefix=no\r
15726   need_version=no\r
15727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
15728   soname_spec='${libname}${release}${shared_ext}$major'\r
15729   shlibpath_var=LD_LIBRARY_PATH\r
15730   hardcode_into_libs=yes\r
15731   if test "$with_gnu_ld" = yes; then\r
15732     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'\r
15733     shlibpath_overrides_runpath=no\r
15734   else\r
15735     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'\r
15736     shlibpath_overrides_runpath=yes\r
15737     case $host_os in\r
15738       sco3.2v5*)\r
15739         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"\r
15740         ;;\r
15741     esac\r
15742   fi\r
15743   sys_lib_dlsearch_path_spec='/usr/lib'\r
15744   ;;\r
15745 \r
15746 uts4*)\r
15747   version_type=linux\r
15748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
15749   soname_spec='${libname}${release}${shared_ext}$major'\r
15750   shlibpath_var=LD_LIBRARY_PATH\r
15751   ;;\r
15752 \r
15753 *)\r
15754   dynamic_linker=no\r
15755   ;;\r
15756 esac\r
15757 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5\r
15758 $as_echo "$dynamic_linker" >&6; }\r
15759 test "$dynamic_linker" = no && can_build_shared=no\r
15760 \r
15761 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"\r
15762 if test "$GCC" = yes; then\r
15763   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"\r
15764 fi\r
15765 \r
15766 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5\r
15767 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }\r
15768 hardcode_action_F77=\r
15769 if test -n "$hardcode_libdir_flag_spec_F77" || \\r
15770    test -n "$runpath_var_F77" || \\r
15771    test "X$hardcode_automatic_F77" = "Xyes" ; then\r
15772 \r
15773   # We can hardcode non-existant directories.\r
15774   if test "$hardcode_direct_F77" != no &&\r
15775      # If the only mechanism to avoid hardcoding is shlibpath_var, we\r
15776      # have to relink, otherwise we might link with an installed library\r
15777      # when we should be linking with a yet-to-be-installed one\r
15778      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&\r
15779      test "$hardcode_minus_L_F77" != no; then\r
15780     # Linking always hardcodes the temporary library directory.\r
15781     hardcode_action_F77=relink\r
15782   else\r
15783     # We can link without hardcoding, and we can hardcode nonexisting dirs.\r
15784     hardcode_action_F77=immediate\r
15785   fi\r
15786 else\r
15787   # We cannot hardcode anything, or else we can only hardcode existing\r
15788   # directories.\r
15789   hardcode_action_F77=unsupported\r
15790 fi\r
15791 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5\r
15792 $as_echo "$hardcode_action_F77" >&6; }\r
15793 \r
15794 if test "$hardcode_action_F77" = relink; then\r
15795   # Fast installation is not supported\r
15796   enable_fast_install=no\r
15797 elif test "$shlibpath_overrides_runpath" = yes ||\r
15798      test "$enable_shared" = no; then\r
15799   # Fast installation is not necessary\r
15800   enable_fast_install=needless\r
15801 fi\r
15802 \r
15803 \r
15804 # The else clause should only fire when bootstrapping the\r
15805 # libtool distribution, otherwise you forgot to ship ltmain.sh\r
15806 # with your package, and you will get complaints that there are\r
15807 # no rules to generate ltmain.sh.\r
15808 if test -f "$ltmain"; then\r
15809   # See if we are running on zsh, and set the options which allow our commands through\r
15810   # without removal of \ escapes.\r
15811   if test -n "${ZSH_VERSION+set}" ; then\r
15812     setopt NO_GLOB_SUBST\r
15813   fi\r
15814   # Now quote all the things that may contain metacharacters while being\r
15815   # careful not to overquote the AC_SUBSTed values.  We take copies of the\r
15816   # variables and quote the copies for generation of the libtool script.\r
15817   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \\r
15818     SED SHELL STRIP \\r
15819     libname_spec library_names_spec soname_spec extract_expsyms_cmds \\r
15820     old_striplib striplib file_magic_cmd finish_cmds finish_eval \\r
15821     deplibs_check_method reload_flag reload_cmds need_locks \\r
15822     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \\r
15823     lt_cv_sys_global_symbol_to_c_name_address \\r
15824     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \\r
15825     old_postinstall_cmds old_postuninstall_cmds \\r
15826     compiler_F77 \\r
15827     CC_F77 \\r
15828     LD_F77 \\r
15829     lt_prog_compiler_wl_F77 \\r
15830     lt_prog_compiler_pic_F77 \\r
15831     lt_prog_compiler_static_F77 \\r
15832     lt_prog_compiler_no_builtin_flag_F77 \\r
15833     export_dynamic_flag_spec_F77 \\r
15834     thread_safe_flag_spec_F77 \\r
15835     whole_archive_flag_spec_F77 \\r
15836     enable_shared_with_static_runtimes_F77 \\r
15837     old_archive_cmds_F77 \\r
15838     old_archive_from_new_cmds_F77 \\r
15839     predep_objects_F77 \\r
15840     postdep_objects_F77 \\r
15841     predeps_F77 \\r
15842     postdeps_F77 \\r
15843     compiler_lib_search_path_F77 \\r
15844     archive_cmds_F77 \\r
15845     archive_expsym_cmds_F77 \\r
15846     postinstall_cmds_F77 \\r
15847     postuninstall_cmds_F77 \\r
15848     old_archive_from_expsyms_cmds_F77 \\r
15849     allow_undefined_flag_F77 \\r
15850     no_undefined_flag_F77 \\r
15851     export_symbols_cmds_F77 \\r
15852     hardcode_libdir_flag_spec_F77 \\r
15853     hardcode_libdir_flag_spec_ld_F77 \\r
15854     hardcode_libdir_separator_F77 \\r
15855     hardcode_automatic_F77 \\r
15856     module_cmds_F77 \\r
15857     module_expsym_cmds_F77 \\r
15858     lt_cv_prog_compiler_c_o_F77 \\r
15859     exclude_expsyms_F77 \\r
15860     include_expsyms_F77; do\r
15861 \r
15862     case $var in\r
15863     old_archive_cmds_F77 | \\r
15864     old_archive_from_new_cmds_F77 | \\r
15865     archive_cmds_F77 | \\r
15866     archive_expsym_cmds_F77 | \\r
15867     module_cmds_F77 | \\r
15868     module_expsym_cmds_F77 | \\r
15869     old_archive_from_expsyms_cmds_F77 | \\r
15870     export_symbols_cmds_F77 | \\r
15871     extract_expsyms_cmds | reload_cmds | finish_cmds | \\r
15872     postinstall_cmds | postuninstall_cmds | \\r
15873     old_postinstall_cmds | old_postuninstall_cmds | \\r
15874     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)\r
15875       # Double-quote double-evaled strings.\r
15876       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""\r
15877       ;;\r
15878     *)\r
15879       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""\r
15880       ;;\r
15881     esac\r
15882   done\r
15883 \r
15884   case $lt_echo in\r
15885   *'\$0 --fallback-echo"')\r
15886     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`\r
15887     ;;\r
15888   esac\r
15889 \r
15890 cfgfile="$ofile"\r
15891 \r
15892   cat <<__EOF__ >> "$cfgfile"\r
15893 # ### BEGIN LIBTOOL TAG CONFIG: $tagname\r
15894 \r
15895 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
15896 \r
15897 # Shell to use when invoking shell scripts.\r
15898 SHELL=$lt_SHELL\r
15899 \r
15900 # Whether or not to build shared libraries.\r
15901 build_libtool_libs=$enable_shared\r
15902 \r
15903 # Whether or not to build static libraries.\r
15904 build_old_libs=$enable_static\r
15905 \r
15906 # Whether or not to add -lc for building shared libraries.\r
15907 build_libtool_need_lc=$archive_cmds_need_lc_F77\r
15908 \r
15909 # Whether or not to disallow shared libs when runtime libs are static\r
15910 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77\r
15911 \r
15912 # Whether or not to optimize for fast installation.\r
15913 fast_install=$enable_fast_install\r
15914 \r
15915 # The host system.\r
15916 host_alias=$host_alias\r
15917 host=$host\r
15918 host_os=$host_os\r
15919 \r
15920 # The build system.\r
15921 build_alias=$build_alias\r
15922 build=$build\r
15923 build_os=$build_os\r
15924 \r
15925 # An echo program that does not interpret backslashes.\r
15926 echo=$lt_echo\r
15927 \r
15928 # The archiver.\r
15929 AR=$lt_AR\r
15930 AR_FLAGS=$lt_AR_FLAGS\r
15931 \r
15932 # A C compiler.\r
15933 LTCC=$lt_LTCC\r
15934 \r
15935 # LTCC compiler flags.\r
15936 LTCFLAGS=$lt_LTCFLAGS\r
15937 \r
15938 # A language-specific compiler.\r
15939 CC=$lt_compiler_F77\r
15940 \r
15941 # Is the compiler the GNU C compiler?\r
15942 with_gcc=$GCC_F77\r
15943 \r
15944 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`\r
15945 gcc_ver=\`gcc -dumpversion\`\r
15946 \r
15947 # An ERE matcher.\r
15948 EGREP=$lt_EGREP\r
15949 \r
15950 # The linker used to build libraries.\r
15951 LD=$lt_LD_F77\r
15952 \r
15953 # Whether we need hard or soft links.\r
15954 LN_S=$lt_LN_S\r
15955 \r
15956 # A BSD-compatible nm program.\r
15957 NM=$lt_NM\r
15958 \r
15959 # A symbol stripping program\r
15960 STRIP=$lt_STRIP\r
15961 \r
15962 # Used to examine libraries when file_magic_cmd begins "file"\r
15963 MAGIC_CMD=$MAGIC_CMD\r
15964 \r
15965 # Used on cygwin: DLL creation program.\r
15966 DLLTOOL="$DLLTOOL"\r
15967 \r
15968 # Used on cygwin: object dumper.\r
15969 OBJDUMP="$OBJDUMP"\r
15970 \r
15971 # Used on cygwin: assembler.\r
15972 AS="$AS"\r
15973 \r
15974 # The name of the directory that contains temporary libtool files.\r
15975 objdir=$objdir\r
15976 \r
15977 # How to create reloadable object files.\r
15978 reload_flag=$lt_reload_flag\r
15979 reload_cmds=$lt_reload_cmds\r
15980 \r
15981 # How to pass a linker flag through the compiler.\r
15982 wl=$lt_lt_prog_compiler_wl_F77\r
15983 \r
15984 # Object file suffix (normally "o").\r
15985 objext="$ac_objext"\r
15986 \r
15987 # Old archive suffix (normally "a").\r
15988 libext="$libext"\r
15989 \r
15990 # Shared library suffix (normally ".so").\r
15991 shrext_cmds='$shrext_cmds'\r
15992 \r
15993 # Executable file suffix (normally "").\r
15994 exeext="$exeext"\r
15995 \r
15996 # Additional compiler flags for building library objects.\r
15997 pic_flag=$lt_lt_prog_compiler_pic_F77\r
15998 pic_mode=$pic_mode\r
15999 \r
16000 # What is the maximum length of a command?\r
16001 max_cmd_len=$lt_cv_sys_max_cmd_len\r
16002 \r
16003 # Does compiler simultaneously support -c and -o options?\r
16004 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77\r
16005 \r
16006 # Must we lock files when doing compilation?\r
16007 need_locks=$lt_need_locks\r
16008 \r
16009 # Do we need the lib prefix for modules?\r
16010 need_lib_prefix=$need_lib_prefix\r
16011 \r
16012 # Do we need a version for libraries?\r
16013 need_version=$need_version\r
16014 \r
16015 # Whether dlopen is supported.\r
16016 dlopen_support=$enable_dlopen\r
16017 \r
16018 # Whether dlopen of programs is supported.\r
16019 dlopen_self=$enable_dlopen_self\r
16020 \r
16021 # Whether dlopen of statically linked programs is supported.\r
16022 dlopen_self_static=$enable_dlopen_self_static\r
16023 \r
16024 # Compiler flag to prevent dynamic linking.\r
16025 link_static_flag=$lt_lt_prog_compiler_static_F77\r
16026 \r
16027 # Compiler flag to turn off builtin functions.\r
16028 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77\r
16029 \r
16030 # Compiler flag to allow reflexive dlopens.\r
16031 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77\r
16032 \r
16033 # Compiler flag to generate shared objects directly from archives.\r
16034 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77\r
16035 \r
16036 # Compiler flag to generate thread-safe objects.\r
16037 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77\r
16038 \r
16039 # Library versioning type.\r
16040 version_type=$version_type\r
16041 \r
16042 # Format of library name prefix.\r
16043 libname_spec=$lt_libname_spec\r
16044 \r
16045 # List of archive names.  First name is the real one, the rest are links.\r
16046 # The last name is the one that the linker finds with -lNAME.\r
16047 library_names_spec=$lt_library_names_spec\r
16048 \r
16049 # The coded name of the library, if different from the real name.\r
16050 soname_spec=$lt_soname_spec\r
16051 \r
16052 # Commands used to build and install an old-style archive.\r
16053 RANLIB=$lt_RANLIB\r
16054 old_archive_cmds=$lt_old_archive_cmds_F77\r
16055 old_postinstall_cmds=$lt_old_postinstall_cmds\r
16056 old_postuninstall_cmds=$lt_old_postuninstall_cmds\r
16057 \r
16058 # Create an old-style archive from a shared archive.\r
16059 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77\r
16060 \r
16061 # Create a temporary old-style archive to link instead of a shared archive.\r
16062 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77\r
16063 \r
16064 # Commands used to build and install a shared archive.\r
16065 archive_cmds=$lt_archive_cmds_F77\r
16066 archive_expsym_cmds=$lt_archive_expsym_cmds_F77\r
16067 postinstall_cmds=$lt_postinstall_cmds\r
16068 postuninstall_cmds=$lt_postuninstall_cmds\r
16069 \r
16070 # Commands used to build a loadable module (assumed same as above if empty)\r
16071 module_cmds=$lt_module_cmds_F77\r
16072 module_expsym_cmds=$lt_module_expsym_cmds_F77\r
16073 \r
16074 # Commands to strip libraries.\r
16075 old_striplib=$lt_old_striplib\r
16076 striplib=$lt_striplib\r
16077 \r
16078 # Dependencies to place before the objects being linked to create a\r
16079 # shared library.\r
16080 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
16081 \r
16082 # Dependencies to place after the objects being linked to create a\r
16083 # shared library.\r
16084 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
16085 \r
16086 # Dependencies to place before the objects being linked to create a\r
16087 # shared library.\r
16088 predeps=$lt_predeps_F77\r
16089 \r
16090 # Dependencies to place after the objects being linked to create a\r
16091 # shared library.\r
16092 postdeps=$lt_postdeps_F77\r
16093 \r
16094 # The library search path used internally by the compiler when linking\r
16095 # a shared library.\r
16096 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
16097 \r
16098 # Method to check whether dependent libraries are shared objects.\r
16099 deplibs_check_method=$lt_deplibs_check_method\r
16100 \r
16101 # Command to use when deplibs_check_method == file_magic.\r
16102 file_magic_cmd=$lt_file_magic_cmd\r
16103 \r
16104 # Flag that allows shared libraries with undefined symbols to be built.\r
16105 allow_undefined_flag=$lt_allow_undefined_flag_F77\r
16106 \r
16107 # Flag that forces no undefined symbols.\r
16108 no_undefined_flag=$lt_no_undefined_flag_F77\r
16109 \r
16110 # Commands used to finish a libtool library installation in a directory.\r
16111 finish_cmds=$lt_finish_cmds\r
16112 \r
16113 # Same as above, but a single script fragment to be evaled but not shown.\r
16114 finish_eval=$lt_finish_eval\r
16115 \r
16116 # Take the output of nm and produce a listing of raw symbols and C names.\r
16117 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe\r
16118 \r
16119 # Transform the output of nm in a proper C declaration\r
16120 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl\r
16121 \r
16122 # Transform the output of nm in a C name address pair\r
16123 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address\r
16124 \r
16125 # This is the shared library runtime path variable.\r
16126 runpath_var=$runpath_var\r
16127 \r
16128 # This is the shared library path variable.\r
16129 shlibpath_var=$shlibpath_var\r
16130 \r
16131 # Is shlibpath searched before the hard-coded library search path?\r
16132 shlibpath_overrides_runpath=$shlibpath_overrides_runpath\r
16133 \r
16134 # How to hardcode a shared library path into an executable.\r
16135 hardcode_action=$hardcode_action_F77\r
16136 \r
16137 # Whether we should hardcode library paths into libraries.\r
16138 hardcode_into_libs=$hardcode_into_libs\r
16139 \r
16140 # Flag to hardcode \$libdir into a binary during linking.\r
16141 # This must work even if \$libdir does not exist.\r
16142 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77\r
16143 \r
16144 # If ld is used when linking, flag to hardcode \$libdir into\r
16145 # a binary during linking. This must work even if \$libdir does\r
16146 # not exist.\r
16147 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77\r
16148 \r
16149 # Whether we need a single -rpath flag with a separated argument.\r
16150 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77\r
16151 \r
16152 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the\r
16153 # resulting binary.\r
16154 hardcode_direct=$hardcode_direct_F77\r
16155 \r
16156 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the\r
16157 # resulting binary.\r
16158 hardcode_minus_L=$hardcode_minus_L_F77\r
16159 \r
16160 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into\r
16161 # the resulting binary.\r
16162 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77\r
16163 \r
16164 # Set to yes if building a shared library automatically hardcodes DIR into the library\r
16165 # and all subsequent libraries and executables linked against it.\r
16166 hardcode_automatic=$hardcode_automatic_F77\r
16167 \r
16168 # Variables whose values should be saved in libtool wrapper scripts and\r
16169 # restored at relink time.\r
16170 variables_saved_for_relink="$variables_saved_for_relink"\r
16171 \r
16172 # Whether libtool must link a program against all its dependency libraries.\r
16173 link_all_deplibs=$link_all_deplibs_F77\r
16174 \r
16175 # Compile-time system search path for libraries\r
16176 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
16177 \r
16178 # Run-time system search path for libraries\r
16179 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec\r
16180 \r
16181 # Fix the shell variable \$srcfile for the compiler.\r
16182 fix_srcfile_path="$fix_srcfile_path_F77"\r
16183 \r
16184 # Set to yes if exported symbols are required.\r
16185 always_export_symbols=$always_export_symbols_F77\r
16186 \r
16187 # The commands to list exported symbols.\r
16188 export_symbols_cmds=$lt_export_symbols_cmds_F77\r
16189 \r
16190 # The commands to extract the exported symbol list from a shared archive.\r
16191 extract_expsyms_cmds=$lt_extract_expsyms_cmds\r
16192 \r
16193 # Symbols that should not be listed in the preloaded symbols.\r
16194 exclude_expsyms=$lt_exclude_expsyms_F77\r
16195 \r
16196 # Symbols that must always be exported.\r
16197 include_expsyms=$lt_include_expsyms_F77\r
16198 \r
16199 # ### END LIBTOOL TAG CONFIG: $tagname\r
16200 \r
16201 __EOF__\r
16202 \r
16203 \r
16204 else\r
16205   # If there is no Makefile yet, we rely on a make rule to execute\r
16206   # `config.status --recheck' to rerun these tests and create the\r
16207   # libtool script then.\r
16208   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`\r
16209   if test -f "$ltmain_in"; then\r
16210     test -f Makefile && make "$ltmain"\r
16211   fi\r
16212 fi\r
16213 \r
16214 \r
16215 ac_ext=c\r
16216 ac_cpp='$CPP $CPPFLAGS'\r
16217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
16218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
16219 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
16220 \r
16221 CC="$lt_save_CC"\r
16222 \r
16223         else\r
16224           tagname=""\r
16225         fi\r
16226         ;;\r
16227 \r
16228       GCJ)\r
16229         if test -n "$GCJ" && test "X$GCJ" != "Xno"; then\r
16230 \r
16231 \r
16232 # Source file extension for Java test sources.\r
16233 ac_ext=java\r
16234 \r
16235 # Object file extension for compiled Java test sources.\r
16236 objext=o\r
16237 objext_GCJ=$objext\r
16238 \r
16239 # Code to be used in simple compile tests\r
16240 lt_simple_compile_test_code="class foo {}\n"\r
16241 \r
16242 # Code to be used in simple link tests\r
16243 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'\r
16244 \r
16245 # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
16246 \r
16247 # If no C compiler was specified, use CC.\r
16248 LTCC=${LTCC-"$CC"}\r
16249 \r
16250 # If no C compiler flags were specified, use CFLAGS.\r
16251 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
16252 \r
16253 # Allow CC to be a program name with arguments.\r
16254 compiler=$CC\r
16255 \r
16256 \r
16257 # save warnings/boilerplate of simple test code\r
16258 ac_outfile=conftest.$ac_objext\r
16259 printf "$lt_simple_compile_test_code" >conftest.$ac_ext\r
16260 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
16261 _lt_compiler_boilerplate=`cat conftest.err`\r
16262 $rm conftest*\r
16263 \r
16264 ac_outfile=conftest.$ac_objext\r
16265 printf "$lt_simple_link_test_code" >conftest.$ac_ext\r
16266 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
16267 _lt_linker_boilerplate=`cat conftest.err`\r
16268 $rm conftest*\r
16269 \r
16270 \r
16271 # Allow CC to be a program name with arguments.\r
16272 lt_save_CC="$CC"\r
16273 CC=${GCJ-"gcj"}\r
16274 compiler=$CC\r
16275 compiler_GCJ=$CC\r
16276 for cc_temp in $compiler""; do\r
16277   case $cc_temp in\r
16278     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
16279     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
16280     \-*) ;;\r
16281     *) break;;\r
16282   esac\r
16283 done\r
16284 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
16285 \r
16286 \r
16287 # GCJ did not exist at the time GCC didn't implicitly link libc in.\r
16288 archive_cmds_need_lc_GCJ=no\r
16289 \r
16290 old_archive_cmds_GCJ=$old_archive_cmds\r
16291 \r
16292 \r
16293 lt_prog_compiler_no_builtin_flag_GCJ=\r
16294 \r
16295 if test "$GCC" = yes; then\r
16296   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'\r
16297 \r
16298 \r
16299 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5\r
16300 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }\r
16301 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then\r
16302   $as_echo_n "(cached) " >&6\r
16303 else\r
16304   lt_cv_prog_compiler_rtti_exceptions=no\r
16305   ac_outfile=conftest.$ac_objext\r
16306    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
16307    lt_compiler_flag="-fno-rtti -fno-exceptions"\r
16308    # Insert the option either (1) after the last *FLAGS variable, or\r
16309    # (2) before a word containing "conftest.", or (3) at the end.\r
16310    # Note that $ac_compile itself does not contain backslashes and begins\r
16311    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
16312    # The option is referenced via a variable to avoid confusing sed.\r
16313    lt_compile=`echo "$ac_compile" | $SED \\r
16314    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
16315    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
16316    -e 's:$: $lt_compiler_flag:'`\r
16317    (eval echo "\"\$as_me:16317: $lt_compile\"" >&5)\r
16318    (eval "$lt_compile" 2>conftest.err)\r
16319    ac_status=$?\r
16320    cat conftest.err >&5\r
16321    echo "$as_me:16321: \$? = $ac_status" >&5\r
16322    if (exit $ac_status) && test -s "$ac_outfile"; then\r
16323      # The compiler can only warn and ignore the option if not recognized\r
16324      # So say no if there are warnings other than the usual output.\r
16325      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
16326      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
16327      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
16328        lt_cv_prog_compiler_rtti_exceptions=yes\r
16329      fi\r
16330    fi\r
16331    $rm conftest*\r
16332 \r
16333 fi\r
16334 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5\r
16335 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }\r
16336 \r
16337 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then\r
16338     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"\r
16339 else\r
16340     :\r
16341 fi\r
16342 \r
16343 fi\r
16344 \r
16345 lt_prog_compiler_wl_GCJ=\r
16346 lt_prog_compiler_pic_GCJ=\r
16347 lt_prog_compiler_static_GCJ=\r
16348 \r
16349 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5\r
16350 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }\r
16351 \r
16352   if test "$GCC" = yes; then\r
16353     lt_prog_compiler_wl_GCJ='-Wl,'\r
16354     lt_prog_compiler_static_GCJ='-static'\r
16355 \r
16356     case $host_os in\r
16357       aix*)\r
16358       # All AIX code is PIC.\r
16359       if test "$host_cpu" = ia64; then\r
16360         # AIX 5 now supports IA64 processor\r
16361         lt_prog_compiler_static_GCJ='-Bstatic'\r
16362       fi\r
16363       ;;\r
16364 \r
16365     amigaos*)\r
16366       # FIXME: we need at least 68020 code to build shared libraries, but\r
16367       # adding the `-m68020' flag to GCC prevents building anything better,\r
16368       # like `-m68040'.\r
16369       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'\r
16370       ;;\r
16371 \r
16372     beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)\r
16373       # PIC is the default for these OSes.\r
16374       ;;\r
16375 \r
16376     mingw* | pw32* | os2*)\r
16377       # This hack is so that the source file can tell whether it is being\r
16378       # built for inclusion in a dll (and should export symbols for example).\r
16379       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'\r
16380       ;;\r
16381 \r
16382     darwin* | rhapsody*)\r
16383       # PIC is the default on this platform\r
16384       # Common symbols not allowed in MH_DYLIB files\r
16385       lt_prog_compiler_pic_GCJ='-fno-common'\r
16386       ;;\r
16387 \r
16388     interix3*)\r
16389       # Interix 3.x gcc -fpic/-fPIC options generate broken code.\r
16390       # Instead, we relocate shared libraries at runtime.\r
16391       ;;\r
16392 \r
16393     msdosdjgpp*)\r
16394       # Just because we use GCC doesn't mean we suddenly get shared libraries\r
16395       # on systems that don't support them.\r
16396       lt_prog_compiler_can_build_shared_GCJ=no\r
16397       enable_shared=no\r
16398       ;;\r
16399 \r
16400     sysv4*MP*)\r
16401       if test -d /usr/nec; then\r
16402         lt_prog_compiler_pic_GCJ=-Kconform_pic\r
16403       fi\r
16404       ;;\r
16405 \r
16406     hpux*)\r
16407       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
16408       # not for PA HP-UX.\r
16409       case $host_cpu in\r
16410       hppa*64*|ia64*)\r
16411         # +Z the default\r
16412         ;;\r
16413       *)\r
16414         lt_prog_compiler_pic_GCJ='-fPIC'\r
16415         ;;\r
16416       esac\r
16417       ;;\r
16418 \r
16419     *)\r
16420       lt_prog_compiler_pic_GCJ='-fPIC'\r
16421       ;;\r
16422     esac\r
16423   else\r
16424     # PORTME Check for flag to pass linker flags through the system compiler.\r
16425     case $host_os in\r
16426     aix*)\r
16427       lt_prog_compiler_wl_GCJ='-Wl,'\r
16428       if test "$host_cpu" = ia64; then\r
16429         # AIX 5 now supports IA64 processor\r
16430         lt_prog_compiler_static_GCJ='-Bstatic'\r
16431       else\r
16432         lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'\r
16433       fi\r
16434       ;;\r
16435       darwin*)\r
16436         # PIC is the default on this platform\r
16437         # Common symbols not allowed in MH_DYLIB files\r
16438        case $cc_basename in\r
16439          xlc*)\r
16440          lt_prog_compiler_pic_GCJ='-qnocommon'\r
16441          lt_prog_compiler_wl_GCJ='-Wl,'\r
16442          ;;\r
16443        esac\r
16444        ;;\r
16445 \r
16446     mingw* | pw32* | os2*)\r
16447       # This hack is so that the source file can tell whether it is being\r
16448       # built for inclusion in a dll (and should export symbols for example).\r
16449       lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'\r
16450       ;;\r
16451 \r
16452     hpux9* | hpux10* | hpux11*)\r
16453       lt_prog_compiler_wl_GCJ='-Wl,'\r
16454       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but\r
16455       # not for PA HP-UX.\r
16456       case $host_cpu in\r
16457       hppa*64*|ia64*)\r
16458         # +Z the default\r
16459         ;;\r
16460       *)\r
16461         lt_prog_compiler_pic_GCJ='+Z'\r
16462         ;;\r
16463       esac\r
16464       # Is there a better lt_prog_compiler_static that works with the bundled CC?\r
16465       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'\r
16466       ;;\r
16467 \r
16468     irix5* | irix6* | nonstopux*)\r
16469       lt_prog_compiler_wl_GCJ='-Wl,'\r
16470       # PIC (with -KPIC) is the default.\r
16471       lt_prog_compiler_static_GCJ='-non_shared'\r
16472       ;;\r
16473 \r
16474     newsos6)\r
16475       lt_prog_compiler_pic_GCJ='-KPIC'\r
16476       lt_prog_compiler_static_GCJ='-Bstatic'\r
16477       ;;\r
16478 \r
16479     linux*)\r
16480       case $cc_basename in\r
16481       icc* | ecc*)\r
16482         lt_prog_compiler_wl_GCJ='-Wl,'\r
16483         lt_prog_compiler_pic_GCJ='-KPIC'\r
16484         lt_prog_compiler_static_GCJ='-static'\r
16485         ;;\r
16486       pgcc* | pgf77* | pgf90* | pgf95*)\r
16487         # Portland Group compilers (*not* the Pentium gcc compiler,\r
16488         # which looks to be a dead project)\r
16489         lt_prog_compiler_wl_GCJ='-Wl,'\r
16490         lt_prog_compiler_pic_GCJ='-fpic'\r
16491         lt_prog_compiler_static_GCJ='-Bstatic'\r
16492         ;;\r
16493       ccc*)\r
16494         lt_prog_compiler_wl_GCJ='-Wl,'\r
16495         # All Alpha code is PIC.\r
16496         lt_prog_compiler_static_GCJ='-non_shared'\r
16497         ;;\r
16498       esac\r
16499       ;;\r
16500 \r
16501     osf3* | osf4* | osf5*)\r
16502       lt_prog_compiler_wl_GCJ='-Wl,'\r
16503       # All OSF/1 code is PIC.\r
16504       lt_prog_compiler_static_GCJ='-non_shared'\r
16505       ;;\r
16506 \r
16507     solaris*)\r
16508       lt_prog_compiler_pic_GCJ='-KPIC'\r
16509       lt_prog_compiler_static_GCJ='-Bstatic'\r
16510       case $cc_basename in\r
16511       f77* | f90* | f95*)\r
16512         lt_prog_compiler_wl_GCJ='-Qoption ld ';;\r
16513       *)\r
16514         lt_prog_compiler_wl_GCJ='-Wl,';;\r
16515       esac\r
16516       ;;\r
16517 \r
16518     sunos4*)\r
16519       lt_prog_compiler_wl_GCJ='-Qoption ld '\r
16520       lt_prog_compiler_pic_GCJ='-PIC'\r
16521       lt_prog_compiler_static_GCJ='-Bstatic'\r
16522       ;;\r
16523 \r
16524     sysv4 | sysv4.2uw2* | sysv4.3*)\r
16525       lt_prog_compiler_wl_GCJ='-Wl,'\r
16526       lt_prog_compiler_pic_GCJ='-KPIC'\r
16527       lt_prog_compiler_static_GCJ='-Bstatic'\r
16528       ;;\r
16529 \r
16530     sysv4*MP*)\r
16531       if test -d /usr/nec ;then\r
16532         lt_prog_compiler_pic_GCJ='-Kconform_pic'\r
16533         lt_prog_compiler_static_GCJ='-Bstatic'\r
16534       fi\r
16535       ;;\r
16536 \r
16537     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)\r
16538       lt_prog_compiler_wl_GCJ='-Wl,'\r
16539       lt_prog_compiler_pic_GCJ='-KPIC'\r
16540       lt_prog_compiler_static_GCJ='-Bstatic'\r
16541       ;;\r
16542 \r
16543     unicos*)\r
16544       lt_prog_compiler_wl_GCJ='-Wl,'\r
16545       lt_prog_compiler_can_build_shared_GCJ=no\r
16546       ;;\r
16547 \r
16548     uts4*)\r
16549       lt_prog_compiler_pic_GCJ='-pic'\r
16550       lt_prog_compiler_static_GCJ='-Bstatic'\r
16551       ;;\r
16552 \r
16553     *)\r
16554       lt_prog_compiler_can_build_shared_GCJ=no\r
16555       ;;\r
16556     esac\r
16557   fi\r
16558 \r
16559 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5\r
16560 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }\r
16561 \r
16562 #\r
16563 # Check to make sure the PIC flag actually works.\r
16564 #\r
16565 if test -n "$lt_prog_compiler_pic_GCJ"; then\r
16566 \r
16567 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5\r
16568 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }\r
16569 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then\r
16570   $as_echo_n "(cached) " >&6\r
16571 else\r
16572   lt_prog_compiler_pic_works_GCJ=no\r
16573   ac_outfile=conftest.$ac_objext\r
16574    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
16575    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"\r
16576    # Insert the option either (1) after the last *FLAGS variable, or\r
16577    # (2) before a word containing "conftest.", or (3) at the end.\r
16578    # Note that $ac_compile itself does not contain backslashes and begins\r
16579    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
16580    # The option is referenced via a variable to avoid confusing sed.\r
16581    lt_compile=`echo "$ac_compile" | $SED \\r
16582    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
16583    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
16584    -e 's:$: $lt_compiler_flag:'`\r
16585    (eval echo "\"\$as_me:16585: $lt_compile\"" >&5)\r
16586    (eval "$lt_compile" 2>conftest.err)\r
16587    ac_status=$?\r
16588    cat conftest.err >&5\r
16589    echo "$as_me:16589: \$? = $ac_status" >&5\r
16590    if (exit $ac_status) && test -s "$ac_outfile"; then\r
16591      # The compiler can only warn and ignore the option if not recognized\r
16592      # So say no if there are warnings other than the usual output.\r
16593      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp\r
16594      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
16595      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then\r
16596        lt_prog_compiler_pic_works_GCJ=yes\r
16597      fi\r
16598    fi\r
16599    $rm conftest*\r
16600 \r
16601 fi\r
16602 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5\r
16603 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }\r
16604 \r
16605 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then\r
16606     case $lt_prog_compiler_pic_GCJ in\r
16607      "" | " "*) ;;\r
16608      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;\r
16609      esac\r
16610 else\r
16611     lt_prog_compiler_pic_GCJ=\r
16612      lt_prog_compiler_can_build_shared_GCJ=no\r
16613 fi\r
16614 \r
16615 fi\r
16616 case $host_os in\r
16617   # For platforms which do not support PIC, -DPIC is meaningless:\r
16618   *djgpp*)\r
16619     lt_prog_compiler_pic_GCJ=\r
16620     ;;\r
16621   *)\r
16622     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"\r
16623     ;;\r
16624 esac\r
16625 \r
16626 #\r
16627 # Check to make sure the static flag actually works.\r
16628 #\r
16629 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"\r
16630 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5\r
16631 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }\r
16632 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then\r
16633   $as_echo_n "(cached) " >&6\r
16634 else\r
16635   lt_prog_compiler_static_works_GCJ=no\r
16636    save_LDFLAGS="$LDFLAGS"\r
16637    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"\r
16638    printf "$lt_simple_link_test_code" > conftest.$ac_ext\r
16639    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then\r
16640      # The linker can only warn and ignore the option if not recognized\r
16641      # So say no if there are warnings\r
16642      if test -s conftest.err; then\r
16643        # Append any errors to the config.log.\r
16644        cat conftest.err 1>&5\r
16645        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp\r
16646        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2\r
16647        if diff conftest.exp conftest.er2 >/dev/null; then\r
16648          lt_prog_compiler_static_works_GCJ=yes\r
16649        fi\r
16650      else\r
16651        lt_prog_compiler_static_works_GCJ=yes\r
16652      fi\r
16653    fi\r
16654    $rm conftest*\r
16655    LDFLAGS="$save_LDFLAGS"\r
16656 \r
16657 fi\r
16658 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5\r
16659 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }\r
16660 \r
16661 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then\r
16662     :\r
16663 else\r
16664     lt_prog_compiler_static_GCJ=\r
16665 fi\r
16666 \r
16667 \r
16668 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5\r
16669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }\r
16670 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then\r
16671   $as_echo_n "(cached) " >&6\r
16672 else\r
16673   lt_cv_prog_compiler_c_o_GCJ=no\r
16674    $rm -r conftest 2>/dev/null\r
16675    mkdir conftest\r
16676    cd conftest\r
16677    mkdir out\r
16678    printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
16679 \r
16680    lt_compiler_flag="-o out/conftest2.$ac_objext"\r
16681    # Insert the option either (1) after the last *FLAGS variable, or\r
16682    # (2) before a word containing "conftest.", or (3) at the end.\r
16683    # Note that $ac_compile itself does not contain backslashes and begins\r
16684    # with a dollar sign (not a hyphen), so the echo should work correctly.\r
16685    lt_compile=`echo "$ac_compile" | $SED \\r
16686    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \\r
16687    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \\r
16688    -e 's:$: $lt_compiler_flag:'`\r
16689    (eval echo "\"\$as_me:16689: $lt_compile\"" >&5)\r
16690    (eval "$lt_compile" 2>out/conftest.err)\r
16691    ac_status=$?\r
16692    cat out/conftest.err >&5\r
16693    echo "$as_me:16693: \$? = $ac_status" >&5\r
16694    if (exit $ac_status) && test -s out/conftest2.$ac_objext\r
16695    then\r
16696      # The compiler can only warn and ignore the option if not recognized\r
16697      # So say no if there are warnings\r
16698      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp\r
16699      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2\r
16700      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then\r
16701        lt_cv_prog_compiler_c_o_GCJ=yes\r
16702      fi\r
16703    fi\r
16704    chmod u+w . 2>&5\r
16705    $rm conftest*\r
16706    # SGI C++ compiler will create directory out/ii_files/ for\r
16707    # template instantiation\r
16708    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files\r
16709    $rm out/* && rmdir out\r
16710    cd ..\r
16711    rmdir conftest\r
16712    $rm conftest*\r
16713 \r
16714 fi\r
16715 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5\r
16716 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }\r
16717 \r
16718 \r
16719 hard_links="nottested"\r
16720 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then\r
16721   # do not overwrite the value of need_locks provided by the user\r
16722   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5\r
16723 $as_echo_n "checking if we can lock with hard links... " >&6; }\r
16724   hard_links=yes\r
16725   $rm conftest*\r
16726   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
16727   touch conftest.a\r
16728   ln conftest.a conftest.b 2>&5 || hard_links=no\r
16729   ln conftest.a conftest.b 2>/dev/null && hard_links=no\r
16730   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5\r
16731 $as_echo "$hard_links" >&6; }\r
16732   if test "$hard_links" = no; then\r
16733     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5\r
16734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}\r
16735     need_locks=warn\r
16736   fi\r
16737 else\r
16738   need_locks=no\r
16739 fi\r
16740 \r
16741 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5\r
16742 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }\r
16743 \r
16744   runpath_var=\r
16745   allow_undefined_flag_GCJ=\r
16746   enable_shared_with_static_runtimes_GCJ=no\r
16747   archive_cmds_GCJ=\r
16748   archive_expsym_cmds_GCJ=\r
16749   old_archive_From_new_cmds_GCJ=\r
16750   old_archive_from_expsyms_cmds_GCJ=\r
16751   export_dynamic_flag_spec_GCJ=\r
16752   whole_archive_flag_spec_GCJ=\r
16753   thread_safe_flag_spec_GCJ=\r
16754   hardcode_libdir_flag_spec_GCJ=\r
16755   hardcode_libdir_flag_spec_ld_GCJ=\r
16756   hardcode_libdir_separator_GCJ=\r
16757   hardcode_direct_GCJ=no\r
16758   hardcode_minus_L_GCJ=no\r
16759   hardcode_shlibpath_var_GCJ=unsupported\r
16760   link_all_deplibs_GCJ=unknown\r
16761   hardcode_automatic_GCJ=no\r
16762   module_cmds_GCJ=\r
16763   module_expsym_cmds_GCJ=\r
16764   always_export_symbols_GCJ=no\r
16765   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'\r
16766   # include_expsyms should be a list of space-separated symbols to be *always*\r
16767   # included in the symbol list\r
16768   include_expsyms_GCJ=\r
16769   # exclude_expsyms can be an extended regexp of symbols to exclude\r
16770   # it will be wrapped by ` (' and `)$', so one must not match beginning or\r
16771   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',\r
16772   # as well as any symbol that contains `d'.\r
16773   exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"\r
16774   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out\r
16775   # platforms (ab)use it in PIC code, but their linkers get confused if\r
16776   # the symbol is explicitly referenced.  Since portable code cannot\r
16777   # rely on this symbol name, it's probably fine to never include it in\r
16778   # preloaded symbol tables.\r
16779   extract_expsyms_cmds=\r
16780   # Just being paranoid about ensuring that cc_basename is set.\r
16781   for cc_temp in $compiler""; do\r
16782   case $cc_temp in\r
16783     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
16784     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
16785     \-*) ;;\r
16786     *) break;;\r
16787   esac\r
16788 done\r
16789 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
16790 \r
16791   case $host_os in\r
16792   cygwin* | mingw* | pw32*)\r
16793     # FIXME: the MSVC++ port hasn't been tested in a loooong time\r
16794     # When not using gcc, we currently assume that we are using\r
16795     # Microsoft Visual C++.\r
16796     if test "$GCC" != yes; then\r
16797       with_gnu_ld=no\r
16798     fi\r
16799     ;;\r
16800   interix*)\r
16801     # we just hope/assume this is gcc and not c89 (= MSVC++)\r
16802     with_gnu_ld=yes\r
16803     ;;\r
16804   openbsd*)\r
16805     with_gnu_ld=no\r
16806     ;;\r
16807   esac\r
16808 \r
16809   ld_shlibs_GCJ=yes\r
16810   if test "$with_gnu_ld" = yes; then\r
16811     # If archive_cmds runs LD, not CC, wlarc should be empty\r
16812     wlarc='${wl}'\r
16813 \r
16814     # Set some defaults for GNU ld with shared library support. These\r
16815     # are reset later if shared libraries are not supported. Putting them\r
16816     # here allows them to be overridden if necessary.\r
16817     runpath_var=LD_RUN_PATH\r
16818     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'\r
16819     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'\r
16820     # ancient GNU ld didn't support --whole-archive et. al.\r
16821     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then\r
16822         whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'\r
16823       else\r
16824         whole_archive_flag_spec_GCJ=\r
16825     fi\r
16826     supports_anon_versioning=no\r
16827     case `$LD -v 2>/dev/null` in\r
16828       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11\r
16829       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...\r
16830       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...\r
16831       *\ 2.11.*) ;; # other 2.11 versions\r
16832       *) supports_anon_versioning=yes ;;\r
16833     esac\r
16834 \r
16835     # See if GNU ld supports shared libraries.\r
16836     case $host_os in\r
16837     aix3* | aix4* | aix5*)\r
16838       # On AIX/PPC, the GNU linker is very broken\r
16839       if test "$host_cpu" != ia64; then\r
16840         ld_shlibs_GCJ=no\r
16841         cat <<EOF 1>&2\r
16842 \r
16843 *** Warning: the GNU linker, at least up to release 2.9.1, is reported\r
16844 *** to be unable to reliably create shared libraries on AIX.\r
16845 *** Therefore, libtool is disabling shared libraries support.  If you\r
16846 *** really care for shared libraries, you may want to modify your PATH\r
16847 *** so that a non-GNU linker is found, and then restart.\r
16848 \r
16849 EOF\r
16850       fi\r
16851       ;;\r
16852 \r
16853     amigaos*)\r
16854       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'\r
16855       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
16856       hardcode_minus_L_GCJ=yes\r
16857 \r
16858       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports\r
16859       # that the semantics of dynamic libraries on AmigaOS, at least up\r
16860       # to version 4, is to share data among multiple programs linked\r
16861       # with the same dynamic library.  Since this doesn't match the\r
16862       # behavior of shared libraries on other platforms, we can't use\r
16863       # them.\r
16864       ld_shlibs_GCJ=no\r
16865       ;;\r
16866 \r
16867     beos*)\r
16868       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
16869         allow_undefined_flag_GCJ=unsupported\r
16870         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc\r
16871         # support --undefined.  This deserves some investigation.  FIXME\r
16872         archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
16873       else\r
16874         ld_shlibs_GCJ=no\r
16875       fi\r
16876       ;;\r
16877 \r
16878     cygwin* | mingw* | pw32*)\r
16879       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,\r
16880       # as there is no search path for DLLs.\r
16881       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
16882       allow_undefined_flag_GCJ=unsupported\r
16883       always_export_symbols_GCJ=no\r
16884       enable_shared_with_static_runtimes_GCJ=yes\r
16885       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'\r
16886 \r
16887       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then\r
16888         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
16889         # If the export-symbols file already is a .def file (1st line\r
16890         # is EXPORTS), use it as is; otherwise, prepend...\r
16891         archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then\r
16892           cp $export_symbols $output_objdir/$soname.def;\r
16893         else\r
16894           echo EXPORTS > $output_objdir/$soname.def;\r
16895           cat $export_symbols >> $output_objdir/$soname.def;\r
16896         fi~\r
16897         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'\r
16898       else\r
16899         ld_shlibs_GCJ=no\r
16900       fi\r
16901       ;;\r
16902 \r
16903     interix3*)\r
16904       hardcode_direct_GCJ=no\r
16905       hardcode_shlibpath_var_GCJ=no\r
16906       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'\r
16907       export_dynamic_flag_spec_GCJ='${wl}-E'\r
16908       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.\r
16909       # Instead, shared libraries are loaded at an image base (0x10000000 by\r
16910       # default) and relocated if they conflict, which is a slow very memory\r
16911       # consuming and fragmenting process.  To avoid this, we pick a random,\r
16912       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link\r
16913       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.\r
16914       archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'\r
16915       archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'\r
16916       ;;\r
16917 \r
16918     linux*)\r
16919       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
16920         tmp_addflag=\r
16921         case $cc_basename,$host_cpu in\r
16922         pgcc*)                          # Portland Group C compiler\r
16923           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
16924           tmp_addflag=' $pic_flag'\r
16925           ;;\r
16926         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers\r
16927           whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'\r
16928           tmp_addflag=' $pic_flag -Mnomain' ;;\r
16929         ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64\r
16930           tmp_addflag=' -i_dynamic' ;;\r
16931         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64\r
16932           tmp_addflag=' -i_dynamic -nofor_main' ;;\r
16933         ifc* | ifort*)                  # Intel Fortran compiler\r
16934           tmp_addflag=' -nofor_main' ;;\r
16935         esac\r
16936         archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
16937 \r
16938         if test $supports_anon_versioning = yes; then\r
16939           archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~\r
16940   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~\r
16941   $echo "local: *; };" >> $output_objdir/$libname.ver~\r
16942           $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'\r
16943         fi\r
16944       else\r
16945         ld_shlibs_GCJ=no\r
16946       fi\r
16947       ;;\r
16948 \r
16949     netbsd*)\r
16950       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
16951         archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'\r
16952         wlarc=\r
16953       else\r
16954         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
16955         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
16956       fi\r
16957       ;;\r
16958 \r
16959     solaris*)\r
16960       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then\r
16961         ld_shlibs_GCJ=no\r
16962         cat <<EOF 1>&2\r
16963 \r
16964 *** Warning: The releases 2.8.* of the GNU linker cannot reliably\r
16965 *** create shared libraries on Solaris systems.  Therefore, libtool\r
16966 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
16967 *** binutils to release 2.9.1 or newer.  Another option is to modify\r
16968 *** your PATH or compiler configuration so that the native linker is\r
16969 *** used, and then restart.\r
16970 \r
16971 EOF\r
16972       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
16973         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
16974         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
16975       else\r
16976         ld_shlibs_GCJ=no\r
16977       fi\r
16978       ;;\r
16979 \r
16980     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)\r
16981       case `$LD -v 2>&1` in\r
16982         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)\r
16983         ld_shlibs_GCJ=no\r
16984         cat <<_LT_EOF 1>&2\r
16985 \r
16986 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not\r
16987 *** reliably create shared libraries on SCO systems.  Therefore, libtool\r
16988 *** is disabling shared libraries support.  We urge you to upgrade GNU\r
16989 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify\r
16990 *** your PATH or compiler configuration so that the native linker is\r
16991 *** used, and then restart.\r
16992 \r
16993 _LT_EOF\r
16994         ;;\r
16995         *)\r
16996           if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
16997             hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'\r
16998             archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'\r
16999             archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'\r
17000           else\r
17001             ld_shlibs_GCJ=no\r
17002           fi\r
17003         ;;\r
17004       esac\r
17005       ;;\r
17006 \r
17007     sunos4*)\r
17008       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
17009       wlarc=\r
17010       hardcode_direct_GCJ=yes\r
17011       hardcode_shlibpath_var_GCJ=no\r
17012       ;;\r
17013 \r
17014     *)\r
17015       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then\r
17016         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'\r
17017         archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'\r
17018       else\r
17019         ld_shlibs_GCJ=no\r
17020       fi\r
17021       ;;\r
17022     esac\r
17023 \r
17024     if test "$ld_shlibs_GCJ" = no; then\r
17025       runpath_var=\r
17026       hardcode_libdir_flag_spec_GCJ=\r
17027       export_dynamic_flag_spec_GCJ=\r
17028       whole_archive_flag_spec_GCJ=\r
17029     fi\r
17030   else\r
17031     # PORTME fill in a description of your system's linker (not GNU ld)\r
17032     case $host_os in\r
17033     aix3*)\r
17034       allow_undefined_flag_GCJ=unsupported\r
17035       always_export_symbols_GCJ=yes\r
17036       archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'\r
17037       # Note: this linker hardcodes the directories in LIBPATH if there\r
17038       # are no directories specified by -L.\r
17039       hardcode_minus_L_GCJ=yes\r
17040       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then\r
17041         # Neither direct hardcoding nor static linking is supported with a\r
17042         # broken collect2.\r
17043         hardcode_direct_GCJ=unsupported\r
17044       fi\r
17045       ;;\r
17046 \r
17047     aix4* | aix5*)\r
17048       if test "$host_cpu" = ia64; then\r
17049         # On IA64, the linker does run time linking by default, so we don't\r
17050         # have to do anything special.\r
17051         aix_use_runtimelinking=no\r
17052         exp_sym_flag='-Bexport'\r
17053         no_entry_flag=""\r
17054       else\r
17055         # If we're using GNU nm, then we don't want the "-C" option.\r
17056         # -C means demangle to AIX nm, but means don't demangle with GNU nm\r
17057         if $NM -V 2>&1 | grep 'GNU' > /dev/null; then\r
17058           export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
17059         else\r
17060           export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'\r
17061         fi\r
17062         aix_use_runtimelinking=no\r
17063 \r
17064         # Test if we are trying to use run time linking or normal\r
17065         # AIX style linking. If -brtl is somewhere in LDFLAGS, we\r
17066         # need to do runtime linking.\r
17067         case $host_os in aix4.[23]|aix4.[23].*|aix5*)\r
17068           for ld_flag in $LDFLAGS; do\r
17069           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then\r
17070             aix_use_runtimelinking=yes\r
17071             break\r
17072           fi\r
17073           done\r
17074           ;;\r
17075         esac\r
17076 \r
17077         exp_sym_flag='-bexport'\r
17078         no_entry_flag='-bnoentry'\r
17079       fi\r
17080 \r
17081       # When large executables or shared objects are built, AIX ld can\r
17082       # have problems creating the table of contents.  If linking a library\r
17083       # or program results in "error TOC overflow" add -mminimal-toc to\r
17084       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not\r
17085       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.\r
17086 \r
17087       archive_cmds_GCJ=''\r
17088       hardcode_direct_GCJ=yes\r
17089       hardcode_libdir_separator_GCJ=':'\r
17090       link_all_deplibs_GCJ=yes\r
17091 \r
17092       if test "$GCC" = yes; then\r
17093         case $host_os in aix4.[012]|aix4.[012].*)\r
17094         # We only want to do this on AIX 4.2 and lower, the check\r
17095         # below for broken collect2 doesn't work under 4.3+\r
17096           collect2name=`${CC} -print-prog-name=collect2`\r
17097           if test -f "$collect2name" && \\r
17098            strings "$collect2name" | grep resolve_lib_name >/dev/null\r
17099           then\r
17100           # We have reworked collect2\r
17101           hardcode_direct_GCJ=yes\r
17102           else\r
17103           # We have old collect2\r
17104           hardcode_direct_GCJ=unsupported\r
17105           # It fails to find uninstalled libraries when the uninstalled\r
17106           # path is not listed in the libpath.  Setting hardcode_minus_L\r
17107           # to unsupported forces relinking\r
17108           hardcode_minus_L_GCJ=yes\r
17109           hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17110           hardcode_libdir_separator_GCJ=\r
17111           fi\r
17112           ;;\r
17113         esac\r
17114         shared_flag='-shared'\r
17115         if test "$aix_use_runtimelinking" = yes; then\r
17116           shared_flag="$shared_flag "'${wl}-G'\r
17117         fi\r
17118       else\r
17119         # not using gcc\r
17120         if test "$host_cpu" = ia64; then\r
17121         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release\r
17122         # chokes on -Wl,-G. The following line is correct:\r
17123           shared_flag='-G'\r
17124         else\r
17125           if test "$aix_use_runtimelinking" = yes; then\r
17126             shared_flag='${wl}-G'\r
17127           else\r
17128             shared_flag='${wl}-bM:SRE'\r
17129           fi\r
17130         fi\r
17131       fi\r
17132 \r
17133       # It seems that -bexpall does not export symbols beginning with\r
17134       # underscore (_), so it is better to generate a list of symbols to export.\r
17135       always_export_symbols_GCJ=yes\r
17136       if test "$aix_use_runtimelinking" = yes; then\r
17137         # Warning - without using the other runtime loading flags (-brtl),\r
17138         # -berok will link without error, but may produce a broken library.\r
17139         allow_undefined_flag_GCJ='-berok'\r
17140        # Determine the default libpath from the value encoded in an empty executable.\r
17141        cat >conftest.$ac_ext <<_ACEOF\r
17142 /* confdefs.h.  */\r
17143 _ACEOF\r
17144 cat confdefs.h >>conftest.$ac_ext\r
17145 cat >>conftest.$ac_ext <<_ACEOF\r
17146 /* end confdefs.h.  */\r
17147 \r
17148 int\r
17149 main ()\r
17150 {\r
17151 \r
17152   ;\r
17153   return 0;\r
17154 }\r
17155 _ACEOF\r
17156 rm -f conftest.$ac_objext conftest$ac_exeext\r
17157 if { (ac_try="$ac_link"\r
17158 case "(($ac_try" in\r
17159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
17160   *) ac_try_echo=$ac_try;;\r
17161 esac\r
17162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
17163 $as_echo "$ac_try_echo") >&5\r
17164   (eval "$ac_link") 2>conftest.er1\r
17165   ac_status=$?\r
17166   grep -v '^ *+' conftest.er1 >conftest.err\r
17167   rm -f conftest.er1\r
17168   cat conftest.err >&5\r
17169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
17170   (exit $ac_status); } && {\r
17171          test -z "$ac_c_werror_flag" ||\r
17172          test ! -s conftest.err\r
17173        } && test -s conftest$ac_exeext && {\r
17174          test "$cross_compiling" = yes ||\r
17175          $as_test_x conftest$ac_exeext\r
17176        }; then\r
17177 \r
17178 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
17179 }'`\r
17180 # Check for a 64-bit object if we didn't find anything.\r
17181 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
17182 }'`; fi\r
17183 else\r
17184   $as_echo "$as_me: failed program was:" >&5\r
17185 sed 's/^/| /' conftest.$ac_ext >&5\r
17186 \r
17187 \r
17188 fi\r
17189 \r
17190 rm -rf conftest.dSYM\r
17191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
17192       conftest$ac_exeext conftest.$ac_ext\r
17193 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
17194 \r
17195        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"\r
17196         archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"\r
17197        else\r
17198         if test "$host_cpu" = ia64; then\r
17199           hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'\r
17200           allow_undefined_flag_GCJ="-z nodefs"\r
17201           archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"\r
17202         else\r
17203          # Determine the default libpath from the value encoded in an empty executable.\r
17204          cat >conftest.$ac_ext <<_ACEOF\r
17205 /* confdefs.h.  */\r
17206 _ACEOF\r
17207 cat confdefs.h >>conftest.$ac_ext\r
17208 cat >>conftest.$ac_ext <<_ACEOF\r
17209 /* end confdefs.h.  */\r
17210 \r
17211 int\r
17212 main ()\r
17213 {\r
17214 \r
17215   ;\r
17216   return 0;\r
17217 }\r
17218 _ACEOF\r
17219 rm -f conftest.$ac_objext conftest$ac_exeext\r
17220 if { (ac_try="$ac_link"\r
17221 case "(($ac_try" in\r
17222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
17223   *) ac_try_echo=$ac_try;;\r
17224 esac\r
17225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
17226 $as_echo "$ac_try_echo") >&5\r
17227   (eval "$ac_link") 2>conftest.er1\r
17228   ac_status=$?\r
17229   grep -v '^ *+' conftest.er1 >conftest.err\r
17230   rm -f conftest.er1\r
17231   cat conftest.err >&5\r
17232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
17233   (exit $ac_status); } && {\r
17234          test -z "$ac_c_werror_flag" ||\r
17235          test ! -s conftest.err\r
17236        } && test -s conftest$ac_exeext && {\r
17237          test "$cross_compiling" = yes ||\r
17238          $as_test_x conftest$ac_exeext\r
17239        }; then\r
17240 \r
17241 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
17242 }'`\r
17243 # Check for a 64-bit object if we didn't find anything.\r
17244 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }\r
17245 }'`; fi\r
17246 else\r
17247   $as_echo "$as_me: failed program was:" >&5\r
17248 sed 's/^/| /' conftest.$ac_ext >&5\r
17249 \r
17250 \r
17251 fi\r
17252 \r
17253 rm -rf conftest.dSYM\r
17254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
17255       conftest$ac_exeext conftest.$ac_ext\r
17256 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi\r
17257 \r
17258          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"\r
17259           # Warning - without using the other run time loading flags,\r
17260           # -berok will link without error, but may produce a broken library.\r
17261           no_undefined_flag_GCJ=' ${wl}-bernotok'\r
17262           allow_undefined_flag_GCJ=' ${wl}-berok'\r
17263           # Exported symbols can be pulled into shared objects from archives\r
17264           whole_archive_flag_spec_GCJ='$convenience'\r
17265           archive_cmds_need_lc_GCJ=yes\r
17266           # This is similar to how AIX traditionally builds its shared libraries.\r
17267           archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'\r
17268         fi\r
17269       fi\r
17270       ;;\r
17271 \r
17272     amigaos*)\r
17273       archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'\r
17274       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17275       hardcode_minus_L_GCJ=yes\r
17276       # see comment about different semantics on the GNU ld section\r
17277       ld_shlibs_GCJ=no\r
17278       ;;\r
17279 \r
17280     bsdi[45]*)\r
17281       export_dynamic_flag_spec_GCJ=-rdynamic\r
17282       ;;\r
17283 \r
17284     cygwin* | mingw* | pw32*)\r
17285       # When not using gcc, we currently assume that we are using\r
17286       # Microsoft Visual C++.\r
17287       # hardcode_libdir_flag_spec is actually meaningless, as there is\r
17288       # no search path for DLLs.\r
17289       hardcode_libdir_flag_spec_GCJ=' '\r
17290       allow_undefined_flag_GCJ=unsupported\r
17291       # Tell ltmain to make .lib files, not .a files.\r
17292       libext=lib\r
17293       # Tell ltmain to make .dll files, not .so files.\r
17294       shrext_cmds=".dll"\r
17295       # FIXME: Setting linknames here is a bad hack.\r
17296       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='\r
17297       # The linker will automatically build a .lib file if we build a DLL.\r
17298       old_archive_From_new_cmds_GCJ='true'\r
17299       # FIXME: Should let the user specify the lib program.\r
17300       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'\r
17301       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'\r
17302       enable_shared_with_static_runtimes_GCJ=yes\r
17303       ;;\r
17304 \r
17305     darwin* | rhapsody*)\r
17306       case $host_os in\r
17307         rhapsody* | darwin1.[012])\r
17308          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'\r
17309          ;;\r
17310        *) # Darwin 1.3 on\r
17311          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then\r
17312            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
17313          else\r
17314            case ${MACOSX_DEPLOYMENT_TARGET} in\r
17315              10.[012])\r
17316                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'\r
17317                ;;\r
17318              10.*)\r
17319                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'\r
17320                ;;\r
17321            esac\r
17322          fi\r
17323          ;;\r
17324       esac\r
17325       archive_cmds_need_lc_GCJ=no\r
17326       hardcode_direct_GCJ=no\r
17327       hardcode_automatic_GCJ=yes\r
17328       hardcode_shlibpath_var_GCJ=unsupported\r
17329       whole_archive_flag_spec_GCJ=''\r
17330       link_all_deplibs_GCJ=yes\r
17331     if test "$GCC" = yes ; then\r
17332         output_verbose_link_cmd='echo'\r
17333         archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'\r
17334       module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
17335       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
17336       archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
17337       module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
17338     else\r
17339       case $cc_basename in\r
17340         xlc*)\r
17341          output_verbose_link_cmd='echo'\r
17342          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'\r
17343          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'\r
17344           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds\r
17345          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
17346           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'\r
17347           ;;\r
17348        *)\r
17349          ld_shlibs_GCJ=no\r
17350           ;;\r
17351       esac\r
17352     fi\r
17353       ;;\r
17354 \r
17355     dgux*)\r
17356       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17357       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17358       hardcode_shlibpath_var_GCJ=no\r
17359       ;;\r
17360 \r
17361     freebsd1*)\r
17362       ld_shlibs_GCJ=no\r
17363       ;;\r
17364 \r
17365     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor\r
17366     # support.  Future versions do this automatically, but an explicit c++rt0.o\r
17367     # does not break anything, and helps significantly (at the cost of a little\r
17368     # extra space).\r
17369     freebsd2.2*)\r
17370       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'\r
17371       hardcode_libdir_flag_spec_GCJ='-R$libdir'\r
17372       hardcode_direct_GCJ=yes\r
17373       hardcode_shlibpath_var_GCJ=no\r
17374       ;;\r
17375 \r
17376     # Unfortunately, older versions of FreeBSD 2 do not have this feature.\r
17377     freebsd2*)\r
17378       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
17379       hardcode_direct_GCJ=yes\r
17380       hardcode_minus_L_GCJ=yes\r
17381       hardcode_shlibpath_var_GCJ=no\r
17382       ;;\r
17383 \r
17384     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.\r
17385     freebsd* | kfreebsd*-gnu | dragonfly*)\r
17386       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'\r
17387       hardcode_libdir_flag_spec_GCJ='-R$libdir'\r
17388       hardcode_direct_GCJ=yes\r
17389       hardcode_shlibpath_var_GCJ=no\r
17390       ;;\r
17391 \r
17392     hpux9*)\r
17393       if test "$GCC" = yes; then\r
17394         archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
17395       else\r
17396         archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'\r
17397       fi\r
17398       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'\r
17399       hardcode_libdir_separator_GCJ=:\r
17400       hardcode_direct_GCJ=yes\r
17401 \r
17402       # hardcode_minus_L: Not really in the search PATH,\r
17403       # but as the default location of the library.\r
17404       hardcode_minus_L_GCJ=yes\r
17405       export_dynamic_flag_spec_GCJ='${wl}-E'\r
17406       ;;\r
17407 \r
17408     hpux10*)\r
17409       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
17410         archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
17411       else\r
17412         archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'\r
17413       fi\r
17414       if test "$with_gnu_ld" = no; then\r
17415         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'\r
17416         hardcode_libdir_separator_GCJ=:\r
17417 \r
17418         hardcode_direct_GCJ=yes\r
17419         export_dynamic_flag_spec_GCJ='${wl}-E'\r
17420 \r
17421         # hardcode_minus_L: Not really in the search PATH,\r
17422         # but as the default location of the library.\r
17423         hardcode_minus_L_GCJ=yes\r
17424       fi\r
17425       ;;\r
17426 \r
17427     hpux11*)\r
17428       if test "$GCC" = yes -a "$with_gnu_ld" = no; then\r
17429         case $host_cpu in\r
17430         hppa*64*)\r
17431           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17432           ;;\r
17433         ia64*)\r
17434           archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
17435           ;;\r
17436         *)\r
17437           archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
17438           ;;\r
17439         esac\r
17440       else\r
17441         case $host_cpu in\r
17442         hppa*64*)\r
17443           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17444           ;;\r
17445         ia64*)\r
17446           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'\r
17447           ;;\r
17448         *)\r
17449           archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'\r
17450           ;;\r
17451         esac\r
17452       fi\r
17453       if test "$with_gnu_ld" = no; then\r
17454         hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'\r
17455         hardcode_libdir_separator_GCJ=:\r
17456 \r
17457         case $host_cpu in\r
17458         hppa*64*|ia64*)\r
17459           hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'\r
17460           hardcode_direct_GCJ=no\r
17461           hardcode_shlibpath_var_GCJ=no\r
17462           ;;\r
17463         *)\r
17464           hardcode_direct_GCJ=yes\r
17465           export_dynamic_flag_spec_GCJ='${wl}-E'\r
17466 \r
17467           # hardcode_minus_L: Not really in the search PATH,\r
17468           # but as the default location of the library.\r
17469           hardcode_minus_L_GCJ=yes\r
17470           ;;\r
17471         esac\r
17472       fi\r
17473       ;;\r
17474 \r
17475     irix5* | irix6* | nonstopux*)\r
17476       if test "$GCC" = yes; then\r
17477         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
17478       else\r
17479         archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
17480         hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'\r
17481       fi\r
17482       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'\r
17483       hardcode_libdir_separator_GCJ=:\r
17484       link_all_deplibs_GCJ=yes\r
17485       ;;\r
17486 \r
17487     netbsd*)\r
17488       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
17489         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out\r
17490       else\r
17491         archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF\r
17492       fi\r
17493       hardcode_libdir_flag_spec_GCJ='-R$libdir'\r
17494       hardcode_direct_GCJ=yes\r
17495       hardcode_shlibpath_var_GCJ=no\r
17496       ;;\r
17497 \r
17498     newsos6)\r
17499       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17500       hardcode_direct_GCJ=yes\r
17501       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'\r
17502       hardcode_libdir_separator_GCJ=:\r
17503       hardcode_shlibpath_var_GCJ=no\r
17504       ;;\r
17505 \r
17506     openbsd*)\r
17507       hardcode_direct_GCJ=yes\r
17508       hardcode_shlibpath_var_GCJ=no\r
17509       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
17510         archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
17511         archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'\r
17512         hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'\r
17513         export_dynamic_flag_spec_GCJ='${wl}-E'\r
17514       else\r
17515        case $host_os in\r
17516          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)\r
17517            archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'\r
17518            hardcode_libdir_flag_spec_GCJ='-R$libdir'\r
17519            ;;\r
17520          *)\r
17521            archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'\r
17522            hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'\r
17523            ;;\r
17524        esac\r
17525       fi\r
17526       ;;\r
17527 \r
17528     os2*)\r
17529       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17530       hardcode_minus_L_GCJ=yes\r
17531       allow_undefined_flag_GCJ=unsupported\r
17532       archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'\r
17533       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'\r
17534       ;;\r
17535 \r
17536     osf3*)\r
17537       if test "$GCC" = yes; then\r
17538         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'\r
17539         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
17540       else\r
17541         allow_undefined_flag_GCJ=' -expect_unresolved \*'\r
17542         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
17543       fi\r
17544       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'\r
17545       hardcode_libdir_separator_GCJ=:\r
17546       ;;\r
17547 \r
17548     osf4* | osf5*)      # as osf3* with the addition of -msym flag\r
17549       if test "$GCC" = yes; then\r
17550         allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'\r
17551         archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'\r
17552         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'\r
17553       else\r
17554         allow_undefined_flag_GCJ=' -expect_unresolved \*'\r
17555         archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'\r
17556         archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~\r
17557         $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'\r
17558 \r
17559         # Both c and cxx compiler support -rpath directly\r
17560         hardcode_libdir_flag_spec_GCJ='-rpath $libdir'\r
17561       fi\r
17562       hardcode_libdir_separator_GCJ=:\r
17563       ;;\r
17564 \r
17565     solaris*)\r
17566       no_undefined_flag_GCJ=' -z text'\r
17567       if test "$GCC" = yes; then\r
17568         wlarc='${wl}'\r
17569         archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17570         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
17571           $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'\r
17572       else\r
17573         wlarc=''\r
17574         archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17575         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~\r
17576         $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'\r
17577       fi\r
17578       hardcode_libdir_flag_spec_GCJ='-R$libdir'\r
17579       hardcode_shlibpath_var_GCJ=no\r
17580       case $host_os in\r
17581       solaris2.[0-5] | solaris2.[0-5].*) ;;\r
17582       *)\r
17583         # The compiler driver will combine linker options so we\r
17584         # cannot just pass the convience library names through\r
17585         # without $wl, iff we do not link with $LD.\r
17586         # Luckily, gcc supports the same syntax we need for Sun Studio.\r
17587         # Supported since Solaris 2.6 (maybe 2.5.1?)\r
17588         case $wlarc in\r
17589         '')\r
17590           whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;\r
17591         *)\r
17592           whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;\r
17593         esac ;;\r
17594       esac\r
17595       link_all_deplibs_GCJ=yes\r
17596       ;;\r
17597 \r
17598     sunos4*)\r
17599       if test "x$host_vendor" = xsequent; then\r
17600         # Use $CC to link under sequent, because it throws in some extra .o\r
17601         # files that make .init and .fini sections work.\r
17602         archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'\r
17603       else\r
17604         archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'\r
17605       fi\r
17606       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17607       hardcode_direct_GCJ=yes\r
17608       hardcode_minus_L_GCJ=yes\r
17609       hardcode_shlibpath_var_GCJ=no\r
17610       ;;\r
17611 \r
17612     sysv4)\r
17613       case $host_vendor in\r
17614         sni)\r
17615           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17616           hardcode_direct_GCJ=yes # is this really true???\r
17617         ;;\r
17618         siemens)\r
17619           ## LD is ld it makes a PLAMLIB\r
17620           ## CC just makes a GrossModule.\r
17621           archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'\r
17622           reload_cmds_GCJ='$CC -r -o $output$reload_objs'\r
17623           hardcode_direct_GCJ=no\r
17624         ;;\r
17625         motorola)\r
17626           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17627           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie\r
17628         ;;\r
17629       esac\r
17630       runpath_var='LD_RUN_PATH'\r
17631       hardcode_shlibpath_var_GCJ=no\r
17632       ;;\r
17633 \r
17634     sysv4.3*)\r
17635       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17636       hardcode_shlibpath_var_GCJ=no\r
17637       export_dynamic_flag_spec_GCJ='-Bexport'\r
17638       ;;\r
17639 \r
17640     sysv4*MP*)\r
17641       if test -d /usr/nec; then\r
17642         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17643         hardcode_shlibpath_var_GCJ=no\r
17644         runpath_var=LD_RUN_PATH\r
17645         hardcode_runpath_var=yes\r
17646         ld_shlibs_GCJ=yes\r
17647       fi\r
17648       ;;\r
17649 \r
17650     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)\r
17651       no_undefined_flag_GCJ='${wl}-z,text'\r
17652       archive_cmds_need_lc_GCJ=no\r
17653       hardcode_shlibpath_var_GCJ=no\r
17654       runpath_var='LD_RUN_PATH'\r
17655 \r
17656       if test "$GCC" = yes; then\r
17657         archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17658         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17659       else\r
17660         archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17661         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17662       fi\r
17663       ;;\r
17664 \r
17665     sysv5* | sco3.2v5* | sco5v6*)\r
17666       # Note: We can NOT use -z defs as we might desire, because we do not\r
17667       # link with -lc, and that would cause any symbols used from libc to\r
17668       # always be unresolved, which means just about no library would\r
17669       # ever link correctly.  If we're not using GNU ld we use -z text\r
17670       # though, which does catch some bad symbols but isn't as heavy-handed\r
17671       # as -z defs.\r
17672       no_undefined_flag_GCJ='${wl}-z,text'\r
17673       allow_undefined_flag_GCJ='${wl}-z,nodefs'\r
17674       archive_cmds_need_lc_GCJ=no\r
17675       hardcode_shlibpath_var_GCJ=no\r
17676       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'\r
17677       hardcode_libdir_separator_GCJ=':'\r
17678       link_all_deplibs_GCJ=yes\r
17679       export_dynamic_flag_spec_GCJ='${wl}-Bexport'\r
17680       runpath_var='LD_RUN_PATH'\r
17681 \r
17682       if test "$GCC" = yes; then\r
17683         archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17684         archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17685       else\r
17686         archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17687         archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'\r
17688       fi\r
17689       ;;\r
17690 \r
17691     uts4*)\r
17692       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'\r
17693       hardcode_libdir_flag_spec_GCJ='-L$libdir'\r
17694       hardcode_shlibpath_var_GCJ=no\r
17695       ;;\r
17696 \r
17697     *)\r
17698       ld_shlibs_GCJ=no\r
17699       ;;\r
17700     esac\r
17701   fi\r
17702 \r
17703 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5\r
17704 $as_echo "$ld_shlibs_GCJ" >&6; }\r
17705 test "$ld_shlibs_GCJ" = no && can_build_shared=no\r
17706 \r
17707 #\r
17708 # Do we need to explicitly link libc?\r
17709 #\r
17710 case "x$archive_cmds_need_lc_GCJ" in\r
17711 x|xyes)\r
17712   # Assume -lc should be added\r
17713   archive_cmds_need_lc_GCJ=yes\r
17714 \r
17715   if test "$enable_shared" = yes && test "$GCC" = yes; then\r
17716     case $archive_cmds_GCJ in\r
17717     *'~'*)\r
17718       # FIXME: we may have to deal with multi-command sequences.\r
17719       ;;\r
17720     '$CC '*)\r
17721       # Test whether the compiler implicitly links with -lc since on some\r
17722       # systems, -lgcc has to come before -lc. If gcc already passes -lc\r
17723       # to ld, don't add -lc before -lgcc.\r
17724       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5\r
17725 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }\r
17726       $rm conftest*\r
17727       printf "$lt_simple_compile_test_code" > conftest.$ac_ext\r
17728 \r
17729       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
17730   (eval $ac_compile) 2>&5\r
17731   ac_status=$?\r
17732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
17733   (exit $ac_status); } 2>conftest.err; then\r
17734         soname=conftest\r
17735         lib=conftest\r
17736         libobjs=conftest.$ac_objext\r
17737         deplibs=\r
17738         wl=$lt_prog_compiler_wl_GCJ\r
17739         pic_flag=$lt_prog_compiler_pic_GCJ\r
17740         compiler_flags=-v\r
17741         linker_flags=-v\r
17742         verstring=\r
17743         output_objdir=.\r
17744         libname=conftest\r
17745         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ\r
17746         allow_undefined_flag_GCJ=\r
17747         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5\r
17748   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5\r
17749   ac_status=$?\r
17750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
17751   (exit $ac_status); }\r
17752         then\r
17753           archive_cmds_need_lc_GCJ=no\r
17754         else\r
17755           archive_cmds_need_lc_GCJ=yes\r
17756         fi\r
17757         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag\r
17758       else\r
17759         cat conftest.err 1>&5\r
17760       fi\r
17761       $rm conftest*\r
17762       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5\r
17763 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }\r
17764       ;;\r
17765     esac\r
17766   fi\r
17767   ;;\r
17768 esac\r
17769 \r
17770 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5\r
17771 $as_echo_n "checking dynamic linker characteristics... " >&6; }\r
17772 library_names_spec=\r
17773 libname_spec='lib$name'\r
17774 soname_spec=\r
17775 shrext_cmds=".so"\r
17776 postinstall_cmds=\r
17777 postuninstall_cmds=\r
17778 finish_cmds=\r
17779 finish_eval=\r
17780 shlibpath_var=\r
17781 shlibpath_overrides_runpath=unknown\r
17782 version_type=none\r
17783 dynamic_linker="$host_os ld.so"\r
17784 sys_lib_dlsearch_path_spec="/lib /usr/lib"\r
17785 if test "$GCC" = yes; then\r
17786   sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
17787   if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then\r
17788     # if the path contains ";" then we assume it to be the separator\r
17789     # otherwise default to the standard path separator (i.e. ":") - it is\r
17790     # assumed that no part of a normal pathname contains ";" but that should\r
17791     # okay in the real world where ";" in dirpaths is itself problematic.\r
17792     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
17793   else\r
17794     sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
17795   fi\r
17796 else\r
17797   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"\r
17798 fi\r
17799 need_lib_prefix=unknown\r
17800 hardcode_into_libs=no\r
17801 \r
17802 # when you set need_version to no, make sure it does not cause -set_version\r
17803 # flags to be left without arguments\r
17804 need_version=unknown\r
17805 \r
17806 case $host_os in\r
17807 aix3*)\r
17808   version_type=linux\r
17809   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'\r
17810   shlibpath_var=LIBPATH\r
17811 \r
17812   # AIX 3 has no versioning support, so we append a major version to the name.\r
17813   soname_spec='${libname}${release}${shared_ext}$major'\r
17814   ;;\r
17815 \r
17816 aix4* | aix5*)\r
17817   version_type=linux\r
17818   need_lib_prefix=no\r
17819   need_version=no\r
17820   hardcode_into_libs=yes\r
17821   if test "$host_cpu" = ia64; then\r
17822     # AIX 5 supports IA64\r
17823     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'\r
17824     shlibpath_var=LD_LIBRARY_PATH\r
17825   else\r
17826     # With GCC up to 2.95.x, collect2 would create an import file\r
17827     # for dependence libraries.  The import file would start with\r
17828     # the line `#! .'.  This would cause the generated library to\r
17829     # depend on `.', always an invalid library.  This was fixed in\r
17830     # development snapshots of GCC prior to 3.0.\r
17831     case $host_os in\r
17832       aix4 | aix4.[01] | aix4.[01].*)\r
17833       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'\r
17834            echo ' yes '\r
17835            echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then\r
17836         :\r
17837       else\r
17838         can_build_shared=no\r
17839       fi\r
17840       ;;\r
17841     esac\r
17842     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct\r
17843     # soname into executable. Probably we can add versioning support to\r
17844     # collect2, so additional links can be useful in future.\r
17845     if test "$aix_use_runtimelinking" = yes; then\r
17846       # If using run time linking (on AIX 4.2 or later) use lib<name>.so\r
17847       # instead of lib<name>.a to let people know that these are not\r
17848       # typical AIX shared libraries.\r
17849       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
17850     else\r
17851       # We preserve .a as extension for shared libraries through AIX4.2\r
17852       # and later when we are not doing run time linking.\r
17853       library_names_spec='${libname}${release}.a $libname.a'\r
17854       soname_spec='${libname}${release}${shared_ext}$major'\r
17855     fi\r
17856     shlibpath_var=LIBPATH\r
17857   fi\r
17858   ;;\r
17859 \r
17860 amigaos*)\r
17861   library_names_spec='$libname.ixlibrary $libname.a'\r
17862   # Create ${libname}_ixlibrary.a entries in /sys/libs.\r
17863   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'\r
17864   ;;\r
17865 \r
17866 beos*)\r
17867   library_names_spec='${libname}${shared_ext}'\r
17868   dynamic_linker="$host_os ld.so"\r
17869   shlibpath_var=LIBRARY_PATH\r
17870   ;;\r
17871 \r
17872 bsdi[45]*)\r
17873   version_type=linux\r
17874   need_version=no\r
17875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
17876   soname_spec='${libname}${release}${shared_ext}$major'\r
17877   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'\r
17878   shlibpath_var=LD_LIBRARY_PATH\r
17879   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"\r
17880   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"\r
17881   # the default ld.so.conf also contains /usr/contrib/lib and\r
17882   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow\r
17883   # libtool to hard-code these into programs\r
17884   ;;\r
17885 \r
17886 cygwin* | mingw* | pw32*)\r
17887   version_type=windows\r
17888   shrext_cmds=".dll"\r
17889   need_version=no\r
17890   need_lib_prefix=no\r
17891 \r
17892   case $GCC,$host_os in\r
17893   yes,cygwin* | yes,mingw* | yes,pw32*)\r
17894     library_names_spec='$libname.dll.a'\r
17895     # DLL is installed to $(libdir)/../bin by postinstall_cmds\r
17896     postinstall_cmds='base_file=`basename \${file}`~\r
17897       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~\r
17898       dldir=$destdir/`dirname \$dlpath`~\r
17899       test -d \$dldir || mkdir -p \$dldir~\r
17900       $install_prog $dir/$dlname \$dldir/$dlname~\r
17901       chmod a+x \$dldir/$dlname'\r
17902     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~\r
17903       dlpath=$dir/\$dldll~\r
17904        $rm \$dlpath'\r
17905     shlibpath_overrides_runpath=yes\r
17906 \r
17907     case $host_os in\r
17908     cygwin*)\r
17909       # Cygwin DLLs use 'cyg' prefix rather than 'lib'\r
17910       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
17911       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"\r
17912       ;;\r
17913     mingw*)\r
17914       # MinGW DLLs use traditional 'lib' prefix\r
17915       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
17916       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`\r
17917       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then\r
17918         # It is most probably a Windows format PATH printed by\r
17919         # mingw gcc, but we are running on Cygwin. Gcc prints its search\r
17920         # path with ; separators, and with drive letters. We can handle the\r
17921         # drive letters (cygwin fileutils understands them), so leave them,\r
17922         # especially as we might pass files found there to a mingw objdump,\r
17923         # which wouldn't understand a cygwinified path. Ahh.\r
17924         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`\r
17925       else\r
17926         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`\r
17927       fi\r
17928       ;;\r
17929     pw32*)\r
17930       # pw32 DLLs use 'pw' prefix rather than 'lib'\r
17931       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'\r
17932       ;;\r
17933     esac\r
17934     ;;\r
17935 \r
17936   *)\r
17937     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'\r
17938     ;;\r
17939   esac\r
17940   dynamic_linker='Win32 ld.exe'\r
17941   # FIXME: first we should search . and the directory the executable is in\r
17942   shlibpath_var=PATH\r
17943   ;;\r
17944 \r
17945 darwin* | rhapsody*)\r
17946   dynamic_linker="$host_os dyld"\r
17947   version_type=darwin\r
17948   need_lib_prefix=no\r
17949   need_version=no\r
17950   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'\r
17951   soname_spec='${libname}${release}${major}$shared_ext'\r
17952   shlibpath_overrides_runpath=yes\r
17953   shlibpath_var=DYLD_LIBRARY_PATH\r
17954   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'\r
17955   # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.\r
17956   if test "$GCC" = yes; then\r
17957     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`\r
17958   else\r
17959     sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'\r
17960   fi\r
17961   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'\r
17962   ;;\r
17963 \r
17964 dgux*)\r
17965   version_type=linux\r
17966   need_lib_prefix=no\r
17967   need_version=no\r
17968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'\r
17969   soname_spec='${libname}${release}${shared_ext}$major'\r
17970   shlibpath_var=LD_LIBRARY_PATH\r
17971   ;;\r
17972 \r
17973 freebsd1*)\r
17974   dynamic_linker=no\r
17975   ;;\r
17976 \r
17977 kfreebsd*-gnu)\r
17978   version_type=linux\r
17979   need_lib_prefix=no\r
17980   need_version=no\r
17981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
17982   soname_spec='${libname}${release}${shared_ext}$major'\r
17983   shlibpath_var=LD_LIBRARY_PATH\r
17984   shlibpath_overrides_runpath=no\r
17985   hardcode_into_libs=yes\r
17986   dynamic_linker='GNU ld.so'\r
17987   ;;\r
17988 \r
17989 freebsd* | dragonfly*)\r
17990   # DragonFly does not have aout.  When/if they implement a new\r
17991   # versioning mechanism, adjust this.\r
17992   if test -x /usr/bin/objformat; then\r
17993     objformat=`/usr/bin/objformat`\r
17994   else\r
17995     case $host_os in\r
17996     freebsd[123]*) objformat=aout ;;\r
17997     *) objformat=elf ;;\r
17998     esac\r
17999   fi\r
18000   version_type=freebsd-$objformat\r
18001   case $version_type in\r
18002     freebsd-elf*)\r
18003       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
18004       need_version=no\r
18005       need_lib_prefix=no\r
18006       ;;\r
18007     freebsd-*)\r
18008       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'\r
18009       need_version=yes\r
18010       ;;\r
18011   esac\r
18012   shlibpath_var=LD_LIBRARY_PATH\r
18013   case $host_os in\r
18014   freebsd2*)\r
18015     shlibpath_overrides_runpath=yes\r
18016     ;;\r
18017   freebsd3.[01]* | freebsdelf3.[01]*)\r
18018     shlibpath_overrides_runpath=yes\r
18019     hardcode_into_libs=yes\r
18020     ;;\r
18021   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \\r
18022   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)\r
18023     shlibpath_overrides_runpath=no\r
18024     hardcode_into_libs=yes\r
18025     ;;\r
18026   freebsd*) # from 4.6 on\r
18027     shlibpath_overrides_runpath=yes\r
18028     hardcode_into_libs=yes\r
18029     ;;\r
18030   esac\r
18031   ;;\r
18032 \r
18033 gnu*)\r
18034   version_type=linux\r
18035   need_lib_prefix=no\r
18036   need_version=no\r
18037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'\r
18038   soname_spec='${libname}${release}${shared_ext}$major'\r
18039   shlibpath_var=LD_LIBRARY_PATH\r
18040   hardcode_into_libs=yes\r
18041   ;;\r
18042 \r
18043 hpux9* | hpux10* | hpux11*)\r
18044   # Give a soname corresponding to the major version so that dld.sl refuses to\r
18045   # link against other versions.\r
18046   version_type=sunos\r
18047   need_lib_prefix=no\r
18048   need_version=no\r
18049   case $host_cpu in\r
18050   ia64*)\r
18051     shrext_cmds='.so'\r
18052     hardcode_into_libs=yes\r
18053     dynamic_linker="$host_os dld.so"\r
18054     shlibpath_var=LD_LIBRARY_PATH\r
18055     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
18056     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18057     soname_spec='${libname}${release}${shared_ext}$major'\r
18058     if test "X$HPUX_IA64_MODE" = X32; then\r
18059       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"\r
18060     else\r
18061       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"\r
18062     fi\r
18063     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
18064     ;;\r
18065    hppa*64*)\r
18066      shrext_cmds='.sl'\r
18067      hardcode_into_libs=yes\r
18068      dynamic_linker="$host_os dld.sl"\r
18069      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH\r
18070      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.\r
18071      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18072      soname_spec='${libname}${release}${shared_ext}$major'\r
18073      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"\r
18074      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec\r
18075      ;;\r
18076    *)\r
18077     shrext_cmds='.sl'\r
18078     dynamic_linker="$host_os dld.sl"\r
18079     shlibpath_var=SHLIB_PATH\r
18080     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH\r
18081     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18082     soname_spec='${libname}${release}${shared_ext}$major'\r
18083     ;;\r
18084   esac\r
18085   # HP-UX runs *really* slowly unless shared libraries are mode 555.\r
18086   postinstall_cmds='chmod 555 $lib'\r
18087   ;;\r
18088 \r
18089 interix3*)\r
18090   version_type=linux\r
18091   need_lib_prefix=no\r
18092   need_version=no\r
18093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
18094   soname_spec='${libname}${release}${shared_ext}$major'\r
18095   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'\r
18096   shlibpath_var=LD_LIBRARY_PATH\r
18097   shlibpath_overrides_runpath=no\r
18098   hardcode_into_libs=yes\r
18099   ;;\r
18100 \r
18101 irix5* | irix6* | nonstopux*)\r
18102   case $host_os in\r
18103     nonstopux*) version_type=nonstopux ;;\r
18104     *)\r
18105         if test "$lt_cv_prog_gnu_ld" = yes; then\r
18106                 version_type=linux\r
18107         else\r
18108                 version_type=irix\r
18109         fi ;;\r
18110   esac\r
18111   need_lib_prefix=no\r
18112   need_version=no\r
18113   soname_spec='${libname}${release}${shared_ext}$major'\r
18114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'\r
18115   case $host_os in\r
18116   irix5* | nonstopux*)\r
18117     libsuff= shlibsuff=\r
18118     ;;\r
18119   *)\r
18120     case $LD in # libtool.m4 will add one of these switches to LD\r
18121     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")\r
18122       libsuff= shlibsuff= libmagic=32-bit;;\r
18123     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")\r
18124       libsuff=32 shlibsuff=N32 libmagic=N32;;\r
18125     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")\r
18126       libsuff=64 shlibsuff=64 libmagic=64-bit;;\r
18127     *) libsuff= shlibsuff= libmagic=never-match;;\r
18128     esac\r
18129     ;;\r
18130   esac\r
18131   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH\r
18132   shlibpath_overrides_runpath=no\r
18133   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"\r
18134   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"\r
18135   hardcode_into_libs=yes\r
18136   ;;\r
18137 \r
18138 # No shared lib support for Linux oldld, aout, or coff.\r
18139 linux*oldld* | linux*aout* | linux*coff*)\r
18140   dynamic_linker=no\r
18141   ;;\r
18142 \r
18143 # This must be Linux ELF.\r
18144 linux*)\r
18145   version_type=linux\r
18146   need_lib_prefix=no\r
18147   need_version=no\r
18148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18149   soname_spec='${libname}${release}${shared_ext}$major'\r
18150   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'\r
18151   shlibpath_var=LD_LIBRARY_PATH\r
18152   shlibpath_overrides_runpath=no\r
18153   # This implies no fast_install, which is unacceptable.\r
18154   # Some rework will be needed to allow for fast_install\r
18155   # before this can be enabled.\r
18156   hardcode_into_libs=yes\r
18157 \r
18158   # find out which ABI we are using\r
18159   libsuff=\r
18160   case "$host_cpu" in\r
18161   x86_64*|s390x*|powerpc64*)\r
18162     echo '#line 18162 "configure"' > conftest.$ac_ext\r
18163     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5\r
18164   (eval $ac_compile) 2>&5\r
18165   ac_status=$?\r
18166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
18167   (exit $ac_status); }; then\r
18168       case `/usr/bin/file conftest.$ac_objext` in\r
18169       *64-bit*)\r
18170         libsuff=64\r
18171         sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"\r
18172         ;;\r
18173       esac\r
18174     fi\r
18175     rm -rf conftest*\r
18176     ;;\r
18177   esac\r
18178 \r
18179   # Append ld.so.conf contents to the search path\r
18180   if test -f /etc/ld.so.conf; then\r
18181     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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`\r
18182     sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"\r
18183   fi\r
18184 \r
18185   # We used to test for /lib/ld.so.1 and disable shared libraries on\r
18186   # powerpc, because MkLinux only supported shared libraries with the\r
18187   # GNU dynamic linker.  Since this was broken with cross compilers,\r
18188   # most powerpc-linux boxes support dynamic linking these days and\r
18189   # people can always --disable-shared, the test was removed, and we\r
18190   # assume the GNU/Linux dynamic linker is in use.\r
18191   dynamic_linker='GNU/Linux ld.so'\r
18192   ;;\r
18193 \r
18194 knetbsd*-gnu)\r
18195   version_type=linux\r
18196   need_lib_prefix=no\r
18197   need_version=no\r
18198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
18199   soname_spec='${libname}${release}${shared_ext}$major'\r
18200   shlibpath_var=LD_LIBRARY_PATH\r
18201   shlibpath_overrides_runpath=no\r
18202   hardcode_into_libs=yes\r
18203   dynamic_linker='GNU ld.so'\r
18204   ;;\r
18205 \r
18206 netbsd*)\r
18207   version_type=sunos\r
18208   need_lib_prefix=no\r
18209   need_version=no\r
18210   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then\r
18211     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
18212     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
18213     dynamic_linker='NetBSD (a.out) ld.so'\r
18214   else\r
18215     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'\r
18216     soname_spec='${libname}${release}${shared_ext}$major'\r
18217     dynamic_linker='NetBSD ld.elf_so'\r
18218   fi\r
18219   shlibpath_var=LD_LIBRARY_PATH\r
18220   shlibpath_overrides_runpath=yes\r
18221   hardcode_into_libs=yes\r
18222   ;;\r
18223 \r
18224 newsos6)\r
18225   version_type=linux\r
18226   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18227   shlibpath_var=LD_LIBRARY_PATH\r
18228   shlibpath_overrides_runpath=yes\r
18229   ;;\r
18230 \r
18231 nto-qnx*)\r
18232   version_type=linux\r
18233   need_lib_prefix=no\r
18234   need_version=no\r
18235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18236   soname_spec='${libname}${release}${shared_ext}$major'\r
18237   shlibpath_var=LD_LIBRARY_PATH\r
18238   shlibpath_overrides_runpath=yes\r
18239   ;;\r
18240 \r
18241 openbsd*)\r
18242   version_type=sunos\r
18243   sys_lib_dlsearch_path_spec="/usr/lib"\r
18244   need_lib_prefix=no\r
18245   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.\r
18246   case $host_os in\r
18247     openbsd3.3 | openbsd3.3.*) need_version=yes ;;\r
18248     *)                         need_version=no  ;;\r
18249   esac\r
18250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
18251   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'\r
18252   shlibpath_var=LD_LIBRARY_PATH\r
18253   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then\r
18254     case $host_os in\r
18255       openbsd2.[89] | openbsd2.[89].*)\r
18256         shlibpath_overrides_runpath=no\r
18257         ;;\r
18258       *)\r
18259         shlibpath_overrides_runpath=yes\r
18260         ;;\r
18261       esac\r
18262   else\r
18263     shlibpath_overrides_runpath=yes\r
18264   fi\r
18265   ;;\r
18266 \r
18267 os2*)\r
18268   libname_spec='$name'\r
18269   shrext_cmds=".dll"\r
18270   need_lib_prefix=no\r
18271   library_names_spec='$libname${shared_ext} $libname.a'\r
18272   dynamic_linker='OS/2 ld.exe'\r
18273   shlibpath_var=LIBPATH\r
18274   ;;\r
18275 \r
18276 osf3* | osf4* | osf5*)\r
18277   version_type=osf\r
18278   need_lib_prefix=no\r
18279   need_version=no\r
18280   soname_spec='${libname}${release}${shared_ext}$major'\r
18281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18282   shlibpath_var=LD_LIBRARY_PATH\r
18283   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"\r
18284   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"\r
18285   ;;\r
18286 \r
18287 solaris*)\r
18288   version_type=linux\r
18289   need_lib_prefix=no\r
18290   need_version=no\r
18291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18292   soname_spec='${libname}${release}${shared_ext}$major'\r
18293   shlibpath_var=LD_LIBRARY_PATH\r
18294   shlibpath_overrides_runpath=yes\r
18295   hardcode_into_libs=yes\r
18296   # ldd complains unless libraries are executable\r
18297   postinstall_cmds='chmod +x $lib'\r
18298   ;;\r
18299 \r
18300 sunos4*)\r
18301   version_type=sunos\r
18302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'\r
18303   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'\r
18304   shlibpath_var=LD_LIBRARY_PATH\r
18305   shlibpath_overrides_runpath=yes\r
18306   if test "$with_gnu_ld" = yes; then\r
18307     need_lib_prefix=no\r
18308   fi\r
18309   need_version=yes\r
18310   ;;\r
18311 \r
18312 sysv4 | sysv4.3*)\r
18313   version_type=linux\r
18314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18315   soname_spec='${libname}${release}${shared_ext}$major'\r
18316   shlibpath_var=LD_LIBRARY_PATH\r
18317   case $host_vendor in\r
18318     sni)\r
18319       shlibpath_overrides_runpath=no\r
18320       need_lib_prefix=no\r
18321       export_dynamic_flag_spec='${wl}-Blargedynsym'\r
18322       runpath_var=LD_RUN_PATH\r
18323       ;;\r
18324     siemens)\r
18325       need_lib_prefix=no\r
18326       ;;\r
18327     motorola)\r
18328       need_lib_prefix=no\r
18329       need_version=no\r
18330       shlibpath_overrides_runpath=no\r
18331       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'\r
18332       ;;\r
18333   esac\r
18334   ;;\r
18335 \r
18336 sysv4*MP*)\r
18337   if test -d /usr/nec ;then\r
18338     version_type=linux\r
18339     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'\r
18340     soname_spec='$libname${shared_ext}.$major'\r
18341     shlibpath_var=LD_LIBRARY_PATH\r
18342   fi\r
18343   ;;\r
18344 \r
18345 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)\r
18346   version_type=freebsd-elf\r
18347   need_lib_prefix=no\r
18348   need_version=no\r
18349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'\r
18350   soname_spec='${libname}${release}${shared_ext}$major'\r
18351   shlibpath_var=LD_LIBRARY_PATH\r
18352   hardcode_into_libs=yes\r
18353   if test "$with_gnu_ld" = yes; then\r
18354     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'\r
18355     shlibpath_overrides_runpath=no\r
18356   else\r
18357     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'\r
18358     shlibpath_overrides_runpath=yes\r
18359     case $host_os in\r
18360       sco3.2v5*)\r
18361         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"\r
18362         ;;\r
18363     esac\r
18364   fi\r
18365   sys_lib_dlsearch_path_spec='/usr/lib'\r
18366   ;;\r
18367 \r
18368 uts4*)\r
18369   version_type=linux\r
18370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'\r
18371   soname_spec='${libname}${release}${shared_ext}$major'\r
18372   shlibpath_var=LD_LIBRARY_PATH\r
18373   ;;\r
18374 \r
18375 *)\r
18376   dynamic_linker=no\r
18377   ;;\r
18378 esac\r
18379 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5\r
18380 $as_echo "$dynamic_linker" >&6; }\r
18381 test "$dynamic_linker" = no && can_build_shared=no\r
18382 \r
18383 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"\r
18384 if test "$GCC" = yes; then\r
18385   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"\r
18386 fi\r
18387 \r
18388 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5\r
18389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }\r
18390 hardcode_action_GCJ=\r
18391 if test -n "$hardcode_libdir_flag_spec_GCJ" || \\r
18392    test -n "$runpath_var_GCJ" || \\r
18393    test "X$hardcode_automatic_GCJ" = "Xyes" ; then\r
18394 \r
18395   # We can hardcode non-existant directories.\r
18396   if test "$hardcode_direct_GCJ" != no &&\r
18397      # If the only mechanism to avoid hardcoding is shlibpath_var, we\r
18398      # have to relink, otherwise we might link with an installed library\r
18399      # when we should be linking with a yet-to-be-installed one\r
18400      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&\r
18401      test "$hardcode_minus_L_GCJ" != no; then\r
18402     # Linking always hardcodes the temporary library directory.\r
18403     hardcode_action_GCJ=relink\r
18404   else\r
18405     # We can link without hardcoding, and we can hardcode nonexisting dirs.\r
18406     hardcode_action_GCJ=immediate\r
18407   fi\r
18408 else\r
18409   # We cannot hardcode anything, or else we can only hardcode existing\r
18410   # directories.\r
18411   hardcode_action_GCJ=unsupported\r
18412 fi\r
18413 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5\r
18414 $as_echo "$hardcode_action_GCJ" >&6; }\r
18415 \r
18416 if test "$hardcode_action_GCJ" = relink; then\r
18417   # Fast installation is not supported\r
18418   enable_fast_install=no\r
18419 elif test "$shlibpath_overrides_runpath" = yes ||\r
18420      test "$enable_shared" = no; then\r
18421   # Fast installation is not necessary\r
18422   enable_fast_install=needless\r
18423 fi\r
18424 \r
18425 \r
18426 # The else clause should only fire when bootstrapping the\r
18427 # libtool distribution, otherwise you forgot to ship ltmain.sh\r
18428 # with your package, and you will get complaints that there are\r
18429 # no rules to generate ltmain.sh.\r
18430 if test -f "$ltmain"; then\r
18431   # See if we are running on zsh, and set the options which allow our commands through\r
18432   # without removal of \ escapes.\r
18433   if test -n "${ZSH_VERSION+set}" ; then\r
18434     setopt NO_GLOB_SUBST\r
18435   fi\r
18436   # Now quote all the things that may contain metacharacters while being\r
18437   # careful not to overquote the AC_SUBSTed values.  We take copies of the\r
18438   # variables and quote the copies for generation of the libtool script.\r
18439   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \\r
18440     SED SHELL STRIP \\r
18441     libname_spec library_names_spec soname_spec extract_expsyms_cmds \\r
18442     old_striplib striplib file_magic_cmd finish_cmds finish_eval \\r
18443     deplibs_check_method reload_flag reload_cmds need_locks \\r
18444     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \\r
18445     lt_cv_sys_global_symbol_to_c_name_address \\r
18446     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \\r
18447     old_postinstall_cmds old_postuninstall_cmds \\r
18448     compiler_GCJ \\r
18449     CC_GCJ \\r
18450     LD_GCJ \\r
18451     lt_prog_compiler_wl_GCJ \\r
18452     lt_prog_compiler_pic_GCJ \\r
18453     lt_prog_compiler_static_GCJ \\r
18454     lt_prog_compiler_no_builtin_flag_GCJ \\r
18455     export_dynamic_flag_spec_GCJ \\r
18456     thread_safe_flag_spec_GCJ \\r
18457     whole_archive_flag_spec_GCJ \\r
18458     enable_shared_with_static_runtimes_GCJ \\r
18459     old_archive_cmds_GCJ \\r
18460     old_archive_from_new_cmds_GCJ \\r
18461     predep_objects_GCJ \\r
18462     postdep_objects_GCJ \\r
18463     predeps_GCJ \\r
18464     postdeps_GCJ \\r
18465     compiler_lib_search_path_GCJ \\r
18466     archive_cmds_GCJ \\r
18467     archive_expsym_cmds_GCJ \\r
18468     postinstall_cmds_GCJ \\r
18469     postuninstall_cmds_GCJ \\r
18470     old_archive_from_expsyms_cmds_GCJ \\r
18471     allow_undefined_flag_GCJ \\r
18472     no_undefined_flag_GCJ \\r
18473     export_symbols_cmds_GCJ \\r
18474     hardcode_libdir_flag_spec_GCJ \\r
18475     hardcode_libdir_flag_spec_ld_GCJ \\r
18476     hardcode_libdir_separator_GCJ \\r
18477     hardcode_automatic_GCJ \\r
18478     module_cmds_GCJ \\r
18479     module_expsym_cmds_GCJ \\r
18480     lt_cv_prog_compiler_c_o_GCJ \\r
18481     exclude_expsyms_GCJ \\r
18482     include_expsyms_GCJ; do\r
18483 \r
18484     case $var in\r
18485     old_archive_cmds_GCJ | \\r
18486     old_archive_from_new_cmds_GCJ | \\r
18487     archive_cmds_GCJ | \\r
18488     archive_expsym_cmds_GCJ | \\r
18489     module_cmds_GCJ | \\r
18490     module_expsym_cmds_GCJ | \\r
18491     old_archive_from_expsyms_cmds_GCJ | \\r
18492     export_symbols_cmds_GCJ | \\r
18493     extract_expsyms_cmds | reload_cmds | finish_cmds | \\r
18494     postinstall_cmds | postuninstall_cmds | \\r
18495     old_postinstall_cmds | old_postuninstall_cmds | \\r
18496     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)\r
18497       # Double-quote double-evaled strings.\r
18498       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""\r
18499       ;;\r
18500     *)\r
18501       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""\r
18502       ;;\r
18503     esac\r
18504   done\r
18505 \r
18506   case $lt_echo in\r
18507   *'\$0 --fallback-echo"')\r
18508     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`\r
18509     ;;\r
18510   esac\r
18511 \r
18512 cfgfile="$ofile"\r
18513 \r
18514   cat <<__EOF__ >> "$cfgfile"\r
18515 # ### BEGIN LIBTOOL TAG CONFIG: $tagname\r
18516 \r
18517 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
18518 \r
18519 # Shell to use when invoking shell scripts.\r
18520 SHELL=$lt_SHELL\r
18521 \r
18522 # Whether or not to build shared libraries.\r
18523 build_libtool_libs=$enable_shared\r
18524 \r
18525 # Whether or not to build static libraries.\r
18526 build_old_libs=$enable_static\r
18527 \r
18528 # Whether or not to add -lc for building shared libraries.\r
18529 build_libtool_need_lc=$archive_cmds_need_lc_GCJ\r
18530 \r
18531 # Whether or not to disallow shared libs when runtime libs are static\r
18532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ\r
18533 \r
18534 # Whether or not to optimize for fast installation.\r
18535 fast_install=$enable_fast_install\r
18536 \r
18537 # The host system.\r
18538 host_alias=$host_alias\r
18539 host=$host\r
18540 host_os=$host_os\r
18541 \r
18542 # The build system.\r
18543 build_alias=$build_alias\r
18544 build=$build\r
18545 build_os=$build_os\r
18546 \r
18547 # An echo program that does not interpret backslashes.\r
18548 echo=$lt_echo\r
18549 \r
18550 # The archiver.\r
18551 AR=$lt_AR\r
18552 AR_FLAGS=$lt_AR_FLAGS\r
18553 \r
18554 # A C compiler.\r
18555 LTCC=$lt_LTCC\r
18556 \r
18557 # LTCC compiler flags.\r
18558 LTCFLAGS=$lt_LTCFLAGS\r
18559 \r
18560 # A language-specific compiler.\r
18561 CC=$lt_compiler_GCJ\r
18562 \r
18563 # Is the compiler the GNU C compiler?\r
18564 with_gcc=$GCC_GCJ\r
18565 \r
18566 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`\r
18567 gcc_ver=\`gcc -dumpversion\`\r
18568 \r
18569 # An ERE matcher.\r
18570 EGREP=$lt_EGREP\r
18571 \r
18572 # The linker used to build libraries.\r
18573 LD=$lt_LD_GCJ\r
18574 \r
18575 # Whether we need hard or soft links.\r
18576 LN_S=$lt_LN_S\r
18577 \r
18578 # A BSD-compatible nm program.\r
18579 NM=$lt_NM\r
18580 \r
18581 # A symbol stripping program\r
18582 STRIP=$lt_STRIP\r
18583 \r
18584 # Used to examine libraries when file_magic_cmd begins "file"\r
18585 MAGIC_CMD=$MAGIC_CMD\r
18586 \r
18587 # Used on cygwin: DLL creation program.\r
18588 DLLTOOL="$DLLTOOL"\r
18589 \r
18590 # Used on cygwin: object dumper.\r
18591 OBJDUMP="$OBJDUMP"\r
18592 \r
18593 # Used on cygwin: assembler.\r
18594 AS="$AS"\r
18595 \r
18596 # The name of the directory that contains temporary libtool files.\r
18597 objdir=$objdir\r
18598 \r
18599 # How to create reloadable object files.\r
18600 reload_flag=$lt_reload_flag\r
18601 reload_cmds=$lt_reload_cmds\r
18602 \r
18603 # How to pass a linker flag through the compiler.\r
18604 wl=$lt_lt_prog_compiler_wl_GCJ\r
18605 \r
18606 # Object file suffix (normally "o").\r
18607 objext="$ac_objext"\r
18608 \r
18609 # Old archive suffix (normally "a").\r
18610 libext="$libext"\r
18611 \r
18612 # Shared library suffix (normally ".so").\r
18613 shrext_cmds='$shrext_cmds'\r
18614 \r
18615 # Executable file suffix (normally "").\r
18616 exeext="$exeext"\r
18617 \r
18618 # Additional compiler flags for building library objects.\r
18619 pic_flag=$lt_lt_prog_compiler_pic_GCJ\r
18620 pic_mode=$pic_mode\r
18621 \r
18622 # What is the maximum length of a command?\r
18623 max_cmd_len=$lt_cv_sys_max_cmd_len\r
18624 \r
18625 # Does compiler simultaneously support -c and -o options?\r
18626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ\r
18627 \r
18628 # Must we lock files when doing compilation?\r
18629 need_locks=$lt_need_locks\r
18630 \r
18631 # Do we need the lib prefix for modules?\r
18632 need_lib_prefix=$need_lib_prefix\r
18633 \r
18634 # Do we need a version for libraries?\r
18635 need_version=$need_version\r
18636 \r
18637 # Whether dlopen is supported.\r
18638 dlopen_support=$enable_dlopen\r
18639 \r
18640 # Whether dlopen of programs is supported.\r
18641 dlopen_self=$enable_dlopen_self\r
18642 \r
18643 # Whether dlopen of statically linked programs is supported.\r
18644 dlopen_self_static=$enable_dlopen_self_static\r
18645 \r
18646 # Compiler flag to prevent dynamic linking.\r
18647 link_static_flag=$lt_lt_prog_compiler_static_GCJ\r
18648 \r
18649 # Compiler flag to turn off builtin functions.\r
18650 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ\r
18651 \r
18652 # Compiler flag to allow reflexive dlopens.\r
18653 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ\r
18654 \r
18655 # Compiler flag to generate shared objects directly from archives.\r
18656 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ\r
18657 \r
18658 # Compiler flag to generate thread-safe objects.\r
18659 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ\r
18660 \r
18661 # Library versioning type.\r
18662 version_type=$version_type\r
18663 \r
18664 # Format of library name prefix.\r
18665 libname_spec=$lt_libname_spec\r
18666 \r
18667 # List of archive names.  First name is the real one, the rest are links.\r
18668 # The last name is the one that the linker finds with -lNAME.\r
18669 library_names_spec=$lt_library_names_spec\r
18670 \r
18671 # The coded name of the library, if different from the real name.\r
18672 soname_spec=$lt_soname_spec\r
18673 \r
18674 # Commands used to build and install an old-style archive.\r
18675 RANLIB=$lt_RANLIB\r
18676 old_archive_cmds=$lt_old_archive_cmds_GCJ\r
18677 old_postinstall_cmds=$lt_old_postinstall_cmds\r
18678 old_postuninstall_cmds=$lt_old_postuninstall_cmds\r
18679 \r
18680 # Create an old-style archive from a shared archive.\r
18681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ\r
18682 \r
18683 # Create a temporary old-style archive to link instead of a shared archive.\r
18684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ\r
18685 \r
18686 # Commands used to build and install a shared archive.\r
18687 archive_cmds=$lt_archive_cmds_GCJ\r
18688 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ\r
18689 postinstall_cmds=$lt_postinstall_cmds\r
18690 postuninstall_cmds=$lt_postuninstall_cmds\r
18691 \r
18692 # Commands used to build a loadable module (assumed same as above if empty)\r
18693 module_cmds=$lt_module_cmds_GCJ\r
18694 module_expsym_cmds=$lt_module_expsym_cmds_GCJ\r
18695 \r
18696 # Commands to strip libraries.\r
18697 old_striplib=$lt_old_striplib\r
18698 striplib=$lt_striplib\r
18699 \r
18700 # Dependencies to place before the objects being linked to create a\r
18701 # shared library.\r
18702 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
18703 \r
18704 # Dependencies to place after the objects being linked to create a\r
18705 # shared library.\r
18706 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
18707 \r
18708 # Dependencies to place before the objects being linked to create a\r
18709 # shared library.\r
18710 predeps=$lt_predeps_GCJ\r
18711 \r
18712 # Dependencies to place after the objects being linked to create a\r
18713 # shared library.\r
18714 postdeps=$lt_postdeps_GCJ\r
18715 \r
18716 # The library search path used internally by the compiler when linking\r
18717 # a shared library.\r
18718 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
18719 \r
18720 # Method to check whether dependent libraries are shared objects.\r
18721 deplibs_check_method=$lt_deplibs_check_method\r
18722 \r
18723 # Command to use when deplibs_check_method == file_magic.\r
18724 file_magic_cmd=$lt_file_magic_cmd\r
18725 \r
18726 # Flag that allows shared libraries with undefined symbols to be built.\r
18727 allow_undefined_flag=$lt_allow_undefined_flag_GCJ\r
18728 \r
18729 # Flag that forces no undefined symbols.\r
18730 no_undefined_flag=$lt_no_undefined_flag_GCJ\r
18731 \r
18732 # Commands used to finish a libtool library installation in a directory.\r
18733 finish_cmds=$lt_finish_cmds\r
18734 \r
18735 # Same as above, but a single script fragment to be evaled but not shown.\r
18736 finish_eval=$lt_finish_eval\r
18737 \r
18738 # Take the output of nm and produce a listing of raw symbols and C names.\r
18739 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe\r
18740 \r
18741 # Transform the output of nm in a proper C declaration\r
18742 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl\r
18743 \r
18744 # Transform the output of nm in a C name address pair\r
18745 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address\r
18746 \r
18747 # This is the shared library runtime path variable.\r
18748 runpath_var=$runpath_var\r
18749 \r
18750 # This is the shared library path variable.\r
18751 shlibpath_var=$shlibpath_var\r
18752 \r
18753 # Is shlibpath searched before the hard-coded library search path?\r
18754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath\r
18755 \r
18756 # How to hardcode a shared library path into an executable.\r
18757 hardcode_action=$hardcode_action_GCJ\r
18758 \r
18759 # Whether we should hardcode library paths into libraries.\r
18760 hardcode_into_libs=$hardcode_into_libs\r
18761 \r
18762 # Flag to hardcode \$libdir into a binary during linking.\r
18763 # This must work even if \$libdir does not exist.\r
18764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ\r
18765 \r
18766 # If ld is used when linking, flag to hardcode \$libdir into\r
18767 # a binary during linking. This must work even if \$libdir does\r
18768 # not exist.\r
18769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ\r
18770 \r
18771 # Whether we need a single -rpath flag with a separated argument.\r
18772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ\r
18773 \r
18774 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the\r
18775 # resulting binary.\r
18776 hardcode_direct=$hardcode_direct_GCJ\r
18777 \r
18778 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the\r
18779 # resulting binary.\r
18780 hardcode_minus_L=$hardcode_minus_L_GCJ\r
18781 \r
18782 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into\r
18783 # the resulting binary.\r
18784 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ\r
18785 \r
18786 # Set to yes if building a shared library automatically hardcodes DIR into the library\r
18787 # and all subsequent libraries and executables linked against it.\r
18788 hardcode_automatic=$hardcode_automatic_GCJ\r
18789 \r
18790 # Variables whose values should be saved in libtool wrapper scripts and\r
18791 # restored at relink time.\r
18792 variables_saved_for_relink="$variables_saved_for_relink"\r
18793 \r
18794 # Whether libtool must link a program against all its dependency libraries.\r
18795 link_all_deplibs=$link_all_deplibs_GCJ\r
18796 \r
18797 # Compile-time system search path for libraries\r
18798 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
18799 \r
18800 # Run-time system search path for libraries\r
18801 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec\r
18802 \r
18803 # Fix the shell variable \$srcfile for the compiler.\r
18804 fix_srcfile_path="$fix_srcfile_path_GCJ"\r
18805 \r
18806 # Set to yes if exported symbols are required.\r
18807 always_export_symbols=$always_export_symbols_GCJ\r
18808 \r
18809 # The commands to list exported symbols.\r
18810 export_symbols_cmds=$lt_export_symbols_cmds_GCJ\r
18811 \r
18812 # The commands to extract the exported symbol list from a shared archive.\r
18813 extract_expsyms_cmds=$lt_extract_expsyms_cmds\r
18814 \r
18815 # Symbols that should not be listed in the preloaded symbols.\r
18816 exclude_expsyms=$lt_exclude_expsyms_GCJ\r
18817 \r
18818 # Symbols that must always be exported.\r
18819 include_expsyms=$lt_include_expsyms_GCJ\r
18820 \r
18821 # ### END LIBTOOL TAG CONFIG: $tagname\r
18822 \r
18823 __EOF__\r
18824 \r
18825 \r
18826 else\r
18827   # If there is no Makefile yet, we rely on a make rule to execute\r
18828   # `config.status --recheck' to rerun these tests and create the\r
18829   # libtool script then.\r
18830   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`\r
18831   if test -f "$ltmain_in"; then\r
18832     test -f Makefile && make "$ltmain"\r
18833   fi\r
18834 fi\r
18835 \r
18836 \r
18837 ac_ext=c\r
18838 ac_cpp='$CPP $CPPFLAGS'\r
18839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
18840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
18841 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
18842 \r
18843 CC="$lt_save_CC"\r
18844 \r
18845         else\r
18846           tagname=""\r
18847         fi\r
18848         ;;\r
18849 \r
18850       RC)\r
18851 \r
18852 \r
18853 # Source file extension for RC test sources.\r
18854 ac_ext=rc\r
18855 \r
18856 # Object file extension for compiled RC test sources.\r
18857 objext=o\r
18858 objext_RC=$objext\r
18859 \r
18860 # Code to be used in simple compile tests\r
18861 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'\r
18862 \r
18863 # Code to be used in simple link tests\r
18864 lt_simple_link_test_code="$lt_simple_compile_test_code"\r
18865 \r
18866 # ltmain only uses $CC for tagged configurations so make sure $CC is set.\r
18867 \r
18868 # If no C compiler was specified, use CC.\r
18869 LTCC=${LTCC-"$CC"}\r
18870 \r
18871 # If no C compiler flags were specified, use CFLAGS.\r
18872 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}\r
18873 \r
18874 # Allow CC to be a program name with arguments.\r
18875 compiler=$CC\r
18876 \r
18877 \r
18878 # save warnings/boilerplate of simple test code\r
18879 ac_outfile=conftest.$ac_objext\r
18880 printf "$lt_simple_compile_test_code" >conftest.$ac_ext\r
18881 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
18882 _lt_compiler_boilerplate=`cat conftest.err`\r
18883 $rm conftest*\r
18884 \r
18885 ac_outfile=conftest.$ac_objext\r
18886 printf "$lt_simple_link_test_code" >conftest.$ac_ext\r
18887 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err\r
18888 _lt_linker_boilerplate=`cat conftest.err`\r
18889 $rm conftest*\r
18890 \r
18891 \r
18892 # Allow CC to be a program name with arguments.\r
18893 lt_save_CC="$CC"\r
18894 CC=${RC-"windres"}\r
18895 compiler=$CC\r
18896 compiler_RC=$CC\r
18897 for cc_temp in $compiler""; do\r
18898   case $cc_temp in\r
18899     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;\r
18900     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;\r
18901     \-*) ;;\r
18902     *) break;;\r
18903   esac\r
18904 done\r
18905 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`\r
18906 \r
18907 lt_cv_prog_compiler_c_o_RC=yes\r
18908 \r
18909 # The else clause should only fire when bootstrapping the\r
18910 # libtool distribution, otherwise you forgot to ship ltmain.sh\r
18911 # with your package, and you will get complaints that there are\r
18912 # no rules to generate ltmain.sh.\r
18913 if test -f "$ltmain"; then\r
18914   # See if we are running on zsh, and set the options which allow our commands through\r
18915   # without removal of \ escapes.\r
18916   if test -n "${ZSH_VERSION+set}" ; then\r
18917     setopt NO_GLOB_SUBST\r
18918   fi\r
18919   # Now quote all the things that may contain metacharacters while being\r
18920   # careful not to overquote the AC_SUBSTed values.  We take copies of the\r
18921   # variables and quote the copies for generation of the libtool script.\r
18922   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \\r
18923     SED SHELL STRIP \\r
18924     libname_spec library_names_spec soname_spec extract_expsyms_cmds \\r
18925     old_striplib striplib file_magic_cmd finish_cmds finish_eval \\r
18926     deplibs_check_method reload_flag reload_cmds need_locks \\r
18927     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \\r
18928     lt_cv_sys_global_symbol_to_c_name_address \\r
18929     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \\r
18930     old_postinstall_cmds old_postuninstall_cmds \\r
18931     compiler_RC \\r
18932     CC_RC \\r
18933     LD_RC \\r
18934     lt_prog_compiler_wl_RC \\r
18935     lt_prog_compiler_pic_RC \\r
18936     lt_prog_compiler_static_RC \\r
18937     lt_prog_compiler_no_builtin_flag_RC \\r
18938     export_dynamic_flag_spec_RC \\r
18939     thread_safe_flag_spec_RC \\r
18940     whole_archive_flag_spec_RC \\r
18941     enable_shared_with_static_runtimes_RC \\r
18942     old_archive_cmds_RC \\r
18943     old_archive_from_new_cmds_RC \\r
18944     predep_objects_RC \\r
18945     postdep_objects_RC \\r
18946     predeps_RC \\r
18947     postdeps_RC \\r
18948     compiler_lib_search_path_RC \\r
18949     archive_cmds_RC \\r
18950     archive_expsym_cmds_RC \\r
18951     postinstall_cmds_RC \\r
18952     postuninstall_cmds_RC \\r
18953     old_archive_from_expsyms_cmds_RC \\r
18954     allow_undefined_flag_RC \\r
18955     no_undefined_flag_RC \\r
18956     export_symbols_cmds_RC \\r
18957     hardcode_libdir_flag_spec_RC \\r
18958     hardcode_libdir_flag_spec_ld_RC \\r
18959     hardcode_libdir_separator_RC \\r
18960     hardcode_automatic_RC \\r
18961     module_cmds_RC \\r
18962     module_expsym_cmds_RC \\r
18963     lt_cv_prog_compiler_c_o_RC \\r
18964     exclude_expsyms_RC \\r
18965     include_expsyms_RC; do\r
18966 \r
18967     case $var in\r
18968     old_archive_cmds_RC | \\r
18969     old_archive_from_new_cmds_RC | \\r
18970     archive_cmds_RC | \\r
18971     archive_expsym_cmds_RC | \\r
18972     module_cmds_RC | \\r
18973     module_expsym_cmds_RC | \\r
18974     old_archive_from_expsyms_cmds_RC | \\r
18975     export_symbols_cmds_RC | \\r
18976     extract_expsyms_cmds | reload_cmds | finish_cmds | \\r
18977     postinstall_cmds | postuninstall_cmds | \\r
18978     old_postinstall_cmds | old_postuninstall_cmds | \\r
18979     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)\r
18980       # Double-quote double-evaled strings.\r
18981       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""\r
18982       ;;\r
18983     *)\r
18984       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""\r
18985       ;;\r
18986     esac\r
18987   done\r
18988 \r
18989   case $lt_echo in\r
18990   *'\$0 --fallback-echo"')\r
18991     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`\r
18992     ;;\r
18993   esac\r
18994 \r
18995 cfgfile="$ofile"\r
18996 \r
18997   cat <<__EOF__ >> "$cfgfile"\r
18998 # ### BEGIN LIBTOOL TAG CONFIG: $tagname\r
18999 \r
19000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:\r
19001 \r
19002 # Shell to use when invoking shell scripts.\r
19003 SHELL=$lt_SHELL\r
19004 \r
19005 # Whether or not to build shared libraries.\r
19006 build_libtool_libs=$enable_shared\r
19007 \r
19008 # Whether or not to build static libraries.\r
19009 build_old_libs=$enable_static\r
19010 \r
19011 # Whether or not to add -lc for building shared libraries.\r
19012 build_libtool_need_lc=$archive_cmds_need_lc_RC\r
19013 \r
19014 # Whether or not to disallow shared libs when runtime libs are static\r
19015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC\r
19016 \r
19017 # Whether or not to optimize for fast installation.\r
19018 fast_install=$enable_fast_install\r
19019 \r
19020 # The host system.\r
19021 host_alias=$host_alias\r
19022 host=$host\r
19023 host_os=$host_os\r
19024 \r
19025 # The build system.\r
19026 build_alias=$build_alias\r
19027 build=$build\r
19028 build_os=$build_os\r
19029 \r
19030 # An echo program that does not interpret backslashes.\r
19031 echo=$lt_echo\r
19032 \r
19033 # The archiver.\r
19034 AR=$lt_AR\r
19035 AR_FLAGS=$lt_AR_FLAGS\r
19036 \r
19037 # A C compiler.\r
19038 LTCC=$lt_LTCC\r
19039 \r
19040 # LTCC compiler flags.\r
19041 LTCFLAGS=$lt_LTCFLAGS\r
19042 \r
19043 # A language-specific compiler.\r
19044 CC=$lt_compiler_RC\r
19045 \r
19046 # Is the compiler the GNU C compiler?\r
19047 with_gcc=$GCC_RC\r
19048 \r
19049 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`\r
19050 gcc_ver=\`gcc -dumpversion\`\r
19051 \r
19052 # An ERE matcher.\r
19053 EGREP=$lt_EGREP\r
19054 \r
19055 # The linker used to build libraries.\r
19056 LD=$lt_LD_RC\r
19057 \r
19058 # Whether we need hard or soft links.\r
19059 LN_S=$lt_LN_S\r
19060 \r
19061 # A BSD-compatible nm program.\r
19062 NM=$lt_NM\r
19063 \r
19064 # A symbol stripping program\r
19065 STRIP=$lt_STRIP\r
19066 \r
19067 # Used to examine libraries when file_magic_cmd begins "file"\r
19068 MAGIC_CMD=$MAGIC_CMD\r
19069 \r
19070 # Used on cygwin: DLL creation program.\r
19071 DLLTOOL="$DLLTOOL"\r
19072 \r
19073 # Used on cygwin: object dumper.\r
19074 OBJDUMP="$OBJDUMP"\r
19075 \r
19076 # Used on cygwin: assembler.\r
19077 AS="$AS"\r
19078 \r
19079 # The name of the directory that contains temporary libtool files.\r
19080 objdir=$objdir\r
19081 \r
19082 # How to create reloadable object files.\r
19083 reload_flag=$lt_reload_flag\r
19084 reload_cmds=$lt_reload_cmds\r
19085 \r
19086 # How to pass a linker flag through the compiler.\r
19087 wl=$lt_lt_prog_compiler_wl_RC\r
19088 \r
19089 # Object file suffix (normally "o").\r
19090 objext="$ac_objext"\r
19091 \r
19092 # Old archive suffix (normally "a").\r
19093 libext="$libext"\r
19094 \r
19095 # Shared library suffix (normally ".so").\r
19096 shrext_cmds='$shrext_cmds'\r
19097 \r
19098 # Executable file suffix (normally "").\r
19099 exeext="$exeext"\r
19100 \r
19101 # Additional compiler flags for building library objects.\r
19102 pic_flag=$lt_lt_prog_compiler_pic_RC\r
19103 pic_mode=$pic_mode\r
19104 \r
19105 # What is the maximum length of a command?\r
19106 max_cmd_len=$lt_cv_sys_max_cmd_len\r
19107 \r
19108 # Does compiler simultaneously support -c and -o options?\r
19109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC\r
19110 \r
19111 # Must we lock files when doing compilation?\r
19112 need_locks=$lt_need_locks\r
19113 \r
19114 # Do we need the lib prefix for modules?\r
19115 need_lib_prefix=$need_lib_prefix\r
19116 \r
19117 # Do we need a version for libraries?\r
19118 need_version=$need_version\r
19119 \r
19120 # Whether dlopen is supported.\r
19121 dlopen_support=$enable_dlopen\r
19122 \r
19123 # Whether dlopen of programs is supported.\r
19124 dlopen_self=$enable_dlopen_self\r
19125 \r
19126 # Whether dlopen of statically linked programs is supported.\r
19127 dlopen_self_static=$enable_dlopen_self_static\r
19128 \r
19129 # Compiler flag to prevent dynamic linking.\r
19130 link_static_flag=$lt_lt_prog_compiler_static_RC\r
19131 \r
19132 # Compiler flag to turn off builtin functions.\r
19133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC\r
19134 \r
19135 # Compiler flag to allow reflexive dlopens.\r
19136 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC\r
19137 \r
19138 # Compiler flag to generate shared objects directly from archives.\r
19139 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC\r
19140 \r
19141 # Compiler flag to generate thread-safe objects.\r
19142 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC\r
19143 \r
19144 # Library versioning type.\r
19145 version_type=$version_type\r
19146 \r
19147 # Format of library name prefix.\r
19148 libname_spec=$lt_libname_spec\r
19149 \r
19150 # List of archive names.  First name is the real one, the rest are links.\r
19151 # The last name is the one that the linker finds with -lNAME.\r
19152 library_names_spec=$lt_library_names_spec\r
19153 \r
19154 # The coded name of the library, if different from the real name.\r
19155 soname_spec=$lt_soname_spec\r
19156 \r
19157 # Commands used to build and install an old-style archive.\r
19158 RANLIB=$lt_RANLIB\r
19159 old_archive_cmds=$lt_old_archive_cmds_RC\r
19160 old_postinstall_cmds=$lt_old_postinstall_cmds\r
19161 old_postuninstall_cmds=$lt_old_postuninstall_cmds\r
19162 \r
19163 # Create an old-style archive from a shared archive.\r
19164 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC\r
19165 \r
19166 # Create a temporary old-style archive to link instead of a shared archive.\r
19167 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC\r
19168 \r
19169 # Commands used to build and install a shared archive.\r
19170 archive_cmds=$lt_archive_cmds_RC\r
19171 archive_expsym_cmds=$lt_archive_expsym_cmds_RC\r
19172 postinstall_cmds=$lt_postinstall_cmds\r
19173 postuninstall_cmds=$lt_postuninstall_cmds\r
19174 \r
19175 # Commands used to build a loadable module (assumed same as above if empty)\r
19176 module_cmds=$lt_module_cmds_RC\r
19177 module_expsym_cmds=$lt_module_expsym_cmds_RC\r
19178 \r
19179 # Commands to strip libraries.\r
19180 old_striplib=$lt_old_striplib\r
19181 striplib=$lt_striplib\r
19182 \r
19183 # Dependencies to place before the objects being linked to create a\r
19184 # shared library.\r
19185 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
19186 \r
19187 # Dependencies to place after the objects being linked to create a\r
19188 # shared library.\r
19189 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
19190 \r
19191 # Dependencies to place before the objects being linked to create a\r
19192 # shared library.\r
19193 predeps=$lt_predeps_RC\r
19194 \r
19195 # Dependencies to place after the objects being linked to create a\r
19196 # shared library.\r
19197 postdeps=$lt_postdeps_RC\r
19198 \r
19199 # The library search path used internally by the compiler when linking\r
19200 # a shared library.\r
19201 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
19202 \r
19203 # Method to check whether dependent libraries are shared objects.\r
19204 deplibs_check_method=$lt_deplibs_check_method\r
19205 \r
19206 # Command to use when deplibs_check_method == file_magic.\r
19207 file_magic_cmd=$lt_file_magic_cmd\r
19208 \r
19209 # Flag that allows shared libraries with undefined symbols to be built.\r
19210 allow_undefined_flag=$lt_allow_undefined_flag_RC\r
19211 \r
19212 # Flag that forces no undefined symbols.\r
19213 no_undefined_flag=$lt_no_undefined_flag_RC\r
19214 \r
19215 # Commands used to finish a libtool library installation in a directory.\r
19216 finish_cmds=$lt_finish_cmds\r
19217 \r
19218 # Same as above, but a single script fragment to be evaled but not shown.\r
19219 finish_eval=$lt_finish_eval\r
19220 \r
19221 # Take the output of nm and produce a listing of raw symbols and C names.\r
19222 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe\r
19223 \r
19224 # Transform the output of nm in a proper C declaration\r
19225 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl\r
19226 \r
19227 # Transform the output of nm in a C name address pair\r
19228 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address\r
19229 \r
19230 # This is the shared library runtime path variable.\r
19231 runpath_var=$runpath_var\r
19232 \r
19233 # This is the shared library path variable.\r
19234 shlibpath_var=$shlibpath_var\r
19235 \r
19236 # Is shlibpath searched before the hard-coded library search path?\r
19237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath\r
19238 \r
19239 # How to hardcode a shared library path into an executable.\r
19240 hardcode_action=$hardcode_action_RC\r
19241 \r
19242 # Whether we should hardcode library paths into libraries.\r
19243 hardcode_into_libs=$hardcode_into_libs\r
19244 \r
19245 # Flag to hardcode \$libdir into a binary during linking.\r
19246 # This must work even if \$libdir does not exist.\r
19247 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC\r
19248 \r
19249 # If ld is used when linking, flag to hardcode \$libdir into\r
19250 # a binary during linking. This must work even if \$libdir does\r
19251 # not exist.\r
19252 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC\r
19253 \r
19254 # Whether we need a single -rpath flag with a separated argument.\r
19255 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC\r
19256 \r
19257 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the\r
19258 # resulting binary.\r
19259 hardcode_direct=$hardcode_direct_RC\r
19260 \r
19261 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the\r
19262 # resulting binary.\r
19263 hardcode_minus_L=$hardcode_minus_L_RC\r
19264 \r
19265 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into\r
19266 # the resulting binary.\r
19267 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC\r
19268 \r
19269 # Set to yes if building a shared library automatically hardcodes DIR into the library\r
19270 # and all subsequent libraries and executables linked against it.\r
19271 hardcode_automatic=$hardcode_automatic_RC\r
19272 \r
19273 # Variables whose values should be saved in libtool wrapper scripts and\r
19274 # restored at relink time.\r
19275 variables_saved_for_relink="$variables_saved_for_relink"\r
19276 \r
19277 # Whether libtool must link a program against all its dependency libraries.\r
19278 link_all_deplibs=$link_all_deplibs_RC\r
19279 \r
19280 # Compile-time system search path for libraries\r
19281 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`\r
19282 \r
19283 # Run-time system search path for libraries\r
19284 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec\r
19285 \r
19286 # Fix the shell variable \$srcfile for the compiler.\r
19287 fix_srcfile_path="$fix_srcfile_path_RC"\r
19288 \r
19289 # Set to yes if exported symbols are required.\r
19290 always_export_symbols=$always_export_symbols_RC\r
19291 \r
19292 # The commands to list exported symbols.\r
19293 export_symbols_cmds=$lt_export_symbols_cmds_RC\r
19294 \r
19295 # The commands to extract the exported symbol list from a shared archive.\r
19296 extract_expsyms_cmds=$lt_extract_expsyms_cmds\r
19297 \r
19298 # Symbols that should not be listed in the preloaded symbols.\r
19299 exclude_expsyms=$lt_exclude_expsyms_RC\r
19300 \r
19301 # Symbols that must always be exported.\r
19302 include_expsyms=$lt_include_expsyms_RC\r
19303 \r
19304 # ### END LIBTOOL TAG CONFIG: $tagname\r
19305 \r
19306 __EOF__\r
19307 \r
19308 \r
19309 else\r
19310   # If there is no Makefile yet, we rely on a make rule to execute\r
19311   # `config.status --recheck' to rerun these tests and create the\r
19312   # libtool script then.\r
19313   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`\r
19314   if test -f "$ltmain_in"; then\r
19315     test -f Makefile && make "$ltmain"\r
19316   fi\r
19317 fi\r
19318 \r
19319 \r
19320 ac_ext=c\r
19321 ac_cpp='$CPP $CPPFLAGS'\r
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
19325 \r
19326 CC="$lt_save_CC"\r
19327 \r
19328         ;;\r
19329 \r
19330       *)\r
19331         { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5\r
19332 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}\r
19333    { (exit 1); exit 1; }; }\r
19334         ;;\r
19335       esac\r
19336 \r
19337       # Append the new tag name to the list of available tags.\r
19338       if test -n "$tagname" ; then\r
19339       available_tags="$available_tags $tagname"\r
19340     fi\r
19341     fi\r
19342   done\r
19343   IFS="$lt_save_ifs"\r
19344 \r
19345   # Now substitute the updated list of available tags.\r
19346   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then\r
19347     mv "${ofile}T" "$ofile"\r
19348     chmod +x "$ofile"\r
19349   else\r
19350     rm -f "${ofile}T"\r
19351     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5\r
19352 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}\r
19353    { (exit 1); exit 1; }; }\r
19354   fi\r
19355 fi\r
19356 \r
19357 \r
19358 \r
19359 # This can be used to rebuild libtool when needed\r
19360 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"\r
19361 \r
19362 # Always use our own libtool.\r
19363 LIBTOOL='$(SHELL) $(top_builddir)/libtool'\r
19364 \r
19365 # Prevent multiple expansion\r
19366 \r
19367 \r
19368 \r
19369 \r
19370 \r
19371 \r
19372 \r
19373 \r
19374 \r
19375 \r
19376 \r
19377 \r
19378 \r
19379 \r
19380 \r
19381 \r
19382 \r
19383 \r
19384 \r
19385 \r
19386 \r
19387 # Make sure we can run config.sub.\r
19388 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||\r
19389   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5\r
19390 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}\r
19391    { (exit 1); exit 1; }; }\r
19392 \r
19393 { $as_echo "$as_me:$LINENO: checking build system type" >&5\r
19394 $as_echo_n "checking build system type... " >&6; }\r
19395 if test "${ac_cv_build+set}" = set; then\r
19396   $as_echo_n "(cached) " >&6\r
19397 else\r
19398   ac_build_alias=$build_alias\r
19399 test "x$ac_build_alias" = x &&\r
19400   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`\r
19401 test "x$ac_build_alias" = x &&\r
19402   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5\r
19403 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}\r
19404    { (exit 1); exit 1; }; }\r
19405 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||\r
19406   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5\r
19407 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}\r
19408    { (exit 1); exit 1; }; }\r
19409 \r
19410 fi\r
19411 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5\r
19412 $as_echo "$ac_cv_build" >&6; }\r
19413 case $ac_cv_build in\r
19414 *-*-*) ;;\r
19415 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5\r
19416 $as_echo "$as_me: error: invalid value of canonical build" >&2;}\r
19417    { (exit 1); exit 1; }; };;\r
19418 esac\r
19419 build=$ac_cv_build\r
19420 ac_save_IFS=$IFS; IFS='-'\r
19421 set x $ac_cv_build\r
19422 shift\r
19423 build_cpu=$1\r
19424 build_vendor=$2\r
19425 shift; shift\r
19426 # Remember, the first character of IFS is used to create $*,\r
19427 # except with old shells:\r
19428 build_os=$*\r
19429 IFS=$ac_save_IFS\r
19430 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac\r
19431 \r
19432 \r
19433 { $as_echo "$as_me:$LINENO: checking host system type" >&5\r
19434 $as_echo_n "checking host system type... " >&6; }\r
19435 if test "${ac_cv_host+set}" = set; then\r
19436   $as_echo_n "(cached) " >&6\r
19437 else\r
19438   if test "x$host_alias" = x; then\r
19439   ac_cv_host=$ac_cv_build\r
19440 else\r
19441   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||\r
19442     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5\r
19443 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}\r
19444    { (exit 1); exit 1; }; }\r
19445 fi\r
19446 \r
19447 fi\r
19448 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5\r
19449 $as_echo "$ac_cv_host" >&6; }\r
19450 case $ac_cv_host in\r
19451 *-*-*) ;;\r
19452 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5\r
19453 $as_echo "$as_me: error: invalid value of canonical host" >&2;}\r
19454    { (exit 1); exit 1; }; };;\r
19455 esac\r
19456 host=$ac_cv_host\r
19457 ac_save_IFS=$IFS; IFS='-'\r
19458 set x $ac_cv_host\r
19459 shift\r
19460 host_cpu=$1\r
19461 host_vendor=$2\r
19462 shift; shift\r
19463 # Remember, the first character of IFS is used to create $*,\r
19464 # except with old shells:\r
19465 host_os=$*\r
19466 IFS=$ac_save_IFS\r
19467 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac\r
19468 \r
19469 \r
19470 \r
19471 OBJECT_MODE=\r
19472 # Checks for programs.\r
19473 { $as_echo "$as_me:$LINENO: checking compiler flags required for compiling ANTLR with $CC C compiler on host $host" >&5\r
19474 $as_echo_n "checking compiler flags required for compiling ANTLR with $CC C compiler on host $host... " >&6; }\r
19475 WARNFLAGS=\r
19476 case $CC in\r
19477 xlc*)\r
19478  CPPCMNTFLAGS="-qcpluscmt"\r
19479  if test x"$enable_64bit" = xyes; then\r
19480   CCFLAGS64="-q64 -Wl,-b64"\r
19481   OBJECT_MODE="64"\r
19482  else\r
19483   OBJECT_MODE="32"\r
19484  fi\r
19485  OPTIMFLAGS="-O2"\r
19486  if test x"$enable_debuginfo" = xyes; then\r
19487   DEBUGFLAGS="-g"\r
19488  fi\r
19489  ;;\r
19490 \r
19491 aCC*)\r
19492  CPPCMNTFLAGS=\r
19493  if test x"$enable_64bit" = xyes; then\r
19494   CCFLAGS64="+DD64"\r
19495  fi\r
19496  OPTIMFLAGS="-O"\r
19497  if test $DEBUGINF = 1; then\r
19498   DEBUGFLAGS="-g"\r
19499  fi\r
19500  ;;\r
19501 \r
19502 gcc*)\r
19503  CPPCMNTFLAGS=\r
19504  if test x"$enable_64bit" = xyes; then\r
19505   GCCABIFLAGS="-m64"\r
19506  else\r
19507   GCCABIFLAGS="-m32"\r
19508  fi\r
19509  if test x"$enable_abiflags" = xyes; then\r
19510   CCFLAGS64=$GCCABIFLAGS\r
19511  fi\r
19512  OPTIMFLAGS="-O2"\r
19513  if test x"$enable_debuginfo" = xyes; then\r
19514   DEBUGFLAGS="-g"\r
19515  fi\r
19516  WARNFLAGS=-Wall\r
19517  ;;\r
19518 \r
19519 *)\r
19520 \r
19521 case $host in\r
19522 sparc*-*solaris*)\r
19523  CPPCMNTFLAGS=\r
19524  if test x"$enable_64bit" = xyes; then\r
19525   CCFLAGS64="-fast -xtarget=ultra4 -m64 -xarch=sparcvis"\r
19526  fi\r
19527  OPTIMFLAGS="-O"\r
19528  if test x"$enable_debuginfo" = xyes; then\r
19529   DEBUGFLAGS='-g'\r
19530  fi\r
19531  ;;\r
19532 \r
19533 *)\r
19534  CPPCMNTFLAGS=\r
19535  CCFLAGS64=\r
19536  OPTIMFLAGS="-O"\r
19537  if test x"$enable_debuginfo" = xyes; then\r
19538   DEBUGFLAGS='-g'\r
19539  fi\r
19540  ;;\r
19541 esac\r
19542 \r
19543  ;;\r
19544 esac\r
19545 \r
19546 CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"\r
19547 { $as_echo "$as_me:$LINENO: result: $CFLAGS" >&5\r
19548 $as_echo "$CFLAGS" >&6; }\r
19549 \r
19550 \r
19551 if test "x$enable_antlrdebug" = xno; then\r
19552 \r
19553 cat >>confdefs.h <<\_ACEOF\r
19554 #define ANTLR3_NODEBUGGER 1\r
19555 _ACEOF\r
19556 \r
19557 fi\r
19558 \r
19559 if test x"$enable_64bit" = xyes; then\r
19560 \r
19561 cat >>confdefs.h <<\_ACEOF\r
19562 #define ANTLR3_USE_64BIT 1\r
19563 _ACEOF\r
19564 \r
19565 fi\r
19566 \r
19567 \r
19568 # Find a good install program.  We prefer a C program (faster),\r
19569 # so one script is as good as another.  But avoid the broken or\r
19570 # incompatible versions:\r
19571 # SysV /etc/install, /usr/sbin/install\r
19572 # SunOS /usr/etc/install\r
19573 # IRIX /sbin/install\r
19574 # AIX /bin/install\r
19575 # AmigaOS /C/install, which installs bootblocks on floppy discs\r
19576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\r
19577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args\r
19578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"\r
19579 # OS/2's system install, which has a completely different semantic\r
19580 # ./install, which can be erroneously created by make from ./install.sh.\r
19581 # Reject install programs that cannot install multiple files.\r
19582 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5\r
19583 $as_echo_n "checking for a BSD-compatible install... " >&6; }\r
19584 if test -z "$INSTALL"; then\r
19585 if test "${ac_cv_path_install+set}" = set; then\r
19586   $as_echo_n "(cached) " >&6\r
19587 else\r
19588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
19589 for as_dir in $PATH\r
19590 do\r
19591   IFS=$as_save_IFS\r
19592   test -z "$as_dir" && as_dir=.\r
19593   # Account for people who put trailing slashes in PATH elements.\r
19594 case $as_dir/ in\r
19595   ./ | .// | /cC/* | \\r
19596   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\r
19597   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \\r
19598   /usr/ucb/* ) ;;\r
19599   *)\r
19600     # OSF1 and SCO ODT 3.0 have their own names for install.\r
19601     # Don't use installbsd from OSF since it installs stuff as root\r
19602     # by default.\r
19603     for ac_prog in ginstall scoinst install; do\r
19604       for ac_exec_ext in '' $ac_executable_extensions; do\r
19605         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then\r
19606           if test $ac_prog = install &&\r
19607             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
19608             # AIX install.  It has an incompatible calling convention.\r
19609             :\r
19610           elif test $ac_prog = install &&\r
19611             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
19612             # program-specific install script used by HP pwplus--don't use.\r
19613             :\r
19614           else\r
19615             rm -rf conftest.one conftest.two conftest.dir\r
19616             echo one > conftest.one\r
19617             echo two > conftest.two\r
19618             mkdir conftest.dir\r
19619             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&\r
19620               test -s conftest.one && test -s conftest.two &&\r
19621               test -s conftest.dir/conftest.one &&\r
19622               test -s conftest.dir/conftest.two\r
19623             then\r
19624               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"\r
19625               break 3\r
19626             fi\r
19627           fi\r
19628         fi\r
19629       done\r
19630     done\r
19631     ;;\r
19632 esac\r
19633 \r
19634 done\r
19635 IFS=$as_save_IFS\r
19636 \r
19637 rm -rf conftest.one conftest.two conftest.dir\r
19638 \r
19639 fi\r
19640   if test "${ac_cv_path_install+set}" = set; then\r
19641     INSTALL=$ac_cv_path_install\r
19642   else\r
19643     # As a last resort, use the slow shell script.  Don't cache a\r
19644     # value for INSTALL within a source directory, because that will\r
19645     # break other packages using the cache if that directory is\r
19646     # removed, or if the value is a relative name.\r
19647     INSTALL=$ac_install_sh\r
19648   fi\r
19649 fi\r
19650 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5\r
19651 $as_echo "$INSTALL" >&6; }\r
19652 \r
19653 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.\r
19654 # It thinks the first close brace ends the variable substitution.\r
19655 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'\r
19656 \r
19657 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'\r
19658 \r
19659 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'\r
19660 \r
19661 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5\r
19662 $as_echo_n "checking whether ln -s works... " >&6; }\r
19663 LN_S=$as_ln_s\r
19664 if test "$LN_S" = "ln -s"; then\r
19665   { $as_echo "$as_me:$LINENO: result: yes" >&5\r
19666 $as_echo "yes" >&6; }\r
19667 else\r
19668   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5\r
19669 $as_echo "no, using $LN_S" >&6; }\r
19670 fi\r
19671 \r
19672 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5\r
19673 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }\r
19674 set x ${MAKE-make}\r
19675 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`\r
19676 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then\r
19677   $as_echo_n "(cached) " >&6\r
19678 else\r
19679   cat >conftest.make <<\_ACEOF\r
19680 SHELL = /bin/sh\r
19681 all:\r
19682         @echo '@@@%%%=$(MAKE)=@@@%%%'\r
19683 _ACEOF\r
19684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.\r
19685 case `${MAKE-make} -f conftest.make 2>/dev/null` in\r
19686   *@@@%%%=?*=@@@%%%*)\r
19687     eval ac_cv_prog_make_${ac_make}_set=yes;;\r
19688   *)\r
19689     eval ac_cv_prog_make_${ac_make}_set=no;;\r
19690 esac\r
19691 rm -f conftest.make\r
19692 fi\r
19693 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then\r
19694   { $as_echo "$as_me:$LINENO: result: yes" >&5\r
19695 $as_echo "yes" >&6; }\r
19696   SET_MAKE=\r
19697 else\r
19698   { $as_echo "$as_me:$LINENO: result: no" >&5\r
19699 $as_echo "no" >&6; }\r
19700   SET_MAKE="MAKE=${MAKE-make}"\r
19701 fi\r
19702 \r
19703 \r
19704 # Checks for libraries.\r
19705 \r
19706 # Checks for header files.\r
19707 $ac_includes_default\r
19708 \r
19709 \r
19710 \r
19711 \r
19712 \r
19713 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h\r
19714 do\r
19715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
19716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
19717 $as_echo_n "checking for $ac_header... " >&6; }\r
19718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
19719   $as_echo_n "(cached) " >&6\r
19720 else\r
19721   cat >conftest.$ac_ext <<_ACEOF\r
19722 /* confdefs.h.  */\r
19723 _ACEOF\r
19724 cat confdefs.h >>conftest.$ac_ext\r
19725 cat >>conftest.$ac_ext <<_ACEOF\r
19726 /* end confdefs.h.  */\r
19727 #ifdef HAVE_SYS_TYPES_H\r
19728 #  include <sys/types.h>\r
19729 #endif\r
19730 #ifdef HAVE_NETINET_IN_H\r
19731 #  include <netinet/in.h>   /* inet_ functions / structs */\r
19732 #endif\r
19733 #ifdef HAVE_ARPA_NAMESER_H\r
19734 #  include <arpa/nameser.h> /* DNS HEADER struct */\r
19735 #endif\r
19736 #ifdef HAVE_NETDB_H\r
19737 #  include <netdb.h>\r
19738 #endif\r
19739 \r
19740 #include <$ac_header>\r
19741 _ACEOF\r
19742 rm -f conftest.$ac_objext\r
19743 if { (ac_try="$ac_compile"\r
19744 case "(($ac_try" in\r
19745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
19746   *) ac_try_echo=$ac_try;;\r
19747 esac\r
19748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
19749 $as_echo "$ac_try_echo") >&5\r
19750   (eval "$ac_compile") 2>conftest.er1\r
19751   ac_status=$?\r
19752   grep -v '^ *+' conftest.er1 >conftest.err\r
19753   rm -f conftest.er1\r
19754   cat conftest.err >&5\r
19755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
19756   (exit $ac_status); } && {\r
19757          test -z "$ac_c_werror_flag" ||\r
19758          test ! -s conftest.err\r
19759        } && test -s conftest.$ac_objext; then\r
19760   eval "$as_ac_Header=yes"\r
19761 else\r
19762   $as_echo "$as_me: failed program was:" >&5\r
19763 sed 's/^/| /' conftest.$ac_ext >&5\r
19764 \r
19765         eval "$as_ac_Header=no"\r
19766 fi\r
19767 \r
19768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
19769 fi\r
19770 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
19771                  $as_echo "$as_val"'`\r
19772                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
19773 $as_echo "$ac_res" >&6; }\r
19774 as_val=`eval 'as_val=${'$as_ac_Header'}\r
19775                  $as_echo "$as_val"'`\r
19776    if test "x$as_val" = x""yes; then\r
19777   cat >>confdefs.h <<_ACEOF\r
19778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
19779 _ACEOF\r
19780 \r
19781 fi\r
19782 \r
19783 done\r
19784 \r
19785 \r
19786 \r
19787 \r
19788 for ac_header in sys/malloc.h malloc.h\r
19789 do\r
19790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
19791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
19792 $as_echo_n "checking for $ac_header... " >&6; }\r
19793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
19794   $as_echo_n "(cached) " >&6\r
19795 else\r
19796   cat >conftest.$ac_ext <<_ACEOF\r
19797 /* confdefs.h.  */\r
19798 _ACEOF\r
19799 cat confdefs.h >>conftest.$ac_ext\r
19800 cat >>conftest.$ac_ext <<_ACEOF\r
19801 /* end confdefs.h.  */\r
19802 #ifdef HAVE_SYS_MALLOC_H\r
19803 #include <sys/malloc.h>\r
19804 #endif\r
19805 #ifdef HAVE_MALLOC_H\r
19806 #include <malloc.h>\r
19807 #endif\r
19808 \r
19809 \r
19810 #include <$ac_header>\r
19811 _ACEOF\r
19812 rm -f conftest.$ac_objext\r
19813 if { (ac_try="$ac_compile"\r
19814 case "(($ac_try" in\r
19815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
19816   *) ac_try_echo=$ac_try;;\r
19817 esac\r
19818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
19819 $as_echo "$ac_try_echo") >&5\r
19820   (eval "$ac_compile") 2>conftest.er1\r
19821   ac_status=$?\r
19822   grep -v '^ *+' conftest.er1 >conftest.err\r
19823   rm -f conftest.er1\r
19824   cat conftest.err >&5\r
19825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
19826   (exit $ac_status); } && {\r
19827          test -z "$ac_c_werror_flag" ||\r
19828          test ! -s conftest.err\r
19829        } && test -s conftest.$ac_objext; then\r
19830   eval "$as_ac_Header=yes"\r
19831 else\r
19832   $as_echo "$as_me: failed program was:" >&5\r
19833 sed 's/^/| /' conftest.$ac_ext >&5\r
19834 \r
19835         eval "$as_ac_Header=no"\r
19836 fi\r
19837 \r
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
19839 fi\r
19840 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
19841                  $as_echo "$as_val"'`\r
19842                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
19843 $as_echo "$ac_res" >&6; }\r
19844 as_val=`eval 'as_val=${'$as_ac_Header'}\r
19845                  $as_echo "$as_val"'`\r
19846    if test "x$as_val" = x""yes; then\r
19847   cat >>confdefs.h <<_ACEOF\r
19848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
19849 _ACEOF\r
19850 \r
19851 fi\r
19852 \r
19853 done\r
19854 \r
19855 \r
19856 for ac_header in stdarg.h\r
19857 do\r
19858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
19859 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
19860 $as_echo_n "checking for $ac_header... " >&6; }\r
19861 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
19862   $as_echo_n "(cached) " >&6\r
19863 else\r
19864   cat >conftest.$ac_ext <<_ACEOF\r
19865 /* confdefs.h.  */\r
19866 _ACEOF\r
19867 cat confdefs.h >>conftest.$ac_ext\r
19868 cat >>conftest.$ac_ext <<_ACEOF\r
19869 /* end confdefs.h.  */\r
19870 #ifdef HAVE_STDARG_H\r
19871 #include <stdarg.h>\r
19872 #endif\r
19873 \r
19874 \r
19875 #include <$ac_header>\r
19876 _ACEOF\r
19877 rm -f conftest.$ac_objext\r
19878 if { (ac_try="$ac_compile"\r
19879 case "(($ac_try" in\r
19880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
19881   *) ac_try_echo=$ac_try;;\r
19882 esac\r
19883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
19884 $as_echo "$ac_try_echo") >&5\r
19885   (eval "$ac_compile") 2>conftest.er1\r
19886   ac_status=$?\r
19887   grep -v '^ *+' conftest.er1 >conftest.err\r
19888   rm -f conftest.er1\r
19889   cat conftest.err >&5\r
19890   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
19891   (exit $ac_status); } && {\r
19892          test -z "$ac_c_werror_flag" ||\r
19893          test ! -s conftest.err\r
19894        } && test -s conftest.$ac_objext; then\r
19895   eval "$as_ac_Header=yes"\r
19896 else\r
19897   $as_echo "$as_me: failed program was:" >&5\r
19898 sed 's/^/| /' conftest.$ac_ext >&5\r
19899 \r
19900         eval "$as_ac_Header=no"\r
19901 fi\r
19902 \r
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
19904 fi\r
19905 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
19906                  $as_echo "$as_val"'`\r
19907                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
19908 $as_echo "$ac_res" >&6; }\r
19909 as_val=`eval 'as_val=${'$as_ac_Header'}\r
19910                  $as_echo "$as_val"'`\r
19911    if test "x$as_val" = x""yes; then\r
19912   cat >>confdefs.h <<_ACEOF\r
19913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
19914 _ACEOF\r
19915 \r
19916 fi\r
19917 \r
19918 done\r
19919 \r
19920 \r
19921 \r
19922 for ac_header in sys/stat.h\r
19923 do\r
19924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
19925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
19926 $as_echo_n "checking for $ac_header... " >&6; }\r
19927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
19928   $as_echo_n "(cached) " >&6\r
19929 else\r
19930   cat >conftest.$ac_ext <<_ACEOF\r
19931 /* confdefs.h.  */\r
19932 _ACEOF\r
19933 cat confdefs.h >>conftest.$ac_ext\r
19934 cat >>conftest.$ac_ext <<_ACEOF\r
19935 /* end confdefs.h.  */\r
19936 #ifdef HAVE_SYS_STAT_H\r
19937 #include <sys/stat.h>\r
19938 #endif\r
19939 \r
19940 \r
19941 #include <$ac_header>\r
19942 _ACEOF\r
19943 rm -f conftest.$ac_objext\r
19944 if { (ac_try="$ac_compile"\r
19945 case "(($ac_try" in\r
19946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
19947   *) ac_try_echo=$ac_try;;\r
19948 esac\r
19949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
19950 $as_echo "$ac_try_echo") >&5\r
19951   (eval "$ac_compile") 2>conftest.er1\r
19952   ac_status=$?\r
19953   grep -v '^ *+' conftest.er1 >conftest.err\r
19954   rm -f conftest.er1\r
19955   cat conftest.err >&5\r
19956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
19957   (exit $ac_status); } && {\r
19958          test -z "$ac_c_werror_flag" ||\r
19959          test ! -s conftest.err\r
19960        } && test -s conftest.$ac_objext; then\r
19961   eval "$as_ac_Header=yes"\r
19962 else\r
19963   $as_echo "$as_me: failed program was:" >&5\r
19964 sed 's/^/| /' conftest.$ac_ext >&5\r
19965 \r
19966         eval "$as_ac_Header=no"\r
19967 fi\r
19968 \r
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
19970 fi\r
19971 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
19972                  $as_echo "$as_val"'`\r
19973                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
19974 $as_echo "$ac_res" >&6; }\r
19975 as_val=`eval 'as_val=${'$as_ac_Header'}\r
19976                  $as_echo "$as_val"'`\r
19977    if test "x$as_val" = x""yes; then\r
19978   cat >>confdefs.h <<_ACEOF\r
19979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
19980 _ACEOF\r
19981 \r
19982 fi\r
19983 \r
19984 done\r
19985 \r
19986 \r
19987 \r
19988 for ac_header in ctype.h\r
19989 do\r
19990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
19991 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
19992 $as_echo_n "checking for $ac_header... " >&6; }\r
19993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
19994   $as_echo_n "(cached) " >&6\r
19995 else\r
19996   cat >conftest.$ac_ext <<_ACEOF\r
19997 /* confdefs.h.  */\r
19998 _ACEOF\r
19999 cat confdefs.h >>conftest.$ac_ext\r
20000 cat >>conftest.$ac_ext <<_ACEOF\r
20001 /* end confdefs.h.  */\r
20002 #ifdef HAVE_CTYPE_H\r
20003 #include <ctype.h>\r
20004 #endif\r
20005 \r
20006 \r
20007 #include <$ac_header>\r
20008 _ACEOF\r
20009 rm -f conftest.$ac_objext\r
20010 if { (ac_try="$ac_compile"\r
20011 case "(($ac_try" in\r
20012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20013   *) ac_try_echo=$ac_try;;\r
20014 esac\r
20015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20016 $as_echo "$ac_try_echo") >&5\r
20017   (eval "$ac_compile") 2>conftest.er1\r
20018   ac_status=$?\r
20019   grep -v '^ *+' conftest.er1 >conftest.err\r
20020   rm -f conftest.er1\r
20021   cat conftest.err >&5\r
20022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20023   (exit $ac_status); } && {\r
20024          test -z "$ac_c_werror_flag" ||\r
20025          test ! -s conftest.err\r
20026        } && test -s conftest.$ac_objext; then\r
20027   eval "$as_ac_Header=yes"\r
20028 else\r
20029   $as_echo "$as_me: failed program was:" >&5\r
20030 sed 's/^/| /' conftest.$ac_ext >&5\r
20031 \r
20032         eval "$as_ac_Header=no"\r
20033 fi\r
20034 \r
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20036 fi\r
20037 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
20038                  $as_echo "$as_val"'`\r
20039                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
20040 $as_echo "$ac_res" >&6; }\r
20041 as_val=`eval 'as_val=${'$as_ac_Header'}\r
20042                  $as_echo "$as_val"'`\r
20043    if test "x$as_val" = x""yes; then\r
20044   cat >>confdefs.h <<_ACEOF\r
20045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
20046 _ACEOF\r
20047 \r
20048 fi\r
20049 \r
20050 done\r
20051 \r
20052 \r
20053 \r
20054 for ac_header in netinet/tcp.h\r
20055 do\r
20056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
20057 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
20058 $as_echo_n "checking for $ac_header... " >&6; }\r
20059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
20060   $as_echo_n "(cached) " >&6\r
20061 else\r
20062   cat >conftest.$ac_ext <<_ACEOF\r
20063 /* confdefs.h.  */\r
20064 _ACEOF\r
20065 cat confdefs.h >>conftest.$ac_ext\r
20066 cat >>conftest.$ac_ext <<_ACEOF\r
20067 /* end confdefs.h.  */\r
20068 #ifdef HAVE_NETINET_TCP_H\r
20069 #include <netinet/tcp.h>\r
20070 #endif\r
20071 \r
20072 \r
20073 #include <$ac_header>\r
20074 _ACEOF\r
20075 rm -f conftest.$ac_objext\r
20076 if { (ac_try="$ac_compile"\r
20077 case "(($ac_try" in\r
20078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20079   *) ac_try_echo=$ac_try;;\r
20080 esac\r
20081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20082 $as_echo "$ac_try_echo") >&5\r
20083   (eval "$ac_compile") 2>conftest.er1\r
20084   ac_status=$?\r
20085   grep -v '^ *+' conftest.er1 >conftest.err\r
20086   rm -f conftest.er1\r
20087   cat conftest.err >&5\r
20088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20089   (exit $ac_status); } && {\r
20090          test -z "$ac_c_werror_flag" ||\r
20091          test ! -s conftest.err\r
20092        } && test -s conftest.$ac_objext; then\r
20093   eval "$as_ac_Header=yes"\r
20094 else\r
20095   $as_echo "$as_me: failed program was:" >&5\r
20096 sed 's/^/| /' conftest.$ac_ext >&5\r
20097 \r
20098         eval "$as_ac_Header=no"\r
20099 fi\r
20100 \r
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20102 fi\r
20103 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
20104                  $as_echo "$as_val"'`\r
20105                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
20106 $as_echo "$ac_res" >&6; }\r
20107 as_val=`eval 'as_val=${'$as_ac_Header'}\r
20108                  $as_echo "$as_val"'`\r
20109    if test "x$as_val" = x""yes; then\r
20110   cat >>confdefs.h <<_ACEOF\r
20111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
20112 _ACEOF\r
20113 \r
20114 fi\r
20115 \r
20116 done\r
20117 \r
20118 \r
20119 \r
20120 \r
20121 for ac_header in sys/socket.h socket.h\r
20122 do\r
20123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
20124 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5\r
20125 $as_echo_n "checking for $ac_header... " >&6; }\r
20126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
20127   $as_echo_n "(cached) " >&6\r
20128 else\r
20129   cat >conftest.$ac_ext <<_ACEOF\r
20130 /* confdefs.h.  */\r
20131 _ACEOF\r
20132 cat confdefs.h >>conftest.$ac_ext\r
20133 cat >>conftest.$ac_ext <<_ACEOF\r
20134 /* end confdefs.h.  */\r
20135 #ifdef HAVE_SYS_SOCKET_H\r
20136 #include <sys/socket.h>\r
20137 #endif\r
20138 #ifdef HAVE_SOCKET_H\r
20139 #include <socket.h>\r
20140 #endif\r
20141 \r
20142 \r
20143 #include <$ac_header>\r
20144 _ACEOF\r
20145 rm -f conftest.$ac_objext\r
20146 if { (ac_try="$ac_compile"\r
20147 case "(($ac_try" in\r
20148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20149   *) ac_try_echo=$ac_try;;\r
20150 esac\r
20151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20152 $as_echo "$ac_try_echo") >&5\r
20153   (eval "$ac_compile") 2>conftest.er1\r
20154   ac_status=$?\r
20155   grep -v '^ *+' conftest.er1 >conftest.err\r
20156   rm -f conftest.er1\r
20157   cat conftest.err >&5\r
20158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20159   (exit $ac_status); } && {\r
20160          test -z "$ac_c_werror_flag" ||\r
20161          test ! -s conftest.err\r
20162        } && test -s conftest.$ac_objext; then\r
20163   eval "$as_ac_Header=yes"\r
20164 else\r
20165   $as_echo "$as_me: failed program was:" >&5\r
20166 sed 's/^/| /' conftest.$ac_ext >&5\r
20167 \r
20168         eval "$as_ac_Header=no"\r
20169 fi\r
20170 \r
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20172 fi\r
20173 ac_res=`eval 'as_val=${'$as_ac_Header'}\r
20174                  $as_echo "$as_val"'`\r
20175                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
20176 $as_echo "$ac_res" >&6; }\r
20177 as_val=`eval 'as_val=${'$as_ac_Header'}\r
20178                  $as_echo "$as_val"'`\r
20179    if test "x$as_val" = x""yes; then\r
20180   cat >>confdefs.h <<_ACEOF\r
20181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
20182 _ACEOF\r
20183 \r
20184 fi\r
20185 \r
20186 done\r
20187 \r
20188 \r
20189 # Checks for typedefs, structures, and compiler characteristics.\r
20190 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5\r
20191 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }\r
20192 if test "${ac_cv_c_const+set}" = set; then\r
20193   $as_echo_n "(cached) " >&6\r
20194 else\r
20195   cat >conftest.$ac_ext <<_ACEOF\r
20196 /* confdefs.h.  */\r
20197 _ACEOF\r
20198 cat confdefs.h >>conftest.$ac_ext\r
20199 cat >>conftest.$ac_ext <<_ACEOF\r
20200 /* end confdefs.h.  */\r
20201 \r
20202 int\r
20203 main ()\r
20204 {\r
20205 /* FIXME: Include the comments suggested by Paul. */\r
20206 #ifndef __cplusplus\r
20207   /* Ultrix mips cc rejects this.  */\r
20208   typedef int charset[2];\r
20209   const charset cs;\r
20210   /* SunOS 4.1.1 cc rejects this.  */\r
20211   char const *const *pcpcc;\r
20212   char **ppc;\r
20213   /* NEC SVR4.0.2 mips cc rejects this.  */\r
20214   struct point {int x, y;};\r
20215   static struct point const zero = {0,0};\r
20216   /* AIX XL C 1.02.0.0 rejects this.\r
20217      It does not let you subtract one const X* pointer from another in\r
20218      an arm of an if-expression whose if-part is not a constant\r
20219      expression */\r
20220   const char *g = "string";\r
20221   pcpcc = &g + (g ? g-g : 0);\r
20222   /* HPUX 7.0 cc rejects these. */\r
20223   ++pcpcc;\r
20224   ppc = (char**) pcpcc;\r
20225   pcpcc = (char const *const *) ppc;\r
20226   { /* SCO 3.2v4 cc rejects this.  */\r
20227     char *t;\r
20228     char const *s = 0 ? (char *) 0 : (char const *) 0;\r
20229 \r
20230     *t++ = 0;\r
20231     if (s) return 0;\r
20232   }\r
20233   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */\r
20234     int x[] = {25, 17};\r
20235     const int *foo = &x[0];\r
20236     ++foo;\r
20237   }\r
20238   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */\r
20239     typedef const int *iptr;\r
20240     iptr p = 0;\r
20241     ++p;\r
20242   }\r
20243   { /* AIX XL C 1.02.0.0 rejects this saying\r
20244        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */\r
20245     struct s { int j; const int *ap[3]; };\r
20246     struct s *b; b->j = 5;\r
20247   }\r
20248   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */\r
20249     const int foo = 10;\r
20250     if (!foo) return 0;\r
20251   }\r
20252   return !cs[0] && !zero.x;\r
20253 #endif\r
20254 \r
20255   ;\r
20256   return 0;\r
20257 }\r
20258 _ACEOF\r
20259 rm -f conftest.$ac_objext\r
20260 if { (ac_try="$ac_compile"\r
20261 case "(($ac_try" in\r
20262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20263   *) ac_try_echo=$ac_try;;\r
20264 esac\r
20265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20266 $as_echo "$ac_try_echo") >&5\r
20267   (eval "$ac_compile") 2>conftest.er1\r
20268   ac_status=$?\r
20269   grep -v '^ *+' conftest.er1 >conftest.err\r
20270   rm -f conftest.er1\r
20271   cat conftest.err >&5\r
20272   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20273   (exit $ac_status); } && {\r
20274          test -z "$ac_c_werror_flag" ||\r
20275          test ! -s conftest.err\r
20276        } && test -s conftest.$ac_objext; then\r
20277   ac_cv_c_const=yes\r
20278 else\r
20279   $as_echo "$as_me: failed program was:" >&5\r
20280 sed 's/^/| /' conftest.$ac_ext >&5\r
20281 \r
20282         ac_cv_c_const=no\r
20283 fi\r
20284 \r
20285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20286 fi\r
20287 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5\r
20288 $as_echo "$ac_cv_c_const" >&6; }\r
20289 if test $ac_cv_c_const = no; then\r
20290 \r
20291 cat >>confdefs.h <<\_ACEOF\r
20292 #define const /**/\r
20293 _ACEOF\r
20294 \r
20295 fi\r
20296 \r
20297 { $as_echo "$as_me:$LINENO: checking for size_t" >&5\r
20298 $as_echo_n "checking for size_t... " >&6; }\r
20299 if test "${ac_cv_type_size_t+set}" = set; then\r
20300   $as_echo_n "(cached) " >&6\r
20301 else\r
20302   ac_cv_type_size_t=no\r
20303 cat >conftest.$ac_ext <<_ACEOF\r
20304 /* confdefs.h.  */\r
20305 _ACEOF\r
20306 cat confdefs.h >>conftest.$ac_ext\r
20307 cat >>conftest.$ac_ext <<_ACEOF\r
20308 /* end confdefs.h.  */\r
20309 $ac_includes_default\r
20310 int\r
20311 main ()\r
20312 {\r
20313 if (sizeof (size_t))\r
20314        return 0;\r
20315   ;\r
20316   return 0;\r
20317 }\r
20318 _ACEOF\r
20319 rm -f conftest.$ac_objext\r
20320 if { (ac_try="$ac_compile"\r
20321 case "(($ac_try" in\r
20322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20323   *) ac_try_echo=$ac_try;;\r
20324 esac\r
20325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20326 $as_echo "$ac_try_echo") >&5\r
20327   (eval "$ac_compile") 2>conftest.er1\r
20328   ac_status=$?\r
20329   grep -v '^ *+' conftest.er1 >conftest.err\r
20330   rm -f conftest.er1\r
20331   cat conftest.err >&5\r
20332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20333   (exit $ac_status); } && {\r
20334          test -z "$ac_c_werror_flag" ||\r
20335          test ! -s conftest.err\r
20336        } && test -s conftest.$ac_objext; then\r
20337   cat >conftest.$ac_ext <<_ACEOF\r
20338 /* confdefs.h.  */\r
20339 _ACEOF\r
20340 cat confdefs.h >>conftest.$ac_ext\r
20341 cat >>conftest.$ac_ext <<_ACEOF\r
20342 /* end confdefs.h.  */\r
20343 $ac_includes_default\r
20344 int\r
20345 main ()\r
20346 {\r
20347 if (sizeof ((size_t)))\r
20348           return 0;\r
20349   ;\r
20350   return 0;\r
20351 }\r
20352 _ACEOF\r
20353 rm -f conftest.$ac_objext\r
20354 if { (ac_try="$ac_compile"\r
20355 case "(($ac_try" in\r
20356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20357   *) ac_try_echo=$ac_try;;\r
20358 esac\r
20359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20360 $as_echo "$ac_try_echo") >&5\r
20361   (eval "$ac_compile") 2>conftest.er1\r
20362   ac_status=$?\r
20363   grep -v '^ *+' conftest.er1 >conftest.err\r
20364   rm -f conftest.er1\r
20365   cat conftest.err >&5\r
20366   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20367   (exit $ac_status); } && {\r
20368          test -z "$ac_c_werror_flag" ||\r
20369          test ! -s conftest.err\r
20370        } && test -s conftest.$ac_objext; then\r
20371   :\r
20372 else\r
20373   $as_echo "$as_me: failed program was:" >&5\r
20374 sed 's/^/| /' conftest.$ac_ext >&5\r
20375 \r
20376         ac_cv_type_size_t=yes\r
20377 fi\r
20378 \r
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20380 else\r
20381   $as_echo "$as_me: failed program was:" >&5\r
20382 sed 's/^/| /' conftest.$ac_ext >&5\r
20383 \r
20384 \r
20385 fi\r
20386 \r
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20388 fi\r
20389 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5\r
20390 $as_echo "$ac_cv_type_size_t" >&6; }\r
20391 if test "x$ac_cv_type_size_t" = x""yes; then\r
20392   :\r
20393 else\r
20394 \r
20395 cat >>confdefs.h <<_ACEOF\r
20396 #define size_t unsigned int\r
20397 _ACEOF\r
20398 \r
20399 fi\r
20400 \r
20401 \r
20402   { $as_echo "$as_me:$LINENO: checking for int8_t" >&5\r
20403 $as_echo_n "checking for int8_t... " >&6; }\r
20404 if test "${ac_cv_c_int8_t+set}" = set; then\r
20405   $as_echo_n "(cached) " >&6\r
20406 else\r
20407   ac_cv_c_int8_t=no\r
20408      for ac_type in 'int8_t' 'int' 'long int' \\r
20409          'long long int' 'short int' 'signed char'; do\r
20410        cat >conftest.$ac_ext <<_ACEOF\r
20411 /* confdefs.h.  */\r
20412 _ACEOF\r
20413 cat confdefs.h >>conftest.$ac_ext\r
20414 cat >>conftest.$ac_ext <<_ACEOF\r
20415 /* end confdefs.h.  */\r
20416 $ac_includes_default\r
20417 int\r
20418 main ()\r
20419 {\r
20420 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))];\r
20421 test_array [0] = 0\r
20422 \r
20423   ;\r
20424   return 0;\r
20425 }\r
20426 _ACEOF\r
20427 rm -f conftest.$ac_objext\r
20428 if { (ac_try="$ac_compile"\r
20429 case "(($ac_try" in\r
20430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20431   *) ac_try_echo=$ac_try;;\r
20432 esac\r
20433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20434 $as_echo "$ac_try_echo") >&5\r
20435   (eval "$ac_compile") 2>conftest.er1\r
20436   ac_status=$?\r
20437   grep -v '^ *+' conftest.er1 >conftest.err\r
20438   rm -f conftest.er1\r
20439   cat conftest.err >&5\r
20440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20441   (exit $ac_status); } && {\r
20442          test -z "$ac_c_werror_flag" ||\r
20443          test ! -s conftest.err\r
20444        } && test -s conftest.$ac_objext; then\r
20445   cat >conftest.$ac_ext <<_ACEOF\r
20446 /* confdefs.h.  */\r
20447 _ACEOF\r
20448 cat confdefs.h >>conftest.$ac_ext\r
20449 cat >>conftest.$ac_ext <<_ACEOF\r
20450 /* end confdefs.h.  */\r
20451 $ac_includes_default\r
20452 int\r
20453 main ()\r
20454 {\r
20455 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1)\r
20456                  < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))];\r
20457 test_array [0] = 0\r
20458 \r
20459   ;\r
20460   return 0;\r
20461 }\r
20462 _ACEOF\r
20463 rm -f conftest.$ac_objext\r
20464 if { (ac_try="$ac_compile"\r
20465 case "(($ac_try" in\r
20466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20467   *) ac_try_echo=$ac_try;;\r
20468 esac\r
20469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20470 $as_echo "$ac_try_echo") >&5\r
20471   (eval "$ac_compile") 2>conftest.er1\r
20472   ac_status=$?\r
20473   grep -v '^ *+' conftest.er1 >conftest.err\r
20474   rm -f conftest.er1\r
20475   cat conftest.err >&5\r
20476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20477   (exit $ac_status); } && {\r
20478          test -z "$ac_c_werror_flag" ||\r
20479          test ! -s conftest.err\r
20480        } && test -s conftest.$ac_objext; then\r
20481   :\r
20482 else\r
20483   $as_echo "$as_me: failed program was:" >&5\r
20484 sed 's/^/| /' conftest.$ac_ext >&5\r
20485 \r
20486         case $ac_type in\r
20487   int8_t) ac_cv_c_int8_t=yes ;;\r
20488   *) ac_cv_c_int8_t=$ac_type ;;\r
20489 esac\r
20490 \r
20491 fi\r
20492 \r
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20494 else\r
20495   $as_echo "$as_me: failed program was:" >&5\r
20496 sed 's/^/| /' conftest.$ac_ext >&5\r
20497 \r
20498 \r
20499 fi\r
20500 \r
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20502        test "$ac_cv_c_int8_t" != no && break\r
20503      done\r
20504 fi\r
20505 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5\r
20506 $as_echo "$ac_cv_c_int8_t" >&6; }\r
20507   case $ac_cv_c_int8_t in #(\r
20508   no|yes) ;; #(\r
20509   *)\r
20510 \r
20511 cat >>confdefs.h <<_ACEOF\r
20512 #define int8_t $ac_cv_c_int8_t\r
20513 _ACEOF\r
20514 ;;\r
20515   esac\r
20516 \r
20517 \r
20518   { $as_echo "$as_me:$LINENO: checking for int16_t" >&5\r
20519 $as_echo_n "checking for int16_t... " >&6; }\r
20520 if test "${ac_cv_c_int16_t+set}" = set; then\r
20521   $as_echo_n "(cached) " >&6\r
20522 else\r
20523   ac_cv_c_int16_t=no\r
20524      for ac_type in 'int16_t' 'int' 'long int' \\r
20525          'long long int' 'short int' 'signed char'; do\r
20526        cat >conftest.$ac_ext <<_ACEOF\r
20527 /* confdefs.h.  */\r
20528 _ACEOF\r
20529 cat confdefs.h >>conftest.$ac_ext\r
20530 cat >>conftest.$ac_ext <<_ACEOF\r
20531 /* end confdefs.h.  */\r
20532 $ac_includes_default\r
20533 int\r
20534 main ()\r
20535 {\r
20536 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))];\r
20537 test_array [0] = 0\r
20538 \r
20539   ;\r
20540   return 0;\r
20541 }\r
20542 _ACEOF\r
20543 rm -f conftest.$ac_objext\r
20544 if { (ac_try="$ac_compile"\r
20545 case "(($ac_try" in\r
20546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20547   *) ac_try_echo=$ac_try;;\r
20548 esac\r
20549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20550 $as_echo "$ac_try_echo") >&5\r
20551   (eval "$ac_compile") 2>conftest.er1\r
20552   ac_status=$?\r
20553   grep -v '^ *+' conftest.er1 >conftest.err\r
20554   rm -f conftest.er1\r
20555   cat conftest.err >&5\r
20556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20557   (exit $ac_status); } && {\r
20558          test -z "$ac_c_werror_flag" ||\r
20559          test ! -s conftest.err\r
20560        } && test -s conftest.$ac_objext; then\r
20561   cat >conftest.$ac_ext <<_ACEOF\r
20562 /* confdefs.h.  */\r
20563 _ACEOF\r
20564 cat confdefs.h >>conftest.$ac_ext\r
20565 cat >>conftest.$ac_ext <<_ACEOF\r
20566 /* end confdefs.h.  */\r
20567 $ac_includes_default\r
20568 int\r
20569 main ()\r
20570 {\r
20571 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1)\r
20572                  < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))];\r
20573 test_array [0] = 0\r
20574 \r
20575   ;\r
20576   return 0;\r
20577 }\r
20578 _ACEOF\r
20579 rm -f conftest.$ac_objext\r
20580 if { (ac_try="$ac_compile"\r
20581 case "(($ac_try" in\r
20582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20583   *) ac_try_echo=$ac_try;;\r
20584 esac\r
20585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20586 $as_echo "$ac_try_echo") >&5\r
20587   (eval "$ac_compile") 2>conftest.er1\r
20588   ac_status=$?\r
20589   grep -v '^ *+' conftest.er1 >conftest.err\r
20590   rm -f conftest.er1\r
20591   cat conftest.err >&5\r
20592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20593   (exit $ac_status); } && {\r
20594          test -z "$ac_c_werror_flag" ||\r
20595          test ! -s conftest.err\r
20596        } && test -s conftest.$ac_objext; then\r
20597   :\r
20598 else\r
20599   $as_echo "$as_me: failed program was:" >&5\r
20600 sed 's/^/| /' conftest.$ac_ext >&5\r
20601 \r
20602         case $ac_type in\r
20603   int16_t) ac_cv_c_int16_t=yes ;;\r
20604   *) ac_cv_c_int16_t=$ac_type ;;\r
20605 esac\r
20606 \r
20607 fi\r
20608 \r
20609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20610 else\r
20611   $as_echo "$as_me: failed program was:" >&5\r
20612 sed 's/^/| /' conftest.$ac_ext >&5\r
20613 \r
20614 \r
20615 fi\r
20616 \r
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20618        test "$ac_cv_c_int16_t" != no && break\r
20619      done\r
20620 fi\r
20621 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5\r
20622 $as_echo "$ac_cv_c_int16_t" >&6; }\r
20623   case $ac_cv_c_int16_t in #(\r
20624   no|yes) ;; #(\r
20625   *)\r
20626 \r
20627 cat >>confdefs.h <<_ACEOF\r
20628 #define int16_t $ac_cv_c_int16_t\r
20629 _ACEOF\r
20630 ;;\r
20631   esac\r
20632 \r
20633 \r
20634   { $as_echo "$as_me:$LINENO: checking for int32_t" >&5\r
20635 $as_echo_n "checking for int32_t... " >&6; }\r
20636 if test "${ac_cv_c_int32_t+set}" = set; then\r
20637   $as_echo_n "(cached) " >&6\r
20638 else\r
20639   ac_cv_c_int32_t=no\r
20640      for ac_type in 'int32_t' 'int' 'long int' \\r
20641          'long long int' 'short int' 'signed char'; do\r
20642        cat >conftest.$ac_ext <<_ACEOF\r
20643 /* confdefs.h.  */\r
20644 _ACEOF\r
20645 cat confdefs.h >>conftest.$ac_ext\r
20646 cat >>conftest.$ac_ext <<_ACEOF\r
20647 /* end confdefs.h.  */\r
20648 $ac_includes_default\r
20649 int\r
20650 main ()\r
20651 {\r
20652 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))];\r
20653 test_array [0] = 0\r
20654 \r
20655   ;\r
20656   return 0;\r
20657 }\r
20658 _ACEOF\r
20659 rm -f conftest.$ac_objext\r
20660 if { (ac_try="$ac_compile"\r
20661 case "(($ac_try" in\r
20662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20663   *) ac_try_echo=$ac_try;;\r
20664 esac\r
20665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20666 $as_echo "$ac_try_echo") >&5\r
20667   (eval "$ac_compile") 2>conftest.er1\r
20668   ac_status=$?\r
20669   grep -v '^ *+' conftest.er1 >conftest.err\r
20670   rm -f conftest.er1\r
20671   cat conftest.err >&5\r
20672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20673   (exit $ac_status); } && {\r
20674          test -z "$ac_c_werror_flag" ||\r
20675          test ! -s conftest.err\r
20676        } && test -s conftest.$ac_objext; then\r
20677   cat >conftest.$ac_ext <<_ACEOF\r
20678 /* confdefs.h.  */\r
20679 _ACEOF\r
20680 cat confdefs.h >>conftest.$ac_ext\r
20681 cat >>conftest.$ac_ext <<_ACEOF\r
20682 /* end confdefs.h.  */\r
20683 $ac_includes_default\r
20684 int\r
20685 main ()\r
20686 {\r
20687 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1)\r
20688                  < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))];\r
20689 test_array [0] = 0\r
20690 \r
20691   ;\r
20692   return 0;\r
20693 }\r
20694 _ACEOF\r
20695 rm -f conftest.$ac_objext\r
20696 if { (ac_try="$ac_compile"\r
20697 case "(($ac_try" in\r
20698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20699   *) ac_try_echo=$ac_try;;\r
20700 esac\r
20701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20702 $as_echo "$ac_try_echo") >&5\r
20703   (eval "$ac_compile") 2>conftest.er1\r
20704   ac_status=$?\r
20705   grep -v '^ *+' conftest.er1 >conftest.err\r
20706   rm -f conftest.er1\r
20707   cat conftest.err >&5\r
20708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20709   (exit $ac_status); } && {\r
20710          test -z "$ac_c_werror_flag" ||\r
20711          test ! -s conftest.err\r
20712        } && test -s conftest.$ac_objext; then\r
20713   :\r
20714 else\r
20715   $as_echo "$as_me: failed program was:" >&5\r
20716 sed 's/^/| /' conftest.$ac_ext >&5\r
20717 \r
20718         case $ac_type in\r
20719   int32_t) ac_cv_c_int32_t=yes ;;\r
20720   *) ac_cv_c_int32_t=$ac_type ;;\r
20721 esac\r
20722 \r
20723 fi\r
20724 \r
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20726 else\r
20727   $as_echo "$as_me: failed program was:" >&5\r
20728 sed 's/^/| /' conftest.$ac_ext >&5\r
20729 \r
20730 \r
20731 fi\r
20732 \r
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20734        test "$ac_cv_c_int32_t" != no && break\r
20735      done\r
20736 fi\r
20737 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5\r
20738 $as_echo "$ac_cv_c_int32_t" >&6; }\r
20739   case $ac_cv_c_int32_t in #(\r
20740   no|yes) ;; #(\r
20741   *)\r
20742 \r
20743 cat >>confdefs.h <<_ACEOF\r
20744 #define int32_t $ac_cv_c_int32_t\r
20745 _ACEOF\r
20746 ;;\r
20747   esac\r
20748 \r
20749 \r
20750   { $as_echo "$as_me:$LINENO: checking for int64_t" >&5\r
20751 $as_echo_n "checking for int64_t... " >&6; }\r
20752 if test "${ac_cv_c_int64_t+set}" = set; then\r
20753   $as_echo_n "(cached) " >&6\r
20754 else\r
20755   ac_cv_c_int64_t=no\r
20756      for ac_type in 'int64_t' 'int' 'long int' \\r
20757          'long long int' 'short int' 'signed char'; do\r
20758        cat >conftest.$ac_ext <<_ACEOF\r
20759 /* confdefs.h.  */\r
20760 _ACEOF\r
20761 cat confdefs.h >>conftest.$ac_ext\r
20762 cat >>conftest.$ac_ext <<_ACEOF\r
20763 /* end confdefs.h.  */\r
20764 $ac_includes_default\r
20765 int\r
20766 main ()\r
20767 {\r
20768 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))];\r
20769 test_array [0] = 0\r
20770 \r
20771   ;\r
20772   return 0;\r
20773 }\r
20774 _ACEOF\r
20775 rm -f conftest.$ac_objext\r
20776 if { (ac_try="$ac_compile"\r
20777 case "(($ac_try" in\r
20778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20779   *) ac_try_echo=$ac_try;;\r
20780 esac\r
20781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20782 $as_echo "$ac_try_echo") >&5\r
20783   (eval "$ac_compile") 2>conftest.er1\r
20784   ac_status=$?\r
20785   grep -v '^ *+' conftest.er1 >conftest.err\r
20786   rm -f conftest.er1\r
20787   cat conftest.err >&5\r
20788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20789   (exit $ac_status); } && {\r
20790          test -z "$ac_c_werror_flag" ||\r
20791          test ! -s conftest.err\r
20792        } && test -s conftest.$ac_objext; then\r
20793   cat >conftest.$ac_ext <<_ACEOF\r
20794 /* confdefs.h.  */\r
20795 _ACEOF\r
20796 cat confdefs.h >>conftest.$ac_ext\r
20797 cat >>conftest.$ac_ext <<_ACEOF\r
20798 /* end confdefs.h.  */\r
20799 $ac_includes_default\r
20800 int\r
20801 main ()\r
20802 {\r
20803 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1)\r
20804                  < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))];\r
20805 test_array [0] = 0\r
20806 \r
20807   ;\r
20808   return 0;\r
20809 }\r
20810 _ACEOF\r
20811 rm -f conftest.$ac_objext\r
20812 if { (ac_try="$ac_compile"\r
20813 case "(($ac_try" in\r
20814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20815   *) ac_try_echo=$ac_try;;\r
20816 esac\r
20817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20818 $as_echo "$ac_try_echo") >&5\r
20819   (eval "$ac_compile") 2>conftest.er1\r
20820   ac_status=$?\r
20821   grep -v '^ *+' conftest.er1 >conftest.err\r
20822   rm -f conftest.er1\r
20823   cat conftest.err >&5\r
20824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20825   (exit $ac_status); } && {\r
20826          test -z "$ac_c_werror_flag" ||\r
20827          test ! -s conftest.err\r
20828        } && test -s conftest.$ac_objext; then\r
20829   :\r
20830 else\r
20831   $as_echo "$as_me: failed program was:" >&5\r
20832 sed 's/^/| /' conftest.$ac_ext >&5\r
20833 \r
20834         case $ac_type in\r
20835   int64_t) ac_cv_c_int64_t=yes ;;\r
20836   *) ac_cv_c_int64_t=$ac_type ;;\r
20837 esac\r
20838 \r
20839 fi\r
20840 \r
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20842 else\r
20843   $as_echo "$as_me: failed program was:" >&5\r
20844 sed 's/^/| /' conftest.$ac_ext >&5\r
20845 \r
20846 \r
20847 fi\r
20848 \r
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20850        test "$ac_cv_c_int64_t" != no && break\r
20851      done\r
20852 fi\r
20853 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5\r
20854 $as_echo "$ac_cv_c_int64_t" >&6; }\r
20855   case $ac_cv_c_int64_t in #(\r
20856   no|yes) ;; #(\r
20857   *)\r
20858 \r
20859 cat >>confdefs.h <<_ACEOF\r
20860 #define int64_t $ac_cv_c_int64_t\r
20861 _ACEOF\r
20862 ;;\r
20863   esac\r
20864 \r
20865 \r
20866   { $as_echo "$as_me:$LINENO: checking for intptr_t" >&5\r
20867 $as_echo_n "checking for intptr_t... " >&6; }\r
20868 if test "${ac_cv_type_intptr_t+set}" = set; then\r
20869   $as_echo_n "(cached) " >&6\r
20870 else\r
20871   ac_cv_type_intptr_t=no\r
20872 cat >conftest.$ac_ext <<_ACEOF\r
20873 /* confdefs.h.  */\r
20874 _ACEOF\r
20875 cat confdefs.h >>conftest.$ac_ext\r
20876 cat >>conftest.$ac_ext <<_ACEOF\r
20877 /* end confdefs.h.  */\r
20878 $ac_includes_default\r
20879 int\r
20880 main ()\r
20881 {\r
20882 if (sizeof (intptr_t))\r
20883        return 0;\r
20884   ;\r
20885   return 0;\r
20886 }\r
20887 _ACEOF\r
20888 rm -f conftest.$ac_objext\r
20889 if { (ac_try="$ac_compile"\r
20890 case "(($ac_try" in\r
20891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20892   *) ac_try_echo=$ac_try;;\r
20893 esac\r
20894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20895 $as_echo "$ac_try_echo") >&5\r
20896   (eval "$ac_compile") 2>conftest.er1\r
20897   ac_status=$?\r
20898   grep -v '^ *+' conftest.er1 >conftest.err\r
20899   rm -f conftest.er1\r
20900   cat conftest.err >&5\r
20901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20902   (exit $ac_status); } && {\r
20903          test -z "$ac_c_werror_flag" ||\r
20904          test ! -s conftest.err\r
20905        } && test -s conftest.$ac_objext; then\r
20906   cat >conftest.$ac_ext <<_ACEOF\r
20907 /* confdefs.h.  */\r
20908 _ACEOF\r
20909 cat confdefs.h >>conftest.$ac_ext\r
20910 cat >>conftest.$ac_ext <<_ACEOF\r
20911 /* end confdefs.h.  */\r
20912 $ac_includes_default\r
20913 int\r
20914 main ()\r
20915 {\r
20916 if (sizeof ((intptr_t)))\r
20917           return 0;\r
20918   ;\r
20919   return 0;\r
20920 }\r
20921 _ACEOF\r
20922 rm -f conftest.$ac_objext\r
20923 if { (ac_try="$ac_compile"\r
20924 case "(($ac_try" in\r
20925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20926   *) ac_try_echo=$ac_try;;\r
20927 esac\r
20928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20929 $as_echo "$ac_try_echo") >&5\r
20930   (eval "$ac_compile") 2>conftest.er1\r
20931   ac_status=$?\r
20932   grep -v '^ *+' conftest.er1 >conftest.err\r
20933   rm -f conftest.er1\r
20934   cat conftest.err >&5\r
20935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20936   (exit $ac_status); } && {\r
20937          test -z "$ac_c_werror_flag" ||\r
20938          test ! -s conftest.err\r
20939        } && test -s conftest.$ac_objext; then\r
20940   :\r
20941 else\r
20942   $as_echo "$as_me: failed program was:" >&5\r
20943 sed 's/^/| /' conftest.$ac_ext >&5\r
20944 \r
20945         ac_cv_type_intptr_t=yes\r
20946 fi\r
20947 \r
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20949 else\r
20950   $as_echo "$as_me: failed program was:" >&5\r
20951 sed 's/^/| /' conftest.$ac_ext >&5\r
20952 \r
20953 \r
20954 fi\r
20955 \r
20956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
20957 fi\r
20958 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5\r
20959 $as_echo "$ac_cv_type_intptr_t" >&6; }\r
20960 if test "x$ac_cv_type_intptr_t" = x""yes; then\r
20961 \r
20962 cat >>confdefs.h <<\_ACEOF\r
20963 #define HAVE_INTPTR_T 1\r
20964 _ACEOF\r
20965 \r
20966 else\r
20967   for ac_type in 'int' 'long int' 'long long int'; do\r
20968        cat >conftest.$ac_ext <<_ACEOF\r
20969 /* confdefs.h.  */\r
20970 _ACEOF\r
20971 cat confdefs.h >>conftest.$ac_ext\r
20972 cat >>conftest.$ac_ext <<_ACEOF\r
20973 /* end confdefs.h.  */\r
20974 $ac_includes_default\r
20975 int\r
20976 main ()\r
20977 {\r
20978 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];\r
20979 test_array [0] = 0\r
20980 \r
20981   ;\r
20982   return 0;\r
20983 }\r
20984 _ACEOF\r
20985 rm -f conftest.$ac_objext\r
20986 if { (ac_try="$ac_compile"\r
20987 case "(($ac_try" in\r
20988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
20989   *) ac_try_echo=$ac_try;;\r
20990 esac\r
20991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
20992 $as_echo "$ac_try_echo") >&5\r
20993   (eval "$ac_compile") 2>conftest.er1\r
20994   ac_status=$?\r
20995   grep -v '^ *+' conftest.er1 >conftest.err\r
20996   rm -f conftest.er1\r
20997   cat conftest.err >&5\r
20998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
20999   (exit $ac_status); } && {\r
21000          test -z "$ac_c_werror_flag" ||\r
21001          test ! -s conftest.err\r
21002        } && test -s conftest.$ac_objext; then\r
21003 \r
21004 cat >>confdefs.h <<_ACEOF\r
21005 #define intptr_t $ac_type\r
21006 _ACEOF\r
21007 \r
21008           ac_type=\r
21009 else\r
21010   $as_echo "$as_me: failed program was:" >&5\r
21011 sed 's/^/| /' conftest.$ac_ext >&5\r
21012 \r
21013 \r
21014 fi\r
21015 \r
21016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21017        test -z "$ac_type" && break\r
21018      done\r
21019 fi\r
21020 \r
21021 \r
21022 \r
21023   { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5\r
21024 $as_echo_n "checking for uint8_t... " >&6; }\r
21025 if test "${ac_cv_c_uint8_t+set}" = set; then\r
21026   $as_echo_n "(cached) " >&6\r
21027 else\r
21028   ac_cv_c_uint8_t=no\r
21029      for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \\r
21030          'unsigned long long int' 'unsigned short int' 'unsigned char'; do\r
21031        cat >conftest.$ac_ext <<_ACEOF\r
21032 /* confdefs.h.  */\r
21033 _ACEOF\r
21034 cat confdefs.h >>conftest.$ac_ext\r
21035 cat >>conftest.$ac_ext <<_ACEOF\r
21036 /* end confdefs.h.  */\r
21037 $ac_includes_default\r
21038 int\r
21039 main ()\r
21040 {\r
21041 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];\r
21042 test_array [0] = 0\r
21043 \r
21044   ;\r
21045   return 0;\r
21046 }\r
21047 _ACEOF\r
21048 rm -f conftest.$ac_objext\r
21049 if { (ac_try="$ac_compile"\r
21050 case "(($ac_try" in\r
21051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21052   *) ac_try_echo=$ac_try;;\r
21053 esac\r
21054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21055 $as_echo "$ac_try_echo") >&5\r
21056   (eval "$ac_compile") 2>conftest.er1\r
21057   ac_status=$?\r
21058   grep -v '^ *+' conftest.er1 >conftest.err\r
21059   rm -f conftest.er1\r
21060   cat conftest.err >&5\r
21061   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21062   (exit $ac_status); } && {\r
21063          test -z "$ac_c_werror_flag" ||\r
21064          test ! -s conftest.err\r
21065        } && test -s conftest.$ac_objext; then\r
21066   case $ac_type in\r
21067   uint8_t) ac_cv_c_uint8_t=yes ;;\r
21068   *) ac_cv_c_uint8_t=$ac_type ;;\r
21069 esac\r
21070 \r
21071 else\r
21072   $as_echo "$as_me: failed program was:" >&5\r
21073 sed 's/^/| /' conftest.$ac_ext >&5\r
21074 \r
21075 \r
21076 fi\r
21077 \r
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21079        test "$ac_cv_c_uint8_t" != no && break\r
21080      done\r
21081 fi\r
21082 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5\r
21083 $as_echo "$ac_cv_c_uint8_t" >&6; }\r
21084   case $ac_cv_c_uint8_t in #(\r
21085   no|yes) ;; #(\r
21086   *)\r
21087 \r
21088 cat >>confdefs.h <<\_ACEOF\r
21089 #define _UINT8_T 1\r
21090 _ACEOF\r
21091 \r
21092 \r
21093 cat >>confdefs.h <<_ACEOF\r
21094 #define uint8_t $ac_cv_c_uint8_t\r
21095 _ACEOF\r
21096 ;;\r
21097   esac\r
21098 \r
21099 \r
21100   { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5\r
21101 $as_echo_n "checking for uint16_t... " >&6; }\r
21102 if test "${ac_cv_c_uint16_t+set}" = set; then\r
21103   $as_echo_n "(cached) " >&6\r
21104 else\r
21105   ac_cv_c_uint16_t=no\r
21106      for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \\r
21107          'unsigned long long int' 'unsigned short int' 'unsigned char'; do\r
21108        cat >conftest.$ac_ext <<_ACEOF\r
21109 /* confdefs.h.  */\r
21110 _ACEOF\r
21111 cat confdefs.h >>conftest.$ac_ext\r
21112 cat >>conftest.$ac_ext <<_ACEOF\r
21113 /* end confdefs.h.  */\r
21114 $ac_includes_default\r
21115 int\r
21116 main ()\r
21117 {\r
21118 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];\r
21119 test_array [0] = 0\r
21120 \r
21121   ;\r
21122   return 0;\r
21123 }\r
21124 _ACEOF\r
21125 rm -f conftest.$ac_objext\r
21126 if { (ac_try="$ac_compile"\r
21127 case "(($ac_try" in\r
21128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21129   *) ac_try_echo=$ac_try;;\r
21130 esac\r
21131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21132 $as_echo "$ac_try_echo") >&5\r
21133   (eval "$ac_compile") 2>conftest.er1\r
21134   ac_status=$?\r
21135   grep -v '^ *+' conftest.er1 >conftest.err\r
21136   rm -f conftest.er1\r
21137   cat conftest.err >&5\r
21138   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21139   (exit $ac_status); } && {\r
21140          test -z "$ac_c_werror_flag" ||\r
21141          test ! -s conftest.err\r
21142        } && test -s conftest.$ac_objext; then\r
21143   case $ac_type in\r
21144   uint16_t) ac_cv_c_uint16_t=yes ;;\r
21145   *) ac_cv_c_uint16_t=$ac_type ;;\r
21146 esac\r
21147 \r
21148 else\r
21149   $as_echo "$as_me: failed program was:" >&5\r
21150 sed 's/^/| /' conftest.$ac_ext >&5\r
21151 \r
21152 \r
21153 fi\r
21154 \r
21155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21156        test "$ac_cv_c_uint16_t" != no && break\r
21157      done\r
21158 fi\r
21159 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5\r
21160 $as_echo "$ac_cv_c_uint16_t" >&6; }\r
21161   case $ac_cv_c_uint16_t in #(\r
21162   no|yes) ;; #(\r
21163   *)\r
21164 \r
21165 \r
21166 cat >>confdefs.h <<_ACEOF\r
21167 #define uint16_t $ac_cv_c_uint16_t\r
21168 _ACEOF\r
21169 ;;\r
21170   esac\r
21171 \r
21172 \r
21173   { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5\r
21174 $as_echo_n "checking for uint32_t... " >&6; }\r
21175 if test "${ac_cv_c_uint32_t+set}" = set; then\r
21176   $as_echo_n "(cached) " >&6\r
21177 else\r
21178   ac_cv_c_uint32_t=no\r
21179      for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \\r
21180          'unsigned long long int' 'unsigned short int' 'unsigned char'; do\r
21181        cat >conftest.$ac_ext <<_ACEOF\r
21182 /* confdefs.h.  */\r
21183 _ACEOF\r
21184 cat confdefs.h >>conftest.$ac_ext\r
21185 cat >>conftest.$ac_ext <<_ACEOF\r
21186 /* end confdefs.h.  */\r
21187 $ac_includes_default\r
21188 int\r
21189 main ()\r
21190 {\r
21191 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];\r
21192 test_array [0] = 0\r
21193 \r
21194   ;\r
21195   return 0;\r
21196 }\r
21197 _ACEOF\r
21198 rm -f conftest.$ac_objext\r
21199 if { (ac_try="$ac_compile"\r
21200 case "(($ac_try" in\r
21201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21202   *) ac_try_echo=$ac_try;;\r
21203 esac\r
21204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21205 $as_echo "$ac_try_echo") >&5\r
21206   (eval "$ac_compile") 2>conftest.er1\r
21207   ac_status=$?\r
21208   grep -v '^ *+' conftest.er1 >conftest.err\r
21209   rm -f conftest.er1\r
21210   cat conftest.err >&5\r
21211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21212   (exit $ac_status); } && {\r
21213          test -z "$ac_c_werror_flag" ||\r
21214          test ! -s conftest.err\r
21215        } && test -s conftest.$ac_objext; then\r
21216   case $ac_type in\r
21217   uint32_t) ac_cv_c_uint32_t=yes ;;\r
21218   *) ac_cv_c_uint32_t=$ac_type ;;\r
21219 esac\r
21220 \r
21221 else\r
21222   $as_echo "$as_me: failed program was:" >&5\r
21223 sed 's/^/| /' conftest.$ac_ext >&5\r
21224 \r
21225 \r
21226 fi\r
21227 \r
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21229        test "$ac_cv_c_uint32_t" != no && break\r
21230      done\r
21231 fi\r
21232 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5\r
21233 $as_echo "$ac_cv_c_uint32_t" >&6; }\r
21234   case $ac_cv_c_uint32_t in #(\r
21235   no|yes) ;; #(\r
21236   *)\r
21237 \r
21238 cat >>confdefs.h <<\_ACEOF\r
21239 #define _UINT32_T 1\r
21240 _ACEOF\r
21241 \r
21242 \r
21243 cat >>confdefs.h <<_ACEOF\r
21244 #define uint32_t $ac_cv_c_uint32_t\r
21245 _ACEOF\r
21246 ;;\r
21247   esac\r
21248 \r
21249 \r
21250   { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5\r
21251 $as_echo_n "checking for uint64_t... " >&6; }\r
21252 if test "${ac_cv_c_uint64_t+set}" = set; then\r
21253   $as_echo_n "(cached) " >&6\r
21254 else\r
21255   ac_cv_c_uint64_t=no\r
21256      for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \\r
21257          'unsigned long long int' 'unsigned short int' 'unsigned char'; do\r
21258        cat >conftest.$ac_ext <<_ACEOF\r
21259 /* confdefs.h.  */\r
21260 _ACEOF\r
21261 cat confdefs.h >>conftest.$ac_ext\r
21262 cat >>conftest.$ac_ext <<_ACEOF\r
21263 /* end confdefs.h.  */\r
21264 $ac_includes_default\r
21265 int\r
21266 main ()\r
21267 {\r
21268 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];\r
21269 test_array [0] = 0\r
21270 \r
21271   ;\r
21272   return 0;\r
21273 }\r
21274 _ACEOF\r
21275 rm -f conftest.$ac_objext\r
21276 if { (ac_try="$ac_compile"\r
21277 case "(($ac_try" in\r
21278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21279   *) ac_try_echo=$ac_try;;\r
21280 esac\r
21281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21282 $as_echo "$ac_try_echo") >&5\r
21283   (eval "$ac_compile") 2>conftest.er1\r
21284   ac_status=$?\r
21285   grep -v '^ *+' conftest.er1 >conftest.err\r
21286   rm -f conftest.er1\r
21287   cat conftest.err >&5\r
21288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21289   (exit $ac_status); } && {\r
21290          test -z "$ac_c_werror_flag" ||\r
21291          test ! -s conftest.err\r
21292        } && test -s conftest.$ac_objext; then\r
21293   case $ac_type in\r
21294   uint64_t) ac_cv_c_uint64_t=yes ;;\r
21295   *) ac_cv_c_uint64_t=$ac_type ;;\r
21296 esac\r
21297 \r
21298 else\r
21299   $as_echo "$as_me: failed program was:" >&5\r
21300 sed 's/^/| /' conftest.$ac_ext >&5\r
21301 \r
21302 \r
21303 fi\r
21304 \r
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21306        test "$ac_cv_c_uint64_t" != no && break\r
21307      done\r
21308 fi\r
21309 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5\r
21310 $as_echo "$ac_cv_c_uint64_t" >&6; }\r
21311   case $ac_cv_c_uint64_t in #(\r
21312   no|yes) ;; #(\r
21313   *)\r
21314 \r
21315 cat >>confdefs.h <<\_ACEOF\r
21316 #define _UINT64_T 1\r
21317 _ACEOF\r
21318 \r
21319 \r
21320 cat >>confdefs.h <<_ACEOF\r
21321 #define uint64_t $ac_cv_c_uint64_t\r
21322 _ACEOF\r
21323 ;;\r
21324   esac\r
21325 \r
21326 \r
21327   { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5\r
21328 $as_echo_n "checking for uintptr_t... " >&6; }\r
21329 if test "${ac_cv_type_uintptr_t+set}" = set; then\r
21330   $as_echo_n "(cached) " >&6\r
21331 else\r
21332   ac_cv_type_uintptr_t=no\r
21333 cat >conftest.$ac_ext <<_ACEOF\r
21334 /* confdefs.h.  */\r
21335 _ACEOF\r
21336 cat confdefs.h >>conftest.$ac_ext\r
21337 cat >>conftest.$ac_ext <<_ACEOF\r
21338 /* end confdefs.h.  */\r
21339 $ac_includes_default\r
21340 int\r
21341 main ()\r
21342 {\r
21343 if (sizeof (uintptr_t))\r
21344        return 0;\r
21345   ;\r
21346   return 0;\r
21347 }\r
21348 _ACEOF\r
21349 rm -f conftest.$ac_objext\r
21350 if { (ac_try="$ac_compile"\r
21351 case "(($ac_try" in\r
21352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21353   *) ac_try_echo=$ac_try;;\r
21354 esac\r
21355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21356 $as_echo "$ac_try_echo") >&5\r
21357   (eval "$ac_compile") 2>conftest.er1\r
21358   ac_status=$?\r
21359   grep -v '^ *+' conftest.er1 >conftest.err\r
21360   rm -f conftest.er1\r
21361   cat conftest.err >&5\r
21362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21363   (exit $ac_status); } && {\r
21364          test -z "$ac_c_werror_flag" ||\r
21365          test ! -s conftest.err\r
21366        } && test -s conftest.$ac_objext; then\r
21367   cat >conftest.$ac_ext <<_ACEOF\r
21368 /* confdefs.h.  */\r
21369 _ACEOF\r
21370 cat confdefs.h >>conftest.$ac_ext\r
21371 cat >>conftest.$ac_ext <<_ACEOF\r
21372 /* end confdefs.h.  */\r
21373 $ac_includes_default\r
21374 int\r
21375 main ()\r
21376 {\r
21377 if (sizeof ((uintptr_t)))\r
21378           return 0;\r
21379   ;\r
21380   return 0;\r
21381 }\r
21382 _ACEOF\r
21383 rm -f conftest.$ac_objext\r
21384 if { (ac_try="$ac_compile"\r
21385 case "(($ac_try" in\r
21386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21387   *) ac_try_echo=$ac_try;;\r
21388 esac\r
21389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21390 $as_echo "$ac_try_echo") >&5\r
21391   (eval "$ac_compile") 2>conftest.er1\r
21392   ac_status=$?\r
21393   grep -v '^ *+' conftest.er1 >conftest.err\r
21394   rm -f conftest.er1\r
21395   cat conftest.err >&5\r
21396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21397   (exit $ac_status); } && {\r
21398          test -z "$ac_c_werror_flag" ||\r
21399          test ! -s conftest.err\r
21400        } && test -s conftest.$ac_objext; then\r
21401   :\r
21402 else\r
21403   $as_echo "$as_me: failed program was:" >&5\r
21404 sed 's/^/| /' conftest.$ac_ext >&5\r
21405 \r
21406         ac_cv_type_uintptr_t=yes\r
21407 fi\r
21408 \r
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21410 else\r
21411   $as_echo "$as_me: failed program was:" >&5\r
21412 sed 's/^/| /' conftest.$ac_ext >&5\r
21413 \r
21414 \r
21415 fi\r
21416 \r
21417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21418 fi\r
21419 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5\r
21420 $as_echo "$ac_cv_type_uintptr_t" >&6; }\r
21421 if test "x$ac_cv_type_uintptr_t" = x""yes; then\r
21422 \r
21423 cat >>confdefs.h <<\_ACEOF\r
21424 #define HAVE_UINTPTR_T 1\r
21425 _ACEOF\r
21426 \r
21427 else\r
21428   for ac_type in 'unsigned int' 'unsigned long int' \\r
21429         'unsigned long long int'; do\r
21430        cat >conftest.$ac_ext <<_ACEOF\r
21431 /* confdefs.h.  */\r
21432 _ACEOF\r
21433 cat confdefs.h >>conftest.$ac_ext\r
21434 cat >>conftest.$ac_ext <<_ACEOF\r
21435 /* end confdefs.h.  */\r
21436 $ac_includes_default\r
21437 int\r
21438 main ()\r
21439 {\r
21440 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];\r
21441 test_array [0] = 0\r
21442 \r
21443   ;\r
21444   return 0;\r
21445 }\r
21446 _ACEOF\r
21447 rm -f conftest.$ac_objext\r
21448 if { (ac_try="$ac_compile"\r
21449 case "(($ac_try" in\r
21450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21451   *) ac_try_echo=$ac_try;;\r
21452 esac\r
21453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21454 $as_echo "$ac_try_echo") >&5\r
21455   (eval "$ac_compile") 2>conftest.er1\r
21456   ac_status=$?\r
21457   grep -v '^ *+' conftest.er1 >conftest.err\r
21458   rm -f conftest.er1\r
21459   cat conftest.err >&5\r
21460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21461   (exit $ac_status); } && {\r
21462          test -z "$ac_c_werror_flag" ||\r
21463          test ! -s conftest.err\r
21464        } && test -s conftest.$ac_objext; then\r
21465 \r
21466 cat >>confdefs.h <<_ACEOF\r
21467 #define uintptr_t $ac_type\r
21468 _ACEOF\r
21469 \r
21470           ac_type=\r
21471 else\r
21472   $as_echo "$as_me: failed program was:" >&5\r
21473 sed 's/^/| /' conftest.$ac_ext >&5\r
21474 \r
21475 \r
21476 fi\r
21477 \r
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21479        test -z "$ac_type" && break\r
21480      done\r
21481 fi\r
21482 \r
21483 \r
21484 { $as_echo "$as_me:$LINENO: checking for inline" >&5\r
21485 $as_echo_n "checking for inline... " >&6; }\r
21486 if test "${ac_cv_c_inline+set}" = set; then\r
21487   $as_echo_n "(cached) " >&6\r
21488 else\r
21489   ac_cv_c_inline=no\r
21490 for ac_kw in inline __inline__ __inline; do\r
21491   cat >conftest.$ac_ext <<_ACEOF\r
21492 /* confdefs.h.  */\r
21493 _ACEOF\r
21494 cat confdefs.h >>conftest.$ac_ext\r
21495 cat >>conftest.$ac_ext <<_ACEOF\r
21496 /* end confdefs.h.  */\r
21497 #ifndef __cplusplus\r
21498 typedef int foo_t;\r
21499 static $ac_kw foo_t static_foo () {return 0; }\r
21500 $ac_kw foo_t foo () {return 0; }\r
21501 #endif\r
21502 \r
21503 _ACEOF\r
21504 rm -f conftest.$ac_objext\r
21505 if { (ac_try="$ac_compile"\r
21506 case "(($ac_try" in\r
21507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21508   *) ac_try_echo=$ac_try;;\r
21509 esac\r
21510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21511 $as_echo "$ac_try_echo") >&5\r
21512   (eval "$ac_compile") 2>conftest.er1\r
21513   ac_status=$?\r
21514   grep -v '^ *+' conftest.er1 >conftest.err\r
21515   rm -f conftest.er1\r
21516   cat conftest.err >&5\r
21517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21518   (exit $ac_status); } && {\r
21519          test -z "$ac_c_werror_flag" ||\r
21520          test ! -s conftest.err\r
21521        } && test -s conftest.$ac_objext; then\r
21522   ac_cv_c_inline=$ac_kw\r
21523 else\r
21524   $as_echo "$as_me: failed program was:" >&5\r
21525 sed 's/^/| /' conftest.$ac_ext >&5\r
21526 \r
21527 \r
21528 fi\r
21529 \r
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
21531   test "$ac_cv_c_inline" != no && break\r
21532 done\r
21533 \r
21534 fi\r
21535 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5\r
21536 $as_echo "$ac_cv_c_inline" >&6; }\r
21537 \r
21538 \r
21539 case $ac_cv_c_inline in\r
21540   inline | yes) ;;\r
21541   *)\r
21542     case $ac_cv_c_inline in\r
21543       no) ac_val=;;\r
21544       *) ac_val=$ac_cv_c_inline;;\r
21545     esac\r
21546     cat >>confdefs.h <<_ACEOF\r
21547 #ifndef __cplusplus\r
21548 #define inline $ac_val\r
21549 #endif\r
21550 _ACEOF\r
21551     ;;\r
21552 esac\r
21553 \r
21554 \r
21555 \r
21556 # Checks for library functions.\r
21557 \r
21558 \r
21559 \r
21560 \r
21561 for ac_func in memmove memset strdup accept\r
21562 do\r
21563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`\r
21564 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5\r
21565 $as_echo_n "checking for $ac_func... " >&6; }\r
21566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then\r
21567   $as_echo_n "(cached) " >&6\r
21568 else\r
21569   cat >conftest.$ac_ext <<_ACEOF\r
21570 /* confdefs.h.  */\r
21571 _ACEOF\r
21572 cat confdefs.h >>conftest.$ac_ext\r
21573 cat >>conftest.$ac_ext <<_ACEOF\r
21574 /* end confdefs.h.  */\r
21575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.\r
21576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
21577 #define $ac_func innocuous_$ac_func\r
21578 \r
21579 /* System header to define __stub macros and hopefully few prototypes,\r
21580     which can conflict with char $ac_func (); below.\r
21581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
21582     <limits.h> exists even on freestanding compilers.  */\r
21583 \r
21584 #ifdef __STDC__\r
21585 # include <limits.h>\r
21586 #else\r
21587 # include <assert.h>\r
21588 #endif\r
21589 \r
21590 #undef $ac_func\r
21591 \r
21592 /* Override any GCC internal prototype to avoid an error.\r
21593    Use char because int might match the return type of a GCC\r
21594    builtin and then its argument prototype would still apply.  */\r
21595 #ifdef __cplusplus\r
21596 extern "C"\r
21597 #endif\r
21598 char $ac_func ();\r
21599 /* The GNU C library defines this for functions which it implements\r
21600     to always fail with ENOSYS.  Some functions are actually named\r
21601     something starting with __ and the normal name is an alias.  */\r
21602 #if defined __stub_$ac_func || defined __stub___$ac_func\r
21603 choke me\r
21604 #endif\r
21605 \r
21606 int\r
21607 main ()\r
21608 {\r
21609 return $ac_func ();\r
21610   ;\r
21611   return 0;\r
21612 }\r
21613 _ACEOF\r
21614 rm -f conftest.$ac_objext conftest$ac_exeext\r
21615 if { (ac_try="$ac_link"\r
21616 case "(($ac_try" in\r
21617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
21618   *) ac_try_echo=$ac_try;;\r
21619 esac\r
21620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""\r
21621 $as_echo "$ac_try_echo") >&5\r
21622   (eval "$ac_link") 2>conftest.er1\r
21623   ac_status=$?\r
21624   grep -v '^ *+' conftest.er1 >conftest.err\r
21625   rm -f conftest.er1\r
21626   cat conftest.err >&5\r
21627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
21628   (exit $ac_status); } && {\r
21629          test -z "$ac_c_werror_flag" ||\r
21630          test ! -s conftest.err\r
21631        } && test -s conftest$ac_exeext && {\r
21632          test "$cross_compiling" = yes ||\r
21633          $as_test_x conftest$ac_exeext\r
21634        }; then\r
21635   eval "$as_ac_var=yes"\r
21636 else\r
21637   $as_echo "$as_me: failed program was:" >&5\r
21638 sed 's/^/| /' conftest.$ac_ext >&5\r
21639 \r
21640         eval "$as_ac_var=no"\r
21641 fi\r
21642 \r
21643 rm -rf conftest.dSYM\r
21644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
21645       conftest$ac_exeext conftest.$ac_ext\r
21646 fi\r
21647 ac_res=`eval 'as_val=${'$as_ac_var'}\r
21648                  $as_echo "$as_val"'`\r
21649                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5\r
21650 $as_echo "$ac_res" >&6; }\r
21651 as_val=`eval 'as_val=${'$as_ac_var'}\r
21652                  $as_echo "$as_val"'`\r
21653    if test "x$as_val" = x""yes; then\r
21654   cat >>confdefs.h <<_ACEOF\r
21655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1\r
21656 _ACEOF\r
21657 \r
21658 fi\r
21659 done\r
21660 \r
21661 \r
21662 \r
21663 \r
21664 ac_config_headers="$ac_config_headers antlr3config.h"\r
21665 \r
21666 ac_config_files="$ac_config_files Makefile"\r
21667 \r
21668 cat >confcache <<\_ACEOF\r
21669 # This file is a shell script that caches the results of configure\r
21670 # tests run on this system so they can be shared between configure\r
21671 # scripts and configure runs, see configure's option --config-cache.\r
21672 # It is not useful on other systems.  If it contains results you don't\r
21673 # want to keep, you may remove or edit it.\r
21674 #\r
21675 # config.status only pays attention to the cache file if you give it\r
21676 # the --recheck option to rerun configure.\r
21677 #\r
21678 # `ac_cv_env_foo' variables (set or unset) will be overridden when\r
21679 # loading this file, other *unset* `ac_cv_foo' will be assigned the\r
21680 # following values.\r
21681 \r
21682 _ACEOF\r
21683 \r
21684 # The following way of writing the cache mishandles newlines in values,\r
21685 # but we know of no workaround that is simple, portable, and efficient.\r
21686 # So, we kill variables containing newlines.\r
21687 # Ultrix sh set writes to stderr and can't be redirected directly,\r
21688 # and sets the high bit in the cache file unless we assign to the vars.\r
21689 (\r
21690   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do\r
21691     eval ac_val=\$$ac_var\r
21692     case $ac_val in #(\r
21693     *${as_nl}*)\r
21694       case $ac_var in #(\r
21695       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5\r
21696 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;\r
21697       esac\r
21698       case $ac_var in #(\r
21699       _ | IFS | as_nl) ;; #(\r
21700       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\r
21701       *) $as_unset $ac_var ;;\r
21702       esac ;;\r
21703     esac\r
21704   done\r
21705 \r
21706   (set) 2>&1 |\r
21707     case $as_nl`(ac_space=' '; set) 2>&1` in #(\r
21708     *${as_nl}ac_space=\ *)\r
21709       # `set' does not quote correctly, so add quotes (double-quote\r
21710       # substitution turns \\\\ into \\, and sed turns \\ into \).\r
21711       sed -n \\r
21712         "s/'/'\\\\''/g;\r
21713           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"\r
21714       ;; #(\r
21715     *)\r
21716       # `set' quotes correctly as required by POSIX, so do not add quotes.\r
21717       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
21718       ;;\r
21719     esac |\r
21720     sort\r
21721 ) |\r
21722   sed '\r
21723      /^ac_cv_env_/b end\r
21724      t clear\r
21725      :clear\r
21726      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/\r
21727      t end\r
21728      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/\r
21729      :end' >>confcache\r
21730 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else\r
21731   if test -w "$cache_file"; then\r
21732     test "x$cache_file" != "x/dev/null" &&\r
21733       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5\r
21734 $as_echo "$as_me: updating cache $cache_file" >&6;}\r
21735     cat confcache >$cache_file\r
21736   else\r
21737     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5\r
21738 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}\r
21739   fi\r
21740 fi\r
21741 rm -f confcache\r
21742 \r
21743 test "x$prefix" = xNONE && prefix=$ac_default_prefix\r
21744 # Let make expand exec_prefix.\r
21745 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'\r
21746 \r
21747 DEFS=-DHAVE_CONFIG_H\r
21748 \r
21749 ac_libobjs=\r
21750 ac_ltlibobjs=\r
21751 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue\r
21752   # 1. Remove the extension, and $U if already installed.\r
21753   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'\r
21754   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`\r
21755   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR\r
21756   #    will be set to the directory where LIBOBJS objects are built.\r
21757   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"\r
21758   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'\r
21759 done\r
21760 LIBOBJS=$ac_libobjs\r
21761 \r
21762 LTLIBOBJS=$ac_ltlibobjs\r
21763 \r
21764 \r
21765 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then\r
21766   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.\r
21767 Usually this means the macro was only invoked conditionally." >&5\r
21768 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.\r
21769 Usually this means the macro was only invoked conditionally." >&2;}\r
21770    { (exit 1); exit 1; }; }\r
21771 fi\r
21772 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then\r
21773   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.\r
21774 Usually this means the macro was only invoked conditionally." >&5\r
21775 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.\r
21776 Usually this means the macro was only invoked conditionally." >&2;}\r
21777    { (exit 1); exit 1; }; }\r
21778 fi\r
21779 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then\r
21780   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.\r
21781 Usually this means the macro was only invoked conditionally." >&5\r
21782 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.\r
21783 Usually this means the macro was only invoked conditionally." >&2;}\r
21784    { (exit 1); exit 1; }; }\r
21785 fi\r
21786 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then\r
21787   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.\r
21788 Usually this means the macro was only invoked conditionally." >&5\r
21789 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.\r
21790 Usually this means the macro was only invoked conditionally." >&2;}\r
21791    { (exit 1); exit 1; }; }\r
21792 fi\r
21793 \r
21794 : ${CONFIG_STATUS=./config.status}\r
21795 ac_write_fail=0\r
21796 ac_clean_files_save=$ac_clean_files\r
21797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"\r
21798 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5\r
21799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}\r
21800 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
21801 #! $SHELL\r
21802 # Generated by $as_me.\r
21803 # Run this file to recreate the current configuration.\r
21804 # Compiler output produced by configure, useful for debugging\r
21805 # configure, is in config.log if it exists.\r
21806 \r
21807 debug=false\r
21808 ac_cs_recheck=false\r
21809 ac_cs_silent=false\r
21810 SHELL=\${CONFIG_SHELL-$SHELL}\r
21811 _ACEOF\r
21812 \r
21813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
21814 ## --------------------- ##\r
21815 ## M4sh Initialization.  ##\r
21816 ## --------------------- ##\r
21817 \r
21818 # Be more Bourne compatible\r
21819 DUALCASE=1; export DUALCASE # for MKS sh\r
21820 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
21821   emulate sh\r
21822   NULLCMD=:\r
21823   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
21824   # is contrary to our usage.  Disable this feature.\r
21825   alias -g '${1+"$@"}'='"$@"'\r
21826   setopt NO_GLOB_SUBST\r
21827 else\r
21828   case `(set -o) 2>/dev/null` in\r
21829   *posix*) set -o posix ;;\r
21830 esac\r
21831 \r
21832 fi\r
21833 \r
21834 \r
21835 \r
21836 \r
21837 # PATH needs CR\r
21838 # Avoid depending upon Character Ranges.\r
21839 as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
21840 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
21841 as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
21842 as_cr_digits='0123456789'\r
21843 as_cr_alnum=$as_cr_Letters$as_cr_digits\r
21844 \r
21845 as_nl='\r
21846 '\r
21847 export as_nl\r
21848 # Printing a long string crashes Solaris 7 /usr/bin/printf.\r
21849 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
21850 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\r
21851 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\r
21852 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then\r
21853   as_echo='printf %s\n'\r
21854   as_echo_n='printf %s'\r
21855 else\r
21856   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then\r
21857     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'\r
21858     as_echo_n='/usr/ucb/echo -n'\r
21859   else\r
21860     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'\r
21861     as_echo_n_body='eval\r
21862       arg=$1;\r
21863       case $arg in\r
21864       *"$as_nl"*)\r
21865         expr "X$arg" : "X\\(.*\\)$as_nl";\r
21866         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;\r
21867       esac;\r
21868       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"\r
21869     '\r
21870     export as_echo_n_body\r
21871     as_echo_n='sh -c $as_echo_n_body as_echo'\r
21872   fi\r
21873   export as_echo_body\r
21874   as_echo='sh -c $as_echo_body as_echo'\r
21875 fi\r
21876 \r
21877 # The user is always right.\r
21878 if test "${PATH_SEPARATOR+set}" != set; then\r
21879   PATH_SEPARATOR=:\r
21880   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\r
21881     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\r
21882       PATH_SEPARATOR=';'\r
21883   }\r
21884 fi\r
21885 \r
21886 # Support unset when possible.\r
21887 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
21888   as_unset=unset\r
21889 else\r
21890   as_unset=false\r
21891 fi\r
21892 \r
21893 \r
21894 # IFS\r
21895 # We need space, tab and new line, in precisely that order.  Quoting is\r
21896 # there to prevent editors from complaining about space-tab.\r
21897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
21898 # splitting by setting IFS to empty value.)\r
21899 IFS=" ""        $as_nl"\r
21900 \r
21901 # Find who we are.  Look in the path if we contain no directory separator.\r
21902 case $0 in\r
21903   *[\\/]* ) as_myself=$0 ;;\r
21904   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
21905 for as_dir in $PATH\r
21906 do\r
21907   IFS=$as_save_IFS\r
21908   test -z "$as_dir" && as_dir=.\r
21909   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
21910 done\r
21911 IFS=$as_save_IFS\r
21912 \r
21913      ;;\r
21914 esac\r
21915 # We did not find ourselves, most probably we were run as `sh COMMAND'\r
21916 # in which case we are not to be found in the path.\r
21917 if test "x$as_myself" = x; then\r
21918   as_myself=$0\r
21919 fi\r
21920 if test ! -f "$as_myself"; then\r
21921   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
21922   { (exit 1); exit 1; }\r
21923 fi\r
21924 \r
21925 # Work around bugs in pre-3.0 UWIN ksh.\r
21926 for as_var in ENV MAIL MAILPATH\r
21927 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
21928 done\r
21929 PS1='$ '\r
21930 PS2='> '\r
21931 PS4='+ '\r
21932 \r
21933 # NLS nuisances.\r
21934 LC_ALL=C\r
21935 export LC_ALL\r
21936 LANGUAGE=C\r
21937 export LANGUAGE\r
21938 \r
21939 # Required to use basename.\r
21940 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
21941    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
21942   as_expr=expr\r
21943 else\r
21944   as_expr=false\r
21945 fi\r
21946 \r
21947 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
21948   as_basename=basename\r
21949 else\r
21950   as_basename=false\r
21951 fi\r
21952 \r
21953 \r
21954 # Name of the executable.\r
21955 as_me=`$as_basename -- "$0" ||\r
21956 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
21957          X"$0" : 'X\(//\)$' \| \\r
21958          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
21959 $as_echo X/"$0" |\r
21960     sed '/^.*\/\([^/][^/]*\)\/*$/{\r
21961             s//\1/\r
21962             q\r
21963           }\r
21964           /^X\/\(\/\/\)$/{\r
21965             s//\1/\r
21966             q\r
21967           }\r
21968           /^X\/\(\/\).*/{\r
21969             s//\1/\r
21970             q\r
21971           }\r
21972           s/.*/./; q'`\r
21973 \r
21974 # CDPATH.\r
21975 $as_unset CDPATH\r
21976 \r
21977 \r
21978 \r
21979   as_lineno_1=$LINENO\r
21980   as_lineno_2=$LINENO\r
21981   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
21982   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {\r
21983 \r
21984   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO\r
21985   # uniformly replaced by the line number.  The first 'sed' inserts a\r
21986   # line-number line after each line using $LINENO; the second 'sed'\r
21987   # does the real work.  The second script uses 'N' to pair each\r
21988   # line-number line with the line containing $LINENO, and appends\r
21989   # trailing '-' during substitution so that $LINENO is not a special\r
21990   # case at line end.\r
21991   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the\r
21992   # scripts with optimization help from Paolo Bonzini.  Blame Lee\r
21993   # E. McMahon (1931-1989) for sed's syntax.  :-)\r
21994   sed -n '\r
21995     p\r
21996     /[$]LINENO/=\r
21997   ' <$as_myself |\r
21998     sed '\r
21999       s/[$]LINENO.*/&-/\r
22000       t lineno\r
22001       b\r
22002       :lineno\r
22003       N\r
22004       :loop\r
22005       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
22006       t loop\r
22007       s/-\n.*//\r
22008     ' >$as_me.lineno &&\r
22009   chmod +x "$as_me.lineno" ||\r
22010     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2\r
22011    { (exit 1); exit 1; }; }\r
22012 \r
22013   # Don't try to exec as it changes $[0], causing all sort of problems\r
22014   # (the dirname of $[0] is not the place where we might find the\r
22015   # original and so on.  Autoconf is especially sensitive to this).\r
22016   . "./$as_me.lineno"\r
22017   # Exit status is that of the last command.\r
22018   exit\r
22019 }\r
22020 \r
22021 \r
22022 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
22023   as_dirname=dirname\r
22024 else\r
22025   as_dirname=false\r
22026 fi\r
22027 \r
22028 ECHO_C= ECHO_N= ECHO_T=\r
22029 case `echo -n x` in\r
22030 -n*)\r
22031   case `echo 'x\c'` in\r
22032   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.\r
22033   *)   ECHO_C='\c';;\r
22034   esac;;\r
22035 *)\r
22036   ECHO_N='-n';;\r
22037 esac\r
22038 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
22039    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
22040   as_expr=expr\r
22041 else\r
22042   as_expr=false\r
22043 fi\r
22044 \r
22045 rm -f conf$$ conf$$.exe conf$$.file\r
22046 if test -d conf$$.dir; then\r
22047   rm -f conf$$.dir/conf$$.file\r
22048 else\r
22049   rm -f conf$$.dir\r
22050   mkdir conf$$.dir 2>/dev/null\r
22051 fi\r
22052 if (echo >conf$$.file) 2>/dev/null; then\r
22053   if ln -s conf$$.file conf$$ 2>/dev/null; then\r
22054     as_ln_s='ln -s'\r
22055     # ... but there are two gotchas:\r
22056     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
22057     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
22058     # In both cases, we have to default to `cp -p'.\r
22059     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
22060       as_ln_s='cp -p'\r
22061   elif ln conf$$.file conf$$ 2>/dev/null; then\r
22062     as_ln_s=ln\r
22063   else\r
22064     as_ln_s='cp -p'\r
22065   fi\r
22066 else\r
22067   as_ln_s='cp -p'\r
22068 fi\r
22069 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
22070 rmdir conf$$.dir 2>/dev/null\r
22071 \r
22072 if mkdir -p . 2>/dev/null; then\r
22073   as_mkdir_p=:\r
22074 else\r
22075   test -d ./-p && rmdir ./-p\r
22076   as_mkdir_p=false\r
22077 fi\r
22078 \r
22079 if test -x / >/dev/null 2>&1; then\r
22080   as_test_x='test -x'\r
22081 else\r
22082   if ls -dL / >/dev/null 2>&1; then\r
22083     as_ls_L_option=L\r
22084   else\r
22085     as_ls_L_option=\r
22086   fi\r
22087   as_test_x='\r
22088     eval sh -c '\''\r
22089       if test -d "$1"; then\r
22090         test -d "$1/.";\r
22091       else\r
22092         case $1 in\r
22093         -*)set "./$1";;\r
22094         esac;\r
22095         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in\r
22096         ???[sx]*):;;*)false;;esac;fi\r
22097     '\'' sh\r
22098   '\r
22099 fi\r
22100 as_executable_p=$as_test_x\r
22101 \r
22102 # Sed expression to map a string onto a valid CPP name.\r
22103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
22104 \r
22105 # Sed expression to map a string onto a valid variable name.\r
22106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
22107 \r
22108 \r
22109 exec 6>&1\r
22110 \r
22111 # Save the log message, to keep $[0] and so on meaningful, and to\r
22112 # report actual input values of CONFIG_FILES etc. instead of their\r
22113 # values after options handling.\r
22114 ac_log="\r
22115 This file was extended by libantlr3c $as_me 3.2, which was\r
22116 generated by GNU Autoconf 2.63.  Invocation command line was\r
22117 \r
22118   CONFIG_FILES    = $CONFIG_FILES\r
22119   CONFIG_HEADERS  = $CONFIG_HEADERS\r
22120   CONFIG_LINKS    = $CONFIG_LINKS\r
22121   CONFIG_COMMANDS = $CONFIG_COMMANDS\r
22122   $ $0 $@\r
22123 \r
22124 on `(hostname || uname -n) 2>/dev/null | sed 1q`\r
22125 "\r
22126 \r
22127 _ACEOF\r
22128 \r
22129 case $ac_config_files in *"\r
22130 "*) set x $ac_config_files; shift; ac_config_files=$*;;\r
22131 esac\r
22132 \r
22133 case $ac_config_headers in *"\r
22134 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;\r
22135 esac\r
22136 \r
22137 \r
22138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22139 # Files that config.status was made for.\r
22140 config_files="$ac_config_files"\r
22141 config_headers="$ac_config_headers"\r
22142 config_commands="$ac_config_commands"\r
22143 \r
22144 _ACEOF\r
22145 \r
22146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22147 ac_cs_usage="\\r
22148 \`$as_me' instantiates files from templates according to the\r
22149 current configuration.\r
22150 \r
22151 Usage: $0 [OPTION]... [FILE]...\r
22152 \r
22153   -h, --help       print this help, then exit\r
22154   -V, --version    print version number and configuration settings, then exit\r
22155   -q, --quiet, --silent\r
22156                    do not print progress messages\r
22157   -d, --debug      don't remove temporary files\r
22158       --recheck    update $as_me by reconfiguring in the same conditions\r
22159       --file=FILE[:TEMPLATE]\r
22160                    instantiate the configuration file FILE\r
22161       --header=FILE[:TEMPLATE]\r
22162                    instantiate the configuration header FILE\r
22163 \r
22164 Configuration files:\r
22165 $config_files\r
22166 \r
22167 Configuration headers:\r
22168 $config_headers\r
22169 \r
22170 Configuration commands:\r
22171 $config_commands\r
22172 \r
22173 Report bugs to <bug-autoconf@gnu.org>."\r
22174 \r
22175 _ACEOF\r
22176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22177 ac_cs_version="\\\r
22178 libantlr3c config.status 3.2\r
22179 configured by $0, generated by GNU Autoconf 2.63,\r
22180   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"\r
22181 \r
22182 Copyright (C) 2008 Free Software Foundation, Inc.\r
22183 This config.status script is free software; the Free Software Foundation\r
22184 gives unlimited permission to copy, distribute and modify it."\r
22185 \r
22186 ac_pwd='$ac_pwd'\r
22187 srcdir='$srcdir'\r
22188 INSTALL='$INSTALL'\r
22189 AWK='$AWK'\r
22190 test -n "\$AWK" || AWK=awk\r
22191 _ACEOF\r
22192 \r
22193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22194 # The default lists apply if the user does not specify any file.\r
22195 ac_need_defaults=:\r
22196 while test $# != 0\r
22197 do\r
22198   case $1 in\r
22199   --*=*)\r
22200     ac_option=`expr "X$1" : 'X\([^=]*\)='`\r
22201     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`\r
22202     ac_shift=:\r
22203     ;;\r
22204   *)\r
22205     ac_option=$1\r
22206     ac_optarg=$2\r
22207     ac_shift=shift\r
22208     ;;\r
22209   esac\r
22210 \r
22211   case $ac_option in\r
22212   # Handling of the options.\r
22213   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)\r
22214     ac_cs_recheck=: ;;\r
22215   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )\r
22216     $as_echo "$ac_cs_version"; exit ;;\r
22217   --debug | --debu | --deb | --de | --d | -d )\r
22218     debug=: ;;\r
22219   --file | --fil | --fi | --f )\r
22220     $ac_shift\r
22221     case $ac_optarg in\r
22222     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
22223     esac\r
22224     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"\r
22225     ac_need_defaults=false;;\r
22226   --header | --heade | --head | --hea )\r
22227     $ac_shift\r
22228     case $ac_optarg in\r
22229     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
22230     esac\r
22231     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"\r
22232     ac_need_defaults=false;;\r
22233   --he | --h)\r
22234     # Conflict between --help and --header\r
22235     { $as_echo "$as_me: error: ambiguous option: $1\r
22236 Try \`$0 --help' for more information." >&2\r
22237    { (exit 1); exit 1; }; };;\r
22238   --help | --hel | -h )\r
22239     $as_echo "$ac_cs_usage"; exit ;;\r
22240   -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
22241   | -silent | --silent | --silen | --sile | --sil | --si | --s)\r
22242     ac_cs_silent=: ;;\r
22243 \r
22244   # This is an error.\r
22245   -*) { $as_echo "$as_me: error: unrecognized option: $1\r
22246 Try \`$0 --help' for more information." >&2\r
22247    { (exit 1); exit 1; }; } ;;\r
22248 \r
22249   *) ac_config_targets="$ac_config_targets $1"\r
22250      ac_need_defaults=false ;;\r
22251 \r
22252   esac\r
22253   shift\r
22254 done\r
22255 \r
22256 ac_configure_extra_args=\r
22257 \r
22258 if $ac_cs_silent; then\r
22259   exec 6>/dev/null\r
22260   ac_configure_extra_args="$ac_configure_extra_args --silent"\r
22261 fi\r
22262 \r
22263 _ACEOF\r
22264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22265 if \$ac_cs_recheck; then\r
22266   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion\r
22267   shift\r
22268   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6\r
22269   CONFIG_SHELL='$SHELL'\r
22270   export CONFIG_SHELL\r
22271   exec "\$@"\r
22272 fi\r
22273 \r
22274 _ACEOF\r
22275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22276 exec 5>>config.log\r
22277 {\r
22278   echo\r
22279   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX\r
22280 ## Running $as_me. ##\r
22281 _ASBOX\r
22282   $as_echo "$ac_log"\r
22283 } >&5\r
22284 \r
22285 _ACEOF\r
22286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22287 #\r
22288 # INIT-COMMANDS\r
22289 #\r
22290 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"\r
22291 \r
22292 _ACEOF\r
22293 \r
22294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22295 \r
22296 # Handling of arguments.\r
22297 for ac_config_target in $ac_config_targets\r
22298 do\r
22299   case $ac_config_target in\r
22300     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;\r
22301     "antlr3config.h") CONFIG_HEADERS="$CONFIG_HEADERS antlr3config.h" ;;\r
22302     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;\r
22303 \r
22304   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5\r
22305 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}\r
22306    { (exit 1); exit 1; }; };;\r
22307   esac\r
22308 done\r
22309 \r
22310 \r
22311 # If the user did not use the arguments to specify the items to instantiate,\r
22312 # then the envvar interface is used.  Set only those that are not.\r
22313 # We use the long form for the default assignment because of an extremely\r
22314 # bizarre bug on SunOS 4.1.3.\r
22315 if $ac_need_defaults; then\r
22316   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files\r
22317   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers\r
22318   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands\r
22319 fi\r
22320 \r
22321 # Have a temporary directory for convenience.  Make it in the build tree\r
22322 # simply because there is no reason against having it here, and in addition,\r
22323 # creating and moving files from /tmp can sometimes cause problems.\r
22324 # Hook for its removal unless debugging.\r
22325 # Note that there is a small window in which the directory will not be cleaned:\r
22326 # after its creation but before its name has been assigned to `$tmp'.\r
22327 $debug ||\r
22328 {\r
22329   tmp=\r
22330   trap 'exit_status=$?\r
22331   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status\r
22332 ' 0\r
22333   trap '{ (exit 1); exit 1; }' 1 2 13 15\r
22334 }\r
22335 # Create a (secure) tmp directory for tmp files.\r
22336 \r
22337 {\r
22338   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&\r
22339   test -n "$tmp" && test -d "$tmp"\r
22340 }  ||\r
22341 {\r
22342   tmp=./conf$$-$RANDOM\r
22343   (umask 077 && mkdir "$tmp")\r
22344 } ||\r
22345 {\r
22346    $as_echo "$as_me: cannot create a temporary directory in ." >&2\r
22347    { (exit 1); exit 1; }\r
22348 }\r
22349 \r
22350 # Set up the scripts for CONFIG_FILES section.\r
22351 # No need to generate them if there are no CONFIG_FILES.\r
22352 # This happens for instance with `./config.status config.h'.\r
22353 if test -n "$CONFIG_FILES"; then\r
22354 \r
22355 \r
22356 ac_cr='\r
22357 '\r
22358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`\r
22359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then\r
22360   ac_cs_awk_cr='\\r'\r
22361 else\r
22362   ac_cs_awk_cr=$ac_cr\r
22363 fi\r
22364 \r
22365 echo 'BEGIN {' >"$tmp/subs1.awk" &&\r
22366 _ACEOF\r
22367 \r
22368 \r
22369 {\r
22370   echo "cat >conf$$subs.awk <<_ACEOF" &&\r
22371   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&\r
22372   echo "_ACEOF"\r
22373 } >conf$$subs.sh ||\r
22374   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
22375 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
22376    { (exit 1); exit 1; }; }\r
22377 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`\r
22378 ac_delim='%!_!# '\r
22379 for ac_last_try in false false false false false :; do\r
22380   . ./conf$$subs.sh ||\r
22381     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
22382 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
22383    { (exit 1); exit 1; }; }\r
22384 \r
22385   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`\r
22386   if test $ac_delim_n = $ac_delim_num; then\r
22387     break\r
22388   elif $ac_last_try; then\r
22389     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
22390 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
22391    { (exit 1); exit 1; }; }\r
22392   else\r
22393     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
22394   fi\r
22395 done\r
22396 rm -f conf$$subs.sh\r
22397 \r
22398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22399 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&\r
22400 _ACEOF\r
22401 sed -n '\r
22402 h\r
22403 s/^/S["/; s/!.*/"]=/\r
22404 p\r
22405 g\r
22406 s/^[^!]*!//\r
22407 :repl\r
22408 t repl\r
22409 s/'"$ac_delim"'$//\r
22410 t delim\r
22411 :nl\r
22412 h\r
22413 s/\(.\{148\}\).*/\1/\r
22414 t more1\r
22415 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/\r
22416 p\r
22417 n\r
22418 b repl\r
22419 :more1\r
22420 s/["\\]/\\&/g; s/^/"/; s/$/"\\/\r
22421 p\r
22422 g\r
22423 s/.\{148\}//\r
22424 t nl\r
22425 :delim\r
22426 h\r
22427 s/\(.\{148\}\).*/\1/\r
22428 t more2\r
22429 s/["\\]/\\&/g; s/^/"/; s/$/"/\r
22430 p\r
22431 b\r
22432 :more2\r
22433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/\r
22434 p\r
22435 g\r
22436 s/.\{148\}//\r
22437 t delim\r
22438 ' <conf$$subs.awk | sed '\r
22439 /^[^""]/{\r
22440   N\r
22441   s/\n//\r
22442 }\r
22443 ' >>$CONFIG_STATUS || ac_write_fail=1\r
22444 rm -f conf$$subs.awk\r
22445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22446 _ACAWK\r
22447 cat >>"\$tmp/subs1.awk" <<_ACAWK &&\r
22448   for (key in S) S_is_set[key] = 1\r
22449   FS = "\a"\r
22450 \r
22451 }\r
22452 {\r
22453   line = $ 0\r
22454   nfields = split(line, field, "@")\r
22455   substed = 0\r
22456   len = length(field[1])\r
22457   for (i = 2; i < nfields; i++) {\r
22458     key = field[i]\r
22459     keylen = length(key)\r
22460     if (S_is_set[key]) {\r
22461       value = S[key]\r
22462       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)\r
22463       len += length(value) + length(field[++i])\r
22464       substed = 1\r
22465     } else\r
22466       len += 1 + keylen\r
22467   }\r
22468 \r
22469   print line\r
22470 }\r
22471 \r
22472 _ACAWK\r
22473 _ACEOF\r
22474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22475 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then\r
22476   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"\r
22477 else\r
22478   cat\r
22479 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \\r
22480   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5\r
22481 $as_echo "$as_me: error: could not setup config files machinery" >&2;}\r
22482    { (exit 1); exit 1; }; }\r
22483 _ACEOF\r
22484 \r
22485 # VPATH may cause trouble with some makes, so we remove $(srcdir),\r
22486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and\r
22487 # trailing colons and then remove the whole line if VPATH becomes empty\r
22488 # (actually we leave an empty line to preserve line numbers).\r
22489 if test "x$srcdir" = x.; then\r
22490   ac_vpsub='/^[  ]*VPATH[        ]*=/{\r
22491 s/:*\$(srcdir):*/:/\r
22492 s/:*\${srcdir}:*/:/\r
22493 s/:*@srcdir@:*/:/\r
22494 s/^\([^=]*=[     ]*\):*/\1/\r
22495 s/:*$//\r
22496 s/^[^=]*=[       ]*$//\r
22497 }'\r
22498 fi\r
22499 \r
22500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22501 fi # test -n "$CONFIG_FILES"\r
22502 \r
22503 # Set up the scripts for CONFIG_HEADERS section.\r
22504 # No need to generate them if there are no CONFIG_HEADERS.\r
22505 # This happens for instance with `./config.status Makefile'.\r
22506 if test -n "$CONFIG_HEADERS"; then\r
22507 cat >"$tmp/defines.awk" <<\_ACAWK ||\r
22508 BEGIN {\r
22509 _ACEOF\r
22510 \r
22511 # Transform confdefs.h into an awk script `defines.awk', embedded as\r
22512 # here-document in config.status, that substitutes the proper values into\r
22513 # config.h.in to produce config.h.\r
22514 \r
22515 # Create a delimiter string that does not exist in confdefs.h, to ease\r
22516 # handling of long lines.\r
22517 ac_delim='%!_!# '\r
22518 for ac_last_try in false false :; do\r
22519   ac_t=`sed -n "/$ac_delim/p" confdefs.h`\r
22520   if test -z "$ac_t"; then\r
22521     break\r
22522   elif $ac_last_try; then\r
22523     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5\r
22524 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}\r
22525    { (exit 1); exit 1; }; }\r
22526   else\r
22527     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
22528   fi\r
22529 done\r
22530 \r
22531 # For the awk script, D is an array of macro values keyed by name,\r
22532 # likewise P contains macro parameters if any.  Preserve backslash\r
22533 # newline sequences.\r
22534 \r
22535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*\r
22536 sed -n '\r
22537 s/.\{148\}/&'"$ac_delim"'/g\r
22538 t rset\r
22539 :rset\r
22540 s/^[     ]*#[    ]*define[       ][      ]*/ /\r
22541 t def\r
22542 d\r
22543 :def\r
22544 s/\\$//\r
22545 t bsnl\r
22546 s/["\\]/\\&/g\r
22547 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\\r
22548 D["\1"]=" \3"/p\r
22549 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p\r
22550 d\r
22551 :bsnl\r
22552 s/["\\]/\\&/g\r
22553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\\r
22554 D["\1"]=" \3\\\\\\n"\\/p\r
22555 t cont\r
22556 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p\r
22557 t cont\r
22558 d\r
22559 :cont\r
22560 n\r
22561 s/.\{148\}/&'"$ac_delim"'/g\r
22562 t clear\r
22563 :clear\r
22564 s/\\$//\r
22565 t bsnlc\r
22566 s/["\\]/\\&/g; s/^/"/; s/$/"/p\r
22567 d\r
22568 :bsnlc\r
22569 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p\r
22570 b cont\r
22571 ' <confdefs.h | sed '\r
22572 s/'"$ac_delim"'/"\\\\r
22573 "/g' >>$CONFIG_STATUS || ac_write_fail=1\r
22574 \r
22575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22576   for (key in D) D_is_set[key] = 1\r
22577   FS = "\a"\r
22578 }\r
22579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {\r
22580   line = \$ 0\r
22581   split(line, arg, " ")\r
22582   if (arg[1] == "#") {\r
22583     defundef = arg[2]\r
22584     mac1 = arg[3]\r
22585   } else {\r
22586     defundef = substr(arg[1], 2)\r
22587     mac1 = arg[2]\r
22588   }\r
22589   split(mac1, mac2, "(") #)\r
22590   macro = mac2[1]\r
22591   prefix = substr(line, 1, index(line, defundef) - 1)\r
22592   if (D_is_set[macro]) {\r
22593     # Preserve the white space surrounding the "#".\r
22594     print prefix "define", macro P[macro] D[macro]\r
22595     next\r
22596   } else {\r
22597     # Replace #undef with comments.  This is necessary, for example,\r
22598     # in the case of _POSIX_SOURCE, which is predefined and required\r
22599     # on some systems where configure will not decide to define it.\r
22600     if (defundef == "undef") {\r
22601       print "/*", prefix defundef, macro, "*/"\r
22602       next\r
22603     }\r
22604   }\r
22605 }\r
22606 { print }\r
22607 _ACAWK\r
22608 _ACEOF\r
22609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22610   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5\r
22611 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}\r
22612    { (exit 1); exit 1; }; }\r
22613 fi # test -n "$CONFIG_HEADERS"\r
22614 \r
22615 \r
22616 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"\r
22617 shift\r
22618 for ac_tag\r
22619 do\r
22620   case $ac_tag in\r
22621   :[FHLC]) ac_mode=$ac_tag; continue;;\r
22622   esac\r
22623   case $ac_mode$ac_tag in\r
22624   :[FHL]*:*);;\r
22625   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5\r
22626 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}\r
22627    { (exit 1); exit 1; }; };;\r
22628   :[FH]-) ac_tag=-:-;;\r
22629   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;\r
22630   esac\r
22631   ac_save_IFS=$IFS\r
22632   IFS=:\r
22633   set x $ac_tag\r
22634   IFS=$ac_save_IFS\r
22635   shift\r
22636   ac_file=$1\r
22637   shift\r
22638 \r
22639   case $ac_mode in\r
22640   :L) ac_source=$1;;\r
22641   :[FH])\r
22642     ac_file_inputs=\r
22643     for ac_f\r
22644     do\r
22645       case $ac_f in\r
22646       -) ac_f="$tmp/stdin";;\r
22647       *) # Look for the file first in the build tree, then in the source tree\r
22648          # (if the path is not absolute).  The absolute path cannot be DOS-style,\r
22649          # because $ac_f cannot contain `:'.\r
22650          test -f "$ac_f" ||\r
22651            case $ac_f in\r
22652            [\\/$]*) false;;\r
22653            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;\r
22654            esac ||\r
22655            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5\r
22656 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}\r
22657    { (exit 1); exit 1; }; };;\r
22658       esac\r
22659       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac\r
22660       ac_file_inputs="$ac_file_inputs '$ac_f'"\r
22661     done\r
22662 \r
22663     # Let's still pretend it is `configure' which instantiates (i.e., don't\r
22664     # use $as_me), people would be surprised to read:\r
22665     #    /* config.h.  Generated by config.status.  */\r
22666     configure_input='Generated from '`\r
22667           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'\r
22668         `' by configure.'\r
22669     if test x"$ac_file" != x-; then\r
22670       configure_input="$ac_file.  $configure_input"\r
22671       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5\r
22672 $as_echo "$as_me: creating $ac_file" >&6;}\r
22673     fi\r
22674     # Neutralize special characters interpreted by sed in replacement strings.\r
22675     case $configure_input in #(\r
22676     *\&* | *\|* | *\\* )\r
22677        ac_sed_conf_input=`$as_echo "$configure_input" |\r
22678        sed 's/[\\\\&|]/\\\\&/g'`;; #(\r
22679     *) ac_sed_conf_input=$configure_input;;\r
22680     esac\r
22681 \r
22682     case $ac_tag in\r
22683     *:-:* | *:-) cat >"$tmp/stdin" \\r
22684       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5\r
22685 $as_echo "$as_me: error: could not create $ac_file" >&2;}\r
22686    { (exit 1); exit 1; }; } ;;\r
22687     esac\r
22688     ;;\r
22689   esac\r
22690 \r
22691   ac_dir=`$as_dirname -- "$ac_file" ||\r
22692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
22693          X"$ac_file" : 'X\(//\)[^/]' \| \\r
22694          X"$ac_file" : 'X\(//\)$' \| \\r
22695          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||\r
22696 $as_echo X"$ac_file" |\r
22697     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
22698             s//\1/\r
22699             q\r
22700           }\r
22701           /^X\(\/\/\)[^/].*/{\r
22702             s//\1/\r
22703             q\r
22704           }\r
22705           /^X\(\/\/\)$/{\r
22706             s//\1/\r
22707             q\r
22708           }\r
22709           /^X\(\/\).*/{\r
22710             s//\1/\r
22711             q\r
22712           }\r
22713           s/.*/./; q'`\r
22714   { as_dir="$ac_dir"\r
22715   case $as_dir in #(\r
22716   -*) as_dir=./$as_dir;;\r
22717   esac\r
22718   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
22719     as_dirs=\r
22720     while :; do\r
22721       case $as_dir in #(\r
22722       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(\r
22723       *) as_qdir=$as_dir;;\r
22724       esac\r
22725       as_dirs="'$as_qdir' $as_dirs"\r
22726       as_dir=`$as_dirname -- "$as_dir" ||\r
22727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
22728          X"$as_dir" : 'X\(//\)[^/]' \| \\r
22729          X"$as_dir" : 'X\(//\)$' \| \\r
22730          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
22731 $as_echo X"$as_dir" |\r
22732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
22733             s//\1/\r
22734             q\r
22735           }\r
22736           /^X\(\/\/\)[^/].*/{\r
22737             s//\1/\r
22738             q\r
22739           }\r
22740           /^X\(\/\/\)$/{\r
22741             s//\1/\r
22742             q\r
22743           }\r
22744           /^X\(\/\).*/{\r
22745             s//\1/\r
22746             q\r
22747           }\r
22748           s/.*/./; q'`\r
22749       test -d "$as_dir" && break\r
22750     done\r
22751     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
22752   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
22753 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
22754    { (exit 1); exit 1; }; }; }\r
22755   ac_builddir=.\r
22756 \r
22757 case "$ac_dir" in\r
22758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
22759 *)\r
22760   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`\r
22761   # A ".." for each directory in $ac_dir_suffix.\r
22762   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`\r
22763   case $ac_top_builddir_sub in\r
22764   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
22765   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
22766   esac ;;\r
22767 esac\r
22768 ac_abs_top_builddir=$ac_pwd\r
22769 ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
22770 # for backward compatibility:\r
22771 ac_top_builddir=$ac_top_build_prefix\r
22772 \r
22773 case $srcdir in\r
22774   .)  # We are building in place.\r
22775     ac_srcdir=.\r
22776     ac_top_srcdir=$ac_top_builddir_sub\r
22777     ac_abs_top_srcdir=$ac_pwd ;;\r
22778   [\\/]* | ?:[\\/]* )  # Absolute name.\r
22779     ac_srcdir=$srcdir$ac_dir_suffix;\r
22780     ac_top_srcdir=$srcdir\r
22781     ac_abs_top_srcdir=$srcdir ;;\r
22782   *) # Relative name.\r
22783     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
22784     ac_top_srcdir=$ac_top_build_prefix$srcdir\r
22785     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
22786 esac\r
22787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
22788 \r
22789 \r
22790   case $ac_mode in\r
22791   :F)\r
22792   #\r
22793   # CONFIG_FILE\r
22794   #\r
22795 \r
22796   case $INSTALL in\r
22797   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;\r
22798   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;\r
22799   esac\r
22800 _ACEOF\r
22801 \r
22802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22803 # If the template does not know about datarootdir, expand it.\r
22804 # FIXME: This hack should be removed a few years after 2.60.\r
22805 ac_datarootdir_hack=; ac_datarootdir_seen=\r
22806 \r
22807 ac_sed_dataroot='\r
22808 /datarootdir/ {\r
22809   p\r
22810   q\r
22811 }\r
22812 /@datadir@/p\r
22813 /@docdir@/p\r
22814 /@infodir@/p\r
22815 /@localedir@/p\r
22816 /@mandir@/p\r
22817 '\r
22818 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in\r
22819 *datarootdir*) ac_datarootdir_seen=yes;;\r
22820 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)\r
22821   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5\r
22822 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}\r
22823 _ACEOF\r
22824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22825   ac_datarootdir_hack='\r
22826   s&@datadir@&$datadir&g\r
22827   s&@docdir@&$docdir&g\r
22828   s&@infodir@&$infodir&g\r
22829   s&@localedir@&$localedir&g\r
22830   s&@mandir@&$mandir&g\r
22831     s&\\\${datarootdir}&$datarootdir&g' ;;\r
22832 esac\r
22833 _ACEOF\r
22834 \r
22835 # Neutralize VPATH when `$srcdir' = `.'.\r
22836 # Shell code in configure.ac might set extrasub.\r
22837 # FIXME: do we really want to maintain this feature?\r
22838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
22839 ac_sed_extra="$ac_vpsub\r
22840 $extrasub\r
22841 _ACEOF\r
22842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
22843 :t\r
22844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b\r
22845 s|@configure_input@|$ac_sed_conf_input|;t t\r
22846 s&@top_builddir@&$ac_top_builddir_sub&;t t\r
22847 s&@top_build_prefix@&$ac_top_build_prefix&;t t\r
22848 s&@srcdir@&$ac_srcdir&;t t\r
22849 s&@abs_srcdir@&$ac_abs_srcdir&;t t\r
22850 s&@top_srcdir@&$ac_top_srcdir&;t t\r
22851 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t\r
22852 s&@builddir@&$ac_builddir&;t t\r
22853 s&@abs_builddir@&$ac_abs_builddir&;t t\r
22854 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t\r
22855 s&@INSTALL@&$ac_INSTALL&;t t\r
22856 $ac_datarootdir_hack\r
22857 "\r
22858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \\r
22859   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5\r
22860 $as_echo "$as_me: error: could not create $ac_file" >&2;}\r
22861    { (exit 1); exit 1; }; }\r
22862 \r
22863 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&\r
22864   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&\r
22865   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&\r
22866   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
22867 which seems to be undefined.  Please make sure it is defined." >&5\r
22868 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
22869 which seems to be undefined.  Please make sure it is defined." >&2;}\r
22870 \r
22871   rm -f "$tmp/stdin"\r
22872   case $ac_file in\r
22873   -) cat "$tmp/out" && rm -f "$tmp/out";;\r
22874   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;\r
22875   esac \\r
22876   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5\r
22877 $as_echo "$as_me: error: could not create $ac_file" >&2;}\r
22878    { (exit 1); exit 1; }; }\r
22879  ;;\r
22880   :H)\r
22881   #\r
22882   # CONFIG_HEADER\r
22883   #\r
22884   if test x"$ac_file" != x-; then\r
22885     {\r
22886       $as_echo "/* $configure_input  */" \\r
22887       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"\r
22888     } >"$tmp/config.h" \\r
22889       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5\r
22890 $as_echo "$as_me: error: could not create $ac_file" >&2;}\r
22891    { (exit 1); exit 1; }; }\r
22892     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then\r
22893       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5\r
22894 $as_echo "$as_me: $ac_file is unchanged" >&6;}\r
22895     else\r
22896       rm -f "$ac_file"\r
22897       mv "$tmp/config.h" "$ac_file" \\r
22898         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5\r
22899 $as_echo "$as_me: error: could not create $ac_file" >&2;}\r
22900    { (exit 1); exit 1; }; }\r
22901     fi\r
22902   else\r
22903     $as_echo "/* $configure_input  */" \\r
22904       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \\r
22905       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5\r
22906 $as_echo "$as_me: error: could not create -" >&2;}\r
22907    { (exit 1); exit 1; }; }\r
22908   fi\r
22909 # Compute "$ac_file"'s index in $config_headers.\r
22910 _am_stamp_count=1\r
22911 for _am_header in $config_headers :; do\r
22912   case $_am_header in\r
22913     "$ac_file" | "$ac_file":* )\r
22914       break ;;\r
22915     * )\r
22916       _am_stamp_count=`expr $_am_stamp_count + 1` ;;\r
22917   esac\r
22918 done\r
22919 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||\r
22920 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
22921          X"$ac_file" : 'X\(//\)[^/]' \| \\r
22922          X"$ac_file" : 'X\(//\)$' \| \\r
22923          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||\r
22924 $as_echo X"$ac_file" |\r
22925     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
22926             s//\1/\r
22927             q\r
22928           }\r
22929           /^X\(\/\/\)[^/].*/{\r
22930             s//\1/\r
22931             q\r
22932           }\r
22933           /^X\(\/\/\)$/{\r
22934             s//\1/\r
22935             q\r
22936           }\r
22937           /^X\(\/\).*/{\r
22938             s//\1/\r
22939             q\r
22940           }\r
22941           s/.*/./; q'`/stamp-h$_am_stamp_count\r
22942  ;;\r
22943 \r
22944   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5\r
22945 $as_echo "$as_me: executing $ac_file commands" >&6;}\r
22946  ;;\r
22947   esac\r
22948 \r
22949 \r
22950   case $ac_file$ac_mode in\r
22951     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do\r
22952   # Strip MF so we end up with the name of the file.\r
22953   mf=`echo "$mf" | sed -e 's/:.*$//'`\r
22954   # Check whether this is an Automake generated Makefile or not.\r
22955   # We used to match only the files named `Makefile.in', but\r
22956   # some people rename them; so instead we look at the file content.\r
22957   # Grep'ing the first line is not enough: some people post-process\r
22958   # each Makefile.in and add a new line on top of each file to say so.\r
22959   # So let's grep whole file.\r
22960   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then\r
22961     dirpart=`$as_dirname -- "$mf" ||\r
22962 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
22963          X"$mf" : 'X\(//\)[^/]' \| \\r
22964          X"$mf" : 'X\(//\)$' \| \\r
22965          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||\r
22966 $as_echo X"$mf" |\r
22967     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
22968             s//\1/\r
22969             q\r
22970           }\r
22971           /^X\(\/\/\)[^/].*/{\r
22972             s//\1/\r
22973             q\r
22974           }\r
22975           /^X\(\/\/\)$/{\r
22976             s//\1/\r
22977             q\r
22978           }\r
22979           /^X\(\/\).*/{\r
22980             s//\1/\r
22981             q\r
22982           }\r
22983           s/.*/./; q'`\r
22984   else\r
22985     continue\r
22986   fi\r
22987   # Extract the definition of DEPDIR, am__include, and am__quote\r
22988   # from the Makefile without running `make'.\r
22989   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`\r
22990   test -z "$DEPDIR" && continue\r
22991   am__include=`sed -n 's/^am__include = //p' < "$mf"`\r
22992   test -z "am__include" && continue\r
22993   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`\r
22994   # When using ansi2knr, U may be empty or an underscore; expand it\r
22995   U=`sed -n 's/^U = //p' < "$mf"`\r
22996   # Find all dependency output files, they are included files with\r
22997   # $(DEPDIR) in their names.  We invoke sed twice because it is the\r
22998   # simplest approach to changing $(DEPDIR) to its actual value in the\r
22999   # expansion.\r
23000   for file in `sed -n "\r
23001     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \\r
23002        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do\r
23003     # Make sure the directory exists.\r
23004     test -f "$dirpart/$file" && continue\r
23005     fdir=`$as_dirname -- "$file" ||\r
23006 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
23007          X"$file" : 'X\(//\)[^/]' \| \\r
23008          X"$file" : 'X\(//\)$' \| \\r
23009          X"$file" : 'X\(/\)' \| . 2>/dev/null ||\r
23010 $as_echo X"$file" |\r
23011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
23012             s//\1/\r
23013             q\r
23014           }\r
23015           /^X\(\/\/\)[^/].*/{\r
23016             s//\1/\r
23017             q\r
23018           }\r
23019           /^X\(\/\/\)$/{\r
23020             s//\1/\r
23021             q\r
23022           }\r
23023           /^X\(\/\).*/{\r
23024             s//\1/\r
23025             q\r
23026           }\r
23027           s/.*/./; q'`\r
23028     { as_dir=$dirpart/$fdir\r
23029   case $as_dir in #(\r
23030   -*) as_dir=./$as_dir;;\r
23031   esac\r
23032   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
23033     as_dirs=\r
23034     while :; do\r
23035       case $as_dir in #(\r
23036       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(\r
23037       *) as_qdir=$as_dir;;\r
23038       esac\r
23039       as_dirs="'$as_qdir' $as_dirs"\r
23040       as_dir=`$as_dirname -- "$as_dir" ||\r
23041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
23042          X"$as_dir" : 'X\(//\)[^/]' \| \\r
23043          X"$as_dir" : 'X\(//\)$' \| \\r
23044          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
23045 $as_echo X"$as_dir" |\r
23046     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
23047             s//\1/\r
23048             q\r
23049           }\r
23050           /^X\(\/\/\)[^/].*/{\r
23051             s//\1/\r
23052             q\r
23053           }\r
23054           /^X\(\/\/\)$/{\r
23055             s//\1/\r
23056             q\r
23057           }\r
23058           /^X\(\/\).*/{\r
23059             s//\1/\r
23060             q\r
23061           }\r
23062           s/.*/./; q'`\r
23063       test -d "$as_dir" && break\r
23064     done\r
23065     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
23066   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
23067 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
23068    { (exit 1); exit 1; }; }; }\r
23069     # echo "creating $dirpart/$file"\r
23070     echo '# dummy' > "$dirpart/$file"\r
23071   done\r
23072 done\r
23073  ;;\r
23074 \r
23075   esac\r
23076 done # for ac_tag\r
23077 \r
23078 \r
23079 { (exit 0); exit 0; }\r
23080 _ACEOF\r
23081 chmod +x $CONFIG_STATUS\r
23082 ac_clean_files=$ac_clean_files_save\r
23083 \r
23084 test $ac_write_fail = 0 ||\r
23085   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5\r
23086 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}\r
23087    { (exit 1); exit 1; }; }\r
23088 \r
23089 \r
23090 # configure is writing to config.log, and then calls config.status.\r
23091 # config.status does its own redirection, appending to config.log.\r
23092 # Unfortunately, on DOS this fails, as config.log is still kept open\r
23093 # by configure, so config.status won't be able to write to it; its\r
23094 # output is simply discarded.  So we exec the FD to /dev/null,\r
23095 # effectively closing config.log, so it can be properly (re)opened and\r
23096 # appended to by config.status.  When coming back to configure, we\r
23097 # need to make the FD available again.\r
23098 if test "$no_create" != yes; then\r
23099   ac_cs_success=:\r
23100   ac_config_status_args=\r
23101   test "$silent" = yes &&\r
23102     ac_config_status_args="$ac_config_status_args --quiet"\r
23103   exec 5>/dev/null\r
23104   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false\r
23105   exec 5>>config.log\r
23106   # Use ||, not &&, to avoid exiting from the if with $? = 1, which\r
23107   # would make configure fail if this is the last instruction.\r
23108   $ac_cs_success || { (exit 1); exit 1; }\r
23109 fi\r
23110 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then\r
23111   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5\r
23112 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}\r
23113 fi\r
23114 \r