Imported Upstream version 2.4.2
[platform/upstream/libtool.git] / tests / depdemo / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for depdemo 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='depdemo'
572 PACKAGE_TARNAME='depdemo'
573 PACKAGE_VERSION='1.0'
574 PACKAGE_STRING='depdemo 1.0'
575 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
576 PACKAGE_URL=''
577
578 ac_unique_file="main.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 STATIC
621 LIBTOOL_DEPS
622 CPP
623 OTOOL64
624 OTOOL
625 LIPO
626 NMEDIT
627 DSYMUTIL
628 MANIFEST_TOOL
629 RANLIB
630 ac_ct_AR
631 AR
632 LN_S
633 NM
634 ac_ct_DUMPBIN
635 DUMPBIN
636 LD
637 FGREP
638 EGREP
639 GREP
640 SED
641 host_os
642 host_vendor
643 host_cpu
644 host
645 build_os
646 build_vendor
647 build_cpu
648 build
649 LIBTOOL
650 OBJDUMP
651 DLLTOOL
652 AS
653 am__fastdepCC_FALSE
654 am__fastdepCC_TRUE
655 CCDEPMODE
656 AMDEPBACKSLASH
657 AMDEP_FALSE
658 AMDEP_TRUE
659 am__quote
660 am__include
661 DEPDIR
662 OBJEXT
663 EXEEXT
664 ac_ct_CC
665 CPPFLAGS
666 LDFLAGS
667 CFLAGS
668 CC
669 am__untar
670 am__tar
671 AMTAR
672 am__leading_dot
673 SET_MAKE
674 AWK
675 mkdir_p
676 MKDIR_P
677 INSTALL_STRIP_PROGRAM
678 STRIP
679 install_sh
680 MAKEINFO
681 AUTOHEADER
682 AUTOMAKE
683 AUTOCONF
684 ACLOCAL
685 VERSION
686 PACKAGE
687 CYGPATH_W
688 am__isrc
689 INSTALL_DATA
690 INSTALL_SCRIPT
691 INSTALL_PROGRAM
692 target_alias
693 host_alias
694 build_alias
695 LIBS
696 ECHO_T
697 ECHO_N
698 ECHO_C
699 DEFS
700 mandir
701 localedir
702 libdir
703 psdir
704 pdfdir
705 dvidir
706 htmldir
707 infodir
708 docdir
709 oldincludedir
710 includedir
711 localstatedir
712 sharedstatedir
713 sysconfdir
714 datadir
715 datarootdir
716 libexecdir
717 sbindir
718 bindir
719 program_transform_name
720 prefix
721 exec_prefix
722 PACKAGE_URL
723 PACKAGE_BUGREPORT
724 PACKAGE_STRING
725 PACKAGE_VERSION
726 PACKAGE_TARNAME
727 PACKAGE_NAME
728 PATH_SEPARATOR
729 SHELL'
730 ac_subst_files=''
731 ac_user_opts='
732 enable_option_checking
733 enable_dependency_tracking
734 enable_shared
735 enable_static
736 with_pic
737 enable_fast_install
738 with_gnu_ld
739 with_sysroot
740 enable_libtool_lock
741 '
742       ac_precious_vars='build_alias
743 host_alias
744 target_alias
745 CC
746 CFLAGS
747 LDFLAGS
748 LIBS
749 CPPFLAGS
750 CPP'
751
752
753 # Initialize some variables set by options.
754 ac_init_help=
755 ac_init_version=false
756 ac_unrecognized_opts=
757 ac_unrecognized_sep=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
760 cache_file=/dev/null
761 exec_prefix=NONE
762 no_create=
763 no_recursion=
764 prefix=NONE
765 program_prefix=NONE
766 program_suffix=NONE
767 program_transform_name=s,x,x,
768 silent=
769 site=
770 srcdir=
771 verbose=
772 x_includes=NONE
773 x_libraries=NONE
774
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
793 htmldir='${docdir}'
794 dvidir='${docdir}'
795 pdfdir='${docdir}'
796 psdir='${docdir}'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
800
801 ac_prev=
802 ac_dashdash=
803 for ac_option
804 do
805   # If the previous option needs an argument, assign it.
806   if test -n "$ac_prev"; then
807     eval $ac_prev=\$ac_option
808     ac_prev=
809     continue
810   fi
811
812   case $ac_option in
813   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814   *=)   ac_optarg= ;;
815   *)    ac_optarg=yes ;;
816   esac
817
818   # Accept the important Cygnus configure options, so we can diagnose typos.
819
820   case $ac_dashdash$ac_option in
821   --)
822     ac_dashdash=yes ;;
823
824   -bindir | --bindir | --bindi | --bind | --bin | --bi)
825     ac_prev=bindir ;;
826   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827     bindir=$ac_optarg ;;
828
829   -build | --build | --buil | --bui | --bu)
830     ac_prev=build_alias ;;
831   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832     build_alias=$ac_optarg ;;
833
834   -cache-file | --cache-file | --cache-fil | --cache-fi \
835   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836     ac_prev=cache_file ;;
837   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839     cache_file=$ac_optarg ;;
840
841   --config-cache | -C)
842     cache_file=config.cache ;;
843
844   -datadir | --datadir | --datadi | --datad)
845     ac_prev=datadir ;;
846   -datadir=* | --datadir=* | --datadi=* | --datad=*)
847     datadir=$ac_optarg ;;
848
849   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850   | --dataroo | --dataro | --datar)
851     ac_prev=datarootdir ;;
852   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854     datarootdir=$ac_optarg ;;
855
856   -disable-* | --disable-*)
857     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858     # Reject names that are not valid shell variable names.
859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860       as_fn_error $? "invalid feature name: $ac_useropt"
861     ac_useropt_orig=$ac_useropt
862     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863     case $ac_user_opts in
864       *"
865 "enable_$ac_useropt"
866 "*) ;;
867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868          ac_unrecognized_sep=', ';;
869     esac
870     eval enable_$ac_useropt=no ;;
871
872   -docdir | --docdir | --docdi | --doc | --do)
873     ac_prev=docdir ;;
874   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875     docdir=$ac_optarg ;;
876
877   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878     ac_prev=dvidir ;;
879   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880     dvidir=$ac_optarg ;;
881
882   -enable-* | --enable-*)
883     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884     # Reject names that are not valid shell variable names.
885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886       as_fn_error $? "invalid feature name: $ac_useropt"
887     ac_useropt_orig=$ac_useropt
888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889     case $ac_user_opts in
890       *"
891 "enable_$ac_useropt"
892 "*) ;;
893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894          ac_unrecognized_sep=', ';;
895     esac
896     eval enable_$ac_useropt=\$ac_optarg ;;
897
898   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900   | --exec | --exe | --ex)
901     ac_prev=exec_prefix ;;
902   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904   | --exec=* | --exe=* | --ex=*)
905     exec_prefix=$ac_optarg ;;
906
907   -gas | --gas | --ga | --g)
908     # Obsolete; use --with-gas.
909     with_gas=yes ;;
910
911   -help | --help | --hel | --he | -h)
912     ac_init_help=long ;;
913   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914     ac_init_help=recursive ;;
915   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916     ac_init_help=short ;;
917
918   -host | --host | --hos | --ho)
919     ac_prev=host_alias ;;
920   -host=* | --host=* | --hos=* | --ho=*)
921     host_alias=$ac_optarg ;;
922
923   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924     ac_prev=htmldir ;;
925   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926   | --ht=*)
927     htmldir=$ac_optarg ;;
928
929   -includedir | --includedir | --includedi | --included | --include \
930   | --includ | --inclu | --incl | --inc)
931     ac_prev=includedir ;;
932   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933   | --includ=* | --inclu=* | --incl=* | --inc=*)
934     includedir=$ac_optarg ;;
935
936   -infodir | --infodir | --infodi | --infod | --info | --inf)
937     ac_prev=infodir ;;
938   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939     infodir=$ac_optarg ;;
940
941   -libdir | --libdir | --libdi | --libd)
942     ac_prev=libdir ;;
943   -libdir=* | --libdir=* | --libdi=* | --libd=*)
944     libdir=$ac_optarg ;;
945
946   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947   | --libexe | --libex | --libe)
948     ac_prev=libexecdir ;;
949   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950   | --libexe=* | --libex=* | --libe=*)
951     libexecdir=$ac_optarg ;;
952
953   -localedir | --localedir | --localedi | --localed | --locale)
954     ac_prev=localedir ;;
955   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956     localedir=$ac_optarg ;;
957
958   -localstatedir | --localstatedir | --localstatedi | --localstated \
959   | --localstate | --localstat | --localsta | --localst | --locals)
960     ac_prev=localstatedir ;;
961   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963     localstatedir=$ac_optarg ;;
964
965   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966     ac_prev=mandir ;;
967   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968     mandir=$ac_optarg ;;
969
970   -nfp | --nfp | --nf)
971     # Obsolete; use --without-fp.
972     with_fp=no ;;
973
974   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975   | --no-cr | --no-c | -n)
976     no_create=yes ;;
977
978   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980     no_recursion=yes ;;
981
982   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984   | --oldin | --oldi | --old | --ol | --o)
985     ac_prev=oldincludedir ;;
986   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989     oldincludedir=$ac_optarg ;;
990
991   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992     ac_prev=prefix ;;
993   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994     prefix=$ac_optarg ;;
995
996   -program-prefix | --program-prefix | --program-prefi | --program-pref \
997   | --program-pre | --program-pr | --program-p)
998     ac_prev=program_prefix ;;
999   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001     program_prefix=$ac_optarg ;;
1002
1003   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004   | --program-suf | --program-su | --program-s)
1005     ac_prev=program_suffix ;;
1006   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008     program_suffix=$ac_optarg ;;
1009
1010   -program-transform-name | --program-transform-name \
1011   | --program-transform-nam | --program-transform-na \
1012   | --program-transform-n | --program-transform- \
1013   | --program-transform | --program-transfor \
1014   | --program-transfo | --program-transf \
1015   | --program-trans | --program-tran \
1016   | --progr-tra | --program-tr | --program-t)
1017     ac_prev=program_transform_name ;;
1018   -program-transform-name=* | --program-transform-name=* \
1019   | --program-transform-nam=* | --program-transform-na=* \
1020   | --program-transform-n=* | --program-transform-=* \
1021   | --program-transform=* | --program-transfor=* \
1022   | --program-transfo=* | --program-transf=* \
1023   | --program-trans=* | --program-tran=* \
1024   | --progr-tra=* | --program-tr=* | --program-t=*)
1025     program_transform_name=$ac_optarg ;;
1026
1027   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028     ac_prev=pdfdir ;;
1029   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030     pdfdir=$ac_optarg ;;
1031
1032   -psdir | --psdir | --psdi | --psd | --ps)
1033     ac_prev=psdir ;;
1034   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035     psdir=$ac_optarg ;;
1036
1037   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038   | -silent | --silent | --silen | --sile | --sil)
1039     silent=yes ;;
1040
1041   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042     ac_prev=sbindir ;;
1043   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044   | --sbi=* | --sb=*)
1045     sbindir=$ac_optarg ;;
1046
1047   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049   | --sharedst | --shareds | --shared | --share | --shar \
1050   | --sha | --sh)
1051     ac_prev=sharedstatedir ;;
1052   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055   | --sha=* | --sh=*)
1056     sharedstatedir=$ac_optarg ;;
1057
1058   -site | --site | --sit)
1059     ac_prev=site ;;
1060   -site=* | --site=* | --sit=*)
1061     site=$ac_optarg ;;
1062
1063   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064     ac_prev=srcdir ;;
1065   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066     srcdir=$ac_optarg ;;
1067
1068   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069   | --syscon | --sysco | --sysc | --sys | --sy)
1070     ac_prev=sysconfdir ;;
1071   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073     sysconfdir=$ac_optarg ;;
1074
1075   -target | --target | --targe | --targ | --tar | --ta | --t)
1076     ac_prev=target_alias ;;
1077   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078     target_alias=$ac_optarg ;;
1079
1080   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081     verbose=yes ;;
1082
1083   -version | --version | --versio | --versi | --vers | -V)
1084     ac_init_version=: ;;
1085
1086   -with-* | --with-*)
1087     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088     # Reject names that are not valid shell variable names.
1089     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090       as_fn_error $? "invalid package name: $ac_useropt"
1091     ac_useropt_orig=$ac_useropt
1092     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093     case $ac_user_opts in
1094       *"
1095 "with_$ac_useropt"
1096 "*) ;;
1097       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098          ac_unrecognized_sep=', ';;
1099     esac
1100     eval with_$ac_useropt=\$ac_optarg ;;
1101
1102   -without-* | --without-*)
1103     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104     # Reject names that are not valid shell variable names.
1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106       as_fn_error $? "invalid package name: $ac_useropt"
1107     ac_useropt_orig=$ac_useropt
1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109     case $ac_user_opts in
1110       *"
1111 "with_$ac_useropt"
1112 "*) ;;
1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114          ac_unrecognized_sep=', ';;
1115     esac
1116     eval with_$ac_useropt=no ;;
1117
1118   --x)
1119     # Obsolete; use --with-x.
1120     with_x=yes ;;
1121
1122   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123   | --x-incl | --x-inc | --x-in | --x-i)
1124     ac_prev=x_includes ;;
1125   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127     x_includes=$ac_optarg ;;
1128
1129   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131     ac_prev=x_libraries ;;
1132   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134     x_libraries=$ac_optarg ;;
1135
1136   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1137 Try \`$0 --help' for more information"
1138     ;;
1139
1140   *=*)
1141     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142     # Reject names that are not valid shell variable names.
1143     case $ac_envvar in #(
1144       '' | [0-9]* | *[!_$as_cr_alnum]* )
1145       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1146     esac
1147     eval $ac_envvar=\$ac_optarg
1148     export $ac_envvar ;;
1149
1150   *)
1151     # FIXME: should be removed in autoconf 3.0.
1152     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1156     ;;
1157
1158   esac
1159 done
1160
1161 if test -n "$ac_prev"; then
1162   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163   as_fn_error $? "missing argument to $ac_option"
1164 fi
1165
1166 if test -n "$ac_unrecognized_opts"; then
1167   case $enable_option_checking in
1168     no) ;;
1169     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1170     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1171   esac
1172 fi
1173
1174 # Check all directory arguments for consistency.
1175 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176                 datadir sysconfdir sharedstatedir localstatedir includedir \
1177                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178                 libdir localedir mandir
1179 do
1180   eval ac_val=\$$ac_var
1181   # Remove trailing slashes.
1182   case $ac_val in
1183     */ )
1184       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185       eval $ac_var=\$ac_val;;
1186   esac
1187   # Be sure to have absolute directory names.
1188   case $ac_val in
1189     [\\/$]* | ?:[\\/]* )  continue;;
1190     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191   esac
1192   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1193 done
1194
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1198 build=$build_alias
1199 host=$host_alias
1200 target=$target_alias
1201
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x; then
1204   if test "x$build_alias" = x; then
1205     cross_compiling=maybe
1206     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1207     If a cross compiler is detected then cross compile mode will be used" >&2
1208   elif test "x$build_alias" != "x$host_alias"; then
1209     cross_compiling=yes
1210   fi
1211 fi
1212
1213 ac_tool_prefix=
1214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215
1216 test "$silent" = yes && exec 6>/dev/null
1217
1218
1219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di=`ls -di .` &&
1221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1222   as_fn_error $? "working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224   as_fn_error $? "pwd does not report name of working directory"
1225
1226
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229   ac_srcdir_defaulted=yes
1230   # Try the directory containing this script, then the parent directory.
1231   ac_confdir=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233          X"$as_myself" : 'X\(//\)[^/]' \| \
1234          X"$as_myself" : 'X\(//\)$' \| \
1235          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238             s//\1/
1239             q
1240           }
1241           /^X\(\/\/\)[^/].*/{
1242             s//\1/
1243             q
1244           }
1245           /^X\(\/\/\)$/{
1246             s//\1/
1247             q
1248           }
1249           /^X\(\/\).*/{
1250             s//\1/
1251             q
1252           }
1253           s/.*/./; q'`
1254   srcdir=$ac_confdir
1255   if test ! -r "$srcdir/$ac_unique_file"; then
1256     srcdir=..
1257   fi
1258 else
1259   ac_srcdir_defaulted=no
1260 fi
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1264 fi
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1268         pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271   srcdir=.
1272 fi
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281   eval ac_env_${ac_var}_value=\$${ac_var}
1282   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1285
1286 #
1287 # Report the --help message.
1288 #
1289 if test "$ac_init_help" = "long"; then
1290   # Omit some internal or obsolete options to make the list less imposing.
1291   # This message is too long to be a string in the A/UX 3.1 sh.
1292   cat <<_ACEOF
1293 \`configure' configures depdemo 1.0 to adapt to many kinds of systems.
1294
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1296
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE.  See below for descriptions of some of the useful variables.
1299
1300 Defaults for the options are specified in brackets.
1301
1302 Configuration:
1303   -h, --help              display this help and exit
1304       --help=short        display options specific to this package
1305       --help=recursive    display the short help of all the included packages
1306   -V, --version           display version information and exit
1307   -q, --quiet, --silent   do not print \`checking ...' messages
1308       --cache-file=FILE   cache test results in FILE [disabled]
1309   -C, --config-cache      alias for \`--cache-file=config.cache'
1310   -n, --no-create         do not create output files
1311       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1312
1313 Installation directories:
1314   --prefix=PREFIX         install architecture-independent files in PREFIX
1315                           [$ac_default_prefix]
1316   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1317                           [PREFIX]
1318
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1323
1324 For better control, use the options below.
1325
1326 Fine tuning of the installation directories:
1327   --bindir=DIR            user executables [EPREFIX/bin]
1328   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1329   --libexecdir=DIR        program executables [EPREFIX/libexec]
1330   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1331   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1332   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1333   --libdir=DIR            object code libraries [EPREFIX/lib]
1334   --includedir=DIR        C header files [PREFIX/include]
1335   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1336   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1337   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1338   --infodir=DIR           info documentation [DATAROOTDIR/info]
1339   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1340   --mandir=DIR            man documentation [DATAROOTDIR/man]
1341   --docdir=DIR            documentation root [DATAROOTDIR/doc/depdemo]
1342   --htmldir=DIR           html documentation [DOCDIR]
1343   --dvidir=DIR            dvi documentation [DOCDIR]
1344   --pdfdir=DIR            pdf documentation [DOCDIR]
1345   --psdir=DIR             ps documentation [DOCDIR]
1346 _ACEOF
1347
1348   cat <<\_ACEOF
1349
1350 Program names:
1351   --program-prefix=PREFIX            prepend PREFIX to installed program names
1352   --program-suffix=SUFFIX            append SUFFIX to installed program names
1353   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1354
1355 System types:
1356   --build=BUILD     configure for building on BUILD [guessed]
1357   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1359 fi
1360
1361 if test -n "$ac_init_help"; then
1362   case $ac_init_help in
1363      short | recursive ) echo "Configuration of depdemo 1.0:";;
1364    esac
1365   cat <<\_ACEOF
1366
1367 Optional Features:
1368   --disable-option-checking  ignore unrecognized --enable/--with options
1369   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1370   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1371   --disable-dependency-tracking  speeds up one-time build
1372   --enable-dependency-tracking   do not reject slow dependency extractors
1373   --enable-shared[=PKGS]  build shared libraries [default=yes]
1374   --enable-static[=PKGS]  build static libraries [default=yes]
1375   --enable-fast-install[=PKGS]
1376                           optimize for fast installation [default=yes]
1377   --disable-libtool-lock  avoid locking (might break parallel builds)
1378
1379 Optional Packages:
1380   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1381   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1382   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1383                           both]
1384   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1385   --with-sysroot=DIR Search for dependent libraries within DIR
1386                         (or the compiler's sysroot if not specified).
1387
1388 Some influential environment variables:
1389   CC          C compiler command
1390   CFLAGS      C compiler flags
1391   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1392               nonstandard directory <lib dir>
1393   LIBS        libraries to pass to the linker, e.g. -l<library>
1394   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1395               you have headers in a nonstandard directory <include dir>
1396   CPP         C preprocessor
1397
1398 Use these variables to override the choices made by `configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1400
1401 Report bugs to <bug-libtool@gnu.org>.
1402 _ACEOF
1403 ac_status=$?
1404 fi
1405
1406 if test "$ac_init_help" = "recursive"; then
1407   # If there are subdirs, report their specific --help.
1408   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409     test -d "$ac_dir" ||
1410       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1411       continue
1412     ac_builddir=.
1413
1414 case "$ac_dir" in
1415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *)
1417   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1418   # A ".." for each directory in $ac_dir_suffix.
1419   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1420   case $ac_top_builddir_sub in
1421   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1423   esac ;;
1424 esac
1425 ac_abs_top_builddir=$ac_pwd
1426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1427 # for backward compatibility:
1428 ac_top_builddir=$ac_top_build_prefix
1429
1430 case $srcdir in
1431   .)  # We are building in place.
1432     ac_srcdir=.
1433     ac_top_srcdir=$ac_top_builddir_sub
1434     ac_abs_top_srcdir=$ac_pwd ;;
1435   [\\/]* | ?:[\\/]* )  # Absolute name.
1436     ac_srcdir=$srcdir$ac_dir_suffix;
1437     ac_top_srcdir=$srcdir
1438     ac_abs_top_srcdir=$srcdir ;;
1439   *) # Relative name.
1440     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1441     ac_top_srcdir=$ac_top_build_prefix$srcdir
1442     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1443 esac
1444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1445
1446     cd "$ac_dir" || { ac_status=$?; continue; }
1447     # Check for guested configure.
1448     if test -f "$ac_srcdir/configure.gnu"; then
1449       echo &&
1450       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1451     elif test -f "$ac_srcdir/configure"; then
1452       echo &&
1453       $SHELL "$ac_srcdir/configure" --help=recursive
1454     else
1455       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1456     fi || ac_status=$?
1457     cd "$ac_pwd" || { ac_status=$?; break; }
1458   done
1459 fi
1460
1461 test -n "$ac_init_help" && exit $ac_status
1462 if $ac_init_version; then
1463   cat <<\_ACEOF
1464 depdemo configure 1.0
1465 generated by GNU Autoconf 2.68
1466
1467 Copyright (C) 2010 Free Software Foundation, Inc.
1468 This configure script is free software; the Free Software Foundation
1469 gives unlimited permission to copy, distribute and modify it.
1470 _ACEOF
1471   exit
1472 fi
1473
1474 ## ------------------------ ##
1475 ## Autoconf initialization. ##
1476 ## ------------------------ ##
1477
1478 # ac_fn_c_try_compile LINENO
1479 # --------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_c_try_compile ()
1482 {
1483   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484   rm -f conftest.$ac_objext
1485   if { { ac_try="$ac_compile"
1486 case "(($ac_try" in
1487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488   *) ac_try_echo=$ac_try;;
1489 esac
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492   (eval "$ac_compile") 2>conftest.err
1493   ac_status=$?
1494   if test -s conftest.err; then
1495     grep -v '^ *+' conftest.err >conftest.er1
1496     cat conftest.er1 >&5
1497     mv -f conftest.er1 conftest.err
1498   fi
1499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500   test $ac_status = 0; } && {
1501          test -z "$ac_c_werror_flag" ||
1502          test ! -s conftest.err
1503        } && test -s conftest.$ac_objext; then :
1504   ac_retval=0
1505 else
1506   $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1508
1509         ac_retval=1
1510 fi
1511   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512   as_fn_set_status $ac_retval
1513
1514 } # ac_fn_c_try_compile
1515
1516 # ac_fn_c_try_link LINENO
1517 # -----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_c_try_link ()
1520 {
1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522   rm -f conftest.$ac_objext conftest$ac_exeext
1523   if { { ac_try="$ac_link"
1524 case "(($ac_try" in
1525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526   *) ac_try_echo=$ac_try;;
1527 esac
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530   (eval "$ac_link") 2>conftest.err
1531   ac_status=$?
1532   if test -s conftest.err; then
1533     grep -v '^ *+' conftest.err >conftest.er1
1534     cat conftest.er1 >&5
1535     mv -f conftest.er1 conftest.err
1536   fi
1537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538   test $ac_status = 0; } && {
1539          test -z "$ac_c_werror_flag" ||
1540          test ! -s conftest.err
1541        } && test -s conftest$ac_exeext && {
1542          test "$cross_compiling" = yes ||
1543          $as_test_x conftest$ac_exeext
1544        }; then :
1545   ac_retval=0
1546 else
1547   $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1549
1550         ac_retval=1
1551 fi
1552   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1553   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1554   # interfere with the next link command; also delete a directory that is
1555   # left behind by Apple's compiler.  We do this before executing the actions.
1556   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1557   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558   as_fn_set_status $ac_retval
1559
1560 } # ac_fn_c_try_link
1561
1562 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1563 # -------------------------------------------------------
1564 # Tests whether HEADER exists and can be compiled using the include files in
1565 # INCLUDES, setting the cache variable VAR accordingly.
1566 ac_fn_c_check_header_compile ()
1567 {
1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1570 $as_echo_n "checking for $2... " >&6; }
1571 if eval \${$3+:} false; then :
1572   $as_echo_n "(cached) " >&6
1573 else
1574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h.  */
1576 $4
1577 #include <$2>
1578 _ACEOF
1579 if ac_fn_c_try_compile "$LINENO"; then :
1580   eval "$3=yes"
1581 else
1582   eval "$3=no"
1583 fi
1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1585 fi
1586 eval ac_res=\$$3
1587                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1589   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590
1591 } # ac_fn_c_check_header_compile
1592
1593 # ac_fn_c_try_cpp LINENO
1594 # ----------------------
1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1596 ac_fn_c_try_cpp ()
1597 {
1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599   if { { ac_try="$ac_cpp conftest.$ac_ext"
1600 case "(($ac_try" in
1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602   *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1607   ac_status=$?
1608   if test -s conftest.err; then
1609     grep -v '^ *+' conftest.err >conftest.er1
1610     cat conftest.er1 >&5
1611     mv -f conftest.er1 conftest.err
1612   fi
1613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614   test $ac_status = 0; } > conftest.i && {
1615          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1616          test ! -s conftest.err
1617        }; then :
1618   ac_retval=0
1619 else
1620   $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623     ac_retval=1
1624 fi
1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626   as_fn_set_status $ac_retval
1627
1628 } # ac_fn_c_try_cpp
1629
1630 # ac_fn_c_try_run LINENO
1631 # ----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1633 # that executables *can* be run.
1634 ac_fn_c_try_run ()
1635 {
1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637   if { { ac_try="$ac_link"
1638 case "(($ac_try" in
1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640   *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644   (eval "$ac_link") 2>&5
1645   ac_status=$?
1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1648   { { case "(($ac_try" in
1649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650   *) ac_try_echo=$ac_try;;
1651 esac
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654   (eval "$ac_try") 2>&5
1655   ac_status=$?
1656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657   test $ac_status = 0; }; }; then :
1658   ac_retval=0
1659 else
1660   $as_echo "$as_me: program exited with status $ac_status" >&5
1661        $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1663
1664        ac_retval=$ac_status
1665 fi
1666   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668   as_fn_set_status $ac_retval
1669
1670 } # ac_fn_c_try_run
1671
1672 # ac_fn_c_check_func LINENO FUNC VAR
1673 # ----------------------------------
1674 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1675 ac_fn_c_check_func ()
1676 {
1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681   $as_echo_n "(cached) " >&6
1682 else
1683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h.  */
1685 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1687 #define $2 innocuous_$2
1688
1689 /* System header to define __stub macros and hopefully few prototypes,
1690     which can conflict with char $2 (); below.
1691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1692     <limits.h> exists even on freestanding compilers.  */
1693
1694 #ifdef __STDC__
1695 # include <limits.h>
1696 #else
1697 # include <assert.h>
1698 #endif
1699
1700 #undef $2
1701
1702 /* Override any GCC internal prototype to avoid an error.
1703    Use char because int might match the return type of a GCC
1704    builtin and then its argument prototype would still apply.  */
1705 #ifdef __cplusplus
1706 extern "C"
1707 #endif
1708 char $2 ();
1709 /* The GNU C library defines this for functions which it implements
1710     to always fail with ENOSYS.  Some functions are actually named
1711     something starting with __ and the normal name is an alias.  */
1712 #if defined __stub_$2 || defined __stub___$2
1713 choke me
1714 #endif
1715
1716 int
1717 main ()
1718 {
1719 return $2 ();
1720   ;
1721   return 0;
1722 }
1723 _ACEOF
1724 if ac_fn_c_try_link "$LINENO"; then :
1725   eval "$3=yes"
1726 else
1727   eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext \
1730     conftest$ac_exeext conftest.$ac_ext
1731 fi
1732 eval ac_res=\$$3
1733                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
1737 } # ac_fn_c_check_func
1738 cat >config.log <<_ACEOF
1739 This file contains any messages produced by compilers while
1740 running configure, to aid debugging if configure makes a mistake.
1741
1742 It was created by depdemo $as_me 1.0, which was
1743 generated by GNU Autoconf 2.68.  Invocation command line was
1744
1745   $ $0 $@
1746
1747 _ACEOF
1748 exec 5>>config.log
1749 {
1750 cat <<_ASUNAME
1751 ## --------- ##
1752 ## Platform. ##
1753 ## --------- ##
1754
1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1760
1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1762 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1763
1764 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1765 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1767 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1768 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1769 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1770 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1771
1772 _ASUNAME
1773
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1776 do
1777   IFS=$as_save_IFS
1778   test -z "$as_dir" && as_dir=.
1779     $as_echo "PATH: $as_dir"
1780   done
1781 IFS=$as_save_IFS
1782
1783 } >&5
1784
1785 cat >&5 <<_ACEOF
1786
1787
1788 ## ----------- ##
1789 ## Core tests. ##
1790 ## ----------- ##
1791
1792 _ACEOF
1793
1794
1795 # Keep a trace of the command line.
1796 # Strip out --no-create and --no-recursion so they do not pile up.
1797 # Strip out --silent because we don't want to record it for future runs.
1798 # Also quote any args containing shell meta-characters.
1799 # Make two passes to allow for proper duplicate-argument suppression.
1800 ac_configure_args=
1801 ac_configure_args0=
1802 ac_configure_args1=
1803 ac_must_keep_next=false
1804 for ac_pass in 1 2
1805 do
1806   for ac_arg
1807   do
1808     case $ac_arg in
1809     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1810     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1811     | -silent | --silent | --silen | --sile | --sil)
1812       continue ;;
1813     *\'*)
1814       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1815     esac
1816     case $ac_pass in
1817     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1818     2)
1819       as_fn_append ac_configure_args1 " '$ac_arg'"
1820       if test $ac_must_keep_next = true; then
1821         ac_must_keep_next=false # Got value, back to normal.
1822       else
1823         case $ac_arg in
1824           *=* | --config-cache | -C | -disable-* | --disable-* \
1825           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1826           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1827           | -with-* | --with-* | -without-* | --without-* | --x)
1828             case "$ac_configure_args0 " in
1829               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1830             esac
1831             ;;
1832           -* ) ac_must_keep_next=true ;;
1833         esac
1834       fi
1835       as_fn_append ac_configure_args " '$ac_arg'"
1836       ;;
1837     esac
1838   done
1839 done
1840 { ac_configure_args0=; unset ac_configure_args0;}
1841 { ac_configure_args1=; unset ac_configure_args1;}
1842
1843 # When interrupted or exit'd, cleanup temporary files, and complete
1844 # config.log.  We remove comments because anyway the quotes in there
1845 # would cause problems or look ugly.
1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1848 trap 'exit_status=$?
1849   # Save into config.log some information that might help in debugging.
1850   {
1851     echo
1852
1853     $as_echo "## ---------------- ##
1854 ## Cache variables. ##
1855 ## ---------------- ##"
1856     echo
1857     # The following way of writing the cache mishandles newlines in values,
1858 (
1859   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1860     eval ac_val=\$$ac_var
1861     case $ac_val in #(
1862     *${as_nl}*)
1863       case $ac_var in #(
1864       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1866       esac
1867       case $ac_var in #(
1868       _ | IFS | as_nl) ;; #(
1869       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870       *) { eval $ac_var=; unset $ac_var;} ;;
1871       esac ;;
1872     esac
1873   done
1874   (set) 2>&1 |
1875     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1876     *${as_nl}ac_space=\ *)
1877       sed -n \
1878         "s/'\''/'\''\\\\'\'''\''/g;
1879           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1880       ;; #(
1881     *)
1882       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1883       ;;
1884     esac |
1885     sort
1886 )
1887     echo
1888
1889     $as_echo "## ----------------- ##
1890 ## Output variables. ##
1891 ## ----------------- ##"
1892     echo
1893     for ac_var in $ac_subst_vars
1894     do
1895       eval ac_val=\$$ac_var
1896       case $ac_val in
1897       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1898       esac
1899       $as_echo "$ac_var='\''$ac_val'\''"
1900     done | sort
1901     echo
1902
1903     if test -n "$ac_subst_files"; then
1904       $as_echo "## ------------------- ##
1905 ## File substitutions. ##
1906 ## ------------------- ##"
1907       echo
1908       for ac_var in $ac_subst_files
1909       do
1910         eval ac_val=\$$ac_var
1911         case $ac_val in
1912         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1913         esac
1914         $as_echo "$ac_var='\''$ac_val'\''"
1915       done | sort
1916       echo
1917     fi
1918
1919     if test -s confdefs.h; then
1920       $as_echo "## ----------- ##
1921 ## confdefs.h. ##
1922 ## ----------- ##"
1923       echo
1924       cat confdefs.h
1925       echo
1926     fi
1927     test "$ac_signal" != 0 &&
1928       $as_echo "$as_me: caught signal $ac_signal"
1929     $as_echo "$as_me: exit $exit_status"
1930   } >&5
1931   rm -f core *.core core.conftest.* &&
1932     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1933     exit $exit_status
1934 ' 0
1935 for ac_signal in 1 2 13 15; do
1936   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1937 done
1938 ac_signal=0
1939
1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941 rm -f -r conftest* confdefs.h
1942
1943 $as_echo "/* confdefs.h */" > confdefs.h
1944
1945 # Predefined preprocessor variables.
1946
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_NAME "$PACKAGE_NAME"
1949 _ACEOF
1950
1951 cat >>confdefs.h <<_ACEOF
1952 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1953 _ACEOF
1954
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1957 _ACEOF
1958
1959 cat >>confdefs.h <<_ACEOF
1960 #define PACKAGE_STRING "$PACKAGE_STRING"
1961 _ACEOF
1962
1963 cat >>confdefs.h <<_ACEOF
1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1965 _ACEOF
1966
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_URL "$PACKAGE_URL"
1969 _ACEOF
1970
1971
1972 # Let the site file select an alternate cache file if it wants to.
1973 # Prefer an explicitly selected file to automatically selected ones.
1974 ac_site_file1=NONE
1975 ac_site_file2=NONE
1976 if test -n "$CONFIG_SITE"; then
1977   # We do not want a PATH search for config.site.
1978   case $CONFIG_SITE in #((
1979     -*)  ac_site_file1=./$CONFIG_SITE;;
1980     */*) ac_site_file1=$CONFIG_SITE;;
1981     *)   ac_site_file1=./$CONFIG_SITE;;
1982   esac
1983 elif test "x$prefix" != xNONE; then
1984   ac_site_file1=$prefix/share/config.site
1985   ac_site_file2=$prefix/etc/config.site
1986 else
1987   ac_site_file1=$ac_default_prefix/share/config.site
1988   ac_site_file2=$ac_default_prefix/etc/config.site
1989 fi
1990 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1991 do
1992   test "x$ac_site_file" = xNONE && continue
1993   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1994     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1995 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1996     sed 's/^/| /' "$ac_site_file" >&5
1997     . "$ac_site_file" \
1998       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 as_fn_error $? "failed to load site script $ac_site_file
2001 See \`config.log' for more details" "$LINENO" 5; }
2002   fi
2003 done
2004
2005 if test -r "$cache_file"; then
2006   # Some versions of bash will fail to source /dev/null (special files
2007   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2008   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2009     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2010 $as_echo "$as_me: loading cache $cache_file" >&6;}
2011     case $cache_file in
2012       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2013       *)                      . "./$cache_file";;
2014     esac
2015   fi
2016 else
2017   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2018 $as_echo "$as_me: creating cache $cache_file" >&6;}
2019   >$cache_file
2020 fi
2021
2022 # Check that the precious variables saved in the cache have kept the same
2023 # value.
2024 ac_cache_corrupted=false
2025 for ac_var in $ac_precious_vars; do
2026   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2027   eval ac_new_set=\$ac_env_${ac_var}_set
2028   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2029   eval ac_new_val=\$ac_env_${ac_var}_value
2030   case $ac_old_set,$ac_new_set in
2031     set,)
2032       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2033 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2034       ac_cache_corrupted=: ;;
2035     ,set)
2036       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2037 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2038       ac_cache_corrupted=: ;;
2039     ,);;
2040     *)
2041       if test "x$ac_old_val" != "x$ac_new_val"; then
2042         # differences in whitespace do not lead to failure.
2043         ac_old_val_w=`echo x $ac_old_val`
2044         ac_new_val_w=`echo x $ac_new_val`
2045         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2046           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2047 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2048           ac_cache_corrupted=:
2049         else
2050           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2051 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2052           eval $ac_var=\$ac_old_val
2053         fi
2054         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2055 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2056         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2057 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2058       fi;;
2059   esac
2060   # Pass precious variables to config.status.
2061   if test "$ac_new_set" = set; then
2062     case $ac_new_val in
2063     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2064     *) ac_arg=$ac_var=$ac_new_val ;;
2065     esac
2066     case " $ac_configure_args " in
2067       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2068       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2069     esac
2070   fi
2071 done
2072 if $ac_cache_corrupted; then
2073   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2075   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2076 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2077   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2078 fi
2079 ## -------------------- ##
2080 ## Main body of script. ##
2081 ## -------------------- ##
2082
2083 ac_ext=c
2084 ac_cpp='$CPP $CPPFLAGS'
2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2088
2089
2090
2091 ac_aux_dir=
2092 for ac_dir in ../../libltdl/config "$srcdir"/../../libltdl/config; do
2093   if test -f "$ac_dir/install-sh"; then
2094     ac_aux_dir=$ac_dir
2095     ac_install_sh="$ac_aux_dir/install-sh -c"
2096     break
2097   elif test -f "$ac_dir/install.sh"; then
2098     ac_aux_dir=$ac_dir
2099     ac_install_sh="$ac_aux_dir/install.sh -c"
2100     break
2101   elif test -f "$ac_dir/shtool"; then
2102     ac_aux_dir=$ac_dir
2103     ac_install_sh="$ac_aux_dir/shtool install -c"
2104     break
2105   fi
2106 done
2107 if test -z "$ac_aux_dir"; then
2108   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../libltdl/config \"$srcdir\"/../../libltdl/config" "$LINENO" 5
2109 fi
2110
2111 # These three variables are undocumented and unsupported,
2112 # and are intended to be withdrawn in a future Autoconf release.
2113 # They can cause serious problems if a builder's source tree is in a directory
2114 # whose full name contains unusual characters.
2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2117 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2118
2119
2120
2121
2122 ## ------------------------ ##
2123 ## Automake Initialisation. ##
2124 ## ------------------------ ##
2125 am__api_version='1.11'
2126
2127 # Find a good install program.  We prefer a C program (faster),
2128 # so one script is as good as another.  But avoid the broken or
2129 # incompatible versions:
2130 # SysV /etc/install, /usr/sbin/install
2131 # SunOS /usr/etc/install
2132 # IRIX /sbin/install
2133 # AIX /bin/install
2134 # AmigaOS /C/install, which installs bootblocks on floppy discs
2135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2138 # OS/2's system install, which has a completely different semantic
2139 # ./install, which can be erroneously created by make from ./install.sh.
2140 # Reject install programs that cannot install multiple files.
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2142 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2143 if test -z "$INSTALL"; then
2144 if ${ac_cv_path_install+:} false; then :
2145   $as_echo_n "(cached) " >&6
2146 else
2147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
2151   test -z "$as_dir" && as_dir=.
2152     # Account for people who put trailing slashes in PATH elements.
2153 case $as_dir/ in #((
2154   ./ | .// | /[cC]/* | \
2155   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2156   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2157   /usr/ucb/* ) ;;
2158   *)
2159     # OSF1 and SCO ODT 3.0 have their own names for install.
2160     # Don't use installbsd from OSF since it installs stuff as root
2161     # by default.
2162     for ac_prog in ginstall scoinst install; do
2163       for ac_exec_ext in '' $ac_executable_extensions; do
2164         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2165           if test $ac_prog = install &&
2166             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2167             # AIX install.  It has an incompatible calling convention.
2168             :
2169           elif test $ac_prog = install &&
2170             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171             # program-specific install script used by HP pwplus--don't use.
2172             :
2173           else
2174             rm -rf conftest.one conftest.two conftest.dir
2175             echo one > conftest.one
2176             echo two > conftest.two
2177             mkdir conftest.dir
2178             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2179               test -s conftest.one && test -s conftest.two &&
2180               test -s conftest.dir/conftest.one &&
2181               test -s conftest.dir/conftest.two
2182             then
2183               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2184               break 3
2185             fi
2186           fi
2187         fi
2188       done
2189     done
2190     ;;
2191 esac
2192
2193   done
2194 IFS=$as_save_IFS
2195
2196 rm -rf conftest.one conftest.two conftest.dir
2197
2198 fi
2199   if test "${ac_cv_path_install+set}" = set; then
2200     INSTALL=$ac_cv_path_install
2201   else
2202     # As a last resort, use the slow shell script.  Don't cache a
2203     # value for INSTALL within a source directory, because that will
2204     # break other packages using the cache if that directory is
2205     # removed, or if the value is a relative name.
2206     INSTALL=$ac_install_sh
2207   fi
2208 fi
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2210 $as_echo "$INSTALL" >&6; }
2211
2212 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2213 # It thinks the first close brace ends the variable substitution.
2214 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2215
2216 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2217
2218 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2219
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2221 $as_echo_n "checking whether build environment is sane... " >&6; }
2222 # Just in case
2223 sleep 1
2224 echo timestamp > conftest.file
2225 # Reject unsafe characters in $srcdir or the absolute working directory
2226 # name.  Accept space and tab only in the latter.
2227 am_lf='
2228 '
2229 case `pwd` in
2230   *[\\\"\#\$\&\'\`$am_lf]*)
2231     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2232 esac
2233 case $srcdir in
2234   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2235     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2236 esac
2237
2238 # Do `set' in a subshell so we don't clobber the current shell's
2239 # arguments.  Must try -L first in case configure is actually a
2240 # symlink; some systems play weird games with the mod time of symlinks
2241 # (eg FreeBSD returns the mod time of the symlink's containing
2242 # directory).
2243 if (
2244    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2245    if test "$*" = "X"; then
2246       # -L didn't work.
2247       set X `ls -t "$srcdir/configure" conftest.file`
2248    fi
2249    rm -f conftest.file
2250    if test "$*" != "X $srcdir/configure conftest.file" \
2251       && test "$*" != "X conftest.file $srcdir/configure"; then
2252
2253       # If neither matched, then we have a broken ls.  This can happen
2254       # if, for instance, CONFIG_SHELL is bash and it inherits a
2255       # broken ls alias from the environment.  This has actually
2256       # happened.  Such a system could not be considered "sane".
2257       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2258 alias in your environment" "$LINENO" 5
2259    fi
2260
2261    test "$2" = conftest.file
2262    )
2263 then
2264    # Ok.
2265    :
2266 else
2267    as_fn_error $? "newly created file is older than distributed files!
2268 Check your system clock" "$LINENO" 5
2269 fi
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271 $as_echo "yes" >&6; }
2272 test "$program_prefix" != NONE &&
2273   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2274 # Use a double $ so make ignores it.
2275 test "$program_suffix" != NONE &&
2276   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2277 # Double any \ or $.
2278 # By default was `s,x,x', remove it if useless.
2279 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2280 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2281
2282 # expand $ac_aux_dir to an absolute path
2283 am_aux_dir=`cd $ac_aux_dir && pwd`
2284
2285 if test x"${MISSING+set}" != xset; then
2286   case $am_aux_dir in
2287   *\ * | *\     *)
2288     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2289   *)
2290     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2291   esac
2292 fi
2293 # Use eval to expand $SHELL
2294 if eval "$MISSING --run true"; then
2295   am_missing_run="$MISSING --run "
2296 else
2297   am_missing_run=
2298   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2299 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2300 fi
2301
2302 if test x"${install_sh}" != xset; then
2303   case $am_aux_dir in
2304   *\ * | *\     *)
2305     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2306   *)
2307     install_sh="\${SHELL} $am_aux_dir/install-sh"
2308   esac
2309 fi
2310
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'.  However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no; then
2316   if test -n "$ac_tool_prefix"; then
2317   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if ${ac_cv_prog_STRIP+:} false; then :
2322   $as_echo_n "(cached) " >&6
2323 else
2324   if test -n "$STRIP"; then
2325   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2326 else
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 for as_dir in $PATH
2329 do
2330   IFS=$as_save_IFS
2331   test -z "$as_dir" && as_dir=.
2332     for ac_exec_ext in '' $ac_executable_extensions; do
2333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336     break 2
2337   fi
2338 done
2339   done
2340 IFS=$as_save_IFS
2341
2342 fi
2343 fi
2344 STRIP=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2348 else
2349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2351 fi
2352
2353
2354 fi
2355 if test -z "$ac_cv_prog_STRIP"; then
2356   ac_ct_STRIP=$STRIP
2357   # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip; ac_word=$2
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2362   $as_echo_n "(cached) " >&6
2363 else
2364   if test -n "$ac_ct_STRIP"; then
2365   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2366 else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $PATH
2369 do
2370   IFS=$as_save_IFS
2371   test -z "$as_dir" && as_dir=.
2372     for ac_exec_ext in '' $ac_executable_extensions; do
2373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374     ac_cv_prog_ac_ct_STRIP="strip"
2375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376     break 2
2377   fi
2378 done
2379   done
2380 IFS=$as_save_IFS
2381
2382 fi
2383 fi
2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2388 else
2389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390 $as_echo "no" >&6; }
2391 fi
2392
2393   if test "x$ac_ct_STRIP" = x; then
2394     STRIP=":"
2395   else
2396     case $cross_compiling:$ac_tool_warned in
2397 yes:)
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2400 ac_tool_warned=yes ;;
2401 esac
2402     STRIP=$ac_ct_STRIP
2403   fi
2404 else
2405   STRIP="$ac_cv_prog_STRIP"
2406 fi
2407
2408 fi
2409 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2410
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2412 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2413 if test -z "$MKDIR_P"; then
2414   if ${ac_cv_path_mkdir+:} false; then :
2415   $as_echo_n "(cached) " >&6
2416 else
2417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2419 do
2420   IFS=$as_save_IFS
2421   test -z "$as_dir" && as_dir=.
2422     for ac_prog in mkdir gmkdir; do
2423          for ac_exec_ext in '' $ac_executable_extensions; do
2424            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2425            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2426              'mkdir (GNU coreutils) '* | \
2427              'mkdir (coreutils) '* | \
2428              'mkdir (fileutils) '4.1*)
2429                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2430                break 3;;
2431            esac
2432          done
2433        done
2434   done
2435 IFS=$as_save_IFS
2436
2437 fi
2438
2439   test -d ./--version && rmdir ./--version
2440   if test "${ac_cv_path_mkdir+set}" = set; then
2441     MKDIR_P="$ac_cv_path_mkdir -p"
2442   else
2443     # As a last resort, use the slow shell script.  Don't cache a
2444     # value for MKDIR_P within a source directory, because that will
2445     # break other packages using the cache if that directory is
2446     # removed, or if the value is a relative name.
2447     MKDIR_P="$ac_install_sh -d"
2448   fi
2449 fi
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2451 $as_echo "$MKDIR_P" >&6; }
2452
2453 mkdir_p="$MKDIR_P"
2454 case $mkdir_p in
2455   [\\/$]* | ?:[\\/]*) ;;
2456   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2457 esac
2458
2459 for ac_prog in gawk mawk nawk awk
2460 do
2461   # Extract the first word of "$ac_prog", so it can be a program name with args.
2462 set dummy $ac_prog; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if ${ac_cv_prog_AWK+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   if test -n "$AWK"; then
2469   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474   IFS=$as_save_IFS
2475   test -z "$as_dir" && as_dir=.
2476     for ac_exec_ext in '' $ac_executable_extensions; do
2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478     ac_cv_prog_AWK="$ac_prog"
2479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480     break 2
2481   fi
2482 done
2483   done
2484 IFS=$as_save_IFS
2485
2486 fi
2487 fi
2488 AWK=$ac_cv_prog_AWK
2489 if test -n "$AWK"; then
2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2491 $as_echo "$AWK" >&6; }
2492 else
2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496
2497
2498   test -n "$AWK" && break
2499 done
2500
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2503 set x ${MAKE-make}
2504 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2505 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2506   $as_echo_n "(cached) " >&6
2507 else
2508   cat >conftest.make <<\_ACEOF
2509 SHELL = /bin/sh
2510 all:
2511         @echo '@@@%%%=$(MAKE)=@@@%%%'
2512 _ACEOF
2513 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2514 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2515   *@@@%%%=?*=@@@%%%*)
2516     eval ac_cv_prog_make_${ac_make}_set=yes;;
2517   *)
2518     eval ac_cv_prog_make_${ac_make}_set=no;;
2519 esac
2520 rm -f conftest.make
2521 fi
2522 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524 $as_echo "yes" >&6; }
2525   SET_MAKE=
2526 else
2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2529   SET_MAKE="MAKE=${MAKE-make}"
2530 fi
2531
2532 rm -rf .tst 2>/dev/null
2533 mkdir .tst 2>/dev/null
2534 if test -d .tst; then
2535   am__leading_dot=.
2536 else
2537   am__leading_dot=_
2538 fi
2539 rmdir .tst 2>/dev/null
2540
2541 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2542   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2543   # is not polluted with repeated "-I."
2544   am__isrc=' -I$(srcdir)'
2545   # test to see if srcdir already configured
2546   if test -f $srcdir/config.status; then
2547     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2548   fi
2549 fi
2550
2551 # test whether we have cygpath
2552 if test -z "$CYGPATH_W"; then
2553   if (cygpath --version) >/dev/null 2>/dev/null; then
2554     CYGPATH_W='cygpath -w'
2555   else
2556     CYGPATH_W=echo
2557   fi
2558 fi
2559
2560
2561 # Define the identity of the package.
2562  PACKAGE='depdemo'
2563  VERSION='1.0'
2564
2565
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE "$PACKAGE"
2568 _ACEOF
2569
2570
2571 cat >>confdefs.h <<_ACEOF
2572 #define VERSION "$VERSION"
2573 _ACEOF
2574
2575 # Some tools Automake needs.
2576
2577 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2578
2579
2580 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2581
2582
2583 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2584
2585
2586 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2587
2588
2589 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2590
2591 # We need awk for the "check" target.  The system "awk" is bad on
2592 # some platforms.
2593 # Always define AMTAR for backward compatibility.
2594
2595 AMTAR=${AMTAR-"${am_missing_run}tar"}
2596
2597 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2598
2599
2600
2601
2602
2603
2604
2605 ## ---------------- ##
2606 ## compiler checks. ##
2607 ## ---------------- ##
2608 ac_ext=c
2609 ac_cpp='$CPP $CPPFLAGS'
2610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2613 if test -n "$ac_tool_prefix"; then
2614   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if ${ac_cv_prog_CC+:} false; then :
2619   $as_echo_n "(cached) " >&6
2620 else
2621   if test -n "$CC"; then
2622   ac_cv_prog_CC="$CC" # Let the user override the test.
2623 else
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625 for as_dir in $PATH
2626 do
2627   IFS=$as_save_IFS
2628   test -z "$as_dir" && as_dir=.
2629     for ac_exec_ext in '' $ac_executable_extensions; do
2630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633     break 2
2634   fi
2635 done
2636   done
2637 IFS=$as_save_IFS
2638
2639 fi
2640 fi
2641 CC=$ac_cv_prog_CC
2642 if test -n "$CC"; then
2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2644 $as_echo "$CC" >&6; }
2645 else
2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2648 fi
2649
2650
2651 fi
2652 if test -z "$ac_cv_prog_CC"; then
2653   ac_ct_CC=$CC
2654   # Extract the first word of "gcc", so it can be a program name with args.
2655 set dummy gcc; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2659   $as_echo_n "(cached) " >&6
2660 else
2661   if test -n "$ac_ct_CC"; then
2662   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2663 else
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 for as_dir in $PATH
2666 do
2667   IFS=$as_save_IFS
2668   test -z "$as_dir" && as_dir=.
2669     for ac_exec_ext in '' $ac_executable_extensions; do
2670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671     ac_cv_prog_ac_ct_CC="gcc"
2672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673     break 2
2674   fi
2675 done
2676   done
2677 IFS=$as_save_IFS
2678
2679 fi
2680 fi
2681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2682 if test -n "$ac_ct_CC"; then
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2684 $as_echo "$ac_ct_CC" >&6; }
2685 else
2686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2688 fi
2689
2690   if test "x$ac_ct_CC" = x; then
2691     CC=""
2692   else
2693     case $cross_compiling:$ac_tool_warned in
2694 yes:)
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned=yes ;;
2698 esac
2699     CC=$ac_ct_CC
2700   fi
2701 else
2702   CC="$ac_cv_prog_CC"
2703 fi
2704
2705 if test -z "$CC"; then
2706           if test -n "$ac_tool_prefix"; then
2707     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2708 set dummy ${ac_tool_prefix}cc; ac_word=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if ${ac_cv_prog_CC+:} false; then :
2712   $as_echo_n "(cached) " >&6
2713 else
2714   if test -n "$CC"; then
2715   ac_cv_prog_CC="$CC" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720   IFS=$as_save_IFS
2721   test -z "$as_dir" && as_dir=.
2722     for ac_exec_ext in '' $ac_executable_extensions; do
2723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724     ac_cv_prog_CC="${ac_tool_prefix}cc"
2725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726     break 2
2727   fi
2728 done
2729   done
2730 IFS=$as_save_IFS
2731
2732 fi
2733 fi
2734 CC=$ac_cv_prog_CC
2735 if test -n "$CC"; then
2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2738 else
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2741 fi
2742
2743
2744   fi
2745 fi
2746 if test -z "$CC"; then
2747   # Extract the first word of "cc", so it can be a program name with args.
2748 set dummy cc; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_CC+:} false; then :
2752   $as_echo_n "(cached) " >&6
2753 else
2754   if test -n "$CC"; then
2755   ac_cv_prog_CC="$CC" # Let the user override the test.
2756 else
2757   ac_prog_rejected=no
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759 for as_dir in $PATH
2760 do
2761   IFS=$as_save_IFS
2762   test -z "$as_dir" && as_dir=.
2763     for ac_exec_ext in '' $ac_executable_extensions; do
2764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2766        ac_prog_rejected=yes
2767        continue
2768      fi
2769     ac_cv_prog_CC="cc"
2770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2771     break 2
2772   fi
2773 done
2774   done
2775 IFS=$as_save_IFS
2776
2777 if test $ac_prog_rejected = yes; then
2778   # We found a bogon in the path, so make sure we never use it.
2779   set dummy $ac_cv_prog_CC
2780   shift
2781   if test $# != 0; then
2782     # We chose a different compiler from the bogus one.
2783     # However, it has the same basename, so the bogon will be chosen
2784     # first if we set CC to just the basename; use the full file name.
2785     shift
2786     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2787   fi
2788 fi
2789 fi
2790 fi
2791 CC=$ac_cv_prog_CC
2792 if test -n "$CC"; then
2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2795 else
2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2798 fi
2799
2800
2801 fi
2802 if test -z "$CC"; then
2803   if test -n "$ac_tool_prefix"; then
2804   for ac_prog in cl.exe
2805   do
2806     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_CC+:} false; then :
2811   $as_echo_n "(cached) " >&6
2812 else
2813   if test -n "$CC"; then
2814   ac_cv_prog_CC="$CC" # Let the user override the test.
2815 else
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817 for as_dir in $PATH
2818 do
2819   IFS=$as_save_IFS
2820   test -z "$as_dir" && as_dir=.
2821     for ac_exec_ext in '' $ac_executable_extensions; do
2822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825     break 2
2826   fi
2827 done
2828   done
2829 IFS=$as_save_IFS
2830
2831 fi
2832 fi
2833 CC=$ac_cv_prog_CC
2834 if test -n "$CC"; then
2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2837 else
2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2840 fi
2841
2842
2843     test -n "$CC" && break
2844   done
2845 fi
2846 if test -z "$CC"; then
2847   ac_ct_CC=$CC
2848   for ac_prog in cl.exe
2849 do
2850   # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy $ac_prog; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2855   $as_echo_n "(cached) " >&6
2856 else
2857   if test -n "$ac_ct_CC"; then
2858   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2859 else
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 for as_dir in $PATH
2862 do
2863   IFS=$as_save_IFS
2864   test -z "$as_dir" && as_dir=.
2865     for ac_exec_ext in '' $ac_executable_extensions; do
2866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867     ac_cv_prog_ac_ct_CC="$ac_prog"
2868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869     break 2
2870   fi
2871 done
2872   done
2873 IFS=$as_save_IFS
2874
2875 fi
2876 fi
2877 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2878 if test -n "$ac_ct_CC"; then
2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2880 $as_echo "$ac_ct_CC" >&6; }
2881 else
2882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 fi
2885
2886
2887   test -n "$ac_ct_CC" && break
2888 done
2889
2890   if test "x$ac_ct_CC" = x; then
2891     CC=""
2892   else
2893     case $cross_compiling:$ac_tool_warned in
2894 yes:)
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897 ac_tool_warned=yes ;;
2898 esac
2899     CC=$ac_ct_CC
2900   fi
2901 fi
2902
2903 fi
2904
2905
2906 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 as_fn_error $? "no acceptable C compiler found in \$PATH
2909 See \`config.log' for more details" "$LINENO" 5; }
2910
2911 # Provide some information about the compiler.
2912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2913 set X $ac_compile
2914 ac_compiler=$2
2915 for ac_option in --version -v -V -qversion; do
2916   { { ac_try="$ac_compiler $ac_option >&5"
2917 case "(($ac_try" in
2918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919   *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2924   ac_status=$?
2925   if test -s conftest.err; then
2926     sed '10a\
2927 ... rest of stderr output deleted ...
2928          10q' conftest.err >conftest.er1
2929     cat conftest.er1 >&5
2930   fi
2931   rm -f conftest.er1 conftest.err
2932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933   test $ac_status = 0; }
2934 done
2935
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h.  */
2938
2939 int
2940 main ()
2941 {
2942
2943   ;
2944   return 0;
2945 }
2946 _ACEOF
2947 ac_clean_files_save=$ac_clean_files
2948 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2949 # Try to create an executable without -o first, disregard a.out.
2950 # It will help us diagnose broken compilers, and finding out an intuition
2951 # of exeext.
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2953 $as_echo_n "checking whether the C compiler works... " >&6; }
2954 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2955
2956 # The possible output files:
2957 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2958
2959 ac_rmfiles=
2960 for ac_file in $ac_files
2961 do
2962   case $ac_file in
2963     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2964     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2965   esac
2966 done
2967 rm -f $ac_rmfiles
2968
2969 if { { ac_try="$ac_link_default"
2970 case "(($ac_try" in
2971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972   *) ac_try_echo=$ac_try;;
2973 esac
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976   (eval "$ac_link_default") 2>&5
2977   ac_status=$?
2978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979   test $ac_status = 0; }; then :
2980   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2981 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2982 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2983 # so that the user can short-circuit this test for compilers unknown to
2984 # Autoconf.
2985 for ac_file in $ac_files ''
2986 do
2987   test -f "$ac_file" || continue
2988   case $ac_file in
2989     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2990         ;;
2991     [ab].out )
2992         # We found the default executable, but exeext='' is most
2993         # certainly right.
2994         break;;
2995     *.* )
2996         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2997         then :; else
2998            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2999         fi
3000         # We set ac_cv_exeext here because the later test for it is not
3001         # safe: cross compilers may not add the suffix if given an `-o'
3002         # argument, so we may need to know it at that point already.
3003         # Even if this section looks crufty: it has the advantage of
3004         # actually working.
3005         break;;
3006     * )
3007         break;;
3008   esac
3009 done
3010 test "$ac_cv_exeext" = no && ac_cv_exeext=
3011
3012 else
3013   ac_file=''
3014 fi
3015 if test -z "$ac_file"; then :
3016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3020
3021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error 77 "C compiler cannot create executables
3024 See \`config.log' for more details" "$LINENO" 5; }
3025 else
3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3027 $as_echo "yes" >&6; }
3028 fi
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3030 $as_echo_n "checking for C compiler default output file name... " >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3032 $as_echo "$ac_file" >&6; }
3033 ac_exeext=$ac_cv_exeext
3034
3035 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3036 ac_clean_files=$ac_clean_files_save
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3038 $as_echo_n "checking for suffix of executables... " >&6; }
3039 if { { ac_try="$ac_link"
3040 case "(($ac_try" in
3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042   *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046   (eval "$ac_link") 2>&5
3047   ac_status=$?
3048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049   test $ac_status = 0; }; then :
3050   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3051 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3052 # work properly (i.e., refer to `conftest.exe'), while it won't with
3053 # `rm'.
3054 for ac_file in conftest.exe conftest conftest.*; do
3055   test -f "$ac_file" || continue
3056   case $ac_file in
3057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3058     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3059           break;;
3060     * ) break;;
3061   esac
3062 done
3063 else
3064   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details" "$LINENO" 5; }
3068 fi
3069 rm -f conftest conftest$ac_cv_exeext
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3071 $as_echo "$ac_cv_exeext" >&6; }
3072
3073 rm -f conftest.$ac_ext
3074 EXEEXT=$ac_cv_exeext
3075 ac_exeext=$EXEEXT
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h.  */
3078 #include <stdio.h>
3079 int
3080 main ()
3081 {
3082 FILE *f = fopen ("conftest.out", "w");
3083  return ferror (f) || fclose (f) != 0;
3084
3085   ;
3086   return 0;
3087 }
3088 _ACEOF
3089 ac_clean_files="$ac_clean_files conftest.out"
3090 # Check that the compiler produces executables we can run.  If not, either
3091 # the compiler is broken, or we cross compile.
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3093 $as_echo_n "checking whether we are cross compiling... " >&6; }
3094 if test "$cross_compiling" != yes; then
3095   { { ac_try="$ac_link"
3096 case "(($ac_try" in
3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098   *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102   (eval "$ac_link") 2>&5
3103   ac_status=$?
3104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105   test $ac_status = 0; }
3106   if { ac_try='./conftest$ac_cv_exeext'
3107   { { case "(($ac_try" in
3108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109   *) ac_try_echo=$ac_try;;
3110 esac
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113   (eval "$ac_try") 2>&5
3114   ac_status=$?
3115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116   test $ac_status = 0; }; }; then
3117     cross_compiling=no
3118   else
3119     if test "$cross_compiling" = maybe; then
3120         cross_compiling=yes
3121     else
3122         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "cannot run C compiled programs.
3125 If you meant to cross compile, use \`--host'.
3126 See \`config.log' for more details" "$LINENO" 5; }
3127     fi
3128   fi
3129 fi
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3131 $as_echo "$cross_compiling" >&6; }
3132
3133 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3134 ac_clean_files=$ac_clean_files_save
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3136 $as_echo_n "checking for suffix of object files... " >&6; }
3137 if ${ac_cv_objext+:} false; then :
3138   $as_echo_n "(cached) " >&6
3139 else
3140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h.  */
3142
3143 int
3144 main ()
3145 {
3146
3147   ;
3148   return 0;
3149 }
3150 _ACEOF
3151 rm -f conftest.o conftest.obj
3152 if { { ac_try="$ac_compile"
3153 case "(($ac_try" in
3154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155   *) ac_try_echo=$ac_try;;
3156 esac
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159   (eval "$ac_compile") 2>&5
3160   ac_status=$?
3161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162   test $ac_status = 0; }; then :
3163   for ac_file in conftest.o conftest.obj conftest.*; do
3164   test -f "$ac_file" || continue;
3165   case $ac_file in
3166     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3167     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3168        break;;
3169   esac
3170 done
3171 else
3172   $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3174
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error $? "cannot compute suffix of object files: cannot compile
3178 See \`config.log' for more details" "$LINENO" 5; }
3179 fi
3180 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3181 fi
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3183 $as_echo "$ac_cv_objext" >&6; }
3184 OBJEXT=$ac_cv_objext
3185 ac_objext=$OBJEXT
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3188 if ${ac_cv_c_compiler_gnu+:} false; then :
3189   $as_echo_n "(cached) " >&6
3190 else
3191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h.  */
3193
3194 int
3195 main ()
3196 {
3197 #ifndef __GNUC__
3198        choke me
3199 #endif
3200
3201   ;
3202   return 0;
3203 }
3204 _ACEOF
3205 if ac_fn_c_try_compile "$LINENO"; then :
3206   ac_compiler_gnu=yes
3207 else
3208   ac_compiler_gnu=no
3209 fi
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3212
3213 fi
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3215 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3216 if test $ac_compiler_gnu = yes; then
3217   GCC=yes
3218 else
3219   GCC=
3220 fi
3221 ac_test_CFLAGS=${CFLAGS+set}
3222 ac_save_CFLAGS=$CFLAGS
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3224 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3225 if ${ac_cv_prog_cc_g+:} false; then :
3226   $as_echo_n "(cached) " >&6
3227 else
3228   ac_save_c_werror_flag=$ac_c_werror_flag
3229    ac_c_werror_flag=yes
3230    ac_cv_prog_cc_g=no
3231    CFLAGS="-g"
3232    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h.  */
3234
3235 int
3236 main ()
3237 {
3238
3239   ;
3240   return 0;
3241 }
3242 _ACEOF
3243 if ac_fn_c_try_compile "$LINENO"; then :
3244   ac_cv_prog_cc_g=yes
3245 else
3246   CFLAGS=""
3247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h.  */
3249
3250 int
3251 main ()
3252 {
3253
3254   ;
3255   return 0;
3256 }
3257 _ACEOF
3258 if ac_fn_c_try_compile "$LINENO"; then :
3259
3260 else
3261   ac_c_werror_flag=$ac_save_c_werror_flag
3262          CFLAGS="-g"
3263          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h.  */
3265
3266 int
3267 main ()
3268 {
3269
3270   ;
3271   return 0;
3272 }
3273 _ACEOF
3274 if ac_fn_c_try_compile "$LINENO"; then :
3275   ac_cv_prog_cc_g=yes
3276 fi
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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    ac_c_werror_flag=$ac_save_c_werror_flag
3283 fi
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3285 $as_echo "$ac_cv_prog_cc_g" >&6; }
3286 if test "$ac_test_CFLAGS" = set; then
3287   CFLAGS=$ac_save_CFLAGS
3288 elif test $ac_cv_prog_cc_g = yes; then
3289   if test "$GCC" = yes; then
3290     CFLAGS="-g -O2"
3291   else
3292     CFLAGS="-g"
3293   fi
3294 else
3295   if test "$GCC" = yes; then
3296     CFLAGS="-O2"
3297   else
3298     CFLAGS=
3299   fi
3300 fi
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3302 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3303 if ${ac_cv_prog_cc_c89+:} false; then :
3304   $as_echo_n "(cached) " >&6
3305 else
3306   ac_cv_prog_cc_c89=no
3307 ac_save_CC=$CC
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h.  */
3310 #include <stdarg.h>
3311 #include <stdio.h>
3312 #include <sys/types.h>
3313 #include <sys/stat.h>
3314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3315 struct buf { int x; };
3316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3317 static char *e (p, i)
3318      char **p;
3319      int i;
3320 {
3321   return p[i];
3322 }
3323 static char *f (char * (*g) (char **, int), char **p, ...)
3324 {
3325   char *s;
3326   va_list v;
3327   va_start (v,p);
3328   s = g (p, va_arg (v,int));
3329   va_end (v);
3330   return s;
3331 }
3332
3333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3334    function prototypes and stuff, but not '\xHH' hex character constants.
3335    These don't provoke an error unfortunately, instead are silently treated
3336    as 'x'.  The following induces an error, until -std is added to get
3337    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3338    array size at least.  It's necessary to write '\x00'==0 to get something
3339    that's true only with -std.  */
3340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3341
3342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3343    inside strings and character constants.  */
3344 #define FOO(x) 'x'
3345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3346
3347 int test (int i, double x);
3348 struct s1 {int (*f) (int a);};
3349 struct s2 {int (*f) (double a);};
3350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3351 int argc;
3352 char **argv;
3353 int
3354 main ()
3355 {
3356 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3357   ;
3358   return 0;
3359 }
3360 _ACEOF
3361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3362         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3363 do
3364   CC="$ac_save_CC $ac_arg"
3365   if ac_fn_c_try_compile "$LINENO"; then :
3366   ac_cv_prog_cc_c89=$ac_arg
3367 fi
3368 rm -f core conftest.err conftest.$ac_objext
3369   test "x$ac_cv_prog_cc_c89" != "xno" && break
3370 done
3371 rm -f conftest.$ac_ext
3372 CC=$ac_save_CC
3373
3374 fi
3375 # AC_CACHE_VAL
3376 case "x$ac_cv_prog_cc_c89" in
3377   x)
3378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3379 $as_echo "none needed" >&6; } ;;
3380   xno)
3381     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3382 $as_echo "unsupported" >&6; } ;;
3383   *)
3384     CC="$CC $ac_cv_prog_cc_c89"
3385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3387 esac
3388 if test "x$ac_cv_prog_cc_c89" != xno; then :
3389
3390 fi
3391
3392 ac_ext=c
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397 DEPDIR="${am__leading_dot}deps"
3398
3399 ac_config_commands="$ac_config_commands depfiles"
3400
3401
3402 am_make=${MAKE-make}
3403 cat > confinc << 'END'
3404 am__doit:
3405         @echo this is the am__doit target
3406 .PHONY: am__doit
3407 END
3408 # If we don't find an include directive, just comment out the code.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3410 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3411 am__include="#"
3412 am__quote=
3413 _am_result=none
3414 # First try GNU make style include.
3415 echo "include confinc" > confmf
3416 # Ignore all kinds of additional output from `make'.
3417 case `$am_make -s -f confmf 2> /dev/null` in #(
3418 *the\ am__doit\ target*)
3419   am__include=include
3420   am__quote=
3421   _am_result=GNU
3422   ;;
3423 esac
3424 # Now try BSD make style include.
3425 if test "$am__include" = "#"; then
3426    echo '.include "confinc"' > confmf
3427    case `$am_make -s -f confmf 2> /dev/null` in #(
3428    *the\ am__doit\ target*)
3429      am__include=.include
3430      am__quote="\""
3431      _am_result=BSD
3432      ;;
3433    esac
3434 fi
3435
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3438 $as_echo "$_am_result" >&6; }
3439 rm -f confinc confmf
3440
3441 # Check whether --enable-dependency-tracking was given.
3442 if test "${enable_dependency_tracking+set}" = set; then :
3443   enableval=$enable_dependency_tracking;
3444 fi
3445
3446 if test "x$enable_dependency_tracking" != xno; then
3447   am_depcomp="$ac_aux_dir/depcomp"
3448   AMDEPBACKSLASH='\'
3449 fi
3450  if test "x$enable_dependency_tracking" != xno; then
3451   AMDEP_TRUE=
3452   AMDEP_FALSE='#'
3453 else
3454   AMDEP_TRUE='#'
3455   AMDEP_FALSE=
3456 fi
3457
3458
3459
3460 depcc="$CC"   am_compiler_list=
3461
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3463 $as_echo_n "checking dependency style of $depcc... " >&6; }
3464 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3465   $as_echo_n "(cached) " >&6
3466 else
3467   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3468   # We make a subdir and do the tests there.  Otherwise we can end up
3469   # making bogus files that we don't know about and never remove.  For
3470   # instance it was reported that on HP-UX the gcc test will end up
3471   # making a dummy file named `D' -- because `-MD' means `put the output
3472   # in D'.
3473   mkdir conftest.dir
3474   # Copy depcomp to subdir because otherwise we won't find it if we're
3475   # using a relative directory.
3476   cp "$am_depcomp" conftest.dir
3477   cd conftest.dir
3478   # We will build objects and dependencies in a subdirectory because
3479   # it helps to detect inapplicable dependency modes.  For instance
3480   # both Tru64's cc and ICC support -MD to output dependencies as a
3481   # side effect of compilation, but ICC will put the dependencies in
3482   # the current directory while Tru64 will put them in the object
3483   # directory.
3484   mkdir sub
3485
3486   am_cv_CC_dependencies_compiler_type=none
3487   if test "$am_compiler_list" = ""; then
3488      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3489   fi
3490   am__universal=false
3491   case " $depcc " in #(
3492      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3493      esac
3494
3495   for depmode in $am_compiler_list; do
3496     # Setup a source with many dependencies, because some compilers
3497     # like to wrap large dependency lists on column 80 (with \), and
3498     # we should not choose a depcomp mode which is confused by this.
3499     #
3500     # We need to recreate these files for each test, as the compiler may
3501     # overwrite some of them when testing with obscure command lines.
3502     # This happens at least with the AIX C compiler.
3503     : > sub/conftest.c
3504     for i in 1 2 3 4 5 6; do
3505       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3506       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3507       # Solaris 8's {/usr,}/bin/sh.
3508       touch sub/conftst$i.h
3509     done
3510     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3511
3512     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3513     # mode.  It turns out that the SunPro C++ compiler does not properly
3514     # handle `-M -o', and we need to detect this.  Also, some Intel
3515     # versions had trouble with output in subdirs
3516     am__obj=sub/conftest.${OBJEXT-o}
3517     am__minus_obj="-o $am__obj"
3518     case $depmode in
3519     gcc)
3520       # This depmode causes a compiler race in universal mode.
3521       test "$am__universal" = false || continue
3522       ;;
3523     nosideeffect)
3524       # after this tag, mechanisms are not by side-effect, so they'll
3525       # only be used when explicitly requested
3526       if test "x$enable_dependency_tracking" = xyes; then
3527         continue
3528       else
3529         break
3530       fi
3531       ;;
3532     msvisualcpp | msvcmsys)
3533       # This compiler won't grok `-c -o', but also, the minuso test has
3534       # not run yet.  These depmodes are late enough in the game, and
3535       # so weak that their functioning should not be impacted.
3536       am__obj=conftest.${OBJEXT-o}
3537       am__minus_obj=
3538       ;;
3539     none) break ;;
3540     esac
3541     if depmode=$depmode \
3542        source=sub/conftest.c object=$am__obj \
3543        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3544        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3545          >/dev/null 2>conftest.err &&
3546        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3547        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3548        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3549        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3550       # icc doesn't choke on unknown options, it will just issue warnings
3551       # or remarks (even with -Werror).  So we grep stderr for any message
3552       # that says an option was ignored or not supported.
3553       # When given -MP, icc 7.0 and 7.1 complain thusly:
3554       #   icc: Command line warning: ignoring option '-M'; no argument required
3555       # The diagnosis changed in icc 8.0:
3556       #   icc: Command line remark: option '-MP' not supported
3557       if (grep 'ignoring option' conftest.err ||
3558           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3559         am_cv_CC_dependencies_compiler_type=$depmode
3560         break
3561       fi
3562     fi
3563   done
3564
3565   cd ..
3566   rm -rf conftest.dir
3567 else
3568   am_cv_CC_dependencies_compiler_type=none
3569 fi
3570
3571 fi
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3573 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3574 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3575
3576  if
3577   test "x$enable_dependency_tracking" != xno \
3578   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3579   am__fastdepCC_TRUE=
3580   am__fastdepCC_FALSE='#'
3581 else
3582   am__fastdepCC_TRUE='#'
3583   am__fastdepCC_FALSE=
3584 fi
3585
3586
3587
3588 ## ----------------------- ##
3589 ## Libtool initialisation. ##
3590 ## ----------------------- ##
3591 case `pwd` in
3592   *\ * | *\     *)
3593     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3594 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3595 esac
3596
3597
3598
3599 macro_version='2.4.2'
3600 macro_revision='1.3337'
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614 ltmain="$ac_aux_dir/ltmain.sh"
3615
3616 # Make sure we can run config.sub.
3617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3619
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3621 $as_echo_n "checking build system type... " >&6; }
3622 if ${ac_cv_build+:} false; then :
3623   $as_echo_n "(cached) " >&6
3624 else
3625   ac_build_alias=$build_alias
3626 test "x$ac_build_alias" = x &&
3627   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3628 test "x$ac_build_alias" = x &&
3629   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3631   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3632
3633 fi
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3635 $as_echo "$ac_cv_build" >&6; }
3636 case $ac_cv_build in
3637 *-*-*) ;;
3638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3639 esac
3640 build=$ac_cv_build
3641 ac_save_IFS=$IFS; IFS='-'
3642 set x $ac_cv_build
3643 shift
3644 build_cpu=$1
3645 build_vendor=$2
3646 shift; shift
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3649 build_os=$*
3650 IFS=$ac_save_IFS
3651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3652
3653
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3655 $as_echo_n "checking host system type... " >&6; }
3656 if ${ac_cv_host+:} false; then :
3657   $as_echo_n "(cached) " >&6
3658 else
3659   if test "x$host_alias" = x; then
3660   ac_cv_host=$ac_cv_build
3661 else
3662   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3663     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3664 fi
3665
3666 fi
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3668 $as_echo "$ac_cv_host" >&6; }
3669 case $ac_cv_host in
3670 *-*-*) ;;
3671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3672 esac
3673 host=$ac_cv_host
3674 ac_save_IFS=$IFS; IFS='-'
3675 set x $ac_cv_host
3676 shift
3677 host_cpu=$1
3678 host_vendor=$2
3679 shift; shift
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3682 host_os=$*
3683 IFS=$ac_save_IFS
3684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3685
3686
3687 # Backslashify metacharacters that are still active within
3688 # double-quoted strings.
3689 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3690
3691 # Same as above, but do not quote variable references.
3692 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3693
3694 # Sed substitution to delay expansion of an escaped shell variable in a
3695 # double_quote_subst'ed string.
3696 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3697
3698 # Sed substitution to delay expansion of an escaped single quote.
3699 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3700
3701 # Sed substitution to avoid accidental globbing in evaled expressions
3702 no_glob_subst='s/\*/\\\*/g'
3703
3704 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3705 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3706 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3707
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3709 $as_echo_n "checking how to print strings... " >&6; }
3710 # Test print first, because it will be a builtin if present.
3711 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3712    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3713   ECHO='print -r --'
3714 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3715   ECHO='printf %s\n'
3716 else
3717   # Use this function as a fallback that always works.
3718   func_fallback_echo ()
3719   {
3720     eval 'cat <<_LTECHO_EOF
3721 $1
3722 _LTECHO_EOF'
3723   }
3724   ECHO='func_fallback_echo'
3725 fi
3726
3727 # func_echo_all arg...
3728 # Invoke $ECHO with all args, space-separated.
3729 func_echo_all ()
3730 {
3731     $ECHO ""
3732 }
3733
3734 case "$ECHO" in
3735   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3736 $as_echo "printf" >&6; } ;;
3737   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3738 $as_echo "print -r" >&6; } ;;
3739   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3740 $as_echo "cat" >&6; } ;;
3741 esac
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3757 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3758 if ${ac_cv_path_SED+:} false; then :
3759   $as_echo_n "(cached) " >&6
3760 else
3761             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3762      for ac_i in 1 2 3 4 5 6 7; do
3763        ac_script="$ac_script$as_nl$ac_script"
3764      done
3765      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3766      { ac_script=; unset ac_script;}
3767      if test -z "$SED"; then
3768   ac_path_SED_found=false
3769   # Loop through the user's path and test for each of PROGNAME-LIST
3770   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771 for as_dir in $PATH
3772 do
3773   IFS=$as_save_IFS
3774   test -z "$as_dir" && as_dir=.
3775     for ac_prog in sed gsed; do
3776     for ac_exec_ext in '' $ac_executable_extensions; do
3777       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3778       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3779 # Check for GNU ac_path_SED and select it if it is found.
3780   # Check for GNU $ac_path_SED
3781 case `"$ac_path_SED" --version 2>&1` in
3782 *GNU*)
3783   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3784 *)
3785   ac_count=0
3786   $as_echo_n 0123456789 >"conftest.in"
3787   while :
3788   do
3789     cat "conftest.in" "conftest.in" >"conftest.tmp"
3790     mv "conftest.tmp" "conftest.in"
3791     cp "conftest.in" "conftest.nl"
3792     $as_echo '' >> "conftest.nl"
3793     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3794     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3795     as_fn_arith $ac_count + 1 && ac_count=$as_val
3796     if test $ac_count -gt ${ac_path_SED_max-0}; then
3797       # Best one so far, save it but keep looking for a better one
3798       ac_cv_path_SED="$ac_path_SED"
3799       ac_path_SED_max=$ac_count
3800     fi
3801     # 10*(2^10) chars as input seems more than enough
3802     test $ac_count -gt 10 && break
3803   done
3804   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3805 esac
3806
3807       $ac_path_SED_found && break 3
3808     done
3809   done
3810   done
3811 IFS=$as_save_IFS
3812   if test -z "$ac_cv_path_SED"; then
3813     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3814   fi
3815 else
3816   ac_cv_path_SED=$SED
3817 fi
3818
3819 fi
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3821 $as_echo "$ac_cv_path_SED" >&6; }
3822  SED="$ac_cv_path_SED"
3823   rm -f conftest.sed
3824
3825 test -z "$SED" && SED=sed
3826 Xsed="$SED -e 1s/^X//"
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3839 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3840 if ${ac_cv_path_GREP+:} false; then :
3841   $as_echo_n "(cached) " >&6
3842 else
3843   if test -z "$GREP"; then
3844   ac_path_GREP_found=false
3845   # Loop through the user's path and test for each of PROGNAME-LIST
3846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3848 do
3849   IFS=$as_save_IFS
3850   test -z "$as_dir" && as_dir=.
3851     for ac_prog in grep ggrep; do
3852     for ac_exec_ext in '' $ac_executable_extensions; do
3853       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3854       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3855 # Check for GNU ac_path_GREP and select it if it is found.
3856   # Check for GNU $ac_path_GREP
3857 case `"$ac_path_GREP" --version 2>&1` in
3858 *GNU*)
3859   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3860 *)
3861   ac_count=0
3862   $as_echo_n 0123456789 >"conftest.in"
3863   while :
3864   do
3865     cat "conftest.in" "conftest.in" >"conftest.tmp"
3866     mv "conftest.tmp" "conftest.in"
3867     cp "conftest.in" "conftest.nl"
3868     $as_echo 'GREP' >> "conftest.nl"
3869     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3870     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3871     as_fn_arith $ac_count + 1 && ac_count=$as_val
3872     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3873       # Best one so far, save it but keep looking for a better one
3874       ac_cv_path_GREP="$ac_path_GREP"
3875       ac_path_GREP_max=$ac_count
3876     fi
3877     # 10*(2^10) chars as input seems more than enough
3878     test $ac_count -gt 10 && break
3879   done
3880   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3881 esac
3882
3883       $ac_path_GREP_found && break 3
3884     done
3885   done
3886   done
3887 IFS=$as_save_IFS
3888   if test -z "$ac_cv_path_GREP"; then
3889     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3890   fi
3891 else
3892   ac_cv_path_GREP=$GREP
3893 fi
3894
3895 fi
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3897 $as_echo "$ac_cv_path_GREP" >&6; }
3898  GREP="$ac_cv_path_GREP"
3899
3900
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3902 $as_echo_n "checking for egrep... " >&6; }
3903 if ${ac_cv_path_EGREP+:} false; then :
3904   $as_echo_n "(cached) " >&6
3905 else
3906   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3907    then ac_cv_path_EGREP="$GREP -E"
3908    else
3909      if test -z "$EGREP"; then
3910   ac_path_EGREP_found=false
3911   # Loop through the user's path and test for each of PROGNAME-LIST
3912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3914 do
3915   IFS=$as_save_IFS
3916   test -z "$as_dir" && as_dir=.
3917     for ac_prog in egrep; do
3918     for ac_exec_ext in '' $ac_executable_extensions; do
3919       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3920       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3921 # Check for GNU ac_path_EGREP and select it if it is found.
3922   # Check for GNU $ac_path_EGREP
3923 case `"$ac_path_EGREP" --version 2>&1` in
3924 *GNU*)
3925   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3926 *)
3927   ac_count=0
3928   $as_echo_n 0123456789 >"conftest.in"
3929   while :
3930   do
3931     cat "conftest.in" "conftest.in" >"conftest.tmp"
3932     mv "conftest.tmp" "conftest.in"
3933     cp "conftest.in" "conftest.nl"
3934     $as_echo 'EGREP' >> "conftest.nl"
3935     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3936     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3937     as_fn_arith $ac_count + 1 && ac_count=$as_val
3938     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3939       # Best one so far, save it but keep looking for a better one
3940       ac_cv_path_EGREP="$ac_path_EGREP"
3941       ac_path_EGREP_max=$ac_count
3942     fi
3943     # 10*(2^10) chars as input seems more than enough
3944     test $ac_count -gt 10 && break
3945   done
3946   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3947 esac
3948
3949       $ac_path_EGREP_found && break 3
3950     done
3951   done
3952   done
3953 IFS=$as_save_IFS
3954   if test -z "$ac_cv_path_EGREP"; then
3955     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3956   fi
3957 else
3958   ac_cv_path_EGREP=$EGREP
3959 fi
3960
3961    fi
3962 fi
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3964 $as_echo "$ac_cv_path_EGREP" >&6; }
3965  EGREP="$ac_cv_path_EGREP"
3966
3967
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3969 $as_echo_n "checking for fgrep... " >&6; }
3970 if ${ac_cv_path_FGREP+:} false; then :
3971   $as_echo_n "(cached) " >&6
3972 else
3973   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3974    then ac_cv_path_FGREP="$GREP -F"
3975    else
3976      if test -z "$FGREP"; then
3977   ac_path_FGREP_found=false
3978   # Loop through the user's path and test for each of PROGNAME-LIST
3979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3981 do
3982   IFS=$as_save_IFS
3983   test -z "$as_dir" && as_dir=.
3984     for ac_prog in fgrep; do
3985     for ac_exec_ext in '' $ac_executable_extensions; do
3986       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3987       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3988 # Check for GNU ac_path_FGREP and select it if it is found.
3989   # Check for GNU $ac_path_FGREP
3990 case `"$ac_path_FGREP" --version 2>&1` in
3991 *GNU*)
3992   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3993 *)
3994   ac_count=0
3995   $as_echo_n 0123456789 >"conftest.in"
3996   while :
3997   do
3998     cat "conftest.in" "conftest.in" >"conftest.tmp"
3999     mv "conftest.tmp" "conftest.in"
4000     cp "conftest.in" "conftest.nl"
4001     $as_echo 'FGREP' >> "conftest.nl"
4002     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4003     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4004     as_fn_arith $ac_count + 1 && ac_count=$as_val
4005     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4006       # Best one so far, save it but keep looking for a better one
4007       ac_cv_path_FGREP="$ac_path_FGREP"
4008       ac_path_FGREP_max=$ac_count
4009     fi
4010     # 10*(2^10) chars as input seems more than enough
4011     test $ac_count -gt 10 && break
4012   done
4013   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4014 esac
4015
4016       $ac_path_FGREP_found && break 3
4017     done
4018   done
4019   done
4020 IFS=$as_save_IFS
4021   if test -z "$ac_cv_path_FGREP"; then
4022     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4023   fi
4024 else
4025   ac_cv_path_FGREP=$FGREP
4026 fi
4027
4028    fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4031 $as_echo "$ac_cv_path_FGREP" >&6; }
4032  FGREP="$ac_cv_path_FGREP"
4033
4034
4035 test -z "$GREP" && GREP=grep
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055 # Check whether --with-gnu-ld was given.
4056 if test "${with_gnu_ld+set}" = set; then :
4057   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4058 else
4059   with_gnu_ld=no
4060 fi
4061
4062 ac_prog=ld
4063 if test "$GCC" = yes; then
4064   # Check if gcc -print-prog-name=ld gives a path.
4065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4066 $as_echo_n "checking for ld used by $CC... " >&6; }
4067   case $host in
4068   *-*-mingw*)
4069     # gcc leaves a trailing carriage return which upsets mingw
4070     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4071   *)
4072     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4073   esac
4074   case $ac_prog in
4075     # Accept absolute paths.
4076     [\\/]* | ?:[\\/]*)
4077       re_direlt='/[^/][^/]*/\.\./'
4078       # Canonicalize the pathname of ld
4079       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4080       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4081         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4082       done
4083       test -z "$LD" && LD="$ac_prog"
4084       ;;
4085   "")
4086     # If it fails, then pretend we aren't using GCC.
4087     ac_prog=ld
4088     ;;
4089   *)
4090     # If it is relative, then search for the first ld in PATH.
4091     with_gnu_ld=unknown
4092     ;;
4093   esac
4094 elif test "$with_gnu_ld" = yes; then
4095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4096 $as_echo_n "checking for GNU ld... " >&6; }
4097 else
4098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4099 $as_echo_n "checking for non-GNU ld... " >&6; }
4100 fi
4101 if ${lt_cv_path_LD+:} false; then :
4102   $as_echo_n "(cached) " >&6
4103 else
4104   if test -z "$LD"; then
4105   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4106   for ac_dir in $PATH; do
4107     IFS="$lt_save_ifs"
4108     test -z "$ac_dir" && ac_dir=.
4109     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4110       lt_cv_path_LD="$ac_dir/$ac_prog"
4111       # Check to see if the program is GNU ld.  I'd rather use --version,
4112       # but apparently some variants of GNU ld only accept -v.
4113       # Break only if it was the GNU/non-GNU ld that we prefer.
4114       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4115       *GNU* | *'with BFD'*)
4116         test "$with_gnu_ld" != no && break
4117         ;;
4118       *)
4119         test "$with_gnu_ld" != yes && break
4120         ;;
4121       esac
4122     fi
4123   done
4124   IFS="$lt_save_ifs"
4125 else
4126   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4127 fi
4128 fi
4129
4130 LD="$lt_cv_path_LD"
4131 if test -n "$LD"; then
4132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4133 $as_echo "$LD" >&6; }
4134 else
4135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4137 fi
4138 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4141 if ${lt_cv_prog_gnu_ld+:} false; then :
4142   $as_echo_n "(cached) " >&6
4143 else
4144   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4145 case `$LD -v 2>&1 </dev/null` in
4146 *GNU* | *'with BFD'*)
4147   lt_cv_prog_gnu_ld=yes
4148   ;;
4149 *)
4150   lt_cv_prog_gnu_ld=no
4151   ;;
4152 esac
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4155 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4156 with_gnu_ld=$lt_cv_prog_gnu_ld
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4167 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4168 if ${lt_cv_path_NM+:} false; then :
4169   $as_echo_n "(cached) " >&6
4170 else
4171   if test -n "$NM"; then
4172   # Let the user override the test.
4173   lt_cv_path_NM="$NM"
4174 else
4175   lt_nm_to_check="${ac_tool_prefix}nm"
4176   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4177     lt_nm_to_check="$lt_nm_to_check nm"
4178   fi
4179   for lt_tmp_nm in $lt_nm_to_check; do
4180     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4181     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4182       IFS="$lt_save_ifs"
4183       test -z "$ac_dir" && ac_dir=.
4184       tmp_nm="$ac_dir/$lt_tmp_nm"
4185       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4186         # Check to see if the nm accepts a BSD-compat flag.
4187         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4188         #   nm: unknown option "B" ignored
4189         # Tru64's nm complains that /dev/null is an invalid object file
4190         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4191         */dev/null* | *'Invalid file or object type'*)
4192           lt_cv_path_NM="$tmp_nm -B"
4193           break
4194           ;;
4195         *)
4196           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4197           */dev/null*)
4198             lt_cv_path_NM="$tmp_nm -p"
4199             break
4200             ;;
4201           *)
4202             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4203             continue # so that we can try to find one that supports BSD flags
4204             ;;
4205           esac
4206           ;;
4207         esac
4208       fi
4209     done
4210     IFS="$lt_save_ifs"
4211   done
4212   : ${lt_cv_path_NM=no}
4213 fi
4214 fi
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4216 $as_echo "$lt_cv_path_NM" >&6; }
4217 if test "$lt_cv_path_NM" != "no"; then
4218   NM="$lt_cv_path_NM"
4219 else
4220   # Didn't find any BSD compatible name lister, look for dumpbin.
4221   if test -n "$DUMPBIN"; then :
4222     # Let the user override the test.
4223   else
4224     if test -n "$ac_tool_prefix"; then
4225   for ac_prog in dumpbin "link -dump"
4226   do
4227     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if ${ac_cv_prog_DUMPBIN+:} false; then :
4232   $as_echo_n "(cached) " >&6
4233 else
4234   if test -n "$DUMPBIN"; then
4235   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4236 else
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 for as_dir in $PATH
4239 do
4240   IFS=$as_save_IFS
4241   test -z "$as_dir" && as_dir=.
4242     for ac_exec_ext in '' $ac_executable_extensions; do
4243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4245     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246     break 2
4247   fi
4248 done
4249   done
4250 IFS=$as_save_IFS
4251
4252 fi
4253 fi
4254 DUMPBIN=$ac_cv_prog_DUMPBIN
4255 if test -n "$DUMPBIN"; then
4256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4257 $as_echo "$DUMPBIN" >&6; }
4258 else
4259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4261 fi
4262
4263
4264     test -n "$DUMPBIN" && break
4265   done
4266 fi
4267 if test -z "$DUMPBIN"; then
4268   ac_ct_DUMPBIN=$DUMPBIN
4269   for ac_prog in dumpbin "link -dump"
4270 do
4271   # Extract the first word of "$ac_prog", so it can be a program name with args.
4272 set dummy $ac_prog; ac_word=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4276   $as_echo_n "(cached) " >&6
4277 else
4278   if test -n "$ac_ct_DUMPBIN"; then
4279   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4280 else
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH
4283 do
4284   IFS=$as_save_IFS
4285   test -z "$as_dir" && as_dir=.
4286     for ac_exec_ext in '' $ac_executable_extensions; do
4287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290     break 2
4291   fi
4292 done
4293   done
4294 IFS=$as_save_IFS
4295
4296 fi
4297 fi
4298 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4299 if test -n "$ac_ct_DUMPBIN"; then
4300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4301 $as_echo "$ac_ct_DUMPBIN" >&6; }
4302 else
4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4305 fi
4306
4307
4308   test -n "$ac_ct_DUMPBIN" && break
4309 done
4310
4311   if test "x$ac_ct_DUMPBIN" = x; then
4312     DUMPBIN=":"
4313   else
4314     case $cross_compiling:$ac_tool_warned in
4315 yes:)
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4318 ac_tool_warned=yes ;;
4319 esac
4320     DUMPBIN=$ac_ct_DUMPBIN
4321   fi
4322 fi
4323
4324     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4325     *COFF*)
4326       DUMPBIN="$DUMPBIN -symbols"
4327       ;;
4328     *)
4329       DUMPBIN=:
4330       ;;
4331     esac
4332   fi
4333
4334   if test "$DUMPBIN" != ":"; then
4335     NM="$DUMPBIN"
4336   fi
4337 fi
4338 test -z "$NM" && NM=nm
4339
4340
4341
4342
4343
4344
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4346 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4347 if ${lt_cv_nm_interface+:} false; then :
4348   $as_echo_n "(cached) " >&6
4349 else
4350   lt_cv_nm_interface="BSD nm"
4351   echo "int some_variable = 0;" > conftest.$ac_ext
4352   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4353   (eval "$ac_compile" 2>conftest.err)
4354   cat conftest.err >&5
4355   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4356   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4357   cat conftest.err >&5
4358   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4359   cat conftest.out >&5
4360   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4361     lt_cv_nm_interface="MS dumpbin"
4362   fi
4363   rm -f conftest*
4364 fi
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4366 $as_echo "$lt_cv_nm_interface" >&6; }
4367
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4369 $as_echo_n "checking whether ln -s works... " >&6; }
4370 LN_S=$as_ln_s
4371 if test "$LN_S" = "ln -s"; then
4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4373 $as_echo "yes" >&6; }
4374 else
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4376 $as_echo "no, using $LN_S" >&6; }
4377 fi
4378
4379 # find the maximum length of command line arguments
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4381 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4382 if ${lt_cv_sys_max_cmd_len+:} false; then :
4383   $as_echo_n "(cached) " >&6
4384 else
4385     i=0
4386   teststring="ABCD"
4387
4388   case $build_os in
4389   msdosdjgpp*)
4390     # On DJGPP, this test can blow up pretty badly due to problems in libc
4391     # (any single argument exceeding 2000 bytes causes a buffer overrun
4392     # during glob expansion).  Even if it were fixed, the result of this
4393     # check would be larger than it should be.
4394     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4395     ;;
4396
4397   gnu*)
4398     # Under GNU Hurd, this test is not required because there is
4399     # no limit to the length of command line arguments.
4400     # Libtool will interpret -1 as no limit whatsoever
4401     lt_cv_sys_max_cmd_len=-1;
4402     ;;
4403
4404   cygwin* | mingw* | cegcc*)
4405     # On Win9x/ME, this test blows up -- it succeeds, but takes
4406     # about 5 minutes as the teststring grows exponentially.
4407     # Worse, since 9x/ME are not pre-emptively multitasking,
4408     # you end up with a "frozen" computer, even though with patience
4409     # the test eventually succeeds (with a max line length of 256k).
4410     # Instead, let's just punt: use the minimum linelength reported by
4411     # all of the supported platforms: 8192 (on NT/2K/XP).
4412     lt_cv_sys_max_cmd_len=8192;
4413     ;;
4414
4415   mint*)
4416     # On MiNT this can take a long time and run out of memory.
4417     lt_cv_sys_max_cmd_len=8192;
4418     ;;
4419
4420   amigaos*)
4421     # On AmigaOS with pdksh, this test takes hours, literally.
4422     # So we just punt and use a minimum line length of 8192.
4423     lt_cv_sys_max_cmd_len=8192;
4424     ;;
4425
4426   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4427     # This has been around since 386BSD, at least.  Likely further.
4428     if test -x /sbin/sysctl; then
4429       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4430     elif test -x /usr/sbin/sysctl; then
4431       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4432     else
4433       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4434     fi
4435     # And add a safety zone
4436     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4437     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4438     ;;
4439
4440   interix*)
4441     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4442     lt_cv_sys_max_cmd_len=196608
4443     ;;
4444
4445   os2*)
4446     # The test takes a long time on OS/2.
4447     lt_cv_sys_max_cmd_len=8192
4448     ;;
4449
4450   osf*)
4451     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4452     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4453     # nice to cause kernel panics so lets avoid the loop below.
4454     # First set a reasonable default.
4455     lt_cv_sys_max_cmd_len=16384
4456     #
4457     if test -x /sbin/sysconfig; then
4458       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4459         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4460       esac
4461     fi
4462     ;;
4463   sco3.2v5*)
4464     lt_cv_sys_max_cmd_len=102400
4465     ;;
4466   sysv5* | sco5v6* | sysv4.2uw2*)
4467     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4468     if test -n "$kargmax"; then
4469       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4470     else
4471       lt_cv_sys_max_cmd_len=32768
4472     fi
4473     ;;
4474   *)
4475     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4476     if test -n "$lt_cv_sys_max_cmd_len"; then
4477       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4478       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4479     else
4480       # Make teststring a little bigger before we do anything with it.
4481       # a 1K string should be a reasonable start.
4482       for i in 1 2 3 4 5 6 7 8 ; do
4483         teststring=$teststring$teststring
4484       done
4485       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4486       # If test is not a shell built-in, we'll probably end up computing a
4487       # maximum length that is only half of the actual maximum length, but
4488       # we can't tell.
4489       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4490                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4491               test $i != 17 # 1/2 MB should be enough
4492       do
4493         i=`expr $i + 1`
4494         teststring=$teststring$teststring
4495       done
4496       # Only check the string length outside the loop.
4497       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4498       teststring=
4499       # Add a significant safety factor because C++ compilers can tack on
4500       # massive amounts of additional arguments before passing them to the
4501       # linker.  It appears as though 1/2 is a usable value.
4502       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4503     fi
4504     ;;
4505   esac
4506
4507 fi
4508
4509 if test -n $lt_cv_sys_max_cmd_len ; then
4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4511 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4512 else
4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4514 $as_echo "none" >&6; }
4515 fi
4516 max_cmd_len=$lt_cv_sys_max_cmd_len
4517
4518
4519
4520
4521
4522
4523 : ${CP="cp -f"}
4524 : ${MV="mv -f"}
4525 : ${RM="rm -f"}
4526
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4528 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4529 # Try some XSI features
4530 xsi_shell=no
4531 ( _lt_dummy="a/b/c"
4532   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4533       = c,a/b,b/c, \
4534     && eval 'test $(( 1 + 1 )) -eq 2 \
4535     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4536   && xsi_shell=yes
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4538 $as_echo "$xsi_shell" >&6; }
4539
4540
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4542 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4543 lt_shell_append=no
4544 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4545     >/dev/null 2>&1 \
4546   && lt_shell_append=yes
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4548 $as_echo "$lt_shell_append" >&6; }
4549
4550
4551 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4552   lt_unset=unset
4553 else
4554   lt_unset=false
4555 fi
4556
4557
4558
4559
4560
4561 # test EBCDIC or ASCII
4562 case `echo X|tr X '\101'` in
4563  A) # ASCII based system
4564     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4565   lt_SP2NL='tr \040 \012'
4566   lt_NL2SP='tr \015\012 \040\040'
4567   ;;
4568  *) # EBCDIC based system
4569   lt_SP2NL='tr \100 \n'
4570   lt_NL2SP='tr \r\n \100\100'
4571   ;;
4572 esac
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4583 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4584 if ${lt_cv_to_host_file_cmd+:} false; then :
4585   $as_echo_n "(cached) " >&6
4586 else
4587   case $host in
4588   *-*-mingw* )
4589     case $build in
4590       *-*-mingw* ) # actually msys
4591         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4592         ;;
4593       *-*-cygwin* )
4594         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4595         ;;
4596       * ) # otherwise, assume *nix
4597         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4598         ;;
4599     esac
4600     ;;
4601   *-*-cygwin* )
4602     case $build in
4603       *-*-mingw* ) # actually msys
4604         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4605         ;;
4606       *-*-cygwin* )
4607         lt_cv_to_host_file_cmd=func_convert_file_noop
4608         ;;
4609       * ) # otherwise, assume *nix
4610         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4611         ;;
4612     esac
4613     ;;
4614   * ) # unhandled hosts (and "normal" native builds)
4615     lt_cv_to_host_file_cmd=func_convert_file_noop
4616     ;;
4617 esac
4618
4619 fi
4620
4621 to_host_file_cmd=$lt_cv_to_host_file_cmd
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4623 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4624
4625
4626
4627
4628
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4630 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4631 if ${lt_cv_to_tool_file_cmd+:} false; then :
4632   $as_echo_n "(cached) " >&6
4633 else
4634   #assume ordinary cross tools, or native build.
4635 lt_cv_to_tool_file_cmd=func_convert_file_noop
4636 case $host in
4637   *-*-mingw* )
4638     case $build in
4639       *-*-mingw* ) # actually msys
4640         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4641         ;;
4642     esac
4643     ;;
4644 esac
4645
4646 fi
4647
4648 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4650 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4651
4652
4653
4654
4655
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4657 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4658 if ${lt_cv_ld_reload_flag+:} false; then :
4659   $as_echo_n "(cached) " >&6
4660 else
4661   lt_cv_ld_reload_flag='-r'
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4664 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4665 reload_flag=$lt_cv_ld_reload_flag
4666 case $reload_flag in
4667 "" | " "*) ;;
4668 *) reload_flag=" $reload_flag" ;;
4669 esac
4670 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4671 case $host_os in
4672   cygwin* | mingw* | pw32* | cegcc*)
4673     if test "$GCC" != yes; then
4674       reload_cmds=false
4675     fi
4676     ;;
4677   darwin*)
4678     if test "$GCC" = yes; then
4679       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4680     else
4681       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4682     fi
4683     ;;
4684 esac
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694 if test -n "$ac_tool_prefix"; then
4695   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4696 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_OBJDUMP+:} false; then :
4700   $as_echo_n "(cached) " >&6
4701 else
4702   if test -n "$OBJDUMP"; then
4703   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4704 else
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 for as_dir in $PATH
4707 do
4708   IFS=$as_save_IFS
4709   test -z "$as_dir" && as_dir=.
4710     for ac_exec_ext in '' $ac_executable_extensions; do
4711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714     break 2
4715   fi
4716 done
4717   done
4718 IFS=$as_save_IFS
4719
4720 fi
4721 fi
4722 OBJDUMP=$ac_cv_prog_OBJDUMP
4723 if test -n "$OBJDUMP"; then
4724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4725 $as_echo "$OBJDUMP" >&6; }
4726 else
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4729 fi
4730
4731
4732 fi
4733 if test -z "$ac_cv_prog_OBJDUMP"; then
4734   ac_ct_OBJDUMP=$OBJDUMP
4735   # Extract the first word of "objdump", so it can be a program name with args.
4736 set dummy objdump; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4740   $as_echo_n "(cached) " >&6
4741 else
4742   if test -n "$ac_ct_OBJDUMP"; then
4743   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4744 else
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH
4747 do
4748   IFS=$as_save_IFS
4749   test -z "$as_dir" && as_dir=.
4750     for ac_exec_ext in '' $ac_executable_extensions; do
4751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754     break 2
4755   fi
4756 done
4757   done
4758 IFS=$as_save_IFS
4759
4760 fi
4761 fi
4762 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4763 if test -n "$ac_ct_OBJDUMP"; then
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4765 $as_echo "$ac_ct_OBJDUMP" >&6; }
4766 else
4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4769 fi
4770
4771   if test "x$ac_ct_OBJDUMP" = x; then
4772     OBJDUMP="false"
4773   else
4774     case $cross_compiling:$ac_tool_warned in
4775 yes:)
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4779 esac
4780     OBJDUMP=$ac_ct_OBJDUMP
4781   fi
4782 else
4783   OBJDUMP="$ac_cv_prog_OBJDUMP"
4784 fi
4785
4786 test -z "$OBJDUMP" && OBJDUMP=objdump
4787
4788
4789
4790
4791
4792
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4794 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4795 if ${lt_cv_deplibs_check_method+:} false; then :
4796   $as_echo_n "(cached) " >&6
4797 else
4798   lt_cv_file_magic_cmd='$MAGIC_CMD'
4799 lt_cv_file_magic_test_file=
4800 lt_cv_deplibs_check_method='unknown'
4801 # Need to set the preceding variable on all platforms that support
4802 # interlibrary dependencies.
4803 # 'none' -- dependencies not supported.
4804 # `unknown' -- same as none, but documents that we really don't know.
4805 # 'pass_all' -- all dependencies passed with no checks.
4806 # 'test_compile' -- check by making test program.
4807 # 'file_magic [[regex]]' -- check by looking for files in library path
4808 # which responds to the $file_magic_cmd with a given extended regex.
4809 # If you have `file' or equivalent on your system and you're not sure
4810 # whether `pass_all' will *always* work, you probably want this one.
4811
4812 case $host_os in
4813 aix[4-9]*)
4814   lt_cv_deplibs_check_method=pass_all
4815   ;;
4816
4817 beos*)
4818   lt_cv_deplibs_check_method=pass_all
4819   ;;
4820
4821 bsdi[45]*)
4822   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4823   lt_cv_file_magic_cmd='/usr/bin/file -L'
4824   lt_cv_file_magic_test_file=/shlib/libc.so
4825   ;;
4826
4827 cygwin*)
4828   # func_win32_libid is a shell function defined in ltmain.sh
4829   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4830   lt_cv_file_magic_cmd='func_win32_libid'
4831   ;;
4832
4833 mingw* | pw32*)
4834   # Base MSYS/MinGW do not provide the 'file' command needed by
4835   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4836   # unless we find 'file', for example because we are cross-compiling.
4837   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4838   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4839     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4840     lt_cv_file_magic_cmd='func_win32_libid'
4841   else
4842     # Keep this pattern in sync with the one in func_win32_libid.
4843     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4844     lt_cv_file_magic_cmd='$OBJDUMP -f'
4845   fi
4846   ;;
4847
4848 cegcc*)
4849   # use the weaker test based on 'objdump'. See mingw*.
4850   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4851   lt_cv_file_magic_cmd='$OBJDUMP -f'
4852   ;;
4853
4854 darwin* | rhapsody*)
4855   lt_cv_deplibs_check_method=pass_all
4856   ;;
4857
4858 freebsd* | dragonfly*)
4859   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4860     case $host_cpu in
4861     i*86 )
4862       # Not sure whether the presence of OpenBSD here was a mistake.
4863       # Let's accept both of them until this is cleared up.
4864       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4865       lt_cv_file_magic_cmd=/usr/bin/file
4866       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4867       ;;
4868     esac
4869   else
4870     lt_cv_deplibs_check_method=pass_all
4871   fi
4872   ;;
4873
4874 gnu*)
4875   lt_cv_deplibs_check_method=pass_all
4876   ;;
4877
4878 haiku*)
4879   lt_cv_deplibs_check_method=pass_all
4880   ;;
4881
4882 hpux10.20* | hpux11*)
4883   lt_cv_file_magic_cmd=/usr/bin/file
4884   case $host_cpu in
4885   ia64*)
4886     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4887     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4888     ;;
4889   hppa*64*)
4890     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]'
4891     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4892     ;;
4893   *)
4894     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4895     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4896     ;;
4897   esac
4898   ;;
4899
4900 interix[3-9]*)
4901   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4902   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4903   ;;
4904
4905 irix5* | irix6* | nonstopux*)
4906   case $LD in
4907   *-32|*"-32 ") libmagic=32-bit;;
4908   *-n32|*"-n32 ") libmagic=N32;;
4909   *-64|*"-64 ") libmagic=64-bit;;
4910   *) libmagic=never-match;;
4911   esac
4912   lt_cv_deplibs_check_method=pass_all
4913   ;;
4914
4915 # This must be glibc/ELF.
4916 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4917   lt_cv_deplibs_check_method=pass_all
4918   ;;
4919
4920 netbsd*)
4921   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4922     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4923   else
4924     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4925   fi
4926   ;;
4927
4928 newos6*)
4929   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4930   lt_cv_file_magic_cmd=/usr/bin/file
4931   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4932   ;;
4933
4934 *nto* | *qnx*)
4935   lt_cv_deplibs_check_method=pass_all
4936   ;;
4937
4938 openbsd*)
4939   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4940     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4941   else
4942     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4943   fi
4944   ;;
4945
4946 osf3* | osf4* | osf5*)
4947   lt_cv_deplibs_check_method=pass_all
4948   ;;
4949
4950 rdos*)
4951   lt_cv_deplibs_check_method=pass_all
4952   ;;
4953
4954 solaris*)
4955   lt_cv_deplibs_check_method=pass_all
4956   ;;
4957
4958 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4959   lt_cv_deplibs_check_method=pass_all
4960   ;;
4961
4962 sysv4 | sysv4.3*)
4963   case $host_vendor in
4964   motorola)
4965     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]'
4966     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4967     ;;
4968   ncr)
4969     lt_cv_deplibs_check_method=pass_all
4970     ;;
4971   sequent)
4972     lt_cv_file_magic_cmd='/bin/file'
4973     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4974     ;;
4975   sni)
4976     lt_cv_file_magic_cmd='/bin/file'
4977     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4978     lt_cv_file_magic_test_file=/lib/libc.so
4979     ;;
4980   siemens)
4981     lt_cv_deplibs_check_method=pass_all
4982     ;;
4983   pc)
4984     lt_cv_deplibs_check_method=pass_all
4985     ;;
4986   esac
4987   ;;
4988
4989 tpf*)
4990   lt_cv_deplibs_check_method=pass_all
4991   ;;
4992 esac
4993
4994 fi
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4996 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4997
4998 file_magic_glob=
4999 want_nocaseglob=no
5000 if test "$build" = "$host"; then
5001   case $host_os in
5002   mingw* | pw32*)
5003     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5004       want_nocaseglob=yes
5005     else
5006       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5007     fi
5008     ;;
5009   esac
5010 fi
5011
5012 file_magic_cmd=$lt_cv_file_magic_cmd
5013 deplibs_check_method=$lt_cv_deplibs_check_method
5014 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037 if test -n "$ac_tool_prefix"; then
5038   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5039 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_DLLTOOL+:} false; then :
5043   $as_echo_n "(cached) " >&6
5044 else
5045   if test -n "$DLLTOOL"; then
5046   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5047 else
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH
5050 do
5051   IFS=$as_save_IFS
5052   test -z "$as_dir" && as_dir=.
5053     for ac_exec_ext in '' $ac_executable_extensions; do
5054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057     break 2
5058   fi
5059 done
5060   done
5061 IFS=$as_save_IFS
5062
5063 fi
5064 fi
5065 DLLTOOL=$ac_cv_prog_DLLTOOL
5066 if test -n "$DLLTOOL"; then
5067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5068 $as_echo "$DLLTOOL" >&6; }
5069 else
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5072 fi
5073
5074
5075 fi
5076 if test -z "$ac_cv_prog_DLLTOOL"; then
5077   ac_ct_DLLTOOL=$DLLTOOL
5078   # Extract the first word of "dlltool", so it can be a program name with args.
5079 set dummy dlltool; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5083   $as_echo_n "(cached) " >&6
5084 else
5085   if test -n "$ac_ct_DLLTOOL"; then
5086   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5090 do
5091   IFS=$as_save_IFS
5092   test -z "$as_dir" && as_dir=.
5093     for ac_exec_ext in '' $ac_executable_extensions; do
5094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097     break 2
5098   fi
5099 done
5100   done
5101 IFS=$as_save_IFS
5102
5103 fi
5104 fi
5105 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5106 if test -n "$ac_ct_DLLTOOL"; then
5107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5108 $as_echo "$ac_ct_DLLTOOL" >&6; }
5109 else
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5112 fi
5113
5114   if test "x$ac_ct_DLLTOOL" = x; then
5115     DLLTOOL="false"
5116   else
5117     case $cross_compiling:$ac_tool_warned in
5118 yes:)
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5122 esac
5123     DLLTOOL=$ac_ct_DLLTOOL
5124   fi
5125 else
5126   DLLTOOL="$ac_cv_prog_DLLTOOL"
5127 fi
5128
5129 test -z "$DLLTOOL" && DLLTOOL=dlltool
5130
5131
5132
5133
5134
5135
5136
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5138 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5139 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5140   $as_echo_n "(cached) " >&6
5141 else
5142   lt_cv_sharedlib_from_linklib_cmd='unknown'
5143
5144 case $host_os in
5145 cygwin* | mingw* | pw32* | cegcc*)
5146   # two different shell functions defined in ltmain.sh
5147   # decide which to use based on capabilities of $DLLTOOL
5148   case `$DLLTOOL --help 2>&1` in
5149   *--identify-strict*)
5150     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5151     ;;
5152   *)
5153     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5154     ;;
5155   esac
5156   ;;
5157 *)
5158   # fallback: assume linklib IS sharedlib
5159   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5160   ;;
5161 esac
5162
5163 fi
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5165 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5166 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5167 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5168
5169
5170
5171
5172
5173
5174
5175
5176 if test -n "$ac_tool_prefix"; then
5177   for ac_prog in ar
5178   do
5179     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5180 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if ${ac_cv_prog_AR+:} false; then :
5184   $as_echo_n "(cached) " >&6
5185 else
5186   if test -n "$AR"; then
5187   ac_cv_prog_AR="$AR" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5191 do
5192   IFS=$as_save_IFS
5193   test -z "$as_dir" && as_dir=.
5194     for ac_exec_ext in '' $ac_executable_extensions; do
5195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198     break 2
5199   fi
5200 done
5201   done
5202 IFS=$as_save_IFS
5203
5204 fi
5205 fi
5206 AR=$ac_cv_prog_AR
5207 if test -n "$AR"; then
5208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5209 $as_echo "$AR" >&6; }
5210 else
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 fi
5214
5215
5216     test -n "$AR" && break
5217   done
5218 fi
5219 if test -z "$AR"; then
5220   ac_ct_AR=$AR
5221   for ac_prog in ar
5222 do
5223   # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5228   $as_echo_n "(cached) " >&6
5229 else
5230   if test -n "$ac_ct_AR"; then
5231   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5235 do
5236   IFS=$as_save_IFS
5237   test -z "$as_dir" && as_dir=.
5238     for ac_exec_ext in '' $ac_executable_extensions; do
5239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240     ac_cv_prog_ac_ct_AR="$ac_prog"
5241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242     break 2
5243   fi
5244 done
5245   done
5246 IFS=$as_save_IFS
5247
5248 fi
5249 fi
5250 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5251 if test -n "$ac_ct_AR"; then
5252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5253 $as_echo "$ac_ct_AR" >&6; }
5254 else
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5257 fi
5258
5259
5260   test -n "$ac_ct_AR" && break
5261 done
5262
5263   if test "x$ac_ct_AR" = x; then
5264     AR="false"
5265   else
5266     case $cross_compiling:$ac_tool_warned in
5267 yes:)
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5270 ac_tool_warned=yes ;;
5271 esac
5272     AR=$ac_ct_AR
5273   fi
5274 fi
5275
5276 : ${AR=ar}
5277 : ${AR_FLAGS=cru}
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5290 $as_echo_n "checking for archiver @FILE support... " >&6; }
5291 if ${lt_cv_ar_at_file+:} false; then :
5292   $as_echo_n "(cached) " >&6
5293 else
5294   lt_cv_ar_at_file=no
5295    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h.  */
5297
5298 int
5299 main ()
5300 {
5301
5302   ;
5303   return 0;
5304 }
5305 _ACEOF
5306 if ac_fn_c_try_compile "$LINENO"; then :
5307   echo conftest.$ac_objext > conftest.lst
5308       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5309       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5310   (eval $lt_ar_try) 2>&5
5311   ac_status=$?
5312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313   test $ac_status = 0; }
5314       if test "$ac_status" -eq 0; then
5315         # Ensure the archiver fails upon bogus file names.
5316         rm -f conftest.$ac_objext libconftest.a
5317         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5318   (eval $lt_ar_try) 2>&5
5319   ac_status=$?
5320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321   test $ac_status = 0; }
5322         if test "$ac_status" -ne 0; then
5323           lt_cv_ar_at_file=@
5324         fi
5325       fi
5326       rm -f conftest.* libconftest.a
5327
5328 fi
5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330
5331 fi
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5333 $as_echo "$lt_cv_ar_at_file" >&6; }
5334
5335 if test "x$lt_cv_ar_at_file" = xno; then
5336   archiver_list_spec=
5337 else
5338   archiver_list_spec=$lt_cv_ar_at_file
5339 fi
5340
5341
5342
5343
5344
5345
5346
5347 if test -n "$ac_tool_prefix"; then
5348   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}strip; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_STRIP+:} false; then :
5353   $as_echo_n "(cached) " >&6
5354 else
5355   if test -n "$STRIP"; then
5356   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5360 do
5361   IFS=$as_save_IFS
5362   test -z "$as_dir" && as_dir=.
5363     for ac_exec_ext in '' $ac_executable_extensions; do
5364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5365     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367     break 2
5368   fi
5369 done
5370   done
5371 IFS=$as_save_IFS
5372
5373 fi
5374 fi
5375 STRIP=$ac_cv_prog_STRIP
5376 if test -n "$STRIP"; then
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5378 $as_echo "$STRIP" >&6; }
5379 else
5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5382 fi
5383
5384
5385 fi
5386 if test -z "$ac_cv_prog_STRIP"; then
5387   ac_ct_STRIP=$STRIP
5388   # Extract the first word of "strip", so it can be a program name with args.
5389 set dummy strip; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5393   $as_echo_n "(cached) " >&6
5394 else
5395   if test -n "$ac_ct_STRIP"; then
5396   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5400 do
5401   IFS=$as_save_IFS
5402   test -z "$as_dir" && as_dir=.
5403     for ac_exec_ext in '' $ac_executable_extensions; do
5404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405     ac_cv_prog_ac_ct_STRIP="strip"
5406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407     break 2
5408   fi
5409 done
5410   done
5411 IFS=$as_save_IFS
5412
5413 fi
5414 fi
5415 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5416 if test -n "$ac_ct_STRIP"; then
5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5418 $as_echo "$ac_ct_STRIP" >&6; }
5419 else
5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422 fi
5423
5424   if test "x$ac_ct_STRIP" = x; then
5425     STRIP=":"
5426   else
5427     case $cross_compiling:$ac_tool_warned in
5428 yes:)
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5432 esac
5433     STRIP=$ac_ct_STRIP
5434   fi
5435 else
5436   STRIP="$ac_cv_prog_STRIP"
5437 fi
5438
5439 test -z "$STRIP" && STRIP=:
5440
5441
5442
5443
5444
5445
5446 if test -n "$ac_tool_prefix"; then
5447   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_RANLIB+:} false; then :
5452   $as_echo_n "(cached) " >&6
5453 else
5454   if test -n "$RANLIB"; then
5455   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5459 do
5460   IFS=$as_save_IFS
5461   test -z "$as_dir" && as_dir=.
5462     for ac_exec_ext in '' $ac_executable_extensions; do
5463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466     break 2
5467   fi
5468 done
5469   done
5470 IFS=$as_save_IFS
5471
5472 fi
5473 fi
5474 RANLIB=$ac_cv_prog_RANLIB
5475 if test -n "$RANLIB"; then
5476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5477 $as_echo "$RANLIB" >&6; }
5478 else
5479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5481 fi
5482
5483
5484 fi
5485 if test -z "$ac_cv_prog_RANLIB"; then
5486   ac_ct_RANLIB=$RANLIB
5487   # Extract the first word of "ranlib", so it can be a program name with args.
5488 set dummy ranlib; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5492   $as_echo_n "(cached) " >&6
5493 else
5494   if test -n "$ac_ct_RANLIB"; then
5495   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5499 do
5500   IFS=$as_save_IFS
5501   test -z "$as_dir" && as_dir=.
5502     for ac_exec_ext in '' $ac_executable_extensions; do
5503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504     ac_cv_prog_ac_ct_RANLIB="ranlib"
5505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506     break 2
5507   fi
5508 done
5509   done
5510 IFS=$as_save_IFS
5511
5512 fi
5513 fi
5514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5515 if test -n "$ac_ct_RANLIB"; then
5516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5517 $as_echo "$ac_ct_RANLIB" >&6; }
5518 else
5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5521 fi
5522
5523   if test "x$ac_ct_RANLIB" = x; then
5524     RANLIB=":"
5525   else
5526     case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5531 esac
5532     RANLIB=$ac_ct_RANLIB
5533   fi
5534 else
5535   RANLIB="$ac_cv_prog_RANLIB"
5536 fi
5537
5538 test -z "$RANLIB" && RANLIB=:
5539
5540
5541
5542
5543
5544
5545 # Determine commands to create old-style static archives.
5546 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5547 old_postinstall_cmds='chmod 644 $oldlib'
5548 old_postuninstall_cmds=
5549
5550 if test -n "$RANLIB"; then
5551   case $host_os in
5552   openbsd*)
5553     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5554     ;;
5555   *)
5556     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5557     ;;
5558   esac
5559   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5560 fi
5561
5562 case $host_os in
5563   darwin*)
5564     lock_old_archive_extraction=yes ;;
5565   *)
5566     lock_old_archive_extraction=no ;;
5567 esac
5568
5569
5570
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 # If no C compiler was specified, use CC.
5608 LTCC=${LTCC-"$CC"}
5609
5610 # If no C compiler flags were specified, use CFLAGS.
5611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5612
5613 # Allow CC to be a program name with arguments.
5614 compiler=$CC
5615
5616
5617 # Check for command to grab the raw symbol name followed by C symbol from nm.
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5619 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5620 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5621   $as_echo_n "(cached) " >&6
5622 else
5623
5624 # These are sane defaults that work on at least a few old systems.
5625 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5626
5627 # Character class describing NM global symbol codes.
5628 symcode='[BCDEGRST]'
5629
5630 # Regexp to match symbols that can be accessed directly from C.
5631 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5632
5633 # Define system-specific variables.
5634 case $host_os in
5635 aix*)
5636   symcode='[BCDT]'
5637   ;;
5638 cygwin* | mingw* | pw32* | cegcc*)
5639   symcode='[ABCDGISTW]'
5640   ;;
5641 hpux*)
5642   if test "$host_cpu" = ia64; then
5643     symcode='[ABCDEGRST]'
5644   fi
5645   ;;
5646 irix* | nonstopux*)
5647   symcode='[BCDEGRST]'
5648   ;;
5649 osf*)
5650   symcode='[BCDEGQRST]'
5651   ;;
5652 solaris*)
5653   symcode='[BDRT]'
5654   ;;
5655 sco3.2v5*)
5656   symcode='[DT]'
5657   ;;
5658 sysv4.2uw2*)
5659   symcode='[DT]'
5660   ;;
5661 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5662   symcode='[ABDT]'
5663   ;;
5664 sysv4)
5665   symcode='[DFNSTU]'
5666   ;;
5667 esac
5668
5669 # If we're using GNU nm, then use its standard symbol codes.
5670 case `$NM -V 2>&1` in
5671 *GNU* | *'with BFD'*)
5672   symcode='[ABCDGIRSTW]' ;;
5673 esac
5674
5675 # Transform an extracted symbol line into a proper C declaration.
5676 # Some systems (esp. on ia64) link data and code symbols differently,
5677 # so use this general approach.
5678 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5679
5680 # Transform an extracted symbol line into symbol name and symbol address
5681 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5682 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'"
5683
5684 # Handle CRLF in mingw tool chain
5685 opt_cr=
5686 case $build_os in
5687 mingw*)
5688   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5689   ;;
5690 esac
5691
5692 # Try without a prefix underscore, then with it.
5693 for ac_symprfx in "" "_"; do
5694
5695   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5696   symxfrm="\\1 $ac_symprfx\\2 \\2"
5697
5698   # Write the raw and C identifiers.
5699   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5700     # Fake it for dumpbin and say T for any non-static function
5701     # and D for any global variable.
5702     # Also find C++ and __fastcall symbols from MSVC++,
5703     # which start with @ or ?.
5704     lt_cv_sys_global_symbol_pipe="$AWK '"\
5705 "     {last_section=section; section=\$ 3};"\
5706 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5707 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5708 "     \$ 0!~/External *\|/{next};"\
5709 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5710 "     {if(hide[section]) next};"\
5711 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5712 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5713 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5714 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5715 "     ' prfx=^$ac_symprfx"
5716   else
5717     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5718   fi
5719   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5720
5721   # Check to see that the pipe works correctly.
5722   pipe_works=no
5723
5724   rm -f conftest*
5725   cat > conftest.$ac_ext <<_LT_EOF
5726 #ifdef __cplusplus
5727 extern "C" {
5728 #endif
5729 char nm_test_var;
5730 void nm_test_func(void);
5731 void nm_test_func(void){}
5732 #ifdef __cplusplus
5733 }
5734 #endif
5735 int main(){nm_test_var='a';nm_test_func();return(0);}
5736 _LT_EOF
5737
5738   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5739   (eval $ac_compile) 2>&5
5740   ac_status=$?
5741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5742   test $ac_status = 0; }; then
5743     # Now try to grab the symbols.
5744     nlist=conftest.nm
5745     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5746   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5747   ac_status=$?
5748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5749   test $ac_status = 0; } && test -s "$nlist"; then
5750       # Try sorting and uniquifying the output.
5751       if sort "$nlist" | uniq > "$nlist"T; then
5752         mv -f "$nlist"T "$nlist"
5753       else
5754         rm -f "$nlist"T
5755       fi
5756
5757       # Make sure that we snagged all the symbols we need.
5758       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5759         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5760           cat <<_LT_EOF > conftest.$ac_ext
5761 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5762 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5763 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5764    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5765 # define LT_DLSYM_CONST
5766 #elif defined(__osf__)
5767 /* This system does not cope well with relocations in const data.  */
5768 # define LT_DLSYM_CONST
5769 #else
5770 # define LT_DLSYM_CONST const
5771 #endif
5772
5773 #ifdef __cplusplus
5774 extern "C" {
5775 #endif
5776
5777 _LT_EOF
5778           # Now generate the symbol file.
5779           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5780
5781           cat <<_LT_EOF >> conftest.$ac_ext
5782
5783 /* The mapping between symbol names and symbols.  */
5784 LT_DLSYM_CONST struct {
5785   const char *name;
5786   void       *address;
5787 }
5788 lt__PROGRAM__LTX_preloaded_symbols[] =
5789 {
5790   { "@PROGRAM@", (void *) 0 },
5791 _LT_EOF
5792           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5793           cat <<\_LT_EOF >> conftest.$ac_ext
5794   {0, (void *) 0}
5795 };
5796
5797 /* This works around a problem in FreeBSD linker */
5798 #ifdef FREEBSD_WORKAROUND
5799 static const void *lt_preloaded_setup() {
5800   return lt__PROGRAM__LTX_preloaded_symbols;
5801 }
5802 #endif
5803
5804 #ifdef __cplusplus
5805 }
5806 #endif
5807 _LT_EOF
5808           # Now try linking the two files.
5809           mv conftest.$ac_objext conftstm.$ac_objext
5810           lt_globsym_save_LIBS=$LIBS
5811           lt_globsym_save_CFLAGS=$CFLAGS
5812           LIBS="conftstm.$ac_objext"
5813           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5814           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5815   (eval $ac_link) 2>&5
5816   ac_status=$?
5817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5818   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5819             pipe_works=yes
5820           fi
5821           LIBS=$lt_globsym_save_LIBS
5822           CFLAGS=$lt_globsym_save_CFLAGS
5823         else
5824           echo "cannot find nm_test_func in $nlist" >&5
5825         fi
5826       else
5827         echo "cannot find nm_test_var in $nlist" >&5
5828       fi
5829     else
5830       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5831     fi
5832   else
5833     echo "$progname: failed program was:" >&5
5834     cat conftest.$ac_ext >&5
5835   fi
5836   rm -rf conftest* conftst*
5837
5838   # Do not use the global_symbol_pipe unless it works.
5839   if test "$pipe_works" = yes; then
5840     break
5841   else
5842     lt_cv_sys_global_symbol_pipe=
5843   fi
5844 done
5845
5846 fi
5847
5848 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5849   lt_cv_sys_global_symbol_to_cdecl=
5850 fi
5851 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5853 $as_echo "failed" >&6; }
5854 else
5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5856 $as_echo "ok" >&6; }
5857 fi
5858
5859 # Response file support.
5860 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5861   nm_file_list_spec='@'
5862 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5863   nm_file_list_spec='@'
5864 fi
5865
5866
5867
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5893 $as_echo_n "checking for sysroot... " >&6; }
5894
5895 # Check whether --with-sysroot was given.
5896 if test "${with_sysroot+set}" = set; then :
5897   withval=$with_sysroot;
5898 else
5899   with_sysroot=no
5900 fi
5901
5902
5903 lt_sysroot=
5904 case ${with_sysroot} in #(
5905  yes)
5906    if test "$GCC" = yes; then
5907      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5908    fi
5909    ;; #(
5910  /*)
5911    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5912    ;; #(
5913  no|'')
5914    ;; #(
5915  *)
5916    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5917 $as_echo "${with_sysroot}" >&6; }
5918    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5919    ;;
5920 esac
5921
5922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5923 $as_echo "${lt_sysroot:-no}" >&6; }
5924
5925
5926
5927
5928
5929 # Check whether --enable-libtool-lock was given.
5930 if test "${enable_libtool_lock+set}" = set; then :
5931   enableval=$enable_libtool_lock;
5932 fi
5933
5934 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5935
5936 # Some flags need to be propagated to the compiler or linker for good
5937 # libtool support.
5938 case $host in
5939 ia64-*-hpux*)
5940   # Find out which ABI we are using.
5941   echo 'int i;' > conftest.$ac_ext
5942   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5943   (eval $ac_compile) 2>&5
5944   ac_status=$?
5945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5946   test $ac_status = 0; }; then
5947     case `/usr/bin/file conftest.$ac_objext` in
5948       *ELF-32*)
5949         HPUX_IA64_MODE="32"
5950         ;;
5951       *ELF-64*)
5952         HPUX_IA64_MODE="64"
5953         ;;
5954     esac
5955   fi
5956   rm -rf conftest*
5957   ;;
5958 *-*-irix6*)
5959   # Find out which ABI we are using.
5960   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5961   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5962   (eval $ac_compile) 2>&5
5963   ac_status=$?
5964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5965   test $ac_status = 0; }; then
5966     if test "$lt_cv_prog_gnu_ld" = yes; then
5967       case `/usr/bin/file conftest.$ac_objext` in
5968         *32-bit*)
5969           LD="${LD-ld} -melf32bsmip"
5970           ;;
5971         *N32*)
5972           LD="${LD-ld} -melf32bmipn32"
5973           ;;
5974         *64-bit*)
5975           LD="${LD-ld} -melf64bmip"
5976         ;;
5977       esac
5978     else
5979       case `/usr/bin/file conftest.$ac_objext` in
5980         *32-bit*)
5981           LD="${LD-ld} -32"
5982           ;;
5983         *N32*)
5984           LD="${LD-ld} -n32"
5985           ;;
5986         *64-bit*)
5987           LD="${LD-ld} -64"
5988           ;;
5989       esac
5990     fi
5991   fi
5992   rm -rf conftest*
5993   ;;
5994
5995 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5996 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5997   # Find out which ABI we are using.
5998   echo 'int i;' > conftest.$ac_ext
5999   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6000   (eval $ac_compile) 2>&5
6001   ac_status=$?
6002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6003   test $ac_status = 0; }; then
6004     case `/usr/bin/file conftest.o` in
6005       *32-bit*)
6006         case $host in
6007           x86_64-*kfreebsd*-gnu)
6008             LD="${LD-ld} -m elf_i386_fbsd"
6009             ;;
6010           x86_64-*linux*)
6011             LD="${LD-ld} -m elf_i386"
6012             ;;
6013           ppc64-*linux*|powerpc64-*linux*)
6014             LD="${LD-ld} -m elf32ppclinux"
6015             ;;
6016           s390x-*linux*)
6017             LD="${LD-ld} -m elf_s390"
6018             ;;
6019           sparc64-*linux*)
6020             LD="${LD-ld} -m elf32_sparc"
6021             ;;
6022         esac
6023         ;;
6024       *64-bit*)
6025         case $host in
6026           x86_64-*kfreebsd*-gnu)
6027             LD="${LD-ld} -m elf_x86_64_fbsd"
6028             ;;
6029           x86_64-*linux*)
6030             LD="${LD-ld} -m elf_x86_64"
6031             ;;
6032           ppc*-*linux*|powerpc*-*linux*)
6033             LD="${LD-ld} -m elf64ppc"
6034             ;;
6035           s390*-*linux*|s390*-*tpf*)
6036             LD="${LD-ld} -m elf64_s390"
6037             ;;
6038           sparc*-*linux*)
6039             LD="${LD-ld} -m elf64_sparc"
6040             ;;
6041         esac
6042         ;;
6043     esac
6044   fi
6045   rm -rf conftest*
6046   ;;
6047
6048 *-*-sco3.2v5*)
6049   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6050   SAVE_CFLAGS="$CFLAGS"
6051   CFLAGS="$CFLAGS -belf"
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6053 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6054 if ${lt_cv_cc_needs_belf+:} false; then :
6055   $as_echo_n "(cached) " >&6
6056 else
6057   ac_ext=c
6058 ac_cpp='$CPP $CPPFLAGS'
6059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6062
6063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h.  */
6065
6066 int
6067 main ()
6068 {
6069
6070   ;
6071   return 0;
6072 }
6073 _ACEOF
6074 if ac_fn_c_try_link "$LINENO"; then :
6075   lt_cv_cc_needs_belf=yes
6076 else
6077   lt_cv_cc_needs_belf=no
6078 fi
6079 rm -f core conftest.err conftest.$ac_objext \
6080     conftest$ac_exeext conftest.$ac_ext
6081      ac_ext=c
6082 ac_cpp='$CPP $CPPFLAGS'
6083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6086
6087 fi
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6089 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6090   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6091     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6092     CFLAGS="$SAVE_CFLAGS"
6093   fi
6094   ;;
6095 *-*solaris*)
6096   # Find out which ABI we are using.
6097   echo 'int i;' > conftest.$ac_ext
6098   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6099   (eval $ac_compile) 2>&5
6100   ac_status=$?
6101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102   test $ac_status = 0; }; then
6103     case `/usr/bin/file conftest.o` in
6104     *64-bit*)
6105       case $lt_cv_prog_gnu_ld in
6106       yes*)
6107         case $host in
6108         i?86-*-solaris*)
6109           LD="${LD-ld} -m elf_x86_64"
6110           ;;
6111         sparc*-*-solaris*)
6112           LD="${LD-ld} -m elf64_sparc"
6113           ;;
6114         esac
6115         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6116         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6117           LD="${LD-ld}_sol2"
6118         fi
6119         ;;
6120       *)
6121         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6122           LD="${LD-ld} -64"
6123         fi
6124         ;;
6125       esac
6126       ;;
6127     esac
6128   fi
6129   rm -rf conftest*
6130   ;;
6131 esac
6132
6133 need_locks="$enable_libtool_lock"
6134
6135 if test -n "$ac_tool_prefix"; then
6136   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}mt; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6141   $as_echo_n "(cached) " >&6
6142 else
6143   if test -n "$MANIFEST_TOOL"; then
6144   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6148 do
6149   IFS=$as_save_IFS
6150   test -z "$as_dir" && as_dir=.
6151     for ac_exec_ext in '' $ac_executable_extensions; do
6152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155     break 2
6156   fi
6157 done
6158   done
6159 IFS=$as_save_IFS
6160
6161 fi
6162 fi
6163 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6164 if test -n "$MANIFEST_TOOL"; then
6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6166 $as_echo "$MANIFEST_TOOL" >&6; }
6167 else
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6170 fi
6171
6172
6173 fi
6174 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6175   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6176   # Extract the first word of "mt", so it can be a program name with args.
6177 set dummy mt; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6181   $as_echo_n "(cached) " >&6
6182 else
6183   if test -n "$ac_ct_MANIFEST_TOOL"; then
6184   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6185 else
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 for as_dir in $PATH
6188 do
6189   IFS=$as_save_IFS
6190   test -z "$as_dir" && as_dir=.
6191     for ac_exec_ext in '' $ac_executable_extensions; do
6192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195     break 2
6196   fi
6197 done
6198   done
6199 IFS=$as_save_IFS
6200
6201 fi
6202 fi
6203 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6204 if test -n "$ac_ct_MANIFEST_TOOL"; then
6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6206 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6207 else
6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 $as_echo "no" >&6; }
6210 fi
6211
6212   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6213     MANIFEST_TOOL=":"
6214   else
6215     case $cross_compiling:$ac_tool_warned in
6216 yes:)
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned=yes ;;
6220 esac
6221     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6222   fi
6223 else
6224   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6225 fi
6226
6227 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6229 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6230 if ${lt_cv_path_mainfest_tool+:} false; then :
6231   $as_echo_n "(cached) " >&6
6232 else
6233   lt_cv_path_mainfest_tool=no
6234   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6235   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6236   cat conftest.err >&5
6237   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6238     lt_cv_path_mainfest_tool=yes
6239   fi
6240   rm -f conftest*
6241 fi
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6243 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6244 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6245   MANIFEST_TOOL=:
6246 fi
6247
6248
6249
6250
6251
6252
6253   case $host_os in
6254     rhapsody* | darwin*)
6255     if test -n "$ac_tool_prefix"; then
6256   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6257 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   if test -n "$DSYMUTIL"; then
6264   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6268 do
6269   IFS=$as_save_IFS
6270   test -z "$as_dir" && as_dir=.
6271     for ac_exec_ext in '' $ac_executable_extensions; do
6272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275     break 2
6276   fi
6277 done
6278   done
6279 IFS=$as_save_IFS
6280
6281 fi
6282 fi
6283 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6284 if test -n "$DSYMUTIL"; then
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6286 $as_echo "$DSYMUTIL" >&6; }
6287 else
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6290 fi
6291
6292
6293 fi
6294 if test -z "$ac_cv_prog_DSYMUTIL"; then
6295   ac_ct_DSYMUTIL=$DSYMUTIL
6296   # Extract the first word of "dsymutil", so it can be a program name with args.
6297 set dummy dsymutil; ac_word=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6301   $as_echo_n "(cached) " >&6
6302 else
6303   if test -n "$ac_ct_DSYMUTIL"; then
6304   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6305 else
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 for as_dir in $PATH
6308 do
6309   IFS=$as_save_IFS
6310   test -z "$as_dir" && as_dir=.
6311     for ac_exec_ext in '' $ac_executable_extensions; do
6312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315     break 2
6316   fi
6317 done
6318   done
6319 IFS=$as_save_IFS
6320
6321 fi
6322 fi
6323 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6324 if test -n "$ac_ct_DSYMUTIL"; then
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6326 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6327 else
6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6330 fi
6331
6332   if test "x$ac_ct_DSYMUTIL" = x; then
6333     DSYMUTIL=":"
6334   else
6335     case $cross_compiling:$ac_tool_warned in
6336 yes:)
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6339 ac_tool_warned=yes ;;
6340 esac
6341     DSYMUTIL=$ac_ct_DSYMUTIL
6342   fi
6343 else
6344   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6345 fi
6346
6347     if test -n "$ac_tool_prefix"; then
6348   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6349 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_NMEDIT+:} false; then :
6353   $as_echo_n "(cached) " >&6
6354 else
6355   if test -n "$NMEDIT"; then
6356   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6357 else
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $PATH
6360 do
6361   IFS=$as_save_IFS
6362   test -z "$as_dir" && as_dir=.
6363     for ac_exec_ext in '' $ac_executable_extensions; do
6364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367     break 2
6368   fi
6369 done
6370   done
6371 IFS=$as_save_IFS
6372
6373 fi
6374 fi
6375 NMEDIT=$ac_cv_prog_NMEDIT
6376 if test -n "$NMEDIT"; then
6377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6378 $as_echo "$NMEDIT" >&6; }
6379 else
6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6382 fi
6383
6384
6385 fi
6386 if test -z "$ac_cv_prog_NMEDIT"; then
6387   ac_ct_NMEDIT=$NMEDIT
6388   # Extract the first word of "nmedit", so it can be a program name with args.
6389 set dummy nmedit; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6393   $as_echo_n "(cached) " >&6
6394 else
6395   if test -n "$ac_ct_NMEDIT"; then
6396   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6397 else
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 for as_dir in $PATH
6400 do
6401   IFS=$as_save_IFS
6402   test -z "$as_dir" && as_dir=.
6403     for ac_exec_ext in '' $ac_executable_extensions; do
6404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407     break 2
6408   fi
6409 done
6410   done
6411 IFS=$as_save_IFS
6412
6413 fi
6414 fi
6415 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6416 if test -n "$ac_ct_NMEDIT"; then
6417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6418 $as_echo "$ac_ct_NMEDIT" >&6; }
6419 else
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6422 fi
6423
6424   if test "x$ac_ct_NMEDIT" = x; then
6425     NMEDIT=":"
6426   else
6427     case $cross_compiling:$ac_tool_warned in
6428 yes:)
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431 ac_tool_warned=yes ;;
6432 esac
6433     NMEDIT=$ac_ct_NMEDIT
6434   fi
6435 else
6436   NMEDIT="$ac_cv_prog_NMEDIT"
6437 fi
6438
6439     if test -n "$ac_tool_prefix"; then
6440   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6441 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_LIPO+:} false; then :
6445   $as_echo_n "(cached) " >&6
6446 else
6447   if test -n "$LIPO"; then
6448   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6449 else
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH
6452 do
6453   IFS=$as_save_IFS
6454   test -z "$as_dir" && as_dir=.
6455     for ac_exec_ext in '' $ac_executable_extensions; do
6456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459     break 2
6460   fi
6461 done
6462   done
6463 IFS=$as_save_IFS
6464
6465 fi
6466 fi
6467 LIPO=$ac_cv_prog_LIPO
6468 if test -n "$LIPO"; then
6469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6470 $as_echo "$LIPO" >&6; }
6471 else
6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6474 fi
6475
6476
6477 fi
6478 if test -z "$ac_cv_prog_LIPO"; then
6479   ac_ct_LIPO=$LIPO
6480   # Extract the first word of "lipo", so it can be a program name with args.
6481 set dummy lipo; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6485   $as_echo_n "(cached) " >&6
6486 else
6487   if test -n "$ac_ct_LIPO"; then
6488   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6489 else
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6492 do
6493   IFS=$as_save_IFS
6494   test -z "$as_dir" && as_dir=.
6495     for ac_exec_ext in '' $ac_executable_extensions; do
6496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497     ac_cv_prog_ac_ct_LIPO="lipo"
6498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499     break 2
6500   fi
6501 done
6502   done
6503 IFS=$as_save_IFS
6504
6505 fi
6506 fi
6507 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6508 if test -n "$ac_ct_LIPO"; then
6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6510 $as_echo "$ac_ct_LIPO" >&6; }
6511 else
6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6514 fi
6515
6516   if test "x$ac_ct_LIPO" = x; then
6517     LIPO=":"
6518   else
6519     case $cross_compiling:$ac_tool_warned in
6520 yes:)
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523 ac_tool_warned=yes ;;
6524 esac
6525     LIPO=$ac_ct_LIPO
6526   fi
6527 else
6528   LIPO="$ac_cv_prog_LIPO"
6529 fi
6530
6531     if test -n "$ac_tool_prefix"; then
6532   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}otool; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_OTOOL+:} false; then :
6537   $as_echo_n "(cached) " >&6
6538 else
6539   if test -n "$OTOOL"; then
6540   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6544 do
6545   IFS=$as_save_IFS
6546   test -z "$as_dir" && as_dir=.
6547     for ac_exec_ext in '' $ac_executable_extensions; do
6548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551     break 2
6552   fi
6553 done
6554   done
6555 IFS=$as_save_IFS
6556
6557 fi
6558 fi
6559 OTOOL=$ac_cv_prog_OTOOL
6560 if test -n "$OTOOL"; then
6561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6562 $as_echo "$OTOOL" >&6; }
6563 else
6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6566 fi
6567
6568
6569 fi
6570 if test -z "$ac_cv_prog_OTOOL"; then
6571   ac_ct_OTOOL=$OTOOL
6572   # Extract the first word of "otool", so it can be a program name with args.
6573 set dummy otool; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6577   $as_echo_n "(cached) " >&6
6578 else
6579   if test -n "$ac_ct_OTOOL"; then
6580   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6581 else
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 for as_dir in $PATH
6584 do
6585   IFS=$as_save_IFS
6586   test -z "$as_dir" && as_dir=.
6587     for ac_exec_ext in '' $ac_executable_extensions; do
6588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589     ac_cv_prog_ac_ct_OTOOL="otool"
6590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6591     break 2
6592   fi
6593 done
6594   done
6595 IFS=$as_save_IFS
6596
6597 fi
6598 fi
6599 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6600 if test -n "$ac_ct_OTOOL"; then
6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6602 $as_echo "$ac_ct_OTOOL" >&6; }
6603 else
6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6606 fi
6607
6608   if test "x$ac_ct_OTOOL" = x; then
6609     OTOOL=":"
6610   else
6611     case $cross_compiling:$ac_tool_warned in
6612 yes:)
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6615 ac_tool_warned=yes ;;
6616 esac
6617     OTOOL=$ac_ct_OTOOL
6618   fi
6619 else
6620   OTOOL="$ac_cv_prog_OTOOL"
6621 fi
6622
6623     if test -n "$ac_tool_prefix"; then
6624   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if ${ac_cv_prog_OTOOL64+:} false; then :
6629   $as_echo_n "(cached) " >&6
6630 else
6631   if test -n "$OTOOL64"; then
6632   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6636 do
6637   IFS=$as_save_IFS
6638   test -z "$as_dir" && as_dir=.
6639     for ac_exec_ext in '' $ac_executable_extensions; do
6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643     break 2
6644   fi
6645 done
6646   done
6647 IFS=$as_save_IFS
6648
6649 fi
6650 fi
6651 OTOOL64=$ac_cv_prog_OTOOL64
6652 if test -n "$OTOOL64"; then
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6654 $as_echo "$OTOOL64" >&6; }
6655 else
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 fi
6659
6660
6661 fi
6662 if test -z "$ac_cv_prog_OTOOL64"; then
6663   ac_ct_OTOOL64=$OTOOL64
6664   # Extract the first word of "otool64", so it can be a program name with args.
6665 set dummy otool64; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6669   $as_echo_n "(cached) " >&6
6670 else
6671   if test -n "$ac_ct_OTOOL64"; then
6672   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6676 do
6677   IFS=$as_save_IFS
6678   test -z "$as_dir" && as_dir=.
6679     for ac_exec_ext in '' $ac_executable_extensions; do
6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681     ac_cv_prog_ac_ct_OTOOL64="otool64"
6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683     break 2
6684   fi
6685 done
6686   done
6687 IFS=$as_save_IFS
6688
6689 fi
6690 fi
6691 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6692 if test -n "$ac_ct_OTOOL64"; then
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6694 $as_echo "$ac_ct_OTOOL64" >&6; }
6695 else
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6698 fi
6699
6700   if test "x$ac_ct_OTOOL64" = x; then
6701     OTOOL64=":"
6702   else
6703     case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709     OTOOL64=$ac_ct_OTOOL64
6710   fi
6711 else
6712   OTOOL64="$ac_cv_prog_OTOOL64"
6713 fi
6714
6715
6716
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6742 $as_echo_n "checking for -single_module linker flag... " >&6; }
6743 if ${lt_cv_apple_cc_single_mod+:} false; then :
6744   $as_echo_n "(cached) " >&6
6745 else
6746   lt_cv_apple_cc_single_mod=no
6747       if test -z "${LT_MULTI_MODULE}"; then
6748         # By default we will add the -single_module flag. You can override
6749         # by either setting the environment variable LT_MULTI_MODULE
6750         # non-empty at configure time, or by adding -multi_module to the
6751         # link flags.
6752         rm -rf libconftest.dylib*
6753         echo "int foo(void){return 1;}" > conftest.c
6754         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6755 -dynamiclib -Wl,-single_module conftest.c" >&5
6756         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6757           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6758         _lt_result=$?
6759         # If there is a non-empty error log, and "single_module"
6760         # appears in it, assume the flag caused a linker warning
6761         if test -s conftest.err && $GREP single_module conftest.err; then
6762           cat conftest.err >&5
6763         # Otherwise, if the output was created with a 0 exit code from
6764         # the compiler, it worked.
6765         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6766           lt_cv_apple_cc_single_mod=yes
6767         else
6768           cat conftest.err >&5
6769         fi
6770         rm -rf libconftest.dylib*
6771         rm -f conftest.*
6772       fi
6773 fi
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6775 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6776
6777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6778 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6779 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6780   $as_echo_n "(cached) " >&6
6781 else
6782   lt_cv_ld_exported_symbols_list=no
6783       save_LDFLAGS=$LDFLAGS
6784       echo "_main" > conftest.sym
6785       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h.  */
6788
6789 int
6790 main ()
6791 {
6792
6793   ;
6794   return 0;
6795 }
6796 _ACEOF
6797 if ac_fn_c_try_link "$LINENO"; then :
6798   lt_cv_ld_exported_symbols_list=yes
6799 else
6800   lt_cv_ld_exported_symbols_list=no
6801 fi
6802 rm -f core conftest.err conftest.$ac_objext \
6803     conftest$ac_exeext conftest.$ac_ext
6804         LDFLAGS="$save_LDFLAGS"
6805
6806 fi
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6808 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6809
6810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6811 $as_echo_n "checking for -force_load linker flag... " >&6; }
6812 if ${lt_cv_ld_force_load+:} false; then :
6813   $as_echo_n "(cached) " >&6
6814 else
6815   lt_cv_ld_force_load=no
6816       cat > conftest.c << _LT_EOF
6817 int forced_loaded() { return 2;}
6818 _LT_EOF
6819       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6820       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6821       echo "$AR cru libconftest.a conftest.o" >&5
6822       $AR cru libconftest.a conftest.o 2>&5
6823       echo "$RANLIB libconftest.a" >&5
6824       $RANLIB libconftest.a 2>&5
6825       cat > conftest.c << _LT_EOF
6826 int main() { return 0;}
6827 _LT_EOF
6828       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6829       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6830       _lt_result=$?
6831       if test -s conftest.err && $GREP force_load conftest.err; then
6832         cat conftest.err >&5
6833       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6834         lt_cv_ld_force_load=yes
6835       else
6836         cat conftest.err >&5
6837       fi
6838         rm -f conftest.err libconftest.a conftest conftest.c
6839         rm -rf conftest.dSYM
6840
6841 fi
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6843 $as_echo "$lt_cv_ld_force_load" >&6; }
6844     case $host_os in
6845     rhapsody* | darwin1.[012])
6846       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6847     darwin1.*)
6848       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6849     darwin*) # darwin 5.x on
6850       # if running on 10.5 or later, the deployment target defaults
6851       # to the OS version, if on x86, and 10.4, the deployment
6852       # target defaults to 10.4. Don't you love it?
6853       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6854         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6855           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6856         10.[012]*)
6857           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6858         10.*)
6859           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6860       esac
6861     ;;
6862   esac
6863     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6864       _lt_dar_single_mod='$single_module'
6865     fi
6866     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6867       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6868     else
6869       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6870     fi
6871     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6872       _lt_dsymutil='~$DSYMUTIL $lib || :'
6873     else
6874       _lt_dsymutil=
6875     fi
6876     ;;
6877   esac
6878
6879 ac_ext=c
6880 ac_cpp='$CPP $CPPFLAGS'
6881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6885 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6886 # On Suns, sometimes $CPP names a directory.
6887 if test -n "$CPP" && test -d "$CPP"; then
6888   CPP=
6889 fi
6890 if test -z "$CPP"; then
6891   if ${ac_cv_prog_CPP+:} false; then :
6892   $as_echo_n "(cached) " >&6
6893 else
6894       # Double quotes because CPP needs to be expanded
6895     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6896     do
6897       ac_preproc_ok=false
6898 for ac_c_preproc_warn_flag in '' yes
6899 do
6900   # Use a header file that comes with gcc, so configuring glibc
6901   # with a fresh cross-compiler works.
6902   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6903   # <limits.h> exists even on freestanding compilers.
6904   # On the NeXT, cc -E runs the code through the compiler's parser,
6905   # not just through cpp. "Syntax error" is here to catch this case.
6906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h.  */
6908 #ifdef __STDC__
6909 # include <limits.h>
6910 #else
6911 # include <assert.h>
6912 #endif
6913                      Syntax error
6914 _ACEOF
6915 if ac_fn_c_try_cpp "$LINENO"; then :
6916
6917 else
6918   # Broken: fails on valid input.
6919 continue
6920 fi
6921 rm -f conftest.err conftest.i conftest.$ac_ext
6922
6923   # OK, works on sane cases.  Now check whether nonexistent headers
6924   # can be detected and how.
6925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h.  */
6927 #include <ac_nonexistent.h>
6928 _ACEOF
6929 if ac_fn_c_try_cpp "$LINENO"; then :
6930   # Broken: success on invalid input.
6931 continue
6932 else
6933   # Passes both tests.
6934 ac_preproc_ok=:
6935 break
6936 fi
6937 rm -f conftest.err conftest.i conftest.$ac_ext
6938
6939 done
6940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6941 rm -f conftest.i conftest.err conftest.$ac_ext
6942 if $ac_preproc_ok; then :
6943   break
6944 fi
6945
6946     done
6947     ac_cv_prog_CPP=$CPP
6948
6949 fi
6950   CPP=$ac_cv_prog_CPP
6951 else
6952   ac_cv_prog_CPP=$CPP
6953 fi
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6955 $as_echo "$CPP" >&6; }
6956 ac_preproc_ok=false
6957 for ac_c_preproc_warn_flag in '' yes
6958 do
6959   # Use a header file that comes with gcc, so configuring glibc
6960   # with a fresh cross-compiler works.
6961   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6962   # <limits.h> exists even on freestanding compilers.
6963   # On the NeXT, cc -E runs the code through the compiler's parser,
6964   # not just through cpp. "Syntax error" is here to catch this case.
6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6966 /* end confdefs.h.  */
6967 #ifdef __STDC__
6968 # include <limits.h>
6969 #else
6970 # include <assert.h>
6971 #endif
6972                      Syntax error
6973 _ACEOF
6974 if ac_fn_c_try_cpp "$LINENO"; then :
6975
6976 else
6977   # Broken: fails on valid input.
6978 continue
6979 fi
6980 rm -f conftest.err conftest.i conftest.$ac_ext
6981
6982   # OK, works on sane cases.  Now check whether nonexistent headers
6983   # can be detected and how.
6984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h.  */
6986 #include <ac_nonexistent.h>
6987 _ACEOF
6988 if ac_fn_c_try_cpp "$LINENO"; then :
6989   # Broken: success on invalid input.
6990 continue
6991 else
6992   # Passes both tests.
6993 ac_preproc_ok=:
6994 break
6995 fi
6996 rm -f conftest.err conftest.i conftest.$ac_ext
6997
6998 done
6999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7000 rm -f conftest.i conftest.err conftest.$ac_ext
7001 if $ac_preproc_ok; then :
7002
7003 else
7004   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7006 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7007 See \`config.log' for more details" "$LINENO" 5; }
7008 fi
7009
7010 ac_ext=c
7011 ac_cpp='$CPP $CPPFLAGS'
7012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7015
7016
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7018 $as_echo_n "checking for ANSI C header files... " >&6; }
7019 if ${ac_cv_header_stdc+:} false; then :
7020   $as_echo_n "(cached) " >&6
7021 else
7022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h.  */
7024 #include <stdlib.h>
7025 #include <stdarg.h>
7026 #include <string.h>
7027 #include <float.h>
7028
7029 int
7030 main ()
7031 {
7032
7033   ;
7034   return 0;
7035 }
7036 _ACEOF
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038   ac_cv_header_stdc=yes
7039 else
7040   ac_cv_header_stdc=no
7041 fi
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043
7044 if test $ac_cv_header_stdc = yes; then
7045   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h.  */
7048 #include <string.h>
7049
7050 _ACEOF
7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7052   $EGREP "memchr" >/dev/null 2>&1; then :
7053
7054 else
7055   ac_cv_header_stdc=no
7056 fi
7057 rm -f conftest*
7058
7059 fi
7060
7061 if test $ac_cv_header_stdc = yes; then
7062   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h.  */
7065 #include <stdlib.h>
7066
7067 _ACEOF
7068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7069   $EGREP "free" >/dev/null 2>&1; then :
7070
7071 else
7072   ac_cv_header_stdc=no
7073 fi
7074 rm -f conftest*
7075
7076 fi
7077
7078 if test $ac_cv_header_stdc = yes; then
7079   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7080   if test "$cross_compiling" = yes; then :
7081   :
7082 else
7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h.  */
7085 #include <ctype.h>
7086 #include <stdlib.h>
7087 #if ((' ' & 0x0FF) == 0x020)
7088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7090 #else
7091 # define ISLOWER(c) \
7092                    (('a' <= (c) && (c) <= 'i') \
7093                      || ('j' <= (c) && (c) <= 'r') \
7094                      || ('s' <= (c) && (c) <= 'z'))
7095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7096 #endif
7097
7098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7099 int
7100 main ()
7101 {
7102   int i;
7103   for (i = 0; i < 256; i++)
7104     if (XOR (islower (i), ISLOWER (i))
7105         || toupper (i) != TOUPPER (i))
7106       return 2;
7107   return 0;
7108 }
7109 _ACEOF
7110 if ac_fn_c_try_run "$LINENO"; then :
7111
7112 else
7113   ac_cv_header_stdc=no
7114 fi
7115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7116   conftest.$ac_objext conftest.beam conftest.$ac_ext
7117 fi
7118
7119 fi
7120 fi
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7122 $as_echo "$ac_cv_header_stdc" >&6; }
7123 if test $ac_cv_header_stdc = yes; then
7124
7125 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7126
7127 fi
7128
7129 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7130 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7131                   inttypes.h stdint.h unistd.h
7132 do :
7133   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7135 "
7136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137   cat >>confdefs.h <<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139 _ACEOF
7140
7141 fi
7142
7143 done
7144
7145
7146 for ac_header in dlfcn.h
7147 do :
7148   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7149 "
7150 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7151   cat >>confdefs.h <<_ACEOF
7152 #define HAVE_DLFCN_H 1
7153 _ACEOF
7154
7155 fi
7156
7157 done
7158
7159
7160
7161
7162
7163 # Set options
7164 enable_win32_dll=yes
7165
7166 case $host in
7167 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7168   if test -n "$ac_tool_prefix"; then
7169   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7170 set dummy ${ac_tool_prefix}as; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_AS+:} false; then :
7174   $as_echo_n "(cached) " >&6
7175 else
7176   if test -n "$AS"; then
7177   ac_cv_prog_AS="$AS" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7181 do
7182   IFS=$as_save_IFS
7183   test -z "$as_dir" && as_dir=.
7184     for ac_exec_ext in '' $ac_executable_extensions; do
7185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186     ac_cv_prog_AS="${ac_tool_prefix}as"
7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188     break 2
7189   fi
7190 done
7191   done
7192 IFS=$as_save_IFS
7193
7194 fi
7195 fi
7196 AS=$ac_cv_prog_AS
7197 if test -n "$AS"; then
7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7199 $as_echo "$AS" >&6; }
7200 else
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7203 fi
7204
7205
7206 fi
7207 if test -z "$ac_cv_prog_AS"; then
7208   ac_ct_AS=$AS
7209   # Extract the first word of "as", so it can be a program name with args.
7210 set dummy as; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7214   $as_echo_n "(cached) " >&6
7215 else
7216   if test -n "$ac_ct_AS"; then
7217   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7218 else
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7220 for as_dir in $PATH
7221 do
7222   IFS=$as_save_IFS
7223   test -z "$as_dir" && as_dir=.
7224     for ac_exec_ext in '' $ac_executable_extensions; do
7225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226     ac_cv_prog_ac_ct_AS="as"
7227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228     break 2
7229   fi
7230 done
7231   done
7232 IFS=$as_save_IFS
7233
7234 fi
7235 fi
7236 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7237 if test -n "$ac_ct_AS"; then
7238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7239 $as_echo "$ac_ct_AS" >&6; }
7240 else
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7243 fi
7244
7245   if test "x$ac_ct_AS" = x; then
7246     AS="false"
7247   else
7248     case $cross_compiling:$ac_tool_warned in
7249 yes:)
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7252 ac_tool_warned=yes ;;
7253 esac
7254     AS=$ac_ct_AS
7255   fi
7256 else
7257   AS="$ac_cv_prog_AS"
7258 fi
7259
7260   if test -n "$ac_tool_prefix"; then
7261   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7262 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_DLLTOOL+:} false; then :
7266   $as_echo_n "(cached) " >&6
7267 else
7268   if test -n "$DLLTOOL"; then
7269   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7273 do
7274   IFS=$as_save_IFS
7275   test -z "$as_dir" && as_dir=.
7276     for ac_exec_ext in '' $ac_executable_extensions; do
7277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7278     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280     break 2
7281   fi
7282 done
7283   done
7284 IFS=$as_save_IFS
7285
7286 fi
7287 fi
7288 DLLTOOL=$ac_cv_prog_DLLTOOL
7289 if test -n "$DLLTOOL"; then
7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7291 $as_echo "$DLLTOOL" >&6; }
7292 else
7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7295 fi
7296
7297
7298 fi
7299 if test -z "$ac_cv_prog_DLLTOOL"; then
7300   ac_ct_DLLTOOL=$DLLTOOL
7301   # Extract the first word of "dlltool", so it can be a program name with args.
7302 set dummy dlltool; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7306   $as_echo_n "(cached) " >&6
7307 else
7308   if test -n "$ac_ct_DLLTOOL"; then
7309   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7313 do
7314   IFS=$as_save_IFS
7315   test -z "$as_dir" && as_dir=.
7316     for ac_exec_ext in '' $ac_executable_extensions; do
7317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320     break 2
7321   fi
7322 done
7323   done
7324 IFS=$as_save_IFS
7325
7326 fi
7327 fi
7328 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7329 if test -n "$ac_ct_DLLTOOL"; then
7330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7331 $as_echo "$ac_ct_DLLTOOL" >&6; }
7332 else
7333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7335 fi
7336
7337   if test "x$ac_ct_DLLTOOL" = x; then
7338     DLLTOOL="false"
7339   else
7340     case $cross_compiling:$ac_tool_warned in
7341 yes:)
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7344 ac_tool_warned=yes ;;
7345 esac
7346     DLLTOOL=$ac_ct_DLLTOOL
7347   fi
7348 else
7349   DLLTOOL="$ac_cv_prog_DLLTOOL"
7350 fi
7351
7352   if test -n "$ac_tool_prefix"; then
7353   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_OBJDUMP+:} false; then :
7358   $as_echo_n "(cached) " >&6
7359 else
7360   if test -n "$OBJDUMP"; then
7361   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7365 do
7366   IFS=$as_save_IFS
7367   test -z "$as_dir" && as_dir=.
7368     for ac_exec_ext in '' $ac_executable_extensions; do
7369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372     break 2
7373   fi
7374 done
7375   done
7376 IFS=$as_save_IFS
7377
7378 fi
7379 fi
7380 OBJDUMP=$ac_cv_prog_OBJDUMP
7381 if test -n "$OBJDUMP"; then
7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7383 $as_echo "$OBJDUMP" >&6; }
7384 else
7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7387 fi
7388
7389
7390 fi
7391 if test -z "$ac_cv_prog_OBJDUMP"; then
7392   ac_ct_OBJDUMP=$OBJDUMP
7393   # Extract the first word of "objdump", so it can be a program name with args.
7394 set dummy objdump; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7398   $as_echo_n "(cached) " >&6
7399 else
7400   if test -n "$ac_ct_OBJDUMP"; then
7401   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7405 do
7406   IFS=$as_save_IFS
7407   test -z "$as_dir" && as_dir=.
7408     for ac_exec_ext in '' $ac_executable_extensions; do
7409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412     break 2
7413   fi
7414 done
7415   done
7416 IFS=$as_save_IFS
7417
7418 fi
7419 fi
7420 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7421 if test -n "$ac_ct_OBJDUMP"; then
7422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7423 $as_echo "$ac_ct_OBJDUMP" >&6; }
7424 else
7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7427 fi
7428
7429   if test "x$ac_ct_OBJDUMP" = x; then
7430     OBJDUMP="false"
7431   else
7432     case $cross_compiling:$ac_tool_warned in
7433 yes:)
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned=yes ;;
7437 esac
7438     OBJDUMP=$ac_ct_OBJDUMP
7439   fi
7440 else
7441   OBJDUMP="$ac_cv_prog_OBJDUMP"
7442 fi
7443
7444   ;;
7445 esac
7446
7447 test -z "$AS" && AS=as
7448
7449
7450
7451
7452
7453 test -z "$DLLTOOL" && DLLTOOL=dlltool
7454
7455
7456
7457
7458
7459 test -z "$OBJDUMP" && OBJDUMP=objdump
7460
7461
7462
7463
7464
7465
7466
7467         enable_dlopen=no
7468
7469
7470
7471             # Check whether --enable-shared was given.
7472 if test "${enable_shared+set}" = set; then :
7473   enableval=$enable_shared; p=${PACKAGE-default}
7474     case $enableval in
7475     yes) enable_shared=yes ;;
7476     no) enable_shared=no ;;
7477     *)
7478       enable_shared=no
7479       # Look at the argument we got.  We use all the common list separators.
7480       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7481       for pkg in $enableval; do
7482         IFS="$lt_save_ifs"
7483         if test "X$pkg" = "X$p"; then
7484           enable_shared=yes
7485         fi
7486       done
7487       IFS="$lt_save_ifs"
7488       ;;
7489     esac
7490 else
7491   enable_shared=yes
7492 fi
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502   # Check whether --enable-static was given.
7503 if test "${enable_static+set}" = set; then :
7504   enableval=$enable_static; p=${PACKAGE-default}
7505     case $enableval in
7506     yes) enable_static=yes ;;
7507     no) enable_static=no ;;
7508     *)
7509      enable_static=no
7510       # Look at the argument we got.  We use all the common list separators.
7511       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7512       for pkg in $enableval; do
7513         IFS="$lt_save_ifs"
7514         if test "X$pkg" = "X$p"; then
7515           enable_static=yes
7516         fi
7517       done
7518       IFS="$lt_save_ifs"
7519       ;;
7520     esac
7521 else
7522   enable_static=yes
7523 fi
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534 # Check whether --with-pic was given.
7535 if test "${with_pic+set}" = set; then :
7536   withval=$with_pic; lt_p=${PACKAGE-default}
7537     case $withval in
7538     yes|no) pic_mode=$withval ;;
7539     *)
7540       pic_mode=default
7541       # Look at the argument we got.  We use all the common list separators.
7542       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7543       for lt_pkg in $withval; do
7544         IFS="$lt_save_ifs"
7545         if test "X$lt_pkg" = "X$lt_p"; then
7546           pic_mode=yes
7547         fi
7548       done
7549       IFS="$lt_save_ifs"
7550       ;;
7551     esac
7552 else
7553   pic_mode=default
7554 fi
7555
7556
7557 test -z "$pic_mode" && pic_mode=default
7558
7559
7560
7561
7562
7563
7564
7565   # Check whether --enable-fast-install was given.
7566 if test "${enable_fast_install+set}" = set; then :
7567   enableval=$enable_fast_install; p=${PACKAGE-default}
7568     case $enableval in
7569     yes) enable_fast_install=yes ;;
7570     no) enable_fast_install=no ;;
7571     *)
7572       enable_fast_install=no
7573       # Look at the argument we got.  We use all the common list separators.
7574       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7575       for pkg in $enableval; do
7576         IFS="$lt_save_ifs"
7577         if test "X$pkg" = "X$p"; then
7578           enable_fast_install=yes
7579         fi
7580       done
7581       IFS="$lt_save_ifs"
7582       ;;
7583     esac
7584 else
7585   enable_fast_install=yes
7586 fi
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598 # This can be used to rebuild libtool when needed
7599 LIBTOOL_DEPS="$ltmain"
7600
7601 # Always use our own libtool.
7602 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7603
7604
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 test -z "$LN_S" && LN_S="ln -s"
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648 if test -n "${ZSH_VERSION+set}" ; then
7649    setopt NO_GLOB_SUBST
7650 fi
7651
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7653 $as_echo_n "checking for objdir... " >&6; }
7654 if ${lt_cv_objdir+:} false; then :
7655   $as_echo_n "(cached) " >&6
7656 else
7657   rm -f .libs 2>/dev/null
7658 mkdir .libs 2>/dev/null
7659 if test -d .libs; then
7660   lt_cv_objdir=.libs
7661 else
7662   # MS-DOS does not allow filenames that begin with a dot.
7663   lt_cv_objdir=_libs
7664 fi
7665 rmdir .libs 2>/dev/null
7666 fi
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7668 $as_echo "$lt_cv_objdir" >&6; }
7669 objdir=$lt_cv_objdir
7670
7671
7672
7673
7674
7675 cat >>confdefs.h <<_ACEOF
7676 #define LT_OBJDIR "$lt_cv_objdir/"
7677 _ACEOF
7678
7679
7680
7681
7682 case $host_os in
7683 aix3*)
7684   # AIX sometimes has problems with the GCC collect2 program.  For some
7685   # reason, if we set the COLLECT_NAMES environment variable, the problems
7686   # vanish in a puff of smoke.
7687   if test "X${COLLECT_NAMES+set}" != Xset; then
7688     COLLECT_NAMES=
7689     export COLLECT_NAMES
7690   fi
7691   ;;
7692 esac
7693
7694 # Global variables:
7695 ofile=libtool
7696 can_build_shared=yes
7697
7698 # All known linkers require a `.a' archive for static linking (except MSVC,
7699 # which needs '.lib').
7700 libext=a
7701
7702 with_gnu_ld="$lt_cv_prog_gnu_ld"
7703
7704 old_CC="$CC"
7705 old_CFLAGS="$CFLAGS"
7706
7707 # Set sane defaults for various variables
7708 test -z "$CC" && CC=cc
7709 test -z "$LTCC" && LTCC=$CC
7710 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7711 test -z "$LD" && LD=ld
7712 test -z "$ac_objext" && ac_objext=o
7713
7714 for cc_temp in $compiler""; do
7715   case $cc_temp in
7716     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7717     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7718     \-*) ;;
7719     *) break;;
7720   esac
7721 done
7722 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7723
7724
7725 # Only perform the check for file, if the check method requires it
7726 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7727 case $deplibs_check_method in
7728 file_magic*)
7729   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7730     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7731 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7732 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7733   $as_echo_n "(cached) " >&6
7734 else
7735   case $MAGIC_CMD in
7736 [\\/*] |  ?:[\\/]*)
7737   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7738   ;;
7739 *)
7740   lt_save_MAGIC_CMD="$MAGIC_CMD"
7741   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7742   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7743   for ac_dir in $ac_dummy; do
7744     IFS="$lt_save_ifs"
7745     test -z "$ac_dir" && ac_dir=.
7746     if test -f $ac_dir/${ac_tool_prefix}file; then
7747       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7748       if test -n "$file_magic_test_file"; then
7749         case $deplibs_check_method in
7750         "file_magic "*)
7751           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7752           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7753           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7754             $EGREP "$file_magic_regex" > /dev/null; then
7755             :
7756           else
7757             cat <<_LT_EOF 1>&2
7758
7759 *** Warning: the command libtool uses to detect shared libraries,
7760 *** $file_magic_cmd, produces output that libtool cannot recognize.
7761 *** The result is that libtool may fail to recognize shared libraries
7762 *** as such.  This will affect the creation of libtool libraries that
7763 *** depend on shared libraries, but programs linked with such libtool
7764 *** libraries will work regardless of this problem.  Nevertheless, you
7765 *** may want to report the problem to your system manager and/or to
7766 *** bug-libtool@gnu.org
7767
7768 _LT_EOF
7769           fi ;;
7770         esac
7771       fi
7772       break
7773     fi
7774   done
7775   IFS="$lt_save_ifs"
7776   MAGIC_CMD="$lt_save_MAGIC_CMD"
7777   ;;
7778 esac
7779 fi
7780
7781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7782 if test -n "$MAGIC_CMD"; then
7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7784 $as_echo "$MAGIC_CMD" >&6; }
7785 else
7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7788 fi
7789
7790
7791
7792
7793
7794 if test -z "$lt_cv_path_MAGIC_CMD"; then
7795   if test -n "$ac_tool_prefix"; then
7796     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7797 $as_echo_n "checking for file... " >&6; }
7798 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7799   $as_echo_n "(cached) " >&6
7800 else
7801   case $MAGIC_CMD in
7802 [\\/*] |  ?:[\\/]*)
7803   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7804   ;;
7805 *)
7806   lt_save_MAGIC_CMD="$MAGIC_CMD"
7807   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7808   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7809   for ac_dir in $ac_dummy; do
7810     IFS="$lt_save_ifs"
7811     test -z "$ac_dir" && ac_dir=.
7812     if test -f $ac_dir/file; then
7813       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7814       if test -n "$file_magic_test_file"; then
7815         case $deplibs_check_method in
7816         "file_magic "*)
7817           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7818           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7819           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7820             $EGREP "$file_magic_regex" > /dev/null; then
7821             :
7822           else
7823             cat <<_LT_EOF 1>&2
7824
7825 *** Warning: the command libtool uses to detect shared libraries,
7826 *** $file_magic_cmd, produces output that libtool cannot recognize.
7827 *** The result is that libtool may fail to recognize shared libraries
7828 *** as such.  This will affect the creation of libtool libraries that
7829 *** depend on shared libraries, but programs linked with such libtool
7830 *** libraries will work regardless of this problem.  Nevertheless, you
7831 *** may want to report the problem to your system manager and/or to
7832 *** bug-libtool@gnu.org
7833
7834 _LT_EOF
7835           fi ;;
7836         esac
7837       fi
7838       break
7839     fi
7840   done
7841   IFS="$lt_save_ifs"
7842   MAGIC_CMD="$lt_save_MAGIC_CMD"
7843   ;;
7844 esac
7845 fi
7846
7847 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7848 if test -n "$MAGIC_CMD"; then
7849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7850 $as_echo "$MAGIC_CMD" >&6; }
7851 else
7852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7854 fi
7855
7856
7857   else
7858     MAGIC_CMD=:
7859   fi
7860 fi
7861
7862   fi
7863   ;;
7864 esac
7865
7866 # Use C for the default configuration in the libtool script
7867
7868 lt_save_CC="$CC"
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7874
7875
7876 # Source file extension for C test sources.
7877 ac_ext=c
7878
7879 # Object file extension for compiled C test sources.
7880 objext=o
7881 objext=$objext
7882
7883 # Code to be used in simple compile tests
7884 lt_simple_compile_test_code="int some_variable = 0;"
7885
7886 # Code to be used in simple link tests
7887 lt_simple_link_test_code='int main(){return(0);}'
7888
7889
7890
7891
7892
7893
7894
7895 # If no C compiler was specified, use CC.
7896 LTCC=${LTCC-"$CC"}
7897
7898 # If no C compiler flags were specified, use CFLAGS.
7899 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7900
7901 # Allow CC to be a program name with arguments.
7902 compiler=$CC
7903
7904 # Save the default compiler, since it gets overwritten when the other
7905 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7906 compiler_DEFAULT=$CC
7907
7908 # save warnings/boilerplate of simple test code
7909 ac_outfile=conftest.$ac_objext
7910 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7911 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7912 _lt_compiler_boilerplate=`cat conftest.err`
7913 $RM conftest*
7914
7915 ac_outfile=conftest.$ac_objext
7916 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7917 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7918 _lt_linker_boilerplate=`cat conftest.err`
7919 $RM -r conftest*
7920
7921
7922 ## CAVEAT EMPTOR:
7923 ## There is no encapsulation within the following macros, do not change
7924 ## the running order or otherwise move them around unless you know exactly
7925 ## what you are doing...
7926 if test -n "$compiler"; then
7927
7928 lt_prog_compiler_no_builtin_flag=
7929
7930 if test "$GCC" = yes; then
7931   case $cc_basename in
7932   nvcc*)
7933     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7934   *)
7935     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7936   esac
7937
7938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7939 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7940 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7941   $as_echo_n "(cached) " >&6
7942 else
7943   lt_cv_prog_compiler_rtti_exceptions=no
7944    ac_outfile=conftest.$ac_objext
7945    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7946    lt_compiler_flag="-fno-rtti -fno-exceptions"
7947    # Insert the option either (1) after the last *FLAGS variable, or
7948    # (2) before a word containing "conftest.", or (3) at the end.
7949    # Note that $ac_compile itself does not contain backslashes and begins
7950    # with a dollar sign (not a hyphen), so the echo should work correctly.
7951    # The option is referenced via a variable to avoid confusing sed.
7952    lt_compile=`echo "$ac_compile" | $SED \
7953    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7954    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7955    -e 's:$: $lt_compiler_flag:'`
7956    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7957    (eval "$lt_compile" 2>conftest.err)
7958    ac_status=$?
7959    cat conftest.err >&5
7960    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961    if (exit $ac_status) && test -s "$ac_outfile"; then
7962      # The compiler can only warn and ignore the option if not recognized
7963      # So say no if there are warnings other than the usual output.
7964      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7965      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7966      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7967        lt_cv_prog_compiler_rtti_exceptions=yes
7968      fi
7969    fi
7970    $RM conftest*
7971
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7974 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7975
7976 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7977     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7978 else
7979     :
7980 fi
7981
7982 fi
7983
7984
7985
7986
7987
7988
7989   lt_prog_compiler_wl=
7990 lt_prog_compiler_pic=
7991 lt_prog_compiler_static=
7992
7993
7994   if test "$GCC" = yes; then
7995     lt_prog_compiler_wl='-Wl,'
7996     lt_prog_compiler_static='-static'
7997
7998     case $host_os in
7999       aix*)
8000       # All AIX code is PIC.
8001       if test "$host_cpu" = ia64; then
8002         # AIX 5 now supports IA64 processor
8003         lt_prog_compiler_static='-Bstatic'
8004       fi
8005       ;;
8006
8007     amigaos*)
8008       case $host_cpu in
8009       powerpc)
8010             # see comment about AmigaOS4 .so support
8011             lt_prog_compiler_pic='-fPIC'
8012         ;;
8013       m68k)
8014             # FIXME: we need at least 68020 code to build shared libraries, but
8015             # adding the `-m68020' flag to GCC prevents building anything better,
8016             # like `-m68040'.
8017             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8018         ;;
8019       esac
8020       ;;
8021
8022     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8023       # PIC is the default for these OSes.
8024       ;;
8025
8026     mingw* | cygwin* | pw32* | os2* | cegcc*)
8027       # This hack is so that the source file can tell whether it is being
8028       # built for inclusion in a dll (and should export symbols for example).
8029       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8030       # (--disable-auto-import) libraries
8031       lt_prog_compiler_pic='-DDLL_EXPORT'
8032       ;;
8033
8034     darwin* | rhapsody*)
8035       # PIC is the default on this platform
8036       # Common symbols not allowed in MH_DYLIB files
8037       lt_prog_compiler_pic='-fno-common'
8038       ;;
8039
8040     haiku*)
8041       # PIC is the default for Haiku.
8042       # The "-static" flag exists, but is broken.
8043       lt_prog_compiler_static=
8044       ;;
8045
8046     hpux*)
8047       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8048       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8049       # sets the default TLS model and affects inlining.
8050       case $host_cpu in
8051       hppa*64*)
8052         # +Z the default
8053         ;;
8054       *)
8055         lt_prog_compiler_pic='-fPIC'
8056         ;;
8057       esac
8058       ;;
8059
8060     interix[3-9]*)
8061       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8062       # Instead, we relocate shared libraries at runtime.
8063       ;;
8064
8065     msdosdjgpp*)
8066       # Just because we use GCC doesn't mean we suddenly get shared libraries
8067       # on systems that don't support them.
8068       lt_prog_compiler_can_build_shared=no
8069       enable_shared=no
8070       ;;
8071
8072     *nto* | *qnx*)
8073       # QNX uses GNU C++, but need to define -shared option too, otherwise
8074       # it will coredump.
8075       lt_prog_compiler_pic='-fPIC -shared'
8076       ;;
8077
8078     sysv4*MP*)
8079       if test -d /usr/nec; then
8080         lt_prog_compiler_pic=-Kconform_pic
8081       fi
8082       ;;
8083
8084     *)
8085       lt_prog_compiler_pic='-fPIC'
8086       ;;
8087     esac
8088
8089     case $cc_basename in
8090     nvcc*) # Cuda Compiler Driver 2.2
8091       lt_prog_compiler_wl='-Xlinker '
8092       if test -n "$lt_prog_compiler_pic"; then
8093         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8094       fi
8095       ;;
8096     esac
8097   else
8098     # PORTME Check for flag to pass linker flags through the system compiler.
8099     case $host_os in
8100     aix*)
8101       lt_prog_compiler_wl='-Wl,'
8102       if test "$host_cpu" = ia64; then
8103         # AIX 5 now supports IA64 processor
8104         lt_prog_compiler_static='-Bstatic'
8105       else
8106         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8107       fi
8108       ;;
8109
8110     mingw* | cygwin* | pw32* | os2* | cegcc*)
8111       # This hack is so that the source file can tell whether it is being
8112       # built for inclusion in a dll (and should export symbols for example).
8113       lt_prog_compiler_pic='-DDLL_EXPORT'
8114       ;;
8115
8116     hpux9* | hpux10* | hpux11*)
8117       lt_prog_compiler_wl='-Wl,'
8118       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8119       # not for PA HP-UX.
8120       case $host_cpu in
8121       hppa*64*|ia64*)
8122         # +Z the default
8123         ;;
8124       *)
8125         lt_prog_compiler_pic='+Z'
8126         ;;
8127       esac
8128       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8129       lt_prog_compiler_static='${wl}-a ${wl}archive'
8130       ;;
8131
8132     irix5* | irix6* | nonstopux*)
8133       lt_prog_compiler_wl='-Wl,'
8134       # PIC (with -KPIC) is the default.
8135       lt_prog_compiler_static='-non_shared'
8136       ;;
8137
8138     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8139       case $cc_basename in
8140       # old Intel for x86_64 which still supported -KPIC.
8141       ecc*)
8142         lt_prog_compiler_wl='-Wl,'
8143         lt_prog_compiler_pic='-KPIC'
8144         lt_prog_compiler_static='-static'
8145         ;;
8146       # icc used to be incompatible with GCC.
8147       # ICC 10 doesn't accept -KPIC any more.
8148       icc* | ifort*)
8149         lt_prog_compiler_wl='-Wl,'
8150         lt_prog_compiler_pic='-fPIC'
8151         lt_prog_compiler_static='-static'
8152         ;;
8153       # Lahey Fortran 8.1.
8154       lf95*)
8155         lt_prog_compiler_wl='-Wl,'
8156         lt_prog_compiler_pic='--shared'
8157         lt_prog_compiler_static='--static'
8158         ;;
8159       nagfor*)
8160         # NAG Fortran compiler
8161         lt_prog_compiler_wl='-Wl,-Wl,,'
8162         lt_prog_compiler_pic='-PIC'
8163         lt_prog_compiler_static='-Bstatic'
8164         ;;
8165       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8166         # Portland Group compilers (*not* the Pentium gcc compiler,
8167         # which looks to be a dead project)
8168         lt_prog_compiler_wl='-Wl,'
8169         lt_prog_compiler_pic='-fpic'
8170         lt_prog_compiler_static='-Bstatic'
8171         ;;
8172       ccc*)
8173         lt_prog_compiler_wl='-Wl,'
8174         # All Alpha code is PIC.
8175         lt_prog_compiler_static='-non_shared'
8176         ;;
8177       xl* | bgxl* | bgf* | mpixl*)
8178         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8179         lt_prog_compiler_wl='-Wl,'
8180         lt_prog_compiler_pic='-qpic'
8181         lt_prog_compiler_static='-qstaticlink'
8182         ;;
8183       *)
8184         case `$CC -V 2>&1 | sed 5q` in
8185         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8186           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8187           lt_prog_compiler_pic='-KPIC'
8188           lt_prog_compiler_static='-Bstatic'
8189           lt_prog_compiler_wl=''
8190           ;;
8191         *Sun\ F* | *Sun*Fortran*)
8192           lt_prog_compiler_pic='-KPIC'
8193           lt_prog_compiler_static='-Bstatic'
8194           lt_prog_compiler_wl='-Qoption ld '
8195           ;;
8196         *Sun\ C*)
8197           # Sun C 5.9
8198           lt_prog_compiler_pic='-KPIC'
8199           lt_prog_compiler_static='-Bstatic'
8200           lt_prog_compiler_wl='-Wl,'
8201           ;;
8202         *Intel*\ [CF]*Compiler*)
8203           lt_prog_compiler_wl='-Wl,'
8204           lt_prog_compiler_pic='-fPIC'
8205           lt_prog_compiler_static='-static'
8206           ;;
8207         *Portland\ Group*)
8208           lt_prog_compiler_wl='-Wl,'
8209           lt_prog_compiler_pic='-fpic'
8210           lt_prog_compiler_static='-Bstatic'
8211           ;;
8212         esac
8213         ;;
8214       esac
8215       ;;
8216
8217     newsos6)
8218       lt_prog_compiler_pic='-KPIC'
8219       lt_prog_compiler_static='-Bstatic'
8220       ;;
8221
8222     *nto* | *qnx*)
8223       # QNX uses GNU C++, but need to define -shared option too, otherwise
8224       # it will coredump.
8225       lt_prog_compiler_pic='-fPIC -shared'
8226       ;;
8227
8228     osf3* | osf4* | osf5*)
8229       lt_prog_compiler_wl='-Wl,'
8230       # All OSF/1 code is PIC.
8231       lt_prog_compiler_static='-non_shared'
8232       ;;
8233
8234     rdos*)
8235       lt_prog_compiler_static='-non_shared'
8236       ;;
8237
8238     solaris*)
8239       lt_prog_compiler_pic='-KPIC'
8240       lt_prog_compiler_static='-Bstatic'
8241       case $cc_basename in
8242       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8243         lt_prog_compiler_wl='-Qoption ld ';;
8244       *)
8245         lt_prog_compiler_wl='-Wl,';;
8246       esac
8247       ;;
8248
8249     sunos4*)
8250       lt_prog_compiler_wl='-Qoption ld '
8251       lt_prog_compiler_pic='-PIC'
8252       lt_prog_compiler_static='-Bstatic'
8253       ;;
8254
8255     sysv4 | sysv4.2uw2* | sysv4.3*)
8256       lt_prog_compiler_wl='-Wl,'
8257       lt_prog_compiler_pic='-KPIC'
8258       lt_prog_compiler_static='-Bstatic'
8259       ;;
8260
8261     sysv4*MP*)
8262       if test -d /usr/nec ;then
8263         lt_prog_compiler_pic='-Kconform_pic'
8264         lt_prog_compiler_static='-Bstatic'
8265       fi
8266       ;;
8267
8268     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8269       lt_prog_compiler_wl='-Wl,'
8270       lt_prog_compiler_pic='-KPIC'
8271       lt_prog_compiler_static='-Bstatic'
8272       ;;
8273
8274     unicos*)
8275       lt_prog_compiler_wl='-Wl,'
8276       lt_prog_compiler_can_build_shared=no
8277       ;;
8278
8279     uts4*)
8280       lt_prog_compiler_pic='-pic'
8281       lt_prog_compiler_static='-Bstatic'
8282       ;;
8283
8284     *)
8285       lt_prog_compiler_can_build_shared=no
8286       ;;
8287     esac
8288   fi
8289
8290 case $host_os in
8291   # For platforms which do not support PIC, -DPIC is meaningless:
8292   *djgpp*)
8293     lt_prog_compiler_pic=
8294     ;;
8295   *)
8296     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8297     ;;
8298 esac
8299
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8301 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8302 if ${lt_cv_prog_compiler_pic+:} false; then :
8303   $as_echo_n "(cached) " >&6
8304 else
8305   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8306 fi
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8308 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8309 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8310
8311 #
8312 # Check to make sure the PIC flag actually works.
8313 #
8314 if test -n "$lt_prog_compiler_pic"; then
8315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8316 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8317 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8318   $as_echo_n "(cached) " >&6
8319 else
8320   lt_cv_prog_compiler_pic_works=no
8321    ac_outfile=conftest.$ac_objext
8322    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8323    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8324    # Insert the option either (1) after the last *FLAGS variable, or
8325    # (2) before a word containing "conftest.", or (3) at the end.
8326    # Note that $ac_compile itself does not contain backslashes and begins
8327    # with a dollar sign (not a hyphen), so the echo should work correctly.
8328    # The option is referenced via a variable to avoid confusing sed.
8329    lt_compile=`echo "$ac_compile" | $SED \
8330    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8331    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8332    -e 's:$: $lt_compiler_flag:'`
8333    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8334    (eval "$lt_compile" 2>conftest.err)
8335    ac_status=$?
8336    cat conftest.err >&5
8337    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338    if (exit $ac_status) && test -s "$ac_outfile"; then
8339      # The compiler can only warn and ignore the option if not recognized
8340      # So say no if there are warnings other than the usual output.
8341      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8342      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8343      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8344        lt_cv_prog_compiler_pic_works=yes
8345      fi
8346    fi
8347    $RM conftest*
8348
8349 fi
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8351 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8352
8353 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8354     case $lt_prog_compiler_pic in
8355      "" | " "*) ;;
8356      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8357      esac
8358 else
8359     lt_prog_compiler_pic=
8360      lt_prog_compiler_can_build_shared=no
8361 fi
8362
8363 fi
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375 #
8376 # Check to make sure the static flag actually works.
8377 #
8378 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8380 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8381 if ${lt_cv_prog_compiler_static_works+:} false; then :
8382   $as_echo_n "(cached) " >&6
8383 else
8384   lt_cv_prog_compiler_static_works=no
8385    save_LDFLAGS="$LDFLAGS"
8386    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8387    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8388    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8389      # The linker can only warn and ignore the option if not recognized
8390      # So say no if there are warnings
8391      if test -s conftest.err; then
8392        # Append any errors to the config.log.
8393        cat conftest.err 1>&5
8394        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8395        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8396        if diff conftest.exp conftest.er2 >/dev/null; then
8397          lt_cv_prog_compiler_static_works=yes
8398        fi
8399      else
8400        lt_cv_prog_compiler_static_works=yes
8401      fi
8402    fi
8403    $RM -r conftest*
8404    LDFLAGS="$save_LDFLAGS"
8405
8406 fi
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8408 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8409
8410 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8411     :
8412 else
8413     lt_prog_compiler_static=
8414 fi
8415
8416
8417
8418
8419
8420
8421
8422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8423 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8424 if ${lt_cv_prog_compiler_c_o+:} false; then :
8425   $as_echo_n "(cached) " >&6
8426 else
8427   lt_cv_prog_compiler_c_o=no
8428    $RM -r conftest 2>/dev/null
8429    mkdir conftest
8430    cd conftest
8431    mkdir out
8432    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8433
8434    lt_compiler_flag="-o out/conftest2.$ac_objext"
8435    # Insert the option either (1) after the last *FLAGS variable, or
8436    # (2) before a word containing "conftest.", or (3) at the end.
8437    # Note that $ac_compile itself does not contain backslashes and begins
8438    # with a dollar sign (not a hyphen), so the echo should work correctly.
8439    lt_compile=`echo "$ac_compile" | $SED \
8440    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8441    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8442    -e 's:$: $lt_compiler_flag:'`
8443    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8444    (eval "$lt_compile" 2>out/conftest.err)
8445    ac_status=$?
8446    cat out/conftest.err >&5
8447    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8449    then
8450      # The compiler can only warn and ignore the option if not recognized
8451      # So say no if there are warnings
8452      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8453      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8454      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8455        lt_cv_prog_compiler_c_o=yes
8456      fi
8457    fi
8458    chmod u+w . 2>&5
8459    $RM conftest*
8460    # SGI C++ compiler will create directory out/ii_files/ for
8461    # template instantiation
8462    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8463    $RM out/* && rmdir out
8464    cd ..
8465    $RM -r conftest
8466    $RM conftest*
8467
8468 fi
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8470 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8471
8472
8473
8474
8475
8476
8477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8478 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8479 if ${lt_cv_prog_compiler_c_o+:} false; then :
8480   $as_echo_n "(cached) " >&6
8481 else
8482   lt_cv_prog_compiler_c_o=no
8483    $RM -r conftest 2>/dev/null
8484    mkdir conftest
8485    cd conftest
8486    mkdir out
8487    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8488
8489    lt_compiler_flag="-o out/conftest2.$ac_objext"
8490    # Insert the option either (1) after the last *FLAGS variable, or
8491    # (2) before a word containing "conftest.", or (3) at the end.
8492    # Note that $ac_compile itself does not contain backslashes and begins
8493    # with a dollar sign (not a hyphen), so the echo should work correctly.
8494    lt_compile=`echo "$ac_compile" | $SED \
8495    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497    -e 's:$: $lt_compiler_flag:'`
8498    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499    (eval "$lt_compile" 2>out/conftest.err)
8500    ac_status=$?
8501    cat out/conftest.err >&5
8502    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8504    then
8505      # The compiler can only warn and ignore the option if not recognized
8506      # So say no if there are warnings
8507      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8508      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8509      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8510        lt_cv_prog_compiler_c_o=yes
8511      fi
8512    fi
8513    chmod u+w . 2>&5
8514    $RM conftest*
8515    # SGI C++ compiler will create directory out/ii_files/ for
8516    # template instantiation
8517    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8518    $RM out/* && rmdir out
8519    cd ..
8520    $RM -r conftest
8521    $RM conftest*
8522
8523 fi
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8525 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8526
8527
8528
8529
8530 hard_links="nottested"
8531 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8532   # do not overwrite the value of need_locks provided by the user
8533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8534 $as_echo_n "checking if we can lock with hard links... " >&6; }
8535   hard_links=yes
8536   $RM conftest*
8537   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8538   touch conftest.a
8539   ln conftest.a conftest.b 2>&5 || hard_links=no
8540   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8542 $as_echo "$hard_links" >&6; }
8543   if test "$hard_links" = no; then
8544     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8545 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8546     need_locks=warn
8547   fi
8548 else
8549   need_locks=no
8550 fi
8551
8552
8553
8554
8555
8556
8557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8558 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8559
8560   runpath_var=
8561   allow_undefined_flag=
8562   always_export_symbols=no
8563   archive_cmds=
8564   archive_expsym_cmds=
8565   compiler_needs_object=no
8566   enable_shared_with_static_runtimes=no
8567   export_dynamic_flag_spec=
8568   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8569   hardcode_automatic=no
8570   hardcode_direct=no
8571   hardcode_direct_absolute=no
8572   hardcode_libdir_flag_spec=
8573   hardcode_libdir_separator=
8574   hardcode_minus_L=no
8575   hardcode_shlibpath_var=unsupported
8576   inherit_rpath=no
8577   link_all_deplibs=unknown
8578   module_cmds=
8579   module_expsym_cmds=
8580   old_archive_from_new_cmds=
8581   old_archive_from_expsyms_cmds=
8582   thread_safe_flag_spec=
8583   whole_archive_flag_spec=
8584   # include_expsyms should be a list of space-separated symbols to be *always*
8585   # included in the symbol list
8586   include_expsyms=
8587   # exclude_expsyms can be an extended regexp of symbols to exclude
8588   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8589   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8590   # as well as any symbol that contains `d'.
8591   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8592   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8593   # platforms (ab)use it in PIC code, but their linkers get confused if
8594   # the symbol is explicitly referenced.  Since portable code cannot
8595   # rely on this symbol name, it's probably fine to never include it in
8596   # preloaded symbol tables.
8597   # Exclude shared library initialization/finalization symbols.
8598   extract_expsyms_cmds=
8599
8600   case $host_os in
8601   cygwin* | mingw* | pw32* | cegcc*)
8602     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8603     # When not using gcc, we currently assume that we are using
8604     # Microsoft Visual C++.
8605     if test "$GCC" != yes; then
8606       with_gnu_ld=no
8607     fi
8608     ;;
8609   interix*)
8610     # we just hope/assume this is gcc and not c89 (= MSVC++)
8611     with_gnu_ld=yes
8612     ;;
8613   openbsd*)
8614     with_gnu_ld=no
8615     ;;
8616   esac
8617
8618   ld_shlibs=yes
8619
8620   # On some targets, GNU ld is compatible enough with the native linker
8621   # that we're better off using the native interface for both.
8622   lt_use_gnu_ld_interface=no
8623   if test "$with_gnu_ld" = yes; then
8624     case $host_os in
8625       aix*)
8626         # The AIX port of GNU ld has always aspired to compatibility
8627         # with the native linker.  However, as the warning in the GNU ld
8628         # block says, versions before 2.19.5* couldn't really create working
8629         # shared libraries, regardless of the interface used.
8630         case `$LD -v 2>&1` in
8631           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8632           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8633           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8634           *)
8635             lt_use_gnu_ld_interface=yes
8636             ;;
8637         esac
8638         ;;
8639       *)
8640         lt_use_gnu_ld_interface=yes
8641         ;;
8642     esac
8643   fi
8644
8645   if test "$lt_use_gnu_ld_interface" = yes; then
8646     # If archive_cmds runs LD, not CC, wlarc should be empty
8647     wlarc='${wl}'
8648
8649     # Set some defaults for GNU ld with shared library support. These
8650     # are reset later if shared libraries are not supported. Putting them
8651     # here allows them to be overridden if necessary.
8652     runpath_var=LD_RUN_PATH
8653     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8654     export_dynamic_flag_spec='${wl}--export-dynamic'
8655     # ancient GNU ld didn't support --whole-archive et. al.
8656     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8657       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8658     else
8659       whole_archive_flag_spec=
8660     fi
8661     supports_anon_versioning=no
8662     case `$LD -v 2>&1` in
8663       *GNU\ gold*) supports_anon_versioning=yes ;;
8664       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8665       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8666       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8667       *\ 2.11.*) ;; # other 2.11 versions
8668       *) supports_anon_versioning=yes ;;
8669     esac
8670
8671     # See if GNU ld supports shared libraries.
8672     case $host_os in
8673     aix[3-9]*)
8674       # On AIX/PPC, the GNU linker is very broken
8675       if test "$host_cpu" != ia64; then
8676         ld_shlibs=no
8677         cat <<_LT_EOF 1>&2
8678
8679 *** Warning: the GNU linker, at least up to release 2.19, is reported
8680 *** to be unable to reliably create shared libraries on AIX.
8681 *** Therefore, libtool is disabling shared libraries support.  If you
8682 *** really care for shared libraries, you may want to install binutils
8683 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8684 *** You will then need to restart the configuration process.
8685
8686 _LT_EOF
8687       fi
8688       ;;
8689
8690     amigaos*)
8691       case $host_cpu in
8692       powerpc)
8693             # see comment about AmigaOS4 .so support
8694             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695             archive_expsym_cmds=''
8696         ;;
8697       m68k)
8698             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)'
8699             hardcode_libdir_flag_spec='-L$libdir'
8700             hardcode_minus_L=yes
8701         ;;
8702       esac
8703       ;;
8704
8705     beos*)
8706       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8707         allow_undefined_flag=unsupported
8708         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8709         # support --undefined.  This deserves some investigation.  FIXME
8710         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8711       else
8712         ld_shlibs=no
8713       fi
8714       ;;
8715
8716     cygwin* | mingw* | pw32* | cegcc*)
8717       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8718       # as there is no search path for DLLs.
8719       hardcode_libdir_flag_spec='-L$libdir'
8720       export_dynamic_flag_spec='${wl}--export-all-symbols'
8721       allow_undefined_flag=unsupported
8722       always_export_symbols=no
8723       enable_shared_with_static_runtimes=yes
8724       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'
8725       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8726
8727       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8728         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8729         # If the export-symbols file already is a .def file (1st line
8730         # is EXPORTS), use it as is; otherwise, prepend...
8731         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8732           cp $export_symbols $output_objdir/$soname.def;
8733         else
8734           echo EXPORTS > $output_objdir/$soname.def;
8735           cat $export_symbols >> $output_objdir/$soname.def;
8736         fi~
8737         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8738       else
8739         ld_shlibs=no
8740       fi
8741       ;;
8742
8743     haiku*)
8744       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8745       link_all_deplibs=yes
8746       ;;
8747
8748     interix[3-9]*)
8749       hardcode_direct=no
8750       hardcode_shlibpath_var=no
8751       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8752       export_dynamic_flag_spec='${wl}-E'
8753       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8754       # Instead, shared libraries are loaded at an image base (0x10000000 by
8755       # default) and relocated if they conflict, which is a slow very memory
8756       # consuming and fragmenting process.  To avoid this, we pick a random,
8757       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8758       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8759       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8760       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'
8761       ;;
8762
8763     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8764       tmp_diet=no
8765       if test "$host_os" = linux-dietlibc; then
8766         case $cc_basename in
8767           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8768         esac
8769       fi
8770       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8771          && test "$tmp_diet" = no
8772       then
8773         tmp_addflag=' $pic_flag'
8774         tmp_sharedflag='-shared'
8775         case $cc_basename,$host_cpu in
8776         pgcc*)                          # Portland Group C compiler
8777           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'
8778           tmp_addflag=' $pic_flag'
8779           ;;
8780         pgf77* | pgf90* | pgf95* | pgfortran*)
8781                                         # Portland Group f77 and f90 compilers
8782           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'
8783           tmp_addflag=' $pic_flag -Mnomain' ;;
8784         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8785           tmp_addflag=' -i_dynamic' ;;
8786         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8787           tmp_addflag=' -i_dynamic -nofor_main' ;;
8788         ifc* | ifort*)                  # Intel Fortran compiler
8789           tmp_addflag=' -nofor_main' ;;
8790         lf95*)                          # Lahey Fortran 8.1
8791           whole_archive_flag_spec=
8792           tmp_sharedflag='--shared' ;;
8793         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8794           tmp_sharedflag='-qmkshrobj'
8795           tmp_addflag= ;;
8796         nvcc*)  # Cuda Compiler Driver 2.2
8797           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'
8798           compiler_needs_object=yes
8799           ;;
8800         esac
8801         case `$CC -V 2>&1 | sed 5q` in
8802         *Sun\ C*)                       # Sun C 5.9
8803           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'
8804           compiler_needs_object=yes
8805           tmp_sharedflag='-G' ;;
8806         *Sun\ F*)                       # Sun Fortran 8.3
8807           tmp_sharedflag='-G' ;;
8808         esac
8809         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8810
8811         if test "x$supports_anon_versioning" = xyes; then
8812           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8813             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8814             echo "local: *; };" >> $output_objdir/$libname.ver~
8815             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8816         fi
8817
8818         case $cc_basename in
8819         xlf* | bgf* | bgxlf* | mpixlf*)
8820           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8821           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8822           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8823           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8824           if test "x$supports_anon_versioning" = xyes; then
8825             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8826               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8827               echo "local: *; };" >> $output_objdir/$libname.ver~
8828               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8829           fi
8830           ;;
8831         esac
8832       else
8833         ld_shlibs=no
8834       fi
8835       ;;
8836
8837     netbsd*)
8838       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8839         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8840         wlarc=
8841       else
8842         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8844       fi
8845       ;;
8846
8847     solaris*)
8848       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8849         ld_shlibs=no
8850         cat <<_LT_EOF 1>&2
8851
8852 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8853 *** create shared libraries on Solaris systems.  Therefore, libtool
8854 *** is disabling shared libraries support.  We urge you to upgrade GNU
8855 *** binutils to release 2.9.1 or newer.  Another option is to modify
8856 *** your PATH or compiler configuration so that the native linker is
8857 *** used, and then restart.
8858
8859 _LT_EOF
8860       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8861         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8862         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8863       else
8864         ld_shlibs=no
8865       fi
8866       ;;
8867
8868     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8869       case `$LD -v 2>&1` in
8870         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8871         ld_shlibs=no
8872         cat <<_LT_EOF 1>&2
8873
8874 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8875 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8876 *** is disabling shared libraries support.  We urge you to upgrade GNU
8877 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8878 *** your PATH or compiler configuration so that the native linker is
8879 *** used, and then restart.
8880
8881 _LT_EOF
8882         ;;
8883         *)
8884           # For security reasons, it is highly recommended that you always
8885           # use absolute paths for naming shared libraries, and exclude the
8886           # DT_RUNPATH tag from executables and libraries.  But doing so
8887           # requires that you compile everything twice, which is a pain.
8888           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8889             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8890             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8891             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8892           else
8893             ld_shlibs=no
8894           fi
8895         ;;
8896       esac
8897       ;;
8898
8899     sunos4*)
8900       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8901       wlarc=
8902       hardcode_direct=yes
8903       hardcode_shlibpath_var=no
8904       ;;
8905
8906     *)
8907       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8908         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8909         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8910       else
8911         ld_shlibs=no
8912       fi
8913       ;;
8914     esac
8915
8916     if test "$ld_shlibs" = no; then
8917       runpath_var=
8918       hardcode_libdir_flag_spec=
8919       export_dynamic_flag_spec=
8920       whole_archive_flag_spec=
8921     fi
8922   else
8923     # PORTME fill in a description of your system's linker (not GNU ld)
8924     case $host_os in
8925     aix3*)
8926       allow_undefined_flag=unsupported
8927       always_export_symbols=yes
8928       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'
8929       # Note: this linker hardcodes the directories in LIBPATH if there
8930       # are no directories specified by -L.
8931       hardcode_minus_L=yes
8932       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8933         # Neither direct hardcoding nor static linking is supported with a
8934         # broken collect2.
8935         hardcode_direct=unsupported
8936       fi
8937       ;;
8938
8939     aix[4-9]*)
8940       if test "$host_cpu" = ia64; then
8941         # On IA64, the linker does run time linking by default, so we don't
8942         # have to do anything special.
8943         aix_use_runtimelinking=no
8944         exp_sym_flag='-Bexport'
8945         no_entry_flag=""
8946       else
8947         # If we're using GNU nm, then we don't want the "-C" option.
8948         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8949         # Also, AIX nm treats weak defined symbols like other global
8950         # defined symbols, whereas GNU nm marks them as "W".
8951         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8952           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'
8953         else
8954           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'
8955         fi
8956         aix_use_runtimelinking=no
8957
8958         # Test if we are trying to use run time linking or normal
8959         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8960         # need to do runtime linking.
8961         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8962           for ld_flag in $LDFLAGS; do
8963           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8964             aix_use_runtimelinking=yes
8965             break
8966           fi
8967           done
8968           ;;
8969         esac
8970
8971         exp_sym_flag='-bexport'
8972         no_entry_flag='-bnoentry'
8973       fi
8974
8975       # When large executables or shared objects are built, AIX ld can
8976       # have problems creating the table of contents.  If linking a library
8977       # or program results in "error TOC overflow" add -mminimal-toc to
8978       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8979       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8980
8981       archive_cmds=''
8982       hardcode_direct=yes
8983       hardcode_direct_absolute=yes
8984       hardcode_libdir_separator=':'
8985       link_all_deplibs=yes
8986       file_list_spec='${wl}-f,'
8987
8988       if test "$GCC" = yes; then
8989         case $host_os in aix4.[012]|aix4.[012].*)
8990         # We only want to do this on AIX 4.2 and lower, the check
8991         # below for broken collect2 doesn't work under 4.3+
8992           collect2name=`${CC} -print-prog-name=collect2`
8993           if test -f "$collect2name" &&
8994            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8995           then
8996           # We have reworked collect2
8997           :
8998           else
8999           # We have old collect2
9000           hardcode_direct=unsupported
9001           # It fails to find uninstalled libraries when the uninstalled
9002           # path is not listed in the libpath.  Setting hardcode_minus_L
9003           # to unsupported forces relinking
9004           hardcode_minus_L=yes
9005           hardcode_libdir_flag_spec='-L$libdir'
9006           hardcode_libdir_separator=
9007           fi
9008           ;;
9009         esac
9010         shared_flag='-shared'
9011         if test "$aix_use_runtimelinking" = yes; then
9012           shared_flag="$shared_flag "'${wl}-G'
9013         fi
9014       else
9015         # not using gcc
9016         if test "$host_cpu" = ia64; then
9017         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9018         # chokes on -Wl,-G. The following line is correct:
9019           shared_flag='-G'
9020         else
9021           if test "$aix_use_runtimelinking" = yes; then
9022             shared_flag='${wl}-G'
9023           else
9024             shared_flag='${wl}-bM:SRE'
9025           fi
9026         fi
9027       fi
9028
9029       export_dynamic_flag_spec='${wl}-bexpall'
9030       # It seems that -bexpall does not export symbols beginning with
9031       # underscore (_), so it is better to generate a list of symbols to export.
9032       always_export_symbols=yes
9033       if test "$aix_use_runtimelinking" = yes; then
9034         # Warning - without using the other runtime loading flags (-brtl),
9035         # -berok will link without error, but may produce a broken library.
9036         allow_undefined_flag='-berok'
9037         # Determine the default libpath from the value encoded in an
9038         # empty executable.
9039         if test "${lt_cv_aix_libpath+set}" = set; then
9040   aix_libpath=$lt_cv_aix_libpath
9041 else
9042   if ${lt_cv_aix_libpath_+:} false; then :
9043   $as_echo_n "(cached) " >&6
9044 else
9045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h.  */
9047
9048 int
9049 main ()
9050 {
9051
9052   ;
9053   return 0;
9054 }
9055 _ACEOF
9056 if ac_fn_c_try_link "$LINENO"; then :
9057
9058   lt_aix_libpath_sed='
9059       /Import File Strings/,/^$/ {
9060           /^0/ {
9061               s/^0  *\([^ ]*\) *$/\1/
9062               p
9063           }
9064       }'
9065   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9066   # Check for a 64-bit object if we didn't find anything.
9067   if test -z "$lt_cv_aix_libpath_"; then
9068     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9069   fi
9070 fi
9071 rm -f core conftest.err conftest.$ac_objext \
9072     conftest$ac_exeext conftest.$ac_ext
9073   if test -z "$lt_cv_aix_libpath_"; then
9074     lt_cv_aix_libpath_="/usr/lib:/lib"
9075   fi
9076
9077 fi
9078
9079   aix_libpath=$lt_cv_aix_libpath_
9080 fi
9081
9082         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9083         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"
9084       else
9085         if test "$host_cpu" = ia64; then
9086           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9087           allow_undefined_flag="-z nodefs"
9088           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"
9089         else
9090          # Determine the default libpath from the value encoded in an
9091          # empty executable.
9092          if test "${lt_cv_aix_libpath+set}" = set; then
9093   aix_libpath=$lt_cv_aix_libpath
9094 else
9095   if ${lt_cv_aix_libpath_+:} false; then :
9096   $as_echo_n "(cached) " >&6
9097 else
9098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h.  */
9100
9101 int
9102 main ()
9103 {
9104
9105   ;
9106   return 0;
9107 }
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110
9111   lt_aix_libpath_sed='
9112       /Import File Strings/,/^$/ {
9113           /^0/ {
9114               s/^0  *\([^ ]*\) *$/\1/
9115               p
9116           }
9117       }'
9118   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9119   # Check for a 64-bit object if we didn't find anything.
9120   if test -z "$lt_cv_aix_libpath_"; then
9121     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9122   fi
9123 fi
9124 rm -f core conftest.err conftest.$ac_objext \
9125     conftest$ac_exeext conftest.$ac_ext
9126   if test -z "$lt_cv_aix_libpath_"; then
9127     lt_cv_aix_libpath_="/usr/lib:/lib"
9128   fi
9129
9130 fi
9131
9132   aix_libpath=$lt_cv_aix_libpath_
9133 fi
9134
9135          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9136           # Warning - without using the other run time loading flags,
9137           # -berok will link without error, but may produce a broken library.
9138           no_undefined_flag=' ${wl}-bernotok'
9139           allow_undefined_flag=' ${wl}-berok'
9140           if test "$with_gnu_ld" = yes; then
9141             # We only use this code for GNU lds that support --whole-archive.
9142             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9143           else
9144             # Exported symbols can be pulled into shared objects from archives
9145             whole_archive_flag_spec='$convenience'
9146           fi
9147           archive_cmds_need_lc=yes
9148           # This is similar to how AIX traditionally builds its shared libraries.
9149           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'
9150         fi
9151       fi
9152       ;;
9153
9154     amigaos*)
9155       case $host_cpu in
9156       powerpc)
9157             # see comment about AmigaOS4 .so support
9158             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159             archive_expsym_cmds=''
9160         ;;
9161       m68k)
9162             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)'
9163             hardcode_libdir_flag_spec='-L$libdir'
9164             hardcode_minus_L=yes
9165         ;;
9166       esac
9167       ;;
9168
9169     bsdi[45]*)
9170       export_dynamic_flag_spec=-rdynamic
9171       ;;
9172
9173     cygwin* | mingw* | pw32* | cegcc*)
9174       # When not using gcc, we currently assume that we are using
9175       # Microsoft Visual C++.
9176       # hardcode_libdir_flag_spec is actually meaningless, as there is
9177       # no search path for DLLs.
9178       case $cc_basename in
9179       cl*)
9180         # Native MSVC
9181         hardcode_libdir_flag_spec=' '
9182         allow_undefined_flag=unsupported
9183         always_export_symbols=yes
9184         file_list_spec='@'
9185         # Tell ltmain to make .lib files, not .a files.
9186         libext=lib
9187         # Tell ltmain to make .dll files, not .so files.
9188         shrext_cmds=".dll"
9189         # FIXME: Setting linknames here is a bad hack.
9190         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9191         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9192             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9193           else
9194             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9195           fi~
9196           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9197           linknames='
9198         # The linker will not automatically build a static lib if we build a DLL.
9199         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9200         enable_shared_with_static_runtimes=yes
9201         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9202         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9203         # Don't use ranlib
9204         old_postinstall_cmds='chmod 644 $oldlib'
9205         postlink_cmds='lt_outputfile="@OUTPUT@"~
9206           lt_tool_outputfile="@TOOL_OUTPUT@"~
9207           case $lt_outputfile in
9208             *.exe|*.EXE) ;;
9209             *)
9210               lt_outputfile="$lt_outputfile.exe"
9211               lt_tool_outputfile="$lt_tool_outputfile.exe"
9212               ;;
9213           esac~
9214           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9215             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9216             $RM "$lt_outputfile.manifest";
9217           fi'
9218         ;;
9219       *)
9220         # Assume MSVC wrapper
9221         hardcode_libdir_flag_spec=' '
9222         allow_undefined_flag=unsupported
9223         # Tell ltmain to make .lib files, not .a files.
9224         libext=lib
9225         # Tell ltmain to make .dll files, not .so files.
9226         shrext_cmds=".dll"
9227         # FIXME: Setting linknames here is a bad hack.
9228         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9229         # The linker will automatically build a .lib file if we build a DLL.
9230         old_archive_from_new_cmds='true'
9231         # FIXME: Should let the user specify the lib program.
9232         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9233         enable_shared_with_static_runtimes=yes
9234         ;;
9235       esac
9236       ;;
9237
9238     darwin* | rhapsody*)
9239
9240
9241   archive_cmds_need_lc=no
9242   hardcode_direct=no
9243   hardcode_automatic=yes
9244   hardcode_shlibpath_var=unsupported
9245   if test "$lt_cv_ld_force_load" = "yes"; then
9246     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\"`'
9247
9248   else
9249     whole_archive_flag_spec=''
9250   fi
9251   link_all_deplibs=yes
9252   allow_undefined_flag="$_lt_dar_allow_undefined"
9253   case $cc_basename in
9254      ifort*) _lt_dar_can_shared=yes ;;
9255      *) _lt_dar_can_shared=$GCC ;;
9256   esac
9257   if test "$_lt_dar_can_shared" = "yes"; then
9258     output_verbose_link_cmd=func_echo_all
9259     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9260     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9261     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}"
9262     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}"
9263
9264   else
9265   ld_shlibs=no
9266   fi
9267
9268       ;;
9269
9270     dgux*)
9271       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9272       hardcode_libdir_flag_spec='-L$libdir'
9273       hardcode_shlibpath_var=no
9274       ;;
9275
9276     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9277     # support.  Future versions do this automatically, but an explicit c++rt0.o
9278     # does not break anything, and helps significantly (at the cost of a little
9279     # extra space).
9280     freebsd2.2*)
9281       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9282       hardcode_libdir_flag_spec='-R$libdir'
9283       hardcode_direct=yes
9284       hardcode_shlibpath_var=no
9285       ;;
9286
9287     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9288     freebsd2.*)
9289       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9290       hardcode_direct=yes
9291       hardcode_minus_L=yes
9292       hardcode_shlibpath_var=no
9293       ;;
9294
9295     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9296     freebsd* | dragonfly*)
9297       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9298       hardcode_libdir_flag_spec='-R$libdir'
9299       hardcode_direct=yes
9300       hardcode_shlibpath_var=no
9301       ;;
9302
9303     hpux9*)
9304       if test "$GCC" = yes; then
9305         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'
9306       else
9307         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'
9308       fi
9309       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9310       hardcode_libdir_separator=:
9311       hardcode_direct=yes
9312
9313       # hardcode_minus_L: Not really in the search PATH,
9314       # but as the default location of the library.
9315       hardcode_minus_L=yes
9316       export_dynamic_flag_spec='${wl}-E'
9317       ;;
9318
9319     hpux10*)
9320       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9321         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9322       else
9323         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9324       fi
9325       if test "$with_gnu_ld" = no; then
9326         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9327         hardcode_libdir_separator=:
9328         hardcode_direct=yes
9329         hardcode_direct_absolute=yes
9330         export_dynamic_flag_spec='${wl}-E'
9331         # hardcode_minus_L: Not really in the search PATH,
9332         # but as the default location of the library.
9333         hardcode_minus_L=yes
9334       fi
9335       ;;
9336
9337     hpux11*)
9338       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9339         case $host_cpu in
9340         hppa*64*)
9341           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9342           ;;
9343         ia64*)
9344           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9345           ;;
9346         *)
9347           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348           ;;
9349         esac
9350       else
9351         case $host_cpu in
9352         hppa*64*)
9353           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9354           ;;
9355         ia64*)
9356           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9357           ;;
9358         *)
9359
9360           # Older versions of the 11.00 compiler do not understand -b yet
9361           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9362           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9363 $as_echo_n "checking if $CC understands -b... " >&6; }
9364 if ${lt_cv_prog_compiler__b+:} false; then :
9365   $as_echo_n "(cached) " >&6
9366 else
9367   lt_cv_prog_compiler__b=no
9368    save_LDFLAGS="$LDFLAGS"
9369    LDFLAGS="$LDFLAGS -b"
9370    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9371    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9372      # The linker can only warn and ignore the option if not recognized
9373      # So say no if there are warnings
9374      if test -s conftest.err; then
9375        # Append any errors to the config.log.
9376        cat conftest.err 1>&5
9377        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9378        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9379        if diff conftest.exp conftest.er2 >/dev/null; then
9380          lt_cv_prog_compiler__b=yes
9381        fi
9382      else
9383        lt_cv_prog_compiler__b=yes
9384      fi
9385    fi
9386    $RM -r conftest*
9387    LDFLAGS="$save_LDFLAGS"
9388
9389 fi
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9391 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9392
9393 if test x"$lt_cv_prog_compiler__b" = xyes; then
9394     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9395 else
9396     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9397 fi
9398
9399           ;;
9400         esac
9401       fi
9402       if test "$with_gnu_ld" = no; then
9403         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9404         hardcode_libdir_separator=:
9405
9406         case $host_cpu in
9407         hppa*64*|ia64*)
9408           hardcode_direct=no
9409           hardcode_shlibpath_var=no
9410           ;;
9411         *)
9412           hardcode_direct=yes
9413           hardcode_direct_absolute=yes
9414           export_dynamic_flag_spec='${wl}-E'
9415
9416           # hardcode_minus_L: Not really in the search PATH,
9417           # but as the default location of the library.
9418           hardcode_minus_L=yes
9419           ;;
9420         esac
9421       fi
9422       ;;
9423
9424     irix5* | irix6* | nonstopux*)
9425       if test "$GCC" = yes; then
9426         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'
9427         # Try to use the -exported_symbol ld option, if it does not
9428         # work, assume that -exports_file does not work either and
9429         # implicitly export all symbols.
9430         # This should be the same for all languages, so no per-tag cache variable.
9431         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9432 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9433 if ${lt_cv_irix_exported_symbol+:} false; then :
9434   $as_echo_n "(cached) " >&6
9435 else
9436   save_LDFLAGS="$LDFLAGS"
9437            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9438            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h.  */
9440 int foo (void) { return 0; }
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443   lt_cv_irix_exported_symbol=yes
9444 else
9445   lt_cv_irix_exported_symbol=no
9446 fi
9447 rm -f core conftest.err conftest.$ac_objext \
9448     conftest$ac_exeext conftest.$ac_ext
9449            LDFLAGS="$save_LDFLAGS"
9450 fi
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9452 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9453         if test "$lt_cv_irix_exported_symbol" = yes; then
9454           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'
9455         fi
9456       else
9457         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'
9458         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'
9459       fi
9460       archive_cmds_need_lc='no'
9461       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462       hardcode_libdir_separator=:
9463       inherit_rpath=yes
9464       link_all_deplibs=yes
9465       ;;
9466
9467     netbsd*)
9468       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9469         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9470       else
9471         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9472       fi
9473       hardcode_libdir_flag_spec='-R$libdir'
9474       hardcode_direct=yes
9475       hardcode_shlibpath_var=no
9476       ;;
9477
9478     newsos6)
9479       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9480       hardcode_direct=yes
9481       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9482       hardcode_libdir_separator=:
9483       hardcode_shlibpath_var=no
9484       ;;
9485
9486     *nto* | *qnx*)
9487       ;;
9488
9489     openbsd*)
9490       if test -f /usr/libexec/ld.so; then
9491         hardcode_direct=yes
9492         hardcode_shlibpath_var=no
9493         hardcode_direct_absolute=yes
9494         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9495           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9496           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9497           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9498           export_dynamic_flag_spec='${wl}-E'
9499         else
9500           case $host_os in
9501            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9502              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503              hardcode_libdir_flag_spec='-R$libdir'
9504              ;;
9505            *)
9506              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9507              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9508              ;;
9509           esac
9510         fi
9511       else
9512         ld_shlibs=no
9513       fi
9514       ;;
9515
9516     os2*)
9517       hardcode_libdir_flag_spec='-L$libdir'
9518       hardcode_minus_L=yes
9519       allow_undefined_flag=unsupported
9520       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'
9521       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9522       ;;
9523
9524     osf3*)
9525       if test "$GCC" = yes; then
9526         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9527         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'
9528       else
9529         allow_undefined_flag=' -expect_unresolved \*'
9530         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'
9531       fi
9532       archive_cmds_need_lc='no'
9533       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9534       hardcode_libdir_separator=:
9535       ;;
9536
9537     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9538       if test "$GCC" = yes; then
9539         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9540         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'
9541         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9542       else
9543         allow_undefined_flag=' -expect_unresolved \*'
9544         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'
9545         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~
9546         $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'
9547
9548         # Both c and cxx compiler support -rpath directly
9549         hardcode_libdir_flag_spec='-rpath $libdir'
9550       fi
9551       archive_cmds_need_lc='no'
9552       hardcode_libdir_separator=:
9553       ;;
9554
9555     solaris*)
9556       no_undefined_flag=' -z defs'
9557       if test "$GCC" = yes; then
9558         wlarc='${wl}'
9559         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9560         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9561           $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'
9562       else
9563         case `$CC -V 2>&1` in
9564         *"Compilers 5.0"*)
9565           wlarc=''
9566           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9568           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9569           ;;
9570         *)
9571           wlarc='${wl}'
9572           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9573           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9574           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9575           ;;
9576         esac
9577       fi
9578       hardcode_libdir_flag_spec='-R$libdir'
9579       hardcode_shlibpath_var=no
9580       case $host_os in
9581       solaris2.[0-5] | solaris2.[0-5].*) ;;
9582       *)
9583         # The compiler driver will combine and reorder linker options,
9584         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9585         # but is careful enough not to reorder.
9586         # Supported since Solaris 2.6 (maybe 2.5.1?)
9587         if test "$GCC" = yes; then
9588           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9589         else
9590           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9591         fi
9592         ;;
9593       esac
9594       link_all_deplibs=yes
9595       ;;
9596
9597     sunos4*)
9598       if test "x$host_vendor" = xsequent; then
9599         # Use $CC to link under sequent, because it throws in some extra .o
9600         # files that make .init and .fini sections work.
9601         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9602       else
9603         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9604       fi
9605       hardcode_libdir_flag_spec='-L$libdir'
9606       hardcode_direct=yes
9607       hardcode_minus_L=yes
9608       hardcode_shlibpath_var=no
9609       ;;
9610
9611     sysv4)
9612       case $host_vendor in
9613         sni)
9614           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615           hardcode_direct=yes # is this really true???
9616         ;;
9617         siemens)
9618           ## LD is ld it makes a PLAMLIB
9619           ## CC just makes a GrossModule.
9620           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9621           reload_cmds='$CC -r -o $output$reload_objs'
9622           hardcode_direct=no
9623         ;;
9624         motorola)
9625           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9627         ;;
9628       esac
9629       runpath_var='LD_RUN_PATH'
9630       hardcode_shlibpath_var=no
9631       ;;
9632
9633     sysv4.3*)
9634       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635       hardcode_shlibpath_var=no
9636       export_dynamic_flag_spec='-Bexport'
9637       ;;
9638
9639     sysv4*MP*)
9640       if test -d /usr/nec; then
9641         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642         hardcode_shlibpath_var=no
9643         runpath_var=LD_RUN_PATH
9644         hardcode_runpath_var=yes
9645         ld_shlibs=yes
9646       fi
9647       ;;
9648
9649     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9650       no_undefined_flag='${wl}-z,text'
9651       archive_cmds_need_lc=no
9652       hardcode_shlibpath_var=no
9653       runpath_var='LD_RUN_PATH'
9654
9655       if test "$GCC" = yes; then
9656         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9657         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9658       else
9659         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9661       fi
9662       ;;
9663
9664     sysv5* | sco3.2v5* | sco5v6*)
9665       # Note: We can NOT use -z defs as we might desire, because we do not
9666       # link with -lc, and that would cause any symbols used from libc to
9667       # always be unresolved, which means just about no library would
9668       # ever link correctly.  If we're not using GNU ld we use -z text
9669       # though, which does catch some bad symbols but isn't as heavy-handed
9670       # as -z defs.
9671       no_undefined_flag='${wl}-z,text'
9672       allow_undefined_flag='${wl}-z,nodefs'
9673       archive_cmds_need_lc=no
9674       hardcode_shlibpath_var=no
9675       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9676       hardcode_libdir_separator=':'
9677       link_all_deplibs=yes
9678       export_dynamic_flag_spec='${wl}-Bexport'
9679       runpath_var='LD_RUN_PATH'
9680
9681       if test "$GCC" = yes; then
9682         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684       else
9685         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9687       fi
9688       ;;
9689
9690     uts4*)
9691       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692       hardcode_libdir_flag_spec='-L$libdir'
9693       hardcode_shlibpath_var=no
9694       ;;
9695
9696     *)
9697       ld_shlibs=no
9698       ;;
9699     esac
9700
9701     if test x$host_vendor = xsni; then
9702       case $host in
9703       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9704         export_dynamic_flag_spec='${wl}-Blargedynsym'
9705         ;;
9706       esac
9707     fi
9708   fi
9709
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9711 $as_echo "$ld_shlibs" >&6; }
9712 test "$ld_shlibs" = no && can_build_shared=no
9713
9714 with_gnu_ld=$with_gnu_ld
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730 #
9731 # Do we need to explicitly link libc?
9732 #
9733 case "x$archive_cmds_need_lc" in
9734 x|xyes)
9735   # Assume -lc should be added
9736   archive_cmds_need_lc=yes
9737
9738   if test "$enable_shared" = yes && test "$GCC" = yes; then
9739     case $archive_cmds in
9740     *'~'*)
9741       # FIXME: we may have to deal with multi-command sequences.
9742       ;;
9743     '$CC '*)
9744       # Test whether the compiler implicitly links with -lc since on some
9745       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9746       # to ld, don't add -lc before -lgcc.
9747       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9748 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9749 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9750   $as_echo_n "(cached) " >&6
9751 else
9752   $RM conftest*
9753         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9754
9755         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9756   (eval $ac_compile) 2>&5
9757   ac_status=$?
9758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9759   test $ac_status = 0; } 2>conftest.err; then
9760           soname=conftest
9761           lib=conftest
9762           libobjs=conftest.$ac_objext
9763           deplibs=
9764           wl=$lt_prog_compiler_wl
9765           pic_flag=$lt_prog_compiler_pic
9766           compiler_flags=-v
9767           linker_flags=-v
9768           verstring=
9769           output_objdir=.
9770           libname=conftest
9771           lt_save_allow_undefined_flag=$allow_undefined_flag
9772           allow_undefined_flag=
9773           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9774   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9775   ac_status=$?
9776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9777   test $ac_status = 0; }
9778           then
9779             lt_cv_archive_cmds_need_lc=no
9780           else
9781             lt_cv_archive_cmds_need_lc=yes
9782           fi
9783           allow_undefined_flag=$lt_save_allow_undefined_flag
9784         else
9785           cat conftest.err 1>&5
9786         fi
9787         $RM conftest*
9788
9789 fi
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9791 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9792       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9793       ;;
9794     esac
9795   fi
9796   ;;
9797 esac
9798
9799
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9951 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9952
9953 if test "$GCC" = yes; then
9954   case $host_os in
9955     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9956     *) lt_awk_arg="/^libraries:/" ;;
9957   esac
9958   case $host_os in
9959     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9960     *) lt_sed_strip_eq="s,=/,/,g" ;;
9961   esac
9962   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9963   case $lt_search_path_spec in
9964   *\;*)
9965     # if the path contains ";" then we assume it to be the separator
9966     # otherwise default to the standard path separator (i.e. ":") - it is
9967     # assumed that no part of a normal pathname contains ";" but that should
9968     # okay in the real world where ";" in dirpaths is itself problematic.
9969     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9970     ;;
9971   *)
9972     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9973     ;;
9974   esac
9975   # Ok, now we have the path, separated by spaces, we can step through it
9976   # and add multilib dir if necessary.
9977   lt_tmp_lt_search_path_spec=
9978   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9979   for lt_sys_path in $lt_search_path_spec; do
9980     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9981       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9982     else
9983       test -d "$lt_sys_path" && \
9984         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9985     fi
9986   done
9987   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9988 BEGIN {RS=" "; FS="/|\n";} {
9989   lt_foo="";
9990   lt_count=0;
9991   for (lt_i = NF; lt_i > 0; lt_i--) {
9992     if ($lt_i != "" && $lt_i != ".") {
9993       if ($lt_i == "..") {
9994         lt_count++;
9995       } else {
9996         if (lt_count == 0) {
9997           lt_foo="/" $lt_i lt_foo;
9998         } else {
9999           lt_count--;
10000         }
10001       }
10002     }
10003   }
10004   if (lt_foo != "") { lt_freq[lt_foo]++; }
10005   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10006 }'`
10007   # AWK program above erroneously prepends '/' to C:/dos/paths
10008   # for these hosts.
10009   case $host_os in
10010     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10011       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10012   esac
10013   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10014 else
10015   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10016 fi
10017 library_names_spec=
10018 libname_spec='lib$name'
10019 soname_spec=
10020 shrext_cmds=".so"
10021 postinstall_cmds=
10022 postuninstall_cmds=
10023 finish_cmds=
10024 finish_eval=
10025 shlibpath_var=
10026 shlibpath_overrides_runpath=unknown
10027 version_type=none
10028 dynamic_linker="$host_os ld.so"
10029 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10030 need_lib_prefix=unknown
10031 hardcode_into_libs=no
10032
10033 # when you set need_version to no, make sure it does not cause -set_version
10034 # flags to be left without arguments
10035 need_version=unknown
10036
10037 case $host_os in
10038 aix3*)
10039   version_type=linux # correct to gnu/linux during the next big refactor
10040   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10041   shlibpath_var=LIBPATH
10042
10043   # AIX 3 has no versioning support, so we append a major version to the name.
10044   soname_spec='${libname}${release}${shared_ext}$major'
10045   ;;
10046
10047 aix[4-9]*)
10048   version_type=linux # correct to gnu/linux during the next big refactor
10049   need_lib_prefix=no
10050   need_version=no
10051   hardcode_into_libs=yes
10052   if test "$host_cpu" = ia64; then
10053     # AIX 5 supports IA64
10054     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10055     shlibpath_var=LD_LIBRARY_PATH
10056   else
10057     # With GCC up to 2.95.x, collect2 would create an import file
10058     # for dependence libraries.  The import file would start with
10059     # the line `#! .'.  This would cause the generated library to
10060     # depend on `.', always an invalid library.  This was fixed in
10061     # development snapshots of GCC prior to 3.0.
10062     case $host_os in
10063       aix4 | aix4.[01] | aix4.[01].*)
10064       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10065            echo ' yes '
10066            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10067         :
10068       else
10069         can_build_shared=no
10070       fi
10071       ;;
10072     esac
10073     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10074     # soname into executable. Probably we can add versioning support to
10075     # collect2, so additional links can be useful in future.
10076     if test "$aix_use_runtimelinking" = yes; then
10077       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10078       # instead of lib<name>.a to let people know that these are not
10079       # typical AIX shared libraries.
10080       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10081     else
10082       # We preserve .a as extension for shared libraries through AIX4.2
10083       # and later when we are not doing run time linking.
10084       library_names_spec='${libname}${release}.a $libname.a'
10085       soname_spec='${libname}${release}${shared_ext}$major'
10086     fi
10087     shlibpath_var=LIBPATH
10088   fi
10089   ;;
10090
10091 amigaos*)
10092   case $host_cpu in
10093   powerpc)
10094     # Since July 2007 AmigaOS4 officially supports .so libraries.
10095     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10096     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10097     ;;
10098   m68k)
10099     library_names_spec='$libname.ixlibrary $libname.a'
10100     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10101     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'
10102     ;;
10103   esac
10104   ;;
10105
10106 beos*)
10107   library_names_spec='${libname}${shared_ext}'
10108   dynamic_linker="$host_os ld.so"
10109   shlibpath_var=LIBRARY_PATH
10110   ;;
10111
10112 bsdi[45]*)
10113   version_type=linux # correct to gnu/linux during the next big refactor
10114   need_version=no
10115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116   soname_spec='${libname}${release}${shared_ext}$major'
10117   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10118   shlibpath_var=LD_LIBRARY_PATH
10119   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10120   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10121   # the default ld.so.conf also contains /usr/contrib/lib and
10122   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10123   # libtool to hard-code these into programs
10124   ;;
10125
10126 cygwin* | mingw* | pw32* | cegcc*)
10127   version_type=windows
10128   shrext_cmds=".dll"
10129   need_version=no
10130   need_lib_prefix=no
10131
10132   case $GCC,$cc_basename in
10133   yes,*)
10134     # gcc
10135     library_names_spec='$libname.dll.a'
10136     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10137     postinstall_cmds='base_file=`basename \${file}`~
10138       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10139       dldir=$destdir/`dirname \$dlpath`~
10140       test -d \$dldir || mkdir -p \$dldir~
10141       $install_prog $dir/$dlname \$dldir/$dlname~
10142       chmod a+x \$dldir/$dlname~
10143       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10144         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10145       fi'
10146     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10147       dlpath=$dir/\$dldll~
10148        $RM \$dlpath'
10149     shlibpath_overrides_runpath=yes
10150
10151     case $host_os in
10152     cygwin*)
10153       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10154       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10155
10156       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10157       ;;
10158     mingw* | cegcc*)
10159       # MinGW DLLs use traditional 'lib' prefix
10160       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10161       ;;
10162     pw32*)
10163       # pw32 DLLs use 'pw' prefix rather than 'lib'
10164       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10165       ;;
10166     esac
10167     dynamic_linker='Win32 ld.exe'
10168     ;;
10169
10170   *,cl*)
10171     # Native MSVC
10172     libname_spec='$name'
10173     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10174     library_names_spec='${libname}.dll.lib'
10175
10176     case $build_os in
10177     mingw*)
10178       sys_lib_search_path_spec=
10179       lt_save_ifs=$IFS
10180       IFS=';'
10181       for lt_path in $LIB
10182       do
10183         IFS=$lt_save_ifs
10184         # Let DOS variable expansion print the short 8.3 style file name.
10185         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10186         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10187       done
10188       IFS=$lt_save_ifs
10189       # Convert to MSYS style.
10190       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10191       ;;
10192     cygwin*)
10193       # Convert to unix form, then to dos form, then back to unix form
10194       # but this time dos style (no spaces!) so that the unix form looks
10195       # like /cygdrive/c/PROGRA~1:/cygdr...
10196       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10197       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10198       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10199       ;;
10200     *)
10201       sys_lib_search_path_spec="$LIB"
10202       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10203         # It is most probably a Windows format PATH.
10204         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10205       else
10206         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10207       fi
10208       # FIXME: find the short name or the path components, as spaces are
10209       # common. (e.g. "Program Files" -> "PROGRA~1")
10210       ;;
10211     esac
10212
10213     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10214     postinstall_cmds='base_file=`basename \${file}`~
10215       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10216       dldir=$destdir/`dirname \$dlpath`~
10217       test -d \$dldir || mkdir -p \$dldir~
10218       $install_prog $dir/$dlname \$dldir/$dlname'
10219     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10220       dlpath=$dir/\$dldll~
10221        $RM \$dlpath'
10222     shlibpath_overrides_runpath=yes
10223     dynamic_linker='Win32 link.exe'
10224     ;;
10225
10226   *)
10227     # Assume MSVC wrapper
10228     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10229     dynamic_linker='Win32 ld.exe'
10230     ;;
10231   esac
10232   # FIXME: first we should search . and the directory the executable is in
10233   shlibpath_var=PATH
10234   ;;
10235
10236 darwin* | rhapsody*)
10237   dynamic_linker="$host_os dyld"
10238   version_type=darwin
10239   need_lib_prefix=no
10240   need_version=no
10241   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10242   soname_spec='${libname}${release}${major}$shared_ext'
10243   shlibpath_overrides_runpath=yes
10244   shlibpath_var=DYLD_LIBRARY_PATH
10245   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10246
10247   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10248   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10249   ;;
10250
10251 dgux*)
10252   version_type=linux # correct to gnu/linux during the next big refactor
10253   need_lib_prefix=no
10254   need_version=no
10255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10256   soname_spec='${libname}${release}${shared_ext}$major'
10257   shlibpath_var=LD_LIBRARY_PATH
10258   ;;
10259
10260 freebsd* | dragonfly*)
10261   # DragonFly does not have aout.  When/if they implement a new
10262   # versioning mechanism, adjust this.
10263   if test -x /usr/bin/objformat; then
10264     objformat=`/usr/bin/objformat`
10265   else
10266     case $host_os in
10267     freebsd[23].*) objformat=aout ;;
10268     *) objformat=elf ;;
10269     esac
10270   fi
10271   version_type=freebsd-$objformat
10272   case $version_type in
10273     freebsd-elf*)
10274       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10275       need_version=no
10276       need_lib_prefix=no
10277       ;;
10278     freebsd-*)
10279       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10280       need_version=yes
10281       ;;
10282   esac
10283   shlibpath_var=LD_LIBRARY_PATH
10284   case $host_os in
10285   freebsd2.*)
10286     shlibpath_overrides_runpath=yes
10287     ;;
10288   freebsd3.[01]* | freebsdelf3.[01]*)
10289     shlibpath_overrides_runpath=yes
10290     hardcode_into_libs=yes
10291     ;;
10292   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10293   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10294     shlibpath_overrides_runpath=no
10295     hardcode_into_libs=yes
10296     ;;
10297   *) # from 4.6 on, and DragonFly
10298     shlibpath_overrides_runpath=yes
10299     hardcode_into_libs=yes
10300     ;;
10301   esac
10302   ;;
10303
10304 gnu*)
10305   version_type=linux # correct to gnu/linux during the next big refactor
10306   need_lib_prefix=no
10307   need_version=no
10308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10309   soname_spec='${libname}${release}${shared_ext}$major'
10310   shlibpath_var=LD_LIBRARY_PATH
10311   shlibpath_overrides_runpath=no
10312   hardcode_into_libs=yes
10313   ;;
10314
10315 haiku*)
10316   version_type=linux # correct to gnu/linux during the next big refactor
10317   need_lib_prefix=no
10318   need_version=no
10319   dynamic_linker="$host_os runtime_loader"
10320   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10321   soname_spec='${libname}${release}${shared_ext}$major'
10322   shlibpath_var=LIBRARY_PATH
10323   shlibpath_overrides_runpath=yes
10324   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10325   hardcode_into_libs=yes
10326   ;;
10327
10328 hpux9* | hpux10* | hpux11*)
10329   # Give a soname corresponding to the major version so that dld.sl refuses to
10330   # link against other versions.
10331   version_type=sunos
10332   need_lib_prefix=no
10333   need_version=no
10334   case $host_cpu in
10335   ia64*)
10336     shrext_cmds='.so'
10337     hardcode_into_libs=yes
10338     dynamic_linker="$host_os dld.so"
10339     shlibpath_var=LD_LIBRARY_PATH
10340     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342     soname_spec='${libname}${release}${shared_ext}$major'
10343     if test "X$HPUX_IA64_MODE" = X32; then
10344       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10345     else
10346       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10347     fi
10348     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10349     ;;
10350   hppa*64*)
10351     shrext_cmds='.sl'
10352     hardcode_into_libs=yes
10353     dynamic_linker="$host_os dld.sl"
10354     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10355     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10356     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357     soname_spec='${libname}${release}${shared_ext}$major'
10358     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10359     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10360     ;;
10361   *)
10362     shrext_cmds='.sl'
10363     dynamic_linker="$host_os dld.sl"
10364     shlibpath_var=SHLIB_PATH
10365     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10366     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367     soname_spec='${libname}${release}${shared_ext}$major'
10368     ;;
10369   esac
10370   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10371   postinstall_cmds='chmod 555 $lib'
10372   # or fails outright, so override atomically:
10373   install_override_mode=555
10374   ;;
10375
10376 interix[3-9]*)
10377   version_type=linux # correct to gnu/linux during the next big refactor
10378   need_lib_prefix=no
10379   need_version=no
10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381   soname_spec='${libname}${release}${shared_ext}$major'
10382   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10383   shlibpath_var=LD_LIBRARY_PATH
10384   shlibpath_overrides_runpath=no
10385   hardcode_into_libs=yes
10386   ;;
10387
10388 irix5* | irix6* | nonstopux*)
10389   case $host_os in
10390     nonstopux*) version_type=nonstopux ;;
10391     *)
10392         if test "$lt_cv_prog_gnu_ld" = yes; then
10393                 version_type=linux # correct to gnu/linux during the next big refactor
10394         else
10395                 version_type=irix
10396         fi ;;
10397   esac
10398   need_lib_prefix=no
10399   need_version=no
10400   soname_spec='${libname}${release}${shared_ext}$major'
10401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10402   case $host_os in
10403   irix5* | nonstopux*)
10404     libsuff= shlibsuff=
10405     ;;
10406   *)
10407     case $LD in # libtool.m4 will add one of these switches to LD
10408     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10409       libsuff= shlibsuff= libmagic=32-bit;;
10410     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10411       libsuff=32 shlibsuff=N32 libmagic=N32;;
10412     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10413       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10414     *) libsuff= shlibsuff= libmagic=never-match;;
10415     esac
10416     ;;
10417   esac
10418   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10419   shlibpath_overrides_runpath=no
10420   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10421   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10422   hardcode_into_libs=yes
10423   ;;
10424
10425 # No shared lib support for Linux oldld, aout, or coff.
10426 linux*oldld* | linux*aout* | linux*coff*)
10427   dynamic_linker=no
10428   ;;
10429
10430 # This must be glibc/ELF.
10431 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10432   version_type=linux # correct to gnu/linux during the next big refactor
10433   need_lib_prefix=no
10434   need_version=no
10435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436   soname_spec='${libname}${release}${shared_ext}$major'
10437   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10438   shlibpath_var=LD_LIBRARY_PATH
10439   shlibpath_overrides_runpath=no
10440
10441   # Some binutils ld are patched to set DT_RUNPATH
10442   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10443   $as_echo_n "(cached) " >&6
10444 else
10445   lt_cv_shlibpath_overrides_runpath=no
10446     save_LDFLAGS=$LDFLAGS
10447     save_libdir=$libdir
10448     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10449          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10450     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h.  */
10452
10453 int
10454 main ()
10455 {
10456
10457   ;
10458   return 0;
10459 }
10460 _ACEOF
10461 if ac_fn_c_try_link "$LINENO"; then :
10462   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10463   lt_cv_shlibpath_overrides_runpath=yes
10464 fi
10465 fi
10466 rm -f core conftest.err conftest.$ac_objext \
10467     conftest$ac_exeext conftest.$ac_ext
10468     LDFLAGS=$save_LDFLAGS
10469     libdir=$save_libdir
10470
10471 fi
10472
10473   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10474
10475   # This implies no fast_install, which is unacceptable.
10476   # Some rework will be needed to allow for fast_install
10477   # before this can be enabled.
10478   hardcode_into_libs=yes
10479
10480   # Append ld.so.conf contents to the search path
10481   if test -f /etc/ld.so.conf; then
10482     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' ' '`
10483     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10484   fi
10485
10486   # We used to test for /lib/ld.so.1 and disable shared libraries on
10487   # powerpc, because MkLinux only supported shared libraries with the
10488   # GNU dynamic linker.  Since this was broken with cross compilers,
10489   # most powerpc-linux boxes support dynamic linking these days and
10490   # people can always --disable-shared, the test was removed, and we
10491   # assume the GNU/Linux dynamic linker is in use.
10492   dynamic_linker='GNU/Linux ld.so'
10493   ;;
10494
10495 netbsd*)
10496   version_type=sunos
10497   need_lib_prefix=no
10498   need_version=no
10499   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10501     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10502     dynamic_linker='NetBSD (a.out) ld.so'
10503   else
10504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10505     soname_spec='${libname}${release}${shared_ext}$major'
10506     dynamic_linker='NetBSD ld.elf_so'
10507   fi
10508   shlibpath_var=LD_LIBRARY_PATH
10509   shlibpath_overrides_runpath=yes
10510   hardcode_into_libs=yes
10511   ;;
10512
10513 newsos6)
10514   version_type=linux # correct to gnu/linux during the next big refactor
10515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516   shlibpath_var=LD_LIBRARY_PATH
10517   shlibpath_overrides_runpath=yes
10518   ;;
10519
10520 *nto* | *qnx*)
10521   version_type=qnx
10522   need_lib_prefix=no
10523   need_version=no
10524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525   soname_spec='${libname}${release}${shared_ext}$major'
10526   shlibpath_var=LD_LIBRARY_PATH
10527   shlibpath_overrides_runpath=no
10528   hardcode_into_libs=yes
10529   dynamic_linker='ldqnx.so'
10530   ;;
10531
10532 openbsd*)
10533   version_type=sunos
10534   sys_lib_dlsearch_path_spec="/usr/lib"
10535   need_lib_prefix=no
10536   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10537   case $host_os in
10538     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10539     *)                          need_version=no  ;;
10540   esac
10541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10542   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10543   shlibpath_var=LD_LIBRARY_PATH
10544   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10545     case $host_os in
10546       openbsd2.[89] | openbsd2.[89].*)
10547         shlibpath_overrides_runpath=no
10548         ;;
10549       *)
10550         shlibpath_overrides_runpath=yes
10551         ;;
10552       esac
10553   else
10554     shlibpath_overrides_runpath=yes
10555   fi
10556   ;;
10557
10558 os2*)
10559   libname_spec='$name'
10560   shrext_cmds=".dll"
10561   need_lib_prefix=no
10562   library_names_spec='$libname${shared_ext} $libname.a'
10563   dynamic_linker='OS/2 ld.exe'
10564   shlibpath_var=LIBPATH
10565   ;;
10566
10567 osf3* | osf4* | osf5*)
10568   version_type=osf
10569   need_lib_prefix=no
10570   need_version=no
10571   soname_spec='${libname}${release}${shared_ext}$major'
10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573   shlibpath_var=LD_LIBRARY_PATH
10574   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10575   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10576   ;;
10577
10578 rdos*)
10579   dynamic_linker=no
10580   ;;
10581
10582 solaris*)
10583   version_type=linux # correct to gnu/linux during the next big refactor
10584   need_lib_prefix=no
10585   need_version=no
10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587   soname_spec='${libname}${release}${shared_ext}$major'
10588   shlibpath_var=LD_LIBRARY_PATH
10589   shlibpath_overrides_runpath=yes
10590   hardcode_into_libs=yes
10591   # ldd complains unless libraries are executable
10592   postinstall_cmds='chmod +x $lib'
10593   ;;
10594
10595 sunos4*)
10596   version_type=sunos
10597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10598   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10599   shlibpath_var=LD_LIBRARY_PATH
10600   shlibpath_overrides_runpath=yes
10601   if test "$with_gnu_ld" = yes; then
10602     need_lib_prefix=no
10603   fi
10604   need_version=yes
10605   ;;
10606
10607 sysv4 | sysv4.3*)
10608   version_type=linux # correct to gnu/linux during the next big refactor
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   case $host_vendor in
10613     sni)
10614       shlibpath_overrides_runpath=no
10615       need_lib_prefix=no
10616       runpath_var=LD_RUN_PATH
10617       ;;
10618     siemens)
10619       need_lib_prefix=no
10620       ;;
10621     motorola)
10622       need_lib_prefix=no
10623       need_version=no
10624       shlibpath_overrides_runpath=no
10625       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10626       ;;
10627   esac
10628   ;;
10629
10630 sysv4*MP*)
10631   if test -d /usr/nec ;then
10632     version_type=linux # correct to gnu/linux during the next big refactor
10633     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10634     soname_spec='$libname${shared_ext}.$major'
10635     shlibpath_var=LD_LIBRARY_PATH
10636   fi
10637   ;;
10638
10639 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10640   version_type=freebsd-elf
10641   need_lib_prefix=no
10642   need_version=no
10643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10644   soname_spec='${libname}${release}${shared_ext}$major'
10645   shlibpath_var=LD_LIBRARY_PATH
10646   shlibpath_overrides_runpath=yes
10647   hardcode_into_libs=yes
10648   if test "$with_gnu_ld" = yes; then
10649     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10650   else
10651     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10652     case $host_os in
10653       sco3.2v5*)
10654         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10655         ;;
10656     esac
10657   fi
10658   sys_lib_dlsearch_path_spec='/usr/lib'
10659   ;;
10660
10661 tpf*)
10662   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10663   version_type=linux # correct to gnu/linux during the next big refactor
10664   need_lib_prefix=no
10665   need_version=no
10666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667   shlibpath_var=LD_LIBRARY_PATH
10668   shlibpath_overrides_runpath=no
10669   hardcode_into_libs=yes
10670   ;;
10671
10672 uts4*)
10673   version_type=linux # correct to gnu/linux during the next big refactor
10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675   soname_spec='${libname}${release}${shared_ext}$major'
10676   shlibpath_var=LD_LIBRARY_PATH
10677   ;;
10678
10679 *)
10680   dynamic_linker=no
10681   ;;
10682 esac
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10684 $as_echo "$dynamic_linker" >&6; }
10685 test "$dynamic_linker" = no && can_build_shared=no
10686
10687 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10688 if test "$GCC" = yes; then
10689   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10690 fi
10691
10692 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10693   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10694 fi
10695 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10696   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10697 fi
10698
10699
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10791 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10792 hardcode_action=
10793 if test -n "$hardcode_libdir_flag_spec" ||
10794    test -n "$runpath_var" ||
10795    test "X$hardcode_automatic" = "Xyes" ; then
10796
10797   # We can hardcode non-existent directories.
10798   if test "$hardcode_direct" != no &&
10799      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10800      # have to relink, otherwise we might link with an installed library
10801      # when we should be linking with a yet-to-be-installed one
10802      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10803      test "$hardcode_minus_L" != no; then
10804     # Linking always hardcodes the temporary library directory.
10805     hardcode_action=relink
10806   else
10807     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10808     hardcode_action=immediate
10809   fi
10810 else
10811   # We cannot hardcode anything, or else we can only hardcode existing
10812   # directories.
10813   hardcode_action=unsupported
10814 fi
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10816 $as_echo "$hardcode_action" >&6; }
10817
10818 if test "$hardcode_action" = relink ||
10819    test "$inherit_rpath" = yes; then
10820   # Fast installation is not supported
10821   enable_fast_install=no
10822 elif test "$shlibpath_overrides_runpath" = yes ||
10823      test "$enable_shared" = no; then
10824   # Fast installation is not necessary
10825   enable_fast_install=needless
10826 fi
10827
10828
10829
10830
10831
10832
10833   if test "x$enable_dlopen" != xyes; then
10834   enable_dlopen=unknown
10835   enable_dlopen_self=unknown
10836   enable_dlopen_self_static=unknown
10837 else
10838   lt_cv_dlopen=no
10839   lt_cv_dlopen_libs=
10840
10841   case $host_os in
10842   beos*)
10843     lt_cv_dlopen="load_add_on"
10844     lt_cv_dlopen_libs=
10845     lt_cv_dlopen_self=yes
10846     ;;
10847
10848   mingw* | pw32* | cegcc*)
10849     lt_cv_dlopen="LoadLibrary"
10850     lt_cv_dlopen_libs=
10851     ;;
10852
10853   cygwin*)
10854     lt_cv_dlopen="dlopen"
10855     lt_cv_dlopen_libs=
10856     ;;
10857
10858   darwin*)
10859   # if libdl is installed we need to link against it
10860     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10861 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10862 if ${ac_cv_lib_dl_dlopen+:} false; then :
10863   $as_echo_n "(cached) " >&6
10864 else
10865   ac_check_lib_save_LIBS=$LIBS
10866 LIBS="-ldl  $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h.  */
10869
10870 /* Override any GCC internal prototype to avoid an error.
10871    Use char because int might match the return type of a GCC
10872    builtin and then its argument prototype would still apply.  */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char dlopen ();
10877 int
10878 main ()
10879 {
10880 return dlopen ();
10881   ;
10882   return 0;
10883 }
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886   ac_cv_lib_dl_dlopen=yes
10887 else
10888   ac_cv_lib_dl_dlopen=no
10889 fi
10890 rm -f core conftest.err conftest.$ac_objext \
10891     conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10893 fi
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10895 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10896 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10897   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10898 else
10899
10900     lt_cv_dlopen="dyld"
10901     lt_cv_dlopen_libs=
10902     lt_cv_dlopen_self=yes
10903
10904 fi
10905
10906     ;;
10907
10908   *)
10909     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10910 if test "x$ac_cv_func_shl_load" = xyes; then :
10911   lt_cv_dlopen="shl_load"
10912 else
10913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10914 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10915 if ${ac_cv_lib_dld_shl_load+:} false; then :
10916   $as_echo_n "(cached) " >&6
10917 else
10918   ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-ldld  $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h.  */
10922
10923 /* Override any GCC internal prototype to avoid an error.
10924    Use char because int might match the return type of a GCC
10925    builtin and then its argument prototype would still apply.  */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char shl_load ();
10930 int
10931 main ()
10932 {
10933 return shl_load ();
10934   ;
10935   return 0;
10936 }
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939   ac_cv_lib_dld_shl_load=yes
10940 else
10941   ac_cv_lib_dld_shl_load=no
10942 fi
10943 rm -f core conftest.err conftest.$ac_objext \
10944     conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10946 fi
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10948 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10949 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10950   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10951 else
10952   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10953 if test "x$ac_cv_func_dlopen" = xyes; then :
10954   lt_cv_dlopen="dlopen"
10955 else
10956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10957 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10958 if ${ac_cv_lib_dl_dlopen+:} false; then :
10959   $as_echo_n "(cached) " >&6
10960 else
10961   ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-ldl  $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h.  */
10965
10966 /* Override any GCC internal prototype to avoid an error.
10967    Use char because int might match the return type of a GCC
10968    builtin and then its argument prototype would still apply.  */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char dlopen ();
10973 int
10974 main ()
10975 {
10976 return dlopen ();
10977   ;
10978   return 0;
10979 }
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982   ac_cv_lib_dl_dlopen=yes
10983 else
10984   ac_cv_lib_dl_dlopen=no
10985 fi
10986 rm -f core conftest.err conftest.$ac_objext \
10987     conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10989 fi
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10992 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10993   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10994 else
10995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10996 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10997 if ${ac_cv_lib_svld_dlopen+:} false; then :
10998   $as_echo_n "(cached) " >&6
10999 else
11000   ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-lsvld  $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h.  */
11004
11005 /* Override any GCC internal prototype to avoid an error.
11006    Use char because int might match the return type of a GCC
11007    builtin and then its argument prototype would still apply.  */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char dlopen ();
11012 int
11013 main ()
11014 {
11015 return dlopen ();
11016   ;
11017   return 0;
11018 }
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021   ac_cv_lib_svld_dlopen=yes
11022 else
11023   ac_cv_lib_svld_dlopen=no
11024 fi
11025 rm -f core conftest.err conftest.$ac_objext \
11026     conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11028 fi
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11030 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11031 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11032   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11033 else
11034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11035 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11036 if ${ac_cv_lib_dld_dld_link+:} false; then :
11037   $as_echo_n "(cached) " >&6
11038 else
11039   ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-ldld  $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h.  */
11043
11044 /* Override any GCC internal prototype to avoid an error.
11045    Use char because int might match the return type of a GCC
11046    builtin and then its argument prototype would still apply.  */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char dld_link ();
11051 int
11052 main ()
11053 {
11054 return dld_link ();
11055   ;
11056   return 0;
11057 }
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060   ac_cv_lib_dld_dld_link=yes
11061 else
11062   ac_cv_lib_dld_dld_link=no
11063 fi
11064 rm -f core conftest.err conftest.$ac_objext \
11065     conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11067 fi
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11069 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11070 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11071   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11072 fi
11073
11074
11075 fi
11076
11077
11078 fi
11079
11080
11081 fi
11082
11083
11084 fi
11085
11086
11087 fi
11088
11089     ;;
11090   esac
11091
11092   if test "x$lt_cv_dlopen" != xno; then
11093     enable_dlopen=yes
11094   else
11095     enable_dlopen=no
11096   fi
11097
11098   case $lt_cv_dlopen in
11099   dlopen)
11100     save_CPPFLAGS="$CPPFLAGS"
11101     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11102
11103     save_LDFLAGS="$LDFLAGS"
11104     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11105
11106     save_LIBS="$LIBS"
11107     LIBS="$lt_cv_dlopen_libs $LIBS"
11108
11109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11110 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11111 if ${lt_cv_dlopen_self+:} false; then :
11112   $as_echo_n "(cached) " >&6
11113 else
11114           if test "$cross_compiling" = yes; then :
11115   lt_cv_dlopen_self=cross
11116 else
11117   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11118   lt_status=$lt_dlunknown
11119   cat > conftest.$ac_ext <<_LT_EOF
11120 #line $LINENO "configure"
11121 #include "confdefs.h"
11122
11123 #if HAVE_DLFCN_H
11124 #include <dlfcn.h>
11125 #endif
11126
11127 #include <stdio.h>
11128
11129 #ifdef RTLD_GLOBAL
11130 #  define LT_DLGLOBAL           RTLD_GLOBAL
11131 #else
11132 #  ifdef DL_GLOBAL
11133 #    define LT_DLGLOBAL         DL_GLOBAL
11134 #  else
11135 #    define LT_DLGLOBAL         0
11136 #  endif
11137 #endif
11138
11139 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11140    find out it does not work in some platform. */
11141 #ifndef LT_DLLAZY_OR_NOW
11142 #  ifdef RTLD_LAZY
11143 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11144 #  else
11145 #    ifdef DL_LAZY
11146 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11147 #    else
11148 #      ifdef RTLD_NOW
11149 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11150 #      else
11151 #        ifdef DL_NOW
11152 #          define LT_DLLAZY_OR_NOW      DL_NOW
11153 #        else
11154 #          define LT_DLLAZY_OR_NOW      0
11155 #        endif
11156 #      endif
11157 #    endif
11158 #  endif
11159 #endif
11160
11161 /* When -fvisbility=hidden is used, assume the code has been annotated
11162    correspondingly for the symbols needed.  */
11163 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11164 int fnord () __attribute__((visibility("default")));
11165 #endif
11166
11167 int fnord () { return 42; }
11168 int main ()
11169 {
11170   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11171   int status = $lt_dlunknown;
11172
11173   if (self)
11174     {
11175       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11176       else
11177         {
11178           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11179           else puts (dlerror ());
11180         }
11181       /* dlclose (self); */
11182     }
11183   else
11184     puts (dlerror ());
11185
11186   return status;
11187 }
11188 _LT_EOF
11189   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11190   (eval $ac_link) 2>&5
11191   ac_status=$?
11192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11193   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11194     (./conftest; exit; ) >&5 2>/dev/null
11195     lt_status=$?
11196     case x$lt_status in
11197       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11198       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11199       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11200     esac
11201   else :
11202     # compilation failed
11203     lt_cv_dlopen_self=no
11204   fi
11205 fi
11206 rm -fr conftest*
11207
11208
11209 fi
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11211 $as_echo "$lt_cv_dlopen_self" >&6; }
11212
11213     if test "x$lt_cv_dlopen_self" = xyes; then
11214       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11215       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11216 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11217 if ${lt_cv_dlopen_self_static+:} false; then :
11218   $as_echo_n "(cached) " >&6
11219 else
11220           if test "$cross_compiling" = yes; then :
11221   lt_cv_dlopen_self_static=cross
11222 else
11223   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11224   lt_status=$lt_dlunknown
11225   cat > conftest.$ac_ext <<_LT_EOF
11226 #line $LINENO "configure"
11227 #include "confdefs.h"
11228
11229 #if HAVE_DLFCN_H
11230 #include <dlfcn.h>
11231 #endif
11232
11233 #include <stdio.h>
11234
11235 #ifdef RTLD_GLOBAL
11236 #  define LT_DLGLOBAL           RTLD_GLOBAL
11237 #else
11238 #  ifdef DL_GLOBAL
11239 #    define LT_DLGLOBAL         DL_GLOBAL
11240 #  else
11241 #    define LT_DLGLOBAL         0
11242 #  endif
11243 #endif
11244
11245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246    find out it does not work in some platform. */
11247 #ifndef LT_DLLAZY_OR_NOW
11248 #  ifdef RTLD_LAZY
11249 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11250 #  else
11251 #    ifdef DL_LAZY
11252 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11253 #    else
11254 #      ifdef RTLD_NOW
11255 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11256 #      else
11257 #        ifdef DL_NOW
11258 #          define LT_DLLAZY_OR_NOW      DL_NOW
11259 #        else
11260 #          define LT_DLLAZY_OR_NOW      0
11261 #        endif
11262 #      endif
11263 #    endif
11264 #  endif
11265 #endif
11266
11267 /* When -fvisbility=hidden is used, assume the code has been annotated
11268    correspondingly for the symbols needed.  */
11269 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11270 int fnord () __attribute__((visibility("default")));
11271 #endif
11272
11273 int fnord () { return 42; }
11274 int main ()
11275 {
11276   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11277   int status = $lt_dlunknown;
11278
11279   if (self)
11280     {
11281       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11282       else
11283         {
11284           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11285           else puts (dlerror ());
11286         }
11287       /* dlclose (self); */
11288     }
11289   else
11290     puts (dlerror ());
11291
11292   return status;
11293 }
11294 _LT_EOF
11295   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11296   (eval $ac_link) 2>&5
11297   ac_status=$?
11298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11300     (./conftest; exit; ) >&5 2>/dev/null
11301     lt_status=$?
11302     case x$lt_status in
11303       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11304       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11305       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11306     esac
11307   else :
11308     # compilation failed
11309     lt_cv_dlopen_self_static=no
11310   fi
11311 fi
11312 rm -fr conftest*
11313
11314
11315 fi
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11317 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11318     fi
11319
11320     CPPFLAGS="$save_CPPFLAGS"
11321     LDFLAGS="$save_LDFLAGS"
11322     LIBS="$save_LIBS"
11323     ;;
11324   esac
11325
11326   case $lt_cv_dlopen_self in
11327   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11328   *) enable_dlopen_self=unknown ;;
11329   esac
11330
11331   case $lt_cv_dlopen_self_static in
11332   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11333   *) enable_dlopen_self_static=unknown ;;
11334   esac
11335 fi
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353 striplib=
11354 old_striplib=
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11356 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11357 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11358   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11359   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11361 $as_echo "yes" >&6; }
11362 else
11363 # FIXME - insert some real tests, host_os isn't really good enough
11364   case $host_os in
11365   darwin*)
11366     if test -n "$STRIP" ; then
11367       striplib="$STRIP -x"
11368       old_striplib="$STRIP -S"
11369       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11370 $as_echo "yes" >&6; }
11371     else
11372       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 $as_echo "no" >&6; }
11374     fi
11375     ;;
11376   *)
11377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378 $as_echo "no" >&6; }
11379     ;;
11380   esac
11381 fi
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394   # Report which library types will actually be built
11395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11396 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11398 $as_echo "$can_build_shared" >&6; }
11399
11400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11401 $as_echo_n "checking whether to build shared libraries... " >&6; }
11402   test "$can_build_shared" = "no" && enable_shared=no
11403
11404   # On AIX, shared libraries and static libraries use the same namespace, and
11405   # are all built from PIC.
11406   case $host_os in
11407   aix3*)
11408     test "$enable_shared" = yes && enable_static=no
11409     if test -n "$RANLIB"; then
11410       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11411       postinstall_cmds='$RANLIB $lib'
11412     fi
11413     ;;
11414
11415   aix[4-9]*)
11416     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11417       test "$enable_shared" = yes && enable_static=no
11418     fi
11419     ;;
11420   esac
11421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11422 $as_echo "$enable_shared" >&6; }
11423
11424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11425 $as_echo_n "checking whether to build static libraries... " >&6; }
11426   # Make sure either enable_shared or enable_static is yes.
11427   test "$enable_shared" = yes || enable_static=yes
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11429 $as_echo "$enable_static" >&6; }
11430
11431
11432
11433
11434 fi
11435 ac_ext=c
11436 ac_cpp='$CPP $CPPFLAGS'
11437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11440
11441 CC="$lt_save_CC"
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457         ac_config_commands="$ac_config_commands libtool"
11458
11459
11460
11461
11462 # Only expand once:
11463
11464
11465
11466
11467 ## ------------------------------- ##
11468 ## depdemo specific configuration. ##
11469 ## ------------------------------- ##
11470 STATIC="\`${CONFIG_SHELL} ./libtool --features | ${SED} -n -e '/enable static/s/^.*\$\$/-static/p'\`"
11471
11472
11473 ## ------------------------------ ##
11474 ## Libraries required by depdemo. ##
11475 ## ------------------------------ ##
11476 LIBM=
11477 case $host in
11478 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
11479   # These system don't have libm, or don't need it
11480   ;;
11481 *-ncr-sysv4.3*)
11482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
11483 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
11484 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
11485   $as_echo_n "(cached) " >&6
11486 else
11487   ac_check_lib_save_LIBS=$LIBS
11488 LIBS="-lmw  $LIBS"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h.  */
11491
11492 /* Override any GCC internal prototype to avoid an error.
11493    Use char because int might match the return type of a GCC
11494    builtin and then its argument prototype would still apply.  */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char _mwvalidcheckl ();
11499 int
11500 main ()
11501 {
11502 return _mwvalidcheckl ();
11503   ;
11504   return 0;
11505 }
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508   ac_cv_lib_mw__mwvalidcheckl=yes
11509 else
11510   ac_cv_lib_mw__mwvalidcheckl=no
11511 fi
11512 rm -f core conftest.err conftest.$ac_objext \
11513     conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11515 fi
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
11517 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
11518 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
11519   LIBM="-lmw"
11520 fi
11521
11522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11523 $as_echo_n "checking for cos in -lm... " >&6; }
11524 if ${ac_cv_lib_m_cos+:} false; then :
11525   $as_echo_n "(cached) " >&6
11526 else
11527   ac_check_lib_save_LIBS=$LIBS
11528 LIBS="-lm  $LIBS"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h.  */
11531
11532 /* Override any GCC internal prototype to avoid an error.
11533    Use char because int might match the return type of a GCC
11534    builtin and then its argument prototype would still apply.  */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char cos ();
11539 int
11540 main ()
11541 {
11542 return cos ();
11543   ;
11544   return 0;
11545 }
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548   ac_cv_lib_m_cos=yes
11549 else
11550   ac_cv_lib_m_cos=no
11551 fi
11552 rm -f core conftest.err conftest.$ac_objext \
11553     conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11555 fi
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11557 $as_echo "$ac_cv_lib_m_cos" >&6; }
11558 if test "x$ac_cv_lib_m_cos" = xyes; then :
11559   LIBM="$LIBM -lm"
11560 fi
11561
11562   ;;
11563 *)
11564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11565 $as_echo_n "checking for cos in -lm... " >&6; }
11566 if ${ac_cv_lib_m_cos+:} false; then :
11567   $as_echo_n "(cached) " >&6
11568 else
11569   ac_check_lib_save_LIBS=$LIBS
11570 LIBS="-lm  $LIBS"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h.  */
11573
11574 /* Override any GCC internal prototype to avoid an error.
11575    Use char because int might match the return type of a GCC
11576    builtin and then its argument prototype would still apply.  */
11577 #ifdef __cplusplus
11578 extern "C"
11579 #endif
11580 char cos ();
11581 int
11582 main ()
11583 {
11584 return cos ();
11585   ;
11586   return 0;
11587 }
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"; then :
11590   ac_cv_lib_m_cos=yes
11591 else
11592   ac_cv_lib_m_cos=no
11593 fi
11594 rm -f core conftest.err conftest.$ac_objext \
11595     conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11597 fi
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11599 $as_echo "$ac_cv_lib_m_cos" >&6; }
11600 if test "x$ac_cv_lib_m_cos" = xyes; then :
11601   LIBM="-lm"
11602 fi
11603
11604   ;;
11605 esac
11606
11607
11608
11609
11610 ## -------- ##
11611 ## Outputs. ##
11612 ## -------- ##
11613 ac_config_files="$ac_config_files Makefile l1/Makefile l2/Makefile l3/Makefile l4/Makefile"
11614
11615 cat >confcache <<\_ACEOF
11616 # This file is a shell script that caches the results of configure
11617 # tests run on this system so they can be shared between configure
11618 # scripts and configure runs, see configure's option --config-cache.
11619 # It is not useful on other systems.  If it contains results you don't
11620 # want to keep, you may remove or edit it.
11621 #
11622 # config.status only pays attention to the cache file if you give it
11623 # the --recheck option to rerun configure.
11624 #
11625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11627 # following values.
11628
11629 _ACEOF
11630
11631 # The following way of writing the cache mishandles newlines in values,
11632 # but we know of no workaround that is simple, portable, and efficient.
11633 # So, we kill variables containing newlines.
11634 # Ultrix sh set writes to stderr and can't be redirected directly,
11635 # and sets the high bit in the cache file unless we assign to the vars.
11636 (
11637   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11638     eval ac_val=\$$ac_var
11639     case $ac_val in #(
11640     *${as_nl}*)
11641       case $ac_var in #(
11642       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11644       esac
11645       case $ac_var in #(
11646       _ | IFS | as_nl) ;; #(
11647       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11648       *) { eval $ac_var=; unset $ac_var;} ;;
11649       esac ;;
11650     esac
11651   done
11652
11653   (set) 2>&1 |
11654     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11655     *${as_nl}ac_space=\ *)
11656       # `set' does not quote correctly, so add quotes: double-quote
11657       # substitution turns \\\\ into \\, and sed turns \\ into \.
11658       sed -n \
11659         "s/'/'\\\\''/g;
11660           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11661       ;; #(
11662     *)
11663       # `set' quotes correctly as required by POSIX, so do not add quotes.
11664       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11665       ;;
11666     esac |
11667     sort
11668 ) |
11669   sed '
11670      /^ac_cv_env_/b end
11671      t clear
11672      :clear
11673      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11674      t end
11675      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11676      :end' >>confcache
11677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11678   if test -w "$cache_file"; then
11679     if test "x$cache_file" != "x/dev/null"; then
11680       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11681 $as_echo "$as_me: updating cache $cache_file" >&6;}
11682       if test ! -f "$cache_file" || test -h "$cache_file"; then
11683         cat confcache >"$cache_file"
11684       else
11685         case $cache_file in #(
11686         */* | ?:*)
11687           mv -f confcache "$cache_file"$$ &&
11688           mv -f "$cache_file"$$ "$cache_file" ;; #(
11689         *)
11690           mv -f confcache "$cache_file" ;;
11691         esac
11692       fi
11693     fi
11694   else
11695     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11696 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11697   fi
11698 fi
11699 rm -f confcache
11700
11701 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11702 # Let make expand exec_prefix.
11703 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11704
11705 # Transform confdefs.h into DEFS.
11706 # Protect against shell expansion while executing Makefile rules.
11707 # Protect against Makefile macro expansion.
11708 #
11709 # If the first sed substitution is executed (which looks for macros that
11710 # take arguments), then branch to the quote section.  Otherwise,
11711 # look for a macro that doesn't take arguments.
11712 ac_script='
11713 :mline
11714 /\\$/{
11715  N
11716  s,\\\n,,
11717  b mline
11718 }
11719 t clear
11720 :clear
11721 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
11722 t quote
11723 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
11724 t quote
11725 b any
11726 :quote
11727 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11728 s/\[/\\&/g
11729 s/\]/\\&/g
11730 s/\$/$$/g
11731 H
11732 :any
11733 ${
11734         g
11735         s/^\n//
11736         s/\n/ /g
11737         p
11738 }
11739 '
11740 DEFS=`sed -n "$ac_script" confdefs.h`
11741
11742
11743 ac_libobjs=
11744 ac_ltlibobjs=
11745 U=
11746 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11747   # 1. Remove the extension, and $U if already installed.
11748   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11749   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11750   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11751   #    will be set to the directory where LIBOBJS objects are built.
11752   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11753   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11754 done
11755 LIBOBJS=$ac_libobjs
11756
11757 LTLIBOBJS=$ac_ltlibobjs
11758
11759
11760  if test -n "$EXEEXT"; then
11761   am__EXEEXT_TRUE=
11762   am__EXEEXT_FALSE='#'
11763 else
11764   am__EXEEXT_TRUE='#'
11765   am__EXEEXT_FALSE=
11766 fi
11767
11768 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11769   as_fn_error $? "conditional \"AMDEP\" was never defined.
11770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11771 fi
11772 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11773   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11775 fi
11776
11777 : "${CONFIG_STATUS=./config.status}"
11778 ac_write_fail=0
11779 ac_clean_files_save=$ac_clean_files
11780 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11782 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11783 as_write_fail=0
11784 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11785 #! $SHELL
11786 # Generated by $as_me.
11787 # Run this file to recreate the current configuration.
11788 # Compiler output produced by configure, useful for debugging
11789 # configure, is in config.log if it exists.
11790
11791 debug=false
11792 ac_cs_recheck=false
11793 ac_cs_silent=false
11794
11795 SHELL=\${CONFIG_SHELL-$SHELL}
11796 export SHELL
11797 _ASEOF
11798 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11799 ## -------------------- ##
11800 ## M4sh Initialization. ##
11801 ## -------------------- ##
11802
11803 # Be more Bourne compatible
11804 DUALCASE=1; export DUALCASE # for MKS sh
11805 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11806   emulate sh
11807   NULLCMD=:
11808   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11809   # is contrary to our usage.  Disable this feature.
11810   alias -g '${1+"$@"}'='"$@"'
11811   setopt NO_GLOB_SUBST
11812 else
11813   case `(set -o) 2>/dev/null` in #(
11814   *posix*) :
11815     set -o posix ;; #(
11816   *) :
11817      ;;
11818 esac
11819 fi
11820
11821
11822 as_nl='
11823 '
11824 export as_nl
11825 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11826 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11827 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11828 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11829 # Prefer a ksh shell builtin over an external printf program on Solaris,
11830 # but without wasting forks for bash or zsh.
11831 if test -z "$BASH_VERSION$ZSH_VERSION" \
11832     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11833   as_echo='print -r --'
11834   as_echo_n='print -rn --'
11835 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11836   as_echo='printf %s\n'
11837   as_echo_n='printf %s'
11838 else
11839   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11840     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11841     as_echo_n='/usr/ucb/echo -n'
11842   else
11843     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11844     as_echo_n_body='eval
11845       arg=$1;
11846       case $arg in #(
11847       *"$as_nl"*)
11848         expr "X$arg" : "X\\(.*\\)$as_nl";
11849         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11850       esac;
11851       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11852     '
11853     export as_echo_n_body
11854     as_echo_n='sh -c $as_echo_n_body as_echo'
11855   fi
11856   export as_echo_body
11857   as_echo='sh -c $as_echo_body as_echo'
11858 fi
11859
11860 # The user is always right.
11861 if test "${PATH_SEPARATOR+set}" != set; then
11862   PATH_SEPARATOR=:
11863   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11864     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11865       PATH_SEPARATOR=';'
11866   }
11867 fi
11868
11869
11870 # IFS
11871 # We need space, tab and new line, in precisely that order.  Quoting is
11872 # there to prevent editors from complaining about space-tab.
11873 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11874 # splitting by setting IFS to empty value.)
11875 IFS=" ""        $as_nl"
11876
11877 # Find who we are.  Look in the path if we contain no directory separator.
11878 as_myself=
11879 case $0 in #((
11880   *[\\/]* ) as_myself=$0 ;;
11881   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882 for as_dir in $PATH
11883 do
11884   IFS=$as_save_IFS
11885   test -z "$as_dir" && as_dir=.
11886     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11887   done
11888 IFS=$as_save_IFS
11889
11890      ;;
11891 esac
11892 # We did not find ourselves, most probably we were run as `sh COMMAND'
11893 # in which case we are not to be found in the path.
11894 if test "x$as_myself" = x; then
11895   as_myself=$0
11896 fi
11897 if test ! -f "$as_myself"; then
11898   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11899   exit 1
11900 fi
11901
11902 # Unset variables that we do not need and which cause bugs (e.g. in
11903 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11904 # suppresses any "Segmentation fault" message there.  '((' could
11905 # trigger a bug in pdksh 5.2.14.
11906 for as_var in BASH_ENV ENV MAIL MAILPATH
11907 do eval test x\${$as_var+set} = xset \
11908   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11909 done
11910 PS1='$ '
11911 PS2='> '
11912 PS4='+ '
11913
11914 # NLS nuisances.
11915 LC_ALL=C
11916 export LC_ALL
11917 LANGUAGE=C
11918 export LANGUAGE
11919
11920 # CDPATH.
11921 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11922
11923
11924 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11925 # ----------------------------------------
11926 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11927 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11928 # script with STATUS, using 1 if that was 0.
11929 as_fn_error ()
11930 {
11931   as_status=$1; test $as_status -eq 0 && as_status=1
11932   if test "$4"; then
11933     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11934     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11935   fi
11936   $as_echo "$as_me: error: $2" >&2
11937   as_fn_exit $as_status
11938 } # as_fn_error
11939
11940
11941 # as_fn_set_status STATUS
11942 # -----------------------
11943 # Set $? to STATUS, without forking.
11944 as_fn_set_status ()
11945 {
11946   return $1
11947 } # as_fn_set_status
11948
11949 # as_fn_exit STATUS
11950 # -----------------
11951 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11952 as_fn_exit ()
11953 {
11954   set +e
11955   as_fn_set_status $1
11956   exit $1
11957 } # as_fn_exit
11958
11959 # as_fn_unset VAR
11960 # ---------------
11961 # Portably unset VAR.
11962 as_fn_unset ()
11963 {
11964   { eval $1=; unset $1;}
11965 }
11966 as_unset=as_fn_unset
11967 # as_fn_append VAR VALUE
11968 # ----------------------
11969 # Append the text in VALUE to the end of the definition contained in VAR. Take
11970 # advantage of any shell optimizations that allow amortized linear growth over
11971 # repeated appends, instead of the typical quadratic growth present in naive
11972 # implementations.
11973 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11974   eval 'as_fn_append ()
11975   {
11976     eval $1+=\$2
11977   }'
11978 else
11979   as_fn_append ()
11980   {
11981     eval $1=\$$1\$2
11982   }
11983 fi # as_fn_append
11984
11985 # as_fn_arith ARG...
11986 # ------------------
11987 # Perform arithmetic evaluation on the ARGs, and store the result in the
11988 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11989 # must be portable across $(()) and expr.
11990 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11991   eval 'as_fn_arith ()
11992   {
11993     as_val=$(( $* ))
11994   }'
11995 else
11996   as_fn_arith ()
11997   {
11998     as_val=`expr "$@" || test $? -eq 1`
11999   }
12000 fi # as_fn_arith
12001
12002
12003 if expr a : '\(a\)' >/dev/null 2>&1 &&
12004    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12005   as_expr=expr
12006 else
12007   as_expr=false
12008 fi
12009
12010 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12011   as_basename=basename
12012 else
12013   as_basename=false
12014 fi
12015
12016 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12017   as_dirname=dirname
12018 else
12019   as_dirname=false
12020 fi
12021
12022 as_me=`$as_basename -- "$0" ||
12023 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12024          X"$0" : 'X\(//\)$' \| \
12025          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12026 $as_echo X/"$0" |
12027     sed '/^.*\/\([^/][^/]*\)\/*$/{
12028             s//\1/
12029             q
12030           }
12031           /^X\/\(\/\/\)$/{
12032             s//\1/
12033             q
12034           }
12035           /^X\/\(\/\).*/{
12036             s//\1/
12037             q
12038           }
12039           s/.*/./; q'`
12040
12041 # Avoid depending upon Character Ranges.
12042 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12043 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12044 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12045 as_cr_digits='0123456789'
12046 as_cr_alnum=$as_cr_Letters$as_cr_digits
12047
12048 ECHO_C= ECHO_N= ECHO_T=
12049 case `echo -n x` in #(((((
12050 -n*)
12051   case `echo 'xy\c'` in
12052   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12053   xy)  ECHO_C='\c';;
12054   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12055        ECHO_T=' ';;
12056   esac;;
12057 *)
12058   ECHO_N='-n';;
12059 esac
12060
12061 rm -f conf$$ conf$$.exe conf$$.file
12062 if test -d conf$$.dir; then
12063   rm -f conf$$.dir/conf$$.file
12064 else
12065   rm -f conf$$.dir
12066   mkdir conf$$.dir 2>/dev/null
12067 fi
12068 if (echo >conf$$.file) 2>/dev/null; then
12069   if ln -s conf$$.file conf$$ 2>/dev/null; then
12070     as_ln_s='ln -s'
12071     # ... but there are two gotchas:
12072     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12073     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12074     # In both cases, we have to default to `cp -p'.
12075     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12076       as_ln_s='cp -p'
12077   elif ln conf$$.file conf$$ 2>/dev/null; then
12078     as_ln_s=ln
12079   else
12080     as_ln_s='cp -p'
12081   fi
12082 else
12083   as_ln_s='cp -p'
12084 fi
12085 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12086 rmdir conf$$.dir 2>/dev/null
12087
12088
12089 # as_fn_mkdir_p
12090 # -------------
12091 # Create "$as_dir" as a directory, including parents if necessary.
12092 as_fn_mkdir_p ()
12093 {
12094
12095   case $as_dir in #(
12096   -*) as_dir=./$as_dir;;
12097   esac
12098   test -d "$as_dir" || eval $as_mkdir_p || {
12099     as_dirs=
12100     while :; do
12101       case $as_dir in #(
12102       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12103       *) as_qdir=$as_dir;;
12104       esac
12105       as_dirs="'$as_qdir' $as_dirs"
12106       as_dir=`$as_dirname -- "$as_dir" ||
12107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12108          X"$as_dir" : 'X\(//\)[^/]' \| \
12109          X"$as_dir" : 'X\(//\)$' \| \
12110          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12111 $as_echo X"$as_dir" |
12112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12113             s//\1/
12114             q
12115           }
12116           /^X\(\/\/\)[^/].*/{
12117             s//\1/
12118             q
12119           }
12120           /^X\(\/\/\)$/{
12121             s//\1/
12122             q
12123           }
12124           /^X\(\/\).*/{
12125             s//\1/
12126             q
12127           }
12128           s/.*/./; q'`
12129       test -d "$as_dir" && break
12130     done
12131     test -z "$as_dirs" || eval "mkdir $as_dirs"
12132   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12133
12134
12135 } # as_fn_mkdir_p
12136 if mkdir -p . 2>/dev/null; then
12137   as_mkdir_p='mkdir -p "$as_dir"'
12138 else
12139   test -d ./-p && rmdir ./-p
12140   as_mkdir_p=false
12141 fi
12142
12143 if test -x / >/dev/null 2>&1; then
12144   as_test_x='test -x'
12145 else
12146   if ls -dL / >/dev/null 2>&1; then
12147     as_ls_L_option=L
12148   else
12149     as_ls_L_option=
12150   fi
12151   as_test_x='
12152     eval sh -c '\''
12153       if test -d "$1"; then
12154         test -d "$1/.";
12155       else
12156         case $1 in #(
12157         -*)set "./$1";;
12158         esac;
12159         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12160         ???[sx]*):;;*)false;;esac;fi
12161     '\'' sh
12162   '
12163 fi
12164 as_executable_p=$as_test_x
12165
12166 # Sed expression to map a string onto a valid CPP name.
12167 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12168
12169 # Sed expression to map a string onto a valid variable name.
12170 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12171
12172
12173 exec 6>&1
12174 ## ----------------------------------- ##
12175 ## Main body of $CONFIG_STATUS script. ##
12176 ## ----------------------------------- ##
12177 _ASEOF
12178 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12179
12180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12181 # Save the log message, to keep $0 and so on meaningful, and to
12182 # report actual input values of CONFIG_FILES etc. instead of their
12183 # values after options handling.
12184 ac_log="
12185 This file was extended by depdemo $as_me 1.0, which was
12186 generated by GNU Autoconf 2.68.  Invocation command line was
12187
12188   CONFIG_FILES    = $CONFIG_FILES
12189   CONFIG_HEADERS  = $CONFIG_HEADERS
12190   CONFIG_LINKS    = $CONFIG_LINKS
12191   CONFIG_COMMANDS = $CONFIG_COMMANDS
12192   $ $0 $@
12193
12194 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12195 "
12196
12197 _ACEOF
12198
12199 case $ac_config_files in *"
12200 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12201 esac
12202
12203
12204
12205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12206 # Files that config.status was made for.
12207 config_files="$ac_config_files"
12208 config_commands="$ac_config_commands"
12209
12210 _ACEOF
12211
12212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12213 ac_cs_usage="\
12214 \`$as_me' instantiates files and other configuration actions
12215 from templates according to the current configuration.  Unless the files
12216 and actions are specified as TAGs, all are instantiated by default.
12217
12218 Usage: $0 [OPTION]... [TAG]...
12219
12220   -h, --help       print this help, then exit
12221   -V, --version    print version number and configuration settings, then exit
12222       --config     print configuration, then exit
12223   -q, --quiet, --silent
12224                    do not print progress messages
12225   -d, --debug      don't remove temporary files
12226       --recheck    update $as_me by reconfiguring in the same conditions
12227       --file=FILE[:TEMPLATE]
12228                    instantiate the configuration file FILE
12229
12230 Configuration files:
12231 $config_files
12232
12233 Configuration commands:
12234 $config_commands
12235
12236 Report bugs to <bug-libtool@gnu.org>."
12237
12238 _ACEOF
12239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12240 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12241 ac_cs_version="\\
12242 depdemo config.status 1.0
12243 configured by $0, generated by GNU Autoconf 2.68,
12244   with options \\"\$ac_cs_config\\"
12245
12246 Copyright (C) 2010 Free Software Foundation, Inc.
12247 This config.status script is free software; the Free Software Foundation
12248 gives unlimited permission to copy, distribute and modify it."
12249
12250 ac_pwd='$ac_pwd'
12251 srcdir='$srcdir'
12252 INSTALL='$INSTALL'
12253 MKDIR_P='$MKDIR_P'
12254 AWK='$AWK'
12255 test -n "\$AWK" || AWK=awk
12256 _ACEOF
12257
12258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12259 # The default lists apply if the user does not specify any file.
12260 ac_need_defaults=:
12261 while test $# != 0
12262 do
12263   case $1 in
12264   --*=?*)
12265     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12266     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12267     ac_shift=:
12268     ;;
12269   --*=)
12270     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12271     ac_optarg=
12272     ac_shift=:
12273     ;;
12274   *)
12275     ac_option=$1
12276     ac_optarg=$2
12277     ac_shift=shift
12278     ;;
12279   esac
12280
12281   case $ac_option in
12282   # Handling of the options.
12283   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12284     ac_cs_recheck=: ;;
12285   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12286     $as_echo "$ac_cs_version"; exit ;;
12287   --config | --confi | --conf | --con | --co | --c )
12288     $as_echo "$ac_cs_config"; exit ;;
12289   --debug | --debu | --deb | --de | --d | -d )
12290     debug=: ;;
12291   --file | --fil | --fi | --f )
12292     $ac_shift
12293     case $ac_optarg in
12294     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12295     '') as_fn_error $? "missing file argument" ;;
12296     esac
12297     as_fn_append CONFIG_FILES " '$ac_optarg'"
12298     ac_need_defaults=false;;
12299   --he | --h |  --help | --hel | -h )
12300     $as_echo "$ac_cs_usage"; exit ;;
12301   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12302   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12303     ac_cs_silent=: ;;
12304
12305   # This is an error.
12306   -*) as_fn_error $? "unrecognized option: \`$1'
12307 Try \`$0 --help' for more information." ;;
12308
12309   *) as_fn_append ac_config_targets " $1"
12310      ac_need_defaults=false ;;
12311
12312   esac
12313   shift
12314 done
12315
12316 ac_configure_extra_args=
12317
12318 if $ac_cs_silent; then
12319   exec 6>/dev/null
12320   ac_configure_extra_args="$ac_configure_extra_args --silent"
12321 fi
12322
12323 _ACEOF
12324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12325 if \$ac_cs_recheck; then
12326   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12327   shift
12328   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12329   CONFIG_SHELL='$SHELL'
12330   export CONFIG_SHELL
12331   exec "\$@"
12332 fi
12333
12334 _ACEOF
12335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12336 exec 5>>config.log
12337 {
12338   echo
12339   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12340 ## Running $as_me. ##
12341 _ASBOX
12342   $as_echo "$ac_log"
12343 } >&5
12344
12345 _ACEOF
12346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12347 #
12348 # INIT-COMMANDS
12349 #
12350 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12351
12352
12353 # The HP-UX ksh and POSIX shell print the target directory to stdout
12354 # if CDPATH is set.
12355 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12356
12357 sed_quote_subst='$sed_quote_subst'
12358 double_quote_subst='$double_quote_subst'
12359 delay_variable_subst='$delay_variable_subst'
12360 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12361 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12362 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12363 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12364 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12365 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12366 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12367 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12368 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12369 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12370 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12371 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12372 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12373 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12374 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12375 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12376 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12377 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12378 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12379 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12380 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12381 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12382 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12383 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12384 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12385 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12386 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12387 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12388 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12389 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12390 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12391 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12392 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12393 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12394 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12395 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12396 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12397 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12398 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12399 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12400 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12401 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12402 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12403 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12404 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12405 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12406 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12407 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12408 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12409 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12410 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12411 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12412 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12413 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12414 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12415 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12416 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12417 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"`'
12418 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12419 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12420 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12421 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12422 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12423 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12424 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12425 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12426 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12427 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12428 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12429 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12430 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12431 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12432 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12433 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12434 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12435 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12436 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12437 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12438 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12439 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12440 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12441 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12442 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12443 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12444 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12445 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12446 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12447 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12448 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12449 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12450 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12451 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12452 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12453 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12454 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12455 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12456 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12457 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12458 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12459 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12460 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12461 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12462 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12463 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12464 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12465 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12466 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12467 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12468 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12469 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12470 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12471 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12472 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12473 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12474 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12475 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12476 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12477 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12478 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12479 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12480 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12481 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12482 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12483 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12484 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12485 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12486 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12487 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12488 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12489 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12490 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12491
12492 LTCC='$LTCC'
12493 LTCFLAGS='$LTCFLAGS'
12494 compiler='$compiler_DEFAULT'
12495
12496 # A function that is used when there is no print builtin or printf.
12497 func_fallback_echo ()
12498 {
12499   eval 'cat <<_LTECHO_EOF
12500 \$1
12501 _LTECHO_EOF'
12502 }
12503
12504 # Quote evaled strings.
12505 for var in AS \
12506 DLLTOOL \
12507 OBJDUMP \
12508 SHELL \
12509 ECHO \
12510 PATH_SEPARATOR \
12511 SED \
12512 GREP \
12513 EGREP \
12514 FGREP \
12515 LD \
12516 NM \
12517 LN_S \
12518 lt_SP2NL \
12519 lt_NL2SP \
12520 reload_flag \
12521 deplibs_check_method \
12522 file_magic_cmd \
12523 file_magic_glob \
12524 want_nocaseglob \
12525 sharedlib_from_linklib_cmd \
12526 AR \
12527 AR_FLAGS \
12528 archiver_list_spec \
12529 STRIP \
12530 RANLIB \
12531 CC \
12532 CFLAGS \
12533 compiler \
12534 lt_cv_sys_global_symbol_pipe \
12535 lt_cv_sys_global_symbol_to_cdecl \
12536 lt_cv_sys_global_symbol_to_c_name_address \
12537 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12538 nm_file_list_spec \
12539 lt_prog_compiler_no_builtin_flag \
12540 lt_prog_compiler_pic \
12541 lt_prog_compiler_wl \
12542 lt_prog_compiler_static \
12543 lt_cv_prog_compiler_c_o \
12544 need_locks \
12545 MANIFEST_TOOL \
12546 DSYMUTIL \
12547 NMEDIT \
12548 LIPO \
12549 OTOOL \
12550 OTOOL64 \
12551 shrext_cmds \
12552 export_dynamic_flag_spec \
12553 whole_archive_flag_spec \
12554 compiler_needs_object \
12555 with_gnu_ld \
12556 allow_undefined_flag \
12557 no_undefined_flag \
12558 hardcode_libdir_flag_spec \
12559 hardcode_libdir_separator \
12560 exclude_expsyms \
12561 include_expsyms \
12562 file_list_spec \
12563 variables_saved_for_relink \
12564 libname_spec \
12565 library_names_spec \
12566 soname_spec \
12567 install_override_mode \
12568 finish_eval \
12569 old_striplib \
12570 striplib; do
12571     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12572     *[\\\\\\\`\\"\\\$]*)
12573       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12574       ;;
12575     *)
12576       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12577       ;;
12578     esac
12579 done
12580
12581 # Double-quote double-evaled strings.
12582 for var in reload_cmds \
12583 old_postinstall_cmds \
12584 old_postuninstall_cmds \
12585 old_archive_cmds \
12586 extract_expsyms_cmds \
12587 old_archive_from_new_cmds \
12588 old_archive_from_expsyms_cmds \
12589 archive_cmds \
12590 archive_expsym_cmds \
12591 module_cmds \
12592 module_expsym_cmds \
12593 export_symbols_cmds \
12594 prelink_cmds \
12595 postlink_cmds \
12596 postinstall_cmds \
12597 postuninstall_cmds \
12598 finish_cmds \
12599 sys_lib_search_path_spec \
12600 sys_lib_dlsearch_path_spec; do
12601     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12602     *[\\\\\\\`\\"\\\$]*)
12603       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12604       ;;
12605     *)
12606       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12607       ;;
12608     esac
12609 done
12610
12611 ac_aux_dir='$ac_aux_dir'
12612 xsi_shell='$xsi_shell'
12613 lt_shell_append='$lt_shell_append'
12614
12615 # See if we are running on zsh, and set the options which allow our
12616 # commands through without removal of \ escapes INIT.
12617 if test -n "\${ZSH_VERSION+set}" ; then
12618    setopt NO_GLOB_SUBST
12619 fi
12620
12621
12622     PACKAGE='$PACKAGE'
12623     VERSION='$VERSION'
12624     TIMESTAMP='$TIMESTAMP'
12625     RM='$RM'
12626     ofile='$ofile'
12627
12628
12629
12630
12631 _ACEOF
12632
12633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12634
12635 # Handling of arguments.
12636 for ac_config_target in $ac_config_targets
12637 do
12638   case $ac_config_target in
12639     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12640     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12641     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12642     "l1/Makefile") CONFIG_FILES="$CONFIG_FILES l1/Makefile" ;;
12643     "l2/Makefile") CONFIG_FILES="$CONFIG_FILES l2/Makefile" ;;
12644     "l3/Makefile") CONFIG_FILES="$CONFIG_FILES l3/Makefile" ;;
12645     "l4/Makefile") CONFIG_FILES="$CONFIG_FILES l4/Makefile" ;;
12646
12647   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12648   esac
12649 done
12650
12651
12652 # If the user did not use the arguments to specify the items to instantiate,
12653 # then the envvar interface is used.  Set only those that are not.
12654 # We use the long form for the default assignment because of an extremely
12655 # bizarre bug on SunOS 4.1.3.
12656 if $ac_need_defaults; then
12657   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12658   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12659 fi
12660
12661 # Have a temporary directory for convenience.  Make it in the build tree
12662 # simply because there is no reason against having it here, and in addition,
12663 # creating and moving files from /tmp can sometimes cause problems.
12664 # Hook for its removal unless debugging.
12665 # Note that there is a small window in which the directory will not be cleaned:
12666 # after its creation but before its name has been assigned to `$tmp'.
12667 $debug ||
12668 {
12669   tmp= ac_tmp=
12670   trap 'exit_status=$?
12671   : "${ac_tmp:=$tmp}"
12672   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12673 ' 0
12674   trap 'as_fn_exit 1' 1 2 13 15
12675 }
12676 # Create a (secure) tmp directory for tmp files.
12677
12678 {
12679   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12680   test -d "$tmp"
12681 }  ||
12682 {
12683   tmp=./conf$$-$RANDOM
12684   (umask 077 && mkdir "$tmp")
12685 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12686 ac_tmp=$tmp
12687
12688 # Set up the scripts for CONFIG_FILES section.
12689 # No need to generate them if there are no CONFIG_FILES.
12690 # This happens for instance with `./config.status config.h'.
12691 if test -n "$CONFIG_FILES"; then
12692
12693
12694 ac_cr=`echo X | tr X '\015'`
12695 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12696 # But we know of no other shell where ac_cr would be empty at this
12697 # point, so we can use a bashism as a fallback.
12698 if test "x$ac_cr" = x; then
12699   eval ac_cr=\$\'\\r\'
12700 fi
12701 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12702 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12703   ac_cs_awk_cr='\\r'
12704 else
12705   ac_cs_awk_cr=$ac_cr
12706 fi
12707
12708 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12709 _ACEOF
12710
12711
12712 {
12713   echo "cat >conf$$subs.awk <<_ACEOF" &&
12714   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12715   echo "_ACEOF"
12716 } >conf$$subs.sh ||
12717   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12718 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12719 ac_delim='%!_!# '
12720 for ac_last_try in false false false false false :; do
12721   . ./conf$$subs.sh ||
12722     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12723
12724   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12725   if test $ac_delim_n = $ac_delim_num; then
12726     break
12727   elif $ac_last_try; then
12728     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12729   else
12730     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12731   fi
12732 done
12733 rm -f conf$$subs.sh
12734
12735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12736 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12737 _ACEOF
12738 sed -n '
12739 h
12740 s/^/S["/; s/!.*/"]=/
12741 p
12742 g
12743 s/^[^!]*!//
12744 :repl
12745 t repl
12746 s/'"$ac_delim"'$//
12747 t delim
12748 :nl
12749 h
12750 s/\(.\{148\}\)..*/\1/
12751 t more1
12752 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12753 p
12754 n
12755 b repl
12756 :more1
12757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12758 p
12759 g
12760 s/.\{148\}//
12761 t nl
12762 :delim
12763 h
12764 s/\(.\{148\}\)..*/\1/
12765 t more2
12766 s/["\\]/\\&/g; s/^/"/; s/$/"/
12767 p
12768 b
12769 :more2
12770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12771 p
12772 g
12773 s/.\{148\}//
12774 t delim
12775 ' <conf$$subs.awk | sed '
12776 /^[^""]/{
12777   N
12778   s/\n//
12779 }
12780 ' >>$CONFIG_STATUS || ac_write_fail=1
12781 rm -f conf$$subs.awk
12782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12783 _ACAWK
12784 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12785   for (key in S) S_is_set[key] = 1
12786   FS = "\a"
12787
12788 }
12789 {
12790   line = $ 0
12791   nfields = split(line, field, "@")
12792   substed = 0
12793   len = length(field[1])
12794   for (i = 2; i < nfields; i++) {
12795     key = field[i]
12796     keylen = length(key)
12797     if (S_is_set[key]) {
12798       value = S[key]
12799       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12800       len += length(value) + length(field[++i])
12801       substed = 1
12802     } else
12803       len += 1 + keylen
12804   }
12805
12806   print line
12807 }
12808
12809 _ACAWK
12810 _ACEOF
12811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12813   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12814 else
12815   cat
12816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12817   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12818 _ACEOF
12819
12820 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12821 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12822 # trailing colons and then remove the whole line if VPATH becomes empty
12823 # (actually we leave an empty line to preserve line numbers).
12824 if test "x$srcdir" = x.; then
12825   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
12826 h
12827 s///
12828 s/^/:/
12829 s/[      ]*$/:/
12830 s/:\$(srcdir):/:/g
12831 s/:\${srcdir}:/:/g
12832 s/:@srcdir@:/:/g
12833 s/^:*//
12834 s/:*$//
12835 x
12836 s/\(=[   ]*\).*/\1/
12837 G
12838 s/\n//
12839 s/^[^=]*=[       ]*$//
12840 }'
12841 fi
12842
12843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12844 fi # test -n "$CONFIG_FILES"
12845
12846
12847 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
12848 shift
12849 for ac_tag
12850 do
12851   case $ac_tag in
12852   :[FHLC]) ac_mode=$ac_tag; continue;;
12853   esac
12854   case $ac_mode$ac_tag in
12855   :[FHL]*:*);;
12856   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12857   :[FH]-) ac_tag=-:-;;
12858   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12859   esac
12860   ac_save_IFS=$IFS
12861   IFS=:
12862   set x $ac_tag
12863   IFS=$ac_save_IFS
12864   shift
12865   ac_file=$1
12866   shift
12867
12868   case $ac_mode in
12869   :L) ac_source=$1;;
12870   :[FH])
12871     ac_file_inputs=
12872     for ac_f
12873     do
12874       case $ac_f in
12875       -) ac_f="$ac_tmp/stdin";;
12876       *) # Look for the file first in the build tree, then in the source tree
12877          # (if the path is not absolute).  The absolute path cannot be DOS-style,
12878          # because $ac_f cannot contain `:'.
12879          test -f "$ac_f" ||
12880            case $ac_f in
12881            [\\/$]*) false;;
12882            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12883            esac ||
12884            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12885       esac
12886       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12887       as_fn_append ac_file_inputs " '$ac_f'"
12888     done
12889
12890     # Let's still pretend it is `configure' which instantiates (i.e., don't
12891     # use $as_me), people would be surprised to read:
12892     #    /* config.h.  Generated by config.status.  */
12893     configure_input='Generated from '`
12894           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12895         `' by configure.'
12896     if test x"$ac_file" != x-; then
12897       configure_input="$ac_file.  $configure_input"
12898       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12899 $as_echo "$as_me: creating $ac_file" >&6;}
12900     fi
12901     # Neutralize special characters interpreted by sed in replacement strings.
12902     case $configure_input in #(
12903     *\&* | *\|* | *\\* )
12904        ac_sed_conf_input=`$as_echo "$configure_input" |
12905        sed 's/[\\\\&|]/\\\\&/g'`;; #(
12906     *) ac_sed_conf_input=$configure_input;;
12907     esac
12908
12909     case $ac_tag in
12910     *:-:* | *:-) cat >"$ac_tmp/stdin" \
12911       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12912     esac
12913     ;;
12914   esac
12915
12916   ac_dir=`$as_dirname -- "$ac_file" ||
12917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12918          X"$ac_file" : 'X\(//\)[^/]' \| \
12919          X"$ac_file" : 'X\(//\)$' \| \
12920          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12921 $as_echo X"$ac_file" |
12922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12923             s//\1/
12924             q
12925           }
12926           /^X\(\/\/\)[^/].*/{
12927             s//\1/
12928             q
12929           }
12930           /^X\(\/\/\)$/{
12931             s//\1/
12932             q
12933           }
12934           /^X\(\/\).*/{
12935             s//\1/
12936             q
12937           }
12938           s/.*/./; q'`
12939   as_dir="$ac_dir"; as_fn_mkdir_p
12940   ac_builddir=.
12941
12942 case "$ac_dir" in
12943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12944 *)
12945   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12946   # A ".." for each directory in $ac_dir_suffix.
12947   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12948   case $ac_top_builddir_sub in
12949   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12950   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12951   esac ;;
12952 esac
12953 ac_abs_top_builddir=$ac_pwd
12954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12955 # for backward compatibility:
12956 ac_top_builddir=$ac_top_build_prefix
12957
12958 case $srcdir in
12959   .)  # We are building in place.
12960     ac_srcdir=.
12961     ac_top_srcdir=$ac_top_builddir_sub
12962     ac_abs_top_srcdir=$ac_pwd ;;
12963   [\\/]* | ?:[\\/]* )  # Absolute name.
12964     ac_srcdir=$srcdir$ac_dir_suffix;
12965     ac_top_srcdir=$srcdir
12966     ac_abs_top_srcdir=$srcdir ;;
12967   *) # Relative name.
12968     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12969     ac_top_srcdir=$ac_top_build_prefix$srcdir
12970     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12971 esac
12972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12973
12974
12975   case $ac_mode in
12976   :F)
12977   #
12978   # CONFIG_FILE
12979   #
12980
12981   case $INSTALL in
12982   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12983   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12984   esac
12985   ac_MKDIR_P=$MKDIR_P
12986   case $MKDIR_P in
12987   [\\/$]* | ?:[\\/]* ) ;;
12988   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12989   esac
12990 _ACEOF
12991
12992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12993 # If the template does not know about datarootdir, expand it.
12994 # FIXME: This hack should be removed a few years after 2.60.
12995 ac_datarootdir_hack=; ac_datarootdir_seen=
12996 ac_sed_dataroot='
12997 /datarootdir/ {
12998   p
12999   q
13000 }
13001 /@datadir@/p
13002 /@docdir@/p
13003 /@infodir@/p
13004 /@localedir@/p
13005 /@mandir@/p'
13006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13007 *datarootdir*) ac_datarootdir_seen=yes;;
13008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13009   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13011 _ACEOF
13012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13013   ac_datarootdir_hack='
13014   s&@datadir@&$datadir&g
13015   s&@docdir@&$docdir&g
13016   s&@infodir@&$infodir&g
13017   s&@localedir@&$localedir&g
13018   s&@mandir@&$mandir&g
13019   s&\\\${datarootdir}&$datarootdir&g' ;;
13020 esac
13021 _ACEOF
13022
13023 # Neutralize VPATH when `$srcdir' = `.'.
13024 # Shell code in configure.ac might set extrasub.
13025 # FIXME: do we really want to maintain this feature?
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13027 ac_sed_extra="$ac_vpsub
13028 $extrasub
13029 _ACEOF
13030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13031 :t
13032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13033 s|@configure_input@|$ac_sed_conf_input|;t t
13034 s&@top_builddir@&$ac_top_builddir_sub&;t t
13035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13036 s&@srcdir@&$ac_srcdir&;t t
13037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13038 s&@top_srcdir@&$ac_top_srcdir&;t t
13039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13040 s&@builddir@&$ac_builddir&;t t
13041 s&@abs_builddir@&$ac_abs_builddir&;t t
13042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13043 s&@INSTALL@&$ac_INSTALL&;t t
13044 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13045 $ac_datarootdir_hack
13046 "
13047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13048   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13049
13050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13051   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13052   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13053       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13054   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13055 which seems to be undefined.  Please make sure it is defined" >&5
13056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13057 which seems to be undefined.  Please make sure it is defined" >&2;}
13058
13059   rm -f "$ac_tmp/stdin"
13060   case $ac_file in
13061   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13062   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13063   esac \
13064   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13065  ;;
13066
13067
13068   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13069 $as_echo "$as_me: executing $ac_file commands" >&6;}
13070  ;;
13071   esac
13072
13073
13074   case $ac_file$ac_mode in
13075     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13076   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13077   # are listed without --file.  Let's play safe and only enable the eval
13078   # if we detect the quoting.
13079   case $CONFIG_FILES in
13080   *\'*) eval set x "$CONFIG_FILES" ;;
13081   *)   set x $CONFIG_FILES ;;
13082   esac
13083   shift
13084   for mf
13085   do
13086     # Strip MF so we end up with the name of the file.
13087     mf=`echo "$mf" | sed -e 's/:.*$//'`
13088     # Check whether this is an Automake generated Makefile or not.
13089     # We used to match only the files named `Makefile.in', but
13090     # some people rename them; so instead we look at the file content.
13091     # Grep'ing the first line is not enough: some people post-process
13092     # each Makefile.in and add a new line on top of each file to say so.
13093     # Grep'ing the whole file is not good either: AIX grep has a line
13094     # limit of 2048, but all sed's we know have understand at least 4000.
13095     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13096       dirpart=`$as_dirname -- "$mf" ||
13097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13098          X"$mf" : 'X\(//\)[^/]' \| \
13099          X"$mf" : 'X\(//\)$' \| \
13100          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13101 $as_echo X"$mf" |
13102     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13103             s//\1/
13104             q
13105           }
13106           /^X\(\/\/\)[^/].*/{
13107             s//\1/
13108             q
13109           }
13110           /^X\(\/\/\)$/{
13111             s//\1/
13112             q
13113           }
13114           /^X\(\/\).*/{
13115             s//\1/
13116             q
13117           }
13118           s/.*/./; q'`
13119     else
13120       continue
13121     fi
13122     # Extract the definition of DEPDIR, am__include, and am__quote
13123     # from the Makefile without running `make'.
13124     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13125     test -z "$DEPDIR" && continue
13126     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13127     test -z "am__include" && continue
13128     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13129     # When using ansi2knr, U may be empty or an underscore; expand it
13130     U=`sed -n 's/^U = //p' < "$mf"`
13131     # Find all dependency output files, they are included files with
13132     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13133     # simplest approach to changing $(DEPDIR) to its actual value in the
13134     # expansion.
13135     for file in `sed -n "
13136       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13137          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13138       # Make sure the directory exists.
13139       test -f "$dirpart/$file" && continue
13140       fdir=`$as_dirname -- "$file" ||
13141 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13142          X"$file" : 'X\(//\)[^/]' \| \
13143          X"$file" : 'X\(//\)$' \| \
13144          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13145 $as_echo X"$file" |
13146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13147             s//\1/
13148             q
13149           }
13150           /^X\(\/\/\)[^/].*/{
13151             s//\1/
13152             q
13153           }
13154           /^X\(\/\/\)$/{
13155             s//\1/
13156             q
13157           }
13158           /^X\(\/\).*/{
13159             s//\1/
13160             q
13161           }
13162           s/.*/./; q'`
13163       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13164       # echo "creating $dirpart/$file"
13165       echo '# dummy' > "$dirpart/$file"
13166     done
13167   done
13168 }
13169  ;;
13170     "libtool":C)
13171
13172     # See if we are running on zsh, and set the options which allow our
13173     # commands through without removal of \ escapes.
13174     if test -n "${ZSH_VERSION+set}" ; then
13175       setopt NO_GLOB_SUBST
13176     fi
13177
13178     cfgfile="${ofile}T"
13179     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13180     $RM "$cfgfile"
13181
13182     cat <<_LT_EOF >> "$cfgfile"
13183 #! $SHELL
13184
13185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13189 #
13190 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13191 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13192 #                 Foundation, Inc.
13193 #   Written by Gordon Matzigkeit, 1996
13194 #
13195 #   This file is part of GNU Libtool.
13196 #
13197 # GNU Libtool is free software; you can redistribute it and/or
13198 # modify it under the terms of the GNU General Public License as
13199 # published by the Free Software Foundation; either version 2 of
13200 # the License, or (at your option) any later version.
13201 #
13202 # As a special exception to the GNU General Public License,
13203 # if you distribute this file as part of a program or library that
13204 # is built using GNU Libtool, you may include this file under the
13205 # same distribution terms that you use for the rest of that program.
13206 #
13207 # GNU Libtool is distributed in the hope that it will be useful,
13208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13210 # GNU General Public License for more details.
13211 #
13212 # You should have received a copy of the GNU General Public License
13213 # along with GNU Libtool; see the file COPYING.  If not, a copy
13214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13215 # obtained by writing to the Free Software Foundation, Inc.,
13216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13217
13218
13219 # The names of the tagged configurations supported by this script.
13220 available_tags=""
13221
13222 # ### BEGIN LIBTOOL CONFIG
13223
13224 # Which release of libtool.m4 was used?
13225 macro_version=$macro_version
13226 macro_revision=$macro_revision
13227
13228 # Assembler program.
13229 AS=$lt_AS
13230
13231 # DLL creation program.
13232 DLLTOOL=$lt_DLLTOOL
13233
13234 # Object dumper program.
13235 OBJDUMP=$lt_OBJDUMP
13236
13237 # Whether or not to build shared libraries.
13238 build_libtool_libs=$enable_shared
13239
13240 # Whether or not to build static libraries.
13241 build_old_libs=$enable_static
13242
13243 # What type of objects to build.
13244 pic_mode=$pic_mode
13245
13246 # Whether or not to optimize for fast installation.
13247 fast_install=$enable_fast_install
13248
13249 # Shell to use when invoking shell scripts.
13250 SHELL=$lt_SHELL
13251
13252 # An echo program that protects backslashes.
13253 ECHO=$lt_ECHO
13254
13255 # The PATH separator for the build system.
13256 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13257
13258 # The host system.
13259 host_alias=$host_alias
13260 host=$host
13261 host_os=$host_os
13262
13263 # The build system.
13264 build_alias=$build_alias
13265 build=$build
13266 build_os=$build_os
13267
13268 # A sed program that does not truncate output.
13269 SED=$lt_SED
13270
13271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13272 Xsed="\$SED -e 1s/^X//"
13273
13274 # A grep program that handles long lines.
13275 GREP=$lt_GREP
13276
13277 # An ERE matcher.
13278 EGREP=$lt_EGREP
13279
13280 # A literal string matcher.
13281 FGREP=$lt_FGREP
13282
13283 # A BSD- or MS-compatible name lister.
13284 NM=$lt_NM
13285
13286 # Whether we need soft or hard links.
13287 LN_S=$lt_LN_S
13288
13289 # What is the maximum length of a command?
13290 max_cmd_len=$max_cmd_len
13291
13292 # Object file suffix (normally "o").
13293 objext=$ac_objext
13294
13295 # Executable file suffix (normally "").
13296 exeext=$exeext
13297
13298 # whether the shell understands "unset".
13299 lt_unset=$lt_unset
13300
13301 # turn spaces into newlines.
13302 SP2NL=$lt_lt_SP2NL
13303
13304 # turn newlines into spaces.
13305 NL2SP=$lt_lt_NL2SP
13306
13307 # convert \$build file names to \$host format.
13308 to_host_file_cmd=$lt_cv_to_host_file_cmd
13309
13310 # convert \$build files to toolchain format.
13311 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13312
13313 # Method to check whether dependent libraries are shared objects.
13314 deplibs_check_method=$lt_deplibs_check_method
13315
13316 # Command to use when deplibs_check_method = "file_magic".
13317 file_magic_cmd=$lt_file_magic_cmd
13318
13319 # How to find potential files when deplibs_check_method = "file_magic".
13320 file_magic_glob=$lt_file_magic_glob
13321
13322 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13323 want_nocaseglob=$lt_want_nocaseglob
13324
13325 # Command to associate shared and link libraries.
13326 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13327
13328 # The archiver.
13329 AR=$lt_AR
13330
13331 # Flags to create an archive.
13332 AR_FLAGS=$lt_AR_FLAGS
13333
13334 # How to feed a file listing to the archiver.
13335 archiver_list_spec=$lt_archiver_list_spec
13336
13337 # A symbol stripping program.
13338 STRIP=$lt_STRIP
13339
13340 # Commands used to install an old-style archive.
13341 RANLIB=$lt_RANLIB
13342 old_postinstall_cmds=$lt_old_postinstall_cmds
13343 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13344
13345 # Whether to use a lock for old archive extraction.
13346 lock_old_archive_extraction=$lock_old_archive_extraction
13347
13348 # A C compiler.
13349 LTCC=$lt_CC
13350
13351 # LTCC compiler flags.
13352 LTCFLAGS=$lt_CFLAGS
13353
13354 # Take the output of nm and produce a listing of raw symbols and C names.
13355 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13356
13357 # Transform the output of nm in a proper C declaration.
13358 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13359
13360 # Transform the output of nm in a C name address pair.
13361 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13362
13363 # Transform the output of nm in a C name address pair when lib prefix is needed.
13364 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13365
13366 # Specify filename containing input files for \$NM.
13367 nm_file_list_spec=$lt_nm_file_list_spec
13368
13369 # The root where to search for dependent libraries,and in which our libraries should be installed.
13370 lt_sysroot=$lt_sysroot
13371
13372 # The name of the directory that contains temporary libtool files.
13373 objdir=$objdir
13374
13375 # Used to examine libraries when file_magic_cmd begins with "file".
13376 MAGIC_CMD=$MAGIC_CMD
13377
13378 # Must we lock files when doing compilation?
13379 need_locks=$lt_need_locks
13380
13381 # Manifest tool.
13382 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13383
13384 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13385 DSYMUTIL=$lt_DSYMUTIL
13386
13387 # Tool to change global to local symbols on Mac OS X.
13388 NMEDIT=$lt_NMEDIT
13389
13390 # Tool to manipulate fat objects and archives on Mac OS X.
13391 LIPO=$lt_LIPO
13392
13393 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13394 OTOOL=$lt_OTOOL
13395
13396 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13397 OTOOL64=$lt_OTOOL64
13398
13399 # Old archive suffix (normally "a").
13400 libext=$libext
13401
13402 # Shared library suffix (normally ".so").
13403 shrext_cmds=$lt_shrext_cmds
13404
13405 # The commands to extract the exported symbol list from a shared archive.
13406 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13407
13408 # Variables whose values should be saved in libtool wrapper scripts and
13409 # restored at link time.
13410 variables_saved_for_relink=$lt_variables_saved_for_relink
13411
13412 # Do we need the "lib" prefix for modules?
13413 need_lib_prefix=$need_lib_prefix
13414
13415 # Do we need a version for libraries?
13416 need_version=$need_version
13417
13418 # Library versioning type.
13419 version_type=$version_type
13420
13421 # Shared library runtime path variable.
13422 runpath_var=$runpath_var
13423
13424 # Shared library path variable.
13425 shlibpath_var=$shlibpath_var
13426
13427 # Is shlibpath searched before the hard-coded library search path?
13428 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13429
13430 # Format of library name prefix.
13431 libname_spec=$lt_libname_spec
13432
13433 # List of archive names.  First name is the real one, the rest are links.
13434 # The last name is the one that the linker finds with -lNAME
13435 library_names_spec=$lt_library_names_spec
13436
13437 # The coded name of the library, if different from the real name.
13438 soname_spec=$lt_soname_spec
13439
13440 # Permission mode override for installation of shared libraries.
13441 install_override_mode=$lt_install_override_mode
13442
13443 # Command to use after installation of a shared archive.
13444 postinstall_cmds=$lt_postinstall_cmds
13445
13446 # Command to use after uninstallation of a shared archive.
13447 postuninstall_cmds=$lt_postuninstall_cmds
13448
13449 # Commands used to finish a libtool library installation in a directory.
13450 finish_cmds=$lt_finish_cmds
13451
13452 # As "finish_cmds", except a single script fragment to be evaled but
13453 # not shown.
13454 finish_eval=$lt_finish_eval
13455
13456 # Whether we should hardcode library paths into libraries.
13457 hardcode_into_libs=$hardcode_into_libs
13458
13459 # Compile-time system search path for libraries.
13460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13461
13462 # Run-time system search path for libraries.
13463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13464
13465 # Whether dlopen is supported.
13466 dlopen_support=$enable_dlopen
13467
13468 # Whether dlopen of programs is supported.
13469 dlopen_self=$enable_dlopen_self
13470
13471 # Whether dlopen of statically linked programs is supported.
13472 dlopen_self_static=$enable_dlopen_self_static
13473
13474 # Commands to strip libraries.
13475 old_striplib=$lt_old_striplib
13476 striplib=$lt_striplib
13477
13478
13479 # The linker used to build libraries.
13480 LD=$lt_LD
13481
13482 # How to create reloadable object files.
13483 reload_flag=$lt_reload_flag
13484 reload_cmds=$lt_reload_cmds
13485
13486 # Commands used to build an old-style archive.
13487 old_archive_cmds=$lt_old_archive_cmds
13488
13489 # A language specific compiler.
13490 CC=$lt_compiler
13491
13492 # Is the compiler the GNU compiler?
13493 with_gcc=$GCC
13494
13495 # Compiler flag to turn off builtin functions.
13496 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13497
13498 # Additional compiler flags for building library objects.
13499 pic_flag=$lt_lt_prog_compiler_pic
13500
13501 # How to pass a linker flag through the compiler.
13502 wl=$lt_lt_prog_compiler_wl
13503
13504 # Compiler flag to prevent dynamic linking.
13505 link_static_flag=$lt_lt_prog_compiler_static
13506
13507 # Does compiler simultaneously support -c and -o options?
13508 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13509
13510 # Whether or not to add -lc for building shared libraries.
13511 build_libtool_need_lc=$archive_cmds_need_lc
13512
13513 # Whether or not to disallow shared libs when runtime libs are static.
13514 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13515
13516 # Compiler flag to allow reflexive dlopens.
13517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13518
13519 # Compiler flag to generate shared objects directly from archives.
13520 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13521
13522 # Whether the compiler copes with passing no objects directly.
13523 compiler_needs_object=$lt_compiler_needs_object
13524
13525 # Create an old-style archive from a shared archive.
13526 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13527
13528 # Create a temporary old-style archive to link instead of a shared archive.
13529 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13530
13531 # Commands used to build a shared archive.
13532 archive_cmds=$lt_archive_cmds
13533 archive_expsym_cmds=$lt_archive_expsym_cmds
13534
13535 # Commands used to build a loadable module if different from building
13536 # a shared archive.
13537 module_cmds=$lt_module_cmds
13538 module_expsym_cmds=$lt_module_expsym_cmds
13539
13540 # Whether we are building with GNU ld or not.
13541 with_gnu_ld=$lt_with_gnu_ld
13542
13543 # Flag that allows shared libraries with undefined symbols to be built.
13544 allow_undefined_flag=$lt_allow_undefined_flag
13545
13546 # Flag that enforces no undefined symbols.
13547 no_undefined_flag=$lt_no_undefined_flag
13548
13549 # Flag to hardcode \$libdir into a binary during linking.
13550 # This must work even if \$libdir does not exist
13551 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13552
13553 # Whether we need a single "-rpath" flag with a separated argument.
13554 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13555
13556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13557 # DIR into the resulting binary.
13558 hardcode_direct=$hardcode_direct
13559
13560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13561 # DIR into the resulting binary and the resulting library dependency is
13562 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13563 # library is relocated.
13564 hardcode_direct_absolute=$hardcode_direct_absolute
13565
13566 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13567 # into the resulting binary.
13568 hardcode_minus_L=$hardcode_minus_L
13569
13570 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13571 # into the resulting binary.
13572 hardcode_shlibpath_var=$hardcode_shlibpath_var
13573
13574 # Set to "yes" if building a shared library automatically hardcodes DIR
13575 # into the library and all subsequent libraries and executables linked
13576 # against it.
13577 hardcode_automatic=$hardcode_automatic
13578
13579 # Set to yes if linker adds runtime paths of dependent libraries
13580 # to runtime path list.
13581 inherit_rpath=$inherit_rpath
13582
13583 # Whether libtool must link a program against all its dependency libraries.
13584 link_all_deplibs=$link_all_deplibs
13585
13586 # Set to "yes" if exported symbols are required.
13587 always_export_symbols=$always_export_symbols
13588
13589 # The commands to list exported symbols.
13590 export_symbols_cmds=$lt_export_symbols_cmds
13591
13592 # Symbols that should not be listed in the preloaded symbols.
13593 exclude_expsyms=$lt_exclude_expsyms
13594
13595 # Symbols that must always be exported.
13596 include_expsyms=$lt_include_expsyms
13597
13598 # Commands necessary for linking programs (against libraries) with templates.
13599 prelink_cmds=$lt_prelink_cmds
13600
13601 # Commands necessary for finishing linking programs.
13602 postlink_cmds=$lt_postlink_cmds
13603
13604 # Specify filename containing input files.
13605 file_list_spec=$lt_file_list_spec
13606
13607 # How to hardcode a shared library path into an executable.
13608 hardcode_action=$hardcode_action
13609
13610 # ### END LIBTOOL CONFIG
13611
13612 _LT_EOF
13613
13614   case $host_os in
13615   aix3*)
13616     cat <<\_LT_EOF >> "$cfgfile"
13617 # AIX sometimes has problems with the GCC collect2 program.  For some
13618 # reason, if we set the COLLECT_NAMES environment variable, the problems
13619 # vanish in a puff of smoke.
13620 if test "X${COLLECT_NAMES+set}" != Xset; then
13621   COLLECT_NAMES=
13622   export COLLECT_NAMES
13623 fi
13624 _LT_EOF
13625     ;;
13626   esac
13627
13628
13629 ltmain="$ac_aux_dir/ltmain.sh"
13630
13631
13632   # We use sed instead of cat because bash on DJGPP gets confused if
13633   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13634   # text mode, it properly converts lines to CR/LF.  This bash problem
13635   # is reportedly fixed, but why not run on old versions too?
13636   sed '$q' "$ltmain" >> "$cfgfile" \
13637      || (rm -f "$cfgfile"; exit 1)
13638
13639   if test x"$xsi_shell" = xyes; then
13640   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13641 func_dirname ()\
13642 {\
13643 \    case ${1} in\
13644 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13645 \      *  ) func_dirname_result="${3}" ;;\
13646 \    esac\
13647 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13648   && mv -f "$cfgfile.tmp" "$cfgfile" \
13649     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13650 test 0 -eq $? || _lt_function_replace_fail=:
13651
13652
13653   sed -e '/^func_basename ()$/,/^} # func_basename /c\
13654 func_basename ()\
13655 {\
13656 \    func_basename_result="${1##*/}"\
13657 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13658   && mv -f "$cfgfile.tmp" "$cfgfile" \
13659     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13660 test 0 -eq $? || _lt_function_replace_fail=:
13661
13662
13663   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13664 func_dirname_and_basename ()\
13665 {\
13666 \    case ${1} in\
13667 \      */*) func_dirname_result="${1%/*}${2}" ;;\
13668 \      *  ) func_dirname_result="${3}" ;;\
13669 \    esac\
13670 \    func_basename_result="${1##*/}"\
13671 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13672   && mv -f "$cfgfile.tmp" "$cfgfile" \
13673     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13674 test 0 -eq $? || _lt_function_replace_fail=:
13675
13676
13677   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13678 func_stripname ()\
13679 {\
13680 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13681 \    # positional parameters, so assign one to ordinary parameter first.\
13682 \    func_stripname_result=${3}\
13683 \    func_stripname_result=${func_stripname_result#"${1}"}\
13684 \    func_stripname_result=${func_stripname_result%"${2}"}\
13685 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13686   && mv -f "$cfgfile.tmp" "$cfgfile" \
13687     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13688 test 0 -eq $? || _lt_function_replace_fail=:
13689
13690
13691   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13692 func_split_long_opt ()\
13693 {\
13694 \    func_split_long_opt_name=${1%%=*}\
13695 \    func_split_long_opt_arg=${1#*=}\
13696 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13697   && mv -f "$cfgfile.tmp" "$cfgfile" \
13698     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13699 test 0 -eq $? || _lt_function_replace_fail=:
13700
13701
13702   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13703 func_split_short_opt ()\
13704 {\
13705 \    func_split_short_opt_arg=${1#??}\
13706 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13707 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13708   && mv -f "$cfgfile.tmp" "$cfgfile" \
13709     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13710 test 0 -eq $? || _lt_function_replace_fail=:
13711
13712
13713   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13714 func_lo2o ()\
13715 {\
13716 \    case ${1} in\
13717 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13718 \      *)    func_lo2o_result=${1} ;;\
13719 \    esac\
13720 } # Extended-shell func_lo2o 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_xform ()$/,/^} # func_xform /c\
13727 func_xform ()\
13728 {\
13729     func_xform_result=${1%.*}.lo\
13730 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13731   && mv -f "$cfgfile.tmp" "$cfgfile" \
13732     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13733 test 0 -eq $? || _lt_function_replace_fail=:
13734
13735
13736   sed -e '/^func_arith ()$/,/^} # func_arith /c\
13737 func_arith ()\
13738 {\
13739     func_arith_result=$(( $* ))\
13740 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13741   && mv -f "$cfgfile.tmp" "$cfgfile" \
13742     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13743 test 0 -eq $? || _lt_function_replace_fail=:
13744
13745
13746   sed -e '/^func_len ()$/,/^} # func_len /c\
13747 func_len ()\
13748 {\
13749     func_len_result=${#1}\
13750 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13751   && mv -f "$cfgfile.tmp" "$cfgfile" \
13752     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13753 test 0 -eq $? || _lt_function_replace_fail=:
13754
13755 fi
13756
13757 if test x"$lt_shell_append" = xyes; then
13758   sed -e '/^func_append ()$/,/^} # func_append /c\
13759 func_append ()\
13760 {\
13761     eval "${1}+=\\${2}"\
13762 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13763   && mv -f "$cfgfile.tmp" "$cfgfile" \
13764     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13765 test 0 -eq $? || _lt_function_replace_fail=:
13766
13767
13768   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13769 func_append_quoted ()\
13770 {\
13771 \    func_quote_for_eval "${2}"\
13772 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13773 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13774   && mv -f "$cfgfile.tmp" "$cfgfile" \
13775     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13776 test 0 -eq $? || _lt_function_replace_fail=:
13777
13778
13779   # Save a `func_append' function call where possible by direct use of '+='
13780   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13781     && mv -f "$cfgfile.tmp" "$cfgfile" \
13782       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13783   test 0 -eq $? || _lt_function_replace_fail=:
13784 else
13785   # Save a `func_append' function call even when '+=' is not available
13786   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
13791
13792 if test x"$_lt_function_replace_fail" = x":"; then
13793   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13794 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13795 fi
13796
13797
13798    mv -f "$cfgfile" "$ofile" ||
13799     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13800   chmod +x "$ofile"
13801
13802  ;;
13803
13804   esac
13805 done # for ac_tag
13806
13807
13808 as_fn_exit 0
13809 _ACEOF
13810 ac_clean_files=$ac_clean_files_save
13811
13812 test $ac_write_fail = 0 ||
13813   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13814
13815
13816 # configure is writing to config.log, and then calls config.status.
13817 # config.status does its own redirection, appending to config.log.
13818 # Unfortunately, on DOS this fails, as config.log is still kept open
13819 # by configure, so config.status won't be able to write to it; its
13820 # output is simply discarded.  So we exec the FD to /dev/null,
13821 # effectively closing config.log, so it can be properly (re)opened and
13822 # appended to by config.status.  When coming back to configure, we
13823 # need to make the FD available again.
13824 if test "$no_create" != yes; then
13825   ac_cs_success=:
13826   ac_config_status_args=
13827   test "$silent" = yes &&
13828     ac_config_status_args="$ac_config_status_args --quiet"
13829   exec 5>/dev/null
13830   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13831   exec 5>>config.log
13832   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13833   # would make configure fail if this is the last instruction.
13834   $ac_cs_success || as_fn_exit 1
13835 fi
13836 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13837   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13838 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13839 fi
13840