Imported Upstream version 2.4.2
[platform/upstream/libtool.git] / tests / demo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for demo 1.0.
4 #
5 # Report bugs to <bug-libtool@gnu.org>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: bug-libtool@gnu.org about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='demo'
572 PACKAGE_TARNAME='demo'
573 PACKAGE_VERSION='1.0'
574 PACKAGE_STRING='demo 1.0'
575 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
576 PACKAGE_URL=''
577
578 ac_unique_file="hello.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 LIBM
620 BINARY_HELLDL_FALSE
621 BINARY_HELLDL_TRUE
622 STATIC
623 LIBTOOL_DEPS
624 CPP
625 OTOOL64
626 OTOOL
627 LIPO
628 NMEDIT
629 DSYMUTIL
630 MANIFEST_TOOL
631 RANLIB
632 ac_ct_AR
633 AR
634 LN_S
635 NM
636 ac_ct_DUMPBIN
637 DUMPBIN
638 LD
639 FGREP
640 EGREP
641 GREP
642 SED
643 host_os
644 host_vendor
645 host_cpu
646 host
647 build_os
648 build_vendor
649 build_cpu
650 build
651 LIBTOOL
652 OBJDUMP
653 DLLTOOL
654 AS
655 am__fastdepCC_FALSE
656 am__fastdepCC_TRUE
657 CCDEPMODE
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
670 CC
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
676 AWK
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_alias
695 host_alias
696 build_alias
697 LIBS
698 ECHO_T
699 ECHO_N
700 ECHO_C
701 DEFS
702 mandir
703 localedir
704 libdir
705 psdir
706 pdfdir
707 dvidir
708 htmldir
709 infodir
710 docdir
711 oldincludedir
712 includedir
713 localstatedir
714 sharedstatedir
715 sysconfdir
716 datadir
717 datarootdir
718 libexecdir
719 sbindir
720 bindir
721 program_transform_name
722 prefix
723 exec_prefix
724 PACKAGE_URL
725 PACKAGE_BUGREPORT
726 PACKAGE_STRING
727 PACKAGE_VERSION
728 PACKAGE_TARNAME
729 PACKAGE_NAME
730 PATH_SEPARATOR
731 SHELL'
732 ac_subst_files=''
733 ac_user_opts='
734 enable_option_checking
735 enable_dependency_tracking
736 enable_shared
737 enable_static
738 with_pic
739 enable_fast_install
740 with_gnu_ld
741 with_sysroot
742 enable_libtool_lock
743 '
744       ac_precious_vars='build_alias
745 host_alias
746 target_alias
747 CC
748 CFLAGS
749 LDFLAGS
750 LIBS
751 CPPFLAGS
752 CPP'
753
754
755 # Initialize some variables set by options.
756 ac_init_help=
757 ac_init_version=false
758 ac_unrecognized_opts=
759 ac_unrecognized_sep=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
762 cache_file=/dev/null
763 exec_prefix=NONE
764 no_create=
765 no_recursion=
766 prefix=NONE
767 program_prefix=NONE
768 program_suffix=NONE
769 program_transform_name=s,x,x,
770 silent=
771 site=
772 srcdir=
773 verbose=
774 x_includes=NONE
775 x_libraries=NONE
776
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir='${exec_prefix}/bin'
784 sbindir='${exec_prefix}/sbin'
785 libexecdir='${exec_prefix}/libexec'
786 datarootdir='${prefix}/share'
787 datadir='${datarootdir}'
788 sysconfdir='${prefix}/etc'
789 sharedstatedir='${prefix}/com'
790 localstatedir='${prefix}/var'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
795 htmldir='${docdir}'
796 dvidir='${docdir}'
797 pdfdir='${docdir}'
798 psdir='${docdir}'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
802
803 ac_prev=
804 ac_dashdash=
805 for ac_option
806 do
807   # If the previous option needs an argument, assign it.
808   if test -n "$ac_prev"; then
809     eval $ac_prev=\$ac_option
810     ac_prev=
811     continue
812   fi
813
814   case $ac_option in
815   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816   *=)   ac_optarg= ;;
817   *)    ac_optarg=yes ;;
818   esac
819
820   # Accept the important Cygnus configure options, so we can diagnose typos.
821
822   case $ac_dashdash$ac_option in
823   --)
824     ac_dashdash=yes ;;
825
826   -bindir | --bindir | --bindi | --bind | --bin | --bi)
827     ac_prev=bindir ;;
828   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
829     bindir=$ac_optarg ;;
830
831   -build | --build | --buil | --bui | --bu)
832     ac_prev=build_alias ;;
833   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
834     build_alias=$ac_optarg ;;
835
836   -cache-file | --cache-file | --cache-fil | --cache-fi \
837   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
838     ac_prev=cache_file ;;
839   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
840   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
841     cache_file=$ac_optarg ;;
842
843   --config-cache | -C)
844     cache_file=config.cache ;;
845
846   -datadir | --datadir | --datadi | --datad)
847     ac_prev=datadir ;;
848   -datadir=* | --datadir=* | --datadi=* | --datad=*)
849     datadir=$ac_optarg ;;
850
851   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
852   | --dataroo | --dataro | --datar)
853     ac_prev=datarootdir ;;
854   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
855   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
856     datarootdir=$ac_optarg ;;
857
858   -disable-* | --disable-*)
859     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860     # Reject names that are not valid shell variable names.
861     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
862       as_fn_error $? "invalid feature name: $ac_useropt"
863     ac_useropt_orig=$ac_useropt
864     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865     case $ac_user_opts in
866       *"
867 "enable_$ac_useropt"
868 "*) ;;
869       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
870          ac_unrecognized_sep=', ';;
871     esac
872     eval enable_$ac_useropt=no ;;
873
874   -docdir | --docdir | --docdi | --doc | --do)
875     ac_prev=docdir ;;
876   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877     docdir=$ac_optarg ;;
878
879   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
880     ac_prev=dvidir ;;
881   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882     dvidir=$ac_optarg ;;
883
884   -enable-* | --enable-*)
885     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886     # Reject names that are not valid shell variable names.
887     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888       as_fn_error $? "invalid feature name: $ac_useropt"
889     ac_useropt_orig=$ac_useropt
890     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
891     case $ac_user_opts in
892       *"
893 "enable_$ac_useropt"
894 "*) ;;
895       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
896          ac_unrecognized_sep=', ';;
897     esac
898     eval enable_$ac_useropt=\$ac_optarg ;;
899
900   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
901   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
902   | --exec | --exe | --ex)
903     ac_prev=exec_prefix ;;
904   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
905   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
906   | --exec=* | --exe=* | --ex=*)
907     exec_prefix=$ac_optarg ;;
908
909   -gas | --gas | --ga | --g)
910     # Obsolete; use --with-gas.
911     with_gas=yes ;;
912
913   -help | --help | --hel | --he | -h)
914     ac_init_help=long ;;
915   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
916     ac_init_help=recursive ;;
917   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
918     ac_init_help=short ;;
919
920   -host | --host | --hos | --ho)
921     ac_prev=host_alias ;;
922   -host=* | --host=* | --hos=* | --ho=*)
923     host_alias=$ac_optarg ;;
924
925   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
926     ac_prev=htmldir ;;
927   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
928   | --ht=*)
929     htmldir=$ac_optarg ;;
930
931   -includedir | --includedir | --includedi | --included | --include \
932   | --includ | --inclu | --incl | --inc)
933     ac_prev=includedir ;;
934   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
935   | --includ=* | --inclu=* | --incl=* | --inc=*)
936     includedir=$ac_optarg ;;
937
938   -infodir | --infodir | --infodi | --infod | --info | --inf)
939     ac_prev=infodir ;;
940   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
941     infodir=$ac_optarg ;;
942
943   -libdir | --libdir | --libdi | --libd)
944     ac_prev=libdir ;;
945   -libdir=* | --libdir=* | --libdi=* | --libd=*)
946     libdir=$ac_optarg ;;
947
948   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
949   | --libexe | --libex | --libe)
950     ac_prev=libexecdir ;;
951   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
952   | --libexe=* | --libex=* | --libe=*)
953     libexecdir=$ac_optarg ;;
954
955   -localedir | --localedir | --localedi | --localed | --locale)
956     ac_prev=localedir ;;
957   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
958     localedir=$ac_optarg ;;
959
960   -localstatedir | --localstatedir | --localstatedi | --localstated \
961   | --localstate | --localstat | --localsta | --localst | --locals)
962     ac_prev=localstatedir ;;
963   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
964   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
965     localstatedir=$ac_optarg ;;
966
967   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
968     ac_prev=mandir ;;
969   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
970     mandir=$ac_optarg ;;
971
972   -nfp | --nfp | --nf)
973     # Obsolete; use --without-fp.
974     with_fp=no ;;
975
976   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
977   | --no-cr | --no-c | -n)
978     no_create=yes ;;
979
980   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
981   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982     no_recursion=yes ;;
983
984   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
985   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
986   | --oldin | --oldi | --old | --ol | --o)
987     ac_prev=oldincludedir ;;
988   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
989   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
990   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
991     oldincludedir=$ac_optarg ;;
992
993   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
994     ac_prev=prefix ;;
995   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996     prefix=$ac_optarg ;;
997
998   -program-prefix | --program-prefix | --program-prefi | --program-pref \
999   | --program-pre | --program-pr | --program-p)
1000     ac_prev=program_prefix ;;
1001   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1002   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1003     program_prefix=$ac_optarg ;;
1004
1005   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1006   | --program-suf | --program-su | --program-s)
1007     ac_prev=program_suffix ;;
1008   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1009   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1010     program_suffix=$ac_optarg ;;
1011
1012   -program-transform-name | --program-transform-name \
1013   | --program-transform-nam | --program-transform-na \
1014   | --program-transform-n | --program-transform- \
1015   | --program-transform | --program-transfor \
1016   | --program-transfo | --program-transf \
1017   | --program-trans | --program-tran \
1018   | --progr-tra | --program-tr | --program-t)
1019     ac_prev=program_transform_name ;;
1020   -program-transform-name=* | --program-transform-name=* \
1021   | --program-transform-nam=* | --program-transform-na=* \
1022   | --program-transform-n=* | --program-transform-=* \
1023   | --program-transform=* | --program-transfor=* \
1024   | --program-transfo=* | --program-transf=* \
1025   | --program-trans=* | --program-tran=* \
1026   | --progr-tra=* | --program-tr=* | --program-t=*)
1027     program_transform_name=$ac_optarg ;;
1028
1029   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1030     ac_prev=pdfdir ;;
1031   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1032     pdfdir=$ac_optarg ;;
1033
1034   -psdir | --psdir | --psdi | --psd | --ps)
1035     ac_prev=psdir ;;
1036   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037     psdir=$ac_optarg ;;
1038
1039   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040   | -silent | --silent | --silen | --sile | --sil)
1041     silent=yes ;;
1042
1043   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1044     ac_prev=sbindir ;;
1045   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1046   | --sbi=* | --sb=*)
1047     sbindir=$ac_optarg ;;
1048
1049   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1050   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1051   | --sharedst | --shareds | --shared | --share | --shar \
1052   | --sha | --sh)
1053     ac_prev=sharedstatedir ;;
1054   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1055   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1056   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1057   | --sha=* | --sh=*)
1058     sharedstatedir=$ac_optarg ;;
1059
1060   -site | --site | --sit)
1061     ac_prev=site ;;
1062   -site=* | --site=* | --sit=*)
1063     site=$ac_optarg ;;
1064
1065   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1066     ac_prev=srcdir ;;
1067   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1068     srcdir=$ac_optarg ;;
1069
1070   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1071   | --syscon | --sysco | --sysc | --sys | --sy)
1072     ac_prev=sysconfdir ;;
1073   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1074   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1075     sysconfdir=$ac_optarg ;;
1076
1077   -target | --target | --targe | --targ | --tar | --ta | --t)
1078     ac_prev=target_alias ;;
1079   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1080     target_alias=$ac_optarg ;;
1081
1082   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083     verbose=yes ;;
1084
1085   -version | --version | --versio | --versi | --vers | -V)
1086     ac_init_version=: ;;
1087
1088   -with-* | --with-*)
1089     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1090     # Reject names that are not valid shell variable names.
1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092       as_fn_error $? "invalid package name: $ac_useropt"
1093     ac_useropt_orig=$ac_useropt
1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095     case $ac_user_opts in
1096       *"
1097 "with_$ac_useropt"
1098 "*) ;;
1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1100          ac_unrecognized_sep=', ';;
1101     esac
1102     eval with_$ac_useropt=\$ac_optarg ;;
1103
1104   -without-* | --without-*)
1105     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106     # Reject names that are not valid shell variable names.
1107     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108       as_fn_error $? "invalid package name: $ac_useropt"
1109     ac_useropt_orig=$ac_useropt
1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111     case $ac_user_opts in
1112       *"
1113 "with_$ac_useropt"
1114 "*) ;;
1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116          ac_unrecognized_sep=', ';;
1117     esac
1118     eval with_$ac_useropt=no ;;
1119
1120   --x)
1121     # Obsolete; use --with-x.
1122     with_x=yes ;;
1123
1124   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125   | --x-incl | --x-inc | --x-in | --x-i)
1126     ac_prev=x_includes ;;
1127   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129     x_includes=$ac_optarg ;;
1130
1131   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133     ac_prev=x_libraries ;;
1134   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136     x_libraries=$ac_optarg ;;
1137
1138   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1139 Try \`$0 --help' for more information"
1140     ;;
1141
1142   *=*)
1143     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1144     # Reject names that are not valid shell variable names.
1145     case $ac_envvar in #(
1146       '' | [0-9]* | *[!_$as_cr_alnum]* )
1147       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1148     esac
1149     eval $ac_envvar=\$ac_optarg
1150     export $ac_envvar ;;
1151
1152   *)
1153     # FIXME: should be removed in autoconf 3.0.
1154     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1158     ;;
1159
1160   esac
1161 done
1162
1163 if test -n "$ac_prev"; then
1164   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165   as_fn_error $? "missing argument to $ac_option"
1166 fi
1167
1168 if test -n "$ac_unrecognized_opts"; then
1169   case $enable_option_checking in
1170     no) ;;
1171     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1172     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173   esac
1174 fi
1175
1176 # Check all directory arguments for consistency.
1177 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178                 datadir sysconfdir sharedstatedir localstatedir includedir \
1179                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180                 libdir localedir mandir
1181 do
1182   eval ac_val=\$$ac_var
1183   # Remove trailing slashes.
1184   case $ac_val in
1185     */ )
1186       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187       eval $ac_var=\$ac_val;;
1188   esac
1189   # Be sure to have absolute directory names.
1190   case $ac_val in
1191     [\\/$]* | ?:[\\/]* )  continue;;
1192     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1193   esac
1194   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1195 done
1196
1197 # There might be people who depend on the old broken behavior: `$host'
1198 # used to hold the argument of --host etc.
1199 # FIXME: To remove some day.
1200 build=$build_alias
1201 host=$host_alias
1202 target=$target_alias
1203
1204 # FIXME: To remove some day.
1205 if test "x$host_alias" != x; then
1206   if test "x$build_alias" = x; then
1207     cross_compiling=maybe
1208     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1209     If a cross compiler is detected then cross compile mode will be used" >&2
1210   elif test "x$build_alias" != "x$host_alias"; then
1211     cross_compiling=yes
1212   fi
1213 fi
1214
1215 ac_tool_prefix=
1216 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217
1218 test "$silent" = yes && exec 6>/dev/null
1219
1220
1221 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1222 ac_ls_di=`ls -di .` &&
1223 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1224   as_fn_error $? "working directory cannot be determined"
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226   as_fn_error $? "pwd does not report name of working directory"
1227
1228
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231   ac_srcdir_defaulted=yes
1232   # Try the directory containing this script, then the parent directory.
1233   ac_confdir=`$as_dirname -- "$as_myself" ||
1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235          X"$as_myself" : 'X\(//\)[^/]' \| \
1236          X"$as_myself" : 'X\(//\)$' \| \
1237          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1238 $as_echo X"$as_myself" |
1239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240             s//\1/
1241             q
1242           }
1243           /^X\(\/\/\)[^/].*/{
1244             s//\1/
1245             q
1246           }
1247           /^X\(\/\/\)$/{
1248             s//\1/
1249             q
1250           }
1251           /^X\(\/\).*/{
1252             s//\1/
1253             q
1254           }
1255           s/.*/./; q'`
1256   srcdir=$ac_confdir
1257   if test ! -r "$srcdir/$ac_unique_file"; then
1258     srcdir=..
1259   fi
1260 else
1261   ac_srcdir_defaulted=no
1262 fi
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1265   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1266 fi
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1270         pwd)`
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273   srcdir=.
1274 fi
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1278 case $srcdir in
1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 esac
1281 for ac_var in $ac_precious_vars; do
1282   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1283   eval ac_env_${ac_var}_value=\$${ac_var}
1284   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1285   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 done
1287
1288 #
1289 # Report the --help message.
1290 #
1291 if test "$ac_init_help" = "long"; then
1292   # Omit some internal or obsolete options to make the list less imposing.
1293   # This message is too long to be a string in the A/UX 3.1 sh.
1294   cat <<_ACEOF
1295 \`configure' configures demo 1.0 to adapt to many kinds of systems.
1296
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1298
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE.  See below for descriptions of some of the useful variables.
1301
1302 Defaults for the options are specified in brackets.
1303
1304 Configuration:
1305   -h, --help              display this help and exit
1306       --help=short        display options specific to this package
1307       --help=recursive    display the short help of all the included packages
1308   -V, --version           display version information and exit
1309   -q, --quiet, --silent   do not print \`checking ...' messages
1310       --cache-file=FILE   cache test results in FILE [disabled]
1311   -C, --config-cache      alias for \`--cache-file=config.cache'
1312   -n, --no-create         do not create output files
1313       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1314
1315 Installation directories:
1316   --prefix=PREFIX         install architecture-independent files in PREFIX
1317                           [$ac_default_prefix]
1318   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1319                           [PREFIX]
1320
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1325
1326 For better control, use the options below.
1327
1328 Fine tuning of the installation directories:
1329   --bindir=DIR            user executables [EPREFIX/bin]
1330   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1331   --libexecdir=DIR        program executables [EPREFIX/libexec]
1332   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1333   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1334   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1335   --libdir=DIR            object code libraries [EPREFIX/lib]
1336   --includedir=DIR        C header files [PREFIX/include]
1337   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1338   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1339   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1340   --infodir=DIR           info documentation [DATAROOTDIR/info]
1341   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1342   --mandir=DIR            man documentation [DATAROOTDIR/man]
1343   --docdir=DIR            documentation root [DATAROOTDIR/doc/demo]
1344   --htmldir=DIR           html documentation [DOCDIR]
1345   --dvidir=DIR            dvi documentation [DOCDIR]
1346   --pdfdir=DIR            pdf documentation [DOCDIR]
1347   --psdir=DIR             ps documentation [DOCDIR]
1348 _ACEOF
1349
1350   cat <<\_ACEOF
1351
1352 Program names:
1353   --program-prefix=PREFIX            prepend PREFIX to installed program names
1354   --program-suffix=SUFFIX            append SUFFIX to installed program names
1355   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1356
1357 System types:
1358   --build=BUILD     configure for building on BUILD [guessed]
1359   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364   case $ac_init_help in
1365      short | recursive ) echo "Configuration of demo 1.0:";;
1366    esac
1367   cat <<\_ACEOF
1368
1369 Optional Features:
1370   --disable-option-checking  ignore unrecognized --enable/--with options
1371   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1372   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1373   --disable-dependency-tracking  speeds up one-time build
1374   --enable-dependency-tracking   do not reject slow dependency extractors
1375   --enable-shared[=PKGS]  build shared libraries [default=yes]
1376   --enable-static[=PKGS]  build static libraries [default=yes]
1377   --enable-fast-install[=PKGS]
1378                           optimize for fast installation [default=yes]
1379   --disable-libtool-lock  avoid locking (might break parallel builds)
1380
1381 Optional Packages:
1382   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1383   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1384   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1385                           both]
1386   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1387   --with-sysroot=DIR Search for dependent libraries within DIR
1388                         (or the compiler's sysroot if not specified).
1389
1390 Some influential environment variables:
1391   CC          C compiler command
1392   CFLAGS      C compiler flags
1393   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1394               nonstandard directory <lib dir>
1395   LIBS        libraries to pass to the linker, e.g. -l<library>
1396   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1397               you have headers in a nonstandard directory <include dir>
1398   CPP         C preprocessor
1399
1400 Use these variables to override the choices made by `configure' or to help
1401 it to find libraries and programs with nonstandard names/locations.
1402
1403 Report bugs to <bug-libtool@gnu.org>.
1404 _ACEOF
1405 ac_status=$?
1406 fi
1407
1408 if test "$ac_init_help" = "recursive"; then
1409   # If there are subdirs, report their specific --help.
1410   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1411     test -d "$ac_dir" ||
1412       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413       continue
1414     ac_builddir=.
1415
1416 case "$ac_dir" in
1417 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *)
1419   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1420   # A ".." for each directory in $ac_dir_suffix.
1421   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1422   case $ac_top_builddir_sub in
1423   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425   esac ;;
1426 esac
1427 ac_abs_top_builddir=$ac_pwd
1428 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1429 # for backward compatibility:
1430 ac_top_builddir=$ac_top_build_prefix
1431
1432 case $srcdir in
1433   .)  # We are building in place.
1434     ac_srcdir=.
1435     ac_top_srcdir=$ac_top_builddir_sub
1436     ac_abs_top_srcdir=$ac_pwd ;;
1437   [\\/]* | ?:[\\/]* )  # Absolute name.
1438     ac_srcdir=$srcdir$ac_dir_suffix;
1439     ac_top_srcdir=$srcdir
1440     ac_abs_top_srcdir=$srcdir ;;
1441   *) # Relative name.
1442     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1443     ac_top_srcdir=$ac_top_build_prefix$srcdir
1444     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 esac
1446 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447
1448     cd "$ac_dir" || { ac_status=$?; continue; }
1449     # Check for guested configure.
1450     if test -f "$ac_srcdir/configure.gnu"; then
1451       echo &&
1452       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453     elif test -f "$ac_srcdir/configure"; then
1454       echo &&
1455       $SHELL "$ac_srcdir/configure" --help=recursive
1456     else
1457       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458     fi || ac_status=$?
1459     cd "$ac_pwd" || { ac_status=$?; break; }
1460   done
1461 fi
1462
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1465   cat <<\_ACEOF
1466 demo configure 1.0
1467 generated by GNU Autoconf 2.68
1468
1469 Copyright (C) 2010 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1472 _ACEOF
1473   exit
1474 fi
1475
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1479
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1484 {
1485   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486   rm -f conftest.$ac_objext
1487   if { { ac_try="$ac_compile"
1488 case "(($ac_try" in
1489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490   *) ac_try_echo=$ac_try;;
1491 esac
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494   (eval "$ac_compile") 2>conftest.err
1495   ac_status=$?
1496   if test -s conftest.err; then
1497     grep -v '^ *+' conftest.err >conftest.er1
1498     cat conftest.er1 >&5
1499     mv -f conftest.er1 conftest.err
1500   fi
1501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502   test $ac_status = 0; } && {
1503          test -z "$ac_c_werror_flag" ||
1504          test ! -s conftest.err
1505        } && test -s conftest.$ac_objext; then :
1506   ac_retval=0
1507 else
1508   $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1510
1511         ac_retval=1
1512 fi
1513   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514   as_fn_set_status $ac_retval
1515
1516 } # ac_fn_c_try_compile
1517
1518 # ac_fn_c_try_link LINENO
1519 # -----------------------
1520 # Try to link conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_link ()
1522 {
1523   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524   rm -f conftest.$ac_objext conftest$ac_exeext
1525   if { { ac_try="$ac_link"
1526 case "(($ac_try" in
1527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528   *) ac_try_echo=$ac_try;;
1529 esac
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532   (eval "$ac_link") 2>conftest.err
1533   ac_status=$?
1534   if test -s conftest.err; then
1535     grep -v '^ *+' conftest.err >conftest.er1
1536     cat conftest.er1 >&5
1537     mv -f conftest.er1 conftest.err
1538   fi
1539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540   test $ac_status = 0; } && {
1541          test -z "$ac_c_werror_flag" ||
1542          test ! -s conftest.err
1543        } && test -s conftest$ac_exeext && {
1544          test "$cross_compiling" = yes ||
1545          $as_test_x conftest$ac_exeext
1546        }; then :
1547   ac_retval=0
1548 else
1549   $as_echo "$as_me: failed program was:" >&5
1550 sed 's/^/| /' conftest.$ac_ext >&5
1551
1552         ac_retval=1
1553 fi
1554   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1555   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1556   # interfere with the next link command; also delete a directory that is
1557   # left behind by Apple's compiler.  We do this before executing the actions.
1558   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1559   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560   as_fn_set_status $ac_retval
1561
1562 } # ac_fn_c_try_link
1563
1564 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists and can be compiled using the include files in
1567 # INCLUDES, setting the cache variable VAR accordingly.
1568 ac_fn_c_check_header_compile ()
1569 {
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572 $as_echo_n "checking for $2... " >&6; }
1573 if eval \${$3+:} false; then :
1574   $as_echo_n "(cached) " >&6
1575 else
1576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h.  */
1578 $4
1579 #include <$2>
1580 _ACEOF
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582   eval "$3=yes"
1583 else
1584   eval "$3=no"
1585 fi
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 fi
1588 eval ac_res=\$$3
1589                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592
1593 } # ac_fn_c_check_header_compile
1594
1595 # ac_fn_c_try_cpp LINENO
1596 # ----------------------
1597 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_cpp ()
1599 {
1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601   if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 case "(($ac_try" in
1603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604   *) ac_try_echo=$ac_try;;
1605 esac
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609   ac_status=$?
1610   if test -s conftest.err; then
1611     grep -v '^ *+' conftest.err >conftest.er1
1612     cat conftest.er1 >&5
1613     mv -f conftest.er1 conftest.err
1614   fi
1615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616   test $ac_status = 0; } > conftest.i && {
1617          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1618          test ! -s conftest.err
1619        }; then :
1620   ac_retval=0
1621 else
1622   $as_echo "$as_me: failed program was:" >&5
1623 sed 's/^/| /' conftest.$ac_ext >&5
1624
1625     ac_retval=1
1626 fi
1627   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628   as_fn_set_status $ac_retval
1629
1630 } # ac_fn_c_try_cpp
1631
1632 # ac_fn_c_try_run LINENO
1633 # ----------------------
1634 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1635 # that executables *can* be run.
1636 ac_fn_c_try_run ()
1637 {
1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639   if { { ac_try="$ac_link"
1640 case "(($ac_try" in
1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642   *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646   (eval "$ac_link") 2>&5
1647   ac_status=$?
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1650   { { case "(($ac_try" in
1651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652   *) ac_try_echo=$ac_try;;
1653 esac
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656   (eval "$ac_try") 2>&5
1657   ac_status=$?
1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659   test $ac_status = 0; }; }; then :
1660   ac_retval=0
1661 else
1662   $as_echo "$as_me: program exited with status $ac_status" >&5
1663        $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1665
1666        ac_retval=$ac_status
1667 fi
1668   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670   as_fn_set_status $ac_retval
1671
1672 } # ac_fn_c_try_run
1673
1674 # ac_fn_c_check_func LINENO FUNC VAR
1675 # ----------------------------------
1676 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1677 ac_fn_c_check_func ()
1678 {
1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \${$3+:} false; then :
1683   $as_echo_n "(cached) " >&6
1684 else
1685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h.  */
1687 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1689 #define $2 innocuous_$2
1690
1691 /* System header to define __stub macros and hopefully few prototypes,
1692     which can conflict with char $2 (); below.
1693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1694     <limits.h> exists even on freestanding compilers.  */
1695
1696 #ifdef __STDC__
1697 # include <limits.h>
1698 #else
1699 # include <assert.h>
1700 #endif
1701
1702 #undef $2
1703
1704 /* Override any GCC internal prototype to avoid an error.
1705    Use char because int might match the return type of a GCC
1706    builtin and then its argument prototype would still apply.  */
1707 #ifdef __cplusplus
1708 extern "C"
1709 #endif
1710 char $2 ();
1711 /* The GNU C library defines this for functions which it implements
1712     to always fail with ENOSYS.  Some functions are actually named
1713     something starting with __ and the normal name is an alias.  */
1714 #if defined __stub_$2 || defined __stub___$2
1715 choke me
1716 #endif
1717
1718 int
1719 main ()
1720 {
1721 return $2 ();
1722   ;
1723   return 0;
1724 }
1725 _ACEOF
1726 if ac_fn_c_try_link "$LINENO"; then :
1727   eval "$3=yes"
1728 else
1729   eval "$3=no"
1730 fi
1731 rm -f core conftest.err conftest.$ac_objext \
1732     conftest$ac_exeext conftest.$ac_ext
1733 fi
1734 eval ac_res=\$$3
1735                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738
1739 } # ac_fn_c_check_func
1740 cat >config.log <<_ACEOF
1741 This file contains any messages produced by compilers while
1742 running configure, to aid debugging if configure makes a mistake.
1743
1744 It was created by demo $as_me 1.0, which was
1745 generated by GNU Autoconf 2.68.  Invocation command line was
1746
1747   $ $0 $@
1748
1749 _ACEOF
1750 exec 5>>config.log
1751 {
1752 cat <<_ASUNAME
1753 ## --------- ##
1754 ## Platform. ##
1755 ## --------- ##
1756
1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1762
1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1764 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1765
1766 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1767 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1769 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1770 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1771 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1772 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1773
1774 _ASUNAME
1775
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779   IFS=$as_save_IFS
1780   test -z "$as_dir" && as_dir=.
1781     $as_echo "PATH: $as_dir"
1782   done
1783 IFS=$as_save_IFS
1784
1785 } >&5
1786
1787 cat >&5 <<_ACEOF
1788
1789
1790 ## ----------- ##
1791 ## Core tests. ##
1792 ## ----------- ##
1793
1794 _ACEOF
1795
1796
1797 # Keep a trace of the command line.
1798 # Strip out --no-create and --no-recursion so they do not pile up.
1799 # Strip out --silent because we don't want to record it for future runs.
1800 # Also quote any args containing shell meta-characters.
1801 # Make two passes to allow for proper duplicate-argument suppression.
1802 ac_configure_args=
1803 ac_configure_args0=
1804 ac_configure_args1=
1805 ac_must_keep_next=false
1806 for ac_pass in 1 2
1807 do
1808   for ac_arg
1809   do
1810     case $ac_arg in
1811     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1812     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813     | -silent | --silent | --silen | --sile | --sil)
1814       continue ;;
1815     *\'*)
1816       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817     esac
1818     case $ac_pass in
1819     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1820     2)
1821       as_fn_append ac_configure_args1 " '$ac_arg'"
1822       if test $ac_must_keep_next = true; then
1823         ac_must_keep_next=false # Got value, back to normal.
1824       else
1825         case $ac_arg in
1826           *=* | --config-cache | -C | -disable-* | --disable-* \
1827           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1828           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1829           | -with-* | --with-* | -without-* | --without-* | --x)
1830             case "$ac_configure_args0 " in
1831               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832             esac
1833             ;;
1834           -* ) ac_must_keep_next=true ;;
1835         esac
1836       fi
1837       as_fn_append ac_configure_args " '$ac_arg'"
1838       ;;
1839     esac
1840   done
1841 done
1842 { ac_configure_args0=; unset ac_configure_args0;}
1843 { ac_configure_args1=; unset ac_configure_args1;}
1844
1845 # When interrupted or exit'd, cleanup temporary files, and complete
1846 # config.log.  We remove comments because anyway the quotes in there
1847 # would cause problems or look ugly.
1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 trap 'exit_status=$?
1851   # Save into config.log some information that might help in debugging.
1852   {
1853     echo
1854
1855     $as_echo "## ---------------- ##
1856 ## Cache variables. ##
1857 ## ---------------- ##"
1858     echo
1859     # The following way of writing the cache mishandles newlines in values,
1860 (
1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1862     eval ac_val=\$$ac_var
1863     case $ac_val in #(
1864     *${as_nl}*)
1865       case $ac_var in #(
1866       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868       esac
1869       case $ac_var in #(
1870       _ | IFS | as_nl) ;; #(
1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872       *) { eval $ac_var=; unset $ac_var;} ;;
1873       esac ;;
1874     esac
1875   done
1876   (set) 2>&1 |
1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1878     *${as_nl}ac_space=\ *)
1879       sed -n \
1880         "s/'\''/'\''\\\\'\'''\''/g;
1881           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882       ;; #(
1883     *)
1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1885       ;;
1886     esac |
1887     sort
1888 )
1889     echo
1890
1891     $as_echo "## ----------------- ##
1892 ## Output variables. ##
1893 ## ----------------- ##"
1894     echo
1895     for ac_var in $ac_subst_vars
1896     do
1897       eval ac_val=\$$ac_var
1898       case $ac_val in
1899       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900       esac
1901       $as_echo "$ac_var='\''$ac_val'\''"
1902     done | sort
1903     echo
1904
1905     if test -n "$ac_subst_files"; then
1906       $as_echo "## ------------------- ##
1907 ## File substitutions. ##
1908 ## ------------------- ##"
1909       echo
1910       for ac_var in $ac_subst_files
1911       do
1912         eval ac_val=\$$ac_var
1913         case $ac_val in
1914         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915         esac
1916         $as_echo "$ac_var='\''$ac_val'\''"
1917       done | sort
1918       echo
1919     fi
1920
1921     if test -s confdefs.h; then
1922       $as_echo "## ----------- ##
1923 ## confdefs.h. ##
1924 ## ----------- ##"
1925       echo
1926       cat confdefs.h
1927       echo
1928     fi
1929     test "$ac_signal" != 0 &&
1930       $as_echo "$as_me: caught signal $ac_signal"
1931     $as_echo "$as_me: exit $exit_status"
1932   } >&5
1933   rm -f core *.core core.conftest.* &&
1934     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935     exit $exit_status
1936 ' 0
1937 for ac_signal in 1 2 13 15; do
1938   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1939 done
1940 ac_signal=0
1941
1942 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1943 rm -f -r conftest* confdefs.h
1944
1945 $as_echo "/* confdefs.h */" > confdefs.h
1946
1947 # Predefined preprocessor variables.
1948
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_NAME "$PACKAGE_NAME"
1951 _ACEOF
1952
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 _ACEOF
1956
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1959 _ACEOF
1960
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 _ACEOF
1964
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967 _ACEOF
1968
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_URL "$PACKAGE_URL"
1971 _ACEOF
1972
1973
1974 # Let the site file select an alternate cache file if it wants to.
1975 # Prefer an explicitly selected file to automatically selected ones.
1976 ac_site_file1=NONE
1977 ac_site_file2=NONE
1978 if test -n "$CONFIG_SITE"; then
1979   # We do not want a PATH search for config.site.
1980   case $CONFIG_SITE in #((
1981     -*)  ac_site_file1=./$CONFIG_SITE;;
1982     */*) ac_site_file1=$CONFIG_SITE;;
1983     *)   ac_site_file1=./$CONFIG_SITE;;
1984   esac
1985 elif test "x$prefix" != xNONE; then
1986   ac_site_file1=$prefix/share/config.site
1987   ac_site_file2=$prefix/etc/config.site
1988 else
1989   ac_site_file1=$ac_default_prefix/share/config.site
1990   ac_site_file2=$ac_default_prefix/etc/config.site
1991 fi
1992 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993 do
1994   test "x$ac_site_file" = xNONE && continue
1995   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1996     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1997 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1998     sed 's/^/| /' "$ac_site_file" >&5
1999     . "$ac_site_file" \
2000       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 as_fn_error $? "failed to load site script $ac_site_file
2003 See \`config.log' for more details" "$LINENO" 5; }
2004   fi
2005 done
2006
2007 if test -r "$cache_file"; then
2008   # Some versions of bash will fail to source /dev/null (special files
2009   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2010   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2011     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
2013     case $cache_file in
2014       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015       *)                      . "./$cache_file";;
2016     esac
2017   fi
2018 else
2019   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
2021   >$cache_file
2022 fi
2023
2024 # Check that the precious variables saved in the cache have kept the same
2025 # value.
2026 ac_cache_corrupted=false
2027 for ac_var in $ac_precious_vars; do
2028   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029   eval ac_new_set=\$ac_env_${ac_var}_set
2030   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031   eval ac_new_val=\$ac_env_${ac_var}_value
2032   case $ac_old_set,$ac_new_set in
2033     set,)
2034       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036       ac_cache_corrupted=: ;;
2037     ,set)
2038       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040       ac_cache_corrupted=: ;;
2041     ,);;
2042     *)
2043       if test "x$ac_old_val" != "x$ac_new_val"; then
2044         # differences in whitespace do not lead to failure.
2045         ac_old_val_w=`echo x $ac_old_val`
2046         ac_new_val_w=`echo x $ac_new_val`
2047         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2048           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2050           ac_cache_corrupted=:
2051         else
2052           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2054           eval $ac_var=\$ac_old_val
2055         fi
2056         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2057 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2058         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2059 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2060       fi;;
2061   esac
2062   # Pass precious variables to config.status.
2063   if test "$ac_new_set" = set; then
2064     case $ac_new_val in
2065     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2066     *) ac_arg=$ac_var=$ac_new_val ;;
2067     esac
2068     case " $ac_configure_args " in
2069       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2070       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2071     esac
2072   fi
2073 done
2074 if $ac_cache_corrupted; then
2075   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080 fi
2081 ## -------------------- ##
2082 ## Main body of script. ##
2083 ## -------------------- ##
2084
2085 ac_ext=c
2086 ac_cpp='$CPP $CPPFLAGS'
2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090
2091
2092
2093 ac_aux_dir=
2094 for ac_dir in ../../libltdl/config "$srcdir"/../../libltdl/config; do
2095   if test -f "$ac_dir/install-sh"; then
2096     ac_aux_dir=$ac_dir
2097     ac_install_sh="$ac_aux_dir/install-sh -c"
2098     break
2099   elif test -f "$ac_dir/install.sh"; then
2100     ac_aux_dir=$ac_dir
2101     ac_install_sh="$ac_aux_dir/install.sh -c"
2102     break
2103   elif test -f "$ac_dir/shtool"; then
2104     ac_aux_dir=$ac_dir
2105     ac_install_sh="$ac_aux_dir/shtool install -c"
2106     break
2107   fi
2108 done
2109 if test -z "$ac_aux_dir"; then
2110   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../libltdl/config \"$srcdir\"/../../libltdl/config" "$LINENO" 5
2111 fi
2112
2113 # These three variables are undocumented and unsupported,
2114 # and are intended to be withdrawn in a future Autoconf release.
2115 # They can cause serious problems if a builder's source tree is in a directory
2116 # whose full name contains unusual characters.
2117 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2118 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2119 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2120
2121
2122
2123
2124 ## ------------------------ ##
2125 ## Automake Initialisation. ##
2126 ## ------------------------ ##
2127 am__api_version='1.11'
2128
2129 # Find a good install program.  We prefer a C program (faster),
2130 # so one script is as good as another.  But avoid the broken or
2131 # incompatible versions:
2132 # SysV /etc/install, /usr/sbin/install
2133 # SunOS /usr/etc/install
2134 # IRIX /sbin/install
2135 # AIX /bin/install
2136 # AmigaOS /C/install, which installs bootblocks on floppy discs
2137 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2138 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2139 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2140 # OS/2's system install, which has a completely different semantic
2141 # ./install, which can be erroneously created by make from ./install.sh.
2142 # Reject install programs that cannot install multiple files.
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2144 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2145 if test -z "$INSTALL"; then
2146 if ${ac_cv_path_install+:} false; then :
2147   $as_echo_n "(cached) " >&6
2148 else
2149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2151 do
2152   IFS=$as_save_IFS
2153   test -z "$as_dir" && as_dir=.
2154     # Account for people who put trailing slashes in PATH elements.
2155 case $as_dir/ in #((
2156   ./ | .// | /[cC]/* | \
2157   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2158   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2159   /usr/ucb/* ) ;;
2160   *)
2161     # OSF1 and SCO ODT 3.0 have their own names for install.
2162     # Don't use installbsd from OSF since it installs stuff as root
2163     # by default.
2164     for ac_prog in ginstall scoinst install; do
2165       for ac_exec_ext in '' $ac_executable_extensions; do
2166         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2167           if test $ac_prog = install &&
2168             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2169             # AIX install.  It has an incompatible calling convention.
2170             :
2171           elif test $ac_prog = install &&
2172             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2173             # program-specific install script used by HP pwplus--don't use.
2174             :
2175           else
2176             rm -rf conftest.one conftest.two conftest.dir
2177             echo one > conftest.one
2178             echo two > conftest.two
2179             mkdir conftest.dir
2180             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2181               test -s conftest.one && test -s conftest.two &&
2182               test -s conftest.dir/conftest.one &&
2183               test -s conftest.dir/conftest.two
2184             then
2185               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2186               break 3
2187             fi
2188           fi
2189         fi
2190       done
2191     done
2192     ;;
2193 esac
2194
2195   done
2196 IFS=$as_save_IFS
2197
2198 rm -rf conftest.one conftest.two conftest.dir
2199
2200 fi
2201   if test "${ac_cv_path_install+set}" = set; then
2202     INSTALL=$ac_cv_path_install
2203   else
2204     # As a last resort, use the slow shell script.  Don't cache a
2205     # value for INSTALL within a source directory, because that will
2206     # break other packages using the cache if that directory is
2207     # removed, or if the value is a relative name.
2208     INSTALL=$ac_install_sh
2209   fi
2210 fi
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2212 $as_echo "$INSTALL" >&6; }
2213
2214 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2215 # It thinks the first close brace ends the variable substitution.
2216 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2217
2218 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2219
2220 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2221
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2223 $as_echo_n "checking whether build environment is sane... " >&6; }
2224 # Just in case
2225 sleep 1
2226 echo timestamp > conftest.file
2227 # Reject unsafe characters in $srcdir or the absolute working directory
2228 # name.  Accept space and tab only in the latter.
2229 am_lf='
2230 '
2231 case `pwd` in
2232   *[\\\"\#\$\&\'\`$am_lf]*)
2233     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2234 esac
2235 case $srcdir in
2236   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2237     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2238 esac
2239
2240 # Do `set' in a subshell so we don't clobber the current shell's
2241 # arguments.  Must try -L first in case configure is actually a
2242 # symlink; some systems play weird games with the mod time of symlinks
2243 # (eg FreeBSD returns the mod time of the symlink's containing
2244 # directory).
2245 if (
2246    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2247    if test "$*" = "X"; then
2248       # -L didn't work.
2249       set X `ls -t "$srcdir/configure" conftest.file`
2250    fi
2251    rm -f conftest.file
2252    if test "$*" != "X $srcdir/configure conftest.file" \
2253       && test "$*" != "X conftest.file $srcdir/configure"; then
2254
2255       # If neither matched, then we have a broken ls.  This can happen
2256       # if, for instance, CONFIG_SHELL is bash and it inherits a
2257       # broken ls alias from the environment.  This has actually
2258       # happened.  Such a system could not be considered "sane".
2259       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2260 alias in your environment" "$LINENO" 5
2261    fi
2262
2263    test "$2" = conftest.file
2264    )
2265 then
2266    # Ok.
2267    :
2268 else
2269    as_fn_error $? "newly created file is older than distributed files!
2270 Check your system clock" "$LINENO" 5
2271 fi
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2273 $as_echo "yes" >&6; }
2274 test "$program_prefix" != NONE &&
2275   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2276 # Use a double $ so make ignores it.
2277 test "$program_suffix" != NONE &&
2278   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2279 # Double any \ or $.
2280 # By default was `s,x,x', remove it if useless.
2281 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2282 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2283
2284 # expand $ac_aux_dir to an absolute path
2285 am_aux_dir=`cd $ac_aux_dir && pwd`
2286
2287 if test x"${MISSING+set}" != xset; then
2288   case $am_aux_dir in
2289   *\ * | *\     *)
2290     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2291   *)
2292     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2293   esac
2294 fi
2295 # Use eval to expand $SHELL
2296 if eval "$MISSING --run true"; then
2297   am_missing_run="$MISSING --run "
2298 else
2299   am_missing_run=
2300   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2301 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2302 fi
2303
2304 if test x"${install_sh}" != xset; then
2305   case $am_aux_dir in
2306   *\ * | *\     *)
2307     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2308   *)
2309     install_sh="\${SHELL} $am_aux_dir/install-sh"
2310   esac
2311 fi
2312
2313 # Installed binaries are usually stripped using `strip' when the user
2314 # run `make install-strip'.  However `strip' might not be the right
2315 # tool to use in cross-compilation environments, therefore Automake
2316 # will honor the `STRIP' environment variable to overrule this program.
2317 if test "$cross_compiling" != no; then
2318   if test -n "$ac_tool_prefix"; then
2319   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}strip; ac_word=$2
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2322 $as_echo_n "checking for $ac_word... " >&6; }
2323 if ${ac_cv_prog_STRIP+:} false; then :
2324   $as_echo_n "(cached) " >&6
2325 else
2326   if test -n "$STRIP"; then
2327   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334     for ac_exec_ext in '' $ac_executable_extensions; do
2335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338     break 2
2339   fi
2340 done
2341   done
2342 IFS=$as_save_IFS
2343
2344 fi
2345 fi
2346 STRIP=$ac_cv_prog_STRIP
2347 if test -n "$STRIP"; then
2348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2349 $as_echo "$STRIP" >&6; }
2350 else
2351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2352 $as_echo "no" >&6; }
2353 fi
2354
2355
2356 fi
2357 if test -z "$ac_cv_prog_STRIP"; then
2358   ac_ct_STRIP=$STRIP
2359   # Extract the first word of "strip", so it can be a program name with args.
2360 set dummy strip; ac_word=$2
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; }
2363 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2364   $as_echo_n "(cached) " >&6
2365 else
2366   if test -n "$ac_ct_STRIP"; then
2367   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368 else
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 for as_dir in $PATH
2371 do
2372   IFS=$as_save_IFS
2373   test -z "$as_dir" && as_dir=.
2374     for ac_exec_ext in '' $ac_executable_extensions; do
2375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376     ac_cv_prog_ac_ct_STRIP="strip"
2377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2378     break 2
2379   fi
2380 done
2381   done
2382 IFS=$as_save_IFS
2383
2384 fi
2385 fi
2386 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2387 if test -n "$ac_ct_STRIP"; then
2388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2389 $as_echo "$ac_ct_STRIP" >&6; }
2390 else
2391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2392 $as_echo "no" >&6; }
2393 fi
2394
2395   if test "x$ac_ct_STRIP" = x; then
2396     STRIP=":"
2397   else
2398     case $cross_compiling:$ac_tool_warned in
2399 yes:)
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2402 ac_tool_warned=yes ;;
2403 esac
2404     STRIP=$ac_ct_STRIP
2405   fi
2406 else
2407   STRIP="$ac_cv_prog_STRIP"
2408 fi
2409
2410 fi
2411 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2412
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2414 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2415 if test -z "$MKDIR_P"; then
2416   if ${ac_cv_path_mkdir+:} false; then :
2417   $as_echo_n "(cached) " >&6
2418 else
2419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2421 do
2422   IFS=$as_save_IFS
2423   test -z "$as_dir" && as_dir=.
2424     for ac_prog in mkdir gmkdir; do
2425          for ac_exec_ext in '' $ac_executable_extensions; do
2426            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2427            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2428              'mkdir (GNU coreutils) '* | \
2429              'mkdir (coreutils) '* | \
2430              'mkdir (fileutils) '4.1*)
2431                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2432                break 3;;
2433            esac
2434          done
2435        done
2436   done
2437 IFS=$as_save_IFS
2438
2439 fi
2440
2441   test -d ./--version && rmdir ./--version
2442   if test "${ac_cv_path_mkdir+set}" = set; then
2443     MKDIR_P="$ac_cv_path_mkdir -p"
2444   else
2445     # As a last resort, use the slow shell script.  Don't cache a
2446     # value for MKDIR_P within a source directory, because that will
2447     # break other packages using the cache if that directory is
2448     # removed, or if the value is a relative name.
2449     MKDIR_P="$ac_install_sh -d"
2450   fi
2451 fi
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2453 $as_echo "$MKDIR_P" >&6; }
2454
2455 mkdir_p="$MKDIR_P"
2456 case $mkdir_p in
2457   [\\/$]* | ?:[\\/]*) ;;
2458   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2459 esac
2460
2461 for ac_prog in gawk mawk nawk awk
2462 do
2463   # Extract the first word of "$ac_prog", so it can be a program name with args.
2464 set dummy $ac_prog; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_AWK+:} false; then :
2468   $as_echo_n "(cached) " >&6
2469 else
2470   if test -n "$AWK"; then
2471   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2475 do
2476   IFS=$as_save_IFS
2477   test -z "$as_dir" && as_dir=.
2478     for ac_exec_ext in '' $ac_executable_extensions; do
2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480     ac_cv_prog_AWK="$ac_prog"
2481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482     break 2
2483   fi
2484 done
2485   done
2486 IFS=$as_save_IFS
2487
2488 fi
2489 fi
2490 AWK=$ac_cv_prog_AWK
2491 if test -n "$AWK"; then
2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2493 $as_echo "$AWK" >&6; }
2494 else
2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2497 fi
2498
2499
2500   test -n "$AWK" && break
2501 done
2502
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2504 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2505 set x ${MAKE-make}
2506 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2507 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2508   $as_echo_n "(cached) " >&6
2509 else
2510   cat >conftest.make <<\_ACEOF
2511 SHELL = /bin/sh
2512 all:
2513         @echo '@@@%%%=$(MAKE)=@@@%%%'
2514 _ACEOF
2515 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2516 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2517   *@@@%%%=?*=@@@%%%*)
2518     eval ac_cv_prog_make_${ac_make}_set=yes;;
2519   *)
2520     eval ac_cv_prog_make_${ac_make}_set=no;;
2521 esac
2522 rm -f conftest.make
2523 fi
2524 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2526 $as_echo "yes" >&6; }
2527   SET_MAKE=
2528 else
2529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2531   SET_MAKE="MAKE=${MAKE-make}"
2532 fi
2533
2534 rm -rf .tst 2>/dev/null
2535 mkdir .tst 2>/dev/null
2536 if test -d .tst; then
2537   am__leading_dot=.
2538 else
2539   am__leading_dot=_
2540 fi
2541 rmdir .tst 2>/dev/null
2542
2543 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2544   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2545   # is not polluted with repeated "-I."
2546   am__isrc=' -I$(srcdir)'
2547   # test to see if srcdir already configured
2548   if test -f $srcdir/config.status; then
2549     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2550   fi
2551 fi
2552
2553 # test whether we have cygpath
2554 if test -z "$CYGPATH_W"; then
2555   if (cygpath --version) >/dev/null 2>/dev/null; then
2556     CYGPATH_W='cygpath -w'
2557   else
2558     CYGPATH_W=echo
2559   fi
2560 fi
2561
2562
2563 # Define the identity of the package.
2564  PACKAGE='demo'
2565  VERSION='1.0'
2566
2567
2568 cat >>confdefs.h <<_ACEOF
2569 #define PACKAGE "$PACKAGE"
2570 _ACEOF
2571
2572
2573 cat >>confdefs.h <<_ACEOF
2574 #define VERSION "$VERSION"
2575 _ACEOF
2576
2577 # Some tools Automake needs.
2578
2579 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2580
2581
2582 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2583
2584
2585 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2586
2587
2588 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2589
2590
2591 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2592
2593 # We need awk for the "check" target.  The system "awk" is bad on
2594 # some platforms.
2595 # Always define AMTAR for backward compatibility.
2596
2597 AMTAR=${AMTAR-"${am_missing_run}tar"}
2598
2599 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2600
2601
2602
2603
2604
2605
2606
2607 ## ---------------- ##
2608 ## compiler checks. ##
2609 ## ---------------- ##
2610 ac_ext=c
2611 ac_cpp='$CPP $CPPFLAGS'
2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615 if test -n "$ac_tool_prefix"; then
2616   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621   $as_echo_n "(cached) " >&6
2622 else
2623   if test -n "$CC"; then
2624   ac_cv_prog_CC="$CC" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629   IFS=$as_save_IFS
2630   test -z "$as_dir" && as_dir=.
2631     for ac_exec_ext in '' $ac_executable_extensions; do
2632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2633     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635     break 2
2636   fi
2637 done
2638   done
2639 IFS=$as_save_IFS
2640
2641 fi
2642 fi
2643 CC=$ac_cv_prog_CC
2644 if test -n "$CC"; then
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2646 $as_echo "$CC" >&6; }
2647 else
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2650 fi
2651
2652
2653 fi
2654 if test -z "$ac_cv_prog_CC"; then
2655   ac_ct_CC=$CC
2656   # Extract the first word of "gcc", so it can be a program name with args.
2657 set dummy gcc; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   if test -n "$ac_ct_CC"; then
2664   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2665 else
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH
2668 do
2669   IFS=$as_save_IFS
2670   test -z "$as_dir" && as_dir=.
2671     for ac_exec_ext in '' $ac_executable_extensions; do
2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673     ac_cv_prog_ac_ct_CC="gcc"
2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2675     break 2
2676   fi
2677 done
2678   done
2679 IFS=$as_save_IFS
2680
2681 fi
2682 fi
2683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2684 if test -n "$ac_ct_CC"; then
2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2686 $as_echo "$ac_ct_CC" >&6; }
2687 else
2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689 $as_echo "no" >&6; }
2690 fi
2691
2692   if test "x$ac_ct_CC" = x; then
2693     CC=""
2694   else
2695     case $cross_compiling:$ac_tool_warned in
2696 yes:)
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2699 ac_tool_warned=yes ;;
2700 esac
2701     CC=$ac_ct_CC
2702   fi
2703 else
2704   CC="$ac_cv_prog_CC"
2705 fi
2706
2707 if test -z "$CC"; then
2708           if test -n "$ac_tool_prefix"; then
2709     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2710 set dummy ${ac_tool_prefix}cc; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_CC+:} false; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   if test -n "$CC"; then
2717   ac_cv_prog_CC="$CC" # Let the user override the test.
2718 else
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 for as_dir in $PATH
2721 do
2722   IFS=$as_save_IFS
2723   test -z "$as_dir" && as_dir=.
2724     for ac_exec_ext in '' $ac_executable_extensions; do
2725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726     ac_cv_prog_CC="${ac_tool_prefix}cc"
2727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728     break 2
2729   fi
2730 done
2731   done
2732 IFS=$as_save_IFS
2733
2734 fi
2735 fi
2736 CC=$ac_cv_prog_CC
2737 if test -n "$CC"; then
2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2739 $as_echo "$CC" >&6; }
2740 else
2741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2743 fi
2744
2745
2746   fi
2747 fi
2748 if test -z "$CC"; then
2749   # Extract the first word of "cc", so it can be a program name with args.
2750 set dummy cc; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_CC+:} false; then :
2754   $as_echo_n "(cached) " >&6
2755 else
2756   if test -n "$CC"; then
2757   ac_cv_prog_CC="$CC" # Let the user override the test.
2758 else
2759   ac_prog_rejected=no
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763   IFS=$as_save_IFS
2764   test -z "$as_dir" && as_dir=.
2765     for ac_exec_ext in '' $ac_executable_extensions; do
2766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2768        ac_prog_rejected=yes
2769        continue
2770      fi
2771     ac_cv_prog_CC="cc"
2772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773     break 2
2774   fi
2775 done
2776   done
2777 IFS=$as_save_IFS
2778
2779 if test $ac_prog_rejected = yes; then
2780   # We found a bogon in the path, so make sure we never use it.
2781   set dummy $ac_cv_prog_CC
2782   shift
2783   if test $# != 0; then
2784     # We chose a different compiler from the bogus one.
2785     # However, it has the same basename, so the bogon will be chosen
2786     # first if we set CC to just the basename; use the full file name.
2787     shift
2788     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2789   fi
2790 fi
2791 fi
2792 fi
2793 CC=$ac_cv_prog_CC
2794 if test -n "$CC"; then
2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2796 $as_echo "$CC" >&6; }
2797 else
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2800 fi
2801
2802
2803 fi
2804 if test -z "$CC"; then
2805   if test -n "$ac_tool_prefix"; then
2806   for ac_prog in cl.exe
2807   do
2808     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_CC+:} false; then :
2813   $as_echo_n "(cached) " >&6
2814 else
2815   if test -n "$CC"; then
2816   ac_cv_prog_CC="$CC" # Let the user override the test.
2817 else
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 for as_dir in $PATH
2820 do
2821   IFS=$as_save_IFS
2822   test -z "$as_dir" && as_dir=.
2823     for ac_exec_ext in '' $ac_executable_extensions; do
2824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827     break 2
2828   fi
2829 done
2830   done
2831 IFS=$as_save_IFS
2832
2833 fi
2834 fi
2835 CC=$ac_cv_prog_CC
2836 if test -n "$CC"; then
2837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2838 $as_echo "$CC" >&6; }
2839 else
2840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2842 fi
2843
2844
2845     test -n "$CC" && break
2846   done
2847 fi
2848 if test -z "$CC"; then
2849   ac_ct_CC=$CC
2850   for ac_prog in cl.exe
2851 do
2852   # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy $ac_prog; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2857   $as_echo_n "(cached) " >&6
2858 else
2859   if test -n "$ac_ct_CC"; then
2860   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2861 else
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH
2864 do
2865   IFS=$as_save_IFS
2866   test -z "$as_dir" && as_dir=.
2867     for ac_exec_ext in '' $ac_executable_extensions; do
2868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869     ac_cv_prog_ac_ct_CC="$ac_prog"
2870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871     break 2
2872   fi
2873 done
2874   done
2875 IFS=$as_save_IFS
2876
2877 fi
2878 fi
2879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2880 if test -n "$ac_ct_CC"; then
2881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2882 $as_echo "$ac_ct_CC" >&6; }
2883 else
2884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2886 fi
2887
2888
2889   test -n "$ac_ct_CC" && break
2890 done
2891
2892   if test "x$ac_ct_CC" = x; then
2893     CC=""
2894   else
2895     case $cross_compiling:$ac_tool_warned in
2896 yes:)
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2899 ac_tool_warned=yes ;;
2900 esac
2901     CC=$ac_ct_CC
2902   fi
2903 fi
2904
2905 fi
2906
2907
2908 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 as_fn_error $? "no acceptable C compiler found in \$PATH
2911 See \`config.log' for more details" "$LINENO" 5; }
2912
2913 # Provide some information about the compiler.
2914 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2915 set X $ac_compile
2916 ac_compiler=$2
2917 for ac_option in --version -v -V -qversion; do
2918   { { ac_try="$ac_compiler $ac_option >&5"
2919 case "(($ac_try" in
2920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921   *) ac_try_echo=$ac_try;;
2922 esac
2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924 $as_echo "$ac_try_echo"; } >&5
2925   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2926   ac_status=$?
2927   if test -s conftest.err; then
2928     sed '10a\
2929 ... rest of stderr output deleted ...
2930          10q' conftest.err >conftest.er1
2931     cat conftest.er1 >&5
2932   fi
2933   rm -f conftest.er1 conftest.err
2934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2935   test $ac_status = 0; }
2936 done
2937
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h.  */
2940
2941 int
2942 main ()
2943 {
2944
2945   ;
2946   return 0;
2947 }
2948 _ACEOF
2949 ac_clean_files_save=$ac_clean_files
2950 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2951 # Try to create an executable without -o first, disregard a.out.
2952 # It will help us diagnose broken compilers, and finding out an intuition
2953 # of exeext.
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2955 $as_echo_n "checking whether the C compiler works... " >&6; }
2956 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2957
2958 # The possible output files:
2959 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2960
2961 ac_rmfiles=
2962 for ac_file in $ac_files
2963 do
2964   case $ac_file in
2965     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2966     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2967   esac
2968 done
2969 rm -f $ac_rmfiles
2970
2971 if { { ac_try="$ac_link_default"
2972 case "(($ac_try" in
2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974   *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978   (eval "$ac_link_default") 2>&5
2979   ac_status=$?
2980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2981   test $ac_status = 0; }; then :
2982   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2984 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2985 # so that the user can short-circuit this test for compilers unknown to
2986 # Autoconf.
2987 for ac_file in $ac_files ''
2988 do
2989   test -f "$ac_file" || continue
2990   case $ac_file in
2991     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2992         ;;
2993     [ab].out )
2994         # We found the default executable, but exeext='' is most
2995         # certainly right.
2996         break;;
2997     *.* )
2998         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2999         then :; else
3000            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3001         fi
3002         # We set ac_cv_exeext here because the later test for it is not
3003         # safe: cross compilers may not add the suffix if given an `-o'
3004         # argument, so we may need to know it at that point already.
3005         # Even if this section looks crufty: it has the advantage of
3006         # actually working.
3007         break;;
3008     * )
3009         break;;
3010   esac
3011 done
3012 test "$ac_cv_exeext" = no && ac_cv_exeext=
3013
3014 else
3015   ac_file=''
3016 fi
3017 if test -z "$ac_file"; then :
3018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3020 $as_echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3022
3023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error 77 "C compiler cannot create executables
3026 See \`config.log' for more details" "$LINENO" 5; }
3027 else
3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3029 $as_echo "yes" >&6; }
3030 fi
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3032 $as_echo_n "checking for C compiler default output file name... " >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3034 $as_echo "$ac_file" >&6; }
3035 ac_exeext=$ac_cv_exeext
3036
3037 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3038 ac_clean_files=$ac_clean_files_save
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3040 $as_echo_n "checking for suffix of executables... " >&6; }
3041 if { { ac_try="$ac_link"
3042 case "(($ac_try" in
3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044   *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048   (eval "$ac_link") 2>&5
3049   ac_status=$?
3050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051   test $ac_status = 0; }; then :
3052   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3053 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3054 # work properly (i.e., refer to `conftest.exe'), while it won't with
3055 # `rm'.
3056 for ac_file in conftest.exe conftest conftest.*; do
3057   test -f "$ac_file" || continue
3058   case $ac_file in
3059     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3060     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3061           break;;
3062     * ) break;;
3063   esac
3064 done
3065 else
3066   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3069 See \`config.log' for more details" "$LINENO" 5; }
3070 fi
3071 rm -f conftest conftest$ac_cv_exeext
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3073 $as_echo "$ac_cv_exeext" >&6; }
3074
3075 rm -f conftest.$ac_ext
3076 EXEEXT=$ac_cv_exeext
3077 ac_exeext=$EXEEXT
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h.  */
3080 #include <stdio.h>
3081 int
3082 main ()
3083 {
3084 FILE *f = fopen ("conftest.out", "w");
3085  return ferror (f) || fclose (f) != 0;
3086
3087   ;
3088   return 0;
3089 }
3090 _ACEOF
3091 ac_clean_files="$ac_clean_files conftest.out"
3092 # Check that the compiler produces executables we can run.  If not, either
3093 # the compiler is broken, or we cross compile.
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3095 $as_echo_n "checking whether we are cross compiling... " >&6; }
3096 if test "$cross_compiling" != yes; then
3097   { { ac_try="$ac_link"
3098 case "(($ac_try" in
3099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100   *) ac_try_echo=$ac_try;;
3101 esac
3102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3103 $as_echo "$ac_try_echo"; } >&5
3104   (eval "$ac_link") 2>&5
3105   ac_status=$?
3106   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3107   test $ac_status = 0; }
3108   if { ac_try='./conftest$ac_cv_exeext'
3109   { { case "(($ac_try" in
3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111   *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 $as_echo "$ac_try_echo"; } >&5
3115   (eval "$ac_try") 2>&5
3116   ac_status=$?
3117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118   test $ac_status = 0; }; }; then
3119     cross_compiling=no
3120   else
3121     if test "$cross_compiling" = maybe; then
3122         cross_compiling=yes
3123     else
3124         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error $? "cannot run C compiled programs.
3127 If you meant to cross compile, use \`--host'.
3128 See \`config.log' for more details" "$LINENO" 5; }
3129     fi
3130   fi
3131 fi
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3133 $as_echo "$cross_compiling" >&6; }
3134
3135 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3136 ac_clean_files=$ac_clean_files_save
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3138 $as_echo_n "checking for suffix of object files... " >&6; }
3139 if ${ac_cv_objext+:} false; then :
3140   $as_echo_n "(cached) " >&6
3141 else
3142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h.  */
3144
3145 int
3146 main ()
3147 {
3148
3149   ;
3150   return 0;
3151 }
3152 _ACEOF
3153 rm -f conftest.o conftest.obj
3154 if { { ac_try="$ac_compile"
3155 case "(($ac_try" in
3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157   *) ac_try_echo=$ac_try;;
3158 esac
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161   (eval "$ac_compile") 2>&5
3162   ac_status=$?
3163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164   test $ac_status = 0; }; then :
3165   for ac_file in conftest.o conftest.obj conftest.*; do
3166   test -f "$ac_file" || continue;
3167   case $ac_file in
3168     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3169     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3170        break;;
3171   esac
3172 done
3173 else
3174   $as_echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3176
3177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $? "cannot compute suffix of object files: cannot compile
3180 See \`config.log' for more details" "$LINENO" 5; }
3181 fi
3182 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3183 fi
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3185 $as_echo "$ac_cv_objext" >&6; }
3186 OBJEXT=$ac_cv_objext
3187 ac_objext=$OBJEXT
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3189 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3190 if ${ac_cv_c_compiler_gnu+:} false; then :
3191   $as_echo_n "(cached) " >&6
3192 else
3193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h.  */
3195
3196 int
3197 main ()
3198 {
3199 #ifndef __GNUC__
3200        choke me
3201 #endif
3202
3203   ;
3204   return 0;
3205 }
3206 _ACEOF
3207 if ac_fn_c_try_compile "$LINENO"; then :
3208   ac_compiler_gnu=yes
3209 else
3210   ac_compiler_gnu=no
3211 fi
3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3214
3215 fi
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3217 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3218 if test $ac_compiler_gnu = yes; then
3219   GCC=yes
3220 else
3221   GCC=
3222 fi
3223 ac_test_CFLAGS=${CFLAGS+set}
3224 ac_save_CFLAGS=$CFLAGS
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3226 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3227 if ${ac_cv_prog_cc_g+:} false; then :
3228   $as_echo_n "(cached) " >&6
3229 else
3230   ac_save_c_werror_flag=$ac_c_werror_flag
3231    ac_c_werror_flag=yes
3232    ac_cv_prog_cc_g=no
3233    CFLAGS="-g"
3234    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h.  */
3236
3237 int
3238 main ()
3239 {
3240
3241   ;
3242   return 0;
3243 }
3244 _ACEOF
3245 if ac_fn_c_try_compile "$LINENO"; then :
3246   ac_cv_prog_cc_g=yes
3247 else
3248   CFLAGS=""
3249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h.  */
3251
3252 int
3253 main ()
3254 {
3255
3256   ;
3257   return 0;
3258 }
3259 _ACEOF
3260 if ac_fn_c_try_compile "$LINENO"; then :
3261
3262 else
3263   ac_c_werror_flag=$ac_save_c_werror_flag
3264          CFLAGS="-g"
3265          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h.  */
3267
3268 int
3269 main ()
3270 {
3271
3272   ;
3273   return 0;
3274 }
3275 _ACEOF
3276 if ac_fn_c_try_compile "$LINENO"; then :
3277   ac_cv_prog_cc_g=yes
3278 fi
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 fi
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 fi
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284    ac_c_werror_flag=$ac_save_c_werror_flag
3285 fi
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3287 $as_echo "$ac_cv_prog_cc_g" >&6; }
3288 if test "$ac_test_CFLAGS" = set; then
3289   CFLAGS=$ac_save_CFLAGS
3290 elif test $ac_cv_prog_cc_g = yes; then
3291   if test "$GCC" = yes; then
3292     CFLAGS="-g -O2"
3293   else
3294     CFLAGS="-g"
3295   fi
3296 else
3297   if test "$GCC" = yes; then
3298     CFLAGS="-O2"
3299   else
3300     CFLAGS=
3301   fi
3302 fi
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3304 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3305 if ${ac_cv_prog_cc_c89+:} false; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   ac_cv_prog_cc_c89=no
3309 ac_save_CC=$CC
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h.  */
3312 #include <stdarg.h>
3313 #include <stdio.h>
3314 #include <sys/types.h>
3315 #include <sys/stat.h>
3316 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3317 struct buf { int x; };
3318 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3319 static char *e (p, i)
3320      char **p;
3321      int i;
3322 {
3323   return p[i];
3324 }
3325 static char *f (char * (*g) (char **, int), char **p, ...)
3326 {
3327   char *s;
3328   va_list v;
3329   va_start (v,p);
3330   s = g (p, va_arg (v,int));
3331   va_end (v);
3332   return s;
3333 }
3334
3335 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3336    function prototypes and stuff, but not '\xHH' hex character constants.
3337    These don't provoke an error unfortunately, instead are silently treated
3338    as 'x'.  The following induces an error, until -std is added to get
3339    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3340    array size at least.  It's necessary to write '\x00'==0 to get something
3341    that's true only with -std.  */
3342 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3343
3344 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3345    inside strings and character constants.  */
3346 #define FOO(x) 'x'
3347 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3348
3349 int test (int i, double x);
3350 struct s1 {int (*f) (int a);};
3351 struct s2 {int (*f) (double a);};
3352 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3353 int argc;
3354 char **argv;
3355 int
3356 main ()
3357 {
3358 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3359   ;
3360   return 0;
3361 }
3362 _ACEOF
3363 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3364         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3365 do
3366   CC="$ac_save_CC $ac_arg"
3367   if ac_fn_c_try_compile "$LINENO"; then :
3368   ac_cv_prog_cc_c89=$ac_arg
3369 fi
3370 rm -f core conftest.err conftest.$ac_objext
3371   test "x$ac_cv_prog_cc_c89" != "xno" && break
3372 done
3373 rm -f conftest.$ac_ext
3374 CC=$ac_save_CC
3375
3376 fi
3377 # AC_CACHE_VAL
3378 case "x$ac_cv_prog_cc_c89" in
3379   x)
3380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3381 $as_echo "none needed" >&6; } ;;
3382   xno)
3383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3384 $as_echo "unsupported" >&6; } ;;
3385   *)
3386     CC="$CC $ac_cv_prog_cc_c89"
3387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3388 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3389 esac
3390 if test "x$ac_cv_prog_cc_c89" != xno; then :
3391
3392 fi
3393
3394 ac_ext=c
3395 ac_cpp='$CPP $CPPFLAGS'
3396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 DEPDIR="${am__leading_dot}deps"
3400
3401 ac_config_commands="$ac_config_commands depfiles"
3402
3403
3404 am_make=${MAKE-make}
3405 cat > confinc << 'END'
3406 am__doit:
3407         @echo this is the am__doit target
3408 .PHONY: am__doit
3409 END
3410 # If we don't find an include directive, just comment out the code.
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3412 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3413 am__include="#"
3414 am__quote=
3415 _am_result=none
3416 # First try GNU make style include.
3417 echo "include confinc" > confmf
3418 # Ignore all kinds of additional output from `make'.
3419 case `$am_make -s -f confmf 2> /dev/null` in #(
3420 *the\ am__doit\ target*)
3421   am__include=include
3422   am__quote=
3423   _am_result=GNU
3424   ;;
3425 esac
3426 # Now try BSD make style include.
3427 if test "$am__include" = "#"; then
3428    echo '.include "confinc"' > confmf
3429    case `$am_make -s -f confmf 2> /dev/null` in #(
3430    *the\ am__doit\ target*)
3431      am__include=.include
3432      am__quote="\""
3433      _am_result=BSD
3434      ;;
3435    esac
3436 fi
3437
3438
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3440 $as_echo "$_am_result" >&6; }
3441 rm -f confinc confmf
3442
3443 # Check whether --enable-dependency-tracking was given.
3444 if test "${enable_dependency_tracking+set}" = set; then :
3445   enableval=$enable_dependency_tracking;
3446 fi
3447
3448 if test "x$enable_dependency_tracking" != xno; then
3449   am_depcomp="$ac_aux_dir/depcomp"
3450   AMDEPBACKSLASH='\'
3451 fi
3452  if test "x$enable_dependency_tracking" != xno; then
3453   AMDEP_TRUE=
3454   AMDEP_FALSE='#'
3455 else
3456   AMDEP_TRUE='#'
3457   AMDEP_FALSE=
3458 fi
3459
3460
3461
3462 depcc="$CC"   am_compiler_list=
3463
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3465 $as_echo_n "checking dependency style of $depcc... " >&6; }
3466 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3467   $as_echo_n "(cached) " >&6
3468 else
3469   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3470   # We make a subdir and do the tests there.  Otherwise we can end up
3471   # making bogus files that we don't know about and never remove.  For
3472   # instance it was reported that on HP-UX the gcc test will end up
3473   # making a dummy file named `D' -- because `-MD' means `put the output
3474   # in D'.
3475   mkdir conftest.dir
3476   # Copy depcomp to subdir because otherwise we won't find it if we're
3477   # using a relative directory.
3478   cp "$am_depcomp" conftest.dir
3479   cd conftest.dir
3480   # We will build objects and dependencies in a subdirectory because
3481   # it helps to detect inapplicable dependency modes.  For instance
3482   # both Tru64's cc and ICC support -MD to output dependencies as a
3483   # side effect of compilation, but ICC will put the dependencies in
3484   # the current directory while Tru64 will put them in the object
3485   # directory.
3486   mkdir sub
3487
3488   am_cv_CC_dependencies_compiler_type=none
3489   if test "$am_compiler_list" = ""; then
3490      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3491   fi
3492   am__universal=false
3493   case " $depcc " in #(
3494      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3495      esac
3496
3497   for depmode in $am_compiler_list; do
3498     # Setup a source with many dependencies, because some compilers
3499     # like to wrap large dependency lists on column 80 (with \), and
3500     # we should not choose a depcomp mode which is confused by this.
3501     #
3502     # We need to recreate these files for each test, as the compiler may
3503     # overwrite some of them when testing with obscure command lines.
3504     # This happens at least with the AIX C compiler.
3505     : > sub/conftest.c
3506     for i in 1 2 3 4 5 6; do
3507       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3508       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3509       # Solaris 8's {/usr,}/bin/sh.
3510       touch sub/conftst$i.h
3511     done
3512     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513
3514     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3515     # mode.  It turns out that the SunPro C++ compiler does not properly
3516     # handle `-M -o', and we need to detect this.  Also, some Intel
3517     # versions had trouble with output in subdirs
3518     am__obj=sub/conftest.${OBJEXT-o}
3519     am__minus_obj="-o $am__obj"
3520     case $depmode in
3521     gcc)
3522       # This depmode causes a compiler race in universal mode.
3523       test "$am__universal" = false || continue
3524       ;;
3525     nosideeffect)
3526       # after this tag, mechanisms are not by side-effect, so they'll
3527       # only be used when explicitly requested
3528       if test "x$enable_dependency_tracking" = xyes; then
3529         continue
3530       else
3531         break
3532       fi
3533       ;;
3534     msvisualcpp | msvcmsys)
3535       # This compiler won't grok `-c -o', but also, the minuso test has
3536       # not run yet.  These depmodes are late enough in the game, and
3537       # so weak that their functioning should not be impacted.
3538       am__obj=conftest.${OBJEXT-o}
3539       am__minus_obj=
3540       ;;
3541     none) break ;;
3542     esac
3543     if depmode=$depmode \
3544        source=sub/conftest.c object=$am__obj \
3545        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3546        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3547          >/dev/null 2>conftest.err &&
3548        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3549        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3550        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3551        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3552       # icc doesn't choke on unknown options, it will just issue warnings
3553       # or remarks (even with -Werror).  So we grep stderr for any message
3554       # that says an option was ignored or not supported.
3555       # When given -MP, icc 7.0 and 7.1 complain thusly:
3556       #   icc: Command line warning: ignoring option '-M'; no argument required
3557       # The diagnosis changed in icc 8.0:
3558       #   icc: Command line remark: option '-MP' not supported
3559       if (grep 'ignoring option' conftest.err ||
3560           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3561         am_cv_CC_dependencies_compiler_type=$depmode
3562         break
3563       fi
3564     fi
3565   done
3566
3567   cd ..
3568   rm -rf conftest.dir
3569 else
3570   am_cv_CC_dependencies_compiler_type=none
3571 fi
3572
3573 fi
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3575 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3576 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3577
3578  if
3579   test "x$enable_dependency_tracking" != xno \
3580   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3581   am__fastdepCC_TRUE=
3582   am__fastdepCC_FALSE='#'
3583 else
3584   am__fastdepCC_TRUE='#'
3585   am__fastdepCC_FALSE=
3586 fi
3587
3588
3589
3590
3591 ## ----------------------- ##
3592 ## Libtool initialisation. ##
3593 ## ----------------------- ##
3594 case `pwd` in
3595   *\ * | *\     *)
3596     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3597 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3598 esac
3599
3600
3601
3602 macro_version='2.4.2'
3603 macro_revision='1.3337'
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617 ltmain="$ac_aux_dir/ltmain.sh"
3618
3619 # Make sure we can run config.sub.
3620 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3621   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3622
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3624 $as_echo_n "checking build system type... " >&6; }
3625 if ${ac_cv_build+:} false; then :
3626   $as_echo_n "(cached) " >&6
3627 else
3628   ac_build_alias=$build_alias
3629 test "x$ac_build_alias" = x &&
3630   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3631 test "x$ac_build_alias" = x &&
3632   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3633 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3634   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3635
3636 fi
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3638 $as_echo "$ac_cv_build" >&6; }
3639 case $ac_cv_build in
3640 *-*-*) ;;
3641 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3642 esac
3643 build=$ac_cv_build
3644 ac_save_IFS=$IFS; IFS='-'
3645 set x $ac_cv_build
3646 shift
3647 build_cpu=$1
3648 build_vendor=$2
3649 shift; shift
3650 # Remember, the first character of IFS is used to create $*,
3651 # except with old shells:
3652 build_os=$*
3653 IFS=$ac_save_IFS
3654 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3655
3656
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3658 $as_echo_n "checking host system type... " >&6; }
3659 if ${ac_cv_host+:} false; then :
3660   $as_echo_n "(cached) " >&6
3661 else
3662   if test "x$host_alias" = x; then
3663   ac_cv_host=$ac_cv_build
3664 else
3665   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3666     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3667 fi
3668
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3671 $as_echo "$ac_cv_host" >&6; }
3672 case $ac_cv_host in
3673 *-*-*) ;;
3674 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3675 esac
3676 host=$ac_cv_host
3677 ac_save_IFS=$IFS; IFS='-'
3678 set x $ac_cv_host
3679 shift
3680 host_cpu=$1
3681 host_vendor=$2
3682 shift; shift
3683 # Remember, the first character of IFS is used to create $*,
3684 # except with old shells:
3685 host_os=$*
3686 IFS=$ac_save_IFS
3687 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3688
3689
3690 # Backslashify metacharacters that are still active within
3691 # double-quoted strings.
3692 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3693
3694 # Same as above, but do not quote variable references.
3695 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3696
3697 # Sed substitution to delay expansion of an escaped shell variable in a
3698 # double_quote_subst'ed string.
3699 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3700
3701 # Sed substitution to delay expansion of an escaped single quote.
3702 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3703
3704 # Sed substitution to avoid accidental globbing in evaled expressions
3705 no_glob_subst='s/\*/\\\*/g'
3706
3707 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3708 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3709 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3710
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3712 $as_echo_n "checking how to print strings... " >&6; }
3713 # Test print first, because it will be a builtin if present.
3714 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3715    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3716   ECHO='print -r --'
3717 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3718   ECHO='printf %s\n'
3719 else
3720   # Use this function as a fallback that always works.
3721   func_fallback_echo ()
3722   {
3723     eval 'cat <<_LTECHO_EOF
3724 $1
3725 _LTECHO_EOF'
3726   }
3727   ECHO='func_fallback_echo'
3728 fi
3729
3730 # func_echo_all arg...
3731 # Invoke $ECHO with all args, space-separated.
3732 func_echo_all ()
3733 {
3734     $ECHO ""
3735 }
3736
3737 case "$ECHO" in
3738   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3739 $as_echo "printf" >&6; } ;;
3740   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3741 $as_echo "print -r" >&6; } ;;
3742   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3743 $as_echo "cat" >&6; } ;;
3744 esac
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3760 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3761 if ${ac_cv_path_SED+:} false; then :
3762   $as_echo_n "(cached) " >&6
3763 else
3764             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3765      for ac_i in 1 2 3 4 5 6 7; do
3766        ac_script="$ac_script$as_nl$ac_script"
3767      done
3768      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3769      { ac_script=; unset ac_script;}
3770      if test -z "$SED"; then
3771   ac_path_SED_found=false
3772   # Loop through the user's path and test for each of PROGNAME-LIST
3773   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 for as_dir in $PATH
3775 do
3776   IFS=$as_save_IFS
3777   test -z "$as_dir" && as_dir=.
3778     for ac_prog in sed gsed; do
3779     for ac_exec_ext in '' $ac_executable_extensions; do
3780       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3781       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3782 # Check for GNU ac_path_SED and select it if it is found.
3783   # Check for GNU $ac_path_SED
3784 case `"$ac_path_SED" --version 2>&1` in
3785 *GNU*)
3786   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3787 *)
3788   ac_count=0
3789   $as_echo_n 0123456789 >"conftest.in"
3790   while :
3791   do
3792     cat "conftest.in" "conftest.in" >"conftest.tmp"
3793     mv "conftest.tmp" "conftest.in"
3794     cp "conftest.in" "conftest.nl"
3795     $as_echo '' >> "conftest.nl"
3796     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3797     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3798     as_fn_arith $ac_count + 1 && ac_count=$as_val
3799     if test $ac_count -gt ${ac_path_SED_max-0}; then
3800       # Best one so far, save it but keep looking for a better one
3801       ac_cv_path_SED="$ac_path_SED"
3802       ac_path_SED_max=$ac_count
3803     fi
3804     # 10*(2^10) chars as input seems more than enough
3805     test $ac_count -gt 10 && break
3806   done
3807   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3808 esac
3809
3810       $ac_path_SED_found && break 3
3811     done
3812   done
3813   done
3814 IFS=$as_save_IFS
3815   if test -z "$ac_cv_path_SED"; then
3816     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3817   fi
3818 else
3819   ac_cv_path_SED=$SED
3820 fi
3821
3822 fi
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3824 $as_echo "$ac_cv_path_SED" >&6; }
3825  SED="$ac_cv_path_SED"
3826   rm -f conftest.sed
3827
3828 test -z "$SED" && SED=sed
3829 Xsed="$SED -e 1s/^X//"
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3842 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3843 if ${ac_cv_path_GREP+:} false; then :
3844   $as_echo_n "(cached) " >&6
3845 else
3846   if test -z "$GREP"; then
3847   ac_path_GREP_found=false
3848   # Loop through the user's path and test for each of PROGNAME-LIST
3849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3851 do
3852   IFS=$as_save_IFS
3853   test -z "$as_dir" && as_dir=.
3854     for ac_prog in grep ggrep; do
3855     for ac_exec_ext in '' $ac_executable_extensions; do
3856       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3857       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3858 # Check for GNU ac_path_GREP and select it if it is found.
3859   # Check for GNU $ac_path_GREP
3860 case `"$ac_path_GREP" --version 2>&1` in
3861 *GNU*)
3862   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3863 *)
3864   ac_count=0
3865   $as_echo_n 0123456789 >"conftest.in"
3866   while :
3867   do
3868     cat "conftest.in" "conftest.in" >"conftest.tmp"
3869     mv "conftest.tmp" "conftest.in"
3870     cp "conftest.in" "conftest.nl"
3871     $as_echo 'GREP' >> "conftest.nl"
3872     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3873     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3874     as_fn_arith $ac_count + 1 && ac_count=$as_val
3875     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3876       # Best one so far, save it but keep looking for a better one
3877       ac_cv_path_GREP="$ac_path_GREP"
3878       ac_path_GREP_max=$ac_count
3879     fi
3880     # 10*(2^10) chars as input seems more than enough
3881     test $ac_count -gt 10 && break
3882   done
3883   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3884 esac
3885
3886       $ac_path_GREP_found && break 3
3887     done
3888   done
3889   done
3890 IFS=$as_save_IFS
3891   if test -z "$ac_cv_path_GREP"; then
3892     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3893   fi
3894 else
3895   ac_cv_path_GREP=$GREP
3896 fi
3897
3898 fi
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3900 $as_echo "$ac_cv_path_GREP" >&6; }
3901  GREP="$ac_cv_path_GREP"
3902
3903
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3905 $as_echo_n "checking for egrep... " >&6; }
3906 if ${ac_cv_path_EGREP+:} false; then :
3907   $as_echo_n "(cached) " >&6
3908 else
3909   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3910    then ac_cv_path_EGREP="$GREP -E"
3911    else
3912      if test -z "$EGREP"; then
3913   ac_path_EGREP_found=false
3914   # Loop through the user's path and test for each of PROGNAME-LIST
3915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3917 do
3918   IFS=$as_save_IFS
3919   test -z "$as_dir" && as_dir=.
3920     for ac_prog in egrep; do
3921     for ac_exec_ext in '' $ac_executable_extensions; do
3922       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3923       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3924 # Check for GNU ac_path_EGREP and select it if it is found.
3925   # Check for GNU $ac_path_EGREP
3926 case `"$ac_path_EGREP" --version 2>&1` in
3927 *GNU*)
3928   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3929 *)
3930   ac_count=0
3931   $as_echo_n 0123456789 >"conftest.in"
3932   while :
3933   do
3934     cat "conftest.in" "conftest.in" >"conftest.tmp"
3935     mv "conftest.tmp" "conftest.in"
3936     cp "conftest.in" "conftest.nl"
3937     $as_echo 'EGREP' >> "conftest.nl"
3938     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3939     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3940     as_fn_arith $ac_count + 1 && ac_count=$as_val
3941     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3942       # Best one so far, save it but keep looking for a better one
3943       ac_cv_path_EGREP="$ac_path_EGREP"
3944       ac_path_EGREP_max=$ac_count
3945     fi
3946     # 10*(2^10) chars as input seems more than enough
3947     test $ac_count -gt 10 && break
3948   done
3949   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3950 esac
3951
3952       $ac_path_EGREP_found && break 3
3953     done
3954   done
3955   done
3956 IFS=$as_save_IFS
3957   if test -z "$ac_cv_path_EGREP"; then
3958     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3959   fi
3960 else
3961   ac_cv_path_EGREP=$EGREP
3962 fi
3963
3964    fi
3965 fi
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3967 $as_echo "$ac_cv_path_EGREP" >&6; }
3968  EGREP="$ac_cv_path_EGREP"
3969
3970
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3972 $as_echo_n "checking for fgrep... " >&6; }
3973 if ${ac_cv_path_FGREP+:} false; then :
3974   $as_echo_n "(cached) " >&6
3975 else
3976   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3977    then ac_cv_path_FGREP="$GREP -F"
3978    else
3979      if test -z "$FGREP"; then
3980   ac_path_FGREP_found=false
3981   # Loop through the user's path and test for each of PROGNAME-LIST
3982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3984 do
3985   IFS=$as_save_IFS
3986   test -z "$as_dir" && as_dir=.
3987     for ac_prog in fgrep; do
3988     for ac_exec_ext in '' $ac_executable_extensions; do
3989       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3990       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3991 # Check for GNU ac_path_FGREP and select it if it is found.
3992   # Check for GNU $ac_path_FGREP
3993 case `"$ac_path_FGREP" --version 2>&1` in
3994 *GNU*)
3995   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3996 *)
3997   ac_count=0
3998   $as_echo_n 0123456789 >"conftest.in"
3999   while :
4000   do
4001     cat "conftest.in" "conftest.in" >"conftest.tmp"
4002     mv "conftest.tmp" "conftest.in"
4003     cp "conftest.in" "conftest.nl"
4004     $as_echo 'FGREP' >> "conftest.nl"
4005     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007     as_fn_arith $ac_count + 1 && ac_count=$as_val
4008     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4009       # Best one so far, save it but keep looking for a better one
4010       ac_cv_path_FGREP="$ac_path_FGREP"
4011       ac_path_FGREP_max=$ac_count
4012     fi
4013     # 10*(2^10) chars as input seems more than enough
4014     test $ac_count -gt 10 && break
4015   done
4016   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4017 esac
4018
4019       $ac_path_FGREP_found && break 3
4020     done
4021   done
4022   done
4023 IFS=$as_save_IFS
4024   if test -z "$ac_cv_path_FGREP"; then
4025     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4026   fi
4027 else
4028   ac_cv_path_FGREP=$FGREP
4029 fi
4030
4031    fi
4032 fi
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4034 $as_echo "$ac_cv_path_FGREP" >&6; }
4035  FGREP="$ac_cv_path_FGREP"
4036
4037
4038 test -z "$GREP" && GREP=grep
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058 # Check whether --with-gnu-ld was given.
4059 if test "${with_gnu_ld+set}" = set; then :
4060   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4061 else
4062   with_gnu_ld=no
4063 fi
4064
4065 ac_prog=ld
4066 if test "$GCC" = yes; then
4067   # Check if gcc -print-prog-name=ld gives a path.
4068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4069 $as_echo_n "checking for ld used by $CC... " >&6; }
4070   case $host in
4071   *-*-mingw*)
4072     # gcc leaves a trailing carriage return which upsets mingw
4073     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4074   *)
4075     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4076   esac
4077   case $ac_prog in
4078     # Accept absolute paths.
4079     [\\/]* | ?:[\\/]*)
4080       re_direlt='/[^/][^/]*/\.\./'
4081       # Canonicalize the pathname of ld
4082       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4083       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4084         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4085       done
4086       test -z "$LD" && LD="$ac_prog"
4087       ;;
4088   "")
4089     # If it fails, then pretend we aren't using GCC.
4090     ac_prog=ld
4091     ;;
4092   *)
4093     # If it is relative, then search for the first ld in PATH.
4094     with_gnu_ld=unknown
4095     ;;
4096   esac
4097 elif test "$with_gnu_ld" = yes; then
4098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4099 $as_echo_n "checking for GNU ld... " >&6; }
4100 else
4101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4102 $as_echo_n "checking for non-GNU ld... " >&6; }
4103 fi
4104 if ${lt_cv_path_LD+:} false; then :
4105   $as_echo_n "(cached) " >&6
4106 else
4107   if test -z "$LD"; then
4108   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4109   for ac_dir in $PATH; do
4110     IFS="$lt_save_ifs"
4111     test -z "$ac_dir" && ac_dir=.
4112     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4113       lt_cv_path_LD="$ac_dir/$ac_prog"
4114       # Check to see if the program is GNU ld.  I'd rather use --version,
4115       # but apparently some variants of GNU ld only accept -v.
4116       # Break only if it was the GNU/non-GNU ld that we prefer.
4117       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4118       *GNU* | *'with BFD'*)
4119         test "$with_gnu_ld" != no && break
4120         ;;
4121       *)
4122         test "$with_gnu_ld" != yes && break
4123         ;;
4124       esac
4125     fi
4126   done
4127   IFS="$lt_save_ifs"
4128 else
4129   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4130 fi
4131 fi
4132
4133 LD="$lt_cv_path_LD"
4134 if test -n "$LD"; then
4135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4136 $as_echo "$LD" >&6; }
4137 else
4138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4140 fi
4141 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4143 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4144 if ${lt_cv_prog_gnu_ld+:} false; then :
4145   $as_echo_n "(cached) " >&6
4146 else
4147   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4148 case `$LD -v 2>&1 </dev/null` in
4149 *GNU* | *'with BFD'*)
4150   lt_cv_prog_gnu_ld=yes
4151   ;;
4152 *)
4153   lt_cv_prog_gnu_ld=no
4154   ;;
4155 esac
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4158 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4159 with_gnu_ld=$lt_cv_prog_gnu_ld
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4170 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4171 if ${lt_cv_path_NM+:} false; then :
4172   $as_echo_n "(cached) " >&6
4173 else
4174   if test -n "$NM"; then
4175   # Let the user override the test.
4176   lt_cv_path_NM="$NM"
4177 else
4178   lt_nm_to_check="${ac_tool_prefix}nm"
4179   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4180     lt_nm_to_check="$lt_nm_to_check nm"
4181   fi
4182   for lt_tmp_nm in $lt_nm_to_check; do
4183     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4184     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4185       IFS="$lt_save_ifs"
4186       test -z "$ac_dir" && ac_dir=.
4187       tmp_nm="$ac_dir/$lt_tmp_nm"
4188       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4189         # Check to see if the nm accepts a BSD-compat flag.
4190         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4191         #   nm: unknown option "B" ignored
4192         # Tru64's nm complains that /dev/null is an invalid object file
4193         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4194         */dev/null* | *'Invalid file or object type'*)
4195           lt_cv_path_NM="$tmp_nm -B"
4196           break
4197           ;;
4198         *)
4199           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4200           */dev/null*)
4201             lt_cv_path_NM="$tmp_nm -p"
4202             break
4203             ;;
4204           *)
4205             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4206             continue # so that we can try to find one that supports BSD flags
4207             ;;
4208           esac
4209           ;;
4210         esac
4211       fi
4212     done
4213     IFS="$lt_save_ifs"
4214   done
4215   : ${lt_cv_path_NM=no}
4216 fi
4217 fi
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4219 $as_echo "$lt_cv_path_NM" >&6; }
4220 if test "$lt_cv_path_NM" != "no"; then
4221   NM="$lt_cv_path_NM"
4222 else
4223   # Didn't find any BSD compatible name lister, look for dumpbin.
4224   if test -n "$DUMPBIN"; then :
4225     # Let the user override the test.
4226   else
4227     if test -n "$ac_tool_prefix"; then
4228   for ac_prog in dumpbin "link -dump"
4229   do
4230     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if ${ac_cv_prog_DUMPBIN+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   if test -n "$DUMPBIN"; then
4238   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4242 do
4243   IFS=$as_save_IFS
4244   test -z "$as_dir" && as_dir=.
4245     for ac_exec_ext in '' $ac_executable_extensions; do
4246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4247     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249     break 2
4250   fi
4251 done
4252   done
4253 IFS=$as_save_IFS
4254
4255 fi
4256 fi
4257 DUMPBIN=$ac_cv_prog_DUMPBIN
4258 if test -n "$DUMPBIN"; then
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4260 $as_echo "$DUMPBIN" >&6; }
4261 else
4262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4264 fi
4265
4266
4267     test -n "$DUMPBIN" && break
4268   done
4269 fi
4270 if test -z "$DUMPBIN"; then
4271   ac_ct_DUMPBIN=$DUMPBIN
4272   for ac_prog in dumpbin "link -dump"
4273 do
4274   # Extract the first word of "$ac_prog", so it can be a program name with args.
4275 set dummy $ac_prog; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4279   $as_echo_n "(cached) " >&6
4280 else
4281   if test -n "$ac_ct_DUMPBIN"; then
4282   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4286 do
4287   IFS=$as_save_IFS
4288   test -z "$as_dir" && as_dir=.
4289     for ac_exec_ext in '' $ac_executable_extensions; do
4290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4291     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293     break 2
4294   fi
4295 done
4296   done
4297 IFS=$as_save_IFS
4298
4299 fi
4300 fi
4301 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4302 if test -n "$ac_ct_DUMPBIN"; then
4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4304 $as_echo "$ac_ct_DUMPBIN" >&6; }
4305 else
4306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4308 fi
4309
4310
4311   test -n "$ac_ct_DUMPBIN" && break
4312 done
4313
4314   if test "x$ac_ct_DUMPBIN" = x; then
4315     DUMPBIN=":"
4316   else
4317     case $cross_compiling:$ac_tool_warned in
4318 yes:)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321 ac_tool_warned=yes ;;
4322 esac
4323     DUMPBIN=$ac_ct_DUMPBIN
4324   fi
4325 fi
4326
4327     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4328     *COFF*)
4329       DUMPBIN="$DUMPBIN -symbols"
4330       ;;
4331     *)
4332       DUMPBIN=:
4333       ;;
4334     esac
4335   fi
4336
4337   if test "$DUMPBIN" != ":"; then
4338     NM="$DUMPBIN"
4339   fi
4340 fi
4341 test -z "$NM" && NM=nm
4342
4343
4344
4345
4346
4347
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4349 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4350 if ${lt_cv_nm_interface+:} false; then :
4351   $as_echo_n "(cached) " >&6
4352 else
4353   lt_cv_nm_interface="BSD nm"
4354   echo "int some_variable = 0;" > conftest.$ac_ext
4355   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4356   (eval "$ac_compile" 2>conftest.err)
4357   cat conftest.err >&5
4358   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4359   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4360   cat conftest.err >&5
4361   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4362   cat conftest.out >&5
4363   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4364     lt_cv_nm_interface="MS dumpbin"
4365   fi
4366   rm -f conftest*
4367 fi
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4369 $as_echo "$lt_cv_nm_interface" >&6; }
4370
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4372 $as_echo_n "checking whether ln -s works... " >&6; }
4373 LN_S=$as_ln_s
4374 if test "$LN_S" = "ln -s"; then
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4376 $as_echo "yes" >&6; }
4377 else
4378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4379 $as_echo "no, using $LN_S" >&6; }
4380 fi
4381
4382 # find the maximum length of command line arguments
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4384 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4385 if ${lt_cv_sys_max_cmd_len+:} false; then :
4386   $as_echo_n "(cached) " >&6
4387 else
4388     i=0
4389   teststring="ABCD"
4390
4391   case $build_os in
4392   msdosdjgpp*)
4393     # On DJGPP, this test can blow up pretty badly due to problems in libc
4394     # (any single argument exceeding 2000 bytes causes a buffer overrun
4395     # during glob expansion).  Even if it were fixed, the result of this
4396     # check would be larger than it should be.
4397     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4398     ;;
4399
4400   gnu*)
4401     # Under GNU Hurd, this test is not required because there is
4402     # no limit to the length of command line arguments.
4403     # Libtool will interpret -1 as no limit whatsoever
4404     lt_cv_sys_max_cmd_len=-1;
4405     ;;
4406
4407   cygwin* | mingw* | cegcc*)
4408     # On Win9x/ME, this test blows up -- it succeeds, but takes
4409     # about 5 minutes as the teststring grows exponentially.
4410     # Worse, since 9x/ME are not pre-emptively multitasking,
4411     # you end up with a "frozen" computer, even though with patience
4412     # the test eventually succeeds (with a max line length of 256k).
4413     # Instead, let's just punt: use the minimum linelength reported by
4414     # all of the supported platforms: 8192 (on NT/2K/XP).
4415     lt_cv_sys_max_cmd_len=8192;
4416     ;;
4417
4418   mint*)
4419     # On MiNT this can take a long time and run out of memory.
4420     lt_cv_sys_max_cmd_len=8192;
4421     ;;
4422
4423   amigaos*)
4424     # On AmigaOS with pdksh, this test takes hours, literally.
4425     # So we just punt and use a minimum line length of 8192.
4426     lt_cv_sys_max_cmd_len=8192;
4427     ;;
4428
4429   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4430     # This has been around since 386BSD, at least.  Likely further.
4431     if test -x /sbin/sysctl; then
4432       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4433     elif test -x /usr/sbin/sysctl; then
4434       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4435     else
4436       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4437     fi
4438     # And add a safety zone
4439     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4440     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4441     ;;
4442
4443   interix*)
4444     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4445     lt_cv_sys_max_cmd_len=196608
4446     ;;
4447
4448   os2*)
4449     # The test takes a long time on OS/2.
4450     lt_cv_sys_max_cmd_len=8192
4451     ;;
4452
4453   osf*)
4454     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4455     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4456     # nice to cause kernel panics so lets avoid the loop below.
4457     # First set a reasonable default.
4458     lt_cv_sys_max_cmd_len=16384
4459     #
4460     if test -x /sbin/sysconfig; then
4461       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4462         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4463       esac
4464     fi
4465     ;;
4466   sco3.2v5*)
4467     lt_cv_sys_max_cmd_len=102400
4468     ;;
4469   sysv5* | sco5v6* | sysv4.2uw2*)
4470     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4471     if test -n "$kargmax"; then
4472       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4473     else
4474       lt_cv_sys_max_cmd_len=32768
4475     fi
4476     ;;
4477   *)
4478     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4479     if test -n "$lt_cv_sys_max_cmd_len"; then
4480       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4481       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4482     else
4483       # Make teststring a little bigger before we do anything with it.
4484       # a 1K string should be a reasonable start.
4485       for i in 1 2 3 4 5 6 7 8 ; do
4486         teststring=$teststring$teststring
4487       done
4488       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4489       # If test is not a shell built-in, we'll probably end up computing a
4490       # maximum length that is only half of the actual maximum length, but
4491       # we can't tell.
4492       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4493                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4494               test $i != 17 # 1/2 MB should be enough
4495       do
4496         i=`expr $i + 1`
4497         teststring=$teststring$teststring
4498       done
4499       # Only check the string length outside the loop.
4500       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4501       teststring=
4502       # Add a significant safety factor because C++ compilers can tack on
4503       # massive amounts of additional arguments before passing them to the
4504       # linker.  It appears as though 1/2 is a usable value.
4505       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4506     fi
4507     ;;
4508   esac
4509
4510 fi
4511
4512 if test -n $lt_cv_sys_max_cmd_len ; then
4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4514 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4515 else
4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4517 $as_echo "none" >&6; }
4518 fi
4519 max_cmd_len=$lt_cv_sys_max_cmd_len
4520
4521
4522
4523
4524
4525
4526 : ${CP="cp -f"}
4527 : ${MV="mv -f"}
4528 : ${RM="rm -f"}
4529
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4531 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4532 # Try some XSI features
4533 xsi_shell=no
4534 ( _lt_dummy="a/b/c"
4535   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4536       = c,a/b,b/c, \
4537     && eval 'test $(( 1 + 1 )) -eq 2 \
4538     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4539   && xsi_shell=yes
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4541 $as_echo "$xsi_shell" >&6; }
4542
4543
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4545 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4546 lt_shell_append=no
4547 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4548     >/dev/null 2>&1 \
4549   && lt_shell_append=yes
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4551 $as_echo "$lt_shell_append" >&6; }
4552
4553
4554 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4555   lt_unset=unset
4556 else
4557   lt_unset=false
4558 fi
4559
4560
4561
4562
4563
4564 # test EBCDIC or ASCII
4565 case `echo X|tr X '\101'` in
4566  A) # ASCII based system
4567     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4568   lt_SP2NL='tr \040 \012'
4569   lt_NL2SP='tr \015\012 \040\040'
4570   ;;
4571  *) # EBCDIC based system
4572   lt_SP2NL='tr \100 \n'
4573   lt_NL2SP='tr \r\n \100\100'
4574   ;;
4575 esac
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4586 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4587 if ${lt_cv_to_host_file_cmd+:} false; then :
4588   $as_echo_n "(cached) " >&6
4589 else
4590   case $host in
4591   *-*-mingw* )
4592     case $build in
4593       *-*-mingw* ) # actually msys
4594         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4595         ;;
4596       *-*-cygwin* )
4597         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4598         ;;
4599       * ) # otherwise, assume *nix
4600         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4601         ;;
4602     esac
4603     ;;
4604   *-*-cygwin* )
4605     case $build in
4606       *-*-mingw* ) # actually msys
4607         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4608         ;;
4609       *-*-cygwin* )
4610         lt_cv_to_host_file_cmd=func_convert_file_noop
4611         ;;
4612       * ) # otherwise, assume *nix
4613         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4614         ;;
4615     esac
4616     ;;
4617   * ) # unhandled hosts (and "normal" native builds)
4618     lt_cv_to_host_file_cmd=func_convert_file_noop
4619     ;;
4620 esac
4621
4622 fi
4623
4624 to_host_file_cmd=$lt_cv_to_host_file_cmd
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4626 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4627
4628
4629
4630
4631
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4633 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4634 if ${lt_cv_to_tool_file_cmd+:} false; then :
4635   $as_echo_n "(cached) " >&6
4636 else
4637   #assume ordinary cross tools, or native build.
4638 lt_cv_to_tool_file_cmd=func_convert_file_noop
4639 case $host in
4640   *-*-mingw* )
4641     case $build in
4642       *-*-mingw* ) # actually msys
4643         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4644         ;;
4645     esac
4646     ;;
4647 esac
4648
4649 fi
4650
4651 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4653 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4654
4655
4656
4657
4658
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4660 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4661 if ${lt_cv_ld_reload_flag+:} false; then :
4662   $as_echo_n "(cached) " >&6
4663 else
4664   lt_cv_ld_reload_flag='-r'
4665 fi
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4667 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4668 reload_flag=$lt_cv_ld_reload_flag
4669 case $reload_flag in
4670 "" | " "*) ;;
4671 *) reload_flag=" $reload_flag" ;;
4672 esac
4673 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4674 case $host_os in
4675   cygwin* | mingw* | pw32* | cegcc*)
4676     if test "$GCC" != yes; then
4677       reload_cmds=false
4678     fi
4679     ;;
4680   darwin*)
4681     if test "$GCC" = yes; then
4682       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4683     else
4684       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4685     fi
4686     ;;
4687 esac
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697 if test -n "$ac_tool_prefix"; then
4698   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4699 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4701 $as_echo_n "checking for $ac_word... " >&6; }
4702 if ${ac_cv_prog_OBJDUMP+:} false; then :
4703   $as_echo_n "(cached) " >&6
4704 else
4705   if test -n "$OBJDUMP"; then
4706   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4707 else
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 for as_dir in $PATH
4710 do
4711   IFS=$as_save_IFS
4712   test -z "$as_dir" && as_dir=.
4713     for ac_exec_ext in '' $ac_executable_extensions; do
4714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4715     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717     break 2
4718   fi
4719 done
4720   done
4721 IFS=$as_save_IFS
4722
4723 fi
4724 fi
4725 OBJDUMP=$ac_cv_prog_OBJDUMP
4726 if test -n "$OBJDUMP"; then
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4728 $as_echo "$OBJDUMP" >&6; }
4729 else
4730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4731 $as_echo "no" >&6; }
4732 fi
4733
4734
4735 fi
4736 if test -z "$ac_cv_prog_OBJDUMP"; then
4737   ac_ct_OBJDUMP=$OBJDUMP
4738   # Extract the first word of "objdump", so it can be a program name with args.
4739 set dummy objdump; ac_word=$2
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741 $as_echo_n "checking for $ac_word... " >&6; }
4742 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4743   $as_echo_n "(cached) " >&6
4744 else
4745   if test -n "$ac_ct_OBJDUMP"; then
4746   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4747 else
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 for as_dir in $PATH
4750 do
4751   IFS=$as_save_IFS
4752   test -z "$as_dir" && as_dir=.
4753     for ac_exec_ext in '' $ac_executable_extensions; do
4754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757     break 2
4758   fi
4759 done
4760   done
4761 IFS=$as_save_IFS
4762
4763 fi
4764 fi
4765 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4766 if test -n "$ac_ct_OBJDUMP"; then
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4768 $as_echo "$ac_ct_OBJDUMP" >&6; }
4769 else
4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771 $as_echo "no" >&6; }
4772 fi
4773
4774   if test "x$ac_ct_OBJDUMP" = x; then
4775     OBJDUMP="false"
4776   else
4777     case $cross_compiling:$ac_tool_warned in
4778 yes:)
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781 ac_tool_warned=yes ;;
4782 esac
4783     OBJDUMP=$ac_ct_OBJDUMP
4784   fi
4785 else
4786   OBJDUMP="$ac_cv_prog_OBJDUMP"
4787 fi
4788
4789 test -z "$OBJDUMP" && OBJDUMP=objdump
4790
4791
4792
4793
4794
4795
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4797 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4798 if ${lt_cv_deplibs_check_method+:} false; then :
4799   $as_echo_n "(cached) " >&6
4800 else
4801   lt_cv_file_magic_cmd='$MAGIC_CMD'
4802 lt_cv_file_magic_test_file=
4803 lt_cv_deplibs_check_method='unknown'
4804 # Need to set the preceding variable on all platforms that support
4805 # interlibrary dependencies.
4806 # 'none' -- dependencies not supported.
4807 # `unknown' -- same as none, but documents that we really don't know.
4808 # 'pass_all' -- all dependencies passed with no checks.
4809 # 'test_compile' -- check by making test program.
4810 # 'file_magic [[regex]]' -- check by looking for files in library path
4811 # which responds to the $file_magic_cmd with a given extended regex.
4812 # If you have `file' or equivalent on your system and you're not sure
4813 # whether `pass_all' will *always* work, you probably want this one.
4814
4815 case $host_os in
4816 aix[4-9]*)
4817   lt_cv_deplibs_check_method=pass_all
4818   ;;
4819
4820 beos*)
4821   lt_cv_deplibs_check_method=pass_all
4822   ;;
4823
4824 bsdi[45]*)
4825   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4826   lt_cv_file_magic_cmd='/usr/bin/file -L'
4827   lt_cv_file_magic_test_file=/shlib/libc.so
4828   ;;
4829
4830 cygwin*)
4831   # func_win32_libid is a shell function defined in ltmain.sh
4832   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4833   lt_cv_file_magic_cmd='func_win32_libid'
4834   ;;
4835
4836 mingw* | pw32*)
4837   # Base MSYS/MinGW do not provide the 'file' command needed by
4838   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4839   # unless we find 'file', for example because we are cross-compiling.
4840   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4841   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4842     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4843     lt_cv_file_magic_cmd='func_win32_libid'
4844   else
4845     # Keep this pattern in sync with the one in func_win32_libid.
4846     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4847     lt_cv_file_magic_cmd='$OBJDUMP -f'
4848   fi
4849   ;;
4850
4851 cegcc*)
4852   # use the weaker test based on 'objdump'. See mingw*.
4853   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4854   lt_cv_file_magic_cmd='$OBJDUMP -f'
4855   ;;
4856
4857 darwin* | rhapsody*)
4858   lt_cv_deplibs_check_method=pass_all
4859   ;;
4860
4861 freebsd* | dragonfly*)
4862   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4863     case $host_cpu in
4864     i*86 )
4865       # Not sure whether the presence of OpenBSD here was a mistake.
4866       # Let's accept both of them until this is cleared up.
4867       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4868       lt_cv_file_magic_cmd=/usr/bin/file
4869       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4870       ;;
4871     esac
4872   else
4873     lt_cv_deplibs_check_method=pass_all
4874   fi
4875   ;;
4876
4877 gnu*)
4878   lt_cv_deplibs_check_method=pass_all
4879   ;;
4880
4881 haiku*)
4882   lt_cv_deplibs_check_method=pass_all
4883   ;;
4884
4885 hpux10.20* | hpux11*)
4886   lt_cv_file_magic_cmd=/usr/bin/file
4887   case $host_cpu in
4888   ia64*)
4889     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4890     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4891     ;;
4892   hppa*64*)
4893     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4894     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4895     ;;
4896   *)
4897     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4898     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4899     ;;
4900   esac
4901   ;;
4902
4903 interix[3-9]*)
4904   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4905   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4906   ;;
4907
4908 irix5* | irix6* | nonstopux*)
4909   case $LD in
4910   *-32|*"-32 ") libmagic=32-bit;;
4911   *-n32|*"-n32 ") libmagic=N32;;
4912   *-64|*"-64 ") libmagic=64-bit;;
4913   *) libmagic=never-match;;
4914   esac
4915   lt_cv_deplibs_check_method=pass_all
4916   ;;
4917
4918 # This must be glibc/ELF.
4919 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4920   lt_cv_deplibs_check_method=pass_all
4921   ;;
4922
4923 netbsd*)
4924   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4925     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4926   else
4927     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4928   fi
4929   ;;
4930
4931 newos6*)
4932   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4933   lt_cv_file_magic_cmd=/usr/bin/file
4934   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4935   ;;
4936
4937 *nto* | *qnx*)
4938   lt_cv_deplibs_check_method=pass_all
4939   ;;
4940
4941 openbsd*)
4942   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4943     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4944   else
4945     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4946   fi
4947   ;;
4948
4949 osf3* | osf4* | osf5*)
4950   lt_cv_deplibs_check_method=pass_all
4951   ;;
4952
4953 rdos*)
4954   lt_cv_deplibs_check_method=pass_all
4955   ;;
4956
4957 solaris*)
4958   lt_cv_deplibs_check_method=pass_all
4959   ;;
4960
4961 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4962   lt_cv_deplibs_check_method=pass_all
4963   ;;
4964
4965 sysv4 | sysv4.3*)
4966   case $host_vendor in
4967   motorola)
4968     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]'
4969     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4970     ;;
4971   ncr)
4972     lt_cv_deplibs_check_method=pass_all
4973     ;;
4974   sequent)
4975     lt_cv_file_magic_cmd='/bin/file'
4976     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4977     ;;
4978   sni)
4979     lt_cv_file_magic_cmd='/bin/file'
4980     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4981     lt_cv_file_magic_test_file=/lib/libc.so
4982     ;;
4983   siemens)
4984     lt_cv_deplibs_check_method=pass_all
4985     ;;
4986   pc)
4987     lt_cv_deplibs_check_method=pass_all
4988     ;;
4989   esac
4990   ;;
4991
4992 tpf*)
4993   lt_cv_deplibs_check_method=pass_all
4994   ;;
4995 esac
4996
4997 fi
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4999 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5000
5001 file_magic_glob=
5002 want_nocaseglob=no
5003 if test "$build" = "$host"; then
5004   case $host_os in
5005   mingw* | pw32*)
5006     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5007       want_nocaseglob=yes
5008     else
5009       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5010     fi
5011     ;;
5012   esac
5013 fi
5014
5015 file_magic_cmd=$lt_cv_file_magic_cmd
5016 deplibs_check_method=$lt_cv_deplibs_check_method
5017 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040 if test -n "$ac_tool_prefix"; then
5041   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_DLLTOOL+:} false; then :
5046   $as_echo_n "(cached) " >&6
5047 else
5048   if test -n "$DLLTOOL"; then
5049   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5053 do
5054   IFS=$as_save_IFS
5055   test -z "$as_dir" && as_dir=.
5056     for ac_exec_ext in '' $ac_executable_extensions; do
5057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060     break 2
5061   fi
5062 done
5063   done
5064 IFS=$as_save_IFS
5065
5066 fi
5067 fi
5068 DLLTOOL=$ac_cv_prog_DLLTOOL
5069 if test -n "$DLLTOOL"; then
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5071 $as_echo "$DLLTOOL" >&6; }
5072 else
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 fi
5076
5077
5078 fi
5079 if test -z "$ac_cv_prog_DLLTOOL"; then
5080   ac_ct_DLLTOOL=$DLLTOOL
5081   # Extract the first word of "dlltool", so it can be a program name with args.
5082 set dummy dlltool; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -n "$ac_ct_DLLTOOL"; then
5089   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_exec_ext in '' $ac_executable_extensions; do
5097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done
5104 IFS=$as_save_IFS
5105
5106 fi
5107 fi
5108 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5109 if test -n "$ac_ct_DLLTOOL"; then
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5111 $as_echo "$ac_ct_DLLTOOL" >&6; }
5112 else
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 fi
5116
5117   if test "x$ac_ct_DLLTOOL" = x; then
5118     DLLTOOL="false"
5119   else
5120     case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126     DLLTOOL=$ac_ct_DLLTOOL
5127   fi
5128 else
5129   DLLTOOL="$ac_cv_prog_DLLTOOL"
5130 fi
5131
5132 test -z "$DLLTOOL" && DLLTOOL=dlltool
5133
5134
5135
5136
5137
5138
5139
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5141 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5142 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5143   $as_echo_n "(cached) " >&6
5144 else
5145   lt_cv_sharedlib_from_linklib_cmd='unknown'
5146
5147 case $host_os in
5148 cygwin* | mingw* | pw32* | cegcc*)
5149   # two different shell functions defined in ltmain.sh
5150   # decide which to use based on capabilities of $DLLTOOL
5151   case `$DLLTOOL --help 2>&1` in
5152   *--identify-strict*)
5153     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5154     ;;
5155   *)
5156     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5157     ;;
5158   esac
5159   ;;
5160 *)
5161   # fallback: assume linklib IS sharedlib
5162   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5163   ;;
5164 esac
5165
5166 fi
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5168 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5169 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5170 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5171
5172
5173
5174
5175
5176
5177
5178
5179 if test -n "$ac_tool_prefix"; then
5180   for ac_prog in ar
5181   do
5182     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_AR+:} false; then :
5187   $as_echo_n "(cached) " >&6
5188 else
5189   if test -n "$AR"; then
5190   ac_cv_prog_AR="$AR" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5194 do
5195   IFS=$as_save_IFS
5196   test -z "$as_dir" && as_dir=.
5197     for ac_exec_ext in '' $ac_executable_extensions; do
5198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201     break 2
5202   fi
5203 done
5204   done
5205 IFS=$as_save_IFS
5206
5207 fi
5208 fi
5209 AR=$ac_cv_prog_AR
5210 if test -n "$AR"; then
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5212 $as_echo "$AR" >&6; }
5213 else
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5216 fi
5217
5218
5219     test -n "$AR" && break
5220   done
5221 fi
5222 if test -z "$AR"; then
5223   ac_ct_AR=$AR
5224   for ac_prog in ar
5225 do
5226   # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy $ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5231   $as_echo_n "(cached) " >&6
5232 else
5233   if test -n "$ac_ct_AR"; then
5234   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5238 do
5239   IFS=$as_save_IFS
5240   test -z "$as_dir" && as_dir=.
5241     for ac_exec_ext in '' $ac_executable_extensions; do
5242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243     ac_cv_prog_ac_ct_AR="$ac_prog"
5244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245     break 2
5246   fi
5247 done
5248   done
5249 IFS=$as_save_IFS
5250
5251 fi
5252 fi
5253 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5254 if test -n "$ac_ct_AR"; then
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5256 $as_echo "$ac_ct_AR" >&6; }
5257 else
5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 fi
5261
5262
5263   test -n "$ac_ct_AR" && break
5264 done
5265
5266   if test "x$ac_ct_AR" = x; then
5267     AR="false"
5268   else
5269     case $cross_compiling:$ac_tool_warned in
5270 yes:)
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned=yes ;;
5274 esac
5275     AR=$ac_ct_AR
5276   fi
5277 fi
5278
5279 : ${AR=ar}
5280 : ${AR_FLAGS=cru}
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5293 $as_echo_n "checking for archiver @FILE support... " >&6; }
5294 if ${lt_cv_ar_at_file+:} false; then :
5295   $as_echo_n "(cached) " >&6
5296 else
5297   lt_cv_ar_at_file=no
5298    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h.  */
5300
5301 int
5302 main ()
5303 {
5304
5305   ;
5306   return 0;
5307 }
5308 _ACEOF
5309 if ac_fn_c_try_compile "$LINENO"; then :
5310   echo conftest.$ac_objext > conftest.lst
5311       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5312       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5313   (eval $lt_ar_try) 2>&5
5314   ac_status=$?
5315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5316   test $ac_status = 0; }
5317       if test "$ac_status" -eq 0; then
5318         # Ensure the archiver fails upon bogus file names.
5319         rm -f conftest.$ac_objext libconftest.a
5320         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5321   (eval $lt_ar_try) 2>&5
5322   ac_status=$?
5323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324   test $ac_status = 0; }
5325         if test "$ac_status" -ne 0; then
5326           lt_cv_ar_at_file=@
5327         fi
5328       fi
5329       rm -f conftest.* libconftest.a
5330
5331 fi
5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333
5334 fi
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5336 $as_echo "$lt_cv_ar_at_file" >&6; }
5337
5338 if test "x$lt_cv_ar_at_file" = xno; then
5339   archiver_list_spec=
5340 else
5341   archiver_list_spec=$lt_cv_ar_at_file
5342 fi
5343
5344
5345
5346
5347
5348
5349
5350 if test -n "$ac_tool_prefix"; then
5351   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5352 set dummy ${ac_tool_prefix}strip; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_STRIP+:} false; then :
5356   $as_echo_n "(cached) " >&6
5357 else
5358   if test -n "$STRIP"; then
5359   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5363 do
5364   IFS=$as_save_IFS
5365   test -z "$as_dir" && as_dir=.
5366     for ac_exec_ext in '' $ac_executable_extensions; do
5367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370     break 2
5371   fi
5372 done
5373   done
5374 IFS=$as_save_IFS
5375
5376 fi
5377 fi
5378 STRIP=$ac_cv_prog_STRIP
5379 if test -n "$STRIP"; then
5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5381 $as_echo "$STRIP" >&6; }
5382 else
5383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5385 fi
5386
5387
5388 fi
5389 if test -z "$ac_cv_prog_STRIP"; then
5390   ac_ct_STRIP=$STRIP
5391   # Extract the first word of "strip", so it can be a program name with args.
5392 set dummy strip; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5396   $as_echo_n "(cached) " >&6
5397 else
5398   if test -n "$ac_ct_STRIP"; then
5399   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5403 do
5404   IFS=$as_save_IFS
5405   test -z "$as_dir" && as_dir=.
5406     for ac_exec_ext in '' $ac_executable_extensions; do
5407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408     ac_cv_prog_ac_ct_STRIP="strip"
5409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410     break 2
5411   fi
5412 done
5413   done
5414 IFS=$as_save_IFS
5415
5416 fi
5417 fi
5418 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5419 if test -n "$ac_ct_STRIP"; then
5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5421 $as_echo "$ac_ct_STRIP" >&6; }
5422 else
5423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5425 fi
5426
5427   if test "x$ac_ct_STRIP" = x; then
5428     STRIP=":"
5429   else
5430     case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5434 ac_tool_warned=yes ;;
5435 esac
5436     STRIP=$ac_ct_STRIP
5437   fi
5438 else
5439   STRIP="$ac_cv_prog_STRIP"
5440 fi
5441
5442 test -z "$STRIP" && STRIP=:
5443
5444
5445
5446
5447
5448
5449 if test -n "$ac_tool_prefix"; then
5450   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_RANLIB+:} false; then :
5455   $as_echo_n "(cached) " >&6
5456 else
5457   if test -n "$RANLIB"; then
5458   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5462 do
5463   IFS=$as_save_IFS
5464   test -z "$as_dir" && as_dir=.
5465     for ac_exec_ext in '' $ac_executable_extensions; do
5466   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5467     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469     break 2
5470   fi
5471 done
5472   done
5473 IFS=$as_save_IFS
5474
5475 fi
5476 fi
5477 RANLIB=$ac_cv_prog_RANLIB
5478 if test -n "$RANLIB"; then
5479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5480 $as_echo "$RANLIB" >&6; }
5481 else
5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5484 fi
5485
5486
5487 fi
5488 if test -z "$ac_cv_prog_RANLIB"; then
5489   ac_ct_RANLIB=$RANLIB
5490   # Extract the first word of "ranlib", so it can be a program name with args.
5491 set dummy ranlib; ac_word=$2
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5493 $as_echo_n "checking for $ac_word... " >&6; }
5494 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5495   $as_echo_n "(cached) " >&6
5496 else
5497   if test -n "$ac_ct_RANLIB"; then
5498   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5502 do
5503   IFS=$as_save_IFS
5504   test -z "$as_dir" && as_dir=.
5505     for ac_exec_ext in '' $ac_executable_extensions; do
5506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507     ac_cv_prog_ac_ct_RANLIB="ranlib"
5508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5509     break 2
5510   fi
5511 done
5512   done
5513 IFS=$as_save_IFS
5514
5515 fi
5516 fi
5517 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5518 if test -n "$ac_ct_RANLIB"; then
5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5520 $as_echo "$ac_ct_RANLIB" >&6; }
5521 else
5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5524 fi
5525
5526   if test "x$ac_ct_RANLIB" = x; then
5527     RANLIB=":"
5528   else
5529     case $cross_compiling:$ac_tool_warned in
5530 yes:)
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5533 ac_tool_warned=yes ;;
5534 esac
5535     RANLIB=$ac_ct_RANLIB
5536   fi
5537 else
5538   RANLIB="$ac_cv_prog_RANLIB"
5539 fi
5540
5541 test -z "$RANLIB" && RANLIB=:
5542
5543
5544
5545
5546
5547
5548 # Determine commands to create old-style static archives.
5549 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5550 old_postinstall_cmds='chmod 644 $oldlib'
5551 old_postuninstall_cmds=
5552
5553 if test -n "$RANLIB"; then
5554   case $host_os in
5555   openbsd*)
5556     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5557     ;;
5558   *)
5559     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5560     ;;
5561   esac
5562   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5563 fi
5564
5565 case $host_os in
5566   darwin*)
5567     lock_old_archive_extraction=yes ;;
5568   *)
5569     lock_old_archive_extraction=no ;;
5570 esac
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610 # If no C compiler was specified, use CC.
5611 LTCC=${LTCC-"$CC"}
5612
5613 # If no C compiler flags were specified, use CFLAGS.
5614 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5615
5616 # Allow CC to be a program name with arguments.
5617 compiler=$CC
5618
5619
5620 # Check for command to grab the raw symbol name followed by C symbol from nm.
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5622 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5623 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5624   $as_echo_n "(cached) " >&6
5625 else
5626
5627 # These are sane defaults that work on at least a few old systems.
5628 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5629
5630 # Character class describing NM global symbol codes.
5631 symcode='[BCDEGRST]'
5632
5633 # Regexp to match symbols that can be accessed directly from C.
5634 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5635
5636 # Define system-specific variables.
5637 case $host_os in
5638 aix*)
5639   symcode='[BCDT]'
5640   ;;
5641 cygwin* | mingw* | pw32* | cegcc*)
5642   symcode='[ABCDGISTW]'
5643   ;;
5644 hpux*)
5645   if test "$host_cpu" = ia64; then
5646     symcode='[ABCDEGRST]'
5647   fi
5648   ;;
5649 irix* | nonstopux*)
5650   symcode='[BCDEGRST]'
5651   ;;
5652 osf*)
5653   symcode='[BCDEGQRST]'
5654   ;;
5655 solaris*)
5656   symcode='[BDRT]'
5657   ;;
5658 sco3.2v5*)
5659   symcode='[DT]'
5660   ;;
5661 sysv4.2uw2*)
5662   symcode='[DT]'
5663   ;;
5664 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5665   symcode='[ABDT]'
5666   ;;
5667 sysv4)
5668   symcode='[DFNSTU]'
5669   ;;
5670 esac
5671
5672 # If we're using GNU nm, then use its standard symbol codes.
5673 case `$NM -V 2>&1` in
5674 *GNU* | *'with BFD'*)
5675   symcode='[ABCDGIRSTW]' ;;
5676 esac
5677
5678 # Transform an extracted symbol line into a proper C declaration.
5679 # Some systems (esp. on ia64) link data and code symbols differently,
5680 # so use this general approach.
5681 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5682
5683 # Transform an extracted symbol line into symbol name and symbol address
5684 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5685 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5686
5687 # Handle CRLF in mingw tool chain
5688 opt_cr=
5689 case $build_os in
5690 mingw*)
5691   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5692   ;;
5693 esac
5694
5695 # Try without a prefix underscore, then with it.
5696 for ac_symprfx in "" "_"; do
5697
5698   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5699   symxfrm="\\1 $ac_symprfx\\2 \\2"
5700
5701   # Write the raw and C identifiers.
5702   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5703     # Fake it for dumpbin and say T for any non-static function
5704     # and D for any global variable.
5705     # Also find C++ and __fastcall symbols from MSVC++,
5706     # which start with @ or ?.
5707     lt_cv_sys_global_symbol_pipe="$AWK '"\
5708 "     {last_section=section; section=\$ 3};"\
5709 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5710 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5711 "     \$ 0!~/External *\|/{next};"\
5712 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5713 "     {if(hide[section]) next};"\
5714 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5715 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5716 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5717 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5718 "     ' prfx=^$ac_symprfx"
5719   else
5720     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5721   fi
5722   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5723
5724   # Check to see that the pipe works correctly.
5725   pipe_works=no
5726
5727   rm -f conftest*
5728   cat > conftest.$ac_ext <<_LT_EOF
5729 #ifdef __cplusplus
5730 extern "C" {
5731 #endif
5732 char nm_test_var;
5733 void nm_test_func(void);
5734 void nm_test_func(void){}
5735 #ifdef __cplusplus
5736 }
5737 #endif
5738 int main(){nm_test_var='a';nm_test_func();return(0);}
5739 _LT_EOF
5740
5741   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5742   (eval $ac_compile) 2>&5
5743   ac_status=$?
5744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5745   test $ac_status = 0; }; then
5746     # Now try to grab the symbols.
5747     nlist=conftest.nm
5748     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5749   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5750   ac_status=$?
5751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5752   test $ac_status = 0; } && test -s "$nlist"; then
5753       # Try sorting and uniquifying the output.
5754       if sort "$nlist" | uniq > "$nlist"T; then
5755         mv -f "$nlist"T "$nlist"
5756       else
5757         rm -f "$nlist"T
5758       fi
5759
5760       # Make sure that we snagged all the symbols we need.
5761       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5762         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5763           cat <<_LT_EOF > conftest.$ac_ext
5764 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5765 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5766 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5767    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5768 # define LT_DLSYM_CONST
5769 #elif defined(__osf__)
5770 /* This system does not cope well with relocations in const data.  */
5771 # define LT_DLSYM_CONST
5772 #else
5773 # define LT_DLSYM_CONST const
5774 #endif
5775
5776 #ifdef __cplusplus
5777 extern "C" {
5778 #endif
5779
5780 _LT_EOF
5781           # Now generate the symbol file.
5782           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5783
5784           cat <<_LT_EOF >> conftest.$ac_ext
5785
5786 /* The mapping between symbol names and symbols.  */
5787 LT_DLSYM_CONST struct {
5788   const char *name;
5789   void       *address;
5790 }
5791 lt__PROGRAM__LTX_preloaded_symbols[] =
5792 {
5793   { "@PROGRAM@", (void *) 0 },
5794 _LT_EOF
5795           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5796           cat <<\_LT_EOF >> conftest.$ac_ext
5797   {0, (void *) 0}
5798 };
5799
5800 /* This works around a problem in FreeBSD linker */
5801 #ifdef FREEBSD_WORKAROUND
5802 static const void *lt_preloaded_setup() {
5803   return lt__PROGRAM__LTX_preloaded_symbols;
5804 }
5805 #endif
5806
5807 #ifdef __cplusplus
5808 }
5809 #endif
5810 _LT_EOF
5811           # Now try linking the two files.
5812           mv conftest.$ac_objext conftstm.$ac_objext
5813           lt_globsym_save_LIBS=$LIBS
5814           lt_globsym_save_CFLAGS=$CFLAGS
5815           LIBS="conftstm.$ac_objext"
5816           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5817           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5818   (eval $ac_link) 2>&5
5819   ac_status=$?
5820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5821   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5822             pipe_works=yes
5823           fi
5824           LIBS=$lt_globsym_save_LIBS
5825           CFLAGS=$lt_globsym_save_CFLAGS
5826         else
5827           echo "cannot find nm_test_func in $nlist" >&5
5828         fi
5829       else
5830         echo "cannot find nm_test_var in $nlist" >&5
5831       fi
5832     else
5833       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5834     fi
5835   else
5836     echo "$progname: failed program was:" >&5
5837     cat conftest.$ac_ext >&5
5838   fi
5839   rm -rf conftest* conftst*
5840
5841   # Do not use the global_symbol_pipe unless it works.
5842   if test "$pipe_works" = yes; then
5843     break
5844   else
5845     lt_cv_sys_global_symbol_pipe=
5846   fi
5847 done
5848
5849 fi
5850
5851 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5852   lt_cv_sys_global_symbol_to_cdecl=
5853 fi
5854 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5856 $as_echo "failed" >&6; }
5857 else
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5859 $as_echo "ok" >&6; }
5860 fi
5861
5862 # Response file support.
5863 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5864   nm_file_list_spec='@'
5865 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5866   nm_file_list_spec='@'
5867 fi
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5896 $as_echo_n "checking for sysroot... " >&6; }
5897
5898 # Check whether --with-sysroot was given.
5899 if test "${with_sysroot+set}" = set; then :
5900   withval=$with_sysroot;
5901 else
5902   with_sysroot=no
5903 fi
5904
5905
5906 lt_sysroot=
5907 case ${with_sysroot} in #(
5908  yes)
5909    if test "$GCC" = yes; then
5910      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5911    fi
5912    ;; #(
5913  /*)
5914    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5915    ;; #(
5916  no|'')
5917    ;; #(
5918  *)
5919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5920 $as_echo "${with_sysroot}" >&6; }
5921    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5922    ;;
5923 esac
5924
5925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5926 $as_echo "${lt_sysroot:-no}" >&6; }
5927
5928
5929
5930
5931
5932 # Check whether --enable-libtool-lock was given.
5933 if test "${enable_libtool_lock+set}" = set; then :
5934   enableval=$enable_libtool_lock;
5935 fi
5936
5937 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5938
5939 # Some flags need to be propagated to the compiler or linker for good
5940 # libtool support.
5941 case $host in
5942 ia64-*-hpux*)
5943   # Find out which ABI we are using.
5944   echo 'int i;' > conftest.$ac_ext
5945   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5946   (eval $ac_compile) 2>&5
5947   ac_status=$?
5948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5949   test $ac_status = 0; }; then
5950     case `/usr/bin/file conftest.$ac_objext` in
5951       *ELF-32*)
5952         HPUX_IA64_MODE="32"
5953         ;;
5954       *ELF-64*)
5955         HPUX_IA64_MODE="64"
5956         ;;
5957     esac
5958   fi
5959   rm -rf conftest*
5960   ;;
5961 *-*-irix6*)
5962   # Find out which ABI we are using.
5963   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5964   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5965   (eval $ac_compile) 2>&5
5966   ac_status=$?
5967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5968   test $ac_status = 0; }; then
5969     if test "$lt_cv_prog_gnu_ld" = yes; then
5970       case `/usr/bin/file conftest.$ac_objext` in
5971         *32-bit*)
5972           LD="${LD-ld} -melf32bsmip"
5973           ;;
5974         *N32*)
5975           LD="${LD-ld} -melf32bmipn32"
5976           ;;
5977         *64-bit*)
5978           LD="${LD-ld} -melf64bmip"
5979         ;;
5980       esac
5981     else
5982       case `/usr/bin/file conftest.$ac_objext` in
5983         *32-bit*)
5984           LD="${LD-ld} -32"
5985           ;;
5986         *N32*)
5987           LD="${LD-ld} -n32"
5988           ;;
5989         *64-bit*)
5990           LD="${LD-ld} -64"
5991           ;;
5992       esac
5993     fi
5994   fi
5995   rm -rf conftest*
5996   ;;
5997
5998 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5999 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6000   # Find out which ABI we are using.
6001   echo 'int i;' > conftest.$ac_ext
6002   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6003   (eval $ac_compile) 2>&5
6004   ac_status=$?
6005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6006   test $ac_status = 0; }; then
6007     case `/usr/bin/file conftest.o` in
6008       *32-bit*)
6009         case $host in
6010           x86_64-*kfreebsd*-gnu)
6011             LD="${LD-ld} -m elf_i386_fbsd"
6012             ;;
6013           x86_64-*linux*)
6014             LD="${LD-ld} -m elf_i386"
6015             ;;
6016           ppc64-*linux*|powerpc64-*linux*)
6017             LD="${LD-ld} -m elf32ppclinux"
6018             ;;
6019           s390x-*linux*)
6020             LD="${LD-ld} -m elf_s390"
6021             ;;
6022           sparc64-*linux*)
6023             LD="${LD-ld} -m elf32_sparc"
6024             ;;
6025         esac
6026         ;;
6027       *64-bit*)
6028         case $host in
6029           x86_64-*kfreebsd*-gnu)
6030             LD="${LD-ld} -m elf_x86_64_fbsd"
6031             ;;
6032           x86_64-*linux*)
6033             LD="${LD-ld} -m elf_x86_64"
6034             ;;
6035           ppc*-*linux*|powerpc*-*linux*)
6036             LD="${LD-ld} -m elf64ppc"
6037             ;;
6038           s390*-*linux*|s390*-*tpf*)
6039             LD="${LD-ld} -m elf64_s390"
6040             ;;
6041           sparc*-*linux*)
6042             LD="${LD-ld} -m elf64_sparc"
6043             ;;
6044         esac
6045         ;;
6046     esac
6047   fi
6048   rm -rf conftest*
6049   ;;
6050
6051 *-*-sco3.2v5*)
6052   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6053   SAVE_CFLAGS="$CFLAGS"
6054   CFLAGS="$CFLAGS -belf"
6055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6056 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6057 if ${lt_cv_cc_needs_belf+:} false; then :
6058   $as_echo_n "(cached) " >&6
6059 else
6060   ac_ext=c
6061 ac_cpp='$CPP $CPPFLAGS'
6062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6065
6066      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h.  */
6068
6069 int
6070 main ()
6071 {
6072
6073   ;
6074   return 0;
6075 }
6076 _ACEOF
6077 if ac_fn_c_try_link "$LINENO"; then :
6078   lt_cv_cc_needs_belf=yes
6079 else
6080   lt_cv_cc_needs_belf=no
6081 fi
6082 rm -f core conftest.err conftest.$ac_objext \
6083     conftest$ac_exeext conftest.$ac_ext
6084      ac_ext=c
6085 ac_cpp='$CPP $CPPFLAGS'
6086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6089
6090 fi
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6092 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6093   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6094     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6095     CFLAGS="$SAVE_CFLAGS"
6096   fi
6097   ;;
6098 *-*solaris*)
6099   # Find out which ABI we are using.
6100   echo 'int i;' > conftest.$ac_ext
6101   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6102   (eval $ac_compile) 2>&5
6103   ac_status=$?
6104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105   test $ac_status = 0; }; then
6106     case `/usr/bin/file conftest.o` in
6107     *64-bit*)
6108       case $lt_cv_prog_gnu_ld in
6109       yes*)
6110         case $host in
6111         i?86-*-solaris*)
6112           LD="${LD-ld} -m elf_x86_64"
6113           ;;
6114         sparc*-*-solaris*)
6115           LD="${LD-ld} -m elf64_sparc"
6116           ;;
6117         esac
6118         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6119         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6120           LD="${LD-ld}_sol2"
6121         fi
6122         ;;
6123       *)
6124         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6125           LD="${LD-ld} -64"
6126         fi
6127         ;;
6128       esac
6129       ;;
6130     esac
6131   fi
6132   rm -rf conftest*
6133   ;;
6134 esac
6135
6136 need_locks="$enable_libtool_lock"
6137
6138 if test -n "$ac_tool_prefix"; then
6139   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6140 set dummy ${ac_tool_prefix}mt; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6144   $as_echo_n "(cached) " >&6
6145 else
6146   if test -n "$MANIFEST_TOOL"; then
6147   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6151 do
6152   IFS=$as_save_IFS
6153   test -z "$as_dir" && as_dir=.
6154     for ac_exec_ext in '' $ac_executable_extensions; do
6155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158     break 2
6159   fi
6160 done
6161   done
6162 IFS=$as_save_IFS
6163
6164 fi
6165 fi
6166 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6167 if test -n "$MANIFEST_TOOL"; then
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6169 $as_echo "$MANIFEST_TOOL" >&6; }
6170 else
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6173 fi
6174
6175
6176 fi
6177 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6178   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6179   # Extract the first word of "mt", so it can be a program name with args.
6180 set dummy mt; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6184   $as_echo_n "(cached) " >&6
6185 else
6186   if test -n "$ac_ct_MANIFEST_TOOL"; then
6187   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6191 do
6192   IFS=$as_save_IFS
6193   test -z "$as_dir" && as_dir=.
6194     for ac_exec_ext in '' $ac_executable_extensions; do
6195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6196     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198     break 2
6199   fi
6200 done
6201   done
6202 IFS=$as_save_IFS
6203
6204 fi
6205 fi
6206 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6207 if test -n "$ac_ct_MANIFEST_TOOL"; then
6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6209 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6210 else
6211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6213 fi
6214
6215   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6216     MANIFEST_TOOL=":"
6217   else
6218     case $cross_compiling:$ac_tool_warned in
6219 yes:)
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6222 ac_tool_warned=yes ;;
6223 esac
6224     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6225   fi
6226 else
6227   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6228 fi
6229
6230 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6232 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6233 if ${lt_cv_path_mainfest_tool+:} false; then :
6234   $as_echo_n "(cached) " >&6
6235 else
6236   lt_cv_path_mainfest_tool=no
6237   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6238   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6239   cat conftest.err >&5
6240   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6241     lt_cv_path_mainfest_tool=yes
6242   fi
6243   rm -f conftest*
6244 fi
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6246 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6247 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6248   MANIFEST_TOOL=:
6249 fi
6250
6251
6252
6253
6254
6255
6256   case $host_os in
6257     rhapsody* | darwin*)
6258     if test -n "$ac_tool_prefix"; then
6259   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6264   $as_echo_n "(cached) " >&6
6265 else
6266   if test -n "$DSYMUTIL"; then
6267   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6271 do
6272   IFS=$as_save_IFS
6273   test -z "$as_dir" && as_dir=.
6274     for ac_exec_ext in '' $ac_executable_extensions; do
6275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6278     break 2
6279   fi
6280 done
6281   done
6282 IFS=$as_save_IFS
6283
6284 fi
6285 fi
6286 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6287 if test -n "$DSYMUTIL"; then
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6289 $as_echo "$DSYMUTIL" >&6; }
6290 else
6291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6293 fi
6294
6295
6296 fi
6297 if test -z "$ac_cv_prog_DSYMUTIL"; then
6298   ac_ct_DSYMUTIL=$DSYMUTIL
6299   # Extract the first word of "dsymutil", so it can be a program name with args.
6300 set dummy dsymutil; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6304   $as_echo_n "(cached) " >&6
6305 else
6306   if test -n "$ac_ct_DSYMUTIL"; then
6307   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6311 do
6312   IFS=$as_save_IFS
6313   test -z "$as_dir" && as_dir=.
6314     for ac_exec_ext in '' $ac_executable_extensions; do
6315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6316     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318     break 2
6319   fi
6320 done
6321   done
6322 IFS=$as_save_IFS
6323
6324 fi
6325 fi
6326 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6327 if test -n "$ac_ct_DSYMUTIL"; then
6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6329 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6330 else
6331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6333 fi
6334
6335   if test "x$ac_ct_DSYMUTIL" = x; then
6336     DSYMUTIL=":"
6337   else
6338     case $cross_compiling:$ac_tool_warned in
6339 yes:)
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6342 ac_tool_warned=yes ;;
6343 esac
6344     DSYMUTIL=$ac_ct_DSYMUTIL
6345   fi
6346 else
6347   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6348 fi
6349
6350     if test -n "$ac_tool_prefix"; then
6351   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if ${ac_cv_prog_NMEDIT+:} false; then :
6356   $as_echo_n "(cached) " >&6
6357 else
6358   if test -n "$NMEDIT"; then
6359   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6363 do
6364   IFS=$as_save_IFS
6365   test -z "$as_dir" && as_dir=.
6366     for ac_exec_ext in '' $ac_executable_extensions; do
6367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370     break 2
6371   fi
6372 done
6373   done
6374 IFS=$as_save_IFS
6375
6376 fi
6377 fi
6378 NMEDIT=$ac_cv_prog_NMEDIT
6379 if test -n "$NMEDIT"; then
6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6381 $as_echo "$NMEDIT" >&6; }
6382 else
6383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6385 fi
6386
6387
6388 fi
6389 if test -z "$ac_cv_prog_NMEDIT"; then
6390   ac_ct_NMEDIT=$NMEDIT
6391   # Extract the first word of "nmedit", so it can be a program name with args.
6392 set dummy nmedit; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6396   $as_echo_n "(cached) " >&6
6397 else
6398   if test -n "$ac_ct_NMEDIT"; then
6399   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6403 do
6404   IFS=$as_save_IFS
6405   test -z "$as_dir" && as_dir=.
6406     for ac_exec_ext in '' $ac_executable_extensions; do
6407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410     break 2
6411   fi
6412 done
6413   done
6414 IFS=$as_save_IFS
6415
6416 fi
6417 fi
6418 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6419 if test -n "$ac_ct_NMEDIT"; then
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6421 $as_echo "$ac_ct_NMEDIT" >&6; }
6422 else
6423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6425 fi
6426
6427   if test "x$ac_ct_NMEDIT" = x; then
6428     NMEDIT=":"
6429   else
6430     case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436     NMEDIT=$ac_ct_NMEDIT
6437   fi
6438 else
6439   NMEDIT="$ac_cv_prog_NMEDIT"
6440 fi
6441
6442     if test -n "$ac_tool_prefix"; then
6443   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if ${ac_cv_prog_LIPO+:} false; then :
6448   $as_echo_n "(cached) " >&6
6449 else
6450   if test -n "$LIPO"; then
6451   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6455 do
6456   IFS=$as_save_IFS
6457   test -z "$as_dir" && as_dir=.
6458     for ac_exec_ext in '' $ac_executable_extensions; do
6459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462     break 2
6463   fi
6464 done
6465   done
6466 IFS=$as_save_IFS
6467
6468 fi
6469 fi
6470 LIPO=$ac_cv_prog_LIPO
6471 if test -n "$LIPO"; then
6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6473 $as_echo "$LIPO" >&6; }
6474 else
6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6477 fi
6478
6479
6480 fi
6481 if test -z "$ac_cv_prog_LIPO"; then
6482   ac_ct_LIPO=$LIPO
6483   # Extract the first word of "lipo", so it can be a program name with args.
6484 set dummy lipo; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6488   $as_echo_n "(cached) " >&6
6489 else
6490   if test -n "$ac_ct_LIPO"; then
6491   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6495 do
6496   IFS=$as_save_IFS
6497   test -z "$as_dir" && as_dir=.
6498     for ac_exec_ext in '' $ac_executable_extensions; do
6499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500     ac_cv_prog_ac_ct_LIPO="lipo"
6501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502     break 2
6503   fi
6504 done
6505   done
6506 IFS=$as_save_IFS
6507
6508 fi
6509 fi
6510 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6511 if test -n "$ac_ct_LIPO"; then
6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6513 $as_echo "$ac_ct_LIPO" >&6; }
6514 else
6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6517 fi
6518
6519   if test "x$ac_ct_LIPO" = x; then
6520     LIPO=":"
6521   else
6522     case $cross_compiling:$ac_tool_warned in
6523 yes:)
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526 ac_tool_warned=yes ;;
6527 esac
6528     LIPO=$ac_ct_LIPO
6529   fi
6530 else
6531   LIPO="$ac_cv_prog_LIPO"
6532 fi
6533
6534     if test -n "$ac_tool_prefix"; then
6535   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}otool; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_OTOOL+:} false; then :
6540   $as_echo_n "(cached) " >&6
6541 else
6542   if test -n "$OTOOL"; then
6543   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6547 do
6548   IFS=$as_save_IFS
6549   test -z "$as_dir" && as_dir=.
6550     for ac_exec_ext in '' $ac_executable_extensions; do
6551   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554     break 2
6555   fi
6556 done
6557   done
6558 IFS=$as_save_IFS
6559
6560 fi
6561 fi
6562 OTOOL=$ac_cv_prog_OTOOL
6563 if test -n "$OTOOL"; then
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6565 $as_echo "$OTOOL" >&6; }
6566 else
6567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6569 fi
6570
6571
6572 fi
6573 if test -z "$ac_cv_prog_OTOOL"; then
6574   ac_ct_OTOOL=$OTOOL
6575   # Extract the first word of "otool", so it can be a program name with args.
6576 set dummy otool; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6580   $as_echo_n "(cached) " >&6
6581 else
6582   if test -n "$ac_ct_OTOOL"; then
6583   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6587 do
6588   IFS=$as_save_IFS
6589   test -z "$as_dir" && as_dir=.
6590     for ac_exec_ext in '' $ac_executable_extensions; do
6591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592     ac_cv_prog_ac_ct_OTOOL="otool"
6593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594     break 2
6595   fi
6596 done
6597   done
6598 IFS=$as_save_IFS
6599
6600 fi
6601 fi
6602 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6603 if test -n "$ac_ct_OTOOL"; then
6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6605 $as_echo "$ac_ct_OTOOL" >&6; }
6606 else
6607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6609 fi
6610
6611   if test "x$ac_ct_OTOOL" = x; then
6612     OTOOL=":"
6613   else
6614     case $cross_compiling:$ac_tool_warned in
6615 yes:)
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6619 esac
6620     OTOOL=$ac_ct_OTOOL
6621   fi
6622 else
6623   OTOOL="$ac_cv_prog_OTOOL"
6624 fi
6625
6626     if test -n "$ac_tool_prefix"; then
6627   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_OTOOL64+:} false; then :
6632   $as_echo_n "(cached) " >&6
6633 else
6634   if test -n "$OTOOL64"; then
6635   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640   IFS=$as_save_IFS
6641   test -z "$as_dir" && as_dir=.
6642     for ac_exec_ext in '' $ac_executable_extensions; do
6643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646     break 2
6647   fi
6648 done
6649   done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 OTOOL64=$ac_cv_prog_OTOOL64
6655 if test -n "$OTOOL64"; then
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6657 $as_echo "$OTOOL64" >&6; }
6658 else
6659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663
6664 fi
6665 if test -z "$ac_cv_prog_OTOOL64"; then
6666   ac_ct_OTOOL64=$OTOOL64
6667   # Extract the first word of "otool64", so it can be a program name with args.
6668 set dummy otool64; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6672   $as_echo_n "(cached) " >&6
6673 else
6674   if test -n "$ac_ct_OTOOL64"; then
6675   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680   IFS=$as_save_IFS
6681   test -z "$as_dir" && as_dir=.
6682     for ac_exec_ext in '' $ac_executable_extensions; do
6683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684     ac_cv_prog_ac_ct_OTOOL64="otool64"
6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686     break 2
6687   fi
6688 done
6689   done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6695 if test -n "$ac_ct_OTOOL64"; then
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6697 $as_echo "$ac_ct_OTOOL64" >&6; }
6698 else
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703   if test "x$ac_ct_OTOOL64" = x; then
6704     OTOOL64=":"
6705   else
6706     case $cross_compiling:$ac_tool_warned in
6707 yes:)
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6711 esac
6712     OTOOL64=$ac_ct_OTOOL64
6713   fi
6714 else
6715   OTOOL64="$ac_cv_prog_OTOOL64"
6716 fi
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6745 $as_echo_n "checking for -single_module linker flag... " >&6; }
6746 if ${lt_cv_apple_cc_single_mod+:} false; then :
6747   $as_echo_n "(cached) " >&6
6748 else
6749   lt_cv_apple_cc_single_mod=no
6750       if test -z "${LT_MULTI_MODULE}"; then
6751         # By default we will add the -single_module flag. You can override
6752         # by either setting the environment variable LT_MULTI_MODULE
6753         # non-empty at configure time, or by adding -multi_module to the
6754         # link flags.
6755         rm -rf libconftest.dylib*
6756         echo "int foo(void){return 1;}" > conftest.c
6757         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6758 -dynamiclib -Wl,-single_module conftest.c" >&5
6759         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6760           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6761         _lt_result=$?
6762         # If there is a non-empty error log, and "single_module"
6763         # appears in it, assume the flag caused a linker warning
6764         if test -s conftest.err && $GREP single_module conftest.err; then
6765           cat conftest.err >&5
6766         # Otherwise, if the output was created with a 0 exit code from
6767         # the compiler, it worked.
6768         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6769           lt_cv_apple_cc_single_mod=yes
6770         else
6771           cat conftest.err >&5
6772         fi
6773         rm -rf libconftest.dylib*
6774         rm -f conftest.*
6775       fi
6776 fi
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6778 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6779
6780     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6781 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6782 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6783   $as_echo_n "(cached) " >&6
6784 else
6785   lt_cv_ld_exported_symbols_list=no
6786       save_LDFLAGS=$LDFLAGS
6787       echo "_main" > conftest.sym
6788       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h.  */
6791
6792 int
6793 main ()
6794 {
6795
6796   ;
6797   return 0;
6798 }
6799 _ACEOF
6800 if ac_fn_c_try_link "$LINENO"; then :
6801   lt_cv_ld_exported_symbols_list=yes
6802 else
6803   lt_cv_ld_exported_symbols_list=no
6804 fi
6805 rm -f core conftest.err conftest.$ac_objext \
6806     conftest$ac_exeext conftest.$ac_ext
6807         LDFLAGS="$save_LDFLAGS"
6808
6809 fi
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6811 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6812
6813     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6814 $as_echo_n "checking for -force_load linker flag... " >&6; }
6815 if ${lt_cv_ld_force_load+:} false; then :
6816   $as_echo_n "(cached) " >&6
6817 else
6818   lt_cv_ld_force_load=no
6819       cat > conftest.c << _LT_EOF
6820 int forced_loaded() { return 2;}
6821 _LT_EOF
6822       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6823       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6824       echo "$AR cru libconftest.a conftest.o" >&5
6825       $AR cru libconftest.a conftest.o 2>&5
6826       echo "$RANLIB libconftest.a" >&5
6827       $RANLIB libconftest.a 2>&5
6828       cat > conftest.c << _LT_EOF
6829 int main() { return 0;}
6830 _LT_EOF
6831       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6832       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6833       _lt_result=$?
6834       if test -s conftest.err && $GREP force_load conftest.err; then
6835         cat conftest.err >&5
6836       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6837         lt_cv_ld_force_load=yes
6838       else
6839         cat conftest.err >&5
6840       fi
6841         rm -f conftest.err libconftest.a conftest conftest.c
6842         rm -rf conftest.dSYM
6843
6844 fi
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6846 $as_echo "$lt_cv_ld_force_load" >&6; }
6847     case $host_os in
6848     rhapsody* | darwin1.[012])
6849       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6850     darwin1.*)
6851       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6852     darwin*) # darwin 5.x on
6853       # if running on 10.5 or later, the deployment target defaults
6854       # to the OS version, if on x86, and 10.4, the deployment
6855       # target defaults to 10.4. Don't you love it?
6856       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6857         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6858           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6859         10.[012]*)
6860           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6861         10.*)
6862           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6863       esac
6864     ;;
6865   esac
6866     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6867       _lt_dar_single_mod='$single_module'
6868     fi
6869     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6870       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6871     else
6872       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6873     fi
6874     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6875       _lt_dsymutil='~$DSYMUTIL $lib || :'
6876     else
6877       _lt_dsymutil=
6878     fi
6879     ;;
6880   esac
6881
6882 ac_ext=c
6883 ac_cpp='$CPP $CPPFLAGS'
6884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6888 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6889 # On Suns, sometimes $CPP names a directory.
6890 if test -n "$CPP" && test -d "$CPP"; then
6891   CPP=
6892 fi
6893 if test -z "$CPP"; then
6894   if ${ac_cv_prog_CPP+:} false; then :
6895   $as_echo_n "(cached) " >&6
6896 else
6897       # Double quotes because CPP needs to be expanded
6898     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6899     do
6900       ac_preproc_ok=false
6901 for ac_c_preproc_warn_flag in '' yes
6902 do
6903   # Use a header file that comes with gcc, so configuring glibc
6904   # with a fresh cross-compiler works.
6905   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6906   # <limits.h> exists even on freestanding compilers.
6907   # On the NeXT, cc -E runs the code through the compiler's parser,
6908   # not just through cpp. "Syntax error" is here to catch this case.
6909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h.  */
6911 #ifdef __STDC__
6912 # include <limits.h>
6913 #else
6914 # include <assert.h>
6915 #endif
6916                      Syntax error
6917 _ACEOF
6918 if ac_fn_c_try_cpp "$LINENO"; then :
6919
6920 else
6921   # Broken: fails on valid input.
6922 continue
6923 fi
6924 rm -f conftest.err conftest.i conftest.$ac_ext
6925
6926   # OK, works on sane cases.  Now check whether nonexistent headers
6927   # can be detected and how.
6928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929 /* end confdefs.h.  */
6930 #include <ac_nonexistent.h>
6931 _ACEOF
6932 if ac_fn_c_try_cpp "$LINENO"; then :
6933   # Broken: success on invalid input.
6934 continue
6935 else
6936   # Passes both tests.
6937 ac_preproc_ok=:
6938 break
6939 fi
6940 rm -f conftest.err conftest.i conftest.$ac_ext
6941
6942 done
6943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6944 rm -f conftest.i conftest.err conftest.$ac_ext
6945 if $ac_preproc_ok; then :
6946   break
6947 fi
6948
6949     done
6950     ac_cv_prog_CPP=$CPP
6951
6952 fi
6953   CPP=$ac_cv_prog_CPP
6954 else
6955   ac_cv_prog_CPP=$CPP
6956 fi
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6958 $as_echo "$CPP" >&6; }
6959 ac_preproc_ok=false
6960 for ac_c_preproc_warn_flag in '' yes
6961 do
6962   # Use a header file that comes with gcc, so configuring glibc
6963   # with a fresh cross-compiler works.
6964   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6965   # <limits.h> exists even on freestanding compilers.
6966   # On the NeXT, cc -E runs the code through the compiler's parser,
6967   # not just through cpp. "Syntax error" is here to catch this case.
6968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6969 /* end confdefs.h.  */
6970 #ifdef __STDC__
6971 # include <limits.h>
6972 #else
6973 # include <assert.h>
6974 #endif
6975                      Syntax error
6976 _ACEOF
6977 if ac_fn_c_try_cpp "$LINENO"; then :
6978
6979 else
6980   # Broken: fails on valid input.
6981 continue
6982 fi
6983 rm -f conftest.err conftest.i conftest.$ac_ext
6984
6985   # OK, works on sane cases.  Now check whether nonexistent headers
6986   # can be detected and how.
6987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6988 /* end confdefs.h.  */
6989 #include <ac_nonexistent.h>
6990 _ACEOF
6991 if ac_fn_c_try_cpp "$LINENO"; then :
6992   # Broken: success on invalid input.
6993 continue
6994 else
6995   # Passes both tests.
6996 ac_preproc_ok=:
6997 break
6998 fi
6999 rm -f conftest.err conftest.i conftest.$ac_ext
7000
7001 done
7002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7003 rm -f conftest.i conftest.err conftest.$ac_ext
7004 if $ac_preproc_ok; then :
7005
7006 else
7007   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7009 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7010 See \`config.log' for more details" "$LINENO" 5; }
7011 fi
7012
7013 ac_ext=c
7014 ac_cpp='$CPP $CPPFLAGS'
7015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7018
7019
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7021 $as_echo_n "checking for ANSI C header files... " >&6; }
7022 if ${ac_cv_header_stdc+:} false; then :
7023   $as_echo_n "(cached) " >&6
7024 else
7025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h.  */
7027 #include <stdlib.h>
7028 #include <stdarg.h>
7029 #include <string.h>
7030 #include <float.h>
7031
7032 int
7033 main ()
7034 {
7035
7036   ;
7037   return 0;
7038 }
7039 _ACEOF
7040 if ac_fn_c_try_compile "$LINENO"; then :
7041   ac_cv_header_stdc=yes
7042 else
7043   ac_cv_header_stdc=no
7044 fi
7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7046
7047 if test $ac_cv_header_stdc = yes; then
7048   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h.  */
7051 #include <string.h>
7052
7053 _ACEOF
7054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7055   $EGREP "memchr" >/dev/null 2>&1; then :
7056
7057 else
7058   ac_cv_header_stdc=no
7059 fi
7060 rm -f conftest*
7061
7062 fi
7063
7064 if test $ac_cv_header_stdc = yes; then
7065   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h.  */
7068 #include <stdlib.h>
7069
7070 _ACEOF
7071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7072   $EGREP "free" >/dev/null 2>&1; then :
7073
7074 else
7075   ac_cv_header_stdc=no
7076 fi
7077 rm -f conftest*
7078
7079 fi
7080
7081 if test $ac_cv_header_stdc = yes; then
7082   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7083   if test "$cross_compiling" = yes; then :
7084   :
7085 else
7086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7087 /* end confdefs.h.  */
7088 #include <ctype.h>
7089 #include <stdlib.h>
7090 #if ((' ' & 0x0FF) == 0x020)
7091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7093 #else
7094 # define ISLOWER(c) \
7095                    (('a' <= (c) && (c) <= 'i') \
7096                      || ('j' <= (c) && (c) <= 'r') \
7097                      || ('s' <= (c) && (c) <= 'z'))
7098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7099 #endif
7100
7101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7102 int
7103 main ()
7104 {
7105   int i;
7106   for (i = 0; i < 256; i++)
7107     if (XOR (islower (i), ISLOWER (i))
7108         || toupper (i) != TOUPPER (i))
7109       return 2;
7110   return 0;
7111 }
7112 _ACEOF
7113 if ac_fn_c_try_run "$LINENO"; then :
7114
7115 else
7116   ac_cv_header_stdc=no
7117 fi
7118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7119   conftest.$ac_objext conftest.beam conftest.$ac_ext
7120 fi
7121
7122 fi
7123 fi
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7125 $as_echo "$ac_cv_header_stdc" >&6; }
7126 if test $ac_cv_header_stdc = yes; then
7127
7128 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7129
7130 fi
7131
7132 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7133 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7134                   inttypes.h stdint.h unistd.h
7135 do :
7136   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7137 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7138 "
7139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7140   cat >>confdefs.h <<_ACEOF
7141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7142 _ACEOF
7143
7144 fi
7145
7146 done
7147
7148
7149 for ac_header in dlfcn.h
7150 do :
7151   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7152 "
7153 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7154   cat >>confdefs.h <<_ACEOF
7155 #define HAVE_DLFCN_H 1
7156 _ACEOF
7157
7158 fi
7159
7160 done
7161
7162
7163
7164
7165
7166 # Set options
7167 enable_dlopen=yes
7168 enable_win32_dll=yes
7169
7170 case $host in
7171 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7172   if test -n "$ac_tool_prefix"; then
7173   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7174 set dummy ${ac_tool_prefix}as; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_AS+:} false; then :
7178   $as_echo_n "(cached) " >&6
7179 else
7180   if test -n "$AS"; then
7181   ac_cv_prog_AS="$AS" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7185 do
7186   IFS=$as_save_IFS
7187   test -z "$as_dir" && as_dir=.
7188     for ac_exec_ext in '' $ac_executable_extensions; do
7189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7190     ac_cv_prog_AS="${ac_tool_prefix}as"
7191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192     break 2
7193   fi
7194 done
7195   done
7196 IFS=$as_save_IFS
7197
7198 fi
7199 fi
7200 AS=$ac_cv_prog_AS
7201 if test -n "$AS"; then
7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7203 $as_echo "$AS" >&6; }
7204 else
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7207 fi
7208
7209
7210 fi
7211 if test -z "$ac_cv_prog_AS"; then
7212   ac_ct_AS=$AS
7213   # Extract the first word of "as", so it can be a program name with args.
7214 set dummy as; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7216 $as_echo_n "checking for $ac_word... " >&6; }
7217 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7218   $as_echo_n "(cached) " >&6
7219 else
7220   if test -n "$ac_ct_AS"; then
7221   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7225 do
7226   IFS=$as_save_IFS
7227   test -z "$as_dir" && as_dir=.
7228     for ac_exec_ext in '' $ac_executable_extensions; do
7229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230     ac_cv_prog_ac_ct_AS="as"
7231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7232     break 2
7233   fi
7234 done
7235   done
7236 IFS=$as_save_IFS
7237
7238 fi
7239 fi
7240 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7241 if test -n "$ac_ct_AS"; then
7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7243 $as_echo "$ac_ct_AS" >&6; }
7244 else
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7246 $as_echo "no" >&6; }
7247 fi
7248
7249   if test "x$ac_ct_AS" = x; then
7250     AS="false"
7251   else
7252     case $cross_compiling:$ac_tool_warned in
7253 yes:)
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7256 ac_tool_warned=yes ;;
7257 esac
7258     AS=$ac_ct_AS
7259   fi
7260 else
7261   AS="$ac_cv_prog_AS"
7262 fi
7263
7264   if test -n "$ac_tool_prefix"; then
7265   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7266 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_DLLTOOL+:} false; then :
7270   $as_echo_n "(cached) " >&6
7271 else
7272   if test -n "$DLLTOOL"; then
7273   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7277 do
7278   IFS=$as_save_IFS
7279   test -z "$as_dir" && as_dir=.
7280     for ac_exec_ext in '' $ac_executable_extensions; do
7281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7282     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284     break 2
7285   fi
7286 done
7287   done
7288 IFS=$as_save_IFS
7289
7290 fi
7291 fi
7292 DLLTOOL=$ac_cv_prog_DLLTOOL
7293 if test -n "$DLLTOOL"; then
7294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7295 $as_echo "$DLLTOOL" >&6; }
7296 else
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7299 fi
7300
7301
7302 fi
7303 if test -z "$ac_cv_prog_DLLTOOL"; then
7304   ac_ct_DLLTOOL=$DLLTOOL
7305   # Extract the first word of "dlltool", so it can be a program name with args.
7306 set dummy dlltool; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7310   $as_echo_n "(cached) " >&6
7311 else
7312   if test -n "$ac_ct_DLLTOOL"; then
7313   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7317 do
7318   IFS=$as_save_IFS
7319   test -z "$as_dir" && as_dir=.
7320     for ac_exec_ext in '' $ac_executable_extensions; do
7321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7322     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324     break 2
7325   fi
7326 done
7327   done
7328 IFS=$as_save_IFS
7329
7330 fi
7331 fi
7332 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7333 if test -n "$ac_ct_DLLTOOL"; then
7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7335 $as_echo "$ac_ct_DLLTOOL" >&6; }
7336 else
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7339 fi
7340
7341   if test "x$ac_ct_DLLTOOL" = x; then
7342     DLLTOOL="false"
7343   else
7344     case $cross_compiling:$ac_tool_warned in
7345 yes:)
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7348 ac_tool_warned=yes ;;
7349 esac
7350     DLLTOOL=$ac_ct_DLLTOOL
7351   fi
7352 else
7353   DLLTOOL="$ac_cv_prog_DLLTOOL"
7354 fi
7355
7356   if test -n "$ac_tool_prefix"; then
7357   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7358 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_OBJDUMP+:} false; then :
7362   $as_echo_n "(cached) " >&6
7363 else
7364   if test -n "$OBJDUMP"; then
7365   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7369 do
7370   IFS=$as_save_IFS
7371   test -z "$as_dir" && as_dir=.
7372     for ac_exec_ext in '' $ac_executable_extensions; do
7373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376     break 2
7377   fi
7378 done
7379   done
7380 IFS=$as_save_IFS
7381
7382 fi
7383 fi
7384 OBJDUMP=$ac_cv_prog_OBJDUMP
7385 if test -n "$OBJDUMP"; then
7386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7387 $as_echo "$OBJDUMP" >&6; }
7388 else
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7391 fi
7392
7393
7394 fi
7395 if test -z "$ac_cv_prog_OBJDUMP"; then
7396   ac_ct_OBJDUMP=$OBJDUMP
7397   # Extract the first word of "objdump", so it can be a program name with args.
7398 set dummy objdump; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7402   $as_echo_n "(cached) " >&6
7403 else
7404   if test -n "$ac_ct_OBJDUMP"; then
7405   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7406 else
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 for as_dir in $PATH
7409 do
7410   IFS=$as_save_IFS
7411   test -z "$as_dir" && as_dir=.
7412     for ac_exec_ext in '' $ac_executable_extensions; do
7413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416     break 2
7417   fi
7418 done
7419   done
7420 IFS=$as_save_IFS
7421
7422 fi
7423 fi
7424 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7425 if test -n "$ac_ct_OBJDUMP"; then
7426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7427 $as_echo "$ac_ct_OBJDUMP" >&6; }
7428 else
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7431 fi
7432
7433   if test "x$ac_ct_OBJDUMP" = x; then
7434     OBJDUMP="false"
7435   else
7436     case $cross_compiling:$ac_tool_warned in
7437 yes:)
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7440 ac_tool_warned=yes ;;
7441 esac
7442     OBJDUMP=$ac_ct_OBJDUMP
7443   fi
7444 else
7445   OBJDUMP="$ac_cv_prog_OBJDUMP"
7446 fi
7447
7448   ;;
7449 esac
7450
7451 test -z "$AS" && AS=as
7452
7453
7454
7455
7456
7457 test -z "$DLLTOOL" && DLLTOOL=dlltool
7458
7459
7460
7461
7462
7463 test -z "$OBJDUMP" && OBJDUMP=objdump
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473             # Check whether --enable-shared was given.
7474 if test "${enable_shared+set}" = set; then :
7475   enableval=$enable_shared; p=${PACKAGE-default}
7476     case $enableval in
7477     yes) enable_shared=yes ;;
7478     no) enable_shared=no ;;
7479     *)
7480       enable_shared=no
7481       # Look at the argument we got.  We use all the common list separators.
7482       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7483       for pkg in $enableval; do
7484         IFS="$lt_save_ifs"
7485         if test "X$pkg" = "X$p"; then
7486           enable_shared=yes
7487         fi
7488       done
7489       IFS="$lt_save_ifs"
7490       ;;
7491     esac
7492 else
7493   enable_shared=yes
7494 fi
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504   # Check whether --enable-static was given.
7505 if test "${enable_static+set}" = set; then :
7506   enableval=$enable_static; p=${PACKAGE-default}
7507     case $enableval in
7508     yes) enable_static=yes ;;
7509     no) enable_static=no ;;
7510     *)
7511      enable_static=no
7512       # Look at the argument we got.  We use all the common list separators.
7513       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7514       for pkg in $enableval; do
7515         IFS="$lt_save_ifs"
7516         if test "X$pkg" = "X$p"; then
7517           enable_static=yes
7518         fi
7519       done
7520       IFS="$lt_save_ifs"
7521       ;;
7522     esac
7523 else
7524   enable_static=yes
7525 fi
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536 # Check whether --with-pic was given.
7537 if test "${with_pic+set}" = set; then :
7538   withval=$with_pic; lt_p=${PACKAGE-default}
7539     case $withval in
7540     yes|no) pic_mode=$withval ;;
7541     *)
7542       pic_mode=default
7543       # Look at the argument we got.  We use all the common list separators.
7544       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7545       for lt_pkg in $withval; do
7546         IFS="$lt_save_ifs"
7547         if test "X$lt_pkg" = "X$lt_p"; then
7548           pic_mode=yes
7549         fi
7550       done
7551       IFS="$lt_save_ifs"
7552       ;;
7553     esac
7554 else
7555   pic_mode=default
7556 fi
7557
7558
7559 test -z "$pic_mode" && pic_mode=default
7560
7561
7562
7563
7564
7565
7566
7567   # Check whether --enable-fast-install was given.
7568 if test "${enable_fast_install+set}" = set; then :
7569   enableval=$enable_fast_install; p=${PACKAGE-default}
7570     case $enableval in
7571     yes) enable_fast_install=yes ;;
7572     no) enable_fast_install=no ;;
7573     *)
7574       enable_fast_install=no
7575       # Look at the argument we got.  We use all the common list separators.
7576       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7577       for pkg in $enableval; do
7578         IFS="$lt_save_ifs"
7579         if test "X$pkg" = "X$p"; then
7580           enable_fast_install=yes
7581         fi
7582       done
7583       IFS="$lt_save_ifs"
7584       ;;
7585     esac
7586 else
7587   enable_fast_install=yes
7588 fi
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600 # This can be used to rebuild libtool when needed
7601 LIBTOOL_DEPS="$ltmain"
7602
7603 # Always use our own libtool.
7604 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635 test -z "$LN_S" && LN_S="ln -s"
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650 if test -n "${ZSH_VERSION+set}" ; then
7651    setopt NO_GLOB_SUBST
7652 fi
7653
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7655 $as_echo_n "checking for objdir... " >&6; }
7656 if ${lt_cv_objdir+:} false; then :
7657   $as_echo_n "(cached) " >&6
7658 else
7659   rm -f .libs 2>/dev/null
7660 mkdir .libs 2>/dev/null
7661 if test -d .libs; then
7662   lt_cv_objdir=.libs
7663 else
7664   # MS-DOS does not allow filenames that begin with a dot.
7665   lt_cv_objdir=_libs
7666 fi
7667 rmdir .libs 2>/dev/null
7668 fi
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7670 $as_echo "$lt_cv_objdir" >&6; }
7671 objdir=$lt_cv_objdir
7672
7673
7674
7675
7676
7677 cat >>confdefs.h <<_ACEOF
7678 #define LT_OBJDIR "$lt_cv_objdir/"
7679 _ACEOF
7680
7681
7682
7683
7684 case $host_os in
7685 aix3*)
7686   # AIX sometimes has problems with the GCC collect2 program.  For some
7687   # reason, if we set the COLLECT_NAMES environment variable, the problems
7688   # vanish in a puff of smoke.
7689   if test "X${COLLECT_NAMES+set}" != Xset; then
7690     COLLECT_NAMES=
7691     export COLLECT_NAMES
7692   fi
7693   ;;
7694 esac
7695
7696 # Global variables:
7697 ofile=libtool
7698 can_build_shared=yes
7699
7700 # All known linkers require a `.a' archive for static linking (except MSVC,
7701 # which needs '.lib').
7702 libext=a
7703
7704 with_gnu_ld="$lt_cv_prog_gnu_ld"
7705
7706 old_CC="$CC"
7707 old_CFLAGS="$CFLAGS"
7708
7709 # Set sane defaults for various variables
7710 test -z "$CC" && CC=cc
7711 test -z "$LTCC" && LTCC=$CC
7712 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7713 test -z "$LD" && LD=ld
7714 test -z "$ac_objext" && ac_objext=o
7715
7716 for cc_temp in $compiler""; do
7717   case $cc_temp in
7718     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7719     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7720     \-*) ;;
7721     *) break;;
7722   esac
7723 done
7724 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7725
7726
7727 # Only perform the check for file, if the check method requires it
7728 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7729 case $deplibs_check_method in
7730 file_magic*)
7731   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7733 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7734 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7735   $as_echo_n "(cached) " >&6
7736 else
7737   case $MAGIC_CMD in
7738 [\\/*] |  ?:[\\/]*)
7739   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7740   ;;
7741 *)
7742   lt_save_MAGIC_CMD="$MAGIC_CMD"
7743   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7744   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7745   for ac_dir in $ac_dummy; do
7746     IFS="$lt_save_ifs"
7747     test -z "$ac_dir" && ac_dir=.
7748     if test -f $ac_dir/${ac_tool_prefix}file; then
7749       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7750       if test -n "$file_magic_test_file"; then
7751         case $deplibs_check_method in
7752         "file_magic "*)
7753           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7754           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7755           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7756             $EGREP "$file_magic_regex" > /dev/null; then
7757             :
7758           else
7759             cat <<_LT_EOF 1>&2
7760
7761 *** Warning: the command libtool uses to detect shared libraries,
7762 *** $file_magic_cmd, produces output that libtool cannot recognize.
7763 *** The result is that libtool may fail to recognize shared libraries
7764 *** as such.  This will affect the creation of libtool libraries that
7765 *** depend on shared libraries, but programs linked with such libtool
7766 *** libraries will work regardless of this problem.  Nevertheless, you
7767 *** may want to report the problem to your system manager and/or to
7768 *** bug-libtool@gnu.org
7769
7770 _LT_EOF
7771           fi ;;
7772         esac
7773       fi
7774       break
7775     fi
7776   done
7777   IFS="$lt_save_ifs"
7778   MAGIC_CMD="$lt_save_MAGIC_CMD"
7779   ;;
7780 esac
7781 fi
7782
7783 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7784 if test -n "$MAGIC_CMD"; then
7785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7786 $as_echo "$MAGIC_CMD" >&6; }
7787 else
7788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789 $as_echo "no" >&6; }
7790 fi
7791
7792
7793
7794
7795
7796 if test -z "$lt_cv_path_MAGIC_CMD"; then
7797   if test -n "$ac_tool_prefix"; then
7798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7799 $as_echo_n "checking for file... " >&6; }
7800 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7801   $as_echo_n "(cached) " >&6
7802 else
7803   case $MAGIC_CMD in
7804 [\\/*] |  ?:[\\/]*)
7805   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7806   ;;
7807 *)
7808   lt_save_MAGIC_CMD="$MAGIC_CMD"
7809   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7810   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7811   for ac_dir in $ac_dummy; do
7812     IFS="$lt_save_ifs"
7813     test -z "$ac_dir" && ac_dir=.
7814     if test -f $ac_dir/file; then
7815       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7816       if test -n "$file_magic_test_file"; then
7817         case $deplibs_check_method in
7818         "file_magic "*)
7819           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7820           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7821           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7822             $EGREP "$file_magic_regex" > /dev/null; then
7823             :
7824           else
7825             cat <<_LT_EOF 1>&2
7826
7827 *** Warning: the command libtool uses to detect shared libraries,
7828 *** $file_magic_cmd, produces output that libtool cannot recognize.
7829 *** The result is that libtool may fail to recognize shared libraries
7830 *** as such.  This will affect the creation of libtool libraries that
7831 *** depend on shared libraries, but programs linked with such libtool
7832 *** libraries will work regardless of this problem.  Nevertheless, you
7833 *** may want to report the problem to your system manager and/or to
7834 *** bug-libtool@gnu.org
7835
7836 _LT_EOF
7837           fi ;;
7838         esac
7839       fi
7840       break
7841     fi
7842   done
7843   IFS="$lt_save_ifs"
7844   MAGIC_CMD="$lt_save_MAGIC_CMD"
7845   ;;
7846 esac
7847 fi
7848
7849 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7850 if test -n "$MAGIC_CMD"; then
7851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7852 $as_echo "$MAGIC_CMD" >&6; }
7853 else
7854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7856 fi
7857
7858
7859   else
7860     MAGIC_CMD=:
7861   fi
7862 fi
7863
7864   fi
7865   ;;
7866 esac
7867
7868 # Use C for the default configuration in the libtool script
7869
7870 lt_save_CC="$CC"
7871 ac_ext=c
7872 ac_cpp='$CPP $CPPFLAGS'
7873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876
7877
7878 # Source file extension for C test sources.
7879 ac_ext=c
7880
7881 # Object file extension for compiled C test sources.
7882 objext=o
7883 objext=$objext
7884
7885 # Code to be used in simple compile tests
7886 lt_simple_compile_test_code="int some_variable = 0;"
7887
7888 # Code to be used in simple link tests
7889 lt_simple_link_test_code='int main(){return(0);}'
7890
7891
7892
7893
7894
7895
7896
7897 # If no C compiler was specified, use CC.
7898 LTCC=${LTCC-"$CC"}
7899
7900 # If no C compiler flags were specified, use CFLAGS.
7901 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7902
7903 # Allow CC to be a program name with arguments.
7904 compiler=$CC
7905
7906 # Save the default compiler, since it gets overwritten when the other
7907 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7908 compiler_DEFAULT=$CC
7909
7910 # save warnings/boilerplate of simple test code
7911 ac_outfile=conftest.$ac_objext
7912 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7913 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7914 _lt_compiler_boilerplate=`cat conftest.err`
7915 $RM conftest*
7916
7917 ac_outfile=conftest.$ac_objext
7918 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7919 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7920 _lt_linker_boilerplate=`cat conftest.err`
7921 $RM -r conftest*
7922
7923
7924 ## CAVEAT EMPTOR:
7925 ## There is no encapsulation within the following macros, do not change
7926 ## the running order or otherwise move them around unless you know exactly
7927 ## what you are doing...
7928 if test -n "$compiler"; then
7929
7930 lt_prog_compiler_no_builtin_flag=
7931
7932 if test "$GCC" = yes; then
7933   case $cc_basename in
7934   nvcc*)
7935     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7936   *)
7937     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7938   esac
7939
7940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7941 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7942 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7943   $as_echo_n "(cached) " >&6
7944 else
7945   lt_cv_prog_compiler_rtti_exceptions=no
7946    ac_outfile=conftest.$ac_objext
7947    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7948    lt_compiler_flag="-fno-rtti -fno-exceptions"
7949    # Insert the option either (1) after the last *FLAGS variable, or
7950    # (2) before a word containing "conftest.", or (3) at the end.
7951    # Note that $ac_compile itself does not contain backslashes and begins
7952    # with a dollar sign (not a hyphen), so the echo should work correctly.
7953    # The option is referenced via a variable to avoid confusing sed.
7954    lt_compile=`echo "$ac_compile" | $SED \
7955    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7956    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7957    -e 's:$: $lt_compiler_flag:'`
7958    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7959    (eval "$lt_compile" 2>conftest.err)
7960    ac_status=$?
7961    cat conftest.err >&5
7962    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963    if (exit $ac_status) && test -s "$ac_outfile"; then
7964      # The compiler can only warn and ignore the option if not recognized
7965      # So say no if there are warnings other than the usual output.
7966      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7967      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7968      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7969        lt_cv_prog_compiler_rtti_exceptions=yes
7970      fi
7971    fi
7972    $RM conftest*
7973
7974 fi
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7976 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7977
7978 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7979     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7980 else
7981     :
7982 fi
7983
7984 fi
7985
7986
7987
7988
7989
7990
7991   lt_prog_compiler_wl=
7992 lt_prog_compiler_pic=
7993 lt_prog_compiler_static=
7994
7995
7996   if test "$GCC" = yes; then
7997     lt_prog_compiler_wl='-Wl,'
7998     lt_prog_compiler_static='-static'
7999
8000     case $host_os in
8001       aix*)
8002       # All AIX code is PIC.
8003       if test "$host_cpu" = ia64; then
8004         # AIX 5 now supports IA64 processor
8005         lt_prog_compiler_static='-Bstatic'
8006       fi
8007       ;;
8008
8009     amigaos*)
8010       case $host_cpu in
8011       powerpc)
8012             # see comment about AmigaOS4 .so support
8013             lt_prog_compiler_pic='-fPIC'
8014         ;;
8015       m68k)
8016             # FIXME: we need at least 68020 code to build shared libraries, but
8017             # adding the `-m68020' flag to GCC prevents building anything better,
8018             # like `-m68040'.
8019             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8020         ;;
8021       esac
8022       ;;
8023
8024     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8025       # PIC is the default for these OSes.
8026       ;;
8027
8028     mingw* | cygwin* | pw32* | os2* | cegcc*)
8029       # This hack is so that the source file can tell whether it is being
8030       # built for inclusion in a dll (and should export symbols for example).
8031       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8032       # (--disable-auto-import) libraries
8033       lt_prog_compiler_pic='-DDLL_EXPORT'
8034       ;;
8035
8036     darwin* | rhapsody*)
8037       # PIC is the default on this platform
8038       # Common symbols not allowed in MH_DYLIB files
8039       lt_prog_compiler_pic='-fno-common'
8040       ;;
8041
8042     haiku*)
8043       # PIC is the default for Haiku.
8044       # The "-static" flag exists, but is broken.
8045       lt_prog_compiler_static=
8046       ;;
8047
8048     hpux*)
8049       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8050       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8051       # sets the default TLS model and affects inlining.
8052       case $host_cpu in
8053       hppa*64*)
8054         # +Z the default
8055         ;;
8056       *)
8057         lt_prog_compiler_pic='-fPIC'
8058         ;;
8059       esac
8060       ;;
8061
8062     interix[3-9]*)
8063       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8064       # Instead, we relocate shared libraries at runtime.
8065       ;;
8066
8067     msdosdjgpp*)
8068       # Just because we use GCC doesn't mean we suddenly get shared libraries
8069       # on systems that don't support them.
8070       lt_prog_compiler_can_build_shared=no
8071       enable_shared=no
8072       ;;
8073
8074     *nto* | *qnx*)
8075       # QNX uses GNU C++, but need to define -shared option too, otherwise
8076       # it will coredump.
8077       lt_prog_compiler_pic='-fPIC -shared'
8078       ;;
8079
8080     sysv4*MP*)
8081       if test -d /usr/nec; then
8082         lt_prog_compiler_pic=-Kconform_pic
8083       fi
8084       ;;
8085
8086     *)
8087       lt_prog_compiler_pic='-fPIC'
8088       ;;
8089     esac
8090
8091     case $cc_basename in
8092     nvcc*) # Cuda Compiler Driver 2.2
8093       lt_prog_compiler_wl='-Xlinker '
8094       if test -n "$lt_prog_compiler_pic"; then
8095         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8096       fi
8097       ;;
8098     esac
8099   else
8100     # PORTME Check for flag to pass linker flags through the system compiler.
8101     case $host_os in
8102     aix*)
8103       lt_prog_compiler_wl='-Wl,'
8104       if test "$host_cpu" = ia64; then
8105         # AIX 5 now supports IA64 processor
8106         lt_prog_compiler_static='-Bstatic'
8107       else
8108         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8109       fi
8110       ;;
8111
8112     mingw* | cygwin* | pw32* | os2* | cegcc*)
8113       # This hack is so that the source file can tell whether it is being
8114       # built for inclusion in a dll (and should export symbols for example).
8115       lt_prog_compiler_pic='-DDLL_EXPORT'
8116       ;;
8117
8118     hpux9* | hpux10* | hpux11*)
8119       lt_prog_compiler_wl='-Wl,'
8120       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8121       # not for PA HP-UX.
8122       case $host_cpu in
8123       hppa*64*|ia64*)
8124         # +Z the default
8125         ;;
8126       *)
8127         lt_prog_compiler_pic='+Z'
8128         ;;
8129       esac
8130       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8131       lt_prog_compiler_static='${wl}-a ${wl}archive'
8132       ;;
8133
8134     irix5* | irix6* | nonstopux*)
8135       lt_prog_compiler_wl='-Wl,'
8136       # PIC (with -KPIC) is the default.
8137       lt_prog_compiler_static='-non_shared'
8138       ;;
8139
8140     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8141       case $cc_basename in
8142       # old Intel for x86_64 which still supported -KPIC.
8143       ecc*)
8144         lt_prog_compiler_wl='-Wl,'
8145         lt_prog_compiler_pic='-KPIC'
8146         lt_prog_compiler_static='-static'
8147         ;;
8148       # icc used to be incompatible with GCC.
8149       # ICC 10 doesn't accept -KPIC any more.
8150       icc* | ifort*)
8151         lt_prog_compiler_wl='-Wl,'
8152         lt_prog_compiler_pic='-fPIC'
8153         lt_prog_compiler_static='-static'
8154         ;;
8155       # Lahey Fortran 8.1.
8156       lf95*)
8157         lt_prog_compiler_wl='-Wl,'
8158         lt_prog_compiler_pic='--shared'
8159         lt_prog_compiler_static='--static'
8160         ;;
8161       nagfor*)
8162         # NAG Fortran compiler
8163         lt_prog_compiler_wl='-Wl,-Wl,,'
8164         lt_prog_compiler_pic='-PIC'
8165         lt_prog_compiler_static='-Bstatic'
8166         ;;
8167       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8168         # Portland Group compilers (*not* the Pentium gcc compiler,
8169         # which looks to be a dead project)
8170         lt_prog_compiler_wl='-Wl,'
8171         lt_prog_compiler_pic='-fpic'
8172         lt_prog_compiler_static='-Bstatic'
8173         ;;
8174       ccc*)
8175         lt_prog_compiler_wl='-Wl,'
8176         # All Alpha code is PIC.
8177         lt_prog_compiler_static='-non_shared'
8178         ;;
8179       xl* | bgxl* | bgf* | mpixl*)
8180         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8181         lt_prog_compiler_wl='-Wl,'
8182         lt_prog_compiler_pic='-qpic'
8183         lt_prog_compiler_static='-qstaticlink'
8184         ;;
8185       *)
8186         case `$CC -V 2>&1 | sed 5q` in
8187         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8188           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8189           lt_prog_compiler_pic='-KPIC'
8190           lt_prog_compiler_static='-Bstatic'
8191           lt_prog_compiler_wl=''
8192           ;;
8193         *Sun\ F* | *Sun*Fortran*)
8194           lt_prog_compiler_pic='-KPIC'
8195           lt_prog_compiler_static='-Bstatic'
8196           lt_prog_compiler_wl='-Qoption ld '
8197           ;;
8198         *Sun\ C*)
8199           # Sun C 5.9
8200           lt_prog_compiler_pic='-KPIC'
8201           lt_prog_compiler_static='-Bstatic'
8202           lt_prog_compiler_wl='-Wl,'
8203           ;;
8204         *Intel*\ [CF]*Compiler*)
8205           lt_prog_compiler_wl='-Wl,'
8206           lt_prog_compiler_pic='-fPIC'
8207           lt_prog_compiler_static='-static'
8208           ;;
8209         *Portland\ Group*)
8210           lt_prog_compiler_wl='-Wl,'
8211           lt_prog_compiler_pic='-fpic'
8212           lt_prog_compiler_static='-Bstatic'
8213           ;;
8214         esac
8215         ;;
8216       esac
8217       ;;
8218
8219     newsos6)
8220       lt_prog_compiler_pic='-KPIC'
8221       lt_prog_compiler_static='-Bstatic'
8222       ;;
8223
8224     *nto* | *qnx*)
8225       # QNX uses GNU C++, but need to define -shared option too, otherwise
8226       # it will coredump.
8227       lt_prog_compiler_pic='-fPIC -shared'
8228       ;;
8229
8230     osf3* | osf4* | osf5*)
8231       lt_prog_compiler_wl='-Wl,'
8232       # All OSF/1 code is PIC.
8233       lt_prog_compiler_static='-non_shared'
8234       ;;
8235
8236     rdos*)
8237       lt_prog_compiler_static='-non_shared'
8238       ;;
8239
8240     solaris*)
8241       lt_prog_compiler_pic='-KPIC'
8242       lt_prog_compiler_static='-Bstatic'
8243       case $cc_basename in
8244       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8245         lt_prog_compiler_wl='-Qoption ld ';;
8246       *)
8247         lt_prog_compiler_wl='-Wl,';;
8248       esac
8249       ;;
8250
8251     sunos4*)
8252       lt_prog_compiler_wl='-Qoption ld '
8253       lt_prog_compiler_pic='-PIC'
8254       lt_prog_compiler_static='-Bstatic'
8255       ;;
8256
8257     sysv4 | sysv4.2uw2* | sysv4.3*)
8258       lt_prog_compiler_wl='-Wl,'
8259       lt_prog_compiler_pic='-KPIC'
8260       lt_prog_compiler_static='-Bstatic'
8261       ;;
8262
8263     sysv4*MP*)
8264       if test -d /usr/nec ;then
8265         lt_prog_compiler_pic='-Kconform_pic'
8266         lt_prog_compiler_static='-Bstatic'
8267       fi
8268       ;;
8269
8270     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8271       lt_prog_compiler_wl='-Wl,'
8272       lt_prog_compiler_pic='-KPIC'
8273       lt_prog_compiler_static='-Bstatic'
8274       ;;
8275
8276     unicos*)
8277       lt_prog_compiler_wl='-Wl,'
8278       lt_prog_compiler_can_build_shared=no
8279       ;;
8280
8281     uts4*)
8282       lt_prog_compiler_pic='-pic'
8283       lt_prog_compiler_static='-Bstatic'
8284       ;;
8285
8286     *)
8287       lt_prog_compiler_can_build_shared=no
8288       ;;
8289     esac
8290   fi
8291
8292 case $host_os in
8293   # For platforms which do not support PIC, -DPIC is meaningless:
8294   *djgpp*)
8295     lt_prog_compiler_pic=
8296     ;;
8297   *)
8298     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8299     ;;
8300 esac
8301
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8303 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8304 if ${lt_cv_prog_compiler_pic+:} false; then :
8305   $as_echo_n "(cached) " >&6
8306 else
8307   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8308 fi
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8310 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8311 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8312
8313 #
8314 # Check to make sure the PIC flag actually works.
8315 #
8316 if test -n "$lt_prog_compiler_pic"; then
8317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8318 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8319 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8320   $as_echo_n "(cached) " >&6
8321 else
8322   lt_cv_prog_compiler_pic_works=no
8323    ac_outfile=conftest.$ac_objext
8324    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8325    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8326    # Insert the option either (1) after the last *FLAGS variable, or
8327    # (2) before a word containing "conftest.", or (3) at the end.
8328    # Note that $ac_compile itself does not contain backslashes and begins
8329    # with a dollar sign (not a hyphen), so the echo should work correctly.
8330    # The option is referenced via a variable to avoid confusing sed.
8331    lt_compile=`echo "$ac_compile" | $SED \
8332    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8333    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8334    -e 's:$: $lt_compiler_flag:'`
8335    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8336    (eval "$lt_compile" 2>conftest.err)
8337    ac_status=$?
8338    cat conftest.err >&5
8339    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340    if (exit $ac_status) && test -s "$ac_outfile"; then
8341      # The compiler can only warn and ignore the option if not recognized
8342      # So say no if there are warnings other than the usual output.
8343      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8344      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8345      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8346        lt_cv_prog_compiler_pic_works=yes
8347      fi
8348    fi
8349    $RM conftest*
8350
8351 fi
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8353 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8354
8355 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8356     case $lt_prog_compiler_pic in
8357      "" | " "*) ;;
8358      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8359      esac
8360 else
8361     lt_prog_compiler_pic=
8362      lt_prog_compiler_can_build_shared=no
8363 fi
8364
8365 fi
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377 #
8378 # Check to make sure the static flag actually works.
8379 #
8380 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8382 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8383 if ${lt_cv_prog_compiler_static_works+:} false; then :
8384   $as_echo_n "(cached) " >&6
8385 else
8386   lt_cv_prog_compiler_static_works=no
8387    save_LDFLAGS="$LDFLAGS"
8388    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8389    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8390    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8391      # The linker can only warn and ignore the option if not recognized
8392      # So say no if there are warnings
8393      if test -s conftest.err; then
8394        # Append any errors to the config.log.
8395        cat conftest.err 1>&5
8396        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8397        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8398        if diff conftest.exp conftest.er2 >/dev/null; then
8399          lt_cv_prog_compiler_static_works=yes
8400        fi
8401      else
8402        lt_cv_prog_compiler_static_works=yes
8403      fi
8404    fi
8405    $RM -r conftest*
8406    LDFLAGS="$save_LDFLAGS"
8407
8408 fi
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8410 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8411
8412 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8413     :
8414 else
8415     lt_prog_compiler_static=
8416 fi
8417
8418
8419
8420
8421
8422
8423
8424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8425 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8426 if ${lt_cv_prog_compiler_c_o+:} false; then :
8427   $as_echo_n "(cached) " >&6
8428 else
8429   lt_cv_prog_compiler_c_o=no
8430    $RM -r conftest 2>/dev/null
8431    mkdir conftest
8432    cd conftest
8433    mkdir out
8434    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8435
8436    lt_compiler_flag="-o out/conftest2.$ac_objext"
8437    # Insert the option either (1) after the last *FLAGS variable, or
8438    # (2) before a word containing "conftest.", or (3) at the end.
8439    # Note that $ac_compile itself does not contain backslashes and begins
8440    # with a dollar sign (not a hyphen), so the echo should work correctly.
8441    lt_compile=`echo "$ac_compile" | $SED \
8442    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8443    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8444    -e 's:$: $lt_compiler_flag:'`
8445    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8446    (eval "$lt_compile" 2>out/conftest.err)
8447    ac_status=$?
8448    cat out/conftest.err >&5
8449    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8451    then
8452      # The compiler can only warn and ignore the option if not recognized
8453      # So say no if there are warnings
8454      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8455      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8456      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8457        lt_cv_prog_compiler_c_o=yes
8458      fi
8459    fi
8460    chmod u+w . 2>&5
8461    $RM conftest*
8462    # SGI C++ compiler will create directory out/ii_files/ for
8463    # template instantiation
8464    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8465    $RM out/* && rmdir out
8466    cd ..
8467    $RM -r conftest
8468    $RM conftest*
8469
8470 fi
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8472 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8473
8474
8475
8476
8477
8478
8479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8480 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8481 if ${lt_cv_prog_compiler_c_o+:} false; then :
8482   $as_echo_n "(cached) " >&6
8483 else
8484   lt_cv_prog_compiler_c_o=no
8485    $RM -r conftest 2>/dev/null
8486    mkdir conftest
8487    cd conftest
8488    mkdir out
8489    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8490
8491    lt_compiler_flag="-o out/conftest2.$ac_objext"
8492    # Insert the option either (1) after the last *FLAGS variable, or
8493    # (2) before a word containing "conftest.", or (3) at the end.
8494    # Note that $ac_compile itself does not contain backslashes and begins
8495    # with a dollar sign (not a hyphen), so the echo should work correctly.
8496    lt_compile=`echo "$ac_compile" | $SED \
8497    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8498    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8499    -e 's:$: $lt_compiler_flag:'`
8500    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8501    (eval "$lt_compile" 2>out/conftest.err)
8502    ac_status=$?
8503    cat out/conftest.err >&5
8504    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8506    then
8507      # The compiler can only warn and ignore the option if not recognized
8508      # So say no if there are warnings
8509      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8510      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8511      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8512        lt_cv_prog_compiler_c_o=yes
8513      fi
8514    fi
8515    chmod u+w . 2>&5
8516    $RM conftest*
8517    # SGI C++ compiler will create directory out/ii_files/ for
8518    # template instantiation
8519    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8520    $RM out/* && rmdir out
8521    cd ..
8522    $RM -r conftest
8523    $RM conftest*
8524
8525 fi
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8527 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8528
8529
8530
8531
8532 hard_links="nottested"
8533 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8534   # do not overwrite the value of need_locks provided by the user
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8536 $as_echo_n "checking if we can lock with hard links... " >&6; }
8537   hard_links=yes
8538   $RM conftest*
8539   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8540   touch conftest.a
8541   ln conftest.a conftest.b 2>&5 || hard_links=no
8542   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8544 $as_echo "$hard_links" >&6; }
8545   if test "$hard_links" = no; then
8546     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8547 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8548     need_locks=warn
8549   fi
8550 else
8551   need_locks=no
8552 fi
8553
8554
8555
8556
8557
8558
8559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8560 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8561
8562   runpath_var=
8563   allow_undefined_flag=
8564   always_export_symbols=no
8565   archive_cmds=
8566   archive_expsym_cmds=
8567   compiler_needs_object=no
8568   enable_shared_with_static_runtimes=no
8569   export_dynamic_flag_spec=
8570   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8571   hardcode_automatic=no
8572   hardcode_direct=no
8573   hardcode_direct_absolute=no
8574   hardcode_libdir_flag_spec=
8575   hardcode_libdir_separator=
8576   hardcode_minus_L=no
8577   hardcode_shlibpath_var=unsupported
8578   inherit_rpath=no
8579   link_all_deplibs=unknown
8580   module_cmds=
8581   module_expsym_cmds=
8582   old_archive_from_new_cmds=
8583   old_archive_from_expsyms_cmds=
8584   thread_safe_flag_spec=
8585   whole_archive_flag_spec=
8586   # include_expsyms should be a list of space-separated symbols to be *always*
8587   # included in the symbol list
8588   include_expsyms=
8589   # exclude_expsyms can be an extended regexp of symbols to exclude
8590   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8591   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8592   # as well as any symbol that contains `d'.
8593   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8594   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8595   # platforms (ab)use it in PIC code, but their linkers get confused if
8596   # the symbol is explicitly referenced.  Since portable code cannot
8597   # rely on this symbol name, it's probably fine to never include it in
8598   # preloaded symbol tables.
8599   # Exclude shared library initialization/finalization symbols.
8600   extract_expsyms_cmds=
8601
8602   case $host_os in
8603   cygwin* | mingw* | pw32* | cegcc*)
8604     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8605     # When not using gcc, we currently assume that we are using
8606     # Microsoft Visual C++.
8607     if test "$GCC" != yes; then
8608       with_gnu_ld=no
8609     fi
8610     ;;
8611   interix*)
8612     # we just hope/assume this is gcc and not c89 (= MSVC++)
8613     with_gnu_ld=yes
8614     ;;
8615   openbsd*)
8616     with_gnu_ld=no
8617     ;;
8618   esac
8619
8620   ld_shlibs=yes
8621
8622   # On some targets, GNU ld is compatible enough with the native linker
8623   # that we're better off using the native interface for both.
8624   lt_use_gnu_ld_interface=no
8625   if test "$with_gnu_ld" = yes; then
8626     case $host_os in
8627       aix*)
8628         # The AIX port of GNU ld has always aspired to compatibility
8629         # with the native linker.  However, as the warning in the GNU ld
8630         # block says, versions before 2.19.5* couldn't really create working
8631         # shared libraries, regardless of the interface used.
8632         case `$LD -v 2>&1` in
8633           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8634           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8635           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8636           *)
8637             lt_use_gnu_ld_interface=yes
8638             ;;
8639         esac
8640         ;;
8641       *)
8642         lt_use_gnu_ld_interface=yes
8643         ;;
8644     esac
8645   fi
8646
8647   if test "$lt_use_gnu_ld_interface" = yes; then
8648     # If archive_cmds runs LD, not CC, wlarc should be empty
8649     wlarc='${wl}'
8650
8651     # Set some defaults for GNU ld with shared library support. These
8652     # are reset later if shared libraries are not supported. Putting them
8653     # here allows them to be overridden if necessary.
8654     runpath_var=LD_RUN_PATH
8655     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8656     export_dynamic_flag_spec='${wl}--export-dynamic'
8657     # ancient GNU ld didn't support --whole-archive et. al.
8658     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8659       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8660     else
8661       whole_archive_flag_spec=
8662     fi
8663     supports_anon_versioning=no
8664     case `$LD -v 2>&1` in
8665       *GNU\ gold*) supports_anon_versioning=yes ;;
8666       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8667       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8668       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8669       *\ 2.11.*) ;; # other 2.11 versions
8670       *) supports_anon_versioning=yes ;;
8671     esac
8672
8673     # See if GNU ld supports shared libraries.
8674     case $host_os in
8675     aix[3-9]*)
8676       # On AIX/PPC, the GNU linker is very broken
8677       if test "$host_cpu" != ia64; then
8678         ld_shlibs=no
8679         cat <<_LT_EOF 1>&2
8680
8681 *** Warning: the GNU linker, at least up to release 2.19, is reported
8682 *** to be unable to reliably create shared libraries on AIX.
8683 *** Therefore, libtool is disabling shared libraries support.  If you
8684 *** really care for shared libraries, you may want to install binutils
8685 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8686 *** You will then need to restart the configuration process.
8687
8688 _LT_EOF
8689       fi
8690       ;;
8691
8692     amigaos*)
8693       case $host_cpu in
8694       powerpc)
8695             # see comment about AmigaOS4 .so support
8696             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8697             archive_expsym_cmds=''
8698         ;;
8699       m68k)
8700             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)'
8701             hardcode_libdir_flag_spec='-L$libdir'
8702             hardcode_minus_L=yes
8703         ;;
8704       esac
8705       ;;
8706
8707     beos*)
8708       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8709         allow_undefined_flag=unsupported
8710         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8711         # support --undefined.  This deserves some investigation.  FIXME
8712         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8713       else
8714         ld_shlibs=no
8715       fi
8716       ;;
8717
8718     cygwin* | mingw* | pw32* | cegcc*)
8719       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8720       # as there is no search path for DLLs.
8721       hardcode_libdir_flag_spec='-L$libdir'
8722       export_dynamic_flag_spec='${wl}--export-all-symbols'
8723       allow_undefined_flag=unsupported
8724       always_export_symbols=no
8725       enable_shared_with_static_runtimes=yes
8726       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8727       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8728
8729       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8730         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8731         # If the export-symbols file already is a .def file (1st line
8732         # is EXPORTS), use it as is; otherwise, prepend...
8733         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8734           cp $export_symbols $output_objdir/$soname.def;
8735         else
8736           echo EXPORTS > $output_objdir/$soname.def;
8737           cat $export_symbols >> $output_objdir/$soname.def;
8738         fi~
8739         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8740       else
8741         ld_shlibs=no
8742       fi
8743       ;;
8744
8745     haiku*)
8746       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747       link_all_deplibs=yes
8748       ;;
8749
8750     interix[3-9]*)
8751       hardcode_direct=no
8752       hardcode_shlibpath_var=no
8753       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8754       export_dynamic_flag_spec='${wl}-E'
8755       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8756       # Instead, shared libraries are loaded at an image base (0x10000000 by
8757       # default) and relocated if they conflict, which is a slow very memory
8758       # consuming and fragmenting process.  To avoid this, we pick a random,
8759       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8760       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8761       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8762       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'
8763       ;;
8764
8765     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8766       tmp_diet=no
8767       if test "$host_os" = linux-dietlibc; then
8768         case $cc_basename in
8769           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8770         esac
8771       fi
8772       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8773          && test "$tmp_diet" = no
8774       then
8775         tmp_addflag=' $pic_flag'
8776         tmp_sharedflag='-shared'
8777         case $cc_basename,$host_cpu in
8778         pgcc*)                          # Portland Group C compiler
8779           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8780           tmp_addflag=' $pic_flag'
8781           ;;
8782         pgf77* | pgf90* | pgf95* | pgfortran*)
8783                                         # Portland Group f77 and f90 compilers
8784           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8785           tmp_addflag=' $pic_flag -Mnomain' ;;
8786         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8787           tmp_addflag=' -i_dynamic' ;;
8788         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8789           tmp_addflag=' -i_dynamic -nofor_main' ;;
8790         ifc* | ifort*)                  # Intel Fortran compiler
8791           tmp_addflag=' -nofor_main' ;;
8792         lf95*)                          # Lahey Fortran 8.1
8793           whole_archive_flag_spec=
8794           tmp_sharedflag='--shared' ;;
8795         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8796           tmp_sharedflag='-qmkshrobj'
8797           tmp_addflag= ;;
8798         nvcc*)  # Cuda Compiler Driver 2.2
8799           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8800           compiler_needs_object=yes
8801           ;;
8802         esac
8803         case `$CC -V 2>&1 | sed 5q` in
8804         *Sun\ C*)                       # Sun C 5.9
8805           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8806           compiler_needs_object=yes
8807           tmp_sharedflag='-G' ;;
8808         *Sun\ F*)                       # Sun Fortran 8.3
8809           tmp_sharedflag='-G' ;;
8810         esac
8811         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8812
8813         if test "x$supports_anon_versioning" = xyes; then
8814           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8815             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8816             echo "local: *; };" >> $output_objdir/$libname.ver~
8817             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8818         fi
8819
8820         case $cc_basename in
8821         xlf* | bgf* | bgxlf* | mpixlf*)
8822           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8823           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8824           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8825           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8826           if test "x$supports_anon_versioning" = xyes; then
8827             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8828               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8829               echo "local: *; };" >> $output_objdir/$libname.ver~
8830               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8831           fi
8832           ;;
8833         esac
8834       else
8835         ld_shlibs=no
8836       fi
8837       ;;
8838
8839     netbsd*)
8840       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8841         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8842         wlarc=
8843       else
8844         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8846       fi
8847       ;;
8848
8849     solaris*)
8850       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8851         ld_shlibs=no
8852         cat <<_LT_EOF 1>&2
8853
8854 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8855 *** create shared libraries on Solaris systems.  Therefore, libtool
8856 *** is disabling shared libraries support.  We urge you to upgrade GNU
8857 *** binutils to release 2.9.1 or newer.  Another option is to modify
8858 *** your PATH or compiler configuration so that the native linker is
8859 *** used, and then restart.
8860
8861 _LT_EOF
8862       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8863         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8865       else
8866         ld_shlibs=no
8867       fi
8868       ;;
8869
8870     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8871       case `$LD -v 2>&1` in
8872         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8873         ld_shlibs=no
8874         cat <<_LT_EOF 1>&2
8875
8876 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8877 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8878 *** is disabling shared libraries support.  We urge you to upgrade GNU
8879 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8880 *** your PATH or compiler configuration so that the native linker is
8881 *** used, and then restart.
8882
8883 _LT_EOF
8884         ;;
8885         *)
8886           # For security reasons, it is highly recommended that you always
8887           # use absolute paths for naming shared libraries, and exclude the
8888           # DT_RUNPATH tag from executables and libraries.  But doing so
8889           # requires that you compile everything twice, which is a pain.
8890           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8891             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8893             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8894           else
8895             ld_shlibs=no
8896           fi
8897         ;;
8898       esac
8899       ;;
8900
8901     sunos4*)
8902       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8903       wlarc=
8904       hardcode_direct=yes
8905       hardcode_shlibpath_var=no
8906       ;;
8907
8908     *)
8909       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8910         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8912       else
8913         ld_shlibs=no
8914       fi
8915       ;;
8916     esac
8917
8918     if test "$ld_shlibs" = no; then
8919       runpath_var=
8920       hardcode_libdir_flag_spec=
8921       export_dynamic_flag_spec=
8922       whole_archive_flag_spec=
8923     fi
8924   else
8925     # PORTME fill in a description of your system's linker (not GNU ld)
8926     case $host_os in
8927     aix3*)
8928       allow_undefined_flag=unsupported
8929       always_export_symbols=yes
8930       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'
8931       # Note: this linker hardcodes the directories in LIBPATH if there
8932       # are no directories specified by -L.
8933       hardcode_minus_L=yes
8934       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8935         # Neither direct hardcoding nor static linking is supported with a
8936         # broken collect2.
8937         hardcode_direct=unsupported
8938       fi
8939       ;;
8940
8941     aix[4-9]*)
8942       if test "$host_cpu" = ia64; then
8943         # On IA64, the linker does run time linking by default, so we don't
8944         # have to do anything special.
8945         aix_use_runtimelinking=no
8946         exp_sym_flag='-Bexport'
8947         no_entry_flag=""
8948       else
8949         # If we're using GNU nm, then we don't want the "-C" option.
8950         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8951         # Also, AIX nm treats weak defined symbols like other global
8952         # defined symbols, whereas GNU nm marks them as "W".
8953         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8954           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8955         else
8956           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'
8957         fi
8958         aix_use_runtimelinking=no
8959
8960         # Test if we are trying to use run time linking or normal
8961         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8962         # need to do runtime linking.
8963         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8964           for ld_flag in $LDFLAGS; do
8965           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8966             aix_use_runtimelinking=yes
8967             break
8968           fi
8969           done
8970           ;;
8971         esac
8972
8973         exp_sym_flag='-bexport'
8974         no_entry_flag='-bnoentry'
8975       fi
8976
8977       # When large executables or shared objects are built, AIX ld can
8978       # have problems creating the table of contents.  If linking a library
8979       # or program results in "error TOC overflow" add -mminimal-toc to
8980       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8981       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8982
8983       archive_cmds=''
8984       hardcode_direct=yes
8985       hardcode_direct_absolute=yes
8986       hardcode_libdir_separator=':'
8987       link_all_deplibs=yes
8988       file_list_spec='${wl}-f,'
8989
8990       if test "$GCC" = yes; then
8991         case $host_os in aix4.[012]|aix4.[012].*)
8992         # We only want to do this on AIX 4.2 and lower, the check
8993         # below for broken collect2 doesn't work under 4.3+
8994           collect2name=`${CC} -print-prog-name=collect2`
8995           if test -f "$collect2name" &&
8996            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8997           then
8998           # We have reworked collect2
8999           :
9000           else
9001           # We have old collect2
9002           hardcode_direct=unsupported
9003           # It fails to find uninstalled libraries when the uninstalled
9004           # path is not listed in the libpath.  Setting hardcode_minus_L
9005           # to unsupported forces relinking
9006           hardcode_minus_L=yes
9007           hardcode_libdir_flag_spec='-L$libdir'
9008           hardcode_libdir_separator=
9009           fi
9010           ;;
9011         esac
9012         shared_flag='-shared'
9013         if test "$aix_use_runtimelinking" = yes; then
9014           shared_flag="$shared_flag "'${wl}-G'
9015         fi
9016       else
9017         # not using gcc
9018         if test "$host_cpu" = ia64; then
9019         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9020         # chokes on -Wl,-G. The following line is correct:
9021           shared_flag='-G'
9022         else
9023           if test "$aix_use_runtimelinking" = yes; then
9024             shared_flag='${wl}-G'
9025           else
9026             shared_flag='${wl}-bM:SRE'
9027           fi
9028         fi
9029       fi
9030
9031       export_dynamic_flag_spec='${wl}-bexpall'
9032       # It seems that -bexpall does not export symbols beginning with
9033       # underscore (_), so it is better to generate a list of symbols to export.
9034       always_export_symbols=yes
9035       if test "$aix_use_runtimelinking" = yes; then
9036         # Warning - without using the other runtime loading flags (-brtl),
9037         # -berok will link without error, but may produce a broken library.
9038         allow_undefined_flag='-berok'
9039         # Determine the default libpath from the value encoded in an
9040         # empty executable.
9041         if test "${lt_cv_aix_libpath+set}" = set; then
9042   aix_libpath=$lt_cv_aix_libpath
9043 else
9044   if ${lt_cv_aix_libpath_+:} false; then :
9045   $as_echo_n "(cached) " >&6
9046 else
9047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h.  */
9049
9050 int
9051 main ()
9052 {
9053
9054   ;
9055   return 0;
9056 }
9057 _ACEOF
9058 if ac_fn_c_try_link "$LINENO"; then :
9059
9060   lt_aix_libpath_sed='
9061       /Import File Strings/,/^$/ {
9062           /^0/ {
9063               s/^0  *\([^ ]*\) *$/\1/
9064               p
9065           }
9066       }'
9067   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9068   # Check for a 64-bit object if we didn't find anything.
9069   if test -z "$lt_cv_aix_libpath_"; then
9070     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9071   fi
9072 fi
9073 rm -f core conftest.err conftest.$ac_objext \
9074     conftest$ac_exeext conftest.$ac_ext
9075   if test -z "$lt_cv_aix_libpath_"; then
9076     lt_cv_aix_libpath_="/usr/lib:/lib"
9077   fi
9078
9079 fi
9080
9081   aix_libpath=$lt_cv_aix_libpath_
9082 fi
9083
9084         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9085         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9086       else
9087         if test "$host_cpu" = ia64; then
9088           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9089           allow_undefined_flag="-z nodefs"
9090           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"
9091         else
9092          # Determine the default libpath from the value encoded in an
9093          # empty executable.
9094          if test "${lt_cv_aix_libpath+set}" = set; then
9095   aix_libpath=$lt_cv_aix_libpath
9096 else
9097   if ${lt_cv_aix_libpath_+:} false; then :
9098   $as_echo_n "(cached) " >&6
9099 else
9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h.  */
9102
9103 int
9104 main ()
9105 {
9106
9107   ;
9108   return 0;
9109 }
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112
9113   lt_aix_libpath_sed='
9114       /Import File Strings/,/^$/ {
9115           /^0/ {
9116               s/^0  *\([^ ]*\) *$/\1/
9117               p
9118           }
9119       }'
9120   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9121   # Check for a 64-bit object if we didn't find anything.
9122   if test -z "$lt_cv_aix_libpath_"; then
9123     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9124   fi
9125 fi
9126 rm -f core conftest.err conftest.$ac_objext \
9127     conftest$ac_exeext conftest.$ac_ext
9128   if test -z "$lt_cv_aix_libpath_"; then
9129     lt_cv_aix_libpath_="/usr/lib:/lib"
9130   fi
9131
9132 fi
9133
9134   aix_libpath=$lt_cv_aix_libpath_
9135 fi
9136
9137          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9138           # Warning - without using the other run time loading flags,
9139           # -berok will link without error, but may produce a broken library.
9140           no_undefined_flag=' ${wl}-bernotok'
9141           allow_undefined_flag=' ${wl}-berok'
9142           if test "$with_gnu_ld" = yes; then
9143             # We only use this code for GNU lds that support --whole-archive.
9144             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9145           else
9146             # Exported symbols can be pulled into shared objects from archives
9147             whole_archive_flag_spec='$convenience'
9148           fi
9149           archive_cmds_need_lc=yes
9150           # This is similar to how AIX traditionally builds its shared libraries.
9151           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'
9152         fi
9153       fi
9154       ;;
9155
9156     amigaos*)
9157       case $host_cpu in
9158       powerpc)
9159             # see comment about AmigaOS4 .so support
9160             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161             archive_expsym_cmds=''
9162         ;;
9163       m68k)
9164             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)'
9165             hardcode_libdir_flag_spec='-L$libdir'
9166             hardcode_minus_L=yes
9167         ;;
9168       esac
9169       ;;
9170
9171     bsdi[45]*)
9172       export_dynamic_flag_spec=-rdynamic
9173       ;;
9174
9175     cygwin* | mingw* | pw32* | cegcc*)
9176       # When not using gcc, we currently assume that we are using
9177       # Microsoft Visual C++.
9178       # hardcode_libdir_flag_spec is actually meaningless, as there is
9179       # no search path for DLLs.
9180       case $cc_basename in
9181       cl*)
9182         # Native MSVC
9183         hardcode_libdir_flag_spec=' '
9184         allow_undefined_flag=unsupported
9185         always_export_symbols=yes
9186         file_list_spec='@'
9187         # Tell ltmain to make .lib files, not .a files.
9188         libext=lib
9189         # Tell ltmain to make .dll files, not .so files.
9190         shrext_cmds=".dll"
9191         # FIXME: Setting linknames here is a bad hack.
9192         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9193         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9194             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9195           else
9196             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9197           fi~
9198           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9199           linknames='
9200         # The linker will not automatically build a static lib if we build a DLL.
9201         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9202         enable_shared_with_static_runtimes=yes
9203         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9204         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9205         # Don't use ranlib
9206         old_postinstall_cmds='chmod 644 $oldlib'
9207         postlink_cmds='lt_outputfile="@OUTPUT@"~
9208           lt_tool_outputfile="@TOOL_OUTPUT@"~
9209           case $lt_outputfile in
9210             *.exe|*.EXE) ;;
9211             *)
9212               lt_outputfile="$lt_outputfile.exe"
9213               lt_tool_outputfile="$lt_tool_outputfile.exe"
9214               ;;
9215           esac~
9216           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9217             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9218             $RM "$lt_outputfile.manifest";
9219           fi'
9220         ;;
9221       *)
9222         # Assume MSVC wrapper
9223         hardcode_libdir_flag_spec=' '
9224         allow_undefined_flag=unsupported
9225         # Tell ltmain to make .lib files, not .a files.
9226         libext=lib
9227         # Tell ltmain to make .dll files, not .so files.
9228         shrext_cmds=".dll"
9229         # FIXME: Setting linknames here is a bad hack.
9230         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9231         # The linker will automatically build a .lib file if we build a DLL.
9232         old_archive_from_new_cmds='true'
9233         # FIXME: Should let the user specify the lib program.
9234         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9235         enable_shared_with_static_runtimes=yes
9236         ;;
9237       esac
9238       ;;
9239
9240     darwin* | rhapsody*)
9241
9242
9243   archive_cmds_need_lc=no
9244   hardcode_direct=no
9245   hardcode_automatic=yes
9246   hardcode_shlibpath_var=unsupported
9247   if test "$lt_cv_ld_force_load" = "yes"; then
9248     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9249
9250   else
9251     whole_archive_flag_spec=''
9252   fi
9253   link_all_deplibs=yes
9254   allow_undefined_flag="$_lt_dar_allow_undefined"
9255   case $cc_basename in
9256      ifort*) _lt_dar_can_shared=yes ;;
9257      *) _lt_dar_can_shared=$GCC ;;
9258   esac
9259   if test "$_lt_dar_can_shared" = "yes"; then
9260     output_verbose_link_cmd=func_echo_all
9261     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9262     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9263     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9264     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9265
9266   else
9267   ld_shlibs=no
9268   fi
9269
9270       ;;
9271
9272     dgux*)
9273       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9274       hardcode_libdir_flag_spec='-L$libdir'
9275       hardcode_shlibpath_var=no
9276       ;;
9277
9278     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9279     # support.  Future versions do this automatically, but an explicit c++rt0.o
9280     # does not break anything, and helps significantly (at the cost of a little
9281     # extra space).
9282     freebsd2.2*)
9283       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9284       hardcode_libdir_flag_spec='-R$libdir'
9285       hardcode_direct=yes
9286       hardcode_shlibpath_var=no
9287       ;;
9288
9289     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9290     freebsd2.*)
9291       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9292       hardcode_direct=yes
9293       hardcode_minus_L=yes
9294       hardcode_shlibpath_var=no
9295       ;;
9296
9297     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9298     freebsd* | dragonfly*)
9299       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9300       hardcode_libdir_flag_spec='-R$libdir'
9301       hardcode_direct=yes
9302       hardcode_shlibpath_var=no
9303       ;;
9304
9305     hpux9*)
9306       if test "$GCC" = yes; then
9307         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9308       else
9309         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'
9310       fi
9311       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9312       hardcode_libdir_separator=:
9313       hardcode_direct=yes
9314
9315       # hardcode_minus_L: Not really in the search PATH,
9316       # but as the default location of the library.
9317       hardcode_minus_L=yes
9318       export_dynamic_flag_spec='${wl}-E'
9319       ;;
9320
9321     hpux10*)
9322       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9323         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9324       else
9325         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9326       fi
9327       if test "$with_gnu_ld" = no; then
9328         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9329         hardcode_libdir_separator=:
9330         hardcode_direct=yes
9331         hardcode_direct_absolute=yes
9332         export_dynamic_flag_spec='${wl}-E'
9333         # hardcode_minus_L: Not really in the search PATH,
9334         # but as the default location of the library.
9335         hardcode_minus_L=yes
9336       fi
9337       ;;
9338
9339     hpux11*)
9340       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9341         case $host_cpu in
9342         hppa*64*)
9343           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9344           ;;
9345         ia64*)
9346           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9347           ;;
9348         *)
9349           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9350           ;;
9351         esac
9352       else
9353         case $host_cpu in
9354         hppa*64*)
9355           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9356           ;;
9357         ia64*)
9358           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9359           ;;
9360         *)
9361
9362           # Older versions of the 11.00 compiler do not understand -b yet
9363           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9364           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9365 $as_echo_n "checking if $CC understands -b... " >&6; }
9366 if ${lt_cv_prog_compiler__b+:} false; then :
9367   $as_echo_n "(cached) " >&6
9368 else
9369   lt_cv_prog_compiler__b=no
9370    save_LDFLAGS="$LDFLAGS"
9371    LDFLAGS="$LDFLAGS -b"
9372    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9373    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9374      # The linker can only warn and ignore the option if not recognized
9375      # So say no if there are warnings
9376      if test -s conftest.err; then
9377        # Append any errors to the config.log.
9378        cat conftest.err 1>&5
9379        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9380        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9381        if diff conftest.exp conftest.er2 >/dev/null; then
9382          lt_cv_prog_compiler__b=yes
9383        fi
9384      else
9385        lt_cv_prog_compiler__b=yes
9386      fi
9387    fi
9388    $RM -r conftest*
9389    LDFLAGS="$save_LDFLAGS"
9390
9391 fi
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9393 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9394
9395 if test x"$lt_cv_prog_compiler__b" = xyes; then
9396     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9397 else
9398     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9399 fi
9400
9401           ;;
9402         esac
9403       fi
9404       if test "$with_gnu_ld" = no; then
9405         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9406         hardcode_libdir_separator=:
9407
9408         case $host_cpu in
9409         hppa*64*|ia64*)
9410           hardcode_direct=no
9411           hardcode_shlibpath_var=no
9412           ;;
9413         *)
9414           hardcode_direct=yes
9415           hardcode_direct_absolute=yes
9416           export_dynamic_flag_spec='${wl}-E'
9417
9418           # hardcode_minus_L: Not really in the search PATH,
9419           # but as the default location of the library.
9420           hardcode_minus_L=yes
9421           ;;
9422         esac
9423       fi
9424       ;;
9425
9426     irix5* | irix6* | nonstopux*)
9427       if test "$GCC" = yes; then
9428         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9429         # Try to use the -exported_symbol ld option, if it does not
9430         # work, assume that -exports_file does not work either and
9431         # implicitly export all symbols.
9432         # This should be the same for all languages, so no per-tag cache variable.
9433         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9434 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9435 if ${lt_cv_irix_exported_symbol+:} false; then :
9436   $as_echo_n "(cached) " >&6
9437 else
9438   save_LDFLAGS="$LDFLAGS"
9439            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9440            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h.  */
9442 int foo (void) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445   lt_cv_irix_exported_symbol=yes
9446 else
9447   lt_cv_irix_exported_symbol=no
9448 fi
9449 rm -f core conftest.err conftest.$ac_objext \
9450     conftest$ac_exeext conftest.$ac_ext
9451            LDFLAGS="$save_LDFLAGS"
9452 fi
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9454 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9455         if test "$lt_cv_irix_exported_symbol" = yes; then
9456           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9457         fi
9458       else
9459         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9460         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9461       fi
9462       archive_cmds_need_lc='no'
9463       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464       hardcode_libdir_separator=:
9465       inherit_rpath=yes
9466       link_all_deplibs=yes
9467       ;;
9468
9469     netbsd*)
9470       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9471         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9472       else
9473         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9474       fi
9475       hardcode_libdir_flag_spec='-R$libdir'
9476       hardcode_direct=yes
9477       hardcode_shlibpath_var=no
9478       ;;
9479
9480     newsos6)
9481       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9482       hardcode_direct=yes
9483       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9484       hardcode_libdir_separator=:
9485       hardcode_shlibpath_var=no
9486       ;;
9487
9488     *nto* | *qnx*)
9489       ;;
9490
9491     openbsd*)
9492       if test -f /usr/libexec/ld.so; then
9493         hardcode_direct=yes
9494         hardcode_shlibpath_var=no
9495         hardcode_direct_absolute=yes
9496         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9497           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9498           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9499           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9500           export_dynamic_flag_spec='${wl}-E'
9501         else
9502           case $host_os in
9503            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9504              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9505              hardcode_libdir_flag_spec='-R$libdir'
9506              ;;
9507            *)
9508              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9509              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9510              ;;
9511           esac
9512         fi
9513       else
9514         ld_shlibs=no
9515       fi
9516       ;;
9517
9518     os2*)
9519       hardcode_libdir_flag_spec='-L$libdir'
9520       hardcode_minus_L=yes
9521       allow_undefined_flag=unsupported
9522       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'
9523       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9524       ;;
9525
9526     osf3*)
9527       if test "$GCC" = yes; then
9528         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9529         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9530       else
9531         allow_undefined_flag=' -expect_unresolved \*'
9532         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9533       fi
9534       archive_cmds_need_lc='no'
9535       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9536       hardcode_libdir_separator=:
9537       ;;
9538
9539     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9540       if test "$GCC" = yes; then
9541         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9542         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9543         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9544       else
9545         allow_undefined_flag=' -expect_unresolved \*'
9546         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9547         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9548         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9549
9550         # Both c and cxx compiler support -rpath directly
9551         hardcode_libdir_flag_spec='-rpath $libdir'
9552       fi
9553       archive_cmds_need_lc='no'
9554       hardcode_libdir_separator=:
9555       ;;
9556
9557     solaris*)
9558       no_undefined_flag=' -z defs'
9559       if test "$GCC" = yes; then
9560         wlarc='${wl}'
9561         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9563           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9564       else
9565         case `$CC -V 2>&1` in
9566         *"Compilers 5.0"*)
9567           wlarc=''
9568           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9570           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9571           ;;
9572         *)
9573           wlarc='${wl}'
9574           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9575           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9576           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9577           ;;
9578         esac
9579       fi
9580       hardcode_libdir_flag_spec='-R$libdir'
9581       hardcode_shlibpath_var=no
9582       case $host_os in
9583       solaris2.[0-5] | solaris2.[0-5].*) ;;
9584       *)
9585         # The compiler driver will combine and reorder linker options,
9586         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9587         # but is careful enough not to reorder.
9588         # Supported since Solaris 2.6 (maybe 2.5.1?)
9589         if test "$GCC" = yes; then
9590           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9591         else
9592           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9593         fi
9594         ;;
9595       esac
9596       link_all_deplibs=yes
9597       ;;
9598
9599     sunos4*)
9600       if test "x$host_vendor" = xsequent; then
9601         # Use $CC to link under sequent, because it throws in some extra .o
9602         # files that make .init and .fini sections work.
9603         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9604       else
9605         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9606       fi
9607       hardcode_libdir_flag_spec='-L$libdir'
9608       hardcode_direct=yes
9609       hardcode_minus_L=yes
9610       hardcode_shlibpath_var=no
9611       ;;
9612
9613     sysv4)
9614       case $host_vendor in
9615         sni)
9616           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9617           hardcode_direct=yes # is this really true???
9618         ;;
9619         siemens)
9620           ## LD is ld it makes a PLAMLIB
9621           ## CC just makes a GrossModule.
9622           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9623           reload_cmds='$CC -r -o $output$reload_objs'
9624           hardcode_direct=no
9625         ;;
9626         motorola)
9627           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9628           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9629         ;;
9630       esac
9631       runpath_var='LD_RUN_PATH'
9632       hardcode_shlibpath_var=no
9633       ;;
9634
9635     sysv4.3*)
9636       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637       hardcode_shlibpath_var=no
9638       export_dynamic_flag_spec='-Bexport'
9639       ;;
9640
9641     sysv4*MP*)
9642       if test -d /usr/nec; then
9643         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644         hardcode_shlibpath_var=no
9645         runpath_var=LD_RUN_PATH
9646         hardcode_runpath_var=yes
9647         ld_shlibs=yes
9648       fi
9649       ;;
9650
9651     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9652       no_undefined_flag='${wl}-z,text'
9653       archive_cmds_need_lc=no
9654       hardcode_shlibpath_var=no
9655       runpath_var='LD_RUN_PATH'
9656
9657       if test "$GCC" = yes; then
9658         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660       else
9661         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9662         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9663       fi
9664       ;;
9665
9666     sysv5* | sco3.2v5* | sco5v6*)
9667       # Note: We can NOT use -z defs as we might desire, because we do not
9668       # link with -lc, and that would cause any symbols used from libc to
9669       # always be unresolved, which means just about no library would
9670       # ever link correctly.  If we're not using GNU ld we use -z text
9671       # though, which does catch some bad symbols but isn't as heavy-handed
9672       # as -z defs.
9673       no_undefined_flag='${wl}-z,text'
9674       allow_undefined_flag='${wl}-z,nodefs'
9675       archive_cmds_need_lc=no
9676       hardcode_shlibpath_var=no
9677       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9678       hardcode_libdir_separator=':'
9679       link_all_deplibs=yes
9680       export_dynamic_flag_spec='${wl}-Bexport'
9681       runpath_var='LD_RUN_PATH'
9682
9683       if test "$GCC" = yes; then
9684         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686       else
9687         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9688         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9689       fi
9690       ;;
9691
9692     uts4*)
9693       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9694       hardcode_libdir_flag_spec='-L$libdir'
9695       hardcode_shlibpath_var=no
9696       ;;
9697
9698     *)
9699       ld_shlibs=no
9700       ;;
9701     esac
9702
9703     if test x$host_vendor = xsni; then
9704       case $host in
9705       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9706         export_dynamic_flag_spec='${wl}-Blargedynsym'
9707         ;;
9708       esac
9709     fi
9710   fi
9711
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9713 $as_echo "$ld_shlibs" >&6; }
9714 test "$ld_shlibs" = no && can_build_shared=no
9715
9716 with_gnu_ld=$with_gnu_ld
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732 #
9733 # Do we need to explicitly link libc?
9734 #
9735 case "x$archive_cmds_need_lc" in
9736 x|xyes)
9737   # Assume -lc should be added
9738   archive_cmds_need_lc=yes
9739
9740   if test "$enable_shared" = yes && test "$GCC" = yes; then
9741     case $archive_cmds in
9742     *'~'*)
9743       # FIXME: we may have to deal with multi-command sequences.
9744       ;;
9745     '$CC '*)
9746       # Test whether the compiler implicitly links with -lc since on some
9747       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9748       # to ld, don't add -lc before -lgcc.
9749       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9750 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9751 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9752   $as_echo_n "(cached) " >&6
9753 else
9754   $RM conftest*
9755         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9756
9757         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9758   (eval $ac_compile) 2>&5
9759   ac_status=$?
9760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9761   test $ac_status = 0; } 2>conftest.err; then
9762           soname=conftest
9763           lib=conftest
9764           libobjs=conftest.$ac_objext
9765           deplibs=
9766           wl=$lt_prog_compiler_wl
9767           pic_flag=$lt_prog_compiler_pic
9768           compiler_flags=-v
9769           linker_flags=-v
9770           verstring=
9771           output_objdir=.
9772           libname=conftest
9773           lt_save_allow_undefined_flag=$allow_undefined_flag
9774           allow_undefined_flag=
9775           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9776   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9777   ac_status=$?
9778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9779   test $ac_status = 0; }
9780           then
9781             lt_cv_archive_cmds_need_lc=no
9782           else
9783             lt_cv_archive_cmds_need_lc=yes
9784           fi
9785           allow_undefined_flag=$lt_save_allow_undefined_flag
9786         else
9787           cat conftest.err 1>&5
9788         fi
9789         $RM conftest*
9790
9791 fi
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9793 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9794       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9795       ;;
9796     esac
9797   fi
9798   ;;
9799 esac
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9953 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9954
9955 if test "$GCC" = yes; then
9956   case $host_os in
9957     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9958     *) lt_awk_arg="/^libraries:/" ;;
9959   esac
9960   case $host_os in
9961     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9962     *) lt_sed_strip_eq="s,=/,/,g" ;;
9963   esac
9964   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9965   case $lt_search_path_spec in
9966   *\;*)
9967     # if the path contains ";" then we assume it to be the separator
9968     # otherwise default to the standard path separator (i.e. ":") - it is
9969     # assumed that no part of a normal pathname contains ";" but that should
9970     # okay in the real world where ";" in dirpaths is itself problematic.
9971     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9972     ;;
9973   *)
9974     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9975     ;;
9976   esac
9977   # Ok, now we have the path, separated by spaces, we can step through it
9978   # and add multilib dir if necessary.
9979   lt_tmp_lt_search_path_spec=
9980   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9981   for lt_sys_path in $lt_search_path_spec; do
9982     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9983       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9984     else
9985       test -d "$lt_sys_path" && \
9986         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9987     fi
9988   done
9989   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9990 BEGIN {RS=" "; FS="/|\n";} {
9991   lt_foo="";
9992   lt_count=0;
9993   for (lt_i = NF; lt_i > 0; lt_i--) {
9994     if ($lt_i != "" && $lt_i != ".") {
9995       if ($lt_i == "..") {
9996         lt_count++;
9997       } else {
9998         if (lt_count == 0) {
9999           lt_foo="/" $lt_i lt_foo;
10000         } else {
10001           lt_count--;
10002         }
10003       }
10004     }
10005   }
10006   if (lt_foo != "") { lt_freq[lt_foo]++; }
10007   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10008 }'`
10009   # AWK program above erroneously prepends '/' to C:/dos/paths
10010   # for these hosts.
10011   case $host_os in
10012     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10013       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10014   esac
10015   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10016 else
10017   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10018 fi
10019 library_names_spec=
10020 libname_spec='lib$name'
10021 soname_spec=
10022 shrext_cmds=".so"
10023 postinstall_cmds=
10024 postuninstall_cmds=
10025 finish_cmds=
10026 finish_eval=
10027 shlibpath_var=
10028 shlibpath_overrides_runpath=unknown
10029 version_type=none
10030 dynamic_linker="$host_os ld.so"
10031 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10032 need_lib_prefix=unknown
10033 hardcode_into_libs=no
10034
10035 # when you set need_version to no, make sure it does not cause -set_version
10036 # flags to be left without arguments
10037 need_version=unknown
10038
10039 case $host_os in
10040 aix3*)
10041   version_type=linux # correct to gnu/linux during the next big refactor
10042   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10043   shlibpath_var=LIBPATH
10044
10045   # AIX 3 has no versioning support, so we append a major version to the name.
10046   soname_spec='${libname}${release}${shared_ext}$major'
10047   ;;
10048
10049 aix[4-9]*)
10050   version_type=linux # correct to gnu/linux during the next big refactor
10051   need_lib_prefix=no
10052   need_version=no
10053   hardcode_into_libs=yes
10054   if test "$host_cpu" = ia64; then
10055     # AIX 5 supports IA64
10056     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10057     shlibpath_var=LD_LIBRARY_PATH
10058   else
10059     # With GCC up to 2.95.x, collect2 would create an import file
10060     # for dependence libraries.  The import file would start with
10061     # the line `#! .'.  This would cause the generated library to
10062     # depend on `.', always an invalid library.  This was fixed in
10063     # development snapshots of GCC prior to 3.0.
10064     case $host_os in
10065       aix4 | aix4.[01] | aix4.[01].*)
10066       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10067            echo ' yes '
10068            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10069         :
10070       else
10071         can_build_shared=no
10072       fi
10073       ;;
10074     esac
10075     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10076     # soname into executable. Probably we can add versioning support to
10077     # collect2, so additional links can be useful in future.
10078     if test "$aix_use_runtimelinking" = yes; then
10079       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10080       # instead of lib<name>.a to let people know that these are not
10081       # typical AIX shared libraries.
10082       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10083     else
10084       # We preserve .a as extension for shared libraries through AIX4.2
10085       # and later when we are not doing run time linking.
10086       library_names_spec='${libname}${release}.a $libname.a'
10087       soname_spec='${libname}${release}${shared_ext}$major'
10088     fi
10089     shlibpath_var=LIBPATH
10090   fi
10091   ;;
10092
10093 amigaos*)
10094   case $host_cpu in
10095   powerpc)
10096     # Since July 2007 AmigaOS4 officially supports .so libraries.
10097     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10098     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099     ;;
10100   m68k)
10101     library_names_spec='$libname.ixlibrary $libname.a'
10102     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10103     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10104     ;;
10105   esac
10106   ;;
10107
10108 beos*)
10109   library_names_spec='${libname}${shared_ext}'
10110   dynamic_linker="$host_os ld.so"
10111   shlibpath_var=LIBRARY_PATH
10112   ;;
10113
10114 bsdi[45]*)
10115   version_type=linux # correct to gnu/linux during the next big refactor
10116   need_version=no
10117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10118   soname_spec='${libname}${release}${shared_ext}$major'
10119   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10120   shlibpath_var=LD_LIBRARY_PATH
10121   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10122   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10123   # the default ld.so.conf also contains /usr/contrib/lib and
10124   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10125   # libtool to hard-code these into programs
10126   ;;
10127
10128 cygwin* | mingw* | pw32* | cegcc*)
10129   version_type=windows
10130   shrext_cmds=".dll"
10131   need_version=no
10132   need_lib_prefix=no
10133
10134   case $GCC,$cc_basename in
10135   yes,*)
10136     # gcc
10137     library_names_spec='$libname.dll.a'
10138     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10139     postinstall_cmds='base_file=`basename \${file}`~
10140       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10141       dldir=$destdir/`dirname \$dlpath`~
10142       test -d \$dldir || mkdir -p \$dldir~
10143       $install_prog $dir/$dlname \$dldir/$dlname~
10144       chmod a+x \$dldir/$dlname~
10145       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10146         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10147       fi'
10148     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10149       dlpath=$dir/\$dldll~
10150        $RM \$dlpath'
10151     shlibpath_overrides_runpath=yes
10152
10153     case $host_os in
10154     cygwin*)
10155       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10156       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10157
10158       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10159       ;;
10160     mingw* | cegcc*)
10161       # MinGW DLLs use traditional 'lib' prefix
10162       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163       ;;
10164     pw32*)
10165       # pw32 DLLs use 'pw' prefix rather than 'lib'
10166       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10167       ;;
10168     esac
10169     dynamic_linker='Win32 ld.exe'
10170     ;;
10171
10172   *,cl*)
10173     # Native MSVC
10174     libname_spec='$name'
10175     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10176     library_names_spec='${libname}.dll.lib'
10177
10178     case $build_os in
10179     mingw*)
10180       sys_lib_search_path_spec=
10181       lt_save_ifs=$IFS
10182       IFS=';'
10183       for lt_path in $LIB
10184       do
10185         IFS=$lt_save_ifs
10186         # Let DOS variable expansion print the short 8.3 style file name.
10187         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10188         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10189       done
10190       IFS=$lt_save_ifs
10191       # Convert to MSYS style.
10192       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10193       ;;
10194     cygwin*)
10195       # Convert to unix form, then to dos form, then back to unix form
10196       # but this time dos style (no spaces!) so that the unix form looks
10197       # like /cygdrive/c/PROGRA~1:/cygdr...
10198       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10199       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10200       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10201       ;;
10202     *)
10203       sys_lib_search_path_spec="$LIB"
10204       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10205         # It is most probably a Windows format PATH.
10206         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10207       else
10208         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10209       fi
10210       # FIXME: find the short name or the path components, as spaces are
10211       # common. (e.g. "Program Files" -> "PROGRA~1")
10212       ;;
10213     esac
10214
10215     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10216     postinstall_cmds='base_file=`basename \${file}`~
10217       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10218       dldir=$destdir/`dirname \$dlpath`~
10219       test -d \$dldir || mkdir -p \$dldir~
10220       $install_prog $dir/$dlname \$dldir/$dlname'
10221     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10222       dlpath=$dir/\$dldll~
10223        $RM \$dlpath'
10224     shlibpath_overrides_runpath=yes
10225     dynamic_linker='Win32 link.exe'
10226     ;;
10227
10228   *)
10229     # Assume MSVC wrapper
10230     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10231     dynamic_linker='Win32 ld.exe'
10232     ;;
10233   esac
10234   # FIXME: first we should search . and the directory the executable is in
10235   shlibpath_var=PATH
10236   ;;
10237
10238 darwin* | rhapsody*)
10239   dynamic_linker="$host_os dyld"
10240   version_type=darwin
10241   need_lib_prefix=no
10242   need_version=no
10243   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10244   soname_spec='${libname}${release}${major}$shared_ext'
10245   shlibpath_overrides_runpath=yes
10246   shlibpath_var=DYLD_LIBRARY_PATH
10247   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10248
10249   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10250   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10251   ;;
10252
10253 dgux*)
10254   version_type=linux # correct to gnu/linux during the next big refactor
10255   need_lib_prefix=no
10256   need_version=no
10257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10258   soname_spec='${libname}${release}${shared_ext}$major'
10259   shlibpath_var=LD_LIBRARY_PATH
10260   ;;
10261
10262 freebsd* | dragonfly*)
10263   # DragonFly does not have aout.  When/if they implement a new
10264   # versioning mechanism, adjust this.
10265   if test -x /usr/bin/objformat; then
10266     objformat=`/usr/bin/objformat`
10267   else
10268     case $host_os in
10269     freebsd[23].*) objformat=aout ;;
10270     *) objformat=elf ;;
10271     esac
10272   fi
10273   version_type=freebsd-$objformat
10274   case $version_type in
10275     freebsd-elf*)
10276       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10277       need_version=no
10278       need_lib_prefix=no
10279       ;;
10280     freebsd-*)
10281       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10282       need_version=yes
10283       ;;
10284   esac
10285   shlibpath_var=LD_LIBRARY_PATH
10286   case $host_os in
10287   freebsd2.*)
10288     shlibpath_overrides_runpath=yes
10289     ;;
10290   freebsd3.[01]* | freebsdelf3.[01]*)
10291     shlibpath_overrides_runpath=yes
10292     hardcode_into_libs=yes
10293     ;;
10294   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10295   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10296     shlibpath_overrides_runpath=no
10297     hardcode_into_libs=yes
10298     ;;
10299   *) # from 4.6 on, and DragonFly
10300     shlibpath_overrides_runpath=yes
10301     hardcode_into_libs=yes
10302     ;;
10303   esac
10304   ;;
10305
10306 gnu*)
10307   version_type=linux # correct to gnu/linux during the next big refactor
10308   need_lib_prefix=no
10309   need_version=no
10310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10311   soname_spec='${libname}${release}${shared_ext}$major'
10312   shlibpath_var=LD_LIBRARY_PATH
10313   shlibpath_overrides_runpath=no
10314   hardcode_into_libs=yes
10315   ;;
10316
10317 haiku*)
10318   version_type=linux # correct to gnu/linux during the next big refactor
10319   need_lib_prefix=no
10320   need_version=no
10321   dynamic_linker="$host_os runtime_loader"
10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10323   soname_spec='${libname}${release}${shared_ext}$major'
10324   shlibpath_var=LIBRARY_PATH
10325   shlibpath_overrides_runpath=yes
10326   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10327   hardcode_into_libs=yes
10328   ;;
10329
10330 hpux9* | hpux10* | hpux11*)
10331   # Give a soname corresponding to the major version so that dld.sl refuses to
10332   # link against other versions.
10333   version_type=sunos
10334   need_lib_prefix=no
10335   need_version=no
10336   case $host_cpu in
10337   ia64*)
10338     shrext_cmds='.so'
10339     hardcode_into_libs=yes
10340     dynamic_linker="$host_os dld.so"
10341     shlibpath_var=LD_LIBRARY_PATH
10342     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10343     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344     soname_spec='${libname}${release}${shared_ext}$major'
10345     if test "X$HPUX_IA64_MODE" = X32; then
10346       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10347     else
10348       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10349     fi
10350     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10351     ;;
10352   hppa*64*)
10353     shrext_cmds='.sl'
10354     hardcode_into_libs=yes
10355     dynamic_linker="$host_os dld.sl"
10356     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10357     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359     soname_spec='${libname}${release}${shared_ext}$major'
10360     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10361     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10362     ;;
10363   *)
10364     shrext_cmds='.sl'
10365     dynamic_linker="$host_os dld.sl"
10366     shlibpath_var=SHLIB_PATH
10367     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10368     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10369     soname_spec='${libname}${release}${shared_ext}$major'
10370     ;;
10371   esac
10372   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10373   postinstall_cmds='chmod 555 $lib'
10374   # or fails outright, so override atomically:
10375   install_override_mode=555
10376   ;;
10377
10378 interix[3-9]*)
10379   version_type=linux # correct to gnu/linux during the next big refactor
10380   need_lib_prefix=no
10381   need_version=no
10382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10383   soname_spec='${libname}${release}${shared_ext}$major'
10384   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10385   shlibpath_var=LD_LIBRARY_PATH
10386   shlibpath_overrides_runpath=no
10387   hardcode_into_libs=yes
10388   ;;
10389
10390 irix5* | irix6* | nonstopux*)
10391   case $host_os in
10392     nonstopux*) version_type=nonstopux ;;
10393     *)
10394         if test "$lt_cv_prog_gnu_ld" = yes; then
10395                 version_type=linux # correct to gnu/linux during the next big refactor
10396         else
10397                 version_type=irix
10398         fi ;;
10399   esac
10400   need_lib_prefix=no
10401   need_version=no
10402   soname_spec='${libname}${release}${shared_ext}$major'
10403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10404   case $host_os in
10405   irix5* | nonstopux*)
10406     libsuff= shlibsuff=
10407     ;;
10408   *)
10409     case $LD in # libtool.m4 will add one of these switches to LD
10410     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10411       libsuff= shlibsuff= libmagic=32-bit;;
10412     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10413       libsuff=32 shlibsuff=N32 libmagic=N32;;
10414     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10415       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10416     *) libsuff= shlibsuff= libmagic=never-match;;
10417     esac
10418     ;;
10419   esac
10420   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10421   shlibpath_overrides_runpath=no
10422   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10423   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10424   hardcode_into_libs=yes
10425   ;;
10426
10427 # No shared lib support for Linux oldld, aout, or coff.
10428 linux*oldld* | linux*aout* | linux*coff*)
10429   dynamic_linker=no
10430   ;;
10431
10432 # This must be glibc/ELF.
10433 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10434   version_type=linux # correct to gnu/linux during the next big refactor
10435   need_lib_prefix=no
10436   need_version=no
10437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10438   soname_spec='${libname}${release}${shared_ext}$major'
10439   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10440   shlibpath_var=LD_LIBRARY_PATH
10441   shlibpath_overrides_runpath=no
10442
10443   # Some binutils ld are patched to set DT_RUNPATH
10444   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10445   $as_echo_n "(cached) " >&6
10446 else
10447   lt_cv_shlibpath_overrides_runpath=no
10448     save_LDFLAGS=$LDFLAGS
10449     save_libdir=$libdir
10450     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10451          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10452     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h.  */
10454
10455 int
10456 main ()
10457 {
10458
10459   ;
10460   return 0;
10461 }
10462 _ACEOF
10463 if ac_fn_c_try_link "$LINENO"; then :
10464   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10465   lt_cv_shlibpath_overrides_runpath=yes
10466 fi
10467 fi
10468 rm -f core conftest.err conftest.$ac_objext \
10469     conftest$ac_exeext conftest.$ac_ext
10470     LDFLAGS=$save_LDFLAGS
10471     libdir=$save_libdir
10472
10473 fi
10474
10475   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10476
10477   # This implies no fast_install, which is unacceptable.
10478   # Some rework will be needed to allow for fast_install
10479   # before this can be enabled.
10480   hardcode_into_libs=yes
10481
10482   # Append ld.so.conf contents to the search path
10483   if test -f /etc/ld.so.conf; then
10484     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10485     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10486   fi
10487
10488   # We used to test for /lib/ld.so.1 and disable shared libraries on
10489   # powerpc, because MkLinux only supported shared libraries with the
10490   # GNU dynamic linker.  Since this was broken with cross compilers,
10491   # most powerpc-linux boxes support dynamic linking these days and
10492   # people can always --disable-shared, the test was removed, and we
10493   # assume the GNU/Linux dynamic linker is in use.
10494   dynamic_linker='GNU/Linux ld.so'
10495   ;;
10496
10497 netbsd*)
10498   version_type=sunos
10499   need_lib_prefix=no
10500   need_version=no
10501   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10503     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10504     dynamic_linker='NetBSD (a.out) ld.so'
10505   else
10506     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10507     soname_spec='${libname}${release}${shared_ext}$major'
10508     dynamic_linker='NetBSD ld.elf_so'
10509   fi
10510   shlibpath_var=LD_LIBRARY_PATH
10511   shlibpath_overrides_runpath=yes
10512   hardcode_into_libs=yes
10513   ;;
10514
10515 newsos6)
10516   version_type=linux # correct to gnu/linux during the next big refactor
10517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10518   shlibpath_var=LD_LIBRARY_PATH
10519   shlibpath_overrides_runpath=yes
10520   ;;
10521
10522 *nto* | *qnx*)
10523   version_type=qnx
10524   need_lib_prefix=no
10525   need_version=no
10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527   soname_spec='${libname}${release}${shared_ext}$major'
10528   shlibpath_var=LD_LIBRARY_PATH
10529   shlibpath_overrides_runpath=no
10530   hardcode_into_libs=yes
10531   dynamic_linker='ldqnx.so'
10532   ;;
10533
10534 openbsd*)
10535   version_type=sunos
10536   sys_lib_dlsearch_path_spec="/usr/lib"
10537   need_lib_prefix=no
10538   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10539   case $host_os in
10540     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10541     *)                          need_version=no  ;;
10542   esac
10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10544   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10545   shlibpath_var=LD_LIBRARY_PATH
10546   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10547     case $host_os in
10548       openbsd2.[89] | openbsd2.[89].*)
10549         shlibpath_overrides_runpath=no
10550         ;;
10551       *)
10552         shlibpath_overrides_runpath=yes
10553         ;;
10554       esac
10555   else
10556     shlibpath_overrides_runpath=yes
10557   fi
10558   ;;
10559
10560 os2*)
10561   libname_spec='$name'
10562   shrext_cmds=".dll"
10563   need_lib_prefix=no
10564   library_names_spec='$libname${shared_ext} $libname.a'
10565   dynamic_linker='OS/2 ld.exe'
10566   shlibpath_var=LIBPATH
10567   ;;
10568
10569 osf3* | osf4* | osf5*)
10570   version_type=osf
10571   need_lib_prefix=no
10572   need_version=no
10573   soname_spec='${libname}${release}${shared_ext}$major'
10574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10575   shlibpath_var=LD_LIBRARY_PATH
10576   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10577   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10578   ;;
10579
10580 rdos*)
10581   dynamic_linker=no
10582   ;;
10583
10584 solaris*)
10585   version_type=linux # correct to gnu/linux during the next big refactor
10586   need_lib_prefix=no
10587   need_version=no
10588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10589   soname_spec='${libname}${release}${shared_ext}$major'
10590   shlibpath_var=LD_LIBRARY_PATH
10591   shlibpath_overrides_runpath=yes
10592   hardcode_into_libs=yes
10593   # ldd complains unless libraries are executable
10594   postinstall_cmds='chmod +x $lib'
10595   ;;
10596
10597 sunos4*)
10598   version_type=sunos
10599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10600   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10601   shlibpath_var=LD_LIBRARY_PATH
10602   shlibpath_overrides_runpath=yes
10603   if test "$with_gnu_ld" = yes; then
10604     need_lib_prefix=no
10605   fi
10606   need_version=yes
10607   ;;
10608
10609 sysv4 | sysv4.3*)
10610   version_type=linux # correct to gnu/linux during the next big refactor
10611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612   soname_spec='${libname}${release}${shared_ext}$major'
10613   shlibpath_var=LD_LIBRARY_PATH
10614   case $host_vendor in
10615     sni)
10616       shlibpath_overrides_runpath=no
10617       need_lib_prefix=no
10618       runpath_var=LD_RUN_PATH
10619       ;;
10620     siemens)
10621       need_lib_prefix=no
10622       ;;
10623     motorola)
10624       need_lib_prefix=no
10625       need_version=no
10626       shlibpath_overrides_runpath=no
10627       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10628       ;;
10629   esac
10630   ;;
10631
10632 sysv4*MP*)
10633   if test -d /usr/nec ;then
10634     version_type=linux # correct to gnu/linux during the next big refactor
10635     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10636     soname_spec='$libname${shared_ext}.$major'
10637     shlibpath_var=LD_LIBRARY_PATH
10638   fi
10639   ;;
10640
10641 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10642   version_type=freebsd-elf
10643   need_lib_prefix=no
10644   need_version=no
10645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646   soname_spec='${libname}${release}${shared_ext}$major'
10647   shlibpath_var=LD_LIBRARY_PATH
10648   shlibpath_overrides_runpath=yes
10649   hardcode_into_libs=yes
10650   if test "$with_gnu_ld" = yes; then
10651     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10652   else
10653     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10654     case $host_os in
10655       sco3.2v5*)
10656         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10657         ;;
10658     esac
10659   fi
10660   sys_lib_dlsearch_path_spec='/usr/lib'
10661   ;;
10662
10663 tpf*)
10664   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10665   version_type=linux # correct to gnu/linux during the next big refactor
10666   need_lib_prefix=no
10667   need_version=no
10668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669   shlibpath_var=LD_LIBRARY_PATH
10670   shlibpath_overrides_runpath=no
10671   hardcode_into_libs=yes
10672   ;;
10673
10674 uts4*)
10675   version_type=linux # correct to gnu/linux during the next big refactor
10676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677   soname_spec='${libname}${release}${shared_ext}$major'
10678   shlibpath_var=LD_LIBRARY_PATH
10679   ;;
10680
10681 *)
10682   dynamic_linker=no
10683   ;;
10684 esac
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10686 $as_echo "$dynamic_linker" >&6; }
10687 test "$dynamic_linker" = no && can_build_shared=no
10688
10689 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10690 if test "$GCC" = yes; then
10691   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10692 fi
10693
10694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10695   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10696 fi
10697 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10698   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10699 fi
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10794 hardcode_action=
10795 if test -n "$hardcode_libdir_flag_spec" ||
10796    test -n "$runpath_var" ||
10797    test "X$hardcode_automatic" = "Xyes" ; then
10798
10799   # We can hardcode non-existent directories.
10800   if test "$hardcode_direct" != no &&
10801      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10802      # have to relink, otherwise we might link with an installed library
10803      # when we should be linking with a yet-to-be-installed one
10804      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10805      test "$hardcode_minus_L" != no; then
10806     # Linking always hardcodes the temporary library directory.
10807     hardcode_action=relink
10808   else
10809     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10810     hardcode_action=immediate
10811   fi
10812 else
10813   # We cannot hardcode anything, or else we can only hardcode existing
10814   # directories.
10815   hardcode_action=unsupported
10816 fi
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10818 $as_echo "$hardcode_action" >&6; }
10819
10820 if test "$hardcode_action" = relink ||
10821    test "$inherit_rpath" = yes; then
10822   # Fast installation is not supported
10823   enable_fast_install=no
10824 elif test "$shlibpath_overrides_runpath" = yes ||
10825      test "$enable_shared" = no; then
10826   # Fast installation is not necessary
10827   enable_fast_install=needless
10828 fi
10829
10830
10831
10832
10833
10834
10835   if test "x$enable_dlopen" != xyes; then
10836   enable_dlopen=unknown
10837   enable_dlopen_self=unknown
10838   enable_dlopen_self_static=unknown
10839 else
10840   lt_cv_dlopen=no
10841   lt_cv_dlopen_libs=
10842
10843   case $host_os in
10844   beos*)
10845     lt_cv_dlopen="load_add_on"
10846     lt_cv_dlopen_libs=
10847     lt_cv_dlopen_self=yes
10848     ;;
10849
10850   mingw* | pw32* | cegcc*)
10851     lt_cv_dlopen="LoadLibrary"
10852     lt_cv_dlopen_libs=
10853     ;;
10854
10855   cygwin*)
10856     lt_cv_dlopen="dlopen"
10857     lt_cv_dlopen_libs=
10858     ;;
10859
10860   darwin*)
10861   # if libdl is installed we need to link against it
10862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10864 if ${ac_cv_lib_dl_dlopen+:} false; then :
10865   $as_echo_n "(cached) " >&6
10866 else
10867   ac_check_lib_save_LIBS=$LIBS
10868 LIBS="-ldl  $LIBS"
10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 /* end confdefs.h.  */
10871
10872 /* Override any GCC internal prototype to avoid an error.
10873    Use char because int might match the return type of a GCC
10874    builtin and then its argument prototype would still apply.  */
10875 #ifdef __cplusplus
10876 extern "C"
10877 #endif
10878 char dlopen ();
10879 int
10880 main ()
10881 {
10882 return dlopen ();
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 if ac_fn_c_try_link "$LINENO"; then :
10888   ac_cv_lib_dl_dlopen=yes
10889 else
10890   ac_cv_lib_dl_dlopen=no
10891 fi
10892 rm -f core conftest.err conftest.$ac_objext \
10893     conftest$ac_exeext conftest.$ac_ext
10894 LIBS=$ac_check_lib_save_LIBS
10895 fi
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10898 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10899   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10900 else
10901
10902     lt_cv_dlopen="dyld"
10903     lt_cv_dlopen_libs=
10904     lt_cv_dlopen_self=yes
10905
10906 fi
10907
10908     ;;
10909
10910   *)
10911     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10912 if test "x$ac_cv_func_shl_load" = xyes; then :
10913   lt_cv_dlopen="shl_load"
10914 else
10915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10916 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10917 if ${ac_cv_lib_dld_shl_load+:} false; then :
10918   $as_echo_n "(cached) " >&6
10919 else
10920   ac_check_lib_save_LIBS=$LIBS
10921 LIBS="-ldld  $LIBS"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h.  */
10924
10925 /* Override any GCC internal prototype to avoid an error.
10926    Use char because int might match the return type of a GCC
10927    builtin and then its argument prototype would still apply.  */
10928 #ifdef __cplusplus
10929 extern "C"
10930 #endif
10931 char shl_load ();
10932 int
10933 main ()
10934 {
10935 return shl_load ();
10936   ;
10937   return 0;
10938 }
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941   ac_cv_lib_dld_shl_load=yes
10942 else
10943   ac_cv_lib_dld_shl_load=no
10944 fi
10945 rm -f core conftest.err conftest.$ac_objext \
10946     conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10948 fi
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10950 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10951 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10952   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10953 else
10954   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10955 if test "x$ac_cv_func_dlopen" = xyes; then :
10956   lt_cv_dlopen="dlopen"
10957 else
10958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10959 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10960 if ${ac_cv_lib_dl_dlopen+:} false; then :
10961   $as_echo_n "(cached) " >&6
10962 else
10963   ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-ldl  $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h.  */
10967
10968 /* Override any GCC internal prototype to avoid an error.
10969    Use char because int might match the return type of a GCC
10970    builtin and then its argument prototype would still apply.  */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char dlopen ();
10975 int
10976 main ()
10977 {
10978 return dlopen ();
10979   ;
10980   return 0;
10981 }
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984   ac_cv_lib_dl_dlopen=yes
10985 else
10986   ac_cv_lib_dl_dlopen=no
10987 fi
10988 rm -f core conftest.err conftest.$ac_objext \
10989     conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10991 fi
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10993 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10994 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10995   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10996 else
10997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10998 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10999 if ${ac_cv_lib_svld_dlopen+:} false; then :
11000   $as_echo_n "(cached) " >&6
11001 else
11002   ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lsvld  $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h.  */
11006
11007 /* Override any GCC internal prototype to avoid an error.
11008    Use char because int might match the return type of a GCC
11009    builtin and then its argument prototype would still apply.  */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char dlopen ();
11014 int
11015 main ()
11016 {
11017 return dlopen ();
11018   ;
11019   return 0;
11020 }
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023   ac_cv_lib_svld_dlopen=yes
11024 else
11025   ac_cv_lib_svld_dlopen=no
11026 fi
11027 rm -f core conftest.err conftest.$ac_objext \
11028     conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11030 fi
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11032 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11033 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11034   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11035 else
11036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11037 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11038 if ${ac_cv_lib_dld_dld_link+:} false; then :
11039   $as_echo_n "(cached) " >&6
11040 else
11041   ac_check_lib_save_LIBS=$LIBS
11042 LIBS="-ldld  $LIBS"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h.  */
11045
11046 /* Override any GCC internal prototype to avoid an error.
11047    Use char because int might match the return type of a GCC
11048    builtin and then its argument prototype would still apply.  */
11049 #ifdef __cplusplus
11050 extern "C"
11051 #endif
11052 char dld_link ();
11053 int
11054 main ()
11055 {
11056 return dld_link ();
11057   ;
11058   return 0;
11059 }
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062   ac_cv_lib_dld_dld_link=yes
11063 else
11064   ac_cv_lib_dld_dld_link=no
11065 fi
11066 rm -f core conftest.err conftest.$ac_objext \
11067     conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11069 fi
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11071 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11072 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11073   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11074 fi
11075
11076
11077 fi
11078
11079
11080 fi
11081
11082
11083 fi
11084
11085
11086 fi
11087
11088
11089 fi
11090
11091     ;;
11092   esac
11093
11094   if test "x$lt_cv_dlopen" != xno; then
11095     enable_dlopen=yes
11096   else
11097     enable_dlopen=no
11098   fi
11099
11100   case $lt_cv_dlopen in
11101   dlopen)
11102     save_CPPFLAGS="$CPPFLAGS"
11103     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11104
11105     save_LDFLAGS="$LDFLAGS"
11106     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11107
11108     save_LIBS="$LIBS"
11109     LIBS="$lt_cv_dlopen_libs $LIBS"
11110
11111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11112 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11113 if ${lt_cv_dlopen_self+:} false; then :
11114   $as_echo_n "(cached) " >&6
11115 else
11116           if test "$cross_compiling" = yes; then :
11117   lt_cv_dlopen_self=cross
11118 else
11119   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11120   lt_status=$lt_dlunknown
11121   cat > conftest.$ac_ext <<_LT_EOF
11122 #line $LINENO "configure"
11123 #include "confdefs.h"
11124
11125 #if HAVE_DLFCN_H
11126 #include <dlfcn.h>
11127 #endif
11128
11129 #include <stdio.h>
11130
11131 #ifdef RTLD_GLOBAL
11132 #  define LT_DLGLOBAL           RTLD_GLOBAL
11133 #else
11134 #  ifdef DL_GLOBAL
11135 #    define LT_DLGLOBAL         DL_GLOBAL
11136 #  else
11137 #    define LT_DLGLOBAL         0
11138 #  endif
11139 #endif
11140
11141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11142    find out it does not work in some platform. */
11143 #ifndef LT_DLLAZY_OR_NOW
11144 #  ifdef RTLD_LAZY
11145 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11146 #  else
11147 #    ifdef DL_LAZY
11148 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11149 #    else
11150 #      ifdef RTLD_NOW
11151 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11152 #      else
11153 #        ifdef DL_NOW
11154 #          define LT_DLLAZY_OR_NOW      DL_NOW
11155 #        else
11156 #          define LT_DLLAZY_OR_NOW      0
11157 #        endif
11158 #      endif
11159 #    endif
11160 #  endif
11161 #endif
11162
11163 /* When -fvisbility=hidden is used, assume the code has been annotated
11164    correspondingly for the symbols needed.  */
11165 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11166 int fnord () __attribute__((visibility("default")));
11167 #endif
11168
11169 int fnord () { return 42; }
11170 int main ()
11171 {
11172   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11173   int status = $lt_dlunknown;
11174
11175   if (self)
11176     {
11177       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11178       else
11179         {
11180           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11181           else puts (dlerror ());
11182         }
11183       /* dlclose (self); */
11184     }
11185   else
11186     puts (dlerror ());
11187
11188   return status;
11189 }
11190 _LT_EOF
11191   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11192   (eval $ac_link) 2>&5
11193   ac_status=$?
11194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11195   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11196     (./conftest; exit; ) >&5 2>/dev/null
11197     lt_status=$?
11198     case x$lt_status in
11199       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11200       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11201       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11202     esac
11203   else :
11204     # compilation failed
11205     lt_cv_dlopen_self=no
11206   fi
11207 fi
11208 rm -fr conftest*
11209
11210
11211 fi
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11213 $as_echo "$lt_cv_dlopen_self" >&6; }
11214
11215     if test "x$lt_cv_dlopen_self" = xyes; then
11216       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11217       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11218 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11219 if ${lt_cv_dlopen_self_static+:} false; then :
11220   $as_echo_n "(cached) " >&6
11221 else
11222           if test "$cross_compiling" = yes; then :
11223   lt_cv_dlopen_self_static=cross
11224 else
11225   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11226   lt_status=$lt_dlunknown
11227   cat > conftest.$ac_ext <<_LT_EOF
11228 #line $LINENO "configure"
11229 #include "confdefs.h"
11230
11231 #if HAVE_DLFCN_H
11232 #include <dlfcn.h>
11233 #endif
11234
11235 #include <stdio.h>
11236
11237 #ifdef RTLD_GLOBAL
11238 #  define LT_DLGLOBAL           RTLD_GLOBAL
11239 #else
11240 #  ifdef DL_GLOBAL
11241 #    define LT_DLGLOBAL         DL_GLOBAL
11242 #  else
11243 #    define LT_DLGLOBAL         0
11244 #  endif
11245 #endif
11246
11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11248    find out it does not work in some platform. */
11249 #ifndef LT_DLLAZY_OR_NOW
11250 #  ifdef RTLD_LAZY
11251 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11252 #  else
11253 #    ifdef DL_LAZY
11254 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11255 #    else
11256 #      ifdef RTLD_NOW
11257 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11258 #      else
11259 #        ifdef DL_NOW
11260 #          define LT_DLLAZY_OR_NOW      DL_NOW
11261 #        else
11262 #          define LT_DLLAZY_OR_NOW      0
11263 #        endif
11264 #      endif
11265 #    endif
11266 #  endif
11267 #endif
11268
11269 /* When -fvisbility=hidden is used, assume the code has been annotated
11270    correspondingly for the symbols needed.  */
11271 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11272 int fnord () __attribute__((visibility("default")));
11273 #endif
11274
11275 int fnord () { return 42; }
11276 int main ()
11277 {
11278   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11279   int status = $lt_dlunknown;
11280
11281   if (self)
11282     {
11283       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11284       else
11285         {
11286           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11287           else puts (dlerror ());
11288         }
11289       /* dlclose (self); */
11290     }
11291   else
11292     puts (dlerror ());
11293
11294   return status;
11295 }
11296 _LT_EOF
11297   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11298   (eval $ac_link) 2>&5
11299   ac_status=$?
11300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11301   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11302     (./conftest; exit; ) >&5 2>/dev/null
11303     lt_status=$?
11304     case x$lt_status in
11305       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11306       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11307       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11308     esac
11309   else :
11310     # compilation failed
11311     lt_cv_dlopen_self_static=no
11312   fi
11313 fi
11314 rm -fr conftest*
11315
11316
11317 fi
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11319 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11320     fi
11321
11322     CPPFLAGS="$save_CPPFLAGS"
11323     LDFLAGS="$save_LDFLAGS"
11324     LIBS="$save_LIBS"
11325     ;;
11326   esac
11327
11328   case $lt_cv_dlopen_self in
11329   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11330   *) enable_dlopen_self=unknown ;;
11331   esac
11332
11333   case $lt_cv_dlopen_self_static in
11334   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11335   *) enable_dlopen_self_static=unknown ;;
11336   esac
11337 fi
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355 striplib=
11356 old_striplib=
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11358 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11359 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11360   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11361   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11363 $as_echo "yes" >&6; }
11364 else
11365 # FIXME - insert some real tests, host_os isn't really good enough
11366   case $host_os in
11367   darwin*)
11368     if test -n "$STRIP" ; then
11369       striplib="$STRIP -x"
11370       old_striplib="$STRIP -S"
11371       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11373     else
11374       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11375 $as_echo "no" >&6; }
11376     fi
11377     ;;
11378   *)
11379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11380 $as_echo "no" >&6; }
11381     ;;
11382   esac
11383 fi
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396   # Report which library types will actually be built
11397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11398 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11400 $as_echo "$can_build_shared" >&6; }
11401
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11403 $as_echo_n "checking whether to build shared libraries... " >&6; }
11404   test "$can_build_shared" = "no" && enable_shared=no
11405
11406   # On AIX, shared libraries and static libraries use the same namespace, and
11407   # are all built from PIC.
11408   case $host_os in
11409   aix3*)
11410     test "$enable_shared" = yes && enable_static=no
11411     if test -n "$RANLIB"; then
11412       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11413       postinstall_cmds='$RANLIB $lib'
11414     fi
11415     ;;
11416
11417   aix[4-9]*)
11418     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11419       test "$enable_shared" = yes && enable_static=no
11420     fi
11421     ;;
11422   esac
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11424 $as_echo "$enable_shared" >&6; }
11425
11426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11427 $as_echo_n "checking whether to build static libraries... " >&6; }
11428   # Make sure either enable_shared or enable_static is yes.
11429   test "$enable_shared" = yes || enable_static=yes
11430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11431 $as_echo "$enable_static" >&6; }
11432
11433
11434
11435
11436 fi
11437 ac_ext=c
11438 ac_cpp='$CPP $CPPFLAGS'
11439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11442
11443 CC="$lt_save_CC"
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459         ac_config_commands="$ac_config_commands libtool"
11460
11461
11462
11463
11464 # Only expand once:
11465
11466
11467
11468
11469 STATIC=
11470 test "X$enable_static" = Xyes && STATIC=-static
11471
11472
11473 case $lt_cv_sys_global_symbol_pipe in
11474   ?*) binary_helldl=yes ;;
11475 esac
11476  if test "X$binary_helldl" = Xyes; then
11477   BINARY_HELLDL_TRUE=
11478   BINARY_HELLDL_FALSE='#'
11479 else
11480   BINARY_HELLDL_TRUE='#'
11481   BINARY_HELLDL_FALSE=
11482 fi
11483
11484
11485
11486 ## --------------------------- ##
11487 ## Libraries required by demo. ##
11488 ## --------------------------- ##
11489 LIBM=
11490 case $host in
11491 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
11492   # These system don't have libm, or don't need it
11493   ;;
11494 *-ncr-sysv4.3*)
11495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
11496 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
11497 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
11498   $as_echo_n "(cached) " >&6
11499 else
11500   ac_check_lib_save_LIBS=$LIBS
11501 LIBS="-lmw  $LIBS"
11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h.  */
11504
11505 /* Override any GCC internal prototype to avoid an error.
11506    Use char because int might match the return type of a GCC
11507    builtin and then its argument prototype would still apply.  */
11508 #ifdef __cplusplus
11509 extern "C"
11510 #endif
11511 char _mwvalidcheckl ();
11512 int
11513 main ()
11514 {
11515 return _mwvalidcheckl ();
11516   ;
11517   return 0;
11518 }
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521   ac_cv_lib_mw__mwvalidcheckl=yes
11522 else
11523   ac_cv_lib_mw__mwvalidcheckl=no
11524 fi
11525 rm -f core conftest.err conftest.$ac_objext \
11526     conftest$ac_exeext conftest.$ac_ext
11527 LIBS=$ac_check_lib_save_LIBS
11528 fi
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
11530 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
11531 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
11532   LIBM="-lmw"
11533 fi
11534
11535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11536 $as_echo_n "checking for cos in -lm... " >&6; }
11537 if ${ac_cv_lib_m_cos+:} false; then :
11538   $as_echo_n "(cached) " >&6
11539 else
11540   ac_check_lib_save_LIBS=$LIBS
11541 LIBS="-lm  $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h.  */
11544
11545 /* Override any GCC internal prototype to avoid an error.
11546    Use char because int might match the return type of a GCC
11547    builtin and then its argument prototype would still apply.  */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char cos ();
11552 int
11553 main ()
11554 {
11555 return cos ();
11556   ;
11557   return 0;
11558 }
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561   ac_cv_lib_m_cos=yes
11562 else
11563   ac_cv_lib_m_cos=no
11564 fi
11565 rm -f core conftest.err conftest.$ac_objext \
11566     conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11568 fi
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11570 $as_echo "$ac_cv_lib_m_cos" >&6; }
11571 if test "x$ac_cv_lib_m_cos" = xyes; then :
11572   LIBM="$LIBM -lm"
11573 fi
11574
11575   ;;
11576 *)
11577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11578 $as_echo_n "checking for cos in -lm... " >&6; }
11579 if ${ac_cv_lib_m_cos+:} false; then :
11580   $as_echo_n "(cached) " >&6
11581 else
11582   ac_check_lib_save_LIBS=$LIBS
11583 LIBS="-lm  $LIBS"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h.  */
11586
11587 /* Override any GCC internal prototype to avoid an error.
11588    Use char because int might match the return type of a GCC
11589    builtin and then its argument prototype would still apply.  */
11590 #ifdef __cplusplus
11591 extern "C"
11592 #endif
11593 char cos ();
11594 int
11595 main ()
11596 {
11597 return cos ();
11598   ;
11599   return 0;
11600 }
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"; then :
11603   ac_cv_lib_m_cos=yes
11604 else
11605   ac_cv_lib_m_cos=no
11606 fi
11607 rm -f core conftest.err conftest.$ac_objext \
11608     conftest$ac_exeext conftest.$ac_ext
11609 LIBS=$ac_check_lib_save_LIBS
11610 fi
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11612 $as_echo "$ac_cv_lib_m_cos" >&6; }
11613 if test "x$ac_cv_lib_m_cos" = xyes; then :
11614   LIBM="-lm"
11615 fi
11616
11617   ;;
11618 esac
11619
11620
11621
11622
11623 ## -------- ##
11624 ## Outputs. ##
11625 ## -------- ##
11626 ac_config_files="$ac_config_files Makefile"
11627
11628 cat >confcache <<\_ACEOF
11629 # This file is a shell script that caches the results of configure
11630 # tests run on this system so they can be shared between configure
11631 # scripts and configure runs, see configure's option --config-cache.
11632 # It is not useful on other systems.  If it contains results you don't
11633 # want to keep, you may remove or edit it.
11634 #
11635 # config.status only pays attention to the cache file if you give it
11636 # the --recheck option to rerun configure.
11637 #
11638 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11639 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11640 # following values.
11641
11642 _ACEOF
11643
11644 # The following way of writing the cache mishandles newlines in values,
11645 # but we know of no workaround that is simple, portable, and efficient.
11646 # So, we kill variables containing newlines.
11647 # Ultrix sh set writes to stderr and can't be redirected directly,
11648 # and sets the high bit in the cache file unless we assign to the vars.
11649 (
11650   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11651     eval ac_val=\$$ac_var
11652     case $ac_val in #(
11653     *${as_nl}*)
11654       case $ac_var in #(
11655       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11656 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11657       esac
11658       case $ac_var in #(
11659       _ | IFS | as_nl) ;; #(
11660       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11661       *) { eval $ac_var=; unset $ac_var;} ;;
11662       esac ;;
11663     esac
11664   done
11665
11666   (set) 2>&1 |
11667     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11668     *${as_nl}ac_space=\ *)
11669       # `set' does not quote correctly, so add quotes: double-quote
11670       # substitution turns \\\\ into \\, and sed turns \\ into \.
11671       sed -n \
11672         "s/'/'\\\\''/g;
11673           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11674       ;; #(
11675     *)
11676       # `set' quotes correctly as required by POSIX, so do not add quotes.
11677       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11678       ;;
11679     esac |
11680     sort
11681 ) |
11682   sed '
11683      /^ac_cv_env_/b end
11684      t clear
11685      :clear
11686      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11687      t end
11688      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11689      :end' >>confcache
11690 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11691   if test -w "$cache_file"; then
11692     if test "x$cache_file" != "x/dev/null"; then
11693       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11694 $as_echo "$as_me: updating cache $cache_file" >&6;}
11695       if test ! -f "$cache_file" || test -h "$cache_file"; then
11696         cat confcache >"$cache_file"
11697       else
11698         case $cache_file in #(
11699         */* | ?:*)
11700           mv -f confcache "$cache_file"$$ &&
11701           mv -f "$cache_file"$$ "$cache_file" ;; #(
11702         *)
11703           mv -f confcache "$cache_file" ;;
11704         esac
11705       fi
11706     fi
11707   else
11708     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11709 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11710   fi
11711 fi
11712 rm -f confcache
11713
11714 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11715 # Let make expand exec_prefix.
11716 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11717
11718 # Transform confdefs.h into DEFS.
11719 # Protect against shell expansion while executing Makefile rules.
11720 # Protect against Makefile macro expansion.
11721 #
11722 # If the first sed substitution is executed (which looks for macros that
11723 # take arguments), then branch to the quote section.  Otherwise,
11724 # look for a macro that doesn't take arguments.
11725 ac_script='
11726 :mline
11727 /\\$/{
11728  N
11729  s,\\\n,,
11730  b mline
11731 }
11732 t clear
11733 :clear
11734 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
11735 t quote
11736 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
11737 t quote
11738 b any
11739 :quote
11740 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11741 s/\[/\\&/g
11742 s/\]/\\&/g
11743 s/\$/$$/g
11744 H
11745 :any
11746 ${
11747         g
11748         s/^\n//
11749         s/\n/ /g
11750         p
11751 }
11752 '
11753 DEFS=`sed -n "$ac_script" confdefs.h`
11754
11755
11756 ac_libobjs=
11757 ac_ltlibobjs=
11758 U=
11759 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11760   # 1. Remove the extension, and $U if already installed.
11761   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11762   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11763   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11764   #    will be set to the directory where LIBOBJS objects are built.
11765   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11766   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11767 done
11768 LIBOBJS=$ac_libobjs
11769
11770 LTLIBOBJS=$ac_ltlibobjs
11771
11772
11773  if test -n "$EXEEXT"; then
11774   am__EXEEXT_TRUE=
11775   am__EXEEXT_FALSE='#'
11776 else
11777   am__EXEEXT_TRUE='#'
11778   am__EXEEXT_FALSE=
11779 fi
11780
11781 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11782   as_fn_error $? "conditional \"AMDEP\" was never defined.
11783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11784 fi
11785 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11786   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11788 fi
11789 if test -z "${BINARY_HELLDL_TRUE}" && test -z "${BINARY_HELLDL_FALSE}"; then
11790   as_fn_error $? "conditional \"BINARY_HELLDL\" was never defined.
11791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11792 fi
11793
11794 : "${CONFIG_STATUS=./config.status}"
11795 ac_write_fail=0
11796 ac_clean_files_save=$ac_clean_files
11797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11800 as_write_fail=0
11801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11802 #! $SHELL
11803 # Generated by $as_me.
11804 # Run this file to recreate the current configuration.
11805 # Compiler output produced by configure, useful for debugging
11806 # configure, is in config.log if it exists.
11807
11808 debug=false
11809 ac_cs_recheck=false
11810 ac_cs_silent=false
11811
11812 SHELL=\${CONFIG_SHELL-$SHELL}
11813 export SHELL
11814 _ASEOF
11815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11816 ## -------------------- ##
11817 ## M4sh Initialization. ##
11818 ## -------------------- ##
11819
11820 # Be more Bourne compatible
11821 DUALCASE=1; export DUALCASE # for MKS sh
11822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11823   emulate sh
11824   NULLCMD=:
11825   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11826   # is contrary to our usage.  Disable this feature.
11827   alias -g '${1+"$@"}'='"$@"'
11828   setopt NO_GLOB_SUBST
11829 else
11830   case `(set -o) 2>/dev/null` in #(
11831   *posix*) :
11832     set -o posix ;; #(
11833   *) :
11834      ;;
11835 esac
11836 fi
11837
11838
11839 as_nl='
11840 '
11841 export as_nl
11842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11846 # Prefer a ksh shell builtin over an external printf program on Solaris,
11847 # but without wasting forks for bash or zsh.
11848 if test -z "$BASH_VERSION$ZSH_VERSION" \
11849     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11850   as_echo='print -r --'
11851   as_echo_n='print -rn --'
11852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11853   as_echo='printf %s\n'
11854   as_echo_n='printf %s'
11855 else
11856   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11857     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11858     as_echo_n='/usr/ucb/echo -n'
11859   else
11860     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11861     as_echo_n_body='eval
11862       arg=$1;
11863       case $arg in #(
11864       *"$as_nl"*)
11865         expr "X$arg" : "X\\(.*\\)$as_nl";
11866         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11867       esac;
11868       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11869     '
11870     export as_echo_n_body
11871     as_echo_n='sh -c $as_echo_n_body as_echo'
11872   fi
11873   export as_echo_body
11874   as_echo='sh -c $as_echo_body as_echo'
11875 fi
11876
11877 # The user is always right.
11878 if test "${PATH_SEPARATOR+set}" != set; then
11879   PATH_SEPARATOR=:
11880   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11881     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11882       PATH_SEPARATOR=';'
11883   }
11884 fi
11885
11886
11887 # IFS
11888 # We need space, tab and new line, in precisely that order.  Quoting is
11889 # there to prevent editors from complaining about space-tab.
11890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11891 # splitting by setting IFS to empty value.)
11892 IFS=" ""        $as_nl"
11893
11894 # Find who we are.  Look in the path if we contain no directory separator.
11895 as_myself=
11896 case $0 in #((
11897   *[\\/]* ) as_myself=$0 ;;
11898   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11900 do
11901   IFS=$as_save_IFS
11902   test -z "$as_dir" && as_dir=.
11903     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11904   done
11905 IFS=$as_save_IFS
11906
11907      ;;
11908 esac
11909 # We did not find ourselves, most probably we were run as `sh COMMAND'
11910 # in which case we are not to be found in the path.
11911 if test "x$as_myself" = x; then
11912   as_myself=$0
11913 fi
11914 if test ! -f "$as_myself"; then
11915   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11916   exit 1
11917 fi
11918
11919 # Unset variables that we do not need and which cause bugs (e.g. in
11920 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11921 # suppresses any "Segmentation fault" message there.  '((' could
11922 # trigger a bug in pdksh 5.2.14.
11923 for as_var in BASH_ENV ENV MAIL MAILPATH
11924 do eval test x\${$as_var+set} = xset \
11925   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11926 done
11927 PS1='$ '
11928 PS2='> '
11929 PS4='+ '
11930
11931 # NLS nuisances.
11932 LC_ALL=C
11933 export LC_ALL
11934 LANGUAGE=C
11935 export LANGUAGE
11936
11937 # CDPATH.
11938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11939
11940
11941 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11942 # ----------------------------------------
11943 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11944 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11945 # script with STATUS, using 1 if that was 0.
11946 as_fn_error ()
11947 {
11948   as_status=$1; test $as_status -eq 0 && as_status=1
11949   if test "$4"; then
11950     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11951     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11952   fi
11953   $as_echo "$as_me: error: $2" >&2
11954   as_fn_exit $as_status
11955 } # as_fn_error
11956
11957
11958 # as_fn_set_status STATUS
11959 # -----------------------
11960 # Set $? to STATUS, without forking.
11961 as_fn_set_status ()
11962 {
11963   return $1
11964 } # as_fn_set_status
11965
11966 # as_fn_exit STATUS
11967 # -----------------
11968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11969 as_fn_exit ()
11970 {
11971   set +e
11972   as_fn_set_status $1
11973   exit $1
11974 } # as_fn_exit
11975
11976 # as_fn_unset VAR
11977 # ---------------
11978 # Portably unset VAR.
11979 as_fn_unset ()
11980 {
11981   { eval $1=; unset $1;}
11982 }
11983 as_unset=as_fn_unset
11984 # as_fn_append VAR VALUE
11985 # ----------------------
11986 # Append the text in VALUE to the end of the definition contained in VAR. Take
11987 # advantage of any shell optimizations that allow amortized linear growth over
11988 # repeated appends, instead of the typical quadratic growth present in naive
11989 # implementations.
11990 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11991   eval 'as_fn_append ()
11992   {
11993     eval $1+=\$2
11994   }'
11995 else
11996   as_fn_append ()
11997   {
11998     eval $1=\$$1\$2
11999   }
12000 fi # as_fn_append
12001
12002 # as_fn_arith ARG...
12003 # ------------------
12004 # Perform arithmetic evaluation on the ARGs, and store the result in the
12005 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12006 # must be portable across $(()) and expr.
12007 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12008   eval 'as_fn_arith ()
12009   {
12010     as_val=$(( $* ))
12011   }'
12012 else
12013   as_fn_arith ()
12014   {
12015     as_val=`expr "$@" || test $? -eq 1`
12016   }
12017 fi # as_fn_arith
12018
12019
12020 if expr a : '\(a\)' >/dev/null 2>&1 &&
12021    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12022   as_expr=expr
12023 else
12024   as_expr=false
12025 fi
12026
12027 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12028   as_basename=basename
12029 else
12030   as_basename=false
12031 fi
12032
12033 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12034   as_dirname=dirname
12035 else
12036   as_dirname=false
12037 fi
12038
12039 as_me=`$as_basename -- "$0" ||
12040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12041          X"$0" : 'X\(//\)$' \| \
12042          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12043 $as_echo X/"$0" |
12044     sed '/^.*\/\([^/][^/]*\)\/*$/{
12045             s//\1/
12046             q
12047           }
12048           /^X\/\(\/\/\)$/{
12049             s//\1/
12050             q
12051           }
12052           /^X\/\(\/\).*/{
12053             s//\1/
12054             q
12055           }
12056           s/.*/./; q'`
12057
12058 # Avoid depending upon Character Ranges.
12059 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12060 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12061 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12062 as_cr_digits='0123456789'
12063 as_cr_alnum=$as_cr_Letters$as_cr_digits
12064
12065 ECHO_C= ECHO_N= ECHO_T=
12066 case `echo -n x` in #(((((
12067 -n*)
12068   case `echo 'xy\c'` in
12069   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12070   xy)  ECHO_C='\c';;
12071   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12072        ECHO_T=' ';;
12073   esac;;
12074 *)
12075   ECHO_N='-n';;
12076 esac
12077
12078 rm -f conf$$ conf$$.exe conf$$.file
12079 if test -d conf$$.dir; then
12080   rm -f conf$$.dir/conf$$.file
12081 else
12082   rm -f conf$$.dir
12083   mkdir conf$$.dir 2>/dev/null
12084 fi
12085 if (echo >conf$$.file) 2>/dev/null; then
12086   if ln -s conf$$.file conf$$ 2>/dev/null; then
12087     as_ln_s='ln -s'
12088     # ... but there are two gotchas:
12089     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12090     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12091     # In both cases, we have to default to `cp -p'.
12092     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12093       as_ln_s='cp -p'
12094   elif ln conf$$.file conf$$ 2>/dev/null; then
12095     as_ln_s=ln
12096   else
12097     as_ln_s='cp -p'
12098   fi
12099 else
12100   as_ln_s='cp -p'
12101 fi
12102 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12103 rmdir conf$$.dir 2>/dev/null
12104
12105
12106 # as_fn_mkdir_p
12107 # -------------
12108 # Create "$as_dir" as a directory, including parents if necessary.
12109 as_fn_mkdir_p ()
12110 {
12111
12112   case $as_dir in #(
12113   -*) as_dir=./$as_dir;;
12114   esac
12115   test -d "$as_dir" || eval $as_mkdir_p || {
12116     as_dirs=
12117     while :; do
12118       case $as_dir in #(
12119       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12120       *) as_qdir=$as_dir;;
12121       esac
12122       as_dirs="'$as_qdir' $as_dirs"
12123       as_dir=`$as_dirname -- "$as_dir" ||
12124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12125          X"$as_dir" : 'X\(//\)[^/]' \| \
12126          X"$as_dir" : 'X\(//\)$' \| \
12127          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12128 $as_echo X"$as_dir" |
12129     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12130             s//\1/
12131             q
12132           }
12133           /^X\(\/\/\)[^/].*/{
12134             s//\1/
12135             q
12136           }
12137           /^X\(\/\/\)$/{
12138             s//\1/
12139             q
12140           }
12141           /^X\(\/\).*/{
12142             s//\1/
12143             q
12144           }
12145           s/.*/./; q'`
12146       test -d "$as_dir" && break
12147     done
12148     test -z "$as_dirs" || eval "mkdir $as_dirs"
12149   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12150
12151
12152 } # as_fn_mkdir_p
12153 if mkdir -p . 2>/dev/null; then
12154   as_mkdir_p='mkdir -p "$as_dir"'
12155 else
12156   test -d ./-p && rmdir ./-p
12157   as_mkdir_p=false
12158 fi
12159
12160 if test -x / >/dev/null 2>&1; then
12161   as_test_x='test -x'
12162 else
12163   if ls -dL / >/dev/null 2>&1; then
12164     as_ls_L_option=L
12165   else
12166     as_ls_L_option=
12167   fi
12168   as_test_x='
12169     eval sh -c '\''
12170       if test -d "$1"; then
12171         test -d "$1/.";
12172       else
12173         case $1 in #(
12174         -*)set "./$1";;
12175         esac;
12176         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12177         ???[sx]*):;;*)false;;esac;fi
12178     '\'' sh
12179   '
12180 fi
12181 as_executable_p=$as_test_x
12182
12183 # Sed expression to map a string onto a valid CPP name.
12184 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12185
12186 # Sed expression to map a string onto a valid variable name.
12187 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12188
12189
12190 exec 6>&1
12191 ## ----------------------------------- ##
12192 ## Main body of $CONFIG_STATUS script. ##
12193 ## ----------------------------------- ##
12194 _ASEOF
12195 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12196
12197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12198 # Save the log message, to keep $0 and so on meaningful, and to
12199 # report actual input values of CONFIG_FILES etc. instead of their
12200 # values after options handling.
12201 ac_log="
12202 This file was extended by demo $as_me 1.0, which was
12203 generated by GNU Autoconf 2.68.  Invocation command line was
12204
12205   CONFIG_FILES    = $CONFIG_FILES
12206   CONFIG_HEADERS  = $CONFIG_HEADERS
12207   CONFIG_LINKS    = $CONFIG_LINKS
12208   CONFIG_COMMANDS = $CONFIG_COMMANDS
12209   $ $0 $@
12210
12211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12212 "
12213
12214 _ACEOF
12215
12216 case $ac_config_files in *"
12217 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12218 esac
12219
12220
12221
12222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12223 # Files that config.status was made for.
12224 config_files="$ac_config_files"
12225 config_commands="$ac_config_commands"
12226
12227 _ACEOF
12228
12229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12230 ac_cs_usage="\
12231 \`$as_me' instantiates files and other configuration actions
12232 from templates according to the current configuration.  Unless the files
12233 and actions are specified as TAGs, all are instantiated by default.
12234
12235 Usage: $0 [OPTION]... [TAG]...
12236
12237   -h, --help       print this help, then exit
12238   -V, --version    print version number and configuration settings, then exit
12239       --config     print configuration, then exit
12240   -q, --quiet, --silent
12241                    do not print progress messages
12242   -d, --debug      don't remove temporary files
12243       --recheck    update $as_me by reconfiguring in the same conditions
12244       --file=FILE[:TEMPLATE]
12245                    instantiate the configuration file FILE
12246
12247 Configuration files:
12248 $config_files
12249
12250 Configuration commands:
12251 $config_commands
12252
12253 Report bugs to <bug-libtool@gnu.org>."
12254
12255 _ACEOF
12256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12257 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12258 ac_cs_version="\\
12259 demo config.status 1.0
12260 configured by $0, generated by GNU Autoconf 2.68,
12261   with options \\"\$ac_cs_config\\"
12262
12263 Copyright (C) 2010 Free Software Foundation, Inc.
12264 This config.status script is free software; the Free Software Foundation
12265 gives unlimited permission to copy, distribute and modify it."
12266
12267 ac_pwd='$ac_pwd'
12268 srcdir='$srcdir'
12269 INSTALL='$INSTALL'
12270 MKDIR_P='$MKDIR_P'
12271 AWK='$AWK'
12272 test -n "\$AWK" || AWK=awk
12273 _ACEOF
12274
12275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12276 # The default lists apply if the user does not specify any file.
12277 ac_need_defaults=:
12278 while test $# != 0
12279 do
12280   case $1 in
12281   --*=?*)
12282     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12283     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12284     ac_shift=:
12285     ;;
12286   --*=)
12287     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12288     ac_optarg=
12289     ac_shift=:
12290     ;;
12291   *)
12292     ac_option=$1
12293     ac_optarg=$2
12294     ac_shift=shift
12295     ;;
12296   esac
12297
12298   case $ac_option in
12299   # Handling of the options.
12300   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12301     ac_cs_recheck=: ;;
12302   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12303     $as_echo "$ac_cs_version"; exit ;;
12304   --config | --confi | --conf | --con | --co | --c )
12305     $as_echo "$ac_cs_config"; exit ;;
12306   --debug | --debu | --deb | --de | --d | -d )
12307     debug=: ;;
12308   --file | --fil | --fi | --f )
12309     $ac_shift
12310     case $ac_optarg in
12311     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12312     '') as_fn_error $? "missing file argument" ;;
12313     esac
12314     as_fn_append CONFIG_FILES " '$ac_optarg'"
12315     ac_need_defaults=false;;
12316   --he | --h |  --help | --hel | -h )
12317     $as_echo "$ac_cs_usage"; exit ;;
12318   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12319   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12320     ac_cs_silent=: ;;
12321
12322   # This is an error.
12323   -*) as_fn_error $? "unrecognized option: \`$1'
12324 Try \`$0 --help' for more information." ;;
12325
12326   *) as_fn_append ac_config_targets " $1"
12327      ac_need_defaults=false ;;
12328
12329   esac
12330   shift
12331 done
12332
12333 ac_configure_extra_args=
12334
12335 if $ac_cs_silent; then
12336   exec 6>/dev/null
12337   ac_configure_extra_args="$ac_configure_extra_args --silent"
12338 fi
12339
12340 _ACEOF
12341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12342 if \$ac_cs_recheck; then
12343   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12344   shift
12345   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12346   CONFIG_SHELL='$SHELL'
12347   export CONFIG_SHELL
12348   exec "\$@"
12349 fi
12350
12351 _ACEOF
12352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12353 exec 5>>config.log
12354 {
12355   echo
12356   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12357 ## Running $as_me. ##
12358 _ASBOX
12359   $as_echo "$ac_log"
12360 } >&5
12361
12362 _ACEOF
12363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12364 #
12365 # INIT-COMMANDS
12366 #
12367 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12368
12369
12370 # The HP-UX ksh and POSIX shell print the target directory to stdout
12371 # if CDPATH is set.
12372 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12373
12374 sed_quote_subst='$sed_quote_subst'
12375 double_quote_subst='$double_quote_subst'
12376 delay_variable_subst='$delay_variable_subst'
12377 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12378 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12379 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12380 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12381 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12382 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12383 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12384 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12385 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12386 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12387 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12388 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12389 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12390 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12391 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12392 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12393 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12394 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12395 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12396 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12397 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12398 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12399 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12400 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12401 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12402 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12403 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12404 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12405 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12406 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12407 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12408 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12409 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12410 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12411 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12412 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12413 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12414 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12415 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12416 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12417 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12418 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12419 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12420 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12421 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12422 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12423 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12424 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12425 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12426 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12427 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12428 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12429 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12430 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12431 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12432 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12433 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12434 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12435 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12436 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12437 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12438 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12439 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12440 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12441 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12442 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12443 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12444 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12445 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12446 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12447 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12448 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12449 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12450 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12451 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12452 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12453 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12454 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12455 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12456 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12457 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12458 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12459 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12460 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12461 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12462 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12463 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12464 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12465 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12466 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12467 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12468 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12469 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12470 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12471 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12472 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12473 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12474 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12475 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12476 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12477 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12478 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12479 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12480 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12481 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12482 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12483 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12484 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12485 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12486 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12487 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12488 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12489 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12490 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12491 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12492 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12493 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12494 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12495 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12496 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12497 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12498 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12499 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12500 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12501 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12502 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12503 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12504 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12505 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12506 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12507 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12508
12509 LTCC='$LTCC'
12510 LTCFLAGS='$LTCFLAGS'
12511 compiler='$compiler_DEFAULT'
12512
12513 # A function that is used when there is no print builtin or printf.
12514 func_fallback_echo ()
12515 {
12516   eval 'cat <<_LTECHO_EOF
12517 \$1
12518 _LTECHO_EOF'
12519 }
12520
12521 # Quote evaled strings.
12522 for var in AS \
12523 DLLTOOL \
12524 OBJDUMP \
12525 SHELL \
12526 ECHO \
12527 PATH_SEPARATOR \
12528 SED \
12529 GREP \
12530 EGREP \
12531 FGREP \
12532 LD \
12533 NM \
12534 LN_S \
12535 lt_SP2NL \
12536 lt_NL2SP \
12537 reload_flag \
12538 deplibs_check_method \
12539 file_magic_cmd \
12540 file_magic_glob \
12541 want_nocaseglob \
12542 sharedlib_from_linklib_cmd \
12543 AR \
12544 AR_FLAGS \
12545 archiver_list_spec \
12546 STRIP \
12547 RANLIB \
12548 CC \
12549 CFLAGS \
12550 compiler \
12551 lt_cv_sys_global_symbol_pipe \
12552 lt_cv_sys_global_symbol_to_cdecl \
12553 lt_cv_sys_global_symbol_to_c_name_address \
12554 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12555 nm_file_list_spec \
12556 lt_prog_compiler_no_builtin_flag \
12557 lt_prog_compiler_pic \
12558 lt_prog_compiler_wl \
12559 lt_prog_compiler_static \
12560 lt_cv_prog_compiler_c_o \
12561 need_locks \
12562 MANIFEST_TOOL \
12563 DSYMUTIL \
12564 NMEDIT \
12565 LIPO \
12566 OTOOL \
12567 OTOOL64 \
12568 shrext_cmds \
12569 export_dynamic_flag_spec \
12570 whole_archive_flag_spec \
12571 compiler_needs_object \
12572 with_gnu_ld \
12573 allow_undefined_flag \
12574 no_undefined_flag \
12575 hardcode_libdir_flag_spec \
12576 hardcode_libdir_separator \
12577 exclude_expsyms \
12578 include_expsyms \
12579 file_list_spec \
12580 variables_saved_for_relink \
12581 libname_spec \
12582 library_names_spec \
12583 soname_spec \
12584 install_override_mode \
12585 finish_eval \
12586 old_striplib \
12587 striplib; do
12588     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12589     *[\\\\\\\`\\"\\\$]*)
12590       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12591       ;;
12592     *)
12593       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12594       ;;
12595     esac
12596 done
12597
12598 # Double-quote double-evaled strings.
12599 for var in reload_cmds \
12600 old_postinstall_cmds \
12601 old_postuninstall_cmds \
12602 old_archive_cmds \
12603 extract_expsyms_cmds \
12604 old_archive_from_new_cmds \
12605 old_archive_from_expsyms_cmds \
12606 archive_cmds \
12607 archive_expsym_cmds \
12608 module_cmds \
12609 module_expsym_cmds \
12610 export_symbols_cmds \
12611 prelink_cmds \
12612 postlink_cmds \
12613 postinstall_cmds \
12614 postuninstall_cmds \
12615 finish_cmds \
12616 sys_lib_search_path_spec \
12617 sys_lib_dlsearch_path_spec; do
12618     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12619     *[\\\\\\\`\\"\\\$]*)
12620       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12621       ;;
12622     *)
12623       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12624       ;;
12625     esac
12626 done
12627
12628 ac_aux_dir='$ac_aux_dir'
12629 xsi_shell='$xsi_shell'
12630 lt_shell_append='$lt_shell_append'
12631
12632 # See if we are running on zsh, and set the options which allow our
12633 # commands through without removal of \ escapes INIT.
12634 if test -n "\${ZSH_VERSION+set}" ; then
12635    setopt NO_GLOB_SUBST
12636 fi
12637
12638
12639     PACKAGE='$PACKAGE'
12640     VERSION='$VERSION'
12641     TIMESTAMP='$TIMESTAMP'
12642     RM='$RM'
12643     ofile='$ofile'
12644
12645
12646
12647
12648 _ACEOF
12649
12650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12651
12652 # Handling of arguments.
12653 for ac_config_target in $ac_config_targets
12654 do
12655   case $ac_config_target in
12656     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12657     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12658     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12659
12660   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12661   esac
12662 done
12663
12664
12665 # If the user did not use the arguments to specify the items to instantiate,
12666 # then the envvar interface is used.  Set only those that are not.
12667 # We use the long form for the default assignment because of an extremely
12668 # bizarre bug on SunOS 4.1.3.
12669 if $ac_need_defaults; then
12670   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12671   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12672 fi
12673
12674 # Have a temporary directory for convenience.  Make it in the build tree
12675 # simply because there is no reason against having it here, and in addition,
12676 # creating and moving files from /tmp can sometimes cause problems.
12677 # Hook for its removal unless debugging.
12678 # Note that there is a small window in which the directory will not be cleaned:
12679 # after its creation but before its name has been assigned to `$tmp'.
12680 $debug ||
12681 {
12682   tmp= ac_tmp=
12683   trap 'exit_status=$?
12684   : "${ac_tmp:=$tmp}"
12685   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12686 ' 0
12687   trap 'as_fn_exit 1' 1 2 13 15
12688 }
12689 # Create a (secure) tmp directory for tmp files.
12690
12691 {
12692   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12693   test -d "$tmp"
12694 }  ||
12695 {
12696   tmp=./conf$$-$RANDOM
12697   (umask 077 && mkdir "$tmp")
12698 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12699 ac_tmp=$tmp
12700
12701 # Set up the scripts for CONFIG_FILES section.
12702 # No need to generate them if there are no CONFIG_FILES.
12703 # This happens for instance with `./config.status config.h'.
12704 if test -n "$CONFIG_FILES"; then
12705
12706
12707 ac_cr=`echo X | tr X '\015'`
12708 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12709 # But we know of no other shell where ac_cr would be empty at this
12710 # point, so we can use a bashism as a fallback.
12711 if test "x$ac_cr" = x; then
12712   eval ac_cr=\$\'\\r\'
12713 fi
12714 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12715 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12716   ac_cs_awk_cr='\\r'
12717 else
12718   ac_cs_awk_cr=$ac_cr
12719 fi
12720
12721 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12722 _ACEOF
12723
12724
12725 {
12726   echo "cat >conf$$subs.awk <<_ACEOF" &&
12727   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12728   echo "_ACEOF"
12729 } >conf$$subs.sh ||
12730   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12731 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12732 ac_delim='%!_!# '
12733 for ac_last_try in false false false false false :; do
12734   . ./conf$$subs.sh ||
12735     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12736
12737   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12738   if test $ac_delim_n = $ac_delim_num; then
12739     break
12740   elif $ac_last_try; then
12741     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12742   else
12743     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12744   fi
12745 done
12746 rm -f conf$$subs.sh
12747
12748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12749 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12750 _ACEOF
12751 sed -n '
12752 h
12753 s/^/S["/; s/!.*/"]=/
12754 p
12755 g
12756 s/^[^!]*!//
12757 :repl
12758 t repl
12759 s/'"$ac_delim"'$//
12760 t delim
12761 :nl
12762 h
12763 s/\(.\{148\}\)..*/\1/
12764 t more1
12765 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12766 p
12767 n
12768 b repl
12769 :more1
12770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12771 p
12772 g
12773 s/.\{148\}//
12774 t nl
12775 :delim
12776 h
12777 s/\(.\{148\}\)..*/\1/
12778 t more2
12779 s/["\\]/\\&/g; s/^/"/; s/$/"/
12780 p
12781 b
12782 :more2
12783 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12784 p
12785 g
12786 s/.\{148\}//
12787 t delim
12788 ' <conf$$subs.awk | sed '
12789 /^[^""]/{
12790   N
12791   s/\n//
12792 }
12793 ' >>$CONFIG_STATUS || ac_write_fail=1
12794 rm -f conf$$subs.awk
12795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12796 _ACAWK
12797 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12798   for (key in S) S_is_set[key] = 1
12799   FS = "\a"
12800
12801 }
12802 {
12803   line = $ 0
12804   nfields = split(line, field, "@")
12805   substed = 0
12806   len = length(field[1])
12807   for (i = 2; i < nfields; i++) {
12808     key = field[i]
12809     keylen = length(key)
12810     if (S_is_set[key]) {
12811       value = S[key]
12812       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12813       len += length(value) + length(field[++i])
12814       substed = 1
12815     } else
12816       len += 1 + keylen
12817   }
12818
12819   print line
12820 }
12821
12822 _ACAWK
12823 _ACEOF
12824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12825 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12826   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12827 else
12828   cat
12829 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12830   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12831 _ACEOF
12832
12833 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12834 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12835 # trailing colons and then remove the whole line if VPATH becomes empty
12836 # (actually we leave an empty line to preserve line numbers).
12837 if test "x$srcdir" = x.; then
12838   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
12839 h
12840 s///
12841 s/^/:/
12842 s/[      ]*$/:/
12843 s/:\$(srcdir):/:/g
12844 s/:\${srcdir}:/:/g
12845 s/:@srcdir@:/:/g
12846 s/^:*//
12847 s/:*$//
12848 x
12849 s/\(=[   ]*\).*/\1/
12850 G
12851 s/\n//
12852 s/^[^=]*=[       ]*$//
12853 }'
12854 fi
12855
12856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12857 fi # test -n "$CONFIG_FILES"
12858
12859
12860 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
12861 shift
12862 for ac_tag
12863 do
12864   case $ac_tag in
12865   :[FHLC]) ac_mode=$ac_tag; continue;;
12866   esac
12867   case $ac_mode$ac_tag in
12868   :[FHL]*:*);;
12869   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12870   :[FH]-) ac_tag=-:-;;
12871   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12872   esac
12873   ac_save_IFS=$IFS
12874   IFS=:
12875   set x $ac_tag
12876   IFS=$ac_save_IFS
12877   shift
12878   ac_file=$1
12879   shift
12880
12881   case $ac_mode in
12882   :L) ac_source=$1;;
12883   :[FH])
12884     ac_file_inputs=
12885     for ac_f
12886     do
12887       case $ac_f in
12888       -) ac_f="$ac_tmp/stdin";;
12889       *) # Look for the file first in the build tree, then in the source tree
12890          # (if the path is not absolute).  The absolute path cannot be DOS-style,
12891          # because $ac_f cannot contain `:'.
12892          test -f "$ac_f" ||
12893            case $ac_f in
12894            [\\/$]*) false;;
12895            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12896            esac ||
12897            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12898       esac
12899       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12900       as_fn_append ac_file_inputs " '$ac_f'"
12901     done
12902
12903     # Let's still pretend it is `configure' which instantiates (i.e., don't
12904     # use $as_me), people would be surprised to read:
12905     #    /* config.h.  Generated by config.status.  */
12906     configure_input='Generated from '`
12907           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12908         `' by configure.'
12909     if test x"$ac_file" != x-; then
12910       configure_input="$ac_file.  $configure_input"
12911       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12912 $as_echo "$as_me: creating $ac_file" >&6;}
12913     fi
12914     # Neutralize special characters interpreted by sed in replacement strings.
12915     case $configure_input in #(
12916     *\&* | *\|* | *\\* )
12917        ac_sed_conf_input=`$as_echo "$configure_input" |
12918        sed 's/[\\\\&|]/\\\\&/g'`;; #(
12919     *) ac_sed_conf_input=$configure_input;;
12920     esac
12921
12922     case $ac_tag in
12923     *:-:* | *:-) cat >"$ac_tmp/stdin" \
12924       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12925     esac
12926     ;;
12927   esac
12928
12929   ac_dir=`$as_dirname -- "$ac_file" ||
12930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12931          X"$ac_file" : 'X\(//\)[^/]' \| \
12932          X"$ac_file" : 'X\(//\)$' \| \
12933          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12934 $as_echo X"$ac_file" |
12935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12936             s//\1/
12937             q
12938           }
12939           /^X\(\/\/\)[^/].*/{
12940             s//\1/
12941             q
12942           }
12943           /^X\(\/\/\)$/{
12944             s//\1/
12945             q
12946           }
12947           /^X\(\/\).*/{
12948             s//\1/
12949             q
12950           }
12951           s/.*/./; q'`
12952   as_dir="$ac_dir"; as_fn_mkdir_p
12953   ac_builddir=.
12954
12955 case "$ac_dir" in
12956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12957 *)
12958   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12959   # A ".." for each directory in $ac_dir_suffix.
12960   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12961   case $ac_top_builddir_sub in
12962   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12963   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12964   esac ;;
12965 esac
12966 ac_abs_top_builddir=$ac_pwd
12967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12968 # for backward compatibility:
12969 ac_top_builddir=$ac_top_build_prefix
12970
12971 case $srcdir in
12972   .)  # We are building in place.
12973     ac_srcdir=.
12974     ac_top_srcdir=$ac_top_builddir_sub
12975     ac_abs_top_srcdir=$ac_pwd ;;
12976   [\\/]* | ?:[\\/]* )  # Absolute name.
12977     ac_srcdir=$srcdir$ac_dir_suffix;
12978     ac_top_srcdir=$srcdir
12979     ac_abs_top_srcdir=$srcdir ;;
12980   *) # Relative name.
12981     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12982     ac_top_srcdir=$ac_top_build_prefix$srcdir
12983     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12984 esac
12985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12986
12987
12988   case $ac_mode in
12989   :F)
12990   #
12991   # CONFIG_FILE
12992   #
12993
12994   case $INSTALL in
12995   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12996   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12997   esac
12998   ac_MKDIR_P=$MKDIR_P
12999   case $MKDIR_P in
13000   [\\/$]* | ?:[\\/]* ) ;;
13001   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13002   esac
13003 _ACEOF
13004
13005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13006 # If the template does not know about datarootdir, expand it.
13007 # FIXME: This hack should be removed a few years after 2.60.
13008 ac_datarootdir_hack=; ac_datarootdir_seen=
13009 ac_sed_dataroot='
13010 /datarootdir/ {
13011   p
13012   q
13013 }
13014 /@datadir@/p
13015 /@docdir@/p
13016 /@infodir@/p
13017 /@localedir@/p
13018 /@mandir@/p'
13019 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13020 *datarootdir*) ac_datarootdir_seen=yes;;
13021 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13023 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13024 _ACEOF
13025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13026   ac_datarootdir_hack='
13027   s&@datadir@&$datadir&g
13028   s&@docdir@&$docdir&g
13029   s&@infodir@&$infodir&g
13030   s&@localedir@&$localedir&g
13031   s&@mandir@&$mandir&g
13032   s&\\\${datarootdir}&$datarootdir&g' ;;
13033 esac
13034 _ACEOF
13035
13036 # Neutralize VPATH when `$srcdir' = `.'.
13037 # Shell code in configure.ac might set extrasub.
13038 # FIXME: do we really want to maintain this feature?
13039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13040 ac_sed_extra="$ac_vpsub
13041 $extrasub
13042 _ACEOF
13043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13044 :t
13045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13046 s|@configure_input@|$ac_sed_conf_input|;t t
13047 s&@top_builddir@&$ac_top_builddir_sub&;t t
13048 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13049 s&@srcdir@&$ac_srcdir&;t t
13050 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13051 s&@top_srcdir@&$ac_top_srcdir&;t t
13052 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13053 s&@builddir@&$ac_builddir&;t t
13054 s&@abs_builddir@&$ac_abs_builddir&;t t
13055 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13056 s&@INSTALL@&$ac_INSTALL&;t t
13057 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13058 $ac_datarootdir_hack
13059 "
13060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13061   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13062
13063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13064   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13065   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13066       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13068 which seems to be undefined.  Please make sure it is defined" >&5
13069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13070 which seems to be undefined.  Please make sure it is defined" >&2;}
13071
13072   rm -f "$ac_tmp/stdin"
13073   case $ac_file in
13074   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13075   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13076   esac \
13077   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13078  ;;
13079
13080
13081   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13082 $as_echo "$as_me: executing $ac_file commands" >&6;}
13083  ;;
13084   esac
13085
13086
13087   case $ac_file$ac_mode in
13088     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13089   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13090   # are listed without --file.  Let's play safe and only enable the eval
13091   # if we detect the quoting.
13092   case $CONFIG_FILES in
13093   *\'*) eval set x "$CONFIG_FILES" ;;
13094   *)   set x $CONFIG_FILES ;;
13095   esac
13096   shift
13097   for mf
13098   do
13099     # Strip MF so we end up with the name of the file.
13100     mf=`echo "$mf" | sed -e 's/:.*$//'`
13101     # Check whether this is an Automake generated Makefile or not.
13102     # We used to match only the files named `Makefile.in', but
13103     # some people rename them; so instead we look at the file content.
13104     # Grep'ing the first line is not enough: some people post-process
13105     # each Makefile.in and add a new line on top of each file to say so.
13106     # Grep'ing the whole file is not good either: AIX grep has a line
13107     # limit of 2048, but all sed's we know have understand at least 4000.
13108     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13109       dirpart=`$as_dirname -- "$mf" ||
13110 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13111          X"$mf" : 'X\(//\)[^/]' \| \
13112          X"$mf" : 'X\(//\)$' \| \
13113          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13114 $as_echo X"$mf" |
13115     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13116             s//\1/
13117             q
13118           }
13119           /^X\(\/\/\)[^/].*/{
13120             s//\1/
13121             q
13122           }
13123           /^X\(\/\/\)$/{
13124             s//\1/
13125             q
13126           }
13127           /^X\(\/\).*/{
13128             s//\1/
13129             q
13130           }
13131           s/.*/./; q'`
13132     else
13133       continue
13134     fi
13135     # Extract the definition of DEPDIR, am__include, and am__quote
13136     # from the Makefile without running `make'.
13137     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13138     test -z "$DEPDIR" && continue
13139     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13140     test -z "am__include" && continue
13141     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13142     # When using ansi2knr, U may be empty or an underscore; expand it
13143     U=`sed -n 's/^U = //p' < "$mf"`
13144     # Find all dependency output files, they are included files with
13145     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13146     # simplest approach to changing $(DEPDIR) to its actual value in the
13147     # expansion.
13148     for file in `sed -n "
13149       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13150          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13151       # Make sure the directory exists.
13152       test -f "$dirpart/$file" && continue
13153       fdir=`$as_dirname -- "$file" ||
13154 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13155          X"$file" : 'X\(//\)[^/]' \| \
13156          X"$file" : 'X\(//\)$' \| \
13157          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13158 $as_echo X"$file" |
13159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13160             s//\1/
13161             q
13162           }
13163           /^X\(\/\/\)[^/].*/{
13164             s//\1/
13165             q
13166           }
13167           /^X\(\/\/\)$/{
13168             s//\1/
13169             q
13170           }
13171           /^X\(\/\).*/{
13172             s//\1/
13173             q
13174           }
13175           s/.*/./; q'`
13176       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13177       # echo "creating $dirpart/$file"
13178       echo '# dummy' > "$dirpart/$file"
13179     done
13180   done
13181 }
13182  ;;
13183     "libtool":C)
13184
13185     # See if we are running on zsh, and set the options which allow our
13186     # commands through without removal of \ escapes.
13187     if test -n "${ZSH_VERSION+set}" ; then
13188       setopt NO_GLOB_SUBST
13189     fi
13190
13191     cfgfile="${ofile}T"
13192     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13193     $RM "$cfgfile"
13194
13195     cat <<_LT_EOF >> "$cfgfile"
13196 #! $SHELL
13197
13198 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13199 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13200 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13201 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13202 #
13203 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13204 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13205 #                 Foundation, Inc.
13206 #   Written by Gordon Matzigkeit, 1996
13207 #
13208 #   This file is part of GNU Libtool.
13209 #
13210 # GNU Libtool is free software; you can redistribute it and/or
13211 # modify it under the terms of the GNU General Public License as
13212 # published by the Free Software Foundation; either version 2 of
13213 # the License, or (at your option) any later version.
13214 #
13215 # As a special exception to the GNU General Public License,
13216 # if you distribute this file as part of a program or library that
13217 # is built using GNU Libtool, you may include this file under the
13218 # same distribution terms that you use for the rest of that program.
13219 #
13220 # GNU Libtool is distributed in the hope that it will be useful,
13221 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13222 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13223 # GNU General Public License for more details.
13224 #
13225 # You should have received a copy of the GNU General Public License
13226 # along with GNU Libtool; see the file COPYING.  If not, a copy
13227 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13228 # obtained by writing to the Free Software Foundation, Inc.,
13229 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13230
13231
13232 # The names of the tagged configurations supported by this script.
13233 available_tags=""
13234
13235 # ### BEGIN LIBTOOL CONFIG
13236
13237 # Which release of libtool.m4 was used?
13238 macro_version=$macro_version
13239 macro_revision=$macro_revision
13240
13241 # Assembler program.
13242 AS=$lt_AS
13243
13244 # DLL creation program.
13245 DLLTOOL=$lt_DLLTOOL
13246
13247 # Object dumper program.
13248 OBJDUMP=$lt_OBJDUMP
13249
13250 # Whether or not to build shared libraries.
13251 build_libtool_libs=$enable_shared
13252
13253 # Whether or not to build static libraries.
13254 build_old_libs=$enable_static
13255
13256 # What type of objects to build.
13257 pic_mode=$pic_mode
13258
13259 # Whether or not to optimize for fast installation.
13260 fast_install=$enable_fast_install
13261
13262 # Shell to use when invoking shell scripts.
13263 SHELL=$lt_SHELL
13264
13265 # An echo program that protects backslashes.
13266 ECHO=$lt_ECHO
13267
13268 # The PATH separator for the build system.
13269 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13270
13271 # The host system.
13272 host_alias=$host_alias
13273 host=$host
13274 host_os=$host_os
13275
13276 # The build system.
13277 build_alias=$build_alias
13278 build=$build
13279 build_os=$build_os
13280
13281 # A sed program that does not truncate output.
13282 SED=$lt_SED
13283
13284 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13285 Xsed="\$SED -e 1s/^X//"
13286
13287 # A grep program that handles long lines.
13288 GREP=$lt_GREP
13289
13290 # An ERE matcher.
13291 EGREP=$lt_EGREP
13292
13293 # A literal string matcher.
13294 FGREP=$lt_FGREP
13295
13296 # A BSD- or MS-compatible name lister.
13297 NM=$lt_NM
13298
13299 # Whether we need soft or hard links.
13300 LN_S=$lt_LN_S
13301
13302 # What is the maximum length of a command?
13303 max_cmd_len=$max_cmd_len
13304
13305 # Object file suffix (normally "o").
13306 objext=$ac_objext
13307
13308 # Executable file suffix (normally "").
13309 exeext=$exeext
13310
13311 # whether the shell understands "unset".
13312 lt_unset=$lt_unset
13313
13314 # turn spaces into newlines.
13315 SP2NL=$lt_lt_SP2NL
13316
13317 # turn newlines into spaces.
13318 NL2SP=$lt_lt_NL2SP
13319
13320 # convert \$build file names to \$host format.
13321 to_host_file_cmd=$lt_cv_to_host_file_cmd
13322
13323 # convert \$build files to toolchain format.
13324 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13325
13326 # Method to check whether dependent libraries are shared objects.
13327 deplibs_check_method=$lt_deplibs_check_method
13328
13329 # Command to use when deplibs_check_method = "file_magic".
13330 file_magic_cmd=$lt_file_magic_cmd
13331
13332 # How to find potential files when deplibs_check_method = "file_magic".
13333 file_magic_glob=$lt_file_magic_glob
13334
13335 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13336 want_nocaseglob=$lt_want_nocaseglob
13337
13338 # Command to associate shared and link libraries.
13339 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13340
13341 # The archiver.
13342 AR=$lt_AR
13343
13344 # Flags to create an archive.
13345 AR_FLAGS=$lt_AR_FLAGS
13346
13347 # How to feed a file listing to the archiver.
13348 archiver_list_spec=$lt_archiver_list_spec
13349
13350 # A symbol stripping program.
13351 STRIP=$lt_STRIP
13352
13353 # Commands used to install an old-style archive.
13354 RANLIB=$lt_RANLIB
13355 old_postinstall_cmds=$lt_old_postinstall_cmds
13356 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13357
13358 # Whether to use a lock for old archive extraction.
13359 lock_old_archive_extraction=$lock_old_archive_extraction
13360
13361 # A C compiler.
13362 LTCC=$lt_CC
13363
13364 # LTCC compiler flags.
13365 LTCFLAGS=$lt_CFLAGS
13366
13367 # Take the output of nm and produce a listing of raw symbols and C names.
13368 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13369
13370 # Transform the output of nm in a proper C declaration.
13371 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13372
13373 # Transform the output of nm in a C name address pair.
13374 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13375
13376 # Transform the output of nm in a C name address pair when lib prefix is needed.
13377 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13378
13379 # Specify filename containing input files for \$NM.
13380 nm_file_list_spec=$lt_nm_file_list_spec
13381
13382 # The root where to search for dependent libraries,and in which our libraries should be installed.
13383 lt_sysroot=$lt_sysroot
13384
13385 # The name of the directory that contains temporary libtool files.
13386 objdir=$objdir
13387
13388 # Used to examine libraries when file_magic_cmd begins with "file".
13389 MAGIC_CMD=$MAGIC_CMD
13390
13391 # Must we lock files when doing compilation?
13392 need_locks=$lt_need_locks
13393
13394 # Manifest tool.
13395 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13396
13397 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13398 DSYMUTIL=$lt_DSYMUTIL
13399
13400 # Tool to change global to local symbols on Mac OS X.
13401 NMEDIT=$lt_NMEDIT
13402
13403 # Tool to manipulate fat objects and archives on Mac OS X.
13404 LIPO=$lt_LIPO
13405
13406 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13407 OTOOL=$lt_OTOOL
13408
13409 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13410 OTOOL64=$lt_OTOOL64
13411
13412 # Old archive suffix (normally "a").
13413 libext=$libext
13414
13415 # Shared library suffix (normally ".so").
13416 shrext_cmds=$lt_shrext_cmds
13417
13418 # The commands to extract the exported symbol list from a shared archive.
13419 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13420
13421 # Variables whose values should be saved in libtool wrapper scripts and
13422 # restored at link time.
13423 variables_saved_for_relink=$lt_variables_saved_for_relink
13424
13425 # Do we need the "lib" prefix for modules?
13426 need_lib_prefix=$need_lib_prefix
13427
13428 # Do we need a version for libraries?
13429 need_version=$need_version
13430
13431 # Library versioning type.
13432 version_type=$version_type
13433
13434 # Shared library runtime path variable.
13435 runpath_var=$runpath_var
13436
13437 # Shared library path variable.
13438 shlibpath_var=$shlibpath_var
13439
13440 # Is shlibpath searched before the hard-coded library search path?
13441 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13442
13443 # Format of library name prefix.
13444 libname_spec=$lt_libname_spec
13445
13446 # List of archive names.  First name is the real one, the rest are links.
13447 # The last name is the one that the linker finds with -lNAME
13448 library_names_spec=$lt_library_names_spec
13449
13450 # The coded name of the library, if different from the real name.
13451 soname_spec=$lt_soname_spec
13452
13453 # Permission mode override for installation of shared libraries.
13454 install_override_mode=$lt_install_override_mode
13455
13456 # Command to use after installation of a shared archive.
13457 postinstall_cmds=$lt_postinstall_cmds
13458
13459 # Command to use after uninstallation of a shared archive.
13460 postuninstall_cmds=$lt_postuninstall_cmds
13461
13462 # Commands used to finish a libtool library installation in a directory.
13463 finish_cmds=$lt_finish_cmds
13464
13465 # As "finish_cmds", except a single script fragment to be evaled but
13466 # not shown.
13467 finish_eval=$lt_finish_eval
13468
13469 # Whether we should hardcode library paths into libraries.
13470 hardcode_into_libs=$hardcode_into_libs
13471
13472 # Compile-time system search path for libraries.
13473 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13474
13475 # Run-time system search path for libraries.
13476 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13477
13478 # Whether dlopen is supported.
13479 dlopen_support=$enable_dlopen
13480
13481 # Whether dlopen of programs is supported.
13482 dlopen_self=$enable_dlopen_self
13483
13484 # Whether dlopen of statically linked programs is supported.
13485 dlopen_self_static=$enable_dlopen_self_static
13486
13487 # Commands to strip libraries.
13488 old_striplib=$lt_old_striplib
13489 striplib=$lt_striplib
13490
13491
13492 # The linker used to build libraries.
13493 LD=$lt_LD
13494
13495 # How to create reloadable object files.
13496 reload_flag=$lt_reload_flag
13497 reload_cmds=$lt_reload_cmds
13498
13499 # Commands used to build an old-style archive.
13500 old_archive_cmds=$lt_old_archive_cmds
13501
13502 # A language specific compiler.
13503 CC=$lt_compiler
13504
13505 # Is the compiler the GNU compiler?
13506 with_gcc=$GCC
13507
13508 # Compiler flag to turn off builtin functions.
13509 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13510
13511 # Additional compiler flags for building library objects.
13512 pic_flag=$lt_lt_prog_compiler_pic
13513
13514 # How to pass a linker flag through the compiler.
13515 wl=$lt_lt_prog_compiler_wl
13516
13517 # Compiler flag to prevent dynamic linking.
13518 link_static_flag=$lt_lt_prog_compiler_static
13519
13520 # Does compiler simultaneously support -c and -o options?
13521 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13522
13523 # Whether or not to add -lc for building shared libraries.
13524 build_libtool_need_lc=$archive_cmds_need_lc
13525
13526 # Whether or not to disallow shared libs when runtime libs are static.
13527 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13528
13529 # Compiler flag to allow reflexive dlopens.
13530 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13531
13532 # Compiler flag to generate shared objects directly from archives.
13533 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13534
13535 # Whether the compiler copes with passing no objects directly.
13536 compiler_needs_object=$lt_compiler_needs_object
13537
13538 # Create an old-style archive from a shared archive.
13539 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13540
13541 # Create a temporary old-style archive to link instead of a shared archive.
13542 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13543
13544 # Commands used to build a shared archive.
13545 archive_cmds=$lt_archive_cmds
13546 archive_expsym_cmds=$lt_archive_expsym_cmds
13547
13548 # Commands used to build a loadable module if different from building
13549 # a shared archive.
13550 module_cmds=$lt_module_cmds
13551 module_expsym_cmds=$lt_module_expsym_cmds
13552
13553 # Whether we are building with GNU ld or not.
13554 with_gnu_ld=$lt_with_gnu_ld
13555
13556 # Flag that allows shared libraries with undefined symbols to be built.
13557 allow_undefined_flag=$lt_allow_undefined_flag
13558
13559 # Flag that enforces no undefined symbols.
13560 no_undefined_flag=$lt_no_undefined_flag
13561
13562 # Flag to hardcode \$libdir into a binary during linking.
13563 # This must work even if \$libdir does not exist
13564 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13565
13566 # Whether we need a single "-rpath" flag with a separated argument.
13567 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13568
13569 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13570 # DIR into the resulting binary.
13571 hardcode_direct=$hardcode_direct
13572
13573 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13574 # DIR into the resulting binary and the resulting library dependency is
13575 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13576 # library is relocated.
13577 hardcode_direct_absolute=$hardcode_direct_absolute
13578
13579 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13580 # into the resulting binary.
13581 hardcode_minus_L=$hardcode_minus_L
13582
13583 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13584 # into the resulting binary.
13585 hardcode_shlibpath_var=$hardcode_shlibpath_var
13586
13587 # Set to "yes" if building a shared library automatically hardcodes DIR
13588 # into the library and all subsequent libraries and executables linked
13589 # against it.
13590 hardcode_automatic=$hardcode_automatic
13591
13592 # Set to yes if linker adds runtime paths of dependent libraries
13593 # to runtime path list.
13594 inherit_rpath=$inherit_rpath
13595
13596 # Whether libtool must link a program against all its dependency libraries.
13597 link_all_deplibs=$link_all_deplibs
13598
13599 # Set to "yes" if exported symbols are required.
13600 always_export_symbols=$always_export_symbols
13601
13602 # The commands to list exported symbols.
13603 export_symbols_cmds=$lt_export_symbols_cmds
13604
13605 # Symbols that should not be listed in the preloaded symbols.
13606 exclude_expsyms=$lt_exclude_expsyms
13607
13608 # Symbols that must always be exported.
13609 include_expsyms=$lt_include_expsyms
13610
13611 # Commands necessary for linking programs (against libraries) with templates.
13612 prelink_cmds=$lt_prelink_cmds
13613
13614 # Commands necessary for finishing linking programs.
13615 postlink_cmds=$lt_postlink_cmds
13616
13617 # Specify filename containing input files.
13618 file_list_spec=$lt_file_list_spec
13619
13620 # How to hardcode a shared library path into an executable.
13621 hardcode_action=$hardcode_action
13622
13623 # ### END LIBTOOL CONFIG
13624
13625 _LT_EOF
13626
13627   case $host_os in
13628   aix3*)
13629     cat <<\_LT_EOF >> "$cfgfile"
13630 # AIX sometimes has problems with the GCC collect2 program.  For some
13631 # reason, if we set the COLLECT_NAMES environment variable, the problems
13632 # vanish in a puff of smoke.
13633 if test "X${COLLECT_NAMES+set}" != Xset; then
13634   COLLECT_NAMES=
13635   export COLLECT_NAMES
13636 fi
13637 _LT_EOF
13638     ;;
13639   esac
13640
13641
13642 ltmain="$ac_aux_dir/ltmain.sh"
13643
13644
13645   # We use sed instead of cat because bash on DJGPP gets confused if
13646   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13647   # text mode, it properly converts lines to CR/LF.  This bash problem
13648   # is reportedly fixed, but why not run on old versions too?
13649   sed '$q' "$ltmain" >> "$cfgfile" \
13650      || (rm -f "$cfgfile"; exit 1)
13651
13652   if test x"$xsi_shell" = xyes; then
13653   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13654 func_dirname ()\
13655 {\
13656 \    case ${1} in\
13657 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13658 \      *  ) func_dirname_result="${3}" ;;\
13659 \    esac\
13660 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13661   && mv -f "$cfgfile.tmp" "$cfgfile" \
13662     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13663 test 0 -eq $? || _lt_function_replace_fail=:
13664
13665
13666   sed -e '/^func_basename ()$/,/^} # func_basename /c\
13667 func_basename ()\
13668 {\
13669 \    func_basename_result="${1##*/}"\
13670 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13671   && mv -f "$cfgfile.tmp" "$cfgfile" \
13672     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13673 test 0 -eq $? || _lt_function_replace_fail=:
13674
13675
13676   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13677 func_dirname_and_basename ()\
13678 {\
13679 \    case ${1} in\
13680 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13681 \      *  ) func_dirname_result="${3}" ;;\
13682 \    esac\
13683 \    func_basename_result="${1##*/}"\
13684 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13685   && mv -f "$cfgfile.tmp" "$cfgfile" \
13686     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13687 test 0 -eq $? || _lt_function_replace_fail=:
13688
13689
13690   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13691 func_stripname ()\
13692 {\
13693 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13694 \    # positional parameters, so assign one to ordinary parameter first.\
13695 \    func_stripname_result=${3}\
13696 \    func_stripname_result=${func_stripname_result#"${1}"}\
13697 \    func_stripname_result=${func_stripname_result%"${2}"}\
13698 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13699   && mv -f "$cfgfile.tmp" "$cfgfile" \
13700     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13701 test 0 -eq $? || _lt_function_replace_fail=:
13702
13703
13704   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13705 func_split_long_opt ()\
13706 {\
13707 \    func_split_long_opt_name=${1%%=*}\
13708 \    func_split_long_opt_arg=${1#*=}\
13709 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13710   && mv -f "$cfgfile.tmp" "$cfgfile" \
13711     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13712 test 0 -eq $? || _lt_function_replace_fail=:
13713
13714
13715   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13716 func_split_short_opt ()\
13717 {\
13718 \    func_split_short_opt_arg=${1#??}\
13719 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13720 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13721   && mv -f "$cfgfile.tmp" "$cfgfile" \
13722     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13723 test 0 -eq $? || _lt_function_replace_fail=:
13724
13725
13726   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13727 func_lo2o ()\
13728 {\
13729 \    case ${1} in\
13730 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13731 \      *)    func_lo2o_result=${1} ;;\
13732 \    esac\
13733 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13734   && mv -f "$cfgfile.tmp" "$cfgfile" \
13735     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13736 test 0 -eq $? || _lt_function_replace_fail=:
13737
13738
13739   sed -e '/^func_xform ()$/,/^} # func_xform /c\
13740 func_xform ()\
13741 {\
13742     func_xform_result=${1%.*}.lo\
13743 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13744   && mv -f "$cfgfile.tmp" "$cfgfile" \
13745     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13746 test 0 -eq $? || _lt_function_replace_fail=:
13747
13748
13749   sed -e '/^func_arith ()$/,/^} # func_arith /c\
13750 func_arith ()\
13751 {\
13752     func_arith_result=$(( $* ))\
13753 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13754   && mv -f "$cfgfile.tmp" "$cfgfile" \
13755     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13756 test 0 -eq $? || _lt_function_replace_fail=:
13757
13758
13759   sed -e '/^func_len ()$/,/^} # func_len /c\
13760 func_len ()\
13761 {\
13762     func_len_result=${#1}\
13763 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13764   && mv -f "$cfgfile.tmp" "$cfgfile" \
13765     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13766 test 0 -eq $? || _lt_function_replace_fail=:
13767
13768 fi
13769
13770 if test x"$lt_shell_append" = xyes; then
13771   sed -e '/^func_append ()$/,/^} # func_append /c\
13772 func_append ()\
13773 {\
13774     eval "${1}+=\\${2}"\
13775 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13776   && mv -f "$cfgfile.tmp" "$cfgfile" \
13777     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13778 test 0 -eq $? || _lt_function_replace_fail=:
13779
13780
13781   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13782 func_append_quoted ()\
13783 {\
13784 \    func_quote_for_eval "${2}"\
13785 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13786 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13787   && mv -f "$cfgfile.tmp" "$cfgfile" \
13788     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13789 test 0 -eq $? || _lt_function_replace_fail=:
13790
13791
13792   # Save a `func_append' function call where possible by direct use of '+='
13793   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13794     && mv -f "$cfgfile.tmp" "$cfgfile" \
13795       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13796   test 0 -eq $? || _lt_function_replace_fail=:
13797 else
13798   # Save a `func_append' function call even when '+=' is not available
13799   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13800     && mv -f "$cfgfile.tmp" "$cfgfile" \
13801       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13802   test 0 -eq $? || _lt_function_replace_fail=:
13803 fi
13804
13805 if test x"$_lt_function_replace_fail" = x":"; then
13806   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13807 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13808 fi
13809
13810
13811    mv -f "$cfgfile" "$ofile" ||
13812     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13813   chmod +x "$ofile"
13814
13815  ;;
13816
13817   esac
13818 done # for ac_tag
13819
13820
13821 as_fn_exit 0
13822 _ACEOF
13823 ac_clean_files=$ac_clean_files_save
13824
13825 test $ac_write_fail = 0 ||
13826   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13827
13828
13829 # configure is writing to config.log, and then calls config.status.
13830 # config.status does its own redirection, appending to config.log.
13831 # Unfortunately, on DOS this fails, as config.log is still kept open
13832 # by configure, so config.status won't be able to write to it; its
13833 # output is simply discarded.  So we exec the FD to /dev/null,
13834 # effectively closing config.log, so it can be properly (re)opened and
13835 # appended to by config.status.  When coming back to configure, we
13836 # need to make the FD available again.
13837 if test "$no_create" != yes; then
13838   ac_cs_success=:
13839   ac_config_status_args=
13840   test "$silent" = yes &&
13841     ac_config_status_args="$ac_config_status_args --quiet"
13842   exec 5>/dev/null
13843   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13844   exec 5>>config.log
13845   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13846   # would make configure fail if this is the last instruction.
13847   $ac_cs_success || as_fn_exit 1
13848 fi
13849 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13850   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13851 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13852 fi
13853