Initial commit of vpp code.
[vpp.git] / svm / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for svm 1.0.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='svm'
589 PACKAGE_TARNAME='svm'
590 PACKAGE_VERSION='1.0'
591 PACKAGE_STRING='svm 1.0'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 #  include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #  include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIBOBJS
635 CPP
636 OTOOL64
637 OTOOL
638 LIPO
639 NMEDIT
640 DSYMUTIL
641 MANIFEST_TOOL
642 RANLIB
643 ac_ct_AR
644 AR
645 DLLTOOL
646 OBJDUMP
647 LN_S
648 NM
649 ac_ct_DUMPBIN
650 DUMPBIN
651 LD
652 FGREP
653 EGREP
654 GREP
655 SED
656 host_os
657 host_vendor
658 host_cpu
659 host
660 build_os
661 build_vendor
662 build_cpu
663 build
664 LIBTOOL
665 am__fastdepCCAS_FALSE
666 am__fastdepCCAS_TRUE
667 CCASDEPMODE
668 CCASFLAGS
669 CCAS
670 am__fastdepCC_FALSE
671 am__fastdepCC_TRUE
672 CCDEPMODE
673 am__nodep
674 AMDEPBACKSLASH
675 AMDEP_FALSE
676 AMDEP_TRUE
677 am__quote
678 am__include
679 DEPDIR
680 OBJEXT
681 EXEEXT
682 ac_ct_CC
683 CPPFLAGS
684 LDFLAGS
685 CFLAGS
686 CC
687 AM_BACKSLASH
688 AM_DEFAULT_VERBOSITY
689 AM_DEFAULT_V
690 AM_V
691 am__untar
692 am__tar
693 AMTAR
694 am__leading_dot
695 SET_MAKE
696 AWK
697 mkdir_p
698 MKDIR_P
699 INSTALL_STRIP_PROGRAM
700 STRIP
701 install_sh
702 MAKEINFO
703 AUTOHEADER
704 AUTOMAKE
705 AUTOCONF
706 ACLOCAL
707 VERSION
708 PACKAGE
709 CYGPATH_W
710 am__isrc
711 INSTALL_DATA
712 INSTALL_SCRIPT
713 INSTALL_PROGRAM
714 target_alias
715 host_alias
716 build_alias
717 LIBS
718 ECHO_T
719 ECHO_N
720 ECHO_C
721 DEFS
722 mandir
723 localedir
724 libdir
725 psdir
726 pdfdir
727 dvidir
728 htmldir
729 infodir
730 docdir
731 oldincludedir
732 includedir
733 localstatedir
734 sharedstatedir
735 sysconfdir
736 datadir
737 datarootdir
738 libexecdir
739 sbindir
740 bindir
741 program_transform_name
742 prefix
743 exec_prefix
744 PACKAGE_URL
745 PACKAGE_BUGREPORT
746 PACKAGE_STRING
747 PACKAGE_VERSION
748 PACKAGE_TARNAME
749 PACKAGE_NAME
750 PATH_SEPARATOR
751 SHELL'
752 ac_subst_files=''
753 ac_user_opts='
754 enable_option_checking
755 enable_silent_rules
756 enable_dependency_tracking
757 enable_shared
758 enable_static
759 with_pic
760 enable_fast_install
761 with_gnu_ld
762 with_sysroot
763 enable_libtool_lock
764 '
765       ac_precious_vars='build_alias
766 host_alias
767 target_alias
768 CC
769 CFLAGS
770 LDFLAGS
771 LIBS
772 CPPFLAGS
773 CCAS
774 CCASFLAGS
775 CPP'
776
777
778 # Initialize some variables set by options.
779 ac_init_help=
780 ac_init_version=false
781 ac_unrecognized_opts=
782 ac_unrecognized_sep=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
799
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
825
826 ac_prev=
827 ac_dashdash=
828 for ac_option
829 do
830   # If the previous option needs an argument, assign it.
831   if test -n "$ac_prev"; then
832     eval $ac_prev=\$ac_option
833     ac_prev=
834     continue
835   fi
836
837   case $ac_option in
838   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839   *=)   ac_optarg= ;;
840   *)    ac_optarg=yes ;;
841   esac
842
843   # Accept the important Cygnus configure options, so we can diagnose typos.
844
845   case $ac_dashdash$ac_option in
846   --)
847     ac_dashdash=yes ;;
848
849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
850     ac_prev=bindir ;;
851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852     bindir=$ac_optarg ;;
853
854   -build | --build | --buil | --bui | --bu)
855     ac_prev=build_alias ;;
856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857     build_alias=$ac_optarg ;;
858
859   -cache-file | --cache-file | --cache-fil | --cache-fi \
860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861     ac_prev=cache_file ;;
862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864     cache_file=$ac_optarg ;;
865
866   --config-cache | -C)
867     cache_file=config.cache ;;
868
869   -datadir | --datadir | --datadi | --datad)
870     ac_prev=datadir ;;
871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
872     datadir=$ac_optarg ;;
873
874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875   | --dataroo | --dataro | --datar)
876     ac_prev=datarootdir ;;
877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879     datarootdir=$ac_optarg ;;
880
881   -disable-* | --disable-*)
882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883     # Reject names that are not valid shell variable names.
884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885       as_fn_error $? "invalid feature name: $ac_useropt"
886     ac_useropt_orig=$ac_useropt
887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888     case $ac_user_opts in
889       *"
890 "enable_$ac_useropt"
891 "*) ;;
892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893          ac_unrecognized_sep=', ';;
894     esac
895     eval enable_$ac_useropt=no ;;
896
897   -docdir | --docdir | --docdi | --doc | --do)
898     ac_prev=docdir ;;
899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900     docdir=$ac_optarg ;;
901
902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903     ac_prev=dvidir ;;
904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905     dvidir=$ac_optarg ;;
906
907   -enable-* | --enable-*)
908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909     # Reject names that are not valid shell variable names.
910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911       as_fn_error $? "invalid feature name: $ac_useropt"
912     ac_useropt_orig=$ac_useropt
913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914     case $ac_user_opts in
915       *"
916 "enable_$ac_useropt"
917 "*) ;;
918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919          ac_unrecognized_sep=', ';;
920     esac
921     eval enable_$ac_useropt=\$ac_optarg ;;
922
923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925   | --exec | --exe | --ex)
926     ac_prev=exec_prefix ;;
927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929   | --exec=* | --exe=* | --ex=*)
930     exec_prefix=$ac_optarg ;;
931
932   -gas | --gas | --ga | --g)
933     # Obsolete; use --with-gas.
934     with_gas=yes ;;
935
936   -help | --help | --hel | --he | -h)
937     ac_init_help=long ;;
938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939     ac_init_help=recursive ;;
940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941     ac_init_help=short ;;
942
943   -host | --host | --hos | --ho)
944     ac_prev=host_alias ;;
945   -host=* | --host=* | --hos=* | --ho=*)
946     host_alias=$ac_optarg ;;
947
948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949     ac_prev=htmldir ;;
950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951   | --ht=*)
952     htmldir=$ac_optarg ;;
953
954   -includedir | --includedir | --includedi | --included | --include \
955   | --includ | --inclu | --incl | --inc)
956     ac_prev=includedir ;;
957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958   | --includ=* | --inclu=* | --incl=* | --inc=*)
959     includedir=$ac_optarg ;;
960
961   -infodir | --infodir | --infodi | --infod | --info | --inf)
962     ac_prev=infodir ;;
963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964     infodir=$ac_optarg ;;
965
966   -libdir | --libdir | --libdi | --libd)
967     ac_prev=libdir ;;
968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
969     libdir=$ac_optarg ;;
970
971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972   | --libexe | --libex | --libe)
973     ac_prev=libexecdir ;;
974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975   | --libexe=* | --libex=* | --libe=*)
976     libexecdir=$ac_optarg ;;
977
978   -localedir | --localedir | --localedi | --localed | --locale)
979     ac_prev=localedir ;;
980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981     localedir=$ac_optarg ;;
982
983   -localstatedir | --localstatedir | --localstatedi | --localstated \
984   | --localstate | --localstat | --localsta | --localst | --locals)
985     ac_prev=localstatedir ;;
986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988     localstatedir=$ac_optarg ;;
989
990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991     ac_prev=mandir ;;
992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993     mandir=$ac_optarg ;;
994
995   -nfp | --nfp | --nf)
996     # Obsolete; use --without-fp.
997     with_fp=no ;;
998
999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000   | --no-cr | --no-c | -n)
1001     no_create=yes ;;
1002
1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005     no_recursion=yes ;;
1006
1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009   | --oldin | --oldi | --old | --ol | --o)
1010     ac_prev=oldincludedir ;;
1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014     oldincludedir=$ac_optarg ;;
1015
1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017     ac_prev=prefix ;;
1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019     prefix=$ac_optarg ;;
1020
1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022   | --program-pre | --program-pr | --program-p)
1023     ac_prev=program_prefix ;;
1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026     program_prefix=$ac_optarg ;;
1027
1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029   | --program-suf | --program-su | --program-s)
1030     ac_prev=program_suffix ;;
1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033     program_suffix=$ac_optarg ;;
1034
1035   -program-transform-name | --program-transform-name \
1036   | --program-transform-nam | --program-transform-na \
1037   | --program-transform-n | --program-transform- \
1038   | --program-transform | --program-transfor \
1039   | --program-transfo | --program-transf \
1040   | --program-trans | --program-tran \
1041   | --progr-tra | --program-tr | --program-t)
1042     ac_prev=program_transform_name ;;
1043   -program-transform-name=* | --program-transform-name=* \
1044   | --program-transform-nam=* | --program-transform-na=* \
1045   | --program-transform-n=* | --program-transform-=* \
1046   | --program-transform=* | --program-transfor=* \
1047   | --program-transfo=* | --program-transf=* \
1048   | --program-trans=* | --program-tran=* \
1049   | --progr-tra=* | --program-tr=* | --program-t=*)
1050     program_transform_name=$ac_optarg ;;
1051
1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053     ac_prev=pdfdir ;;
1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055     pdfdir=$ac_optarg ;;
1056
1057   -psdir | --psdir | --psdi | --psd | --ps)
1058     ac_prev=psdir ;;
1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060     psdir=$ac_optarg ;;
1061
1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063   | -silent | --silent | --silen | --sile | --sil)
1064     silent=yes ;;
1065
1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067     ac_prev=sbindir ;;
1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069   | --sbi=* | --sb=*)
1070     sbindir=$ac_optarg ;;
1071
1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074   | --sharedst | --shareds | --shared | --share | --shar \
1075   | --sha | --sh)
1076     ac_prev=sharedstatedir ;;
1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080   | --sha=* | --sh=*)
1081     sharedstatedir=$ac_optarg ;;
1082
1083   -site | --site | --sit)
1084     ac_prev=site ;;
1085   -site=* | --site=* | --sit=*)
1086     site=$ac_optarg ;;
1087
1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089     ac_prev=srcdir ;;
1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091     srcdir=$ac_optarg ;;
1092
1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094   | --syscon | --sysco | --sysc | --sys | --sy)
1095     ac_prev=sysconfdir ;;
1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098     sysconfdir=$ac_optarg ;;
1099
1100   -target | --target | --targe | --targ | --tar | --ta | --t)
1101     ac_prev=target_alias ;;
1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103     target_alias=$ac_optarg ;;
1104
1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106     verbose=yes ;;
1107
1108   -version | --version | --versio | --versi | --vers | -V)
1109     ac_init_version=: ;;
1110
1111   -with-* | --with-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error $? "invalid package name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval with_$ac_useropt=\$ac_optarg ;;
1126
1127   -without-* | --without-*)
1128     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129     # Reject names that are not valid shell variable names.
1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131       as_fn_error $? "invalid package name: $ac_useropt"
1132     ac_useropt_orig=$ac_useropt
1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134     case $ac_user_opts in
1135       *"
1136 "with_$ac_useropt"
1137 "*) ;;
1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139          ac_unrecognized_sep=', ';;
1140     esac
1141     eval with_$ac_useropt=no ;;
1142
1143   --x)
1144     # Obsolete; use --with-x.
1145     with_x=yes ;;
1146
1147   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148   | --x-incl | --x-inc | --x-in | --x-i)
1149     ac_prev=x_includes ;;
1150   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152     x_includes=$ac_optarg ;;
1153
1154   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156     ac_prev=x_libraries ;;
1157   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159     x_libraries=$ac_optarg ;;
1160
1161   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information"
1163     ;;
1164
1165   *=*)
1166     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1167     # Reject names that are not valid shell variable names.
1168     case $ac_envvar in #(
1169       '' | [0-9]* | *[!_$as_cr_alnum]* )
1170       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1171     esac
1172     eval $ac_envvar=\$ac_optarg
1173     export $ac_envvar ;;
1174
1175   *)
1176     # FIXME: should be removed in autoconf 3.0.
1177     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181     ;;
1182
1183   esac
1184 done
1185
1186 if test -n "$ac_prev"; then
1187   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1188   as_fn_error $? "missing argument to $ac_option"
1189 fi
1190
1191 if test -n "$ac_unrecognized_opts"; then
1192   case $enable_option_checking in
1193     no) ;;
1194     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196   esac
1197 fi
1198
1199 # Check all directory arguments for consistency.
1200 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201                 datadir sysconfdir sharedstatedir localstatedir includedir \
1202                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203                 libdir localedir mandir
1204 do
1205   eval ac_val=\$$ac_var
1206   # Remove trailing slashes.
1207   case $ac_val in
1208     */ )
1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210       eval $ac_var=\$ac_val;;
1211   esac
1212   # Be sure to have absolute directory names.
1213   case $ac_val in
1214     [\\/$]* | ?:[\\/]* )  continue;;
1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216   esac
1217   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1218 done
1219
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1223 build=$build_alias
1224 host=$host_alias
1225 target=$target_alias
1226
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229   if test "x$build_alias" = x; then
1230     cross_compiling=maybe
1231   elif test "x$build_alias" != "x$host_alias"; then
1232     cross_compiling=yes
1233   fi
1234 fi
1235
1236 ac_tool_prefix=
1237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238
1239 test "$silent" = yes && exec 6>/dev/null
1240
1241
1242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1243 ac_ls_di=`ls -di .` &&
1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1245   as_fn_error $? "working directory cannot be determined"
1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1247   as_fn_error $? "pwd does not report name of working directory"
1248
1249
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252   ac_srcdir_defaulted=yes
1253   # Try the directory containing this script, then the parent directory.
1254   ac_confdir=`$as_dirname -- "$as_myself" ||
1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256          X"$as_myself" : 'X\(//\)[^/]' \| \
1257          X"$as_myself" : 'X\(//\)$' \| \
1258          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1259 $as_echo X"$as_myself" |
1260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261             s//\1/
1262             q
1263           }
1264           /^X\(\/\/\)[^/].*/{
1265             s//\1/
1266             q
1267           }
1268           /^X\(\/\/\)$/{
1269             s//\1/
1270             q
1271           }
1272           /^X\(\/\).*/{
1273             s//\1/
1274             q
1275           }
1276           s/.*/./; q'`
1277   srcdir=$ac_confdir
1278   if test ! -r "$srcdir/$ac_unique_file"; then
1279     srcdir=..
1280   fi
1281 else
1282   ac_srcdir_defaulted=no
1283 fi
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1286   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 fi
1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 ac_abs_confdir=`(
1290         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291         pwd)`
1292 # When building in place, set srcdir=.
1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294   srcdir=.
1295 fi
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1299 case $srcdir in
1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 esac
1302 for ac_var in $ac_precious_vars; do
1303   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304   eval ac_env_${ac_var}_value=\$${ac_var}
1305   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1307 done
1308
1309 #
1310 # Report the --help message.
1311 #
1312 if test "$ac_init_help" = "long"; then
1313   # Omit some internal or obsolete options to make the list less imposing.
1314   # This message is too long to be a string in the A/UX 3.1 sh.
1315   cat <<_ACEOF
1316 \`configure' configures svm 1.0 to adapt to many kinds of systems.
1317
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1319
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE.  See below for descriptions of some of the useful variables.
1322
1323 Defaults for the options are specified in brackets.
1324
1325 Configuration:
1326   -h, --help              display this help and exit
1327       --help=short        display options specific to this package
1328       --help=recursive    display the short help of all the included packages
1329   -V, --version           display version information and exit
1330   -q, --quiet, --silent   do not print \`checking ...' messages
1331       --cache-file=FILE   cache test results in FILE [disabled]
1332   -C, --config-cache      alias for \`--cache-file=config.cache'
1333   -n, --no-create         do not create output files
1334       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1335
1336 Installation directories:
1337   --prefix=PREFIX         install architecture-independent files in PREFIX
1338                           [$ac_default_prefix]
1339   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1340                           [PREFIX]
1341
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1346
1347 For better control, use the options below.
1348
1349 Fine tuning of the installation directories:
1350   --bindir=DIR            user executables [EPREFIX/bin]
1351   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1352   --libexecdir=DIR        program executables [EPREFIX/libexec]
1353   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1354   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1355   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1356   --libdir=DIR            object code libraries [EPREFIX/lib]
1357   --includedir=DIR        C header files [PREFIX/include]
1358   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1359   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1360   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1361   --infodir=DIR           info documentation [DATAROOTDIR/info]
1362   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1363   --mandir=DIR            man documentation [DATAROOTDIR/man]
1364   --docdir=DIR            documentation root [DATAROOTDIR/doc/svm]
1365   --htmldir=DIR           html documentation [DOCDIR]
1366   --dvidir=DIR            dvi documentation [DOCDIR]
1367   --pdfdir=DIR            pdf documentation [DOCDIR]
1368   --psdir=DIR             ps documentation [DOCDIR]
1369 _ACEOF
1370
1371   cat <<\_ACEOF
1372
1373 Program names:
1374   --program-prefix=PREFIX            prepend PREFIX to installed program names
1375   --program-suffix=SUFFIX            append SUFFIX to installed program names
1376   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1377
1378 System types:
1379   --build=BUILD     configure for building on BUILD [guessed]
1380   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1381 _ACEOF
1382 fi
1383
1384 if test -n "$ac_init_help"; then
1385   case $ac_init_help in
1386      short | recursive ) echo "Configuration of svm 1.0:";;
1387    esac
1388   cat <<\_ACEOF
1389
1390 Optional Features:
1391   --disable-option-checking  ignore unrecognized --enable/--with options
1392   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1393   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1394   --enable-silent-rules   less verbose build output (undo: "make V=1")
1395   --disable-silent-rules  verbose build output (undo: "make V=0")
1396   --enable-dependency-tracking
1397                           do not reject slow dependency extractors
1398   --disable-dependency-tracking
1399                           speeds up one-time build
1400   --enable-shared[=PKGS]  build shared libraries [default=yes]
1401   --enable-static[=PKGS]  build static libraries [default=yes]
1402   --enable-fast-install[=PKGS]
1403                           optimize for fast installation [default=yes]
1404   --disable-libtool-lock  avoid locking (might break parallel builds)
1405
1406 Optional Packages:
1407   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1408   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1409   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1410                           both]
1411   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1412   --with-sysroot=DIR Search for dependent libraries within DIR
1413                         (or the compiler's sysroot if not specified).
1414
1415 Some influential environment variables:
1416   CC          C compiler command
1417   CFLAGS      C compiler flags
1418   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1419               nonstandard directory <lib dir>
1420   LIBS        libraries to pass to the linker, e.g. -l<library>
1421   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1422               you have headers in a nonstandard directory <include dir>
1423   CCAS        assembler compiler command (defaults to CC)
1424   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1425   CPP         C preprocessor
1426
1427 Use these variables to override the choices made by `configure' or to help
1428 it to find libraries and programs with nonstandard names/locations.
1429
1430 Report bugs to the package provider.
1431 _ACEOF
1432 ac_status=$?
1433 fi
1434
1435 if test "$ac_init_help" = "recursive"; then
1436   # If there are subdirs, report their specific --help.
1437   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1438     test -d "$ac_dir" ||
1439       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1440       continue
1441     ac_builddir=.
1442
1443 case "$ac_dir" in
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *)
1446   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1447   # A ".." for each directory in $ac_dir_suffix.
1448   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1449   case $ac_top_builddir_sub in
1450   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452   esac ;;
1453 esac
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1458
1459 case $srcdir in
1460   .)  # We are building in place.
1461     ac_srcdir=.
1462     ac_top_srcdir=$ac_top_builddir_sub
1463     ac_abs_top_srcdir=$ac_pwd ;;
1464   [\\/]* | ?:[\\/]* )  # Absolute name.
1465     ac_srcdir=$srcdir$ac_dir_suffix;
1466     ac_top_srcdir=$srcdir
1467     ac_abs_top_srcdir=$srcdir ;;
1468   *) # Relative name.
1469     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470     ac_top_srcdir=$ac_top_build_prefix$srcdir
1471     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 esac
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474
1475     cd "$ac_dir" || { ac_status=$?; continue; }
1476     # Check for guested configure.
1477     if test -f "$ac_srcdir/configure.gnu"; then
1478       echo &&
1479       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480     elif test -f "$ac_srcdir/configure"; then
1481       echo &&
1482       $SHELL "$ac_srcdir/configure" --help=recursive
1483     else
1484       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485     fi || ac_status=$?
1486     cd "$ac_pwd" || { ac_status=$?; break; }
1487   done
1488 fi
1489
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1492   cat <<\_ACEOF
1493 svm configure 1.0
1494 generated by GNU Autoconf 2.69
1495
1496 Copyright (C) 2012 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1499 _ACEOF
1500   exit
1501 fi
1502
1503 ## ------------------------ ##
1504 ## Autoconf initialization. ##
1505 ## ------------------------ ##
1506
1507 # ac_fn_c_try_compile LINENO
1508 # --------------------------
1509 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1510 ac_fn_c_try_compile ()
1511 {
1512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513   rm -f conftest.$ac_objext
1514   if { { ac_try="$ac_compile"
1515 case "(($ac_try" in
1516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1517   *) ac_try_echo=$ac_try;;
1518 esac
1519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1520 $as_echo "$ac_try_echo"; } >&5
1521   (eval "$ac_compile") 2>conftest.err
1522   ac_status=$?
1523   if test -s conftest.err; then
1524     grep -v '^ *+' conftest.err >conftest.er1
1525     cat conftest.er1 >&5
1526     mv -f conftest.er1 conftest.err
1527   fi
1528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1529   test $ac_status = 0; } && {
1530          test -z "$ac_c_werror_flag" ||
1531          test ! -s conftest.err
1532        } && test -s conftest.$ac_objext; then :
1533   ac_retval=0
1534 else
1535   $as_echo "$as_me: failed program was:" >&5
1536 sed 's/^/| /' conftest.$ac_ext >&5
1537
1538         ac_retval=1
1539 fi
1540   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1541   as_fn_set_status $ac_retval
1542
1543 } # ac_fn_c_try_compile
1544
1545 # ac_fn_c_try_link LINENO
1546 # -----------------------
1547 # Try to link conftest.$ac_ext, and return whether this succeeded.
1548 ac_fn_c_try_link ()
1549 {
1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551   rm -f conftest.$ac_objext conftest$ac_exeext
1552   if { { ac_try="$ac_link"
1553 case "(($ac_try" in
1554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1555   *) ac_try_echo=$ac_try;;
1556 esac
1557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1558 $as_echo "$ac_try_echo"; } >&5
1559   (eval "$ac_link") 2>conftest.err
1560   ac_status=$?
1561   if test -s conftest.err; then
1562     grep -v '^ *+' conftest.err >conftest.er1
1563     cat conftest.er1 >&5
1564     mv -f conftest.er1 conftest.err
1565   fi
1566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567   test $ac_status = 0; } && {
1568          test -z "$ac_c_werror_flag" ||
1569          test ! -s conftest.err
1570        } && test -s conftest$ac_exeext && {
1571          test "$cross_compiling" = yes ||
1572          test -x conftest$ac_exeext
1573        }; then :
1574   ac_retval=0
1575 else
1576   $as_echo "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579         ac_retval=1
1580 fi
1581   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1582   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1583   # interfere with the next link command; also delete a directory that is
1584   # left behind by Apple's compiler.  We do this before executing the actions.
1585   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1586   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587   as_fn_set_status $ac_retval
1588
1589 } # ac_fn_c_try_link
1590
1591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1592 # -------------------------------------------------------
1593 # Tests whether HEADER exists and can be compiled using the include files in
1594 # INCLUDES, setting the cache variable VAR accordingly.
1595 ac_fn_c_check_header_compile ()
1596 {
1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1599 $as_echo_n "checking for $2... " >&6; }
1600 if eval \${$3+:} false; then :
1601   $as_echo_n "(cached) " >&6
1602 else
1603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h.  */
1605 $4
1606 #include <$2>
1607 _ACEOF
1608 if ac_fn_c_try_compile "$LINENO"; then :
1609   eval "$3=yes"
1610 else
1611   eval "$3=no"
1612 fi
1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1614 fi
1615 eval ac_res=\$$3
1616                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619
1620 } # ac_fn_c_check_header_compile
1621
1622 # ac_fn_c_try_cpp LINENO
1623 # ----------------------
1624 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_cpp ()
1626 {
1627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628   if { { ac_try="$ac_cpp conftest.$ac_ext"
1629 case "(($ac_try" in
1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631   *) ac_try_echo=$ac_try;;
1632 esac
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636   ac_status=$?
1637   if test -s conftest.err; then
1638     grep -v '^ *+' conftest.err >conftest.er1
1639     cat conftest.er1 >&5
1640     mv -f conftest.er1 conftest.err
1641   fi
1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643   test $ac_status = 0; } > conftest.i && {
1644          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645          test ! -s conftest.err
1646        }; then :
1647   ac_retval=0
1648 else
1649   $as_echo "$as_me: failed program was:" >&5
1650 sed 's/^/| /' conftest.$ac_ext >&5
1651
1652     ac_retval=1
1653 fi
1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655   as_fn_set_status $ac_retval
1656
1657 } # ac_fn_c_try_cpp
1658
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1663 ac_fn_c_try_run ()
1664 {
1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666   if { { ac_try="$ac_link"
1667 case "(($ac_try" in
1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669   *) ac_try_echo=$ac_try;;
1670 esac
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673   (eval "$ac_link") 2>&5
1674   ac_status=$?
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677   { { case "(($ac_try" in
1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679   *) ac_try_echo=$ac_try;;
1680 esac
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683   (eval "$ac_try") 2>&5
1684   ac_status=$?
1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686   test $ac_status = 0; }; }; then :
1687   ac_retval=0
1688 else
1689   $as_echo "$as_me: program exited with status $ac_status" >&5
1690        $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1692
1693        ac_retval=$ac_status
1694 fi
1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697   as_fn_set_status $ac_retval
1698
1699 } # ac_fn_c_try_run
1700
1701 # ac_fn_c_check_func LINENO FUNC VAR
1702 # ----------------------------------
1703 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1704 ac_fn_c_check_func ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1716 #define $2 innocuous_$2
1717
1718 /* System header to define __stub macros and hopefully few prototypes,
1719     which can conflict with char $2 (); below.
1720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1721     <limits.h> exists even on freestanding compilers.  */
1722
1723 #ifdef __STDC__
1724 # include <limits.h>
1725 #else
1726 # include <assert.h>
1727 #endif
1728
1729 #undef $2
1730
1731 /* Override any GCC internal prototype to avoid an error.
1732    Use char because int might match the return type of a GCC
1733    builtin and then its argument prototype would still apply.  */
1734 #ifdef __cplusplus
1735 extern "C"
1736 #endif
1737 char $2 ();
1738 /* The GNU C library defines this for functions which it implements
1739     to always fail with ENOSYS.  Some functions are actually named
1740     something starting with __ and the normal name is an alias.  */
1741 #if defined __stub_$2 || defined __stub___$2
1742 choke me
1743 #endif
1744
1745 int
1746 main ()
1747 {
1748 return $2 ();
1749   ;
1750   return 0;
1751 }
1752 _ACEOF
1753 if ac_fn_c_try_link "$LINENO"; then :
1754   eval "$3=yes"
1755 else
1756   eval "$3=no"
1757 fi
1758 rm -f core conftest.err conftest.$ac_objext \
1759     conftest$ac_exeext conftest.$ac_ext
1760 fi
1761 eval ac_res=\$$3
1762                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765
1766 } # ac_fn_c_check_func
1767 cat >config.log <<_ACEOF
1768 This file contains any messages produced by compilers while
1769 running configure, to aid debugging if configure makes a mistake.
1770
1771 It was created by svm $as_me 1.0, which was
1772 generated by GNU Autoconf 2.69.  Invocation command line was
1773
1774   $ $0 $@
1775
1776 _ACEOF
1777 exec 5>>config.log
1778 {
1779 cat <<_ASUNAME
1780 ## --------- ##
1781 ## Platform. ##
1782 ## --------- ##
1783
1784 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1785 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1786 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1787 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1788 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1789
1790 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1791 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1792
1793 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1794 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1795 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1796 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1797 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1798 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1799 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1800
1801 _ASUNAME
1802
1803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 for as_dir in $PATH
1805 do
1806   IFS=$as_save_IFS
1807   test -z "$as_dir" && as_dir=.
1808     $as_echo "PATH: $as_dir"
1809   done
1810 IFS=$as_save_IFS
1811
1812 } >&5
1813
1814 cat >&5 <<_ACEOF
1815
1816
1817 ## ----------- ##
1818 ## Core tests. ##
1819 ## ----------- ##
1820
1821 _ACEOF
1822
1823
1824 # Keep a trace of the command line.
1825 # Strip out --no-create and --no-recursion so they do not pile up.
1826 # Strip out --silent because we don't want to record it for future runs.
1827 # Also quote any args containing shell meta-characters.
1828 # Make two passes to allow for proper duplicate-argument suppression.
1829 ac_configure_args=
1830 ac_configure_args0=
1831 ac_configure_args1=
1832 ac_must_keep_next=false
1833 for ac_pass in 1 2
1834 do
1835   for ac_arg
1836   do
1837     case $ac_arg in
1838     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1839     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1840     | -silent | --silent | --silen | --sile | --sil)
1841       continue ;;
1842     *\'*)
1843       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1844     esac
1845     case $ac_pass in
1846     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1847     2)
1848       as_fn_append ac_configure_args1 " '$ac_arg'"
1849       if test $ac_must_keep_next = true; then
1850         ac_must_keep_next=false # Got value, back to normal.
1851       else
1852         case $ac_arg in
1853           *=* | --config-cache | -C | -disable-* | --disable-* \
1854           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1855           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1856           | -with-* | --with-* | -without-* | --without-* | --x)
1857             case "$ac_configure_args0 " in
1858               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1859             esac
1860             ;;
1861           -* ) ac_must_keep_next=true ;;
1862         esac
1863       fi
1864       as_fn_append ac_configure_args " '$ac_arg'"
1865       ;;
1866     esac
1867   done
1868 done
1869 { ac_configure_args0=; unset ac_configure_args0;}
1870 { ac_configure_args1=; unset ac_configure_args1;}
1871
1872 # When interrupted or exit'd, cleanup temporary files, and complete
1873 # config.log.  We remove comments because anyway the quotes in there
1874 # would cause problems or look ugly.
1875 # WARNING: Use '\'' to represent an apostrophe within the trap.
1876 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1877 trap 'exit_status=$?
1878   # Save into config.log some information that might help in debugging.
1879   {
1880     echo
1881
1882     $as_echo "## ---------------- ##
1883 ## Cache variables. ##
1884 ## ---------------- ##"
1885     echo
1886     # The following way of writing the cache mishandles newlines in values,
1887 (
1888   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1889     eval ac_val=\$$ac_var
1890     case $ac_val in #(
1891     *${as_nl}*)
1892       case $ac_var in #(
1893       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1894 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1895       esac
1896       case $ac_var in #(
1897       _ | IFS | as_nl) ;; #(
1898       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1899       *) { eval $ac_var=; unset $ac_var;} ;;
1900       esac ;;
1901     esac
1902   done
1903   (set) 2>&1 |
1904     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1905     *${as_nl}ac_space=\ *)
1906       sed -n \
1907         "s/'\''/'\''\\\\'\'''\''/g;
1908           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1909       ;; #(
1910     *)
1911       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1912       ;;
1913     esac |
1914     sort
1915 )
1916     echo
1917
1918     $as_echo "## ----------------- ##
1919 ## Output variables. ##
1920 ## ----------------- ##"
1921     echo
1922     for ac_var in $ac_subst_vars
1923     do
1924       eval ac_val=\$$ac_var
1925       case $ac_val in
1926       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1927       esac
1928       $as_echo "$ac_var='\''$ac_val'\''"
1929     done | sort
1930     echo
1931
1932     if test -n "$ac_subst_files"; then
1933       $as_echo "## ------------------- ##
1934 ## File substitutions. ##
1935 ## ------------------- ##"
1936       echo
1937       for ac_var in $ac_subst_files
1938       do
1939         eval ac_val=\$$ac_var
1940         case $ac_val in
1941         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1942         esac
1943         $as_echo "$ac_var='\''$ac_val'\''"
1944       done | sort
1945       echo
1946     fi
1947
1948     if test -s confdefs.h; then
1949       $as_echo "## ----------- ##
1950 ## confdefs.h. ##
1951 ## ----------- ##"
1952       echo
1953       cat confdefs.h
1954       echo
1955     fi
1956     test "$ac_signal" != 0 &&
1957       $as_echo "$as_me: caught signal $ac_signal"
1958     $as_echo "$as_me: exit $exit_status"
1959   } >&5
1960   rm -f core *.core core.conftest.* &&
1961     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1962     exit $exit_status
1963 ' 0
1964 for ac_signal in 1 2 13 15; do
1965   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1966 done
1967 ac_signal=0
1968
1969 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1970 rm -f -r conftest* confdefs.h
1971
1972 $as_echo "/* confdefs.h */" > confdefs.h
1973
1974 # Predefined preprocessor variables.
1975
1976 cat >>confdefs.h <<_ACEOF
1977 #define PACKAGE_NAME "$PACKAGE_NAME"
1978 _ACEOF
1979
1980 cat >>confdefs.h <<_ACEOF
1981 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1982 _ACEOF
1983
1984 cat >>confdefs.h <<_ACEOF
1985 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1986 _ACEOF
1987
1988 cat >>confdefs.h <<_ACEOF
1989 #define PACKAGE_STRING "$PACKAGE_STRING"
1990 _ACEOF
1991
1992 cat >>confdefs.h <<_ACEOF
1993 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1994 _ACEOF
1995
1996 cat >>confdefs.h <<_ACEOF
1997 #define PACKAGE_URL "$PACKAGE_URL"
1998 _ACEOF
1999
2000
2001 # Let the site file select an alternate cache file if it wants to.
2002 # Prefer an explicitly selected file to automatically selected ones.
2003 ac_site_file1=NONE
2004 ac_site_file2=NONE
2005 if test -n "$CONFIG_SITE"; then
2006   # We do not want a PATH search for config.site.
2007   case $CONFIG_SITE in #((
2008     -*)  ac_site_file1=./$CONFIG_SITE;;
2009     */*) ac_site_file1=$CONFIG_SITE;;
2010     *)   ac_site_file1=./$CONFIG_SITE;;
2011   esac
2012 elif test "x$prefix" != xNONE; then
2013   ac_site_file1=$prefix/share/config.site
2014   ac_site_file2=$prefix/etc/config.site
2015 else
2016   ac_site_file1=$ac_default_prefix/share/config.site
2017   ac_site_file2=$ac_default_prefix/etc/config.site
2018 fi
2019 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2020 do
2021   test "x$ac_site_file" = xNONE && continue
2022   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2023     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2024 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2025     sed 's/^/| /' "$ac_site_file" >&5
2026     . "$ac_site_file" \
2027       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2029 as_fn_error $? "failed to load site script $ac_site_file
2030 See \`config.log' for more details" "$LINENO" 5; }
2031   fi
2032 done
2033
2034 if test -r "$cache_file"; then
2035   # Some versions of bash will fail to source /dev/null (special files
2036   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2037   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2038     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2039 $as_echo "$as_me: loading cache $cache_file" >&6;}
2040     case $cache_file in
2041       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2042       *)                      . "./$cache_file";;
2043     esac
2044   fi
2045 else
2046   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2047 $as_echo "$as_me: creating cache $cache_file" >&6;}
2048   >$cache_file
2049 fi
2050
2051 # Check that the precious variables saved in the cache have kept the same
2052 # value.
2053 ac_cache_corrupted=false
2054 for ac_var in $ac_precious_vars; do
2055   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2056   eval ac_new_set=\$ac_env_${ac_var}_set
2057   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2058   eval ac_new_val=\$ac_env_${ac_var}_value
2059   case $ac_old_set,$ac_new_set in
2060     set,)
2061       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2063       ac_cache_corrupted=: ;;
2064     ,set)
2065       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2067       ac_cache_corrupted=: ;;
2068     ,);;
2069     *)
2070       if test "x$ac_old_val" != "x$ac_new_val"; then
2071         # differences in whitespace do not lead to failure.
2072         ac_old_val_w=`echo x $ac_old_val`
2073         ac_new_val_w=`echo x $ac_new_val`
2074         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2075           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2077           ac_cache_corrupted=:
2078         else
2079           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2081           eval $ac_var=\$ac_old_val
2082         fi
2083         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2084 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2085         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2086 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2087       fi;;
2088   esac
2089   # Pass precious variables to config.status.
2090   if test "$ac_new_set" = set; then
2091     case $ac_new_val in
2092     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2093     *) ac_arg=$ac_var=$ac_new_val ;;
2094     esac
2095     case " $ac_configure_args " in
2096       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2097       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2098     esac
2099   fi
2100 done
2101 if $ac_cache_corrupted; then
2102   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2104   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2106   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2107 fi
2108 ## -------------------- ##
2109 ## Main body of script. ##
2110 ## -------------------- ##
2111
2112 ac_ext=c
2113 ac_cpp='$CPP $CPPFLAGS'
2114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2117
2118
2119 am__api_version='1.14'
2120
2121 ac_aux_dir=
2122 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2123   if test -f "$ac_dir/install-sh"; then
2124     ac_aux_dir=$ac_dir
2125     ac_install_sh="$ac_aux_dir/install-sh -c"
2126     break
2127   elif test -f "$ac_dir/install.sh"; then
2128     ac_aux_dir=$ac_dir
2129     ac_install_sh="$ac_aux_dir/install.sh -c"
2130     break
2131   elif test -f "$ac_dir/shtool"; then
2132     ac_aux_dir=$ac_dir
2133     ac_install_sh="$ac_aux_dir/shtool install -c"
2134     break
2135   fi
2136 done
2137 if test -z "$ac_aux_dir"; then
2138   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2139 fi
2140
2141 # These three variables are undocumented and unsupported,
2142 # and are intended to be withdrawn in a future Autoconf release.
2143 # They can cause serious problems if a builder's source tree is in a directory
2144 # whose full name contains unusual characters.
2145 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2146 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2147 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2148
2149
2150 # Find a good install program.  We prefer a C program (faster),
2151 # so one script is as good as another.  But avoid the broken or
2152 # incompatible versions:
2153 # SysV /etc/install, /usr/sbin/install
2154 # SunOS /usr/etc/install
2155 # IRIX /sbin/install
2156 # AIX /bin/install
2157 # AmigaOS /C/install, which installs bootblocks on floppy discs
2158 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2159 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2160 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2161 # OS/2's system install, which has a completely different semantic
2162 # ./install, which can be erroneously created by make from ./install.sh.
2163 # Reject install programs that cannot install multiple files.
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2165 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2166 if test -z "$INSTALL"; then
2167 if ${ac_cv_path_install+:} false; then :
2168   $as_echo_n "(cached) " >&6
2169 else
2170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2172 do
2173   IFS=$as_save_IFS
2174   test -z "$as_dir" && as_dir=.
2175     # Account for people who put trailing slashes in PATH elements.
2176 case $as_dir/ in #((
2177   ./ | .// | /[cC]/* | \
2178   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2179   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2180   /usr/ucb/* ) ;;
2181   *)
2182     # OSF1 and SCO ODT 3.0 have their own names for install.
2183     # Don't use installbsd from OSF since it installs stuff as root
2184     # by default.
2185     for ac_prog in ginstall scoinst install; do
2186       for ac_exec_ext in '' $ac_executable_extensions; do
2187         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2188           if test $ac_prog = install &&
2189             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2190             # AIX install.  It has an incompatible calling convention.
2191             :
2192           elif test $ac_prog = install &&
2193             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2194             # program-specific install script used by HP pwplus--don't use.
2195             :
2196           else
2197             rm -rf conftest.one conftest.two conftest.dir
2198             echo one > conftest.one
2199             echo two > conftest.two
2200             mkdir conftest.dir
2201             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2202               test -s conftest.one && test -s conftest.two &&
2203               test -s conftest.dir/conftest.one &&
2204               test -s conftest.dir/conftest.two
2205             then
2206               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2207               break 3
2208             fi
2209           fi
2210         fi
2211       done
2212     done
2213     ;;
2214 esac
2215
2216   done
2217 IFS=$as_save_IFS
2218
2219 rm -rf conftest.one conftest.two conftest.dir
2220
2221 fi
2222   if test "${ac_cv_path_install+set}" = set; then
2223     INSTALL=$ac_cv_path_install
2224   else
2225     # As a last resort, use the slow shell script.  Don't cache a
2226     # value for INSTALL within a source directory, because that will
2227     # break other packages using the cache if that directory is
2228     # removed, or if the value is a relative name.
2229     INSTALL=$ac_install_sh
2230   fi
2231 fi
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2233 $as_echo "$INSTALL" >&6; }
2234
2235 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2236 # It thinks the first close brace ends the variable substitution.
2237 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2238
2239 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2240
2241 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2242
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2244 $as_echo_n "checking whether build environment is sane... " >&6; }
2245 # Reject unsafe characters in $srcdir or the absolute working directory
2246 # name.  Accept space and tab only in the latter.
2247 am_lf='
2248 '
2249 case `pwd` in
2250   *[\\\"\#\$\&\'\`$am_lf]*)
2251     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2252 esac
2253 case $srcdir in
2254   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2255     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2256 esac
2257
2258 # Do 'set' in a subshell so we don't clobber the current shell's
2259 # arguments.  Must try -L first in case configure is actually a
2260 # symlink; some systems play weird games with the mod time of symlinks
2261 # (eg FreeBSD returns the mod time of the symlink's containing
2262 # directory).
2263 if (
2264    am_has_slept=no
2265    for am_try in 1 2; do
2266      echo "timestamp, slept: $am_has_slept" > conftest.file
2267      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2268      if test "$*" = "X"; then
2269         # -L didn't work.
2270         set X `ls -t "$srcdir/configure" conftest.file`
2271      fi
2272      if test "$*" != "X $srcdir/configure conftest.file" \
2273         && test "$*" != "X conftest.file $srcdir/configure"; then
2274
2275         # If neither matched, then we have a broken ls.  This can happen
2276         # if, for instance, CONFIG_SHELL is bash and it inherits a
2277         # broken ls alias from the environment.  This has actually
2278         # happened.  Such a system could not be considered "sane".
2279         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2280   alias in your environment" "$LINENO" 5
2281      fi
2282      if test "$2" = conftest.file || test $am_try -eq 2; then
2283        break
2284      fi
2285      # Just in case.
2286      sleep 1
2287      am_has_slept=yes
2288    done
2289    test "$2" = conftest.file
2290    )
2291 then
2292    # Ok.
2293    :
2294 else
2295    as_fn_error $? "newly created file is older than distributed files!
2296 Check your system clock" "$LINENO" 5
2297 fi
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2299 $as_echo "yes" >&6; }
2300 # If we didn't sleep, we still need to ensure time stamps of config.status and
2301 # generated files are strictly newer.
2302 am_sleep_pid=
2303 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2304   ( sleep 1 ) &
2305   am_sleep_pid=$!
2306 fi
2307
2308 rm -f conftest.file
2309
2310 test "$program_prefix" != NONE &&
2311   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2312 # Use a double $ so make ignores it.
2313 test "$program_suffix" != NONE &&
2314   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2315 # Double any \ or $.
2316 # By default was `s,x,x', remove it if useless.
2317 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2318 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2319
2320 # expand $ac_aux_dir to an absolute path
2321 am_aux_dir=`cd $ac_aux_dir && pwd`
2322
2323 if test x"${MISSING+set}" != xset; then
2324   case $am_aux_dir in
2325   *\ * | *\     *)
2326     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2327   *)
2328     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2329   esac
2330 fi
2331 # Use eval to expand $SHELL
2332 if eval "$MISSING --is-lightweight"; then
2333   am_missing_run="$MISSING "
2334 else
2335   am_missing_run=
2336   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2337 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2338 fi
2339
2340 if test x"${install_sh}" != xset; then
2341   case $am_aux_dir in
2342   *\ * | *\     *)
2343     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2344   *)
2345     install_sh="\${SHELL} $am_aux_dir/install-sh"
2346   esac
2347 fi
2348
2349 # Installed binaries are usually stripped using 'strip' when the user
2350 # run "make install-strip".  However 'strip' might not be the right
2351 # tool to use in cross-compilation environments, therefore Automake
2352 # will honor the 'STRIP' environment variable to overrule this program.
2353 if test "$cross_compiling" != no; then
2354   if test -n "$ac_tool_prefix"; then
2355   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2356 set dummy ${ac_tool_prefix}strip; ac_word=$2
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if ${ac_cv_prog_STRIP+:} false; then :
2360   $as_echo_n "(cached) " >&6
2361 else
2362   if test -n "$STRIP"; then
2363   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2364 else
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 for as_dir in $PATH
2367 do
2368   IFS=$as_save_IFS
2369   test -z "$as_dir" && as_dir=.
2370     for ac_exec_ext in '' $ac_executable_extensions; do
2371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2374     break 2
2375   fi
2376 done
2377   done
2378 IFS=$as_save_IFS
2379
2380 fi
2381 fi
2382 STRIP=$ac_cv_prog_STRIP
2383 if test -n "$STRIP"; then
2384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2385 $as_echo "$STRIP" >&6; }
2386 else
2387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2388 $as_echo "no" >&6; }
2389 fi
2390
2391
2392 fi
2393 if test -z "$ac_cv_prog_STRIP"; then
2394   ac_ct_STRIP=$STRIP
2395   # Extract the first word of "strip", so it can be a program name with args.
2396 set dummy strip; ac_word=$2
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2398 $as_echo_n "checking for $ac_word... " >&6; }
2399 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2400   $as_echo_n "(cached) " >&6
2401 else
2402   if test -n "$ac_ct_STRIP"; then
2403   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2404 else
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 for as_dir in $PATH
2407 do
2408   IFS=$as_save_IFS
2409   test -z "$as_dir" && as_dir=.
2410     for ac_exec_ext in '' $ac_executable_extensions; do
2411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2412     ac_cv_prog_ac_ct_STRIP="strip"
2413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2414     break 2
2415   fi
2416 done
2417   done
2418 IFS=$as_save_IFS
2419
2420 fi
2421 fi
2422 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2423 if test -n "$ac_ct_STRIP"; then
2424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2425 $as_echo "$ac_ct_STRIP" >&6; }
2426 else
2427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2428 $as_echo "no" >&6; }
2429 fi
2430
2431   if test "x$ac_ct_STRIP" = x; then
2432     STRIP=":"
2433   else
2434     case $cross_compiling:$ac_tool_warned in
2435 yes:)
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2438 ac_tool_warned=yes ;;
2439 esac
2440     STRIP=$ac_ct_STRIP
2441   fi
2442 else
2443   STRIP="$ac_cv_prog_STRIP"
2444 fi
2445
2446 fi
2447 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2448
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2450 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2451 if test -z "$MKDIR_P"; then
2452   if ${ac_cv_path_mkdir+:} false; then :
2453   $as_echo_n "(cached) " >&6
2454 else
2455   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2457 do
2458   IFS=$as_save_IFS
2459   test -z "$as_dir" && as_dir=.
2460     for ac_prog in mkdir gmkdir; do
2461          for ac_exec_ext in '' $ac_executable_extensions; do
2462            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2463            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2464              'mkdir (GNU coreutils) '* | \
2465              'mkdir (coreutils) '* | \
2466              'mkdir (fileutils) '4.1*)
2467                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2468                break 3;;
2469            esac
2470          done
2471        done
2472   done
2473 IFS=$as_save_IFS
2474
2475 fi
2476
2477   test -d ./--version && rmdir ./--version
2478   if test "${ac_cv_path_mkdir+set}" = set; then
2479     MKDIR_P="$ac_cv_path_mkdir -p"
2480   else
2481     # As a last resort, use the slow shell script.  Don't cache a
2482     # value for MKDIR_P within a source directory, because that will
2483     # break other packages using the cache if that directory is
2484     # removed, or if the value is a relative name.
2485     MKDIR_P="$ac_install_sh -d"
2486   fi
2487 fi
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2489 $as_echo "$MKDIR_P" >&6; }
2490
2491 for ac_prog in gawk mawk nawk awk
2492 do
2493   # Extract the first word of "$ac_prog", so it can be a program name with args.
2494 set dummy $ac_prog; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_AWK+:} false; then :
2498   $as_echo_n "(cached) " >&6
2499 else
2500   if test -n "$AWK"; then
2501   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2502 else
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH
2505 do
2506   IFS=$as_save_IFS
2507   test -z "$as_dir" && as_dir=.
2508     for ac_exec_ext in '' $ac_executable_extensions; do
2509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510     ac_cv_prog_AWK="$ac_prog"
2511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512     break 2
2513   fi
2514 done
2515   done
2516 IFS=$as_save_IFS
2517
2518 fi
2519 fi
2520 AWK=$ac_cv_prog_AWK
2521 if test -n "$AWK"; then
2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2523 $as_echo "$AWK" >&6; }
2524 else
2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2527 fi
2528
2529
2530   test -n "$AWK" && break
2531 done
2532
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2534 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2535 set x ${MAKE-make}
2536 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2537 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2538   $as_echo_n "(cached) " >&6
2539 else
2540   cat >conftest.make <<\_ACEOF
2541 SHELL = /bin/sh
2542 all:
2543         @echo '@@@%%%=$(MAKE)=@@@%%%'
2544 _ACEOF
2545 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2546 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2547   *@@@%%%=?*=@@@%%%*)
2548     eval ac_cv_prog_make_${ac_make}_set=yes;;
2549   *)
2550     eval ac_cv_prog_make_${ac_make}_set=no;;
2551 esac
2552 rm -f conftest.make
2553 fi
2554 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2557   SET_MAKE=
2558 else
2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561   SET_MAKE="MAKE=${MAKE-make}"
2562 fi
2563
2564 rm -rf .tst 2>/dev/null
2565 mkdir .tst 2>/dev/null
2566 if test -d .tst; then
2567   am__leading_dot=.
2568 else
2569   am__leading_dot=_
2570 fi
2571 rmdir .tst 2>/dev/null
2572
2573 # Check whether --enable-silent-rules was given.
2574 if test "${enable_silent_rules+set}" = set; then :
2575   enableval=$enable_silent_rules;
2576 fi
2577
2578 case $enable_silent_rules in # (((
2579   yes) AM_DEFAULT_VERBOSITY=0;;
2580    no) AM_DEFAULT_VERBOSITY=1;;
2581     *) AM_DEFAULT_VERBOSITY=1;;
2582 esac
2583 am_make=${MAKE-make}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2585 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2586 if ${am_cv_make_support_nested_variables+:} false; then :
2587   $as_echo_n "(cached) " >&6
2588 else
2589   if $as_echo 'TRUE=$(BAR$(V))
2590 BAR0=false
2591 BAR1=true
2592 V=1
2593 am__doit:
2594         @$(TRUE)
2595 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2596   am_cv_make_support_nested_variables=yes
2597 else
2598   am_cv_make_support_nested_variables=no
2599 fi
2600 fi
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2602 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2603 if test $am_cv_make_support_nested_variables = yes; then
2604     AM_V='$(V)'
2605   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2606 else
2607   AM_V=$AM_DEFAULT_VERBOSITY
2608   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2609 fi
2610 AM_BACKSLASH='\'
2611
2612 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2613   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2614   # is not polluted with repeated "-I."
2615   am__isrc=' -I$(srcdir)'
2616   # test to see if srcdir already configured
2617   if test -f $srcdir/config.status; then
2618     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2619   fi
2620 fi
2621
2622 # test whether we have cygpath
2623 if test -z "$CYGPATH_W"; then
2624   if (cygpath --version) >/dev/null 2>/dev/null; then
2625     CYGPATH_W='cygpath -w'
2626   else
2627     CYGPATH_W=echo
2628   fi
2629 fi
2630
2631
2632 # Define the identity of the package.
2633  PACKAGE='svm'
2634  VERSION='1.0'
2635
2636
2637 cat >>confdefs.h <<_ACEOF
2638 #define PACKAGE "$PACKAGE"
2639 _ACEOF
2640
2641
2642 cat >>confdefs.h <<_ACEOF
2643 #define VERSION "$VERSION"
2644 _ACEOF
2645
2646 # Some tools Automake needs.
2647
2648 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2649
2650
2651 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2652
2653
2654 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2655
2656
2657 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2658
2659
2660 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2661
2662 # For better backward compatibility.  To be removed once Automake 1.9.x
2663 # dies out for good.  For more background, see:
2664 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2665 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2666 mkdir_p='$(MKDIR_P)'
2667
2668 # We need awk for the "check" target.  The system "awk" is bad on
2669 # some platforms.
2670 # Always define AMTAR for backward compatibility.  Yes, it's still used
2671 # in the wild :-(  We should find a proper way to deprecate it ...
2672 AMTAR='$${TAR-tar}'
2673
2674
2675 # We'll loop over all known methods to create a tar archive until one works.
2676 _am_tools='gnutar  pax cpio none'
2677
2678 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2679
2680
2681
2682
2683
2684
2685 # POSIX will say in a future version that running "rm -f" with no argument
2686 # is OK; and we want to be able to make that assumption in our Makefile
2687 # recipes.  So use an aggressive probe to check that the usage we want is
2688 # actually supported "in the wild" to an acceptable degree.
2689 # See automake bug#10828.
2690 # To make any issue more visible, cause the running configure to be aborted
2691 # by default if the 'rm' program in use doesn't match our expectations; the
2692 # user can still override this though.
2693 if rm -f && rm -fr && rm -rf; then : OK; else
2694   cat >&2 <<'END'
2695 Oops!
2696
2697 Your 'rm' program seems unable to run without file operands specified
2698 on the command line, even when the '-f' option is present.  This is contrary
2699 to the behaviour of most rm programs out there, and not conforming with
2700 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2701
2702 Please tell bug-automake@gnu.org about your system, including the value
2703 of your $PATH and any error possibly output before this message.  This
2704 can help us improve future automake versions.
2705
2706 END
2707   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2708     echo 'Configuration will proceed anyway, since you have set the' >&2
2709     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2710     echo >&2
2711   else
2712     cat >&2 <<'END'
2713 Aborting the configuration process, to ensure you take notice of the issue.
2714
2715 You can download and install GNU coreutils to get an 'rm' implementation
2716 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2717
2718 If you want to complete the configuration process using your problematic
2719 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2720 to "yes", and re-run configure.
2721
2722 END
2723     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2724   fi
2725 fi
2726
2727 # Check whether --enable-silent-rules was given.
2728 if test "${enable_silent_rules+set}" = set; then :
2729   enableval=$enable_silent_rules;
2730 fi
2731
2732 case $enable_silent_rules in # (((
2733   yes) AM_DEFAULT_VERBOSITY=0;;
2734    no) AM_DEFAULT_VERBOSITY=1;;
2735     *) AM_DEFAULT_VERBOSITY=1;;
2736 esac
2737 am_make=${MAKE-make}
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2739 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2740 if ${am_cv_make_support_nested_variables+:} false; then :
2741   $as_echo_n "(cached) " >&6
2742 else
2743   if $as_echo 'TRUE=$(BAR$(V))
2744 BAR0=false
2745 BAR1=true
2746 V=1
2747 am__doit:
2748         @$(TRUE)
2749 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2750   am_cv_make_support_nested_variables=yes
2751 else
2752   am_cv_make_support_nested_variables=no
2753 fi
2754 fi
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2756 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2757 if test $am_cv_make_support_nested_variables = yes; then
2758     AM_V='$(V)'
2759   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2760 else
2761   AM_V=$AM_DEFAULT_VERBOSITY
2762   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2763 fi
2764 AM_BACKSLASH='\'
2765
2766
2767 DEPDIR="${am__leading_dot}deps"
2768
2769 ac_config_commands="$ac_config_commands depfiles"
2770
2771
2772 am_make=${MAKE-make}
2773 cat > confinc << 'END'
2774 am__doit:
2775         @echo this is the am__doit target
2776 .PHONY: am__doit
2777 END
2778 # If we don't find an include directive, just comment out the code.
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2780 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2781 am__include="#"
2782 am__quote=
2783 _am_result=none
2784 # First try GNU make style include.
2785 echo "include confinc" > confmf
2786 # Ignore all kinds of additional output from 'make'.
2787 case `$am_make -s -f confmf 2> /dev/null` in #(
2788 *the\ am__doit\ target*)
2789   am__include=include
2790   am__quote=
2791   _am_result=GNU
2792   ;;
2793 esac
2794 # Now try BSD make style include.
2795 if test "$am__include" = "#"; then
2796    echo '.include "confinc"' > confmf
2797    case `$am_make -s -f confmf 2> /dev/null` in #(
2798    *the\ am__doit\ target*)
2799      am__include=.include
2800      am__quote="\""
2801      _am_result=BSD
2802      ;;
2803    esac
2804 fi
2805
2806
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2808 $as_echo "$_am_result" >&6; }
2809 rm -f confinc confmf
2810
2811 # Check whether --enable-dependency-tracking was given.
2812 if test "${enable_dependency_tracking+set}" = set; then :
2813   enableval=$enable_dependency_tracking;
2814 fi
2815
2816 if test "x$enable_dependency_tracking" != xno; then
2817   am_depcomp="$ac_aux_dir/depcomp"
2818   AMDEPBACKSLASH='\'
2819   am__nodep='_no'
2820 fi
2821  if test "x$enable_dependency_tracking" != xno; then
2822   AMDEP_TRUE=
2823   AMDEP_FALSE='#'
2824 else
2825   AMDEP_TRUE='#'
2826   AMDEP_FALSE=
2827 fi
2828
2829
2830 ac_ext=c
2831 ac_cpp='$CPP $CPPFLAGS'
2832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2835 if test -n "$ac_tool_prefix"; then
2836   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2837 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_CC+:} false; then :
2841   $as_echo_n "(cached) " >&6
2842 else
2843   if test -n "$CC"; then
2844   ac_cv_prog_CC="$CC" # Let the user override the test.
2845 else
2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 for as_dir in $PATH
2848 do
2849   IFS=$as_save_IFS
2850   test -z "$as_dir" && as_dir=.
2851     for ac_exec_ext in '' $ac_executable_extensions; do
2852   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2853     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855     break 2
2856   fi
2857 done
2858   done
2859 IFS=$as_save_IFS
2860
2861 fi
2862 fi
2863 CC=$ac_cv_prog_CC
2864 if test -n "$CC"; then
2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2867 else
2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2870 fi
2871
2872
2873 fi
2874 if test -z "$ac_cv_prog_CC"; then
2875   ac_ct_CC=$CC
2876   # Extract the first word of "gcc", so it can be a program name with args.
2877 set dummy gcc; ac_word=$2
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879 $as_echo_n "checking for $ac_word... " >&6; }
2880 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2881   $as_echo_n "(cached) " >&6
2882 else
2883   if test -n "$ac_ct_CC"; then
2884   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2885 else
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887 for as_dir in $PATH
2888 do
2889   IFS=$as_save_IFS
2890   test -z "$as_dir" && as_dir=.
2891     for ac_exec_ext in '' $ac_executable_extensions; do
2892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893     ac_cv_prog_ac_ct_CC="gcc"
2894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895     break 2
2896   fi
2897 done
2898   done
2899 IFS=$as_save_IFS
2900
2901 fi
2902 fi
2903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2904 if test -n "$ac_ct_CC"; then
2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2906 $as_echo "$ac_ct_CC" >&6; }
2907 else
2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2910 fi
2911
2912   if test "x$ac_ct_CC" = x; then
2913     CC=""
2914   else
2915     case $cross_compiling:$ac_tool_warned in
2916 yes:)
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2919 ac_tool_warned=yes ;;
2920 esac
2921     CC=$ac_ct_CC
2922   fi
2923 else
2924   CC="$ac_cv_prog_CC"
2925 fi
2926
2927 if test -z "$CC"; then
2928           if test -n "$ac_tool_prefix"; then
2929     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2930 set dummy ${ac_tool_prefix}cc; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_CC+:} false; then :
2934   $as_echo_n "(cached) " >&6
2935 else
2936   if test -n "$CC"; then
2937   ac_cv_prog_CC="$CC" # Let the user override the test.
2938 else
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 for as_dir in $PATH
2941 do
2942   IFS=$as_save_IFS
2943   test -z "$as_dir" && as_dir=.
2944     for ac_exec_ext in '' $ac_executable_extensions; do
2945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946     ac_cv_prog_CC="${ac_tool_prefix}cc"
2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948     break 2
2949   fi
2950 done
2951   done
2952 IFS=$as_save_IFS
2953
2954 fi
2955 fi
2956 CC=$ac_cv_prog_CC
2957 if test -n "$CC"; then
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2959 $as_echo "$CC" >&6; }
2960 else
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2963 fi
2964
2965
2966   fi
2967 fi
2968 if test -z "$CC"; then
2969   # Extract the first word of "cc", so it can be a program name with args.
2970 set dummy cc; ac_word=$2
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2972 $as_echo_n "checking for $ac_word... " >&6; }
2973 if ${ac_cv_prog_CC+:} false; then :
2974   $as_echo_n "(cached) " >&6
2975 else
2976   if test -n "$CC"; then
2977   ac_cv_prog_CC="$CC" # Let the user override the test.
2978 else
2979   ac_prog_rejected=no
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2982 do
2983   IFS=$as_save_IFS
2984   test -z "$as_dir" && as_dir=.
2985     for ac_exec_ext in '' $ac_executable_extensions; do
2986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2987     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2988        ac_prog_rejected=yes
2989        continue
2990      fi
2991     ac_cv_prog_CC="cc"
2992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993     break 2
2994   fi
2995 done
2996   done
2997 IFS=$as_save_IFS
2998
2999 if test $ac_prog_rejected = yes; then
3000   # We found a bogon in the path, so make sure we never use it.
3001   set dummy $ac_cv_prog_CC
3002   shift
3003   if test $# != 0; then
3004     # We chose a different compiler from the bogus one.
3005     # However, it has the same basename, so the bogon will be chosen
3006     # first if we set CC to just the basename; use the full file name.
3007     shift
3008     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3009   fi
3010 fi
3011 fi
3012 fi
3013 CC=$ac_cv_prog_CC
3014 if test -n "$CC"; then
3015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3017 else
3018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3020 fi
3021
3022
3023 fi
3024 if test -z "$CC"; then
3025   if test -n "$ac_tool_prefix"; then
3026   for ac_prog in cl.exe
3027   do
3028     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033   $as_echo_n "(cached) " >&6
3034 else
3035   if test -n "$CC"; then
3036   ac_cv_prog_CC="$CC" # Let the user override the test.
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3040 do
3041   IFS=$as_save_IFS
3042   test -z "$as_dir" && as_dir=.
3043     for ac_exec_ext in '' $ac_executable_extensions; do
3044   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047     break 2
3048   fi
3049 done
3050   done
3051 IFS=$as_save_IFS
3052
3053 fi
3054 fi
3055 CC=$ac_cv_prog_CC
3056 if test -n "$CC"; then
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3059 else
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3062 fi
3063
3064
3065     test -n "$CC" && break
3066   done
3067 fi
3068 if test -z "$CC"; then
3069   ac_ct_CC=$CC
3070   for ac_prog in cl.exe
3071 do
3072   # Extract the first word of "$ac_prog", so it can be a program name with args.
3073 set dummy $ac_prog; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3077   $as_echo_n "(cached) " >&6
3078 else
3079   if test -n "$ac_ct_CC"; then
3080   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3081 else
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 for as_dir in $PATH
3084 do
3085   IFS=$as_save_IFS
3086   test -z "$as_dir" && as_dir=.
3087     for ac_exec_ext in '' $ac_executable_extensions; do
3088   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3089     ac_cv_prog_ac_ct_CC="$ac_prog"
3090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091     break 2
3092   fi
3093 done
3094   done
3095 IFS=$as_save_IFS
3096
3097 fi
3098 fi
3099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3100 if test -n "$ac_ct_CC"; then
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3102 $as_echo "$ac_ct_CC" >&6; }
3103 else
3104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3106 fi
3107
3108
3109   test -n "$ac_ct_CC" && break
3110 done
3111
3112   if test "x$ac_ct_CC" = x; then
3113     CC=""
3114   else
3115     case $cross_compiling:$ac_tool_warned in
3116 yes:)
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3119 ac_tool_warned=yes ;;
3120 esac
3121     CC=$ac_ct_CC
3122   fi
3123 fi
3124
3125 fi
3126
3127
3128 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3130 as_fn_error $? "no acceptable C compiler found in \$PATH
3131 See \`config.log' for more details" "$LINENO" 5; }
3132
3133 # Provide some information about the compiler.
3134 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3135 set X $ac_compile
3136 ac_compiler=$2
3137 for ac_option in --version -v -V -qversion; do
3138   { { ac_try="$ac_compiler $ac_option >&5"
3139 case "(($ac_try" in
3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141   *) ac_try_echo=$ac_try;;
3142 esac
3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3146   ac_status=$?
3147   if test -s conftest.err; then
3148     sed '10a\
3149 ... rest of stderr output deleted ...
3150          10q' conftest.err >conftest.er1
3151     cat conftest.er1 >&5
3152   fi
3153   rm -f conftest.er1 conftest.err
3154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155   test $ac_status = 0; }
3156 done
3157
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h.  */
3160
3161 int
3162 main ()
3163 {
3164
3165   ;
3166   return 0;
3167 }
3168 _ACEOF
3169 ac_clean_files_save=$ac_clean_files
3170 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3171 # Try to create an executable without -o first, disregard a.out.
3172 # It will help us diagnose broken compilers, and finding out an intuition
3173 # of exeext.
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3175 $as_echo_n "checking whether the C compiler works... " >&6; }
3176 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3177
3178 # The possible output files:
3179 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3180
3181 ac_rmfiles=
3182 for ac_file in $ac_files
3183 do
3184   case $ac_file in
3185     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3186     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3187   esac
3188 done
3189 rm -f $ac_rmfiles
3190
3191 if { { ac_try="$ac_link_default"
3192 case "(($ac_try" in
3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194   *) ac_try_echo=$ac_try;;
3195 esac
3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3197 $as_echo "$ac_try_echo"; } >&5
3198   (eval "$ac_link_default") 2>&5
3199   ac_status=$?
3200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201   test $ac_status = 0; }; then :
3202   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3203 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3204 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3205 # so that the user can short-circuit this test for compilers unknown to
3206 # Autoconf.
3207 for ac_file in $ac_files ''
3208 do
3209   test -f "$ac_file" || continue
3210   case $ac_file in
3211     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3212         ;;
3213     [ab].out )
3214         # We found the default executable, but exeext='' is most
3215         # certainly right.
3216         break;;
3217     *.* )
3218         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3219         then :; else
3220            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221         fi
3222         # We set ac_cv_exeext here because the later test for it is not
3223         # safe: cross compilers may not add the suffix if given an `-o'
3224         # argument, so we may need to know it at that point already.
3225         # Even if this section looks crufty: it has the advantage of
3226         # actually working.
3227         break;;
3228     * )
3229         break;;
3230   esac
3231 done
3232 test "$ac_cv_exeext" = no && ac_cv_exeext=
3233
3234 else
3235   ac_file=''
3236 fi
3237 if test -z "$ac_file"; then :
3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3242
3243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245 as_fn_error 77 "C compiler cannot create executables
3246 See \`config.log' for more details" "$LINENO" 5; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3250 fi
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3252 $as_echo_n "checking for C compiler default output file name... " >&6; }
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3254 $as_echo "$ac_file" >&6; }
3255 ac_exeext=$ac_cv_exeext
3256
3257 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3258 ac_clean_files=$ac_clean_files_save
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3260 $as_echo_n "checking for suffix of executables... " >&6; }
3261 if { { ac_try="$ac_link"
3262 case "(($ac_try" in
3263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264   *) ac_try_echo=$ac_try;;
3265 esac
3266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267 $as_echo "$ac_try_echo"; } >&5
3268   (eval "$ac_link") 2>&5
3269   ac_status=$?
3270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271   test $ac_status = 0; }; then :
3272   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3273 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3274 # work properly (i.e., refer to `conftest.exe'), while it won't with
3275 # `rm'.
3276 for ac_file in conftest.exe conftest conftest.*; do
3277   test -f "$ac_file" || continue
3278   case $ac_file in
3279     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3280     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3281           break;;
3282     * ) break;;
3283   esac
3284 done
3285 else
3286   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3288 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3289 See \`config.log' for more details" "$LINENO" 5; }
3290 fi
3291 rm -f conftest conftest$ac_cv_exeext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3293 $as_echo "$ac_cv_exeext" >&6; }
3294
3295 rm -f conftest.$ac_ext
3296 EXEEXT=$ac_cv_exeext
3297 ac_exeext=$EXEEXT
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h.  */
3300 #include <stdio.h>
3301 int
3302 main ()
3303 {
3304 FILE *f = fopen ("conftest.out", "w");
3305  return ferror (f) || fclose (f) != 0;
3306
3307   ;
3308   return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files="$ac_clean_files conftest.out"
3312 # Check that the compiler produces executables we can run.  If not, either
3313 # the compiler is broken, or we cross compile.
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3315 $as_echo_n "checking whether we are cross compiling... " >&6; }
3316 if test "$cross_compiling" != yes; then
3317   { { ac_try="$ac_link"
3318 case "(($ac_try" in
3319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320   *) ac_try_echo=$ac_try;;
3321 esac
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324   (eval "$ac_link") 2>&5
3325   ac_status=$?
3326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327   test $ac_status = 0; }
3328   if { ac_try='./conftest$ac_cv_exeext'
3329   { { case "(($ac_try" in
3330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331   *) ac_try_echo=$ac_try;;
3332 esac
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335   (eval "$ac_try") 2>&5
3336   ac_status=$?
3337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338   test $ac_status = 0; }; }; then
3339     cross_compiling=no
3340   else
3341     if test "$cross_compiling" = maybe; then
3342         cross_compiling=yes
3343     else
3344         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "cannot run C compiled programs.
3347 If you meant to cross compile, use \`--host'.
3348 See \`config.log' for more details" "$LINENO" 5; }
3349     fi
3350   fi
3351 fi
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3353 $as_echo "$cross_compiling" >&6; }
3354
3355 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3356 ac_clean_files=$ac_clean_files_save
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3358 $as_echo_n "checking for suffix of object files... " >&6; }
3359 if ${ac_cv_objext+:} false; then :
3360   $as_echo_n "(cached) " >&6
3361 else
3362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h.  */
3364
3365 int
3366 main ()
3367 {
3368
3369   ;
3370   return 0;
3371 }
3372 _ACEOF
3373 rm -f conftest.o conftest.obj
3374 if { { ac_try="$ac_compile"
3375 case "(($ac_try" in
3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377   *) ac_try_echo=$ac_try;;
3378 esac
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381   (eval "$ac_compile") 2>&5
3382   ac_status=$?
3383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384   test $ac_status = 0; }; then :
3385   for ac_file in conftest.o conftest.obj conftest.*; do
3386   test -f "$ac_file" || continue;
3387   case $ac_file in
3388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3389     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3390        break;;
3391   esac
3392 done
3393 else
3394   $as_echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3396
3397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 as_fn_error $? "cannot compute suffix of object files: cannot compile
3400 See \`config.log' for more details" "$LINENO" 5; }
3401 fi
3402 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3403 fi
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3405 $as_echo "$ac_cv_objext" >&6; }
3406 OBJEXT=$ac_cv_objext
3407 ac_objext=$OBJEXT
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3410 if ${ac_cv_c_compiler_gnu+:} false; then :
3411   $as_echo_n "(cached) " >&6
3412 else
3413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h.  */
3415
3416 int
3417 main ()
3418 {
3419 #ifndef __GNUC__
3420        choke me
3421 #endif
3422
3423   ;
3424   return 0;
3425 }
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428   ac_compiler_gnu=yes
3429 else
3430   ac_compiler_gnu=no
3431 fi
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3434
3435 fi
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3438 if test $ac_compiler_gnu = yes; then
3439   GCC=yes
3440 else
3441   GCC=
3442 fi
3443 ac_test_CFLAGS=${CFLAGS+set}
3444 ac_save_CFLAGS=$CFLAGS
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3447 if ${ac_cv_prog_cc_g+:} false; then :
3448   $as_echo_n "(cached) " >&6
3449 else
3450   ac_save_c_werror_flag=$ac_c_werror_flag
3451    ac_c_werror_flag=yes
3452    ac_cv_prog_cc_g=no
3453    CFLAGS="-g"
3454    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h.  */
3456
3457 int
3458 main ()
3459 {
3460
3461   ;
3462   return 0;
3463 }
3464 _ACEOF
3465 if ac_fn_c_try_compile "$LINENO"; then :
3466   ac_cv_prog_cc_g=yes
3467 else
3468   CFLAGS=""
3469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h.  */
3471
3472 int
3473 main ()
3474 {
3475
3476   ;
3477   return 0;
3478 }
3479 _ACEOF
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481
3482 else
3483   ac_c_werror_flag=$ac_save_c_werror_flag
3484          CFLAGS="-g"
3485          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h.  */
3487
3488 int
3489 main ()
3490 {
3491
3492   ;
3493   return 0;
3494 }
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497   ac_cv_prog_cc_g=yes
3498 fi
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 fi
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 fi
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504    ac_c_werror_flag=$ac_save_c_werror_flag
3505 fi
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3507 $as_echo "$ac_cv_prog_cc_g" >&6; }
3508 if test "$ac_test_CFLAGS" = set; then
3509   CFLAGS=$ac_save_CFLAGS
3510 elif test $ac_cv_prog_cc_g = yes; then
3511   if test "$GCC" = yes; then
3512     CFLAGS="-g -O2"
3513   else
3514     CFLAGS="-g"
3515   fi
3516 else
3517   if test "$GCC" = yes; then
3518     CFLAGS="-O2"
3519   else
3520     CFLAGS=
3521   fi
3522 fi
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3525 if ${ac_cv_prog_cc_c89+:} false; then :
3526   $as_echo_n "(cached) " >&6
3527 else
3528   ac_cv_prog_cc_c89=no
3529 ac_save_CC=$CC
3530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531 /* end confdefs.h.  */
3532 #include <stdarg.h>
3533 #include <stdio.h>
3534 struct stat;
3535 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3536 struct buf { int x; };
3537 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3538 static char *e (p, i)
3539      char **p;
3540      int i;
3541 {
3542   return p[i];
3543 }
3544 static char *f (char * (*g) (char **, int), char **p, ...)
3545 {
3546   char *s;
3547   va_list v;
3548   va_start (v,p);
3549   s = g (p, va_arg (v,int));
3550   va_end (v);
3551   return s;
3552 }
3553
3554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3555    function prototypes and stuff, but not '\xHH' hex character constants.
3556    These don't provoke an error unfortunately, instead are silently treated
3557    as 'x'.  The following induces an error, until -std is added to get
3558    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3559    array size at least.  It's necessary to write '\x00'==0 to get something
3560    that's true only with -std.  */
3561 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3562
3563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3564    inside strings and character constants.  */
3565 #define FOO(x) 'x'
3566 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3567
3568 int test (int i, double x);
3569 struct s1 {int (*f) (int a);};
3570 struct s2 {int (*f) (double a);};
3571 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3572 int argc;
3573 char **argv;
3574 int
3575 main ()
3576 {
3577 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3578   ;
3579   return 0;
3580 }
3581 _ACEOF
3582 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3583         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3584 do
3585   CC="$ac_save_CC $ac_arg"
3586   if ac_fn_c_try_compile "$LINENO"; then :
3587   ac_cv_prog_cc_c89=$ac_arg
3588 fi
3589 rm -f core conftest.err conftest.$ac_objext
3590   test "x$ac_cv_prog_cc_c89" != "xno" && break
3591 done
3592 rm -f conftest.$ac_ext
3593 CC=$ac_save_CC
3594
3595 fi
3596 # AC_CACHE_VAL
3597 case "x$ac_cv_prog_cc_c89" in
3598   x)
3599     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3600 $as_echo "none needed" >&6; } ;;
3601   xno)
3602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3603 $as_echo "unsupported" >&6; } ;;
3604   *)
3605     CC="$CC $ac_cv_prog_cc_c89"
3606     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3607 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3608 esac
3609 if test "x$ac_cv_prog_cc_c89" != xno; then :
3610
3611 fi
3612
3613 ac_ext=c
3614 ac_cpp='$CPP $CPPFLAGS'
3615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3618
3619 ac_ext=c
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3625 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3626 if ${am_cv_prog_cc_c_o+:} false; then :
3627   $as_echo_n "(cached) " >&6
3628 else
3629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h.  */
3631
3632 int
3633 main ()
3634 {
3635
3636   ;
3637   return 0;
3638 }
3639 _ACEOF
3640   # Make sure it works both with $CC and with simple cc.
3641   # Following AC_PROG_CC_C_O, we do the test twice because some
3642   # compilers refuse to overwrite an existing .o file with -o,
3643   # though they will create one.
3644   am_cv_prog_cc_c_o=yes
3645   for am_i in 1 2; do
3646     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3647    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3648    ac_status=$?
3649    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650    (exit $ac_status); } \
3651          && test -f conftest2.$ac_objext; then
3652       : OK
3653     else
3654       am_cv_prog_cc_c_o=no
3655       break
3656     fi
3657   done
3658   rm -f core conftest*
3659   unset am_i
3660 fi
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3662 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3663 if test "$am_cv_prog_cc_c_o" != yes; then
3664    # Losing compiler, so override with the script.
3665    # FIXME: It is wrong to rewrite CC.
3666    # But if we don't then we get into trouble of one sort or another.
3667    # A longer-term fix would be to have automake use am__CC in this case,
3668    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3669    CC="$am_aux_dir/compile $CC"
3670 fi
3671 ac_ext=c
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676
3677
3678 depcc="$CC"   am_compiler_list=
3679
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3681 $as_echo_n "checking dependency style of $depcc... " >&6; }
3682 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3683   $as_echo_n "(cached) " >&6
3684 else
3685   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3686   # We make a subdir and do the tests there.  Otherwise we can end up
3687   # making bogus files that we don't know about and never remove.  For
3688   # instance it was reported that on HP-UX the gcc test will end up
3689   # making a dummy file named 'D' -- because '-MD' means "put the output
3690   # in D".
3691   rm -rf conftest.dir
3692   mkdir conftest.dir
3693   # Copy depcomp to subdir because otherwise we won't find it if we're
3694   # using a relative directory.
3695   cp "$am_depcomp" conftest.dir
3696   cd conftest.dir
3697   # We will build objects and dependencies in a subdirectory because
3698   # it helps to detect inapplicable dependency modes.  For instance
3699   # both Tru64's cc and ICC support -MD to output dependencies as a
3700   # side effect of compilation, but ICC will put the dependencies in
3701   # the current directory while Tru64 will put them in the object
3702   # directory.
3703   mkdir sub
3704
3705   am_cv_CC_dependencies_compiler_type=none
3706   if test "$am_compiler_list" = ""; then
3707      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708   fi
3709   am__universal=false
3710   case " $depcc " in #(
3711      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3712      esac
3713
3714   for depmode in $am_compiler_list; do
3715     # Setup a source with many dependencies, because some compilers
3716     # like to wrap large dependency lists on column 80 (with \), and
3717     # we should not choose a depcomp mode which is confused by this.
3718     #
3719     # We need to recreate these files for each test, as the compiler may
3720     # overwrite some of them when testing with obscure command lines.
3721     # This happens at least with the AIX C compiler.
3722     : > sub/conftest.c
3723     for i in 1 2 3 4 5 6; do
3724       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3725       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3726       # Solaris 10 /bin/sh.
3727       echo '/* dummy */' > sub/conftst$i.h
3728     done
3729     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730
3731     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3732     # mode.  It turns out that the SunPro C++ compiler does not properly
3733     # handle '-M -o', and we need to detect this.  Also, some Intel
3734     # versions had trouble with output in subdirs.
3735     am__obj=sub/conftest.${OBJEXT-o}
3736     am__minus_obj="-o $am__obj"
3737     case $depmode in
3738     gcc)
3739       # This depmode causes a compiler race in universal mode.
3740       test "$am__universal" = false || continue
3741       ;;
3742     nosideeffect)
3743       # After this tag, mechanisms are not by side-effect, so they'll
3744       # only be used when explicitly requested.
3745       if test "x$enable_dependency_tracking" = xyes; then
3746         continue
3747       else
3748         break
3749       fi
3750       ;;
3751     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3752       # This compiler won't grok '-c -o', but also, the minuso test has
3753       # not run yet.  These depmodes are late enough in the game, and
3754       # so weak that their functioning should not be impacted.
3755       am__obj=conftest.${OBJEXT-o}
3756       am__minus_obj=
3757       ;;
3758     none) break ;;
3759     esac
3760     if depmode=$depmode \
3761        source=sub/conftest.c object=$am__obj \
3762        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3763        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3764          >/dev/null 2>conftest.err &&
3765        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3766        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3767        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3768        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3769       # icc doesn't choke on unknown options, it will just issue warnings
3770       # or remarks (even with -Werror).  So we grep stderr for any message
3771       # that says an option was ignored or not supported.
3772       # When given -MP, icc 7.0 and 7.1 complain thusly:
3773       #   icc: Command line warning: ignoring option '-M'; no argument required
3774       # The diagnosis changed in icc 8.0:
3775       #   icc: Command line remark: option '-MP' not supported
3776       if (grep 'ignoring option' conftest.err ||
3777           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3778         am_cv_CC_dependencies_compiler_type=$depmode
3779         break
3780       fi
3781     fi
3782   done
3783
3784   cd ..
3785   rm -rf conftest.dir
3786 else
3787   am_cv_CC_dependencies_compiler_type=none
3788 fi
3789
3790 fi
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3792 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3793 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3794
3795  if
3796   test "x$enable_dependency_tracking" != xno \
3797   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3798   am__fastdepCC_TRUE=
3799   am__fastdepCC_FALSE='#'
3800 else
3801   am__fastdepCC_TRUE='#'
3802   am__fastdepCC_FALSE=
3803 fi
3804
3805
3806 # By default we simply use the C compiler to build assembly code.
3807
3808 test "${CCAS+set}" = set || CCAS=$CC
3809 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3810
3811
3812
3813 depcc="$CCAS"   am_compiler_list=
3814
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3816 $as_echo_n "checking dependency style of $depcc... " >&6; }
3817 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3818   $as_echo_n "(cached) " >&6
3819 else
3820   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3821   # We make a subdir and do the tests there.  Otherwise we can end up
3822   # making bogus files that we don't know about and never remove.  For
3823   # instance it was reported that on HP-UX the gcc test will end up
3824   # making a dummy file named 'D' -- because '-MD' means "put the output
3825   # in D".
3826   rm -rf conftest.dir
3827   mkdir conftest.dir
3828   # Copy depcomp to subdir because otherwise we won't find it if we're
3829   # using a relative directory.
3830   cp "$am_depcomp" conftest.dir
3831   cd conftest.dir
3832   # We will build objects and dependencies in a subdirectory because
3833   # it helps to detect inapplicable dependency modes.  For instance
3834   # both Tru64's cc and ICC support -MD to output dependencies as a
3835   # side effect of compilation, but ICC will put the dependencies in
3836   # the current directory while Tru64 will put them in the object
3837   # directory.
3838   mkdir sub
3839
3840   am_cv_CCAS_dependencies_compiler_type=none
3841   if test "$am_compiler_list" = ""; then
3842      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3843   fi
3844   am__universal=false
3845
3846
3847   for depmode in $am_compiler_list; do
3848     # Setup a source with many dependencies, because some compilers
3849     # like to wrap large dependency lists on column 80 (with \), and
3850     # we should not choose a depcomp mode which is confused by this.
3851     #
3852     # We need to recreate these files for each test, as the compiler may
3853     # overwrite some of them when testing with obscure command lines.
3854     # This happens at least with the AIX C compiler.
3855     : > sub/conftest.c
3856     for i in 1 2 3 4 5 6; do
3857       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3859       # Solaris 10 /bin/sh.
3860       echo '/* dummy */' > sub/conftst$i.h
3861     done
3862     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863
3864     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3865     # mode.  It turns out that the SunPro C++ compiler does not properly
3866     # handle '-M -o', and we need to detect this.  Also, some Intel
3867     # versions had trouble with output in subdirs.
3868     am__obj=sub/conftest.${OBJEXT-o}
3869     am__minus_obj="-o $am__obj"
3870     case $depmode in
3871     gcc)
3872       # This depmode causes a compiler race in universal mode.
3873       test "$am__universal" = false || continue
3874       ;;
3875     nosideeffect)
3876       # After this tag, mechanisms are not by side-effect, so they'll
3877       # only be used when explicitly requested.
3878       if test "x$enable_dependency_tracking" = xyes; then
3879         continue
3880       else
3881         break
3882       fi
3883       ;;
3884     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3885       # This compiler won't grok '-c -o', but also, the minuso test has
3886       # not run yet.  These depmodes are late enough in the game, and
3887       # so weak that their functioning should not be impacted.
3888       am__obj=conftest.${OBJEXT-o}
3889       am__minus_obj=
3890       ;;
3891     none) break ;;
3892     esac
3893     if depmode=$depmode \
3894        source=sub/conftest.c object=$am__obj \
3895        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3896        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3897          >/dev/null 2>conftest.err &&
3898        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3899        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3900        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3901        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3902       # icc doesn't choke on unknown options, it will just issue warnings
3903       # or remarks (even with -Werror).  So we grep stderr for any message
3904       # that says an option was ignored or not supported.
3905       # When given -MP, icc 7.0 and 7.1 complain thusly:
3906       #   icc: Command line warning: ignoring option '-M'; no argument required
3907       # The diagnosis changed in icc 8.0:
3908       #   icc: Command line remark: option '-MP' not supported
3909       if (grep 'ignoring option' conftest.err ||
3910           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3911         am_cv_CCAS_dependencies_compiler_type=$depmode
3912         break
3913       fi
3914     fi
3915   done
3916
3917   cd ..
3918   rm -rf conftest.dir
3919 else
3920   am_cv_CCAS_dependencies_compiler_type=none
3921 fi
3922
3923 fi
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3925 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3926 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3927
3928  if
3929   test "x$enable_dependency_tracking" != xno \
3930   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3931   am__fastdepCCAS_TRUE=
3932   am__fastdepCCAS_FALSE='#'
3933 else
3934   am__fastdepCCAS_TRUE='#'
3935   am__fastdepCCAS_FALSE=
3936 fi
3937
3938
3939 ac_ext=c
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CC+:} false; then :
3950   $as_echo_n "(cached) " >&6
3951 else
3952   if test -n "$CC"; then
3953   ac_cv_prog_CC="$CC" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958   IFS=$as_save_IFS
3959   test -z "$as_dir" && as_dir=.
3960     for ac_exec_ext in '' $ac_executable_extensions; do
3961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964     break 2
3965   fi
3966 done
3967   done
3968 IFS=$as_save_IFS
3969
3970 fi
3971 fi
3972 CC=$ac_cv_prog_CC
3973 if test -n "$CC"; then
3974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975 $as_echo "$CC" >&6; }
3976 else
3977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3979 fi
3980
3981
3982 fi
3983 if test -z "$ac_cv_prog_CC"; then
3984   ac_ct_CC=$CC
3985   # Extract the first word of "gcc", so it can be a program name with args.
3986 set dummy gcc; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3990   $as_echo_n "(cached) " >&6
3991 else
3992   if test -n "$ac_ct_CC"; then
3993   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3994 else
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996 for as_dir in $PATH
3997 do
3998   IFS=$as_save_IFS
3999   test -z "$as_dir" && as_dir=.
4000     for ac_exec_ext in '' $ac_executable_extensions; do
4001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4002     ac_cv_prog_ac_ct_CC="gcc"
4003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004     break 2
4005   fi
4006 done
4007   done
4008 IFS=$as_save_IFS
4009
4010 fi
4011 fi
4012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013 if test -n "$ac_ct_CC"; then
4014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015 $as_echo "$ac_ct_CC" >&6; }
4016 else
4017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4019 fi
4020
4021   if test "x$ac_ct_CC" = x; then
4022     CC=""
4023   else
4024     case $cross_compiling:$ac_tool_warned in
4025 yes:)
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4029 esac
4030     CC=$ac_ct_CC
4031   fi
4032 else
4033   CC="$ac_cv_prog_CC"
4034 fi
4035
4036 if test -z "$CC"; then
4037           if test -n "$ac_tool_prefix"; then
4038     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4039 set dummy ${ac_tool_prefix}cc; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_CC+:} false; then :
4043   $as_echo_n "(cached) " >&6
4044 else
4045   if test -n "$CC"; then
4046   ac_cv_prog_CC="$CC" # Let the user override the test.
4047 else
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4050 do
4051   IFS=$as_save_IFS
4052   test -z "$as_dir" && as_dir=.
4053     for ac_exec_ext in '' $ac_executable_extensions; do
4054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055     ac_cv_prog_CC="${ac_tool_prefix}cc"
4056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057     break 2
4058   fi
4059 done
4060   done
4061 IFS=$as_save_IFS
4062
4063 fi
4064 fi
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 fi
4073
4074
4075   fi
4076 fi
4077 if test -z "$CC"; then
4078   # Extract the first word of "cc", so it can be a program name with args.
4079 set dummy cc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_CC+:} false; then :
4083   $as_echo_n "(cached) " >&6
4084 else
4085   if test -n "$CC"; then
4086   ac_cv_prog_CC="$CC" # Let the user override the test.
4087 else
4088   ac_prog_rejected=no
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090 for as_dir in $PATH
4091 do
4092   IFS=$as_save_IFS
4093   test -z "$as_dir" && as_dir=.
4094     for ac_exec_ext in '' $ac_executable_extensions; do
4095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4097        ac_prog_rejected=yes
4098        continue
4099      fi
4100     ac_cv_prog_CC="cc"
4101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4102     break 2
4103   fi
4104 done
4105   done
4106 IFS=$as_save_IFS
4107
4108 if test $ac_prog_rejected = yes; then
4109   # We found a bogon in the path, so make sure we never use it.
4110   set dummy $ac_cv_prog_CC
4111   shift
4112   if test $# != 0; then
4113     # We chose a different compiler from the bogus one.
4114     # However, it has the same basename, so the bogon will be chosen
4115     # first if we set CC to just the basename; use the full file name.
4116     shift
4117     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4118   fi
4119 fi
4120 fi
4121 fi
4122 CC=$ac_cv_prog_CC
4123 if test -n "$CC"; then
4124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125 $as_echo "$CC" >&6; }
4126 else
4127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4129 fi
4130
4131
4132 fi
4133 if test -z "$CC"; then
4134   if test -n "$ac_tool_prefix"; then
4135   for ac_prog in cl.exe
4136   do
4137     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if ${ac_cv_prog_CC+:} false; then :
4142   $as_echo_n "(cached) " >&6
4143 else
4144   if test -n "$CC"; then
4145   ac_cv_prog_CC="$CC" # Let the user override the test.
4146 else
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 for as_dir in $PATH
4149 do
4150   IFS=$as_save_IFS
4151   test -z "$as_dir" && as_dir=.
4152     for ac_exec_ext in '' $ac_executable_extensions; do
4153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156     break 2
4157   fi
4158 done
4159   done
4160 IFS=$as_save_IFS
4161
4162 fi
4163 fi
4164 CC=$ac_cv_prog_CC
4165 if test -n "$CC"; then
4166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4168 else
4169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4171 fi
4172
4173
4174     test -n "$CC" && break
4175   done
4176 fi
4177 if test -z "$CC"; then
4178   ac_ct_CC=$CC
4179   for ac_prog in cl.exe
4180 do
4181   # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy $ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4186   $as_echo_n "(cached) " >&6
4187 else
4188   if test -n "$ac_ct_CC"; then
4189   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4190 else
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH
4193 do
4194   IFS=$as_save_IFS
4195   test -z "$as_dir" && as_dir=.
4196     for ac_exec_ext in '' $ac_executable_extensions; do
4197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198     ac_cv_prog_ac_ct_CC="$ac_prog"
4199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200     break 2
4201   fi
4202 done
4203   done
4204 IFS=$as_save_IFS
4205
4206 fi
4207 fi
4208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4209 if test -n "$ac_ct_CC"; then
4210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211 $as_echo "$ac_ct_CC" >&6; }
4212 else
4213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 fi
4216
4217
4218   test -n "$ac_ct_CC" && break
4219 done
4220
4221   if test "x$ac_ct_CC" = x; then
4222     CC=""
4223   else
4224     case $cross_compiling:$ac_tool_warned in
4225 yes:)
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228 ac_tool_warned=yes ;;
4229 esac
4230     CC=$ac_ct_CC
4231   fi
4232 fi
4233
4234 fi
4235
4236
4237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "no acceptable C compiler found in \$PATH
4240 See \`config.log' for more details" "$LINENO" 5; }
4241
4242 # Provide some information about the compiler.
4243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4244 set X $ac_compile
4245 ac_compiler=$2
4246 for ac_option in --version -v -V -qversion; do
4247   { { ac_try="$ac_compiler $ac_option >&5"
4248 case "(($ac_try" in
4249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250   *) ac_try_echo=$ac_try;;
4251 esac
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4255   ac_status=$?
4256   if test -s conftest.err; then
4257     sed '10a\
4258 ... rest of stderr output deleted ...
4259          10q' conftest.err >conftest.er1
4260     cat conftest.er1 >&5
4261   fi
4262   rm -f conftest.er1 conftest.err
4263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264   test $ac_status = 0; }
4265 done
4266
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269 if ${ac_cv_c_compiler_gnu+:} false; then :
4270   $as_echo_n "(cached) " >&6
4271 else
4272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h.  */
4274
4275 int
4276 main ()
4277 {
4278 #ifndef __GNUC__
4279        choke me
4280 #endif
4281
4282   ;
4283   return 0;
4284 }
4285 _ACEOF
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287   ac_compiler_gnu=yes
4288 else
4289   ac_compiler_gnu=no
4290 fi
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4293
4294 fi
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297 if test $ac_compiler_gnu = yes; then
4298   GCC=yes
4299 else
4300   GCC=
4301 fi
4302 ac_test_CFLAGS=${CFLAGS+set}
4303 ac_save_CFLAGS=$CFLAGS
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4306 if ${ac_cv_prog_cc_g+:} false; then :
4307   $as_echo_n "(cached) " >&6
4308 else
4309   ac_save_c_werror_flag=$ac_c_werror_flag
4310    ac_c_werror_flag=yes
4311    ac_cv_prog_cc_g=no
4312    CFLAGS="-g"
4313    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h.  */
4315
4316 int
4317 main ()
4318 {
4319
4320   ;
4321   return 0;
4322 }
4323 _ACEOF
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325   ac_cv_prog_cc_g=yes
4326 else
4327   CFLAGS=""
4328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h.  */
4330
4331 int
4332 main ()
4333 {
4334
4335   ;
4336   return 0;
4337 }
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340
4341 else
4342   ac_c_werror_flag=$ac_save_c_werror_flag
4343          CFLAGS="-g"
4344          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h.  */
4346
4347 int
4348 main ()
4349 {
4350
4351   ;
4352   return 0;
4353 }
4354 _ACEOF
4355 if ac_fn_c_try_compile "$LINENO"; then :
4356   ac_cv_prog_cc_g=yes
4357 fi
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4359 fi
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361 fi
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363    ac_c_werror_flag=$ac_save_c_werror_flag
4364 fi
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366 $as_echo "$ac_cv_prog_cc_g" >&6; }
4367 if test "$ac_test_CFLAGS" = set; then
4368   CFLAGS=$ac_save_CFLAGS
4369 elif test $ac_cv_prog_cc_g = yes; then
4370   if test "$GCC" = yes; then
4371     CFLAGS="-g -O2"
4372   else
4373     CFLAGS="-g"
4374   fi
4375 else
4376   if test "$GCC" = yes; then
4377     CFLAGS="-O2"
4378   else
4379     CFLAGS=
4380   fi
4381 fi
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384 if ${ac_cv_prog_cc_c89+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   ac_cv_prog_cc_c89=no
4388 ac_save_CC=$CC
4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h.  */
4391 #include <stdarg.h>
4392 #include <stdio.h>
4393 struct stat;
4394 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4395 struct buf { int x; };
4396 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4397 static char *e (p, i)
4398      char **p;
4399      int i;
4400 {
4401   return p[i];
4402 }
4403 static char *f (char * (*g) (char **, int), char **p, ...)
4404 {
4405   char *s;
4406   va_list v;
4407   va_start (v,p);
4408   s = g (p, va_arg (v,int));
4409   va_end (v);
4410   return s;
4411 }
4412
4413 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4414    function prototypes and stuff, but not '\xHH' hex character constants.
4415    These don't provoke an error unfortunately, instead are silently treated
4416    as 'x'.  The following induces an error, until -std is added to get
4417    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4418    array size at least.  It's necessary to write '\x00'==0 to get something
4419    that's true only with -std.  */
4420 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4421
4422 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4423    inside strings and character constants.  */
4424 #define FOO(x) 'x'
4425 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4426
4427 int test (int i, double x);
4428 struct s1 {int (*f) (int a);};
4429 struct s2 {int (*f) (double a);};
4430 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4431 int argc;
4432 char **argv;
4433 int
4434 main ()
4435 {
4436 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4437   ;
4438   return 0;
4439 }
4440 _ACEOF
4441 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4442         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4443 do
4444   CC="$ac_save_CC $ac_arg"
4445   if ac_fn_c_try_compile "$LINENO"; then :
4446   ac_cv_prog_cc_c89=$ac_arg
4447 fi
4448 rm -f core conftest.err conftest.$ac_objext
4449   test "x$ac_cv_prog_cc_c89" != "xno" && break
4450 done
4451 rm -f conftest.$ac_ext
4452 CC=$ac_save_CC
4453
4454 fi
4455 # AC_CACHE_VAL
4456 case "x$ac_cv_prog_cc_c89" in
4457   x)
4458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4459 $as_echo "none needed" >&6; } ;;
4460   xno)
4461     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4462 $as_echo "unsupported" >&6; } ;;
4463   *)
4464     CC="$CC $ac_cv_prog_cc_c89"
4465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4466 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4467 esac
4468 if test "x$ac_cv_prog_cc_c89" != xno; then :
4469
4470 fi
4471
4472 ac_ext=c
4473 ac_cpp='$CPP $CPPFLAGS'
4474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4477
4478 ac_ext=c
4479 ac_cpp='$CPP $CPPFLAGS'
4480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4484 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4485 if ${am_cv_prog_cc_c_o+:} false; then :
4486   $as_echo_n "(cached) " >&6
4487 else
4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h.  */
4490
4491 int
4492 main ()
4493 {
4494
4495   ;
4496   return 0;
4497 }
4498 _ACEOF
4499   # Make sure it works both with $CC and with simple cc.
4500   # Following AC_PROG_CC_C_O, we do the test twice because some
4501   # compilers refuse to overwrite an existing .o file with -o,
4502   # though they will create one.
4503   am_cv_prog_cc_c_o=yes
4504   for am_i in 1 2; do
4505     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4506    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4507    ac_status=$?
4508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509    (exit $ac_status); } \
4510          && test -f conftest2.$ac_objext; then
4511       : OK
4512     else
4513       am_cv_prog_cc_c_o=no
4514       break
4515     fi
4516   done
4517   rm -f core conftest*
4518   unset am_i
4519 fi
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4521 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4522 if test "$am_cv_prog_cc_c_o" != yes; then
4523    # Losing compiler, so override with the script.
4524    # FIXME: It is wrong to rewrite CC.
4525    # But if we don't then we get into trouble of one sort or another.
4526    # A longer-term fix would be to have automake use am__CC in this case,
4527    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4528    CC="$am_aux_dir/compile $CC"
4529 fi
4530 ac_ext=c
4531 ac_cpp='$CPP $CPPFLAGS'
4532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4535
4536
4537 depcc="$CC"   am_compiler_list=
4538
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4540 $as_echo_n "checking dependency style of $depcc... " >&6; }
4541 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4542   $as_echo_n "(cached) " >&6
4543 else
4544   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4545   # We make a subdir and do the tests there.  Otherwise we can end up
4546   # making bogus files that we don't know about and never remove.  For
4547   # instance it was reported that on HP-UX the gcc test will end up
4548   # making a dummy file named 'D' -- because '-MD' means "put the output
4549   # in D".
4550   rm -rf conftest.dir
4551   mkdir conftest.dir
4552   # Copy depcomp to subdir because otherwise we won't find it if we're
4553   # using a relative directory.
4554   cp "$am_depcomp" conftest.dir
4555   cd conftest.dir
4556   # We will build objects and dependencies in a subdirectory because
4557   # it helps to detect inapplicable dependency modes.  For instance
4558   # both Tru64's cc and ICC support -MD to output dependencies as a
4559   # side effect of compilation, but ICC will put the dependencies in
4560   # the current directory while Tru64 will put them in the object
4561   # directory.
4562   mkdir sub
4563
4564   am_cv_CC_dependencies_compiler_type=none
4565   if test "$am_compiler_list" = ""; then
4566      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4567   fi
4568   am__universal=false
4569   case " $depcc " in #(
4570      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4571      esac
4572
4573   for depmode in $am_compiler_list; do
4574     # Setup a source with many dependencies, because some compilers
4575     # like to wrap large dependency lists on column 80 (with \), and
4576     # we should not choose a depcomp mode which is confused by this.
4577     #
4578     # We need to recreate these files for each test, as the compiler may
4579     # overwrite some of them when testing with obscure command lines.
4580     # This happens at least with the AIX C compiler.
4581     : > sub/conftest.c
4582     for i in 1 2 3 4 5 6; do
4583       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4584       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4585       # Solaris 10 /bin/sh.
4586       echo '/* dummy */' > sub/conftst$i.h
4587     done
4588     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4589
4590     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4591     # mode.  It turns out that the SunPro C++ compiler does not properly
4592     # handle '-M -o', and we need to detect this.  Also, some Intel
4593     # versions had trouble with output in subdirs.
4594     am__obj=sub/conftest.${OBJEXT-o}
4595     am__minus_obj="-o $am__obj"
4596     case $depmode in
4597     gcc)
4598       # This depmode causes a compiler race in universal mode.
4599       test "$am__universal" = false || continue
4600       ;;
4601     nosideeffect)
4602       # After this tag, mechanisms are not by side-effect, so they'll
4603       # only be used when explicitly requested.
4604       if test "x$enable_dependency_tracking" = xyes; then
4605         continue
4606       else
4607         break
4608       fi
4609       ;;
4610     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4611       # This compiler won't grok '-c -o', but also, the minuso test has
4612       # not run yet.  These depmodes are late enough in the game, and
4613       # so weak that their functioning should not be impacted.
4614       am__obj=conftest.${OBJEXT-o}
4615       am__minus_obj=
4616       ;;
4617     none) break ;;
4618     esac
4619     if depmode=$depmode \
4620        source=sub/conftest.c object=$am__obj \
4621        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4622        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4623          >/dev/null 2>conftest.err &&
4624        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4625        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4626        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4627        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4628       # icc doesn't choke on unknown options, it will just issue warnings
4629       # or remarks (even with -Werror).  So we grep stderr for any message
4630       # that says an option was ignored or not supported.
4631       # When given -MP, icc 7.0 and 7.1 complain thusly:
4632       #   icc: Command line warning: ignoring option '-M'; no argument required
4633       # The diagnosis changed in icc 8.0:
4634       #   icc: Command line remark: option '-MP' not supported
4635       if (grep 'ignoring option' conftest.err ||
4636           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4637         am_cv_CC_dependencies_compiler_type=$depmode
4638         break
4639       fi
4640     fi
4641   done
4642
4643   cd ..
4644   rm -rf conftest.dir
4645 else
4646   am_cv_CC_dependencies_compiler_type=none
4647 fi
4648
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4651 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4652 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4653
4654  if
4655   test "x$enable_dependency_tracking" != xno \
4656   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4657   am__fastdepCC_TRUE=
4658   am__fastdepCC_FALSE='#'
4659 else
4660   am__fastdepCC_TRUE='#'
4661   am__fastdepCC_FALSE=
4662 fi
4663
4664
4665 case `pwd` in
4666   *\ * | *\     *)
4667     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4668 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4669 esac
4670
4671
4672
4673 macro_version='2.4.2'
4674 macro_revision='1.3337'
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688 ltmain="$ac_aux_dir/ltmain.sh"
4689
4690 # Make sure we can run config.sub.
4691 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4692   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4693
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4695 $as_echo_n "checking build system type... " >&6; }
4696 if ${ac_cv_build+:} false; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   ac_build_alias=$build_alias
4700 test "x$ac_build_alias" = x &&
4701   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4702 test "x$ac_build_alias" = x &&
4703   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4704 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4705   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4706
4707 fi
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4709 $as_echo "$ac_cv_build" >&6; }
4710 case $ac_cv_build in
4711 *-*-*) ;;
4712 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4713 esac
4714 build=$ac_cv_build
4715 ac_save_IFS=$IFS; IFS='-'
4716 set x $ac_cv_build
4717 shift
4718 build_cpu=$1
4719 build_vendor=$2
4720 shift; shift
4721 # Remember, the first character of IFS is used to create $*,
4722 # except with old shells:
4723 build_os=$*
4724 IFS=$ac_save_IFS
4725 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4726
4727
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4729 $as_echo_n "checking host system type... " >&6; }
4730 if ${ac_cv_host+:} false; then :
4731   $as_echo_n "(cached) " >&6
4732 else
4733   if test "x$host_alias" = x; then
4734   ac_cv_host=$ac_cv_build
4735 else
4736   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4737     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4738 fi
4739
4740 fi
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4742 $as_echo "$ac_cv_host" >&6; }
4743 case $ac_cv_host in
4744 *-*-*) ;;
4745 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4746 esac
4747 host=$ac_cv_host
4748 ac_save_IFS=$IFS; IFS='-'
4749 set x $ac_cv_host
4750 shift
4751 host_cpu=$1
4752 host_vendor=$2
4753 shift; shift
4754 # Remember, the first character of IFS is used to create $*,
4755 # except with old shells:
4756 host_os=$*
4757 IFS=$ac_save_IFS
4758 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4759
4760
4761 # Backslashify metacharacters that are still active within
4762 # double-quoted strings.
4763 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4764
4765 # Same as above, but do not quote variable references.
4766 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4767
4768 # Sed substitution to delay expansion of an escaped shell variable in a
4769 # double_quote_subst'ed string.
4770 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4771
4772 # Sed substitution to delay expansion of an escaped single quote.
4773 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4774
4775 # Sed substitution to avoid accidental globbing in evaled expressions
4776 no_glob_subst='s/\*/\\\*/g'
4777
4778 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4779 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4780 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4781
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4783 $as_echo_n "checking how to print strings... " >&6; }
4784 # Test print first, because it will be a builtin if present.
4785 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4786    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4787   ECHO='print -r --'
4788 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4789   ECHO='printf %s\n'
4790 else
4791   # Use this function as a fallback that always works.
4792   func_fallback_echo ()
4793   {
4794     eval 'cat <<_LTECHO_EOF
4795 $1
4796 _LTECHO_EOF'
4797   }
4798   ECHO='func_fallback_echo'
4799 fi
4800
4801 # func_echo_all arg...
4802 # Invoke $ECHO with all args, space-separated.
4803 func_echo_all ()
4804 {
4805     $ECHO ""
4806 }
4807
4808 case "$ECHO" in
4809   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4810 $as_echo "printf" >&6; } ;;
4811   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4812 $as_echo "print -r" >&6; } ;;
4813   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4814 $as_echo "cat" >&6; } ;;
4815 esac
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4831 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4832 if ${ac_cv_path_SED+:} false; then :
4833   $as_echo_n "(cached) " >&6
4834 else
4835             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4836      for ac_i in 1 2 3 4 5 6 7; do
4837        ac_script="$ac_script$as_nl$ac_script"
4838      done
4839      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4840      { ac_script=; unset ac_script;}
4841      if test -z "$SED"; then
4842   ac_path_SED_found=false
4843   # Loop through the user's path and test for each of PROGNAME-LIST
4844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH
4846 do
4847   IFS=$as_save_IFS
4848   test -z "$as_dir" && as_dir=.
4849     for ac_prog in sed gsed; do
4850     for ac_exec_ext in '' $ac_executable_extensions; do
4851       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4852       as_fn_executable_p "$ac_path_SED" || continue
4853 # Check for GNU ac_path_SED and select it if it is found.
4854   # Check for GNU $ac_path_SED
4855 case `"$ac_path_SED" --version 2>&1` in
4856 *GNU*)
4857   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4858 *)
4859   ac_count=0
4860   $as_echo_n 0123456789 >"conftest.in"
4861   while :
4862   do
4863     cat "conftest.in" "conftest.in" >"conftest.tmp"
4864     mv "conftest.tmp" "conftest.in"
4865     cp "conftest.in" "conftest.nl"
4866     $as_echo '' >> "conftest.nl"
4867     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4868     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4869     as_fn_arith $ac_count + 1 && ac_count=$as_val
4870     if test $ac_count -gt ${ac_path_SED_max-0}; then
4871       # Best one so far, save it but keep looking for a better one
4872       ac_cv_path_SED="$ac_path_SED"
4873       ac_path_SED_max=$ac_count
4874     fi
4875     # 10*(2^10) chars as input seems more than enough
4876     test $ac_count -gt 10 && break
4877   done
4878   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4879 esac
4880
4881       $ac_path_SED_found && break 3
4882     done
4883   done
4884   done
4885 IFS=$as_save_IFS
4886   if test -z "$ac_cv_path_SED"; then
4887     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4888   fi
4889 else
4890   ac_cv_path_SED=$SED
4891 fi
4892
4893 fi
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4895 $as_echo "$ac_cv_path_SED" >&6; }
4896  SED="$ac_cv_path_SED"
4897   rm -f conftest.sed
4898
4899 test -z "$SED" && SED=sed
4900 Xsed="$SED -e 1s/^X//"
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4914 if ${ac_cv_path_GREP+:} false; then :
4915   $as_echo_n "(cached) " >&6
4916 else
4917   if test -z "$GREP"; then
4918   ac_path_GREP_found=false
4919   # Loop through the user's path and test for each of PROGNAME-LIST
4920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4922 do
4923   IFS=$as_save_IFS
4924   test -z "$as_dir" && as_dir=.
4925     for ac_prog in grep ggrep; do
4926     for ac_exec_ext in '' $ac_executable_extensions; do
4927       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4928       as_fn_executable_p "$ac_path_GREP" || continue
4929 # Check for GNU ac_path_GREP and select it if it is found.
4930   # Check for GNU $ac_path_GREP
4931 case `"$ac_path_GREP" --version 2>&1` in
4932 *GNU*)
4933   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4934 *)
4935   ac_count=0
4936   $as_echo_n 0123456789 >"conftest.in"
4937   while :
4938   do
4939     cat "conftest.in" "conftest.in" >"conftest.tmp"
4940     mv "conftest.tmp" "conftest.in"
4941     cp "conftest.in" "conftest.nl"
4942     $as_echo 'GREP' >> "conftest.nl"
4943     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4944     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4945     as_fn_arith $ac_count + 1 && ac_count=$as_val
4946     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4947       # Best one so far, save it but keep looking for a better one
4948       ac_cv_path_GREP="$ac_path_GREP"
4949       ac_path_GREP_max=$ac_count
4950     fi
4951     # 10*(2^10) chars as input seems more than enough
4952     test $ac_count -gt 10 && break
4953   done
4954   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4955 esac
4956
4957       $ac_path_GREP_found && break 3
4958     done
4959   done
4960   done
4961 IFS=$as_save_IFS
4962   if test -z "$ac_cv_path_GREP"; then
4963     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4964   fi
4965 else
4966   ac_cv_path_GREP=$GREP
4967 fi
4968
4969 fi
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4971 $as_echo "$ac_cv_path_GREP" >&6; }
4972  GREP="$ac_cv_path_GREP"
4973
4974
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4976 $as_echo_n "checking for egrep... " >&6; }
4977 if ${ac_cv_path_EGREP+:} false; then :
4978   $as_echo_n "(cached) " >&6
4979 else
4980   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4981    then ac_cv_path_EGREP="$GREP -E"
4982    else
4983      if test -z "$EGREP"; then
4984   ac_path_EGREP_found=false
4985   # Loop through the user's path and test for each of PROGNAME-LIST
4986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4988 do
4989   IFS=$as_save_IFS
4990   test -z "$as_dir" && as_dir=.
4991     for ac_prog in egrep; do
4992     for ac_exec_ext in '' $ac_executable_extensions; do
4993       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4994       as_fn_executable_p "$ac_path_EGREP" || continue
4995 # Check for GNU ac_path_EGREP and select it if it is found.
4996   # Check for GNU $ac_path_EGREP
4997 case `"$ac_path_EGREP" --version 2>&1` in
4998 *GNU*)
4999   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5000 *)
5001   ac_count=0
5002   $as_echo_n 0123456789 >"conftest.in"
5003   while :
5004   do
5005     cat "conftest.in" "conftest.in" >"conftest.tmp"
5006     mv "conftest.tmp" "conftest.in"
5007     cp "conftest.in" "conftest.nl"
5008     $as_echo 'EGREP' >> "conftest.nl"
5009     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5010     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5011     as_fn_arith $ac_count + 1 && ac_count=$as_val
5012     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5013       # Best one so far, save it but keep looking for a better one
5014       ac_cv_path_EGREP="$ac_path_EGREP"
5015       ac_path_EGREP_max=$ac_count
5016     fi
5017     # 10*(2^10) chars as input seems more than enough
5018     test $ac_count -gt 10 && break
5019   done
5020   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5021 esac
5022
5023       $ac_path_EGREP_found && break 3
5024     done
5025   done
5026   done
5027 IFS=$as_save_IFS
5028   if test -z "$ac_cv_path_EGREP"; then
5029     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5030   fi
5031 else
5032   ac_cv_path_EGREP=$EGREP
5033 fi
5034
5035    fi
5036 fi
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5038 $as_echo "$ac_cv_path_EGREP" >&6; }
5039  EGREP="$ac_cv_path_EGREP"
5040
5041
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5043 $as_echo_n "checking for fgrep... " >&6; }
5044 if ${ac_cv_path_FGREP+:} false; then :
5045   $as_echo_n "(cached) " >&6
5046 else
5047   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5048    then ac_cv_path_FGREP="$GREP -F"
5049    else
5050      if test -z "$FGREP"; then
5051   ac_path_FGREP_found=false
5052   # Loop through the user's path and test for each of PROGNAME-LIST
5053   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5054 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5055 do
5056   IFS=$as_save_IFS
5057   test -z "$as_dir" && as_dir=.
5058     for ac_prog in fgrep; do
5059     for ac_exec_ext in '' $ac_executable_extensions; do
5060       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5061       as_fn_executable_p "$ac_path_FGREP" || continue
5062 # Check for GNU ac_path_FGREP and select it if it is found.
5063   # Check for GNU $ac_path_FGREP
5064 case `"$ac_path_FGREP" --version 2>&1` in
5065 *GNU*)
5066   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5067 *)
5068   ac_count=0
5069   $as_echo_n 0123456789 >"conftest.in"
5070   while :
5071   do
5072     cat "conftest.in" "conftest.in" >"conftest.tmp"
5073     mv "conftest.tmp" "conftest.in"
5074     cp "conftest.in" "conftest.nl"
5075     $as_echo 'FGREP' >> "conftest.nl"
5076     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5077     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5078     as_fn_arith $ac_count + 1 && ac_count=$as_val
5079     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5080       # Best one so far, save it but keep looking for a better one
5081       ac_cv_path_FGREP="$ac_path_FGREP"
5082       ac_path_FGREP_max=$ac_count
5083     fi
5084     # 10*(2^10) chars as input seems more than enough
5085     test $ac_count -gt 10 && break
5086   done
5087   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5088 esac
5089
5090       $ac_path_FGREP_found && break 3
5091     done
5092   done
5093   done
5094 IFS=$as_save_IFS
5095   if test -z "$ac_cv_path_FGREP"; then
5096     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5097   fi
5098 else
5099   ac_cv_path_FGREP=$FGREP
5100 fi
5101
5102    fi
5103 fi
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5105 $as_echo "$ac_cv_path_FGREP" >&6; }
5106  FGREP="$ac_cv_path_FGREP"
5107
5108
5109 test -z "$GREP" && GREP=grep
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129 # Check whether --with-gnu-ld was given.
5130 if test "${with_gnu_ld+set}" = set; then :
5131   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5132 else
5133   with_gnu_ld=no
5134 fi
5135
5136 ac_prog=ld
5137 if test "$GCC" = yes; then
5138   # Check if gcc -print-prog-name=ld gives a path.
5139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5140 $as_echo_n "checking for ld used by $CC... " >&6; }
5141   case $host in
5142   *-*-mingw*)
5143     # gcc leaves a trailing carriage return which upsets mingw
5144     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5145   *)
5146     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5147   esac
5148   case $ac_prog in
5149     # Accept absolute paths.
5150     [\\/]* | ?:[\\/]*)
5151       re_direlt='/[^/][^/]*/\.\./'
5152       # Canonicalize the pathname of ld
5153       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5154       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5155         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5156       done
5157       test -z "$LD" && LD="$ac_prog"
5158       ;;
5159   "")
5160     # If it fails, then pretend we aren't using GCC.
5161     ac_prog=ld
5162     ;;
5163   *)
5164     # If it is relative, then search for the first ld in PATH.
5165     with_gnu_ld=unknown
5166     ;;
5167   esac
5168 elif test "$with_gnu_ld" = yes; then
5169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5170 $as_echo_n "checking for GNU ld... " >&6; }
5171 else
5172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5173 $as_echo_n "checking for non-GNU ld... " >&6; }
5174 fi
5175 if ${lt_cv_path_LD+:} false; then :
5176   $as_echo_n "(cached) " >&6
5177 else
5178   if test -z "$LD"; then
5179   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5180   for ac_dir in $PATH; do
5181     IFS="$lt_save_ifs"
5182     test -z "$ac_dir" && ac_dir=.
5183     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5184       lt_cv_path_LD="$ac_dir/$ac_prog"
5185       # Check to see if the program is GNU ld.  I'd rather use --version,
5186       # but apparently some variants of GNU ld only accept -v.
5187       # Break only if it was the GNU/non-GNU ld that we prefer.
5188       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5189       *GNU* | *'with BFD'*)
5190         test "$with_gnu_ld" != no && break
5191         ;;
5192       *)
5193         test "$with_gnu_ld" != yes && break
5194         ;;
5195       esac
5196     fi
5197   done
5198   IFS="$lt_save_ifs"
5199 else
5200   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5201 fi
5202 fi
5203
5204 LD="$lt_cv_path_LD"
5205 if test -n "$LD"; then
5206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5207 $as_echo "$LD" >&6; }
5208 else
5209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5211 fi
5212 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5214 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5215 if ${lt_cv_prog_gnu_ld+:} false; then :
5216   $as_echo_n "(cached) " >&6
5217 else
5218   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5219 case `$LD -v 2>&1 </dev/null` in
5220 *GNU* | *'with BFD'*)
5221   lt_cv_prog_gnu_ld=yes
5222   ;;
5223 *)
5224   lt_cv_prog_gnu_ld=no
5225   ;;
5226 esac
5227 fi
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5229 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5230 with_gnu_ld=$lt_cv_prog_gnu_ld
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5241 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5242 if ${lt_cv_path_NM+:} false; then :
5243   $as_echo_n "(cached) " >&6
5244 else
5245   if test -n "$NM"; then
5246   # Let the user override the test.
5247   lt_cv_path_NM="$NM"
5248 else
5249   lt_nm_to_check="${ac_tool_prefix}nm"
5250   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5251     lt_nm_to_check="$lt_nm_to_check nm"
5252   fi
5253   for lt_tmp_nm in $lt_nm_to_check; do
5254     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5255     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5256       IFS="$lt_save_ifs"
5257       test -z "$ac_dir" && ac_dir=.
5258       tmp_nm="$ac_dir/$lt_tmp_nm"
5259       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5260         # Check to see if the nm accepts a BSD-compat flag.
5261         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5262         #   nm: unknown option "B" ignored
5263         # Tru64's nm complains that /dev/null is an invalid object file
5264         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5265         */dev/null* | *'Invalid file or object type'*)
5266           lt_cv_path_NM="$tmp_nm -B"
5267           break
5268           ;;
5269         *)
5270           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5271           */dev/null*)
5272             lt_cv_path_NM="$tmp_nm -p"
5273             break
5274             ;;
5275           *)
5276             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5277             continue # so that we can try to find one that supports BSD flags
5278             ;;
5279           esac
5280           ;;
5281         esac
5282       fi
5283     done
5284     IFS="$lt_save_ifs"
5285   done
5286   : ${lt_cv_path_NM=no}
5287 fi
5288 fi
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5290 $as_echo "$lt_cv_path_NM" >&6; }
5291 if test "$lt_cv_path_NM" != "no"; then
5292   NM="$lt_cv_path_NM"
5293 else
5294   # Didn't find any BSD compatible name lister, look for dumpbin.
5295   if test -n "$DUMPBIN"; then :
5296     # Let the user override the test.
5297   else
5298     if test -n "$ac_tool_prefix"; then
5299   for ac_prog in dumpbin "link -dump"
5300   do
5301     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_DUMPBIN+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   if test -n "$DUMPBIN"; then
5309   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5313 do
5314   IFS=$as_save_IFS
5315   test -z "$as_dir" && as_dir=.
5316     for ac_exec_ext in '' $ac_executable_extensions; do
5317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320     break 2
5321   fi
5322 done
5323   done
5324 IFS=$as_save_IFS
5325
5326 fi
5327 fi
5328 DUMPBIN=$ac_cv_prog_DUMPBIN
5329 if test -n "$DUMPBIN"; then
5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5331 $as_echo "$DUMPBIN" >&6; }
5332 else
5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5335 fi
5336
5337
5338     test -n "$DUMPBIN" && break
5339   done
5340 fi
5341 if test -z "$DUMPBIN"; then
5342   ac_ct_DUMPBIN=$DUMPBIN
5343   for ac_prog in dumpbin "link -dump"
5344 do
5345   # Extract the first word of "$ac_prog", so it can be a program name with args.
5346 set dummy $ac_prog; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5350   $as_echo_n "(cached) " >&6
5351 else
5352   if test -n "$ac_ct_DUMPBIN"; then
5353   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5357 do
5358   IFS=$as_save_IFS
5359   test -z "$as_dir" && as_dir=.
5360     for ac_exec_ext in '' $ac_executable_extensions; do
5361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364     break 2
5365   fi
5366 done
5367   done
5368 IFS=$as_save_IFS
5369
5370 fi
5371 fi
5372 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5373 if test -n "$ac_ct_DUMPBIN"; then
5374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5375 $as_echo "$ac_ct_DUMPBIN" >&6; }
5376 else
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5379 fi
5380
5381
5382   test -n "$ac_ct_DUMPBIN" && break
5383 done
5384
5385   if test "x$ac_ct_DUMPBIN" = x; then
5386     DUMPBIN=":"
5387   else
5388     case $cross_compiling:$ac_tool_warned in
5389 yes:)
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5392 ac_tool_warned=yes ;;
5393 esac
5394     DUMPBIN=$ac_ct_DUMPBIN
5395   fi
5396 fi
5397
5398     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5399     *COFF*)
5400       DUMPBIN="$DUMPBIN -symbols"
5401       ;;
5402     *)
5403       DUMPBIN=:
5404       ;;
5405     esac
5406   fi
5407
5408   if test "$DUMPBIN" != ":"; then
5409     NM="$DUMPBIN"
5410   fi
5411 fi
5412 test -z "$NM" && NM=nm
5413
5414
5415
5416
5417
5418
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5420 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5421 if ${lt_cv_nm_interface+:} false; then :
5422   $as_echo_n "(cached) " >&6
5423 else
5424   lt_cv_nm_interface="BSD nm"
5425   echo "int some_variable = 0;" > conftest.$ac_ext
5426   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5427   (eval "$ac_compile" 2>conftest.err)
5428   cat conftest.err >&5
5429   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5430   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5431   cat conftest.err >&5
5432   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5433   cat conftest.out >&5
5434   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5435     lt_cv_nm_interface="MS dumpbin"
5436   fi
5437   rm -f conftest*
5438 fi
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5440 $as_echo "$lt_cv_nm_interface" >&6; }
5441
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5443 $as_echo_n "checking whether ln -s works... " >&6; }
5444 LN_S=$as_ln_s
5445 if test "$LN_S" = "ln -s"; then
5446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5447 $as_echo "yes" >&6; }
5448 else
5449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5450 $as_echo "no, using $LN_S" >&6; }
5451 fi
5452
5453 # find the maximum length of command line arguments
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5455 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5456 if ${lt_cv_sys_max_cmd_len+:} false; then :
5457   $as_echo_n "(cached) " >&6
5458 else
5459     i=0
5460   teststring="ABCD"
5461
5462   case $build_os in
5463   msdosdjgpp*)
5464     # On DJGPP, this test can blow up pretty badly due to problems in libc
5465     # (any single argument exceeding 2000 bytes causes a buffer overrun
5466     # during glob expansion).  Even if it were fixed, the result of this
5467     # check would be larger than it should be.
5468     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5469     ;;
5470
5471   gnu*)
5472     # Under GNU Hurd, this test is not required because there is
5473     # no limit to the length of command line arguments.
5474     # Libtool will interpret -1 as no limit whatsoever
5475     lt_cv_sys_max_cmd_len=-1;
5476     ;;
5477
5478   cygwin* | mingw* | cegcc*)
5479     # On Win9x/ME, this test blows up -- it succeeds, but takes
5480     # about 5 minutes as the teststring grows exponentially.
5481     # Worse, since 9x/ME are not pre-emptively multitasking,
5482     # you end up with a "frozen" computer, even though with patience
5483     # the test eventually succeeds (with a max line length of 256k).
5484     # Instead, let's just punt: use the minimum linelength reported by
5485     # all of the supported platforms: 8192 (on NT/2K/XP).
5486     lt_cv_sys_max_cmd_len=8192;
5487     ;;
5488
5489   mint*)
5490     # On MiNT this can take a long time and run out of memory.
5491     lt_cv_sys_max_cmd_len=8192;
5492     ;;
5493
5494   amigaos*)
5495     # On AmigaOS with pdksh, this test takes hours, literally.
5496     # So we just punt and use a minimum line length of 8192.
5497     lt_cv_sys_max_cmd_len=8192;
5498     ;;
5499
5500   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5501     # This has been around since 386BSD, at least.  Likely further.
5502     if test -x /sbin/sysctl; then
5503       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5504     elif test -x /usr/sbin/sysctl; then
5505       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5506     else
5507       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5508     fi
5509     # And add a safety zone
5510     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5511     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5512     ;;
5513
5514   interix*)
5515     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5516     lt_cv_sys_max_cmd_len=196608
5517     ;;
5518
5519   os2*)
5520     # The test takes a long time on OS/2.
5521     lt_cv_sys_max_cmd_len=8192
5522     ;;
5523
5524   osf*)
5525     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5526     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5527     # nice to cause kernel panics so lets avoid the loop below.
5528     # First set a reasonable default.
5529     lt_cv_sys_max_cmd_len=16384
5530     #
5531     if test -x /sbin/sysconfig; then
5532       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5533         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5534       esac
5535     fi
5536     ;;
5537   sco3.2v5*)
5538     lt_cv_sys_max_cmd_len=102400
5539     ;;
5540   sysv5* | sco5v6* | sysv4.2uw2*)
5541     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5542     if test -n "$kargmax"; then
5543       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5544     else
5545       lt_cv_sys_max_cmd_len=32768
5546     fi
5547     ;;
5548   *)
5549     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5550     if test -n "$lt_cv_sys_max_cmd_len" && \
5551         test undefined != "$lt_cv_sys_max_cmd_len"; then
5552       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5553       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5554     else
5555       # Make teststring a little bigger before we do anything with it.
5556       # a 1K string should be a reasonable start.
5557       for i in 1 2 3 4 5 6 7 8 ; do
5558         teststring=$teststring$teststring
5559       done
5560       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5561       # If test is not a shell built-in, we'll probably end up computing a
5562       # maximum length that is only half of the actual maximum length, but
5563       # we can't tell.
5564       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5565                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5566               test $i != 17 # 1/2 MB should be enough
5567       do
5568         i=`expr $i + 1`
5569         teststring=$teststring$teststring
5570       done
5571       # Only check the string length outside the loop.
5572       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5573       teststring=
5574       # Add a significant safety factor because C++ compilers can tack on
5575       # massive amounts of additional arguments before passing them to the
5576       # linker.  It appears as though 1/2 is a usable value.
5577       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5578     fi
5579     ;;
5580   esac
5581
5582 fi
5583
5584 if test -n $lt_cv_sys_max_cmd_len ; then
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5586 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5587 else
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5589 $as_echo "none" >&6; }
5590 fi
5591 max_cmd_len=$lt_cv_sys_max_cmd_len
5592
5593
5594
5595
5596
5597
5598 : ${CP="cp -f"}
5599 : ${MV="mv -f"}
5600 : ${RM="rm -f"}
5601
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5603 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5604 # Try some XSI features
5605 xsi_shell=no
5606 ( _lt_dummy="a/b/c"
5607   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5608       = c,a/b,b/c, \
5609     && eval 'test $(( 1 + 1 )) -eq 2 \
5610     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5611   && xsi_shell=yes
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5613 $as_echo "$xsi_shell" >&6; }
5614
5615
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5617 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5618 lt_shell_append=no
5619 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5620     >/dev/null 2>&1 \
5621   && lt_shell_append=yes
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5623 $as_echo "$lt_shell_append" >&6; }
5624
5625
5626 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5627   lt_unset=unset
5628 else
5629   lt_unset=false
5630 fi
5631
5632
5633
5634
5635
5636 # test EBCDIC or ASCII
5637 case `echo X|tr X '\101'` in
5638  A) # ASCII based system
5639     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5640   lt_SP2NL='tr \040 \012'
5641   lt_NL2SP='tr \015\012 \040\040'
5642   ;;
5643  *) # EBCDIC based system
5644   lt_SP2NL='tr \100 \n'
5645   lt_NL2SP='tr \r\n \100\100'
5646   ;;
5647 esac
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5658 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5659 if ${lt_cv_to_host_file_cmd+:} false; then :
5660   $as_echo_n "(cached) " >&6
5661 else
5662   case $host in
5663   *-*-mingw* )
5664     case $build in
5665       *-*-mingw* ) # actually msys
5666         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5667         ;;
5668       *-*-cygwin* )
5669         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5670         ;;
5671       * ) # otherwise, assume *nix
5672         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5673         ;;
5674     esac
5675     ;;
5676   *-*-cygwin* )
5677     case $build in
5678       *-*-mingw* ) # actually msys
5679         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5680         ;;
5681       *-*-cygwin* )
5682         lt_cv_to_host_file_cmd=func_convert_file_noop
5683         ;;
5684       * ) # otherwise, assume *nix
5685         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5686         ;;
5687     esac
5688     ;;
5689   * ) # unhandled hosts (and "normal" native builds)
5690     lt_cv_to_host_file_cmd=func_convert_file_noop
5691     ;;
5692 esac
5693
5694 fi
5695
5696 to_host_file_cmd=$lt_cv_to_host_file_cmd
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5698 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5699
5700
5701
5702
5703
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5705 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5706 if ${lt_cv_to_tool_file_cmd+:} false; then :
5707   $as_echo_n "(cached) " >&6
5708 else
5709   #assume ordinary cross tools, or native build.
5710 lt_cv_to_tool_file_cmd=func_convert_file_noop
5711 case $host in
5712   *-*-mingw* )
5713     case $build in
5714       *-*-mingw* ) # actually msys
5715         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5716         ;;
5717     esac
5718     ;;
5719 esac
5720
5721 fi
5722
5723 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5725 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5726
5727
5728
5729
5730
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5732 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5733 if ${lt_cv_ld_reload_flag+:} false; then :
5734   $as_echo_n "(cached) " >&6
5735 else
5736   lt_cv_ld_reload_flag='-r'
5737 fi
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5739 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5740 reload_flag=$lt_cv_ld_reload_flag
5741 case $reload_flag in
5742 "" | " "*) ;;
5743 *) reload_flag=" $reload_flag" ;;
5744 esac
5745 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5746 case $host_os in
5747   cygwin* | mingw* | pw32* | cegcc*)
5748     if test "$GCC" != yes; then
5749       reload_cmds=false
5750     fi
5751     ;;
5752   darwin*)
5753     if test "$GCC" = yes; then
5754       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5755     else
5756       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5757     fi
5758     ;;
5759 esac
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769 if test -n "$ac_tool_prefix"; then
5770   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5771 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5773 $as_echo_n "checking for $ac_word... " >&6; }
5774 if ${ac_cv_prog_OBJDUMP+:} false; then :
5775   $as_echo_n "(cached) " >&6
5776 else
5777   if test -n "$OBJDUMP"; then
5778   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783   IFS=$as_save_IFS
5784   test -z "$as_dir" && as_dir=.
5785     for ac_exec_ext in '' $ac_executable_extensions; do
5786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789     break 2
5790   fi
5791 done
5792   done
5793 IFS=$as_save_IFS
5794
5795 fi
5796 fi
5797 OBJDUMP=$ac_cv_prog_OBJDUMP
5798 if test -n "$OBJDUMP"; then
5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5800 $as_echo "$OBJDUMP" >&6; }
5801 else
5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5803 $as_echo "no" >&6; }
5804 fi
5805
5806
5807 fi
5808 if test -z "$ac_cv_prog_OBJDUMP"; then
5809   ac_ct_OBJDUMP=$OBJDUMP
5810   # Extract the first word of "objdump", so it can be a program name with args.
5811 set dummy objdump; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5815   $as_echo_n "(cached) " >&6
5816 else
5817   if test -n "$ac_ct_OBJDUMP"; then
5818   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5822 do
5823   IFS=$as_save_IFS
5824   test -z "$as_dir" && as_dir=.
5825     for ac_exec_ext in '' $ac_executable_extensions; do
5826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829     break 2
5830   fi
5831 done
5832   done
5833 IFS=$as_save_IFS
5834
5835 fi
5836 fi
5837 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5838 if test -n "$ac_ct_OBJDUMP"; then
5839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5840 $as_echo "$ac_ct_OBJDUMP" >&6; }
5841 else
5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5844 fi
5845
5846   if test "x$ac_ct_OBJDUMP" = x; then
5847     OBJDUMP="false"
5848   else
5849     case $cross_compiling:$ac_tool_warned in
5850 yes:)
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5853 ac_tool_warned=yes ;;
5854 esac
5855     OBJDUMP=$ac_ct_OBJDUMP
5856   fi
5857 else
5858   OBJDUMP="$ac_cv_prog_OBJDUMP"
5859 fi
5860
5861 test -z "$OBJDUMP" && OBJDUMP=objdump
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5872 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5873 if ${lt_cv_deplibs_check_method+:} false; then :
5874   $as_echo_n "(cached) " >&6
5875 else
5876   lt_cv_file_magic_cmd='$MAGIC_CMD'
5877 lt_cv_file_magic_test_file=
5878 lt_cv_deplibs_check_method='unknown'
5879 # Need to set the preceding variable on all platforms that support
5880 # interlibrary dependencies.
5881 # 'none' -- dependencies not supported.
5882 # `unknown' -- same as none, but documents that we really don't know.
5883 # 'pass_all' -- all dependencies passed with no checks.
5884 # 'test_compile' -- check by making test program.
5885 # 'file_magic [[regex]]' -- check by looking for files in library path
5886 # which responds to the $file_magic_cmd with a given extended regex.
5887 # If you have `file' or equivalent on your system and you're not sure
5888 # whether `pass_all' will *always* work, you probably want this one.
5889
5890 case $host_os in
5891 aix[4-9]*)
5892   lt_cv_deplibs_check_method=pass_all
5893   ;;
5894
5895 beos*)
5896   lt_cv_deplibs_check_method=pass_all
5897   ;;
5898
5899 bsdi[45]*)
5900   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5901   lt_cv_file_magic_cmd='/usr/bin/file -L'
5902   lt_cv_file_magic_test_file=/shlib/libc.so
5903   ;;
5904
5905 cygwin*)
5906   # func_win32_libid is a shell function defined in ltmain.sh
5907   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5908   lt_cv_file_magic_cmd='func_win32_libid'
5909   ;;
5910
5911 mingw* | pw32*)
5912   # Base MSYS/MinGW do not provide the 'file' command needed by
5913   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5914   # unless we find 'file', for example because we are cross-compiling.
5915   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5916   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5917     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5918     lt_cv_file_magic_cmd='func_win32_libid'
5919   else
5920     # Keep this pattern in sync with the one in func_win32_libid.
5921     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5922     lt_cv_file_magic_cmd='$OBJDUMP -f'
5923   fi
5924   ;;
5925
5926 cegcc*)
5927   # use the weaker test based on 'objdump'. See mingw*.
5928   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5929   lt_cv_file_magic_cmd='$OBJDUMP -f'
5930   ;;
5931
5932 darwin* | rhapsody*)
5933   lt_cv_deplibs_check_method=pass_all
5934   ;;
5935
5936 freebsd* | dragonfly*)
5937   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5938     case $host_cpu in
5939     i*86 )
5940       # Not sure whether the presence of OpenBSD here was a mistake.
5941       # Let's accept both of them until this is cleared up.
5942       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5943       lt_cv_file_magic_cmd=/usr/bin/file
5944       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5945       ;;
5946     esac
5947   else
5948     lt_cv_deplibs_check_method=pass_all
5949   fi
5950   ;;
5951
5952 haiku*)
5953   lt_cv_deplibs_check_method=pass_all
5954   ;;
5955
5956 hpux10.20* | hpux11*)
5957   lt_cv_file_magic_cmd=/usr/bin/file
5958   case $host_cpu in
5959   ia64*)
5960     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5961     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5962     ;;
5963   hppa*64*)
5964     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]'
5965     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5966     ;;
5967   *)
5968     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5969     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5970     ;;
5971   esac
5972   ;;
5973
5974 interix[3-9]*)
5975   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5976   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5977   ;;
5978
5979 irix5* | irix6* | nonstopux*)
5980   case $LD in
5981   *-32|*"-32 ") libmagic=32-bit;;
5982   *-n32|*"-n32 ") libmagic=N32;;
5983   *-64|*"-64 ") libmagic=64-bit;;
5984   *) libmagic=never-match;;
5985   esac
5986   lt_cv_deplibs_check_method=pass_all
5987   ;;
5988
5989 # This must be glibc/ELF.
5990 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5991   lt_cv_deplibs_check_method=pass_all
5992   ;;
5993
5994 netbsd* | netbsdelf*-gnu)
5995   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5996     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5997   else
5998     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5999   fi
6000   ;;
6001
6002 newos6*)
6003   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6004   lt_cv_file_magic_cmd=/usr/bin/file
6005   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6006   ;;
6007
6008 *nto* | *qnx*)
6009   lt_cv_deplibs_check_method=pass_all
6010   ;;
6011
6012 openbsd*)
6013   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6014     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6015   else
6016     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6017   fi
6018   ;;
6019
6020 osf3* | osf4* | osf5*)
6021   lt_cv_deplibs_check_method=pass_all
6022   ;;
6023
6024 rdos*)
6025   lt_cv_deplibs_check_method=pass_all
6026   ;;
6027
6028 solaris*)
6029   lt_cv_deplibs_check_method=pass_all
6030   ;;
6031
6032 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6033   lt_cv_deplibs_check_method=pass_all
6034   ;;
6035
6036 sysv4 | sysv4.3*)
6037   case $host_vendor in
6038   motorola)
6039     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]'
6040     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6041     ;;
6042   ncr)
6043     lt_cv_deplibs_check_method=pass_all
6044     ;;
6045   sequent)
6046     lt_cv_file_magic_cmd='/bin/file'
6047     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6048     ;;
6049   sni)
6050     lt_cv_file_magic_cmd='/bin/file'
6051     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6052     lt_cv_file_magic_test_file=/lib/libc.so
6053     ;;
6054   siemens)
6055     lt_cv_deplibs_check_method=pass_all
6056     ;;
6057   pc)
6058     lt_cv_deplibs_check_method=pass_all
6059     ;;
6060   esac
6061   ;;
6062
6063 tpf*)
6064   lt_cv_deplibs_check_method=pass_all
6065   ;;
6066 esac
6067
6068 fi
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6070 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6071
6072 file_magic_glob=
6073 want_nocaseglob=no
6074 if test "$build" = "$host"; then
6075   case $host_os in
6076   mingw* | pw32*)
6077     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6078       want_nocaseglob=yes
6079     else
6080       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6081     fi
6082     ;;
6083   esac
6084 fi
6085
6086 file_magic_cmd=$lt_cv_file_magic_cmd
6087 deplibs_check_method=$lt_cv_deplibs_check_method
6088 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111 if test -n "$ac_tool_prefix"; then
6112   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_DLLTOOL+:} false; then :
6117   $as_echo_n "(cached) " >&6
6118 else
6119   if test -n "$DLLTOOL"; then
6120   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125   IFS=$as_save_IFS
6126   test -z "$as_dir" && as_dir=.
6127     for ac_exec_ext in '' $ac_executable_extensions; do
6128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6129     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131     break 2
6132   fi
6133 done
6134   done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 DLLTOOL=$ac_cv_prog_DLLTOOL
6140 if test -n "$DLLTOOL"; then
6141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6142 $as_echo "$DLLTOOL" >&6; }
6143 else
6144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148
6149 fi
6150 if test -z "$ac_cv_prog_DLLTOOL"; then
6151   ac_ct_DLLTOOL=$DLLTOOL
6152   # Extract the first word of "dlltool", so it can be a program name with args.
6153 set dummy dlltool; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6157   $as_echo_n "(cached) " >&6
6158 else
6159   if test -n "$ac_ct_DLLTOOL"; then
6160   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165   IFS=$as_save_IFS
6166   test -z "$as_dir" && as_dir=.
6167     for ac_exec_ext in '' $ac_executable_extensions; do
6168   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6169     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171     break 2
6172   fi
6173 done
6174   done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6180 if test -n "$ac_ct_DLLTOOL"; then
6181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6182 $as_echo "$ac_ct_DLLTOOL" >&6; }
6183 else
6184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188   if test "x$ac_ct_DLLTOOL" = x; then
6189     DLLTOOL="false"
6190   else
6191     case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197     DLLTOOL=$ac_ct_DLLTOOL
6198   fi
6199 else
6200   DLLTOOL="$ac_cv_prog_DLLTOOL"
6201 fi
6202
6203 test -z "$DLLTOOL" && DLLTOOL=dlltool
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6215 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6216 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6217   $as_echo_n "(cached) " >&6
6218 else
6219   lt_cv_sharedlib_from_linklib_cmd='unknown'
6220
6221 case $host_os in
6222 cygwin* | mingw* | pw32* | cegcc*)
6223   # two different shell functions defined in ltmain.sh
6224   # decide which to use based on capabilities of $DLLTOOL
6225   case `$DLLTOOL --help 2>&1` in
6226   *--identify-strict*)
6227     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6228     ;;
6229   *)
6230     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6231     ;;
6232   esac
6233   ;;
6234 *)
6235   # fallback: assume linklib IS sharedlib
6236   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6237   ;;
6238 esac
6239
6240 fi
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6242 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6243 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6244 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6245
6246
6247
6248
6249
6250
6251
6252
6253 if test -n "$ac_tool_prefix"; then
6254   for ac_prog in ar
6255   do
6256     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6257 set dummy $ac_tool_prefix$ac_prog; 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_AR+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   if test -n "$AR"; then
6264   ac_cv_prog_AR="$AR" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
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 AR=$ac_cv_prog_AR
6284 if test -n "$AR"; then
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6286 $as_echo "$AR" >&6; }
6287 else
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6290 fi
6291
6292
6293     test -n "$AR" && break
6294   done
6295 fi
6296 if test -z "$AR"; then
6297   ac_ct_AR=$AR
6298   for ac_prog in ar
6299 do
6300   # Extract the first word of "$ac_prog", so it can be a program name with args.
6301 set dummy $ac_prog; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6303 $as_echo_n "checking for $ac_word... " >&6; }
6304 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6305   $as_echo_n "(cached) " >&6
6306 else
6307   if test -n "$ac_ct_AR"; then
6308   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6309 else
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 for as_dir in $PATH
6312 do
6313   IFS=$as_save_IFS
6314   test -z "$as_dir" && as_dir=.
6315     for ac_exec_ext in '' $ac_executable_extensions; do
6316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6317     ac_cv_prog_ac_ct_AR="$ac_prog"
6318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6319     break 2
6320   fi
6321 done
6322   done
6323 IFS=$as_save_IFS
6324
6325 fi
6326 fi
6327 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6328 if test -n "$ac_ct_AR"; then
6329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6330 $as_echo "$ac_ct_AR" >&6; }
6331 else
6332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6333 $as_echo "no" >&6; }
6334 fi
6335
6336
6337   test -n "$ac_ct_AR" && break
6338 done
6339
6340   if test "x$ac_ct_AR" = x; then
6341     AR="false"
6342   else
6343     case $cross_compiling:$ac_tool_warned in
6344 yes:)
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6347 ac_tool_warned=yes ;;
6348 esac
6349     AR=$ac_ct_AR
6350   fi
6351 fi
6352
6353 : ${AR=ar}
6354 : ${AR_FLAGS=cru}
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6367 $as_echo_n "checking for archiver @FILE support... " >&6; }
6368 if ${lt_cv_ar_at_file+:} false; then :
6369   $as_echo_n "(cached) " >&6
6370 else
6371   lt_cv_ar_at_file=no
6372    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h.  */
6374
6375 int
6376 main ()
6377 {
6378
6379   ;
6380   return 0;
6381 }
6382 _ACEOF
6383 if ac_fn_c_try_compile "$LINENO"; then :
6384   echo conftest.$ac_objext > conftest.lst
6385       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6386       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6387   (eval $lt_ar_try) 2>&5
6388   ac_status=$?
6389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390   test $ac_status = 0; }
6391       if test "$ac_status" -eq 0; then
6392         # Ensure the archiver fails upon bogus file names.
6393         rm -f conftest.$ac_objext libconftest.a
6394         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6395   (eval $lt_ar_try) 2>&5
6396   ac_status=$?
6397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6398   test $ac_status = 0; }
6399         if test "$ac_status" -ne 0; then
6400           lt_cv_ar_at_file=@
6401         fi
6402       fi
6403       rm -f conftest.* libconftest.a
6404
6405 fi
6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6407
6408 fi
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6410 $as_echo "$lt_cv_ar_at_file" >&6; }
6411
6412 if test "x$lt_cv_ar_at_file" = xno; then
6413   archiver_list_spec=
6414 else
6415   archiver_list_spec=$lt_cv_ar_at_file
6416 fi
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}strip; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if ${ac_cv_prog_STRIP+:} false; then :
6430   $as_echo_n "(cached) " >&6
6431 else
6432   if test -n "$STRIP"; then
6433   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438   IFS=$as_save_IFS
6439   test -z "$as_dir" && as_dir=.
6440     for ac_exec_ext in '' $ac_executable_extensions; do
6441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6442     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444     break 2
6445   fi
6446 done
6447   done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 STRIP=$ac_cv_prog_STRIP
6453 if test -n "$STRIP"; then
6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6455 $as_echo "$STRIP" >&6; }
6456 else
6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_STRIP"; then
6464   ac_ct_STRIP=$STRIP
6465   # Extract the first word of "strip", so it can be a program name with args.
6466 set dummy strip; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6470   $as_echo_n "(cached) " >&6
6471 else
6472   if test -n "$ac_ct_STRIP"; then
6473   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478   IFS=$as_save_IFS
6479   test -z "$as_dir" && as_dir=.
6480     for ac_exec_ext in '' $ac_executable_extensions; do
6481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482     ac_cv_prog_ac_ct_STRIP="strip"
6483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484     break 2
6485   fi
6486 done
6487   done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6493 if test -n "$ac_ct_STRIP"; then
6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6495 $as_echo "$ac_ct_STRIP" >&6; }
6496 else
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501   if test "x$ac_ct_STRIP" = x; then
6502     STRIP=":"
6503   else
6504     case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510     STRIP=$ac_ct_STRIP
6511   fi
6512 else
6513   STRIP="$ac_cv_prog_STRIP"
6514 fi
6515
6516 test -z "$STRIP" && STRIP=:
6517
6518
6519
6520
6521
6522
6523 if test -n "$ac_tool_prefix"; then
6524   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_RANLIB+:} false; then :
6529   $as_echo_n "(cached) " >&6
6530 else
6531   if test -n "$RANLIB"; then
6532   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6536 do
6537   IFS=$as_save_IFS
6538   test -z "$as_dir" && as_dir=.
6539     for ac_exec_ext in '' $ac_executable_extensions; do
6540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543     break 2
6544   fi
6545 done
6546   done
6547 IFS=$as_save_IFS
6548
6549 fi
6550 fi
6551 RANLIB=$ac_cv_prog_RANLIB
6552 if test -n "$RANLIB"; then
6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6554 $as_echo "$RANLIB" >&6; }
6555 else
6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6558 fi
6559
6560
6561 fi
6562 if test -z "$ac_cv_prog_RANLIB"; then
6563   ac_ct_RANLIB=$RANLIB
6564   # Extract the first word of "ranlib", so it can be a program name with args.
6565 set dummy ranlib; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   if test -n "$ac_ct_RANLIB"; then
6572   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6573 else
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 for as_dir in $PATH
6576 do
6577   IFS=$as_save_IFS
6578   test -z "$as_dir" && as_dir=.
6579     for ac_exec_ext in '' $ac_executable_extensions; do
6580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581     ac_cv_prog_ac_ct_RANLIB="ranlib"
6582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6583     break 2
6584   fi
6585 done
6586   done
6587 IFS=$as_save_IFS
6588
6589 fi
6590 fi
6591 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6592 if test -n "$ac_ct_RANLIB"; then
6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6594 $as_echo "$ac_ct_RANLIB" >&6; }
6595 else
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6598 fi
6599
6600   if test "x$ac_ct_RANLIB" = x; then
6601     RANLIB=":"
6602   else
6603     case $cross_compiling:$ac_tool_warned in
6604 yes:)
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6607 ac_tool_warned=yes ;;
6608 esac
6609     RANLIB=$ac_ct_RANLIB
6610   fi
6611 else
6612   RANLIB="$ac_cv_prog_RANLIB"
6613 fi
6614
6615 test -z "$RANLIB" && RANLIB=:
6616
6617
6618
6619
6620
6621
6622 # Determine commands to create old-style static archives.
6623 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6624 old_postinstall_cmds='chmod 644 $oldlib'
6625 old_postuninstall_cmds=
6626
6627 if test -n "$RANLIB"; then
6628   case $host_os in
6629   openbsd*)
6630     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6631     ;;
6632   *)
6633     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6634     ;;
6635   esac
6636   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6637 fi
6638
6639 case $host_os in
6640   darwin*)
6641     lock_old_archive_extraction=yes ;;
6642   *)
6643     lock_old_archive_extraction=no ;;
6644 esac
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684 # If no C compiler was specified, use CC.
6685 LTCC=${LTCC-"$CC"}
6686
6687 # If no C compiler flags were specified, use CFLAGS.
6688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6689
6690 # Allow CC to be a program name with arguments.
6691 compiler=$CC
6692
6693
6694 # Check for command to grab the raw symbol name followed by C symbol from nm.
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6696 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6697 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6698   $as_echo_n "(cached) " >&6
6699 else
6700
6701 # These are sane defaults that work on at least a few old systems.
6702 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6703
6704 # Character class describing NM global symbol codes.
6705 symcode='[BCDEGRST]'
6706
6707 # Regexp to match symbols that can be accessed directly from C.
6708 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6709
6710 # Define system-specific variables.
6711 case $host_os in
6712 aix*)
6713   symcode='[BCDT]'
6714   ;;
6715 cygwin* | mingw* | pw32* | cegcc*)
6716   symcode='[ABCDGISTW]'
6717   ;;
6718 hpux*)
6719   if test "$host_cpu" = ia64; then
6720     symcode='[ABCDEGRST]'
6721   fi
6722   ;;
6723 irix* | nonstopux*)
6724   symcode='[BCDEGRST]'
6725   ;;
6726 osf*)
6727   symcode='[BCDEGQRST]'
6728   ;;
6729 solaris*)
6730   symcode='[BDRT]'
6731   ;;
6732 sco3.2v5*)
6733   symcode='[DT]'
6734   ;;
6735 sysv4.2uw2*)
6736   symcode='[DT]'
6737   ;;
6738 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6739   symcode='[ABDT]'
6740   ;;
6741 sysv4)
6742   symcode='[DFNSTU]'
6743   ;;
6744 esac
6745
6746 # If we're using GNU nm, then use its standard symbol codes.
6747 case `$NM -V 2>&1` in
6748 *GNU* | *'with BFD'*)
6749   symcode='[ABCDGIRSTW]' ;;
6750 esac
6751
6752 # Transform an extracted symbol line into a proper C declaration.
6753 # Some systems (esp. on ia64) link data and code symbols differently,
6754 # so use this general approach.
6755 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6756
6757 # Transform an extracted symbol line into symbol name and symbol address
6758 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6759 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'"
6760
6761 # Handle CRLF in mingw tool chain
6762 opt_cr=
6763 case $build_os in
6764 mingw*)
6765   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6766   ;;
6767 esac
6768
6769 # Try without a prefix underscore, then with it.
6770 for ac_symprfx in "" "_"; do
6771
6772   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6773   symxfrm="\\1 $ac_symprfx\\2 \\2"
6774
6775   # Write the raw and C identifiers.
6776   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6777     # Fake it for dumpbin and say T for any non-static function
6778     # and D for any global variable.
6779     # Also find C++ and __fastcall symbols from MSVC++,
6780     # which start with @ or ?.
6781     lt_cv_sys_global_symbol_pipe="$AWK '"\
6782 "     {last_section=section; section=\$ 3};"\
6783 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6784 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6785 "     \$ 0!~/External *\|/{next};"\
6786 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6787 "     {if(hide[section]) next};"\
6788 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6789 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6790 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6791 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6792 "     ' prfx=^$ac_symprfx"
6793   else
6794     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6795   fi
6796   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6797
6798   # Check to see that the pipe works correctly.
6799   pipe_works=no
6800
6801   rm -f conftest*
6802   cat > conftest.$ac_ext <<_LT_EOF
6803 #ifdef __cplusplus
6804 extern "C" {
6805 #endif
6806 char nm_test_var;
6807 void nm_test_func(void);
6808 void nm_test_func(void){}
6809 #ifdef __cplusplus
6810 }
6811 #endif
6812 int main(){nm_test_var='a';nm_test_func();return(0);}
6813 _LT_EOF
6814
6815   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6816   (eval $ac_compile) 2>&5
6817   ac_status=$?
6818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6819   test $ac_status = 0; }; then
6820     # Now try to grab the symbols.
6821     nlist=conftest.nm
6822     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6823   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6824   ac_status=$?
6825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826   test $ac_status = 0; } && test -s "$nlist"; then
6827       # Try sorting and uniquifying the output.
6828       if sort "$nlist" | uniq > "$nlist"T; then
6829         mv -f "$nlist"T "$nlist"
6830       else
6831         rm -f "$nlist"T
6832       fi
6833
6834       # Make sure that we snagged all the symbols we need.
6835       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6836         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6837           cat <<_LT_EOF > conftest.$ac_ext
6838 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6839 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6840 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6841    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6842 # define LT_DLSYM_CONST
6843 #elif defined(__osf__)
6844 /* This system does not cope well with relocations in const data.  */
6845 # define LT_DLSYM_CONST
6846 #else
6847 # define LT_DLSYM_CONST const
6848 #endif
6849
6850 #ifdef __cplusplus
6851 extern "C" {
6852 #endif
6853
6854 _LT_EOF
6855           # Now generate the symbol file.
6856           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6857
6858           cat <<_LT_EOF >> conftest.$ac_ext
6859
6860 /* The mapping between symbol names and symbols.  */
6861 LT_DLSYM_CONST struct {
6862   const char *name;
6863   void       *address;
6864 }
6865 lt__PROGRAM__LTX_preloaded_symbols[] =
6866 {
6867   { "@PROGRAM@", (void *) 0 },
6868 _LT_EOF
6869           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6870           cat <<\_LT_EOF >> conftest.$ac_ext
6871   {0, (void *) 0}
6872 };
6873
6874 /* This works around a problem in FreeBSD linker */
6875 #ifdef FREEBSD_WORKAROUND
6876 static const void *lt_preloaded_setup() {
6877   return lt__PROGRAM__LTX_preloaded_symbols;
6878 }
6879 #endif
6880
6881 #ifdef __cplusplus
6882 }
6883 #endif
6884 _LT_EOF
6885           # Now try linking the two files.
6886           mv conftest.$ac_objext conftstm.$ac_objext
6887           lt_globsym_save_LIBS=$LIBS
6888           lt_globsym_save_CFLAGS=$CFLAGS
6889           LIBS="conftstm.$ac_objext"
6890           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6891           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6892   (eval $ac_link) 2>&5
6893   ac_status=$?
6894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6895   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6896             pipe_works=yes
6897           fi
6898           LIBS=$lt_globsym_save_LIBS
6899           CFLAGS=$lt_globsym_save_CFLAGS
6900         else
6901           echo "cannot find nm_test_func in $nlist" >&5
6902         fi
6903       else
6904         echo "cannot find nm_test_var in $nlist" >&5
6905       fi
6906     else
6907       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6908     fi
6909   else
6910     echo "$progname: failed program was:" >&5
6911     cat conftest.$ac_ext >&5
6912   fi
6913   rm -rf conftest* conftst*
6914
6915   # Do not use the global_symbol_pipe unless it works.
6916   if test "$pipe_works" = yes; then
6917     break
6918   else
6919     lt_cv_sys_global_symbol_pipe=
6920   fi
6921 done
6922
6923 fi
6924
6925 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6926   lt_cv_sys_global_symbol_to_cdecl=
6927 fi
6928 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6930 $as_echo "failed" >&6; }
6931 else
6932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6933 $as_echo "ok" >&6; }
6934 fi
6935
6936 # Response file support.
6937 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6938   nm_file_list_spec='@'
6939 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6940   nm_file_list_spec='@'
6941 fi
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6970 $as_echo_n "checking for sysroot... " >&6; }
6971
6972 # Check whether --with-sysroot was given.
6973 if test "${with_sysroot+set}" = set; then :
6974   withval=$with_sysroot;
6975 else
6976   with_sysroot=no
6977 fi
6978
6979
6980 lt_sysroot=
6981 case ${with_sysroot} in #(
6982  yes)
6983    if test "$GCC" = yes; then
6984      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6985    fi
6986    ;; #(
6987  /*)
6988    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6989    ;; #(
6990  no|'')
6991    ;; #(
6992  *)
6993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6994 $as_echo "${with_sysroot}" >&6; }
6995    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6996    ;;
6997 esac
6998
6999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7000 $as_echo "${lt_sysroot:-no}" >&6; }
7001
7002
7003
7004
7005
7006 # Check whether --enable-libtool-lock was given.
7007 if test "${enable_libtool_lock+set}" = set; then :
7008   enableval=$enable_libtool_lock;
7009 fi
7010
7011 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7012
7013 # Some flags need to be propagated to the compiler or linker for good
7014 # libtool support.
7015 case $host in
7016 ia64-*-hpux*)
7017   # Find out which ABI we are using.
7018   echo 'int i;' > conftest.$ac_ext
7019   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7020   (eval $ac_compile) 2>&5
7021   ac_status=$?
7022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023   test $ac_status = 0; }; then
7024     case `/usr/bin/file conftest.$ac_objext` in
7025       *ELF-32*)
7026         HPUX_IA64_MODE="32"
7027         ;;
7028       *ELF-64*)
7029         HPUX_IA64_MODE="64"
7030         ;;
7031     esac
7032   fi
7033   rm -rf conftest*
7034   ;;
7035 *-*-irix6*)
7036   # Find out which ABI we are using.
7037   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7038   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7039   (eval $ac_compile) 2>&5
7040   ac_status=$?
7041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7042   test $ac_status = 0; }; then
7043     if test "$lt_cv_prog_gnu_ld" = yes; then
7044       case `/usr/bin/file conftest.$ac_objext` in
7045         *32-bit*)
7046           LD="${LD-ld} -melf32bsmip"
7047           ;;
7048         *N32*)
7049           LD="${LD-ld} -melf32bmipn32"
7050           ;;
7051         *64-bit*)
7052           LD="${LD-ld} -melf64bmip"
7053         ;;
7054       esac
7055     else
7056       case `/usr/bin/file conftest.$ac_objext` in
7057         *32-bit*)
7058           LD="${LD-ld} -32"
7059           ;;
7060         *N32*)
7061           LD="${LD-ld} -n32"
7062           ;;
7063         *64-bit*)
7064           LD="${LD-ld} -64"
7065           ;;
7066       esac
7067     fi
7068   fi
7069   rm -rf conftest*
7070   ;;
7071
7072 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7073 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7074   # Find out which ABI we are using.
7075   echo 'int i;' > conftest.$ac_ext
7076   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7077   (eval $ac_compile) 2>&5
7078   ac_status=$?
7079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7080   test $ac_status = 0; }; then
7081     case `/usr/bin/file conftest.o` in
7082       *32-bit*)
7083         case $host in
7084           x86_64-*kfreebsd*-gnu)
7085             LD="${LD-ld} -m elf_i386_fbsd"
7086             ;;
7087           x86_64-*linux*)
7088             case `/usr/bin/file conftest.o` in
7089               *x86-64*)
7090                 LD="${LD-ld} -m elf32_x86_64"
7091                 ;;
7092               *)
7093                 LD="${LD-ld} -m elf_i386"
7094                 ;;
7095             esac
7096             ;;
7097           powerpc64le-*)
7098             LD="${LD-ld} -m elf32lppclinux"
7099             ;;
7100           powerpc64-*)
7101             LD="${LD-ld} -m elf32ppclinux"
7102             ;;
7103           s390x-*linux*)
7104             LD="${LD-ld} -m elf_s390"
7105             ;;
7106           sparc64-*linux*)
7107             LD="${LD-ld} -m elf32_sparc"
7108             ;;
7109         esac
7110         ;;
7111       *64-bit*)
7112         case $host in
7113           x86_64-*kfreebsd*-gnu)
7114             LD="${LD-ld} -m elf_x86_64_fbsd"
7115             ;;
7116           x86_64-*linux*)
7117             LD="${LD-ld} -m elf_x86_64"
7118             ;;
7119           powerpcle-*)
7120             LD="${LD-ld} -m elf64lppc"
7121             ;;
7122           powerpc-*)
7123             LD="${LD-ld} -m elf64ppc"
7124             ;;
7125           s390*-*linux*|s390*-*tpf*)
7126             LD="${LD-ld} -m elf64_s390"
7127             ;;
7128           sparc*-*linux*)
7129             LD="${LD-ld} -m elf64_sparc"
7130             ;;
7131         esac
7132         ;;
7133     esac
7134   fi
7135   rm -rf conftest*
7136   ;;
7137
7138 *-*-sco3.2v5*)
7139   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7140   SAVE_CFLAGS="$CFLAGS"
7141   CFLAGS="$CFLAGS -belf"
7142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7143 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7144 if ${lt_cv_cc_needs_belf+:} false; then :
7145   $as_echo_n "(cached) " >&6
7146 else
7147   ac_ext=c
7148 ac_cpp='$CPP $CPPFLAGS'
7149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7152
7153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h.  */
7155
7156 int
7157 main ()
7158 {
7159
7160   ;
7161   return 0;
7162 }
7163 _ACEOF
7164 if ac_fn_c_try_link "$LINENO"; then :
7165   lt_cv_cc_needs_belf=yes
7166 else
7167   lt_cv_cc_needs_belf=no
7168 fi
7169 rm -f core conftest.err conftest.$ac_objext \
7170     conftest$ac_exeext conftest.$ac_ext
7171      ac_ext=c
7172 ac_cpp='$CPP $CPPFLAGS'
7173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7176
7177 fi
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7179 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7180   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7181     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7182     CFLAGS="$SAVE_CFLAGS"
7183   fi
7184   ;;
7185 *-*solaris*)
7186   # Find out which ABI we are using.
7187   echo 'int i;' > conftest.$ac_ext
7188   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7189   (eval $ac_compile) 2>&5
7190   ac_status=$?
7191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7192   test $ac_status = 0; }; then
7193     case `/usr/bin/file conftest.o` in
7194     *64-bit*)
7195       case $lt_cv_prog_gnu_ld in
7196       yes*)
7197         case $host in
7198         i?86-*-solaris*)
7199           LD="${LD-ld} -m elf_x86_64"
7200           ;;
7201         sparc*-*-solaris*)
7202           LD="${LD-ld} -m elf64_sparc"
7203           ;;
7204         esac
7205         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7206         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7207           LD="${LD-ld}_sol2"
7208         fi
7209         ;;
7210       *)
7211         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7212           LD="${LD-ld} -64"
7213         fi
7214         ;;
7215       esac
7216       ;;
7217     esac
7218   fi
7219   rm -rf conftest*
7220   ;;
7221 esac
7222
7223 need_locks="$enable_libtool_lock"
7224
7225 if test -n "$ac_tool_prefix"; then
7226   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7227 set dummy ${ac_tool_prefix}mt; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7231   $as_echo_n "(cached) " >&6
7232 else
7233   if test -n "$MANIFEST_TOOL"; then
7234   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7235 else
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 for as_dir in $PATH
7238 do
7239   IFS=$as_save_IFS
7240   test -z "$as_dir" && as_dir=.
7241     for ac_exec_ext in '' $ac_executable_extensions; do
7242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245     break 2
7246   fi
7247 done
7248   done
7249 IFS=$as_save_IFS
7250
7251 fi
7252 fi
7253 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7254 if test -n "$MANIFEST_TOOL"; then
7255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7256 $as_echo "$MANIFEST_TOOL" >&6; }
7257 else
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7260 fi
7261
7262
7263 fi
7264 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7265   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7266   # Extract the first word of "mt", so it can be a program name with args.
7267 set dummy mt; ac_word=$2
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 $as_echo_n "checking for $ac_word... " >&6; }
7270 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7271   $as_echo_n "(cached) " >&6
7272 else
7273   if test -n "$ac_ct_MANIFEST_TOOL"; then
7274   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7275 else
7276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 for as_dir in $PATH
7278 do
7279   IFS=$as_save_IFS
7280   test -z "$as_dir" && as_dir=.
7281     for ac_exec_ext in '' $ac_executable_extensions; do
7282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7283     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285     break 2
7286   fi
7287 done
7288   done
7289 IFS=$as_save_IFS
7290
7291 fi
7292 fi
7293 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7294 if test -n "$ac_ct_MANIFEST_TOOL"; then
7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7296 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7297 else
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299 $as_echo "no" >&6; }
7300 fi
7301
7302   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7303     MANIFEST_TOOL=":"
7304   else
7305     case $cross_compiling:$ac_tool_warned in
7306 yes:)
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7309 ac_tool_warned=yes ;;
7310 esac
7311     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7312   fi
7313 else
7314   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7315 fi
7316
7317 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7319 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7320 if ${lt_cv_path_mainfest_tool+:} false; then :
7321   $as_echo_n "(cached) " >&6
7322 else
7323   lt_cv_path_mainfest_tool=no
7324   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7325   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7326   cat conftest.err >&5
7327   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7328     lt_cv_path_mainfest_tool=yes
7329   fi
7330   rm -f conftest*
7331 fi
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7333 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7334 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7335   MANIFEST_TOOL=:
7336 fi
7337
7338
7339
7340
7341
7342
7343   case $host_os in
7344     rhapsody* | darwin*)
7345     if test -n "$ac_tool_prefix"; then
7346   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7347 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7351   $as_echo_n "(cached) " >&6
7352 else
7353   if test -n "$DSYMUTIL"; then
7354   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7358 do
7359   IFS=$as_save_IFS
7360   test -z "$as_dir" && as_dir=.
7361     for ac_exec_ext in '' $ac_executable_extensions; do
7362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7365     break 2
7366   fi
7367 done
7368   done
7369 IFS=$as_save_IFS
7370
7371 fi
7372 fi
7373 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7374 if test -n "$DSYMUTIL"; then
7375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7376 $as_echo "$DSYMUTIL" >&6; }
7377 else
7378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7380 fi
7381
7382
7383 fi
7384 if test -z "$ac_cv_prog_DSYMUTIL"; then
7385   ac_ct_DSYMUTIL=$DSYMUTIL
7386   # Extract the first word of "dsymutil", so it can be a program name with args.
7387 set dummy dsymutil; ac_word=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7391   $as_echo_n "(cached) " >&6
7392 else
7393   if test -n "$ac_ct_DSYMUTIL"; then
7394   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7395 else
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 for as_dir in $PATH
7398 do
7399   IFS=$as_save_IFS
7400   test -z "$as_dir" && as_dir=.
7401     for ac_exec_ext in '' $ac_executable_extensions; do
7402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7403     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7405     break 2
7406   fi
7407 done
7408   done
7409 IFS=$as_save_IFS
7410
7411 fi
7412 fi
7413 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7414 if test -n "$ac_ct_DSYMUTIL"; then
7415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7416 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7417 else
7418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7420 fi
7421
7422   if test "x$ac_ct_DSYMUTIL" = x; then
7423     DSYMUTIL=":"
7424   else
7425     case $cross_compiling:$ac_tool_warned in
7426 yes:)
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7429 ac_tool_warned=yes ;;
7430 esac
7431     DSYMUTIL=$ac_ct_DSYMUTIL
7432   fi
7433 else
7434   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7435 fi
7436
7437     if test -n "$ac_tool_prefix"; then
7438   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7439 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_NMEDIT+:} false; then :
7443   $as_echo_n "(cached) " >&6
7444 else
7445   if test -n "$NMEDIT"; then
7446   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7450 do
7451   IFS=$as_save_IFS
7452   test -z "$as_dir" && as_dir=.
7453     for ac_exec_ext in '' $ac_executable_extensions; do
7454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7455     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457     break 2
7458   fi
7459 done
7460   done
7461 IFS=$as_save_IFS
7462
7463 fi
7464 fi
7465 NMEDIT=$ac_cv_prog_NMEDIT
7466 if test -n "$NMEDIT"; then
7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7468 $as_echo "$NMEDIT" >&6; }
7469 else
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7472 fi
7473
7474
7475 fi
7476 if test -z "$ac_cv_prog_NMEDIT"; then
7477   ac_ct_NMEDIT=$NMEDIT
7478   # Extract the first word of "nmedit", so it can be a program name with args.
7479 set dummy nmedit; ac_word=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7483   $as_echo_n "(cached) " >&6
7484 else
7485   if test -n "$ac_ct_NMEDIT"; then
7486   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7487 else
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7489 for as_dir in $PATH
7490 do
7491   IFS=$as_save_IFS
7492   test -z "$as_dir" && as_dir=.
7493     for ac_exec_ext in '' $ac_executable_extensions; do
7494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7497     break 2
7498   fi
7499 done
7500   done
7501 IFS=$as_save_IFS
7502
7503 fi
7504 fi
7505 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7506 if test -n "$ac_ct_NMEDIT"; then
7507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7508 $as_echo "$ac_ct_NMEDIT" >&6; }
7509 else
7510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 $as_echo "no" >&6; }
7512 fi
7513
7514   if test "x$ac_ct_NMEDIT" = x; then
7515     NMEDIT=":"
7516   else
7517     case $cross_compiling:$ac_tool_warned in
7518 yes:)
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7521 ac_tool_warned=yes ;;
7522 esac
7523     NMEDIT=$ac_ct_NMEDIT
7524   fi
7525 else
7526   NMEDIT="$ac_cv_prog_NMEDIT"
7527 fi
7528
7529     if test -n "$ac_tool_prefix"; then
7530   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7531 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_LIPO+:} false; then :
7535   $as_echo_n "(cached) " >&6
7536 else
7537   if test -n "$LIPO"; then
7538   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7542 do
7543   IFS=$as_save_IFS
7544   test -z "$as_dir" && as_dir=.
7545     for ac_exec_ext in '' $ac_executable_extensions; do
7546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7547     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549     break 2
7550   fi
7551 done
7552   done
7553 IFS=$as_save_IFS
7554
7555 fi
7556 fi
7557 LIPO=$ac_cv_prog_LIPO
7558 if test -n "$LIPO"; then
7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7560 $as_echo "$LIPO" >&6; }
7561 else
7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7564 fi
7565
7566
7567 fi
7568 if test -z "$ac_cv_prog_LIPO"; then
7569   ac_ct_LIPO=$LIPO
7570   # Extract the first word of "lipo", so it can be a program name with args.
7571 set dummy lipo; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7575   $as_echo_n "(cached) " >&6
7576 else
7577   if test -n "$ac_ct_LIPO"; then
7578   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7579 else
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 for as_dir in $PATH
7582 do
7583   IFS=$as_save_IFS
7584   test -z "$as_dir" && as_dir=.
7585     for ac_exec_ext in '' $ac_executable_extensions; do
7586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7587     ac_cv_prog_ac_ct_LIPO="lipo"
7588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7589     break 2
7590   fi
7591 done
7592   done
7593 IFS=$as_save_IFS
7594
7595 fi
7596 fi
7597 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7598 if test -n "$ac_ct_LIPO"; then
7599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7600 $as_echo "$ac_ct_LIPO" >&6; }
7601 else
7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7604 fi
7605
7606   if test "x$ac_ct_LIPO" = x; then
7607     LIPO=":"
7608   else
7609     case $cross_compiling:$ac_tool_warned in
7610 yes:)
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7613 ac_tool_warned=yes ;;
7614 esac
7615     LIPO=$ac_ct_LIPO
7616   fi
7617 else
7618   LIPO="$ac_cv_prog_LIPO"
7619 fi
7620
7621     if test -n "$ac_tool_prefix"; then
7622   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7623 set dummy ${ac_tool_prefix}otool; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_OTOOL+:} false; then :
7627   $as_echo_n "(cached) " >&6
7628 else
7629   if test -n "$OTOOL"; then
7630   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7631 else
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 for as_dir in $PATH
7634 do
7635   IFS=$as_save_IFS
7636   test -z "$as_dir" && as_dir=.
7637     for ac_exec_ext in '' $ac_executable_extensions; do
7638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7639     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7641     break 2
7642   fi
7643 done
7644   done
7645 IFS=$as_save_IFS
7646
7647 fi
7648 fi
7649 OTOOL=$ac_cv_prog_OTOOL
7650 if test -n "$OTOOL"; then
7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7652 $as_echo "$OTOOL" >&6; }
7653 else
7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7656 fi
7657
7658
7659 fi
7660 if test -z "$ac_cv_prog_OTOOL"; then
7661   ac_ct_OTOOL=$OTOOL
7662   # Extract the first word of "otool", so it can be a program name with args.
7663 set dummy otool; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7667   $as_echo_n "(cached) " >&6
7668 else
7669   if test -n "$ac_ct_OTOOL"; then
7670   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7671 else
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673 for as_dir in $PATH
7674 do
7675   IFS=$as_save_IFS
7676   test -z "$as_dir" && as_dir=.
7677     for ac_exec_ext in '' $ac_executable_extensions; do
7678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7679     ac_cv_prog_ac_ct_OTOOL="otool"
7680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7681     break 2
7682   fi
7683 done
7684   done
7685 IFS=$as_save_IFS
7686
7687 fi
7688 fi
7689 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7690 if test -n "$ac_ct_OTOOL"; then
7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7692 $as_echo "$ac_ct_OTOOL" >&6; }
7693 else
7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7696 fi
7697
7698   if test "x$ac_ct_OTOOL" = x; then
7699     OTOOL=":"
7700   else
7701     case $cross_compiling:$ac_tool_warned in
7702 yes:)
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7705 ac_tool_warned=yes ;;
7706 esac
7707     OTOOL=$ac_ct_OTOOL
7708   fi
7709 else
7710   OTOOL="$ac_cv_prog_OTOOL"
7711 fi
7712
7713     if test -n "$ac_tool_prefix"; then
7714   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7715 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_OTOOL64+:} false; then :
7719   $as_echo_n "(cached) " >&6
7720 else
7721   if test -n "$OTOOL64"; then
7722   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7726 do
7727   IFS=$as_save_IFS
7728   test -z "$as_dir" && as_dir=.
7729     for ac_exec_ext in '' $ac_executable_extensions; do
7730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733     break 2
7734   fi
7735 done
7736   done
7737 IFS=$as_save_IFS
7738
7739 fi
7740 fi
7741 OTOOL64=$ac_cv_prog_OTOOL64
7742 if test -n "$OTOOL64"; then
7743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7744 $as_echo "$OTOOL64" >&6; }
7745 else
7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7748 fi
7749
7750
7751 fi
7752 if test -z "$ac_cv_prog_OTOOL64"; then
7753   ac_ct_OTOOL64=$OTOOL64
7754   # Extract the first word of "otool64", so it can be a program name with args.
7755 set dummy otool64; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7759   $as_echo_n "(cached) " >&6
7760 else
7761   if test -n "$ac_ct_OTOOL64"; then
7762   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7763 else
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 for as_dir in $PATH
7766 do
7767   IFS=$as_save_IFS
7768   test -z "$as_dir" && as_dir=.
7769     for ac_exec_ext in '' $ac_executable_extensions; do
7770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771     ac_cv_prog_ac_ct_OTOOL64="otool64"
7772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773     break 2
7774   fi
7775 done
7776   done
7777 IFS=$as_save_IFS
7778
7779 fi
7780 fi
7781 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7782 if test -n "$ac_ct_OTOOL64"; then
7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7784 $as_echo "$ac_ct_OTOOL64" >&6; }
7785 else
7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7788 fi
7789
7790   if test "x$ac_ct_OTOOL64" = x; then
7791     OTOOL64=":"
7792   else
7793     case $cross_compiling:$ac_tool_warned in
7794 yes:)
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7797 ac_tool_warned=yes ;;
7798 esac
7799     OTOOL64=$ac_ct_OTOOL64
7800   fi
7801 else
7802   OTOOL64="$ac_cv_prog_OTOOL64"
7803 fi
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7832 $as_echo_n "checking for -single_module linker flag... " >&6; }
7833 if ${lt_cv_apple_cc_single_mod+:} false; then :
7834   $as_echo_n "(cached) " >&6
7835 else
7836   lt_cv_apple_cc_single_mod=no
7837       if test -z "${LT_MULTI_MODULE}"; then
7838         # By default we will add the -single_module flag. You can override
7839         # by either setting the environment variable LT_MULTI_MODULE
7840         # non-empty at configure time, or by adding -multi_module to the
7841         # link flags.
7842         rm -rf libconftest.dylib*
7843         echo "int foo(void){return 1;}" > conftest.c
7844         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7845 -dynamiclib -Wl,-single_module conftest.c" >&5
7846         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7847           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7848         _lt_result=$?
7849         # If there is a non-empty error log, and "single_module"
7850         # appears in it, assume the flag caused a linker warning
7851         if test -s conftest.err && $GREP single_module conftest.err; then
7852           cat conftest.err >&5
7853         # Otherwise, if the output was created with a 0 exit code from
7854         # the compiler, it worked.
7855         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7856           lt_cv_apple_cc_single_mod=yes
7857         else
7858           cat conftest.err >&5
7859         fi
7860         rm -rf libconftest.dylib*
7861         rm -f conftest.*
7862       fi
7863 fi
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7865 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7866
7867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7868 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7869 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7870   $as_echo_n "(cached) " >&6
7871 else
7872   lt_cv_ld_exported_symbols_list=no
7873       save_LDFLAGS=$LDFLAGS
7874       echo "_main" > conftest.sym
7875       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h.  */
7878
7879 int
7880 main ()
7881 {
7882
7883   ;
7884   return 0;
7885 }
7886 _ACEOF
7887 if ac_fn_c_try_link "$LINENO"; then :
7888   lt_cv_ld_exported_symbols_list=yes
7889 else
7890   lt_cv_ld_exported_symbols_list=no
7891 fi
7892 rm -f core conftest.err conftest.$ac_objext \
7893     conftest$ac_exeext conftest.$ac_ext
7894         LDFLAGS="$save_LDFLAGS"
7895
7896 fi
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7898 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7899
7900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7901 $as_echo_n "checking for -force_load linker flag... " >&6; }
7902 if ${lt_cv_ld_force_load+:} false; then :
7903   $as_echo_n "(cached) " >&6
7904 else
7905   lt_cv_ld_force_load=no
7906       cat > conftest.c << _LT_EOF
7907 int forced_loaded() { return 2;}
7908 _LT_EOF
7909       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7910       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7911       echo "$AR cru libconftest.a conftest.o" >&5
7912       $AR cru libconftest.a conftest.o 2>&5
7913       echo "$RANLIB libconftest.a" >&5
7914       $RANLIB libconftest.a 2>&5
7915       cat > conftest.c << _LT_EOF
7916 int main() { return 0;}
7917 _LT_EOF
7918       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7919       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7920       _lt_result=$?
7921       if test -s conftest.err && $GREP force_load conftest.err; then
7922         cat conftest.err >&5
7923       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7924         lt_cv_ld_force_load=yes
7925       else
7926         cat conftest.err >&5
7927       fi
7928         rm -f conftest.err libconftest.a conftest conftest.c
7929         rm -rf conftest.dSYM
7930
7931 fi
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7933 $as_echo "$lt_cv_ld_force_load" >&6; }
7934     case $host_os in
7935     rhapsody* | darwin1.[012])
7936       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7937     darwin1.*)
7938       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7939     darwin*) # darwin 5.x on
7940       # if running on 10.5 or later, the deployment target defaults
7941       # to the OS version, if on x86, and 10.4, the deployment
7942       # target defaults to 10.4. Don't you love it?
7943       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7944         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7945           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7946         10.[012]*)
7947           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7948         10.*)
7949           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7950       esac
7951     ;;
7952   esac
7953     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7954       _lt_dar_single_mod='$single_module'
7955     fi
7956     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7957       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7958     else
7959       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7960     fi
7961     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7962       _lt_dsymutil='~$DSYMUTIL $lib || :'
7963     else
7964       _lt_dsymutil=
7965     fi
7966     ;;
7967   esac
7968
7969 ac_ext=c
7970 ac_cpp='$CPP $CPPFLAGS'
7971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7975 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7976 # On Suns, sometimes $CPP names a directory.
7977 if test -n "$CPP" && test -d "$CPP"; then
7978   CPP=
7979 fi
7980 if test -z "$CPP"; then
7981   if ${ac_cv_prog_CPP+:} false; then :
7982   $as_echo_n "(cached) " >&6
7983 else
7984       # Double quotes because CPP needs to be expanded
7985     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7986     do
7987       ac_preproc_ok=false
7988 for ac_c_preproc_warn_flag in '' yes
7989 do
7990   # Use a header file that comes with gcc, so configuring glibc
7991   # with a fresh cross-compiler works.
7992   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7993   # <limits.h> exists even on freestanding compilers.
7994   # On the NeXT, cc -E runs the code through the compiler's parser,
7995   # not just through cpp. "Syntax error" is here to catch this case.
7996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h.  */
7998 #ifdef __STDC__
7999 # include <limits.h>
8000 #else
8001 # include <assert.h>
8002 #endif
8003                      Syntax error
8004 _ACEOF
8005 if ac_fn_c_try_cpp "$LINENO"; then :
8006
8007 else
8008   # Broken: fails on valid input.
8009 continue
8010 fi
8011 rm -f conftest.err conftest.i conftest.$ac_ext
8012
8013   # OK, works on sane cases.  Now check whether nonexistent headers
8014   # can be detected and how.
8015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h.  */
8017 #include <ac_nonexistent.h>
8018 _ACEOF
8019 if ac_fn_c_try_cpp "$LINENO"; then :
8020   # Broken: success on invalid input.
8021 continue
8022 else
8023   # Passes both tests.
8024 ac_preproc_ok=:
8025 break
8026 fi
8027 rm -f conftest.err conftest.i conftest.$ac_ext
8028
8029 done
8030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8031 rm -f conftest.i conftest.err conftest.$ac_ext
8032 if $ac_preproc_ok; then :
8033   break
8034 fi
8035
8036     done
8037     ac_cv_prog_CPP=$CPP
8038
8039 fi
8040   CPP=$ac_cv_prog_CPP
8041 else
8042   ac_cv_prog_CPP=$CPP
8043 fi
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8045 $as_echo "$CPP" >&6; }
8046 ac_preproc_ok=false
8047 for ac_c_preproc_warn_flag in '' yes
8048 do
8049   # Use a header file that comes with gcc, so configuring glibc
8050   # with a fresh cross-compiler works.
8051   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8052   # <limits.h> exists even on freestanding compilers.
8053   # On the NeXT, cc -E runs the code through the compiler's parser,
8054   # not just through cpp. "Syntax error" is here to catch this case.
8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h.  */
8057 #ifdef __STDC__
8058 # include <limits.h>
8059 #else
8060 # include <assert.h>
8061 #endif
8062                      Syntax error
8063 _ACEOF
8064 if ac_fn_c_try_cpp "$LINENO"; then :
8065
8066 else
8067   # Broken: fails on valid input.
8068 continue
8069 fi
8070 rm -f conftest.err conftest.i conftest.$ac_ext
8071
8072   # OK, works on sane cases.  Now check whether nonexistent headers
8073   # can be detected and how.
8074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h.  */
8076 #include <ac_nonexistent.h>
8077 _ACEOF
8078 if ac_fn_c_try_cpp "$LINENO"; then :
8079   # Broken: success on invalid input.
8080 continue
8081 else
8082   # Passes both tests.
8083 ac_preproc_ok=:
8084 break
8085 fi
8086 rm -f conftest.err conftest.i conftest.$ac_ext
8087
8088 done
8089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8090 rm -f conftest.i conftest.err conftest.$ac_ext
8091 if $ac_preproc_ok; then :
8092
8093 else
8094   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8096 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8097 See \`config.log' for more details" "$LINENO" 5; }
8098 fi
8099
8100 ac_ext=c
8101 ac_cpp='$CPP $CPPFLAGS'
8102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8105
8106
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8108 $as_echo_n "checking for ANSI C header files... " >&6; }
8109 if ${ac_cv_header_stdc+:} false; then :
8110   $as_echo_n "(cached) " >&6
8111 else
8112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h.  */
8114 #include <stdlib.h>
8115 #include <stdarg.h>
8116 #include <string.h>
8117 #include <float.h>
8118
8119 int
8120 main ()
8121 {
8122
8123   ;
8124   return 0;
8125 }
8126 _ACEOF
8127 if ac_fn_c_try_compile "$LINENO"; then :
8128   ac_cv_header_stdc=yes
8129 else
8130   ac_cv_header_stdc=no
8131 fi
8132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8133
8134 if test $ac_cv_header_stdc = yes; then
8135   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h.  */
8138 #include <string.h>
8139
8140 _ACEOF
8141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8142   $EGREP "memchr" >/dev/null 2>&1; then :
8143
8144 else
8145   ac_cv_header_stdc=no
8146 fi
8147 rm -f conftest*
8148
8149 fi
8150
8151 if test $ac_cv_header_stdc = yes; then
8152   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h.  */
8155 #include <stdlib.h>
8156
8157 _ACEOF
8158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8159   $EGREP "free" >/dev/null 2>&1; then :
8160
8161 else
8162   ac_cv_header_stdc=no
8163 fi
8164 rm -f conftest*
8165
8166 fi
8167
8168 if test $ac_cv_header_stdc = yes; then
8169   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8170   if test "$cross_compiling" = yes; then :
8171   :
8172 else
8173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h.  */
8175 #include <ctype.h>
8176 #include <stdlib.h>
8177 #if ((' ' & 0x0FF) == 0x020)
8178 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8179 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8180 #else
8181 # define ISLOWER(c) \
8182                    (('a' <= (c) && (c) <= 'i') \
8183                      || ('j' <= (c) && (c) <= 'r') \
8184                      || ('s' <= (c) && (c) <= 'z'))
8185 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8186 #endif
8187
8188 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8189 int
8190 main ()
8191 {
8192   int i;
8193   for (i = 0; i < 256; i++)
8194     if (XOR (islower (i), ISLOWER (i))
8195         || toupper (i) != TOUPPER (i))
8196       return 2;
8197   return 0;
8198 }
8199 _ACEOF
8200 if ac_fn_c_try_run "$LINENO"; then :
8201
8202 else
8203   ac_cv_header_stdc=no
8204 fi
8205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8206   conftest.$ac_objext conftest.beam conftest.$ac_ext
8207 fi
8208
8209 fi
8210 fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8212 $as_echo "$ac_cv_header_stdc" >&6; }
8213 if test $ac_cv_header_stdc = yes; then
8214
8215 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8216
8217 fi
8218
8219 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8220 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8221                   inttypes.h stdint.h unistd.h
8222 do :
8223   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8225 "
8226 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8227   cat >>confdefs.h <<_ACEOF
8228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8229 _ACEOF
8230
8231 fi
8232
8233 done
8234
8235
8236 for ac_header in dlfcn.h
8237 do :
8238   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8239 "
8240 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8241   cat >>confdefs.h <<_ACEOF
8242 #define HAVE_DLFCN_H 1
8243 _ACEOF
8244
8245 fi
8246
8247 done
8248
8249
8250
8251
8252
8253 # Set options
8254
8255
8256
8257         enable_dlopen=no
8258
8259
8260   enable_win32_dll=no
8261
8262
8263             # Check whether --enable-shared was given.
8264 if test "${enable_shared+set}" = set; then :
8265   enableval=$enable_shared; p=${PACKAGE-default}
8266     case $enableval in
8267     yes) enable_shared=yes ;;
8268     no) enable_shared=no ;;
8269     *)
8270       enable_shared=no
8271       # Look at the argument we got.  We use all the common list separators.
8272       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8273       for pkg in $enableval; do
8274         IFS="$lt_save_ifs"
8275         if test "X$pkg" = "X$p"; then
8276           enable_shared=yes
8277         fi
8278       done
8279       IFS="$lt_save_ifs"
8280       ;;
8281     esac
8282 else
8283   enable_shared=yes
8284 fi
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294   # Check whether --enable-static was given.
8295 if test "${enable_static+set}" = set; then :
8296   enableval=$enable_static; p=${PACKAGE-default}
8297     case $enableval in
8298     yes) enable_static=yes ;;
8299     no) enable_static=no ;;
8300     *)
8301      enable_static=no
8302       # Look at the argument we got.  We use all the common list separators.
8303       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8304       for pkg in $enableval; do
8305         IFS="$lt_save_ifs"
8306         if test "X$pkg" = "X$p"; then
8307           enable_static=yes
8308         fi
8309       done
8310       IFS="$lt_save_ifs"
8311       ;;
8312     esac
8313 else
8314   enable_static=yes
8315 fi
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326 # Check whether --with-pic was given.
8327 if test "${with_pic+set}" = set; then :
8328   withval=$with_pic; lt_p=${PACKAGE-default}
8329     case $withval in
8330     yes|no) pic_mode=$withval ;;
8331     *)
8332       pic_mode=default
8333       # Look at the argument we got.  We use all the common list separators.
8334       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8335       for lt_pkg in $withval; do
8336         IFS="$lt_save_ifs"
8337         if test "X$lt_pkg" = "X$lt_p"; then
8338           pic_mode=yes
8339         fi
8340       done
8341       IFS="$lt_save_ifs"
8342       ;;
8343     esac
8344 else
8345   pic_mode=default
8346 fi
8347
8348
8349 test -z "$pic_mode" && pic_mode=default
8350
8351
8352
8353
8354
8355
8356
8357   # Check whether --enable-fast-install was given.
8358 if test "${enable_fast_install+set}" = set; then :
8359   enableval=$enable_fast_install; p=${PACKAGE-default}
8360     case $enableval in
8361     yes) enable_fast_install=yes ;;
8362     no) enable_fast_install=no ;;
8363     *)
8364       enable_fast_install=no
8365       # Look at the argument we got.  We use all the common list separators.
8366       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8367       for pkg in $enableval; do
8368         IFS="$lt_save_ifs"
8369         if test "X$pkg" = "X$p"; then
8370           enable_fast_install=yes
8371         fi
8372       done
8373       IFS="$lt_save_ifs"
8374       ;;
8375     esac
8376 else
8377   enable_fast_install=yes
8378 fi
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390 # This can be used to rebuild libtool when needed
8391 LIBTOOL_DEPS="$ltmain"
8392
8393 # Always use our own libtool.
8394 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425 test -z "$LN_S" && LN_S="ln -s"
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440 if test -n "${ZSH_VERSION+set}" ; then
8441    setopt NO_GLOB_SUBST
8442 fi
8443
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8445 $as_echo_n "checking for objdir... " >&6; }
8446 if ${lt_cv_objdir+:} false; then :
8447   $as_echo_n "(cached) " >&6
8448 else
8449   rm -f .libs 2>/dev/null
8450 mkdir .libs 2>/dev/null
8451 if test -d .libs; then
8452   lt_cv_objdir=.libs
8453 else
8454   # MS-DOS does not allow filenames that begin with a dot.
8455   lt_cv_objdir=_libs
8456 fi
8457 rmdir .libs 2>/dev/null
8458 fi
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8460 $as_echo "$lt_cv_objdir" >&6; }
8461 objdir=$lt_cv_objdir
8462
8463
8464
8465
8466
8467 cat >>confdefs.h <<_ACEOF
8468 #define LT_OBJDIR "$lt_cv_objdir/"
8469 _ACEOF
8470
8471
8472
8473
8474 case $host_os in
8475 aix3*)
8476   # AIX sometimes has problems with the GCC collect2 program.  For some
8477   # reason, if we set the COLLECT_NAMES environment variable, the problems
8478   # vanish in a puff of smoke.
8479   if test "X${COLLECT_NAMES+set}" != Xset; then
8480     COLLECT_NAMES=
8481     export COLLECT_NAMES
8482   fi
8483   ;;
8484 esac
8485
8486 # Global variables:
8487 ofile=libtool
8488 can_build_shared=yes
8489
8490 # All known linkers require a `.a' archive for static linking (except MSVC,
8491 # which needs '.lib').
8492 libext=a
8493
8494 with_gnu_ld="$lt_cv_prog_gnu_ld"
8495
8496 old_CC="$CC"
8497 old_CFLAGS="$CFLAGS"
8498
8499 # Set sane defaults for various variables
8500 test -z "$CC" && CC=cc
8501 test -z "$LTCC" && LTCC=$CC
8502 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8503 test -z "$LD" && LD=ld
8504 test -z "$ac_objext" && ac_objext=o
8505
8506 for cc_temp in $compiler""; do
8507   case $cc_temp in
8508     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8509     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8510     \-*) ;;
8511     *) break;;
8512   esac
8513 done
8514 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8515
8516
8517 # Only perform the check for file, if the check method requires it
8518 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8519 case $deplibs_check_method in
8520 file_magic*)
8521   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8523 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8524 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8525   $as_echo_n "(cached) " >&6
8526 else
8527   case $MAGIC_CMD in
8528 [\\/*] |  ?:[\\/]*)
8529   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8530   ;;
8531 *)
8532   lt_save_MAGIC_CMD="$MAGIC_CMD"
8533   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8534   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8535   for ac_dir in $ac_dummy; do
8536     IFS="$lt_save_ifs"
8537     test -z "$ac_dir" && ac_dir=.
8538     if test -f $ac_dir/${ac_tool_prefix}file; then
8539       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8540       if test -n "$file_magic_test_file"; then
8541         case $deplibs_check_method in
8542         "file_magic "*)
8543           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8544           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8545           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8546             $EGREP "$file_magic_regex" > /dev/null; then
8547             :
8548           else
8549             cat <<_LT_EOF 1>&2
8550
8551 *** Warning: the command libtool uses to detect shared libraries,
8552 *** $file_magic_cmd, produces output that libtool cannot recognize.
8553 *** The result is that libtool may fail to recognize shared libraries
8554 *** as such.  This will affect the creation of libtool libraries that
8555 *** depend on shared libraries, but programs linked with such libtool
8556 *** libraries will work regardless of this problem.  Nevertheless, you
8557 *** may want to report the problem to your system manager and/or to
8558 *** bug-libtool@gnu.org
8559
8560 _LT_EOF
8561           fi ;;
8562         esac
8563       fi
8564       break
8565     fi
8566   done
8567   IFS="$lt_save_ifs"
8568   MAGIC_CMD="$lt_save_MAGIC_CMD"
8569   ;;
8570 esac
8571 fi
8572
8573 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8574 if test -n "$MAGIC_CMD"; then
8575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8576 $as_echo "$MAGIC_CMD" >&6; }
8577 else
8578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8579 $as_echo "no" >&6; }
8580 fi
8581
8582
8583
8584
8585
8586 if test -z "$lt_cv_path_MAGIC_CMD"; then
8587   if test -n "$ac_tool_prefix"; then
8588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8589 $as_echo_n "checking for file... " >&6; }
8590 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8591   $as_echo_n "(cached) " >&6
8592 else
8593   case $MAGIC_CMD in
8594 [\\/*] |  ?:[\\/]*)
8595   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8596   ;;
8597 *)
8598   lt_save_MAGIC_CMD="$MAGIC_CMD"
8599   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8600   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8601   for ac_dir in $ac_dummy; do
8602     IFS="$lt_save_ifs"
8603     test -z "$ac_dir" && ac_dir=.
8604     if test -f $ac_dir/file; then
8605       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8606       if test -n "$file_magic_test_file"; then
8607         case $deplibs_check_method in
8608         "file_magic "*)
8609           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8610           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8611           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8612             $EGREP "$file_magic_regex" > /dev/null; then
8613             :
8614           else
8615             cat <<_LT_EOF 1>&2
8616
8617 *** Warning: the command libtool uses to detect shared libraries,
8618 *** $file_magic_cmd, produces output that libtool cannot recognize.
8619 *** The result is that libtool may fail to recognize shared libraries
8620 *** as such.  This will affect the creation of libtool libraries that
8621 *** depend on shared libraries, but programs linked with such libtool
8622 *** libraries will work regardless of this problem.  Nevertheless, you
8623 *** may want to report the problem to your system manager and/or to
8624 *** bug-libtool@gnu.org
8625
8626 _LT_EOF
8627           fi ;;
8628         esac
8629       fi
8630       break
8631     fi
8632   done
8633   IFS="$lt_save_ifs"
8634   MAGIC_CMD="$lt_save_MAGIC_CMD"
8635   ;;
8636 esac
8637 fi
8638
8639 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8640 if test -n "$MAGIC_CMD"; then
8641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8642 $as_echo "$MAGIC_CMD" >&6; }
8643 else
8644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 $as_echo "no" >&6; }
8646 fi
8647
8648
8649   else
8650     MAGIC_CMD=:
8651   fi
8652 fi
8653
8654   fi
8655   ;;
8656 esac
8657
8658 # Use C for the default configuration in the libtool script
8659
8660 lt_save_CC="$CC"
8661 ac_ext=c
8662 ac_cpp='$CPP $CPPFLAGS'
8663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8666
8667
8668 # Source file extension for C test sources.
8669 ac_ext=c
8670
8671 # Object file extension for compiled C test sources.
8672 objext=o
8673 objext=$objext
8674
8675 # Code to be used in simple compile tests
8676 lt_simple_compile_test_code="int some_variable = 0;"
8677
8678 # Code to be used in simple link tests
8679 lt_simple_link_test_code='int main(){return(0);}'
8680
8681
8682
8683
8684
8685
8686
8687 # If no C compiler was specified, use CC.
8688 LTCC=${LTCC-"$CC"}
8689
8690 # If no C compiler flags were specified, use CFLAGS.
8691 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8692
8693 # Allow CC to be a program name with arguments.
8694 compiler=$CC
8695
8696 # Save the default compiler, since it gets overwritten when the other
8697 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8698 compiler_DEFAULT=$CC
8699
8700 # save warnings/boilerplate of simple test code
8701 ac_outfile=conftest.$ac_objext
8702 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8703 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8704 _lt_compiler_boilerplate=`cat conftest.err`
8705 $RM conftest*
8706
8707 ac_outfile=conftest.$ac_objext
8708 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8709 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8710 _lt_linker_boilerplate=`cat conftest.err`
8711 $RM -r conftest*
8712
8713
8714 if test -n "$compiler"; then
8715
8716 lt_prog_compiler_no_builtin_flag=
8717
8718 if test "$GCC" = yes; then
8719   case $cc_basename in
8720   nvcc*)
8721     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8722   *)
8723     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8724   esac
8725
8726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8727 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8728 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8729   $as_echo_n "(cached) " >&6
8730 else
8731   lt_cv_prog_compiler_rtti_exceptions=no
8732    ac_outfile=conftest.$ac_objext
8733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734    lt_compiler_flag="-fno-rtti -fno-exceptions"
8735    # Insert the option either (1) after the last *FLAGS variable, or
8736    # (2) before a word containing "conftest.", or (3) at the end.
8737    # Note that $ac_compile itself does not contain backslashes and begins
8738    # with a dollar sign (not a hyphen), so the echo should work correctly.
8739    # The option is referenced via a variable to avoid confusing sed.
8740    lt_compile=`echo "$ac_compile" | $SED \
8741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743    -e 's:$: $lt_compiler_flag:'`
8744    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745    (eval "$lt_compile" 2>conftest.err)
8746    ac_status=$?
8747    cat conftest.err >&5
8748    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749    if (exit $ac_status) && test -s "$ac_outfile"; then
8750      # The compiler can only warn and ignore the option if not recognized
8751      # So say no if there are warnings other than the usual output.
8752      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755        lt_cv_prog_compiler_rtti_exceptions=yes
8756      fi
8757    fi
8758    $RM conftest*
8759
8760 fi
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8762 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8763
8764 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8765     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8766 else
8767     :
8768 fi
8769
8770 fi
8771
8772
8773
8774
8775
8776
8777   lt_prog_compiler_wl=
8778 lt_prog_compiler_pic=
8779 lt_prog_compiler_static=
8780
8781
8782   if test "$GCC" = yes; then
8783     lt_prog_compiler_wl='-Wl,'
8784     lt_prog_compiler_static='-static'
8785
8786     case $host_os in
8787       aix*)
8788       # All AIX code is PIC.
8789       if test "$host_cpu" = ia64; then
8790         # AIX 5 now supports IA64 processor
8791         lt_prog_compiler_static='-Bstatic'
8792       fi
8793       ;;
8794
8795     amigaos*)
8796       case $host_cpu in
8797       powerpc)
8798             # see comment about AmigaOS4 .so support
8799             lt_prog_compiler_pic='-fPIC'
8800         ;;
8801       m68k)
8802             # FIXME: we need at least 68020 code to build shared libraries, but
8803             # adding the `-m68020' flag to GCC prevents building anything better,
8804             # like `-m68040'.
8805             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8806         ;;
8807       esac
8808       ;;
8809
8810     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8811       # PIC is the default for these OSes.
8812       ;;
8813
8814     mingw* | cygwin* | pw32* | os2* | cegcc*)
8815       # This hack is so that the source file can tell whether it is being
8816       # built for inclusion in a dll (and should export symbols for example).
8817       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8818       # (--disable-auto-import) libraries
8819       lt_prog_compiler_pic='-DDLL_EXPORT'
8820       ;;
8821
8822     darwin* | rhapsody*)
8823       # PIC is the default on this platform
8824       # Common symbols not allowed in MH_DYLIB files
8825       lt_prog_compiler_pic='-fno-common'
8826       ;;
8827
8828     haiku*)
8829       # PIC is the default for Haiku.
8830       # The "-static" flag exists, but is broken.
8831       lt_prog_compiler_static=
8832       ;;
8833
8834     hpux*)
8835       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8836       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8837       # sets the default TLS model and affects inlining.
8838       case $host_cpu in
8839       hppa*64*)
8840         # +Z the default
8841         ;;
8842       *)
8843         lt_prog_compiler_pic='-fPIC'
8844         ;;
8845       esac
8846       ;;
8847
8848     interix[3-9]*)
8849       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8850       # Instead, we relocate shared libraries at runtime.
8851       ;;
8852
8853     msdosdjgpp*)
8854       # Just because we use GCC doesn't mean we suddenly get shared libraries
8855       # on systems that don't support them.
8856       lt_prog_compiler_can_build_shared=no
8857       enable_shared=no
8858       ;;
8859
8860     *nto* | *qnx*)
8861       # QNX uses GNU C++, but need to define -shared option too, otherwise
8862       # it will coredump.
8863       lt_prog_compiler_pic='-fPIC -shared'
8864       ;;
8865
8866     sysv4*MP*)
8867       if test -d /usr/nec; then
8868         lt_prog_compiler_pic=-Kconform_pic
8869       fi
8870       ;;
8871
8872     *)
8873       lt_prog_compiler_pic='-fPIC'
8874       ;;
8875     esac
8876
8877     case $cc_basename in
8878     nvcc*) # Cuda Compiler Driver 2.2
8879       lt_prog_compiler_wl='-Xlinker '
8880       if test -n "$lt_prog_compiler_pic"; then
8881         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8882       fi
8883       ;;
8884     esac
8885   else
8886     # PORTME Check for flag to pass linker flags through the system compiler.
8887     case $host_os in
8888     aix*)
8889       lt_prog_compiler_wl='-Wl,'
8890       if test "$host_cpu" = ia64; then
8891         # AIX 5 now supports IA64 processor
8892         lt_prog_compiler_static='-Bstatic'
8893       else
8894         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8895       fi
8896       ;;
8897
8898     mingw* | cygwin* | pw32* | os2* | cegcc*)
8899       # This hack is so that the source file can tell whether it is being
8900       # built for inclusion in a dll (and should export symbols for example).
8901       lt_prog_compiler_pic='-DDLL_EXPORT'
8902       ;;
8903
8904     hpux9* | hpux10* | hpux11*)
8905       lt_prog_compiler_wl='-Wl,'
8906       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8907       # not for PA HP-UX.
8908       case $host_cpu in
8909       hppa*64*|ia64*)
8910         # +Z the default
8911         ;;
8912       *)
8913         lt_prog_compiler_pic='+Z'
8914         ;;
8915       esac
8916       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8917       lt_prog_compiler_static='${wl}-a ${wl}archive'
8918       ;;
8919
8920     irix5* | irix6* | nonstopux*)
8921       lt_prog_compiler_wl='-Wl,'
8922       # PIC (with -KPIC) is the default.
8923       lt_prog_compiler_static='-non_shared'
8924       ;;
8925
8926     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8927       case $cc_basename in
8928       # old Intel for x86_64 which still supported -KPIC.
8929       ecc*)
8930         lt_prog_compiler_wl='-Wl,'
8931         lt_prog_compiler_pic='-KPIC'
8932         lt_prog_compiler_static='-static'
8933         ;;
8934       # icc used to be incompatible with GCC.
8935       # ICC 10 doesn't accept -KPIC any more.
8936       icc* | ifort*)
8937         lt_prog_compiler_wl='-Wl,'
8938         lt_prog_compiler_pic='-fPIC'
8939         lt_prog_compiler_static='-static'
8940         ;;
8941       # Lahey Fortran 8.1.
8942       lf95*)
8943         lt_prog_compiler_wl='-Wl,'
8944         lt_prog_compiler_pic='--shared'
8945         lt_prog_compiler_static='--static'
8946         ;;
8947       nagfor*)
8948         # NAG Fortran compiler
8949         lt_prog_compiler_wl='-Wl,-Wl,,'
8950         lt_prog_compiler_pic='-PIC'
8951         lt_prog_compiler_static='-Bstatic'
8952         ;;
8953       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8954         # Portland Group compilers (*not* the Pentium gcc compiler,
8955         # which looks to be a dead project)
8956         lt_prog_compiler_wl='-Wl,'
8957         lt_prog_compiler_pic='-fpic'
8958         lt_prog_compiler_static='-Bstatic'
8959         ;;
8960       ccc*)
8961         lt_prog_compiler_wl='-Wl,'
8962         # All Alpha code is PIC.
8963         lt_prog_compiler_static='-non_shared'
8964         ;;
8965       xl* | bgxl* | bgf* | mpixl*)
8966         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8967         lt_prog_compiler_wl='-Wl,'
8968         lt_prog_compiler_pic='-qpic'
8969         lt_prog_compiler_static='-qstaticlink'
8970         ;;
8971       *)
8972         case `$CC -V 2>&1 | sed 5q` in
8973         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8974           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8975           lt_prog_compiler_pic='-KPIC'
8976           lt_prog_compiler_static='-Bstatic'
8977           lt_prog_compiler_wl=''
8978           ;;
8979         *Sun\ F* | *Sun*Fortran*)
8980           lt_prog_compiler_pic='-KPIC'
8981           lt_prog_compiler_static='-Bstatic'
8982           lt_prog_compiler_wl='-Qoption ld '
8983           ;;
8984         *Sun\ C*)
8985           # Sun C 5.9
8986           lt_prog_compiler_pic='-KPIC'
8987           lt_prog_compiler_static='-Bstatic'
8988           lt_prog_compiler_wl='-Wl,'
8989           ;;
8990         *Intel*\ [CF]*Compiler*)
8991           lt_prog_compiler_wl='-Wl,'
8992           lt_prog_compiler_pic='-fPIC'
8993           lt_prog_compiler_static='-static'
8994           ;;
8995         *Portland\ Group*)
8996           lt_prog_compiler_wl='-Wl,'
8997           lt_prog_compiler_pic='-fpic'
8998           lt_prog_compiler_static='-Bstatic'
8999           ;;
9000         esac
9001         ;;
9002       esac
9003       ;;
9004
9005     newsos6)
9006       lt_prog_compiler_pic='-KPIC'
9007       lt_prog_compiler_static='-Bstatic'
9008       ;;
9009
9010     *nto* | *qnx*)
9011       # QNX uses GNU C++, but need to define -shared option too, otherwise
9012       # it will coredump.
9013       lt_prog_compiler_pic='-fPIC -shared'
9014       ;;
9015
9016     osf3* | osf4* | osf5*)
9017       lt_prog_compiler_wl='-Wl,'
9018       # All OSF/1 code is PIC.
9019       lt_prog_compiler_static='-non_shared'
9020       ;;
9021
9022     rdos*)
9023       lt_prog_compiler_static='-non_shared'
9024       ;;
9025
9026     solaris*)
9027       lt_prog_compiler_pic='-KPIC'
9028       lt_prog_compiler_static='-Bstatic'
9029       case $cc_basename in
9030       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9031         lt_prog_compiler_wl='-Qoption ld ';;
9032       *)
9033         lt_prog_compiler_wl='-Wl,';;
9034       esac
9035       ;;
9036
9037     sunos4*)
9038       lt_prog_compiler_wl='-Qoption ld '
9039       lt_prog_compiler_pic='-PIC'
9040       lt_prog_compiler_static='-Bstatic'
9041       ;;
9042
9043     sysv4 | sysv4.2uw2* | sysv4.3*)
9044       lt_prog_compiler_wl='-Wl,'
9045       lt_prog_compiler_pic='-KPIC'
9046       lt_prog_compiler_static='-Bstatic'
9047       ;;
9048
9049     sysv4*MP*)
9050       if test -d /usr/nec ;then
9051         lt_prog_compiler_pic='-Kconform_pic'
9052         lt_prog_compiler_static='-Bstatic'
9053       fi
9054       ;;
9055
9056     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9057       lt_prog_compiler_wl='-Wl,'
9058       lt_prog_compiler_pic='-KPIC'
9059       lt_prog_compiler_static='-Bstatic'
9060       ;;
9061
9062     unicos*)
9063       lt_prog_compiler_wl='-Wl,'
9064       lt_prog_compiler_can_build_shared=no
9065       ;;
9066
9067     uts4*)
9068       lt_prog_compiler_pic='-pic'
9069       lt_prog_compiler_static='-Bstatic'
9070       ;;
9071
9072     *)
9073       lt_prog_compiler_can_build_shared=no
9074       ;;
9075     esac
9076   fi
9077
9078 case $host_os in
9079   # For platforms which do not support PIC, -DPIC is meaningless:
9080   *djgpp*)
9081     lt_prog_compiler_pic=
9082     ;;
9083   *)
9084     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9085     ;;
9086 esac
9087
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9090 if ${lt_cv_prog_compiler_pic+:} false; then :
9091   $as_echo_n "(cached) " >&6
9092 else
9093   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9094 fi
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9096 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9097 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9098
9099 #
9100 # Check to make sure the PIC flag actually works.
9101 #
9102 if test -n "$lt_prog_compiler_pic"; then
9103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9104 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9105 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9106   $as_echo_n "(cached) " >&6
9107 else
9108   lt_cv_prog_compiler_pic_works=no
9109    ac_outfile=conftest.$ac_objext
9110    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9111    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9112    # Insert the option either (1) after the last *FLAGS variable, or
9113    # (2) before a word containing "conftest.", or (3) at the end.
9114    # Note that $ac_compile itself does not contain backslashes and begins
9115    # with a dollar sign (not a hyphen), so the echo should work correctly.
9116    # The option is referenced via a variable to avoid confusing sed.
9117    lt_compile=`echo "$ac_compile" | $SED \
9118    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9119    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9120    -e 's:$: $lt_compiler_flag:'`
9121    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9122    (eval "$lt_compile" 2>conftest.err)
9123    ac_status=$?
9124    cat conftest.err >&5
9125    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126    if (exit $ac_status) && test -s "$ac_outfile"; then
9127      # The compiler can only warn and ignore the option if not recognized
9128      # So say no if there are warnings other than the usual output.
9129      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9130      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9131      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9132        lt_cv_prog_compiler_pic_works=yes
9133      fi
9134    fi
9135    $RM conftest*
9136
9137 fi
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9139 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9140
9141 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9142     case $lt_prog_compiler_pic in
9143      "" | " "*) ;;
9144      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9145      esac
9146 else
9147     lt_prog_compiler_pic=
9148      lt_prog_compiler_can_build_shared=no
9149 fi
9150
9151 fi
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163 #
9164 # Check to make sure the static flag actually works.
9165 #
9166 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9168 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9169 if ${lt_cv_prog_compiler_static_works+:} false; then :
9170   $as_echo_n "(cached) " >&6
9171 else
9172   lt_cv_prog_compiler_static_works=no
9173    save_LDFLAGS="$LDFLAGS"
9174    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9175    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9176    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9177      # The linker can only warn and ignore the option if not recognized
9178      # So say no if there are warnings
9179      if test -s conftest.err; then
9180        # Append any errors to the config.log.
9181        cat conftest.err 1>&5
9182        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9183        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184        if diff conftest.exp conftest.er2 >/dev/null; then
9185          lt_cv_prog_compiler_static_works=yes
9186        fi
9187      else
9188        lt_cv_prog_compiler_static_works=yes
9189      fi
9190    fi
9191    $RM -r conftest*
9192    LDFLAGS="$save_LDFLAGS"
9193
9194 fi
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9196 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9197
9198 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9199     :
9200 else
9201     lt_prog_compiler_static=
9202 fi
9203
9204
9205
9206
9207
9208
9209
9210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9211 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9212 if ${lt_cv_prog_compiler_c_o+:} false; then :
9213   $as_echo_n "(cached) " >&6
9214 else
9215   lt_cv_prog_compiler_c_o=no
9216    $RM -r conftest 2>/dev/null
9217    mkdir conftest
9218    cd conftest
9219    mkdir out
9220    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9221
9222    lt_compiler_flag="-o out/conftest2.$ac_objext"
9223    # Insert the option either (1) after the last *FLAGS variable, or
9224    # (2) before a word containing "conftest.", or (3) at the end.
9225    # Note that $ac_compile itself does not contain backslashes and begins
9226    # with a dollar sign (not a hyphen), so the echo should work correctly.
9227    lt_compile=`echo "$ac_compile" | $SED \
9228    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230    -e 's:$: $lt_compiler_flag:'`
9231    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9232    (eval "$lt_compile" 2>out/conftest.err)
9233    ac_status=$?
9234    cat out/conftest.err >&5
9235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9237    then
9238      # The compiler can only warn and ignore the option if not recognized
9239      # So say no if there are warnings
9240      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9241      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9242      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9243        lt_cv_prog_compiler_c_o=yes
9244      fi
9245    fi
9246    chmod u+w . 2>&5
9247    $RM conftest*
9248    # SGI C++ compiler will create directory out/ii_files/ for
9249    # template instantiation
9250    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9251    $RM out/* && rmdir out
9252    cd ..
9253    $RM -r conftest
9254    $RM conftest*
9255
9256 fi
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9258 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9259
9260
9261
9262
9263
9264
9265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9266 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9267 if ${lt_cv_prog_compiler_c_o+:} false; then :
9268   $as_echo_n "(cached) " >&6
9269 else
9270   lt_cv_prog_compiler_c_o=no
9271    $RM -r conftest 2>/dev/null
9272    mkdir conftest
9273    cd conftest
9274    mkdir out
9275    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9276
9277    lt_compiler_flag="-o out/conftest2.$ac_objext"
9278    # Insert the option either (1) after the last *FLAGS variable, or
9279    # (2) before a word containing "conftest.", or (3) at the end.
9280    # Note that $ac_compile itself does not contain backslashes and begins
9281    # with a dollar sign (not a hyphen), so the echo should work correctly.
9282    lt_compile=`echo "$ac_compile" | $SED \
9283    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9284    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9285    -e 's:$: $lt_compiler_flag:'`
9286    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9287    (eval "$lt_compile" 2>out/conftest.err)
9288    ac_status=$?
9289    cat out/conftest.err >&5
9290    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9292    then
9293      # The compiler can only warn and ignore the option if not recognized
9294      # So say no if there are warnings
9295      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9296      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9297      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9298        lt_cv_prog_compiler_c_o=yes
9299      fi
9300    fi
9301    chmod u+w . 2>&5
9302    $RM conftest*
9303    # SGI C++ compiler will create directory out/ii_files/ for
9304    # template instantiation
9305    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9306    $RM out/* && rmdir out
9307    cd ..
9308    $RM -r conftest
9309    $RM conftest*
9310
9311 fi
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9313 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9314
9315
9316
9317
9318 hard_links="nottested"
9319 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9320   # do not overwrite the value of need_locks provided by the user
9321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9322 $as_echo_n "checking if we can lock with hard links... " >&6; }
9323   hard_links=yes
9324   $RM conftest*
9325   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9326   touch conftest.a
9327   ln conftest.a conftest.b 2>&5 || hard_links=no
9328   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9330 $as_echo "$hard_links" >&6; }
9331   if test "$hard_links" = no; then
9332     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9333 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9334     need_locks=warn
9335   fi
9336 else
9337   need_locks=no
9338 fi
9339
9340
9341
9342
9343
9344
9345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9346 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9347
9348   runpath_var=
9349   allow_undefined_flag=
9350   always_export_symbols=no
9351   archive_cmds=
9352   archive_expsym_cmds=
9353   compiler_needs_object=no
9354   enable_shared_with_static_runtimes=no
9355   export_dynamic_flag_spec=
9356   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9357   hardcode_automatic=no
9358   hardcode_direct=no
9359   hardcode_direct_absolute=no
9360   hardcode_libdir_flag_spec=
9361   hardcode_libdir_separator=
9362   hardcode_minus_L=no
9363   hardcode_shlibpath_var=unsupported
9364   inherit_rpath=no
9365   link_all_deplibs=unknown
9366   module_cmds=
9367   module_expsym_cmds=
9368   old_archive_from_new_cmds=
9369   old_archive_from_expsyms_cmds=
9370   thread_safe_flag_spec=
9371   whole_archive_flag_spec=
9372   # include_expsyms should be a list of space-separated symbols to be *always*
9373   # included in the symbol list
9374   include_expsyms=
9375   # exclude_expsyms can be an extended regexp of symbols to exclude
9376   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9377   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9378   # as well as any symbol that contains `d'.
9379   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9380   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9381   # platforms (ab)use it in PIC code, but their linkers get confused if
9382   # the symbol is explicitly referenced.  Since portable code cannot
9383   # rely on this symbol name, it's probably fine to never include it in
9384   # preloaded symbol tables.
9385   # Exclude shared library initialization/finalization symbols.
9386   extract_expsyms_cmds=
9387
9388   case $host_os in
9389   cygwin* | mingw* | pw32* | cegcc*)
9390     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9391     # When not using gcc, we currently assume that we are using
9392     # Microsoft Visual C++.
9393     if test "$GCC" != yes; then
9394       with_gnu_ld=no
9395     fi
9396     ;;
9397   interix*)
9398     # we just hope/assume this is gcc and not c89 (= MSVC++)
9399     with_gnu_ld=yes
9400     ;;
9401   openbsd*)
9402     with_gnu_ld=no
9403     ;;
9404   linux* | k*bsd*-gnu | gnu*)
9405     link_all_deplibs=no
9406     ;;
9407   esac
9408
9409   ld_shlibs=yes
9410
9411   # On some targets, GNU ld is compatible enough with the native linker
9412   # that we're better off using the native interface for both.
9413   lt_use_gnu_ld_interface=no
9414   if test "$with_gnu_ld" = yes; then
9415     case $host_os in
9416       aix*)
9417         # The AIX port of GNU ld has always aspired to compatibility
9418         # with the native linker.  However, as the warning in the GNU ld
9419         # block says, versions before 2.19.5* couldn't really create working
9420         # shared libraries, regardless of the interface used.
9421         case `$LD -v 2>&1` in
9422           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9423           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9424           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9425           *)
9426             lt_use_gnu_ld_interface=yes
9427             ;;
9428         esac
9429         ;;
9430       *)
9431         lt_use_gnu_ld_interface=yes
9432         ;;
9433     esac
9434   fi
9435
9436   if test "$lt_use_gnu_ld_interface" = yes; then
9437     # If archive_cmds runs LD, not CC, wlarc should be empty
9438     wlarc='${wl}'
9439
9440     # Set some defaults for GNU ld with shared library support. These
9441     # are reset later if shared libraries are not supported. Putting them
9442     # here allows them to be overridden if necessary.
9443     runpath_var=LD_RUN_PATH
9444     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9445     export_dynamic_flag_spec='${wl}--export-dynamic'
9446     # ancient GNU ld didn't support --whole-archive et. al.
9447     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9448       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9449     else
9450       whole_archive_flag_spec=
9451     fi
9452     supports_anon_versioning=no
9453     case `$LD -v 2>&1` in
9454       *GNU\ gold*) supports_anon_versioning=yes ;;
9455       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9456       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9457       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9458       *\ 2.11.*) ;; # other 2.11 versions
9459       *) supports_anon_versioning=yes ;;
9460     esac
9461
9462     # See if GNU ld supports shared libraries.
9463     case $host_os in
9464     aix[3-9]*)
9465       # On AIX/PPC, the GNU linker is very broken
9466       if test "$host_cpu" != ia64; then
9467         ld_shlibs=no
9468         cat <<_LT_EOF 1>&2
9469
9470 *** Warning: the GNU linker, at least up to release 2.19, is reported
9471 *** to be unable to reliably create shared libraries on AIX.
9472 *** Therefore, libtool is disabling shared libraries support.  If you
9473 *** really care for shared libraries, you may want to install binutils
9474 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9475 *** You will then need to restart the configuration process.
9476
9477 _LT_EOF
9478       fi
9479       ;;
9480
9481     amigaos*)
9482       case $host_cpu in
9483       powerpc)
9484             # see comment about AmigaOS4 .so support
9485             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486             archive_expsym_cmds=''
9487         ;;
9488       m68k)
9489             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)'
9490             hardcode_libdir_flag_spec='-L$libdir'
9491             hardcode_minus_L=yes
9492         ;;
9493       esac
9494       ;;
9495
9496     beos*)
9497       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498         allow_undefined_flag=unsupported
9499         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9500         # support --undefined.  This deserves some investigation.  FIXME
9501         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9502       else
9503         ld_shlibs=no
9504       fi
9505       ;;
9506
9507     cygwin* | mingw* | pw32* | cegcc*)
9508       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9509       # as there is no search path for DLLs.
9510       hardcode_libdir_flag_spec='-L$libdir'
9511       export_dynamic_flag_spec='${wl}--export-all-symbols'
9512       allow_undefined_flag=unsupported
9513       always_export_symbols=no
9514       enable_shared_with_static_runtimes=yes
9515       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'
9516       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9517
9518       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9519         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9520         # If the export-symbols file already is a .def file (1st line
9521         # is EXPORTS), use it as is; otherwise, prepend...
9522         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9523           cp $export_symbols $output_objdir/$soname.def;
9524         else
9525           echo EXPORTS > $output_objdir/$soname.def;
9526           cat $export_symbols >> $output_objdir/$soname.def;
9527         fi~
9528         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9529       else
9530         ld_shlibs=no
9531       fi
9532       ;;
9533
9534     haiku*)
9535       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536       link_all_deplibs=yes
9537       ;;
9538
9539     interix[3-9]*)
9540       hardcode_direct=no
9541       hardcode_shlibpath_var=no
9542       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9543       export_dynamic_flag_spec='${wl}-E'
9544       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9545       # Instead, shared libraries are loaded at an image base (0x10000000 by
9546       # default) and relocated if they conflict, which is a slow very memory
9547       # consuming and fragmenting process.  To avoid this, we pick a random,
9548       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9549       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9550       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9551       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'
9552       ;;
9553
9554     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9555       tmp_diet=no
9556       if test "$host_os" = linux-dietlibc; then
9557         case $cc_basename in
9558           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9559         esac
9560       fi
9561       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9562          && test "$tmp_diet" = no
9563       then
9564         tmp_addflag=' $pic_flag'
9565         tmp_sharedflag='-shared'
9566         case $cc_basename,$host_cpu in
9567         pgcc*)                          # Portland Group C compiler
9568           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'
9569           tmp_addflag=' $pic_flag'
9570           ;;
9571         pgf77* | pgf90* | pgf95* | pgfortran*)
9572                                         # Portland Group f77 and f90 compilers
9573           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'
9574           tmp_addflag=' $pic_flag -Mnomain' ;;
9575         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9576           tmp_addflag=' -i_dynamic' ;;
9577         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9578           tmp_addflag=' -i_dynamic -nofor_main' ;;
9579         ifc* | ifort*)                  # Intel Fortran compiler
9580           tmp_addflag=' -nofor_main' ;;
9581         lf95*)                          # Lahey Fortran 8.1
9582           whole_archive_flag_spec=
9583           tmp_sharedflag='--shared' ;;
9584         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9585           tmp_sharedflag='-qmkshrobj'
9586           tmp_addflag= ;;
9587         nvcc*)  # Cuda Compiler Driver 2.2
9588           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'
9589           compiler_needs_object=yes
9590           ;;
9591         esac
9592         case `$CC -V 2>&1 | sed 5q` in
9593         *Sun\ C*)                       # Sun C 5.9
9594           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'
9595           compiler_needs_object=yes
9596           tmp_sharedflag='-G' ;;
9597         *Sun\ F*)                       # Sun Fortran 8.3
9598           tmp_sharedflag='-G' ;;
9599         esac
9600         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9601
9602         if test "x$supports_anon_versioning" = xyes; then
9603           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9604             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9605             echo "local: *; };" >> $output_objdir/$libname.ver~
9606             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9607         fi
9608
9609         case $cc_basename in
9610         xlf* | bgf* | bgxlf* | mpixlf*)
9611           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9612           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9613           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9614           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9615           if test "x$supports_anon_versioning" = xyes; then
9616             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9617               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9618               echo "local: *; };" >> $output_objdir/$libname.ver~
9619               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9620           fi
9621           ;;
9622         esac
9623       else
9624         ld_shlibs=no
9625       fi
9626       ;;
9627
9628     netbsd* | netbsdelf*-gnu)
9629       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9630         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9631         wlarc=
9632       else
9633         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9635       fi
9636       ;;
9637
9638     solaris*)
9639       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9640         ld_shlibs=no
9641         cat <<_LT_EOF 1>&2
9642
9643 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9644 *** create shared libraries on Solaris systems.  Therefore, libtool
9645 *** is disabling shared libraries support.  We urge you to upgrade GNU
9646 *** binutils to release 2.9.1 or newer.  Another option is to modify
9647 *** your PATH or compiler configuration so that the native linker is
9648 *** used, and then restart.
9649
9650 _LT_EOF
9651       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9652         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9654       else
9655         ld_shlibs=no
9656       fi
9657       ;;
9658
9659     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9660       case `$LD -v 2>&1` in
9661         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9662         ld_shlibs=no
9663         cat <<_LT_EOF 1>&2
9664
9665 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9666 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9667 *** is disabling shared libraries support.  We urge you to upgrade GNU
9668 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9669 *** your PATH or compiler configuration so that the native linker is
9670 *** used, and then restart.
9671
9672 _LT_EOF
9673         ;;
9674         *)
9675           # For security reasons, it is highly recommended that you always
9676           # use absolute paths for naming shared libraries, and exclude the
9677           # DT_RUNPATH tag from executables and libraries.  But doing so
9678           # requires that you compile everything twice, which is a pain.
9679           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9681             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683           else
9684             ld_shlibs=no
9685           fi
9686         ;;
9687       esac
9688       ;;
9689
9690     sunos4*)
9691       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9692       wlarc=
9693       hardcode_direct=yes
9694       hardcode_shlibpath_var=no
9695       ;;
9696
9697     *)
9698       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9699         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9700         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9701       else
9702         ld_shlibs=no
9703       fi
9704       ;;
9705     esac
9706
9707     if test "$ld_shlibs" = no; then
9708       runpath_var=
9709       hardcode_libdir_flag_spec=
9710       export_dynamic_flag_spec=
9711       whole_archive_flag_spec=
9712     fi
9713   else
9714     # PORTME fill in a description of your system's linker (not GNU ld)
9715     case $host_os in
9716     aix3*)
9717       allow_undefined_flag=unsupported
9718       always_export_symbols=yes
9719       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'
9720       # Note: this linker hardcodes the directories in LIBPATH if there
9721       # are no directories specified by -L.
9722       hardcode_minus_L=yes
9723       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9724         # Neither direct hardcoding nor static linking is supported with a
9725         # broken collect2.
9726         hardcode_direct=unsupported
9727       fi
9728       ;;
9729
9730     aix[4-9]*)
9731       if test "$host_cpu" = ia64; then
9732         # On IA64, the linker does run time linking by default, so we don't
9733         # have to do anything special.
9734         aix_use_runtimelinking=no
9735         exp_sym_flag='-Bexport'
9736         no_entry_flag=""
9737       else
9738         # If we're using GNU nm, then we don't want the "-C" option.
9739         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9740         # Also, AIX nm treats weak defined symbols like other global
9741         # defined symbols, whereas GNU nm marks them as "W".
9742         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9743           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'
9744         else
9745           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'
9746         fi
9747         aix_use_runtimelinking=no
9748
9749         # Test if we are trying to use run time linking or normal
9750         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9751         # need to do runtime linking.
9752         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9753           for ld_flag in $LDFLAGS; do
9754           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9755             aix_use_runtimelinking=yes
9756             break
9757           fi
9758           done
9759           ;;
9760         esac
9761
9762         exp_sym_flag='-bexport'
9763         no_entry_flag='-bnoentry'
9764       fi
9765
9766       # When large executables or shared objects are built, AIX ld can
9767       # have problems creating the table of contents.  If linking a library
9768       # or program results in "error TOC overflow" add -mminimal-toc to
9769       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9770       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9771
9772       archive_cmds=''
9773       hardcode_direct=yes
9774       hardcode_direct_absolute=yes
9775       hardcode_libdir_separator=':'
9776       link_all_deplibs=yes
9777       file_list_spec='${wl}-f,'
9778
9779       if test "$GCC" = yes; then
9780         case $host_os in aix4.[012]|aix4.[012].*)
9781         # We only want to do this on AIX 4.2 and lower, the check
9782         # below for broken collect2 doesn't work under 4.3+
9783           collect2name=`${CC} -print-prog-name=collect2`
9784           if test -f "$collect2name" &&
9785            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9786           then
9787           # We have reworked collect2
9788           :
9789           else
9790           # We have old collect2
9791           hardcode_direct=unsupported
9792           # It fails to find uninstalled libraries when the uninstalled
9793           # path is not listed in the libpath.  Setting hardcode_minus_L
9794           # to unsupported forces relinking
9795           hardcode_minus_L=yes
9796           hardcode_libdir_flag_spec='-L$libdir'
9797           hardcode_libdir_separator=
9798           fi
9799           ;;
9800         esac
9801         shared_flag='-shared'
9802         if test "$aix_use_runtimelinking" = yes; then
9803           shared_flag="$shared_flag "'${wl}-G'
9804         fi
9805         link_all_deplibs=no
9806       else
9807         # not using gcc
9808         if test "$host_cpu" = ia64; then
9809         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9810         # chokes on -Wl,-G. The following line is correct:
9811           shared_flag='-G'
9812         else
9813           if test "$aix_use_runtimelinking" = yes; then
9814             shared_flag='${wl}-G'
9815           else
9816             shared_flag='${wl}-bM:SRE'
9817           fi
9818         fi
9819       fi
9820
9821       export_dynamic_flag_spec='${wl}-bexpall'
9822       # It seems that -bexpall does not export symbols beginning with
9823       # underscore (_), so it is better to generate a list of symbols to export.
9824       always_export_symbols=yes
9825       if test "$aix_use_runtimelinking" = yes; then
9826         # Warning - without using the other runtime loading flags (-brtl),
9827         # -berok will link without error, but may produce a broken library.
9828         allow_undefined_flag='-berok'
9829         # Determine the default libpath from the value encoded in an
9830         # empty executable.
9831         if test "${lt_cv_aix_libpath+set}" = set; then
9832   aix_libpath=$lt_cv_aix_libpath
9833 else
9834   if ${lt_cv_aix_libpath_+:} false; then :
9835   $as_echo_n "(cached) " >&6
9836 else
9837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h.  */
9839
9840 int
9841 main ()
9842 {
9843
9844   ;
9845   return 0;
9846 }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849
9850   lt_aix_libpath_sed='
9851       /Import File Strings/,/^$/ {
9852           /^0/ {
9853               s/^0  *\([^ ]*\) *$/\1/
9854               p
9855           }
9856       }'
9857   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9858   # Check for a 64-bit object if we didn't find anything.
9859   if test -z "$lt_cv_aix_libpath_"; then
9860     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9861   fi
9862 fi
9863 rm -f core conftest.err conftest.$ac_objext \
9864     conftest$ac_exeext conftest.$ac_ext
9865   if test -z "$lt_cv_aix_libpath_"; then
9866     lt_cv_aix_libpath_="/usr/lib:/lib"
9867   fi
9868
9869 fi
9870
9871   aix_libpath=$lt_cv_aix_libpath_
9872 fi
9873
9874         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9875         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"
9876       else
9877         if test "$host_cpu" = ia64; then
9878           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9879           allow_undefined_flag="-z nodefs"
9880           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"
9881         else
9882          # Determine the default libpath from the value encoded in an
9883          # empty executable.
9884          if test "${lt_cv_aix_libpath+set}" = set; then
9885   aix_libpath=$lt_cv_aix_libpath
9886 else
9887   if ${lt_cv_aix_libpath_+:} false; then :
9888   $as_echo_n "(cached) " >&6
9889 else
9890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h.  */
9892
9893 int
9894 main ()
9895 {
9896
9897   ;
9898   return 0;
9899 }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902
9903   lt_aix_libpath_sed='
9904       /Import File Strings/,/^$/ {
9905           /^0/ {
9906               s/^0  *\([^ ]*\) *$/\1/
9907               p
9908           }
9909       }'
9910   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9911   # Check for a 64-bit object if we didn't find anything.
9912   if test -z "$lt_cv_aix_libpath_"; then
9913     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9914   fi
9915 fi
9916 rm -f core conftest.err conftest.$ac_objext \
9917     conftest$ac_exeext conftest.$ac_ext
9918   if test -z "$lt_cv_aix_libpath_"; then
9919     lt_cv_aix_libpath_="/usr/lib:/lib"
9920   fi
9921
9922 fi
9923
9924   aix_libpath=$lt_cv_aix_libpath_
9925 fi
9926
9927          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9928           # Warning - without using the other run time loading flags,
9929           # -berok will link without error, but may produce a broken library.
9930           no_undefined_flag=' ${wl}-bernotok'
9931           allow_undefined_flag=' ${wl}-berok'
9932           if test "$with_gnu_ld" = yes; then
9933             # We only use this code for GNU lds that support --whole-archive.
9934             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9935           else
9936             # Exported symbols can be pulled into shared objects from archives
9937             whole_archive_flag_spec='$convenience'
9938           fi
9939           archive_cmds_need_lc=yes
9940           # This is similar to how AIX traditionally builds its shared libraries.
9941           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'
9942         fi
9943       fi
9944       ;;
9945
9946     amigaos*)
9947       case $host_cpu in
9948       powerpc)
9949             # see comment about AmigaOS4 .so support
9950             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951             archive_expsym_cmds=''
9952         ;;
9953       m68k)
9954             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)'
9955             hardcode_libdir_flag_spec='-L$libdir'
9956             hardcode_minus_L=yes
9957         ;;
9958       esac
9959       ;;
9960
9961     bsdi[45]*)
9962       export_dynamic_flag_spec=-rdynamic
9963       ;;
9964
9965     cygwin* | mingw* | pw32* | cegcc*)
9966       # When not using gcc, we currently assume that we are using
9967       # Microsoft Visual C++.
9968       # hardcode_libdir_flag_spec is actually meaningless, as there is
9969       # no search path for DLLs.
9970       case $cc_basename in
9971       cl*)
9972         # Native MSVC
9973         hardcode_libdir_flag_spec=' '
9974         allow_undefined_flag=unsupported
9975         always_export_symbols=yes
9976         file_list_spec='@'
9977         # Tell ltmain to make .lib files, not .a files.
9978         libext=lib
9979         # Tell ltmain to make .dll files, not .so files.
9980         shrext_cmds=".dll"
9981         # FIXME: Setting linknames here is a bad hack.
9982         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9983         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9984             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9985           else
9986             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9987           fi~
9988           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9989           linknames='
9990         # The linker will not automatically build a static lib if we build a DLL.
9991         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9992         enable_shared_with_static_runtimes=yes
9993         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9994         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9995         # Don't use ranlib
9996         old_postinstall_cmds='chmod 644 $oldlib'
9997         postlink_cmds='lt_outputfile="@OUTPUT@"~
9998           lt_tool_outputfile="@TOOL_OUTPUT@"~
9999           case $lt_outputfile in
10000             *.exe|*.EXE) ;;
10001             *)
10002               lt_outputfile="$lt_outputfile.exe"
10003               lt_tool_outputfile="$lt_tool_outputfile.exe"
10004               ;;
10005           esac~
10006           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10007             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10008             $RM "$lt_outputfile.manifest";
10009           fi'
10010         ;;
10011       *)
10012         # Assume MSVC wrapper
10013         hardcode_libdir_flag_spec=' '
10014         allow_undefined_flag=unsupported
10015         # Tell ltmain to make .lib files, not .a files.
10016         libext=lib
10017         # Tell ltmain to make .dll files, not .so files.
10018         shrext_cmds=".dll"
10019         # FIXME: Setting linknames here is a bad hack.
10020         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10021         # The linker will automatically build a .lib file if we build a DLL.
10022         old_archive_from_new_cmds='true'
10023         # FIXME: Should let the user specify the lib program.
10024         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10025         enable_shared_with_static_runtimes=yes
10026         ;;
10027       esac
10028       ;;
10029
10030     darwin* | rhapsody*)
10031
10032
10033   archive_cmds_need_lc=no
10034   hardcode_direct=no
10035   hardcode_automatic=yes
10036   hardcode_shlibpath_var=unsupported
10037   if test "$lt_cv_ld_force_load" = "yes"; then
10038     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\"`'
10039
10040   else
10041     whole_archive_flag_spec=''
10042   fi
10043   link_all_deplibs=yes
10044   allow_undefined_flag="$_lt_dar_allow_undefined"
10045   case $cc_basename in
10046      ifort*) _lt_dar_can_shared=yes ;;
10047      *) _lt_dar_can_shared=$GCC ;;
10048   esac
10049   if test "$_lt_dar_can_shared" = "yes"; then
10050     output_verbose_link_cmd=func_echo_all
10051     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10052     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10053     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}"
10054     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}"
10055
10056   else
10057   ld_shlibs=no
10058   fi
10059
10060       ;;
10061
10062     dgux*)
10063       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064       hardcode_libdir_flag_spec='-L$libdir'
10065       hardcode_shlibpath_var=no
10066       ;;
10067
10068     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10069     # support.  Future versions do this automatically, but an explicit c++rt0.o
10070     # does not break anything, and helps significantly (at the cost of a little
10071     # extra space).
10072     freebsd2.2*)
10073       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10074       hardcode_libdir_flag_spec='-R$libdir'
10075       hardcode_direct=yes
10076       hardcode_shlibpath_var=no
10077       ;;
10078
10079     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10080     freebsd2.*)
10081       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10082       hardcode_direct=yes
10083       hardcode_minus_L=yes
10084       hardcode_shlibpath_var=no
10085       ;;
10086
10087     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10088     freebsd* | dragonfly*)
10089       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10090       hardcode_libdir_flag_spec='-R$libdir'
10091       hardcode_direct=yes
10092       hardcode_shlibpath_var=no
10093       ;;
10094
10095     hpux9*)
10096       if test "$GCC" = yes; then
10097         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'
10098       else
10099         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'
10100       fi
10101       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10102       hardcode_libdir_separator=:
10103       hardcode_direct=yes
10104
10105       # hardcode_minus_L: Not really in the search PATH,
10106       # but as the default location of the library.
10107       hardcode_minus_L=yes
10108       export_dynamic_flag_spec='${wl}-E'
10109       ;;
10110
10111     hpux10*)
10112       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10113         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10114       else
10115         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10116       fi
10117       if test "$with_gnu_ld" = no; then
10118         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10119         hardcode_libdir_separator=:
10120         hardcode_direct=yes
10121         hardcode_direct_absolute=yes
10122         export_dynamic_flag_spec='${wl}-E'
10123         # hardcode_minus_L: Not really in the search PATH,
10124         # but as the default location of the library.
10125         hardcode_minus_L=yes
10126       fi
10127       ;;
10128
10129     hpux11*)
10130       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10131         case $host_cpu in
10132         hppa*64*)
10133           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10134           ;;
10135         ia64*)
10136           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10137           ;;
10138         *)
10139           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10140           ;;
10141         esac
10142       else
10143         case $host_cpu in
10144         hppa*64*)
10145           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10146           ;;
10147         ia64*)
10148           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10149           ;;
10150         *)
10151
10152           # Older versions of the 11.00 compiler do not understand -b yet
10153           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10154           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10155 $as_echo_n "checking if $CC understands -b... " >&6; }
10156 if ${lt_cv_prog_compiler__b+:} false; then :
10157   $as_echo_n "(cached) " >&6
10158 else
10159   lt_cv_prog_compiler__b=no
10160    save_LDFLAGS="$LDFLAGS"
10161    LDFLAGS="$LDFLAGS -b"
10162    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10163    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10164      # The linker can only warn and ignore the option if not recognized
10165      # So say no if there are warnings
10166      if test -s conftest.err; then
10167        # Append any errors to the config.log.
10168        cat conftest.err 1>&5
10169        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10170        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10171        if diff conftest.exp conftest.er2 >/dev/null; then
10172          lt_cv_prog_compiler__b=yes
10173        fi
10174      else
10175        lt_cv_prog_compiler__b=yes
10176      fi
10177    fi
10178    $RM -r conftest*
10179    LDFLAGS="$save_LDFLAGS"
10180
10181 fi
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10183 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10184
10185 if test x"$lt_cv_prog_compiler__b" = xyes; then
10186     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10187 else
10188     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10189 fi
10190
10191           ;;
10192         esac
10193       fi
10194       if test "$with_gnu_ld" = no; then
10195         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10196         hardcode_libdir_separator=:
10197
10198         case $host_cpu in
10199         hppa*64*|ia64*)
10200           hardcode_direct=no
10201           hardcode_shlibpath_var=no
10202           ;;
10203         *)
10204           hardcode_direct=yes
10205           hardcode_direct_absolute=yes
10206           export_dynamic_flag_spec='${wl}-E'
10207
10208           # hardcode_minus_L: Not really in the search PATH,
10209           # but as the default location of the library.
10210           hardcode_minus_L=yes
10211           ;;
10212         esac
10213       fi
10214       ;;
10215
10216     irix5* | irix6* | nonstopux*)
10217       if test "$GCC" = yes; then
10218         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'
10219         # Try to use the -exported_symbol ld option, if it does not
10220         # work, assume that -exports_file does not work either and
10221         # implicitly export all symbols.
10222         # This should be the same for all languages, so no per-tag cache variable.
10223         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10224 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10225 if ${lt_cv_irix_exported_symbol+:} false; then :
10226   $as_echo_n "(cached) " >&6
10227 else
10228   save_LDFLAGS="$LDFLAGS"
10229            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10230            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h.  */
10232 int foo (void) { return 0; }
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235   lt_cv_irix_exported_symbol=yes
10236 else
10237   lt_cv_irix_exported_symbol=no
10238 fi
10239 rm -f core conftest.err conftest.$ac_objext \
10240     conftest$ac_exeext conftest.$ac_ext
10241            LDFLAGS="$save_LDFLAGS"
10242 fi
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10244 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10245         if test "$lt_cv_irix_exported_symbol" = yes; then
10246           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'
10247         fi
10248       else
10249         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'
10250         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'
10251       fi
10252       archive_cmds_need_lc='no'
10253       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10254       hardcode_libdir_separator=:
10255       inherit_rpath=yes
10256       link_all_deplibs=yes
10257       ;;
10258
10259     netbsd* | netbsdelf*-gnu)
10260       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10261         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10262       else
10263         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10264       fi
10265       hardcode_libdir_flag_spec='-R$libdir'
10266       hardcode_direct=yes
10267       hardcode_shlibpath_var=no
10268       ;;
10269
10270     newsos6)
10271       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10272       hardcode_direct=yes
10273       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10274       hardcode_libdir_separator=:
10275       hardcode_shlibpath_var=no
10276       ;;
10277
10278     *nto* | *qnx*)
10279       ;;
10280
10281     openbsd*)
10282       if test -f /usr/libexec/ld.so; then
10283         hardcode_direct=yes
10284         hardcode_shlibpath_var=no
10285         hardcode_direct_absolute=yes
10286         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10287           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10288           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10289           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10290           export_dynamic_flag_spec='${wl}-E'
10291         else
10292           case $host_os in
10293            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10294              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10295              hardcode_libdir_flag_spec='-R$libdir'
10296              ;;
10297            *)
10298              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10299              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10300              ;;
10301           esac
10302         fi
10303       else
10304         ld_shlibs=no
10305       fi
10306       ;;
10307
10308     os2*)
10309       hardcode_libdir_flag_spec='-L$libdir'
10310       hardcode_minus_L=yes
10311       allow_undefined_flag=unsupported
10312       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'
10313       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10314       ;;
10315
10316     osf3*)
10317       if test "$GCC" = yes; then
10318         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10319         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'
10320       else
10321         allow_undefined_flag=' -expect_unresolved \*'
10322         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'
10323       fi
10324       archive_cmds_need_lc='no'
10325       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10326       hardcode_libdir_separator=:
10327       ;;
10328
10329     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10330       if test "$GCC" = yes; then
10331         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10332         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'
10333         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10334       else
10335         allow_undefined_flag=' -expect_unresolved \*'
10336         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'
10337         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~
10338         $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'
10339
10340         # Both c and cxx compiler support -rpath directly
10341         hardcode_libdir_flag_spec='-rpath $libdir'
10342       fi
10343       archive_cmds_need_lc='no'
10344       hardcode_libdir_separator=:
10345       ;;
10346
10347     solaris*)
10348       no_undefined_flag=' -z defs'
10349       if test "$GCC" = yes; then
10350         wlarc='${wl}'
10351         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10352         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10353           $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'
10354       else
10355         case `$CC -V 2>&1` in
10356         *"Compilers 5.0"*)
10357           wlarc=''
10358           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10359           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10360           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10361           ;;
10362         *)
10363           wlarc='${wl}'
10364           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10365           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10366           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10367           ;;
10368         esac
10369       fi
10370       hardcode_libdir_flag_spec='-R$libdir'
10371       hardcode_shlibpath_var=no
10372       case $host_os in
10373       solaris2.[0-5] | solaris2.[0-5].*) ;;
10374       *)
10375         # The compiler driver will combine and reorder linker options,
10376         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10377         # but is careful enough not to reorder.
10378         # Supported since Solaris 2.6 (maybe 2.5.1?)
10379         if test "$GCC" = yes; then
10380           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10381         else
10382           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10383         fi
10384         ;;
10385       esac
10386       link_all_deplibs=yes
10387       ;;
10388
10389     sunos4*)
10390       if test "x$host_vendor" = xsequent; then
10391         # Use $CC to link under sequent, because it throws in some extra .o
10392         # files that make .init and .fini sections work.
10393         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10394       else
10395         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10396       fi
10397       hardcode_libdir_flag_spec='-L$libdir'
10398       hardcode_direct=yes
10399       hardcode_minus_L=yes
10400       hardcode_shlibpath_var=no
10401       ;;
10402
10403     sysv4)
10404       case $host_vendor in
10405         sni)
10406           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407           hardcode_direct=yes # is this really true???
10408         ;;
10409         siemens)
10410           ## LD is ld it makes a PLAMLIB
10411           ## CC just makes a GrossModule.
10412           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10413           reload_cmds='$CC -r -o $output$reload_objs'
10414           hardcode_direct=no
10415         ;;
10416         motorola)
10417           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10418           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10419         ;;
10420       esac
10421       runpath_var='LD_RUN_PATH'
10422       hardcode_shlibpath_var=no
10423       ;;
10424
10425     sysv4.3*)
10426       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10427       hardcode_shlibpath_var=no
10428       export_dynamic_flag_spec='-Bexport'
10429       ;;
10430
10431     sysv4*MP*)
10432       if test -d /usr/nec; then
10433         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10434         hardcode_shlibpath_var=no
10435         runpath_var=LD_RUN_PATH
10436         hardcode_runpath_var=yes
10437         ld_shlibs=yes
10438       fi
10439       ;;
10440
10441     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10442       no_undefined_flag='${wl}-z,text'
10443       archive_cmds_need_lc=no
10444       hardcode_shlibpath_var=no
10445       runpath_var='LD_RUN_PATH'
10446
10447       if test "$GCC" = yes; then
10448         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10450       else
10451         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10452         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10453       fi
10454       ;;
10455
10456     sysv5* | sco3.2v5* | sco5v6*)
10457       # Note: We can NOT use -z defs as we might desire, because we do not
10458       # link with -lc, and that would cause any symbols used from libc to
10459       # always be unresolved, which means just about no library would
10460       # ever link correctly.  If we're not using GNU ld we use -z text
10461       # though, which does catch some bad symbols but isn't as heavy-handed
10462       # as -z defs.
10463       no_undefined_flag='${wl}-z,text'
10464       allow_undefined_flag='${wl}-z,nodefs'
10465       archive_cmds_need_lc=no
10466       hardcode_shlibpath_var=no
10467       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10468       hardcode_libdir_separator=':'
10469       link_all_deplibs=yes
10470       export_dynamic_flag_spec='${wl}-Bexport'
10471       runpath_var='LD_RUN_PATH'
10472
10473       if test "$GCC" = yes; then
10474         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10476       else
10477         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10479       fi
10480       ;;
10481
10482     uts4*)
10483       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10484       hardcode_libdir_flag_spec='-L$libdir'
10485       hardcode_shlibpath_var=no
10486       ;;
10487
10488     *)
10489       ld_shlibs=no
10490       ;;
10491     esac
10492
10493     if test x$host_vendor = xsni; then
10494       case $host in
10495       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10496         export_dynamic_flag_spec='${wl}-Blargedynsym'
10497         ;;
10498       esac
10499     fi
10500   fi
10501
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10503 $as_echo "$ld_shlibs" >&6; }
10504 test "$ld_shlibs" = no && can_build_shared=no
10505
10506 with_gnu_ld=$with_gnu_ld
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522 #
10523 # Do we need to explicitly link libc?
10524 #
10525 case "x$archive_cmds_need_lc" in
10526 x|xyes)
10527   # Assume -lc should be added
10528   archive_cmds_need_lc=yes
10529
10530   if test "$enable_shared" = yes && test "$GCC" = yes; then
10531     case $archive_cmds in
10532     *'~'*)
10533       # FIXME: we may have to deal with multi-command sequences.
10534       ;;
10535     '$CC '*)
10536       # Test whether the compiler implicitly links with -lc since on some
10537       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10538       # to ld, don't add -lc before -lgcc.
10539       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10540 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10541 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10542   $as_echo_n "(cached) " >&6
10543 else
10544   $RM conftest*
10545         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10546
10547         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10548   (eval $ac_compile) 2>&5
10549   ac_status=$?
10550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10551   test $ac_status = 0; } 2>conftest.err; then
10552           soname=conftest
10553           lib=conftest
10554           libobjs=conftest.$ac_objext
10555           deplibs=
10556           wl=$lt_prog_compiler_wl
10557           pic_flag=$lt_prog_compiler_pic
10558           compiler_flags=-v
10559           linker_flags=-v
10560           verstring=
10561           output_objdir=.
10562           libname=conftest
10563           lt_save_allow_undefined_flag=$allow_undefined_flag
10564           allow_undefined_flag=
10565           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10566   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10567   ac_status=$?
10568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10569   test $ac_status = 0; }
10570           then
10571             lt_cv_archive_cmds_need_lc=no
10572           else
10573             lt_cv_archive_cmds_need_lc=yes
10574           fi
10575           allow_undefined_flag=$lt_save_allow_undefined_flag
10576         else
10577           cat conftest.err 1>&5
10578         fi
10579         $RM conftest*
10580
10581 fi
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10583 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10584       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10585       ;;
10586     esac
10587   fi
10588   ;;
10589 esac
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10743 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10744
10745 if test "$GCC" = yes; then
10746   case $host_os in
10747     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10748     *) lt_awk_arg="/^libraries:/" ;;
10749   esac
10750   case $host_os in
10751     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10752     *) lt_sed_strip_eq="s,=/,/,g" ;;
10753   esac
10754   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10755   case $lt_search_path_spec in
10756   *\;*)
10757     # if the path contains ";" then we assume it to be the separator
10758     # otherwise default to the standard path separator (i.e. ":") - it is
10759     # assumed that no part of a normal pathname contains ";" but that should
10760     # okay in the real world where ";" in dirpaths is itself problematic.
10761     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10762     ;;
10763   *)
10764     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10765     ;;
10766   esac
10767   # Ok, now we have the path, separated by spaces, we can step through it
10768   # and add multilib dir if necessary.
10769   lt_tmp_lt_search_path_spec=
10770   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10771   for lt_sys_path in $lt_search_path_spec; do
10772     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10773       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10774     else
10775       test -d "$lt_sys_path" && \
10776         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10777     fi
10778   done
10779   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10780 BEGIN {RS=" "; FS="/|\n";} {
10781   lt_foo="";
10782   lt_count=0;
10783   for (lt_i = NF; lt_i > 0; lt_i--) {
10784     if ($lt_i != "" && $lt_i != ".") {
10785       if ($lt_i == "..") {
10786         lt_count++;
10787       } else {
10788         if (lt_count == 0) {
10789           lt_foo="/" $lt_i lt_foo;
10790         } else {
10791           lt_count--;
10792         }
10793       }
10794     }
10795   }
10796   if (lt_foo != "") { lt_freq[lt_foo]++; }
10797   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10798 }'`
10799   # AWK program above erroneously prepends '/' to C:/dos/paths
10800   # for these hosts.
10801   case $host_os in
10802     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10803       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10804   esac
10805   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10806 else
10807   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10808 fi
10809 library_names_spec=
10810 libname_spec='lib$name'
10811 soname_spec=
10812 shrext_cmds=".so"
10813 postinstall_cmds=
10814 postuninstall_cmds=
10815 finish_cmds=
10816 finish_eval=
10817 shlibpath_var=
10818 shlibpath_overrides_runpath=unknown
10819 version_type=none
10820 dynamic_linker="$host_os ld.so"
10821 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10822 need_lib_prefix=unknown
10823 hardcode_into_libs=no
10824
10825 # when you set need_version to no, make sure it does not cause -set_version
10826 # flags to be left without arguments
10827 need_version=unknown
10828
10829 case $host_os in
10830 aix3*)
10831   version_type=linux # correct to gnu/linux during the next big refactor
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10833   shlibpath_var=LIBPATH
10834
10835   # AIX 3 has no versioning support, so we append a major version to the name.
10836   soname_spec='${libname}${release}${shared_ext}$major'
10837   ;;
10838
10839 aix[4-9]*)
10840   version_type=linux # correct to gnu/linux during the next big refactor
10841   need_lib_prefix=no
10842   need_version=no
10843   hardcode_into_libs=yes
10844   if test "$host_cpu" = ia64; then
10845     # AIX 5 supports IA64
10846     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10847     shlibpath_var=LD_LIBRARY_PATH
10848   else
10849     # With GCC up to 2.95.x, collect2 would create an import file
10850     # for dependence libraries.  The import file would start with
10851     # the line `#! .'.  This would cause the generated library to
10852     # depend on `.', always an invalid library.  This was fixed in
10853     # development snapshots of GCC prior to 3.0.
10854     case $host_os in
10855       aix4 | aix4.[01] | aix4.[01].*)
10856       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10857            echo ' yes '
10858            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10859         :
10860       else
10861         can_build_shared=no
10862       fi
10863       ;;
10864     esac
10865     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10866     # soname into executable. Probably we can add versioning support to
10867     # collect2, so additional links can be useful in future.
10868     if test "$aix_use_runtimelinking" = yes; then
10869       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10870       # instead of lib<name>.a to let people know that these are not
10871       # typical AIX shared libraries.
10872       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873     else
10874       # We preserve .a as extension for shared libraries through AIX4.2
10875       # and later when we are not doing run time linking.
10876       library_names_spec='${libname}${release}.a $libname.a'
10877       soname_spec='${libname}${release}${shared_ext}$major'
10878     fi
10879     shlibpath_var=LIBPATH
10880   fi
10881   ;;
10882
10883 amigaos*)
10884   case $host_cpu in
10885   powerpc)
10886     # Since July 2007 AmigaOS4 officially supports .so libraries.
10887     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10888     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889     ;;
10890   m68k)
10891     library_names_spec='$libname.ixlibrary $libname.a'
10892     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10893     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'
10894     ;;
10895   esac
10896   ;;
10897
10898 beos*)
10899   library_names_spec='${libname}${shared_ext}'
10900   dynamic_linker="$host_os ld.so"
10901   shlibpath_var=LIBRARY_PATH
10902   ;;
10903
10904 bsdi[45]*)
10905   version_type=linux # correct to gnu/linux during the next big refactor
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   soname_spec='${libname}${release}${shared_ext}$major'
10909   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10912   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10913   # the default ld.so.conf also contains /usr/contrib/lib and
10914   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10915   # libtool to hard-code these into programs
10916   ;;
10917
10918 cygwin* | mingw* | pw32* | cegcc*)
10919   version_type=windows
10920   shrext_cmds=".dll"
10921   need_version=no
10922   need_lib_prefix=no
10923
10924   case $GCC,$cc_basename in
10925   yes,*)
10926     # gcc
10927     library_names_spec='$libname.dll.a'
10928     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10929     postinstall_cmds='base_file=`basename \${file}`~
10930       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10931       dldir=$destdir/`dirname \$dlpath`~
10932       test -d \$dldir || mkdir -p \$dldir~
10933       $install_prog $dir/$dlname \$dldir/$dlname~
10934       chmod a+x \$dldir/$dlname~
10935       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10936         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10937       fi'
10938     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10939       dlpath=$dir/\$dldll~
10940        $RM \$dlpath'
10941     shlibpath_overrides_runpath=yes
10942
10943     case $host_os in
10944     cygwin*)
10945       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10946       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10947
10948       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10949       ;;
10950     mingw* | cegcc*)
10951       # MinGW DLLs use traditional 'lib' prefix
10952       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10953       ;;
10954     pw32*)
10955       # pw32 DLLs use 'pw' prefix rather than 'lib'
10956       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10957       ;;
10958     esac
10959     dynamic_linker='Win32 ld.exe'
10960     ;;
10961
10962   *,cl*)
10963     # Native MSVC
10964     libname_spec='$name'
10965     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10966     library_names_spec='${libname}.dll.lib'
10967
10968     case $build_os in
10969     mingw*)
10970       sys_lib_search_path_spec=
10971       lt_save_ifs=$IFS
10972       IFS=';'
10973       for lt_path in $LIB
10974       do
10975         IFS=$lt_save_ifs
10976         # Let DOS variable expansion print the short 8.3 style file name.
10977         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10978         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10979       done
10980       IFS=$lt_save_ifs
10981       # Convert to MSYS style.
10982       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10983       ;;
10984     cygwin*)
10985       # Convert to unix form, then to dos form, then back to unix form
10986       # but this time dos style (no spaces!) so that the unix form looks
10987       # like /cygdrive/c/PROGRA~1:/cygdr...
10988       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10989       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10990       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10991       ;;
10992     *)
10993       sys_lib_search_path_spec="$LIB"
10994       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10995         # It is most probably a Windows format PATH.
10996         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10997       else
10998         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10999       fi
11000       # FIXME: find the short name or the path components, as spaces are
11001       # common. (e.g. "Program Files" -> "PROGRA~1")
11002       ;;
11003     esac
11004
11005     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11006     postinstall_cmds='base_file=`basename \${file}`~
11007       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11008       dldir=$destdir/`dirname \$dlpath`~
11009       test -d \$dldir || mkdir -p \$dldir~
11010       $install_prog $dir/$dlname \$dldir/$dlname'
11011     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11012       dlpath=$dir/\$dldll~
11013        $RM \$dlpath'
11014     shlibpath_overrides_runpath=yes
11015     dynamic_linker='Win32 link.exe'
11016     ;;
11017
11018   *)
11019     # Assume MSVC wrapper
11020     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11021     dynamic_linker='Win32 ld.exe'
11022     ;;
11023   esac
11024   # FIXME: first we should search . and the directory the executable is in
11025   shlibpath_var=PATH
11026   ;;
11027
11028 darwin* | rhapsody*)
11029   dynamic_linker="$host_os dyld"
11030   version_type=darwin
11031   need_lib_prefix=no
11032   need_version=no
11033   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11034   soname_spec='${libname}${release}${major}$shared_ext'
11035   shlibpath_overrides_runpath=yes
11036   shlibpath_var=DYLD_LIBRARY_PATH
11037   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11038
11039   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11040   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11041   ;;
11042
11043 dgux*)
11044   version_type=linux # correct to gnu/linux during the next big refactor
11045   need_lib_prefix=no
11046   need_version=no
11047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11048   soname_spec='${libname}${release}${shared_ext}$major'
11049   shlibpath_var=LD_LIBRARY_PATH
11050   ;;
11051
11052 freebsd* | dragonfly*)
11053   # DragonFly does not have aout.  When/if they implement a new
11054   # versioning mechanism, adjust this.
11055   if test -x /usr/bin/objformat; then
11056     objformat=`/usr/bin/objformat`
11057   else
11058     case $host_os in
11059     freebsd[23].*) objformat=aout ;;
11060     *) objformat=elf ;;
11061     esac
11062   fi
11063   version_type=freebsd-$objformat
11064   case $version_type in
11065     freebsd-elf*)
11066       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11067       need_version=no
11068       need_lib_prefix=no
11069       ;;
11070     freebsd-*)
11071       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11072       need_version=yes
11073       ;;
11074   esac
11075   shlibpath_var=LD_LIBRARY_PATH
11076   case $host_os in
11077   freebsd2.*)
11078     shlibpath_overrides_runpath=yes
11079     ;;
11080   freebsd3.[01]* | freebsdelf3.[01]*)
11081     shlibpath_overrides_runpath=yes
11082     hardcode_into_libs=yes
11083     ;;
11084   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11085   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11086     shlibpath_overrides_runpath=no
11087     hardcode_into_libs=yes
11088     ;;
11089   *) # from 4.6 on, and DragonFly
11090     shlibpath_overrides_runpath=yes
11091     hardcode_into_libs=yes
11092     ;;
11093   esac
11094   ;;
11095
11096 haiku*)
11097   version_type=linux # correct to gnu/linux during the next big refactor
11098   need_lib_prefix=no
11099   need_version=no
11100   dynamic_linker="$host_os runtime_loader"
11101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11102   soname_spec='${libname}${release}${shared_ext}$major'
11103   shlibpath_var=LIBRARY_PATH
11104   shlibpath_overrides_runpath=yes
11105   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11106   hardcode_into_libs=yes
11107   ;;
11108
11109 hpux9* | hpux10* | hpux11*)
11110   # Give a soname corresponding to the major version so that dld.sl refuses to
11111   # link against other versions.
11112   version_type=sunos
11113   need_lib_prefix=no
11114   need_version=no
11115   case $host_cpu in
11116   ia64*)
11117     shrext_cmds='.so'
11118     hardcode_into_libs=yes
11119     dynamic_linker="$host_os dld.so"
11120     shlibpath_var=LD_LIBRARY_PATH
11121     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123     soname_spec='${libname}${release}${shared_ext}$major'
11124     if test "X$HPUX_IA64_MODE" = X32; then
11125       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11126     else
11127       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11128     fi
11129     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11130     ;;
11131   hppa*64*)
11132     shrext_cmds='.sl'
11133     hardcode_into_libs=yes
11134     dynamic_linker="$host_os dld.sl"
11135     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11136     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11137     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11138     soname_spec='${libname}${release}${shared_ext}$major'
11139     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11140     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11141     ;;
11142   *)
11143     shrext_cmds='.sl'
11144     dynamic_linker="$host_os dld.sl"
11145     shlibpath_var=SHLIB_PATH
11146     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11148     soname_spec='${libname}${release}${shared_ext}$major'
11149     ;;
11150   esac
11151   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11152   postinstall_cmds='chmod 555 $lib'
11153   # or fails outright, so override atomically:
11154   install_override_mode=555
11155   ;;
11156
11157 interix[3-9]*)
11158   version_type=linux # correct to gnu/linux during the next big refactor
11159   need_lib_prefix=no
11160   need_version=no
11161   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11162   soname_spec='${libname}${release}${shared_ext}$major'
11163   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11164   shlibpath_var=LD_LIBRARY_PATH
11165   shlibpath_overrides_runpath=no
11166   hardcode_into_libs=yes
11167   ;;
11168
11169 irix5* | irix6* | nonstopux*)
11170   case $host_os in
11171     nonstopux*) version_type=nonstopux ;;
11172     *)
11173         if test "$lt_cv_prog_gnu_ld" = yes; then
11174                 version_type=linux # correct to gnu/linux during the next big refactor
11175         else
11176                 version_type=irix
11177         fi ;;
11178   esac
11179   need_lib_prefix=no
11180   need_version=no
11181   soname_spec='${libname}${release}${shared_ext}$major'
11182   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11183   case $host_os in
11184   irix5* | nonstopux*)
11185     libsuff= shlibsuff=
11186     ;;
11187   *)
11188     case $LD in # libtool.m4 will add one of these switches to LD
11189     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11190       libsuff= shlibsuff= libmagic=32-bit;;
11191     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11192       libsuff=32 shlibsuff=N32 libmagic=N32;;
11193     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11194       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11195     *) libsuff= shlibsuff= libmagic=never-match;;
11196     esac
11197     ;;
11198   esac
11199   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11200   shlibpath_overrides_runpath=no
11201   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11202   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11203   hardcode_into_libs=yes
11204   ;;
11205
11206 # No shared lib support for Linux oldld, aout, or coff.
11207 linux*oldld* | linux*aout* | linux*coff*)
11208   dynamic_linker=no
11209   ;;
11210
11211 # This must be glibc/ELF.
11212 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11213   version_type=linux # correct to gnu/linux during the next big refactor
11214   need_lib_prefix=no
11215   need_version=no
11216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217   soname_spec='${libname}${release}${shared_ext}$major'
11218   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11219   shlibpath_var=LD_LIBRARY_PATH
11220   shlibpath_overrides_runpath=no
11221
11222   # Some binutils ld are patched to set DT_RUNPATH
11223   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11224   $as_echo_n "(cached) " >&6
11225 else
11226   lt_cv_shlibpath_overrides_runpath=no
11227     save_LDFLAGS=$LDFLAGS
11228     save_libdir=$libdir
11229     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11230          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11231     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h.  */
11233
11234 int
11235 main ()
11236 {
11237
11238   ;
11239   return 0;
11240 }
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11244   lt_cv_shlibpath_overrides_runpath=yes
11245 fi
11246 fi
11247 rm -f core conftest.err conftest.$ac_objext \
11248     conftest$ac_exeext conftest.$ac_ext
11249     LDFLAGS=$save_LDFLAGS
11250     libdir=$save_libdir
11251
11252 fi
11253
11254   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11255
11256   # This implies no fast_install, which is unacceptable.
11257   # Some rework will be needed to allow for fast_install
11258   # before this can be enabled.
11259   hardcode_into_libs=yes
11260
11261   # Append ld.so.conf contents to the search path
11262   if test -f /etc/ld.so.conf; then
11263     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' ' '`
11264     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11265   fi
11266
11267   # We used to test for /lib/ld.so.1 and disable shared libraries on
11268   # powerpc, because MkLinux only supported shared libraries with the
11269   # GNU dynamic linker.  Since this was broken with cross compilers,
11270   # most powerpc-linux boxes support dynamic linking these days and
11271   # people can always --disable-shared, the test was removed, and we
11272   # assume the GNU/Linux dynamic linker is in use.
11273   dynamic_linker='GNU/Linux ld.so'
11274   ;;
11275
11276 netbsdelf*-gnu)
11277   version_type=linux
11278   need_lib_prefix=no
11279   need_version=no
11280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11281   soname_spec='${libname}${release}${shared_ext}$major'
11282   shlibpath_var=LD_LIBRARY_PATH
11283   shlibpath_overrides_runpath=no
11284   hardcode_into_libs=yes
11285   dynamic_linker='NetBSD ld.elf_so'
11286   ;;
11287
11288 netbsd*)
11289   version_type=sunos
11290   need_lib_prefix=no
11291   need_version=no
11292   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11293     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11294     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11295     dynamic_linker='NetBSD (a.out) ld.so'
11296   else
11297     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11298     soname_spec='${libname}${release}${shared_ext}$major'
11299     dynamic_linker='NetBSD ld.elf_so'
11300   fi
11301   shlibpath_var=LD_LIBRARY_PATH
11302   shlibpath_overrides_runpath=yes
11303   hardcode_into_libs=yes
11304   ;;
11305
11306 newsos6)
11307   version_type=linux # correct to gnu/linux during the next big refactor
11308   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11309   shlibpath_var=LD_LIBRARY_PATH
11310   shlibpath_overrides_runpath=yes
11311   ;;
11312
11313 *nto* | *qnx*)
11314   version_type=qnx
11315   need_lib_prefix=no
11316   need_version=no
11317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318   soname_spec='${libname}${release}${shared_ext}$major'
11319   shlibpath_var=LD_LIBRARY_PATH
11320   shlibpath_overrides_runpath=no
11321   hardcode_into_libs=yes
11322   dynamic_linker='ldqnx.so'
11323   ;;
11324
11325 openbsd*)
11326   version_type=sunos
11327   sys_lib_dlsearch_path_spec="/usr/lib"
11328   need_lib_prefix=no
11329   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11330   case $host_os in
11331     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11332     *)                          need_version=no  ;;
11333   esac
11334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11335   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11336   shlibpath_var=LD_LIBRARY_PATH
11337   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11338     case $host_os in
11339       openbsd2.[89] | openbsd2.[89].*)
11340         shlibpath_overrides_runpath=no
11341         ;;
11342       *)
11343         shlibpath_overrides_runpath=yes
11344         ;;
11345       esac
11346   else
11347     shlibpath_overrides_runpath=yes
11348   fi
11349   ;;
11350
11351 os2*)
11352   libname_spec='$name'
11353   shrext_cmds=".dll"
11354   need_lib_prefix=no
11355   library_names_spec='$libname${shared_ext} $libname.a'
11356   dynamic_linker='OS/2 ld.exe'
11357   shlibpath_var=LIBPATH
11358   ;;
11359
11360 osf3* | osf4* | osf5*)
11361   version_type=osf
11362   need_lib_prefix=no
11363   need_version=no
11364   soname_spec='${libname}${release}${shared_ext}$major'
11365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11366   shlibpath_var=LD_LIBRARY_PATH
11367   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11368   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11369   ;;
11370
11371 rdos*)
11372   dynamic_linker=no
11373   ;;
11374
11375 solaris*)
11376   version_type=linux # correct to gnu/linux during the next big refactor
11377   need_lib_prefix=no
11378   need_version=no
11379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380   soname_spec='${libname}${release}${shared_ext}$major'
11381   shlibpath_var=LD_LIBRARY_PATH
11382   shlibpath_overrides_runpath=yes
11383   hardcode_into_libs=yes
11384   # ldd complains unless libraries are executable
11385   postinstall_cmds='chmod +x $lib'
11386   ;;
11387
11388 sunos4*)
11389   version_type=sunos
11390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11391   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11392   shlibpath_var=LD_LIBRARY_PATH
11393   shlibpath_overrides_runpath=yes
11394   if test "$with_gnu_ld" = yes; then
11395     need_lib_prefix=no
11396   fi
11397   need_version=yes
11398   ;;
11399
11400 sysv4 | sysv4.3*)
11401   version_type=linux # correct to gnu/linux during the next big refactor
11402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403   soname_spec='${libname}${release}${shared_ext}$major'
11404   shlibpath_var=LD_LIBRARY_PATH
11405   case $host_vendor in
11406     sni)
11407       shlibpath_overrides_runpath=no
11408       need_lib_prefix=no
11409       runpath_var=LD_RUN_PATH
11410       ;;
11411     siemens)
11412       need_lib_prefix=no
11413       ;;
11414     motorola)
11415       need_lib_prefix=no
11416       need_version=no
11417       shlibpath_overrides_runpath=no
11418       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11419       ;;
11420   esac
11421   ;;
11422
11423 sysv4*MP*)
11424   if test -d /usr/nec ;then
11425     version_type=linux # correct to gnu/linux during the next big refactor
11426     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11427     soname_spec='$libname${shared_ext}.$major'
11428     shlibpath_var=LD_LIBRARY_PATH
11429   fi
11430   ;;
11431
11432 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11433   version_type=freebsd-elf
11434   need_lib_prefix=no
11435   need_version=no
11436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11437   soname_spec='${libname}${release}${shared_ext}$major'
11438   shlibpath_var=LD_LIBRARY_PATH
11439   shlibpath_overrides_runpath=yes
11440   hardcode_into_libs=yes
11441   if test "$with_gnu_ld" = yes; then
11442     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11443   else
11444     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11445     case $host_os in
11446       sco3.2v5*)
11447         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11448         ;;
11449     esac
11450   fi
11451   sys_lib_dlsearch_path_spec='/usr/lib'
11452   ;;
11453
11454 tpf*)
11455   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11456   version_type=linux # correct to gnu/linux during the next big refactor
11457   need_lib_prefix=no
11458   need_version=no
11459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11460   shlibpath_var=LD_LIBRARY_PATH
11461   shlibpath_overrides_runpath=no
11462   hardcode_into_libs=yes
11463   ;;
11464
11465 uts4*)
11466   version_type=linux # correct to gnu/linux during the next big refactor
11467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11468   soname_spec='${libname}${release}${shared_ext}$major'
11469   shlibpath_var=LD_LIBRARY_PATH
11470   ;;
11471
11472 *)
11473   dynamic_linker=no
11474   ;;
11475 esac
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11477 $as_echo "$dynamic_linker" >&6; }
11478 test "$dynamic_linker" = no && can_build_shared=no
11479
11480 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11481 if test "$GCC" = yes; then
11482   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11483 fi
11484
11485 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11486   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11487 fi
11488 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11489   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11490 fi
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11584 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11585 hardcode_action=
11586 if test -n "$hardcode_libdir_flag_spec" ||
11587    test -n "$runpath_var" ||
11588    test "X$hardcode_automatic" = "Xyes" ; then
11589
11590   # We can hardcode non-existent directories.
11591   if test "$hardcode_direct" != no &&
11592      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11593      # have to relink, otherwise we might link with an installed library
11594      # when we should be linking with a yet-to-be-installed one
11595      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11596      test "$hardcode_minus_L" != no; then
11597     # Linking always hardcodes the temporary library directory.
11598     hardcode_action=relink
11599   else
11600     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11601     hardcode_action=immediate
11602   fi
11603 else
11604   # We cannot hardcode anything, or else we can only hardcode existing
11605   # directories.
11606   hardcode_action=unsupported
11607 fi
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11609 $as_echo "$hardcode_action" >&6; }
11610
11611 if test "$hardcode_action" = relink ||
11612    test "$inherit_rpath" = yes; then
11613   # Fast installation is not supported
11614   enable_fast_install=no
11615 elif test "$shlibpath_overrides_runpath" = yes ||
11616      test "$enable_shared" = no; then
11617   # Fast installation is not necessary
11618   enable_fast_install=needless
11619 fi
11620
11621
11622
11623
11624
11625
11626   if test "x$enable_dlopen" != xyes; then
11627   enable_dlopen=unknown
11628   enable_dlopen_self=unknown
11629   enable_dlopen_self_static=unknown
11630 else
11631   lt_cv_dlopen=no
11632   lt_cv_dlopen_libs=
11633
11634   case $host_os in
11635   beos*)
11636     lt_cv_dlopen="load_add_on"
11637     lt_cv_dlopen_libs=
11638     lt_cv_dlopen_self=yes
11639     ;;
11640
11641   mingw* | pw32* | cegcc*)
11642     lt_cv_dlopen="LoadLibrary"
11643     lt_cv_dlopen_libs=
11644     ;;
11645
11646   cygwin*)
11647     lt_cv_dlopen="dlopen"
11648     lt_cv_dlopen_libs=
11649     ;;
11650
11651   darwin*)
11652   # if libdl is installed we need to link against it
11653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11654 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11655 if ${ac_cv_lib_dl_dlopen+:} false; then :
11656   $as_echo_n "(cached) " >&6
11657 else
11658   ac_check_lib_save_LIBS=$LIBS
11659 LIBS="-ldl  $LIBS"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h.  */
11662
11663 /* Override any GCC internal prototype to avoid an error.
11664    Use char because int might match the return type of a GCC
11665    builtin and then its argument prototype would still apply.  */
11666 #ifdef __cplusplus
11667 extern "C"
11668 #endif
11669 char dlopen ();
11670 int
11671 main ()
11672 {
11673 return dlopen ();
11674   ;
11675   return 0;
11676 }
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"; then :
11679   ac_cv_lib_dl_dlopen=yes
11680 else
11681   ac_cv_lib_dl_dlopen=no
11682 fi
11683 rm -f core conftest.err conftest.$ac_objext \
11684     conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_lib_save_LIBS
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11688 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11689 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11690   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11691 else
11692
11693     lt_cv_dlopen="dyld"
11694     lt_cv_dlopen_libs=
11695     lt_cv_dlopen_self=yes
11696
11697 fi
11698
11699     ;;
11700
11701   *)
11702     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11703 if test "x$ac_cv_func_shl_load" = xyes; then :
11704   lt_cv_dlopen="shl_load"
11705 else
11706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11707 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11708 if ${ac_cv_lib_dld_shl_load+:} false; then :
11709   $as_echo_n "(cached) " >&6
11710 else
11711   ac_check_lib_save_LIBS=$LIBS
11712 LIBS="-ldld  $LIBS"
11713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 /* end confdefs.h.  */
11715
11716 /* Override any GCC internal prototype to avoid an error.
11717    Use char because int might match the return type of a GCC
11718    builtin and then its argument prototype would still apply.  */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char shl_load ();
11723 int
11724 main ()
11725 {
11726 return shl_load ();
11727   ;
11728   return 0;
11729 }
11730 _ACEOF
11731 if ac_fn_c_try_link "$LINENO"; then :
11732   ac_cv_lib_dld_shl_load=yes
11733 else
11734   ac_cv_lib_dld_shl_load=no
11735 fi
11736 rm -f core conftest.err conftest.$ac_objext \
11737     conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11739 fi
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11741 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11742 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11743   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11744 else
11745   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11746 if test "x$ac_cv_func_dlopen" = xyes; then :
11747   lt_cv_dlopen="dlopen"
11748 else
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11750 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11751 if ${ac_cv_lib_dl_dlopen+:} false; then :
11752   $as_echo_n "(cached) " >&6
11753 else
11754   ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-ldl  $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h.  */
11758
11759 /* Override any GCC internal prototype to avoid an error.
11760    Use char because int might match the return type of a GCC
11761    builtin and then its argument prototype would still apply.  */
11762 #ifdef __cplusplus
11763 extern "C"
11764 #endif
11765 char dlopen ();
11766 int
11767 main ()
11768 {
11769 return dlopen ();
11770   ;
11771   return 0;
11772 }
11773 _ACEOF
11774 if ac_fn_c_try_link "$LINENO"; then :
11775   ac_cv_lib_dl_dlopen=yes
11776 else
11777   ac_cv_lib_dl_dlopen=no
11778 fi
11779 rm -f core conftest.err conftest.$ac_objext \
11780     conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11782 fi
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11784 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11785 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11786   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11787 else
11788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11789 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11790 if ${ac_cv_lib_svld_dlopen+:} false; then :
11791   $as_echo_n "(cached) " >&6
11792 else
11793   ac_check_lib_save_LIBS=$LIBS
11794 LIBS="-lsvld  $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h.  */
11797
11798 /* Override any GCC internal prototype to avoid an error.
11799    Use char because int might match the return type of a GCC
11800    builtin and then its argument prototype would still apply.  */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char dlopen ();
11805 int
11806 main ()
11807 {
11808 return dlopen ();
11809   ;
11810   return 0;
11811 }
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814   ac_cv_lib_svld_dlopen=yes
11815 else
11816   ac_cv_lib_svld_dlopen=no
11817 fi
11818 rm -f core conftest.err conftest.$ac_objext \
11819     conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11821 fi
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11823 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11824 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11825   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11826 else
11827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11828 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11829 if ${ac_cv_lib_dld_dld_link+:} false; then :
11830   $as_echo_n "(cached) " >&6
11831 else
11832   ac_check_lib_save_LIBS=$LIBS
11833 LIBS="-ldld  $LIBS"
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h.  */
11836
11837 /* Override any GCC internal prototype to avoid an error.
11838    Use char because int might match the return type of a GCC
11839    builtin and then its argument prototype would still apply.  */
11840 #ifdef __cplusplus
11841 extern "C"
11842 #endif
11843 char dld_link ();
11844 int
11845 main ()
11846 {
11847 return dld_link ();
11848   ;
11849   return 0;
11850 }
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"; then :
11853   ac_cv_lib_dld_dld_link=yes
11854 else
11855   ac_cv_lib_dld_dld_link=no
11856 fi
11857 rm -f core conftest.err conftest.$ac_objext \
11858     conftest$ac_exeext conftest.$ac_ext
11859 LIBS=$ac_check_lib_save_LIBS
11860 fi
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11862 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11863 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11864   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11865 fi
11866
11867
11868 fi
11869
11870
11871 fi
11872
11873
11874 fi
11875
11876
11877 fi
11878
11879
11880 fi
11881
11882     ;;
11883   esac
11884
11885   if test "x$lt_cv_dlopen" != xno; then
11886     enable_dlopen=yes
11887   else
11888     enable_dlopen=no
11889   fi
11890
11891   case $lt_cv_dlopen in
11892   dlopen)
11893     save_CPPFLAGS="$CPPFLAGS"
11894     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11895
11896     save_LDFLAGS="$LDFLAGS"
11897     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11898
11899     save_LIBS="$LIBS"
11900     LIBS="$lt_cv_dlopen_libs $LIBS"
11901
11902     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11903 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11904 if ${lt_cv_dlopen_self+:} false; then :
11905   $as_echo_n "(cached) " >&6
11906 else
11907           if test "$cross_compiling" = yes; then :
11908   lt_cv_dlopen_self=cross
11909 else
11910   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11911   lt_status=$lt_dlunknown
11912   cat > conftest.$ac_ext <<_LT_EOF
11913 #line $LINENO "configure"
11914 #include "confdefs.h"
11915
11916 #if HAVE_DLFCN_H
11917 #include <dlfcn.h>
11918 #endif
11919
11920 #include <stdio.h>
11921
11922 #ifdef RTLD_GLOBAL
11923 #  define LT_DLGLOBAL           RTLD_GLOBAL
11924 #else
11925 #  ifdef DL_GLOBAL
11926 #    define LT_DLGLOBAL         DL_GLOBAL
11927 #  else
11928 #    define LT_DLGLOBAL         0
11929 #  endif
11930 #endif
11931
11932 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11933    find out it does not work in some platform. */
11934 #ifndef LT_DLLAZY_OR_NOW
11935 #  ifdef RTLD_LAZY
11936 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11937 #  else
11938 #    ifdef DL_LAZY
11939 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11940 #    else
11941 #      ifdef RTLD_NOW
11942 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11943 #      else
11944 #        ifdef DL_NOW
11945 #          define LT_DLLAZY_OR_NOW      DL_NOW
11946 #        else
11947 #          define LT_DLLAZY_OR_NOW      0
11948 #        endif
11949 #      endif
11950 #    endif
11951 #  endif
11952 #endif
11953
11954 /* When -fvisbility=hidden is used, assume the code has been annotated
11955    correspondingly for the symbols needed.  */
11956 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11957 int fnord () __attribute__((visibility("default")));
11958 #endif
11959
11960 int fnord () { return 42; }
11961 int main ()
11962 {
11963   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11964   int status = $lt_dlunknown;
11965
11966   if (self)
11967     {
11968       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11969       else
11970         {
11971           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11972           else puts (dlerror ());
11973         }
11974       /* dlclose (self); */
11975     }
11976   else
11977     puts (dlerror ());
11978
11979   return status;
11980 }
11981 _LT_EOF
11982   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11983   (eval $ac_link) 2>&5
11984   ac_status=$?
11985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11986   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11987     (./conftest; exit; ) >&5 2>/dev/null
11988     lt_status=$?
11989     case x$lt_status in
11990       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11991       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11992       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11993     esac
11994   else :
11995     # compilation failed
11996     lt_cv_dlopen_self=no
11997   fi
11998 fi
11999 rm -fr conftest*
12000
12001
12002 fi
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12004 $as_echo "$lt_cv_dlopen_self" >&6; }
12005
12006     if test "x$lt_cv_dlopen_self" = xyes; then
12007       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12008       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12009 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12010 if ${lt_cv_dlopen_self_static+:} false; then :
12011   $as_echo_n "(cached) " >&6
12012 else
12013           if test "$cross_compiling" = yes; then :
12014   lt_cv_dlopen_self_static=cross
12015 else
12016   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12017   lt_status=$lt_dlunknown
12018   cat > conftest.$ac_ext <<_LT_EOF
12019 #line $LINENO "configure"
12020 #include "confdefs.h"
12021
12022 #if HAVE_DLFCN_H
12023 #include <dlfcn.h>
12024 #endif
12025
12026 #include <stdio.h>
12027
12028 #ifdef RTLD_GLOBAL
12029 #  define LT_DLGLOBAL           RTLD_GLOBAL
12030 #else
12031 #  ifdef DL_GLOBAL
12032 #    define LT_DLGLOBAL         DL_GLOBAL
12033 #  else
12034 #    define LT_DLGLOBAL         0
12035 #  endif
12036 #endif
12037
12038 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12039    find out it does not work in some platform. */
12040 #ifndef LT_DLLAZY_OR_NOW
12041 #  ifdef RTLD_LAZY
12042 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12043 #  else
12044 #    ifdef DL_LAZY
12045 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12046 #    else
12047 #      ifdef RTLD_NOW
12048 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12049 #      else
12050 #        ifdef DL_NOW
12051 #          define LT_DLLAZY_OR_NOW      DL_NOW
12052 #        else
12053 #          define LT_DLLAZY_OR_NOW      0
12054 #        endif
12055 #      endif
12056 #    endif
12057 #  endif
12058 #endif
12059
12060 /* When -fvisbility=hidden is used, assume the code has been annotated
12061    correspondingly for the symbols needed.  */
12062 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12063 int fnord () __attribute__((visibility("default")));
12064 #endif
12065
12066 int fnord () { return 42; }
12067 int main ()
12068 {
12069   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12070   int status = $lt_dlunknown;
12071
12072   if (self)
12073     {
12074       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12075       else
12076         {
12077           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12078           else puts (dlerror ());
12079         }
12080       /* dlclose (self); */
12081     }
12082   else
12083     puts (dlerror ());
12084
12085   return status;
12086 }
12087 _LT_EOF
12088   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12089   (eval $ac_link) 2>&5
12090   ac_status=$?
12091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12093     (./conftest; exit; ) >&5 2>/dev/null
12094     lt_status=$?
12095     case x$lt_status in
12096       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12097       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12098       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12099     esac
12100   else :
12101     # compilation failed
12102     lt_cv_dlopen_self_static=no
12103   fi
12104 fi
12105 rm -fr conftest*
12106
12107
12108 fi
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12110 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12111     fi
12112
12113     CPPFLAGS="$save_CPPFLAGS"
12114     LDFLAGS="$save_LDFLAGS"
12115     LIBS="$save_LIBS"
12116     ;;
12117   esac
12118
12119   case $lt_cv_dlopen_self in
12120   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12121   *) enable_dlopen_self=unknown ;;
12122   esac
12123
12124   case $lt_cv_dlopen_self_static in
12125   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12126   *) enable_dlopen_self_static=unknown ;;
12127   esac
12128 fi
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146 striplib=
12147 old_striplib=
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12149 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12150 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12151   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12152   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12154 $as_echo "yes" >&6; }
12155 else
12156 # FIXME - insert some real tests, host_os isn't really good enough
12157   case $host_os in
12158   darwin*)
12159     if test -n "$STRIP" ; then
12160       striplib="$STRIP -x"
12161       old_striplib="$STRIP -S"
12162       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12163 $as_echo "yes" >&6; }
12164     else
12165       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166 $as_echo "no" >&6; }
12167     fi
12168     ;;
12169   *)
12170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171 $as_echo "no" >&6; }
12172     ;;
12173   esac
12174 fi
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187   # Report which library types will actually be built
12188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12189 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12191 $as_echo "$can_build_shared" >&6; }
12192
12193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12194 $as_echo_n "checking whether to build shared libraries... " >&6; }
12195   test "$can_build_shared" = "no" && enable_shared=no
12196
12197   # On AIX, shared libraries and static libraries use the same namespace, and
12198   # are all built from PIC.
12199   case $host_os in
12200   aix3*)
12201     test "$enable_shared" = yes && enable_static=no
12202     if test -n "$RANLIB"; then
12203       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12204       postinstall_cmds='$RANLIB $lib'
12205     fi
12206     ;;
12207
12208   aix[4-9]*)
12209     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12210       test "$enable_shared" = yes && enable_static=no
12211     fi
12212     ;;
12213   esac
12214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12215 $as_echo "$enable_shared" >&6; }
12216
12217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12218 $as_echo_n "checking whether to build static libraries... " >&6; }
12219   # Make sure either enable_shared or enable_static is yes.
12220   test "$enable_shared" = yes || enable_static=yes
12221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12222 $as_echo "$enable_static" >&6; }
12223
12224
12225
12226
12227 fi
12228 ac_ext=c
12229 ac_cpp='$CPP $CPPFLAGS'
12230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12233
12234 CC="$lt_save_CC"
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250         ac_config_commands="$ac_config_commands libtool"
12251
12252
12253
12254
12255 # Only expand once:
12256
12257
12258
12259 ac_config_files="$ac_config_files Makefile"
12260
12261 cat >confcache <<\_ACEOF
12262 # This file is a shell script that caches the results of configure
12263 # tests run on this system so they can be shared between configure
12264 # scripts and configure runs, see configure's option --config-cache.
12265 # It is not useful on other systems.  If it contains results you don't
12266 # want to keep, you may remove or edit it.
12267 #
12268 # config.status only pays attention to the cache file if you give it
12269 # the --recheck option to rerun configure.
12270 #
12271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12273 # following values.
12274
12275 _ACEOF
12276
12277 # The following way of writing the cache mishandles newlines in values,
12278 # but we know of no workaround that is simple, portable, and efficient.
12279 # So, we kill variables containing newlines.
12280 # Ultrix sh set writes to stderr and can't be redirected directly,
12281 # and sets the high bit in the cache file unless we assign to the vars.
12282 (
12283   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12284     eval ac_val=\$$ac_var
12285     case $ac_val in #(
12286     *${as_nl}*)
12287       case $ac_var in #(
12288       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12290       esac
12291       case $ac_var in #(
12292       _ | IFS | as_nl) ;; #(
12293       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12294       *) { eval $ac_var=; unset $ac_var;} ;;
12295       esac ;;
12296     esac
12297   done
12298
12299   (set) 2>&1 |
12300     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12301     *${as_nl}ac_space=\ *)
12302       # `set' does not quote correctly, so add quotes: double-quote
12303       # substitution turns \\\\ into \\, and sed turns \\ into \.
12304       sed -n \
12305         "s/'/'\\\\''/g;
12306           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12307       ;; #(
12308     *)
12309       # `set' quotes correctly as required by POSIX, so do not add quotes.
12310       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12311       ;;
12312     esac |
12313     sort
12314 ) |
12315   sed '
12316      /^ac_cv_env_/b end
12317      t clear
12318      :clear
12319      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12320      t end
12321      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12322      :end' >>confcache
12323 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12324   if test -w "$cache_file"; then
12325     if test "x$cache_file" != "x/dev/null"; then
12326       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12327 $as_echo "$as_me: updating cache $cache_file" >&6;}
12328       if test ! -f "$cache_file" || test -h "$cache_file"; then
12329         cat confcache >"$cache_file"
12330       else
12331         case $cache_file in #(
12332         */* | ?:*)
12333           mv -f confcache "$cache_file"$$ &&
12334           mv -f "$cache_file"$$ "$cache_file" ;; #(
12335         *)
12336           mv -f confcache "$cache_file" ;;
12337         esac
12338       fi
12339     fi
12340   else
12341     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12342 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12343   fi
12344 fi
12345 rm -f confcache
12346
12347 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12348 # Let make expand exec_prefix.
12349 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12350
12351 # Transform confdefs.h into DEFS.
12352 # Protect against shell expansion while executing Makefile rules.
12353 # Protect against Makefile macro expansion.
12354 #
12355 # If the first sed substitution is executed (which looks for macros that
12356 # take arguments), then branch to the quote section.  Otherwise,
12357 # look for a macro that doesn't take arguments.
12358 ac_script='
12359 :mline
12360 /\\$/{
12361  N
12362  s,\\\n,,
12363  b mline
12364 }
12365 t clear
12366 :clear
12367 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
12368 t quote
12369 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
12370 t quote
12371 b any
12372 :quote
12373 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12374 s/\[/\\&/g
12375 s/\]/\\&/g
12376 s/\$/$$/g
12377 H
12378 :any
12379 ${
12380         g
12381         s/^\n//
12382         s/\n/ /g
12383         p
12384 }
12385 '
12386 DEFS=`sed -n "$ac_script" confdefs.h`
12387
12388
12389 ac_libobjs=
12390 ac_ltlibobjs=
12391 U=
12392 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12393   # 1. Remove the extension, and $U if already installed.
12394   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12395   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12396   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12397   #    will be set to the directory where LIBOBJS objects are built.
12398   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12399   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12400 done
12401 LIBOBJS=$ac_libobjs
12402
12403 LTLIBOBJS=$ac_ltlibobjs
12404
12405
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12407 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12408    if test -n "$am_sleep_pid"; then
12409      # Hide warnings about reused PIDs.
12410      wait $am_sleep_pid 2>/dev/null
12411    fi
12412    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12413 $as_echo "done" >&6; }
12414  if test -n "$EXEEXT"; then
12415   am__EXEEXT_TRUE=
12416   am__EXEEXT_FALSE='#'
12417 else
12418   am__EXEEXT_TRUE='#'
12419   am__EXEEXT_FALSE=
12420 fi
12421
12422 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12423   as_fn_error $? "conditional \"AMDEP\" was never defined.
12424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12425 fi
12426 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12427   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12429 fi
12430 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
12431   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
12432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12433 fi
12434 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12435   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12437 fi
12438
12439 : "${CONFIG_STATUS=./config.status}"
12440 ac_write_fail=0
12441 ac_clean_files_save=$ac_clean_files
12442 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12444 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12445 as_write_fail=0
12446 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12447 #! $SHELL
12448 # Generated by $as_me.
12449 # Run this file to recreate the current configuration.
12450 # Compiler output produced by configure, useful for debugging
12451 # configure, is in config.log if it exists.
12452
12453 debug=false
12454 ac_cs_recheck=false
12455 ac_cs_silent=false
12456
12457 SHELL=\${CONFIG_SHELL-$SHELL}
12458 export SHELL
12459 _ASEOF
12460 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12461 ## -------------------- ##
12462 ## M4sh Initialization. ##
12463 ## -------------------- ##
12464
12465 # Be more Bourne compatible
12466 DUALCASE=1; export DUALCASE # for MKS sh
12467 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12468   emulate sh
12469   NULLCMD=:
12470   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12471   # is contrary to our usage.  Disable this feature.
12472   alias -g '${1+"$@"}'='"$@"'
12473   setopt NO_GLOB_SUBST
12474 else
12475   case `(set -o) 2>/dev/null` in #(
12476   *posix*) :
12477     set -o posix ;; #(
12478   *) :
12479      ;;
12480 esac
12481 fi
12482
12483
12484 as_nl='
12485 '
12486 export as_nl
12487 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12488 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12490 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12491 # Prefer a ksh shell builtin over an external printf program on Solaris,
12492 # but without wasting forks for bash or zsh.
12493 if test -z "$BASH_VERSION$ZSH_VERSION" \
12494     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12495   as_echo='print -r --'
12496   as_echo_n='print -rn --'
12497 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12498   as_echo='printf %s\n'
12499   as_echo_n='printf %s'
12500 else
12501   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12502     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12503     as_echo_n='/usr/ucb/echo -n'
12504   else
12505     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12506     as_echo_n_body='eval
12507       arg=$1;
12508       case $arg in #(
12509       *"$as_nl"*)
12510         expr "X$arg" : "X\\(.*\\)$as_nl";
12511         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12512       esac;
12513       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12514     '
12515     export as_echo_n_body
12516     as_echo_n='sh -c $as_echo_n_body as_echo'
12517   fi
12518   export as_echo_body
12519   as_echo='sh -c $as_echo_body as_echo'
12520 fi
12521
12522 # The user is always right.
12523 if test "${PATH_SEPARATOR+set}" != set; then
12524   PATH_SEPARATOR=:
12525   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12526     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12527       PATH_SEPARATOR=';'
12528   }
12529 fi
12530
12531
12532 # IFS
12533 # We need space, tab and new line, in precisely that order.  Quoting is
12534 # there to prevent editors from complaining about space-tab.
12535 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12536 # splitting by setting IFS to empty value.)
12537 IFS=" ""        $as_nl"
12538
12539 # Find who we are.  Look in the path if we contain no directory separator.
12540 as_myself=
12541 case $0 in #((
12542   *[\\/]* ) as_myself=$0 ;;
12543   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12544 for as_dir in $PATH
12545 do
12546   IFS=$as_save_IFS
12547   test -z "$as_dir" && as_dir=.
12548     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12549   done
12550 IFS=$as_save_IFS
12551
12552      ;;
12553 esac
12554 # We did not find ourselves, most probably we were run as `sh COMMAND'
12555 # in which case we are not to be found in the path.
12556 if test "x$as_myself" = x; then
12557   as_myself=$0
12558 fi
12559 if test ! -f "$as_myself"; then
12560   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12561   exit 1
12562 fi
12563
12564 # Unset variables that we do not need and which cause bugs (e.g. in
12565 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12566 # suppresses any "Segmentation fault" message there.  '((' could
12567 # trigger a bug in pdksh 5.2.14.
12568 for as_var in BASH_ENV ENV MAIL MAILPATH
12569 do eval test x\${$as_var+set} = xset \
12570   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12571 done
12572 PS1='$ '
12573 PS2='> '
12574 PS4='+ '
12575
12576 # NLS nuisances.
12577 LC_ALL=C
12578 export LC_ALL
12579 LANGUAGE=C
12580 export LANGUAGE
12581
12582 # CDPATH.
12583 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12584
12585
12586 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12587 # ----------------------------------------
12588 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12589 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12590 # script with STATUS, using 1 if that was 0.
12591 as_fn_error ()
12592 {
12593   as_status=$1; test $as_status -eq 0 && as_status=1
12594   if test "$4"; then
12595     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12596     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12597   fi
12598   $as_echo "$as_me: error: $2" >&2
12599   as_fn_exit $as_status
12600 } # as_fn_error
12601
12602
12603 # as_fn_set_status STATUS
12604 # -----------------------
12605 # Set $? to STATUS, without forking.
12606 as_fn_set_status ()
12607 {
12608   return $1
12609 } # as_fn_set_status
12610
12611 # as_fn_exit STATUS
12612 # -----------------
12613 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12614 as_fn_exit ()
12615 {
12616   set +e
12617   as_fn_set_status $1
12618   exit $1
12619 } # as_fn_exit
12620
12621 # as_fn_unset VAR
12622 # ---------------
12623 # Portably unset VAR.
12624 as_fn_unset ()
12625 {
12626   { eval $1=; unset $1;}
12627 }
12628 as_unset=as_fn_unset
12629 # as_fn_append VAR VALUE
12630 # ----------------------
12631 # Append the text in VALUE to the end of the definition contained in VAR. Take
12632 # advantage of any shell optimizations that allow amortized linear growth over
12633 # repeated appends, instead of the typical quadratic growth present in naive
12634 # implementations.
12635 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12636   eval 'as_fn_append ()
12637   {
12638     eval $1+=\$2
12639   }'
12640 else
12641   as_fn_append ()
12642   {
12643     eval $1=\$$1\$2
12644   }
12645 fi # as_fn_append
12646
12647 # as_fn_arith ARG...
12648 # ------------------
12649 # Perform arithmetic evaluation on the ARGs, and store the result in the
12650 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12651 # must be portable across $(()) and expr.
12652 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12653   eval 'as_fn_arith ()
12654   {
12655     as_val=$(( $* ))
12656   }'
12657 else
12658   as_fn_arith ()
12659   {
12660     as_val=`expr "$@" || test $? -eq 1`
12661   }
12662 fi # as_fn_arith
12663
12664
12665 if expr a : '\(a\)' >/dev/null 2>&1 &&
12666    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12667   as_expr=expr
12668 else
12669   as_expr=false
12670 fi
12671
12672 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12673   as_basename=basename
12674 else
12675   as_basename=false
12676 fi
12677
12678 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12679   as_dirname=dirname
12680 else
12681   as_dirname=false
12682 fi
12683
12684 as_me=`$as_basename -- "$0" ||
12685 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12686          X"$0" : 'X\(//\)$' \| \
12687          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12688 $as_echo X/"$0" |
12689     sed '/^.*\/\([^/][^/]*\)\/*$/{
12690             s//\1/
12691             q
12692           }
12693           /^X\/\(\/\/\)$/{
12694             s//\1/
12695             q
12696           }
12697           /^X\/\(\/\).*/{
12698             s//\1/
12699             q
12700           }
12701           s/.*/./; q'`
12702
12703 # Avoid depending upon Character Ranges.
12704 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12705 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12706 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12707 as_cr_digits='0123456789'
12708 as_cr_alnum=$as_cr_Letters$as_cr_digits
12709
12710 ECHO_C= ECHO_N= ECHO_T=
12711 case `echo -n x` in #(((((
12712 -n*)
12713   case `echo 'xy\c'` in
12714   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12715   xy)  ECHO_C='\c';;
12716   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12717        ECHO_T=' ';;
12718   esac;;
12719 *)
12720   ECHO_N='-n';;
12721 esac
12722
12723 rm -f conf$$ conf$$.exe conf$$.file
12724 if test -d conf$$.dir; then
12725   rm -f conf$$.dir/conf$$.file
12726 else
12727   rm -f conf$$.dir
12728   mkdir conf$$.dir 2>/dev/null
12729 fi
12730 if (echo >conf$$.file) 2>/dev/null; then
12731   if ln -s conf$$.file conf$$ 2>/dev/null; then
12732     as_ln_s='ln -s'
12733     # ... but there are two gotchas:
12734     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12735     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12736     # In both cases, we have to default to `cp -pR'.
12737     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12738       as_ln_s='cp -pR'
12739   elif ln conf$$.file conf$$ 2>/dev/null; then
12740     as_ln_s=ln
12741   else
12742     as_ln_s='cp -pR'
12743   fi
12744 else
12745   as_ln_s='cp -pR'
12746 fi
12747 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12748 rmdir conf$$.dir 2>/dev/null
12749
12750
12751 # as_fn_mkdir_p
12752 # -------------
12753 # Create "$as_dir" as a directory, including parents if necessary.
12754 as_fn_mkdir_p ()
12755 {
12756
12757   case $as_dir in #(
12758   -*) as_dir=./$as_dir;;
12759   esac
12760   test -d "$as_dir" || eval $as_mkdir_p || {
12761     as_dirs=
12762     while :; do
12763       case $as_dir in #(
12764       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12765       *) as_qdir=$as_dir;;
12766       esac
12767       as_dirs="'$as_qdir' $as_dirs"
12768       as_dir=`$as_dirname -- "$as_dir" ||
12769 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12770          X"$as_dir" : 'X\(//\)[^/]' \| \
12771          X"$as_dir" : 'X\(//\)$' \| \
12772          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12773 $as_echo X"$as_dir" |
12774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12775             s//\1/
12776             q
12777           }
12778           /^X\(\/\/\)[^/].*/{
12779             s//\1/
12780             q
12781           }
12782           /^X\(\/\/\)$/{
12783             s//\1/
12784             q
12785           }
12786           /^X\(\/\).*/{
12787             s//\1/
12788             q
12789           }
12790           s/.*/./; q'`
12791       test -d "$as_dir" && break
12792     done
12793     test -z "$as_dirs" || eval "mkdir $as_dirs"
12794   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12795
12796
12797 } # as_fn_mkdir_p
12798 if mkdir -p . 2>/dev/null; then
12799   as_mkdir_p='mkdir -p "$as_dir"'
12800 else
12801   test -d ./-p && rmdir ./-p
12802   as_mkdir_p=false
12803 fi
12804
12805
12806 # as_fn_executable_p FILE
12807 # -----------------------
12808 # Test if FILE is an executable regular file.
12809 as_fn_executable_p ()
12810 {
12811   test -f "$1" && test -x "$1"
12812 } # as_fn_executable_p
12813 as_test_x='test -x'
12814 as_executable_p=as_fn_executable_p
12815
12816 # Sed expression to map a string onto a valid CPP name.
12817 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12818
12819 # Sed expression to map a string onto a valid variable name.
12820 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12821
12822
12823 exec 6>&1
12824 ## ----------------------------------- ##
12825 ## Main body of $CONFIG_STATUS script. ##
12826 ## ----------------------------------- ##
12827 _ASEOF
12828 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12829
12830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12831 # Save the log message, to keep $0 and so on meaningful, and to
12832 # report actual input values of CONFIG_FILES etc. instead of their
12833 # values after options handling.
12834 ac_log="
12835 This file was extended by svm $as_me 1.0, which was
12836 generated by GNU Autoconf 2.69.  Invocation command line was
12837
12838   CONFIG_FILES    = $CONFIG_FILES
12839   CONFIG_HEADERS  = $CONFIG_HEADERS
12840   CONFIG_LINKS    = $CONFIG_LINKS
12841   CONFIG_COMMANDS = $CONFIG_COMMANDS
12842   $ $0 $@
12843
12844 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12845 "
12846
12847 _ACEOF
12848
12849 case $ac_config_files in *"
12850 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12851 esac
12852
12853
12854
12855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12856 # Files that config.status was made for.
12857 config_files="$ac_config_files"
12858 config_commands="$ac_config_commands"
12859
12860 _ACEOF
12861
12862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12863 ac_cs_usage="\
12864 \`$as_me' instantiates files and other configuration actions
12865 from templates according to the current configuration.  Unless the files
12866 and actions are specified as TAGs, all are instantiated by default.
12867
12868 Usage: $0 [OPTION]... [TAG]...
12869
12870   -h, --help       print this help, then exit
12871   -V, --version    print version number and configuration settings, then exit
12872       --config     print configuration, then exit
12873   -q, --quiet, --silent
12874                    do not print progress messages
12875   -d, --debug      don't remove temporary files
12876       --recheck    update $as_me by reconfiguring in the same conditions
12877       --file=FILE[:TEMPLATE]
12878                    instantiate the configuration file FILE
12879
12880 Configuration files:
12881 $config_files
12882
12883 Configuration commands:
12884 $config_commands
12885
12886 Report bugs to the package provider."
12887
12888 _ACEOF
12889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12890 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12891 ac_cs_version="\\
12892 svm config.status 1.0
12893 configured by $0, generated by GNU Autoconf 2.69,
12894   with options \\"\$ac_cs_config\\"
12895
12896 Copyright (C) 2012 Free Software Foundation, Inc.
12897 This config.status script is free software; the Free Software Foundation
12898 gives unlimited permission to copy, distribute and modify it."
12899
12900 ac_pwd='$ac_pwd'
12901 srcdir='$srcdir'
12902 INSTALL='$INSTALL'
12903 MKDIR_P='$MKDIR_P'
12904 AWK='$AWK'
12905 test -n "\$AWK" || AWK=awk
12906 _ACEOF
12907
12908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12909 # The default lists apply if the user does not specify any file.
12910 ac_need_defaults=:
12911 while test $# != 0
12912 do
12913   case $1 in
12914   --*=?*)
12915     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12916     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12917     ac_shift=:
12918     ;;
12919   --*=)
12920     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12921     ac_optarg=
12922     ac_shift=:
12923     ;;
12924   *)
12925     ac_option=$1
12926     ac_optarg=$2
12927     ac_shift=shift
12928     ;;
12929   esac
12930
12931   case $ac_option in
12932   # Handling of the options.
12933   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12934     ac_cs_recheck=: ;;
12935   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12936     $as_echo "$ac_cs_version"; exit ;;
12937   --config | --confi | --conf | --con | --co | --c )
12938     $as_echo "$ac_cs_config"; exit ;;
12939   --debug | --debu | --deb | --de | --d | -d )
12940     debug=: ;;
12941   --file | --fil | --fi | --f )
12942     $ac_shift
12943     case $ac_optarg in
12944     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12945     '') as_fn_error $? "missing file argument" ;;
12946     esac
12947     as_fn_append CONFIG_FILES " '$ac_optarg'"
12948     ac_need_defaults=false;;
12949   --he | --h |  --help | --hel | -h )
12950     $as_echo "$ac_cs_usage"; exit ;;
12951   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12952   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12953     ac_cs_silent=: ;;
12954
12955   # This is an error.
12956   -*) as_fn_error $? "unrecognized option: \`$1'
12957 Try \`$0 --help' for more information." ;;
12958
12959   *) as_fn_append ac_config_targets " $1"
12960      ac_need_defaults=false ;;
12961
12962   esac
12963   shift
12964 done
12965
12966 ac_configure_extra_args=
12967
12968 if $ac_cs_silent; then
12969   exec 6>/dev/null
12970   ac_configure_extra_args="$ac_configure_extra_args --silent"
12971 fi
12972
12973 _ACEOF
12974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12975 if \$ac_cs_recheck; then
12976   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12977   shift
12978   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12979   CONFIG_SHELL='$SHELL'
12980   export CONFIG_SHELL
12981   exec "\$@"
12982 fi
12983
12984 _ACEOF
12985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12986 exec 5>>config.log
12987 {
12988   echo
12989   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12990 ## Running $as_me. ##
12991 _ASBOX
12992   $as_echo "$ac_log"
12993 } >&5
12994
12995 _ACEOF
12996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12997 #
12998 # INIT-COMMANDS
12999 #
13000 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13001
13002
13003 # The HP-UX ksh and POSIX shell print the target directory to stdout
13004 # if CDPATH is set.
13005 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13006
13007 sed_quote_subst='$sed_quote_subst'
13008 double_quote_subst='$double_quote_subst'
13009 delay_variable_subst='$delay_variable_subst'
13010 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13011 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13012 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13013 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13014 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13015 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13016 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13017 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13018 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13019 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13020 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13021 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13022 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13023 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13024 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13025 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13026 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13027 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13028 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13029 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13030 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13031 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13032 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13033 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13034 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13035 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13036 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13037 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13038 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13039 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13040 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13041 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13042 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13043 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13044 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13045 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13046 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13047 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13048 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13049 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13050 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13051 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13052 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13053 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13054 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13055 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13056 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13057 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13058 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13059 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13060 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13061 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13062 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13063 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13064 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13065 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13066 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"`'
13067 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13068 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13069 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13070 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13071 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13072 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13073 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13074 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13075 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13076 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13077 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13078 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13079 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13080 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13081 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13082 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13083 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13084 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13085 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13086 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13087 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13088 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13089 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13090 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13091 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13092 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13093 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13094 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13095 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13096 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13097 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13098 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13099 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13100 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13101 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13102 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13103 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13104 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13105 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13106 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13107 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13108 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13109 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13110 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13111 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13112 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13113 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13114 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13115 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13116 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13117 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13118 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13119 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13120 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13121 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13122 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13123 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13124 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13125 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13126 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13127 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13128 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13129 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13130 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13131 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13132 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13133 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13134 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13135 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13136 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13137 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13138 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13139 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13140
13141 LTCC='$LTCC'
13142 LTCFLAGS='$LTCFLAGS'
13143 compiler='$compiler_DEFAULT'
13144
13145 # A function that is used when there is no print builtin or printf.
13146 func_fallback_echo ()
13147 {
13148   eval 'cat <<_LTECHO_EOF
13149 \$1
13150 _LTECHO_EOF'
13151 }
13152
13153 # Quote evaled strings.
13154 for var in SHELL \
13155 ECHO \
13156 PATH_SEPARATOR \
13157 SED \
13158 GREP \
13159 EGREP \
13160 FGREP \
13161 LD \
13162 NM \
13163 LN_S \
13164 lt_SP2NL \
13165 lt_NL2SP \
13166 reload_flag \
13167 OBJDUMP \
13168 deplibs_check_method \
13169 file_magic_cmd \
13170 file_magic_glob \
13171 want_nocaseglob \
13172 DLLTOOL \
13173 sharedlib_from_linklib_cmd \
13174 AR \
13175 AR_FLAGS \
13176 archiver_list_spec \
13177 STRIP \
13178 RANLIB \
13179 CC \
13180 CFLAGS \
13181 compiler \
13182 lt_cv_sys_global_symbol_pipe \
13183 lt_cv_sys_global_symbol_to_cdecl \
13184 lt_cv_sys_global_symbol_to_c_name_address \
13185 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13186 nm_file_list_spec \
13187 lt_prog_compiler_no_builtin_flag \
13188 lt_prog_compiler_pic \
13189 lt_prog_compiler_wl \
13190 lt_prog_compiler_static \
13191 lt_cv_prog_compiler_c_o \
13192 need_locks \
13193 MANIFEST_TOOL \
13194 DSYMUTIL \
13195 NMEDIT \
13196 LIPO \
13197 OTOOL \
13198 OTOOL64 \
13199 shrext_cmds \
13200 export_dynamic_flag_spec \
13201 whole_archive_flag_spec \
13202 compiler_needs_object \
13203 with_gnu_ld \
13204 allow_undefined_flag \
13205 no_undefined_flag \
13206 hardcode_libdir_flag_spec \
13207 hardcode_libdir_separator \
13208 exclude_expsyms \
13209 include_expsyms \
13210 file_list_spec \
13211 variables_saved_for_relink \
13212 libname_spec \
13213 library_names_spec \
13214 soname_spec \
13215 install_override_mode \
13216 finish_eval \
13217 old_striplib \
13218 striplib; do
13219     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13220     *[\\\\\\\`\\"\\\$]*)
13221       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13222       ;;
13223     *)
13224       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13225       ;;
13226     esac
13227 done
13228
13229 # Double-quote double-evaled strings.
13230 for var in reload_cmds \
13231 old_postinstall_cmds \
13232 old_postuninstall_cmds \
13233 old_archive_cmds \
13234 extract_expsyms_cmds \
13235 old_archive_from_new_cmds \
13236 old_archive_from_expsyms_cmds \
13237 archive_cmds \
13238 archive_expsym_cmds \
13239 module_cmds \
13240 module_expsym_cmds \
13241 export_symbols_cmds \
13242 prelink_cmds \
13243 postlink_cmds \
13244 postinstall_cmds \
13245 postuninstall_cmds \
13246 finish_cmds \
13247 sys_lib_search_path_spec \
13248 sys_lib_dlsearch_path_spec; do
13249     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13250     *[\\\\\\\`\\"\\\$]*)
13251       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13252       ;;
13253     *)
13254       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13255       ;;
13256     esac
13257 done
13258
13259 ac_aux_dir='$ac_aux_dir'
13260 xsi_shell='$xsi_shell'
13261 lt_shell_append='$lt_shell_append'
13262
13263 # See if we are running on zsh, and set the options which allow our
13264 # commands through without removal of \ escapes INIT.
13265 if test -n "\${ZSH_VERSION+set}" ; then
13266    setopt NO_GLOB_SUBST
13267 fi
13268
13269
13270     PACKAGE='$PACKAGE'
13271     VERSION='$VERSION'
13272     TIMESTAMP='$TIMESTAMP'
13273     RM='$RM'
13274     ofile='$ofile'
13275
13276
13277
13278
13279 _ACEOF
13280
13281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13282
13283 # Handling of arguments.
13284 for ac_config_target in $ac_config_targets
13285 do
13286   case $ac_config_target in
13287     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13288     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13289     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13290
13291   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13292   esac
13293 done
13294
13295
13296 # If the user did not use the arguments to specify the items to instantiate,
13297 # then the envvar interface is used.  Set only those that are not.
13298 # We use the long form for the default assignment because of an extremely
13299 # bizarre bug on SunOS 4.1.3.
13300 if $ac_need_defaults; then
13301   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13302   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13303 fi
13304
13305 # Have a temporary directory for convenience.  Make it in the build tree
13306 # simply because there is no reason against having it here, and in addition,
13307 # creating and moving files from /tmp can sometimes cause problems.
13308 # Hook for its removal unless debugging.
13309 # Note that there is a small window in which the directory will not be cleaned:
13310 # after its creation but before its name has been assigned to `$tmp'.
13311 $debug ||
13312 {
13313   tmp= ac_tmp=
13314   trap 'exit_status=$?
13315   : "${ac_tmp:=$tmp}"
13316   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13317 ' 0
13318   trap 'as_fn_exit 1' 1 2 13 15
13319 }
13320 # Create a (secure) tmp directory for tmp files.
13321
13322 {
13323   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13324   test -d "$tmp"
13325 }  ||
13326 {
13327   tmp=./conf$$-$RANDOM
13328   (umask 077 && mkdir "$tmp")
13329 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13330 ac_tmp=$tmp
13331
13332 # Set up the scripts for CONFIG_FILES section.
13333 # No need to generate them if there are no CONFIG_FILES.
13334 # This happens for instance with `./config.status config.h'.
13335 if test -n "$CONFIG_FILES"; then
13336
13337
13338 ac_cr=`echo X | tr X '\015'`
13339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13340 # But we know of no other shell where ac_cr would be empty at this
13341 # point, so we can use a bashism as a fallback.
13342 if test "x$ac_cr" = x; then
13343   eval ac_cr=\$\'\\r\'
13344 fi
13345 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13347   ac_cs_awk_cr='\\r'
13348 else
13349   ac_cs_awk_cr=$ac_cr
13350 fi
13351
13352 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13353 _ACEOF
13354
13355
13356 {
13357   echo "cat >conf$$subs.awk <<_ACEOF" &&
13358   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13359   echo "_ACEOF"
13360 } >conf$$subs.sh ||
13361   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13363 ac_delim='%!_!# '
13364 for ac_last_try in false false false false false :; do
13365   . ./conf$$subs.sh ||
13366     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13367
13368   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13369   if test $ac_delim_n = $ac_delim_num; then
13370     break
13371   elif $ac_last_try; then
13372     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13373   else
13374     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13375   fi
13376 done
13377 rm -f conf$$subs.sh
13378
13379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13380 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13381 _ACEOF
13382 sed -n '
13383 h
13384 s/^/S["/; s/!.*/"]=/
13385 p
13386 g
13387 s/^[^!]*!//
13388 :repl
13389 t repl
13390 s/'"$ac_delim"'$//
13391 t delim
13392 :nl
13393 h
13394 s/\(.\{148\}\)..*/\1/
13395 t more1
13396 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13397 p
13398 n
13399 b repl
13400 :more1
13401 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13402 p
13403 g
13404 s/.\{148\}//
13405 t nl
13406 :delim
13407 h
13408 s/\(.\{148\}\)..*/\1/
13409 t more2
13410 s/["\\]/\\&/g; s/^/"/; s/$/"/
13411 p
13412 b
13413 :more2
13414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13415 p
13416 g
13417 s/.\{148\}//
13418 t delim
13419 ' <conf$$subs.awk | sed '
13420 /^[^""]/{
13421   N
13422   s/\n//
13423 }
13424 ' >>$CONFIG_STATUS || ac_write_fail=1
13425 rm -f conf$$subs.awk
13426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13427 _ACAWK
13428 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13429   for (key in S) S_is_set[key] = 1
13430   FS = "\a"
13431
13432 }
13433 {
13434   line = $ 0
13435   nfields = split(line, field, "@")
13436   substed = 0
13437   len = length(field[1])
13438   for (i = 2; i < nfields; i++) {
13439     key = field[i]
13440     keylen = length(key)
13441     if (S_is_set[key]) {
13442       value = S[key]
13443       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13444       len += length(value) + length(field[++i])
13445       substed = 1
13446     } else
13447       len += 1 + keylen
13448   }
13449
13450   print line
13451 }
13452
13453 _ACAWK
13454 _ACEOF
13455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13456 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13457   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13458 else
13459   cat
13460 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13461   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13462 _ACEOF
13463
13464 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13465 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13466 # trailing colons and then remove the whole line if VPATH becomes empty
13467 # (actually we leave an empty line to preserve line numbers).
13468 if test "x$srcdir" = x.; then
13469   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13470 h
13471 s///
13472 s/^/:/
13473 s/[      ]*$/:/
13474 s/:\$(srcdir):/:/g
13475 s/:\${srcdir}:/:/g
13476 s/:@srcdir@:/:/g
13477 s/^:*//
13478 s/:*$//
13479 x
13480 s/\(=[   ]*\).*/\1/
13481 G
13482 s/\n//
13483 s/^[^=]*=[       ]*$//
13484 }'
13485 fi
13486
13487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13488 fi # test -n "$CONFIG_FILES"
13489
13490
13491 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
13492 shift
13493 for ac_tag
13494 do
13495   case $ac_tag in
13496   :[FHLC]) ac_mode=$ac_tag; continue;;
13497   esac
13498   case $ac_mode$ac_tag in
13499   :[FHL]*:*);;
13500   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13501   :[FH]-) ac_tag=-:-;;
13502   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13503   esac
13504   ac_save_IFS=$IFS
13505   IFS=:
13506   set x $ac_tag
13507   IFS=$ac_save_IFS
13508   shift
13509   ac_file=$1
13510   shift
13511
13512   case $ac_mode in
13513   :L) ac_source=$1;;
13514   :[FH])
13515     ac_file_inputs=
13516     for ac_f
13517     do
13518       case $ac_f in
13519       -) ac_f="$ac_tmp/stdin";;
13520       *) # Look for the file first in the build tree, then in the source tree
13521          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13522          # because $ac_f cannot contain `:'.
13523          test -f "$ac_f" ||
13524            case $ac_f in
13525            [\\/$]*) false;;
13526            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13527            esac ||
13528            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13529       esac
13530       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13531       as_fn_append ac_file_inputs " '$ac_f'"
13532     done
13533
13534     # Let's still pretend it is `configure' which instantiates (i.e., don't
13535     # use $as_me), people would be surprised to read:
13536     #    /* config.h.  Generated by config.status.  */
13537     configure_input='Generated from '`
13538           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13539         `' by configure.'
13540     if test x"$ac_file" != x-; then
13541       configure_input="$ac_file.  $configure_input"
13542       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13543 $as_echo "$as_me: creating $ac_file" >&6;}
13544     fi
13545     # Neutralize special characters interpreted by sed in replacement strings.
13546     case $configure_input in #(
13547     *\&* | *\|* | *\\* )
13548        ac_sed_conf_input=`$as_echo "$configure_input" |
13549        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13550     *) ac_sed_conf_input=$configure_input;;
13551     esac
13552
13553     case $ac_tag in
13554     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13555       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13556     esac
13557     ;;
13558   esac
13559
13560   ac_dir=`$as_dirname -- "$ac_file" ||
13561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13562          X"$ac_file" : 'X\(//\)[^/]' \| \
13563          X"$ac_file" : 'X\(//\)$' \| \
13564          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13565 $as_echo X"$ac_file" |
13566     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13567             s//\1/
13568             q
13569           }
13570           /^X\(\/\/\)[^/].*/{
13571             s//\1/
13572             q
13573           }
13574           /^X\(\/\/\)$/{
13575             s//\1/
13576             q
13577           }
13578           /^X\(\/\).*/{
13579             s//\1/
13580             q
13581           }
13582           s/.*/./; q'`
13583   as_dir="$ac_dir"; as_fn_mkdir_p
13584   ac_builddir=.
13585
13586 case "$ac_dir" in
13587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13588 *)
13589   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13590   # A ".." for each directory in $ac_dir_suffix.
13591   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13592   case $ac_top_builddir_sub in
13593   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13594   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13595   esac ;;
13596 esac
13597 ac_abs_top_builddir=$ac_pwd
13598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13599 # for backward compatibility:
13600 ac_top_builddir=$ac_top_build_prefix
13601
13602 case $srcdir in
13603   .)  # We are building in place.
13604     ac_srcdir=.
13605     ac_top_srcdir=$ac_top_builddir_sub
13606     ac_abs_top_srcdir=$ac_pwd ;;
13607   [\\/]* | ?:[\\/]* )  # Absolute name.
13608     ac_srcdir=$srcdir$ac_dir_suffix;
13609     ac_top_srcdir=$srcdir
13610     ac_abs_top_srcdir=$srcdir ;;
13611   *) # Relative name.
13612     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13613     ac_top_srcdir=$ac_top_build_prefix$srcdir
13614     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13615 esac
13616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13617
13618
13619   case $ac_mode in
13620   :F)
13621   #
13622   # CONFIG_FILE
13623   #
13624
13625   case $INSTALL in
13626   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13627   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13628   esac
13629   ac_MKDIR_P=$MKDIR_P
13630   case $MKDIR_P in
13631   [\\/$]* | ?:[\\/]* ) ;;
13632   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13633   esac
13634 _ACEOF
13635
13636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13637 # If the template does not know about datarootdir, expand it.
13638 # FIXME: This hack should be removed a few years after 2.60.
13639 ac_datarootdir_hack=; ac_datarootdir_seen=
13640 ac_sed_dataroot='
13641 /datarootdir/ {
13642   p
13643   q
13644 }
13645 /@datadir@/p
13646 /@docdir@/p
13647 /@infodir@/p
13648 /@localedir@/p
13649 /@mandir@/p'
13650 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13651 *datarootdir*) ac_datarootdir_seen=yes;;
13652 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13653   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13654 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13655 _ACEOF
13656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13657   ac_datarootdir_hack='
13658   s&@datadir@&$datadir&g
13659   s&@docdir@&$docdir&g
13660   s&@infodir@&$infodir&g
13661   s&@localedir@&$localedir&g
13662   s&@mandir@&$mandir&g
13663   s&\\\${datarootdir}&$datarootdir&g' ;;
13664 esac
13665 _ACEOF
13666
13667 # Neutralize VPATH when `$srcdir' = `.'.
13668 # Shell code in configure.ac might set extrasub.
13669 # FIXME: do we really want to maintain this feature?
13670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13671 ac_sed_extra="$ac_vpsub
13672 $extrasub
13673 _ACEOF
13674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13675 :t
13676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13677 s|@configure_input@|$ac_sed_conf_input|;t t
13678 s&@top_builddir@&$ac_top_builddir_sub&;t t
13679 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13680 s&@srcdir@&$ac_srcdir&;t t
13681 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13682 s&@top_srcdir@&$ac_top_srcdir&;t t
13683 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13684 s&@builddir@&$ac_builddir&;t t
13685 s&@abs_builddir@&$ac_abs_builddir&;t t
13686 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13687 s&@INSTALL@&$ac_INSTALL&;t t
13688 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13689 $ac_datarootdir_hack
13690 "
13691 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13692   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13693
13694 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13695   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13696   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13697       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13698   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13699 which seems to be undefined.  Please make sure it is defined" >&5
13700 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13701 which seems to be undefined.  Please make sure it is defined" >&2;}
13702
13703   rm -f "$ac_tmp/stdin"
13704   case $ac_file in
13705   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13706   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13707   esac \
13708   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13709  ;;
13710
13711
13712   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13713 $as_echo "$as_me: executing $ac_file commands" >&6;}
13714  ;;
13715   esac
13716
13717
13718   case $ac_file$ac_mode in
13719     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13720   # Older Autoconf quotes --file arguments for eval, but not when files
13721   # are listed without --file.  Let's play safe and only enable the eval
13722   # if we detect the quoting.
13723   case $CONFIG_FILES in
13724   *\'*) eval set x "$CONFIG_FILES" ;;
13725   *)   set x $CONFIG_FILES ;;
13726   esac
13727   shift
13728   for mf
13729   do
13730     # Strip MF so we end up with the name of the file.
13731     mf=`echo "$mf" | sed -e 's/:.*$//'`
13732     # Check whether this is an Automake generated Makefile or not.
13733     # We used to match only the files named 'Makefile.in', but
13734     # some people rename them; so instead we look at the file content.
13735     # Grep'ing the first line is not enough: some people post-process
13736     # each Makefile.in and add a new line on top of each file to say so.
13737     # Grep'ing the whole file is not good either: AIX grep has a line
13738     # limit of 2048, but all sed's we know have understand at least 4000.
13739     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13740       dirpart=`$as_dirname -- "$mf" ||
13741 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13742          X"$mf" : 'X\(//\)[^/]' \| \
13743          X"$mf" : 'X\(//\)$' \| \
13744          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13745 $as_echo X"$mf" |
13746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13747             s//\1/
13748             q
13749           }
13750           /^X\(\/\/\)[^/].*/{
13751             s//\1/
13752             q
13753           }
13754           /^X\(\/\/\)$/{
13755             s//\1/
13756             q
13757           }
13758           /^X\(\/\).*/{
13759             s//\1/
13760             q
13761           }
13762           s/.*/./; q'`
13763     else
13764       continue
13765     fi
13766     # Extract the definition of DEPDIR, am__include, and am__quote
13767     # from the Makefile without running 'make'.
13768     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13769     test -z "$DEPDIR" && continue
13770     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13771     test -z "$am__include" && continue
13772     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13773     # Find all dependency output files, they are included files with
13774     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13775     # simplest approach to changing $(DEPDIR) to its actual value in the
13776     # expansion.
13777     for file in `sed -n "
13778       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13779          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13780       # Make sure the directory exists.
13781       test -f "$dirpart/$file" && continue
13782       fdir=`$as_dirname -- "$file" ||
13783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13784          X"$file" : 'X\(//\)[^/]' \| \
13785          X"$file" : 'X\(//\)$' \| \
13786          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13787 $as_echo X"$file" |
13788     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13789             s//\1/
13790             q
13791           }
13792           /^X\(\/\/\)[^/].*/{
13793             s//\1/
13794             q
13795           }
13796           /^X\(\/\/\)$/{
13797             s//\1/
13798             q
13799           }
13800           /^X\(\/\).*/{
13801             s//\1/
13802             q
13803           }
13804           s/.*/./; q'`
13805       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13806       # echo "creating $dirpart/$file"
13807       echo '# dummy' > "$dirpart/$file"
13808     done
13809   done
13810 }
13811  ;;
13812     "libtool":C)
13813
13814     # See if we are running on zsh, and set the options which allow our
13815     # commands through without removal of \ escapes.
13816     if test -n "${ZSH_VERSION+set}" ; then
13817       setopt NO_GLOB_SUBST
13818     fi
13819
13820     cfgfile="${ofile}T"
13821     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13822     $RM "$cfgfile"
13823
13824     cat <<_LT_EOF >> "$cfgfile"
13825 #! $SHELL
13826
13827 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13828 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13829 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13830 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13831 #
13832 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13833 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13834 #                 Foundation, Inc.
13835 #   Written by Gordon Matzigkeit, 1996
13836 #
13837 #   This file is part of GNU Libtool.
13838 #
13839 # GNU Libtool is free software; you can redistribute it and/or
13840 # modify it under the terms of the GNU General Public License as
13841 # published by the Free Software Foundation; either version 2 of
13842 # the License, or (at your option) any later version.
13843 #
13844 # As a special exception to the GNU General Public License,
13845 # if you distribute this file as part of a program or library that
13846 # is built using GNU Libtool, you may include this file under the
13847 # same distribution terms that you use for the rest of that program.
13848 #
13849 # GNU Libtool is distributed in the hope that it will be useful,
13850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13852 # GNU General Public License for more details.
13853 #
13854 # You should have received a copy of the GNU General Public License
13855 # along with GNU Libtool; see the file COPYING.  If not, a copy
13856 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13857 # obtained by writing to the Free Software Foundation, Inc.,
13858 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13859
13860
13861 # The names of the tagged configurations supported by this script.
13862 available_tags=""
13863
13864 # ### BEGIN LIBTOOL CONFIG
13865
13866 # Which release of libtool.m4 was used?
13867 macro_version=$macro_version
13868 macro_revision=$macro_revision
13869
13870 # Whether or not to build shared libraries.
13871 build_libtool_libs=$enable_shared
13872
13873 # Whether or not to build static libraries.
13874 build_old_libs=$enable_static
13875
13876 # What type of objects to build.
13877 pic_mode=$pic_mode
13878
13879 # Whether or not to optimize for fast installation.
13880 fast_install=$enable_fast_install
13881
13882 # Shell to use when invoking shell scripts.
13883 SHELL=$lt_SHELL
13884
13885 # An echo program that protects backslashes.
13886 ECHO=$lt_ECHO
13887
13888 # The PATH separator for the build system.
13889 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13890
13891 # The host system.
13892 host_alias=$host_alias
13893 host=$host
13894 host_os=$host_os
13895
13896 # The build system.
13897 build_alias=$build_alias
13898 build=$build
13899 build_os=$build_os
13900
13901 # A sed program that does not truncate output.
13902 SED=$lt_SED
13903
13904 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13905 Xsed="\$SED -e 1s/^X//"
13906
13907 # A grep program that handles long lines.
13908 GREP=$lt_GREP
13909
13910 # An ERE matcher.
13911 EGREP=$lt_EGREP
13912
13913 # A literal string matcher.
13914 FGREP=$lt_FGREP
13915
13916 # A BSD- or MS-compatible name lister.
13917 NM=$lt_NM
13918
13919 # Whether we need soft or hard links.
13920 LN_S=$lt_LN_S
13921
13922 # What is the maximum length of a command?
13923 max_cmd_len=$max_cmd_len
13924
13925 # Object file suffix (normally "o").
13926 objext=$ac_objext
13927
13928 # Executable file suffix (normally "").
13929 exeext=$exeext
13930
13931 # whether the shell understands "unset".
13932 lt_unset=$lt_unset
13933
13934 # turn spaces into newlines.
13935 SP2NL=$lt_lt_SP2NL
13936
13937 # turn newlines into spaces.
13938 NL2SP=$lt_lt_NL2SP
13939
13940 # convert \$build file names to \$host format.
13941 to_host_file_cmd=$lt_cv_to_host_file_cmd
13942
13943 # convert \$build files to toolchain format.
13944 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13945
13946 # An object symbol dumper.
13947 OBJDUMP=$lt_OBJDUMP
13948
13949 # Method to check whether dependent libraries are shared objects.
13950 deplibs_check_method=$lt_deplibs_check_method
13951
13952 # Command to use when deplibs_check_method = "file_magic".
13953 file_magic_cmd=$lt_file_magic_cmd
13954
13955 # How to find potential files when deplibs_check_method = "file_magic".
13956 file_magic_glob=$lt_file_magic_glob
13957
13958 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13959 want_nocaseglob=$lt_want_nocaseglob
13960
13961 # DLL creation program.
13962 DLLTOOL=$lt_DLLTOOL
13963
13964 # Command to associate shared and link libraries.
13965 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13966
13967 # The archiver.
13968 AR=$lt_AR
13969
13970 # Flags to create an archive.
13971 AR_FLAGS=$lt_AR_FLAGS
13972
13973 # How to feed a file listing to the archiver.
13974 archiver_list_spec=$lt_archiver_list_spec
13975
13976 # A symbol stripping program.
13977 STRIP=$lt_STRIP
13978
13979 # Commands used to install an old-style archive.
13980 RANLIB=$lt_RANLIB
13981 old_postinstall_cmds=$lt_old_postinstall_cmds
13982 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13983
13984 # Whether to use a lock for old archive extraction.
13985 lock_old_archive_extraction=$lock_old_archive_extraction
13986
13987 # A C compiler.
13988 LTCC=$lt_CC
13989
13990 # LTCC compiler flags.
13991 LTCFLAGS=$lt_CFLAGS
13992
13993 # Take the output of nm and produce a listing of raw symbols and C names.
13994 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13995
13996 # Transform the output of nm in a proper C declaration.
13997 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13998
13999 # Transform the output of nm in a C name address pair.
14000 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14001
14002 # Transform the output of nm in a C name address pair when lib prefix is needed.
14003 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14004
14005 # Specify filename containing input files for \$NM.
14006 nm_file_list_spec=$lt_nm_file_list_spec
14007
14008 # The root where to search for dependent libraries,and in which our libraries should be installed.
14009 lt_sysroot=$lt_sysroot
14010
14011 # The name of the directory that contains temporary libtool files.
14012 objdir=$objdir
14013
14014 # Used to examine libraries when file_magic_cmd begins with "file".
14015 MAGIC_CMD=$MAGIC_CMD
14016
14017 # Must we lock files when doing compilation?
14018 need_locks=$lt_need_locks
14019
14020 # Manifest tool.
14021 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14022
14023 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14024 DSYMUTIL=$lt_DSYMUTIL
14025
14026 # Tool to change global to local symbols on Mac OS X.
14027 NMEDIT=$lt_NMEDIT
14028
14029 # Tool to manipulate fat objects and archives on Mac OS X.
14030 LIPO=$lt_LIPO
14031
14032 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14033 OTOOL=$lt_OTOOL
14034
14035 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14036 OTOOL64=$lt_OTOOL64
14037
14038 # Old archive suffix (normally "a").
14039 libext=$libext
14040
14041 # Shared library suffix (normally ".so").
14042 shrext_cmds=$lt_shrext_cmds
14043
14044 # The commands to extract the exported symbol list from a shared archive.
14045 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14046
14047 # Variables whose values should be saved in libtool wrapper scripts and
14048 # restored at link time.
14049 variables_saved_for_relink=$lt_variables_saved_for_relink
14050
14051 # Do we need the "lib" prefix for modules?
14052 need_lib_prefix=$need_lib_prefix
14053
14054 # Do we need a version for libraries?
14055 need_version=$need_version
14056
14057 # Library versioning type.
14058 version_type=$version_type
14059
14060 # Shared library runtime path variable.
14061 runpath_var=$runpath_var
14062
14063 # Shared library path variable.
14064 shlibpath_var=$shlibpath_var
14065
14066 # Is shlibpath searched before the hard-coded library search path?
14067 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14068
14069 # Format of library name prefix.
14070 libname_spec=$lt_libname_spec
14071
14072 # List of archive names.  First name is the real one, the rest are links.
14073 # The last name is the one that the linker finds with -lNAME
14074 library_names_spec=$lt_library_names_spec
14075
14076 # The coded name of the library, if different from the real name.
14077 soname_spec=$lt_soname_spec
14078
14079 # Permission mode override for installation of shared libraries.
14080 install_override_mode=$lt_install_override_mode
14081
14082 # Command to use after installation of a shared archive.
14083 postinstall_cmds=$lt_postinstall_cmds
14084
14085 # Command to use after uninstallation of a shared archive.
14086 postuninstall_cmds=$lt_postuninstall_cmds
14087
14088 # Commands used to finish a libtool library installation in a directory.
14089 finish_cmds=$lt_finish_cmds
14090
14091 # As "finish_cmds", except a single script fragment to be evaled but
14092 # not shown.
14093 finish_eval=$lt_finish_eval
14094
14095 # Whether we should hardcode library paths into libraries.
14096 hardcode_into_libs=$hardcode_into_libs
14097
14098 # Compile-time system search path for libraries.
14099 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14100
14101 # Run-time system search path for libraries.
14102 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14103
14104 # Whether dlopen is supported.
14105 dlopen_support=$enable_dlopen
14106
14107 # Whether dlopen of programs is supported.
14108 dlopen_self=$enable_dlopen_self
14109
14110 # Whether dlopen of statically linked programs is supported.
14111 dlopen_self_static=$enable_dlopen_self_static
14112
14113 # Commands to strip libraries.
14114 old_striplib=$lt_old_striplib
14115 striplib=$lt_striplib
14116
14117
14118 # The linker used to build libraries.
14119 LD=$lt_LD
14120
14121 # How to create reloadable object files.
14122 reload_flag=$lt_reload_flag
14123 reload_cmds=$lt_reload_cmds
14124
14125 # Commands used to build an old-style archive.
14126 old_archive_cmds=$lt_old_archive_cmds
14127
14128 # A language specific compiler.
14129 CC=$lt_compiler
14130
14131 # Is the compiler the GNU compiler?
14132 with_gcc=$GCC
14133
14134 # Compiler flag to turn off builtin functions.
14135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14136
14137 # Additional compiler flags for building library objects.
14138 pic_flag=$lt_lt_prog_compiler_pic
14139
14140 # How to pass a linker flag through the compiler.
14141 wl=$lt_lt_prog_compiler_wl
14142
14143 # Compiler flag to prevent dynamic linking.
14144 link_static_flag=$lt_lt_prog_compiler_static
14145
14146 # Does compiler simultaneously support -c and -o options?
14147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14148
14149 # Whether or not to add -lc for building shared libraries.
14150 build_libtool_need_lc=$archive_cmds_need_lc
14151
14152 # Whether or not to disallow shared libs when runtime libs are static.
14153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14154
14155 # Compiler flag to allow reflexive dlopens.
14156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14157
14158 # Compiler flag to generate shared objects directly from archives.
14159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14160
14161 # Whether the compiler copes with passing no objects directly.
14162 compiler_needs_object=$lt_compiler_needs_object
14163
14164 # Create an old-style archive from a shared archive.
14165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14166
14167 # Create a temporary old-style archive to link instead of a shared archive.
14168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14169
14170 # Commands used to build a shared archive.
14171 archive_cmds=$lt_archive_cmds
14172 archive_expsym_cmds=$lt_archive_expsym_cmds
14173
14174 # Commands used to build a loadable module if different from building
14175 # a shared archive.
14176 module_cmds=$lt_module_cmds
14177 module_expsym_cmds=$lt_module_expsym_cmds
14178
14179 # Whether we are building with GNU ld or not.
14180 with_gnu_ld=$lt_with_gnu_ld
14181
14182 # Flag that allows shared libraries with undefined symbols to be built.
14183 allow_undefined_flag=$lt_allow_undefined_flag
14184
14185 # Flag that enforces no undefined symbols.
14186 no_undefined_flag=$lt_no_undefined_flag
14187
14188 # Flag to hardcode \$libdir into a binary during linking.
14189 # This must work even if \$libdir does not exist
14190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14191
14192 # Whether we need a single "-rpath" flag with a separated argument.
14193 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14194
14195 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14196 # DIR into the resulting binary.
14197 hardcode_direct=$hardcode_direct
14198
14199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14200 # DIR into the resulting binary and the resulting library dependency is
14201 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14202 # library is relocated.
14203 hardcode_direct_absolute=$hardcode_direct_absolute
14204
14205 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14206 # into the resulting binary.
14207 hardcode_minus_L=$hardcode_minus_L
14208
14209 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14210 # into the resulting binary.
14211 hardcode_shlibpath_var=$hardcode_shlibpath_var
14212
14213 # Set to "yes" if building a shared library automatically hardcodes DIR
14214 # into the library and all subsequent libraries and executables linked
14215 # against it.
14216 hardcode_automatic=$hardcode_automatic
14217
14218 # Set to yes if linker adds runtime paths of dependent libraries
14219 # to runtime path list.
14220 inherit_rpath=$inherit_rpath
14221
14222 # Whether libtool must link a program against all its dependency libraries.
14223 link_all_deplibs=$link_all_deplibs
14224
14225 # Set to "yes" if exported symbols are required.
14226 always_export_symbols=$always_export_symbols
14227
14228 # The commands to list exported symbols.
14229 export_symbols_cmds=$lt_export_symbols_cmds
14230
14231 # Symbols that should not be listed in the preloaded symbols.
14232 exclude_expsyms=$lt_exclude_expsyms
14233
14234 # Symbols that must always be exported.
14235 include_expsyms=$lt_include_expsyms
14236
14237 # Commands necessary for linking programs (against libraries) with templates.
14238 prelink_cmds=$lt_prelink_cmds
14239
14240 # Commands necessary for finishing linking programs.
14241 postlink_cmds=$lt_postlink_cmds
14242
14243 # Specify filename containing input files.
14244 file_list_spec=$lt_file_list_spec
14245
14246 # How to hardcode a shared library path into an executable.
14247 hardcode_action=$hardcode_action
14248
14249 # ### END LIBTOOL CONFIG
14250
14251 _LT_EOF
14252
14253   case $host_os in
14254   aix3*)
14255     cat <<\_LT_EOF >> "$cfgfile"
14256 # AIX sometimes has problems with the GCC collect2 program.  For some
14257 # reason, if we set the COLLECT_NAMES environment variable, the problems
14258 # vanish in a puff of smoke.
14259 if test "X${COLLECT_NAMES+set}" != Xset; then
14260   COLLECT_NAMES=
14261   export COLLECT_NAMES
14262 fi
14263 _LT_EOF
14264     ;;
14265   esac
14266
14267
14268 ltmain="$ac_aux_dir/ltmain.sh"
14269
14270
14271   # We use sed instead of cat because bash on DJGPP gets confused if
14272   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14273   # text mode, it properly converts lines to CR/LF.  This bash problem
14274   # is reportedly fixed, but why not run on old versions too?
14275   sed '$q' "$ltmain" >> "$cfgfile" \
14276      || (rm -f "$cfgfile"; exit 1)
14277
14278   if test x"$xsi_shell" = xyes; then
14279   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14280 func_dirname ()\
14281 {\
14282 \    case ${1} in\
14283 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14284 \      *  ) func_dirname_result="${3}" ;;\
14285 \    esac\
14286 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14287   && mv -f "$cfgfile.tmp" "$cfgfile" \
14288     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14289 test 0 -eq $? || _lt_function_replace_fail=:
14290
14291
14292   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14293 func_basename ()\
14294 {\
14295 \    func_basename_result="${1##*/}"\
14296 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14297   && mv -f "$cfgfile.tmp" "$cfgfile" \
14298     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14299 test 0 -eq $? || _lt_function_replace_fail=:
14300
14301
14302   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14303 func_dirname_and_basename ()\
14304 {\
14305 \    case ${1} in\
14306 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14307 \      *  ) func_dirname_result="${3}" ;;\
14308 \    esac\
14309 \    func_basename_result="${1##*/}"\
14310 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14311   && mv -f "$cfgfile.tmp" "$cfgfile" \
14312     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14313 test 0 -eq $? || _lt_function_replace_fail=:
14314
14315
14316   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14317 func_stripname ()\
14318 {\
14319 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14320 \    # positional parameters, so assign one to ordinary parameter first.\
14321 \    func_stripname_result=${3}\
14322 \    func_stripname_result=${func_stripname_result#"${1}"}\
14323 \    func_stripname_result=${func_stripname_result%"${2}"}\
14324 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14325   && mv -f "$cfgfile.tmp" "$cfgfile" \
14326     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14327 test 0 -eq $? || _lt_function_replace_fail=:
14328
14329
14330   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14331 func_split_long_opt ()\
14332 {\
14333 \    func_split_long_opt_name=${1%%=*}\
14334 \    func_split_long_opt_arg=${1#*=}\
14335 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14336   && mv -f "$cfgfile.tmp" "$cfgfile" \
14337     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14338 test 0 -eq $? || _lt_function_replace_fail=:
14339
14340
14341   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14342 func_split_short_opt ()\
14343 {\
14344 \    func_split_short_opt_arg=${1#??}\
14345 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14346 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14347   && mv -f "$cfgfile.tmp" "$cfgfile" \
14348     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14349 test 0 -eq $? || _lt_function_replace_fail=:
14350
14351
14352   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14353 func_lo2o ()\
14354 {\
14355 \    case ${1} in\
14356 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14357 \      *)    func_lo2o_result=${1} ;;\
14358 \    esac\
14359 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14360   && mv -f "$cfgfile.tmp" "$cfgfile" \
14361     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14362 test 0 -eq $? || _lt_function_replace_fail=:
14363
14364
14365   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14366 func_xform ()\
14367 {\
14368     func_xform_result=${1%.*}.lo\
14369 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14370   && mv -f "$cfgfile.tmp" "$cfgfile" \
14371     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14372 test 0 -eq $? || _lt_function_replace_fail=:
14373
14374
14375   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14376 func_arith ()\
14377 {\
14378     func_arith_result=$(( $* ))\
14379 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14380   && mv -f "$cfgfile.tmp" "$cfgfile" \
14381     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14382 test 0 -eq $? || _lt_function_replace_fail=:
14383
14384
14385   sed -e '/^func_len ()$/,/^} # func_len /c\
14386 func_len ()\
14387 {\
14388     func_len_result=${#1}\
14389 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14390   && mv -f "$cfgfile.tmp" "$cfgfile" \
14391     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14392 test 0 -eq $? || _lt_function_replace_fail=:
14393
14394 fi
14395
14396 if test x"$lt_shell_append" = xyes; then
14397   sed -e '/^func_append ()$/,/^} # func_append /c\
14398 func_append ()\
14399 {\
14400     eval "${1}+=\\${2}"\
14401 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14402   && mv -f "$cfgfile.tmp" "$cfgfile" \
14403     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14404 test 0 -eq $? || _lt_function_replace_fail=:
14405
14406
14407   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14408 func_append_quoted ()\
14409 {\
14410 \    func_quote_for_eval "${2}"\
14411 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14412 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14413   && mv -f "$cfgfile.tmp" "$cfgfile" \
14414     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14415 test 0 -eq $? || _lt_function_replace_fail=:
14416
14417
14418   # Save a `func_append' function call where possible by direct use of '+='
14419   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14420     && mv -f "$cfgfile.tmp" "$cfgfile" \
14421       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14422   test 0 -eq $? || _lt_function_replace_fail=:
14423 else
14424   # Save a `func_append' function call even when '+=' is not available
14425   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14426     && mv -f "$cfgfile.tmp" "$cfgfile" \
14427       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14428   test 0 -eq $? || _lt_function_replace_fail=:
14429 fi
14430
14431 if test x"$_lt_function_replace_fail" = x":"; then
14432   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14433 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14434 fi
14435
14436
14437    mv -f "$cfgfile" "$ofile" ||
14438     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14439   chmod +x "$ofile"
14440
14441  ;;
14442
14443   esac
14444 done # for ac_tag
14445
14446
14447 as_fn_exit 0
14448 _ACEOF
14449 ac_clean_files=$ac_clean_files_save
14450
14451 test $ac_write_fail = 0 ||
14452   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14453
14454
14455 # configure is writing to config.log, and then calls config.status.
14456 # config.status does its own redirection, appending to config.log.
14457 # Unfortunately, on DOS this fails, as config.log is still kept open
14458 # by configure, so config.status won't be able to write to it; its
14459 # output is simply discarded.  So we exec the FD to /dev/null,
14460 # effectively closing config.log, so it can be properly (re)opened and
14461 # appended to by config.status.  When coming back to configure, we
14462 # need to make the FD available again.
14463 if test "$no_create" != yes; then
14464   ac_cs_success=:
14465   ac_config_status_args=
14466   test "$silent" = yes &&
14467     ac_config_status_args="$ac_config_status_args --quiet"
14468   exec 5>/dev/null
14469   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14470   exec 5>>config.log
14471   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14472   # would make configure fail if this is the last instruction.
14473   $ac_cs_success || as_fn_exit 1
14474 fi
14475 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14476   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14477 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14478 fi
14479