Bump to lzo 2.10
[platform/upstream/lzo.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for LZO 2.10.
4 #
5 # Report bugs to <markus@oberhumer.com>.
6 #
7 # Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer.
8 # All Rights Reserved.
9 # This configure script may be copied, distributed and modified under the
10 # terms of the GNU General Public License; see COPYING for more details.
11 #
12 #
13 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
14 #
15 #
16 # This configure script is free software; the Free Software Foundation
17 # gives unlimited permission to copy, distribute and modify it.
18 ## -------------------- ##
19 ## M4sh Initialization. ##
20 ## -------------------- ##
21
22 # Be more Bourne compatible
23 DUALCASE=1; export DUALCASE # for MKS sh
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25   emulate sh
26   NULLCMD=:
27   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28   # is contrary to our usage.  Disable this feature.
29   alias -g '${1+"$@"}'='"$@"'
30   setopt NO_GLOB_SUBST
31 else
32   case `(set -o) 2>/dev/null` in #(
33   *posix*) :
34     set -o posix ;; #(
35   *) :
36      ;;
37 esac
38 fi
39
40
41 as_nl='
42 '
43 export as_nl
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 # Prefer a ksh shell builtin over an external printf program on Solaris,
49 # but without wasting forks for bash or zsh.
50 if test -z "$BASH_VERSION$ZSH_VERSION" \
51     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='print -r --'
53   as_echo_n='print -rn --'
54 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55   as_echo='printf %s\n'
56   as_echo_n='printf %s'
57 else
58   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60     as_echo_n='/usr/ucb/echo -n'
61   else
62     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63     as_echo_n_body='eval
64       arg=$1;
65       case $arg in #(
66       *"$as_nl"*)
67         expr "X$arg" : "X\\(.*\\)$as_nl";
68         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69       esac;
70       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71     '
72     export as_echo_n_body
73     as_echo_n='sh -c $as_echo_n_body as_echo'
74   fi
75   export as_echo_body
76   as_echo='sh -c $as_echo_body as_echo'
77 fi
78
79 # The user is always right.
80 if test "${PATH_SEPARATOR+set}" != set; then
81   PATH_SEPARATOR=:
82   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84       PATH_SEPARATOR=';'
85   }
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 as_myself=
98 case $0 in #((
99   *[\\/]* ) as_myself=$0 ;;
100   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 for as_dir in $PATH
102 do
103   IFS=$as_save_IFS
104   test -z "$as_dir" && as_dir=.
105     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106   done
107 IFS=$as_save_IFS
108
109      ;;
110 esac
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x; then
114   as_myself=$0
115 fi
116 if test ! -f "$as_myself"; then
117   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118   exit 1
119 fi
120
121 # Unset variables that we do not need and which cause bugs (e.g. in
122 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
123 # suppresses any "Segmentation fault" message there.  '((' could
124 # trigger a bug in pdksh 5.2.14.
125 for as_var in BASH_ENV ENV MAIL MAILPATH
126 do eval test x\${$as_var+set} = xset \
127   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
128 done
129 PS1='$ '
130 PS2='> '
131 PS4='+ '
132
133 # NLS nuisances.
134 LC_ALL=C
135 export LC_ALL
136 LANGUAGE=C
137 export LANGUAGE
138
139 # CDPATH.
140 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
141
142 # Use a proper internal environment variable to ensure we don't fall
143   # into an infinite loop, continuously re-executing ourselves.
144   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
145     _as_can_reexec=no; export _as_can_reexec;
146     # We cannot yet assume a decent shell, so we have to provide a
147 # neutralization value for shells without unset; and this also
148 # works around shells that cannot unset nonexistent variables.
149 # Preserve -v and -x to the replacement shell.
150 BASH_ENV=/dev/null
151 ENV=/dev/null
152 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
153 case $- in # ((((
154   *v*x* | *x*v* ) as_opts=-vx ;;
155   *v* ) as_opts=-v ;;
156   *x* ) as_opts=-x ;;
157   * ) as_opts= ;;
158 esac
159 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
160 # Admittedly, this is quite paranoid, since all the known shells bail
161 # out after a failed `exec'.
162 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
163 as_fn_exit 255
164   fi
165   # We don't want this to propagate to other subprocesses.
166           { _as_can_reexec=; unset _as_can_reexec;}
167 if test "x$CONFIG_SHELL" = x; then
168   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
169   emulate sh
170   NULLCMD=:
171   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
172   # is contrary to our usage.  Disable this feature.
173   alias -g '\${1+\"\$@\"}'='\"\$@\"'
174   setopt NO_GLOB_SUBST
175 else
176   case \`(set -o) 2>/dev/null\` in #(
177   *posix*) :
178     set -o posix ;; #(
179   *) :
180      ;;
181 esac
182 fi
183 "
184   as_required="as_fn_return () { (exit \$1); }
185 as_fn_success () { as_fn_return 0; }
186 as_fn_failure () { as_fn_return 1; }
187 as_fn_ret_success () { return 0; }
188 as_fn_ret_failure () { return 1; }
189
190 exitcode=0
191 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
192 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
193 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
194 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
195 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
196
197 else
198   exitcode=1; echo positional parameters were not saved.
199 fi
200 test x\$exitcode = x0 || exit 1
201 test -x / || exit 1"
202   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
203   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
204   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
205   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
206 test \$(( 1 + 1 )) = 2 || exit 1
207
208   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
209     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
210     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
211     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
212     PATH=/empty FPATH=/empty; export PATH FPATH
213     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
214       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
215   if (eval "$as_required") 2>/dev/null; then :
216   as_have_required=yes
217 else
218   as_have_required=no
219 fi
220   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
221
222 else
223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 as_found=false
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227   IFS=$as_save_IFS
228   test -z "$as_dir" && as_dir=.
229   as_found=:
230   case $as_dir in #(
231          /*)
232            for as_base in sh bash ksh sh5; do
233              # Try only shells that exist, to save several forks.
234              as_shell=$as_dir/$as_base
235              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
237   CONFIG_SHELL=$as_shell as_have_required=yes
238                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239   break 2
240 fi
241 fi
242            done;;
243        esac
244   as_found=false
245 done
246 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
247               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
248   CONFIG_SHELL=$SHELL as_have_required=yes
249 fi; }
250 IFS=$as_save_IFS
251
252
253       if test "x$CONFIG_SHELL" != x; then :
254   export CONFIG_SHELL
255              # We cannot yet assume a decent shell, so we have to provide a
256 # neutralization value for shells without unset; and this also
257 # works around shells that cannot unset nonexistent variables.
258 # Preserve -v and -x to the replacement shell.
259 BASH_ENV=/dev/null
260 ENV=/dev/null
261 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
262 case $- in # ((((
263   *v*x* | *x*v* ) as_opts=-vx ;;
264   *v* ) as_opts=-v ;;
265   *x* ) as_opts=-x ;;
266   * ) as_opts= ;;
267 esac
268 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
269 # Admittedly, this is quite paranoid, since all the known shells bail
270 # out after a failed `exec'.
271 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 exit 255
273 fi
274
275     if test x$as_have_required = xno; then :
276   $as_echo "$0: This script requires a shell more modern than all"
277   $as_echo "$0: the shells that I found on your system."
278   if test x${ZSH_VERSION+set} = xset ; then
279     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
280     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
281   else
282     $as_echo "$0: Please tell bug-autoconf@gnu.org and
283 $0: markus@oberhumer.com about your system, including any
284 $0: error possibly output before this message. Then install
285 $0: a modern shell, or manually run the script under such a
286 $0: shell if you do have one."
287   fi
288   exit 1
289 fi
290 fi
291 fi
292 SHELL=${CONFIG_SHELL-/bin/sh}
293 export SHELL
294 # Unset more variables known to interfere with behavior of common tools.
295 CLICOLOR_FORCE= GREP_OPTIONS=
296 unset CLICOLOR_FORCE GREP_OPTIONS
297
298 ## --------------------- ##
299 ## M4sh Shell Functions. ##
300 ## --------------------- ##
301 # as_fn_unset VAR
302 # ---------------
303 # Portably unset VAR.
304 as_fn_unset ()
305 {
306   { eval $1=; unset $1;}
307 }
308 as_unset=as_fn_unset
309
310 # as_fn_set_status STATUS
311 # -----------------------
312 # Set $? to STATUS, without forking.
313 as_fn_set_status ()
314 {
315   return $1
316 } # as_fn_set_status
317
318 # as_fn_exit STATUS
319 # -----------------
320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
321 as_fn_exit ()
322 {
323   set +e
324   as_fn_set_status $1
325   exit $1
326 } # as_fn_exit
327
328 # as_fn_mkdir_p
329 # -------------
330 # Create "$as_dir" as a directory, including parents if necessary.
331 as_fn_mkdir_p ()
332 {
333
334   case $as_dir in #(
335   -*) as_dir=./$as_dir;;
336   esac
337   test -d "$as_dir" || eval $as_mkdir_p || {
338     as_dirs=
339     while :; do
340       case $as_dir in #(
341       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
342       *) as_qdir=$as_dir;;
343       esac
344       as_dirs="'$as_qdir' $as_dirs"
345       as_dir=`$as_dirname -- "$as_dir" ||
346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
347          X"$as_dir" : 'X\(//\)[^/]' \| \
348          X"$as_dir" : 'X\(//\)$' \| \
349          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
350 $as_echo X"$as_dir" |
351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\/\)[^/].*/{
356             s//\1/
357             q
358           }
359           /^X\(\/\/\)$/{
360             s//\1/
361             q
362           }
363           /^X\(\/\).*/{
364             s//\1/
365             q
366           }
367           s/.*/./; q'`
368       test -d "$as_dir" && break
369     done
370     test -z "$as_dirs" || eval "mkdir $as_dirs"
371   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372
373
374 } # as_fn_mkdir_p
375
376 # as_fn_executable_p FILE
377 # -----------------------
378 # Test if FILE is an executable regular file.
379 as_fn_executable_p ()
380 {
381   test -f "$1" && test -x "$1"
382 } # as_fn_executable_p
383 # as_fn_append VAR VALUE
384 # ----------------------
385 # Append the text in VALUE to the end of the definition contained in VAR. Take
386 # advantage of any shell optimizations that allow amortized linear growth over
387 # repeated appends, instead of the typical quadratic growth present in naive
388 # implementations.
389 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
390   eval 'as_fn_append ()
391   {
392     eval $1+=\$2
393   }'
394 else
395   as_fn_append ()
396   {
397     eval $1=\$$1\$2
398   }
399 fi # as_fn_append
400
401 # as_fn_arith ARG...
402 # ------------------
403 # Perform arithmetic evaluation on the ARGs, and store the result in the
404 # global $as_val. Take advantage of shells that can avoid forks. The arguments
405 # must be portable across $(()) and expr.
406 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
407   eval 'as_fn_arith ()
408   {
409     as_val=$(( $* ))
410   }'
411 else
412   as_fn_arith ()
413   {
414     as_val=`expr "$@" || test $? -eq 1`
415   }
416 fi # as_fn_arith
417
418
419 # as_fn_error STATUS ERROR [LINENO LOG_FD]
420 # ----------------------------------------
421 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
422 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
423 # script with STATUS, using 1 if that was 0.
424 as_fn_error ()
425 {
426   as_status=$1; test $as_status -eq 0 && as_status=1
427   if test "$4"; then
428     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
429     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
430   fi
431   $as_echo "$as_me: error: $2" >&2
432   as_fn_exit $as_status
433 } # as_fn_error
434
435 if expr a : '\(a\)' >/dev/null 2>&1 &&
436    test "X`expr 00001 : '.*\(...\)'`" = X001; then
437   as_expr=expr
438 else
439   as_expr=false
440 fi
441
442 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443   as_basename=basename
444 else
445   as_basename=false
446 fi
447
448 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449   as_dirname=dirname
450 else
451   as_dirname=false
452 fi
453
454 as_me=`$as_basename -- "$0" ||
455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
456          X"$0" : 'X\(//\)$' \| \
457          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
458 $as_echo X/"$0" |
459     sed '/^.*\/\([^/][^/]*\)\/*$/{
460             s//\1/
461             q
462           }
463           /^X\/\(\/\/\)$/{
464             s//\1/
465             q
466           }
467           /^X\/\(\/\).*/{
468             s//\1/
469             q
470           }
471           s/.*/./; q'`
472
473 # Avoid depending upon Character Ranges.
474 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
475 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
476 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
477 as_cr_digits='0123456789'
478 as_cr_alnum=$as_cr_Letters$as_cr_digits
479
480
481   as_lineno_1=$LINENO as_lineno_1a=$LINENO
482   as_lineno_2=$LINENO as_lineno_2a=$LINENO
483   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
484   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
485   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
486   sed -n '
487     p
488     /[$]LINENO/=
489   ' <$as_myself |
490     sed '
491       s/[$]LINENO.*/&-/
492       t lineno
493       b
494       :lineno
495       N
496       :loop
497       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498       t loop
499       s/-\n.*//
500     ' >$as_me.lineno &&
501   chmod +x "$as_me.lineno" ||
502     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
503
504   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
505   # already done that, so ensure we don't try to do so again and fall
506   # in an infinite loop.  This has already happened in practice.
507   _as_can_reexec=no; export _as_can_reexec
508   # Don't try to exec as it changes $[0], causing all sort of problems
509   # (the dirname of $[0] is not the place where we might find the
510   # original and so on.  Autoconf is especially sensitive to this).
511   . "./$as_me.lineno"
512   # Exit status is that of the last command.
513   exit
514 }
515
516 ECHO_C= ECHO_N= ECHO_T=
517 case `echo -n x` in #(((((
518 -n*)
519   case `echo 'xy\c'` in
520   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
521   xy)  ECHO_C='\c';;
522   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
523        ECHO_T=' ';;
524   esac;;
525 *)
526   ECHO_N='-n';;
527 esac
528
529 rm -f conf$$ conf$$.exe conf$$.file
530 if test -d conf$$.dir; then
531   rm -f conf$$.dir/conf$$.file
532 else
533   rm -f conf$$.dir
534   mkdir conf$$.dir 2>/dev/null
535 fi
536 if (echo >conf$$.file) 2>/dev/null; then
537   if ln -s conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s='ln -s'
539     # ... but there are two gotchas:
540     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
541     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
542     # In both cases, we have to default to `cp -pR'.
543     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544       as_ln_s='cp -pR'
545   elif ln conf$$.file conf$$ 2>/dev/null; then
546     as_ln_s=ln
547   else
548     as_ln_s='cp -pR'
549   fi
550 else
551   as_ln_s='cp -pR'
552 fi
553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
554 rmdir conf$$.dir 2>/dev/null
555
556 if mkdir -p . 2>/dev/null; then
557   as_mkdir_p='mkdir -p "$as_dir"'
558 else
559   test -d ./-p && rmdir ./-p
560   as_mkdir_p=false
561 fi
562
563 as_test_x='test -x'
564 as_executable_p=as_fn_executable_p
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574
575 test -n "$DJDIR" || exec 7<&0 </dev/null
576 exec 6>&1
577
578 # Name of the host.
579 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583 #
584 # Initializations.
585 #
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594
595 # Identity of this package.
596 PACKAGE_NAME='LZO'
597 PACKAGE_TARNAME='lzo'
598 PACKAGE_VERSION='2.10'
599 PACKAGE_STRING='LZO 2.10'
600 PACKAGE_BUGREPORT='markus@oberhumer.com'
601 PACKAGE_URL='http://www.oberhumer.com/opensource/lzo/'
602
603 ac_unique_file="src/lzo_init.c"
604 ac_default_prefix=/usr/local
605 # Factoring default headers for most tests.
606 ac_includes_default="\
607 #include <stdio.h>
608 #ifdef HAVE_SYS_TYPES_H
609 # include <sys/types.h>
610 #endif
611 #ifdef HAVE_SYS_STAT_H
612 # include <sys/stat.h>
613 #endif
614 #ifdef STDC_HEADERS
615 # include <stdlib.h>
616 # include <stddef.h>
617 #else
618 # ifdef HAVE_STDLIB_H
619 #  include <stdlib.h>
620 # endif
621 #endif
622 #ifdef HAVE_STRING_H
623 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #  include <memory.h>
625 # endif
626 # include <string.h>
627 #endif
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
630 #endif
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
633 #endif
634 #ifdef HAVE_STDINT_H
635 # include <stdint.h>
636 #endif
637 #ifdef HAVE_UNISTD_H
638 # include <unistd.h>
639 #endif"
640
641 ac_subst_vars='am__EXEEXT_FALSE
642 am__EXEEXT_TRUE
643 LTLIBOBJS
644 LIBOBJS
645 LZO_USE_ASM_i386_obj_elf32_FALSE
646 LZO_USE_ASM_i386_obj_elf32_TRUE
647 LZO_USE_ASM_i386_src_gas_FALSE
648 LZO_USE_ASM_i386_src_gas_TRUE
649 pkgconfigdir
650 OTOOL64
651 OTOOL
652 LIPO
653 NMEDIT
654 DSYMUTIL
655 MANIFEST_TOOL
656 RANLIB
657 DLLTOOL
658 OBJDUMP
659 LN_S
660 NM
661 ac_ct_DUMPBIN
662 DUMPBIN
663 LD
664 FGREP
665 SED
666 LIBTOOL
667 AM_BACKSLASH
668 AM_DEFAULT_VERBOSITY
669 AM_DEFAULT_V
670 AM_V
671 am__fastdepCC_FALSE
672 am__fastdepCC_TRUE
673 CCDEPMODE
674 am__untar
675 am__tar
676 AMTAR
677 SET_MAKE
678 AWK
679 mkdir_p
680 MKDIR_P
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 am__isrc
693 INSTALL_DATA
694 INSTALL_SCRIPT
695 INSTALL_PROGRAM
696 EGREP
697 GREP
698 CPP
699 am__fastdepCCAS_FALSE
700 am__fastdepCCAS_TRUE
701 CCASDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__quote
707 am__include
708 DEPDIR
709 am__leading_dot
710 CCASFLAGS
711 CCAS
712 ac_ct_AR
713 AR
714 OBJEXT
715 EXEEXT
716 ac_ct_CC
717 CPPFLAGS
718 LDFLAGS
719 CFLAGS
720 CC
721 MAINT
722 MAINTAINER_MODE_FALSE
723 MAINTAINER_MODE_TRUE
724 target_os
725 target_vendor
726 target_cpu
727 target
728 host_os
729 host_vendor
730 host_cpu
731 host
732 build_os
733 build_vendor
734 build_cpu
735 build
736 target_alias
737 host_alias
738 build_alias
739 LIBS
740 ECHO_T
741 ECHO_N
742 ECHO_C
743 DEFS
744 mandir
745 localedir
746 libdir
747 psdir
748 pdfdir
749 dvidir
750 htmldir
751 infodir
752 docdir
753 oldincludedir
754 includedir
755 localstatedir
756 sharedstatedir
757 sysconfdir
758 datadir
759 datarootdir
760 libexecdir
761 sbindir
762 bindir
763 program_transform_name
764 prefix
765 exec_prefix
766 PACKAGE_URL
767 PACKAGE_BUGREPORT
768 PACKAGE_STRING
769 PACKAGE_VERSION
770 PACKAGE_TARNAME
771 PACKAGE_NAME
772 PATH_SEPARATOR
773 SHELL'
774 ac_subst_files=''
775 ac_user_opts='
776 enable_option_checking
777 enable_maintainer_mode
778 enable_dependency_tracking
779 enable_largefile
780 enable_silent_rules
781 enable_static
782 enable_shared
783 with_pic
784 enable_fast_install
785 with_gnu_ld
786 with_sysroot
787 enable_libtool_lock
788 with_pkgconfigdir
789 enable_asm
790 '
791       ac_precious_vars='build_alias
792 host_alias
793 target_alias
794 CC
795 CFLAGS
796 LDFLAGS
797 LIBS
798 CPPFLAGS
799 CCAS
800 CCASFLAGS
801 CPP'
802
803
804 # Initialize some variables set by options.
805 ac_init_help=
806 ac_init_version=false
807 ac_unrecognized_opts=
808 ac_unrecognized_sep=
809 # The variables have the same names as the options, with
810 # dashes changed to underlines.
811 cache_file=/dev/null
812 exec_prefix=NONE
813 no_create=
814 no_recursion=
815 prefix=NONE
816 program_prefix=NONE
817 program_suffix=NONE
818 program_transform_name=s,x,x,
819 silent=
820 site=
821 srcdir=
822 verbose=
823 x_includes=NONE
824 x_libraries=NONE
825
826 # Installation directory options.
827 # These are left unexpanded so users can "make install exec_prefix=/foo"
828 # and all the variables that are supposed to be based on exec_prefix
829 # by default will actually change.
830 # Use braces instead of parens because sh, perl, etc. also accept them.
831 # (The list follows the same order as the GNU Coding Standards.)
832 bindir='${exec_prefix}/bin'
833 sbindir='${exec_prefix}/sbin'
834 libexecdir='${exec_prefix}/libexec'
835 datarootdir='${prefix}/share'
836 datadir='${datarootdir}'
837 sysconfdir='${prefix}/etc'
838 sharedstatedir='${prefix}/com'
839 localstatedir='${prefix}/var'
840 includedir='${prefix}/include'
841 oldincludedir='/usr/include'
842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
843 infodir='${datarootdir}/info'
844 htmldir='${docdir}'
845 dvidir='${docdir}'
846 pdfdir='${docdir}'
847 psdir='${docdir}'
848 libdir='${exec_prefix}/lib'
849 localedir='${datarootdir}/locale'
850 mandir='${datarootdir}/man'
851
852 ac_prev=
853 ac_dashdash=
854 for ac_option
855 do
856   # If the previous option needs an argument, assign it.
857   if test -n "$ac_prev"; then
858     eval $ac_prev=\$ac_option
859     ac_prev=
860     continue
861   fi
862
863   case $ac_option in
864   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865   *=)   ac_optarg= ;;
866   *)    ac_optarg=yes ;;
867   esac
868
869   # Accept the important Cygnus configure options, so we can diagnose typos.
870
871   case $ac_dashdash$ac_option in
872   --)
873     ac_dashdash=yes ;;
874
875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
876     ac_prev=bindir ;;
877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
878     bindir=$ac_optarg ;;
879
880   -build | --build | --buil | --bui | --bu)
881     ac_prev=build_alias ;;
882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
883     build_alias=$ac_optarg ;;
884
885   -cache-file | --cache-file | --cache-fil | --cache-fi \
886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
887     ac_prev=cache_file ;;
888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
890     cache_file=$ac_optarg ;;
891
892   --config-cache | -C)
893     cache_file=config.cache ;;
894
895   -datadir | --datadir | --datadi | --datad)
896     ac_prev=datadir ;;
897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
898     datadir=$ac_optarg ;;
899
900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
901   | --dataroo | --dataro | --datar)
902     ac_prev=datarootdir ;;
903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
905     datarootdir=$ac_optarg ;;
906
907   -disable-* | --disable-*)
908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
919          ac_unrecognized_sep=', ';;
920     esac
921     eval enable_$ac_useropt=no ;;
922
923   -docdir | --docdir | --docdi | --doc | --do)
924     ac_prev=docdir ;;
925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
926     docdir=$ac_optarg ;;
927
928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
929     ac_prev=dvidir ;;
930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
931     dvidir=$ac_optarg ;;
932
933   -enable-* | --enable-*)
934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935     # Reject names that are not valid shell variable names.
936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937       as_fn_error $? "invalid feature name: $ac_useropt"
938     ac_useropt_orig=$ac_useropt
939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940     case $ac_user_opts in
941       *"
942 "enable_$ac_useropt"
943 "*) ;;
944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
945          ac_unrecognized_sep=', ';;
946     esac
947     eval enable_$ac_useropt=\$ac_optarg ;;
948
949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
951   | --exec | --exe | --ex)
952     ac_prev=exec_prefix ;;
953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
955   | --exec=* | --exe=* | --ex=*)
956     exec_prefix=$ac_optarg ;;
957
958   -gas | --gas | --ga | --g)
959     # Obsolete; use --with-gas.
960     with_gas=yes ;;
961
962   -help | --help | --hel | --he | -h)
963     ac_init_help=long ;;
964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
965     ac_init_help=recursive ;;
966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
967     ac_init_help=short ;;
968
969   -host | --host | --hos | --ho)
970     ac_prev=host_alias ;;
971   -host=* | --host=* | --hos=* | --ho=*)
972     host_alias=$ac_optarg ;;
973
974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
975     ac_prev=htmldir ;;
976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
977   | --ht=*)
978     htmldir=$ac_optarg ;;
979
980   -includedir | --includedir | --includedi | --included | --include \
981   | --includ | --inclu | --incl | --inc)
982     ac_prev=includedir ;;
983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
984   | --includ=* | --inclu=* | --incl=* | --inc=*)
985     includedir=$ac_optarg ;;
986
987   -infodir | --infodir | --infodi | --infod | --info | --inf)
988     ac_prev=infodir ;;
989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
990     infodir=$ac_optarg ;;
991
992   -libdir | --libdir | --libdi | --libd)
993     ac_prev=libdir ;;
994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
995     libdir=$ac_optarg ;;
996
997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
998   | --libexe | --libex | --libe)
999     ac_prev=libexecdir ;;
1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1001   | --libexe=* | --libex=* | --libe=*)
1002     libexecdir=$ac_optarg ;;
1003
1004   -localedir | --localedir | --localedi | --localed | --locale)
1005     ac_prev=localedir ;;
1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1007     localedir=$ac_optarg ;;
1008
1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
1010   | --localstate | --localstat | --localsta | --localst | --locals)
1011     ac_prev=localstatedir ;;
1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1014     localstatedir=$ac_optarg ;;
1015
1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1017     ac_prev=mandir ;;
1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1019     mandir=$ac_optarg ;;
1020
1021   -nfp | --nfp | --nf)
1022     # Obsolete; use --without-fp.
1023     with_fp=no ;;
1024
1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1026   | --no-cr | --no-c | -n)
1027     no_create=yes ;;
1028
1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1031     no_recursion=yes ;;
1032
1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1035   | --oldin | --oldi | --old | --ol | --o)
1036     ac_prev=oldincludedir ;;
1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1040     oldincludedir=$ac_optarg ;;
1041
1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1043     ac_prev=prefix ;;
1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1045     prefix=$ac_optarg ;;
1046
1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1048   | --program-pre | --program-pr | --program-p)
1049     ac_prev=program_prefix ;;
1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1052     program_prefix=$ac_optarg ;;
1053
1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1055   | --program-suf | --program-su | --program-s)
1056     ac_prev=program_suffix ;;
1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1059     program_suffix=$ac_optarg ;;
1060
1061   -program-transform-name | --program-transform-name \
1062   | --program-transform-nam | --program-transform-na \
1063   | --program-transform-n | --program-transform- \
1064   | --program-transform | --program-transfor \
1065   | --program-transfo | --program-transf \
1066   | --program-trans | --program-tran \
1067   | --progr-tra | --program-tr | --program-t)
1068     ac_prev=program_transform_name ;;
1069   -program-transform-name=* | --program-transform-name=* \
1070   | --program-transform-nam=* | --program-transform-na=* \
1071   | --program-transform-n=* | --program-transform-=* \
1072   | --program-transform=* | --program-transfor=* \
1073   | --program-transfo=* | --program-transf=* \
1074   | --program-trans=* | --program-tran=* \
1075   | --progr-tra=* | --program-tr=* | --program-t=*)
1076     program_transform_name=$ac_optarg ;;
1077
1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1079     ac_prev=pdfdir ;;
1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1081     pdfdir=$ac_optarg ;;
1082
1083   -psdir | --psdir | --psdi | --psd | --ps)
1084     ac_prev=psdir ;;
1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1086     psdir=$ac_optarg ;;
1087
1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089   | -silent | --silent | --silen | --sile | --sil)
1090     silent=yes ;;
1091
1092   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1093     ac_prev=sbindir ;;
1094   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1095   | --sbi=* | --sb=*)
1096     sbindir=$ac_optarg ;;
1097
1098   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100   | --sharedst | --shareds | --shared | --share | --shar \
1101   | --sha | --sh)
1102     ac_prev=sharedstatedir ;;
1103   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1106   | --sha=* | --sh=*)
1107     sharedstatedir=$ac_optarg ;;
1108
1109   -site | --site | --sit)
1110     ac_prev=site ;;
1111   -site=* | --site=* | --sit=*)
1112     site=$ac_optarg ;;
1113
1114   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1115     ac_prev=srcdir ;;
1116   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117     srcdir=$ac_optarg ;;
1118
1119   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120   | --syscon | --sysco | --sysc | --sys | --sy)
1121     ac_prev=sysconfdir ;;
1122   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124     sysconfdir=$ac_optarg ;;
1125
1126   -target | --target | --targe | --targ | --tar | --ta | --t)
1127     ac_prev=target_alias ;;
1128   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129     target_alias=$ac_optarg ;;
1130
1131   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1132     verbose=yes ;;
1133
1134   -version | --version | --versio | --versi | --vers | -V)
1135     ac_init_version=: ;;
1136
1137   -with-* | --with-*)
1138     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139     # Reject names that are not valid shell variable names.
1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141       as_fn_error $? "invalid package name: $ac_useropt"
1142     ac_useropt_orig=$ac_useropt
1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144     case $ac_user_opts in
1145       *"
1146 "with_$ac_useropt"
1147 "*) ;;
1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149          ac_unrecognized_sep=', ';;
1150     esac
1151     eval with_$ac_useropt=\$ac_optarg ;;
1152
1153   -without-* | --without-*)
1154     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155     # Reject names that are not valid shell variable names.
1156     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157       as_fn_error $? "invalid package name: $ac_useropt"
1158     ac_useropt_orig=$ac_useropt
1159     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160     case $ac_user_opts in
1161       *"
1162 "with_$ac_useropt"
1163 "*) ;;
1164       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165          ac_unrecognized_sep=', ';;
1166     esac
1167     eval with_$ac_useropt=no ;;
1168
1169   --x)
1170     # Obsolete; use --with-x.
1171     with_x=yes ;;
1172
1173   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174   | --x-incl | --x-inc | --x-in | --x-i)
1175     ac_prev=x_includes ;;
1176   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178     x_includes=$ac_optarg ;;
1179
1180   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1181   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182     ac_prev=x_libraries ;;
1183   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185     x_libraries=$ac_optarg ;;
1186
1187   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1188 Try \`$0 --help' for more information"
1189     ;;
1190
1191   *=*)
1192     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193     # Reject names that are not valid shell variable names.
1194     case $ac_envvar in #(
1195       '' | [0-9]* | *[!_$as_cr_alnum]* )
1196       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1197     esac
1198     eval $ac_envvar=\$ac_optarg
1199     export $ac_envvar ;;
1200
1201   *)
1202     # FIXME: should be removed in autoconf 3.0.
1203     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1207     ;;
1208
1209   esac
1210 done
1211
1212 if test -n "$ac_prev"; then
1213   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214   as_fn_error $? "missing argument to $ac_option"
1215 fi
1216
1217 if test -n "$ac_unrecognized_opts"; then
1218   case $enable_option_checking in
1219     no) ;;
1220     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1222   esac
1223 fi
1224
1225 # Check all directory arguments for consistency.
1226 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227                 datadir sysconfdir sharedstatedir localstatedir includedir \
1228                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229                 libdir localedir mandir
1230 do
1231   eval ac_val=\$$ac_var
1232   # Remove trailing slashes.
1233   case $ac_val in
1234     */ )
1235       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236       eval $ac_var=\$ac_val;;
1237   esac
1238   # Be sure to have absolute directory names.
1239   case $ac_val in
1240     [\\/$]* | ?:[\\/]* )  continue;;
1241     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1242   esac
1243   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1244 done
1245
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1249 build=$build_alias
1250 host=$host_alias
1251 target=$target_alias
1252
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x; then
1255   if test "x$build_alias" = x; then
1256     cross_compiling=maybe
1257   elif test "x$build_alias" != "x$host_alias"; then
1258     cross_compiling=yes
1259   fi
1260 fi
1261
1262 ac_tool_prefix=
1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1264
1265 test "$silent" = yes && exec 6>/dev/null
1266
1267
1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di=`ls -di .` &&
1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271   as_fn_error $? "working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273   as_fn_error $? "pwd does not report name of working directory"
1274
1275
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278   ac_srcdir_defaulted=yes
1279   # Try the directory containing this script, then the parent directory.
1280   ac_confdir=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282          X"$as_myself" : 'X\(//\)[^/]' \| \
1283          X"$as_myself" : 'X\(//\)$' \| \
1284          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287             s//\1/
1288             q
1289           }
1290           /^X\(\/\/\)[^/].*/{
1291             s//\1/
1292             q
1293           }
1294           /^X\(\/\/\)$/{
1295             s//\1/
1296             q
1297           }
1298           /^X\(\/\).*/{
1299             s//\1/
1300             q
1301           }
1302           s/.*/./; q'`
1303   srcdir=$ac_confdir
1304   if test ! -r "$srcdir/$ac_unique_file"; then
1305     srcdir=..
1306   fi
1307 else
1308   ac_srcdir_defaulted=no
1309 fi
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1313 fi
1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1315 ac_abs_confdir=`(
1316         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1317         pwd)`
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320   srcdir=.
1321 fi
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1325 case $srcdir in
1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1327 esac
1328 for ac_var in $ac_precious_vars; do
1329   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330   eval ac_env_${ac_var}_value=\$${ac_var}
1331   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1333 done
1334
1335 #
1336 # Report the --help message.
1337 #
1338 if test "$ac_init_help" = "long"; then
1339   # Omit some internal or obsolete options to make the list less imposing.
1340   # This message is too long to be a string in the A/UX 3.1 sh.
1341   cat <<_ACEOF
1342 \`configure' configures LZO 2.10 to adapt to many kinds of systems.
1343
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1345
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE.  See below for descriptions of some of the useful variables.
1348
1349 Defaults for the options are specified in brackets.
1350
1351 Configuration:
1352   -h, --help              display this help and exit
1353       --help=short        display options specific to this package
1354       --help=recursive    display the short help of all the included packages
1355   -V, --version           display version information and exit
1356   -q, --quiet, --silent   do not print \`checking ...' messages
1357       --cache-file=FILE   cache test results in FILE [disabled]
1358   -C, --config-cache      alias for \`--cache-file=config.cache'
1359   -n, --no-create         do not create output files
1360       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1361
1362 Installation directories:
1363   --prefix=PREFIX         install architecture-independent files in PREFIX
1364                           [$ac_default_prefix]
1365   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1366                           [PREFIX]
1367
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1372
1373 For better control, use the options below.
1374
1375 Fine tuning of the installation directories:
1376   --bindir=DIR            user executables [EPREFIX/bin]
1377   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1378   --libexecdir=DIR        program executables [EPREFIX/libexec]
1379   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1380   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1381   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1382   --libdir=DIR            object code libraries [EPREFIX/lib]
1383   --includedir=DIR        C header files [PREFIX/include]
1384   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1385   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1386   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1387   --infodir=DIR           info documentation [DATAROOTDIR/info]
1388   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1389   --mandir=DIR            man documentation [DATAROOTDIR/man]
1390   --docdir=DIR            documentation root [DATAROOTDIR/doc/lzo]
1391   --htmldir=DIR           html documentation [DOCDIR]
1392   --dvidir=DIR            dvi documentation [DOCDIR]
1393   --pdfdir=DIR            pdf documentation [DOCDIR]
1394   --psdir=DIR             ps documentation [DOCDIR]
1395 _ACEOF
1396
1397   cat <<\_ACEOF
1398
1399 Program names:
1400   --program-prefix=PREFIX            prepend PREFIX to installed program names
1401   --program-suffix=SUFFIX            append SUFFIX to installed program names
1402   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1403
1404 System types:
1405   --build=BUILD     configure for building on BUILD [guessed]
1406   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1407   --target=TARGET   configure for building compilers for TARGET [HOST]
1408 _ACEOF
1409 fi
1410
1411 if test -n "$ac_init_help"; then
1412   case $ac_init_help in
1413      short | recursive ) echo "Configuration of LZO 2.10:";;
1414    esac
1415   cat <<\_ACEOF
1416
1417 Optional Features:
1418   --disable-option-checking  ignore unrecognized --enable/--with options
1419   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1420   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1421   --enable-maintainer-mode
1422                           enable make rules and dependencies not useful (and
1423                           sometimes confusing) to the casual installer
1424   --enable-dependency-tracking
1425                           do not reject slow dependency extractors
1426   --disable-dependency-tracking
1427                           speeds up one-time build
1428   --disable-largefile     omit support for large files
1429   --enable-silent-rules   less verbose build output (undo: "make V=1")
1430   --disable-silent-rules  verbose build output (undo: "make V=0")
1431   --enable-static[=PKGS]  build static libraries [default=yes]
1432   --enable-shared[=PKGS]  build shared libraries [default=no]
1433   --enable-fast-install[=PKGS]
1434                           optimize for fast installation [default=yes]
1435   --disable-libtool-lock  avoid locking (might break parallel builds)
1436   --disable-asm           disable assembly versions
1437
1438 Optional Packages:
1439   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1440   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1441   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1442                           both]
1443   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1444   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1445                           compiler's sysroot if not specified).
1446   --with-pkgconfigdir     pkg-config installation directory
1447                           ['${libdir}/pkgconfig']
1448
1449 Some influential environment variables:
1450   CC          C compiler command
1451   CFLAGS      C compiler flags
1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1453               nonstandard directory <lib dir>
1454   LIBS        libraries to pass to the linker, e.g. -l<library>
1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1456               you have headers in a nonstandard directory <include dir>
1457   CCAS        assembler compiler command (defaults to CC)
1458   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1459   CPP         C preprocessor
1460
1461 Use these variables to override the choices made by `configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1463
1464 Report bugs to <markus@oberhumer.com>.
1465 LZO home page: <http://www.oberhumer.com/opensource/lzo/>.
1466 _ACEOF
1467 ac_status=$?
1468 fi
1469
1470 if test "$ac_init_help" = "recursive"; then
1471   # If there are subdirs, report their specific --help.
1472   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1473     test -d "$ac_dir" ||
1474       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475       continue
1476     ac_builddir=.
1477
1478 case "$ac_dir" in
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *)
1481   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1482   # A ".." for each directory in $ac_dir_suffix.
1483   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1484   case $ac_top_builddir_sub in
1485   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1487   esac ;;
1488 esac
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1493
1494 case $srcdir in
1495   .)  # We are building in place.
1496     ac_srcdir=.
1497     ac_top_srcdir=$ac_top_builddir_sub
1498     ac_abs_top_srcdir=$ac_pwd ;;
1499   [\\/]* | ?:[\\/]* )  # Absolute name.
1500     ac_srcdir=$srcdir$ac_dir_suffix;
1501     ac_top_srcdir=$srcdir
1502     ac_abs_top_srcdir=$srcdir ;;
1503   *) # Relative name.
1504     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505     ac_top_srcdir=$ac_top_build_prefix$srcdir
1506     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1507 esac
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1509
1510     cd "$ac_dir" || { ac_status=$?; continue; }
1511     # Check for guested configure.
1512     if test -f "$ac_srcdir/configure.gnu"; then
1513       echo &&
1514       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515     elif test -f "$ac_srcdir/configure"; then
1516       echo &&
1517       $SHELL "$ac_srcdir/configure" --help=recursive
1518     else
1519       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1520     fi || ac_status=$?
1521     cd "$ac_pwd" || { ac_status=$?; break; }
1522   done
1523 fi
1524
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1527   cat <<\_ACEOF
1528 LZO configure 2.10
1529 generated by GNU Autoconf 2.69
1530
1531 Copyright (C) 2012 Free Software Foundation, Inc.
1532 This configure script is free software; the Free Software Foundation
1533 gives unlimited permission to copy, distribute and modify it.
1534
1535 Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer.
1536 All Rights Reserved.
1537 This configure script may be copied, distributed and modified under the
1538 terms of the GNU General Public License; see COPYING for more details.
1539 _ACEOF
1540   exit
1541 fi
1542
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1546
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1551 {
1552   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553   rm -f conftest.$ac_objext
1554   if { { ac_try="$ac_compile"
1555 case "(($ac_try" in
1556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557   *) ac_try_echo=$ac_try;;
1558 esac
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561   (eval "$ac_compile") 2>conftest.err
1562   ac_status=$?
1563   if test -s conftest.err; then
1564     grep -v '^ *+' conftest.err >conftest.er1
1565     cat conftest.er1 >&5
1566     mv -f conftest.er1 conftest.err
1567   fi
1568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569   test $ac_status = 0; } && {
1570          test -z "$ac_c_werror_flag" ||
1571          test ! -s conftest.err
1572        } && test -s conftest.$ac_objext; then :
1573   ac_retval=0
1574 else
1575   $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1577
1578         ac_retval=1
1579 fi
1580   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581   as_fn_set_status $ac_retval
1582
1583 } # ac_fn_c_try_compile
1584
1585 # ac_fn_c_try_cpp LINENO
1586 # ----------------------
1587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_c_try_cpp ()
1589 {
1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591   if { { ac_try="$ac_cpp conftest.$ac_ext"
1592 case "(($ac_try" in
1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594   *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1599   ac_status=$?
1600   if test -s conftest.err; then
1601     grep -v '^ *+' conftest.err >conftest.er1
1602     cat conftest.er1 >&5
1603     mv -f conftest.er1 conftest.err
1604   fi
1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606   test $ac_status = 0; } > conftest.i && {
1607          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1608          test ! -s conftest.err
1609        }; then :
1610   ac_retval=0
1611 else
1612   $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1614
1615     ac_retval=1
1616 fi
1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618   as_fn_set_status $ac_retval
1619
1620 } # ac_fn_c_try_cpp
1621
1622 # ac_fn_c_try_run LINENO
1623 # ----------------------
1624 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1625 # that executables *can* be run.
1626 ac_fn_c_try_run ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   if { { ac_try="$ac_link"
1630 case "(($ac_try" in
1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632   *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636   (eval "$ac_link") 2>&5
1637   ac_status=$?
1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1640   { { case "(($ac_try" in
1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642   *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646   (eval "$ac_try") 2>&5
1647   ac_status=$?
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; }; }; then :
1650   ac_retval=0
1651 else
1652   $as_echo "$as_me: program exited with status $ac_status" >&5
1653        $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656        ac_retval=$ac_status
1657 fi
1658   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1659   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660   as_fn_set_status $ac_retval
1661
1662 } # ac_fn_c_try_run
1663
1664 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1665 # -------------------------------------------------------
1666 # Tests whether HEADER exists and can be compiled using the include files in
1667 # INCLUDES, setting the cache variable VAR accordingly.
1668 ac_fn_c_check_header_compile ()
1669 {
1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674   $as_echo_n "(cached) " >&6
1675 else
1676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h.  */
1678 $4
1679 #include <$2>
1680 _ACEOF
1681 if ac_fn_c_try_compile "$LINENO"; then :
1682   eval "$3=yes"
1683 else
1684   eval "$3=no"
1685 fi
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 fi
1688 eval ac_res=\$$3
1689                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692
1693 } # ac_fn_c_check_header_compile
1694
1695 # ac_fn_c_try_link LINENO
1696 # -----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
1698 ac_fn_c_try_link ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   rm -f conftest.$ac_objext conftest$ac_exeext
1702   if { { ac_try="$ac_link"
1703 case "(($ac_try" in
1704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705   *) ac_try_echo=$ac_try;;
1706 esac
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709   (eval "$ac_link") 2>conftest.err
1710   ac_status=$?
1711   if test -s conftest.err; then
1712     grep -v '^ *+' conftest.err >conftest.er1
1713     cat conftest.er1 >&5
1714     mv -f conftest.er1 conftest.err
1715   fi
1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717   test $ac_status = 0; } && {
1718          test -z "$ac_c_werror_flag" ||
1719          test ! -s conftest.err
1720        } && test -s conftest$ac_exeext && {
1721          test "$cross_compiling" = yes ||
1722          test -x conftest$ac_exeext
1723        }; then :
1724   ac_retval=0
1725 else
1726   $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1728
1729         ac_retval=1
1730 fi
1731   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733   # interfere with the next link command; also delete a directory that is
1734   # left behind by Apple's compiler.  We do this before executing the actions.
1735   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737   as_fn_set_status $ac_retval
1738
1739 } # ac_fn_c_try_link
1740
1741 # ac_fn_c_check_func LINENO FUNC VAR
1742 # ----------------------------------
1743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1744 ac_fn_c_check_func ()
1745 {
1746   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if eval \${$3+:} false; then :
1750   $as_echo_n "(cached) " >&6
1751 else
1752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h.  */
1754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1756 #define $2 innocuous_$2
1757
1758 /* System header to define __stub macros and hopefully few prototypes,
1759     which can conflict with char $2 (); below.
1760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1761     <limits.h> exists even on freestanding compilers.  */
1762
1763 #ifdef __STDC__
1764 # include <limits.h>
1765 #else
1766 # include <assert.h>
1767 #endif
1768
1769 #undef $2
1770
1771 /* Override any GCC internal prototype to avoid an error.
1772    Use char because int might match the return type of a GCC
1773    builtin and then its argument prototype would still apply.  */
1774 #ifdef __cplusplus
1775 extern "C"
1776 #endif
1777 char $2 ();
1778 /* The GNU C library defines this for functions which it implements
1779     to always fail with ENOSYS.  Some functions are actually named
1780     something starting with __ and the normal name is an alias.  */
1781 #if defined __stub_$2 || defined __stub___$2
1782 choke me
1783 #endif
1784
1785 int
1786 main ()
1787 {
1788 return $2 ();
1789   ;
1790   return 0;
1791 }
1792 _ACEOF
1793 if ac_fn_c_try_link "$LINENO"; then :
1794   eval "$3=yes"
1795 else
1796   eval "$3=no"
1797 fi
1798 rm -f core conftest.err conftest.$ac_objext \
1799     conftest$ac_exeext conftest.$ac_ext
1800 fi
1801 eval ac_res=\$$3
1802                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805
1806 } # ac_fn_c_check_func
1807
1808 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1809 # -------------------------------------------------------
1810 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1811 # the include files in INCLUDES and setting the cache variable VAR
1812 # accordingly.
1813 ac_fn_c_check_header_mongrel ()
1814 {
1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816   if eval \${$3+:} false; then :
1817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval \${$3+:} false; then :
1820   $as_echo_n "(cached) " >&6
1821 fi
1822 eval ac_res=\$$3
1823                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1825 else
1826   # Is the header compilable?
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1828 $as_echo_n "checking $2 usability... " >&6; }
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h.  */
1831 $4
1832 #include <$2>
1833 _ACEOF
1834 if ac_fn_c_try_compile "$LINENO"; then :
1835   ac_header_compiler=yes
1836 else
1837   ac_header_compiler=no
1838 fi
1839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1841 $as_echo "$ac_header_compiler" >&6; }
1842
1843 # Is the header present?
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1845 $as_echo_n "checking $2 presence... " >&6; }
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h.  */
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_cpp "$LINENO"; then :
1851   ac_header_preproc=yes
1852 else
1853   ac_header_preproc=no
1854 fi
1855 rm -f conftest.err conftest.i conftest.$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1857 $as_echo "$ac_header_preproc" >&6; }
1858
1859 # So?  What about this header?
1860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1861   yes:no: )
1862     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1863 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1865 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1866     ;;
1867   no:yes:* )
1868     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1869 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1870     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1871 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1872     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1873 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1875 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1876     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1877 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1878 ( $as_echo "## ----------------------------------- ##
1879 ## Report this to markus@oberhumer.com ##
1880 ## ----------------------------------- ##"
1881      ) | sed "s/^/$as_me: WARNING:     /" >&2
1882     ;;
1883 esac
1884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887   $as_echo_n "(cached) " >&6
1888 else
1889   eval "$3=\$ac_header_compiler"
1890 fi
1891 eval ac_res=\$$3
1892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 fi
1895   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896
1897 } # ac_fn_c_check_header_mongrel
1898
1899 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1900 # -------------------------------------------
1901 # Tests whether TYPE exists after having included INCLUDES, setting cache
1902 # variable VAR accordingly.
1903 ac_fn_c_check_type ()
1904 {
1905   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1907 $as_echo_n "checking for $2... " >&6; }
1908 if eval \${$3+:} false; then :
1909   $as_echo_n "(cached) " >&6
1910 else
1911   eval "$3=no"
1912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h.  */
1914 $4
1915 int
1916 main ()
1917 {
1918 if (sizeof ($2))
1919          return 0;
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_compile "$LINENO"; then :
1925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h.  */
1927 $4
1928 int
1929 main ()
1930 {
1931 if (sizeof (($2)))
1932             return 0;
1933   ;
1934   return 0;
1935 }
1936 _ACEOF
1937 if ac_fn_c_try_compile "$LINENO"; then :
1938
1939 else
1940   eval "$3=yes"
1941 fi
1942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 fi
1946 eval ac_res=\$$3
1947                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
1951 } # ac_fn_c_check_type
1952
1953 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1954 # --------------------------------------------
1955 # Tries to find the compile-time value of EXPR in a program that includes
1956 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1957 # computed
1958 ac_fn_c_compute_int ()
1959 {
1960   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961   if test "$cross_compiling" = yes; then
1962     # Depending upon the size, compute the lo and hi bounds.
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h.  */
1965 $4
1966 int
1967 main ()
1968 {
1969 static int test_array [1 - 2 * !(($2) >= 0)];
1970 test_array [0] = 0;
1971 return test_array [0];
1972
1973   ;
1974   return 0;
1975 }
1976 _ACEOF
1977 if ac_fn_c_try_compile "$LINENO"; then :
1978   ac_lo=0 ac_mid=0
1979   while :; do
1980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h.  */
1982 $4
1983 int
1984 main ()
1985 {
1986 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1987 test_array [0] = 0;
1988 return test_array [0];
1989
1990   ;
1991   return 0;
1992 }
1993 _ACEOF
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995   ac_hi=$ac_mid; break
1996 else
1997   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998                         if test $ac_lo -le $ac_mid; then
1999                           ac_lo= ac_hi=
2000                           break
2001                         fi
2002                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005   done
2006 else
2007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h.  */
2009 $4
2010 int
2011 main ()
2012 {
2013 static int test_array [1 - 2 * !(($2) < 0)];
2014 test_array [0] = 0;
2015 return test_array [0];
2016
2017   ;
2018   return 0;
2019 }
2020 _ACEOF
2021 if ac_fn_c_try_compile "$LINENO"; then :
2022   ac_hi=-1 ac_mid=-1
2023   while :; do
2024     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h.  */
2026 $4
2027 int
2028 main ()
2029 {
2030 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2031 test_array [0] = 0;
2032 return test_array [0];
2033
2034   ;
2035   return 0;
2036 }
2037 _ACEOF
2038 if ac_fn_c_try_compile "$LINENO"; then :
2039   ac_lo=$ac_mid; break
2040 else
2041   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2042                         if test $ac_mid -le $ac_hi; then
2043                           ac_lo= ac_hi=
2044                           break
2045                         fi
2046                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2047 fi
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049   done
2050 else
2051   ac_lo= ac_hi=
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 fi
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 # Binary search between lo and hi bounds.
2057 while test "x$ac_lo" != "x$ac_hi"; do
2058   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h.  */
2061 $4
2062 int
2063 main ()
2064 {
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2066 test_array [0] = 0;
2067 return test_array [0];
2068
2069   ;
2070   return 0;
2071 }
2072 _ACEOF
2073 if ac_fn_c_try_compile "$LINENO"; then :
2074   ac_hi=$ac_mid
2075 else
2076   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2077 fi
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079 done
2080 case $ac_lo in #((
2081 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2082 '') ac_retval=1 ;;
2083 esac
2084   else
2085     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h.  */
2087 $4
2088 static long int longval () { return $2; }
2089 static unsigned long int ulongval () { return $2; }
2090 #include <stdio.h>
2091 #include <stdlib.h>
2092 int
2093 main ()
2094 {
2095
2096   FILE *f = fopen ("conftest.val", "w");
2097   if (! f)
2098     return 1;
2099   if (($2) < 0)
2100     {
2101       long int i = longval ();
2102       if (i != ($2))
2103         return 1;
2104       fprintf (f, "%ld", i);
2105     }
2106   else
2107     {
2108       unsigned long int i = ulongval ();
2109       if (i != ($2))
2110         return 1;
2111       fprintf (f, "%lu", i);
2112     }
2113   /* Do not output a trailing newline, as this causes \r\n confusion
2114      on some platforms.  */
2115   return ferror (f) || fclose (f) != 0;
2116
2117   ;
2118   return 0;
2119 }
2120 _ACEOF
2121 if ac_fn_c_try_run "$LINENO"; then :
2122   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2123 else
2124   ac_retval=1
2125 fi
2126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2127   conftest.$ac_objext conftest.beam conftest.$ac_ext
2128 rm -f conftest.val
2129
2130   fi
2131   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132   as_fn_set_status $ac_retval
2133
2134 } # ac_fn_c_compute_int
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2138
2139 It was created by LZO $as_me 2.10, which was
2140 generated by GNU Autoconf 2.69.  Invocation command line was
2141
2142   $ $0 $@
2143
2144 _ACEOF
2145 exec 5>>config.log
2146 {
2147 cat <<_ASUNAME
2148 ## --------- ##
2149 ## Platform. ##
2150 ## --------- ##
2151
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2157
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2160
2161 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2162 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2165 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2166 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2167 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2168
2169 _ASUNAME
2170
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2173 do
2174   IFS=$as_save_IFS
2175   test -z "$as_dir" && as_dir=.
2176     $as_echo "PATH: $as_dir"
2177   done
2178 IFS=$as_save_IFS
2179
2180 } >&5
2181
2182 cat >&5 <<_ACEOF
2183
2184
2185 ## ----------- ##
2186 ## Core tests. ##
2187 ## ----------- ##
2188
2189 _ACEOF
2190
2191
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_configure_args=
2198 ac_configure_args0=
2199 ac_configure_args1=
2200 ac_must_keep_next=false
2201 for ac_pass in 1 2
2202 do
2203   for ac_arg
2204   do
2205     case $ac_arg in
2206     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208     | -silent | --silent | --silen | --sile | --sil)
2209       continue ;;
2210     *\'*)
2211       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212     esac
2213     case $ac_pass in
2214     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2215     2)
2216       as_fn_append ac_configure_args1 " '$ac_arg'"
2217       if test $ac_must_keep_next = true; then
2218         ac_must_keep_next=false # Got value, back to normal.
2219       else
2220         case $ac_arg in
2221           *=* | --config-cache | -C | -disable-* | --disable-* \
2222           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224           | -with-* | --with-* | -without-* | --without-* | --x)
2225             case "$ac_configure_args0 " in
2226               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227             esac
2228             ;;
2229           -* ) ac_must_keep_next=true ;;
2230         esac
2231       fi
2232       as_fn_append ac_configure_args " '$ac_arg'"
2233       ;;
2234     esac
2235   done
2236 done
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2239
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log.  We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246   # Save into config.log some information that might help in debugging.
2247   {
2248     echo
2249
2250     $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2253     echo
2254     # The following way of writing the cache mishandles newlines in values,
2255 (
2256   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257     eval ac_val=\$$ac_var
2258     case $ac_val in #(
2259     *${as_nl}*)
2260       case $ac_var in #(
2261       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263       esac
2264       case $ac_var in #(
2265       _ | IFS | as_nl) ;; #(
2266       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267       *) { eval $ac_var=; unset $ac_var;} ;;
2268       esac ;;
2269     esac
2270   done
2271   (set) 2>&1 |
2272     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273     *${as_nl}ac_space=\ *)
2274       sed -n \
2275         "s/'\''/'\''\\\\'\'''\''/g;
2276           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277       ;; #(
2278     *)
2279       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280       ;;
2281     esac |
2282     sort
2283 )
2284     echo
2285
2286     $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2289     echo
2290     for ac_var in $ac_subst_vars
2291     do
2292       eval ac_val=\$$ac_var
2293       case $ac_val in
2294       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295       esac
2296       $as_echo "$ac_var='\''$ac_val'\''"
2297     done | sort
2298     echo
2299
2300     if test -n "$ac_subst_files"; then
2301       $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2304       echo
2305       for ac_var in $ac_subst_files
2306       do
2307         eval ac_val=\$$ac_var
2308         case $ac_val in
2309         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310         esac
2311         $as_echo "$ac_var='\''$ac_val'\''"
2312       done | sort
2313       echo
2314     fi
2315
2316     if test -s confdefs.h; then
2317       $as_echo "## ----------- ##
2318 ## confdefs.h. ##
2319 ## ----------- ##"
2320       echo
2321       cat confdefs.h
2322       echo
2323     fi
2324     test "$ac_signal" != 0 &&
2325       $as_echo "$as_me: caught signal $ac_signal"
2326     $as_echo "$as_me: exit $exit_status"
2327   } >&5
2328   rm -f core *.core core.conftest.* &&
2329     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330     exit $exit_status
2331 ' 0
2332 for ac_signal in 1 2 13 15; do
2333   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2334 done
2335 ac_signal=0
2336
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2339
2340 $as_echo "/* confdefs.h */" > confdefs.h
2341
2342 # Predefined preprocessor variables.
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 _ACEOF
2347
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 _ACEOF
2351
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 _ACEOF
2355
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 _ACEOF
2359
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 _ACEOF
2363
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2366 _ACEOF
2367
2368
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2371 ac_site_file1=NONE
2372 ac_site_file2=NONE
2373 if test -n "$CONFIG_SITE"; then
2374   # We do not want a PATH search for config.site.
2375   case $CONFIG_SITE in #((
2376     -*)  ac_site_file1=./$CONFIG_SITE;;
2377     */*) ac_site_file1=$CONFIG_SITE;;
2378     *)   ac_site_file1=./$CONFIG_SITE;;
2379   esac
2380 elif test "x$prefix" != xNONE; then
2381   ac_site_file1=$prefix/share/config.site
2382   ac_site_file2=$prefix/etc/config.site
2383 else
2384   ac_site_file1=$ac_default_prefix/share/config.site
2385   ac_site_file2=$ac_default_prefix/etc/config.site
2386 fi
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388 do
2389   test "x$ac_site_file" = xNONE && continue
2390   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393     sed 's/^/| /' "$ac_site_file" >&5
2394     . "$ac_site_file" \
2395       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2399   fi
2400 done
2401
2402 if test -r "$cache_file"; then
2403   # Some versions of bash will fail to source /dev/null (special files
2404   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2405   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2408     case $cache_file in
2409       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410       *)                      . "./$cache_file";;
2411     esac
2412   fi
2413 else
2414   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416   >$cache_file
2417 fi
2418
2419 # Check that the precious variables saved in the cache have kept the same
2420 # value.
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424   eval ac_new_set=\$ac_env_${ac_var}_set
2425   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426   eval ac_new_val=\$ac_env_${ac_var}_value
2427   case $ac_old_set,$ac_new_set in
2428     set,)
2429       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431       ac_cache_corrupted=: ;;
2432     ,set)
2433       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435       ac_cache_corrupted=: ;;
2436     ,);;
2437     *)
2438       if test "x$ac_old_val" != "x$ac_new_val"; then
2439         # differences in whitespace do not lead to failure.
2440         ac_old_val_w=`echo x $ac_old_val`
2441         ac_new_val_w=`echo x $ac_new_val`
2442         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445           ac_cache_corrupted=:
2446         else
2447           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449           eval $ac_var=\$ac_old_val
2450         fi
2451         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2452 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2453         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2455       fi;;
2456   esac
2457   # Pass precious variables to config.status.
2458   if test "$ac_new_set" = set; then
2459     case $ac_new_val in
2460     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461     *) ac_arg=$ac_var=$ac_new_val ;;
2462     esac
2463     case " $ac_configure_args " in
2464       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2465       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2466     esac
2467   fi
2468 done
2469 if $ac_cache_corrupted; then
2470   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2475 fi
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2479
2480 ac_ext=c
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2485
2486
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring LZO $PACKAGE_VERSION" >&5
2488 $as_echo "$as_me: Configuring LZO $PACKAGE_VERSION" >&6;}
2489
2490 ac_aux_dir=
2491 for ac_dir in autoconf "$srcdir"/autoconf; do
2492   if test -f "$ac_dir/install-sh"; then
2493     ac_aux_dir=$ac_dir
2494     ac_install_sh="$ac_aux_dir/install-sh -c"
2495     break
2496   elif test -f "$ac_dir/install.sh"; then
2497     ac_aux_dir=$ac_dir
2498     ac_install_sh="$ac_aux_dir/install.sh -c"
2499     break
2500   elif test -f "$ac_dir/shtool"; then
2501     ac_aux_dir=$ac_dir
2502     ac_install_sh="$ac_aux_dir/shtool install -c"
2503     break
2504   fi
2505 done
2506 if test -z "$ac_aux_dir"; then
2507   as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2508 fi
2509
2510 # These three variables are undocumented and unsupported,
2511 # and are intended to be withdrawn in a future Autoconf release.
2512 # They can cause serious problems if a builder's source tree is in a directory
2513 # whose full name contains unusual characters.
2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2516 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536 # Enable extensions on systems that normally disable them.
2537
2538 # Copyright (C) 2003, 2006-2017 Free Software Foundation, Inc.
2539 # This file is free software; the Free Software Foundation
2540 # gives unlimited permission to copy and/or distribute it,
2541 # with or without modifications, as long as this notice is preserved.
2542
2543 # This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from git
2544 # Autoconf.  Perhaps we can remove this once we can assume Autoconf
2545 # 2.70 or later everywhere, but since Autoconf mutates rapidly
2546 # enough in this area it's likely we'll need to redefine
2547 # AC_USE_SYSTEM_EXTENSIONS for quite some time.
2548
2549 # If autoconf reports a warning
2550 #     warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2551 # or  warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2552 # the fix is
2553 #   1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked
2554 #      but always AC_REQUIREd,
2555 #   2) to ensure that for each occurrence of
2556 #        AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
2557 #      or
2558 #        AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
2559 #      the corresponding gnulib module description has 'extensions' among
2560 #      its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS
2561 #      invocation occurs in gl_EARLY, not in gl_INIT.
2562
2563 # AC_USE_SYSTEM_EXTENSIONS
2564 # ------------------------
2565 # Enable extensions on systems that normally disable them,
2566 # typically due to standards-conformance issues.
2567 #
2568 # Remember that #undef in AH_VERBATIM gets replaced with #define by
2569 # AC_DEFINE.  The goal here is to define all known feature-enabling
2570 # macros, then, if reports of conflicts are made, disable macros that
2571 # cause problems on some platforms (such as __EXTENSIONS__).
2572 # AC_USE_SYSTEM_EXTENSIONS
2573
2574 # gl_USE_SYSTEM_EXTENSIONS
2575 # ------------------------
2576 # Enable extensions on systems that normally disable them,
2577 # typically due to standards-conformance issues.
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590 #
2591
2592
2593
2594
2595
2596 # Checks for stat-related time functions.
2597
2598 # Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2017 Free Software
2599 # Foundation, Inc.
2600
2601 # This file is free software; the Free Software Foundation
2602 # gives unlimited permission to copy and/or distribute it,
2603 # with or without modifications, as long as this notice is preserved.
2604
2605
2606 # st_atim.tv_nsec - Linux, Solaris, Cygwin
2607 # st_atimespec.tv_nsec - FreeBSD, NetBSD, if ! defined _POSIX_SOURCE
2608 # st_atimensec - FreeBSD, NetBSD, if defined _POSIX_SOURCE
2609 # st_atim.st__tim.tv_nsec - UnixWare (at least 2.1.2 through 7.1)
2610
2611 # st_birthtimespec - FreeBSD, NetBSD (hidden on OpenBSD 3.9, anyway)
2612 # st_birthtim - Cygwin 1.7.0+
2613
2614
2615
2616 # Check for st_birthtime, a feature from UFS2 (FreeBSD, NetBSD, OpenBSD, etc.)
2617 # and NTFS (Cygwin).
2618 # There was a time when this field was named st_createtime (21 June
2619 # 2002 to 16 July 2002) But that window is very small and applied only
2620 # to development code, so systems still using that configuration are
2621 # not supported.  See revisions 1.10 and 1.11 of FreeBSD's
2622 # src/sys/ufs/ufs/dinode.h.
2623 #
2624
2625
2626
2627
2628
2629
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2632   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2633
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if ${ac_cv_build+:} false; then :
2637   $as_echo_n "(cached) " >&6
2638 else
2639   ac_build_alias=$build_alias
2640 test "x$ac_build_alias" = x &&
2641   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x &&
2643   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2646
2647 fi
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2651 *-*-*) ;;
2652 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2653 esac
2654 build=$ac_cv_build
2655 ac_save_IFS=$IFS; IFS='-'
2656 set x $ac_cv_build
2657 shift
2658 build_cpu=$1
2659 build_vendor=$2
2660 shift; shift
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2663 build_os=$*
2664 IFS=$ac_save_IFS
2665 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2666
2667
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if ${ac_cv_host+:} false; then :
2671   $as_echo_n "(cached) " >&6
2672 else
2673   if test "x$host_alias" = x; then
2674   ac_cv_host=$ac_cv_build
2675 else
2676   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2678 fi
2679
2680 fi
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2683 case $ac_cv_host in
2684 *-*-*) ;;
2685 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2686 esac
2687 host=$ac_cv_host
2688 ac_save_IFS=$IFS; IFS='-'
2689 set x $ac_cv_host
2690 shift
2691 host_cpu=$1
2692 host_vendor=$2
2693 shift; shift
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2696 host_os=$*
2697 IFS=$ac_save_IFS
2698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2699
2700
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2702 $as_echo_n "checking target system type... " >&6; }
2703 if ${ac_cv_target+:} false; then :
2704   $as_echo_n "(cached) " >&6
2705 else
2706   if test "x$target_alias" = x; then
2707   ac_cv_target=$ac_cv_host
2708 else
2709   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2710     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2711 fi
2712
2713 fi
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2715 $as_echo "$ac_cv_target" >&6; }
2716 case $ac_cv_target in
2717 *-*-*) ;;
2718 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2719 esac
2720 target=$ac_cv_target
2721 ac_save_IFS=$IFS; IFS='-'
2722 set x $ac_cv_target
2723 shift
2724 target_cpu=$1
2725 target_vendor=$2
2726 shift; shift
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2729 target_os=$*
2730 IFS=$ac_save_IFS
2731 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2732
2733
2734 # The aliases save the names the user supplied, while $host etc.
2735 # will get canonicalized.
2736 test -n "$target_alias" &&
2737   test "$program_prefix$program_suffix$program_transform_name" = \
2738     NONENONEs,x,x, &&
2739   program_prefix=${target_alias}-
2740
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2742 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2743     # Check whether --enable-maintainer-mode was given.
2744 if test "${enable_maintainer_mode+set}" = set; then :
2745   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2746 else
2747   USE_MAINTAINER_MODE=no
2748 fi
2749
2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2751 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2752    if test $USE_MAINTAINER_MODE = yes; then
2753   MAINTAINER_MODE_TRUE=
2754   MAINTAINER_MODE_FALSE='#'
2755 else
2756   MAINTAINER_MODE_TRUE='#'
2757   MAINTAINER_MODE_FALSE=
2758 fi
2759
2760   MAINT=$MAINTAINER_MODE_TRUE
2761
2762
2763
2764 if test -z "$ac_abs_top_srcdir"; then
2765     ac_builddir=.
2766
2767 case . in
2768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 *)
2770   ac_dir_suffix=/`$as_echo . | sed 's|^\.[\\/]||'`
2771   # A ".." for each directory in $ac_dir_suffix.
2772   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2773   case $ac_top_builddir_sub in
2774   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2775   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2776   esac ;;
2777 esac
2778 ac_abs_top_builddir=$ac_pwd
2779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2780 # for backward compatibility:
2781 ac_top_builddir=$ac_top_build_prefix
2782
2783 case $srcdir in
2784   .)  # We are building in place.
2785     ac_srcdir=.
2786     ac_top_srcdir=$ac_top_builddir_sub
2787     ac_abs_top_srcdir=$ac_pwd ;;
2788   [\\/]* | ?:[\\/]* )  # Absolute name.
2789     ac_srcdir=$srcdir$ac_dir_suffix;
2790     ac_top_srcdir=$srcdir
2791     ac_abs_top_srcdir=$srcdir ;;
2792   *) # Relative name.
2793     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2794     ac_top_srcdir=$ac_top_build_prefix$srcdir
2795     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2796 esac
2797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2798
2799 fi
2800 if test -z "$ac_abs_top_srcdir"; then
2801     as_fn_error 1 "internal error: ac_abs_top_srcdir is not set"
2802 fi
2803 if test -r .Conf.settings1; then
2804     . ./.Conf.settings1
2805 fi
2806
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 if test -n "$ac_tool_prefix"; then
2813   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2814 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if ${ac_cv_prog_CC+:} false; then :
2818   $as_echo_n "(cached) " >&6
2819 else
2820   if test -n "$CC"; then
2821   ac_cv_prog_CC="$CC" # Let the user override the test.
2822 else
2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 for as_dir in $PATH
2825 do
2826   IFS=$as_save_IFS
2827   test -z "$as_dir" && as_dir=.
2828     for ac_exec_ext in '' $ac_executable_extensions; do
2829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2830     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832     break 2
2833   fi
2834 done
2835   done
2836 IFS=$as_save_IFS
2837
2838 fi
2839 fi
2840 CC=$ac_cv_prog_CC
2841 if test -n "$CC"; then
2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2843 $as_echo "$CC" >&6; }
2844 else
2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2847 fi
2848
2849
2850 fi
2851 if test -z "$ac_cv_prog_CC"; then
2852   ac_ct_CC=$CC
2853   # Extract the first word of "gcc", so it can be a program name with args.
2854 set dummy gcc; ac_word=$2
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2856 $as_echo_n "checking for $ac_word... " >&6; }
2857 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2858   $as_echo_n "(cached) " >&6
2859 else
2860   if test -n "$ac_ct_CC"; then
2861   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2862 else
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 for as_dir in $PATH
2865 do
2866   IFS=$as_save_IFS
2867   test -z "$as_dir" && as_dir=.
2868     for ac_exec_ext in '' $ac_executable_extensions; do
2869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2870     ac_cv_prog_ac_ct_CC="gcc"
2871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872     break 2
2873   fi
2874 done
2875   done
2876 IFS=$as_save_IFS
2877
2878 fi
2879 fi
2880 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2881 if test -n "$ac_ct_CC"; then
2882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2883 $as_echo "$ac_ct_CC" >&6; }
2884 else
2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2887 fi
2888
2889   if test "x$ac_ct_CC" = x; then
2890     CC=""
2891   else
2892     case $cross_compiling:$ac_tool_warned in
2893 yes:)
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2896 ac_tool_warned=yes ;;
2897 esac
2898     CC=$ac_ct_CC
2899   fi
2900 else
2901   CC="$ac_cv_prog_CC"
2902 fi
2903
2904 if test -z "$CC"; then
2905           if test -n "$ac_tool_prefix"; then
2906     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2907 set dummy ${ac_tool_prefix}cc; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_CC+:} false; then :
2911   $as_echo_n "(cached) " >&6
2912 else
2913   if test -n "$CC"; then
2914   ac_cv_prog_CC="$CC" # Let the user override the test.
2915 else
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 for as_dir in $PATH
2918 do
2919   IFS=$as_save_IFS
2920   test -z "$as_dir" && as_dir=.
2921     for ac_exec_ext in '' $ac_executable_extensions; do
2922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923     ac_cv_prog_CC="${ac_tool_prefix}cc"
2924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925     break 2
2926   fi
2927 done
2928   done
2929 IFS=$as_save_IFS
2930
2931 fi
2932 fi
2933 CC=$ac_cv_prog_CC
2934 if test -n "$CC"; then
2935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2936 $as_echo "$CC" >&6; }
2937 else
2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2940 fi
2941
2942
2943   fi
2944 fi
2945 if test -z "$CC"; then
2946   # Extract the first word of "cc", so it can be a program name with args.
2947 set dummy cc; ac_word=$2
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949 $as_echo_n "checking for $ac_word... " >&6; }
2950 if ${ac_cv_prog_CC+:} false; then :
2951   $as_echo_n "(cached) " >&6
2952 else
2953   if test -n "$CC"; then
2954   ac_cv_prog_CC="$CC" # Let the user override the test.
2955 else
2956   ac_prog_rejected=no
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 for as_dir in $PATH
2959 do
2960   IFS=$as_save_IFS
2961   test -z "$as_dir" && as_dir=.
2962     for ac_exec_ext in '' $ac_executable_extensions; do
2963   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2965        ac_prog_rejected=yes
2966        continue
2967      fi
2968     ac_cv_prog_CC="cc"
2969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970     break 2
2971   fi
2972 done
2973   done
2974 IFS=$as_save_IFS
2975
2976 if test $ac_prog_rejected = yes; then
2977   # We found a bogon in the path, so make sure we never use it.
2978   set dummy $ac_cv_prog_CC
2979   shift
2980   if test $# != 0; then
2981     # We chose a different compiler from the bogus one.
2982     # However, it has the same basename, so the bogon will be chosen
2983     # first if we set CC to just the basename; use the full file name.
2984     shift
2985     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2986   fi
2987 fi
2988 fi
2989 fi
2990 CC=$ac_cv_prog_CC
2991 if test -n "$CC"; then
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2993 $as_echo "$CC" >&6; }
2994 else
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
2997 fi
2998
2999
3000 fi
3001 if test -z "$CC"; then
3002   if test -n "$ac_tool_prefix"; then
3003   for ac_prog in cl.exe
3004   do
3005     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_CC+:} false; then :
3010   $as_echo_n "(cached) " >&6
3011 else
3012   if test -n "$CC"; then
3013   ac_cv_prog_CC="$CC" # Let the user override the test.
3014 else
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 for as_dir in $PATH
3017 do
3018   IFS=$as_save_IFS
3019   test -z "$as_dir" && as_dir=.
3020     for ac_exec_ext in '' $ac_executable_extensions; do
3021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024     break 2
3025   fi
3026 done
3027   done
3028 IFS=$as_save_IFS
3029
3030 fi
3031 fi
3032 CC=$ac_cv_prog_CC
3033 if test -n "$CC"; then
3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3035 $as_echo "$CC" >&6; }
3036 else
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3039 fi
3040
3041
3042     test -n "$CC" && break
3043   done
3044 fi
3045 if test -z "$CC"; then
3046   ac_ct_CC=$CC
3047   for ac_prog in cl.exe
3048 do
3049   # Extract the first word of "$ac_prog", so it can be a program name with args.
3050 set dummy $ac_prog; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3054   $as_echo_n "(cached) " >&6
3055 else
3056   if test -n "$ac_ct_CC"; then
3057   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3058 else
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 for as_dir in $PATH
3061 do
3062   IFS=$as_save_IFS
3063   test -z "$as_dir" && as_dir=.
3064     for ac_exec_ext in '' $ac_executable_extensions; do
3065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066     ac_cv_prog_ac_ct_CC="$ac_prog"
3067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068     break 2
3069   fi
3070 done
3071   done
3072 IFS=$as_save_IFS
3073
3074 fi
3075 fi
3076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3077 if test -n "$ac_ct_CC"; then
3078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3079 $as_echo "$ac_ct_CC" >&6; }
3080 else
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082 $as_echo "no" >&6; }
3083 fi
3084
3085
3086   test -n "$ac_ct_CC" && break
3087 done
3088
3089   if test "x$ac_ct_CC" = x; then
3090     CC=""
3091   else
3092     case $cross_compiling:$ac_tool_warned in
3093 yes:)
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3096 ac_tool_warned=yes ;;
3097 esac
3098     CC=$ac_ct_CC
3099   fi
3100 fi
3101
3102 fi
3103
3104
3105 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "no acceptable C compiler found in \$PATH
3108 See \`config.log' for more details" "$LINENO" 5; }
3109
3110 # Provide some information about the compiler.
3111 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3112 set X $ac_compile
3113 ac_compiler=$2
3114 for ac_option in --version -v -V -qversion; do
3115   { { ac_try="$ac_compiler $ac_option >&5"
3116 case "(($ac_try" in
3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118   *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3123   ac_status=$?
3124   if test -s conftest.err; then
3125     sed '10a\
3126 ... rest of stderr output deleted ...
3127          10q' conftest.err >conftest.er1
3128     cat conftest.er1 >&5
3129   fi
3130   rm -f conftest.er1 conftest.err
3131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132   test $ac_status = 0; }
3133 done
3134
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h.  */
3137
3138 int
3139 main ()
3140 {
3141
3142   ;
3143   return 0;
3144 }
3145 _ACEOF
3146 ac_clean_files_save=$ac_clean_files
3147 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3148 # Try to create an executable without -o first, disregard a.out.
3149 # It will help us diagnose broken compilers, and finding out an intuition
3150 # of exeext.
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3152 $as_echo_n "checking whether the C compiler works... " >&6; }
3153 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3154
3155 # The possible output files:
3156 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3157
3158 ac_rmfiles=
3159 for ac_file in $ac_files
3160 do
3161   case $ac_file in
3162     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3163     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3164   esac
3165 done
3166 rm -f $ac_rmfiles
3167
3168 if { { ac_try="$ac_link_default"
3169 case "(($ac_try" in
3170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171   *) ac_try_echo=$ac_try;;
3172 esac
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175   (eval "$ac_link_default") 2>&5
3176   ac_status=$?
3177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178   test $ac_status = 0; }; then :
3179   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3180 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3181 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3182 # so that the user can short-circuit this test for compilers unknown to
3183 # Autoconf.
3184 for ac_file in $ac_files ''
3185 do
3186   test -f "$ac_file" || continue
3187   case $ac_file in
3188     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3189         ;;
3190     [ab].out )
3191         # We found the default executable, but exeext='' is most
3192         # certainly right.
3193         break;;
3194     *.* )
3195         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3196         then :; else
3197            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3198         fi
3199         # We set ac_cv_exeext here because the later test for it is not
3200         # safe: cross compilers may not add the suffix if given an `-o'
3201         # argument, so we may need to know it at that point already.
3202         # Even if this section looks crufty: it has the advantage of
3203         # actually working.
3204         break;;
3205     * )
3206         break;;
3207   esac
3208 done
3209 test "$ac_cv_exeext" = no && ac_cv_exeext=
3210
3211 else
3212   ac_file=''
3213 fi
3214 if test -z "$ac_file"; then :
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3219
3220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error 77 "C compiler cannot create executables
3223 See \`config.log' for more details" "$LINENO" 5; }
3224 else
3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3226 $as_echo "yes" >&6; }
3227 fi
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3229 $as_echo_n "checking for C compiler default output file name... " >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3231 $as_echo "$ac_file" >&6; }
3232 ac_exeext=$ac_cv_exeext
3233
3234 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3235 ac_clean_files=$ac_clean_files_save
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3237 $as_echo_n "checking for suffix of executables... " >&6; }
3238 if { { ac_try="$ac_link"
3239 case "(($ac_try" in
3240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241   *) ac_try_echo=$ac_try;;
3242 esac
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245   (eval "$ac_link") 2>&5
3246   ac_status=$?
3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3248   test $ac_status = 0; }; then :
3249   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3250 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3251 # work properly (i.e., refer to `conftest.exe'), while it won't with
3252 # `rm'.
3253 for ac_file in conftest.exe conftest conftest.*; do
3254   test -f "$ac_file" || continue
3255   case $ac_file in
3256     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3257     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3258           break;;
3259     * ) break;;
3260   esac
3261 done
3262 else
3263   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3266 See \`config.log' for more details" "$LINENO" 5; }
3267 fi
3268 rm -f conftest conftest$ac_cv_exeext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3270 $as_echo "$ac_cv_exeext" >&6; }
3271
3272 rm -f conftest.$ac_ext
3273 EXEEXT=$ac_cv_exeext
3274 ac_exeext=$EXEEXT
3275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h.  */
3277 #include <stdio.h>
3278 int
3279 main ()
3280 {
3281 FILE *f = fopen ("conftest.out", "w");
3282  return ferror (f) || fclose (f) != 0;
3283
3284   ;
3285   return 0;
3286 }
3287 _ACEOF
3288 ac_clean_files="$ac_clean_files conftest.out"
3289 # Check that the compiler produces executables we can run.  If not, either
3290 # the compiler is broken, or we cross compile.
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3292 $as_echo_n "checking whether we are cross compiling... " >&6; }
3293 if test "$cross_compiling" != yes; then
3294   { { ac_try="$ac_link"
3295 case "(($ac_try" in
3296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297   *) ac_try_echo=$ac_try;;
3298 esac
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301   (eval "$ac_link") 2>&5
3302   ac_status=$?
3303   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304   test $ac_status = 0; }
3305   if { ac_try='./conftest$ac_cv_exeext'
3306   { { case "(($ac_try" in
3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308   *) ac_try_echo=$ac_try;;
3309 esac
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312   (eval "$ac_try") 2>&5
3313   ac_status=$?
3314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315   test $ac_status = 0; }; }; then
3316     cross_compiling=no
3317   else
3318     if test "$cross_compiling" = maybe; then
3319         cross_compiling=yes
3320     else
3321         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 as_fn_error $? "cannot run C compiled programs.
3324 If you meant to cross compile, use \`--host'.
3325 See \`config.log' for more details" "$LINENO" 5; }
3326     fi
3327   fi
3328 fi
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3330 $as_echo "$cross_compiling" >&6; }
3331
3332 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3333 ac_clean_files=$ac_clean_files_save
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3335 $as_echo_n "checking for suffix of object files... " >&6; }
3336 if ${ac_cv_objext+:} false; then :
3337   $as_echo_n "(cached) " >&6
3338 else
3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340 /* end confdefs.h.  */
3341
3342 int
3343 main ()
3344 {
3345
3346   ;
3347   return 0;
3348 }
3349 _ACEOF
3350 rm -f conftest.o conftest.obj
3351 if { { ac_try="$ac_compile"
3352 case "(($ac_try" in
3353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354   *) ac_try_echo=$ac_try;;
3355 esac
3356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3357 $as_echo "$ac_try_echo"; } >&5
3358   (eval "$ac_compile") 2>&5
3359   ac_status=$?
3360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361   test $ac_status = 0; }; then :
3362   for ac_file in conftest.o conftest.obj conftest.*; do
3363   test -f "$ac_file" || continue;
3364   case $ac_file in
3365     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3366     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3367        break;;
3368   esac
3369 done
3370 else
3371   $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3373
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 as_fn_error $? "cannot compute suffix of object files: cannot compile
3377 See \`config.log' for more details" "$LINENO" 5; }
3378 fi
3379 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3380 fi
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3382 $as_echo "$ac_cv_objext" >&6; }
3383 OBJEXT=$ac_cv_objext
3384 ac_objext=$OBJEXT
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3386 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3387 if ${ac_cv_c_compiler_gnu+:} false; then :
3388   $as_echo_n "(cached) " >&6
3389 else
3390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h.  */
3392
3393 int
3394 main ()
3395 {
3396 #ifndef __GNUC__
3397        choke me
3398 #endif
3399
3400   ;
3401   return 0;
3402 }
3403 _ACEOF
3404 if ac_fn_c_try_compile "$LINENO"; then :
3405   ac_compiler_gnu=yes
3406 else
3407   ac_compiler_gnu=no
3408 fi
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3411
3412 fi
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3414 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3415 if test $ac_compiler_gnu = yes; then
3416   GCC=yes
3417 else
3418   GCC=
3419 fi
3420 ac_test_CFLAGS=${CFLAGS+set}
3421 ac_save_CFLAGS=$CFLAGS
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3423 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3424 if ${ac_cv_prog_cc_g+:} false; then :
3425   $as_echo_n "(cached) " >&6
3426 else
3427   ac_save_c_werror_flag=$ac_c_werror_flag
3428    ac_c_werror_flag=yes
3429    ac_cv_prog_cc_g=no
3430    CFLAGS="-g"
3431    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h.  */
3433
3434 int
3435 main ()
3436 {
3437
3438   ;
3439   return 0;
3440 }
3441 _ACEOF
3442 if ac_fn_c_try_compile "$LINENO"; then :
3443   ac_cv_prog_cc_g=yes
3444 else
3445   CFLAGS=""
3446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h.  */
3448
3449 int
3450 main ()
3451 {
3452
3453   ;
3454   return 0;
3455 }
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458
3459 else
3460   ac_c_werror_flag=$ac_save_c_werror_flag
3461          CFLAGS="-g"
3462          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h.  */
3464
3465 int
3466 main ()
3467 {
3468
3469   ;
3470   return 0;
3471 }
3472 _ACEOF
3473 if ac_fn_c_try_compile "$LINENO"; then :
3474   ac_cv_prog_cc_g=yes
3475 fi
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 fi
3478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 fi
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481    ac_c_werror_flag=$ac_save_c_werror_flag
3482 fi
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3484 $as_echo "$ac_cv_prog_cc_g" >&6; }
3485 if test "$ac_test_CFLAGS" = set; then
3486   CFLAGS=$ac_save_CFLAGS
3487 elif test $ac_cv_prog_cc_g = yes; then
3488   if test "$GCC" = yes; then
3489     CFLAGS="-g -O2"
3490   else
3491     CFLAGS="-g"
3492   fi
3493 else
3494   if test "$GCC" = yes; then
3495     CFLAGS="-O2"
3496   else
3497     CFLAGS=
3498   fi
3499 fi
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3501 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3502 if ${ac_cv_prog_cc_c89+:} false; then :
3503   $as_echo_n "(cached) " >&6
3504 else
3505   ac_cv_prog_cc_c89=no
3506 ac_save_CC=$CC
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h.  */
3509 #include <stdarg.h>
3510 #include <stdio.h>
3511 struct stat;
3512 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3513 struct buf { int x; };
3514 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3515 static char *e (p, i)
3516      char **p;
3517      int i;
3518 {
3519   return p[i];
3520 }
3521 static char *f (char * (*g) (char **, int), char **p, ...)
3522 {
3523   char *s;
3524   va_list v;
3525   va_start (v,p);
3526   s = g (p, va_arg (v,int));
3527   va_end (v);
3528   return s;
3529 }
3530
3531 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3532    function prototypes and stuff, but not '\xHH' hex character constants.
3533    These don't provoke an error unfortunately, instead are silently treated
3534    as 'x'.  The following induces an error, until -std is added to get
3535    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3536    array size at least.  It's necessary to write '\x00'==0 to get something
3537    that's true only with -std.  */
3538 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3539
3540 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3541    inside strings and character constants.  */
3542 #define FOO(x) 'x'
3543 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3544
3545 int test (int i, double x);
3546 struct s1 {int (*f) (int a);};
3547 struct s2 {int (*f) (double a);};
3548 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3549 int argc;
3550 char **argv;
3551 int
3552 main ()
3553 {
3554 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3555   ;
3556   return 0;
3557 }
3558 _ACEOF
3559 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3560         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3561 do
3562   CC="$ac_save_CC $ac_arg"
3563   if ac_fn_c_try_compile "$LINENO"; then :
3564   ac_cv_prog_cc_c89=$ac_arg
3565 fi
3566 rm -f core conftest.err conftest.$ac_objext
3567   test "x$ac_cv_prog_cc_c89" != "xno" && break
3568 done
3569 rm -f conftest.$ac_ext
3570 CC=$ac_save_CC
3571
3572 fi
3573 # AC_CACHE_VAL
3574 case "x$ac_cv_prog_cc_c89" in
3575   x)
3576     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3577 $as_echo "none needed" >&6; } ;;
3578   xno)
3579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3580 $as_echo "unsupported" >&6; } ;;
3581   *)
3582     CC="$CC $ac_cv_prog_cc_c89"
3583     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3584 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3585 esac
3586 if test "x$ac_cv_prog_cc_c89" != xno; then :
3587
3588 fi
3589
3590 ac_ext=c
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595
3596 # Expand $ac_aux_dir to an absolute path.
3597 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3598
3599 ac_ext=c
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3605 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3606 if ${am_cv_prog_cc_c_o+:} false; then :
3607   $as_echo_n "(cached) " >&6
3608 else
3609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615
3616   ;
3617   return 0;
3618 }
3619 _ACEOF
3620   # Make sure it works both with $CC and with simple cc.
3621   # Following AC_PROG_CC_C_O, we do the test twice because some
3622   # compilers refuse to overwrite an existing .o file with -o,
3623   # though they will create one.
3624   am_cv_prog_cc_c_o=yes
3625   for am_i in 1 2; do
3626     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3627    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3628    ac_status=$?
3629    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630    (exit $ac_status); } \
3631          && test -f conftest2.$ac_objext; then
3632       : OK
3633     else
3634       am_cv_prog_cc_c_o=no
3635       break
3636     fi
3637   done
3638   rm -f core conftest*
3639   unset am_i
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3642 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3643 if test "$am_cv_prog_cc_c_o" != yes; then
3644    # Losing compiler, so override with the script.
3645    # FIXME: It is wrong to rewrite CC.
3646    # But if we don't then we get into trouble of one sort or another.
3647    # A longer-term fix would be to have automake use am__CC in this case,
3648    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3649    CC="$am_aux_dir/compile $CC"
3650 fi
3651 ac_ext=c
3652 ac_cpp='$CPP $CPPFLAGS'
3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656
3657
3658
3659
3660 if test -n "$ac_tool_prefix"; then
3661   for ac_prog in ar lib "link -lib"
3662   do
3663     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_AR+:} false; then :
3668   $as_echo_n "(cached) " >&6
3669 else
3670   if test -n "$AR"; then
3671   ac_cv_prog_AR="$AR" # Let the user override the test.
3672 else
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH
3675 do
3676   IFS=$as_save_IFS
3677   test -z "$as_dir" && as_dir=.
3678     for ac_exec_ext in '' $ac_executable_extensions; do
3679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682     break 2
3683   fi
3684 done
3685   done
3686 IFS=$as_save_IFS
3687
3688 fi
3689 fi
3690 AR=$ac_cv_prog_AR
3691 if test -n "$AR"; then
3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3693 $as_echo "$AR" >&6; }
3694 else
3695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 fi
3698
3699
3700     test -n "$AR" && break
3701   done
3702 fi
3703 if test -z "$AR"; then
3704   ac_ct_AR=$AR
3705   for ac_prog in ar lib "link -lib"
3706 do
3707   # Extract the first word of "$ac_prog", so it can be a program name with args.
3708 set dummy $ac_prog; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3712   $as_echo_n "(cached) " >&6
3713 else
3714   if test -n "$ac_ct_AR"; then
3715   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3716 else
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3718 for as_dir in $PATH
3719 do
3720   IFS=$as_save_IFS
3721   test -z "$as_dir" && as_dir=.
3722     for ac_exec_ext in '' $ac_executable_extensions; do
3723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724     ac_cv_prog_ac_ct_AR="$ac_prog"
3725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726     break 2
3727   fi
3728 done
3729   done
3730 IFS=$as_save_IFS
3731
3732 fi
3733 fi
3734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3735 if test -n "$ac_ct_AR"; then
3736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3737 $as_echo "$ac_ct_AR" >&6; }
3738 else
3739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744   test -n "$ac_ct_AR" && break
3745 done
3746
3747   if test "x$ac_ct_AR" = x; then
3748     AR="false"
3749   else
3750     case $cross_compiling:$ac_tool_warned in
3751 yes:)
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754 ac_tool_warned=yes ;;
3755 esac
3756     AR=$ac_ct_AR
3757   fi
3758 fi
3759
3760 : ${AR=ar}
3761
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3763 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3764 if ${am_cv_ar_interface+:} false; then :
3765   $as_echo_n "(cached) " >&6
3766 else
3767   ac_ext=c
3768 ac_cpp='$CPP $CPPFLAGS'
3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3772
3773    am_cv_ar_interface=ar
3774    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h.  */
3776 int some_variable = 0;
3777 _ACEOF
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3780       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3781   (eval $am_ar_try) 2>&5
3782   ac_status=$?
3783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784   test $ac_status = 0; }
3785       if test "$ac_status" -eq 0; then
3786         am_cv_ar_interface=ar
3787       else
3788         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3789         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3790   (eval $am_ar_try) 2>&5
3791   ac_status=$?
3792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793   test $ac_status = 0; }
3794         if test "$ac_status" -eq 0; then
3795           am_cv_ar_interface=lib
3796         else
3797           am_cv_ar_interface=unknown
3798         fi
3799       fi
3800       rm -f conftest.lib libconftest.a
3801
3802 fi
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804    ac_ext=c
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809
3810 fi
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3812 $as_echo "$am_cv_ar_interface" >&6; }
3813
3814 case $am_cv_ar_interface in
3815 ar)
3816   ;;
3817 lib)
3818   # Microsoft lib, so override with the ar-lib wrapper script.
3819   # FIXME: It is wrong to rewrite AR.
3820   # But if we don't then we get into trouble of one sort or another.
3821   # A longer-term fix would be to have automake use am__AR in this case,
3822   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3823   # similar.
3824   AR="$am_aux_dir/ar-lib $AR"
3825   ;;
3826 unknown)
3827   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3828   ;;
3829 esac
3830
3831 rm -rf .tst 2>/dev/null
3832 mkdir .tst 2>/dev/null
3833 if test -d .tst; then
3834   am__leading_dot=.
3835 else
3836   am__leading_dot=_
3837 fi
3838 rmdir .tst 2>/dev/null
3839
3840 DEPDIR="${am__leading_dot}deps"
3841
3842 ac_config_commands="$ac_config_commands depfiles"
3843
3844
3845 am_make=${MAKE-make}
3846 cat > confinc << 'END'
3847 am__doit:
3848         @echo this is the am__doit target
3849 .PHONY: am__doit
3850 END
3851 # If we don't find an include directive, just comment out the code.
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3853 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3854 am__include="#"
3855 am__quote=
3856 _am_result=none
3857 # First try GNU make style include.
3858 echo "include confinc" > confmf
3859 # Ignore all kinds of additional output from 'make'.
3860 case `$am_make -s -f confmf 2> /dev/null` in #(
3861 *the\ am__doit\ target*)
3862   am__include=include
3863   am__quote=
3864   _am_result=GNU
3865   ;;
3866 esac
3867 # Now try BSD make style include.
3868 if test "$am__include" = "#"; then
3869    echo '.include "confinc"' > confmf
3870    case `$am_make -s -f confmf 2> /dev/null` in #(
3871    *the\ am__doit\ target*)
3872      am__include=.include
3873      am__quote="\""
3874      _am_result=BSD
3875      ;;
3876    esac
3877 fi
3878
3879
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3881 $as_echo "$_am_result" >&6; }
3882 rm -f confinc confmf
3883
3884 # Check whether --enable-dependency-tracking was given.
3885 if test "${enable_dependency_tracking+set}" = set; then :
3886   enableval=$enable_dependency_tracking;
3887 fi
3888
3889 if test "x$enable_dependency_tracking" != xno; then
3890   am_depcomp="$ac_aux_dir/depcomp"
3891   AMDEPBACKSLASH='\'
3892   am__nodep='_no'
3893 fi
3894  if test "x$enable_dependency_tracking" != xno; then
3895   AMDEP_TRUE=
3896   AMDEP_FALSE='#'
3897 else
3898   AMDEP_TRUE='#'
3899   AMDEP_FALSE=
3900 fi
3901
3902
3903 # By default we simply use the C compiler to build assembly code.
3904
3905 test "${CCAS+set}" = set || CCAS=$CC
3906 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3907
3908
3909
3910 depcc="$CCAS"   am_compiler_list=
3911
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3913 $as_echo_n "checking dependency style of $depcc... " >&6; }
3914 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3915   $as_echo_n "(cached) " >&6
3916 else
3917   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3918   # We make a subdir and do the tests there.  Otherwise we can end up
3919   # making bogus files that we don't know about and never remove.  For
3920   # instance it was reported that on HP-UX the gcc test will end up
3921   # making a dummy file named 'D' -- because '-MD' means "put the output
3922   # in D".
3923   rm -rf conftest.dir
3924   mkdir conftest.dir
3925   # Copy depcomp to subdir because otherwise we won't find it if we're
3926   # using a relative directory.
3927   cp "$am_depcomp" conftest.dir
3928   cd conftest.dir
3929   # We will build objects and dependencies in a subdirectory because
3930   # it helps to detect inapplicable dependency modes.  For instance
3931   # both Tru64's cc and ICC support -MD to output dependencies as a
3932   # side effect of compilation, but ICC will put the dependencies in
3933   # the current directory while Tru64 will put them in the object
3934   # directory.
3935   mkdir sub
3936
3937   am_cv_CCAS_dependencies_compiler_type=none
3938   if test "$am_compiler_list" = ""; then
3939      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3940   fi
3941   am__universal=false
3942
3943
3944   for depmode in $am_compiler_list; do
3945     # Setup a source with many dependencies, because some compilers
3946     # like to wrap large dependency lists on column 80 (with \), and
3947     # we should not choose a depcomp mode which is confused by this.
3948     #
3949     # We need to recreate these files for each test, as the compiler may
3950     # overwrite some of them when testing with obscure command lines.
3951     # This happens at least with the AIX C compiler.
3952     : > sub/conftest.c
3953     for i in 1 2 3 4 5 6; do
3954       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3955       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3956       # Solaris 10 /bin/sh.
3957       echo '/* dummy */' > sub/conftst$i.h
3958     done
3959     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3960
3961     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3962     # mode.  It turns out that the SunPro C++ compiler does not properly
3963     # handle '-M -o', and we need to detect this.  Also, some Intel
3964     # versions had trouble with output in subdirs.
3965     am__obj=sub/conftest.${OBJEXT-o}
3966     am__minus_obj="-o $am__obj"
3967     case $depmode in
3968     gcc)
3969       # This depmode causes a compiler race in universal mode.
3970       test "$am__universal" = false || continue
3971       ;;
3972     nosideeffect)
3973       # After this tag, mechanisms are not by side-effect, so they'll
3974       # only be used when explicitly requested.
3975       if test "x$enable_dependency_tracking" = xyes; then
3976         continue
3977       else
3978         break
3979       fi
3980       ;;
3981     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3982       # This compiler won't grok '-c -o', but also, the minuso test has
3983       # not run yet.  These depmodes are late enough in the game, and
3984       # so weak that their functioning should not be impacted.
3985       am__obj=conftest.${OBJEXT-o}
3986       am__minus_obj=
3987       ;;
3988     none) break ;;
3989     esac
3990     if depmode=$depmode \
3991        source=sub/conftest.c object=$am__obj \
3992        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3993        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3994          >/dev/null 2>conftest.err &&
3995        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3996        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3997        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3998        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3999       # icc doesn't choke on unknown options, it will just issue warnings
4000       # or remarks (even with -Werror).  So we grep stderr for any message
4001       # that says an option was ignored or not supported.
4002       # When given -MP, icc 7.0 and 7.1 complain thusly:
4003       #   icc: Command line warning: ignoring option '-M'; no argument required
4004       # The diagnosis changed in icc 8.0:
4005       #   icc: Command line remark: option '-MP' not supported
4006       if (grep 'ignoring option' conftest.err ||
4007           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4008         am_cv_CCAS_dependencies_compiler_type=$depmode
4009         break
4010       fi
4011     fi
4012   done
4013
4014   cd ..
4015   rm -rf conftest.dir
4016 else
4017   am_cv_CCAS_dependencies_compiler_type=none
4018 fi
4019
4020 fi
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4022 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4023 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
4024
4025  if
4026   test "x$enable_dependency_tracking" != xno \
4027   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
4028   am__fastdepCCAS_TRUE=
4029   am__fastdepCCAS_FALSE='#'
4030 else
4031   am__fastdepCCAS_TRUE='#'
4032   am__fastdepCCAS_FALSE=
4033 fi
4034
4035
4036 ac_ext=c
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4042 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4043 # On Suns, sometimes $CPP names a directory.
4044 if test -n "$CPP" && test -d "$CPP"; then
4045   CPP=
4046 fi
4047 if test -z "$CPP"; then
4048   if ${ac_cv_prog_CPP+:} false; then :
4049   $as_echo_n "(cached) " >&6
4050 else
4051       # Double quotes because CPP needs to be expanded
4052     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4053     do
4054       ac_preproc_ok=false
4055 for ac_c_preproc_warn_flag in '' yes
4056 do
4057   # Use a header file that comes with gcc, so configuring glibc
4058   # with a fresh cross-compiler works.
4059   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060   # <limits.h> exists even on freestanding compilers.
4061   # On the NeXT, cc -E runs the code through the compiler's parser,
4062   # not just through cpp. "Syntax error" is here to catch this case.
4063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h.  */
4065 #ifdef __STDC__
4066 # include <limits.h>
4067 #else
4068 # include <assert.h>
4069 #endif
4070                      Syntax error
4071 _ACEOF
4072 if ac_fn_c_try_cpp "$LINENO"; then :
4073
4074 else
4075   # Broken: fails on valid input.
4076 continue
4077 fi
4078 rm -f conftest.err conftest.i conftest.$ac_ext
4079
4080   # OK, works on sane cases.  Now check whether nonexistent headers
4081   # can be detected and how.
4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4084 #include <ac_nonexistent.h>
4085 _ACEOF
4086 if ac_fn_c_try_cpp "$LINENO"; then :
4087   # Broken: success on invalid input.
4088 continue
4089 else
4090   # Passes both tests.
4091 ac_preproc_ok=:
4092 break
4093 fi
4094 rm -f conftest.err conftest.i conftest.$ac_ext
4095
4096 done
4097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4098 rm -f conftest.i conftest.err conftest.$ac_ext
4099 if $ac_preproc_ok; then :
4100   break
4101 fi
4102
4103     done
4104     ac_cv_prog_CPP=$CPP
4105
4106 fi
4107   CPP=$ac_cv_prog_CPP
4108 else
4109   ac_cv_prog_CPP=$CPP
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4112 $as_echo "$CPP" >&6; }
4113 ac_preproc_ok=false
4114 for ac_c_preproc_warn_flag in '' yes
4115 do
4116   # Use a header file that comes with gcc, so configuring glibc
4117   # with a fresh cross-compiler works.
4118   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119   # <limits.h> exists even on freestanding compilers.
4120   # On the NeXT, cc -E runs the code through the compiler's parser,
4121   # not just through cpp. "Syntax error" is here to catch this case.
4122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h.  */
4124 #ifdef __STDC__
4125 # include <limits.h>
4126 #else
4127 # include <assert.h>
4128 #endif
4129                      Syntax error
4130 _ACEOF
4131 if ac_fn_c_try_cpp "$LINENO"; then :
4132
4133 else
4134   # Broken: fails on valid input.
4135 continue
4136 fi
4137 rm -f conftest.err conftest.i conftest.$ac_ext
4138
4139   # OK, works on sane cases.  Now check whether nonexistent headers
4140   # can be detected and how.
4141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h.  */
4143 #include <ac_nonexistent.h>
4144 _ACEOF
4145 if ac_fn_c_try_cpp "$LINENO"; then :
4146   # Broken: success on invalid input.
4147 continue
4148 else
4149   # Passes both tests.
4150 ac_preproc_ok=:
4151 break
4152 fi
4153 rm -f conftest.err conftest.i conftest.$ac_ext
4154
4155 done
4156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4157 rm -f conftest.i conftest.err conftest.$ac_ext
4158 if $ac_preproc_ok; then :
4159
4160 else
4161   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4164 See \`config.log' for more details" "$LINENO" 5; }
4165 fi
4166
4167 ac_ext=c
4168 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4172
4173
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C preprocessor needs special flags" >&5
4175 $as_echo_n "checking whether the C preprocessor needs special flags... " >&6; }
4176
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h.  */
4179 #include <limits.h>
4180 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
4181 #  include "your C preprocessor is broken 1"
4182 #elif (0xffffu == 0xfffffffful)
4183 #  include "your C preprocessor is broken 2"
4184 #elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
4185 #  include "your C preprocessor is broken 3"
4186 #endif
4187
4188 int
4189 main ()
4190 {
4191
4192
4193   ;
4194   return 0;
4195 }
4196 _ACEOF
4197
4198 mfx_save_CPPFLAGS=$CPPFLAGS
4199 mfx_tmp=ERROR
4200 for mfx_arg in "" -no-cpp-precomp
4201 do
4202   CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
4203   if ac_fn_c_try_compile "$LINENO"; then :
4204   mfx_tmp=$mfx_arg
4205 break
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext
4208 done
4209 CPPFLAGS=$mfx_save_CPPFLAGS
4210 rm -f conftest.$ac_ext conftest.$ac_objext
4211 case x$mfx_tmp in
4212   x)
4213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4214 $as_echo "none needed" >&6; } ;;
4215   xERROR)
4216     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ERROR" >&5
4217 $as_echo "ERROR" >&6; }
4218     as_fn_error $? "your C preprocessor is broken - for details see config.log" "$LINENO" 5
4219     ;;
4220   *)
4221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
4222 $as_echo "$mfx_tmp" >&6; }
4223     CPPFLAGS="$mfx_tmp $CPPFLAGS"
4224     ;;
4225 esac
4226
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4228 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4229 if ${ac_cv_c_const+:} false; then :
4230   $as_echo_n "(cached) " >&6
4231 else
4232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h.  */
4234
4235 int
4236 main ()
4237 {
4238
4239 #ifndef __cplusplus
4240   /* Ultrix mips cc rejects this sort of thing.  */
4241   typedef int charset[2];
4242   const charset cs = { 0, 0 };
4243   /* SunOS 4.1.1 cc rejects this.  */
4244   char const *const *pcpcc;
4245   char **ppc;
4246   /* NEC SVR4.0.2 mips cc rejects this.  */
4247   struct point {int x, y;};
4248   static struct point const zero = {0,0};
4249   /* AIX XL C 1.02.0.0 rejects this.
4250      It does not let you subtract one const X* pointer from another in
4251      an arm of an if-expression whose if-part is not a constant
4252      expression */
4253   const char *g = "string";
4254   pcpcc = &g + (g ? g-g : 0);
4255   /* HPUX 7.0 cc rejects these. */
4256   ++pcpcc;
4257   ppc = (char**) pcpcc;
4258   pcpcc = (char const *const *) ppc;
4259   { /* SCO 3.2v4 cc rejects this sort of thing.  */
4260     char tx;
4261     char *t = &tx;
4262     char const *s = 0 ? (char *) 0 : (char const *) 0;
4263
4264     *t++ = 0;
4265     if (s) return 0;
4266   }
4267   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4268     int x[] = {25, 17};
4269     const int *foo = &x[0];
4270     ++foo;
4271   }
4272   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4273     typedef const int *iptr;
4274     iptr p = 0;
4275     ++p;
4276   }
4277   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4278        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4279     struct s { int j; const int *ap[3]; } bx;
4280     struct s *b = &bx; b->j = 5;
4281   }
4282   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4283     const int foo = 10;
4284     if (!foo) return 0;
4285   }
4286   return !cs[0] && !zero.x;
4287 #endif
4288
4289   ;
4290   return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294   ac_cv_c_const=yes
4295 else
4296   ac_cv_c_const=no
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4301 $as_echo "$ac_cv_c_const" >&6; }
4302 if test $ac_cv_c_const = no; then
4303
4304 $as_echo "#define const /**/" >>confdefs.h
4305
4306 fi
4307
4308
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4311 if ${ac_cv_path_GREP+:} false; then :
4312   $as_echo_n "(cached) " >&6
4313 else
4314   if test -z "$GREP"; then
4315   ac_path_GREP_found=false
4316   # Loop through the user's path and test for each of PROGNAME-LIST
4317   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4319 do
4320   IFS=$as_save_IFS
4321   test -z "$as_dir" && as_dir=.
4322     for ac_prog in grep ggrep; do
4323     for ac_exec_ext in '' $ac_executable_extensions; do
4324       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4325       as_fn_executable_p "$ac_path_GREP" || continue
4326 # Check for GNU ac_path_GREP and select it if it is found.
4327   # Check for GNU $ac_path_GREP
4328 case `"$ac_path_GREP" --version 2>&1` in
4329 *GNU*)
4330   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4331 *)
4332   ac_count=0
4333   $as_echo_n 0123456789 >"conftest.in"
4334   while :
4335   do
4336     cat "conftest.in" "conftest.in" >"conftest.tmp"
4337     mv "conftest.tmp" "conftest.in"
4338     cp "conftest.in" "conftest.nl"
4339     $as_echo 'GREP' >> "conftest.nl"
4340     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4341     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4342     as_fn_arith $ac_count + 1 && ac_count=$as_val
4343     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4344       # Best one so far, save it but keep looking for a better one
4345       ac_cv_path_GREP="$ac_path_GREP"
4346       ac_path_GREP_max=$ac_count
4347     fi
4348     # 10*(2^10) chars as input seems more than enough
4349     test $ac_count -gt 10 && break
4350   done
4351   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4352 esac
4353
4354       $ac_path_GREP_found && break 3
4355     done
4356   done
4357   done
4358 IFS=$as_save_IFS
4359   if test -z "$ac_cv_path_GREP"; then
4360     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4361   fi
4362 else
4363   ac_cv_path_GREP=$GREP
4364 fi
4365
4366 fi
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4368 $as_echo "$ac_cv_path_GREP" >&6; }
4369  GREP="$ac_cv_path_GREP"
4370
4371
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4373 $as_echo_n "checking for egrep... " >&6; }
4374 if ${ac_cv_path_EGREP+:} false; then :
4375   $as_echo_n "(cached) " >&6
4376 else
4377   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4378    then ac_cv_path_EGREP="$GREP -E"
4379    else
4380      if test -z "$EGREP"; then
4381   ac_path_EGREP_found=false
4382   # Loop through the user's path and test for each of PROGNAME-LIST
4383   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4385 do
4386   IFS=$as_save_IFS
4387   test -z "$as_dir" && as_dir=.
4388     for ac_prog in egrep; do
4389     for ac_exec_ext in '' $ac_executable_extensions; do
4390       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4391       as_fn_executable_p "$ac_path_EGREP" || continue
4392 # Check for GNU ac_path_EGREP and select it if it is found.
4393   # Check for GNU $ac_path_EGREP
4394 case `"$ac_path_EGREP" --version 2>&1` in
4395 *GNU*)
4396   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4397 *)
4398   ac_count=0
4399   $as_echo_n 0123456789 >"conftest.in"
4400   while :
4401   do
4402     cat "conftest.in" "conftest.in" >"conftest.tmp"
4403     mv "conftest.tmp" "conftest.in"
4404     cp "conftest.in" "conftest.nl"
4405     $as_echo 'EGREP' >> "conftest.nl"
4406     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408     as_fn_arith $ac_count + 1 && ac_count=$as_val
4409     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4410       # Best one so far, save it but keep looking for a better one
4411       ac_cv_path_EGREP="$ac_path_EGREP"
4412       ac_path_EGREP_max=$ac_count
4413     fi
4414     # 10*(2^10) chars as input seems more than enough
4415     test $ac_count -gt 10 && break
4416   done
4417   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4418 esac
4419
4420       $ac_path_EGREP_found && break 3
4421     done
4422   done
4423   done
4424 IFS=$as_save_IFS
4425   if test -z "$ac_cv_path_EGREP"; then
4426     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4427   fi
4428 else
4429   ac_cv_path_EGREP=$EGREP
4430 fi
4431
4432    fi
4433 fi
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4435 $as_echo "$ac_cv_path_EGREP" >&6; }
4436  EGREP="$ac_cv_path_EGREP"
4437
4438
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4440 $as_echo_n "checking for ANSI C header files... " >&6; }
4441 if ${ac_cv_header_stdc+:} false; then :
4442   $as_echo_n "(cached) " >&6
4443 else
4444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h.  */
4446 #include <stdlib.h>
4447 #include <stdarg.h>
4448 #include <string.h>
4449 #include <float.h>
4450
4451 int
4452 main ()
4453 {
4454
4455   ;
4456   return 0;
4457 }
4458 _ACEOF
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460   ac_cv_header_stdc=yes
4461 else
4462   ac_cv_header_stdc=no
4463 fi
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465
4466 if test $ac_cv_header_stdc = yes; then
4467   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h.  */
4470 #include <string.h>
4471
4472 _ACEOF
4473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4474   $EGREP "memchr" >/dev/null 2>&1; then :
4475
4476 else
4477   ac_cv_header_stdc=no
4478 fi
4479 rm -f conftest*
4480
4481 fi
4482
4483 if test $ac_cv_header_stdc = yes; then
4484   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h.  */
4487 #include <stdlib.h>
4488
4489 _ACEOF
4490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4491   $EGREP "free" >/dev/null 2>&1; then :
4492
4493 else
4494   ac_cv_header_stdc=no
4495 fi
4496 rm -f conftest*
4497
4498 fi
4499
4500 if test $ac_cv_header_stdc = yes; then
4501   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4502   if test "$cross_compiling" = yes; then :
4503   :
4504 else
4505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h.  */
4507 #include <ctype.h>
4508 #include <stdlib.h>
4509 #if ((' ' & 0x0FF) == 0x020)
4510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4512 #else
4513 # define ISLOWER(c) \
4514                    (('a' <= (c) && (c) <= 'i') \
4515                      || ('j' <= (c) && (c) <= 'r') \
4516                      || ('s' <= (c) && (c) <= 'z'))
4517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4518 #endif
4519
4520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4521 int
4522 main ()
4523 {
4524   int i;
4525   for (i = 0; i < 256; i++)
4526     if (XOR (islower (i), ISLOWER (i))
4527         || toupper (i) != TOUPPER (i))
4528       return 2;
4529   return 0;
4530 }
4531 _ACEOF
4532 if ac_fn_c_try_run "$LINENO"; then :
4533
4534 else
4535   ac_cv_header_stdc=no
4536 fi
4537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4538   conftest.$ac_objext conftest.beam conftest.$ac_ext
4539 fi
4540
4541 fi
4542 fi
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4544 $as_echo "$ac_cv_header_stdc" >&6; }
4545 if test $ac_cv_header_stdc = yes; then
4546
4547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4548
4549 fi
4550
4551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4552 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4553                   inttypes.h stdint.h unistd.h
4554 do :
4555   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4556 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4557 "
4558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4559   cat >>confdefs.h <<_ACEOF
4560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4561 _ACEOF
4562
4563 fi
4564
4565 done
4566
4567
4568
4569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4570 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4571 if ${ac_cv_c_bigendian+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574   ac_cv_c_bigendian=unknown
4575     # See if we're dealing with a universal compiler.
4576     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h.  */
4578 #ifndef __APPLE_CC__
4579                not a universal capable compiler
4580              #endif
4581              typedef int dummy;
4582
4583 _ACEOF
4584 if ac_fn_c_try_compile "$LINENO"; then :
4585
4586         # Check for potential -arch flags.  It is not universal unless
4587         # there are at least two -arch flags with different values.
4588         ac_arch=
4589         ac_prev=
4590         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4591          if test -n "$ac_prev"; then
4592            case $ac_word in
4593              i?86 | x86_64 | ppc | ppc64)
4594                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4595                  ac_arch=$ac_word
4596                else
4597                  ac_cv_c_bigendian=universal
4598                  break
4599                fi
4600                ;;
4601            esac
4602            ac_prev=
4603          elif test "x$ac_word" = "x-arch"; then
4604            ac_prev=arch
4605          fi
4606        done
4607 fi
4608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4609     if test $ac_cv_c_bigendian = unknown; then
4610       # See if sys/param.h defines the BYTE_ORDER macro.
4611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h.  */
4613 #include <sys/types.h>
4614              #include <sys/param.h>
4615
4616 int
4617 main ()
4618 {
4619 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4620                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4621                      && LITTLE_ENDIAN)
4622               bogus endian macros
4623              #endif
4624
4625   ;
4626   return 0;
4627 }
4628 _ACEOF
4629 if ac_fn_c_try_compile "$LINENO"; then :
4630   # It does; now see whether it defined to BIG_ENDIAN or not.
4631          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h.  */
4633 #include <sys/types.h>
4634                 #include <sys/param.h>
4635
4636 int
4637 main ()
4638 {
4639 #if BYTE_ORDER != BIG_ENDIAN
4640                  not big endian
4641                 #endif
4642
4643   ;
4644   return 0;
4645 }
4646 _ACEOF
4647 if ac_fn_c_try_compile "$LINENO"; then :
4648   ac_cv_c_bigendian=yes
4649 else
4650   ac_cv_c_bigendian=no
4651 fi
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 fi
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655     fi
4656     if test $ac_cv_c_bigendian = unknown; then
4657       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h.  */
4660 #include <limits.h>
4661
4662 int
4663 main ()
4664 {
4665 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4666               bogus endian macros
4667              #endif
4668
4669   ;
4670   return 0;
4671 }
4672 _ACEOF
4673 if ac_fn_c_try_compile "$LINENO"; then :
4674   # It does; now see whether it defined to _BIG_ENDIAN or not.
4675          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676 /* end confdefs.h.  */
4677 #include <limits.h>
4678
4679 int
4680 main ()
4681 {
4682 #ifndef _BIG_ENDIAN
4683                  not big endian
4684                 #endif
4685
4686   ;
4687   return 0;
4688 }
4689 _ACEOF
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691   ac_cv_c_bigendian=yes
4692 else
4693   ac_cv_c_bigendian=no
4694 fi
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 fi
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698     fi
4699     if test $ac_cv_c_bigendian = unknown; then
4700       # Compile a test program.
4701       if test "$cross_compiling" = yes; then :
4702   # Try to guess by grepping values from an object file.
4703          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h.  */
4705 short int ascii_mm[] =
4706                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4707                 short int ascii_ii[] =
4708                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4709                 int use_ascii (int i) {
4710                   return ascii_mm[i] + ascii_ii[i];
4711                 }
4712                 short int ebcdic_ii[] =
4713                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4714                 short int ebcdic_mm[] =
4715                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4716                 int use_ebcdic (int i) {
4717                   return ebcdic_mm[i] + ebcdic_ii[i];
4718                 }
4719                 extern int foo;
4720
4721 int
4722 main ()
4723 {
4724 return use_ascii (foo) == use_ebcdic (foo);
4725   ;
4726   return 0;
4727 }
4728 _ACEOF
4729 if ac_fn_c_try_compile "$LINENO"; then :
4730   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4731               ac_cv_c_bigendian=yes
4732             fi
4733             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4734               if test "$ac_cv_c_bigendian" = unknown; then
4735                 ac_cv_c_bigendian=no
4736               else
4737                 # finding both strings is unlikely to happen, but who knows?
4738                 ac_cv_c_bigendian=unknown
4739               fi
4740             fi
4741 fi
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 else
4744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h.  */
4746 $ac_includes_default
4747 int
4748 main ()
4749 {
4750
4751              /* Are we little or big endian?  From Harbison&Steele.  */
4752              union
4753              {
4754                long int l;
4755                char c[sizeof (long int)];
4756              } u;
4757              u.l = 1;
4758              return u.c[sizeof (long int) - 1] == 1;
4759
4760   ;
4761   return 0;
4762 }
4763 _ACEOF
4764 if ac_fn_c_try_run "$LINENO"; then :
4765   ac_cv_c_bigendian=no
4766 else
4767   ac_cv_c_bigendian=yes
4768 fi
4769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4770   conftest.$ac_objext conftest.beam conftest.$ac_ext
4771 fi
4772
4773     fi
4774 fi
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4776 $as_echo "$ac_cv_c_bigendian" >&6; }
4777  case $ac_cv_c_bigendian in #(
4778    yes)
4779
4780 $as_echo "#define LZO_ABI_BIG_ENDIAN 1" >>confdefs.h
4781 ;; #(
4782    no)
4783
4784 $as_echo "#define LZO_ABI_LITTLE_ENDIAN 1" >>confdefs.h
4785  ;; #(
4786    universal)
4787
4788 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4789
4790      ;; #(
4791    *)
4792      as_fn_error $? "unknown endianness
4793  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4794  esac
4795
4796
4797 # Check whether --enable-largefile was given.
4798 if test "${enable_largefile+set}" = set; then :
4799   enableval=$enable_largefile;
4800 fi
4801
4802 if test "$enable_largefile" != no; then
4803
4804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4805 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4806 if ${ac_cv_sys_largefile_CC+:} false; then :
4807   $as_echo_n "(cached) " >&6
4808 else
4809   ac_cv_sys_largefile_CC=no
4810      if test "$GCC" != yes; then
4811        ac_save_CC=$CC
4812        while :; do
4813          # IRIX 6.2 and later do not support large files by default,
4814          # so use the C compiler's -n32 option if that helps.
4815          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h.  */
4817 #include <sys/types.h>
4818  /* Check that off_t can represent 2**63 - 1 correctly.
4819     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4820     since some C++ compilers masquerading as C compilers
4821     incorrectly reject 9223372036854775807.  */
4822 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4823   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4824                        && LARGE_OFF_T % 2147483647 == 1)
4825                       ? 1 : -1];
4826 int
4827 main ()
4828 {
4829
4830   ;
4831   return 0;
4832 }
4833 _ACEOF
4834          if ac_fn_c_try_compile "$LINENO"; then :
4835   break
4836 fi
4837 rm -f core conftest.err conftest.$ac_objext
4838          CC="$CC -n32"
4839          if ac_fn_c_try_compile "$LINENO"; then :
4840   ac_cv_sys_largefile_CC=' -n32'; break
4841 fi
4842 rm -f core conftest.err conftest.$ac_objext
4843          break
4844        done
4845        CC=$ac_save_CC
4846        rm -f conftest.$ac_ext
4847     fi
4848 fi
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4850 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4851   if test "$ac_cv_sys_largefile_CC" != no; then
4852     CC=$CC$ac_cv_sys_largefile_CC
4853   fi
4854
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4856 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4857 if ${ac_cv_sys_file_offset_bits+:} false; then :
4858   $as_echo_n "(cached) " >&6
4859 else
4860   while :; do
4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h.  */
4863 #include <sys/types.h>
4864  /* Check that off_t can represent 2**63 - 1 correctly.
4865     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4866     since some C++ compilers masquerading as C compilers
4867     incorrectly reject 9223372036854775807.  */
4868 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4869   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4870                        && LARGE_OFF_T % 2147483647 == 1)
4871                       ? 1 : -1];
4872 int
4873 main ()
4874 {
4875
4876   ;
4877   return 0;
4878 }
4879 _ACEOF
4880 if ac_fn_c_try_compile "$LINENO"; then :
4881   ac_cv_sys_file_offset_bits=no; break
4882 fi
4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h.  */
4886 #define _FILE_OFFSET_BITS 64
4887 #include <sys/types.h>
4888  /* Check that off_t can represent 2**63 - 1 correctly.
4889     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4890     since some C++ compilers masquerading as C compilers
4891     incorrectly reject 9223372036854775807.  */
4892 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4893   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4894                        && LARGE_OFF_T % 2147483647 == 1)
4895                       ? 1 : -1];
4896 int
4897 main ()
4898 {
4899
4900   ;
4901   return 0;
4902 }
4903 _ACEOF
4904 if ac_fn_c_try_compile "$LINENO"; then :
4905   ac_cv_sys_file_offset_bits=64; break
4906 fi
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908   ac_cv_sys_file_offset_bits=unknown
4909   break
4910 done
4911 fi
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4913 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4914 case $ac_cv_sys_file_offset_bits in #(
4915   no | unknown) ;;
4916   *)
4917 cat >>confdefs.h <<_ACEOF
4918 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4919 _ACEOF
4920 ;;
4921 esac
4922 rm -rf conftest*
4923   if test $ac_cv_sys_file_offset_bits = unknown; then
4924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4925 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4926 if ${ac_cv_sys_large_files+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   while :; do
4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h.  */
4932 #include <sys/types.h>
4933  /* Check that off_t can represent 2**63 - 1 correctly.
4934     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4935     since some C++ compilers masquerading as C compilers
4936     incorrectly reject 9223372036854775807.  */
4937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4938   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4939                        && LARGE_OFF_T % 2147483647 == 1)
4940                       ? 1 : -1];
4941 int
4942 main ()
4943 {
4944
4945   ;
4946   return 0;
4947 }
4948 _ACEOF
4949 if ac_fn_c_try_compile "$LINENO"; then :
4950   ac_cv_sys_large_files=no; break
4951 fi
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h.  */
4955 #define _LARGE_FILES 1
4956 #include <sys/types.h>
4957  /* Check that off_t can represent 2**63 - 1 correctly.
4958     We can't simply define LARGE_OFF_T to be 9223372036854775807,
4959     since some C++ compilers masquerading as C compilers
4960     incorrectly reject 9223372036854775807.  */
4961 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4962   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4963                        && LARGE_OFF_T % 2147483647 == 1)
4964                       ? 1 : -1];
4965 int
4966 main ()
4967 {
4968
4969   ;
4970   return 0;
4971 }
4972 _ACEOF
4973 if ac_fn_c_try_compile "$LINENO"; then :
4974   ac_cv_sys_large_files=1; break
4975 fi
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977   ac_cv_sys_large_files=unknown
4978   break
4979 done
4980 fi
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4982 $as_echo "$ac_cv_sys_large_files" >&6; }
4983 case $ac_cv_sys_large_files in #(
4984   no | unknown) ;;
4985   *)
4986 cat >>confdefs.h <<_ACEOF
4987 #define _LARGE_FILES $ac_cv_sys_large_files
4988 _ACEOF
4989 ;;
4990 esac
4991 rm -rf conftest*
4992   fi
4993
4994
4995 fi
4996
4997
4998 am__api_version='1.15'
4999
5000 # Find a good install program.  We prefer a C program (faster),
5001 # so one script is as good as another.  But avoid the broken or
5002 # incompatible versions:
5003 # SysV /etc/install, /usr/sbin/install
5004 # SunOS /usr/etc/install
5005 # IRIX /sbin/install
5006 # AIX /bin/install
5007 # AmigaOS /C/install, which installs bootblocks on floppy discs
5008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5011 # OS/2's system install, which has a completely different semantic
5012 # ./install, which can be erroneously created by make from ./install.sh.
5013 # Reject install programs that cannot install multiple files.
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5015 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5016 if test -z "$INSTALL"; then
5017 if ${ac_cv_path_install+:} false; then :
5018   $as_echo_n "(cached) " >&6
5019 else
5020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5022 do
5023   IFS=$as_save_IFS
5024   test -z "$as_dir" && as_dir=.
5025     # Account for people who put trailing slashes in PATH elements.
5026 case $as_dir/ in #((
5027   ./ | .// | /[cC]/* | \
5028   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5029   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
5030   /usr/ucb/* ) ;;
5031   *)
5032     # OSF1 and SCO ODT 3.0 have their own names for install.
5033     # Don't use installbsd from OSF since it installs stuff as root
5034     # by default.
5035     for ac_prog in ginstall scoinst install; do
5036       for ac_exec_ext in '' $ac_executable_extensions; do
5037         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5038           if test $ac_prog = install &&
5039             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5040             # AIX install.  It has an incompatible calling convention.
5041             :
5042           elif test $ac_prog = install &&
5043             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5044             # program-specific install script used by HP pwplus--don't use.
5045             :
5046           else
5047             rm -rf conftest.one conftest.two conftest.dir
5048             echo one > conftest.one
5049             echo two > conftest.two
5050             mkdir conftest.dir
5051             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5052               test -s conftest.one && test -s conftest.two &&
5053               test -s conftest.dir/conftest.one &&
5054               test -s conftest.dir/conftest.two
5055             then
5056               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5057               break 3
5058             fi
5059           fi
5060         fi
5061       done
5062     done
5063     ;;
5064 esac
5065
5066   done
5067 IFS=$as_save_IFS
5068
5069 rm -rf conftest.one conftest.two conftest.dir
5070
5071 fi
5072   if test "${ac_cv_path_install+set}" = set; then
5073     INSTALL=$ac_cv_path_install
5074   else
5075     # As a last resort, use the slow shell script.  Don't cache a
5076     # value for INSTALL within a source directory, because that will
5077     # break other packages using the cache if that directory is
5078     # removed, or if the value is a relative name.
5079     INSTALL=$ac_install_sh
5080   fi
5081 fi
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5083 $as_echo "$INSTALL" >&6; }
5084
5085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5086 # It thinks the first close brace ends the variable substitution.
5087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5088
5089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5090
5091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5092
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5094 $as_echo_n "checking whether build environment is sane... " >&6; }
5095 # Reject unsafe characters in $srcdir or the absolute working directory
5096 # name.  Accept space and tab only in the latter.
5097 am_lf='
5098 '
5099 case `pwd` in
5100   *[\\\"\#\$\&\'\`$am_lf]*)
5101     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
5102 esac
5103 case $srcdir in
5104   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
5105     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5106 esac
5107
5108 # Do 'set' in a subshell so we don't clobber the current shell's
5109 # arguments.  Must try -L first in case configure is actually a
5110 # symlink; some systems play weird games with the mod time of symlinks
5111 # (eg FreeBSD returns the mod time of the symlink's containing
5112 # directory).
5113 if (
5114    am_has_slept=no
5115    for am_try in 1 2; do
5116      echo "timestamp, slept: $am_has_slept" > conftest.file
5117      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5118      if test "$*" = "X"; then
5119         # -L didn't work.
5120         set X `ls -t "$srcdir/configure" conftest.file`
5121      fi
5122      if test "$*" != "X $srcdir/configure conftest.file" \
5123         && test "$*" != "X conftest.file $srcdir/configure"; then
5124
5125         # If neither matched, then we have a broken ls.  This can happen
5126         # if, for instance, CONFIG_SHELL is bash and it inherits a
5127         # broken ls alias from the environment.  This has actually
5128         # happened.  Such a system could not be considered "sane".
5129         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
5130   alias in your environment" "$LINENO" 5
5131      fi
5132      if test "$2" = conftest.file || test $am_try -eq 2; then
5133        break
5134      fi
5135      # Just in case.
5136      sleep 1
5137      am_has_slept=yes
5138    done
5139    test "$2" = conftest.file
5140    )
5141 then
5142    # Ok.
5143    :
5144 else
5145    as_fn_error $? "newly created file is older than distributed files!
5146 Check your system clock" "$LINENO" 5
5147 fi
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5150 # If we didn't sleep, we still need to ensure time stamps of config.status and
5151 # generated files are strictly newer.
5152 am_sleep_pid=
5153 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
5154   ( sleep 1 ) &
5155   am_sleep_pid=$!
5156 fi
5157
5158 rm -f conftest.file
5159
5160 test "$program_prefix" != NONE &&
5161   program_transform_name="s&^&$program_prefix&;$program_transform_name"
5162 # Use a double $ so make ignores it.
5163 test "$program_suffix" != NONE &&
5164   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
5165 # Double any \ or $.
5166 # By default was `s,x,x', remove it if useless.
5167 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
5168 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
5169
5170 if test x"${MISSING+set}" != xset; then
5171   case $am_aux_dir in
5172   *\ * | *\     *)
5173     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
5174   *)
5175     MISSING="\${SHELL} $am_aux_dir/missing" ;;
5176   esac
5177 fi
5178 # Use eval to expand $SHELL
5179 if eval "$MISSING --is-lightweight"; then
5180   am_missing_run="$MISSING "
5181 else
5182   am_missing_run=
5183   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5184 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5185 fi
5186
5187 if test x"${install_sh+set}" != xset; then
5188   case $am_aux_dir in
5189   *\ * | *\     *)
5190     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
5191   *)
5192     install_sh="\${SHELL} $am_aux_dir/install-sh"
5193   esac
5194 fi
5195
5196 # Installed binaries are usually stripped using 'strip' when the user
5197 # run "make install-strip".  However 'strip' might not be the right
5198 # tool to use in cross-compilation environments, therefore Automake
5199 # will honor the 'STRIP' environment variable to overrule this program.
5200 if test "$cross_compiling" != no; then
5201   if test -n "$ac_tool_prefix"; then
5202   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}strip; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_STRIP+:} false; then :
5207   $as_echo_n "(cached) " >&6
5208 else
5209   if test -n "$STRIP"; then
5210   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5214 do
5215   IFS=$as_save_IFS
5216   test -z "$as_dir" && as_dir=.
5217     for ac_exec_ext in '' $ac_executable_extensions; do
5218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221     break 2
5222   fi
5223 done
5224   done
5225 IFS=$as_save_IFS
5226
5227 fi
5228 fi
5229 STRIP=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5232 $as_echo "$STRIP" >&6; }
5233 else
5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5236 fi
5237
5238
5239 fi
5240 if test -z "$ac_cv_prog_STRIP"; then
5241   ac_ct_STRIP=$STRIP
5242   # Extract the first word of "strip", so it can be a program name with args.
5243 set dummy strip; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5247   $as_echo_n "(cached) " >&6
5248 else
5249   if test -n "$ac_ct_STRIP"; then
5250   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5254 do
5255   IFS=$as_save_IFS
5256   test -z "$as_dir" && as_dir=.
5257     for ac_exec_ext in '' $ac_executable_extensions; do
5258   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259     ac_cv_prog_ac_ct_STRIP="strip"
5260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261     break 2
5262   fi
5263 done
5264   done
5265 IFS=$as_save_IFS
5266
5267 fi
5268 fi
5269 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5270 if test -n "$ac_ct_STRIP"; then
5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5272 $as_echo "$ac_ct_STRIP" >&6; }
5273 else
5274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5276 fi
5277
5278   if test "x$ac_ct_STRIP" = x; then
5279     STRIP=":"
5280   else
5281     case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287     STRIP=$ac_ct_STRIP
5288   fi
5289 else
5290   STRIP="$ac_cv_prog_STRIP"
5291 fi
5292
5293 fi
5294 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5295
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5297 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5298 if test -z "$MKDIR_P"; then
5299   if ${ac_cv_path_mkdir+:} false; then :
5300   $as_echo_n "(cached) " >&6
5301 else
5302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5304 do
5305   IFS=$as_save_IFS
5306   test -z "$as_dir" && as_dir=.
5307     for ac_prog in mkdir gmkdir; do
5308          for ac_exec_ext in '' $ac_executable_extensions; do
5309            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
5310            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5311              'mkdir (GNU coreutils) '* | \
5312              'mkdir (coreutils) '* | \
5313              'mkdir (fileutils) '4.1*)
5314                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
5315                break 3;;
5316            esac
5317          done
5318        done
5319   done
5320 IFS=$as_save_IFS
5321
5322 fi
5323
5324   test -d ./--version && rmdir ./--version
5325   if test "${ac_cv_path_mkdir+set}" = set; then
5326     MKDIR_P="$ac_cv_path_mkdir -p"
5327   else
5328     # As a last resort, use the slow shell script.  Don't cache a
5329     # value for MKDIR_P within a source directory, because that will
5330     # break other packages using the cache if that directory is
5331     # removed, or if the value is a relative name.
5332     MKDIR_P="$ac_install_sh -d"
5333   fi
5334 fi
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5336 $as_echo "$MKDIR_P" >&6; }
5337
5338 for ac_prog in gawk mawk nawk awk
5339 do
5340   # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_AWK+:} false; then :
5345   $as_echo_n "(cached) " >&6
5346 else
5347   if test -n "$AWK"; then
5348   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5349 else
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 for as_dir in $PATH
5352 do
5353   IFS=$as_save_IFS
5354   test -z "$as_dir" && as_dir=.
5355     for ac_exec_ext in '' $ac_executable_extensions; do
5356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5357     ac_cv_prog_AWK="$ac_prog"
5358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359     break 2
5360   fi
5361 done
5362   done
5363 IFS=$as_save_IFS
5364
5365 fi
5366 fi
5367 AWK=$ac_cv_prog_AWK
5368 if test -n "$AWK"; then
5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5370 $as_echo "$AWK" >&6; }
5371 else
5372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5374 fi
5375
5376
5377   test -n "$AWK" && break
5378 done
5379
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5381 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5382 set x ${MAKE-make}
5383 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5384 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5385   $as_echo_n "(cached) " >&6
5386 else
5387   cat >conftest.make <<\_ACEOF
5388 SHELL = /bin/sh
5389 all:
5390         @echo '@@@%%%=$(MAKE)=@@@%%%'
5391 _ACEOF
5392 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5393 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5394   *@@@%%%=?*=@@@%%%*)
5395     eval ac_cv_prog_make_${ac_make}_set=yes;;
5396   *)
5397     eval ac_cv_prog_make_${ac_make}_set=no;;
5398 esac
5399 rm -f conftest.make
5400 fi
5401 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5403 $as_echo "yes" >&6; }
5404   SET_MAKE=
5405 else
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408   SET_MAKE="MAKE=${MAKE-make}"
5409 fi
5410
5411 # Check whether --enable-silent-rules was given.
5412 if test "${enable_silent_rules+set}" = set; then :
5413   enableval=$enable_silent_rules;
5414 fi
5415
5416 case $enable_silent_rules in # (((
5417   yes) AM_DEFAULT_VERBOSITY=0;;
5418    no) AM_DEFAULT_VERBOSITY=1;;
5419     *) AM_DEFAULT_VERBOSITY=1;;
5420 esac
5421 am_make=${MAKE-make}
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5423 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5424 if ${am_cv_make_support_nested_variables+:} false; then :
5425   $as_echo_n "(cached) " >&6
5426 else
5427   if $as_echo 'TRUE=$(BAR$(V))
5428 BAR0=false
5429 BAR1=true
5430 V=1
5431 am__doit:
5432         @$(TRUE)
5433 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5434   am_cv_make_support_nested_variables=yes
5435 else
5436   am_cv_make_support_nested_variables=no
5437 fi
5438 fi
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5440 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5441 if test $am_cv_make_support_nested_variables = yes; then
5442     AM_V='$(V)'
5443   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5444 else
5445   AM_V=$AM_DEFAULT_VERBOSITY
5446   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5447 fi
5448 AM_BACKSLASH='\'
5449
5450 if test "`cd $srcdir && pwd`" != "`pwd`"; then
5451   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5452   # is not polluted with repeated "-I."
5453   am__isrc=' -I$(srcdir)'
5454   # test to see if srcdir already configured
5455   if test -f $srcdir/config.status; then
5456     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
5457   fi
5458 fi
5459
5460 # test whether we have cygpath
5461 if test -z "$CYGPATH_W"; then
5462   if (cygpath --version) >/dev/null 2>/dev/null; then
5463     CYGPATH_W='cygpath -w'
5464   else
5465     CYGPATH_W=echo
5466   fi
5467 fi
5468
5469
5470 # Define the identity of the package.
5471  PACKAGE='lzo'
5472  VERSION='2.10'
5473
5474
5475 cat >>confdefs.h <<_ACEOF
5476 #define PACKAGE "$PACKAGE"
5477 _ACEOF
5478
5479
5480 cat >>confdefs.h <<_ACEOF
5481 #define VERSION "$VERSION"
5482 _ACEOF
5483
5484 # Some tools Automake needs.
5485
5486 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5487
5488
5489 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5490
5491
5492 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5493
5494
5495 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5496
5497
5498 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5499
5500 # For better backward compatibility.  To be removed once Automake 1.9.x
5501 # dies out for good.  For more background, see:
5502 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5503 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5504 mkdir_p='$(MKDIR_P)'
5505
5506 # We need awk for the "check" target (and possibly the TAP driver).  The
5507 # system "awk" is bad on some platforms.
5508 # Always define AMTAR for backward compatibility.  Yes, it's still used
5509 # in the wild :-(  We should find a proper way to deprecate it ...
5510 AMTAR='$${TAR-tar}'
5511
5512
5513 # We'll loop over all known methods to create a tar archive until one works.
5514 _am_tools='gnutar  pax cpio none'
5515
5516 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5517
5518
5519
5520
5521
5522 depcc="$CC"   am_compiler_list=
5523
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5525 $as_echo_n "checking dependency style of $depcc... " >&6; }
5526 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5527   $as_echo_n "(cached) " >&6
5528 else
5529   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5530   # We make a subdir and do the tests there.  Otherwise we can end up
5531   # making bogus files that we don't know about and never remove.  For
5532   # instance it was reported that on HP-UX the gcc test will end up
5533   # making a dummy file named 'D' -- because '-MD' means "put the output
5534   # in D".
5535   rm -rf conftest.dir
5536   mkdir conftest.dir
5537   # Copy depcomp to subdir because otherwise we won't find it if we're
5538   # using a relative directory.
5539   cp "$am_depcomp" conftest.dir
5540   cd conftest.dir
5541   # We will build objects and dependencies in a subdirectory because
5542   # it helps to detect inapplicable dependency modes.  For instance
5543   # both Tru64's cc and ICC support -MD to output dependencies as a
5544   # side effect of compilation, but ICC will put the dependencies in
5545   # the current directory while Tru64 will put them in the object
5546   # directory.
5547   mkdir sub
5548
5549   am_cv_CC_dependencies_compiler_type=none
5550   if test "$am_compiler_list" = ""; then
5551      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5552   fi
5553   am__universal=false
5554   case " $depcc " in #(
5555      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5556      esac
5557
5558   for depmode in $am_compiler_list; do
5559     # Setup a source with many dependencies, because some compilers
5560     # like to wrap large dependency lists on column 80 (with \), and
5561     # we should not choose a depcomp mode which is confused by this.
5562     #
5563     # We need to recreate these files for each test, as the compiler may
5564     # overwrite some of them when testing with obscure command lines.
5565     # This happens at least with the AIX C compiler.
5566     : > sub/conftest.c
5567     for i in 1 2 3 4 5 6; do
5568       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5569       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5570       # Solaris 10 /bin/sh.
5571       echo '/* dummy */' > sub/conftst$i.h
5572     done
5573     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5574
5575     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5576     # mode.  It turns out that the SunPro C++ compiler does not properly
5577     # handle '-M -o', and we need to detect this.  Also, some Intel
5578     # versions had trouble with output in subdirs.
5579     am__obj=sub/conftest.${OBJEXT-o}
5580     am__minus_obj="-o $am__obj"
5581     case $depmode in
5582     gcc)
5583       # This depmode causes a compiler race in universal mode.
5584       test "$am__universal" = false || continue
5585       ;;
5586     nosideeffect)
5587       # After this tag, mechanisms are not by side-effect, so they'll
5588       # only be used when explicitly requested.
5589       if test "x$enable_dependency_tracking" = xyes; then
5590         continue
5591       else
5592         break
5593       fi
5594       ;;
5595     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5596       # This compiler won't grok '-c -o', but also, the minuso test has
5597       # not run yet.  These depmodes are late enough in the game, and
5598       # so weak that their functioning should not be impacted.
5599       am__obj=conftest.${OBJEXT-o}
5600       am__minus_obj=
5601       ;;
5602     none) break ;;
5603     esac
5604     if depmode=$depmode \
5605        source=sub/conftest.c object=$am__obj \
5606        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5607        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5608          >/dev/null 2>conftest.err &&
5609        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5610        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5611        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5612        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5613       # icc doesn't choke on unknown options, it will just issue warnings
5614       # or remarks (even with -Werror).  So we grep stderr for any message
5615       # that says an option was ignored or not supported.
5616       # When given -MP, icc 7.0 and 7.1 complain thusly:
5617       #   icc: Command line warning: ignoring option '-M'; no argument required
5618       # The diagnosis changed in icc 8.0:
5619       #   icc: Command line remark: option '-MP' not supported
5620       if (grep 'ignoring option' conftest.err ||
5621           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5622         am_cv_CC_dependencies_compiler_type=$depmode
5623         break
5624       fi
5625     fi
5626   done
5627
5628   cd ..
5629   rm -rf conftest.dir
5630 else
5631   am_cv_CC_dependencies_compiler_type=none
5632 fi
5633
5634 fi
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5636 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5637 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5638
5639  if
5640   test "x$enable_dependency_tracking" != xno \
5641   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5642   am__fastdepCC_TRUE=
5643   am__fastdepCC_FALSE='#'
5644 else
5645   am__fastdepCC_TRUE='#'
5646   am__fastdepCC_FALSE=
5647 fi
5648
5649
5650
5651 # POSIX will say in a future version that running "rm -f" with no argument
5652 # is OK; and we want to be able to make that assumption in our Makefile
5653 # recipes.  So use an aggressive probe to check that the usage we want is
5654 # actually supported "in the wild" to an acceptable degree.
5655 # See automake bug#10828.
5656 # To make any issue more visible, cause the running configure to be aborted
5657 # by default if the 'rm' program in use doesn't match our expectations; the
5658 # user can still override this though.
5659 if rm -f && rm -fr && rm -rf; then : OK; else
5660   cat >&2 <<'END'
5661 Oops!
5662
5663 Your 'rm' program seems unable to run without file operands specified
5664 on the command line, even when the '-f' option is present.  This is contrary
5665 to the behaviour of most rm programs out there, and not conforming with
5666 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5667
5668 Please tell bug-automake@gnu.org about your system, including the value
5669 of your $PATH and any error possibly output before this message.  This
5670 can help us improve future automake versions.
5671
5672 END
5673   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
5674     echo 'Configuration will proceed anyway, since you have set the' >&2
5675     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5676     echo >&2
5677   else
5678     cat >&2 <<'END'
5679 Aborting the configuration process, to ensure you take notice of the issue.
5680
5681 You can download and install GNU coreutils to get an 'rm' implementation
5682 that behaves properly: <http://www.gnu.org/software/coreutils/>.
5683
5684 If you want to complete the configuration process using your problematic
5685 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5686 to "yes", and re-run configure.
5687
5688 END
5689     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
5690   fi
5691 fi
5692
5693 # Check whether --enable-silent-rules was given.
5694 if test "${enable_silent_rules+set}" = set; then :
5695   enableval=$enable_silent_rules;
5696 fi
5697
5698 case $enable_silent_rules in # (((
5699   yes) AM_DEFAULT_VERBOSITY=0;;
5700    no) AM_DEFAULT_VERBOSITY=1;;
5701     *) AM_DEFAULT_VERBOSITY=0;;
5702 esac
5703 am_make=${MAKE-make}
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
5705 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
5706 if ${am_cv_make_support_nested_variables+:} false; then :
5707   $as_echo_n "(cached) " >&6
5708 else
5709   if $as_echo 'TRUE=$(BAR$(V))
5710 BAR0=false
5711 BAR1=true
5712 V=1
5713 am__doit:
5714         @$(TRUE)
5715 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
5716   am_cv_make_support_nested_variables=yes
5717 else
5718   am_cv_make_support_nested_variables=no
5719 fi
5720 fi
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
5722 $as_echo "$am_cv_make_support_nested_variables" >&6; }
5723 if test $am_cv_make_support_nested_variables = yes; then
5724     AM_V='$(V)'
5725   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5726 else
5727   AM_V=$AM_DEFAULT_VERBOSITY
5728   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
5729 fi
5730 AM_BACKSLASH='\'
5731
5732 ac_config_headers="$ac_config_headers config.h:config.hin"
5733
5734
5735
5736
5737 # Check whether --enable-static was given.
5738 if test "${enable_static+set}" = set; then :
5739   enableval=$enable_static; p=${PACKAGE-default}
5740     case $enableval in
5741     yes) enable_static=yes ;;
5742     no) enable_static=no ;;
5743     *)
5744      enable_static=no
5745       # Look at the argument we got.  We use all the common list separators.
5746       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5747       for pkg in $enableval; do
5748         IFS=$lt_save_ifs
5749         if test "X$pkg" = "X$p"; then
5750           enable_static=yes
5751         fi
5752       done
5753       IFS=$lt_save_ifs
5754       ;;
5755     esac
5756 else
5757   enable_static=yes
5758 fi
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768 # Check whether --enable-shared was given.
5769 if test "${enable_shared+set}" = set; then :
5770   enableval=$enable_shared; p=${PACKAGE-default}
5771     case $enableval in
5772     yes) enable_shared=yes ;;
5773     no) enable_shared=no ;;
5774     *)
5775       enable_shared=no
5776       # Look at the argument we got.  We use all the common list separators.
5777       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
5778       for pkg in $enableval; do
5779         IFS=$lt_save_ifs
5780         if test "X$pkg" = "X$p"; then
5781           enable_shared=yes
5782         fi
5783       done
5784       IFS=$lt_save_ifs
5785       ;;
5786     esac
5787 else
5788   enable_shared=no
5789 fi
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799 case `pwd` in
5800   *\ * | *\     *)
5801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5802 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5803 esac
5804
5805
5806
5807 macro_version='2.4.2.418'
5808 macro_revision='2.4.2.418'
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822 ltmain=$ac_aux_dir/ltmain.sh
5823
5824 # Backslashify metacharacters that are still active within
5825 # double-quoted strings.
5826 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5827
5828 # Same as above, but do not quote variable references.
5829 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5830
5831 # Sed substitution to delay expansion of an escaped shell variable in a
5832 # double_quote_subst'ed string.
5833 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5834
5835 # Sed substitution to delay expansion of an escaped single quote.
5836 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5837
5838 # Sed substitution to avoid accidental globbing in evaled expressions
5839 no_glob_subst='s/\*/\\\*/g'
5840
5841 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5842 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5843 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5844
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5846 $as_echo_n "checking how to print strings... " >&6; }
5847 # Test print first, because it will be a builtin if present.
5848 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5849    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5850   ECHO='print -r --'
5851 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5852   ECHO='printf %s\n'
5853 else
5854   # Use this function as a fallback that always works.
5855   func_fallback_echo ()
5856   {
5857     eval 'cat <<_LTECHO_EOF
5858 $1
5859 _LTECHO_EOF'
5860   }
5861   ECHO='func_fallback_echo'
5862 fi
5863
5864 # func_echo_all arg...
5865 # Invoke $ECHO with all args, space-separated.
5866 func_echo_all ()
5867 {
5868     $ECHO ""
5869 }
5870
5871 case $ECHO in
5872   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5873 $as_echo "printf" >&6; } ;;
5874   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5875 $as_echo "print -r" >&6; } ;;
5876   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5877 $as_echo "cat" >&6; } ;;
5878 esac
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5894 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5895 if ${ac_cv_path_SED+:} false; then :
5896   $as_echo_n "(cached) " >&6
5897 else
5898             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5899      for ac_i in 1 2 3 4 5 6 7; do
5900        ac_script="$ac_script$as_nl$ac_script"
5901      done
5902      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5903      { ac_script=; unset ac_script;}
5904      if test -z "$SED"; then
5905   ac_path_SED_found=false
5906   # Loop through the user's path and test for each of PROGNAME-LIST
5907   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5909 do
5910   IFS=$as_save_IFS
5911   test -z "$as_dir" && as_dir=.
5912     for ac_prog in sed gsed; do
5913     for ac_exec_ext in '' $ac_executable_extensions; do
5914       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5915       as_fn_executable_p "$ac_path_SED" || continue
5916 # Check for GNU ac_path_SED and select it if it is found.
5917   # Check for GNU $ac_path_SED
5918 case `"$ac_path_SED" --version 2>&1` in
5919 *GNU*)
5920   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5921 *)
5922   ac_count=0
5923   $as_echo_n 0123456789 >"conftest.in"
5924   while :
5925   do
5926     cat "conftest.in" "conftest.in" >"conftest.tmp"
5927     mv "conftest.tmp" "conftest.in"
5928     cp "conftest.in" "conftest.nl"
5929     $as_echo '' >> "conftest.nl"
5930     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5931     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5932     as_fn_arith $ac_count + 1 && ac_count=$as_val
5933     if test $ac_count -gt ${ac_path_SED_max-0}; then
5934       # Best one so far, save it but keep looking for a better one
5935       ac_cv_path_SED="$ac_path_SED"
5936       ac_path_SED_max=$ac_count
5937     fi
5938     # 10*(2^10) chars as input seems more than enough
5939     test $ac_count -gt 10 && break
5940   done
5941   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5942 esac
5943
5944       $ac_path_SED_found && break 3
5945     done
5946   done
5947   done
5948 IFS=$as_save_IFS
5949   if test -z "$ac_cv_path_SED"; then
5950     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5951   fi
5952 else
5953   ac_cv_path_SED=$SED
5954 fi
5955
5956 fi
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5958 $as_echo "$ac_cv_path_SED" >&6; }
5959  SED="$ac_cv_path_SED"
5960   rm -f conftest.sed
5961
5962 test -z "$SED" && SED=sed
5963 Xsed="$SED -e 1s/^X//"
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5976 $as_echo_n "checking for fgrep... " >&6; }
5977 if ${ac_cv_path_FGREP+:} false; then :
5978   $as_echo_n "(cached) " >&6
5979 else
5980   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5981    then ac_cv_path_FGREP="$GREP -F"
5982    else
5983      if test -z "$FGREP"; then
5984   ac_path_FGREP_found=false
5985   # Loop through the user's path and test for each of PROGNAME-LIST
5986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5988 do
5989   IFS=$as_save_IFS
5990   test -z "$as_dir" && as_dir=.
5991     for ac_prog in fgrep; do
5992     for ac_exec_ext in '' $ac_executable_extensions; do
5993       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5994       as_fn_executable_p "$ac_path_FGREP" || continue
5995 # Check for GNU ac_path_FGREP and select it if it is found.
5996   # Check for GNU $ac_path_FGREP
5997 case `"$ac_path_FGREP" --version 2>&1` in
5998 *GNU*)
5999   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6000 *)
6001   ac_count=0
6002   $as_echo_n 0123456789 >"conftest.in"
6003   while :
6004   do
6005     cat "conftest.in" "conftest.in" >"conftest.tmp"
6006     mv "conftest.tmp" "conftest.in"
6007     cp "conftest.in" "conftest.nl"
6008     $as_echo 'FGREP' >> "conftest.nl"
6009     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6010     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6011     as_fn_arith $ac_count + 1 && ac_count=$as_val
6012     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6013       # Best one so far, save it but keep looking for a better one
6014       ac_cv_path_FGREP="$ac_path_FGREP"
6015       ac_path_FGREP_max=$ac_count
6016     fi
6017     # 10*(2^10) chars as input seems more than enough
6018     test $ac_count -gt 10 && break
6019   done
6020   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6021 esac
6022
6023       $ac_path_FGREP_found && break 3
6024     done
6025   done
6026   done
6027 IFS=$as_save_IFS
6028   if test -z "$ac_cv_path_FGREP"; then
6029     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6030   fi
6031 else
6032   ac_cv_path_FGREP=$FGREP
6033 fi
6034
6035    fi
6036 fi
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6038 $as_echo "$ac_cv_path_FGREP" >&6; }
6039  FGREP="$ac_cv_path_FGREP"
6040
6041
6042 test -z "$GREP" && GREP=grep
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062 # Check whether --with-gnu-ld was given.
6063 if test "${with_gnu_ld+set}" = set; then :
6064   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6065 else
6066   with_gnu_ld=no
6067 fi
6068
6069 ac_prog=ld
6070 if test yes = "$GCC"; then
6071   # Check if gcc -print-prog-name=ld gives a path.
6072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6073 $as_echo_n "checking for ld used by $CC... " >&6; }
6074   case $host in
6075   *-*-mingw*)
6076     # gcc leaves a trailing carriage return, which upsets mingw
6077     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6078   *)
6079     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6080   esac
6081   case $ac_prog in
6082     # Accept absolute paths.
6083     [\\/]* | ?:[\\/]*)
6084       re_direlt='/[^/][^/]*/\.\./'
6085       # Canonicalize the pathname of ld
6086       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6087       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6088         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6089       done
6090       test -z "$LD" && LD=$ac_prog
6091       ;;
6092   "")
6093     # If it fails, then pretend we aren't using GCC.
6094     ac_prog=ld
6095     ;;
6096   *)
6097     # If it is relative, then search for the first ld in PATH.
6098     with_gnu_ld=unknown
6099     ;;
6100   esac
6101 elif test yes = "$with_gnu_ld"; then
6102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6103 $as_echo_n "checking for GNU ld... " >&6; }
6104 else
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6106 $as_echo_n "checking for non-GNU ld... " >&6; }
6107 fi
6108 if ${lt_cv_path_LD+:} false; then :
6109   $as_echo_n "(cached) " >&6
6110 else
6111   if test -z "$LD"; then
6112   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6113   for ac_dir in $PATH; do
6114     IFS=$lt_save_ifs
6115     test -z "$ac_dir" && ac_dir=.
6116     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6117       lt_cv_path_LD=$ac_dir/$ac_prog
6118       # Check to see if the program is GNU ld.  I'd rather use --version,
6119       # but apparently some variants of GNU ld only accept -v.
6120       # Break only if it was the GNU/non-GNU ld that we prefer.
6121       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6122       *GNU* | *'with BFD'*)
6123         test no != "$with_gnu_ld" && break
6124         ;;
6125       *)
6126         test yes != "$with_gnu_ld" && break
6127         ;;
6128       esac
6129     fi
6130   done
6131   IFS=$lt_save_ifs
6132 else
6133   lt_cv_path_LD=$LD # Let the user override the test with a path.
6134 fi
6135 fi
6136
6137 LD=$lt_cv_path_LD
6138 if test -n "$LD"; then
6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6140 $as_echo "$LD" >&6; }
6141 else
6142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6144 fi
6145 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6147 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6148 if ${lt_cv_prog_gnu_ld+:} false; then :
6149   $as_echo_n "(cached) " >&6
6150 else
6151   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6152 case `$LD -v 2>&1 </dev/null` in
6153 *GNU* | *'with BFD'*)
6154   lt_cv_prog_gnu_ld=yes
6155   ;;
6156 *)
6157   lt_cv_prog_gnu_ld=no
6158   ;;
6159 esac
6160 fi
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6162 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6163 with_gnu_ld=$lt_cv_prog_gnu_ld
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6174 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6175 if ${lt_cv_path_NM+:} false; then :
6176   $as_echo_n "(cached) " >&6
6177 else
6178   if test -n "$NM"; then
6179   # Let the user override the test.
6180   lt_cv_path_NM=$NM
6181 else
6182   lt_nm_to_check=${ac_tool_prefix}nm
6183   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6184     lt_nm_to_check="$lt_nm_to_check nm"
6185   fi
6186   for lt_tmp_nm in $lt_nm_to_check; do
6187     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6188     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6189       IFS=$lt_save_ifs
6190       test -z "$ac_dir" && ac_dir=.
6191       tmp_nm=$ac_dir/$lt_tmp_nm
6192       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6193         # Check to see if the nm accepts a BSD-compat flag.
6194         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6195         #   nm: unknown option "B" ignored
6196         # Tru64's nm complains that /dev/null is an invalid object file
6197         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6198         */dev/null* | *'Invalid file or object type'*)
6199           lt_cv_path_NM="$tmp_nm -B"
6200           break 2
6201           ;;
6202         *)
6203           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6204           */dev/null*)
6205             lt_cv_path_NM="$tmp_nm -p"
6206             break 2
6207             ;;
6208           *)
6209             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6210             continue # so that we can try to find one that supports BSD flags
6211             ;;
6212           esac
6213           ;;
6214         esac
6215       fi
6216     done
6217     IFS=$lt_save_ifs
6218   done
6219   : ${lt_cv_path_NM=no}
6220 fi
6221 fi
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6223 $as_echo "$lt_cv_path_NM" >&6; }
6224 if test no != "$lt_cv_path_NM"; then
6225   NM=$lt_cv_path_NM
6226 else
6227   # Didn't find any BSD compatible name lister, look for dumpbin.
6228   if test -n "$DUMPBIN"; then :
6229     # Let the user override the test.
6230   else
6231     if test -n "$ac_tool_prefix"; then
6232   for ac_prog in dumpbin "link -dump"
6233   do
6234     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if ${ac_cv_prog_DUMPBIN+:} false; then :
6239   $as_echo_n "(cached) " >&6
6240 else
6241   if test -n "$DUMPBIN"; then
6242   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6243 else
6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 for as_dir in $PATH
6246 do
6247   IFS=$as_save_IFS
6248   test -z "$as_dir" && as_dir=.
6249     for ac_exec_ext in '' $ac_executable_extensions; do
6250   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6251     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253     break 2
6254   fi
6255 done
6256   done
6257 IFS=$as_save_IFS
6258
6259 fi
6260 fi
6261 DUMPBIN=$ac_cv_prog_DUMPBIN
6262 if test -n "$DUMPBIN"; then
6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6264 $as_echo "$DUMPBIN" >&6; }
6265 else
6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6268 fi
6269
6270
6271     test -n "$DUMPBIN" && break
6272   done
6273 fi
6274 if test -z "$DUMPBIN"; then
6275   ac_ct_DUMPBIN=$DUMPBIN
6276   for ac_prog in dumpbin "link -dump"
6277 do
6278   # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy $ac_prog; ac_word=$2
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281 $as_echo_n "checking for $ac_word... " >&6; }
6282 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6283   $as_echo_n "(cached) " >&6
6284 else
6285   if test -n "$ac_ct_DUMPBIN"; then
6286   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6287 else
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 for as_dir in $PATH
6290 do
6291   IFS=$as_save_IFS
6292   test -z "$as_dir" && as_dir=.
6293     for ac_exec_ext in '' $ac_executable_extensions; do
6294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297     break 2
6298   fi
6299 done
6300   done
6301 IFS=$as_save_IFS
6302
6303 fi
6304 fi
6305 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6306 if test -n "$ac_ct_DUMPBIN"; then
6307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6308 $as_echo "$ac_ct_DUMPBIN" >&6; }
6309 else
6310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 $as_echo "no" >&6; }
6312 fi
6313
6314
6315   test -n "$ac_ct_DUMPBIN" && break
6316 done
6317
6318   if test "x$ac_ct_DUMPBIN" = x; then
6319     DUMPBIN=":"
6320   else
6321     case $cross_compiling:$ac_tool_warned in
6322 yes:)
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6325 ac_tool_warned=yes ;;
6326 esac
6327     DUMPBIN=$ac_ct_DUMPBIN
6328   fi
6329 fi
6330
6331     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6332     *COFF*)
6333       DUMPBIN="$DUMPBIN -symbols -headers"
6334       ;;
6335     *)
6336       DUMPBIN=:
6337       ;;
6338     esac
6339   fi
6340
6341   if test : != "$DUMPBIN"; then
6342     NM=$DUMPBIN
6343   fi
6344 fi
6345 test -z "$NM" && NM=nm
6346
6347
6348
6349
6350
6351
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6353 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6354 if ${lt_cv_nm_interface+:} false; then :
6355   $as_echo_n "(cached) " >&6
6356 else
6357   lt_cv_nm_interface="BSD nm"
6358   echo "int some_variable = 0;" > conftest.$ac_ext
6359   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6360   (eval "$ac_compile" 2>conftest.err)
6361   cat conftest.err >&5
6362   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6363   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6364   cat conftest.err >&5
6365   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6366   cat conftest.out >&5
6367   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6368     lt_cv_nm_interface="MS dumpbin"
6369   fi
6370   rm -f conftest*
6371 fi
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6373 $as_echo "$lt_cv_nm_interface" >&6; }
6374
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6376 $as_echo_n "checking whether ln -s works... " >&6; }
6377 LN_S=$as_ln_s
6378 if test "$LN_S" = "ln -s"; then
6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6380 $as_echo "yes" >&6; }
6381 else
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6383 $as_echo "no, using $LN_S" >&6; }
6384 fi
6385
6386 # find the maximum length of command line arguments
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6388 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6389 if ${lt_cv_sys_max_cmd_len+:} false; then :
6390   $as_echo_n "(cached) " >&6
6391 else
6392     i=0
6393   teststring=ABCD
6394
6395   case $build_os in
6396   msdosdjgpp*)
6397     # On DJGPP, this test can blow up pretty badly due to problems in libc
6398     # (any single argument exceeding 2000 bytes causes a buffer overrun
6399     # during glob expansion).  Even if it were fixed, the result of this
6400     # check would be larger than it should be.
6401     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6402     ;;
6403
6404   gnu*)
6405     # Under GNU Hurd, this test is not required because there is
6406     # no limit to the length of command line arguments.
6407     # Libtool will interpret -1 as no limit whatsoever
6408     lt_cv_sys_max_cmd_len=-1;
6409     ;;
6410
6411   cygwin* | mingw* | cegcc*)
6412     # On Win9x/ME, this test blows up -- it succeeds, but takes
6413     # about 5 minutes as the teststring grows exponentially.
6414     # Worse, since 9x/ME are not pre-emptively multitasking,
6415     # you end up with a "frozen" computer, even though with patience
6416     # the test eventually succeeds (with a max line length of 256k).
6417     # Instead, let's just punt: use the minimum linelength reported by
6418     # all of the supported platforms: 8192 (on NT/2K/XP).
6419     lt_cv_sys_max_cmd_len=8192;
6420     ;;
6421
6422   mint*)
6423     # On MiNT this can take a long time and run out of memory.
6424     lt_cv_sys_max_cmd_len=8192;
6425     ;;
6426
6427   amigaos*)
6428     # On AmigaOS with pdksh, this test takes hours, literally.
6429     # So we just punt and use a minimum line length of 8192.
6430     lt_cv_sys_max_cmd_len=8192;
6431     ;;
6432
6433   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6434     # This has been around since 386BSD, at least.  Likely further.
6435     if test -x /sbin/sysctl; then
6436       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6437     elif test -x /usr/sbin/sysctl; then
6438       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6439     else
6440       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6441     fi
6442     # And add a safety zone
6443     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6444     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6445     ;;
6446
6447   interix*)
6448     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6449     lt_cv_sys_max_cmd_len=196608
6450     ;;
6451
6452   os2*)
6453     # The test takes a long time on OS/2.
6454     lt_cv_sys_max_cmd_len=8192
6455     ;;
6456
6457   osf*)
6458     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6459     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6460     # nice to cause kernel panics so lets avoid the loop below.
6461     # First set a reasonable default.
6462     lt_cv_sys_max_cmd_len=16384
6463     #
6464     if test -x /sbin/sysconfig; then
6465       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6466         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6467       esac
6468     fi
6469     ;;
6470   sco3.2v5*)
6471     lt_cv_sys_max_cmd_len=102400
6472     ;;
6473   sysv5* | sco5v6* | sysv4.2uw2*)
6474     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6475     if test -n "$kargmax"; then
6476       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6477     else
6478       lt_cv_sys_max_cmd_len=32768
6479     fi
6480     ;;
6481   *)
6482     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6483     if test -n "$lt_cv_sys_max_cmd_len" && \
6484        test undefined != "$lt_cv_sys_max_cmd_len"; then
6485       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6486       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6487     else
6488       # Make teststring a little bigger before we do anything with it.
6489       # a 1K string should be a reasonable start.
6490       for i in 1 2 3 4 5 6 7 8; do
6491         teststring=$teststring$teststring
6492       done
6493       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6494       # If test is not a shell built-in, we'll probably end up computing a
6495       # maximum length that is only half of the actual maximum length, but
6496       # we can't tell.
6497       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6498                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6499               test 17 != "$i" # 1/2 MB should be enough
6500       do
6501         i=`expr $i + 1`
6502         teststring=$teststring$teststring
6503       done
6504       # Only check the string length outside the loop.
6505       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6506       teststring=
6507       # Add a significant safety factor because C++ compilers can tack on
6508       # massive amounts of additional arguments before passing them to the
6509       # linker.  It appears as though 1/2 is a usable value.
6510       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6511     fi
6512     ;;
6513   esac
6514
6515 fi
6516
6517 if test -n "$lt_cv_sys_max_cmd_len"; then
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6519 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6520 else
6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6522 $as_echo "none" >&6; }
6523 fi
6524 max_cmd_len=$lt_cv_sys_max_cmd_len
6525
6526
6527
6528
6529
6530
6531 : ${CP="cp -f"}
6532 : ${MV="mv -f"}
6533 : ${RM="rm -f"}
6534
6535 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6536   lt_unset=unset
6537 else
6538   lt_unset=false
6539 fi
6540
6541
6542
6543
6544
6545 # test EBCDIC or ASCII
6546 case `echo X|tr X '\101'` in
6547  A) # ASCII based system
6548     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6549   lt_SP2NL='tr \040 \012'
6550   lt_NL2SP='tr \015\012 \040\040'
6551   ;;
6552  *) # EBCDIC based system
6553   lt_SP2NL='tr \100 \n'
6554   lt_NL2SP='tr \r\n \100\100'
6555   ;;
6556 esac
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6567 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6568 if ${lt_cv_to_host_file_cmd+:} false; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   case $host in
6572   *-*-mingw* )
6573     case $build in
6574       *-*-mingw* ) # actually msys
6575         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6576         ;;
6577       *-*-cygwin* )
6578         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6579         ;;
6580       * ) # otherwise, assume *nix
6581         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6582         ;;
6583     esac
6584     ;;
6585   *-*-cygwin* )
6586     case $build in
6587       *-*-mingw* ) # actually msys
6588         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6589         ;;
6590       *-*-cygwin* )
6591         lt_cv_to_host_file_cmd=func_convert_file_noop
6592         ;;
6593       * ) # otherwise, assume *nix
6594         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6595         ;;
6596     esac
6597     ;;
6598   * ) # unhandled hosts (and "normal" native builds)
6599     lt_cv_to_host_file_cmd=func_convert_file_noop
6600     ;;
6601 esac
6602
6603 fi
6604
6605 to_host_file_cmd=$lt_cv_to_host_file_cmd
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6607 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6608
6609
6610
6611
6612
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6614 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6615 if ${lt_cv_to_tool_file_cmd+:} false; then :
6616   $as_echo_n "(cached) " >&6
6617 else
6618   #assume ordinary cross tools, or native build.
6619 lt_cv_to_tool_file_cmd=func_convert_file_noop
6620 case $host in
6621   *-*-mingw* )
6622     case $build in
6623       *-*-mingw* ) # actually msys
6624         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6625         ;;
6626     esac
6627     ;;
6628 esac
6629
6630 fi
6631
6632 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6634 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6635
6636
6637
6638
6639
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6641 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6642 if ${lt_cv_ld_reload_flag+:} false; then :
6643   $as_echo_n "(cached) " >&6
6644 else
6645   lt_cv_ld_reload_flag='-r'
6646 fi
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6648 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6649 reload_flag=$lt_cv_ld_reload_flag
6650 case $reload_flag in
6651 "" | " "*) ;;
6652 *) reload_flag=" $reload_flag" ;;
6653 esac
6654 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6655 case $host_os in
6656   cygwin* | mingw* | pw32* | cegcc*)
6657     if test yes != "$GCC"; then
6658       reload_cmds=false
6659     fi
6660     ;;
6661   darwin*)
6662     if test yes = "$GCC"; then
6663       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6664     else
6665       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6666     fi
6667     ;;
6668 esac
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678 if test -n "$ac_tool_prefix"; then
6679   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6680 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 $as_echo_n "checking for $ac_word... " >&6; }
6683 if ${ac_cv_prog_OBJDUMP+:} false; then :
6684   $as_echo_n "(cached) " >&6
6685 else
6686   if test -n "$OBJDUMP"; then
6687   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6688 else
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 for as_dir in $PATH
6691 do
6692   IFS=$as_save_IFS
6693   test -z "$as_dir" && as_dir=.
6694     for ac_exec_ext in '' $ac_executable_extensions; do
6695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6696     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6698     break 2
6699   fi
6700 done
6701   done
6702 IFS=$as_save_IFS
6703
6704 fi
6705 fi
6706 OBJDUMP=$ac_cv_prog_OBJDUMP
6707 if test -n "$OBJDUMP"; then
6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6709 $as_echo "$OBJDUMP" >&6; }
6710 else
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6712 $as_echo "no" >&6; }
6713 fi
6714
6715
6716 fi
6717 if test -z "$ac_cv_prog_OBJDUMP"; then
6718   ac_ct_OBJDUMP=$OBJDUMP
6719   # Extract the first word of "objdump", so it can be a program name with args.
6720 set dummy objdump; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6724   $as_echo_n "(cached) " >&6
6725 else
6726   if test -n "$ac_ct_OBJDUMP"; then
6727   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6728 else
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 for as_dir in $PATH
6731 do
6732   IFS=$as_save_IFS
6733   test -z "$as_dir" && as_dir=.
6734     for ac_exec_ext in '' $ac_executable_extensions; do
6735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738     break 2
6739   fi
6740 done
6741   done
6742 IFS=$as_save_IFS
6743
6744 fi
6745 fi
6746 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6747 if test -n "$ac_ct_OBJDUMP"; then
6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6749 $as_echo "$ac_ct_OBJDUMP" >&6; }
6750 else
6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6753 fi
6754
6755   if test "x$ac_ct_OBJDUMP" = x; then
6756     OBJDUMP="false"
6757   else
6758     case $cross_compiling:$ac_tool_warned in
6759 yes:)
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6762 ac_tool_warned=yes ;;
6763 esac
6764     OBJDUMP=$ac_ct_OBJDUMP
6765   fi
6766 else
6767   OBJDUMP="$ac_cv_prog_OBJDUMP"
6768 fi
6769
6770 test -z "$OBJDUMP" && OBJDUMP=objdump
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6781 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6782 if ${lt_cv_deplibs_check_method+:} false; then :
6783   $as_echo_n "(cached) " >&6
6784 else
6785   lt_cv_file_magic_cmd='$MAGIC_CMD'
6786 lt_cv_file_magic_test_file=
6787 lt_cv_deplibs_check_method='unknown'
6788 # Need to set the preceding variable on all platforms that support
6789 # interlibrary dependencies.
6790 # 'none' -- dependencies not supported.
6791 # 'unknown' -- same as none, but documents that we really don't know.
6792 # 'pass_all' -- all dependencies passed with no checks.
6793 # 'test_compile' -- check by making test program.
6794 # 'file_magic [[regex]]' -- check by looking for files in library path
6795 # that responds to the $file_magic_cmd with a given extended regex.
6796 # If you have 'file' or equivalent on your system and you're not sure
6797 # whether 'pass_all' will *always* work, you probably want this one.
6798
6799 case $host_os in
6800 aix[4-9]*)
6801   lt_cv_deplibs_check_method=pass_all
6802   ;;
6803
6804 beos*)
6805   lt_cv_deplibs_check_method=pass_all
6806   ;;
6807
6808 bsdi[45]*)
6809   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6810   lt_cv_file_magic_cmd='/usr/bin/file -L'
6811   lt_cv_file_magic_test_file=/shlib/libc.so
6812   ;;
6813
6814 cygwin*)
6815   # func_win32_libid is a shell function defined in ltmain.sh
6816   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6817   lt_cv_file_magic_cmd='func_win32_libid'
6818   ;;
6819
6820 mingw* | pw32*)
6821   # Base MSYS/MinGW do not provide the 'file' command needed by
6822   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6823   # unless we find 'file', for example because we are cross-compiling.
6824   if ( file / ) >/dev/null 2>&1; then
6825     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6826     lt_cv_file_magic_cmd='func_win32_libid'
6827   else
6828     # Keep this pattern in sync with the one in func_win32_libid.
6829     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6830     lt_cv_file_magic_cmd='$OBJDUMP -f'
6831   fi
6832   ;;
6833
6834 cegcc*)
6835   # use the weaker test based on 'objdump'. See mingw*.
6836   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6837   lt_cv_file_magic_cmd='$OBJDUMP -f'
6838   ;;
6839
6840 darwin* | rhapsody*)
6841   lt_cv_deplibs_check_method=pass_all
6842   ;;
6843
6844 freebsd* | dragonfly*)
6845   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6846     case $host_cpu in
6847     i*86 )
6848       # Not sure whether the presence of OpenBSD here was a mistake.
6849       # Let's accept both of them until this is cleared up.
6850       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6851       lt_cv_file_magic_cmd=/usr/bin/file
6852       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6853       ;;
6854     esac
6855   else
6856     lt_cv_deplibs_check_method=pass_all
6857   fi
6858   ;;
6859
6860 haiku*)
6861   lt_cv_deplibs_check_method=pass_all
6862   ;;
6863
6864 hpux10.20* | hpux11*)
6865   lt_cv_file_magic_cmd=/usr/bin/file
6866   case $host_cpu in
6867   ia64*)
6868     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6869     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6870     ;;
6871   hppa*64*)
6872     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]'
6873     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6874     ;;
6875   *)
6876     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6877     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6878     ;;
6879   esac
6880   ;;
6881
6882 interix[3-9]*)
6883   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6884   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6885   ;;
6886
6887 irix5* | irix6* | nonstopux*)
6888   case $LD in
6889   *-32|*"-32 ") libmagic=32-bit;;
6890   *-n32|*"-n32 ") libmagic=N32;;
6891   *-64|*"-64 ") libmagic=64-bit;;
6892   *) libmagic=never-match;;
6893   esac
6894   lt_cv_deplibs_check_method=pass_all
6895   ;;
6896
6897 # This must be glibc/ELF.
6898 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6899   lt_cv_deplibs_check_method=pass_all
6900   ;;
6901
6902 netbsd*)
6903   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6904     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6905   else
6906     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6907   fi
6908   ;;
6909
6910 newos6*)
6911   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6912   lt_cv_file_magic_cmd=/usr/bin/file
6913   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6914   ;;
6915
6916 *nto* | *qnx*)
6917   lt_cv_deplibs_check_method=pass_all
6918   ;;
6919
6920 openbsd* | bitrig*)
6921   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6922     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6923   else
6924     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6925   fi
6926   ;;
6927
6928 osf3* | osf4* | osf5*)
6929   lt_cv_deplibs_check_method=pass_all
6930   ;;
6931
6932 rdos*)
6933   lt_cv_deplibs_check_method=pass_all
6934   ;;
6935
6936 solaris*)
6937   lt_cv_deplibs_check_method=pass_all
6938   ;;
6939
6940 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6941   lt_cv_deplibs_check_method=pass_all
6942   ;;
6943
6944 sysv4 | sysv4.3*)
6945   case $host_vendor in
6946   motorola)
6947     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]'
6948     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6949     ;;
6950   ncr)
6951     lt_cv_deplibs_check_method=pass_all
6952     ;;
6953   sequent)
6954     lt_cv_file_magic_cmd='/bin/file'
6955     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6956     ;;
6957   sni)
6958     lt_cv_file_magic_cmd='/bin/file'
6959     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6960     lt_cv_file_magic_test_file=/lib/libc.so
6961     ;;
6962   siemens)
6963     lt_cv_deplibs_check_method=pass_all
6964     ;;
6965   pc)
6966     lt_cv_deplibs_check_method=pass_all
6967     ;;
6968   esac
6969   ;;
6970
6971 tpf*)
6972   lt_cv_deplibs_check_method=pass_all
6973   ;;
6974 esac
6975
6976 fi
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6978 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6979
6980 file_magic_glob=
6981 want_nocaseglob=no
6982 if test "$build" = "$host"; then
6983   case $host_os in
6984   mingw* | pw32*)
6985     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6986       want_nocaseglob=yes
6987     else
6988       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6989     fi
6990     ;;
6991   esac
6992 fi
6993
6994 file_magic_cmd=$lt_cv_file_magic_cmd
6995 deplibs_check_method=$lt_cv_deplibs_check_method
6996 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019 if test -n "$ac_tool_prefix"; then
7020   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7021 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_DLLTOOL+:} false; then :
7025   $as_echo_n "(cached) " >&6
7026 else
7027   if test -n "$DLLTOOL"; then
7028   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7029 else
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH
7032 do
7033   IFS=$as_save_IFS
7034   test -z "$as_dir" && as_dir=.
7035     for ac_exec_ext in '' $ac_executable_extensions; do
7036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039     break 2
7040   fi
7041 done
7042   done
7043 IFS=$as_save_IFS
7044
7045 fi
7046 fi
7047 DLLTOOL=$ac_cv_prog_DLLTOOL
7048 if test -n "$DLLTOOL"; then
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7050 $as_echo "$DLLTOOL" >&6; }
7051 else
7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7054 fi
7055
7056
7057 fi
7058 if test -z "$ac_cv_prog_DLLTOOL"; then
7059   ac_ct_DLLTOOL=$DLLTOOL
7060   # Extract the first word of "dlltool", so it can be a program name with args.
7061 set dummy dlltool; ac_word=$2
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7063 $as_echo_n "checking for $ac_word... " >&6; }
7064 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7065   $as_echo_n "(cached) " >&6
7066 else
7067   if test -n "$ac_ct_DLLTOOL"; then
7068   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7069 else
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in $PATH
7072 do
7073   IFS=$as_save_IFS
7074   test -z "$as_dir" && as_dir=.
7075     for ac_exec_ext in '' $ac_executable_extensions; do
7076   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7077     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079     break 2
7080   fi
7081 done
7082   done
7083 IFS=$as_save_IFS
7084
7085 fi
7086 fi
7087 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7088 if test -n "$ac_ct_DLLTOOL"; then
7089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7090 $as_echo "$ac_ct_DLLTOOL" >&6; }
7091 else
7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 $as_echo "no" >&6; }
7094 fi
7095
7096   if test "x$ac_ct_DLLTOOL" = x; then
7097     DLLTOOL="false"
7098   else
7099     case $cross_compiling:$ac_tool_warned in
7100 yes:)
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7103 ac_tool_warned=yes ;;
7104 esac
7105     DLLTOOL=$ac_ct_DLLTOOL
7106   fi
7107 else
7108   DLLTOOL="$ac_cv_prog_DLLTOOL"
7109 fi
7110
7111 test -z "$DLLTOOL" && DLLTOOL=dlltool
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7123 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7124 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7125   $as_echo_n "(cached) " >&6
7126 else
7127   lt_cv_sharedlib_from_linklib_cmd='unknown'
7128
7129 case $host_os in
7130 cygwin* | mingw* | pw32* | cegcc*)
7131   # two different shell functions defined in ltmain.sh;
7132   # decide which one to use based on capabilities of $DLLTOOL
7133   case `$DLLTOOL --help 2>&1` in
7134   *--identify-strict*)
7135     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7136     ;;
7137   *)
7138     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7139     ;;
7140   esac
7141   ;;
7142 *)
7143   # fallback: assume linklib IS sharedlib
7144   lt_cv_sharedlib_from_linklib_cmd=$ECHO
7145   ;;
7146 esac
7147
7148 fi
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7150 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7151 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7152 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7153
7154
7155
7156
7157
7158
7159
7160 if test -n "$ac_tool_prefix"; then
7161   for ac_prog in ar
7162   do
7163     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_AR+:} false; then :
7168   $as_echo_n "(cached) " >&6
7169 else
7170   if test -n "$AR"; then
7171   ac_cv_prog_AR="$AR" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7175 do
7176   IFS=$as_save_IFS
7177   test -z "$as_dir" && as_dir=.
7178     for ac_exec_ext in '' $ac_executable_extensions; do
7179   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7180     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182     break 2
7183   fi
7184 done
7185   done
7186 IFS=$as_save_IFS
7187
7188 fi
7189 fi
7190 AR=$ac_cv_prog_AR
7191 if test -n "$AR"; then
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7193 $as_echo "$AR" >&6; }
7194 else
7195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7197 fi
7198
7199
7200     test -n "$AR" && break
7201   done
7202 fi
7203 if test -z "$AR"; then
7204   ac_ct_AR=$AR
7205   for ac_prog in ar
7206 do
7207   # Extract the first word of "$ac_prog", so it can be a program name with args.
7208 set dummy $ac_prog; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7212   $as_echo_n "(cached) " >&6
7213 else
7214   if test -n "$ac_ct_AR"; then
7215   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7219 do
7220   IFS=$as_save_IFS
7221   test -z "$as_dir" && as_dir=.
7222     for ac_exec_ext in '' $ac_executable_extensions; do
7223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224     ac_cv_prog_ac_ct_AR="$ac_prog"
7225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226     break 2
7227   fi
7228 done
7229   done
7230 IFS=$as_save_IFS
7231
7232 fi
7233 fi
7234 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7235 if test -n "$ac_ct_AR"; then
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7237 $as_echo "$ac_ct_AR" >&6; }
7238 else
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7241 fi
7242
7243
7244   test -n "$ac_ct_AR" && break
7245 done
7246
7247   if test "x$ac_ct_AR" = x; then
7248     AR="false"
7249   else
7250     case $cross_compiling:$ac_tool_warned in
7251 yes:)
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7255 esac
7256     AR=$ac_ct_AR
7257   fi
7258 fi
7259
7260 : ${AR=ar}
7261 : ${AR_FLAGS=cru}
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7274 $as_echo_n "checking for archiver @FILE support... " >&6; }
7275 if ${lt_cv_ar_at_file+:} false; then :
7276   $as_echo_n "(cached) " >&6
7277 else
7278   lt_cv_ar_at_file=no
7279    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h.  */
7281
7282 int
7283 main ()
7284 {
7285
7286   ;
7287   return 0;
7288 }
7289 _ACEOF
7290 if ac_fn_c_try_compile "$LINENO"; then :
7291   echo conftest.$ac_objext > conftest.lst
7292       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7293       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7294   (eval $lt_ar_try) 2>&5
7295   ac_status=$?
7296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7297   test $ac_status = 0; }
7298       if test 0 -eq "$ac_status"; then
7299         # Ensure the archiver fails upon bogus file names.
7300         rm -f conftest.$ac_objext libconftest.a
7301         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7302   (eval $lt_ar_try) 2>&5
7303   ac_status=$?
7304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7305   test $ac_status = 0; }
7306         if test 0 -ne "$ac_status"; then
7307           lt_cv_ar_at_file=@
7308         fi
7309       fi
7310       rm -f conftest.* libconftest.a
7311
7312 fi
7313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7314
7315 fi
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7317 $as_echo "$lt_cv_ar_at_file" >&6; }
7318
7319 if test no = "$lt_cv_ar_at_file"; then
7320   archiver_list_spec=
7321 else
7322   archiver_list_spec=$lt_cv_ar_at_file
7323 fi
7324
7325
7326
7327
7328
7329
7330
7331 if test -n "$ac_tool_prefix"; then
7332   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}strip; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_STRIP+:} false; then :
7337   $as_echo_n "(cached) " >&6
7338 else
7339   if test -n "$STRIP"; then
7340   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7344 do
7345   IFS=$as_save_IFS
7346   test -z "$as_dir" && as_dir=.
7347     for ac_exec_ext in '' $ac_executable_extensions; do
7348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7349     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351     break 2
7352   fi
7353 done
7354   done
7355 IFS=$as_save_IFS
7356
7357 fi
7358 fi
7359 STRIP=$ac_cv_prog_STRIP
7360 if test -n "$STRIP"; then
7361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7362 $as_echo "$STRIP" >&6; }
7363 else
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7366 fi
7367
7368
7369 fi
7370 if test -z "$ac_cv_prog_STRIP"; then
7371   ac_ct_STRIP=$STRIP
7372   # Extract the first word of "strip", so it can be a program name with args.
7373 set dummy strip; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7377   $as_echo_n "(cached) " >&6
7378 else
7379   if test -n "$ac_ct_STRIP"; then
7380   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385   IFS=$as_save_IFS
7386   test -z "$as_dir" && as_dir=.
7387     for ac_exec_ext in '' $ac_executable_extensions; do
7388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7389     ac_cv_prog_ac_ct_STRIP="strip"
7390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391     break 2
7392   fi
7393 done
7394   done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7400 if test -n "$ac_ct_STRIP"; then
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7402 $as_echo "$ac_ct_STRIP" >&6; }
7403 else
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408   if test "x$ac_ct_STRIP" = x; then
7409     STRIP=":"
7410   else
7411     case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417     STRIP=$ac_ct_STRIP
7418   fi
7419 else
7420   STRIP="$ac_cv_prog_STRIP"
7421 fi
7422
7423 test -z "$STRIP" && STRIP=:
7424
7425
7426
7427
7428
7429
7430 if test -n "$ac_tool_prefix"; then
7431   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if ${ac_cv_prog_RANLIB+:} false; then :
7436   $as_echo_n "(cached) " >&6
7437 else
7438   if test -n "$RANLIB"; then
7439   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7443 do
7444   IFS=$as_save_IFS
7445   test -z "$as_dir" && as_dir=.
7446     for ac_exec_ext in '' $ac_executable_extensions; do
7447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450     break 2
7451   fi
7452 done
7453   done
7454 IFS=$as_save_IFS
7455
7456 fi
7457 fi
7458 RANLIB=$ac_cv_prog_RANLIB
7459 if test -n "$RANLIB"; then
7460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7461 $as_echo "$RANLIB" >&6; }
7462 else
7463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7465 fi
7466
7467
7468 fi
7469 if test -z "$ac_cv_prog_RANLIB"; then
7470   ac_ct_RANLIB=$RANLIB
7471   # Extract the first word of "ranlib", so it can be a program name with args.
7472 set dummy ranlib; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7476   $as_echo_n "(cached) " >&6
7477 else
7478   if test -n "$ac_ct_RANLIB"; then
7479   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7483 do
7484   IFS=$as_save_IFS
7485   test -z "$as_dir" && as_dir=.
7486     for ac_exec_ext in '' $ac_executable_extensions; do
7487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7488     ac_cv_prog_ac_ct_RANLIB="ranlib"
7489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490     break 2
7491   fi
7492 done
7493   done
7494 IFS=$as_save_IFS
7495
7496 fi
7497 fi
7498 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7499 if test -n "$ac_ct_RANLIB"; then
7500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7501 $as_echo "$ac_ct_RANLIB" >&6; }
7502 else
7503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7505 fi
7506
7507   if test "x$ac_ct_RANLIB" = x; then
7508     RANLIB=":"
7509   else
7510     case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516     RANLIB=$ac_ct_RANLIB
7517   fi
7518 else
7519   RANLIB="$ac_cv_prog_RANLIB"
7520 fi
7521
7522 test -z "$RANLIB" && RANLIB=:
7523
7524
7525
7526
7527
7528
7529 # Determine commands to create old-style static archives.
7530 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7531 old_postinstall_cmds='chmod 644 $oldlib'
7532 old_postuninstall_cmds=
7533
7534 if test -n "$RANLIB"; then
7535   case $host_os in
7536   bitrig* | openbsd*)
7537     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7538     ;;
7539   *)
7540     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7541     ;;
7542   esac
7543   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7544 fi
7545
7546 case $host_os in
7547   darwin*)
7548     lock_old_archive_extraction=yes ;;
7549   *)
7550     lock_old_archive_extraction=no ;;
7551 esac
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591 # If no C compiler was specified, use CC.
7592 LTCC=${LTCC-"$CC"}
7593
7594 # If no C compiler flags were specified, use CFLAGS.
7595 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7596
7597 # Allow CC to be a program name with arguments.
7598 compiler=$CC
7599
7600
7601 # Check for command to grab the raw symbol name followed by C symbol from nm.
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7603 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7604 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7605   $as_echo_n "(cached) " >&6
7606 else
7607
7608 # These are sane defaults that work on at least a few old systems.
7609 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7610
7611 # Character class describing NM global symbol codes.
7612 symcode='[BCDEGRST]'
7613
7614 # Regexp to match symbols that can be accessed directly from C.
7615 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7616
7617 # Define system-specific variables.
7618 case $host_os in
7619 aix*)
7620   symcode='[BCDT]'
7621   ;;
7622 cygwin* | mingw* | pw32* | cegcc*)
7623   symcode='[ABCDGISTW]'
7624   ;;
7625 hpux*)
7626   if test ia64 = "$host_cpu"; then
7627     symcode='[ABCDEGRST]'
7628   fi
7629   ;;
7630 irix* | nonstopux*)
7631   symcode='[BCDEGRST]'
7632   ;;
7633 osf*)
7634   symcode='[BCDEGQRST]'
7635   ;;
7636 solaris*)
7637   symcode='[BDRT]'
7638   ;;
7639 sco3.2v5*)
7640   symcode='[DT]'
7641   ;;
7642 sysv4.2uw2*)
7643   symcode='[DT]'
7644   ;;
7645 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7646   symcode='[ABDT]'
7647   ;;
7648 sysv4)
7649   symcode='[DFNSTU]'
7650   ;;
7651 esac
7652
7653 # If we're using GNU nm, then use its standard symbol codes.
7654 case `$NM -V 2>&1` in
7655 *GNU* | *'with BFD'*)
7656   symcode='[ABCDGIRSTW]' ;;
7657 esac
7658
7659 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7660   # Gets list of data symbols to import.
7661   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7662   # Adjust the below global symbol transforms to fixup imported variables.
7663   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7664   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7665   lt_c_name_lib_hook="\
7666   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7667   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7668 else
7669   # Disable hooks by default.
7670   lt_cv_sys_global_symbol_to_import=
7671   lt_cdecl_hook=
7672   lt_c_name_hook=
7673   lt_c_name_lib_hook=
7674 fi
7675
7676 # Transform an extracted symbol line into a proper C declaration.
7677 # Some systems (esp. on ia64) link data and code symbols differently,
7678 # so use this general approach.
7679 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7680 $lt_cdecl_hook\
7681 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7682 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7683
7684 # Transform an extracted symbol line into symbol name and symbol address
7685 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7686 $lt_c_name_hook\
7687 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7688 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7689
7690 # Transform an extracted symbol line into symbol name with lib prefix and
7691 # symbol address.
7692 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7693 $lt_c_name_lib_hook\
7694 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7695 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7696 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7697
7698 # Handle CRLF in mingw tool chain
7699 opt_cr=
7700 case $build_os in
7701 mingw*)
7702   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7703   ;;
7704 esac
7705
7706 # Try without a prefix underscore, then with it.
7707 for ac_symprfx in "" "_"; do
7708
7709   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7710   symxfrm="\\1 $ac_symprfx\\2 \\2"
7711
7712   # Write the raw and C identifiers.
7713   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7714     # Fake it for dumpbin and say T for any non-static function,
7715     # D for any global variable and I for any imported variable.
7716     # Also find C++ and __fastcall symbols from MSVC++,
7717     # which start with @ or ?.
7718     lt_cv_sys_global_symbol_pipe="$AWK '"\
7719 "     {last_section=section; section=\$ 3};"\
7720 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7721 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7722 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7723 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7724 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7725 "     \$ 0!~/External *\|/{next};"\
7726 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7727 "     {if(hide[section]) next};"\
7728 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7729 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7730 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7731 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7732 "     ' prfx=^$ac_symprfx"
7733   else
7734     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7735   fi
7736   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7737
7738   # Check to see that the pipe works correctly.
7739   pipe_works=no
7740
7741   rm -f conftest*
7742   cat > conftest.$ac_ext <<_LT_EOF
7743 #ifdef __cplusplus
7744 extern "C" {
7745 #endif
7746 char nm_test_var;
7747 void nm_test_func(void);
7748 void nm_test_func(void){}
7749 #ifdef __cplusplus
7750 }
7751 #endif
7752 int main(){nm_test_var='a';nm_test_func();return(0);}
7753 _LT_EOF
7754
7755   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7756   (eval $ac_compile) 2>&5
7757   ac_status=$?
7758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7759   test $ac_status = 0; }; then
7760     # Now try to grab the symbols.
7761     nlist=conftest.nm
7762     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7763   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7764   ac_status=$?
7765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7766   test $ac_status = 0; } && test -s "$nlist"; then
7767       # Try sorting and uniquifying the output.
7768       if sort "$nlist" | uniq > "$nlist"T; then
7769         mv -f "$nlist"T "$nlist"
7770       else
7771         rm -f "$nlist"T
7772       fi
7773
7774       # Make sure that we snagged all the symbols we need.
7775       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7776         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7777           cat <<_LT_EOF > conftest.$ac_ext
7778 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7779 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7780 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7781    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7782 # define LT_DLSYM_CONST
7783 #elif defined __osf__
7784 /* This system does not cope well with relocations in const data.  */
7785 # define LT_DLSYM_CONST
7786 #else
7787 # define LT_DLSYM_CONST const
7788 #endif
7789
7790 #ifdef __cplusplus
7791 extern "C" {
7792 #endif
7793
7794 _LT_EOF
7795           # Now generate the symbol file.
7796           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7797
7798           cat <<_LT_EOF >> conftest.$ac_ext
7799
7800 /* The mapping between symbol names and symbols.  */
7801 LT_DLSYM_CONST struct {
7802   const char *name;
7803   void       *address;
7804 }
7805 lt__PROGRAM__LTX_preloaded_symbols[] =
7806 {
7807   { "@PROGRAM@", (void *) 0 },
7808 _LT_EOF
7809           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7810           cat <<\_LT_EOF >> conftest.$ac_ext
7811   {0, (void *) 0}
7812 };
7813
7814 /* This works around a problem in FreeBSD linker */
7815 #ifdef FREEBSD_WORKAROUND
7816 static const void *lt_preloaded_setup() {
7817   return lt__PROGRAM__LTX_preloaded_symbols;
7818 }
7819 #endif
7820
7821 #ifdef __cplusplus
7822 }
7823 #endif
7824 _LT_EOF
7825           # Now try linking the two files.
7826           mv conftest.$ac_objext conftstm.$ac_objext
7827           lt_globsym_save_LIBS=$LIBS
7828           lt_globsym_save_CFLAGS=$CFLAGS
7829           LIBS=conftstm.$ac_objext
7830           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7831           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7832   (eval $ac_link) 2>&5
7833   ac_status=$?
7834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7835   test $ac_status = 0; } && test -s conftest$ac_exeext; then
7836             pipe_works=yes
7837           fi
7838           LIBS=$lt_globsym_save_LIBS
7839           CFLAGS=$lt_globsym_save_CFLAGS
7840         else
7841           echo "cannot find nm_test_func in $nlist" >&5
7842         fi
7843       else
7844         echo "cannot find nm_test_var in $nlist" >&5
7845       fi
7846     else
7847       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7848     fi
7849   else
7850     echo "$progname: failed program was:" >&5
7851     cat conftest.$ac_ext >&5
7852   fi
7853   rm -rf conftest* conftst*
7854
7855   # Do not use the global_symbol_pipe unless it works.
7856   if test yes = "$pipe_works"; then
7857     break
7858   else
7859     lt_cv_sys_global_symbol_pipe=
7860   fi
7861 done
7862
7863 fi
7864
7865 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7866   lt_cv_sys_global_symbol_to_cdecl=
7867 fi
7868 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7870 $as_echo "failed" >&6; }
7871 else
7872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7873 $as_echo "ok" >&6; }
7874 fi
7875
7876 # Response file support.
7877 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7878   nm_file_list_spec='@'
7879 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7880   nm_file_list_spec='@'
7881 fi
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7920 $as_echo_n "checking for sysroot... " >&6; }
7921
7922 # Check whether --with-sysroot was given.
7923 if test "${with_sysroot+set}" = set; then :
7924   withval=$with_sysroot;
7925 else
7926   with_sysroot=no
7927 fi
7928
7929
7930 lt_sysroot=
7931 case $with_sysroot in #(
7932  yes)
7933    if test yes = "$GCC"; then
7934      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7935    fi
7936    ;; #(
7937  /*)
7938    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7939    ;; #(
7940  no|'')
7941    ;; #(
7942  *)
7943    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7944 $as_echo "$with_sysroot" >&6; }
7945    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7946    ;;
7947 esac
7948
7949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7950 $as_echo "${lt_sysroot:-no}" >&6; }
7951
7952
7953
7954
7955
7956 # Check whether --enable-libtool-lock was given.
7957 if test "${enable_libtool_lock+set}" = set; then :
7958   enableval=$enable_libtool_lock;
7959 fi
7960
7961 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7962
7963 # Some flags need to be propagated to the compiler or linker for good
7964 # libtool support.
7965 case $host in
7966 ia64-*-hpux*)
7967   # Find out what ABI is being produced by ac_compile, and set mode
7968   # options accordingly.
7969   echo 'int i;' > conftest.$ac_ext
7970   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7971   (eval $ac_compile) 2>&5
7972   ac_status=$?
7973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974   test $ac_status = 0; }; then
7975     case `/usr/bin/file conftest.$ac_objext` in
7976       *ELF-32*)
7977         HPUX_IA64_MODE=32
7978         ;;
7979       *ELF-64*)
7980         HPUX_IA64_MODE=64
7981         ;;
7982     esac
7983   fi
7984   rm -rf conftest*
7985   ;;
7986 *-*-irix6*)
7987   # Find out what ABI is being produced by ac_compile, and set linker
7988   # options accordingly.
7989   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7990   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7991   (eval $ac_compile) 2>&5
7992   ac_status=$?
7993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7994   test $ac_status = 0; }; then
7995     if test yes = "$lt_cv_prog_gnu_ld"; then
7996       case `/usr/bin/file conftest.$ac_objext` in
7997         *32-bit*)
7998           LD="${LD-ld} -melf32bsmip"
7999           ;;
8000         *N32*)
8001           LD="${LD-ld} -melf32bmipn32"
8002           ;;
8003         *64-bit*)
8004           LD="${LD-ld} -melf64bmip"
8005         ;;
8006       esac
8007     else
8008       case `/usr/bin/file conftest.$ac_objext` in
8009         *32-bit*)
8010           LD="${LD-ld} -32"
8011           ;;
8012         *N32*)
8013           LD="${LD-ld} -n32"
8014           ;;
8015         *64-bit*)
8016           LD="${LD-ld} -64"
8017           ;;
8018       esac
8019     fi
8020   fi
8021   rm -rf conftest*
8022   ;;
8023
8024 mips64*-*linux*)
8025   # Find out what ABI is being produced by ac_compile, and set linker
8026   # options accordingly.
8027   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8028   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8029   (eval $ac_compile) 2>&5
8030   ac_status=$?
8031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8032   test $ac_status = 0; }; then
8033     emul=elf
8034     case `/usr/bin/file conftest.$ac_objext` in
8035       *32-bit*)
8036         emul="${emul}32"
8037         ;;
8038       *64-bit*)
8039         emul="${emul}64"
8040         ;;
8041     esac
8042     case `/usr/bin/file conftest.$ac_objext` in
8043       *MSB*)
8044         emul="${emul}btsmip"
8045         ;;
8046       *LSB*)
8047         emul="${emul}ltsmip"
8048         ;;
8049     esac
8050     case `/usr/bin/file conftest.$ac_objext` in
8051       *N32*)
8052         emul="${emul}n32"
8053         ;;
8054     esac
8055     LD="${LD-ld} -m $emul"
8056   fi
8057   rm -rf conftest*
8058   ;;
8059
8060 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8061 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8062   # Find out what ABI is being produced by ac_compile, and set linker
8063   # options accordingly.  Note that the listed cases only cover the
8064   # situations where additional linker options are needed (such as when
8065   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8066   # vice versa); the common cases where no linker options are needed do
8067   # not appear in the list.
8068   echo 'int i;' > conftest.$ac_ext
8069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8070   (eval $ac_compile) 2>&5
8071   ac_status=$?
8072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8073   test $ac_status = 0; }; then
8074     case `/usr/bin/file conftest.o` in
8075       *32-bit*)
8076         case $host in
8077           x86_64-*kfreebsd*-gnu)
8078             LD="${LD-ld} -m elf_i386_fbsd"
8079             ;;
8080           x86_64-*linux*)
8081             case `/usr/bin/file conftest.o` in
8082               *x86-64*)
8083                 LD="${LD-ld} -m elf32_x86_64"
8084                 ;;
8085               *)
8086                 LD="${LD-ld} -m elf_i386"
8087                 ;;
8088             esac
8089             ;;
8090           powerpc64le-*linux*)
8091             LD="${LD-ld} -m elf32lppclinux"
8092             ;;
8093           powerpc64-*linux*)
8094             LD="${LD-ld} -m elf32ppclinux"
8095             ;;
8096           s390x-*linux*)
8097             LD="${LD-ld} -m elf_s390"
8098             ;;
8099           sparc64-*linux*)
8100             LD="${LD-ld} -m elf32_sparc"
8101             ;;
8102         esac
8103         ;;
8104       *64-bit*)
8105         case $host in
8106           x86_64-*kfreebsd*-gnu)
8107             LD="${LD-ld} -m elf_x86_64_fbsd"
8108             ;;
8109           x86_64-*linux*)
8110             LD="${LD-ld} -m elf_x86_64"
8111             ;;
8112           powerpcle-*linux*)
8113             LD="${LD-ld} -m elf64lppc"
8114             ;;
8115           powerpc-*linux*)
8116             LD="${LD-ld} -m elf64ppc"
8117             ;;
8118           s390*-*linux*|s390*-*tpf*)
8119             LD="${LD-ld} -m elf64_s390"
8120             ;;
8121           sparc*-*linux*)
8122             LD="${LD-ld} -m elf64_sparc"
8123             ;;
8124         esac
8125         ;;
8126     esac
8127   fi
8128   rm -rf conftest*
8129   ;;
8130
8131 *-*-sco3.2v5*)
8132   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8133   SAVE_CFLAGS=$CFLAGS
8134   CFLAGS="$CFLAGS -belf"
8135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8136 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8137 if ${lt_cv_cc_needs_belf+:} false; then :
8138   $as_echo_n "(cached) " >&6
8139 else
8140   ac_ext=c
8141 ac_cpp='$CPP $CPPFLAGS'
8142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8145
8146      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h.  */
8148
8149 int
8150 main ()
8151 {
8152
8153   ;
8154   return 0;
8155 }
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158   lt_cv_cc_needs_belf=yes
8159 else
8160   lt_cv_cc_needs_belf=no
8161 fi
8162 rm -f core conftest.err conftest.$ac_objext \
8163     conftest$ac_exeext conftest.$ac_ext
8164      ac_ext=c
8165 ac_cpp='$CPP $CPPFLAGS'
8166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8169
8170 fi
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8172 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8173   if test yes != "$lt_cv_cc_needs_belf"; then
8174     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8175     CFLAGS=$SAVE_CFLAGS
8176   fi
8177   ;;
8178 *-*solaris*)
8179   # Find out what ABI is being produced by ac_compile, and set linker
8180   # options accordingly.
8181   echo 'int i;' > conftest.$ac_ext
8182   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8183   (eval $ac_compile) 2>&5
8184   ac_status=$?
8185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8186   test $ac_status = 0; }; then
8187     case `/usr/bin/file conftest.o` in
8188     *64-bit*)
8189       case $lt_cv_prog_gnu_ld in
8190       yes*)
8191         case $host in
8192         i?86-*-solaris*|x86_64-*-solaris*)
8193           LD="${LD-ld} -m elf_x86_64"
8194           ;;
8195         sparc*-*-solaris*)
8196           LD="${LD-ld} -m elf64_sparc"
8197           ;;
8198         esac
8199         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8200         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8201           LD=${LD-ld}_sol2
8202         fi
8203         ;;
8204       *)
8205         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8206           LD="${LD-ld} -64"
8207         fi
8208         ;;
8209       esac
8210       ;;
8211     esac
8212   fi
8213   rm -rf conftest*
8214   ;;
8215 esac
8216
8217 need_locks=$enable_libtool_lock
8218
8219 if test -n "$ac_tool_prefix"; then
8220   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8221 set dummy ${ac_tool_prefix}mt; ac_word=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8223 $as_echo_n "checking for $ac_word... " >&6; }
8224 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8225   $as_echo_n "(cached) " >&6
8226 else
8227   if test -n "$MANIFEST_TOOL"; then
8228   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8229 else
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231 for as_dir in $PATH
8232 do
8233   IFS=$as_save_IFS
8234   test -z "$as_dir" && as_dir=.
8235     for ac_exec_ext in '' $ac_executable_extensions; do
8236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8237     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8239     break 2
8240   fi
8241 done
8242   done
8243 IFS=$as_save_IFS
8244
8245 fi
8246 fi
8247 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8248 if test -n "$MANIFEST_TOOL"; then
8249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8250 $as_echo "$MANIFEST_TOOL" >&6; }
8251 else
8252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8253 $as_echo "no" >&6; }
8254 fi
8255
8256
8257 fi
8258 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8259   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8260   # Extract the first word of "mt", so it can be a program name with args.
8261 set dummy mt; ac_word=$2
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263 $as_echo_n "checking for $ac_word... " >&6; }
8264 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8265   $as_echo_n "(cached) " >&6
8266 else
8267   if test -n "$ac_ct_MANIFEST_TOOL"; then
8268   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8269 else
8270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271 for as_dir in $PATH
8272 do
8273   IFS=$as_save_IFS
8274   test -z "$as_dir" && as_dir=.
8275     for ac_exec_ext in '' $ac_executable_extensions; do
8276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8277     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8279     break 2
8280   fi
8281 done
8282   done
8283 IFS=$as_save_IFS
8284
8285 fi
8286 fi
8287 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8288 if test -n "$ac_ct_MANIFEST_TOOL"; then
8289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8290 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8291 else
8292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8294 fi
8295
8296   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8297     MANIFEST_TOOL=":"
8298   else
8299     case $cross_compiling:$ac_tool_warned in
8300 yes:)
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8303 ac_tool_warned=yes ;;
8304 esac
8305     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8306   fi
8307 else
8308   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8309 fi
8310
8311 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8313 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8314 if ${lt_cv_path_mainfest_tool+:} false; then :
8315   $as_echo_n "(cached) " >&6
8316 else
8317   lt_cv_path_mainfest_tool=no
8318   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8319   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8320   cat conftest.err >&5
8321   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8322     lt_cv_path_mainfest_tool=yes
8323   fi
8324   rm -f conftest*
8325 fi
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8327 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8328 if test yes != "$lt_cv_path_mainfest_tool"; then
8329   MANIFEST_TOOL=:
8330 fi
8331
8332
8333
8334
8335
8336
8337   case $host_os in
8338     rhapsody* | darwin*)
8339     if test -n "$ac_tool_prefix"; then
8340   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8341 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8345   $as_echo_n "(cached) " >&6
8346 else
8347   if test -n "$DSYMUTIL"; then
8348   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8349 else
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 for as_dir in $PATH
8352 do
8353   IFS=$as_save_IFS
8354   test -z "$as_dir" && as_dir=.
8355     for ac_exec_ext in '' $ac_executable_extensions; do
8356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8357     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359     break 2
8360   fi
8361 done
8362   done
8363 IFS=$as_save_IFS
8364
8365 fi
8366 fi
8367 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8368 if test -n "$DSYMUTIL"; then
8369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8370 $as_echo "$DSYMUTIL" >&6; }
8371 else
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 fi
8375
8376
8377 fi
8378 if test -z "$ac_cv_prog_DSYMUTIL"; then
8379   ac_ct_DSYMUTIL=$DSYMUTIL
8380   # Extract the first word of "dsymutil", so it can be a program name with args.
8381 set dummy dsymutil; ac_word=$2
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383 $as_echo_n "checking for $ac_word... " >&6; }
8384 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8385   $as_echo_n "(cached) " >&6
8386 else
8387   if test -n "$ac_ct_DSYMUTIL"; then
8388   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8389 else
8390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391 for as_dir in $PATH
8392 do
8393   IFS=$as_save_IFS
8394   test -z "$as_dir" && as_dir=.
8395     for ac_exec_ext in '' $ac_executable_extensions; do
8396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8397     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399     break 2
8400   fi
8401 done
8402   done
8403 IFS=$as_save_IFS
8404
8405 fi
8406 fi
8407 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8408 if test -n "$ac_ct_DSYMUTIL"; then
8409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8410 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8411 else
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413 $as_echo "no" >&6; }
8414 fi
8415
8416   if test "x$ac_ct_DSYMUTIL" = x; then
8417     DSYMUTIL=":"
8418   else
8419     case $cross_compiling:$ac_tool_warned in
8420 yes:)
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8423 ac_tool_warned=yes ;;
8424 esac
8425     DSYMUTIL=$ac_ct_DSYMUTIL
8426   fi
8427 else
8428   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8429 fi
8430
8431     if test -n "$ac_tool_prefix"; then
8432   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8433 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8435 $as_echo_n "checking for $ac_word... " >&6; }
8436 if ${ac_cv_prog_NMEDIT+:} false; then :
8437   $as_echo_n "(cached) " >&6
8438 else
8439   if test -n "$NMEDIT"; then
8440   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8441 else
8442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8443 for as_dir in $PATH
8444 do
8445   IFS=$as_save_IFS
8446   test -z "$as_dir" && as_dir=.
8447     for ac_exec_ext in '' $ac_executable_extensions; do
8448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8449     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451     break 2
8452   fi
8453 done
8454   done
8455 IFS=$as_save_IFS
8456
8457 fi
8458 fi
8459 NMEDIT=$ac_cv_prog_NMEDIT
8460 if test -n "$NMEDIT"; then
8461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8462 $as_echo "$NMEDIT" >&6; }
8463 else
8464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8466 fi
8467
8468
8469 fi
8470 if test -z "$ac_cv_prog_NMEDIT"; then
8471   ac_ct_NMEDIT=$NMEDIT
8472   # Extract the first word of "nmedit", so it can be a program name with args.
8473 set dummy nmedit; ac_word=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8475 $as_echo_n "checking for $ac_word... " >&6; }
8476 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8477   $as_echo_n "(cached) " >&6
8478 else
8479   if test -n "$ac_ct_NMEDIT"; then
8480   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8481 else
8482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 for as_dir in $PATH
8484 do
8485   IFS=$as_save_IFS
8486   test -z "$as_dir" && as_dir=.
8487     for ac_exec_ext in '' $ac_executable_extensions; do
8488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8489     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491     break 2
8492   fi
8493 done
8494   done
8495 IFS=$as_save_IFS
8496
8497 fi
8498 fi
8499 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8500 if test -n "$ac_ct_NMEDIT"; then
8501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8502 $as_echo "$ac_ct_NMEDIT" >&6; }
8503 else
8504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8506 fi
8507
8508   if test "x$ac_ct_NMEDIT" = x; then
8509     NMEDIT=":"
8510   else
8511     case $cross_compiling:$ac_tool_warned in
8512 yes:)
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8515 ac_tool_warned=yes ;;
8516 esac
8517     NMEDIT=$ac_ct_NMEDIT
8518   fi
8519 else
8520   NMEDIT="$ac_cv_prog_NMEDIT"
8521 fi
8522
8523     if test -n "$ac_tool_prefix"; then
8524   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8525 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527 $as_echo_n "checking for $ac_word... " >&6; }
8528 if ${ac_cv_prog_LIPO+:} false; then :
8529   $as_echo_n "(cached) " >&6
8530 else
8531   if test -n "$LIPO"; then
8532   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8533 else
8534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535 for as_dir in $PATH
8536 do
8537   IFS=$as_save_IFS
8538   test -z "$as_dir" && as_dir=.
8539     for ac_exec_ext in '' $ac_executable_extensions; do
8540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8543     break 2
8544   fi
8545 done
8546   done
8547 IFS=$as_save_IFS
8548
8549 fi
8550 fi
8551 LIPO=$ac_cv_prog_LIPO
8552 if test -n "$LIPO"; then
8553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8554 $as_echo "$LIPO" >&6; }
8555 else
8556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8557 $as_echo "no" >&6; }
8558 fi
8559
8560
8561 fi
8562 if test -z "$ac_cv_prog_LIPO"; then
8563   ac_ct_LIPO=$LIPO
8564   # Extract the first word of "lipo", so it can be a program name with args.
8565 set dummy lipo; ac_word=$2
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8567 $as_echo_n "checking for $ac_word... " >&6; }
8568 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8569   $as_echo_n "(cached) " >&6
8570 else
8571   if test -n "$ac_ct_LIPO"; then
8572   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8573 else
8574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8575 for as_dir in $PATH
8576 do
8577   IFS=$as_save_IFS
8578   test -z "$as_dir" && as_dir=.
8579     for ac_exec_ext in '' $ac_executable_extensions; do
8580   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8581     ac_cv_prog_ac_ct_LIPO="lipo"
8582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8583     break 2
8584   fi
8585 done
8586   done
8587 IFS=$as_save_IFS
8588
8589 fi
8590 fi
8591 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8592 if test -n "$ac_ct_LIPO"; then
8593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8594 $as_echo "$ac_ct_LIPO" >&6; }
8595 else
8596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8597 $as_echo "no" >&6; }
8598 fi
8599
8600   if test "x$ac_ct_LIPO" = x; then
8601     LIPO=":"
8602   else
8603     case $cross_compiling:$ac_tool_warned in
8604 yes:)
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8607 ac_tool_warned=yes ;;
8608 esac
8609     LIPO=$ac_ct_LIPO
8610   fi
8611 else
8612   LIPO="$ac_cv_prog_LIPO"
8613 fi
8614
8615     if test -n "$ac_tool_prefix"; then
8616   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8617 set dummy ${ac_tool_prefix}otool; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8619 $as_echo_n "checking for $ac_word... " >&6; }
8620 if ${ac_cv_prog_OTOOL+:} false; then :
8621   $as_echo_n "(cached) " >&6
8622 else
8623   if test -n "$OTOOL"; then
8624   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8625 else
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627 for as_dir in $PATH
8628 do
8629   IFS=$as_save_IFS
8630   test -z "$as_dir" && as_dir=.
8631     for ac_exec_ext in '' $ac_executable_extensions; do
8632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8633     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8635     break 2
8636   fi
8637 done
8638   done
8639 IFS=$as_save_IFS
8640
8641 fi
8642 fi
8643 OTOOL=$ac_cv_prog_OTOOL
8644 if test -n "$OTOOL"; then
8645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8646 $as_echo "$OTOOL" >&6; }
8647 else
8648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8649 $as_echo "no" >&6; }
8650 fi
8651
8652
8653 fi
8654 if test -z "$ac_cv_prog_OTOOL"; then
8655   ac_ct_OTOOL=$OTOOL
8656   # Extract the first word of "otool", so it can be a program name with args.
8657 set dummy otool; ac_word=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8659 $as_echo_n "checking for $ac_word... " >&6; }
8660 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8661   $as_echo_n "(cached) " >&6
8662 else
8663   if test -n "$ac_ct_OTOOL"; then
8664   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8665 else
8666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 for as_dir in $PATH
8668 do
8669   IFS=$as_save_IFS
8670   test -z "$as_dir" && as_dir=.
8671     for ac_exec_ext in '' $ac_executable_extensions; do
8672   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8673     ac_cv_prog_ac_ct_OTOOL="otool"
8674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675     break 2
8676   fi
8677 done
8678   done
8679 IFS=$as_save_IFS
8680
8681 fi
8682 fi
8683 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8684 if test -n "$ac_ct_OTOOL"; then
8685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8686 $as_echo "$ac_ct_OTOOL" >&6; }
8687 else
8688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8689 $as_echo "no" >&6; }
8690 fi
8691
8692   if test "x$ac_ct_OTOOL" = x; then
8693     OTOOL=":"
8694   else
8695     case $cross_compiling:$ac_tool_warned in
8696 yes:)
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8699 ac_tool_warned=yes ;;
8700 esac
8701     OTOOL=$ac_ct_OTOOL
8702   fi
8703 else
8704   OTOOL="$ac_cv_prog_OTOOL"
8705 fi
8706
8707     if test -n "$ac_tool_prefix"; then
8708   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8709 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8711 $as_echo_n "checking for $ac_word... " >&6; }
8712 if ${ac_cv_prog_OTOOL64+:} false; then :
8713   $as_echo_n "(cached) " >&6
8714 else
8715   if test -n "$OTOOL64"; then
8716   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8717 else
8718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8719 for as_dir in $PATH
8720 do
8721   IFS=$as_save_IFS
8722   test -z "$as_dir" && as_dir=.
8723     for ac_exec_ext in '' $ac_executable_extensions; do
8724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8725     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8727     break 2
8728   fi
8729 done
8730   done
8731 IFS=$as_save_IFS
8732
8733 fi
8734 fi
8735 OTOOL64=$ac_cv_prog_OTOOL64
8736 if test -n "$OTOOL64"; then
8737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8738 $as_echo "$OTOOL64" >&6; }
8739 else
8740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8742 fi
8743
8744
8745 fi
8746 if test -z "$ac_cv_prog_OTOOL64"; then
8747   ac_ct_OTOOL64=$OTOOL64
8748   # Extract the first word of "otool64", so it can be a program name with args.
8749 set dummy otool64; ac_word=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8751 $as_echo_n "checking for $ac_word... " >&6; }
8752 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8753   $as_echo_n "(cached) " >&6
8754 else
8755   if test -n "$ac_ct_OTOOL64"; then
8756   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8757 else
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8759 for as_dir in $PATH
8760 do
8761   IFS=$as_save_IFS
8762   test -z "$as_dir" && as_dir=.
8763     for ac_exec_ext in '' $ac_executable_extensions; do
8764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765     ac_cv_prog_ac_ct_OTOOL64="otool64"
8766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8767     break 2
8768   fi
8769 done
8770   done
8771 IFS=$as_save_IFS
8772
8773 fi
8774 fi
8775 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8776 if test -n "$ac_ct_OTOOL64"; then
8777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8778 $as_echo "$ac_ct_OTOOL64" >&6; }
8779 else
8780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 $as_echo "no" >&6; }
8782 fi
8783
8784   if test "x$ac_ct_OTOOL64" = x; then
8785     OTOOL64=":"
8786   else
8787     case $cross_compiling:$ac_tool_warned in
8788 yes:)
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8791 ac_tool_warned=yes ;;
8792 esac
8793     OTOOL64=$ac_ct_OTOOL64
8794   fi
8795 else
8796   OTOOL64="$ac_cv_prog_OTOOL64"
8797 fi
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8826 $as_echo_n "checking for -single_module linker flag... " >&6; }
8827 if ${lt_cv_apple_cc_single_mod+:} false; then :
8828   $as_echo_n "(cached) " >&6
8829 else
8830   lt_cv_apple_cc_single_mod=no
8831       if test -z "$LT_MULTI_MODULE"; then
8832         # By default we will add the -single_module flag. You can override
8833         # by either setting the environment variable LT_MULTI_MODULE
8834         # non-empty at configure time, or by adding -multi_module to the
8835         # link flags.
8836         rm -rf libconftest.dylib*
8837         echo "int foo(void){return 1;}" > conftest.c
8838         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8839 -dynamiclib -Wl,-single_module conftest.c" >&5
8840         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8841           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8842         _lt_result=$?
8843         # If there is a non-empty error log, and "single_module"
8844         # appears in it, assume the flag caused a linker warning
8845         if test -s conftest.err && $GREP single_module conftest.err; then
8846           cat conftest.err >&5
8847         # Otherwise, if the output was created with a 0 exit code from
8848         # the compiler, it worked.
8849         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8850           lt_cv_apple_cc_single_mod=yes
8851         else
8852           cat conftest.err >&5
8853         fi
8854         rm -rf libconftest.dylib*
8855         rm -f conftest.*
8856       fi
8857 fi
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8859 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8860
8861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8862 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8863 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8864   $as_echo_n "(cached) " >&6
8865 else
8866   lt_cv_ld_exported_symbols_list=no
8867       save_LDFLAGS=$LDFLAGS
8868       echo "_main" > conftest.sym
8869       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h.  */
8872
8873 int
8874 main ()
8875 {
8876
8877   ;
8878   return 0;
8879 }
8880 _ACEOF
8881 if ac_fn_c_try_link "$LINENO"; then :
8882   lt_cv_ld_exported_symbols_list=yes
8883 else
8884   lt_cv_ld_exported_symbols_list=no
8885 fi
8886 rm -f core conftest.err conftest.$ac_objext \
8887     conftest$ac_exeext conftest.$ac_ext
8888         LDFLAGS=$save_LDFLAGS
8889
8890 fi
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8892 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8893
8894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8895 $as_echo_n "checking for -force_load linker flag... " >&6; }
8896 if ${lt_cv_ld_force_load+:} false; then :
8897   $as_echo_n "(cached) " >&6
8898 else
8899   lt_cv_ld_force_load=no
8900       cat > conftest.c << _LT_EOF
8901 int forced_loaded() { return 2;}
8902 _LT_EOF
8903       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8904       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8905       echo "$AR cru libconftest.a conftest.o" >&5
8906       $AR cru libconftest.a conftest.o 2>&5
8907       echo "$RANLIB libconftest.a" >&5
8908       $RANLIB libconftest.a 2>&5
8909       cat > conftest.c << _LT_EOF
8910 int main() { return 0;}
8911 _LT_EOF
8912       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8913       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8914       _lt_result=$?
8915       if test -s conftest.err && $GREP force_load conftest.err; then
8916         cat conftest.err >&5
8917       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8918         lt_cv_ld_force_load=yes
8919       else
8920         cat conftest.err >&5
8921       fi
8922         rm -f conftest.err libconftest.a conftest conftest.c
8923         rm -rf conftest.dSYM
8924
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8927 $as_echo "$lt_cv_ld_force_load" >&6; }
8928     case $host_os in
8929     rhapsody* | darwin1.[012])
8930       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8931     darwin1.*)
8932       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8933     darwin*) # darwin 5.x on
8934       # if running on 10.5 or later, the deployment target defaults
8935       # to the OS version, if on x86, and 10.4, the deployment
8936       # target defaults to 10.4. Don't you love it?
8937       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8938         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8939           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8940         10.[012]*)
8941           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8942         10.*)
8943           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8944       esac
8945     ;;
8946   esac
8947     if test yes = "$lt_cv_apple_cc_single_mod"; then
8948       _lt_dar_single_mod='$single_module'
8949     fi
8950     if test yes = "$lt_cv_ld_exported_symbols_list"; then
8951       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8952     else
8953       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8954     fi
8955     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8956       _lt_dsymutil='~$DSYMUTIL $lib || :'
8957     else
8958       _lt_dsymutil=
8959     fi
8960     ;;
8961   esac
8962
8963 for ac_header in dlfcn.h
8964 do :
8965   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8966 "
8967 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8968   cat >>confdefs.h <<_ACEOF
8969 #define HAVE_DLFCN_H 1
8970 _ACEOF
8971
8972 fi
8973
8974 done
8975
8976
8977
8978
8979
8980 # Set options
8981
8982
8983
8984         enable_dlopen=no
8985
8986
8987   enable_win32_dll=no
8988
8989
8990
8991
8992
8993 # Check whether --with-pic was given.
8994 if test "${with_pic+set}" = set; then :
8995   withval=$with_pic; lt_p=${PACKAGE-default}
8996     case $withval in
8997     yes|no) pic_mode=$withval ;;
8998     *)
8999       pic_mode=default
9000       # Look at the argument we got.  We use all the common list separators.
9001       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9002       for lt_pkg in $withval; do
9003         IFS=$lt_save_ifs
9004         if test "X$lt_pkg" = "X$lt_p"; then
9005           pic_mode=yes
9006         fi
9007       done
9008       IFS=$lt_save_ifs
9009       ;;
9010     esac
9011 else
9012   pic_mode=default
9013 fi
9014
9015
9016
9017
9018
9019
9020
9021
9022   # Check whether --enable-fast-install was given.
9023 if test "${enable_fast_install+set}" = set; then :
9024   enableval=$enable_fast_install; p=${PACKAGE-default}
9025     case $enableval in
9026     yes) enable_fast_install=yes ;;
9027     no) enable_fast_install=no ;;
9028     *)
9029       enable_fast_install=no
9030       # Look at the argument we got.  We use all the common list separators.
9031       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9032       for pkg in $enableval; do
9033         IFS=$lt_save_ifs
9034         if test "X$pkg" = "X$p"; then
9035           enable_fast_install=yes
9036         fi
9037       done
9038       IFS=$lt_save_ifs
9039       ;;
9040     esac
9041 else
9042   enable_fast_install=yes
9043 fi
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055 # This can be used to rebuild libtool when needed
9056 LIBTOOL_DEPS=$ltmain
9057
9058 # Always use our own libtool.
9059 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090 test -z "$LN_S" && LN_S="ln -s"
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105 if test -n "${ZSH_VERSION+set}"; then
9106    setopt NO_GLOB_SUBST
9107 fi
9108
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9110 $as_echo_n "checking for objdir... " >&6; }
9111 if ${lt_cv_objdir+:} false; then :
9112   $as_echo_n "(cached) " >&6
9113 else
9114   rm -f .libs 2>/dev/null
9115 mkdir .libs 2>/dev/null
9116 if test -d .libs; then
9117   lt_cv_objdir=.libs
9118 else
9119   # MS-DOS does not allow filenames that begin with a dot.
9120   lt_cv_objdir=_libs
9121 fi
9122 rmdir .libs 2>/dev/null
9123 fi
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9125 $as_echo "$lt_cv_objdir" >&6; }
9126 objdir=$lt_cv_objdir
9127
9128
9129
9130
9131
9132 cat >>confdefs.h <<_ACEOF
9133 #define LT_OBJDIR "$lt_cv_objdir/"
9134 _ACEOF
9135
9136
9137
9138
9139 case $host_os in
9140 aix3*)
9141   # AIX sometimes has problems with the GCC collect2 program.  For some
9142   # reason, if we set the COLLECT_NAMES environment variable, the problems
9143   # vanish in a puff of smoke.
9144   if test set != "${COLLECT_NAMES+set}"; then
9145     COLLECT_NAMES=
9146     export COLLECT_NAMES
9147   fi
9148   ;;
9149 esac
9150
9151 # Global variables:
9152 ofile=libtool
9153 can_build_shared=yes
9154
9155 # All known linkers require a '.a' archive for static linking (except MSVC,
9156 # which needs '.lib').
9157 libext=a
9158
9159 with_gnu_ld=$lt_cv_prog_gnu_ld
9160
9161 old_CC=$CC
9162 old_CFLAGS=$CFLAGS
9163
9164 # Set sane defaults for various variables
9165 test -z "$CC" && CC=cc
9166 test -z "$LTCC" && LTCC=$CC
9167 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9168 test -z "$LD" && LD=ld
9169 test -z "$ac_objext" && ac_objext=o
9170
9171 for cc_temp in $compiler""; do
9172   case $cc_temp in
9173     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9174     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9175     \-*) ;;
9176     *) break;;
9177   esac
9178 done
9179 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9180
9181
9182 # Only perform the check for file, if the check method requires it
9183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9184 case $deplibs_check_method in
9185 file_magic*)
9186   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9188 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9189 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9190   $as_echo_n "(cached) " >&6
9191 else
9192   case $MAGIC_CMD in
9193 [\\/*] |  ?:[\\/]*)
9194   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9195   ;;
9196 *)
9197   lt_save_MAGIC_CMD=$MAGIC_CMD
9198   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9199   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9200   for ac_dir in $ac_dummy; do
9201     IFS=$lt_save_ifs
9202     test -z "$ac_dir" && ac_dir=.
9203     if test -f "$ac_dir/${ac_tool_prefix}file"; then
9204       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9205       if test -n "$file_magic_test_file"; then
9206         case $deplibs_check_method in
9207         "file_magic "*)
9208           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9209           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9210           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9211             $EGREP "$file_magic_regex" > /dev/null; then
9212             :
9213           else
9214             cat <<_LT_EOF 1>&2
9215
9216 *** Warning: the command libtool uses to detect shared libraries,
9217 *** $file_magic_cmd, produces output that libtool cannot recognize.
9218 *** The result is that libtool may fail to recognize shared libraries
9219 *** as such.  This will affect the creation of libtool libraries that
9220 *** depend on shared libraries, but programs linked with such libtool
9221 *** libraries will work regardless of this problem.  Nevertheless, you
9222 *** may want to report the problem to your system manager and/or to
9223 *** bug-libtool@gnu.org
9224
9225 _LT_EOF
9226           fi ;;
9227         esac
9228       fi
9229       break
9230     fi
9231   done
9232   IFS=$lt_save_ifs
9233   MAGIC_CMD=$lt_save_MAGIC_CMD
9234   ;;
9235 esac
9236 fi
9237
9238 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9239 if test -n "$MAGIC_CMD"; then
9240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9241 $as_echo "$MAGIC_CMD" >&6; }
9242 else
9243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 $as_echo "no" >&6; }
9245 fi
9246
9247
9248
9249
9250
9251 if test -z "$lt_cv_path_MAGIC_CMD"; then
9252   if test -n "$ac_tool_prefix"; then
9253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9254 $as_echo_n "checking for file... " >&6; }
9255 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9256   $as_echo_n "(cached) " >&6
9257 else
9258   case $MAGIC_CMD in
9259 [\\/*] |  ?:[\\/]*)
9260   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9261   ;;
9262 *)
9263   lt_save_MAGIC_CMD=$MAGIC_CMD
9264   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9265   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9266   for ac_dir in $ac_dummy; do
9267     IFS=$lt_save_ifs
9268     test -z "$ac_dir" && ac_dir=.
9269     if test -f "$ac_dir/file"; then
9270       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9271       if test -n "$file_magic_test_file"; then
9272         case $deplibs_check_method in
9273         "file_magic "*)
9274           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9275           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9276           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9277             $EGREP "$file_magic_regex" > /dev/null; then
9278             :
9279           else
9280             cat <<_LT_EOF 1>&2
9281
9282 *** Warning: the command libtool uses to detect shared libraries,
9283 *** $file_magic_cmd, produces output that libtool cannot recognize.
9284 *** The result is that libtool may fail to recognize shared libraries
9285 *** as such.  This will affect the creation of libtool libraries that
9286 *** depend on shared libraries, but programs linked with such libtool
9287 *** libraries will work regardless of this problem.  Nevertheless, you
9288 *** may want to report the problem to your system manager and/or to
9289 *** bug-libtool@gnu.org
9290
9291 _LT_EOF
9292           fi ;;
9293         esac
9294       fi
9295       break
9296     fi
9297   done
9298   IFS=$lt_save_ifs
9299   MAGIC_CMD=$lt_save_MAGIC_CMD
9300   ;;
9301 esac
9302 fi
9303
9304 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9305 if test -n "$MAGIC_CMD"; then
9306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9307 $as_echo "$MAGIC_CMD" >&6; }
9308 else
9309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9310 $as_echo "no" >&6; }
9311 fi
9312
9313
9314   else
9315     MAGIC_CMD=:
9316   fi
9317 fi
9318
9319   fi
9320   ;;
9321 esac
9322
9323 # Use C for the default configuration in the libtool script
9324
9325 lt_save_CC=$CC
9326 ac_ext=c
9327 ac_cpp='$CPP $CPPFLAGS'
9328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9331
9332
9333 # Source file extension for C test sources.
9334 ac_ext=c
9335
9336 # Object file extension for compiled C test sources.
9337 objext=o
9338 objext=$objext
9339
9340 # Code to be used in simple compile tests
9341 lt_simple_compile_test_code="int some_variable = 0;"
9342
9343 # Code to be used in simple link tests
9344 lt_simple_link_test_code='int main(){return(0);}'
9345
9346
9347
9348
9349
9350
9351
9352 # If no C compiler was specified, use CC.
9353 LTCC=${LTCC-"$CC"}
9354
9355 # If no C compiler flags were specified, use CFLAGS.
9356 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9357
9358 # Allow CC to be a program name with arguments.
9359 compiler=$CC
9360
9361 # Save the default compiler, since it gets overwritten when the other
9362 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9363 compiler_DEFAULT=$CC
9364
9365 # save warnings/boilerplate of simple test code
9366 ac_outfile=conftest.$ac_objext
9367 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9368 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9369 _lt_compiler_boilerplate=`cat conftest.err`
9370 $RM conftest*
9371
9372 ac_outfile=conftest.$ac_objext
9373 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9374 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9375 _lt_linker_boilerplate=`cat conftest.err`
9376 $RM -r conftest*
9377
9378
9379 if test -n "$compiler"; then
9380
9381 lt_prog_compiler_no_builtin_flag=
9382
9383 if test yes = "$GCC"; then
9384   case $cc_basename in
9385   nvcc*)
9386     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9387   *)
9388     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9389   esac
9390
9391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9392 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9393 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9394   $as_echo_n "(cached) " >&6
9395 else
9396   lt_cv_prog_compiler_rtti_exceptions=no
9397    ac_outfile=conftest.$ac_objext
9398    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9399    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9400    # Insert the option either (1) after the last *FLAGS variable, or
9401    # (2) before a word containing "conftest.", or (3) at the end.
9402    # Note that $ac_compile itself does not contain backslashes and begins
9403    # with a dollar sign (not a hyphen), so the echo should work correctly.
9404    # The option is referenced via a variable to avoid confusing sed.
9405    lt_compile=`echo "$ac_compile" | $SED \
9406    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9407    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9408    -e 's:$: $lt_compiler_flag:'`
9409    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9410    (eval "$lt_compile" 2>conftest.err)
9411    ac_status=$?
9412    cat conftest.err >&5
9413    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414    if (exit $ac_status) && test -s "$ac_outfile"; then
9415      # The compiler can only warn and ignore the option if not recognized
9416      # So say no if there are warnings other than the usual output.
9417      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9418      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9419      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9420        lt_cv_prog_compiler_rtti_exceptions=yes
9421      fi
9422    fi
9423    $RM conftest*
9424
9425 fi
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9427 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9428
9429 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9430     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9431 else
9432     :
9433 fi
9434
9435 fi
9436
9437
9438
9439
9440
9441
9442   lt_prog_compiler_wl=
9443 lt_prog_compiler_pic=
9444 lt_prog_compiler_static=
9445
9446
9447   if test yes = "$GCC"; then
9448     lt_prog_compiler_wl='-Wl,'
9449     lt_prog_compiler_static='-static'
9450
9451     case $host_os in
9452       aix*)
9453       # All AIX code is PIC.
9454       if test ia64 = "$host_cpu"; then
9455         # AIX 5 now supports IA64 processor
9456         lt_prog_compiler_static='-Bstatic'
9457       fi
9458       lt_prog_compiler_pic='-fPIC'
9459       ;;
9460
9461     amigaos*)
9462       case $host_cpu in
9463       powerpc)
9464             # see comment about AmigaOS4 .so support
9465             lt_prog_compiler_pic='-fPIC'
9466         ;;
9467       m68k)
9468             # FIXME: we need at least 68020 code to build shared libraries, but
9469             # adding the '-m68020' flag to GCC prevents building anything better,
9470             # like '-m68040'.
9471             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9472         ;;
9473       esac
9474       ;;
9475
9476     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9477       # PIC is the default for these OSes.
9478       ;;
9479
9480     mingw* | cygwin* | pw32* | os2* | cegcc*)
9481       # This hack is so that the source file can tell whether it is being
9482       # built for inclusion in a dll (and should export symbols for example).
9483       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9484       # (--disable-auto-import) libraries
9485       lt_prog_compiler_pic='-DDLL_EXPORT'
9486       ;;
9487
9488     darwin* | rhapsody*)
9489       # PIC is the default on this platform
9490       # Common symbols not allowed in MH_DYLIB files
9491       lt_prog_compiler_pic='-fno-common'
9492       ;;
9493
9494     haiku*)
9495       # PIC is the default for Haiku.
9496       # The "-static" flag exists, but is broken.
9497       lt_prog_compiler_static=
9498       ;;
9499
9500     hpux*)
9501       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9502       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9503       # sets the default TLS model and affects inlining.
9504       case $host_cpu in
9505       hppa*64*)
9506         # +Z the default
9507         ;;
9508       *)
9509         lt_prog_compiler_pic='-fPIC'
9510         ;;
9511       esac
9512       ;;
9513
9514     interix[3-9]*)
9515       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9516       # Instead, we relocate shared libraries at runtime.
9517       ;;
9518
9519     msdosdjgpp*)
9520       # Just because we use GCC doesn't mean we suddenly get shared libraries
9521       # on systems that don't support them.
9522       lt_prog_compiler_can_build_shared=no
9523       enable_shared=no
9524       ;;
9525
9526     *nto* | *qnx*)
9527       # QNX uses GNU C++, but need to define -shared option too, otherwise
9528       # it will coredump.
9529       lt_prog_compiler_pic='-fPIC -shared'
9530       ;;
9531
9532     sysv4*MP*)
9533       if test -d /usr/nec; then
9534         lt_prog_compiler_pic=-Kconform_pic
9535       fi
9536       ;;
9537
9538     *)
9539       lt_prog_compiler_pic='-fPIC'
9540       ;;
9541     esac
9542
9543     case $cc_basename in
9544     nvcc*) # Cuda Compiler Driver 2.2
9545       lt_prog_compiler_wl='-Xlinker '
9546       if test -n "$lt_prog_compiler_pic"; then
9547         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9548       fi
9549       ;;
9550     esac
9551   else
9552     # PORTME Check for flag to pass linker flags through the system compiler.
9553     case $host_os in
9554     aix*)
9555       lt_prog_compiler_wl='-Wl,'
9556       if test ia64 = "$host_cpu"; then
9557         # AIX 5 now supports IA64 processor
9558         lt_prog_compiler_static='-Bstatic'
9559       else
9560         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9561       fi
9562       ;;
9563
9564     darwin* | rhapsody*)
9565       # PIC is the default on this platform
9566       # Common symbols not allowed in MH_DYLIB files
9567       lt_prog_compiler_pic='-fno-common'
9568       case $cc_basename in
9569       nagfor*)
9570         # NAG Fortran compiler
9571         lt_prog_compiler_wl='-Wl,-Wl,,'
9572         lt_prog_compiler_pic='-PIC'
9573         lt_prog_compiler_static='-Bstatic'
9574         ;;
9575       esac
9576       ;;
9577
9578     mingw* | cygwin* | pw32* | os2* | cegcc*)
9579       # This hack is so that the source file can tell whether it is being
9580       # built for inclusion in a dll (and should export symbols for example).
9581       lt_prog_compiler_pic='-DDLL_EXPORT'
9582       ;;
9583
9584     hpux9* | hpux10* | hpux11*)
9585       lt_prog_compiler_wl='-Wl,'
9586       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9587       # not for PA HP-UX.
9588       case $host_cpu in
9589       hppa*64*|ia64*)
9590         # +Z the default
9591         ;;
9592       *)
9593         lt_prog_compiler_pic='+Z'
9594         ;;
9595       esac
9596       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9597       lt_prog_compiler_static='$wl-a ${wl}archive'
9598       ;;
9599
9600     irix5* | irix6* | nonstopux*)
9601       lt_prog_compiler_wl='-Wl,'
9602       # PIC (with -KPIC) is the default.
9603       lt_prog_compiler_static='-non_shared'
9604       ;;
9605
9606     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9607       case $cc_basename in
9608       # old Intel for x86_64, which still supported -KPIC.
9609       ecc*)
9610         lt_prog_compiler_wl='-Wl,'
9611         lt_prog_compiler_pic='-KPIC'
9612         lt_prog_compiler_static='-static'
9613         ;;
9614       # icc used to be incompatible with GCC.
9615       # ICC 10 doesn't accept -KPIC any more.
9616       icc* | ifort*)
9617         lt_prog_compiler_wl='-Wl,'
9618         lt_prog_compiler_pic='-fPIC'
9619         lt_prog_compiler_static='-static'
9620         ;;
9621       # Lahey Fortran 8.1.
9622       lf95*)
9623         lt_prog_compiler_wl='-Wl,'
9624         lt_prog_compiler_pic='--shared'
9625         lt_prog_compiler_static='--static'
9626         ;;
9627       nagfor*)
9628         # NAG Fortran compiler
9629         lt_prog_compiler_wl='-Wl,-Wl,,'
9630         lt_prog_compiler_pic='-PIC'
9631         lt_prog_compiler_static='-Bstatic'
9632         ;;
9633       tcc*)
9634         # Fabrice Bellard et al's Tiny C Compiler
9635         lt_prog_compiler_wl='-Wl,'
9636         lt_prog_compiler_pic='-fPIC'
9637         lt_prog_compiler_static='-static'
9638         ;;
9639       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9640         # Portland Group compilers (*not* the Pentium gcc compiler,
9641         # which looks to be a dead project)
9642         lt_prog_compiler_wl='-Wl,'
9643         lt_prog_compiler_pic='-fpic'
9644         lt_prog_compiler_static='-Bstatic'
9645         ;;
9646       ccc*)
9647         lt_prog_compiler_wl='-Wl,'
9648         # All Alpha code is PIC.
9649         lt_prog_compiler_static='-non_shared'
9650         ;;
9651       xl* | bgxl* | bgf* | mpixl*)
9652         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9653         lt_prog_compiler_wl='-Wl,'
9654         lt_prog_compiler_pic='-qpic'
9655         lt_prog_compiler_static='-qstaticlink'
9656         ;;
9657       *)
9658         case `$CC -V 2>&1 | sed 5q` in
9659         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9660           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9661           lt_prog_compiler_pic='-KPIC'
9662           lt_prog_compiler_static='-Bstatic'
9663           lt_prog_compiler_wl=''
9664           ;;
9665         *Sun\ F* | *Sun*Fortran*)
9666           lt_prog_compiler_pic='-KPIC'
9667           lt_prog_compiler_static='-Bstatic'
9668           lt_prog_compiler_wl='-Qoption ld '
9669           ;;
9670         *Sun\ C*)
9671           # Sun C 5.9
9672           lt_prog_compiler_pic='-KPIC'
9673           lt_prog_compiler_static='-Bstatic'
9674           lt_prog_compiler_wl='-Wl,'
9675           ;;
9676         *Intel*\ [CF]*Compiler*)
9677           lt_prog_compiler_wl='-Wl,'
9678           lt_prog_compiler_pic='-fPIC'
9679           lt_prog_compiler_static='-static'
9680           ;;
9681         *Portland\ Group*)
9682           lt_prog_compiler_wl='-Wl,'
9683           lt_prog_compiler_pic='-fpic'
9684           lt_prog_compiler_static='-Bstatic'
9685           ;;
9686         esac
9687         ;;
9688       esac
9689       ;;
9690
9691     newsos6)
9692       lt_prog_compiler_pic='-KPIC'
9693       lt_prog_compiler_static='-Bstatic'
9694       ;;
9695
9696     *nto* | *qnx*)
9697       # QNX uses GNU C++, but need to define -shared option too, otherwise
9698       # it will coredump.
9699       lt_prog_compiler_pic='-fPIC -shared'
9700       ;;
9701
9702     osf3* | osf4* | osf5*)
9703       lt_prog_compiler_wl='-Wl,'
9704       # All OSF/1 code is PIC.
9705       lt_prog_compiler_static='-non_shared'
9706       ;;
9707
9708     rdos*)
9709       lt_prog_compiler_static='-non_shared'
9710       ;;
9711
9712     solaris*)
9713       lt_prog_compiler_pic='-KPIC'
9714       lt_prog_compiler_static='-Bstatic'
9715       case $cc_basename in
9716       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9717         lt_prog_compiler_wl='-Qoption ld ';;
9718       *)
9719         lt_prog_compiler_wl='-Wl,';;
9720       esac
9721       ;;
9722
9723     sunos4*)
9724       lt_prog_compiler_wl='-Qoption ld '
9725       lt_prog_compiler_pic='-PIC'
9726       lt_prog_compiler_static='-Bstatic'
9727       ;;
9728
9729     sysv4 | sysv4.2uw2* | sysv4.3*)
9730       lt_prog_compiler_wl='-Wl,'
9731       lt_prog_compiler_pic='-KPIC'
9732       lt_prog_compiler_static='-Bstatic'
9733       ;;
9734
9735     sysv4*MP*)
9736       if test -d /usr/nec; then
9737         lt_prog_compiler_pic='-Kconform_pic'
9738         lt_prog_compiler_static='-Bstatic'
9739       fi
9740       ;;
9741
9742     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9743       lt_prog_compiler_wl='-Wl,'
9744       lt_prog_compiler_pic='-KPIC'
9745       lt_prog_compiler_static='-Bstatic'
9746       ;;
9747
9748     unicos*)
9749       lt_prog_compiler_wl='-Wl,'
9750       lt_prog_compiler_can_build_shared=no
9751       ;;
9752
9753     uts4*)
9754       lt_prog_compiler_pic='-pic'
9755       lt_prog_compiler_static='-Bstatic'
9756       ;;
9757
9758     *)
9759       lt_prog_compiler_can_build_shared=no
9760       ;;
9761     esac
9762   fi
9763
9764 case $host_os in
9765   # For platforms that do not support PIC, -DPIC is meaningless:
9766   *djgpp*)
9767     lt_prog_compiler_pic=
9768     ;;
9769   *)
9770     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9771     ;;
9772 esac
9773
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9775 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9776 if ${lt_cv_prog_compiler_pic+:} false; then :
9777   $as_echo_n "(cached) " >&6
9778 else
9779   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9780 fi
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9782 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9783 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9784
9785 #
9786 # Check to make sure the PIC flag actually works.
9787 #
9788 if test -n "$lt_prog_compiler_pic"; then
9789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9790 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9791 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9792   $as_echo_n "(cached) " >&6
9793 else
9794   lt_cv_prog_compiler_pic_works=no
9795    ac_outfile=conftest.$ac_objext
9796    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9797    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9798    # Insert the option either (1) after the last *FLAGS variable, or
9799    # (2) before a word containing "conftest.", or (3) at the end.
9800    # Note that $ac_compile itself does not contain backslashes and begins
9801    # with a dollar sign (not a hyphen), so the echo should work correctly.
9802    # The option is referenced via a variable to avoid confusing sed.
9803    lt_compile=`echo "$ac_compile" | $SED \
9804    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9805    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9806    -e 's:$: $lt_compiler_flag:'`
9807    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9808    (eval "$lt_compile" 2>conftest.err)
9809    ac_status=$?
9810    cat conftest.err >&5
9811    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812    if (exit $ac_status) && test -s "$ac_outfile"; then
9813      # The compiler can only warn and ignore the option if not recognized
9814      # So say no if there are warnings other than the usual output.
9815      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9816      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9817      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9818        lt_cv_prog_compiler_pic_works=yes
9819      fi
9820    fi
9821    $RM conftest*
9822
9823 fi
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9825 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9826
9827 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9828     case $lt_prog_compiler_pic in
9829      "" | " "*) ;;
9830      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9831      esac
9832 else
9833     lt_prog_compiler_pic=
9834      lt_prog_compiler_can_build_shared=no
9835 fi
9836
9837 fi
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849 #
9850 # Check to make sure the static flag actually works.
9851 #
9852 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9854 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9855 if ${lt_cv_prog_compiler_static_works+:} false; then :
9856   $as_echo_n "(cached) " >&6
9857 else
9858   lt_cv_prog_compiler_static_works=no
9859    save_LDFLAGS=$LDFLAGS
9860    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9861    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9862    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9863      # The linker can only warn and ignore the option if not recognized
9864      # So say no if there are warnings
9865      if test -s conftest.err; then
9866        # Append any errors to the config.log.
9867        cat conftest.err 1>&5
9868        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9869        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9870        if diff conftest.exp conftest.er2 >/dev/null; then
9871          lt_cv_prog_compiler_static_works=yes
9872        fi
9873      else
9874        lt_cv_prog_compiler_static_works=yes
9875      fi
9876    fi
9877    $RM -r conftest*
9878    LDFLAGS=$save_LDFLAGS
9879
9880 fi
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9882 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9883
9884 if test yes = "$lt_cv_prog_compiler_static_works"; then
9885     :
9886 else
9887     lt_prog_compiler_static=
9888 fi
9889
9890
9891
9892
9893
9894
9895
9896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9897 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9898 if ${lt_cv_prog_compiler_c_o+:} false; then :
9899   $as_echo_n "(cached) " >&6
9900 else
9901   lt_cv_prog_compiler_c_o=no
9902    $RM -r conftest 2>/dev/null
9903    mkdir conftest
9904    cd conftest
9905    mkdir out
9906    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9907
9908    lt_compiler_flag="-o out/conftest2.$ac_objext"
9909    # Insert the option either (1) after the last *FLAGS variable, or
9910    # (2) before a word containing "conftest.", or (3) at the end.
9911    # Note that $ac_compile itself does not contain backslashes and begins
9912    # with a dollar sign (not a hyphen), so the echo should work correctly.
9913    lt_compile=`echo "$ac_compile" | $SED \
9914    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9915    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9916    -e 's:$: $lt_compiler_flag:'`
9917    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9918    (eval "$lt_compile" 2>out/conftest.err)
9919    ac_status=$?
9920    cat out/conftest.err >&5
9921    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9923    then
9924      # The compiler can only warn and ignore the option if not recognized
9925      # So say no if there are warnings
9926      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9927      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9928      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9929        lt_cv_prog_compiler_c_o=yes
9930      fi
9931    fi
9932    chmod u+w . 2>&5
9933    $RM conftest*
9934    # SGI C++ compiler will create directory out/ii_files/ for
9935    # template instantiation
9936    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9937    $RM out/* && rmdir out
9938    cd ..
9939    $RM -r conftest
9940    $RM conftest*
9941
9942 fi
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9944 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9945
9946
9947
9948
9949
9950
9951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9952 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9953 if ${lt_cv_prog_compiler_c_o+:} false; then :
9954   $as_echo_n "(cached) " >&6
9955 else
9956   lt_cv_prog_compiler_c_o=no
9957    $RM -r conftest 2>/dev/null
9958    mkdir conftest
9959    cd conftest
9960    mkdir out
9961    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9962
9963    lt_compiler_flag="-o out/conftest2.$ac_objext"
9964    # Insert the option either (1) after the last *FLAGS variable, or
9965    # (2) before a word containing "conftest.", or (3) at the end.
9966    # Note that $ac_compile itself does not contain backslashes and begins
9967    # with a dollar sign (not a hyphen), so the echo should work correctly.
9968    lt_compile=`echo "$ac_compile" | $SED \
9969    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9970    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9971    -e 's:$: $lt_compiler_flag:'`
9972    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9973    (eval "$lt_compile" 2>out/conftest.err)
9974    ac_status=$?
9975    cat out/conftest.err >&5
9976    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9978    then
9979      # The compiler can only warn and ignore the option if not recognized
9980      # So say no if there are warnings
9981      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9982      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9983      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9984        lt_cv_prog_compiler_c_o=yes
9985      fi
9986    fi
9987    chmod u+w . 2>&5
9988    $RM conftest*
9989    # SGI C++ compiler will create directory out/ii_files/ for
9990    # template instantiation
9991    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9992    $RM out/* && rmdir out
9993    cd ..
9994    $RM -r conftest
9995    $RM conftest*
9996
9997 fi
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9999 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10000
10001
10002
10003
10004 hard_links=nottested
10005 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10006   # do not overwrite the value of need_locks provided by the user
10007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10008 $as_echo_n "checking if we can lock with hard links... " >&6; }
10009   hard_links=yes
10010   $RM conftest*
10011   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10012   touch conftest.a
10013   ln conftest.a conftest.b 2>&5 || hard_links=no
10014   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10016 $as_echo "$hard_links" >&6; }
10017   if test no = "$hard_links"; then
10018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10019 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10020     need_locks=warn
10021   fi
10022 else
10023   need_locks=no
10024 fi
10025
10026
10027
10028
10029
10030
10031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10032 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10033
10034   runpath_var=
10035   allow_undefined_flag=
10036   always_export_symbols=no
10037   archive_cmds=
10038   archive_expsym_cmds=
10039   compiler_needs_object=no
10040   enable_shared_with_static_runtimes=no
10041   export_dynamic_flag_spec=
10042   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10043   hardcode_automatic=no
10044   hardcode_direct=no
10045   hardcode_direct_absolute=no
10046   hardcode_libdir_flag_spec=
10047   hardcode_libdir_separator=
10048   hardcode_minus_L=no
10049   hardcode_shlibpath_var=unsupported
10050   inherit_rpath=no
10051   link_all_deplibs=unknown
10052   module_cmds=
10053   module_expsym_cmds=
10054   old_archive_from_new_cmds=
10055   old_archive_from_expsyms_cmds=
10056   thread_safe_flag_spec=
10057   whole_archive_flag_spec=
10058   # include_expsyms should be a list of space-separated symbols to be *always*
10059   # included in the symbol list
10060   include_expsyms=
10061   # exclude_expsyms can be an extended regexp of symbols to exclude
10062   # it will be wrapped by ' (' and ')$', so one must not match beginning or
10063   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10064   # as well as any symbol that contains 'd'.
10065   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10066   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10067   # platforms (ab)use it in PIC code, but their linkers get confused if
10068   # the symbol is explicitly referenced.  Since portable code cannot
10069   # rely on this symbol name, it's probably fine to never include it in
10070   # preloaded symbol tables.
10071   # Exclude shared library initialization/finalization symbols.
10072   extract_expsyms_cmds=
10073
10074   case $host_os in
10075   cygwin* | mingw* | pw32* | cegcc*)
10076     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10077     # When not using gcc, we currently assume that we are using
10078     # Microsoft Visual C++.
10079     if test yes != "$GCC"; then
10080       with_gnu_ld=no
10081     fi
10082     ;;
10083   interix*)
10084     # we just hope/assume this is gcc and not c89 (= MSVC++)
10085     with_gnu_ld=yes
10086     ;;
10087   openbsd* | bitrig*)
10088     with_gnu_ld=no
10089     ;;
10090   esac
10091
10092   ld_shlibs=yes
10093
10094   # On some targets, GNU ld is compatible enough with the native linker
10095   # that we're better off using the native interface for both.
10096   lt_use_gnu_ld_interface=no
10097   if test yes = "$with_gnu_ld"; then
10098     case $host_os in
10099       aix*)
10100         # The AIX port of GNU ld has always aspired to compatibility
10101         # with the native linker.  However, as the warning in the GNU ld
10102         # block says, versions before 2.19.5* couldn't really create working
10103         # shared libraries, regardless of the interface used.
10104         case `$LD -v 2>&1` in
10105           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10106           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10107           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10108           *)
10109             lt_use_gnu_ld_interface=yes
10110             ;;
10111         esac
10112         ;;
10113       *)
10114         lt_use_gnu_ld_interface=yes
10115         ;;
10116     esac
10117   fi
10118
10119   if test yes = "$lt_use_gnu_ld_interface"; then
10120     # If archive_cmds runs LD, not CC, wlarc should be empty
10121     wlarc='$wl'
10122
10123     # Set some defaults for GNU ld with shared library support. These
10124     # are reset later if shared libraries are not supported. Putting them
10125     # here allows them to be overridden if necessary.
10126     runpath_var=LD_RUN_PATH
10127     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10128     export_dynamic_flag_spec='$wl--export-dynamic'
10129     # ancient GNU ld didn't support --whole-archive et. al.
10130     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10131       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10132     else
10133       whole_archive_flag_spec=
10134     fi
10135     supports_anon_versioning=no
10136     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10137       *GNU\ gold*) supports_anon_versioning=yes ;;
10138       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10139       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10140       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10141       *\ 2.11.*) ;; # other 2.11 versions
10142       *) supports_anon_versioning=yes ;;
10143     esac
10144
10145     # See if GNU ld supports shared libraries.
10146     case $host_os in
10147     aix[3-9]*)
10148       # On AIX/PPC, the GNU linker is very broken
10149       if test ia64 != "$host_cpu"; then
10150         ld_shlibs=no
10151         cat <<_LT_EOF 1>&2
10152
10153 *** Warning: the GNU linker, at least up to release 2.19, is reported
10154 *** to be unable to reliably create shared libraries on AIX.
10155 *** Therefore, libtool is disabling shared libraries support.  If you
10156 *** really care for shared libraries, you may want to install binutils
10157 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10158 *** You will then need to restart the configuration process.
10159
10160 _LT_EOF
10161       fi
10162       ;;
10163
10164     amigaos*)
10165       case $host_cpu in
10166       powerpc)
10167             # see comment about AmigaOS4 .so support
10168             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10169             archive_expsym_cmds=''
10170         ;;
10171       m68k)
10172             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)'
10173             hardcode_libdir_flag_spec='-L$libdir'
10174             hardcode_minus_L=yes
10175         ;;
10176       esac
10177       ;;
10178
10179     beos*)
10180       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10181         allow_undefined_flag=unsupported
10182         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10183         # support --undefined.  This deserves some investigation.  FIXME
10184         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10185       else
10186         ld_shlibs=no
10187       fi
10188       ;;
10189
10190     cygwin* | mingw* | pw32* | cegcc*)
10191       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10192       # as there is no search path for DLLs.
10193       hardcode_libdir_flag_spec='-L$libdir'
10194       export_dynamic_flag_spec='$wl--export-all-symbols'
10195       allow_undefined_flag=unsupported
10196       always_export_symbols=no
10197       enable_shared_with_static_runtimes=yes
10198       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'
10199       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10200
10201       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10202         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10203         # If the export-symbols file already is a .def file, use it as
10204         # is; otherwise, prepend EXPORTS...
10205         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10206           cp $export_symbols $output_objdir/$soname.def;
10207         else
10208           echo EXPORTS > $output_objdir/$soname.def;
10209           cat $export_symbols >> $output_objdir/$soname.def;
10210         fi~
10211         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10212       else
10213         ld_shlibs=no
10214       fi
10215       ;;
10216
10217     haiku*)
10218       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219       link_all_deplibs=yes
10220       ;;
10221
10222     interix[3-9]*)
10223       hardcode_direct=no
10224       hardcode_shlibpath_var=no
10225       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10226       export_dynamic_flag_spec='$wl-E'
10227       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10228       # Instead, shared libraries are loaded at an image base (0x10000000 by
10229       # default) and relocated if they conflict, which is a slow very memory
10230       # consuming and fragmenting process.  To avoid this, we pick a random,
10231       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10232       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10233       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10234       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'
10235       ;;
10236
10237     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10238       tmp_diet=no
10239       if test linux-dietlibc = "$host_os"; then
10240         case $cc_basename in
10241           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10242         esac
10243       fi
10244       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10245          && test no = "$tmp_diet"
10246       then
10247         tmp_addflag=' $pic_flag'
10248         tmp_sharedflag='-shared'
10249         case $cc_basename,$host_cpu in
10250         pgcc*)                          # Portland Group C compiler
10251           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'
10252           tmp_addflag=' $pic_flag'
10253           ;;
10254         pgf77* | pgf90* | pgf95* | pgfortran*)
10255                                         # Portland Group f77 and f90 compilers
10256           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'
10257           tmp_addflag=' $pic_flag -Mnomain' ;;
10258         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10259           tmp_addflag=' -i_dynamic' ;;
10260         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10261           tmp_addflag=' -i_dynamic -nofor_main' ;;
10262         ifc* | ifort*)                  # Intel Fortran compiler
10263           tmp_addflag=' -nofor_main' ;;
10264         lf95*)                          # Lahey Fortran 8.1
10265           whole_archive_flag_spec=
10266           tmp_sharedflag='--shared' ;;
10267         nagfor*)                        # NAGFOR 5.3
10268           tmp_sharedflag='-Wl,-shared' ;;
10269         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10270           tmp_sharedflag='-qmkshrobj'
10271           tmp_addflag= ;;
10272         nvcc*)  # Cuda Compiler Driver 2.2
10273           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'
10274           compiler_needs_object=yes
10275           ;;
10276         esac
10277         case `$CC -V 2>&1 | sed 5q` in
10278         *Sun\ C*)                       # Sun C 5.9
10279           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'
10280           compiler_needs_object=yes
10281           tmp_sharedflag='-G' ;;
10282         *Sun\ F*)                       # Sun Fortran 8.3
10283           tmp_sharedflag='-G' ;;
10284         esac
10285         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10286
10287         if test yes = "$supports_anon_versioning"; then
10288           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10289             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10290             echo "local: *; };" >> $output_objdir/$libname.ver~
10291             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10292         fi
10293
10294         case $cc_basename in
10295         xlf* | bgf* | bgxlf* | mpixlf*)
10296           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10297           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10298           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10299           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10300           if test yes = "$supports_anon_versioning"; then
10301             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10302               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10303               echo "local: *; };" >> $output_objdir/$libname.ver~
10304               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10305           fi
10306           ;;
10307         esac
10308       else
10309         ld_shlibs=no
10310       fi
10311       ;;
10312
10313     netbsd*)
10314       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10315         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10316         wlarc=
10317       else
10318         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10319         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10320       fi
10321       ;;
10322
10323     solaris*)
10324       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10325         ld_shlibs=no
10326         cat <<_LT_EOF 1>&2
10327
10328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10329 *** create shared libraries on Solaris systems.  Therefore, libtool
10330 *** is disabling shared libraries support.  We urge you to upgrade GNU
10331 *** binutils to release 2.9.1 or newer.  Another option is to modify
10332 *** your PATH or compiler configuration so that the native linker is
10333 *** used, and then restart.
10334
10335 _LT_EOF
10336       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10337         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10338         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10339       else
10340         ld_shlibs=no
10341       fi
10342       ;;
10343
10344     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10345       case `$LD -v 2>&1` in
10346         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10347         ld_shlibs=no
10348         cat <<_LT_EOF 1>&2
10349
10350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10351 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10352 *** is disabling shared libraries support.  We urge you to upgrade GNU
10353 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10354 *** your PATH or compiler configuration so that the native linker is
10355 *** used, and then restart.
10356
10357 _LT_EOF
10358         ;;
10359         *)
10360           # For security reasons, it is highly recommended that you always
10361           # use absolute paths for naming shared libraries, and exclude the
10362           # DT_RUNPATH tag from executables and libraries.  But doing so
10363           # requires that you compile everything twice, which is a pain.
10364           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10365             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10366             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10367             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10368           else
10369             ld_shlibs=no
10370           fi
10371         ;;
10372       esac
10373       ;;
10374
10375     sunos4*)
10376       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10377       wlarc=
10378       hardcode_direct=yes
10379       hardcode_shlibpath_var=no
10380       ;;
10381
10382     *)
10383       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10384         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10385         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10386       else
10387         ld_shlibs=no
10388       fi
10389       ;;
10390     esac
10391
10392     if test no = "$ld_shlibs"; then
10393       runpath_var=
10394       hardcode_libdir_flag_spec=
10395       export_dynamic_flag_spec=
10396       whole_archive_flag_spec=
10397     fi
10398   else
10399     # PORTME fill in a description of your system's linker (not GNU ld)
10400     case $host_os in
10401     aix3*)
10402       allow_undefined_flag=unsupported
10403       always_export_symbols=yes
10404       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'
10405       # Note: this linker hardcodes the directories in LIBPATH if there
10406       # are no directories specified by -L.
10407       hardcode_minus_L=yes
10408       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10409         # Neither direct hardcoding nor static linking is supported with a
10410         # broken collect2.
10411         hardcode_direct=unsupported
10412       fi
10413       ;;
10414
10415     aix[4-9]*)
10416       if test ia64 = "$host_cpu"; then
10417         # On IA64, the linker does run time linking by default, so we don't
10418         # have to do anything special.
10419         aix_use_runtimelinking=no
10420         exp_sym_flag='-Bexport'
10421         no_entry_flag=
10422       else
10423         # If we're using GNU nm, then we don't want the "-C" option.
10424         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10425         # Also, AIX nm treats weak defined symbols like other global
10426         # defined symbols, whereas GNU nm marks them as "W".
10427         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10428           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'
10429         else
10430           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'
10431         fi
10432         aix_use_runtimelinking=no
10433
10434         # Test if we are trying to use run time linking or normal
10435         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10436         # need to do runtime linking.
10437         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10438           for ld_flag in $LDFLAGS; do
10439           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10440             aix_use_runtimelinking=yes
10441             break
10442           fi
10443           done
10444           ;;
10445         esac
10446
10447         exp_sym_flag='-bexport'
10448         no_entry_flag='-bnoentry'
10449       fi
10450
10451       # When large executables or shared objects are built, AIX ld can
10452       # have problems creating the table of contents.  If linking a library
10453       # or program results in "error TOC overflow" add -mminimal-toc to
10454       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10455       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10456
10457       archive_cmds=''
10458       hardcode_direct=yes
10459       hardcode_direct_absolute=yes
10460       hardcode_libdir_separator=':'
10461       link_all_deplibs=yes
10462       file_list_spec='$wl-f,'
10463
10464       if test yes = "$GCC"; then
10465         case $host_os in aix4.[012]|aix4.[012].*)
10466         # We only want to do this on AIX 4.2 and lower, the check
10467         # below for broken collect2 doesn't work under 4.3+
10468           collect2name=`$CC -print-prog-name=collect2`
10469           if test -f "$collect2name" &&
10470            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10471           then
10472           # We have reworked collect2
10473           :
10474           else
10475           # We have old collect2
10476           hardcode_direct=unsupported
10477           # It fails to find uninstalled libraries when the uninstalled
10478           # path is not listed in the libpath.  Setting hardcode_minus_L
10479           # to unsupported forces relinking
10480           hardcode_minus_L=yes
10481           hardcode_libdir_flag_spec='-L$libdir'
10482           hardcode_libdir_separator=
10483           fi
10484           ;;
10485         esac
10486         shared_flag='-shared'
10487         if test yes = "$aix_use_runtimelinking"; then
10488           shared_flag="$shared_flag "'$wl-G'
10489         fi
10490       else
10491         # not using gcc
10492         if test ia64 = "$host_cpu"; then
10493         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10494         # chokes on -Wl,-G. The following line is correct:
10495           shared_flag='-G'
10496         else
10497           if test yes = "$aix_use_runtimelinking"; then
10498             shared_flag='$wl-G'
10499           else
10500             shared_flag='$wl-bM:SRE'
10501           fi
10502         fi
10503       fi
10504
10505       export_dynamic_flag_spec='$wl-bexpall'
10506       # It seems that -bexpall does not export symbols beginning with
10507       # underscore (_), so it is better to generate a list of symbols to export.
10508       always_export_symbols=yes
10509       if test yes = "$aix_use_runtimelinking"; then
10510         # Warning - without using the other runtime loading flags (-brtl),
10511         # -berok will link without error, but may produce a broken library.
10512         allow_undefined_flag='-berok'
10513         # Determine the default libpath from the value encoded in an
10514         # empty executable.
10515         if test set = "${lt_cv_aix_libpath+set}"; then
10516   aix_libpath=$lt_cv_aix_libpath
10517 else
10518   if ${lt_cv_aix_libpath_+:} false; then :
10519   $as_echo_n "(cached) " >&6
10520 else
10521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h.  */
10523
10524 int
10525 main ()
10526 {
10527
10528   ;
10529   return 0;
10530 }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533
10534   lt_aix_libpath_sed='
10535       /Import File Strings/,/^$/ {
10536           /^0/ {
10537               s/^0  *\([^ ]*\) *$/\1/
10538               p
10539           }
10540       }'
10541   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10542   # Check for a 64-bit object if we didn't find anything.
10543   if test -z "$lt_cv_aix_libpath_"; then
10544     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10545   fi
10546 fi
10547 rm -f core conftest.err conftest.$ac_objext \
10548     conftest$ac_exeext conftest.$ac_ext
10549   if test -z "$lt_cv_aix_libpath_"; then
10550     lt_cv_aix_libpath_=/usr/lib:/lib
10551   fi
10552
10553 fi
10554
10555   aix_libpath=$lt_cv_aix_libpath_
10556 fi
10557
10558         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10559         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10560       else
10561         if test ia64 = "$host_cpu"; then
10562           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10563           allow_undefined_flag="-z nodefs"
10564           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"
10565         else
10566          # Determine the default libpath from the value encoded in an
10567          # empty executable.
10568          if test set = "${lt_cv_aix_libpath+set}"; then
10569   aix_libpath=$lt_cv_aix_libpath
10570 else
10571   if ${lt_cv_aix_libpath_+:} false; then :
10572   $as_echo_n "(cached) " >&6
10573 else
10574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h.  */
10576
10577 int
10578 main ()
10579 {
10580
10581   ;
10582   return 0;
10583 }
10584 _ACEOF
10585 if ac_fn_c_try_link "$LINENO"; then :
10586
10587   lt_aix_libpath_sed='
10588       /Import File Strings/,/^$/ {
10589           /^0/ {
10590               s/^0  *\([^ ]*\) *$/\1/
10591               p
10592           }
10593       }'
10594   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10595   # Check for a 64-bit object if we didn't find anything.
10596   if test -z "$lt_cv_aix_libpath_"; then
10597     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10598   fi
10599 fi
10600 rm -f core conftest.err conftest.$ac_objext \
10601     conftest$ac_exeext conftest.$ac_ext
10602   if test -z "$lt_cv_aix_libpath_"; then
10603     lt_cv_aix_libpath_=/usr/lib:/lib
10604   fi
10605
10606 fi
10607
10608   aix_libpath=$lt_cv_aix_libpath_
10609 fi
10610
10611          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10612           # Warning - without using the other run time loading flags,
10613           # -berok will link without error, but may produce a broken library.
10614           no_undefined_flag=' $wl-bernotok'
10615           allow_undefined_flag=' $wl-berok'
10616           if test yes = "$with_gnu_ld"; then
10617             # We only use this code for GNU lds that support --whole-archive.
10618             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10619           else
10620             # Exported symbols can be pulled into shared objects from archives
10621             whole_archive_flag_spec='$convenience'
10622           fi
10623           archive_cmds_need_lc=yes
10624           # This is similar to how AIX traditionally builds its shared libraries.
10625           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'
10626         fi
10627       fi
10628       ;;
10629
10630     amigaos*)
10631       case $host_cpu in
10632       powerpc)
10633             # see comment about AmigaOS4 .so support
10634             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10635             archive_expsym_cmds=''
10636         ;;
10637       m68k)
10638             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)'
10639             hardcode_libdir_flag_spec='-L$libdir'
10640             hardcode_minus_L=yes
10641         ;;
10642       esac
10643       ;;
10644
10645     bsdi[45]*)
10646       export_dynamic_flag_spec=-rdynamic
10647       ;;
10648
10649     cygwin* | mingw* | pw32* | cegcc*)
10650       # When not using gcc, we currently assume that we are using
10651       # Microsoft Visual C++.
10652       # hardcode_libdir_flag_spec is actually meaningless, as there is
10653       # no search path for DLLs.
10654       case $cc_basename in
10655       cl*)
10656         # Native MSVC
10657         hardcode_libdir_flag_spec=' '
10658         allow_undefined_flag=unsupported
10659         always_export_symbols=yes
10660         file_list_spec='@'
10661         # Tell ltmain to make .lib files, not .a files.
10662         libext=lib
10663         # Tell ltmain to make .dll files, not .so files.
10664         shrext_cmds=.dll
10665         # FIXME: Setting linknames here is a bad hack.
10666         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10667         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10668             cp "$export_symbols" "$output_objdir/$soname.def";
10669             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10670           else
10671             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10672           fi~
10673           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10674           linknames='
10675         # The linker will not automatically build a static lib if we build a DLL.
10676         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10677         enable_shared_with_static_runtimes=yes
10678         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10679         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10680         # Don't use ranlib
10681         old_postinstall_cmds='chmod 644 $oldlib'
10682         postlink_cmds='lt_outputfile="@OUTPUT@"~
10683           lt_tool_outputfile="@TOOL_OUTPUT@"~
10684           case $lt_outputfile in
10685             *.exe|*.EXE) ;;
10686             *)
10687               lt_outputfile=$lt_outputfile.exe
10688               lt_tool_outputfile=$lt_tool_outputfile.exe
10689               ;;
10690           esac~
10691           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10692             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10693             $RM "$lt_outputfile.manifest";
10694           fi'
10695         ;;
10696       *)
10697         # Assume MSVC wrapper
10698         hardcode_libdir_flag_spec=' '
10699         allow_undefined_flag=unsupported
10700         # Tell ltmain to make .lib files, not .a files.
10701         libext=lib
10702         # Tell ltmain to make .dll files, not .so files.
10703         shrext_cmds=.dll
10704         # FIXME: Setting linknames here is a bad hack.
10705         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10706         # The linker will automatically build a .lib file if we build a DLL.
10707         old_archive_from_new_cmds='true'
10708         # FIXME: Should let the user specify the lib program.
10709         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10710         enable_shared_with_static_runtimes=yes
10711         ;;
10712       esac
10713       ;;
10714
10715     darwin* | rhapsody*)
10716
10717
10718   archive_cmds_need_lc=no
10719   hardcode_direct=no
10720   hardcode_automatic=yes
10721   hardcode_shlibpath_var=unsupported
10722   if test yes = "$lt_cv_ld_force_load"; then
10723     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\"`'
10724
10725   else
10726     whole_archive_flag_spec=''
10727   fi
10728   link_all_deplibs=yes
10729   allow_undefined_flag=$_lt_dar_allow_undefined
10730   case $cc_basename in
10731      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10732      *) _lt_dar_can_shared=$GCC ;;
10733   esac
10734   if test yes = "$_lt_dar_can_shared"; then
10735     output_verbose_link_cmd=func_echo_all
10736     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10737     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10738     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"
10739     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"
10740
10741   else
10742   ld_shlibs=no
10743   fi
10744
10745       ;;
10746
10747     dgux*)
10748       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10749       hardcode_libdir_flag_spec='-L$libdir'
10750       hardcode_shlibpath_var=no
10751       ;;
10752
10753     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10754     # support.  Future versions do this automatically, but an explicit c++rt0.o
10755     # does not break anything, and helps significantly (at the cost of a little
10756     # extra space).
10757     freebsd2.2*)
10758       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10759       hardcode_libdir_flag_spec='-R$libdir'
10760       hardcode_direct=yes
10761       hardcode_shlibpath_var=no
10762       ;;
10763
10764     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10765     freebsd2.*)
10766       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10767       hardcode_direct=yes
10768       hardcode_minus_L=yes
10769       hardcode_shlibpath_var=no
10770       ;;
10771
10772     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10773     freebsd* | dragonfly*)
10774       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10775       hardcode_libdir_flag_spec='-R$libdir'
10776       hardcode_direct=yes
10777       hardcode_shlibpath_var=no
10778       ;;
10779
10780     hpux9*)
10781       if test yes = "$GCC"; then
10782         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10783       else
10784         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10785       fi
10786       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10787       hardcode_libdir_separator=:
10788       hardcode_direct=yes
10789
10790       # hardcode_minus_L: Not really in the search PATH,
10791       # but as the default location of the library.
10792       hardcode_minus_L=yes
10793       export_dynamic_flag_spec='$wl-E'
10794       ;;
10795
10796     hpux10*)
10797       if test yes,no = "$GCC,$with_gnu_ld"; then
10798         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10799       else
10800         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10801       fi
10802       if test no = "$with_gnu_ld"; then
10803         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10804         hardcode_libdir_separator=:
10805         hardcode_direct=yes
10806         hardcode_direct_absolute=yes
10807         export_dynamic_flag_spec='$wl-E'
10808         # hardcode_minus_L: Not really in the search PATH,
10809         # but as the default location of the library.
10810         hardcode_minus_L=yes
10811       fi
10812       ;;
10813
10814     hpux11*)
10815       if test yes,no = "$GCC,$with_gnu_ld"; then
10816         case $host_cpu in
10817         hppa*64*)
10818           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10819           ;;
10820         ia64*)
10821           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10822           ;;
10823         *)
10824           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10825           ;;
10826         esac
10827       else
10828         case $host_cpu in
10829         hppa*64*)
10830           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10831           ;;
10832         ia64*)
10833           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10834           ;;
10835         *)
10836
10837           # Older versions of the 11.00 compiler do not understand -b yet
10838           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10839           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10840 $as_echo_n "checking if $CC understands -b... " >&6; }
10841 if ${lt_cv_prog_compiler__b+:} false; then :
10842   $as_echo_n "(cached) " >&6
10843 else
10844   lt_cv_prog_compiler__b=no
10845    save_LDFLAGS=$LDFLAGS
10846    LDFLAGS="$LDFLAGS -b"
10847    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10848    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10849      # The linker can only warn and ignore the option if not recognized
10850      # So say no if there are warnings
10851      if test -s conftest.err; then
10852        # Append any errors to the config.log.
10853        cat conftest.err 1>&5
10854        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10855        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10856        if diff conftest.exp conftest.er2 >/dev/null; then
10857          lt_cv_prog_compiler__b=yes
10858        fi
10859      else
10860        lt_cv_prog_compiler__b=yes
10861      fi
10862    fi
10863    $RM -r conftest*
10864    LDFLAGS=$save_LDFLAGS
10865
10866 fi
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10868 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10869
10870 if test yes = "$lt_cv_prog_compiler__b"; then
10871     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10872 else
10873     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10874 fi
10875
10876           ;;
10877         esac
10878       fi
10879       if test no = "$with_gnu_ld"; then
10880         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10881         hardcode_libdir_separator=:
10882
10883         case $host_cpu in
10884         hppa*64*|ia64*)
10885           hardcode_direct=no
10886           hardcode_shlibpath_var=no
10887           ;;
10888         *)
10889           hardcode_direct=yes
10890           hardcode_direct_absolute=yes
10891           export_dynamic_flag_spec='$wl-E'
10892
10893           # hardcode_minus_L: Not really in the search PATH,
10894           # but as the default location of the library.
10895           hardcode_minus_L=yes
10896           ;;
10897         esac
10898       fi
10899       ;;
10900
10901     irix5* | irix6* | nonstopux*)
10902       if test yes = "$GCC"; then
10903         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'
10904         # Try to use the -exported_symbol ld option, if it does not
10905         # work, assume that -exports_file does not work either and
10906         # implicitly export all symbols.
10907         # This should be the same for all languages, so no per-tag cache variable.
10908         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10909 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10910 if ${lt_cv_irix_exported_symbol+:} false; then :
10911   $as_echo_n "(cached) " >&6
10912 else
10913   save_LDFLAGS=$LDFLAGS
10914            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10915            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h.  */
10917 int foo (void) { return 0; }
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"; then :
10920   lt_cv_irix_exported_symbol=yes
10921 else
10922   lt_cv_irix_exported_symbol=no
10923 fi
10924 rm -f core conftest.err conftest.$ac_objext \
10925     conftest$ac_exeext conftest.$ac_ext
10926            LDFLAGS=$save_LDFLAGS
10927 fi
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10929 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10930         if test yes = "$lt_cv_irix_exported_symbol"; then
10931           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'
10932         fi
10933       else
10934         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'
10935         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'
10936       fi
10937       archive_cmds_need_lc='no'
10938       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10939       hardcode_libdir_separator=:
10940       inherit_rpath=yes
10941       link_all_deplibs=yes
10942       ;;
10943
10944     netbsd*)
10945       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10946         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10947       else
10948         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10949       fi
10950       hardcode_libdir_flag_spec='-R$libdir'
10951       hardcode_direct=yes
10952       hardcode_shlibpath_var=no
10953       ;;
10954
10955     newsos6)
10956       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10957       hardcode_direct=yes
10958       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10959       hardcode_libdir_separator=:
10960       hardcode_shlibpath_var=no
10961       ;;
10962
10963     *nto* | *qnx*)
10964       ;;
10965
10966     openbsd* | bitrig*)
10967       if test -f /usr/libexec/ld.so; then
10968         hardcode_direct=yes
10969         hardcode_shlibpath_var=no
10970         hardcode_direct_absolute=yes
10971         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10972           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10973           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10974           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10975           export_dynamic_flag_spec='$wl-E'
10976         else
10977           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10978           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10979         fi
10980       else
10981         ld_shlibs=no
10982       fi
10983       ;;
10984
10985     os2*)
10986       hardcode_libdir_flag_spec='-L$libdir'
10987       hardcode_minus_L=yes
10988       allow_undefined_flag=unsupported
10989       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'
10990       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10991       ;;
10992
10993     osf3*)
10994       if test yes = "$GCC"; then
10995         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10996         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'
10997       else
10998         allow_undefined_flag=' -expect_unresolved \*'
10999         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'
11000       fi
11001       archive_cmds_need_lc='no'
11002       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11003       hardcode_libdir_separator=:
11004       ;;
11005
11006     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11007       if test yes = "$GCC"; then
11008         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11009         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'
11010         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11011       else
11012         allow_undefined_flag=' -expect_unresolved \*'
11013         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'
11014         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~
11015           $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'
11016
11017         # Both c and cxx compiler support -rpath directly
11018         hardcode_libdir_flag_spec='-rpath $libdir'
11019       fi
11020       archive_cmds_need_lc='no'
11021       hardcode_libdir_separator=:
11022       ;;
11023
11024     solaris*)
11025       no_undefined_flag=' -z defs'
11026       if test yes = "$GCC"; then
11027         wlarc='$wl'
11028         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11029         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11030           $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'
11031       else
11032         case `$CC -V 2>&1` in
11033         *"Compilers 5.0"*)
11034           wlarc=''
11035           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11036           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11037             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11038           ;;
11039         *)
11040           wlarc='$wl'
11041           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11042           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11043             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11044           ;;
11045         esac
11046       fi
11047       hardcode_libdir_flag_spec='-R$libdir'
11048       hardcode_shlibpath_var=no
11049       case $host_os in
11050       solaris2.[0-5] | solaris2.[0-5].*) ;;
11051       *)
11052         # The compiler driver will combine and reorder linker options,
11053         # but understands '-z linker_flag'.  GCC discards it without '$wl',
11054         # but is careful enough not to reorder.
11055         # Supported since Solaris 2.6 (maybe 2.5.1?)
11056         if test yes = "$GCC"; then
11057           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11058         else
11059           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11060         fi
11061         ;;
11062       esac
11063       link_all_deplibs=yes
11064       ;;
11065
11066     sunos4*)
11067       if test sequent = "$host_vendor"; then
11068         # Use $CC to link under sequent, because it throws in some extra .o
11069         # files that make .init and .fini sections work.
11070         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11071       else
11072         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11073       fi
11074       hardcode_libdir_flag_spec='-L$libdir'
11075       hardcode_direct=yes
11076       hardcode_minus_L=yes
11077       hardcode_shlibpath_var=no
11078       ;;
11079
11080     sysv4)
11081       case $host_vendor in
11082         sni)
11083           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11084           hardcode_direct=yes # is this really true???
11085         ;;
11086         siemens)
11087           ## LD is ld it makes a PLAMLIB
11088           ## CC just makes a GrossModule.
11089           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11090           reload_cmds='$CC -r -o $output$reload_objs'
11091           hardcode_direct=no
11092         ;;
11093         motorola)
11094           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11095           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11096         ;;
11097       esac
11098       runpath_var='LD_RUN_PATH'
11099       hardcode_shlibpath_var=no
11100       ;;
11101
11102     sysv4.3*)
11103       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11104       hardcode_shlibpath_var=no
11105       export_dynamic_flag_spec='-Bexport'
11106       ;;
11107
11108     sysv4*MP*)
11109       if test -d /usr/nec; then
11110         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11111         hardcode_shlibpath_var=no
11112         runpath_var=LD_RUN_PATH
11113         hardcode_runpath_var=yes
11114         ld_shlibs=yes
11115       fi
11116       ;;
11117
11118     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11119       no_undefined_flag='$wl-z,text'
11120       archive_cmds_need_lc=no
11121       hardcode_shlibpath_var=no
11122       runpath_var='LD_RUN_PATH'
11123
11124       if test yes = "$GCC"; then
11125         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11126         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11127       else
11128         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11130       fi
11131       ;;
11132
11133     sysv5* | sco3.2v5* | sco5v6*)
11134       # Note: We CANNOT use -z defs as we might desire, because we do not
11135       # link with -lc, and that would cause any symbols used from libc to
11136       # always be unresolved, which means just about no library would
11137       # ever link correctly.  If we're not using GNU ld we use -z text
11138       # though, which does catch some bad symbols but isn't as heavy-handed
11139       # as -z defs.
11140       no_undefined_flag='$wl-z,text'
11141       allow_undefined_flag='$wl-z,nodefs'
11142       archive_cmds_need_lc=no
11143       hardcode_shlibpath_var=no
11144       hardcode_libdir_flag_spec='$wl-R,$libdir'
11145       hardcode_libdir_separator=':'
11146       link_all_deplibs=yes
11147       export_dynamic_flag_spec='$wl-Bexport'
11148       runpath_var='LD_RUN_PATH'
11149
11150       if test yes = "$GCC"; then
11151         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11152         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11153       else
11154         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11156       fi
11157       ;;
11158
11159     uts4*)
11160       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161       hardcode_libdir_flag_spec='-L$libdir'
11162       hardcode_shlibpath_var=no
11163       ;;
11164
11165     *)
11166       ld_shlibs=no
11167       ;;
11168     esac
11169
11170     if test sni = "$host_vendor"; then
11171       case $host in
11172       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11173         export_dynamic_flag_spec='$wl-Blargedynsym'
11174         ;;
11175       esac
11176     fi
11177   fi
11178
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11180 $as_echo "$ld_shlibs" >&6; }
11181 test no = "$ld_shlibs" && can_build_shared=no
11182
11183 with_gnu_ld=$with_gnu_ld
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199 #
11200 # Do we need to explicitly link libc?
11201 #
11202 case "x$archive_cmds_need_lc" in
11203 x|xyes)
11204   # Assume -lc should be added
11205   archive_cmds_need_lc=yes
11206
11207   if test yes,yes = "$GCC,$enable_shared"; then
11208     case $archive_cmds in
11209     *'~'*)
11210       # FIXME: we may have to deal with multi-command sequences.
11211       ;;
11212     '$CC '*)
11213       # Test whether the compiler implicitly links with -lc since on some
11214       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11215       # to ld, don't add -lc before -lgcc.
11216       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11217 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11218 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11219   $as_echo_n "(cached) " >&6
11220 else
11221   $RM conftest*
11222         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11223
11224         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11225   (eval $ac_compile) 2>&5
11226   ac_status=$?
11227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11228   test $ac_status = 0; } 2>conftest.err; then
11229           soname=conftest
11230           lib=conftest
11231           libobjs=conftest.$ac_objext
11232           deplibs=
11233           wl=$lt_prog_compiler_wl
11234           pic_flag=$lt_prog_compiler_pic
11235           compiler_flags=-v
11236           linker_flags=-v
11237           verstring=
11238           output_objdir=.
11239           libname=conftest
11240           lt_save_allow_undefined_flag=$allow_undefined_flag
11241           allow_undefined_flag=
11242           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11243   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11244   ac_status=$?
11245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11246   test $ac_status = 0; }
11247           then
11248             lt_cv_archive_cmds_need_lc=no
11249           else
11250             lt_cv_archive_cmds_need_lc=yes
11251           fi
11252           allow_undefined_flag=$lt_save_allow_undefined_flag
11253         else
11254           cat conftest.err 1>&5
11255         fi
11256         $RM conftest*
11257
11258 fi
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11260 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11261       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11262       ;;
11263     esac
11264   fi
11265   ;;
11266 esac
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11420 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11421
11422 if test yes = "$GCC"; then
11423   case $host_os in
11424     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11425     *) lt_awk_arg='/^libraries:/' ;;
11426   esac
11427   case $host_os in
11428     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11429     *) lt_sed_strip_eq='s|=/|/|g' ;;
11430   esac
11431   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11432   case $lt_search_path_spec in
11433   *\;*)
11434     # if the path contains ";" then we assume it to be the separator
11435     # otherwise default to the standard path separator (i.e. ":") - it is
11436     # assumed that no part of a normal pathname contains ";" but that should
11437     # okay in the real world where ";" in dirpaths is itself problematic.
11438     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11439     ;;
11440   *)
11441     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11442     ;;
11443   esac
11444   # Ok, now we have the path, separated by spaces, we can step through it
11445   # and add multilib dir if necessary...
11446   lt_tmp_lt_search_path_spec=
11447   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11448   # ...but if some path component already ends with the multilib dir we assume
11449   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11450   case "$lt_multi_os_dir; $lt_search_path_spec " in
11451   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11452     lt_multi_os_dir=
11453     ;;
11454   esac
11455   for lt_sys_path in $lt_search_path_spec; do
11456     if test -d "$lt_sys_path$lt_multi_os_dir"; then
11457       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11458     elif test -n "$lt_multi_os_dir"; then
11459       test -d "$lt_sys_path" && \
11460         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11461     fi
11462   done
11463   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11464 BEGIN {RS = " "; FS = "/|\n";} {
11465   lt_foo = "";
11466   lt_count = 0;
11467   for (lt_i = NF; lt_i > 0; lt_i--) {
11468     if ($lt_i != "" && $lt_i != ".") {
11469       if ($lt_i == "..") {
11470         lt_count++;
11471       } else {
11472         if (lt_count == 0) {
11473           lt_foo = "/" $lt_i lt_foo;
11474         } else {
11475           lt_count--;
11476         }
11477       }
11478     }
11479   }
11480   if (lt_foo != "") { lt_freq[lt_foo]++; }
11481   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11482 }'`
11483   # AWK program above erroneously prepends '/' to C:/dos/paths
11484   # for these hosts.
11485   case $host_os in
11486     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11487       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11488   esac
11489   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11490 else
11491   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11492 fi
11493 library_names_spec=
11494 libname_spec='lib$name'
11495 soname_spec=
11496 shrext_cmds=.so
11497 postinstall_cmds=
11498 postuninstall_cmds=
11499 finish_cmds=
11500 finish_eval=
11501 shlibpath_var=
11502 shlibpath_overrides_runpath=unknown
11503 version_type=none
11504 dynamic_linker="$host_os ld.so"
11505 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11506 need_lib_prefix=unknown
11507 hardcode_into_libs=no
11508
11509 # when you set need_version to no, make sure it does not cause -set_version
11510 # flags to be left without arguments
11511 need_version=unknown
11512
11513 case $host_os in
11514 aix3*)
11515   version_type=linux # correct to gnu/linux during the next big refactor
11516   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11517   shlibpath_var=LIBPATH
11518
11519   # AIX 3 has no versioning support, so we append a major version to the name.
11520   soname_spec='$libname$release$shared_ext$major'
11521   ;;
11522
11523 aix[4-9]*)
11524   version_type=linux # correct to gnu/linux during the next big refactor
11525   need_lib_prefix=no
11526   need_version=no
11527   hardcode_into_libs=yes
11528   if test ia64 = "$host_cpu"; then
11529     # AIX 5 supports IA64
11530     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11531     shlibpath_var=LD_LIBRARY_PATH
11532   else
11533     # With GCC up to 2.95.x, collect2 would create an import file
11534     # for dependence libraries.  The import file would start with
11535     # the line '#! .'.  This would cause the generated library to
11536     # depend on '.', always an invalid library.  This was fixed in
11537     # development snapshots of GCC prior to 3.0.
11538     case $host_os in
11539       aix4 | aix4.[01] | aix4.[01].*)
11540       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11541            echo ' yes '
11542            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11543         :
11544       else
11545         can_build_shared=no
11546       fi
11547       ;;
11548     esac
11549     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11550     # soname into executable. Probably we can add versioning support to
11551     # collect2, so additional links can be useful in future.
11552     if test yes = "$aix_use_runtimelinking"; then
11553       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11554       # instead of lib<name>.a to let people know that these are not
11555       # typical AIX shared libraries.
11556       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11557     else
11558       # We preserve .a as extension for shared libraries through AIX4.2
11559       # and later when we are not doing run time linking.
11560       library_names_spec='$libname$release.a $libname.a'
11561       soname_spec='$libname$release$shared_ext$major'
11562     fi
11563     shlibpath_var=LIBPATH
11564   fi
11565   ;;
11566
11567 amigaos*)
11568   case $host_cpu in
11569   powerpc)
11570     # Since July 2007 AmigaOS4 officially supports .so libraries.
11571     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11572     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11573     ;;
11574   m68k)
11575     library_names_spec='$libname.ixlibrary $libname.a'
11576     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11577     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11578     ;;
11579   esac
11580   ;;
11581
11582 beos*)
11583   library_names_spec='$libname$shared_ext'
11584   dynamic_linker="$host_os ld.so"
11585   shlibpath_var=LIBRARY_PATH
11586   ;;
11587
11588 bsdi[45]*)
11589   version_type=linux # correct to gnu/linux during the next big refactor
11590   need_version=no
11591   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11592   soname_spec='$libname$release$shared_ext$major'
11593   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11594   shlibpath_var=LD_LIBRARY_PATH
11595   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11596   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11597   # the default ld.so.conf also contains /usr/contrib/lib and
11598   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11599   # libtool to hard-code these into programs
11600   ;;
11601
11602 cygwin* | mingw* | pw32* | cegcc*)
11603   version_type=windows
11604   shrext_cmds=.dll
11605   need_version=no
11606   need_lib_prefix=no
11607
11608   case $GCC,$cc_basename in
11609   yes,*)
11610     # gcc
11611     library_names_spec='$libname.dll.a'
11612     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11613     postinstall_cmds='base_file=`basename \$file`~
11614       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11615       dldir=$destdir/`dirname \$dlpath`~
11616       test -d \$dldir || mkdir -p \$dldir~
11617       $install_prog $dir/$dlname \$dldir/$dlname~
11618       chmod a+x \$dldir/$dlname~
11619       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11620         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11621       fi'
11622     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11623       dlpath=$dir/\$dldll~
11624        $RM \$dlpath'
11625     shlibpath_overrides_runpath=yes
11626
11627     case $host_os in
11628     cygwin*)
11629       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11630       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11631
11632       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11633       ;;
11634     mingw* | cegcc*)
11635       # MinGW DLLs use traditional 'lib' prefix
11636       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11637       ;;
11638     pw32*)
11639       # pw32 DLLs use 'pw' prefix rather than 'lib'
11640       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11641       ;;
11642     esac
11643     dynamic_linker='Win32 ld.exe'
11644     ;;
11645
11646   *,cl*)
11647     # Native MSVC
11648     libname_spec='$name'
11649     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11650     library_names_spec='$libname.dll.lib'
11651
11652     case $build_os in
11653     mingw*)
11654       sys_lib_search_path_spec=
11655       lt_save_ifs=$IFS
11656       IFS=';'
11657       for lt_path in $LIB
11658       do
11659         IFS=$lt_save_ifs
11660         # Let DOS variable expansion print the short 8.3 style file name.
11661         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11662         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11663       done
11664       IFS=$lt_save_ifs
11665       # Convert to MSYS style.
11666       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11667       ;;
11668     cygwin*)
11669       # Convert to unix form, then to dos form, then back to unix form
11670       # but this time dos style (no spaces!) so that the unix form looks
11671       # like /cygdrive/c/PROGRA~1:/cygdr...
11672       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11673       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11674       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11675       ;;
11676     *)
11677       sys_lib_search_path_spec=$LIB
11678       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11679         # It is most probably a Windows format PATH.
11680         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11681       else
11682         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11683       fi
11684       # FIXME: find the short name or the path components, as spaces are
11685       # common. (e.g. "Program Files" -> "PROGRA~1")
11686       ;;
11687     esac
11688
11689     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11690     postinstall_cmds='base_file=`basename \$file`~
11691       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11692       dldir=$destdir/`dirname \$dlpath`~
11693       test -d \$dldir || mkdir -p \$dldir~
11694       $install_prog $dir/$dlname \$dldir/$dlname'
11695     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11696       dlpath=$dir/\$dldll~
11697        $RM \$dlpath'
11698     shlibpath_overrides_runpath=yes
11699     dynamic_linker='Win32 link.exe'
11700     ;;
11701
11702   *)
11703     # Assume MSVC wrapper
11704     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11705     dynamic_linker='Win32 ld.exe'
11706     ;;
11707   esac
11708   # FIXME: first we should search . and the directory the executable is in
11709   shlibpath_var=PATH
11710   ;;
11711
11712 darwin* | rhapsody*)
11713   dynamic_linker="$host_os dyld"
11714   version_type=darwin
11715   need_lib_prefix=no
11716   need_version=no
11717   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11718   soname_spec='$libname$release$major$shared_ext'
11719   shlibpath_overrides_runpath=yes
11720   shlibpath_var=DYLD_LIBRARY_PATH
11721   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11722
11723   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11724   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11725   ;;
11726
11727 dgux*)
11728   version_type=linux # correct to gnu/linux during the next big refactor
11729   need_lib_prefix=no
11730   need_version=no
11731   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11732   soname_spec='$libname$release$shared_ext$major'
11733   shlibpath_var=LD_LIBRARY_PATH
11734   ;;
11735
11736 freebsd* | dragonfly*)
11737   # DragonFly does not have aout.  When/if they implement a new
11738   # versioning mechanism, adjust this.
11739   if test -x /usr/bin/objformat; then
11740     objformat=`/usr/bin/objformat`
11741   else
11742     case $host_os in
11743     freebsd[23].*) objformat=aout ;;
11744     *) objformat=elf ;;
11745     esac
11746   fi
11747   version_type=freebsd-$objformat
11748   case $version_type in
11749     freebsd-elf*)
11750       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11751       need_version=no
11752       need_lib_prefix=no
11753       ;;
11754     freebsd-*)
11755       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11756       need_version=yes
11757       ;;
11758   esac
11759   shlibpath_var=LD_LIBRARY_PATH
11760   case $host_os in
11761   freebsd2.*)
11762     shlibpath_overrides_runpath=yes
11763     ;;
11764   freebsd3.[01]* | freebsdelf3.[01]*)
11765     shlibpath_overrides_runpath=yes
11766     hardcode_into_libs=yes
11767     ;;
11768   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11769   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11770     shlibpath_overrides_runpath=no
11771     hardcode_into_libs=yes
11772     ;;
11773   *) # from 4.6 on, and DragonFly
11774     shlibpath_overrides_runpath=yes
11775     hardcode_into_libs=yes
11776     ;;
11777   esac
11778   ;;
11779
11780 haiku*)
11781   version_type=linux # correct to gnu/linux during the next big refactor
11782   need_lib_prefix=no
11783   need_version=no
11784   dynamic_linker="$host_os runtime_loader"
11785   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11786   soname_spec='$libname$release$shared_ext$major'
11787   shlibpath_var=LIBRARY_PATH
11788   shlibpath_overrides_runpath=no
11789   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11790   hardcode_into_libs=yes
11791   ;;
11792
11793 hpux9* | hpux10* | hpux11*)
11794   # Give a soname corresponding to the major version so that dld.sl refuses to
11795   # link against other versions.
11796   version_type=sunos
11797   need_lib_prefix=no
11798   need_version=no
11799   case $host_cpu in
11800   ia64*)
11801     shrext_cmds='.so'
11802     hardcode_into_libs=yes
11803     dynamic_linker="$host_os dld.so"
11804     shlibpath_var=LD_LIBRARY_PATH
11805     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11806     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11807     soname_spec='$libname$release$shared_ext$major'
11808     if test 32 = "$HPUX_IA64_MODE"; then
11809       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11810     else
11811       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11812     fi
11813     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11814     ;;
11815   hppa*64*)
11816     shrext_cmds='.sl'
11817     hardcode_into_libs=yes
11818     dynamic_linker="$host_os dld.sl"
11819     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11820     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11821     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11822     soname_spec='$libname$release$shared_ext$major'
11823     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11824     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11825     ;;
11826   *)
11827     shrext_cmds='.sl'
11828     dynamic_linker="$host_os dld.sl"
11829     shlibpath_var=SHLIB_PATH
11830     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11831     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11832     soname_spec='$libname$release$shared_ext$major'
11833     ;;
11834   esac
11835   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11836   postinstall_cmds='chmod 555 $lib'
11837   # or fails outright, so override atomically:
11838   install_override_mode=555
11839   ;;
11840
11841 interix[3-9]*)
11842   version_type=linux # correct to gnu/linux during the next big refactor
11843   need_lib_prefix=no
11844   need_version=no
11845   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11846   soname_spec='$libname$release$shared_ext$major'
11847   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11848   shlibpath_var=LD_LIBRARY_PATH
11849   shlibpath_overrides_runpath=no
11850   hardcode_into_libs=yes
11851   ;;
11852
11853 irix5* | irix6* | nonstopux*)
11854   case $host_os in
11855     nonstopux*) version_type=nonstopux ;;
11856     *)
11857         if test yes = "$lt_cv_prog_gnu_ld"; then
11858                 version_type=linux # correct to gnu/linux during the next big refactor
11859         else
11860                 version_type=irix
11861         fi ;;
11862   esac
11863   need_lib_prefix=no
11864   need_version=no
11865   soname_spec='$libname$release$shared_ext$major'
11866   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11867   case $host_os in
11868   irix5* | nonstopux*)
11869     libsuff= shlibsuff=
11870     ;;
11871   *)
11872     case $LD in # libtool.m4 will add one of these switches to LD
11873     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11874       libsuff= shlibsuff= libmagic=32-bit;;
11875     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11876       libsuff=32 shlibsuff=N32 libmagic=N32;;
11877     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11878       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11879     *) libsuff= shlibsuff= libmagic=never-match;;
11880     esac
11881     ;;
11882   esac
11883   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11884   shlibpath_overrides_runpath=no
11885   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11886   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11887   hardcode_into_libs=yes
11888   ;;
11889
11890 # No shared lib support for Linux oldld, aout, or coff.
11891 linux*oldld* | linux*aout* | linux*coff*)
11892   dynamic_linker=no
11893   ;;
11894
11895 linux*android*)
11896   version_type=none # Android doesn't support versioned libraries.
11897   need_lib_prefix=no
11898   need_version=no
11899   library_names_spec='$libname$release$shared_ext'
11900   soname_spec='$libname$release$shared_ext'
11901   finish_cmds=
11902   shlibpath_var=LD_LIBRARY_PATH
11903   shlibpath_overrides_runpath=yes
11904
11905   # This implies no fast_install, which is unacceptable.
11906   # Some rework will be needed to allow for fast_install
11907   # before this can be enabled.
11908   hardcode_into_libs=yes
11909
11910   dynamic_linker='Android linker'
11911   # Don't embed -rpath directories since the linker doesn't support them.
11912   hardcode_libdir_flag_spec='-L$libdir'
11913   ;;
11914
11915 # This must be glibc/ELF.
11916 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11917   version_type=linux # correct to gnu/linux during the next big refactor
11918   need_lib_prefix=no
11919   need_version=no
11920   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11921   soname_spec='$libname$release$shared_ext$major'
11922   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11923   shlibpath_var=LD_LIBRARY_PATH
11924   shlibpath_overrides_runpath=no
11925
11926   # Some binutils ld are patched to set DT_RUNPATH
11927   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11928   $as_echo_n "(cached) " >&6
11929 else
11930   lt_cv_shlibpath_overrides_runpath=no
11931     save_LDFLAGS=$LDFLAGS
11932     save_libdir=$libdir
11933     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11934          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11935     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h.  */
11937
11938 int
11939 main ()
11940 {
11941
11942   ;
11943   return 0;
11944 }
11945 _ACEOF
11946 if ac_fn_c_try_link "$LINENO"; then :
11947   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11948   lt_cv_shlibpath_overrides_runpath=yes
11949 fi
11950 fi
11951 rm -f core conftest.err conftest.$ac_objext \
11952     conftest$ac_exeext conftest.$ac_ext
11953     LDFLAGS=$save_LDFLAGS
11954     libdir=$save_libdir
11955
11956 fi
11957
11958   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11959
11960   # This implies no fast_install, which is unacceptable.
11961   # Some rework will be needed to allow for fast_install
11962   # before this can be enabled.
11963   hardcode_into_libs=yes
11964
11965   # Add ABI-specific directories to the system library path.
11966   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11967
11968   # Append ld.so.conf contents to the search path
11969   if test -f /etc/ld.so.conf; then
11970     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' ' '`
11971     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11972
11973   fi
11974
11975   # We used to test for /lib/ld.so.1 and disable shared libraries on
11976   # powerpc, because MkLinux only supported shared libraries with the
11977   # GNU dynamic linker.  Since this was broken with cross compilers,
11978   # most powerpc-linux boxes support dynamic linking these days and
11979   # people can always --disable-shared, the test was removed, and we
11980   # assume the GNU/Linux dynamic linker is in use.
11981   dynamic_linker='GNU/Linux ld.so'
11982   ;;
11983
11984 netbsd*)
11985   version_type=sunos
11986   need_lib_prefix=no
11987   need_version=no
11988   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11989     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11990     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11991     dynamic_linker='NetBSD (a.out) ld.so'
11992   else
11993     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11994     soname_spec='$libname$release$shared_ext$major'
11995     dynamic_linker='NetBSD ld.elf_so'
11996   fi
11997   shlibpath_var=LD_LIBRARY_PATH
11998   shlibpath_overrides_runpath=yes
11999   hardcode_into_libs=yes
12000   ;;
12001
12002 newsos6)
12003   version_type=linux # correct to gnu/linux during the next big refactor
12004   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12005   shlibpath_var=LD_LIBRARY_PATH
12006   shlibpath_overrides_runpath=yes
12007   ;;
12008
12009 *nto* | *qnx*)
12010   version_type=qnx
12011   need_lib_prefix=no
12012   need_version=no
12013   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12014   soname_spec='$libname$release$shared_ext$major'
12015   shlibpath_var=LD_LIBRARY_PATH
12016   shlibpath_overrides_runpath=no
12017   hardcode_into_libs=yes
12018   dynamic_linker='ldqnx.so'
12019   ;;
12020
12021 openbsd* | bitrig*)
12022   version_type=sunos
12023   sys_lib_dlsearch_path_spec=/usr/lib
12024   need_lib_prefix=no
12025   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12026     need_version=no
12027   else
12028     need_version=yes
12029   fi
12030   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12031   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12032   shlibpath_var=LD_LIBRARY_PATH
12033   shlibpath_overrides_runpath=yes
12034   ;;
12035
12036 os2*)
12037   libname_spec='$name'
12038   shrext_cmds=.dll
12039   need_lib_prefix=no
12040   library_names_spec='$libname$shared_ext $libname.a'
12041   dynamic_linker='OS/2 ld.exe'
12042   shlibpath_var=LIBPATH
12043   ;;
12044
12045 osf3* | osf4* | osf5*)
12046   version_type=osf
12047   need_lib_prefix=no
12048   need_version=no
12049   soname_spec='$libname$release$shared_ext$major'
12050   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12051   shlibpath_var=LD_LIBRARY_PATH
12052   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12053   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12054   ;;
12055
12056 rdos*)
12057   dynamic_linker=no
12058   ;;
12059
12060 solaris*)
12061   version_type=linux # correct to gnu/linux during the next big refactor
12062   need_lib_prefix=no
12063   need_version=no
12064   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12065   soname_spec='$libname$release$shared_ext$major'
12066   shlibpath_var=LD_LIBRARY_PATH
12067   shlibpath_overrides_runpath=yes
12068   hardcode_into_libs=yes
12069   # ldd complains unless libraries are executable
12070   postinstall_cmds='chmod +x $lib'
12071   ;;
12072
12073 sunos4*)
12074   version_type=sunos
12075   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12076   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12077   shlibpath_var=LD_LIBRARY_PATH
12078   shlibpath_overrides_runpath=yes
12079   if test yes = "$with_gnu_ld"; then
12080     need_lib_prefix=no
12081   fi
12082   need_version=yes
12083   ;;
12084
12085 sysv4 | sysv4.3*)
12086   version_type=linux # correct to gnu/linux during the next big refactor
12087   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12088   soname_spec='$libname$release$shared_ext$major'
12089   shlibpath_var=LD_LIBRARY_PATH
12090   case $host_vendor in
12091     sni)
12092       shlibpath_overrides_runpath=no
12093       need_lib_prefix=no
12094       runpath_var=LD_RUN_PATH
12095       ;;
12096     siemens)
12097       need_lib_prefix=no
12098       ;;
12099     motorola)
12100       need_lib_prefix=no
12101       need_version=no
12102       shlibpath_overrides_runpath=no
12103       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12104       ;;
12105   esac
12106   ;;
12107
12108 sysv4*MP*)
12109   if test -d /usr/nec; then
12110     version_type=linux # correct to gnu/linux during the next big refactor
12111     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12112     soname_spec='$libname$shared_ext.$major'
12113     shlibpath_var=LD_LIBRARY_PATH
12114   fi
12115   ;;
12116
12117 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12118   version_type=freebsd-elf
12119   need_lib_prefix=no
12120   need_version=no
12121   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12122   soname_spec='$libname$release$shared_ext$major'
12123   shlibpath_var=LD_LIBRARY_PATH
12124   shlibpath_overrides_runpath=yes
12125   hardcode_into_libs=yes
12126   if test yes = "$with_gnu_ld"; then
12127     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12128   else
12129     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12130     case $host_os in
12131       sco3.2v5*)
12132         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12133         ;;
12134     esac
12135   fi
12136   sys_lib_dlsearch_path_spec='/usr/lib'
12137   ;;
12138
12139 tpf*)
12140   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12141   version_type=linux # correct to gnu/linux during the next big refactor
12142   need_lib_prefix=no
12143   need_version=no
12144   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12145   shlibpath_var=LD_LIBRARY_PATH
12146   shlibpath_overrides_runpath=no
12147   hardcode_into_libs=yes
12148   ;;
12149
12150 uts4*)
12151   version_type=linux # correct to gnu/linux during the next big refactor
12152   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12153   soname_spec='$libname$release$shared_ext$major'
12154   shlibpath_var=LD_LIBRARY_PATH
12155   ;;
12156
12157 *)
12158   dynamic_linker=no
12159   ;;
12160 esac
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12162 $as_echo "$dynamic_linker" >&6; }
12163 test no = "$dynamic_linker" && can_build_shared=no
12164
12165 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12166 if test yes = "$GCC"; then
12167   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12168 fi
12169
12170 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12171   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12172 fi
12173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12174   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12175 fi
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12269 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12270 hardcode_action=
12271 if test -n "$hardcode_libdir_flag_spec" ||
12272    test -n "$runpath_var" ||
12273    test yes = "$hardcode_automatic"; then
12274
12275   # We can hardcode non-existent directories.
12276   if test no != "$hardcode_direct" &&
12277      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12278      # have to relink, otherwise we might link with an installed library
12279      # when we should be linking with a yet-to-be-installed one
12280      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12281      test no != "$hardcode_minus_L"; then
12282     # Linking always hardcodes the temporary library directory.
12283     hardcode_action=relink
12284   else
12285     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12286     hardcode_action=immediate
12287   fi
12288 else
12289   # We cannot hardcode anything, or else we can only hardcode existing
12290   # directories.
12291   hardcode_action=unsupported
12292 fi
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12294 $as_echo "$hardcode_action" >&6; }
12295
12296 if test relink = "$hardcode_action" ||
12297    test yes = "$inherit_rpath"; then
12298   # Fast installation is not supported
12299   enable_fast_install=no
12300 elif test yes = "$shlibpath_overrides_runpath" ||
12301      test no = "$enable_shared"; then
12302   # Fast installation is not necessary
12303   enable_fast_install=needless
12304 fi
12305
12306
12307
12308
12309
12310
12311   if test yes != "$enable_dlopen"; then
12312   enable_dlopen=unknown
12313   enable_dlopen_self=unknown
12314   enable_dlopen_self_static=unknown
12315 else
12316   lt_cv_dlopen=no
12317   lt_cv_dlopen_libs=
12318
12319   case $host_os in
12320   beos*)
12321     lt_cv_dlopen=load_add_on
12322     lt_cv_dlopen_libs=
12323     lt_cv_dlopen_self=yes
12324     ;;
12325
12326   mingw* | pw32* | cegcc*)
12327     lt_cv_dlopen=LoadLibrary
12328     lt_cv_dlopen_libs=
12329     ;;
12330
12331   cygwin*)
12332     lt_cv_dlopen=dlopen
12333     lt_cv_dlopen_libs=
12334     ;;
12335
12336   darwin*)
12337     # if libdl is installed we need to link against it
12338     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12340 if ${ac_cv_lib_dl_dlopen+:} false; then :
12341   $as_echo_n "(cached) " >&6
12342 else
12343   ac_check_lib_save_LIBS=$LIBS
12344 LIBS="-ldl  $LIBS"
12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h.  */
12347
12348 /* Override any GCC internal prototype to avoid an error.
12349    Use char because int might match the return type of a GCC
12350    builtin and then its argument prototype would still apply.  */
12351 #ifdef __cplusplus
12352 extern "C"
12353 #endif
12354 char dlopen ();
12355 int
12356 main ()
12357 {
12358 return dlopen ();
12359   ;
12360   return 0;
12361 }
12362 _ACEOF
12363 if ac_fn_c_try_link "$LINENO"; then :
12364   ac_cv_lib_dl_dlopen=yes
12365 else
12366   ac_cv_lib_dl_dlopen=no
12367 fi
12368 rm -f core conftest.err conftest.$ac_objext \
12369     conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_lib_save_LIBS
12371 fi
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12374 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12375   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12376 else
12377
12378     lt_cv_dlopen=dyld
12379     lt_cv_dlopen_libs=
12380     lt_cv_dlopen_self=yes
12381
12382 fi
12383
12384     ;;
12385
12386   tpf*)
12387     # Don't try to run any link tests for TPF.  We know it's impossible
12388     # because TPF is a cross-compiler, and we know how we open DSOs.
12389     lt_cv_dlopen=dlopen
12390     lt_cv_dlopen_libs=
12391     lt_cv_dlopen_self=no
12392     ;;
12393
12394   *)
12395     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12396 if test "x$ac_cv_func_shl_load" = xyes; then :
12397   lt_cv_dlopen=shl_load
12398 else
12399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12400 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12401 if ${ac_cv_lib_dld_shl_load+:} false; then :
12402   $as_echo_n "(cached) " >&6
12403 else
12404   ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-ldld  $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h.  */
12408
12409 /* Override any GCC internal prototype to avoid an error.
12410    Use char because int might match the return type of a GCC
12411    builtin and then its argument prototype would still apply.  */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char shl_load ();
12416 int
12417 main ()
12418 {
12419 return shl_load ();
12420   ;
12421   return 0;
12422 }
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425   ac_cv_lib_dld_shl_load=yes
12426 else
12427   ac_cv_lib_dld_shl_load=no
12428 fi
12429 rm -f core conftest.err conftest.$ac_objext \
12430     conftest$ac_exeext conftest.$ac_ext
12431 LIBS=$ac_check_lib_save_LIBS
12432 fi
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12434 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12435 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12436   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12437 else
12438   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12439 if test "x$ac_cv_func_dlopen" = xyes; then :
12440   lt_cv_dlopen=dlopen
12441 else
12442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12443 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12444 if ${ac_cv_lib_dl_dlopen+:} false; then :
12445   $as_echo_n "(cached) " >&6
12446 else
12447   ac_check_lib_save_LIBS=$LIBS
12448 LIBS="-ldl  $LIBS"
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h.  */
12451
12452 /* Override any GCC internal prototype to avoid an error.
12453    Use char because int might match the return type of a GCC
12454    builtin and then its argument prototype would still apply.  */
12455 #ifdef __cplusplus
12456 extern "C"
12457 #endif
12458 char dlopen ();
12459 int
12460 main ()
12461 {
12462 return dlopen ();
12463   ;
12464   return 0;
12465 }
12466 _ACEOF
12467 if ac_fn_c_try_link "$LINENO"; then :
12468   ac_cv_lib_dl_dlopen=yes
12469 else
12470   ac_cv_lib_dl_dlopen=no
12471 fi
12472 rm -f core conftest.err conftest.$ac_objext \
12473     conftest$ac_exeext conftest.$ac_ext
12474 LIBS=$ac_check_lib_save_LIBS
12475 fi
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12477 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12478 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12479   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12480 else
12481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12482 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12483 if ${ac_cv_lib_svld_dlopen+:} false; then :
12484   $as_echo_n "(cached) " >&6
12485 else
12486   ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lsvld  $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h.  */
12490
12491 /* Override any GCC internal prototype to avoid an error.
12492    Use char because int might match the return type of a GCC
12493    builtin and then its argument prototype would still apply.  */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char dlopen ();
12498 int
12499 main ()
12500 {
12501 return dlopen ();
12502   ;
12503   return 0;
12504 }
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507   ac_cv_lib_svld_dlopen=yes
12508 else
12509   ac_cv_lib_svld_dlopen=no
12510 fi
12511 rm -f core conftest.err conftest.$ac_objext \
12512     conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_lib_save_LIBS
12514 fi
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12516 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12517 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12518   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12519 else
12520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12521 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12522 if ${ac_cv_lib_dld_dld_link+:} false; then :
12523   $as_echo_n "(cached) " >&6
12524 else
12525   ac_check_lib_save_LIBS=$LIBS
12526 LIBS="-ldld  $LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h.  */
12529
12530 /* Override any GCC internal prototype to avoid an error.
12531    Use char because int might match the return type of a GCC
12532    builtin and then its argument prototype would still apply.  */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char dld_link ();
12537 int
12538 main ()
12539 {
12540 return dld_link ();
12541   ;
12542   return 0;
12543 }
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546   ac_cv_lib_dld_dld_link=yes
12547 else
12548   ac_cv_lib_dld_dld_link=no
12549 fi
12550 rm -f core conftest.err conftest.$ac_objext \
12551     conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_lib_save_LIBS
12553 fi
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12555 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12556 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12557   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12558 fi
12559
12560
12561 fi
12562
12563
12564 fi
12565
12566
12567 fi
12568
12569
12570 fi
12571
12572
12573 fi
12574
12575     ;;
12576   esac
12577
12578   if test no = "$lt_cv_dlopen"; then
12579     enable_dlopen=no
12580   else
12581     enable_dlopen=yes
12582   fi
12583
12584   case $lt_cv_dlopen in
12585   dlopen)
12586     save_CPPFLAGS=$CPPFLAGS
12587     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12588
12589     save_LDFLAGS=$LDFLAGS
12590     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12591
12592     save_LIBS=$LIBS
12593     LIBS="$lt_cv_dlopen_libs $LIBS"
12594
12595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12596 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12597 if ${lt_cv_dlopen_self+:} false; then :
12598   $as_echo_n "(cached) " >&6
12599 else
12600           if test yes = "$cross_compiling"; then :
12601   lt_cv_dlopen_self=cross
12602 else
12603   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12604   lt_status=$lt_dlunknown
12605   cat > conftest.$ac_ext <<_LT_EOF
12606 #line $LINENO "configure"
12607 #include "confdefs.h"
12608
12609 #if HAVE_DLFCN_H
12610 #include <dlfcn.h>
12611 #endif
12612
12613 #include <stdio.h>
12614
12615 #ifdef RTLD_GLOBAL
12616 #  define LT_DLGLOBAL           RTLD_GLOBAL
12617 #else
12618 #  ifdef DL_GLOBAL
12619 #    define LT_DLGLOBAL         DL_GLOBAL
12620 #  else
12621 #    define LT_DLGLOBAL         0
12622 #  endif
12623 #endif
12624
12625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12626    find out it does not work in some platform. */
12627 #ifndef LT_DLLAZY_OR_NOW
12628 #  ifdef RTLD_LAZY
12629 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12630 #  else
12631 #    ifdef DL_LAZY
12632 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12633 #    else
12634 #      ifdef RTLD_NOW
12635 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12636 #      else
12637 #        ifdef DL_NOW
12638 #          define LT_DLLAZY_OR_NOW      DL_NOW
12639 #        else
12640 #          define LT_DLLAZY_OR_NOW      0
12641 #        endif
12642 #      endif
12643 #    endif
12644 #  endif
12645 #endif
12646
12647 /* When -fvisbility=hidden is used, assume the code has been annotated
12648    correspondingly for the symbols needed.  */
12649 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12650 int fnord () __attribute__((visibility("default")));
12651 #endif
12652
12653 int fnord () { return 42; }
12654 int main ()
12655 {
12656   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12657   int status = $lt_dlunknown;
12658
12659   if (self)
12660     {
12661       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12662       else
12663         {
12664           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12665           else puts (dlerror ());
12666         }
12667       /* dlclose (self); */
12668     }
12669   else
12670     puts (dlerror ());
12671
12672   return status;
12673 }
12674 _LT_EOF
12675   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12676   (eval $ac_link) 2>&5
12677   ac_status=$?
12678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12679   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12680     (./conftest; exit; ) >&5 2>/dev/null
12681     lt_status=$?
12682     case x$lt_status in
12683       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12684       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12685       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12686     esac
12687   else :
12688     # compilation failed
12689     lt_cv_dlopen_self=no
12690   fi
12691 fi
12692 rm -fr conftest*
12693
12694
12695 fi
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12697 $as_echo "$lt_cv_dlopen_self" >&6; }
12698
12699     if test yes = "$lt_cv_dlopen_self"; then
12700       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12701       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12702 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12703 if ${lt_cv_dlopen_self_static+:} false; then :
12704   $as_echo_n "(cached) " >&6
12705 else
12706           if test yes = "$cross_compiling"; then :
12707   lt_cv_dlopen_self_static=cross
12708 else
12709   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12710   lt_status=$lt_dlunknown
12711   cat > conftest.$ac_ext <<_LT_EOF
12712 #line $LINENO "configure"
12713 #include "confdefs.h"
12714
12715 #if HAVE_DLFCN_H
12716 #include <dlfcn.h>
12717 #endif
12718
12719 #include <stdio.h>
12720
12721 #ifdef RTLD_GLOBAL
12722 #  define LT_DLGLOBAL           RTLD_GLOBAL
12723 #else
12724 #  ifdef DL_GLOBAL
12725 #    define LT_DLGLOBAL         DL_GLOBAL
12726 #  else
12727 #    define LT_DLGLOBAL         0
12728 #  endif
12729 #endif
12730
12731 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12732    find out it does not work in some platform. */
12733 #ifndef LT_DLLAZY_OR_NOW
12734 #  ifdef RTLD_LAZY
12735 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12736 #  else
12737 #    ifdef DL_LAZY
12738 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12739 #    else
12740 #      ifdef RTLD_NOW
12741 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12742 #      else
12743 #        ifdef DL_NOW
12744 #          define LT_DLLAZY_OR_NOW      DL_NOW
12745 #        else
12746 #          define LT_DLLAZY_OR_NOW      0
12747 #        endif
12748 #      endif
12749 #    endif
12750 #  endif
12751 #endif
12752
12753 /* When -fvisbility=hidden is used, assume the code has been annotated
12754    correspondingly for the symbols needed.  */
12755 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12756 int fnord () __attribute__((visibility("default")));
12757 #endif
12758
12759 int fnord () { return 42; }
12760 int main ()
12761 {
12762   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12763   int status = $lt_dlunknown;
12764
12765   if (self)
12766     {
12767       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12768       else
12769         {
12770           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12771           else puts (dlerror ());
12772         }
12773       /* dlclose (self); */
12774     }
12775   else
12776     puts (dlerror ());
12777
12778   return status;
12779 }
12780 _LT_EOF
12781   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12782   (eval $ac_link) 2>&5
12783   ac_status=$?
12784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12785   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12786     (./conftest; exit; ) >&5 2>/dev/null
12787     lt_status=$?
12788     case x$lt_status in
12789       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12790       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12791       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12792     esac
12793   else :
12794     # compilation failed
12795     lt_cv_dlopen_self_static=no
12796   fi
12797 fi
12798 rm -fr conftest*
12799
12800
12801 fi
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12803 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12804     fi
12805
12806     CPPFLAGS=$save_CPPFLAGS
12807     LDFLAGS=$save_LDFLAGS
12808     LIBS=$save_LIBS
12809     ;;
12810   esac
12811
12812   case $lt_cv_dlopen_self in
12813   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12814   *) enable_dlopen_self=unknown ;;
12815   esac
12816
12817   case $lt_cv_dlopen_self_static in
12818   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12819   *) enable_dlopen_self_static=unknown ;;
12820   esac
12821 fi
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839 striplib=
12840 old_striplib=
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12842 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12843 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12844   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12845   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12847 $as_echo "yes" >&6; }
12848 else
12849 # FIXME - insert some real tests, host_os isn't really good enough
12850   case $host_os in
12851   darwin*)
12852     if test -n "$STRIP"; then
12853       striplib="$STRIP -x"
12854       old_striplib="$STRIP -S"
12855       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12856 $as_echo "yes" >&6; }
12857     else
12858       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12860     fi
12861     ;;
12862   *)
12863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12865     ;;
12866   esac
12867 fi
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880   # Report what library types will actually be built
12881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12882 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12884 $as_echo "$can_build_shared" >&6; }
12885
12886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12887 $as_echo_n "checking whether to build shared libraries... " >&6; }
12888   test no = "$can_build_shared" && enable_shared=no
12889
12890   # On AIX, shared libraries and static libraries use the same namespace, and
12891   # are all built from PIC.
12892   case $host_os in
12893   aix3*)
12894     test yes = "$enable_shared" && enable_static=no
12895     if test -n "$RANLIB"; then
12896       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12897       postinstall_cmds='$RANLIB $lib'
12898     fi
12899     ;;
12900
12901   aix[4-9]*)
12902     if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
12903       test yes = "$enable_shared" && enable_static=no
12904     fi
12905     ;;
12906   esac
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12908 $as_echo "$enable_shared" >&6; }
12909
12910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12911 $as_echo_n "checking whether to build static libraries... " >&6; }
12912   # Make sure either enable_shared or enable_static is yes.
12913   test yes = "$enable_shared" || enable_static=yes
12914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12915 $as_echo "$enable_static" >&6; }
12916
12917
12918
12919
12920 fi
12921 ac_ext=c
12922 ac_cpp='$CPP $CPPFLAGS'
12923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12926
12927 CC=$lt_save_CC
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943         ac_config_commands="$ac_config_commands libtool"
12944
12945
12946
12947
12948 # Only expand once:
12949
12950
12951
12952
12953
12954 # Check whether --with-pkgconfigdir was given.
12955 if test "${with_pkgconfigdir+set}" = set; then :
12956   withval=$with_pkgconfigdir;
12957 else
12958   with_pkgconfigdir='${libdir}/pkgconfig'
12959 fi
12960
12961 pkgconfigdir=$with_pkgconfigdir
12962
12963
12964
12965
12966
12967
12968 # /***********************************************************************
12969 # // Checks for header files
12970 # ************************************************************************/
12971
12972
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12974 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12975 if ${ac_cv_header_time+:} false; then :
12976   $as_echo_n "(cached) " >&6
12977 else
12978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h.  */
12980 #include <sys/types.h>
12981 #include <sys/time.h>
12982 #include <time.h>
12983
12984 int
12985 main ()
12986 {
12987 if ((struct tm *) 0)
12988 return 0;
12989   ;
12990   return 0;
12991 }
12992 _ACEOF
12993 if ac_fn_c_try_compile "$LINENO"; then :
12994   ac_cv_header_time=yes
12995 else
12996   ac_cv_header_time=no
12997 fi
12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12999 fi
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13001 $as_echo "$ac_cv_header_time" >&6; }
13002 if test $ac_cv_header_time = yes; then
13003
13004 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
13005
13006 fi
13007
13008 for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h float.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/types.h sys/wait.h
13009 do :
13010   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13011 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13013   cat >>confdefs.h <<_ACEOF
13014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13015 _ACEOF
13016
13017 fi
13018
13019 done
13020
13021
13022 if test "X$ac_cv_header_limits_h" != Xyes; then
13023     as_fn_error $? "<limits.h> header not found" "$LINENO" 5
13024 fi
13025
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether limits.h is sane" >&5
13027 $as_echo_n "checking whether limits.h is sane... " >&6; }
13028 if ${mfx_cv_header_sane_limits_h+:} false; then :
13029   $as_echo_n "(cached) " >&6
13030 else
13031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h.  */
13033 #include <limits.h>
13034 #if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
13035 #  if defined(__APPLE__) && defined(__GNUC__)
13036 #    error "your preprocessor is broken - use compiler option -no-cpp-precomp"
13037 #  else
13038 #    include "your preprocessor is broken"
13039 #  endif
13040 #endif
13041 #define MFX_0xffff          0xffff
13042 #define MFX_0xffffffffL     4294967295ul
13043 #if !defined(CHAR_BIT) || (CHAR_BIT != 8)
13044 #  include "error CHAR_BIT"
13045 #endif
13046 #if !defined(UCHAR_MAX)
13047 #  include "error UCHAR_MAX 1"
13048 #endif
13049 #if !defined(USHRT_MAX)
13050 #  include "error USHRT_MAX 1"
13051 #endif
13052 #if !defined(UINT_MAX)
13053 #  include "error UINT_MAX 1"
13054 #endif
13055 #if !defined(ULONG_MAX)
13056 #  include "error ULONG_MAX 1"
13057 #endif
13058 #if !defined(SHRT_MAX)
13059 #  include "error SHRT_MAX 1"
13060 #endif
13061 #if !defined(INT_MAX)
13062 #  include "error INT_MAX 1"
13063 #endif
13064 #if !defined(LONG_MAX)
13065 #  include "error LONG_MAX 1"
13066 #endif
13067 #if (UCHAR_MAX < 1)
13068 #  include "error UCHAR_MAX 2"
13069 #endif
13070 #if (USHRT_MAX < 1)
13071 #  include "error USHRT_MAX 2"
13072 #endif
13073 #if (UINT_MAX < 1)
13074 #  include "error UINT_MAX 2"
13075 #endif
13076 #if (ULONG_MAX < 1)
13077 #  include "error ULONG_MAX 2"
13078 #endif
13079 #if (UCHAR_MAX < 0xff)
13080 #  include "error UCHAR_MAX 3"
13081 #endif
13082 #if (USHRT_MAX < MFX_0xffff)
13083 #  include "error USHRT_MAX 3"
13084 #endif
13085 #if (UINT_MAX < MFX_0xffff)
13086 #  include "error UINT_MAX 3"
13087 #endif
13088 #if (ULONG_MAX < MFX_0xffffffffL)
13089 #  include "error ULONG_MAX 3"
13090 #endif
13091 #if (USHRT_MAX > UINT_MAX)
13092 #  include "error USHRT_MAX vs UINT_MAX"
13093 #endif
13094 #if (UINT_MAX > ULONG_MAX)
13095 #  include "error UINT_MAX vs ULONG_MAX"
13096 #endif
13097
13098 int
13099 main ()
13100 {
13101
13102 #if (USHRT_MAX == MFX_0xffff)
13103 { typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
13104 #elif (USHRT_MAX >= MFX_0xffff)
13105 { typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
13106 #endif
13107 #if (UINT_MAX == MFX_0xffff)
13108 { typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
13109 #elif (UINT_MAX >= MFX_0xffff)
13110 { typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
13111 #endif
13112 #if (ULONG_MAX == MFX_0xffff)
13113 { typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
13114 #elif (ULONG_MAX >= MFX_0xffff)
13115 { typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
13116 #endif
13117 #if !defined(_CRAY1) /* CRAY PVP systems */
13118 #if (USHRT_MAX == MFX_0xffffffffL)
13119 { typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
13120 #elif (USHRT_MAX >= MFX_0xffffffffL)
13121 { typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
13122 #endif
13123 #endif /* _CRAY1 */
13124 #if (UINT_MAX == MFX_0xffffffffL)
13125 { typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
13126 #elif (UINT_MAX >= MFX_0xffffffffL)
13127 { typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
13128 #endif
13129 #if (ULONG_MAX == MFX_0xffffffffL)
13130 { typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
13131 #elif (ULONG_MAX >= MFX_0xffffffffL)
13132 { typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
13133 #endif
13134
13135   ;
13136   return 0;
13137 }
13138 _ACEOF
13139 if ac_fn_c_try_compile "$LINENO"; then :
13140   mfx_cv_header_sane_limits_h=yes
13141 else
13142   mfx_cv_header_sane_limits_h=no
13143 fi
13144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13145 fi
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_cv_header_sane_limits_h" >&5
13147 $as_echo "$mfx_cv_header_sane_limits_h" >&6; }
13148
13149 if test "X$mfx_cv_header_sane_limits_h" != Xyes; then
13150     as_fn_error $? "your <limits.h> header is broken - for details see config.log" "$LINENO" 5
13151 fi
13152
13153
13154 # /***********************************************************************
13155 # // Checks for typedefs and structures
13156 # ************************************************************************/
13157
13158 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13159 if test "x$ac_cv_type_off_t" = xyes; then :
13160
13161 else
13162
13163 cat >>confdefs.h <<_ACEOF
13164 #define off_t long int
13165 _ACEOF
13166
13167 fi
13168
13169 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
13170 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
13171
13172 else
13173
13174 cat >>confdefs.h <<_ACEOF
13175 #define ptrdiff_t long
13176 _ACEOF
13177
13178 fi
13179
13180 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13181 if test "x$ac_cv_type_size_t" = xyes; then :
13182
13183 else
13184
13185 cat >>confdefs.h <<_ACEOF
13186 #define size_t unsigned int
13187 _ACEOF
13188
13189 fi
13190
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
13192 $as_echo_n "checking return type of signal handlers... " >&6; }
13193 if ${ac_cv_type_signal+:} false; then :
13194   $as_echo_n "(cached) " >&6
13195 else
13196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h.  */
13198 #include <sys/types.h>
13199 #include <signal.h>
13200
13201 int
13202 main ()
13203 {
13204 return *(signal (0, 0)) (0) == 1;
13205   ;
13206   return 0;
13207 }
13208 _ACEOF
13209 if ac_fn_c_try_compile "$LINENO"; then :
13210   ac_cv_type_signal=int
13211 else
13212   ac_cv_type_signal=void
13213 fi
13214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13215 fi
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
13217 $as_echo "$ac_cv_type_signal" >&6; }
13218
13219 cat >>confdefs.h <<_ACEOF
13220 #define RETSIGTYPE $ac_cv_type_signal
13221 _ACEOF
13222
13223
13224
13225
13226 # The cast to long int works around a bug in the HP C Compiler
13227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13229 # This bug is HP SR number 8606223364.
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13231 $as_echo_n "checking size of short... " >&6; }
13232 if ${ac_cv_sizeof_short+:} false; then :
13233   $as_echo_n "(cached) " >&6
13234 else
13235   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
13236
13237 else
13238   if test "$ac_cv_type_short" = yes; then
13239      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13241 as_fn_error 77 "cannot compute sizeof (short)
13242 See \`config.log' for more details" "$LINENO" 5; }
13243    else
13244      ac_cv_sizeof_short=0
13245    fi
13246 fi
13247
13248 fi
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13250 $as_echo "$ac_cv_sizeof_short" >&6; }
13251
13252
13253
13254 cat >>confdefs.h <<_ACEOF
13255 #define SIZEOF_SHORT $ac_cv_sizeof_short
13256 _ACEOF
13257
13258
13259 # The cast to long int works around a bug in the HP C Compiler
13260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13262 # This bug is HP SR number 8606223364.
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13264 $as_echo_n "checking size of int... " >&6; }
13265 if ${ac_cv_sizeof_int+:} false; then :
13266   $as_echo_n "(cached) " >&6
13267 else
13268   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13269
13270 else
13271   if test "$ac_cv_type_int" = yes; then
13272      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13274 as_fn_error 77 "cannot compute sizeof (int)
13275 See \`config.log' for more details" "$LINENO" 5; }
13276    else
13277      ac_cv_sizeof_int=0
13278    fi
13279 fi
13280
13281 fi
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13283 $as_echo "$ac_cv_sizeof_int" >&6; }
13284
13285
13286
13287 cat >>confdefs.h <<_ACEOF
13288 #define SIZEOF_INT $ac_cv_sizeof_int
13289 _ACEOF
13290
13291
13292 # The cast to long int works around a bug in the HP C Compiler
13293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13295 # This bug is HP SR number 8606223364.
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13297 $as_echo_n "checking size of long... " >&6; }
13298 if ${ac_cv_sizeof_long+:} false; then :
13299   $as_echo_n "(cached) " >&6
13300 else
13301   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13302
13303 else
13304   if test "$ac_cv_type_long" = yes; then
13305      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13307 as_fn_error 77 "cannot compute sizeof (long)
13308 See \`config.log' for more details" "$LINENO" 5; }
13309    else
13310      ac_cv_sizeof_long=0
13311    fi
13312 fi
13313
13314 fi
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13316 $as_echo "$ac_cv_sizeof_long" >&6; }
13317
13318
13319
13320 cat >>confdefs.h <<_ACEOF
13321 #define SIZEOF_LONG $ac_cv_sizeof_long
13322 _ACEOF
13323
13324
13325
13326 # The cast to long int works around a bug in the HP C Compiler
13327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13329 # This bug is HP SR number 8606223364.
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
13331 $as_echo_n "checking size of long long... " >&6; }
13332 if ${ac_cv_sizeof_long_long+:} false; then :
13333   $as_echo_n "(cached) " >&6
13334 else
13335   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
13336
13337 else
13338   if test "$ac_cv_type_long_long" = yes; then
13339      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13341 as_fn_error 77 "cannot compute sizeof (long long)
13342 See \`config.log' for more details" "$LINENO" 5; }
13343    else
13344      ac_cv_sizeof_long_long=0
13345    fi
13346 fi
13347
13348 fi
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
13350 $as_echo "$ac_cv_sizeof_long_long" >&6; }
13351
13352
13353
13354 cat >>confdefs.h <<_ACEOF
13355 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13356 _ACEOF
13357
13358
13359 # The cast to long int works around a bug in the HP C Compiler
13360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13362 # This bug is HP SR number 8606223364.
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int16" >&5
13364 $as_echo_n "checking size of __int16... " >&6; }
13365 if ${ac_cv_sizeof___int16+:} false; then :
13366   $as_echo_n "(cached) " >&6
13367 else
13368   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int16))" "ac_cv_sizeof___int16"        "$ac_includes_default"; then :
13369
13370 else
13371   if test "$ac_cv_type___int16" = yes; then
13372      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13374 as_fn_error 77 "cannot compute sizeof (__int16)
13375 See \`config.log' for more details" "$LINENO" 5; }
13376    else
13377      ac_cv_sizeof___int16=0
13378    fi
13379 fi
13380
13381 fi
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int16" >&5
13383 $as_echo "$ac_cv_sizeof___int16" >&6; }
13384
13385
13386
13387 cat >>confdefs.h <<_ACEOF
13388 #define SIZEOF___INT16 $ac_cv_sizeof___int16
13389 _ACEOF
13390
13391
13392 # The cast to long int works around a bug in the HP C Compiler
13393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13395 # This bug is HP SR number 8606223364.
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13397 $as_echo_n "checking size of __int32... " >&6; }
13398 if ${ac_cv_sizeof___int32+:} false; then :
13399   $as_echo_n "(cached) " >&6
13400 else
13401   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32"        "$ac_includes_default"; then :
13402
13403 else
13404   if test "$ac_cv_type___int32" = yes; then
13405      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13407 as_fn_error 77 "cannot compute sizeof (__int32)
13408 See \`config.log' for more details" "$LINENO" 5; }
13409    else
13410      ac_cv_sizeof___int32=0
13411    fi
13412 fi
13413
13414 fi
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13416 $as_echo "$ac_cv_sizeof___int32" >&6; }
13417
13418
13419
13420 cat >>confdefs.h <<_ACEOF
13421 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13422 _ACEOF
13423
13424
13425 # The cast to long int works around a bug in the HP C Compiler
13426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13428 # This bug is HP SR number 8606223364.
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int64" >&5
13430 $as_echo_n "checking size of __int64... " >&6; }
13431 if ${ac_cv_sizeof___int64+:} false; then :
13432   $as_echo_n "(cached) " >&6
13433 else
13434   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int64))" "ac_cv_sizeof___int64"        "$ac_includes_default"; then :
13435
13436 else
13437   if test "$ac_cv_type___int64" = yes; then
13438      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13440 as_fn_error 77 "cannot compute sizeof (__int64)
13441 See \`config.log' for more details" "$LINENO" 5; }
13442    else
13443      ac_cv_sizeof___int64=0
13444    fi
13445 fi
13446
13447 fi
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int64" >&5
13449 $as_echo "$ac_cv_sizeof___int64" >&6; }
13450
13451
13452
13453 cat >>confdefs.h <<_ACEOF
13454 #define SIZEOF___INT64 $ac_cv_sizeof___int64
13455 _ACEOF
13456
13457
13458
13459 # The cast to long int works around a bug in the HP C Compiler
13460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13462 # This bug is HP SR number 8606223364.
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13464 $as_echo_n "checking size of void *... " >&6; }
13465 if ${ac_cv_sizeof_void_p+:} false; then :
13466   $as_echo_n "(cached) " >&6
13467 else
13468   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13469
13470 else
13471   if test "$ac_cv_type_void_p" = yes; then
13472      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13474 as_fn_error 77 "cannot compute sizeof (void *)
13475 See \`config.log' for more details" "$LINENO" 5; }
13476    else
13477      ac_cv_sizeof_void_p=0
13478    fi
13479 fi
13480
13481 fi
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13483 $as_echo "$ac_cv_sizeof_void_p" >&6; }
13484
13485
13486
13487 cat >>confdefs.h <<_ACEOF
13488 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13489 _ACEOF
13490
13491
13492 # The cast to long int works around a bug in the HP C Compiler
13493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13494 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13495 # This bug is HP SR number 8606223364.
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
13497 $as_echo_n "checking size of size_t... " >&6; }
13498 if ${ac_cv_sizeof_size_t+:} false; then :
13499   $as_echo_n "(cached) " >&6
13500 else
13501   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
13502
13503 else
13504   if test "$ac_cv_type_size_t" = yes; then
13505      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13507 as_fn_error 77 "cannot compute sizeof (size_t)
13508 See \`config.log' for more details" "$LINENO" 5; }
13509    else
13510      ac_cv_sizeof_size_t=0
13511    fi
13512 fi
13513
13514 fi
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
13516 $as_echo "$ac_cv_sizeof_size_t" >&6; }
13517
13518
13519
13520 cat >>confdefs.h <<_ACEOF
13521 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
13522 _ACEOF
13523
13524
13525 # The cast to long int works around a bug in the HP C Compiler
13526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13528 # This bug is HP SR number 8606223364.
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ptrdiff_t" >&5
13530 $as_echo_n "checking size of ptrdiff_t... " >&6; }
13531 if ${ac_cv_sizeof_ptrdiff_t+:} false; then :
13532   $as_echo_n "(cached) " >&6
13533 else
13534   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ptrdiff_t))" "ac_cv_sizeof_ptrdiff_t"        "$ac_includes_default"; then :
13535
13536 else
13537   if test "$ac_cv_type_ptrdiff_t" = yes; then
13538      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13540 as_fn_error 77 "cannot compute sizeof (ptrdiff_t)
13541 See \`config.log' for more details" "$LINENO" 5; }
13542    else
13543      ac_cv_sizeof_ptrdiff_t=0
13544    fi
13545 fi
13546
13547 fi
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ptrdiff_t" >&5
13549 $as_echo "$ac_cv_sizeof_ptrdiff_t" >&6; }
13550
13551
13552
13553 cat >>confdefs.h <<_ACEOF
13554 #define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
13555 _ACEOF
13556
13557
13558
13559
13560 # The cast to long int works around a bug in the HP C Compiler
13561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13563 # This bug is HP SR number 8606223364.
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of __int32" >&5
13565 $as_echo_n "checking size of __int32... " >&6; }
13566 if ${ac_cv_sizeof___int32+:} false; then :
13567   $as_echo_n "(cached) " >&6
13568 else
13569   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (__int32))" "ac_cv_sizeof___int32"        "$ac_includes_default"; then :
13570
13571 else
13572   if test "$ac_cv_type___int32" = yes; then
13573      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13575 as_fn_error 77 "cannot compute sizeof (__int32)
13576 See \`config.log' for more details" "$LINENO" 5; }
13577    else
13578      ac_cv_sizeof___int32=0
13579    fi
13580 fi
13581
13582 fi
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof___int32" >&5
13584 $as_echo "$ac_cv_sizeof___int32" >&6; }
13585
13586
13587
13588 cat >>confdefs.h <<_ACEOF
13589 #define SIZEOF___INT32 $ac_cv_sizeof___int32
13590 _ACEOF
13591
13592
13593 # The cast to long int works around a bug in the HP C Compiler
13594 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13595 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13596 # This bug is HP SR number 8606223364.
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
13598 $as_echo_n "checking size of intmax_t... " >&6; }
13599 if ${ac_cv_sizeof_intmax_t+:} false; then :
13600   $as_echo_n "(cached) " >&6
13601 else
13602   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t"        "$ac_includes_default"; then :
13603
13604 else
13605   if test "$ac_cv_type_intmax_t" = yes; then
13606      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13608 as_fn_error 77 "cannot compute sizeof (intmax_t)
13609 See \`config.log' for more details" "$LINENO" 5; }
13610    else
13611      ac_cv_sizeof_intmax_t=0
13612    fi
13613 fi
13614
13615 fi
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
13617 $as_echo "$ac_cv_sizeof_intmax_t" >&6; }
13618
13619
13620
13621 cat >>confdefs.h <<_ACEOF
13622 #define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
13623 _ACEOF
13624
13625
13626 # The cast to long int works around a bug in the HP C Compiler
13627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13629 # This bug is HP SR number 8606223364.
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintmax_t" >&5
13631 $as_echo_n "checking size of uintmax_t... " >&6; }
13632 if ${ac_cv_sizeof_uintmax_t+:} false; then :
13633   $as_echo_n "(cached) " >&6
13634 else
13635   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintmax_t))" "ac_cv_sizeof_uintmax_t"        "$ac_includes_default"; then :
13636
13637 else
13638   if test "$ac_cv_type_uintmax_t" = yes; then
13639      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13641 as_fn_error 77 "cannot compute sizeof (uintmax_t)
13642 See \`config.log' for more details" "$LINENO" 5; }
13643    else
13644      ac_cv_sizeof_uintmax_t=0
13645    fi
13646 fi
13647
13648 fi
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintmax_t" >&5
13650 $as_echo "$ac_cv_sizeof_uintmax_t" >&6; }
13651
13652
13653
13654 cat >>confdefs.h <<_ACEOF
13655 #define SIZEOF_UINTMAX_T $ac_cv_sizeof_uintmax_t
13656 _ACEOF
13657
13658
13659 # The cast to long int works around a bug in the HP C Compiler
13660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13662 # This bug is HP SR number 8606223364.
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intptr_t" >&5
13664 $as_echo_n "checking size of intptr_t... " >&6; }
13665 if ${ac_cv_sizeof_intptr_t+:} false; then :
13666   $as_echo_n "(cached) " >&6
13667 else
13668   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intptr_t))" "ac_cv_sizeof_intptr_t"        "$ac_includes_default"; then :
13669
13670 else
13671   if test "$ac_cv_type_intptr_t" = yes; then
13672      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13674 as_fn_error 77 "cannot compute sizeof (intptr_t)
13675 See \`config.log' for more details" "$LINENO" 5; }
13676    else
13677      ac_cv_sizeof_intptr_t=0
13678    fi
13679 fi
13680
13681 fi
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intptr_t" >&5
13683 $as_echo "$ac_cv_sizeof_intptr_t" >&6; }
13684
13685
13686
13687 cat >>confdefs.h <<_ACEOF
13688 #define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
13689 _ACEOF
13690
13691
13692 # The cast to long int works around a bug in the HP C Compiler
13693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13695 # This bug is HP SR number 8606223364.
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
13697 $as_echo_n "checking size of uintptr_t... " >&6; }
13698 if ${ac_cv_sizeof_uintptr_t+:} false; then :
13699   $as_echo_n "(cached) " >&6
13700 else
13701   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uintptr_t))" "ac_cv_sizeof_uintptr_t"        "$ac_includes_default"; then :
13702
13703 else
13704   if test "$ac_cv_type_uintptr_t" = yes; then
13705      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13707 as_fn_error 77 "cannot compute sizeof (uintptr_t)
13708 See \`config.log' for more details" "$LINENO" 5; }
13709    else
13710      ac_cv_sizeof_uintptr_t=0
13711    fi
13712 fi
13713
13714 fi
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
13716 $as_echo "$ac_cv_sizeof_uintptr_t" >&6; }
13717
13718
13719
13720 cat >>confdefs.h <<_ACEOF
13721 #define SIZEOF_UINTPTR_T $ac_cv_sizeof_uintptr_t
13722 _ACEOF
13723
13724
13725
13726 # The cast to long int works around a bug in the HP C Compiler
13727 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13728 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13729 # This bug is HP SR number 8606223364.
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
13731 $as_echo_n "checking size of float... " >&6; }
13732 if ${ac_cv_sizeof_float+:} false; then :
13733   $as_echo_n "(cached) " >&6
13734 else
13735   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
13736
13737 else
13738   if test "$ac_cv_type_float" = yes; then
13739      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13741 as_fn_error 77 "cannot compute sizeof (float)
13742 See \`config.log' for more details" "$LINENO" 5; }
13743    else
13744      ac_cv_sizeof_float=0
13745    fi
13746 fi
13747
13748 fi
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
13750 $as_echo "$ac_cv_sizeof_float" >&6; }
13751
13752
13753
13754 cat >>confdefs.h <<_ACEOF
13755 #define SIZEOF_FLOAT $ac_cv_sizeof_float
13756 _ACEOF
13757
13758
13759 # The cast to long int works around a bug in the HP C Compiler
13760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13761 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13762 # This bug is HP SR number 8606223364.
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
13764 $as_echo_n "checking size of double... " >&6; }
13765 if ${ac_cv_sizeof_double+:} false; then :
13766   $as_echo_n "(cached) " >&6
13767 else
13768   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
13769
13770 else
13771   if test "$ac_cv_type_double" = yes; then
13772      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13774 as_fn_error 77 "cannot compute sizeof (double)
13775 See \`config.log' for more details" "$LINENO" 5; }
13776    else
13777      ac_cv_sizeof_double=0
13778    fi
13779 fi
13780
13781 fi
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
13783 $as_echo "$ac_cv_sizeof_double" >&6; }
13784
13785
13786
13787 cat >>confdefs.h <<_ACEOF
13788 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
13789 _ACEOF
13790
13791
13792 # The cast to long int works around a bug in the HP C Compiler
13793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13795 # This bug is HP SR number 8606223364.
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
13797 $as_echo_n "checking size of long double... " >&6; }
13798 if ${ac_cv_sizeof_long_double+:} false; then :
13799   $as_echo_n "(cached) " >&6
13800 else
13801   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
13802
13803 else
13804   if test "$ac_cv_type_long_double" = yes; then
13805      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13807 as_fn_error 77 "cannot compute sizeof (long double)
13808 See \`config.log' for more details" "$LINENO" 5; }
13809    else
13810      ac_cv_sizeof_long_double=0
13811    fi
13812 fi
13813
13814 fi
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
13816 $as_echo "$ac_cv_sizeof_long_double" >&6; }
13817
13818
13819
13820 cat >>confdefs.h <<_ACEOF
13821 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
13822 _ACEOF
13823
13824
13825
13826 # The cast to long int works around a bug in the HP C Compiler
13827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13829 # This bug is HP SR number 8606223364.
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of dev_t" >&5
13831 $as_echo_n "checking size of dev_t... " >&6; }
13832 if ${ac_cv_sizeof_dev_t+:} false; then :
13833   $as_echo_n "(cached) " >&6
13834 else
13835   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (dev_t))" "ac_cv_sizeof_dev_t"        "$ac_includes_default"; then :
13836
13837 else
13838   if test "$ac_cv_type_dev_t" = yes; then
13839      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13841 as_fn_error 77 "cannot compute sizeof (dev_t)
13842 See \`config.log' for more details" "$LINENO" 5; }
13843    else
13844      ac_cv_sizeof_dev_t=0
13845    fi
13846 fi
13847
13848 fi
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_dev_t" >&5
13850 $as_echo "$ac_cv_sizeof_dev_t" >&6; }
13851
13852
13853
13854 cat >>confdefs.h <<_ACEOF
13855 #define SIZEOF_DEV_T $ac_cv_sizeof_dev_t
13856 _ACEOF
13857
13858
13859 # The cast to long int works around a bug in the HP C Compiler
13860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13862 # This bug is HP SR number 8606223364.
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
13864 $as_echo_n "checking size of fpos_t... " >&6; }
13865 if ${ac_cv_sizeof_fpos_t+:} false; then :
13866   $as_echo_n "(cached) " >&6
13867 else
13868   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (fpos_t))" "ac_cv_sizeof_fpos_t"        "$ac_includes_default"; then :
13869
13870 else
13871   if test "$ac_cv_type_fpos_t" = yes; then
13872      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13874 as_fn_error 77 "cannot compute sizeof (fpos_t)
13875 See \`config.log' for more details" "$LINENO" 5; }
13876    else
13877      ac_cv_sizeof_fpos_t=0
13878    fi
13879 fi
13880
13881 fi
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
13883 $as_echo "$ac_cv_sizeof_fpos_t" >&6; }
13884
13885
13886
13887 cat >>confdefs.h <<_ACEOF
13888 #define SIZEOF_FPOS_T $ac_cv_sizeof_fpos_t
13889 _ACEOF
13890
13891
13892 # The cast to long int works around a bug in the HP C Compiler
13893 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13894 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13895 # This bug is HP SR number 8606223364.
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of mode_t" >&5
13897 $as_echo_n "checking size of mode_t... " >&6; }
13898 if ${ac_cv_sizeof_mode_t+:} false; then :
13899   $as_echo_n "(cached) " >&6
13900 else
13901   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (mode_t))" "ac_cv_sizeof_mode_t"        "$ac_includes_default"; then :
13902
13903 else
13904   if test "$ac_cv_type_mode_t" = yes; then
13905      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13907 as_fn_error 77 "cannot compute sizeof (mode_t)
13908 See \`config.log' for more details" "$LINENO" 5; }
13909    else
13910      ac_cv_sizeof_mode_t=0
13911    fi
13912 fi
13913
13914 fi
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_mode_t" >&5
13916 $as_echo "$ac_cv_sizeof_mode_t" >&6; }
13917
13918
13919
13920 cat >>confdefs.h <<_ACEOF
13921 #define SIZEOF_MODE_T $ac_cv_sizeof_mode_t
13922 _ACEOF
13923
13924
13925 # The cast to long int works around a bug in the HP C Compiler
13926 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13927 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13928 # This bug is HP SR number 8606223364.
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
13930 $as_echo_n "checking size of off_t... " >&6; }
13931 if ${ac_cv_sizeof_off_t+:} false; then :
13932   $as_echo_n "(cached) " >&6
13933 else
13934   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
13935
13936 else
13937   if test "$ac_cv_type_off_t" = yes; then
13938      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13940 as_fn_error 77 "cannot compute sizeof (off_t)
13941 See \`config.log' for more details" "$LINENO" 5; }
13942    else
13943      ac_cv_sizeof_off_t=0
13944    fi
13945 fi
13946
13947 fi
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
13949 $as_echo "$ac_cv_sizeof_off_t" >&6; }
13950
13951
13952
13953 cat >>confdefs.h <<_ACEOF
13954 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13955 _ACEOF
13956
13957
13958 # The cast to long int works around a bug in the HP C Compiler
13959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13961 # This bug is HP SR number 8606223364.
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
13963 $as_echo_n "checking size of ssize_t... " >&6; }
13964 if ${ac_cv_sizeof_ssize_t+:} false; then :
13965   $as_echo_n "(cached) " >&6
13966 else
13967   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t"        "$ac_includes_default"; then :
13968
13969 else
13970   if test "$ac_cv_type_ssize_t" = yes; then
13971      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13973 as_fn_error 77 "cannot compute sizeof (ssize_t)
13974 See \`config.log' for more details" "$LINENO" 5; }
13975    else
13976      ac_cv_sizeof_ssize_t=0
13977    fi
13978 fi
13979
13980 fi
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
13982 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
13983
13984
13985
13986 cat >>confdefs.h <<_ACEOF
13987 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
13988 _ACEOF
13989
13990
13991 # The cast to long int works around a bug in the HP C Compiler
13992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13994 # This bug is HP SR number 8606223364.
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
13996 $as_echo_n "checking size of time_t... " >&6; }
13997 if ${ac_cv_sizeof_time_t+:} false; then :
13998   $as_echo_n "(cached) " >&6
13999 else
14000   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
14001
14002 else
14003   if test "$ac_cv_type_time_t" = yes; then
14004      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14006 as_fn_error 77 "cannot compute sizeof (time_t)
14007 See \`config.log' for more details" "$LINENO" 5; }
14008    else
14009      ac_cv_sizeof_time_t=0
14010    fi
14011 fi
14012
14013 fi
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
14015 $as_echo "$ac_cv_sizeof_time_t" >&6; }
14016
14017
14018
14019 cat >>confdefs.h <<_ACEOF
14020 #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
14021 _ACEOF
14022
14023
14024
14025
14026
14027 # /***********************************************************************
14028 # // Checks for library functions
14029 # ************************************************************************/
14030
14031
14032 for ac_func in access alloca atexit atoi atol chmod chown clock_getcpuclockid clock_getres clock_gettime ctime difftime fstat getenv getpagesize getrusage gettimeofday gmtime isatty localtime longjmp lstat memcmp memcpy memmove memset mkdir mktime mmap mprotect munmap qsort raise rmdir setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf
14033 do :
14034   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14036 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14037   cat >>confdefs.h <<_ACEOF
14038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14039 _ACEOF
14040
14041 fi
14042 done
14043
14044
14045
14046 if test "X$GCC" = Xyes; then
14047 case $host_os in
14048 cygwin* | mingw* | pw32*)
14049      test "X$LIBS" != "X" && LIBS="$LIBS "
14050      LIBS="${LIBS}-lwinmm" ;;
14051 esac
14052 fi
14053
14054
14055
14056 # /***********************************************************************
14057 # // Checks for assembler
14058 # ************************************************************************/
14059
14060 # Check whether --enable-asm was given.
14061 if test "${enable_asm+set}" = set; then :
14062   enableval=$enable_asm;
14063 fi
14064
14065
14066 asm_arch=
14067 asm_dir=
14068 asm_msg_amd64=no
14069 asm_msg_i386=no
14070
14071 case "$host_cpu-$ac_cv_sizeof_void_p" in
14072     amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
14073     i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
14074     *) enable_asm=no ;;
14075 esac
14076 LZO_USE_ASM_i386_src_gas=no
14077
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build assembly versions" >&5
14079 $as_echo_n "checking whether to build assembly versions... " >&6; }
14080 if test "X$enable_asm" != Xno; then
14081 mfx_compile_S='${CCAS} ${CCASFLAGS} -c conftest.S 1>&5'
14082 cat > conftest.S <<EOF
14083 #if !defined(__i386__) && !defined(__i386)
14084 #error
14085 this+is+an+error
14086 #endif
14087 #include "$ac_abs_top_srcdir/$asm_dir/lzo1x_f1.S"
14088 EOF
14089 enable_asm=no
14090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mfx_compile_S\""; } >&5
14091   (eval $mfx_compile_S) 2>&5
14092   ac_status=$?
14093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14094   test $ac_status = 0; }; then
14095     if { ac_try='test -s conftest.$ac_objext'
14096   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14097   (eval $ac_try) 2>&5
14098   ac_status=$?
14099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14100   test $ac_status = 0; }; }; then
14101         enable_asm=yes
14102         eval asm_msg_$asm_arch="'yes [$asm_dir]'"
14103         eval LZO_USE_ASM_$asm_mode=yes
14104     fi
14105 fi
14106 if test "X$enable_asm" = Xno; then
14107     echo "configure: failed program was:" >&5
14108     cat conftest.S >&5
14109 fi
14110 rm -rf conftest*
14111 fi
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_asm" >&5
14113 $as_echo "$enable_asm" >&6; }
14114
14115  if test "X$LZO_USE_ASM_i386_src_gas" != Xno; then
14116   LZO_USE_ASM_i386_src_gas_TRUE=
14117   LZO_USE_ASM_i386_src_gas_FALSE='#'
14118 else
14119   LZO_USE_ASM_i386_src_gas_TRUE='#'
14120   LZO_USE_ASM_i386_src_gas_FALSE=
14121 fi
14122
14123  if false; then
14124   LZO_USE_ASM_i386_obj_elf32_TRUE=
14125   LZO_USE_ASM_i386_obj_elf32_FALSE='#'
14126 else
14127   LZO_USE_ASM_i386_obj_elf32_TRUE='#'
14128   LZO_USE_ASM_i386_obj_elf32_FALSE=
14129 fi
14130
14131
14132
14133 # /***********************************************************************
14134 # // Write output files
14135 # ************************************************************************/
14136
14137
14138 mfx_tmp="-I$srcdir/include -I$srcdir"
14139 mfx_save_CPPFLAGS=$CPPFLAGS
14140 test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
14141
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your compiler passes the LZO conformance test" >&5
14143 $as_echo_n "checking whether your compiler passes the LZO conformance test... " >&6; }
14144
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h.  */
14147 #include <limits.h>
14148 #include <stddef.h>
14149 #define LZO_CFG_NO_CONFIG_HEADER 1
14150 #define LZO_WANT_ACC_INCD_H 1
14151 #include <lzo/lzoconf.h>
14152 #include <src/lzo_supp.h>
14153
14154 #undef  LZOCHK_ASSERT
14155 #define LZOCHK_ASSERT(expr)     LZO_COMPILE_TIME_ASSERT_HEADER(expr)
14156 #define LZO_WANT_ACC_CHK_CH 1
14157 #include <src/lzo_supp.h>
14158
14159 #undef  LZOCHK_ASSERT
14160 #define LZOCHK_ASSERT(expr)     LZO_COMPILE_TIME_ASSERT(expr)
14161 static void test_lzo_compile_time_assert(void) {
14162 #define LZO_WANT_ACC_CHK_CH 1
14163 #include <src/lzo_supp.h>
14164 }
14165
14166 #undef NDEBUG
14167 #include <assert.h>
14168 #undef  LZOCHK_ASSERT
14169 #define LZOCHK_ASSERT(expr)     assert(expr);
14170 static int test_lzo_run_time_assert(int r) {
14171 #define LZO_WANT_ACC_CHK_CH 1
14172 #include <src/lzo_supp.h>
14173 return r;
14174 }
14175
14176 int
14177 main ()
14178 {
14179
14180 test_lzo_compile_time_assert();
14181 if (test_lzo_run_time_assert(1) != 1) return 1;
14182
14183
14184   ;
14185   return 0;
14186 }
14187 _ACEOF
14188
14189 mfx_tmp=FAILED
14190 if ac_fn_c_try_compile "$LINENO"; then :
14191   mfx_tmp=yes
14192 fi
14193 rm -f core conftest.err conftest.$ac_objext
14194 rm -f conftest.$ac_ext conftest.$ac_objext
14195
14196 CPPFLAGS=$mfx_save_CPPFLAGS
14197
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mfx_tmp" >&5
14199 $as_echo "$mfx_tmp" >&6; }
14200 case x$mfx_tmp in
14201   xpassed | xyes) ;;
14202   *)
14203     { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14204 $as_echo "$as_me: " >&6;}
14205     { $as_echo "$as_me:${as_lineno-$LINENO}: Your compiler failed the LZO conformance test - for details see " >&5
14206 $as_echo "$as_me: Your compiler failed the LZO conformance test - for details see " >&6;}
14207     { $as_echo "$as_me:${as_lineno-$LINENO}: \`config.log'. Please check that log file and consider sending" >&5
14208 $as_echo "$as_me: \`config.log'. Please check that log file and consider sending" >&6;}
14209     { $as_echo "$as_me:${as_lineno-$LINENO}: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&5
14210 $as_echo "$as_me: a patch or bug-report to <${PACKAGE_BUGREPORT}>." >&6;}
14211     { $as_echo "$as_me:${as_lineno-$LINENO}: Thanks for your support." >&5
14212 $as_echo "$as_me: Thanks for your support." >&6;}
14213     { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
14214 $as_echo "$as_me: " >&6;}
14215     as_fn_error $? "LZO conformance test failed. Stop." "$LINENO" 5
14216     ;;
14217 esac
14218
14219
14220 if test -r .Conf.settings2; then
14221     . ./.Conf.settings2
14222 fi
14223
14224 my_DEFS="-DLZO_HAVE_CONFIG_H=1"
14225 if test "X$enable_asm" != Xno; then
14226     my_DEFS="$my_DEFS -DLZO_USE_ASM=1"
14227 fi
14228
14229
14230 ac_config_files="$ac_config_files Makefile lzo2.pc"
14231
14232 cat >confcache <<\_ACEOF
14233 # This file is a shell script that caches the results of configure
14234 # tests run on this system so they can be shared between configure
14235 # scripts and configure runs, see configure's option --config-cache.
14236 # It is not useful on other systems.  If it contains results you don't
14237 # want to keep, you may remove or edit it.
14238 #
14239 # config.status only pays attention to the cache file if you give it
14240 # the --recheck option to rerun configure.
14241 #
14242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14244 # following values.
14245
14246 _ACEOF
14247
14248 # The following way of writing the cache mishandles newlines in values,
14249 # but we know of no workaround that is simple, portable, and efficient.
14250 # So, we kill variables containing newlines.
14251 # Ultrix sh set writes to stderr and can't be redirected directly,
14252 # and sets the high bit in the cache file unless we assign to the vars.
14253 (
14254   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14255     eval ac_val=\$$ac_var
14256     case $ac_val in #(
14257     *${as_nl}*)
14258       case $ac_var in #(
14259       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14261       esac
14262       case $ac_var in #(
14263       _ | IFS | as_nl) ;; #(
14264       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14265       *) { eval $ac_var=; unset $ac_var;} ;;
14266       esac ;;
14267     esac
14268   done
14269
14270   (set) 2>&1 |
14271     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14272     *${as_nl}ac_space=\ *)
14273       # `set' does not quote correctly, so add quotes: double-quote
14274       # substitution turns \\\\ into \\, and sed turns \\ into \.
14275       sed -n \
14276         "s/'/'\\\\''/g;
14277           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14278       ;; #(
14279     *)
14280       # `set' quotes correctly as required by POSIX, so do not add quotes.
14281       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14282       ;;
14283     esac |
14284     sort
14285 ) |
14286   sed '
14287      /^ac_cv_env_/b end
14288      t clear
14289      :clear
14290      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14291      t end
14292      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14293      :end' >>confcache
14294 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14295   if test -w "$cache_file"; then
14296     if test "x$cache_file" != "x/dev/null"; then
14297       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14298 $as_echo "$as_me: updating cache $cache_file" >&6;}
14299       if test ! -f "$cache_file" || test -h "$cache_file"; then
14300         cat confcache >"$cache_file"
14301       else
14302         case $cache_file in #(
14303         */* | ?:*)
14304           mv -f confcache "$cache_file"$$ &&
14305           mv -f "$cache_file"$$ "$cache_file" ;; #(
14306         *)
14307           mv -f confcache "$cache_file" ;;
14308         esac
14309       fi
14310     fi
14311   else
14312     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14313 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14314   fi
14315 fi
14316 rm -f confcache
14317
14318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14319 # Let make expand exec_prefix.
14320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14321
14322 DEFS=-DHAVE_CONFIG_H
14323
14324 ac_libobjs=
14325 ac_ltlibobjs=
14326 U=
14327 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14328   # 1. Remove the extension, and $U if already installed.
14329   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14330   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14331   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14332   #    will be set to the directory where LIBOBJS objects are built.
14333   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14334   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14335 done
14336 LIBOBJS=$ac_libobjs
14337
14338 LTLIBOBJS=$ac_ltlibobjs
14339
14340
14341 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14342   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14344 fi
14345 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14346   as_fn_error $? "conditional \"AMDEP\" was never defined.
14347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14348 fi
14349 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
14350   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
14351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14352 fi
14353
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14355 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14356    if test -n "$am_sleep_pid"; then
14357      # Hide warnings about reused PIDs.
14358      wait $am_sleep_pid 2>/dev/null
14359    fi
14360    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14361 $as_echo "done" >&6; }
14362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14363   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14365 fi
14366  if test -n "$EXEEXT"; then
14367   am__EXEEXT_TRUE=
14368   am__EXEEXT_FALSE='#'
14369 else
14370   am__EXEEXT_TRUE='#'
14371   am__EXEEXT_FALSE=
14372 fi
14373
14374 if test -z "${LZO_USE_ASM_i386_src_gas_TRUE}" && test -z "${LZO_USE_ASM_i386_src_gas_FALSE}"; then
14375   as_fn_error $? "conditional \"LZO_USE_ASM_i386_src_gas\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14377 fi
14378 if test -z "${LZO_USE_ASM_i386_obj_elf32_TRUE}" && test -z "${LZO_USE_ASM_i386_obj_elf32_FALSE}"; then
14379   as_fn_error $? "conditional \"LZO_USE_ASM_i386_obj_elf32\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14381 fi
14382
14383     test "X$DEFS" = "X-DHAVE_CONFIG_H" && DEFS=
14384     test "X$DEFS" != "X" && DEFS="$DEFS "
14385     DEFS="${DEFS}${my_DEFS}"
14386
14387
14388 : "${CONFIG_STATUS=./config.status}"
14389 ac_write_fail=0
14390 ac_clean_files_save=$ac_clean_files
14391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14394 as_write_fail=0
14395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14396 #! $SHELL
14397 # Generated by $as_me.
14398 # Run this file to recreate the current configuration.
14399 # Compiler output produced by configure, useful for debugging
14400 # configure, is in config.log if it exists.
14401
14402 debug=false
14403 ac_cs_recheck=false
14404 ac_cs_silent=false
14405
14406 SHELL=\${CONFIG_SHELL-$SHELL}
14407 export SHELL
14408 _ASEOF
14409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14410 ## -------------------- ##
14411 ## M4sh Initialization. ##
14412 ## -------------------- ##
14413
14414 # Be more Bourne compatible
14415 DUALCASE=1; export DUALCASE # for MKS sh
14416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14417   emulate sh
14418   NULLCMD=:
14419   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14420   # is contrary to our usage.  Disable this feature.
14421   alias -g '${1+"$@"}'='"$@"'
14422   setopt NO_GLOB_SUBST
14423 else
14424   case `(set -o) 2>/dev/null` in #(
14425   *posix*) :
14426     set -o posix ;; #(
14427   *) :
14428      ;;
14429 esac
14430 fi
14431
14432
14433 as_nl='
14434 '
14435 export as_nl
14436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14437 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14440 # Prefer a ksh shell builtin over an external printf program on Solaris,
14441 # but without wasting forks for bash or zsh.
14442 if test -z "$BASH_VERSION$ZSH_VERSION" \
14443     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14444   as_echo='print -r --'
14445   as_echo_n='print -rn --'
14446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14447   as_echo='printf %s\n'
14448   as_echo_n='printf %s'
14449 else
14450   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14451     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14452     as_echo_n='/usr/ucb/echo -n'
14453   else
14454     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14455     as_echo_n_body='eval
14456       arg=$1;
14457       case $arg in #(
14458       *"$as_nl"*)
14459         expr "X$arg" : "X\\(.*\\)$as_nl";
14460         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14461       esac;
14462       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14463     '
14464     export as_echo_n_body
14465     as_echo_n='sh -c $as_echo_n_body as_echo'
14466   fi
14467   export as_echo_body
14468   as_echo='sh -c $as_echo_body as_echo'
14469 fi
14470
14471 # The user is always right.
14472 if test "${PATH_SEPARATOR+set}" != set; then
14473   PATH_SEPARATOR=:
14474   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14475     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14476       PATH_SEPARATOR=';'
14477   }
14478 fi
14479
14480
14481 # IFS
14482 # We need space, tab and new line, in precisely that order.  Quoting is
14483 # there to prevent editors from complaining about space-tab.
14484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14485 # splitting by setting IFS to empty value.)
14486 IFS=" ""        $as_nl"
14487
14488 # Find who we are.  Look in the path if we contain no directory separator.
14489 as_myself=
14490 case $0 in #((
14491   *[\\/]* ) as_myself=$0 ;;
14492   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14493 for as_dir in $PATH
14494 do
14495   IFS=$as_save_IFS
14496   test -z "$as_dir" && as_dir=.
14497     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14498   done
14499 IFS=$as_save_IFS
14500
14501      ;;
14502 esac
14503 # We did not find ourselves, most probably we were run as `sh COMMAND'
14504 # in which case we are not to be found in the path.
14505 if test "x$as_myself" = x; then
14506   as_myself=$0
14507 fi
14508 if test ! -f "$as_myself"; then
14509   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14510   exit 1
14511 fi
14512
14513 # Unset variables that we do not need and which cause bugs (e.g. in
14514 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14515 # suppresses any "Segmentation fault" message there.  '((' could
14516 # trigger a bug in pdksh 5.2.14.
14517 for as_var in BASH_ENV ENV MAIL MAILPATH
14518 do eval test x\${$as_var+set} = xset \
14519   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14520 done
14521 PS1='$ '
14522 PS2='> '
14523 PS4='+ '
14524
14525 # NLS nuisances.
14526 LC_ALL=C
14527 export LC_ALL
14528 LANGUAGE=C
14529 export LANGUAGE
14530
14531 # CDPATH.
14532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14533
14534
14535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14536 # ----------------------------------------
14537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14539 # script with STATUS, using 1 if that was 0.
14540 as_fn_error ()
14541 {
14542   as_status=$1; test $as_status -eq 0 && as_status=1
14543   if test "$4"; then
14544     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14545     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14546   fi
14547   $as_echo "$as_me: error: $2" >&2
14548   as_fn_exit $as_status
14549 } # as_fn_error
14550
14551
14552 # as_fn_set_status STATUS
14553 # -----------------------
14554 # Set $? to STATUS, without forking.
14555 as_fn_set_status ()
14556 {
14557   return $1
14558 } # as_fn_set_status
14559
14560 # as_fn_exit STATUS
14561 # -----------------
14562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14563 as_fn_exit ()
14564 {
14565   set +e
14566   as_fn_set_status $1
14567   exit $1
14568 } # as_fn_exit
14569
14570 # as_fn_unset VAR
14571 # ---------------
14572 # Portably unset VAR.
14573 as_fn_unset ()
14574 {
14575   { eval $1=; unset $1;}
14576 }
14577 as_unset=as_fn_unset
14578 # as_fn_append VAR VALUE
14579 # ----------------------
14580 # Append the text in VALUE to the end of the definition contained in VAR. Take
14581 # advantage of any shell optimizations that allow amortized linear growth over
14582 # repeated appends, instead of the typical quadratic growth present in naive
14583 # implementations.
14584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14585   eval 'as_fn_append ()
14586   {
14587     eval $1+=\$2
14588   }'
14589 else
14590   as_fn_append ()
14591   {
14592     eval $1=\$$1\$2
14593   }
14594 fi # as_fn_append
14595
14596 # as_fn_arith ARG...
14597 # ------------------
14598 # Perform arithmetic evaluation on the ARGs, and store the result in the
14599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14600 # must be portable across $(()) and expr.
14601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14602   eval 'as_fn_arith ()
14603   {
14604     as_val=$(( $* ))
14605   }'
14606 else
14607   as_fn_arith ()
14608   {
14609     as_val=`expr "$@" || test $? -eq 1`
14610   }
14611 fi # as_fn_arith
14612
14613
14614 if expr a : '\(a\)' >/dev/null 2>&1 &&
14615    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14616   as_expr=expr
14617 else
14618   as_expr=false
14619 fi
14620
14621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14622   as_basename=basename
14623 else
14624   as_basename=false
14625 fi
14626
14627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14628   as_dirname=dirname
14629 else
14630   as_dirname=false
14631 fi
14632
14633 as_me=`$as_basename -- "$0" ||
14634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14635          X"$0" : 'X\(//\)$' \| \
14636          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14637 $as_echo X/"$0" |
14638     sed '/^.*\/\([^/][^/]*\)\/*$/{
14639             s//\1/
14640             q
14641           }
14642           /^X\/\(\/\/\)$/{
14643             s//\1/
14644             q
14645           }
14646           /^X\/\(\/\).*/{
14647             s//\1/
14648             q
14649           }
14650           s/.*/./; q'`
14651
14652 # Avoid depending upon Character Ranges.
14653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14656 as_cr_digits='0123456789'
14657 as_cr_alnum=$as_cr_Letters$as_cr_digits
14658
14659 ECHO_C= ECHO_N= ECHO_T=
14660 case `echo -n x` in #(((((
14661 -n*)
14662   case `echo 'xy\c'` in
14663   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14664   xy)  ECHO_C='\c';;
14665   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14666        ECHO_T=' ';;
14667   esac;;
14668 *)
14669   ECHO_N='-n';;
14670 esac
14671
14672 rm -f conf$$ conf$$.exe conf$$.file
14673 if test -d conf$$.dir; then
14674   rm -f conf$$.dir/conf$$.file
14675 else
14676   rm -f conf$$.dir
14677   mkdir conf$$.dir 2>/dev/null
14678 fi
14679 if (echo >conf$$.file) 2>/dev/null; then
14680   if ln -s conf$$.file conf$$ 2>/dev/null; then
14681     as_ln_s='ln -s'
14682     # ... but there are two gotchas:
14683     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14684     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14685     # In both cases, we have to default to `cp -pR'.
14686     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14687       as_ln_s='cp -pR'
14688   elif ln conf$$.file conf$$ 2>/dev/null; then
14689     as_ln_s=ln
14690   else
14691     as_ln_s='cp -pR'
14692   fi
14693 else
14694   as_ln_s='cp -pR'
14695 fi
14696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14697 rmdir conf$$.dir 2>/dev/null
14698
14699
14700 # as_fn_mkdir_p
14701 # -------------
14702 # Create "$as_dir" as a directory, including parents if necessary.
14703 as_fn_mkdir_p ()
14704 {
14705
14706   case $as_dir in #(
14707   -*) as_dir=./$as_dir;;
14708   esac
14709   test -d "$as_dir" || eval $as_mkdir_p || {
14710     as_dirs=
14711     while :; do
14712       case $as_dir in #(
14713       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14714       *) as_qdir=$as_dir;;
14715       esac
14716       as_dirs="'$as_qdir' $as_dirs"
14717       as_dir=`$as_dirname -- "$as_dir" ||
14718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14719          X"$as_dir" : 'X\(//\)[^/]' \| \
14720          X"$as_dir" : 'X\(//\)$' \| \
14721          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14722 $as_echo X"$as_dir" |
14723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14724             s//\1/
14725             q
14726           }
14727           /^X\(\/\/\)[^/].*/{
14728             s//\1/
14729             q
14730           }
14731           /^X\(\/\/\)$/{
14732             s//\1/
14733             q
14734           }
14735           /^X\(\/\).*/{
14736             s//\1/
14737             q
14738           }
14739           s/.*/./; q'`
14740       test -d "$as_dir" && break
14741     done
14742     test -z "$as_dirs" || eval "mkdir $as_dirs"
14743   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14744
14745
14746 } # as_fn_mkdir_p
14747 if mkdir -p . 2>/dev/null; then
14748   as_mkdir_p='mkdir -p "$as_dir"'
14749 else
14750   test -d ./-p && rmdir ./-p
14751   as_mkdir_p=false
14752 fi
14753
14754
14755 # as_fn_executable_p FILE
14756 # -----------------------
14757 # Test if FILE is an executable regular file.
14758 as_fn_executable_p ()
14759 {
14760   test -f "$1" && test -x "$1"
14761 } # as_fn_executable_p
14762 as_test_x='test -x'
14763 as_executable_p=as_fn_executable_p
14764
14765 # Sed expression to map a string onto a valid CPP name.
14766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14767
14768 # Sed expression to map a string onto a valid variable name.
14769 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14770
14771
14772 exec 6>&1
14773 ## ----------------------------------- ##
14774 ## Main body of $CONFIG_STATUS script. ##
14775 ## ----------------------------------- ##
14776 _ASEOF
14777 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14778
14779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14780 # Save the log message, to keep $0 and so on meaningful, and to
14781 # report actual input values of CONFIG_FILES etc. instead of their
14782 # values after options handling.
14783 ac_log="
14784 This file was extended by LZO $as_me 2.10, which was
14785 generated by GNU Autoconf 2.69.  Invocation command line was
14786
14787   CONFIG_FILES    = $CONFIG_FILES
14788   CONFIG_HEADERS  = $CONFIG_HEADERS
14789   CONFIG_LINKS    = $CONFIG_LINKS
14790   CONFIG_COMMANDS = $CONFIG_COMMANDS
14791   $ $0 $@
14792
14793 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14794 "
14795
14796 _ACEOF
14797
14798 case $ac_config_files in *"
14799 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14800 esac
14801
14802 case $ac_config_headers in *"
14803 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14804 esac
14805
14806
14807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14808 # Files that config.status was made for.
14809 config_files="$ac_config_files"
14810 config_headers="$ac_config_headers"
14811 config_commands="$ac_config_commands"
14812
14813 _ACEOF
14814
14815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14816 ac_cs_usage="\
14817 \`$as_me' instantiates files and other configuration actions
14818 from templates according to the current configuration.  Unless the files
14819 and actions are specified as TAGs, all are instantiated by default.
14820
14821 Usage: $0 [OPTION]... [TAG]...
14822
14823   -h, --help       print this help, then exit
14824   -V, --version    print version number and configuration settings, then exit
14825       --config     print configuration, then exit
14826   -q, --quiet, --silent
14827                    do not print progress messages
14828   -d, --debug      don't remove temporary files
14829       --recheck    update $as_me by reconfiguring in the same conditions
14830       --file=FILE[:TEMPLATE]
14831                    instantiate the configuration file FILE
14832       --header=FILE[:TEMPLATE]
14833                    instantiate the configuration header FILE
14834
14835 Configuration files:
14836 $config_files
14837
14838 Configuration headers:
14839 $config_headers
14840
14841 Configuration commands:
14842 $config_commands
14843
14844 Report bugs to <markus@oberhumer.com>.
14845 LZO home page: <http://www.oberhumer.com/opensource/lzo/>."
14846
14847 _ACEOF
14848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14849 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14850 ac_cs_version="\\
14851 LZO config.status 2.10
14852 configured by $0, generated by GNU Autoconf 2.69,
14853   with options \\"\$ac_cs_config\\"
14854
14855 Copyright (C) 2012 Free Software Foundation, Inc.
14856 This config.status script is free software; the Free Software Foundation
14857 gives unlimited permission to copy, distribute and modify it."
14858
14859 ac_pwd='$ac_pwd'
14860 srcdir='$srcdir'
14861 INSTALL='$INSTALL'
14862 MKDIR_P='$MKDIR_P'
14863 AWK='$AWK'
14864 test -n "\$AWK" || AWK=awk
14865 _ACEOF
14866
14867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14868 # The default lists apply if the user does not specify any file.
14869 ac_need_defaults=:
14870 while test $# != 0
14871 do
14872   case $1 in
14873   --*=?*)
14874     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14875     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14876     ac_shift=:
14877     ;;
14878   --*=)
14879     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14880     ac_optarg=
14881     ac_shift=:
14882     ;;
14883   *)
14884     ac_option=$1
14885     ac_optarg=$2
14886     ac_shift=shift
14887     ;;
14888   esac
14889
14890   case $ac_option in
14891   # Handling of the options.
14892   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14893     ac_cs_recheck=: ;;
14894   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14895     $as_echo "$ac_cs_version"; exit ;;
14896   --config | --confi | --conf | --con | --co | --c )
14897     $as_echo "$ac_cs_config"; exit ;;
14898   --debug | --debu | --deb | --de | --d | -d )
14899     debug=: ;;
14900   --file | --fil | --fi | --f )
14901     $ac_shift
14902     case $ac_optarg in
14903     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14904     '') as_fn_error $? "missing file argument" ;;
14905     esac
14906     as_fn_append CONFIG_FILES " '$ac_optarg'"
14907     ac_need_defaults=false;;
14908   --header | --heade | --head | --hea )
14909     $ac_shift
14910     case $ac_optarg in
14911     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14912     esac
14913     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14914     ac_need_defaults=false;;
14915   --he | --h)
14916     # Conflict between --help and --header
14917     as_fn_error $? "ambiguous option: \`$1'
14918 Try \`$0 --help' for more information.";;
14919   --help | --hel | -h )
14920     $as_echo "$ac_cs_usage"; exit ;;
14921   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14922   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14923     ac_cs_silent=: ;;
14924
14925   # This is an error.
14926   -*) as_fn_error $? "unrecognized option: \`$1'
14927 Try \`$0 --help' for more information." ;;
14928
14929   *) as_fn_append ac_config_targets " $1"
14930      ac_need_defaults=false ;;
14931
14932   esac
14933   shift
14934 done
14935
14936 ac_configure_extra_args=
14937
14938 if $ac_cs_silent; then
14939   exec 6>/dev/null
14940   ac_configure_extra_args="$ac_configure_extra_args --silent"
14941 fi
14942
14943 _ACEOF
14944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14945 if \$ac_cs_recheck; then
14946   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14947   shift
14948   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14949   CONFIG_SHELL='$SHELL'
14950   export CONFIG_SHELL
14951   exec "\$@"
14952 fi
14953
14954 _ACEOF
14955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14956 exec 5>>config.log
14957 {
14958   echo
14959   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14960 ## Running $as_me. ##
14961 _ASBOX
14962   $as_echo "$ac_log"
14963 } >&5
14964
14965 _ACEOF
14966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14967 #
14968 # INIT-COMMANDS
14969 #
14970 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14971
14972
14973 # The HP-UX ksh and POSIX shell print the target directory to stdout
14974 # if CDPATH is set.
14975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14976
14977 sed_quote_subst='$sed_quote_subst'
14978 double_quote_subst='$double_quote_subst'
14979 delay_variable_subst='$delay_variable_subst'
14980 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14981 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14984 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14985 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14986 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14987 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14988 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14989 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14990 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14991 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14992 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14993 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14994 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14995 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14996 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14997 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14998 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14999 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15000 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15001 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15002 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15003 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15004 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15005 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15006 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15007 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15008 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15009 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15010 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15011 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15012 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15013 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15014 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15015 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15016 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15017 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15018 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15019 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15020 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15021 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15022 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15023 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15024 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15025 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15026 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15027 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15028 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15029 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15030 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15031 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15032 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15033 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15034 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15035 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15036 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15037 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"`'
15038 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15039 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15040 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15112
15113 LTCC='$LTCC'
15114 LTCFLAGS='$LTCFLAGS'
15115 compiler='$compiler_DEFAULT'
15116
15117 # A function that is used when there is no print builtin or printf.
15118 func_fallback_echo ()
15119 {
15120   eval 'cat <<_LTECHO_EOF
15121 \$1
15122 _LTECHO_EOF'
15123 }
15124
15125 # Quote evaled strings.
15126 for var in SHELL \
15127 ECHO \
15128 PATH_SEPARATOR \
15129 SED \
15130 GREP \
15131 EGREP \
15132 FGREP \
15133 LD \
15134 NM \
15135 LN_S \
15136 lt_SP2NL \
15137 lt_NL2SP \
15138 reload_flag \
15139 OBJDUMP \
15140 deplibs_check_method \
15141 file_magic_cmd \
15142 file_magic_glob \
15143 want_nocaseglob \
15144 DLLTOOL \
15145 sharedlib_from_linklib_cmd \
15146 AR \
15147 AR_FLAGS \
15148 archiver_list_spec \
15149 STRIP \
15150 RANLIB \
15151 CC \
15152 CFLAGS \
15153 compiler \
15154 lt_cv_sys_global_symbol_pipe \
15155 lt_cv_sys_global_symbol_to_cdecl \
15156 lt_cv_sys_global_symbol_to_import \
15157 lt_cv_sys_global_symbol_to_c_name_address \
15158 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15159 lt_cv_nm_interface \
15160 nm_file_list_spec \
15161 lt_prog_compiler_no_builtin_flag \
15162 lt_prog_compiler_pic \
15163 lt_prog_compiler_wl \
15164 lt_prog_compiler_static \
15165 lt_cv_prog_compiler_c_o \
15166 need_locks \
15167 MANIFEST_TOOL \
15168 DSYMUTIL \
15169 NMEDIT \
15170 LIPO \
15171 OTOOL \
15172 OTOOL64 \
15173 shrext_cmds \
15174 export_dynamic_flag_spec \
15175 whole_archive_flag_spec \
15176 compiler_needs_object \
15177 with_gnu_ld \
15178 allow_undefined_flag \
15179 no_undefined_flag \
15180 hardcode_libdir_flag_spec \
15181 hardcode_libdir_separator \
15182 exclude_expsyms \
15183 include_expsyms \
15184 file_list_spec \
15185 variables_saved_for_relink \
15186 libname_spec \
15187 library_names_spec \
15188 soname_spec \
15189 install_override_mode \
15190 finish_eval \
15191 old_striplib \
15192 striplib; do
15193     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15194     *[\\\\\\\`\\"\\\$]*)
15195       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15196       ;;
15197     *)
15198       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15199       ;;
15200     esac
15201 done
15202
15203 # Double-quote double-evaled strings.
15204 for var in reload_cmds \
15205 old_postinstall_cmds \
15206 old_postuninstall_cmds \
15207 old_archive_cmds \
15208 extract_expsyms_cmds \
15209 old_archive_from_new_cmds \
15210 old_archive_from_expsyms_cmds \
15211 archive_cmds \
15212 archive_expsym_cmds \
15213 module_cmds \
15214 module_expsym_cmds \
15215 export_symbols_cmds \
15216 prelink_cmds \
15217 postlink_cmds \
15218 postinstall_cmds \
15219 postuninstall_cmds \
15220 finish_cmds \
15221 sys_lib_search_path_spec \
15222 sys_lib_dlsearch_path_spec; do
15223     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15224     *[\\\\\\\`\\"\\\$]*)
15225       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15226       ;;
15227     *)
15228       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15229       ;;
15230     esac
15231 done
15232
15233 ac_aux_dir='$ac_aux_dir'
15234
15235 # See if we are running on zsh, and set the options that allow our
15236 # commands through without removal of \ escapes INIT.
15237 if test -n "\${ZSH_VERSION+set}"; then
15238    setopt NO_GLOB_SUBST
15239 fi
15240
15241
15242     PACKAGE='$PACKAGE'
15243     VERSION='$VERSION'
15244     RM='$RM'
15245     ofile='$ofile'
15246
15247
15248
15249
15250 _ACEOF
15251
15252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15253
15254 # Handling of arguments.
15255 for ac_config_target in $ac_config_targets
15256 do
15257   case $ac_config_target in
15258     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15259     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
15260     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15261     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15262     "lzo2.pc") CONFIG_FILES="$CONFIG_FILES lzo2.pc" ;;
15263
15264   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15265   esac
15266 done
15267
15268
15269 # If the user did not use the arguments to specify the items to instantiate,
15270 # then the envvar interface is used.  Set only those that are not.
15271 # We use the long form for the default assignment because of an extremely
15272 # bizarre bug on SunOS 4.1.3.
15273 if $ac_need_defaults; then
15274   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15275   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15276   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15277 fi
15278
15279 # Have a temporary directory for convenience.  Make it in the build tree
15280 # simply because there is no reason against having it here, and in addition,
15281 # creating and moving files from /tmp can sometimes cause problems.
15282 # Hook for its removal unless debugging.
15283 # Note that there is a small window in which the directory will not be cleaned:
15284 # after its creation but before its name has been assigned to `$tmp'.
15285 $debug ||
15286 {
15287   tmp= ac_tmp=
15288   trap 'exit_status=$?
15289   : "${ac_tmp:=$tmp}"
15290   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15291 ' 0
15292   trap 'as_fn_exit 1' 1 2 13 15
15293 }
15294 # Create a (secure) tmp directory for tmp files.
15295
15296 {
15297   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15298   test -d "$tmp"
15299 }  ||
15300 {
15301   tmp=./conf$$-$RANDOM
15302   (umask 077 && mkdir "$tmp")
15303 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15304 ac_tmp=$tmp
15305
15306 # Set up the scripts for CONFIG_FILES section.
15307 # No need to generate them if there are no CONFIG_FILES.
15308 # This happens for instance with `./config.status config.h'.
15309 if test -n "$CONFIG_FILES"; then
15310
15311
15312 ac_cr=`echo X | tr X '\015'`
15313 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15314 # But we know of no other shell where ac_cr would be empty at this
15315 # point, so we can use a bashism as a fallback.
15316 if test "x$ac_cr" = x; then
15317   eval ac_cr=\$\'\\r\'
15318 fi
15319 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15320 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15321   ac_cs_awk_cr='\\r'
15322 else
15323   ac_cs_awk_cr=$ac_cr
15324 fi
15325
15326 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15327 _ACEOF
15328
15329
15330 {
15331   echo "cat >conf$$subs.awk <<_ACEOF" &&
15332   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15333   echo "_ACEOF"
15334 } >conf$$subs.sh ||
15335   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15337 ac_delim='%!_!# '
15338 for ac_last_try in false false false false false :; do
15339   . ./conf$$subs.sh ||
15340     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15341
15342   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15343   if test $ac_delim_n = $ac_delim_num; then
15344     break
15345   elif $ac_last_try; then
15346     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15347   else
15348     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15349   fi
15350 done
15351 rm -f conf$$subs.sh
15352
15353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15354 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15355 _ACEOF
15356 sed -n '
15357 h
15358 s/^/S["/; s/!.*/"]=/
15359 p
15360 g
15361 s/^[^!]*!//
15362 :repl
15363 t repl
15364 s/'"$ac_delim"'$//
15365 t delim
15366 :nl
15367 h
15368 s/\(.\{148\}\)..*/\1/
15369 t more1
15370 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15371 p
15372 n
15373 b repl
15374 :more1
15375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15376 p
15377 g
15378 s/.\{148\}//
15379 t nl
15380 :delim
15381 h
15382 s/\(.\{148\}\)..*/\1/
15383 t more2
15384 s/["\\]/\\&/g; s/^/"/; s/$/"/
15385 p
15386 b
15387 :more2
15388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15389 p
15390 g
15391 s/.\{148\}//
15392 t delim
15393 ' <conf$$subs.awk | sed '
15394 /^[^""]/{
15395   N
15396   s/\n//
15397 }
15398 ' >>$CONFIG_STATUS || ac_write_fail=1
15399 rm -f conf$$subs.awk
15400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15401 _ACAWK
15402 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15403   for (key in S) S_is_set[key] = 1
15404   FS = "\a"
15405
15406 }
15407 {
15408   line = $ 0
15409   nfields = split(line, field, "@")
15410   substed = 0
15411   len = length(field[1])
15412   for (i = 2; i < nfields; i++) {
15413     key = field[i]
15414     keylen = length(key)
15415     if (S_is_set[key]) {
15416       value = S[key]
15417       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15418       len += length(value) + length(field[++i])
15419       substed = 1
15420     } else
15421       len += 1 + keylen
15422   }
15423
15424   print line
15425 }
15426
15427 _ACAWK
15428 _ACEOF
15429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15430 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15431   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15432 else
15433   cat
15434 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15435   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15436 _ACEOF
15437
15438 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15439 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15440 # trailing colons and then remove the whole line if VPATH becomes empty
15441 # (actually we leave an empty line to preserve line numbers).
15442 if test "x$srcdir" = x.; then
15443   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15444 h
15445 s///
15446 s/^/:/
15447 s/[      ]*$/:/
15448 s/:\$(srcdir):/:/g
15449 s/:\${srcdir}:/:/g
15450 s/:@srcdir@:/:/g
15451 s/^:*//
15452 s/:*$//
15453 x
15454 s/\(=[   ]*\).*/\1/
15455 G
15456 s/\n//
15457 s/^[^=]*=[       ]*$//
15458 }'
15459 fi
15460
15461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15462 fi # test -n "$CONFIG_FILES"
15463
15464 # Set up the scripts for CONFIG_HEADERS section.
15465 # No need to generate them if there are no CONFIG_HEADERS.
15466 # This happens for instance with `./config.status Makefile'.
15467 if test -n "$CONFIG_HEADERS"; then
15468 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15469 BEGIN {
15470 _ACEOF
15471
15472 # Transform confdefs.h into an awk script `defines.awk', embedded as
15473 # here-document in config.status, that substitutes the proper values into
15474 # config.h.in to produce config.h.
15475
15476 # Create a delimiter string that does not exist in confdefs.h, to ease
15477 # handling of long lines.
15478 ac_delim='%!_!# '
15479 for ac_last_try in false false :; do
15480   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15481   if test -z "$ac_tt"; then
15482     break
15483   elif $ac_last_try; then
15484     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15485   else
15486     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15487   fi
15488 done
15489
15490 # For the awk script, D is an array of macro values keyed by name,
15491 # likewise P contains macro parameters if any.  Preserve backslash
15492 # newline sequences.
15493
15494 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15495 sed -n '
15496 s/.\{148\}/&'"$ac_delim"'/g
15497 t rset
15498 :rset
15499 s/^[     ]*#[    ]*define[       ][      ]*/ /
15500 t def
15501 d
15502 :def
15503 s/\\$//
15504 t bsnl
15505 s/["\\]/\\&/g
15506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15507 D["\1"]=" \3"/p
15508 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15509 d
15510 :bsnl
15511 s/["\\]/\\&/g
15512 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15513 D["\1"]=" \3\\\\\\n"\\/p
15514 t cont
15515 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15516 t cont
15517 d
15518 :cont
15519 n
15520 s/.\{148\}/&'"$ac_delim"'/g
15521 t clear
15522 :clear
15523 s/\\$//
15524 t bsnlc
15525 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15526 d
15527 :bsnlc
15528 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15529 b cont
15530 ' <confdefs.h | sed '
15531 s/'"$ac_delim"'/"\\\
15532 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15533
15534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15535   for (key in D) D_is_set[key] = 1
15536   FS = "\a"
15537 }
15538 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15539   line = \$ 0
15540   split(line, arg, " ")
15541   if (arg[1] == "#") {
15542     defundef = arg[2]
15543     mac1 = arg[3]
15544   } else {
15545     defundef = substr(arg[1], 2)
15546     mac1 = arg[2]
15547   }
15548   split(mac1, mac2, "(") #)
15549   macro = mac2[1]
15550   prefix = substr(line, 1, index(line, defundef) - 1)
15551   if (D_is_set[macro]) {
15552     # Preserve the white space surrounding the "#".
15553     print prefix "define", macro P[macro] D[macro]
15554     next
15555   } else {
15556     # Replace #undef with comments.  This is necessary, for example,
15557     # in the case of _POSIX_SOURCE, which is predefined and required
15558     # on some systems where configure will not decide to define it.
15559     if (defundef == "undef") {
15560       print "/*", prefix defundef, macro, "*/"
15561       next
15562     }
15563   }
15564 }
15565 { print }
15566 _ACAWK
15567 _ACEOF
15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15569   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15570 fi # test -n "$CONFIG_HEADERS"
15571
15572
15573 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15574 shift
15575 for ac_tag
15576 do
15577   case $ac_tag in
15578   :[FHLC]) ac_mode=$ac_tag; continue;;
15579   esac
15580   case $ac_mode$ac_tag in
15581   :[FHL]*:*);;
15582   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15583   :[FH]-) ac_tag=-:-;;
15584   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15585   esac
15586   ac_save_IFS=$IFS
15587   IFS=:
15588   set x $ac_tag
15589   IFS=$ac_save_IFS
15590   shift
15591   ac_file=$1
15592   shift
15593
15594   case $ac_mode in
15595   :L) ac_source=$1;;
15596   :[FH])
15597     ac_file_inputs=
15598     for ac_f
15599     do
15600       case $ac_f in
15601       -) ac_f="$ac_tmp/stdin";;
15602       *) # Look for the file first in the build tree, then in the source tree
15603          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15604          # because $ac_f cannot contain `:'.
15605          test -f "$ac_f" ||
15606            case $ac_f in
15607            [\\/$]*) false;;
15608            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15609            esac ||
15610            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15611       esac
15612       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15613       as_fn_append ac_file_inputs " '$ac_f'"
15614     done
15615
15616     # Let's still pretend it is `configure' which instantiates (i.e., don't
15617     # use $as_me), people would be surprised to read:
15618     #    /* config.h.  Generated by config.status.  */
15619     configure_input='Generated from '`
15620           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15621         `' by configure.'
15622     if test x"$ac_file" != x-; then
15623       configure_input="$ac_file.  $configure_input"
15624       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15625 $as_echo "$as_me: creating $ac_file" >&6;}
15626     fi
15627     # Neutralize special characters interpreted by sed in replacement strings.
15628     case $configure_input in #(
15629     *\&* | *\|* | *\\* )
15630        ac_sed_conf_input=`$as_echo "$configure_input" |
15631        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15632     *) ac_sed_conf_input=$configure_input;;
15633     esac
15634
15635     case $ac_tag in
15636     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15637       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15638     esac
15639     ;;
15640   esac
15641
15642   ac_dir=`$as_dirname -- "$ac_file" ||
15643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15644          X"$ac_file" : 'X\(//\)[^/]' \| \
15645          X"$ac_file" : 'X\(//\)$' \| \
15646          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15647 $as_echo X"$ac_file" |
15648     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15649             s//\1/
15650             q
15651           }
15652           /^X\(\/\/\)[^/].*/{
15653             s//\1/
15654             q
15655           }
15656           /^X\(\/\/\)$/{
15657             s//\1/
15658             q
15659           }
15660           /^X\(\/\).*/{
15661             s//\1/
15662             q
15663           }
15664           s/.*/./; q'`
15665   as_dir="$ac_dir"; as_fn_mkdir_p
15666   ac_builddir=.
15667
15668 case "$ac_dir" in
15669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15670 *)
15671   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15672   # A ".." for each directory in $ac_dir_suffix.
15673   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15674   case $ac_top_builddir_sub in
15675   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15676   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15677   esac ;;
15678 esac
15679 ac_abs_top_builddir=$ac_pwd
15680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15681 # for backward compatibility:
15682 ac_top_builddir=$ac_top_build_prefix
15683
15684 case $srcdir in
15685   .)  # We are building in place.
15686     ac_srcdir=.
15687     ac_top_srcdir=$ac_top_builddir_sub
15688     ac_abs_top_srcdir=$ac_pwd ;;
15689   [\\/]* | ?:[\\/]* )  # Absolute name.
15690     ac_srcdir=$srcdir$ac_dir_suffix;
15691     ac_top_srcdir=$srcdir
15692     ac_abs_top_srcdir=$srcdir ;;
15693   *) # Relative name.
15694     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15695     ac_top_srcdir=$ac_top_build_prefix$srcdir
15696     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15697 esac
15698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15699
15700
15701   case $ac_mode in
15702   :F)
15703   #
15704   # CONFIG_FILE
15705   #
15706
15707   case $INSTALL in
15708   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15709   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15710   esac
15711   ac_MKDIR_P=$MKDIR_P
15712   case $MKDIR_P in
15713   [\\/$]* | ?:[\\/]* ) ;;
15714   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15715   esac
15716 _ACEOF
15717
15718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15719 # If the template does not know about datarootdir, expand it.
15720 # FIXME: This hack should be removed a few years after 2.60.
15721 ac_datarootdir_hack=; ac_datarootdir_seen=
15722 ac_sed_dataroot='
15723 /datarootdir/ {
15724   p
15725   q
15726 }
15727 /@datadir@/p
15728 /@docdir@/p
15729 /@infodir@/p
15730 /@localedir@/p
15731 /@mandir@/p'
15732 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15733 *datarootdir*) ac_datarootdir_seen=yes;;
15734 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15735   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15736 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15737 _ACEOF
15738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15739   ac_datarootdir_hack='
15740   s&@datadir@&$datadir&g
15741   s&@docdir@&$docdir&g
15742   s&@infodir@&$infodir&g
15743   s&@localedir@&$localedir&g
15744   s&@mandir@&$mandir&g
15745   s&\\\${datarootdir}&$datarootdir&g' ;;
15746 esac
15747 _ACEOF
15748
15749 # Neutralize VPATH when `$srcdir' = `.'.
15750 # Shell code in configure.ac might set extrasub.
15751 # FIXME: do we really want to maintain this feature?
15752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15753 ac_sed_extra="$ac_vpsub
15754 $extrasub
15755 _ACEOF
15756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15757 :t
15758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15759 s|@configure_input@|$ac_sed_conf_input|;t t
15760 s&@top_builddir@&$ac_top_builddir_sub&;t t
15761 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15762 s&@srcdir@&$ac_srcdir&;t t
15763 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15764 s&@top_srcdir@&$ac_top_srcdir&;t t
15765 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15766 s&@builddir@&$ac_builddir&;t t
15767 s&@abs_builddir@&$ac_abs_builddir&;t t
15768 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15769 s&@INSTALL@&$ac_INSTALL&;t t
15770 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15771 $ac_datarootdir_hack
15772 "
15773 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15774   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15775
15776 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15777   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15778   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15779       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15780   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15781 which seems to be undefined.  Please make sure it is defined" >&5
15782 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15783 which seems to be undefined.  Please make sure it is defined" >&2;}
15784
15785   rm -f "$ac_tmp/stdin"
15786   case $ac_file in
15787   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15788   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15789   esac \
15790   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15791  ;;
15792   :H)
15793   #
15794   # CONFIG_HEADER
15795   #
15796   if test x"$ac_file" != x-; then
15797     {
15798       $as_echo "/* $configure_input  */" \
15799       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15800     } >"$ac_tmp/config.h" \
15801       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15802     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15803       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15804 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15805     else
15806       rm -f "$ac_file"
15807       mv "$ac_tmp/config.h" "$ac_file" \
15808         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15809     fi
15810   else
15811     $as_echo "/* $configure_input  */" \
15812       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15813       || as_fn_error $? "could not create -" "$LINENO" 5
15814   fi
15815 # Compute "$ac_file"'s index in $config_headers.
15816 _am_arg="$ac_file"
15817 _am_stamp_count=1
15818 for _am_header in $config_headers :; do
15819   case $_am_header in
15820     $_am_arg | $_am_arg:* )
15821       break ;;
15822     * )
15823       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15824   esac
15825 done
15826 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15827 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15828          X"$_am_arg" : 'X\(//\)[^/]' \| \
15829          X"$_am_arg" : 'X\(//\)$' \| \
15830          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15831 $as_echo X"$_am_arg" |
15832     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15833             s//\1/
15834             q
15835           }
15836           /^X\(\/\/\)[^/].*/{
15837             s//\1/
15838             q
15839           }
15840           /^X\(\/\/\)$/{
15841             s//\1/
15842             q
15843           }
15844           /^X\(\/\).*/{
15845             s//\1/
15846             q
15847           }
15848           s/.*/./; q'`/stamp-h$_am_stamp_count
15849  ;;
15850
15851   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15852 $as_echo "$as_me: executing $ac_file commands" >&6;}
15853  ;;
15854   esac
15855
15856
15857   case $ac_file$ac_mode in
15858     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15859   # Older Autoconf quotes --file arguments for eval, but not when files
15860   # are listed without --file.  Let's play safe and only enable the eval
15861   # if we detect the quoting.
15862   case $CONFIG_FILES in
15863   *\'*) eval set x "$CONFIG_FILES" ;;
15864   *)   set x $CONFIG_FILES ;;
15865   esac
15866   shift
15867   for mf
15868   do
15869     # Strip MF so we end up with the name of the file.
15870     mf=`echo "$mf" | sed -e 's/:.*$//'`
15871     # Check whether this is an Automake generated Makefile or not.
15872     # We used to match only the files named 'Makefile.in', but
15873     # some people rename them; so instead we look at the file content.
15874     # Grep'ing the first line is not enough: some people post-process
15875     # each Makefile.in and add a new line on top of each file to say so.
15876     # Grep'ing the whole file is not good either: AIX grep has a line
15877     # limit of 2048, but all sed's we know have understand at least 4000.
15878     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15879       dirpart=`$as_dirname -- "$mf" ||
15880 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15881          X"$mf" : 'X\(//\)[^/]' \| \
15882          X"$mf" : 'X\(//\)$' \| \
15883          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15884 $as_echo X"$mf" |
15885     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15886             s//\1/
15887             q
15888           }
15889           /^X\(\/\/\)[^/].*/{
15890             s//\1/
15891             q
15892           }
15893           /^X\(\/\/\)$/{
15894             s//\1/
15895             q
15896           }
15897           /^X\(\/\).*/{
15898             s//\1/
15899             q
15900           }
15901           s/.*/./; q'`
15902     else
15903       continue
15904     fi
15905     # Extract the definition of DEPDIR, am__include, and am__quote
15906     # from the Makefile without running 'make'.
15907     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15908     test -z "$DEPDIR" && continue
15909     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15910     test -z "$am__include" && continue
15911     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15912     # Find all dependency output files, they are included files with
15913     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15914     # simplest approach to changing $(DEPDIR) to its actual value in the
15915     # expansion.
15916     for file in `sed -n "
15917       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15918          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15919       # Make sure the directory exists.
15920       test -f "$dirpart/$file" && continue
15921       fdir=`$as_dirname -- "$file" ||
15922 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15923          X"$file" : 'X\(//\)[^/]' \| \
15924          X"$file" : 'X\(//\)$' \| \
15925          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15926 $as_echo X"$file" |
15927     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15928             s//\1/
15929             q
15930           }
15931           /^X\(\/\/\)[^/].*/{
15932             s//\1/
15933             q
15934           }
15935           /^X\(\/\/\)$/{
15936             s//\1/
15937             q
15938           }
15939           /^X\(\/\).*/{
15940             s//\1/
15941             q
15942           }
15943           s/.*/./; q'`
15944       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15945       # echo "creating $dirpart/$file"
15946       echo '# dummy' > "$dirpart/$file"
15947     done
15948   done
15949 }
15950  ;;
15951     "libtool":C)
15952
15953     # See if we are running on zsh, and set the options that allow our
15954     # commands through without removal of \ escapes.
15955     if test -n "${ZSH_VERSION+set}"; then
15956       setopt NO_GLOB_SUBST
15957     fi
15958
15959     cfgfile=${ofile}T
15960     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15961     $RM "$cfgfile"
15962
15963     cat <<_LT_EOF >> "$cfgfile"
15964 #! $SHELL
15965
15966 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15967 # Generated automatically by $as_me ($PACKAGE) $VERSION
15968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15970 #
15971 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15972 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15973 #                 Foundation, Inc.
15974 #   Written by Gordon Matzigkeit, 1996
15975 #
15976 #   This file is part of GNU Libtool.
15977 #
15978 # GNU Libtool is free software; you can redistribute it and/or
15979 # modify it under the terms of the GNU General Public License as
15980 # published by the Free Software Foundation; either version 2 of
15981 # the License, or (at your option) any later version.
15982 #
15983 # As a special exception to the GNU General Public License,
15984 # if you distribute this file as part of a program or library that
15985 # is built using GNU Libtool, you may include this file under the
15986 # same distribution terms that you use for the rest of that program.
15987 #
15988 # GNU Libtool is distributed in the hope that it will be useful,
15989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15991 # GNU General Public License for more details.
15992 #
15993 # You should have received a copy of the GNU General Public License
15994 # along with GNU Libtool; see the file COPYING.  If not, a copy
15995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15996 # obtained by writing to the Free Software Foundation, Inc.,
15997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15998
15999
16000 # The names of the tagged configurations supported by this script.
16001 available_tags=''
16002
16003 # ### BEGIN LIBTOOL CONFIG
16004
16005 # Whether or not to build static libraries.
16006 build_old_libs=$enable_static
16007
16008 # Whether or not to build shared libraries.
16009 build_libtool_libs=$enable_shared
16010
16011 # Which release of libtool.m4 was used?
16012 macro_version=$macro_version
16013 macro_revision=$macro_revision
16014
16015 # What type of objects to build.
16016 pic_mode=$pic_mode
16017
16018 # Whether or not to optimize for fast installation.
16019 fast_install=$enable_fast_install
16020
16021 # Shell to use when invoking shell scripts.
16022 SHELL=$lt_SHELL
16023
16024 # An echo program that protects backslashes.
16025 ECHO=$lt_ECHO
16026
16027 # The PATH separator for the build system.
16028 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16029
16030 # The host system.
16031 host_alias=$host_alias
16032 host=$host
16033 host_os=$host_os
16034
16035 # The build system.
16036 build_alias=$build_alias
16037 build=$build
16038 build_os=$build_os
16039
16040 # A sed program that does not truncate output.
16041 SED=$lt_SED
16042
16043 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16044 Xsed="\$SED -e 1s/^X//"
16045
16046 # A grep program that handles long lines.
16047 GREP=$lt_GREP
16048
16049 # An ERE matcher.
16050 EGREP=$lt_EGREP
16051
16052 # A literal string matcher.
16053 FGREP=$lt_FGREP
16054
16055 # A BSD- or MS-compatible name lister.
16056 NM=$lt_NM
16057
16058 # Whether we need soft or hard links.
16059 LN_S=$lt_LN_S
16060
16061 # What is the maximum length of a command?
16062 max_cmd_len=$max_cmd_len
16063
16064 # Object file suffix (normally "o").
16065 objext=$ac_objext
16066
16067 # Executable file suffix (normally "").
16068 exeext=$exeext
16069
16070 # whether the shell understands "unset".
16071 lt_unset=$lt_unset
16072
16073 # turn spaces into newlines.
16074 SP2NL=$lt_lt_SP2NL
16075
16076 # turn newlines into spaces.
16077 NL2SP=$lt_lt_NL2SP
16078
16079 # convert \$build file names to \$host format.
16080 to_host_file_cmd=$lt_cv_to_host_file_cmd
16081
16082 # convert \$build files to toolchain format.
16083 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16084
16085 # An object symbol dumper.
16086 OBJDUMP=$lt_OBJDUMP
16087
16088 # Method to check whether dependent libraries are shared objects.
16089 deplibs_check_method=$lt_deplibs_check_method
16090
16091 # Command to use when deplibs_check_method = "file_magic".
16092 file_magic_cmd=$lt_file_magic_cmd
16093
16094 # How to find potential files when deplibs_check_method = "file_magic".
16095 file_magic_glob=$lt_file_magic_glob
16096
16097 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16098 want_nocaseglob=$lt_want_nocaseglob
16099
16100 # DLL creation program.
16101 DLLTOOL=$lt_DLLTOOL
16102
16103 # Command to associate shared and link libraries.
16104 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16105
16106 # The archiver.
16107 AR=$lt_AR
16108
16109 # Flags to create an archive.
16110 AR_FLAGS=$lt_AR_FLAGS
16111
16112 # How to feed a file listing to the archiver.
16113 archiver_list_spec=$lt_archiver_list_spec
16114
16115 # A symbol stripping program.
16116 STRIP=$lt_STRIP
16117
16118 # Commands used to install an old-style archive.
16119 RANLIB=$lt_RANLIB
16120 old_postinstall_cmds=$lt_old_postinstall_cmds
16121 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16122
16123 # Whether to use a lock for old archive extraction.
16124 lock_old_archive_extraction=$lock_old_archive_extraction
16125
16126 # A C compiler.
16127 LTCC=$lt_CC
16128
16129 # LTCC compiler flags.
16130 LTCFLAGS=$lt_CFLAGS
16131
16132 # Take the output of nm and produce a listing of raw symbols and C names.
16133 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16134
16135 # Transform the output of nm in a proper C declaration.
16136 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16137
16138 # Transform the output of nm into a list of symbols to manually relocate.
16139 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16140
16141 # Transform the output of nm in a C name address pair.
16142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16143
16144 # Transform the output of nm in a C name address pair when lib prefix is needed.
16145 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16146
16147 # The name lister interface.
16148 nm_interface=$lt_lt_cv_nm_interface
16149
16150 # Specify filename containing input files for \$NM.
16151 nm_file_list_spec=$lt_nm_file_list_spec
16152
16153 # The root where to search for dependent libraries,and where our libraries should be installed.
16154 lt_sysroot=$lt_sysroot
16155
16156 # The name of the directory that contains temporary libtool files.
16157 objdir=$objdir
16158
16159 # Used to examine libraries when file_magic_cmd begins with "file".
16160 MAGIC_CMD=$MAGIC_CMD
16161
16162 # Must we lock files when doing compilation?
16163 need_locks=$lt_need_locks
16164
16165 # Manifest tool.
16166 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16167
16168 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16169 DSYMUTIL=$lt_DSYMUTIL
16170
16171 # Tool to change global to local symbols on Mac OS X.
16172 NMEDIT=$lt_NMEDIT
16173
16174 # Tool to manipulate fat objects and archives on Mac OS X.
16175 LIPO=$lt_LIPO
16176
16177 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16178 OTOOL=$lt_OTOOL
16179
16180 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16181 OTOOL64=$lt_OTOOL64
16182
16183 # Old archive suffix (normally "a").
16184 libext=$libext
16185
16186 # Shared library suffix (normally ".so").
16187 shrext_cmds=$lt_shrext_cmds
16188
16189 # The commands to extract the exported symbol list from a shared archive.
16190 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16191
16192 # Variables whose values should be saved in libtool wrapper scripts and
16193 # restored at link time.
16194 variables_saved_for_relink=$lt_variables_saved_for_relink
16195
16196 # Do we need the "lib" prefix for modules?
16197 need_lib_prefix=$need_lib_prefix
16198
16199 # Do we need a version for libraries?
16200 need_version=$need_version
16201
16202 # Library versioning type.
16203 version_type=$version_type
16204
16205 # Shared library runtime path variable.
16206 runpath_var=$runpath_var
16207
16208 # Shared library path variable.
16209 shlibpath_var=$shlibpath_var
16210
16211 # Is shlibpath searched before the hard-coded library search path?
16212 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16213
16214 # Format of library name prefix.
16215 libname_spec=$lt_libname_spec
16216
16217 # List of archive names.  First name is the real one, the rest are links.
16218 # The last name is the one that the linker finds with -lNAME
16219 library_names_spec=$lt_library_names_spec
16220
16221 # The coded name of the library, if different from the real name.
16222 soname_spec=$lt_soname_spec
16223
16224 # Permission mode override for installation of shared libraries.
16225 install_override_mode=$lt_install_override_mode
16226
16227 # Command to use after installation of a shared archive.
16228 postinstall_cmds=$lt_postinstall_cmds
16229
16230 # Command to use after uninstallation of a shared archive.
16231 postuninstall_cmds=$lt_postuninstall_cmds
16232
16233 # Commands used to finish a libtool library installation in a directory.
16234 finish_cmds=$lt_finish_cmds
16235
16236 # As "finish_cmds", except a single script fragment to be evaled but
16237 # not shown.
16238 finish_eval=$lt_finish_eval
16239
16240 # Whether we should hardcode library paths into libraries.
16241 hardcode_into_libs=$hardcode_into_libs
16242
16243 # Compile-time system search path for libraries.
16244 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16245
16246 # Run-time system search path for libraries.
16247 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16248
16249 # Whether dlopen is supported.
16250 dlopen_support=$enable_dlopen
16251
16252 # Whether dlopen of programs is supported.
16253 dlopen_self=$enable_dlopen_self
16254
16255 # Whether dlopen of statically linked programs is supported.
16256 dlopen_self_static=$enable_dlopen_self_static
16257
16258 # Commands to strip libraries.
16259 old_striplib=$lt_old_striplib
16260 striplib=$lt_striplib
16261
16262
16263 # The linker used to build libraries.
16264 LD=$lt_LD
16265
16266 # How to create reloadable object files.
16267 reload_flag=$lt_reload_flag
16268 reload_cmds=$lt_reload_cmds
16269
16270 # Commands used to build an old-style archive.
16271 old_archive_cmds=$lt_old_archive_cmds
16272
16273 # A language specific compiler.
16274 CC=$lt_compiler
16275
16276 # Is the compiler the GNU compiler?
16277 with_gcc=$GCC
16278
16279 # Compiler flag to turn off builtin functions.
16280 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16281
16282 # Additional compiler flags for building library objects.
16283 pic_flag=$lt_lt_prog_compiler_pic
16284
16285 # How to pass a linker flag through the compiler.
16286 wl=$lt_lt_prog_compiler_wl
16287
16288 # Compiler flag to prevent dynamic linking.
16289 link_static_flag=$lt_lt_prog_compiler_static
16290
16291 # Does compiler simultaneously support -c and -o options?
16292 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16293
16294 # Whether or not to add -lc for building shared libraries.
16295 build_libtool_need_lc=$archive_cmds_need_lc
16296
16297 # Whether or not to disallow shared libs when runtime libs are static.
16298 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16299
16300 # Compiler flag to allow reflexive dlopens.
16301 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16302
16303 # Compiler flag to generate shared objects directly from archives.
16304 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16305
16306 # Whether the compiler copes with passing no objects directly.
16307 compiler_needs_object=$lt_compiler_needs_object
16308
16309 # Create an old-style archive from a shared archive.
16310 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16311
16312 # Create a temporary old-style archive to link instead of a shared archive.
16313 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16314
16315 # Commands used to build a shared archive.
16316 archive_cmds=$lt_archive_cmds
16317 archive_expsym_cmds=$lt_archive_expsym_cmds
16318
16319 # Commands used to build a loadable module if different from building
16320 # a shared archive.
16321 module_cmds=$lt_module_cmds
16322 module_expsym_cmds=$lt_module_expsym_cmds
16323
16324 # Whether we are building with GNU ld or not.
16325 with_gnu_ld=$lt_with_gnu_ld
16326
16327 # Flag that allows shared libraries with undefined symbols to be built.
16328 allow_undefined_flag=$lt_allow_undefined_flag
16329
16330 # Flag that enforces no undefined symbols.
16331 no_undefined_flag=$lt_no_undefined_flag
16332
16333 # Flag to hardcode \$libdir into a binary during linking.
16334 # This must work even if \$libdir does not exist
16335 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16336
16337 # Whether we need a single "-rpath" flag with a separated argument.
16338 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16339
16340 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16341 # DIR into the resulting binary.
16342 hardcode_direct=$hardcode_direct
16343
16344 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16345 # DIR into the resulting binary and the resulting library dependency is
16346 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16347 # library is relocated.
16348 hardcode_direct_absolute=$hardcode_direct_absolute
16349
16350 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16351 # into the resulting binary.
16352 hardcode_minus_L=$hardcode_minus_L
16353
16354 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16355 # into the resulting binary.
16356 hardcode_shlibpath_var=$hardcode_shlibpath_var
16357
16358 # Set to "yes" if building a shared library automatically hardcodes DIR
16359 # into the library and all subsequent libraries and executables linked
16360 # against it.
16361 hardcode_automatic=$hardcode_automatic
16362
16363 # Set to yes if linker adds runtime paths of dependent libraries
16364 # to runtime path list.
16365 inherit_rpath=$inherit_rpath
16366
16367 # Whether libtool must link a program against all its dependency libraries.
16368 link_all_deplibs=$link_all_deplibs
16369
16370 # Set to "yes" if exported symbols are required.
16371 always_export_symbols=$always_export_symbols
16372
16373 # The commands to list exported symbols.
16374 export_symbols_cmds=$lt_export_symbols_cmds
16375
16376 # Symbols that should not be listed in the preloaded symbols.
16377 exclude_expsyms=$lt_exclude_expsyms
16378
16379 # Symbols that must always be exported.
16380 include_expsyms=$lt_include_expsyms
16381
16382 # Commands necessary for linking programs (against libraries) with templates.
16383 prelink_cmds=$lt_prelink_cmds
16384
16385 # Commands necessary for finishing linking programs.
16386 postlink_cmds=$lt_postlink_cmds
16387
16388 # Specify filename containing input files.
16389 file_list_spec=$lt_file_list_spec
16390
16391 # How to hardcode a shared library path into an executable.
16392 hardcode_action=$hardcode_action
16393
16394 # ### END LIBTOOL CONFIG
16395
16396 _LT_EOF
16397
16398   case $host_os in
16399   aix3*)
16400     cat <<\_LT_EOF >> "$cfgfile"
16401 # AIX sometimes has problems with the GCC collect2 program.  For some
16402 # reason, if we set the COLLECT_NAMES environment variable, the problems
16403 # vanish in a puff of smoke.
16404 if test set != "${COLLECT_NAMES+set}"; then
16405   COLLECT_NAMES=
16406   export COLLECT_NAMES
16407 fi
16408 _LT_EOF
16409     ;;
16410   esac
16411
16412
16413 ltmain=$ac_aux_dir/ltmain.sh
16414
16415
16416   # We use sed instead of cat because bash on DJGPP gets confused if
16417   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16418   # text mode, it properly converts lines to CR/LF.  This bash problem
16419   # is reportedly fixed, but why not run on old versions too?
16420   sed '$q' "$ltmain" >> "$cfgfile" \
16421      || (rm -f "$cfgfile"; exit 1)
16422
16423    mv -f "$cfgfile" "$ofile" ||
16424     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16425   chmod +x "$ofile"
16426
16427  ;;
16428
16429   esac
16430 done # for ac_tag
16431
16432
16433 as_fn_exit 0
16434 _ACEOF
16435 ac_clean_files=$ac_clean_files_save
16436
16437 test $ac_write_fail = 0 ||
16438   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16439
16440
16441 # configure is writing to config.log, and then calls config.status.
16442 # config.status does its own redirection, appending to config.log.
16443 # Unfortunately, on DOS this fails, as config.log is still kept open
16444 # by configure, so config.status won't be able to write to it; its
16445 # output is simply discarded.  So we exec the FD to /dev/null,
16446 # effectively closing config.log, so it can be properly (re)opened and
16447 # appended to by config.status.  When coming back to configure, we
16448 # need to make the FD available again.
16449 if test "$no_create" != yes; then
16450   ac_cs_success=:
16451   ac_config_status_args=
16452   test "$silent" = yes &&
16453     ac_config_status_args="$ac_config_status_args --quiet"
16454   exec 5>/dev/null
16455   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16456   exec 5>>config.log
16457   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16458   # would make configure fail if this is the last instruction.
16459   $ac_cs_success || as_fn_exit 1
16460 fi
16461 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16462   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16463 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16464 fi
16465
16466
16467
16468 ##   enable AMD64 assembly code : ${asm_msg_amd64}
16469 cat <<EOF
16470
16471    LZO configuration summary
16472    -------------------------
16473    LZO version                : ${PACKAGE_VERSION}
16474    configured for host        : ${host_cpu}-${host_vendor}-${host_os}
16475    source code location       : ${srcdir}
16476    compiler                   : ${CC}
16477    preprocessor definitions   : ${DEFS}
16478    preprocessor flags         : ${CPPFLAGS}
16479    compiler flags             : ${CFLAGS}
16480    build static library       : ${enable_static}
16481    build shared library       : ${enable_shared}
16482    enable i386 assembly code  : ${asm_msg_i386}
16483
16484
16485    LZO ${PACKAGE_VERSION} configured.
16486
16487    Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
16488    All Rights Reserved.
16489
16490    The LZO library is free software; you can redistribute it and/or
16491    modify it under the terms of the GNU General Public License as
16492    published by the Free Software Foundation; either version 2 of
16493    the License, or (at your option) any later version.
16494
16495    The LZO library is distributed in the hope that it will be useful,
16496    but WITHOUT ANY WARRANTY; without even the implied warranty of
16497    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16498    GNU General Public License for more details.
16499
16500    Markus F.X.J. Oberhumer
16501    <markus@oberhumer.com>
16502    http://www.oberhumer.com/opensource/lzo/
16503
16504
16505 Type 'make' to build LZO.
16506 Type 'make check' and 'make test' to test LZO.
16507 Type 'make install' to install LZO.
16508 After installing LZO, please have a look at 'examples/simple.c'.
16509
16510 EOF
16511
16512 # vim:set ts=4 sw=4 et: